]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Some missing bits from sysdeps/*/elf dismissal.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
af1bce34
TS
12012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2
a9fa33ba
TS
3 * sysdeps/mach/start.c: Remove file.
4 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6 * sysdeps/sh/init-first.c: Likewise.
7
58f902b8
TS
8 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9 registers for frame unwinding purposes, add CFI directives.
10 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
13 Likewise.
14
1518f58b
TS
15 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16 __fortify_fail returning.
17 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18
db9b5059
TS
19 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20 sysdeps/sh/____longjmp_chk.S.
21 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
24 (gen-as-const-headers): Append sigaltstack-offsets.sym.
25
967705fe
TS
26 * sysdeps/sh/abort-instr.h: New file.
27 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28 process in case exit returns.
29
a9def8c4
TS
30 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31 initialize the GOT register before use.
32
2a649725
TS
33 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34 calculation of ARGC > 4.
35
af1bce34
TS
36 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37 meaningful names to some local labels.
38
d230f50a
KK
392012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41
42 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
43 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
44 (__arch_compare_and_exchange_val_16_acq): Likewise.
45 (__arch_compare_and_exchange_val_32_acq): Likewise.
46 (atomic_exchange_and_add): Fix gUSA sequence.
47 (atomic_add): Likewise.
48 (atomic_add_negative): Likewise.
49 (atomic_add_zero): Likewise.
50 (atomic_bit_test_set): Likewise.
51
0479b305
AS
522012-06-22 Andreas Schwab <schwab@redhat.com>
53
54 [BZ #13579]
55 * include/link.h (struct link_map): Add l_free_initfini.
56 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
57 l_initfini.
58 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
59 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
60 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
61 set.
62
0e3933b9
CD
632012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
64
65 * configure.in: Use AC_LANG_SOURCE.
66 * configure: Regenerate.
67
4248b1b1
RM
682012-06-22 Roland McGrath <roland@hack.frob.com>
69
70 * configure.in (libc_cv_localstatedir): New substituted variable.
71 * configure: Regenerated.
72 * config.make.in (localstatedir): New variable, substituted from
73 libc_cv_localstatedir.
74 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
75 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
76 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
77 * sysdeps/gnu/configure: Regenerated.
78
006dd861
JL
792012-06-21 Jeff Law <law@redhat.com>
80
81 [BZ #14277]
82 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
83 free. Simplify list management for _LIBC case.
84
79662d42
JM
852012-06-21 Joseph Myers <joseph@codesourcery.com>
86
b7abb4bf
JM
87 [BZ #14273]
88 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
89 Clear sign bit of 64-bit integer value before comparing against
90 overflow value.
91
79662d42
JM
92 * sysdeps/mach/configure: Regenerated.
93
1f150908
L
942012-06-21 H.J. Lu <hongjiu.lu@intel.com>
95
96 [BZ #14278]
97 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
98
28363bbf
JL
992012-06-21 Jeff Law <law@redhat.com>
100
101 [BZ #13882]
102 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
103 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 104 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
105 * elf/dl-open.c (dl_open_worker): Likewise.
106
09615db4
CD
1072012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
108
109 * scripts/list-sources.sh: Scan PORTS for translations.
110 * po/libc.pot: Regenerated.
111
2174c6dd
AJ
1122012-06-21 Andreas Jaeger <aj@suse.de>
113
114 [BZ #12194]
115 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
116 warning.
117 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
118 * bits/byteswap-16.h (__bswap_16): Likewise.
119 * bits/byteswap.h (__bswap_constant_16): Likewise.
120
3ee947b1
L
1212012-06-18 H.J. Lu <hongjiu.lu@intel.com>
122
123 [BZ #14117]
a2f34833
L
124 * sysdeps/i386/fpu_control.h: Removed.
125 * sysdeps/x86_64/fpu_control.h: Moved to ...
126 * sysdeps/x86/fpu_control.h: Here.
127
3ee947b1
L
128 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
129 (_FPU_SETCW): Likewise.
130
ed1825f8
L
1312012-06-15 H.J. Lu <hongjiu.lu@intel.com>
132
25f1282a
L
133 [BZ #14117]
134 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
135 * sysdeps/x86/fpu/bits/mathinline.h: This.
136 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
137
ed1825f8
L
138 [BZ #14050]
139 [BZ #14117]
140 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
141 functions if __x86_64__ is defined.
142
36d54b74
CLT
1432012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
144
145 * string/endian.h: Add !__ASSEMBLER__ condition for including
146 conversion interfaces.
147
10285c21
JM
1482012-06-15 Joseph Myers <joseph@codesourcery.com>
149
150 [BZ #14241]
151 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
152 of ABS(x) in calculating zero to negative powers other than odd
153 integers.
154 * math/libm-test.inc (pow_test): Add more tests.
155
06c5abbd
AJ
1562012-06-15 Andreas Jaeger <aj@suse.de>
157
158 * manual/contrib.texi (Contributors): Update entry of Liubov
159 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
160 Machado Filho.
161
a3aeac40
CH
1622012-06-15 Cyril Hrubis <metan@ucw.cz>
163
164 * string/string.h: Add __wur to GNU version of strerror_r.
165
49bdf4c1
L
1662012-06-14 H.J. Lu <hongjiu.lu@intel.com>
167
168 [BZ #14229]
169 * string/Makefile (tests): Add tst-strtok_r.
170 * string/tst-strtok_r.c: New file.
171 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
172 RAX_LP/RDX_LP on SAVE_PTR.
173
834f9b8d
RM
1742012-06-14 Roland McGrath <roland@hack.frob.com>
175
176 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
177
75fa1921
JM
1782012-06-14 Joseph Myers <joseph@codesourcery.com>
179
180 * libm_test.inc (csqrt_test): Allow more spurious underflow
181 exceptions.
182 (j0_test): Likewise.
183 (j1_test): Likewise.
184 (y0_test): Likewise.
185 (y1_test): Likewise.
186
771766df
CD
1872012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
188
189 * po/Makefile (libc.pot): Use UTF-8 charset.
190
ceb9e56b
PP
1912012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
192
193 [BZ #14210]
194 Suppress sign-conversion warning from FD_SET.
195 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
196 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
197 not unsigned long int.
198 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
199
ddb28975
L
2002012-06-12 H.J. Lu <hongjiu.lu@intel.com>
201
202 [BZ #14050]
203 [BZ #14117]
204 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
205 __extern_always_inline instead of __extern_inline.
206 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
207 (__signbit): Likewise.
208 (__signbitl): Support C++ namespace.
209 (lrintf): New inline function.
210 (lrint): Likewise.
211 (llrintf): Likewise.
212 (llrint): Likewise.
213 (fmaxf): Likewise.
214 (fmax): Likewise.
215 (fminf): Likewise.
216 (fmin): Likewise.
217 (rint): Likewise.
218 (rintf): Likewise.
219 (ceil): Likewise.
220 (ceilf): Likewise.
221 (floor): Likewise.
222 (floorf): Likewise.
223 (nearbyint): Likewise.
224 (nearbyintf): Likewise.
225
d7b4fb26
TS
2262012-06-12 Thomas Schwinge <thomas@codesourcery.com>
227
228 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
229 non-default versions.
230
eb55f5c2
RM
2312012-06-11 Roland McGrath <roland@hack.frob.com>
232
233 [BZ #14218]
234 * manual/argp.texi (Argp): Reword argp_parse description slightly.
235
366af02c
TS
2362012-06-09 Thomas Schwinge <thomas@codesourcery.com>
237
99ff6e5c
TS
238 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
239 (FE_UPWARD, FE_DOWNWARD): Don't define.
240 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
241 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
242
366af02c
TS
243 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
244 reading it.
245 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
246 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
247
793ea851
KK
2482012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
249
250 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
251 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
252 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
253 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
254
a728a38f
L
2552012-06-06 H.J. Lu <hongjiu.lu@intel.com>
256
257 [BZ #14117]
c08010c7
L
258 * sysdeps/i386/fpu/bits/fenv.h: Removed.
259 * sysdeps/i386/fpu/Implies: New file.
260 * sysdeps/x86_64/fpu/Implies: Likewise.
261 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
262 * sysdeps/x86/fpu/bits/fenv.h: This.
263
a728a38f
L
264 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
265 __SSE_MATH__.
266
6e230d11
SP
2672012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
268
269 [BZ #14134]
270 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
271 character 0xffff that matches the last element of the
272 conversion table.
273
1b671feb
AZ
2742012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
275
276 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
277 fmodl commit.
278
6043738b
AZ
2792012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
280
281 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
282 values higher than 25.6283.
283
34ae0b32
AZ
2842012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
285
286 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
287 subnormal exponent extraction and add some __builtin_expect.
288 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
289 Fix for subnormal mantissa calculation.
290
1214ec8f
MF
2912012-06-04 Mike Frysinger <vapier@gentoo.org>
292
293 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
294 cpu2 is -1 and errno is not ENOSYS.
295
f3d1f93c
L
2962012-06-04 H.J. Lu <hongjiu.lu@intel.com>
297
298 [BZ #14117]
0e4a3cd7
L
299 * sysdeps/i386/i486/bits/string.h: Renamed to ...
300 * sysdeps/x86/bits/string.h: This.
301 * sysdeps/x86_64/bits/string.h: Removed.
302
6704c645
L
303 * sysdeps/i386/i486/bits/string.h: Define inline functions only
304 if not compiling for x86-64, but compiling for >= i486.
305
48495318
L
306 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
307 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
308
14adcbfc
L
309 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
310 New macro from Linux kernel 3.4.0.
311 (FP_XSTATE_MAGIC2): Likewise.
312 (FP_XSTATE_MAGIC2_SIZE): Likewise.
313 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
314 (struct _fpx_sw_bytes): New struct.
315 (struct _xsave_hdr): Likewise.
316 (struct _ymmh_state): Likewise.
317 (struct _xstate): Likewise.
318
68e408ab
L
319 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
320 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
321 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
322 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
323 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
324 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
325
f3d1f93c
L
326 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
327 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
328 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
329 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
330 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
331 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
332
d9dc34cd
TMQMF
3332012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
334
335 [BZ #13743]
336 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
337 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
338 (sysdep_headers): Include sys/platform/ppc.h.
339 * sysdeps/powerpc/test-gettimebase.c: Test for
340 __ppc_get_timebase() to catch future ISA opcode/insn changes.
341 * manual/Makefile (appendices): Include platform.texi.
342 * manual/contrib.texi (Contributors): Update @node pointers.
343 * manual/maint.texi (Maintenance): Likewise.
344 (Platform): New node.
345 * manual/platform.texi: New file. Document the new features.
346
4af3879c
SP
3472012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
348 Jakub Jelinek <jakub@redhat.com>
349
350 [BZ #14188]
351 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
352 where __builtin_expect is unavailable.
353
2fd6ff13
DM
3542012-06-03 David S. Miller <davem@davemloft.net>
355
356 * stdlib/longlong.h: Updated from GCC.
357
173f7220
AS
3582012-06-02 Andreas Schwab <schwab@linux-m68k.org>
359
360 [BZ #14042]
361 * sysdeps/powerpc/powerpc32/mcount.c: New file.
362 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
363 __mcount_internal.
364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
365 (GLIBC_2.16): Likewise.
366
f34a1c6f
L
3672012-06-01 H.J. Lu <hongjiu.lu@intel.com>
368
369 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
370
88a4576f
JM
3712012-06-01 Joseph Myers <joseph@codesourcery.com>
372
ea32bcdd
JM
373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
374 (default-abi): New variable.
375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
376 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
377 variable.
378 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
379 Likewise.
380 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
381 Likewise.
382 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
383 Likewise.
384
88a4576f
JM
385 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
386 definition. Document in comment.
387
402fe938
DM
3882012-06-01 David S. Miller <davem@davemloft.net>
389
390 * stdlib/longlong.h: Updated from GCC.
391
3553723f
L
3922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
393
394 [BZ #14117]
3bd872c4
L
395 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
396 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
397 sys/debugreg.h sys/io.h here.
398 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
399 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
400 sys/io.h.
401 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
402 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
403 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
404 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
405 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
406 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
407
3553723f
L
408 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
409 Define only if __x86_64__ is defined.
410
4842e4fe
JM
4112012-06-01 Joseph Myers <joseph@codesourcery.com>
412
c5bfe3d5
JM
413 [BZ #14048]
414 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
415 Use int64_t for variable i.
416 * math/libm-test.inc (fmod_test): Add more tests.
417
4842e4fe
JM
418 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
419 z computation is not scheduled after fetestexcept.
420 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
421 Use math_force_eval instead of asm to ensure calculation scheduled
422 before exception test.
423 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
424 Ensure a1 + u.d computation is not scheduled after fetestexcept.
425
efb73488
AJ
4262012-06-01 Aurelien Jarno <aurelien@aurel32.net>
427
428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
429 computation is not scheduled after fetestexcept.
430
29bcce7c
L
4312012-06-01 H.J. Lu <hongjiu.lu@intel.com>
432
433 [BZ #14117]
434 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
435 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
436
73a68f94
AZ
4372012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
438
439 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
440 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
441
67b6df78
L
4422012-05-31 H.J. Lu <hongjiu.lu@intel.com>
443
edf2933a 444 [BZ #14117]
ebc64a18
L
445 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
446 <bits/wordsize.h>.
447 (__WCHAR_MIN): Support __WORDSIZE == 64.
448 (__WCHAR_MAX): Likewise.
449
edf2933a
L
450 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
451 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
452
57c6cf40
L
453 [BZ #14183]
454 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
455 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
456
67b6df78 457 [BZ #14117]
8eb6281e
L
458 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
459 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
460
aac639f4
L
461 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
462 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
463
67b6df78
L
464 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
465 Defined to 1 if __x86_64__ isn't defined.
466 (_STAT_VER_LINUX_OLD): New.
467 (st_atime): Remove duplicate.
468 (st_mtime): Likewise.
469 (st_ctime): Likewise.
470
1c2cfe81
DM
4712012-05-31 David S. Miller <davem@davemloft.net>
472
473 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
474 entries.
475
5be8418c
AS
4762012-06-01 Andreas Schwab <schwab@linux-m68k.org>
477
e7725326
AS
478 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
479 gen-libm-test.pl.
480
5be8418c
AS
481 [BZ #14132]
482 * elf/dl-reloc.c: Include <_itoa.h>.
483 (_dl_reloc_bad_type): Remove use of INTUSE.
484 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
485 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
486 * stdio-common/psiginfo.c (psiginfo): Likewise.
487 * stdio-common/psignal.c (psignal): Likewise.
488 * string/strsignal.c (strsignal): Likewise.
489 * include/signal.h (_sys_siglist): Declare hidden proto.
490 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
491 INTVARDEF with libc_hidden_data_def.
492 * stdio-common/itoa-udigits.c: Likewise.
493 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
494 (_itoa_lower_digits_internal): Remove declaration.
495 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
496 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
497 (_sys_sigabbrev_internal): Remove aliases.
498 (_sys_siglist): Define hidden alias.
499
507352f1
MT
5002012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
501
502 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
503 bits/sysctl.h.
504
42bbb1c3
L
5052012-05-31 H.J. Lu <hongjiu.lu@intel.com>
506
507 [BZ #14117]
6bd784b6
L
508 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
509 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
510
8bca20f0
L
511 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
512 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
513 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
514 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
515 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
516 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
517
f9e890a9
L
518 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
519 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
520 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
521
471101a1
L
522 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
523 with __addr.
524 (insw): Likewise.
525 (insl): Likewise.
526 (outsb): Likewise.
527 (outsw): Likewise.
528 (outsl): Likewise.
529
6451c862
L
530 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
531 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
532 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
533
a254b8c9
L
534 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
535 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
536 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
537 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
538 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
539 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
540
b8dfdd92
L
541 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
542 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
543
578cd270
L
544 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
545 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
546
de662f5f
L
547 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
548 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
549 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
550
25653439
L
551 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
552 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
553 to ...
554 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
555
6bad24a0
L
556 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
557 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
558 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
559
42bbb1c3
L
560 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
561 for x86-64.
562 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
563
2d10d547
JM
5642012-05-31 Joseph Myers <joseph@codesourcery.com>
565
566 * math/math.h (M_El): Use two more decimal places.
567 (M_LOG2El): Likewise.
568 (M_LOG10El): Likewise.
569 (M_LN2l): Likewise.
570 (M_LN10l): Likewise.
571 (M_PIl): Likewise.
572 (M_PI_2l): Likewise.
573 (M_PI_4l): Likewise.
574 (M_1_PIl): Likewise.
575 (M_2_PIl): Likewise.
576 (M_2_SQRTPIl): Likewise.
577 (M_SQRT2l): Likewise.
578 (M_SQRT1_2l): Likewise.
579
f230c29b
DM
5802012-05-31 David S. Miller <davem@davemloft.net>
581
582 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
583 values between float registers.
584 * sysdeps/sparc/sparc64/memset.S: Likewise.
585 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
586
fed806c3
MF
5872012-05-31 Mike Frysinger <vapier@gentoo.org>
588
589 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
590 -D_FORTIFY_SOURCE=1.
591 (CPPFLAGS-tst-longjmp_chk.c): Define.
592 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
593 (CPPFLAGS-tst-longjmp_chk2.c): Define.
594 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
595 CFLAGS-tst-wchar-h.c.
596
30917259
MP
5972012-05-31 Marek Polacek <polacek@redhat.com>
598
599 [BZ #14132]
600 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
601 __endmntent_internal): Remove declaration.
602 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
603 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
604 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
605
1c58d5dc
DM
6062012-05-30 David S. Miller <davem@davemloft.net>
607
608 * sysdeps/sparc/sparc32/soft-fp/q_util.c
609 (___Q_simulate_exceptions): Use real FP ops rather than writing
610 into the %fsr.
611 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
612 Likewise.
613
7dc00e0d
L
6142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
615
616 [BZ #14117]
0bd53985
L
617 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
618 * sysdeps/x86/bits/xtitypes.h: This.
619
3a257e66
L
620 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
621 * sysdeps/x86/bits/wordsize.h: This.
622
62f62904
L
623 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
624 * sysdeps/x86/bits/huge_vall.h: This.
625
404fe9d9
L
626 * sysdeps/i386/bits/select.h: Removed.
627 * sysdeps/x86_64/bits/select.h: Renamed to ...
628 * sysdeps/x86/bits/select.h: This.
629
d48d0446
L
630 * sysdeps/i386/bits/setjmp.h: Removed.
631 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
632 * sysdeps/x86/bits/setjmp.h: This.
633
7dc00e0d
L
634 * sysdeps/i386/bits/mathdef.h: Removed.
635 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
636 * sysdeps/x86/bits/mathdef.h: This.
637
03277f8f
AS
6382012-05-30 Andreas Schwab <schwab@linux-m68k.org>
639
640 [BZ #14132]
641 * include/sys/socket.h (__connect_internal)
642 (__libc_sa_len_internal): Remove declaration.
643 (__connect, __libc_sa_len): Declare hidden_proto.
644 (SA_LEN): Remove use of INTUSE.
645 * socket/connect.c: Add libc_hidden_def.
646 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
647 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
648 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
649 alias.
650 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
651 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
652 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
653 of adding _internal alias.
654
13764867
L
6552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
656
657 [BZ #14117]
6bd97696
L
658 * sysdeps/i386/bits/link.h: Removed.
659 * sysdeps/i386/bits/linkmap.h: Likewise.
660 * sysdeps/x86_64/bits/link.h: Renamed to ...
661 * sysdeps/x86/bits/link.h: This.
662 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
663 * sysdeps/x86/bits/linkmap.h: This.
664
f726f0bb
L
665 * sysdeps/i386/bits/endian.h: Removed.
666 * sysdeps/x86_64/bits/endian.h: Renamed to ...
667 * sysdeps/x86/bits/endian.h: This.
668
13764867
L
669 * sysdeps/i386/bits/byteswap.h: Removed.
670 * sysdeps/i386/bits/byteswap-16.h: Likewise.
671 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
672 * sysdeps/x86/bits/byteswap.h: This.
673 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
674 * sysdeps/x86/bits/byteswap-16.h: This.
675 * sysdeps/i386/Implies: Add x86.
676 * sysdeps/x86_64/Implies: Likewise.
677
ae251b0b
DM
6782012-05-30 David S. Miller <davem@davemloft.net>
679
680 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
681 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
682 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
683 (FP_TRAPPING_EXCEPTIONS): Define.
684 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
685 (FP_TRAPPING_EXCEPTIONS): Define.
686 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
687 subnormals only when inexact has been signalled or underflow
688 exceptions are enabled.
689 (_FP_PACK_CANONICAL): Likewise.
690
d5c90867
L
6912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
692
693 [BZ #14183]
694 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
695 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
696
63f1549e
RH
6972012-05-30 Richard Henderson <rth@twiddle.net>
698
8d8f2279
RH
699 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
700 with #ifndef NOT_IN_libc.
701
63f1549e
RH
702 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
703 marked to avoid plt entry.
704
0ab0291b
L
7052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
706
707 [BZ #14112]
708 * Makeconfig (default-abi): New macro.
709 (abi-includes): Likewise.
710 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
711 $(abi-$(default-abi)-lib-soname) for soname if defined.
712 ($(common-objpfx)gnu/lib-names.stmp): Generate from
713 abi-variants.
714 * Makefile (installed-stubs): Likewise.
715 * include/stubs-biarch.h: Removed.
716 * scripts/lib-names.awk: Only handle one library at a time.
717 * scripts/soversions.awk: Remove WORDSIZE support.
718 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
719 entries.
720 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
721 Removed.
722 (syscall-list-default-condition): Likewise.
723 (syscall-list-default-condition): Likewise.
724 (syscall-list-includes): Likewise.
725 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
726 syscall-list-* with abi-*. Handle undefined abi-variants.
727 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
728 * sysdeps/unix/sysv/linux/i386/Implies: New file.
729 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
730 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
731 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
732 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
733 Removed.
734 (syscall-list-32-options): Likewise.
735 (syscall-list-32-condition): Likewise.
736 (syscall-list-64-options): Likewise.
737 (syscall-list-64-condition): Likewise.
738 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
739 macro.
740 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
741 Renamed to ...
742 (abi-*): This.
743 (abi-64-ld-soname): New macro.
744 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
745 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
746 Renamed to ...
747 (abi-*): This.
748 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
749 * sysdeps/x86_64/x32/shlib-versions: Likewise.
750
4da0431d
JM
7512012-05-30 Joseph Myers <joseph@codesourcery.com>
752
3a85279c
JM
753 * sysdeps/unix/sysv/linux/kernel-features.h
754 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
755 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
756 include <kernel-features.h>.
757 [!__NR_ftruncate64]: Remove conditional code.
758 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
759 [__NR_ftruncate64]: Make code unconditional.
760 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
761 * sysdeps/unix/sysv/linux/truncate64.c: Do not
762 include <kernel-features.h>.
763 [!__NR_ftruncate64]: Remove conditional code.
764 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
765 [__NR_ftruncate64]: Make code unconditional.
766 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
768 include <kernel-features.h>.
769 [!__NR_ftruncate64]: Remove conditional code.
770 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
771 [__NR_ftruncate64]: Make code unconditional.
772 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
774 include <kernel-features.h>.
775 [!__NR_ftruncate64]: Remove conditional code.
776 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
777 [__NR_ftruncate64]: Make code unconditional.
778 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
779
4da0431d
JM
780 * configure.in (libc_cv_fpie): Weaken to a compile test using
781 LIBC_TRY_CC_OPTION.
782 * configure: Regenerated.
783
11ef492c
AK
7842012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
785
786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
790 Refreshed.
791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
797 Refreshed.
798
d66ef399
DM
7992012-05-27 David S. Miller <davem@davemloft.net>
800
801 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
802 (___Q_zero): New.
803 (__Q_simulate_exceptions): Return void. Change to simulate
804 exceptions by writing into the %fsr.
805 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
806 (__Qp_handle_exceptions): Likewise.
807 (numbers): Delete.
808 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
809 __Qp_handle_exceptions.
810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
811 __Qp_handle_exceptions.
812 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
813 as unused and give dummy FP_RND_NEAREST initializer.
814 (FP_INHIBIT_RESULTS): Define.
815 (___Q_simulate_exceptions): Update declaration.
816 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
817 formatting.
818 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
819 as unused and give dummy FP_RND_NEAREST initializer.
820 (__Qp_handle_exceptions): Update declaration.
821 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
822 formatting.
823
04fb54b5
TS
8242012-05-27 Thomas Schwinge <thomas@codesourcery.com>
825
826 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
827 the temporary FPU control word.
828 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
829 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
830 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
831 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
832 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
833 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
834 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
835 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
836 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
837 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
838 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
839
3f99608f
KK
8402012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
841
842 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
843 fields.
844
65a4de4e
CLT
8452012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
846
847 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
848 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
849 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
850 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
851 Likewise.
852 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
853 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
854 Likewise.
855
15749d40
UD
8562012-05-27 Ulrich Drepper <drepper@gmail.com>
857
858 * po/h.po: Update from translation team.
859
25dbcb27
AS
8602012-05-26 Andreas Schwab <schwab@linux-m68k.org>
861
3d3f8e55
AS
862 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
863
25dbcb27
AS
864 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
865 handling of denormals.
866 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
867 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
868 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
869 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
870 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
871 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
872 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
873 Likewise.
874
7ad47a80 8752012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
876
877 [BZ #14152]
878 * math/libm-test.inc (fma_test): Don't always expect underflow
879 exception.
880
9c6ea9fa
SP
8812012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
882
883 [BZ #12416]
884 * elf/tst-execstack.c: Include stackinfo.h.
885 (do_test): Adjust test case to ensure that pthread_getattr_np
886 behaviour remains the same after marking stack executable.
887
a8239222
JM
8882012-05-25 Joseph Myers <joseph@codesourcery.com>
889
890 * sysdeps/unix/sysv/linux/kernel-features.h
891 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
892 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
893 kernel-features.h.
894 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
895 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
896 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
897 kernel-features.h.
898 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
899 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
900
918b5606
L
9012012-05-25 H.J. Lu <hongjiu.lu@intel.com>
902
903 * configure.in: Define the default includes to being none.
904 * configure: Regenerated.
905
3a097cc7
RM
9062012-05-25 Roland McGrath <roland@hack.frob.com>
907
8422c9a5
RM
908 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
909 * sysdeps/x86_64/setjmp.S: Likewise.
910 * sysdeps/i386/bsd-setjmp.S: Likewise.
911 * sysdeps/i386/bsd-_setjmp.S: Likewise.
912 * sysdeps/i386/setjmp.S: Likewise.
913 * sysdeps/i386/__longjmp.S: Likewise.
914 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
915 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
916
3a097cc7
RM
917 * include/stap-probe.h: New file.
918 * configure.in: Handle --enable-systemtap.
919 * configure: Regenerated.
920 * config.h.in (USE_STAP_PROBE): New #undef.
921 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
922 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
923 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
924
21708942
JM
9252012-05-25 Joseph Myers <joseph@codesourcery.com>
926
927 [BZ #13717]
928 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
929 to 2.4.0 where earlier.
930 * sysdeps/unix/sysv/linux/configure: Regenerated.
931 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
932 <kernel-features.h>.
933 [__ASSUME_32BITUIDS]: Make code unconditional.
934 [!__ASSUME_32BITUIDS]: Remove conditional code.
935 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
936 <kernel-features.h>.
937 [__ASSUME_32BITUIDS]: Make code unconditional.
938 [!__ASSUME_32BITUIDS]: Remove conditional code.
939 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
940 [__ASSUME_32BITUIDS]: Make code unconditional.
941 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
942 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
943 <kernel-features.h>.
944 [__ASSUME_32BITUIDS]: Make code unconditional.
945 [!__ASSUME_32BITUIDS]: Remove conditional code.
946 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
947 <kernel-features.h>.
948 [__ASSUME_32BITUIDS]: Make code unconditional.
949 [!__ASSUME_32BITUIDS]: Remove conditional code.
950 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
951 <kernel-features.h>.
952 [__ASSUME_32BITUIDS]: Make code unconditional.
953 [!__ASSUME_32BITUIDS]: Remove conditional code.
954 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
955 <kernel-features.h>.
956 [__ASSUME_32BITUIDS]: Make code unconditional.
957 [!__ASSUME_32BITUIDS]: Remove conditional code.
958 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
959 <kernel-features.h>.
960 [__ASSUME_32BITUIDS]: Make code unconditional.
961 [!__ASSUME_32BITUIDS]: Remove conditional code.
962 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
963 <kernel-features.h>.
964 [__ASSUME_32BITUIDS]: Make code unconditional.
965 [!__ASSUME_32BITUIDS]: Remove conditional code.
966 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
967 <kernel-features.h>.
968 [__ASSUME_32BITUIDS]: Make code unconditional.
969 [!__ASSUME_32BITUIDS]: Remove conditional code.
970 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
971 <kernel-features.h>.
972 [__ASSUME_32BITUIDS]: Make code unconditional.
973 [!__ASSUME_32BITUIDS]: Remove conditional code.
974 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
975 <kernel-features.h>.
976 [__ASSUME_32BITUIDS]: Make code unconditional.
977 [!__ASSUME_32BITUIDS]: Remove conditional code.
978 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
979 <kernel-features.h>.
980 [__ASSUME_32BITUIDS]: Make code unconditional.
981 [!__ASSUME_32BITUIDS]: Remove conditional code.
982 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
983 <kernel-features.h>.
984 [__NR_setresgid] (__setresgid): Do not declare.
985 [__ASSUME_32BITUIDS]: Make code unconditional.
986 [!__ASSUME_32BITUIDS]: Remove conditional code.
987 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
988 <kernel-features.h>.
989 [__NR_setresuid] (__setresuid): Do not declare.
990 [__ASSUME_32BITUIDS]: Make code unconditional.
991 [!__ASSUME_32BITUIDS]: Remove conditional code.
992 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
993 <kernel-features.h>.
994 [__ASSUME_32BITUIDS]: Make code unconditional.
995 [!__ASSUME_32BITUIDS]: Remove conditional code.
996 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
997 <kernel-features.h>.
998 [__ASSUME_32BITUIDS]: Make code unconditional.
999 [!__ASSUME_32BITUIDS]: Remove conditional code.
1000 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1001 <kernel-features.h>.
1002 [__ASSUME_32BITUIDS]: Make code unconditional.
1003 [!__ASSUME_32BITUIDS]: Remove conditional code.
1004 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1005 <kernel-features.h>.
1006 [__ASSUME_32BITUIDS]: Make code unconditional.
1007 [!__ASSUME_32BITUIDS]: Remove conditional code.
1008 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1009 <kernel-features.h>.
1010 [__ASSUME_32BITUIDS]: Make code unconditional.
1011 [!__ASSUME_32BITUIDS]: Remove conditional code.
1012 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1013 <kernel-features.h>.
1014 [__ASSUME_32BITUIDS]: Make code unconditional.
1015 [!__ASSUME_32BITUIDS]: Remove conditional code.
1016 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1017 <kernel-features.h>.
1018 [__ASSUME_32BITUIDS]: Make code unconditional.
1019 [!__ASSUME_32BITUIDS]: Remove conditional code.
1020 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1021 <kernel-features.h>.
1022 [__ASSUME_32BITUIDS]: Make code unconditional.
1023 [!__ASSUME_32BITUIDS]: Remove conditional code.
1024 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1025 <kernel-features.h>.
1026 [__ASSUME_32BITUIDS]: Make code unconditional.
1027 [!__ASSUME_32BITUIDS]: Remove conditional code.
1028 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1029 <kernel-features.h>.
1030 [__ASSUME_32BITUIDS]: Make code unconditional.
1031 [!__ASSUME_32BITUIDS]: Remove conditional code.
1032 * sysdeps/unix/sysv/linux/kernel-features.h
1033 (__ASSUME_SETRESUID_SYSCALL): Remove.
1034 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1035 (__ASSUME_32BITUIDS): Likewise.
1036 (__ASSUME_LDT_WORKS): Likewise.
1037 (__ASSUME_O_DIRECTORY): Likewise.
1038 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1039 architecture but not kernel version.
1040 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1041 (__ASSUME_MMAP2_SYSCALL): Likewise.
1042 (__ASSUME_STAT64_SYSCALL): Likewise.
1043 (__ASSUME_IPC64): Likewise.
1044 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1045 <kernel-features.h>.
1046 [__ASSUME_32BITUIDS]: Make code unconditional.
1047 [!__ASSUME_32BITUIDS]: Remove conditional code.
1048 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1049 <kernel-features.h>.
1050 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1051 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1052 132096]: Remove conditional code.
1053 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1054 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1055 <kernel-features.h>.
1056 [__ASSUME_32BITUIDS]: Make code unconditional.
1057 [!__ASSUME_32BITUIDS]: Remove conditional code.
1058 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1059 <kernel-features.h>.
1060 [__ASSUME_32BITUIDS]: Make code unconditional.
1061 [!__ASSUME_32BITUIDS]: Remove conditional code.
1062 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1063 <kernel-features.h>.
1064 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1065 unconditional.
1066 (__setresgid): Do not declare.
1067 [__ASSUME_32BITUIDS]: Make code unconditional.
1068 [!__ASSUME_32BITUIDS]: Remove conditional code.
1069 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1070 <kernel-features.h>.
1071 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1072 unconditional.
1073 (__setresuid): Do not declare.
1074 [__ASSUME_32BITUIDS]: Make code unconditional.
1075 [!__ASSUME_32BITUIDS]: Remove conditional code.
1076 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1077 <kernel-features.h>.
1078 [__ASSUME_32BITUIDS]: Make code unconditional.
1079 [!__ASSUME_32BITUIDS]: Remove conditional code.
1080 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1081 <kernel-features.h>.
1082 [__ASSUME_32BITUIDS]: Make code unconditional.
1083 [!__ASSUME_32BITUIDS]: Remove conditional code.
1084
a386f1cc
RH
10852012-05-25 Richard Henderson <rth@twiddle.net>
1086
1087 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1088 dl_hwcap to ifunc resolver.
1089 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1090 elf_ifunc_invoke.
1091 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1092 dl_hwcap to ifunc resolver.
1093 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1094
b6550497
JM
10952012-05-24 Joseph Myers <joseph@codesourcery.com>
1096
1097 [BZ #14153]
1098 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1099 for |x| <= 2**-26, not 2**-57.
1100 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1101 exception.
1102
b0bc23a1
JL
11032012-05-24 Jeff Law <law@redhat.com>
1104
1105 * stdio-common/Makefile (tests): Add bug25.
1106 * stdio-common/bug25.c: New test.
1107
347c92e9
L
11082012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1109
1110 [BZ #13576]
1111 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1112 multiple of MALLOC_ALIGNMENT in size.
1113 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1114
6bcc8b3f
JM
11152012-05-24 Joseph Myers <joseph@codesourcery.com>
1116
1117 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1118 Require >= 256.
1119 (FILENAME_MAX): Use macro-int-constant.
1120 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1121 (_IOFBF): Use macro-int-constant.
1122 (_IOLBF): Likewise.
1123 (_IONBF): Likewise.
1124 (SEEK_CUR): Likewise.
1125 (SEEK_END): Likewise.
1126 (SEEK_SET): Likewise.
1127 (TMP_MAX): Likewise.
1128 (EOF): Use macro-int-constant. Require < 0.
1129 (NULL): Use macro-constant. Require == 0.
1130 (stdin): Require type to be FILE *.
1131 (stdout): Likewise.
1132 (stderr): Likewise.
1133 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1134 macro-int-constant.
1135 (EXIT_SUCCESS): Likewise.
1136 (NULL): Use macro-constant. Require == 0.
1137 (RAND_MAX): Use macro-int-constant.
1138 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1139 [C99-based standards] (strtof): Require function.
1140 [C99-based standards] (strtold): Likewise.
1141 [C99-based standards] (strtoll): Likewise.
1142 [C99-based standards] (strtoull): Likewise.
1143 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1144 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1145 [ISO || ISO99 || ISO11] (math.h): Likewise.
1146 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1147 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1148 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1149
d18ea0c5
AS
11502012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1151
1152 [BZ #14132]
56d25bb8
AS
1153 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1154 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1155 * intl/dgettext.c (DCGETTEXT): Likewise.
1156 * intl/gettext.c (DCGETTEXT): Likewise.
1157 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1158 * posix/regex_internal.h (gettext): Likewise.
1159 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1160 Remove declaration.
1161 * include/argz.h (__argz_count_internal)
1162 (__argz_stringify_internal): Remove declaration.
1163 (__argz_count, __argz_stringify): Declare hidden proto.
1164 * intl/dcgettext.c: Remove use of INTDEF.
1165 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1166 * string/argz-stringify.c: Likewise.
1167 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1168 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1169 Declare hidden proto.
d18ea0c5
AS
1170 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1171 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1172 Declare hidden proto.
1173 * include/stdio.h (__asprintf_internal): Don't declare.
1174 (__asprintf): Don't define as macro. Declare hidden proto.
1175 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1176 (__fsetlocking): Declare hidden proto.
1177 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1178 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1179 hidden proto.
1180 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1181 (_IO_setlinebuf): Remove use of INTUSE.
1182 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1183 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1184 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1185 Remove declaration.
1186 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1187 (_IO_do_flush): Remove use of INTUSE.
1188 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1189 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1190 (_IO_adjust_column, _IO_least_wmarker)
1191 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1192 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1193 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1194 (_IO_default_doallocate, _IO_wdefault_doallocate)
1195 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1196 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1197 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1198 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1199 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1200 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1201 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1202 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1203 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1204 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1205 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1206 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1207 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1208 proto.
1209 (_IO_flush_all_internal, _IO_adjust_column_internal)
1210 (_IO_default_uflow_internal, _IO_default_finish_internal)
1211 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1212 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1213 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1214 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1215 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1216 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1217 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1218 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1219 (_IO_file_close_internal, _IO_file_close_it_internal)
1220 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1221 (_IO_file_init_internal, _IO_file_attach_internal)
1222 (_IO_file_fopen_internal, _IO_file_read_internal)
1223 (_IO_file_sync_internal, _IO_file_seek_internal)
1224 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1225 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1226 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1227 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1228 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1229 (_IO_list_all_internal, _IO_link_in_internal)
1230 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1231 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1232 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1233 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1234 (_IO_do_write_internal, _IO_padn_internal)
1235 (_IO_getline_info_internal, _IO_getline_internal)
1236 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1237 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1238 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1239 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1240 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1241 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1242 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1243 with libc_hidden_ver, remove use of INTUSE.
1244 * libio/genops.c: Likewise.
1245 * libio/freopen.c: Likewise.
1246 * libio/freopen64.c: Likewise.
1247 * libio/iofclose.c: Likewise.
1248 * libio/iofdopen.c: Likewise.
1249 * libio/iofflush.c: Likewise.
1250 * libio/iofflush_u.c: Likewise.
1251 * libio/iofgets.c: Likewise.
1252 * libio/iofgets_u.c: Likewise.
1253 * libio/iofopen.c: Likewise.
1254 * libio/iofopncook.c: Likewise.
1255 * libio/iofread.c: Likewise.
1256 * libio/iofread_u.c: Likewise.
1257 * libio/ioftell.c: Likewise.
1258 * libio/iofwrite.c: Likewise.
1259 * libio/iogetline.c: Likewise.
1260 * libio/iogets.c: Likewise.
1261 * libio/iogetwline.c: Likewise.
1262 * libio/iopadn.c: Likewise.
1263 * libio/iopopen.c: Likewise.
1264 * libio/ioseekoff.c: Likewise.
1265 * libio/ioseekpos.c: Likewise.
1266 * libio/iosetbuffer.c: Likewise.
1267 * libio/iosetvbuf.c: Likewise.
1268 * libio/ioungetc.c: Likewise.
1269 * libio/ioungetwc.c: Likewise.
1270 * libio/iovdprintf.c: Likewise.
1271 * libio/iovsprintf.c: Likewise.
1272 * libio/iovsscanf.c: Likewise.
1273 * libio/memstream.c: Likewise.
1274 * libio/obprintf.c: Likewise.
1275 * libio/oldfileops.c: Likewise.
1276 * libio/oldiofclose.c: Likewise.
1277 * libio/oldiofdopen.c: Likewise.
1278 * libio/oldiofopen.c: Likewise.
1279 * libio/oldiopopen.c: Likewise.
1280 * libio/oldstdfiles.c: Likewise.
1281 * libio/putc.c: Likewise.
1282 * libio/setbuf.c: Likewise.
1283 * libio/setlinebuf.c: Likewise.
1284 * libio/stdfiles.c: Likewise.
1285 * libio/strops.c: Likewise.
1286 * libio/vasprintf.c: Likewise.
1287 * libio/vscanf.c: Likewise.
1288 * libio/vsnprintf.c: Likewise.
1289 * libio/vswprintf.c: Likewise.
1290 * libio/wfiledoalloc.c: Likewise.
1291 * libio/wfileops.c: Likewise.
1292 * libio/wgenops.c: Likewise.
1293 * libio/wmemstream.c: Likewise.
1294 * libio/wstrops.c: Likewise.
1295 * libio/__fpurge.c: Likewise.
1296 * libio/__fsetlocking.c: Likewise.
1297 * assert/assert.c: Likewise.
1298 * debug/fgets_chk.c: Likewise.
1299 * debug/fgets_u_chk.c: Likewise.
1300 * debug/fread_chk.c: Likewise.
1301 * debug/fread_u_chk.c: Likewise.
1302 * debug/gets_chk.c: Likewise.
1303 * debug/obprintf_chk.c: Likewise.
1304 * debug/vasprintf_chk.c: Likewise.
1305 * debug/vdprintf_chk.c: Likewise.
1306 * debug/vsnprintf_chk.c: Likewise.
1307 * debug/vsprintf_chk.c: Likewise.
1308 * malloc/mtrace.c: Likewise.
1309 * misc/error.c: Likewise.
1310 * misc/syslog.c: Likewise.
1311 * stdio-common/asprintf.c: Likewise.
1312 * stdio-common/fxprintf.c: Likewise.
1313 * stdio-common/getw.c: Likewise.
1314 * stdio-common/isoc99_fscanf.c: Likewise.
1315 * stdio-common/isoc99_scanf.c: Likewise.
1316 * stdio-common/isoc99_vfscanf.c: Likewise.
1317 * stdio-common/isoc99_vscanf.c: Likewise.
1318 * stdio-common/isoc99_vsscanf.c: Likewise.
1319 * stdio-common/printf-prs.c: Likewise.
1320 * stdio-common/printf_fp.c: Likewise.
1321 * stdio-common/printf_fphex.c: Likewise.
1322 * stdio-common/printf_size.c: Likewise.
1323 * stdio-common/putw.c: Likewise.
1324 * stdio-common/scanf.c: Likewise.
1325 * stdio-common/sprintf.c: Likewise.
1326 * stdio-common/tmpfile.c: Likewise.
1327 * stdio-common/vfprintf.c: Likewise.
1328 * stdio-common/vfscanf.c: Likewise.
1329 * stdlib/strfmon_l.c: Likewise.
1330 * sunrpc/openchild.c: Likewise.
1331 * sunrpc/xdr_stdio.c: Likewise.
1332 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1333 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1334
d6c33fda
RM
13352012-05-24 Roland McGrath <roland@hack.frob.com>
1336
c1487492
RM
1337 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1338
1339 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1340 in the third column, to generate for the shared library an IFUNC
1341 that uses _dl_vdso_vsym.
1342 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1343 * Makeconfig (object-suffixes-noshared): New variable.
1344
1345 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1346 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1347 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1348 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1349
d6c33fda
RM
1350 [BZ #14132]
1351 * include/sys/time.h (__gettimeofday): Remove macro.
1352 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1353 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1354 Remove INTDEF.
1355 (__gettimeofday): Add libc_hidden_def.
1356 (gettimeofday): Add libc_hidden_weak.
1357 * sysdeps/mach/gettimeofday.c: Likewise.
1358 * sysdeps/posix/gettimeofday.c: Likewise.
1359 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1360 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1361 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1362 (__gettimeofday_internal): Remove strong_alias.
1363 (__gettimeofday): Add libc_hidden_def.
1364 (gettimeofday): Add libc_hidden_weak.
1365 * sysdeps/unix/syscalls.list (gettimeofday):
1366 Remove __gettimeofday_internal alias.
1367
b5a2bbe6
L
13682012-05-24 Daniel Jacobowitz <drow@false.org>
1369 H.J. Lu <hongjiu.lu@intel.com>
1370
1371 [BZ #12495]
1372 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1373 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1374 (largebin_index_32_big): New.
1375 (largebin_index): Use it for 16-byte alignment.
1376 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1377 correction with front_misalign.
1378
cfba4fda
L
13792012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1380
7f907421
L
1381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1383 Likewise.
1384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1385 Likewise.
1386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1387 Likewise.
1388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1389 Likewise.
1390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1391 Likewise.
1392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1393 Likewise.
1394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1395 Likewise.
1396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1397 Likewise.
1398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1399 Likewise.
1400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1401 Likewise.
1402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1403 Likewise.
1404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1405 Likewise.
1406
cfba4fda
L
1407 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1408 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1409
80bad0cc
JM
14102012-05-24 Joseph Myers <joseph@codesourcery.com>
1411
7a25eb06
JM
1412 [BZ #10846]
1413 [BZ #14036]
1414 * math/libm-test.inc (exp_test): Add test from bug 14036.
1415 (pow_test): Add test from bug 10846.
1416
795405f9
JM
1417 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1418 and other flags.
1419 (special_function): Do not include flags in test name.
1420 (parse_args): Likewise.
1421 * sysdeps/i386/fpu/libm-test-ulps: Update.
1422 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1423 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1424 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1426
80bad0cc
JM
1427 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1428 exceptions.
1429 * math/libm-test.inc ("Philosophy"): Update comment about
1430 exception testing.
1431 (UNDERFLOW_EXCEPTION): New macro.
1432 (UNDERFLOW_EXCEPTION_OK): Likewise.
1433 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1434 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1435 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1436 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1437 (INVALID_EXCEPTION_OK): Update value.
1438 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1439 (OVERFLOW_EXCEPTION_OK): Likewise.
1440 (IGNORE_ZERO_INF_SIGN): Likewise.
1441 (test_exceptions): Handle underflow exceptions.
1442 (acos_test): Update for underflow exception expectations.
1443 (cexp_test): Likewise.
1444 (clog_test): Likewise.
1445 (clog10_test): Likewise.
1446 (csqrt_test): Likewise.
1447 (ctan_test): Likewise.
1448 (ctanh_test): Likewise.
1449 (exp_test): Likewise.
1450 (exp10_test): Likewise.
1451 (exp2_test): Likewise.
1452 (expm1_test): Likewise.
1453 (fma_test): Likewise.
1454 (j0_test): Likewise.
1455 (jn_test): Likewise.
1456 (nexttoward_test): Likewise.
1457 (pow_test): Likewise.
1458 (scalbn_test): Likewise.
1459 (scalbln_test): Likewise.
1460 (tan_test): Likewise.
1461 (y1_test): Likewise.
1462 * sysdeps/i386/fpu/libm-test-ulps: Update.
1463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1464
9e0e3d0b
DM
14652012-05-23 David S. Miller <davem@davemloft.net>
1466
1467 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1468 (__libc_sigaction): Remove unused local variables.
1469
ccd0a08f
L
14702012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1471
1472 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1473
62bdf9a6
PE
14742012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1475
f8591f80
PE
1476 mktime: avoid signed integer overflow
1477 * time/mktime.c (__mktime_internal): Do not mishandle the case
1478 where diff == INT_MIN.
1479
94c7d826
PE
1480 mktime: simplify computation of average
1481 * time/mktime.c (ranged_convert): Use new time_t_avg function
1482 instead of rolling our own (probably-slower) code.
1483
ce73d683
PE
1484 mktime: do not assume signed right shift propagates sign bit
1485 * time/mktime.c (isdst_differ): New static function.
1486 (__mktime_internal): No need to normalize tm_isdst now.
1487 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1488 tm_isdst values.
1489
72a22e59
PE
1490 mktime: merge another wrapv change from gnulib
1491 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1492 from some compilers.
1493
68605433
PE
1494 mktime: remove incorrect attempt at unusual arithmetics
1495 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1496 The code didn't really work on such machines anyway.
1497 (TYPE_MINIMUM): Assume two's complement.
1498 (twos_complement_arithmetic): Verify that long_int and time_t
1499 are two's complement (or unsigned, in the latter case).
1500
03cf7fe3
PE
1501 mktime: check signed shifts on long_int and time_t, too
1502 * time/mktime.c (SHR): Check that shifts work as desired
1503 on the types long_int and time_t too, as SHR is used on
1504 such types.
1505
f04dfbc2
PE
1506 mktime: do not assume 'long' is wide enough
1507 * time/mktime.c (verify): Move decl up.
1508 (long_int): New type.
1509 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1510 to remove assumption in the code that 'long' is wide enough to
1511 store year values. This assumption is not true on x32 and on
1512 some non-glibc platforms.
1513
62bdf9a6
PE
1514 mktime: merge wrapv change from gnulib
1515 * time/mktime.c (WRAPV): New macro.
1516 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1517 (guess_time_tm, __mktime_internal): Do not assume that signed
1518 integer overflow wraps around; modern compilers generate code
1519 where this assumption is no longer valid.
1520
5e292e4f
L
15212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1522
1523 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1524 Replace "jmp L(pseudo_end)" with "ret".
1525 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1526 Likewise.
1527
8caf8c87
AJ
15282012-05-23 Andreas Jaeger <aj@suse.de>
1529
1530 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1531 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1532
1a09dc56
AJ
15332012-05-23 Andreas Jaeger <aj@suse.de>
1534 Maximilian Attems <max@stro.at>
1535
1536 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1537 New macros.
1538
1c87aba0
L
15392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1540
1541 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1542 code so that pseudo_end is just ret and the stack pointer is
1543 correct also for static library in error case.
1544
40e45bd5
JM
15452012-05-23 Joseph Myers <joseph@codesourcery.com>
1546
c2670533
JM
1547 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1548 move to syscalls.list.
1549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1553
40e45bd5
JM
1554 * manual/install.texi (Running make install): Do not mention Linux
1555 kernel version for which pt_chown is not needed.
1556 (Linux): Do not mention problems with nscd with 2.0 kernels.
1557 * INSTALL: Regenerated.
1558
be08eda5
AJ
15592012-05-23 Andreas Jaeger <aj@suse.de>
1560
1561 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1562 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1563 macro.
1564 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1565 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1566 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1567 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1568 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1569 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1570 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1571 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1572 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1573 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1574 * sysdeps/unix/sysv/linux/bits/in.h
1575 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1576
a6a056bb
RM
15772012-05-22 Roland McGrath <roland@hack.frob.com>
1578
1579 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1580 (PREPARE_VERSION): Just use assert instead, it will be elided
1581 under [NDEBUG] anyway.
1582
c9009328
L
15832012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1584
1585 * sysdeps/unix/sysv/linux/Makefile: Include
1586 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1587 (sysdep_routines): Remove sysctl.
c9009328
L
1588 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1589 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1590 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1591 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1592 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1593
73338355
AJ
15942012-05-22 Andreas Jaeger <aj@suse.de>
1595
1596 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1597 that pseudo_end is just ret and the stack pointer is correct also
1598 for static library in error case.
1599
d44638b0
PP
16002012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1601
1602 [BZ #14122]
1603 * nss/nsswitch.c (defconfig_entries): New variable.
1604 (__nss_database_lookup): Don't leak defconfig entries.
1605 (nss_parse_service_list): Don't leak on error paths.
1606 (free_database_entries): New function.
1607 (free_defconfig): New function.
1608 (free_mem): Move common code to free_database_entries.
1609
31a39bd8
L
16102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1611
da0331a8
L
1612 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1613 Add arch_prctl.
1614 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1615
31a39bd8
L
1616 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1617 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1619 New macro.
1620 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1621 (INTERNAL_SYSCALL_TYPES): Likewise.
1622 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1623 (LOAD_REGS_TYPES_[1-6]): Likewise.
1624 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1625 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1626
45470df3
AZ
16272012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1628
1629 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1630 copysignl for GLIBC_2_0.
1631 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1632 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1633 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1634 logbl for GLIBC_2_0.
1635 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1636 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1637
98a61bcb
L
16382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1639
a4f6e481
L
1640 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1641 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1642
f63d5db6
L
1643 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1644 Use "neg %eax".
1645
98a61bcb
L
1646 * time/mktime.c: Update copyright years.
1647
95770f14
PE
16482012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1649
6226efbd
PE
1650 mktime: merge comment-quoting-style change from gnulib
1651 * time/mktime.c: Quote 'like this' in comments.
1652 The GNU coding standards suggest that we no longer quote `like this',
1653 as "`" and "'" are typically rendered asymmetrically nowadays.
1654 The typical gnulib style is to quote 'like this' when quoting
1655 code, and "like this" when quoting English.
1656
b99e4f78
PE
1657 * time/mktime.c (compile-command): Add "-I.".
1658
643e01e6
PE
1659 mktime: merge mktime-internal.h change from gnulib
1660 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1661
2554247d
PE
1662 mktime: merge time_r change from gnulib
1663 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1664
826dd0ab
PE
1665 mktime: merge DEBUG change from gnulib
1666 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1667 case system <time.h> has a #define.
1668
bd83aabe
PE
1669 mktime: merge <sys/types.h> change from gnulib
1670 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1671 since <time.t> is now guaranteed to define time_t.
1672
95770f14
PE
1673 mktime: merge HAVE_CONFIG_H change from gnulib
1674 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1675
5e1a27a9
L
16762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1677
0e44a77e
L
1678 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1679 Use "neg %eax".
1680
5e1a27a9
L
1681 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1682 __rlim_t cast.
1683 (struct rusage): Use anonymous union to pad each field to
1684 __syscall_slong_t.
1685
46259bec
DM
16862012-05-21 David S. Miller <davem@davemloft.net>
1687
1688 * Makefules (o-iterator): Remove .s cases.
1689 (compile-command.s): Delete.
1690 (COMPILE.s): Delete.
1691 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1692
59f0c22e
JM
16932012-05-21 Joseph Myers <joseph@codesourcery.com>
1694
1695 * configure.in (libc_cv_predef_stack_protector): Only consider
1696 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1697 * configure: Regenerated.
1698
20c07380
L
16992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1700
bbb3154b
L
1701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1702 New macro. Use R*LP on int and pointer.
1703 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1704 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1705 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1706 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1707
20c07380
L
1708 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1709 [__WORDSIZE_TIME64_COMPAT32] instead of
1710 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1711 (struct utmp): Likewise.
1712 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1713 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1714 Renamed to ...
1715 (__WORDSIZE_TIME64_COMPAT32): This.
1716 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1717 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1718 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1719 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1720 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1721 (__WORDSIZE_TIME64_COMPAT32): New macro.
1722
d8d1017e
AJ
17232012-05-21 Andreas Jaeger <aj@suse.de>
1724
1725 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1726 only if [SHARED]. Add prototype for __wcschr_ia32.
1727
6c7fb145
RM
17282012-05-21 Roland McGrath <roland@hack.frob.com>
1729
1730 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1731 of %rbp unmolested in the jmp_buf while mangling the low bits.
1732 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1733 unmolested high bits of %rbp while demangling the low bits.
1734 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1735
66274218
AJ
17362012-05-21 Andreas Jaeger <aj@suse.de>
1737
07c58f8f
AJ
1738 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1739 * sunrpc/svc_simple.c: Use it for registerrpc.
1740 * sunrpc/xcrypt.c: Use it for passwd2des.
1741
66274218
AJ
1742 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1743
61f65140
L
17442012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1745
1746 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1747 Don't define if [__SYSCALL_WORDSIZE != 32].
1748 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1749 New macro.
1750
5fefb436
AJ
17512012-05-21 Bruno Haible <bruno@clisp.org>
1752 Andreas Jaeger <aj@suse.de>
1753
1754 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1755 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1756 inptr and inend for must_buffer_ch.
1757 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1758 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1759 * stdio-common/Makefile (tests): Remove bug15.
1760 (bug15-ENV): Remove macro.
1761 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1762 anymore.
1763
d8e272ab
AJ
17642012-05-19 Andreas Jaeger <aj@suse.de>
1765 Roland McGrath <roland@hack.frob.com>
1766
1767 * manual/contrib.texi: Completely rewritten. It contains now an
1768 alphabetical list of contributors and their contributions.
1769
4a56a162
RH
17702012-05-21 Richard Henderson <rth@twiddle.net>
1771
1772 * misc/getauxval.c (__getauxval): Use unsigned long int.
1773 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1774 (getauxval): Use unsigned long int.
1775
d024d23c
L
17762012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1777
1778 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1779
cbc00a03
RM
17802012-05-21 Roland McGrath <roland@hack.frob.com>
1781
1782 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1783 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1784 __alignof__ (long double).
1785
478143fa
AZ
17862012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1787
1788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1789
c7683a6d
RH
17902012-05-20 Richard Henderson <rth@twiddle.net>
1791
1792 * misc/getauxval.c: New file.
1793 * misc/sys/auxv.h: New file.
1794 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1795 (routines): Add getauxval.
1796 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1797 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1798 * elf/dl-sysdep.c (_dl_auxv): Remove.
1799 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1800 * elf/dl-support.c (_dl_auxv): New variable.
1801 (_dl_aux_init): Initialize it.
1802 * manual/startup.texi (Auxiliary Vector): New node.
1803 * sysdeps/generic/bits/hwcap.h: New file.
1804 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1805 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1806 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1807 * sysdeps/sparc/sysdep.h: ... here. Include it.
1808 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1809 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1811 Update.
c7683a6d
RH
1812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1815 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1820
a6f1845d
AZ
18212012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1822
1823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1824
cbcbe830
DM
18252012-05-19 David S. Miller <davem@davemloft.net>
1826
1827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1828
e0b16cc2
JM
18292012-05-19 Joseph Myers <joseph@codesourcery.com>
1830
1831 [BZ #14123]
1832 * math/s_ccosh.c: Include <float.h>
1833 (__ccosh): Avoid internal overflow calculating sinh and cosh
1834 values before multiplying by sin and cos values.
1835 * math/s_ccoshf.c: Likewise.
1836 * math/s_ccoshl.c: Likewise.
1837 * math/s_csin.c: Likewise.
1838 * math/s_csinf.c: Likewise.
1839 * math/s_csinl.c: Likewise.
1840 * math/s_csinh.c: Likewise.
1841 * math/s_csinhf.c: Likewise.
1842 * math/s_csinhl.c: Likewise.
1843 * math/libm-test.inc (ccos_test): Add more tests.
1844 (ccosh_test): Likewise.
1845 (csin_test): Likewise.
1846 (csinh_test): Likewise.
1847 * sysdeps/i386/fpu/libm-test-ulps: Update.
1848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1849
6ad13e08
L
18502012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1851
f66f0ce8
L
1852 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1853 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1854
6ad13e08
L
1855 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1856
b1d072a7
JM
18572012-05-19 Joseph Myers <joseph@codesourcery.com>
1858
1859 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1860 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1861 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1862 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1863 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1864 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1865 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1866 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1867 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1868 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1869 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1870 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1871 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1872 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1873 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1874 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1875 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1876 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1877 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1878 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1879 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1880 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1881 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1882 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1883 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1884 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1885 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1886 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1887 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1888 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1889 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1890
9eae47cb
AJ
18912012-05-18 Andreas Jaeger <aj@suse.de>
1892
1893 * csu/.gitignore: Delete.
1894
bb07f69f
L
18952012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1896
1897 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1898 (timex): Use __syscall_slong_t.
1899
e6bdb741
AJ
19002012-05-18 Andreas Jaeger <aj@suse.de>
1901 Carlos O'Donell <carlos_odonell@mentor.com>
1902
1903 * manual/install.texi (Configuring and compiling): Update
1904 description about files modified in the source directory.
d6c33fda 1905 * INSTALL: Regenerated.
e6bdb741 1906
1b74487e
L
19072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1908
1909 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1910 value. Use "or" to set return value to -1.
1911 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1912 negate return value.
1913
a88b64b9
TMQMF
19142012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1915
1916 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1917 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1918 failure if the compiler has Graphite support disabled.
1919 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1920 Likewise.
1921 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1922 CFLAGS-memmove.c): Likewise.
1923 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1924 Likewise.
1925
3707636e
L
19262012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1927
610b8622
L
1928 * sysdeps/x86_64/x32/_itoa.h: New file.
1929
7cd195df
L
1930 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1931 getdents system call only if kernel and user dirents have the
1932 same d_ino and d_off.
1933
94b07d20
L
1934 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1935 LLONG_MAX != LONG_MAX.
1936 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1937 (_fitoa_word): Likewise.
1938
18298070
L
1939 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1940 years.
1941 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1942 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1943 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1944
553c7ea4
L
1945 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1946 include <bits/wordsize.h>. Check __x86_64__ instead of
1947 __WORDSIZE.
1948 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1949 if __x86_64__ is defined. Use anonymous union on fpstate.
1950
3707636e
L
1951 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1952 anonymous union.
1953
b53ef01a
AS
19542012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1955
37fb1dc0
AS
1956 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1957 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1958 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1959 Refer to _rtld_local_ro instead of _rtld_global_ro.
1960 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1961 Likewise.
1962 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1963 Likewise.
1964 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1965 Likewise.
1966 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1967 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1968 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1969
b53ef01a
AS
1970 * sysdeps/powerpc/powerpc32/dl-machine.c
1971 (__elf_machine_runtime_setup) [PROF]: Don't reference
1972 _dl_prof_resolve.
1973
7a185db2
AJ
19742012-05-18 Andreas Jaeger <aj@suse.de>
1975
1976 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1977 function only available for GCCs before 3.4 since GCC 3.4
1978 introduced a builtin.
1979 (lrint): Likewise.
1980 (llrintf): Likewise.
1981 (llrint): Likewise.
1982 (fmaxf): Likewise.
1983 (fmax): Likewise.
1984 (fminf): Likewise.
1985 (fmin): Likewise.
1986 (rint): Likewise.
1987 (rintf): Likewise.
1988 (nearbyint): Likewise.
1989 (nearbyintf): Likewise.
1990 (ceil): Likewise.
1991 (ceilf): Likewise.
1992 (floor): Likewise.
1993 (floorf): Likewise.
1994
3e5aef87
L
19952012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1996
428bd707
L
1997 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1998 on both fields and cast pointer to __syscall_ulong_t.
1999
3e5aef87
L
2000 * bits/types.h (__fsword_t): New type.
2001 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2002 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2003 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2004 (__FSWORD_T_TYPE): Likewise.
2005 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2006 (__FSWORD_T_TYPE): Likewise.
2007 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2008 (__FSWORD_T_TYPE): Likewise.
2009 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2010 (__FSWORD_T_TYPE): Likewise.
2011 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2012 __SWORD_TYPE with __fsword_t.
2013 (statfs64): Likewise.
2014
1ba7c3dc
DM
20152012-05-17 David S. Miller <davem@davemloft.net>
2016
2017 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2018
59910343
AJ
20192012-05-17 Andreas Jaeger <aj@suse.de>
2020
2021 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2022 warning.
2023
2e4c1e9e
L
20242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2025
2026 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2027
de7f5ce7
AJ
20282012-05-17 Andreas Jaeger <aj@suse.de>
2029
2030 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2031 when it is used.
2032
286abc3d
CM
20332012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2034
2035 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2036
477cc68e
L
20372012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2038
2039 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2040 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2041
1a0994f5
CD
20422012-05-17 Andreas Jaeger <aj@suse.de>
2043 Carlos O'Donell <carlos_odonell@mentor.com>
2044
2045 [BZ #14059]
2046 * sysdeps/x86_64/multiarch/init-arch.h
2047 (bit_YMM_Usable): Rename to...
2048 (bit_AVX_Usable): ... this.
2049 (bit_FMA4_Usable): New macro.
2050 (bit_XMM_state): New macro.
2051 (bit_YMM_state): New macro.
2052 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2053 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2054 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2055 (CPUID_OSXSAVE): New macro.
2056 (CPUID_AVX): New macro.
2057 (CPUID_FMA4): New macro.
2058 (index_YMM_Usable): Rename to...
2059 (index_AVX_Usable): ... this.
2060 (HAS_AVX): Use HAS_ARCH_FEATURE.
2061 (HAS_FMA4): Likewise.
2062 (HAS_YMM_USABLE): Remove.
2063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2064 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2065 are present.
2066 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2067 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2068 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2069 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2070 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2071
0af797de
CM
20722012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2073
2074 * math/libm-test.c: Support platforms without multiple rounding modes.
2075 * math/bug-nextafter.c: Support platforms without FP exceptions.
2076 * math/bug-nexttoward.c: Likewise.
2077 * math/test-fenv.c: Likewise.
2078 * math/test-misc.c: Likewise.
2079 * stdlib/bug-getcontext.c: Likewise.
2080
e39745ff
AJ
20812012-05-17 Andreas Jaeger <aj@suse.de>
2082
2083 * manual/examples/search.c (critter_cmp): Change signature to
2084 avoid warnings.
2085 * manual/string.texi (Collation Functions): Likewise.
2086
48970aba
L
20872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2088
2089 * bits/types.h: Fold copyright years.
2090 * bits/typesizes.h: Likewise.
2091 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2092 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2093 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2094 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2095 * time/time.h: Likewise.
2096
bedee953
PP
20972012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2098
2099 [BZ #208]
2100 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2101 in instead of returning them. Return void.
2102 (__libc_mallinfo): Accumulate over all arenas.
2103 (__malloc_stats): Adjust for change in int_mallinfo interface.
2104
61653dfb
RM
21052012-05-16 Roland McGrath <roland@hack.frob.com>
2106
30b99d79
RM
2107 [BZ #10375]
2108 * configure.in (NM): Add AC_CHECK_TOOL for it.
2109 (libc_extra_cflags): New substituted variable.
2110 Check for -fstack-protector being used implicitly.
2111 * configure: Regenerated.
2112 * config.make.in (config-extra-cflags): New variable,
2113 gets @libc_extra_cflags@.
2114 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2115
61653dfb
RM
2116 [BZ #10375]
2117 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2118 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2119 * configure: Regenerated.
2120 * config.make.in (CPPUNDEFS): New substituted variable.
2121 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2122 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2123 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2124
661768bb
L
21252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2126
2127 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2128 (mq_attr): Use __syscall_slong_t.
2129
d4261567
L
21302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2131
2132 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2133 Check __x86_64__ instead of __WORDSIZE.
2134 (_STAT_VER_LINUX): Likewise.
2135 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2136 __syscall_ulong_t and __syscall_slong_t.
2137 (stat64): Likewise.
2138
cf3ff365
L
21392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2140
2141 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2142
76cf3e4d
L
21432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2144
2145 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2146
a637753a
L
21472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2148
2149 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2150 __syscall_ulong_t.
2151
d5e05119
L
2152 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2153 include <bits/wordsize.h>. Check __x86_64__ instead of
2154 __WORDSIZE.
2155 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2156 defined.
2157 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2158
f62ee380
L
2159 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2160 include <bits/wordsize.h>. Check __x86_64__ instead of
2161 __WORDSIZE.
2162 (user_regs_struct): Use "__extension__ unsigned long long"
2163 instead of "unsigned long" if __x86_64__ is defined.
2164 (user): Likewise. Pad after pointer field if __ILP32__ is
2165 defined.
2166
4e124ced
JM
21672012-05-16 Joseph Myers <joseph@codesourcery.com>
2168
6a3951a0
JM
2169 * configure.in (makeinfo): Require version 4.5 or later. Allow
2170 versions 5 to 9.
2171 * configure: Regenerated.
2172 * manual/install.texi (texinfo): Increase version requirement to
2173 4.5 or later.
2174 * INSTALL: Regenerated.
2175
4e124ced
JM
2176 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2177
953ca31a
L
21782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2179
2180 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2181
617aca05
L
2182 * sysdeps/x86_64/x32/ffs.c: New file.
2183
5762f7ae
L
2184 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2185 __syscall_ulong_t.
2186 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2187 defined. Use __syscall_ulong_t.
2188 (shminfo): Use __syscall_ulong_t.
2189 (shm_info): Likewise.
2190
a26b6856
L
2191 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2192 __syscall_ulong_t.
2193
cb2b9ef7
L
2194 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2195 <bits/wordsize.h>.
2196 (msgqnum_t): Use __syscall_ulong_t.
2197 (msglen_t): Likewise.
2198 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2199 __syscall_ulong_t.
2200
34683bb0
L
2201 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2202 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2203
84a68786
L
2204 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2205
48baa5f1
L
2206 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2207 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2208
180be88b
L
2209 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2210 __syscall_slong_t.
2211
5e90c8ad
L
2212 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2213 include <bits/wordsize.h>. Check __x86_64__ instead of
2214 __WORDSIZE.
2215
23dfb58b
L
2216 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2217 "unsigned long long int" if __x86_64__ is defined.
2218 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2219
ce5d54b0
L
2220 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2221 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2222 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2223
13dc9eac
L
2224 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2225 <stdint.h>.
2226 (GET_PC): Cast to uintptr_t first.
2227 (GET_FRAME): Likewise.
2228 (GET_STACK): Likewise.
2229
a7895d15
L
2230 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2231 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2232 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2233 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2234 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2235 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2236 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2237 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2238 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2239 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2240 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2241 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2242 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2243 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2244 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2245 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2246 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2247 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2248 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2249 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2250 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2251 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2252 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2253 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2254 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2255 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2256 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2257 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2258 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2259
656416c9
AS
22602012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2261
5bd66283
AS
2262 * Makerules (+depfiles): Also collect depfiles from .oS in
2263 $(extra-objs).
2264 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2265 .oS, $(libnldbl-routines)).
2266
656416c9
AS
2267 * Makerules (native-compile-mkdep-flags): Define.
2268 * sunrpc/Makefile (extra-objs): Add $(addprefix
2269 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2270 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2271 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2272 calling $(make-target-directory).
2273
a46f2169
L
22742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2275
2276 * bits/types.h (__snseconds_t): Removed.
2277 * time/time.h (struct timespec): Replace __snseconds_t with
2278 __syscall_slong_t.
2279 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2280 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2281 Likewise.
2282 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2283 (__SNSECONDS_T_TYPE): Likewise.
2284 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2285 (__SNSECONDS_T_TYPE): Likewise.
2286 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2287 (__SNSECONDS_T_TYPE): Likewise.
2288
6af6528b
L
22892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2290
2291 * sysdeps/mach/hurd/bits/typesizes.h
2292 (__SYSCALL_SLONG_TYPE): New macro.
2293 (__SYSCALL_ULONG_TYPE): Likewise.
2294
de986b56
L
22952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2296
2297 * bits/types.h (__syscall_slong_t): New type.
2298 (__syscall_ulong_t): Likewise.
2299
2300 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2301 (__SYSCALL_ULONG_TYPE): Likewise.
2302 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2303 (__SYSCALL_SLONG_TYPE): Likewise.
2304 (__SYSCALL_ULONG_TYPE): Likewise.
2305 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2306 (__SYSCALL_SLONG_TYPE): Likewise.
2307 (__SYSCALL_ULONG_TYPE): Likewise.
2308 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2309 (__SYSCALL_SLONG_TYPE): Likewise.
2310 (__SYSCALL_ULONG_TYPE): Likewise.
2311
85736dc7
L
23122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2313
2314 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2315 Add sigaltstack-offsets.sym.
2316 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2317 <sigaltstack-offsets.h>.
2318 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2319 longjmp_msg pointer.
2320 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2321 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2322 signal stack.
2323 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2324
cc03b296
JM
23252012-05-15 Joseph Myers <joseph@codesourcery.com>
2326
a9538892
JM
2327 * elf/stackguard-macros.h: Remove file.
2328 * sysdeps/generic/stackguard-macros.h: New file.
2329 * sysdeps/i386/stackguard-macros.h: Likewise.
2330 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2331 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2332 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2333 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2334 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2335 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2336 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2337 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2338 <elf/stackguard-macros.h>.
2339
cc03b296
JM
2340 [BZ #14109]
2341 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2342 __aligned__ in attribute.
2343 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2344 (gregset_t): Likewise.
2345
93171016
L
23462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2347
2348 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2349 * sysdeps/x86_64/64/Implies-after: Here. New file.
2350 * sysdeps/x86_64/x32/Implies-after: New file.
2351
d86813a0
L
23522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2353
2354 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2355 and access return value for _dl_profile_fixup. Use R10_LP to
2356 load frame size.
2357
2953ec75
L
23582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2359
2360 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2361
3b550e9e
L
23622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2363
2364 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2365 * sysdeps/x86_64/x32/sysdep.h: New file.
2366
eda41706
L
23672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2368
2369 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2370 * sysdeps/x86_64/setjmp.S: Likewise.
2371
9ea01d93
AZ
23722012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2373
2374 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2375 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2376 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2377 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2378 remove unused global constant.
2379
02a91938
CM
23802012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2381
2382 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2383 include of <not-cancel.h>.
2384
6540185f
RM
23852012-05-15 Roland McGrath <roland@hack.frob.com>
2386
2387 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2388
509072a0
AJ
23892012-05-15 Jeff Law <law@redhat.com>
2390 Andreas Jaeger <aj@suse.de>
2391
2392 [BZ #13594]
2393 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2394 out from...
2395 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2396 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2397 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2398 code changing __hst_map_handle.map.
2399
ba75122d
RM
24002012-05-15 Roland McGrath <roland@hack.frob.com>
2401
2402 * configure.in (sysnames): Look for Implies-before and Implies-after
2403 files.
2404 * configure: Regenerated.
2405
890d8bd8
L
24062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2407
2408 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2409 8-byte data alignment with LP_SIZE alignment.
2410
f6ee6623
L
24112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2412
2413 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2414 into R10_LP.
2415
ea2626f6
L
24162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2417
2418 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2419
085f715e
L
24202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2421
2422 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2423 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2424 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2425 Likewise.
2426 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2427
be8498fc
L
24282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2429
2430 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2431 (stackinfo_sub_sp): Likewise.
2432
70bc83b9
L
24332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2434
2435 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2436 RAX_LP.
2437
9bc0b730
L
24382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2439
2440 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2441 into R*_LP.
2442
6d2850e7
L
24432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2444
2445 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2446 sizes into R*_LP.
2447
3cb84561
L
24482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2449
2450 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2451
54e2ed81
L
24522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2453
2454 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2455 into R11_LP and load __x86_64_shared_cache_size_half into
2456 R8_LP.
2457
8a17f349
L
24582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2459
2460 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2461 R8_LP.
2462
777b1eea
AZ
24632012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2464
2465 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2466 logb for POWER7.
2467 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2468 logbf for POWER7.
2469 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2470 logbl for POWER7.
2471 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2472 powerpc32/power7/fpu/s_logb.c via #include.
2473 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2474 powerpc32/power7/fpu/s_logbf.c via #include.
2475 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2476 powerpc32/power7/fpu/s_logbl.c via #include.
2477
d20d4ac2
JM
24782012-05-15 Joseph Myers <joseph@codesourcery.com>
2479
2480 * README.libm: Remove file.
2481
6cdef1ab
L
24822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2483
2484 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2485 count for x32. Use R*_LP and omit operand-size suffix.
2486
0b254d8f
L
24872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2488
2489 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2490 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2491 * sysdeps/x86_64/x32/shlib-versions: New file.
2492
ceb809dc
RM
24932012-05-14 Roland McGrath <roland@hack.frob.com>
2494
2495 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2496 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2497 Use _dl_fatal_printf instead.
2498
37f1abd4
JM
24992012-05-14 Joseph Myers <joseph@codesourcery.com>
2500
2501 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2502 set if not set by the user. Do not allow for being unset.
2503 * sysdeps/unix/sysv/linux/configure: Regenerated.
2504
11de3a33
L
25052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2506
2507 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2508 the `q' suffix from lea and replace .quad with ASM_ADDR.
2509
e02f153a
L
25102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2511
2512 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2513 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2514 instead of $17.
2515 (PTR_DEMANGLE): Likewise.
2516
520ae0fd
L
25172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2518
2519 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2520 (LP_OP): Likewise.
2521 (ASM_ADDR): Likewise.
2522 (RAX_LP): Likewise.
2523 (RBP_LP): Likewise.
2524 (RBX_LP): Likewise.
2525 (RCX_LP): Likewise.
2526 (RDI_LP): Likewise.
2527 (RSI_LP): Likewise.
2528 (RSP_LP): Likewise.
2529 (R8_LP): Likewise.
2530 (R9_LP): Likewise.
2531 (R10_LP): Likewise.
2532 (R10_LP): Likewise.
2533 (R11_LP): Likewise.
2534 (R12_LP): Likewise.
2535 (R13_LP): Likewise.
2536 (R14_LP): Likewise.
2537 (R15_LP): Likewise.
2538
b985be81
L
25392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2540
2541 * sysdeps/x86_64/x32/dl-machine.h: New file.
2542
6a4888ff
AJ
25432012-05-14 Andreas Jaeger <aj@suse.de>
2544
2545 * manual/Makefile (subdir): Remove export of subdir.
2546 (all): Remove target.
2547 (.PHONY): Remove all from list.
2548 (mkinstalldirs): Remove.
2549 (.PHONY): Remove installdirs from list.
2550 ($(inst_infodir)/libc.info): Use make-target-directory.
2551 (installdirs): Remove.
2552 (subdir_%): Remove.
2553 (glibc-targets): Remove.
2554 (lib): Remove.
2555 (stubs): Remove.
2556 ($(objpfx)stubs ../po/manual.pot): Remove.
2557 ($(objpfx)stamp%): Remove.
2558 (make-target-directory): Remove.
2559 (subdir_install): Remove.
2560 (routines): Remove.
2561 (aux): Remove.
2562 (sources): Remove.
2563 (objects): Remove.
2564 (headers): Remove.
2565
2566 [BZ #13750]
2567 * manual/.gitignore: Remove, it's not needed anymore.
2568 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2569 all files in it.
2570 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2571 directory.
2572 (texis): Renamed to $(objpfx)texis.
2573 (texis-path): New, contains path to generated files.
2574 (chapters.%): Use texis-path for complete path, add extra argument
2575 libc-texinfo.sh.
2576 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2577 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2578 (summary,texi, stamp-summary): Use complete path of
2579 files. Generate files in build dir.
2580 (dir-add.texi): Build in build dir.
2581 (libm-err.texi,stamp-libm-err): Likewise.
2582 (version.texi, stamp-version): Likewise.
2583 (.%c.texi): Likewise.
2584 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2585 (mostlyclean): Remove target.
2586 (realclean): Remove target.
2587 (generated): Add new variable with contents from mostlyclean and
2588 realclean, remove entries duplicated in common-mostlyclean, add
2589 stamp-libm-err and stamp-version.
2590 (generated-dirs): Add libc directory.
2591 ($(inst_infodir)/libc.info): Install files from build dir.
2592
2593 * manual/install.texi (Configuring and compiling): Adjust since
2594 the info files are not part of the tar ball anymore.
2595
7ac77294
AJ
25962012-05-14 Andreas Jaeger <aj@suse.de>
2597
2598 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2599 variable.
2600
ffb7875d
JM
26012012-05-14 Joseph Myers <joseph@codesourcery.com>
2602
2603 [BZ #13717]
2604 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2605 to 2.2.0 where earlier.
2606 * sysdeps/unix/sysv/linux/configure: Regenerated.
2607 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2608 Remove conditional code.
2609 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2610 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2611 Remove conditional code.
2612 [!__NR_lchown]: Likewise.
2613 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2614 [__NR_lchown]: Likewise.
2615 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2616 comment referencing __ASSUME_LCHOWN_SYSCALL.
2617 * sysdeps/unix/sysv/linux/i386/sigaction.c
2618 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2619 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2620 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2621 Remove conditional code.
2622 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2623 (__protocol_available): Remove #if 0 code.
2624 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2625 conditional code.
2626 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2627 * sysdeps/unix/sysv/linux/kernel-features.h
2628 (__ASSUME_GETCWD_SYSCALL): Don't define.
2629 (__ASSUME_REALTIME_SIGNALS): Likewise.
2630 (__ASSUME_PREAD_SYSCALL): Likewise.
2631 (__ASSUME_PWRITE_SYSCALL): Likewise.
2632 (__ASSUME_POLL_SYSCALL): Likewise.
2633 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2634 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2635 non-SPARC.
2636 (__ASSUME_SIOCGIFNAME): Don't define.
2637 (__ASSUME_MSG_NOSIGNAL): Likewise.
2638 (__ASSUME_SENDFILE): Define unconditionally.
2639 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2640 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2641 conditional code.
2642 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2643 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2644 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2645 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2646 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2647 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2648 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2650 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2651 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2653 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2654 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2656 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2657 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2659 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2660 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2662 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2663 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2665 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2666 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2668 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2669 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2671 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2672 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2673 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2674 Remove conditional code.
2675 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2676 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2677 Remove conditional code.
2678 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2679 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2680 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2681 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2682 Remove conditional code.
2683 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2684 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2685 Remove conditional code.
2686 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2687 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2688 Remove conditional code.
2689 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2690 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2691 Remove conditional code.
2692 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2693 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2694 Remove conditional code.
2695 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2696 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2697 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2698 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2699 * sysdeps/unix/sysv/linux/sigaction.c
2700 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2701 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2702 * sysdeps/unix/sysv/linux/sigpending.c
2703 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2704 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2705 * sysdeps/unix/sysv/linux/sigprocmask.c
2706 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2707 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2708 * sysdeps/unix/sysv/linux/sigsuspend.c
2709 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2710 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2711 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2712 (__libc_missing_rt_sigs): Remove.
2713 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2714 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2715 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2716 Remove conditional code.
2717 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2718 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2719 return 1.
2720 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2721 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2722 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2723 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2724
1bfb7291
AJ
27252012-05-14 Andreas Jaeger <aj@suse.de>
2726
caae5a81
AJ
2727 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2728 it's not used in glibc.
2729 (__coshm1): Likewise.
2730 (__acosh1p): Likewise.
2731 (__sgn): Likewise.
2732
1bfb7291
AJ
2733 * manual/string.texi (Copying and Concatenation): Add missing
2734 variable in concat example.
2735 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2736
c044d724
L
27372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2738
144c5467 2739 [BZ #14103]
c044d724
L
2740 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2741 __builtin_clzl with __builtin_clzll.
2742
2523c62b
L
27432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2744
2745 [BZ #14104]
2746 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2747 libc_freeres_ptr.
2748
d7bb4c42
LD
27492012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2750
2751 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2752 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2753 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2754 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2755
9dc4e1fb
MF
27562012-05-14 Mike Frysinger <vapier@gentoo.org>
2757
2758 * NEWS: Update ia64 info.
2759
c7df0112
AS
27602012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2761
2762 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2763 used as bcopy.
2764
dc70356c
TS
27652012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2766
2767 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2768 * sysdeps/unix/syscalls.list (dup3): Likewise.
2769 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2770 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2771
9fb1a21f
L
27722012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2773
2774 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2775 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2776
4822a2a5
L
27772012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2778
2779 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2780 thread pointer.
2781 (TLS_IE): Use mov/add instead of movq/addq to load thread
2782 pointer.
2783 (TLS_GD_PREFIX): New.
2784 (TLS_GD): Use it.
2785
842b81d6
DM
27862012-05-11 David S. Miller <davem@davemloft.net>
2787
2788 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2789 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2790 (_FPU_SETCW): Likewise.
2791
1cf463cd
L
27922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2793
2794 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2795 is 32-byte aligned.
2796
60cc4a18
AS
27972012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2798
2799 [BZ #11837]
2800 * iconvdata/gb18030.c: Update tables.
2801 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2802 characters specially.
2803 (BODY for TO_LOOP): Add encoding of missing ranges.
2804
febb44a4
TS
28052012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2806
2807 [BZ #13673]
2808 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2809 * sysdeps/mach/hurd/dup3.c: Likewise.
2810 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2811 * sysdeps/powerpc/memmove.c:: Likewise.
2812
0a10fb9e
L
28132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2814
2815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2816 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2817
df8a552f
L
28182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2819
2820 * elf/elf.h (R_X86_64_RELATIVE64): New.
2821 (R_X86_64_NUM): Updated.
2822 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2823 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2824 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2825 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2826 tst-quad1pie tst-quad2pie
2827 (modules-names): Add tst-quadmod1 tst-quadmod2.
2828 ($(objpfx)tst-quad1): New dependency.
2829 ($(objpfx)tst-quad2): Likewise.
2830 ($(objpfx)tst-quad1pie): Likewise.
2831 ($(objpfx)tst-quad2pie): Likewise.
2832 * sysdeps/x86_64/tst-quad1.c: New file.
2833 * sysdeps/x86_64/tst-quad1pie.c: New file.
2834 * sysdeps/x86_64/tst-quad2.c: Likewise.
2835 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2836 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2837 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2838 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2839 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2840
f34d6f84
ST
28412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2842
f42d41d1
ST
2843 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2844 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2845 * streams/stropts.h (t_scalar_t): Define type.
2846
3c3571fc
ST
2847 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2848 (_PATH_PRESERVE): Set to "/var/lib".
2849 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2850
61f06bd3
ST
2851 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2852 instead of int.
2853
918d4d71
ST
2854 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2855 if __dir_mkfile succeeded.
2856
f34d6f84
ST
2857 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2858 checking for _hurd_dtablesize. Unlock it right after having
2859 finished _hurd_dtable allocation.
2860
10589b4a
TS
28612012-05-10 Thomas Schwinge <thomas@schwinge.name>
2862
674cdbc7
TS
2863 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2864 * sysdeps/mach/hurd/configure: Regenerated.
2865 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2866 special-casing to...
2867 * sysdeps/gnu/configure.in: ... this new file.
2868 * sysdeps/unix/sysv/linux/configure: Regenerated.
2869 * sysdeps/gnu/configure: New generated file.
2870
8e41b99f
TS
2871 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2872 for Linux: use nsec instead of usec, as well as:
2873 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2874 members of type struct timespec.
2875 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2876 New macros.
2877 (struct stat64): Likewise.
2878 (_STATBUF_ST_NSEC): New macro.
2879 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2880
10589b4a
TS
2881 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2882 __strtoul_internal rather than strtoul.
2883
63643c85
PT
28842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2885
2886 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2887 and reject them.
2888
3faebe6a
ST
28892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2890
2891 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2892 which preserves existing values.
2893 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2894
c6474b07
PT
28952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2896
2897 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2898 TIMEOUT values. Return EINVAL for NFDS values either negative or
2899 greater than FD_SETSIZE.
2900
1043890b
ST
29012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2902
2903 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2904 allocated, call __vm_protect to finish enabling the existing space, and
2905 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2906 allocate the remainder.
2907
37ed8b9b
PT
29082012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2909
2910 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2911 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2912
db653660
ST
29132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2914
37ed8b9b
PT
2915 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2916 sysdeps/mach/hurd/readlink.c.
b29d4053 2917
db653660
ST
2918 * posix/tst-sysconf.c (posix_options): Only use
2919 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2920 _POSIX_SYNCHRONIZED_IO when they are defined
2921 * sysdeps/mach/hurd/bits/posix_opt.h:
2922 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2923 (_XOPEN_REALTIME): Undefine macro.
2924 (_XOPEN_REALTIME_THREADS): Undefine macro.
2925 (_XOPEN_SHM): Undefine macro.
2926 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2927 macro to -1.
2928 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2929 macro to -1.
2930 (_POSIX_ASYNC_IO): Undefine macro.
2931 (_POSIX_PRIORITIZED_IO): Undefine macro.
2932 (_POSIX_SPIN_LOCKS): Define macro to -1.
2933
ee16e894
ST
2934 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2935 SA_NODEFER, SA_RESETHAND.
2936 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2937 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2938 F_DUPFD_CLOEXEC.
2939
6103ae3b
TS
29402012-05-10 Thomas Schwinge <thomas@schwinge.name>
2941
2942 * elf/Makefile (pldd-modules): Define unconditionally.
2943
80b4e5f3
TS
29442012-05-10 Thomas Schwinge <thomas@schwinge.name>
2945
2946 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2947
edadcbd6
ST
29482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2949
2950 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2951 Return ENOENT when name is empty.
2952 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2953
80694780
TS
29542012-05-10 Thomas Schwinge <thomas@schwinge.name>
2955
1792c087
TS
2956 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2957
80694780
TS
2958 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2959
6b645f0d
ST
29602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2961
80694780
TS
2962 Fix mlock in all cases except non-readable pages.
2963 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2964 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2965
6b645f0d
ST
2966 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2967 (__mkdir): When path is `/', just fail with EEXIST.
2968 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2969
e468f8a3
TS
29702012-05-10 Thomas Schwinge <thomas@schwinge.name>
2971
2972 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2973 <sys/uio.h> (for writev).
2974 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2975 and <sys/param.h> (for MIN).
2976
a4186cff
PT
29772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2978
2979 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2980 REQUESTED_TIME. Properly set the remaining time and return EINTR
2981 if interrupted.
2982
510bbf14
TS
29832012-05-10 Thomas Schwinge <thomas@schwinge.name>
2984
2985 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2986 Depend on against $(link-rpcuserlibs).
2987
5d5722e8
ST
29882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2989
a4186cff
PT
2990 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2991 (__libc_stack_end): Do not use attribute_relro.
2992 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2993 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2994 to libthread-provided value.
a4186cff
PT
2995 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2996 attribute_relro.
5d5722e8 2997
37233df9
TS
29982012-05-10 Thomas Schwinge <thomas@schwinge.name>
2999
be971a2b
TS
3000 [BZ #3748]
3001 * bits/libc-lock.h (__libc_once_get): New macro.
3002 * sysdeps/mach/bits/libc-lock.h: Likewise.
3003 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3004 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3005 instead of using implementation details.
3006
37233df9
TS
3007 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3008 * libio/freopen.c: Likewise.
3009 * libio/freopen64.c: Likewise.
3010 * misc/syslog.c: Likewise.
3011 * nscd/connections.c: Likewise.
3012 * nscd/netgroupcache.c: Likewise.
3013 * sysdeps/posix/getcwd.c: Likewise.
3014
38de94a5
RM
30152012-05-10 Roland McGrath <roland@hack.frob.com>
3016
3017 * math/w_ilogbf.c: Add #include <limits.h>.
3018
67530489
ST
30192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3020
a4186cff 3021 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
3022 path instead of returning without unlocking.
3023
67530489
ST
3024 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3025 immediate-write ioctls.
3026 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3027
5aa3a74a
TS
30282012-05-10 Thomas Schwinge <thomas@schwinge.name>
3029
18bad2ae
TS
3030 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3031 __builtin_frame_address instead of making assumptions about the
3032 location of the return address relative to DATA. Force early load of
3033 the return address.
3034 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3035 __builtin_frame_address.
3036
5aa3a74a
TS
3037 dup3 for GNU Hurd.
3038 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3039 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3040 implement dup3 and do some further code clean-ups.
3041 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3042 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3043
ecd0de9a
ST
30442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3045
cd9fa985
ST
3046 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3047
a4186cff
PT
3048 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3049 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3050 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3051 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3052 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3053 d->port.lock.
802ca5a5 3054
a4186cff
PT
3055 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3056 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3057 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3058
bcf55240
TS
30592012-05-10 Thomas Schwinge <thomas@schwinge.name>
3060
6960eb42
TS
3061 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3062 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3063 definitions.
3064
eb43375f
TS
3065 accept4 for GNU Hurd.
3066 * include/sys/socket.h (__libc_accept4): New prototype.
3067 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3068 to implement __libc_accept4.
3069 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3070 __libc_accept4.
3071 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3072
bcf55240
TS
3073 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3074 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3075 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3076 signal-defines.sym.
3077
6178c55b
ST
30782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3079
a4186cff 3080 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3081
6f080c2f
TS
30822012-05-10 Thomas Schwinge <thomas@schwinge.name>
3083
3084 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3085 assertion on O_CLOEXEC flag.
3086 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3087 * hurd/intern-fd.c: Likewise.
3088 * hurd/port2fd.c: Likewise.
3089
bcfe3a54
ST
30902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3091
3092 [BZ #3906]
3093 * bits/in.h (IPV6_PKTINFO): Define new macro.
3094 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3095
89c9aa49
AZ
30962012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3097
3098 [BZ #13954]
3099 [BZ #13955]
3100 [BZ #13956]
3101 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3102 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3103 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3104 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3105 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3106 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3107 * math/libm-test.inc (logb_test) : Additional logb tests.
3108
021db4be
AJ
31092012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3110 Andreas Jaeger <aj@suse.de>
3111
3112 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3113 * configure: Regenerated.
3114 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3115 * config.make.in (link-obsolete-rpc): New substituted variable.
3116 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3117 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3118 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3119 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3120 so that libc.a contains the symbols.
3121 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3122 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3123 * sunrpc/auth_none.c: Likewise.
3124 * sunrpc/auth_unix.c: Likewise.
3125 * sunrpc/authdes_prot.c: Likewise.
3126 * sunrpc/authuxprot.c: Likewise.
3127 * sunrpc/clnt_gen.c: Likewise.
3128 * sunrpc/clnt_perr.c: Likewise.
3129 * sunrpc/clnt_raw.c: Likewise.
3130 * sunrpc/clnt_simp.c: Likewise.
3131 * sunrpc/clnt_tcp.c: Likewise.
3132 * sunrpc/clnt_udp.c: Likewise.
3133 * sunrpc/clnt_unix.c: Likewise.
3134 * sunrpc/des_crypt.c: Likewise.
3135 * sunrpc/des_soft.c: Likewise.
3136 * sunrpc/get_myaddr.c: Likewise.
3137 * sunrpc/key_call.c: Likewise.
3138 * sunrpc/key_prot.c: Likewise.
3139 * sunrpc/netname.c: Likewise.
3140 * sunrpc/pm_getmaps.c: Likewise.
3141 * sunrpc/pm_getport.c: Likewise.
3142 * sunrpc/pmap_clnt.c: Likewise.
3143 * sunrpc/pmap_prot.c: Likewise.
3144 * sunrpc/pmap_prot2.c: Likewise.
3145 * sunrpc/pmap_rmt.c: Likewise.
3146 * sunrpc/publickey.c: Likewise.
3147 * sunrpc/rpc_cmsg.c: Likewise.
3148 * sunrpc/rpc_common.c: Likewise.
3149 * sunrpc/rpc_dtable.c: Likewise.
3150 * sunrpc/rpc_prot.c: Likewise.
3151 * sunrpc/rpc_thread.c: Likewise.
3152 * sunrpc/rtime.c: Likewise.
3153 * sunrpc/svc.c: Likewise.
3154 * sunrpc/svc_auth.c: Likewise.
3155 * sunrpc/svc_raw.c: Likewise.
3156 * sunrpc/svc_run.c: Likewise.
3157 * sunrpc/svc_tcp.c: Likewise.
3158 * sunrpc/svc_udp.c: Likewise.
3159 * sunrpc/svc_unix.c: Likewise.
3160 * sunrpc/svcauth_des.c: Likewise.
3161 * sunrpc/xcrypt.c: Likewise.
3162 * sunrpc/xdr.c: Likewise.
3163 * sunrpc/xdr_array.c: Likewise.
3164 * sunrpc/xdr_float.c: Likewise.
3165 * sunrpc/xdr_intXX_t.c: Likewise.
3166 * sunrpc/xdr_mem.c: Likewise.
3167 * sunrpc/xdr_rec.c: Likewise.
3168 * sunrpc/xdr_ref.c: Likewise.
3169 * sunrpc/xdr_sizeof.c: Likewise.
3170 * sunrpc/xdr_stdio.c: Likewise.
3171
b5c086a2
RM
31722012-05-10 Roland McGrath <roland@hack.frob.com>
3173
3174 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3175 change. Update copyright years.
3176
6d74dd09
JM
31772012-05-10 Joseph Myers <joseph@codesourcery.com>
3178
3179 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3180
28e72501
MK
31812012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3182 Joseph Myers <joseph@codesourcery.com>
3183 Paul Pluzhnikov <ppluzhnikov@google.com>
3184
3185 [BZ #14012]
3186 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3187 requiring rpcgen.
3188 [cross-compiling] (extra-libs): Likewise.
3189 [cross-compiling] (extra-libs-others): Likewise.
3190 [cross-compiling] (librpcsvc-routines): Likewise.
3191 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3192 [cross-compiling] (omit-deps): Likewise.
3193 (sunrpc-CPPFLAGS): New variable.
3194 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3195 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3196 (cross-rpcgen-objs): New variable.
3197 (extra-objs): Append $(cross-rpcgen-objs).
3198 ($(cross-rpcgen-objs)): New rule.
3199 ($(objpfx)cross-rpcgen): Likewise.
3200 (rpcgen-cmd): Define to use $(built-program-file). Expand
3201 comment.
3202 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3203 ($(objpfx)x%.stmp): Likewise.
3204 * sunrpc/proto.h [IS_IN_build] (_): Define.
3205 [IS_IN_build] (_libc_intl_domainname): Likewise.
3206
c8c59454
L
32072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3208
3209 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3210 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3211 and R_X86_64_TPOFF64.
3212
6f27cd16
JM
32132012-05-10 Joseph Myers <joseph@codesourcery.com>
3214
3215 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3216 sysdeps/unix/sysv/syscalls.list.
3217 (stime): Likewise.
3218 (utime): Likewise.
3219 * sysdeps/unix/sysv/syscalls.list: Remove file.
3220
02467e1c
PE
32212012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3222
3223 [BZ #3440]
3224 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3225 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3226 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3227 (__LC_IDENTIFICATION): Make these macros useful in #if
3228 expressions, as required by C99.
3229
da392631
AS
32302012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3231
3232 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3233 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3234 after this.
3235
8115f29b
L
32362012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3237
3238 * stdlib/longlong.h: Updated from GCC.
3239
bdd74070
AJ
32402012-05-09 Andreas Jaeger <aj@suse.de>
3241
edfe0dbe
AJ
3242 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3243 default is first entry.
3244 (run_mode): Set type.
3245 (main): Remove informal message about syslog.
3246 (options): Fix typo.
3247
bcfe3a54
ST
3248 [BZ #14053]
3249 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3250 to asm.
bcfe3a54
ST
3251 (lrint): Likewise.
3252 (llrintf): Likewise.
3253 (llrint): Likewise.
3254 (rint): Likewise.
3255 (rintf): Likewise.
3256 (nearbyint): Likewise.
3257 (nearbyintf): Likewise.
bdd74070 3258
91d8d69e
AJ
32592012-05-09 Andreas Jaeger <aj@suse.de>
3260 Pedro Alves <palves@redhat.com>
3261
3262 * nscd/nscd.c (run_mode): Use enum.
3263 (main): Cleanup coding style issue.
3264
bb90b80b
AJ
32652012-05-09 Alexandre Oliva <aoliva@redhat.com>
3266 Andreas Jaeger <aj@suse.de>
3267
bcfe3a54
ST
3268 * nscd/nscd.c (go_background): Replaced with...
3269 (run_mode): ... this.
bb90b80b 3270 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3271 (options): Add -F --foreground.
3272 (main): Implement it.
3273 (parse_opt): Parse it.
bb90b80b 3274
1a4b75a1
AJ
32752012-05-09 Andreas Jaeger <aj@suse.de>
3276
3277 [BZ #14083]
3278 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3279 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3280 -Wconversion warning.
3281 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3282 Likewise.
3283
b1cc2472
JM
32842012-05-09 Joseph Myers <joseph@codesourcery.com>
3285
3286 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3287 == 0.
3288 (LC_ALL): Use macro-int-constant.
3289 (LC_COLLATE): Likewise.
3290 (LC_CTYPE): Likewise.
3291 (LC_MESSAGES): Likewise.
3292 (LC_MONETARY): Likewise.
3293 (LC_NUMERIC): Likewise.
3294 (LC_TIME): Likewise.
3295 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3296 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3297 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3298 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3299 Specify type.
3300 [C99-based standards] (float_t): Expect type.
3301 [C99-based standards] (double_t): Expect type.
3302 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3303 type.
3304 [C99-based standards] (HUGE_VALL): Likewise.
3305 [C99-based standards] (INFINITY): Likewise.
3306 [C99-based standards] (NAN): Likewise.
3307 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3308 [C99-based standards] (FP_NAN): Likewise.
3309 [C99-based standards] (FP_NORMAL): Likewise.
3310 [C99-based standards] (FP_SUBNORMAL): Likewise.
3311 [C99-based standards] (FP_ZERO): Likewise.
3312 [C99-based standards] (FP_FAST_FMA): Use
3313 optional-macro-int-constant. Specify type. Require == 1.
3314 [C99-based standards] (FP_FAST_FMAF): Likewise.
3315 [C99-based standards] (FP_FAST_FMAL): Likewise.
3316 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3317 [C99-based standards] (FP_ILOGBNAN): Likewise.
3318 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3319 Specify type.
3320 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3321 [C99-based standards] (math_errhandling): Specify type.
3322 [ISO99 || ISO11] (signgam): Do not allow.
3323 [non-C99-based standards] (copysignf): Do not allow.
3324 [non-C99-based standards] (exp2f): Likewise.
3325 [non-C99-based standards] (log2f): Likewise.
3326 [non-C99-based standards] (modff): Allow.
3327 [non-C99-based standards] (erff): Do not allow.
3328 [non-C99-based standards] (erfcf): Likewise.
3329 [non-C99-based standards] (gammaf): Likewise.
3330 [non-C99-based standards] (hypotf): Likewise.
3331 [non-C99-based standards] (j0f): Likewise.
3332 [non-C99-based standards] (j1f): Likewise.
3333 [non-C99-based standards] (jnf): Likewise.
3334 [non-C99-based standards] (lgammaf): Likewise.
3335 [non-C99-based standards] (tgammaf): Likewise.
3336 [non-C99-based standards] (y0f): Likewise.
3337 [non-C99-based standards] (y1f): Likewise.
3338 [non-C99-based standards] (ynf): Likewise.
3339 [non-C99-based standards] (isnanf): Likewise.
3340 [non-C99-based standards] (acoshf): Likewise.
3341 [non-C99-based standards] (asinhf): Likewise.
3342 [non-C99-based standards] (atanhf): Likewise.
3343 [non-C99-based standards] (cbrtf): Likewise.
3344 [non-C99-based standards] (expm1f): Likewise.
3345 [non-C99-based standards] (ilogbf): Likewise.
3346 [non-C99-based standards] (log1pf): Likewise.
3347 [non-C99-based standards] (logbf): Likewise.
3348 [non-C99-based standards] (nextafterf): Likewise.
3349 [non-C99-based standards] (remainderf): Likewise.
3350 [non-C99-based standards] (rintf): Likewise.
3351 [non-C99-based standards] (scalbf): Likewise.
3352 [non-C99-based standards] (copysignl): Likewise.
3353 [non-C99-based standards] (exp2l): Likewise.
3354 [non-C99-based standards] (log2l): Likewise.
3355 [non-C99-based standards] (modfl): Allow.
3356 [non-C99-based standards] (erfl): Do not allow.
3357 [non-C99-based standards] (erfcl): Likewise.
3358 [non-C99-based standards] (gammal): Likewise.
3359 [non-C99-based standards] (hypotl): Likewise.
3360 [non-C99-based standards] (j0l): Likewise.
3361 [non-C99-based standards] (j1l): Likewise.
3362 [non-C99-based standards] (jnl): Likewise.
3363 [non-C99-based standards] (lgammal): Likewise.
3364 [non-C99-based standards] (tgammal): Likewise.
3365 [non-C99-based standards] (y0l): Likewise.
3366 [non-C99-based standards] (y1l): Likewise.
3367 [non-C99-based standards] (ynl): Likewise.
3368 [non-C99-based standards] (isnanl): Likewise.
3369 [non-C99-based standards] (acoshl): Likewise.
3370 [non-C99-based standards] (asinhl): Likewise.
3371 [non-C99-based standards] (atanhl): Likewise.
3372 [non-C99-based standards] (cbrtl): Likewise.
3373 [non-C99-based standards] (expm1l): Likewise.
3374 [non-C99-based standards] (ilogbl): Likewise.
3375 [non-C99-based standards] (log1pl): Likewise.
3376 [non-C99-based standards] (logbl): Likewise.
3377 [non-C99-based standards] (nextafterl): Likewise.
3378 [non-C99-based standards] (remainderl): Likewise.
3379 [non-C99-based standards] (rintl): Likewise.
3380 [non-C99-based standards] (scalbl): Likewise.
3381 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3382 [non-C99-based standards] (FP_*): Do not allow.
3383 [C99-based standards] (FP_*): Change to
3384 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3385 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3386 allow.
3387 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3388 (SIG_ERR): Likewise.
3389 [X/Open-based standards] (SIG_HOLD): Likewise.
3390 (SIG_IGN): Likewise.
3391 (SIGABRT): Use macro-int-constant. Specify type. Require
3392 positive value.
3393 (SIGFPE): Likewise.
3394 (SIGILL): Likewise.
3395 (SIGINT): Likewise.
3396 (SIGSEGV): Likewise.
3397 (SIGTER): Likewise.
3398 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3399 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3400 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3401 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3402 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3403 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3404 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3405 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3406 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3407 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3408 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3409 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3410 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3411 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3412 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3413 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3414 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3415 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3416 [X/Open-based standards] (SIGTRAP): Likewise.
3417 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3418 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3419 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3420 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3421 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3422 allow.
3423
b9f1922d
IW
34242012-05-08 Ian Wienand <ianw@vmware.com>
3425
3426 [BZ #14080]
3427 * time/tzset.c (__tzset_parse_tz): Update default rules for
3428 daylight time changes in the Energy Policy Act of 2005.
3429
1db86e88
AJ
34302012-05-09 Andreas Jaeger <aj@suse.de>
3431
3432 [BZ #13983]
3433 * elf/ldconfig.c (parse_conf): Change string to make clear that
3434 ldconfig only issued a warning if ld.so.conf does not exist.
3435
dee4a4e3
DM
34362012-05-08 David S. Miller <davem@davemloft.net>
3437
ee0db190
DM
3438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3439 movxtod instead of popping the value on the stack.
3440
dee4a4e3
DM
3441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3442
6a43ec98
CD
34432012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3444
3445 * config.h.in: Add HAVE_ARM_PCS_VFP.
3446
05c2c961
RMG
34472012-05-08 Roland Mc Grath <roland@hack.frob.com>
3448
bcfe3a54
ST
3449 [BZ #13979]
3450 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3451 checking but the checks are disabled for any reason.
05c2c961 3452
4b30f61a
L
34532012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3454
3455 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3456 and ELF64_R_TYPE with ELFW(R_TYPE).
3457
eee2bc67
JM
34582012-05-08 Joseph Myers <joseph@codesourcery.com>
3459
7ea5391a
JM
3460 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3461 (ulimit): Likewise.
3462
eee2bc67
JM
3463 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3464 (settimeofday): Likewise.
3465
abb66a67
MF
34662012-05-08 Mike Frysinger <vapier@gentoo.org>
3467
3468 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3469 a struct th_u2 inside the union, and move tu_block/tu_code into
3470 a new th_u3 union of tu_block/tu_code inside of that. Move
3471 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3472 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3473 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3474 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3475 (th_stuff): Change to th_u1.tu_stuff.
3476 (th_data): Define.
3477 (th_msg): Change to th_u1.th_u2.tu_data.
3478
7f18b530
DM
34792012-05-07 David S. Miller <davem@davemloft.net>
3480
05760585
DM
3481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3482
7f18b530
DM
3483 [BZ #14074]
3484 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3485 (SETUP_PIC_REG): Use it.
3486 (SETUP_PIC_REG_LEAF): Use it.
3487
495fd99f
JM
34882012-05-07 Joseph Myers <joseph@codesourcery.com>
3489
3490 [BZ #13885]
3491 [BZ #13923]
3492 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3493 USE_AS_EXPM1L.
3494 (EXPL_FINITE): Likewise.
3495 (FLDLOG): Likewise.
3496 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3497 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3498 e_expl.S.
3499 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3500 USE_AS_EXPM1L.
3501 (EXPL_FINITE): Likewise.
3502 (FLDLOG): Likewise.
3503 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3504 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3505 e_expl.S.
3506 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3507 test of -max_value argument for long double.
3508 * sysdeps/i386/fpu/libm-test-ulps: Update.
3509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3510
6693d694
DM
35112012-05-06 David S. Miller <davem@davemloft.net>
3512
3513 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3514 quad soft-float symbols whose references which are compiler
3515 generated.
3516 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3517
6c23e11c
JM
35182012-05-06 Joseph Myers <joseph@codesourcery.com>
3519
d8b82cad
JM
3520 [BZ #13884]
3521 [BZ #13914]
3522 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3523 USE_AS_EXP10L.
3524 (EXPL_FINITE): Likewise.
3525 (FLDLOG): Likewise.
3526 (c0): Likewise.
3527 (c1): Likewise.
3528 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3529 Adjust comments for base varying.
3530 (__expl_finite): Change alias to EXPL_FINITE.
3531 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3532 e_expl.S.
3533 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3534 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3535 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3536 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3537 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3538 USE_AS_EXP10L.
3539 (EXPL_FINITE): Likewise.
3540 (FLDLOG): Likewise.
3541 (c0): Likewise.
3542 (c1): Likewise.
3543 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3544 Adjust comments for base varying.
3545 (__expl_finite): Change alias to EXPL_FINITE.
3546 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3547 tests for bugs.
3548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3549
6c23e11c
JM
3550 [BZ #14064]
3551 * math/libm-test.inc (check_float_internal): Correct ulp
3552 calculation for subnormal expected results.
3553
29ba805c
AJ
35542012-05-06 Andreas Jaeger <aj@suse.de>
3555
3556 * Makeconfig (+math-flags): New, set to -frounding-math.
3557 (+cflags): Add +math-flags so that all of glibc gets compiled with
3558 it.
3559
3560 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3561
7b17aeda
JM
35622012-05-05 Joseph Myers <joseph@codesourcery.com>
3563
5779f134
JM
3564 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3565 Disable one test.
3566
41498f4d
JM
3567 [BZ #13787]
3568 [BZ #13922]
3569 [BZ #14036]
3570 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3571 (__ieee754_expl): Allow for and saturate large arguments.
3572 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3573 (u_threshold): Likewise.
3574 (__exp): Call __ieee754_exp before checking for overflow and
3575 underflow.
3576 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3577 (u_threshold): Likewise.
3578 (__expf): Call __ieee754_expf before checking for overflow and
3579 underflow.
3580 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3581 (u_threshold): Likewise.
3582 (__expl): Call __ieee754_expl before checking for overflow and
3583 underflow.
3584 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3585 (__ieee754_expl): Allow for and saturate large arguments.
3586 * math/libm-test.inc (exp_test): Add another test. Do not allow
3587 missing overflow exception on overflow.
3588 (expm1_test): Do not allow missing overflow exception on overflow.
3589
6698b8bf
JM
3590 * sysdeps/i386/fpu/e_expl.c: Move to ...
3591 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3592 rather than using inline asm.
3593 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3594 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3595 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3596
7b17aeda
JM
3597 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3598 (nice): Likewise.
3599 (poll): Likewise.
3600 (signal): Likewise.
3601 (time): Likewise.
3602 (times): Likewise.
3603
f7c85819
JM
36042012-05-04 Joseph Myers <joseph@codesourcery.com>
3605
3606 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3607 sysdeps/unix/common/syscalls.list.
3608 (fchmod): Likewise.
3609 (fchown): Likewise.
3610 (ftruncate): Likewise.
3611 (getrusage): Likewise.
3612 (gettimeofday): Likewise.
3613 (setpgid): Likewise.
3614 (setregid): Likewise.
3615 (setreuid): Likewise.
3616 (sigaction): Likewise.
3617 (truncate): Likewise.
3618 (vhangup): Likewise.
3619 * sysdeps/unix/common/syscalls.list: Remove file.
3620 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3621 * sysdeps/unix/sysv/linux/Implies: Likewise.
3622
336270d0
L
36232012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3624
3625 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3627 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3628 Moved to ...
3629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3630 Here.
3631 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3632 to ...
3633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3634 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3635 to ...
3636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3637 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3638 to ...
3639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3640 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3641 to ...
3642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3643 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3644 to ...
3645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3646 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3647 to ...
3648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3649 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3650 to ...
3651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3652 Here.
3653 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3654 to ...
3655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3656 Here.
3657 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3658 to ...
3659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3660 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3661 Moved to ...
3662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3663 Here.
3664 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3665 to ...
3666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3667
d128e450
JM
36682012-05-04 Joseph Myers <joseph@codesourcery.com>
3669
fa8ee516
JM
3670 * sysdeps/unix/common/bits/dirent.h: Remove file.
3671 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3672
d128e450
JM
3673 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3674 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3675 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3676 * sysdeps/unix/bsd/isatty.c: Likewise.
3677 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3678 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3679 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3680
ff8faaf0 36812012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3682
62881be4 3683 [BZ #13563]
31dc8730
AZ
3684 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3685 long double comparison inaccuracies.
3686 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3688
6fef930c
AS
36892012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3690
3691 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3692 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3693
8f203e6c
JM
36942012-05-04 Joseph Myers <joseph@codesourcery.com>
3695
3696 [BZ #14049]
3697 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3698 nonzero digits before rounding a hex value.
3699 * stdlib/tst-strtod.c (tests): Add another test.
3700
5197d9c2
AK
37012012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3702
3703 * sysdeps/s390/fpu/libm-test-ulps: Update.
3704
f0c1dedf
AJ
37052012-05-03 Andreas Jaeger <aj@suse.de>
3706
3707 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3708 does not get optimized out.
3709 (malloc_opt_barrier): New.
3710
a65ef2ae 37112012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3712 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3713
2b942cb7 3714 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3715 intermediate file deletion.
2b942cb7 3716 (generated): Add .symlist files.
a65ef2ae 3717
54b71e02
JM
37182012-05-03 Joseph Myers <joseph@codesourcery.com>
3719
3720 [BZ #13775]
3721 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3722 Redirect under this condition.
3723 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3724 [__USE_GNU] (__dprintf_chk): Not under this condition.
3725 [__USE_GNU] (__vdprintf_chk): Likewise.
3726 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3727 under this condition.
3728 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3729 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3730 [__USE_XOPEN2K8] (vdprintf): Likewise.
3731 [__USE_GNU] (__dprintf_chk): Not under this condition.
3732 [__USE_GNU] (__vdprintf_chk): Likewise.
3733 [__USE_GNU] (dprintf): Likewise.
3734 [__USE_GNU] (vdprintf): Likewise.
3735
d3dfcc41
RM
37362012-05-03 Roland McGrath <roland@hack.frob.com>
3737
3738 * elf/Makefile (common-generated): Set this instead of generated for
3739 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3740 $(all-built-dso)-derived lists.
3741
7ac30cc5
AJ
37422012-05-03 Andreas Jaeger <aj@suse.de>
3743
0c51e550
AJ
3744 * sysdeps/i386/fpu/libm-test-ulps: Update.
3745
7ac30cc5
AJ
3746 * FAQ: Removed.
3747 * FAQ.in: Likewise.
3748 * scripts/gen-FAQ.pl: Likewise.
3749 * manual/install.texi (Installation): Point to online location of
3750 FAQ.
3751 * Makefile (files-for-dist): Remove FAQ.
3752 (FAQ): Remove.
3753
d4c2917f
AM
37542012-05-02 Allan McRae <allan@archlinux.org>
3755
3756 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3757 (LDFLAGS-reldepmod5.so): Likewise.
3758 (LDFLAGS-reldep6mod1.so): Likewise.
3759 (LDFLAGS-reldep6mod4.so): Likewise.
3760 (LDFLAGS-reldep8mod3.so): Likewise.
3761 (LDFLAGS-unload4mod1.so): Likewise.
3762 (LDFLAGS-unload4mod2.so): Likewise.
3763 (LDFLAGS-tst-initorder): Likewise.
3764 (LDFLAGS-tst-initordera2.so): Likewise.
3765 (LDFLAGS-tst-initordera3.so): Likewise.
3766 (LDFLAGS-tst-initordera4.so): Likewise.
3767 (LDFLAGS-tst-initorderb2.so): Likewise.
3768 (LDFLAGS-noload): Likewise.
3769 (LDFLAGS-next): Likewise.
3770 (LDFLAGS-order2mod1.so): Likewise.
3771 (LDFLAGS-order2mod2.so): Likewise.
3772 (LDFLAGS-tst-initorder2): Likewise.
3773 (LDFLAGS-tst-initorder2a.so): Likewise.
3774 (LDFLAGS-tst-initorder2b.so): Likewise.
3775 (LDFLAGS-tst-initorder2c.so): Likewise.
3776 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3777
d77f993f
DM
37782012-05-02 David S. Miller <davem@davemloft.net>
3779
3780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3781
171a70b4
PP
37822012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3783
3784 [BZ #14055]
3785 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3786
0be196ad
AJ
37872012-05-02 Andreas Jaeger <aj@suse.de>
3788
3789 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3790 since we manipulate rounding mode.
3791 (CPPFLAGS-test-idouble.c): Likewise.
3792 (CPPFLAGS-test-ifloat.c): Likewise.
3793 (CFLAGS-test-ldouble.c): Likewise.
3794 (CFLAGS-test-double.c): Likewise.
3795 (CFLAGS-test-float.c): Likewise.
3796 (CFLAGS-test-misc.c): Likewise.
3797 (CFLAGS-test-test-fenv.c): Likewise.
3798
4f9d04aa
AZ
37992012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3800
2b942cb7
RM
3801 [BZ #2550]
3802 [BZ #2570]
3803 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3804 comparisons to determine direction to adjust input.
4f9d04aa 3805
82a79e7d
RM
38062012-05-01 Roland McGrath <roland@hack.frob.com>
3807
f5a01ca9
RM
3808 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3809 output to the target.
3810
90fe4186
RM
3811 * scripts/localplt.awk: New file.
3812 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3813 (check-localplt-CFLAGS): Variable removed.
3814 ($(all-built-dso:=.jmprel)): New static pattern rule.
3815 (generated): Add those targets.
3816 (localplt-built-dso): New variable.
3817 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3818
3819 * elf/check-localplt.c: File removed.
3820
82397ed6
RM
3821 * scripts/check-execstack.awk: New file.
3822 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3823 (check-execstack-CFLAGS): Variable removed.
3824 ($(objpfx)check-execstack.h): Target removed.
3825 ($(objpfx)execstack-default): New target.
3826 (generated): Add that instead of check-execstack.h.
3827 ($(all-built-dso:=.phdr)): New static pattern rule.
3828 (generated): Add those targets.
3829 * elf/check-execstack.c: File removed.
3830
82a79e7d
RM
3831 * scripts/check-textrel.awk: New file.
3832 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3833 (check-textrel-CFLAGS): Variable removed.
3834 (all-built-dso): Use := to define.o
3835 ($(all-built-dso:=.dyn)): New static pattern rule.
3836 (generated): Add those targets.
3837 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3838 * config.make.in (READELF): New substituted variable.
3839 * elf/check-textrel.c: File removed.
3840
62fde54f 38412012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3842
615605c9
JM
3843 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3844 allow.
3845 * conform/data/ctype.h-data [C99-based standards] (isblank):
3846 Expect function.
3847 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3848 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3849 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3850 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3851 Specify type. Require positive value.
3852 (EILSEQ): Likewise.
3853 (ERANGE): Likewise.
3854 [ISO || POSIX] (EILSEQ): Do not expect.
3855 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3856 Specify type. Require positive value.
3857 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3858 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3859 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3860 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3861 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3862 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3863 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3864 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3865 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3866 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3867 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3868 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3869 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3870 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3871 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3872 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3873 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3874 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3875 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3876 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3877 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3878 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3879 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3880 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3881 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3882 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3883 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3884 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3885 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3886 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3887 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3888 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3889 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3890 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3891 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3892 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3893 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3894 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3895 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3896 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3897 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3898 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3899 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3900 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3901 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3902 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3903 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3904 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3905 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3906 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3907 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3908 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3909 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3910 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3911 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3912 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3913 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3914 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3915 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3916 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3917 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3918 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3919 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3920 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3921 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3922 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3923 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3924 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3925 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3926 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3927 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3928 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3929 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3930 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3931 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3932 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3933 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3934 Require >= 2.
3935 (FLT_ROUNDS): Expect as macro, not constant.
3936 (FLT_MANT_DIG): Use macro-int-constant.
3937 (DBL_MANT_DIG): Likewise.
3938 (LDBL_MANT_DIG): Likewise.
3939 (FLT_DIG): Likewise.
3940 (DBL_DIG): Likewise.
3941 (LDBL_DIG): Likewise.
3942 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3943 (DBL_MIN_EXP): Likewise.
3944 (LDBL_MIN_EXP): Likewise.
3945 (FLT_MAX_EXP): Use macro-int-constant.
3946 (DBL_MAX_EXP): Likewise.
3947 (LDBL_MAX_EXP): Likewise.
3948 (FLT_MAX_10_EXP): Likewise.
3949 (DBL_MAX_10_EXP): Likewise.
3950 (LDBL_MAX_10_EXP): Likewise.
3951 (FLT_MAX): Use macro-constant.
3952 (DBL_MAX): Likewise.
3953 (LDBL_MAX): Likewise.
3954 (FLT_EPSILON): Use macro-constant. Give upper bound.
3955 (DBL_EPSILON): Likewise.
3956 (LDBL_EPSILON): Likewise.
3957 (FLT_MIN): Likewise.
3958 (DBL_MIN): Likewise.
3959 (LDBL_MIN): Likewise.
3960 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3961 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3962 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3963 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3964 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3965 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3966 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3967 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3968 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3969 [ISO11] (FLT_TRUE_MIN): Likewise.
3970 [ISO11] (LDBL_TRUE_MIN): Likewise.
3971 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3972 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3973 (SCHAR_MIN): Use macro-int-constant. Specify type.
3974 (SCHAR_MAX): Likewise.
3975 (UCHAR_MAX): Likewise.
3976 (CHAR_MIN): Likewise.
3977 (CHAR_MAX): Likewise.
3978 (MB_LEN_MAX): Use macro-int-constant.
3979 (SHRT_MIN): Use macro-int-constant. Specify type.
3980 (SHRT_MAX): Likewise.
3981 (USHRT_MAX): Likewise.
3982 (INT_MAX): Likewise.
3983 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3984 bound negative.
3985 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3986 bound with "U".
3987 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3988 bound with "L".
3989 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3990 bound negative. Suffix upper bound with "L".
3991 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3992 bound with "UL".
3993 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3994 Specify type.
3995 [C99-based standards] (LLONG_MAX): Likewise.
3996 [C99-based standards] (ULLONG_MAX): Likewise.
3997 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3998 == 0.
3999 [ISO11] (max_align_t): Require type.
4000 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4001
c9140a62
JM
4002 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4003 from $CFLAGS, without defining away __attribute__ calls.
4004 (checknamespace): Use $CFLAGS_namespace.
4005
9af0bf29
JM
4006 * conform/conformtest.pl (@keywords): Only include C99 keywords
4007 for standards based on C99 or C11.
4008
343222a2
JM
4009 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4010 Disable tests.
4011 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4012 UNIX98]: Likewise.
4013
661f8cf0
JM
4014 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4015 usability of symbols in #if.
4016
ee74b9cb
JM
4017 * conform/conformtest.pl: If macro or constant types start
4018 "promoted:", expect the symbol to be of the following type
4019 promoted by the integer promotions.
62fde54f 4020
aafc49b3
JM
4021 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4022 in one place. Also handle "macro-constant".
4023
fefdf574
JM
4024 * conform/conformtest.pl: Only accept expected macro values with
4025 "==". Parse all "macro" lines in one place.
4026 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4027
f2d922fe
JM
4028 * conform/conformtest.pl: Handle braced types on "constant" lines
4029 instead of handling "typed-constant".
4030 * conform/data/signal.h-data: Use "constant" instead of
4031 "typed-constant".
4032
d22956c9
JM
4033 * conform/conformtest.pl: Handle "optional-" at start of lines in
4034 one place rather than duplicating several cases. Handle each
4035 format of "macro" line with initial "optional-".
4036
028e2e38
JM
4037 * conform/conformtest.pl: Only accept expected constant or
4038 optional-constant values with "==". Parse all "constant" lines in
4039 one place. Parse all "optional-constant" lines in one place.
4040 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4041 * conform/data/fmtmsg.h-data: Likewise.
4042 * conform/data/netinet/in.h-data: Likewise.
4043 * conform/data/tar.h-data: Likewise.
4044 * conform/data/limits.h-data: Use "==" form on "constant" and
4045 "optional-constant" lines.
4046
1b8f2850
JM
4047 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4048 Use -std=c99 for XOPEN2K.
4049 (@knownproblems): Remove.
4050 (newtoken): Don't check %isknown.
4051
a05a144b
JM
4052 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4053 Do not expect macro.
4054 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4055 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4056 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4057 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4058 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4059 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4060 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4061 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4062 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4063 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4064 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4065 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4066 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4067 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4068 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4069 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4070 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4071 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4072 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4073 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4074 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4075 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4076 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4077 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4078 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4079 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4080 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4081 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4082 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4083 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4084 [XPG3] (acosh): Likewise.
4085 [XPG3] (asinh): Likewise.
4086 [XPG3] (atanh): Likewise.
4087 [XPG3] (cbrt): Likewise.
4088 [XPG3] (expm1): Likewise.
4089 [XPG3] (ilogb): Likewise.
4090 [XPG3] (log1p): Likewise.
4091 [XPG3] (logb): Likewise.
4092 [XPG3] (nextafter): Likewise.
4093 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4094 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4095 [XPG3] (remainder): Likewise.
4096 [XPG3] (rint): Likewise.
4097 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4098 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4099 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4100 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4101 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4102 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4103 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4104 [UNIX98 || XOPEN2K] (scalb): Expect.
4105 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4106 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4107 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4108 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4109 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4110 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4111 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4112 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4113 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4114 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4115 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4116 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4117 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4118 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4119 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4120 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4121 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4122 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4123 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4124 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4125 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4126 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4127 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4128 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4129 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4130 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4131 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4132 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4133 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4134 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4135 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4136 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4137 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4138 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4139 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4140 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4141 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4142 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4143 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4144 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4145 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4146 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4147 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4148 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4149 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4150 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4151 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4152 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4153 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4154 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4155 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4156 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4157 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4158 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4159 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4160 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4161 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4162 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4163 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4164 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4165 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4166 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4167 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4168 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4169 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4170 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4171 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4172 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4173 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4174 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4175 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4176 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4177 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4178 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4179 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4180 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4181 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4182 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4183 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4184 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4185 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4186 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4187 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4188 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4189 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4190 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4191 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4192 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4193 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4194 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4195 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4196 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4197 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4198 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4199 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4200 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4201 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4202 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4203 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4204 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4205 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4206 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4207 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4208 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4209 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4210 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4211 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4212 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4213 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4214 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4215 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4216 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4217 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4218 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4219 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4220 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4221 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4222 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4223 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4224 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4225 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4226 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4227 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4228 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4229 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4230 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4231 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4232 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4233 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4234 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4235 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4236 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4237 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4238 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4239 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4240 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4241 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4242
73c5ebe3
JM
4243 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4244 _XOPEN_SOURCE_EXTENDED for XPG4.
4245
39c33b6c
JM
4246 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4247
62fde54f
JM
4248 * Makeconfig (localtime): Remove variable.
4249 (inst_localtime-file): Likewise.
4250
0741d64c
AS
42512012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4252
4253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4254 Update.
4255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4256 Update.
4257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4258 Update.
4259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4260 Update.
4261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4262 Update.
4263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4264 Update.
4265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4266 Update.
4267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4268 Update.
4269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4270 Update.
4271
7cb029ee
JM
42722012-05-01 Joseph Myers <joseph@codesourcery.com>
4273
4274 [BZ #2550]
4275 [BZ #2570]
4276 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4277 comparisons to determine direction to adjust input.
4278 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4279 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4280 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4281 Likewise.
4282 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4283 Likewise.
4284 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4285 Likewise.
4286 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4287 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4288 Likewise.
4289 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4290 Likewise.
4291 * math/libm-test.inc (nexttoward_test): Add more tests.
4292
412bd966
AS
42932012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4294
4295 [BZ #14040]
4296 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4297 in version GLIBC_2.1, not GLIBC_2.0.
4298 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4299 Likewise.
4300
9568c0c2
JM
43012012-04-30 Joseph Myers <joseph@codesourcery.com>
4302
adfbc8ac
JM
4303 [BZ #13942]
4304 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4305 (1 - x) * (1 + x).
4306 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4307 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4308 * math/libm-test.inc (acos_test): Add more tests.
4309 (asin_test): Likewise.
4310 * sysdeps/i386/fpu/libm-test-ulps: Update.
4311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4312
5ba3cc69
JM
4313 [BZ #14034]
4314 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4315 of square root.
4316 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4317 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4318 * math/libm-test.inc (acos_test_tonearest): New function.
4319 (acos_test_towardzero): Likewise.
4320 (acos_test_downward): Likewise.
4321 (acos_test_upward): Likewise.
4322 (asin_test_tonearest): Likewise.
4323 (asin_test_towardzero): Likewise.
4324 (asin_test_downward): Likewise.
4325 (asin_test_upward): Likewise.
4326 (main): Call the new functions.
4327 * sysdeps/i386/fpu/libm-test-ulps: Update.
4328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4329
9568c0c2
JM
4330 [BZ #13884]
4331 [BZ #13924]
4332 * math/e_exp10.c: Include <float.h>.
4333 (__ieee754_exp10): Handle underflow here rather than multiplying
4334 large negative argument by M_LN10.
4335 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4336 of __ieee754_expf.
4337 * math/e_exp10l.c: Include <float.h>.
4338 (__ieee754_exp10l): Handle underflow here rather than multiplying
4339 large negative argument by M_LN10l.
4340 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4341 spurious overflow exception on underflow.
4342
5ac3ea17
MP
43432012-04-29 Marek Polacek <polacek@redhat.com>
4344
4345 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4346 (__fortify_function): New macro.
4347 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4348 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4349 __extern_always_inline.
4350 * libio/bits/stdio2.h: Likewise.
4351 * libio/bits/stdio.h: Likewise.
4352 * string/string.h: Likewise.
4353 * string/bits/string3.h: Likewise.
4354 * include/stdio.h: Likewise.
4355 * stdlib/bits/stdlib.h: Likewise.
4356 * stdlib/stdlib.h: Likewise.
4357 * rt/bits/mqueue2.h: Likewise.
4358 * rt/mqueue.h: Likewise.
4359 * posix/bits/unistd.h: Likewise.
4360 * posix/unistd.h: Likewise.
4361 * io/bits/poll2.h: Likewise.
4362 * io/bits/fcntl2.h: Likewise.
4363 * io/fcntl.h: Likewise.
4364 * io/sys/poll.h: Likewise.
4365 * misc/bits/syslog.h: Likewise.
4366 * misc/bits/syslog-ldbl.h: Likewise.
4367 * misc/sys/syslog.h: Likewise.
4368 * socket/bits/socket2.h: Likewise.
4369 * socket/sys/socket.h: Likewise.
4370 * debug/tst-chk1.c: Likewise.
4371 * wcsmbs/bits/wchar2.h: Likewise.
4372 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4373 * wcsmbs/wchar.h: Likewise.
4374
ecf0ebfb
AJ
43752012-04-29 Andreas Jaeger <aj@suse.de>
4376
4377 * Makerules (tests): Remove enable-check-abi protection.
4378 (check-abi-warn): Remove.
4379 (check-abi-%): Remove check-abi-warn usage.
4380
4381 * configure.in: Remove check-abi configure option.
4382 * configure: Regenerated.
4383 * config.make.in (enable-check-abi): Remove.
4384
6d5c57fa
AS
43852012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4386
24c5d07e 4387 [BZ #14033]
ded5180a
AS
4388 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4389 double functions to double *_finite functions.
4390
7e0d315d
AS
4391 [BZ #13941]
4392 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4393 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4394 LDBL_MIN_EXP.
4395 * stdio-common/Makefile (tests): Add tst-sprintf3.
4396 * stdio-common/tst-sprintf3.c: New file.
4397
6d5c57fa
AS
4398 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4399 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4400
0749ff8b
JM
44012012-04-28 Joseph Myers <joseph@codesourcery.com>
4402
4403 * conform/conformtest.pl: Remove duplicate typed-constant
4404 handling.
4405
8dbd5d7b
DM
44062012-04-28 David S. Miller <davem@davemloft.net>
4407
4408 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4409 (check-abi-%): Remove AWK script prerequisite and explicit
4410 abilist directory.
4411 (check-abi): Rewrite to just diff the symlist with the abilist.
4412 (config-tls, config-abi-config): Delete, no longer used.
4413 (update-abi-%): Remove AWK script and explicit abilist directory.
4414 (update-abi): Rewrite to simply compare and conditionally copy the
4415 symlist and the sysdep abilist file. Remove update-abi-config
4416 checks.
4417 * abilist/ld.abilist: Remove.
4418 * abilist/libBrokenLocale.abilist: Remove.
4419 * abilist/libanl.abilist: Remove.
4420 * abilist/libcrypt.abilist: Remove.
4421 * abilist/libdl.abilist: Remove.
4422 * abilist/librt.abilist: Remove.
4423 * abilist/libthread_db.abilist: Remove.
4424 * abilist/libutil.abilist: Remove.
4425 * scripts/extract-abilist.awk: Remove.
4426 * scripts/merge-abilist.awk: Remove.
4427 * sysdeps/generic/libcidn.abilist: New file.
4428 * sysdeps/generic/libnss_compat.abilist: New file.
4429 * sysdeps/generic/libnss_db.abilist: New file.
4430 * sysdeps/generic/libnss_dns.abilist: New file.
4431 * sysdeps/generic/libnss_files.abilist: New file.
4432 * sysdeps/generic/libnss_hesiod.abilist: New file.
4433 * sysdeps/generic/libnss_nis.abilist: New file.
4434 * sysdeps/generic/libnss_nisplus.abilist: New file.
4435 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4436 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4437 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4438 file.
4439 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4440 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4441 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4442 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4443 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4444 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4445 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4446 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4447 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4448 file.
4449 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4450 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4451 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4452 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4453 file.
4454 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4455 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4456 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4457 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4458 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4459 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4460 file.
4461 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4462 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4463 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4464 file.
4465 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4467 New file.
4468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4469 New file.
4470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4471 New file.
4472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4473 New file.
4474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4475 New file.
4476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4477 New file.
4478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4479 New file.
4480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4481 New file.
4482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4483 New file.
4484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4485 New file.
4486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4487 New file.
4488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4489 New file.
4490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4491 New file.
4492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4493 file.
4494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4495 New file.
4496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4497 New file.
4498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4499 file.
4500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4501 New file.
4502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4503 New file.
4504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4505 file.
4506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4507 New file.
4508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4509 New file.
4510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4511 New file.
4512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4513 New file.
4514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4515 New file.
4516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4517 New file.
4518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4520 file.
4521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4522 New file.
4523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4524 file.
4525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4526 file.
4527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4528 file.
4529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4530 file.
4531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4532 file.
4533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4534 New file.
4535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4536 file.
4537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4538 file.
4539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4540 New file.
4541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4542 file.
4543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4545 file.
4546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4547 New file.
4548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4549 file.
4550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4551 file.
4552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4553 file.
4554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4555 file.
4556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4557 file.
4558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4559 New file.
4560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4561 file.
4562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4563 file.
4564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4565 New file.
4566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4567 file.
4568 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4569 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4570 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4571 file.
4572 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4573 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4574 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4575 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4576 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4577 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4578 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4579 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4580 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4581 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4584 file.
4585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4586 New file.
4587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4588 file.
4589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4590 file.
4591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4592 file.
4593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4594 file.
4595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4596 file.
4597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4598 New file.
4599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4600 New file.
4601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4602 file.
4603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4604 New file.
4605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4606 file.
4607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4609 file.
4610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4611 New file.
4612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4613 file.
4614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4615 file.
4616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4617 file.
4618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4619 file.
4620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4621 file.
4622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4623 New file.
4624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4625 New file.
4626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4627 file.
4628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4629 New file.
4630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4631 file.
4632
41d73a1b
JM
46332012-04-28 Joseph Myers <joseph@codesourcery.com>
4634
4635 * conform/conformtest.pl: Fix typo in handling typed-constant from
4636 allow-header.
4637
28aeeda4
JM
46382012-04-27 Joseph Myers <joseph@codesourcery.com>
4639
adae8f5e
JM
4640 * README: Cut down references to pre-2.6 Linux kernels and
4641 Linuxthreads. Update lists of configurations in libc and ports
4642 and sort alphabetically. Say "or newer" with Linux kernel version
4643 requirements.
4644
28aeeda4
JM
4645 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4646
a462cb63
RA
46472012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4648
4649 [BZ #887]
4650 * math/libm-test.inc (logb_test_downward): New test to expose
4651 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4652 rounding mode.
4653
6ad3493e
JM
46542012-04-27 Joseph Myers <joseph@codesourcery.com>
4655
4656 [BZ #14027]
4657 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4658 to be done.
4659 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4660 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4661
2ce4f015
JM
46622012-04-26 Joseph Myers <joseph@codesourcery.com>
4663
5aeb141a
JM
4664 * sysdeps/unix/i386/brk.S: Remove file.
4665 * sysdeps/unix/i386/dl-brk.S: Likewise.
4666 * sysdeps/unix/i386/pipe.S: Likewise.
4667 * sysdeps/unix/i386/sigreturn.S: Likewise.
4668 * sysdeps/unix/i386/syscall.S: Likewise.
4669 * sysdeps/unix/i386/vfork.S: Likewise.
4670 * sysdeps/unix/i386/wait.S: Likewise.
4671
7143acae
JM
4672 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4673 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4674
2ce4f015
JM
4675 * configure.in (arm*-none*): Do not allow without
4676 --enable-hacker-mode.
4677 (netbsd*): Remove case setting base_os.
4678 (386bsd*): Likewise.
4679 (freebsd*): Likewise.
4680 (bsdi*): Likewise.
4681 (osf*): Likewise.
4682 (sunos*): Likewise.
4683 (ultrix*): Likewise.
4684 (newsos*): Likewise.
4685 (dynix*): Likewise.
4686 (*bsd*): Likewise.
4687 (sysv*): Likewise.
4688 (isc*): Likewise.
4689 (esix*): Likewise.
4690 (sco*): Likewise.
4691 (minix*): Likewise.
4692 (irix4*): Likewise.
4693 (irix6*): Likewise.
4694 (solaris[2-9]*): Likewise.
4695 (none): Likewise.
4696 * configure: Regenerated.
4697
0ac229c8
AZ
46982012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4699
4700 [BZ #11521]
4701 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4702 overflow or cancellation in calculating denominator.
4703 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4704 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4705 down expression to avoid unexpected rounding in newer GCCs.
4706 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4707
33f244f4
DM
47082012-04-26 David S. Miller <davem@davemloft.net>
4709
4710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4711 long-double compat symbols.
4712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4725
cfa1f3e8
DM
47262012-04-25 David S. Miller <davem@davemloft.net>
4727
4728 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4729 HWCAP_* values only after the memory barriers have been defined.
4730 (atomic_full_barrier): Define.
4731 (atomic_read_barrier): Define.
4732 (atomic_write_barrier): Define.
4733
6e236b92
SP
47342012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4735
4736 * shlib-versions: Add libgcc_s version information.
4737 * sysdeps/generic/libgcc_s.h: Remove.
4738 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4739 libgcc_s.h.
4740 * sysdeps/gnu/unwind-resume.c: Likewise.
4741 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4742
aab39a09
DM
47432012-04-25 David S. Miller <davem@davemloft.net>
4744
4745 * sysdeps/unix/sparc/brk.S: Delete.
4746 * sysdeps/unix/sparc/dl-brk.S: Delete.
4747 * sysdeps/unix/sparc/pipe.S: Delete.
4748 * sysdeps/unix/sparc/sysdep.S: Delete.
4749 * sysdeps/unix/sparc/sysdep.h: Delete.
4750 * sysdeps/unix/sparc/vfork.S: Delete.
4751 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4752 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4753 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4754 ret_ERRVAL, r0, r1, MOVE): Define.
4755 (JUMPTARGET): Remove.
4756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4757 sysdeps/unix/sparc/sysdep.h
4758 (ENTRY, END): Remove.
4759 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4760
a3cc4f48
JM
47612012-04-25 Joseph Myers <joseph@codesourcery.com>
4762
2ed8cda2
JM
4763 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4764 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4765 -DIS_IN_build.
4766
35d76d59
JM
4767 * timezone/README: Update upstream location and email address for
4768 tzcode and tzdata.
4769 * timezone/zdump.c: Update from tzcode 2012b.
4770 * timezone/zic.c: Likewise.
4771
a3cc4f48
JM
4772 * configure.in (libc_cv_as_needed): Remove test.
4773 * configure: Regenerated.
4774 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4775 conditional definition.
4776 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4777 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4778 * config.make.in (have-as-needed): Remove variable.
4779
ceab42c3
SP
47802012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4781 Paul Pluzhnikov <ppluzhnikov@google.com>
4782
4783 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4784 strings correctly.
4785
3ce2865f
CLT
47862012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4787
4788 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4789 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4790 * sysdeps/sh/strlen.S: Likewise.
4791
f37e0d68
JM
47922012-04-24 Joseph Myers <joseph@codesourcery.com>
4793
ae186e9a
JM
4794 * sysdeps/unix/fork.S: Remove file.
4795 * sysdeps/unix/i386/fork.S: Likewise.
4796 * sysdeps/unix/sparc/fork.S: Likewise.
4797
b96914af
JM
4798 * sysdeps/unix/system.c: Remove file.
4799 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4800
f37e0d68
JM
4801 * sysdeps/unix/getegid.S: Remove file.
4802 * sysdeps/unix/geteuid.S: Likewise.
4803
87ef29ca
RM
48042012-04-24 Roland McGrath <roland@hack.frob.com>
4805
83bcd236
RM
4806 * scripts/check-localplt.awk: New file.
4807 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4808 of diff.
4809 * scripts/data/localplt-generic.data: Add a comment.
4810
87ef29ca
RM
4811 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4812 NODE when __dir_mkfile failed.
4813 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4814 Reported by Ludovic Courtès <ludo@gnu.org>.
4815
e5a6e567
AJ
48162012-04-24 Andreas Jaeger <aj@suse.de>
4817
4818 * Makerules (common-clean): Also remove gen-as-const-headers
4819 files.
4820
c1820385
JM
48212012-04-24 Joseph Myers <joseph@codesourcery.com>
4822
4823 * Makerules (native-compile): Do not change working directory for
4824 build. Use $(OUTPUT_OPTION) in command.
4825 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4826
94e02fc4
AZ
48272012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4828
4829 [BZ #13886]
4830 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4831 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4832 * math/libm-test.inc (floor_test): Add more tests.
4833 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4834
3a533ca3
JM
48352012-04-24 Joseph Myers <joseph@codesourcery.com>
4836
940ab4b3
JM
4837 * sysdeps/unix/getdents.c: Remove file.
4838 * sysdeps/unix/sysv/getdents.c: Likewise.
4839 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4840
90e037bd
JM
4841 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4842 sysdeps/unix/mman/syscalls.list.
4843 (mmap): Likewise.
4844 (mprotect): Likewise.
4845 (msync): Likewise.
4846 (munmap): Likewise.
4847 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4848 * sysdeps/unix/mman/syscalls.list: Remove.
4849 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4850
3a533ca3
JM
4851 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4852 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4853 * configure: Regenerated.
4854 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4855 $(libgcc_s_suffix).
4856 * config.make.in (libgcc_s_suffix): Remove variable.
4857
1ad743de
JM
48582012-04-23 Joseph Myers <joseph@codesourcery.com>
4859
4ad451e2
JM
4860 * sysdeps/unix/sysv/gethostname.c: Move to ...
4861 * sysdeps/posix/gethostname.c: ... here.
4862
5e37ce39
JM
4863 * sysdeps/unix/execve.S: Remove file.
4864
1ad743de
JM
4865 * sysdeps/unix/_exit.S: Remove file.
4866
4e681b5b
AJ
48672012-04-23 Andreas Jaeger <aj@suse.de>
4868
4869 [BZ #13739]
4870 * manual/Makefile: Remove make dist support, there's no
4871 need for a stand-alone documentation tar ball.
4872 (TEXI2DVI): Define always, it's not in Makeconfig.
4873 (dist): Removed.
4874 (tar-it): Removed.
4875 (edition): Removed.
4876 (glibc-doc-$(edition).tar): Removed
4877 (%.Z): Removed.
4878 (%.gz): Removed.
4879 (%.uu): Removed.
4880 (ETAGS): Remove, it's in Makeconfig.
4881 (move-if-change): Remove, it's in Makeconfig.
4882
c0baea34
PE
48832013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4884
4885 [BZ #13970]
4886 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4887 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4888 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4889 (strtod_l, strtof_l, strtold_l): Remove __wur.
4890 It is not necessarily an error to ignore strtol's return value.
4891 One can reliably look at the stored endptr to decide whether
4892 the number had valid syntax.
4893
7c0616fa
AJ
48942012-04-21 Andreas Jaeger <aj@suse.de>
4895
803cb6b7 4896 [BZ #13739]
7c0616fa
AJ
4897 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4898
b0fe253f
JM
48992012-04-21 Joseph Myers <joseph@codesourcery.com>
4900
4901 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4902 * sysdeps/unix/sysv/Versions: Remove file.
4903
8280f22d
MT
49042012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4905
4906 [BZ #13927]
4907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4908
75ce411f 49092012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4910
4911 [BZ #7064]
4912 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4913 version from __vm86.
4914
097d59fa
JM
49152012-04-20 Joseph Myers <joseph@codesourcery.com>
4916
a90f3bcb
JM
4917 * sysdeps/unix/common/lxstat.c: Remove file.
4918 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4919
edc7ea78
JM
4920 * sysdeps/unix/sysv/Makefile: Remove file.
4921
cb78c221
JM
4922 * sysdeps/unix/sysv/direct.h: Remove file.
4923
efa6a45f
JM
4924 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4925 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4926 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4927 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4928 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4929 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4930 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4931
9c9f2d0c
JM
4932 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4933
4541c83b
JM
4934 * sysdeps/unix/xmknod.c: Remove file.
4935 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4936
f5d153a0
JM
4937 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4938
aa746595
JM
4939 * sysdeps/unix/sysv/i386/time.S: Remove file.
4940
cce5905e
JM
4941 * sysdeps/unix/fxstat.c: Remove file.
4942 * sysdeps/unix/xstat.c: Likewise.
4943 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4944
37fa3841
JM
4945 * sysdeps/unix/sysv/sigaction.c: Remove file.
4946
ff1962a3
JM
4947 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4948 (sysdep_headers): Remove variable.
4949 [termio.h not in sysdep_headers] (generated): Likewise.
4950 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4951 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4952 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4953 * sysdeps/unix/sysv/tcflow.c: Likewise.
4954 * sysdeps/unix/sysv/tcflush.c: Likewise.
4955 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4956 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4957 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4958 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4959 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4960
e7740d31
JM
4961 * sysdeps/unix/siglist.c: Remove file.
4962
ee06f18b
JM
4963 * sysdeps/unix/getppid.S: Remove file.
4964
097d59fa
JM
4965 * sysdeps/unix/mkdir.c: Remove file.
4966 * sysdeps/unix/rmdir.c: Likewise.
4967
ff3d51ec
AS
49682012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4969
4970 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4971 ERR_MAX value.
4972 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4973 errlist-compat value.
4974
50f81fd7
DM
49752012-04-18 David S. Miller <davem@davemloft.net>
4976
4977 * sysdeps/generic/memcopy.h (reg_char): Delete.
4978 * debug/strcat_chk.c: Use char, not reg_char.
4979 * debug/strcpy_chk.c: Likewise.
4980 * debug/strncat_chk.c: Likewise.
4981 * debug/strncpy_chk.c: Likewise.
4982 * string/memchr.c: Likewise.
4983 * string/memrchr.c: Likewise.
4984 * string/rawmemchr.c: Likewise.
4985 * string/strcat.c: Likewise.
4986 * string/strchr.c: Likewise.
4987 * string/strchrnul.c: Likewise.
4988 * string/strcmp.c: Likewise.
4989 * string/strcpy.c: Likewise.
4990 * string/strncat.c: Likewise.
4991 * string/strncmp.c: Likewise.
4992 * string/strncpy.c: Likewise.
4993
8ff41c46
WS
49942012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4995
4996 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4997 __builtin_memcopy is called when src and dest ranges are known to not
4998 overlap.
4999
6b652f46
WS
50002012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5001
5002 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5003 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5004 fwd_align_merge macro call.
5005 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5006 bwd_align_merge macro call.
5007 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5008
b282631e
WS
50092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5010
5011 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5012 bwd_align_merge macros.
5013 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5014 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5015 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5016
95aa737c
DM
50172012-04-18 David S. Miller <davem@davemloft.net>
5018
5019 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5020
7a99a614
AJ
50212012-04-18 Andreas Jaeger <aj@suse.de>
5022
5023 [BZ# 6794]
5024 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5025 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5026 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5027
5028 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5029 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5030 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5031
5032 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5033 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5034 Adjust for changed ldbl-128 files.
5035
5036 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5037 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5038 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5039
e5270c23
DM
50402012-04-17 David S. Miller <davem@davemloft.net>
5041
5042 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5043
fb5e92c9
AS
50442012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5045
5046 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5047 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5048 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5049 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5050 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5051 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5052
76da7265
AZ
50532012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5054
5055 [BZ #6794]
5056 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5057 * math/libm-test.inc: Add ilogb errno and exception tests.
5058 * math/w_ilogb.c: New file: ilogb wrapper.
5059 * math/w_ilogbf.c: New file: ilogbf wrapper.
5060 * math/w_ilogbl.c: New file: ilogbl wrapper.
5061 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5062 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5063 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5064 exception being thrown with 0.0 as argument.
5065 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5066 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5067 exception being thrown with 0.0 as argument.
5068 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5069 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5070 exception being thrown with 0.0 as argument.
5071 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5072 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5073 exception being thrown with 0.0 as argument.
5074 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5075 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5076 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5077 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5078 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5079 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5080 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5081 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5082 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5083
0396e69d
PB
50842012-04-17 Petr Baudis <pasky@ucw.cz>
5085
5086 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5087 with altivec.
5088
750b5926
MP
50892012-04-16 Marek Polacek <polacek@redhat.com>
5090
5091 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5092
751728a1
MP
50932012-04-16 Marek Polacek <polacek@redhat.com>
5094
5095 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5096 operands of fdivp instruction.
5097
34a27407
L
50982012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5099
5100 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5101 * elf/tst-auditmod3b.c: Likewise.
5102 * elf/tst-auditmod4b.c: Likewise.
5103 * elf/tst-auditmod5b.c: Likewise.
5104 * elf/tst-auditmod6b.c: Likewise.
5105 * elf/tst-auditmod6c.c: Likewise.
5106 * elf/tst-auditmod7b.c: Likewise.
5107 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5108 * sysdeps/x86_64/preconfigure.in: Likewise.
5109 * sysdeps/x86_64/preconfigure: Regenerated.
5110
7e73e17d
L
51112012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5112
5113 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5114 __ILP32__.
5115
c7a6ab72
AB
51162012-04-13 Antoine Balestrat <merkil33@gmail.com>
5117
5118 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5119 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5120
a9e8e0e0
CL
51212012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5122
5123 [BZ #13973]
5124 * locale/iso-639.def: Fix gl language name. Spotted by
5125 Yaron Shahrabani.
5126
ec98af7d
RM
51272012-04-12 Roland McGrath <roland@hack.frob.com>
5128
5129 [BZ #2074]
5130 * libio/libio.h (__io_write_fn): Update comment.
5131
247c3ede
PB
51322012-04-12 Petr Baudis <pasky@ucw.cz>
5133
5134 [BZ #2074]
5135 * stdio.texi (Hook Functions): The user provided writer function
5136 is not allowed to return -1.
5137
55939d6d
DM
51382012-04-11 David S. Miller <davem@davemloft.net>
5139
5140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5141
90020f5a
MF
51422012-04-11 Mike Frysinger <vapier@gentoo.org>
5143
5144 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5145 Add a leading slash to rtkaio.
5146
288f9098
JM
51472012-04-11 Jim Meyering <meyering@redhat.com>
5148
90020f5a
MF
5149 [BZ #11959]
5150 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5151 It is not necessarily an error to ignore fwrite's return
5152 value. One can reliably use ferror to test for errors after
5153 the fact.
288f9098 5154
4be2b570
L
51552012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5156
5157 * bits/types.h (__snseconds_t): New type.
5158 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5159
5160 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5161 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5162 (__SNSECONDS_T_TYPE): Likewise.
5163 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5164 (__SNSECONDS_T_TYPE): Likewise.
5165 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5166 (__SNSECONDS_T_TYPE): Likewise.
5167
288f9098 51682012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5169
5170 [BZ #2636]
5171 * manual/time.texi (Processor Time): Return type of times is
5172 elapsed real time since an arbitrary point in the past.
5173 (CPU Time): Move CLK_TCK from here...
5174 (Processor Time): ...to here. Correct description.
5175 * manual/conf.texi (Constants for Sysconf): Correct description of
5176 _SC_CLK_TCK.
5177
d7dd4413
DM
51782012-04-10 David S. Miller <davem@davemloft.net>
5179
5180 [BZ #13967]
5181 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5182 where the is a gap between DT_REL(A) and DT_JMPREL.
5183
b46068fc
L
51842012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5185
5186 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5187 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5188 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5189
73d65cc3
SP
51902012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5191
5192 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5193 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5194 (dl_main): Handle --inhibit-cache.
5195 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5196 _dl_inhibit_cache.
5197 * elf/dl-load.c (_dl_map_object): Use it.
5198 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5199
bcc8d661
JM
52002012-04-09 Joseph Myers <joseph@codesourcery.com>
5201
8f9a2fae
JM
5202 [BZ #13872]
5203 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5204 (__ieee754_powl): Saturate large exponents rather than testing for
5205 overflow of y*log2(x).
5206 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5207 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5208 exceptions.
5209
bcc8d661
JM
5210 [BZ #11521]
5211 * math/s_ctan.c: Include <float.h>.
5212 (__ctan): Avoid internal overflow or cancellation in calculating
5213 denominator.
5214 * math/s_ctanf.c: Likewise.
5215 * math/s_ctanl.c: Likewise.
5216 * math/s_ctanh.c: Likewise.
5217 * math/s_ctanhf.c: Likewise.
5218 * math/s_ctanhl.c: Likewise.
5219 * math/libm-test.inc (ctan_test): Add more tests.
5220 (ctanh_test): Likewise.
5221 * sysdeps/i386/fpu/libm-test-ulps: Update.
5222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5223
823fbbb4
AJ
52242012-04-09 Andreas Jaeger <aj@suse.de>
5225
03879793
AJ
5226 [BZ #6894]
5227 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5228 is an optional BSD extension.
5229
823fbbb4
AJ
5230 [BZ #10254]
5231 * manual/stdio.texi (Opening Streams): Document additional fopen
5232 parameters.
5233
8de131cb
RM
52342012-04-09 Roland McGrath <roland@hack.frob.com>
5235
5236 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5237 %eax without telling the compiler.
5238
c0ed9d7d
CD
52392012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5240
5241 [BZ # 13963]
5242 * manual/install.texi: Use sourceware.org.
5243
c483f6b4
JM
52442012-04-09 Joseph Myers <joseph@codesourcery.com>
5245
d7dd9453
JM
5246 [BZ #13873]
5247 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5248 (__ieee754_pow): Generate overflow and underflow using huge*huge
5249 and tiny*tiny rather than just returning constant infinity or zero
5250 for large exponents.
5251 * math/libm-test.inc (pow_test): Require overflow exceptions for
5252 applicable cases of large exponents.
5253
c483f6b4
JM
5254 [BZ #706]
5255 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5256 (__ieee754_pow): Use iterative multiplication algorithm only for
5257 integer exponents with absolute value below 1024. Check for odd
5258 integer exponents when using algorithm for real exponents.
5259 * math/libm-test.inc (pow_test): Add more tests.
5260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5261
d2de7579
JM
52622012-04-08 Joseph Myers <joseph@codesourcery.com>
5263
5264 [BZ #13705]
5265 * math/libm-test.inc (exp_test): Do not allow overflow exception
5266 on underflow test.
5267
f77f1232
AJ
52682012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5269
5270 [BZ #13705]
5271 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5272 instead of __kernel_standard_f.
5273
3884932b
MF
52742012-04-08 Mike Frysinger <vapier@gentoo.org>
5275
5276 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5277 * sysdeps/x86_64/memset_chk.S: Likewise.
5278
54472e9c
AJ
52792012-04-08 Andreas Jaeger <aj@suse.de>
5280
6ab0fbfc
AJ
5281 [BZ #10153]
5282 * manual/startup.texi (Environment Access): Describe return value
5283 for putenv and setenv.
5284
61efba8c
AJ
5285 [BZ #6895]
5286 * manual/filesys.texi (Directory Entries): Add description for
5287 DT_LNK.
5288
95c3f29a
AJ
5289 [BZ #6890]
5290 * manual/filesys.texi (Directory Entries): Clarify that it's file
5291 system not operating system in the description of DT_UNKNOWN.
5292
54472e9c
AJ
5293 [BZ #6578]
5294 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5295
624254b1
SC
52962012-04-08 Stephen Compall <s11@member.fsf.org>
5297
5298 [BZ #6649]
5299 * manual/llio.texi (Opening and Closing Files): Add cross
5300 reference to explain mode argument.
5301
1e4920e0
MF
53022012-04-07 Mike Frysinger <vapier@gentoo.org>
5303
5304 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5305 * sysdeps/x86_64/memset_chk.S: Likewise.
5306
5ed848f3
DM
53072012-04-07 David S. Miller <davem@davemloft.net>
5308
5309 * elf/elf.h (R_SPARC_WDISP10): Define.
5310 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5311 R_SPARC_SIZE32.
5312 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5313 R_SPARC_SIZE64 and R_SPARC_H34.
5314
96154cd8
CD
53152012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5316
5317 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5318 conditions and remove no longer applicable assertion.
5319
9904dc47
L
53202012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5321
5322 * bits/byteswap.h: Include <features.h>.
5323 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5324 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5325
f8887d0a
L
53262012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5327
5328 * bits/byteswap.h (__bswap_16): Removed.
5329 Include <bits/byteswap-16.h> to get __bswap_16.
5330 * sysdeps/i386/bits/byteswap.h: Likewise.
5331 * sysdeps/s390/bits/byteswap.h: Likewise.
5332 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5333 * bits/byteswap-16.h: New file.
5334 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5335 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5336 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5337 * string/Makefile (headers): Add bits/byteswap-16.h.
5338
62470f60
PP
53392012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5340
5341 [BZ #13895]
5342 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5343 extra indirection.
5344 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5345 * nss/tst-nss-static.c: New.
5346
4dad7bab
RM
53472012-04-06 Robert Millan <rmh@gnu.org>
5348
5349 [BZ #6486]
5350 * manual/llio.texi (File Position Primitive): lseek
5351 refers to WHENCE when it really means OFFSET.
5352
e9142a17
AJ
53532012-04-06 Andreas Jaeger <aj@suse.de>
5354
2c040eff
AJ
5355 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5356 strncmp declarations.
5357
e9142a17
AJ
5358 * abilist/libc.abilist: Add __poll and __ppoll.
5359
ff9f1c5f
DM
53602012-04-05 David S. Miller <davem@davemloft.net>
5361
dcd2ae90
DM
5362 * scripts/check-local-headers.sh: Accept a host triplet in the
5363 path matched by the exclude regexp.
5364
993eb054
DM
5365 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5366 definition.
5367 * sysdeps/powerpc/powerpc32/dl-machine.h
5368 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5369 * sysdeps/s390/s390-32/dl-machine.h
5370 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5371 * sysdeps/sparc/sparc32/dl-machine.h
5372 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5373 * sysdeps/sparc/sparc64/dl-machine.h
5374 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5375
ff9f1c5f
DM
5376 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5377 lazy binding.
48e2e132 5378 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5379 undefined symbol errors.
5380
48e2e132 5381 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5382 DT_NEEDED entries.
5383
e80d6f94
MM
53842012-04-05 Michael Matz <matz@suse.de>
5385
5386 [BZ #13592]
5387 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5388
349fa79f
AJ
53892012-04-05 Andreas Jaeger <aj@suse.de>
5390
5391 [BZ #13908]
5392 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5393 comment.
5394
f402708f
KK
53952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5396
5397 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5398 which ROUND is no valid rounding mode.
5399
2ecccfc9
KK
54002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5401
5402 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5403 read again.
5404 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5405
8a53f50f
KK
54062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5407
5408 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5409 an exception using FPU order intentionally.
5410
54112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5412
5413 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5414 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5415 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5416 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5417
d653abb7
SJ
54182012-04-05 Simon Josefsson <simon@josefsson.org>
5419
5420 [BZ #12340]
5421 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5422 EINVAL when BUFLEN is too smal.
5423
c3b1bf7d
TS
54242012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5425
5426 [BZ #13553]
5427 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5428 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5429
b1aa60f3
AJ
54302012-04-03 Andreas Jaeger <aj@suse.de>
5431
c3b1bf7d 5432 [BZ #13938]
67f60a26
AJ
5433 * manual/setjmp.texi (System V contexts): Fix sentence.
5434
b1aa60f3
AJ
5435 [BZ #13926]
5436 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5437 New macro for this case.
5438 [!__GNUC__] (__bswap_64): New inline function for this case.
5439 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5440 * bits/byteswap.h: Likewise.
5441 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5442 ull, guard with __GLIBC_HAVE_LONG_LONG.
5443
5444 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5445 __GLIBC_HAVE_LONG_LONG.
5446
5447 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5448 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5449
39c59c35
TMQMF
54502012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5451
5452 [BZ #13691]
5453 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5454 inptr and inend, rather than using last_ch.
5455
135ffda8
DM
54562012-04-02 David S. Miller <davem@davemloft.net>
5457
5458 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5459 * stdio-common/printf-parse.h (read_int): Change return type to
5460 'int', return -1 on INT_MAX overflow.
5461 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5462 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5463 overflows INT_MAX. Check for overflow of in-format-string precision
5464 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5465 SIZE_MAX not INT_MAX for integer overflow test.
5466 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5467 skip the construct in the format string but do not record anything.
5468 * stdio-common/bug22.c: Adjust to test both width/prevision
5469 INT_MAX overflow as well as total length INT_MAX overflow. Check
5470 explicitly for proper errno values.
5471
228c019e
TS
54722012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5473
302cadd3
TS
5474 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5475 CHAR_MAX.
5476 * string/test-strcmp.c [! WIDE]: Likewise.
5477 * time/tst-mktime2.c: Likewise for INT_MAX.
5478 * string/test-string.h: #include <sys/param.h> for MIN.
5479
228c019e
TS
5480 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5481 * sysdeps/i386/init-first.c (init): Likewise.
5482 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5483 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5484 * sysdeps/sh/init-first.c (init): Likewise.
5485
cfa633f5
UD
54862012-04-01 Ulrich Drepper <drepper@gmail.com>
5487
5488 * po/ru.po: Update from translation team.
d1635ef8 5489 * po/vi.po: Likewise.
cfa633f5 5490
6cd0a5ea
SP
54912012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5492
5493 * resolv/nss_dns/dns-host.c: Merge copyright years.
5494
4b43400f
LD
54952012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5496
5497 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5498 Optimize memcpy with prefetch if
5499 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5500 src, dst pointers have unequal 16 byte alignments.
5501
48c41d04
SP
55022012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5503
5504 [BZ #13928]
5505 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5506 from a CNAME entry and return the minimum ttl for the query.
5507 (gaih_getanswer_slice): Likewise.
5508
b8dc394d
JL
55092012-03-30 Jeff Law <law@redhat.com>
5510
5511 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5512 due to long keys.
5513 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5514 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5515
2f5a5ed0
JL
5516 * resolv/nss_dns/dns-host.c: Update copyright year.
5517
1d39e359
UD
55182012-03-30 Ulrich Drepper <drepper@gmail.com>
5519
c030f70c 5520 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5521 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5522
1d39e359
UD
5523 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5524 comments for sendmmsg.
5525
55262012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5527
5528 [BZ #13691]
5529 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5530 with only 1 character between 0x0041 and 0x01b0.
5531 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5532 * wcsmbs/tst-mbsnrtowcs.c: New file.
5533
20fde227
DM
55342012-03-29 David S. Miller <davem@davemloft.net>
5535
5536 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5537 small copies by hand.
5538
984a4237
JL
55392012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5540
5541 [BZ #13761]
5542 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5543 _nss_compat_initgroups_dyn): Fall back to malloc/free
5544 for large group memberships.
5545
18c9d62b
DM
55462012-03-28 David S. Miller <davem@davemloft.net>
5547
88d85d4f
DM
5548 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5549 that branches into memcpy.
5550 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5551 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5552 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5553 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5554 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5555 bits.
5556 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5557 implementation too.
5558 * sysdeps/sparc/mempcpy.S: New file.
5559
e5aa83e1
DM
5560 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5561 the IFUNC routine in the libc case.
5562 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5563
88570753
DM
5564 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5565 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5566 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5567 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5568 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5569 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5570 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5571 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5572
249d7567
DM
5573 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5574 loop to 256 bytes instead of 64 bytes and fix test signedness.
5575
18c9d62b
DM
5576 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5577 * sysdeps/sparc/sparc32/Makefile: rather than here...
5578 * sysdeps/sparc/sparc64/Makefile: and here.
5579
05f3d1f6
UD
55802012-03-28 Ulrich Drepper <drepper@gmail.com>
5581
5582 * malloc/mallocbug.c: Avoid warnings about unused variables.
5583
86ae07a8
JL
55842012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5585
5586 [BZ #13760]
5587 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5588 in the right place. Discard and retry query if response is
5589 larger than input buffer size.
5590
41bf21a1
JM
55912012-03-28 Joseph Myers <joseph@codesourcery.com>
5592
d6270972
JM
5593 [BZ #369]
5594 [BZ #2678]
5595 [BZ #3866]
5596 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5597 x for large integer exponent.
5598 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5599 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5600 sign of result as needed afterwards.
5601 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5602 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5603 result for underflowing pow the same as for overflow.
5604 (__kernel_standard_l): Handle powl overflow and underflow here
5605 rather than calling __kernel_standard.
5606 * math/libm-test.inc (pow_test): Add more tests.
5607
414fca03 5608 [BZ #3868]
41bf21a1
JM
5609 [BZ #13879]
5610 [BZ #13910]
5611 [BZ #13911]
5612 [BZ #13912]
5613 [BZ #13913]
5614 [BZ #13915]
5615 [BZ #13916]
5616 [BZ #13917]
5617 [BZ #13918]
5618 [BZ #13919]
5619 [BZ #13920]
5620 [BZ #13921]
5621 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5622 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5623 (__kernel_standard_l): New function.
5624 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5625 __kernel_standard.
5626 * math/w_acosl.c (__acosl): Likewise.
5627 * math/w_asinl.c (__asinl): Likewise.
5628 * math/w_atan2l.c (__atan2l): Likewise.
5629 * math/w_atanhl.c (__atanhl): Likewise.
5630 * math/w_coshl.c (__coshl): Likewise.
5631 * math/w_exp10l.c (__exp10l): Likewise.
5632 * math/w_exp2l.c (__exp2l): Likewise.
5633 * math/w_fmodl.c (__fmodl): Likewise.
5634 * math/w_hypotl.c (__hypotl): Likewise.
5635 * math/w_j0l.c (__j0l, __y0l): Likewise.
5636 * math/w_j1l.c (__j1l, __y1l): Likewise.
5637 * math/w_jnl.c (__jnl, __ynl): Likewise.
5638 * math/w_lgammal.c (__lgammal): Likewise.
5639 * math/w_log10l.c (__log10l): Likewise.
5640 * math/w_log2l.c (__log2l): Likewise.
5641 * math/w_logl.c (__logl): Likewise.
5642 * math/w_powl.c (__powl): Likewise.
5643 * math/w_remainderl.c (__remainderl): Likewise.
5644 * math/w_scalbl.c (sysv_scalbl): Likewise.
5645 * math/w_sinhl.c (__sinhl): Likewise.
5646 * math/w_sqrtl.c (__sqrtl): Likewise.
5647 * math/w_tgammal.c (__tgammal): Likewise.
5648 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5649 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5650 * math/libm-test.inc (acos_test): Add more tests.
5651 (acosh_test): Likewise.
5652 (asin_test): Likewise.
5653 (atanh_test): Likewise.
5654 (exp_test): Likewise.
5655 (exp10_test): Likewise.
5656 (exp2_test): Likewise.
5657 (expm1_test): Likewise.
5658 (lgamma_test): Likewise.
5659 (log_test): Likewise.
5660 (log10_test): Likewise.
5661 (log1p_test): Likewise.
5662 (log2_test): Likewise.
5663 (pow_test): Do not allow some spurious overflow exceptions.
5664 (sqrt_test): Add more tests.
5665 (tgamma_test): Likewise.
5666 (y0_test): Likewise.
5667 (y1_test): Likewise.
5668 (yn_test): Likewise.
5669
dd62fda6
AB
56702012-03-27 Anton Blanchard <anton@samba.org>
5671
5672 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5673 MAP_HUGETLB.
5674 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5675 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5676 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5677
1e3cdfda
AJ
56782012-03-27 David S. Miller <davem@davemloft.net>
5679
b855ab85
DM
5680 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5681
1e3cdfda
AJ
5682 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5683 have-as-vis3 check.
5684
56852012-03-27 Andreas Jaeger <aj@suse.de>
5686
5687 * sysdeps/x86_64/elf/configure.in: Moved to ...
5688 * sysdeps/x86_64/configure.in: ... here.
5689 * sysdeps/x86_64/elf/start.S: Moved to ...
5690 * sysdeps/x86_64/start.S: ... here.
5691 * sysdeps/x86_64/elf/configure: Delete.
5692
5693 * sysdeps/x86_64/configure.in: Merge contents from
5694 sysdeps/i386/configure.in (without i686 check).
5695
5696 * sysdeps/i386/elf/Versions: Merge into ...
5697 * sysdeps/i386/Versions: ... this.
5698 * sysdeps/i386/elf/Versions: Delete file.
5699 * sysdeps/i386/elf/start.S: Moved to ...
5700 * sysdeps/i386/start.S: ...here.
5701 * sysdeps/i386/elf/configure.in: Merge into...
5702 * sysdeps/i386/configure.in: ...here.
5703 * sysdeps/i386/elf/configure.in: Delete file.
5704 * sysdeps/i386/elf/configure: Delete file.
5705
5706 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5707 * debug/backtracesyms.c: ... here.
5708 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5709 * debug/backtracesymsfd.c: ... here.
5710 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5711 * sysdeps/generic/ifunc-sel.h: ... here.
5712
5713 * sysdeps/unix/i386/start.c: Delete file.
5714 * sysdeps/unix/sparc/start.c: Delete file.
5715 * sysdeps/unix/start.c: Delete file.
5716
5717 * sysdeps/sh/elf/configure.in: Moved to ...
5718 * sysdeps/sh/configure.in: ... here.
5719 * sysdeps/sh/elf/start.S: Moved to ...
5720 * sysdeps/sh/start.S: ... here.
5721 * sysdeps/sh/elf/configure: Delete file.
5722
5723 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5724 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5725 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5726 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5727 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5728 * sysdeps/powerpc/powerpc64/start.S: here.
5729 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5730 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5731 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5732 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5733 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5734
5735 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5736 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5737 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5738 * sysdeps/powerpc/powerpc32/start.S: ... here.
5739 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5740 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5741 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5742
5743 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5744 * sysdeps/powerpc/ifunc-sel.h: ... here.
5745 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5746 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5747
5748 * sysdeps/sparc/elf/configure.in: Moved to ...
5749 * sysdeps/sparc/configure.in: ... here.
5750 * sysdeps/sparc/elf/configure: Delete file.
5751 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5752 * sysdeps/sparc/sparc32/start.S: ... here.
5753 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5754 * sysdeps/sparc/sparc64/start.S: ... here.
5755 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5756 * sysdeps/sparc/sparc32/Makefile: ... this.
5757 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5758 * sysdeps/sparc/sparc64/Makefile: ... this.
5759
5760 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5761 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5762 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5763 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5764 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5765 * sysdeps/s390/s390-32/setjmp.S: ... here.
5766 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5767 * sysdeps/s390/s390-32/configure.in: ... here.
5768 * sysdeps/s390/s390-32/elf/configure: Delete file.
5769 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5770 * sysdeps/s390/s390-32/start.S: ... here.
5771
5772 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5773 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5774 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5775 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5776 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5777 * sysdeps/s390/s390-64/setjmp.S: ... here.
5778 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5779 * sysdeps/s390/s390-64/configure.in: ... here
5780 * sysdeps/s390/s390-64/elf/configure: Delete file.
5781 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5782 * sysdeps/s390/s390-64/start.S: ... here.
5783 * sysdeps/s390/s390-64/elf/configure: Delete.
5784
5785 * configure.in: Remove support for elf directories in sysdeps.
5786
5787 * configure: Regenerated.
5788 * sysdeps/i386/configure: Regenerated.
5789 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5790 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5791 * sysdeps/s390/s390-32/configure: Regenerated.
5792 * sysdeps/s390/s390-64/configure: Regenerated.
5793 * sysdeps/sh/configure: Regenerated.
5794 * sysdeps/sparc/configure: Regenerated.
5795 * sysdeps/x86_64/configure: Regenerated.
5796
a3f61311
AS
57972012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5798
c876e002
AS
5799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5800
a3f61311
AS
5801 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5802 denormal result into account.
5803
ac4c54f0
RM
58042012-03-25 Roland McGrath <roland@hack.frob.com>
5805
5806 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5807 Reported by Allan McRae <allan@archlinux.org>.
5808
6a9b9c02
JL
58092012-03-23 Jeff Law <law@redhat.com>
5810
5811 * nss/getnssent.c (__nss_getent): Fix typo.
5812
4c42a0c1
DM
58132012-03-23 David S. Miller <davem@davemloft.net>
5814
5815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5816
1532c7ac
L
58172012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5818
5819 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5820 to pad to uint64_t for each field.
5821 (dl_tls_index): Replace unsigned long with uint64_t.
5822
3ff42526
PP
58232012-03-23 Daniel Jacobowitz <dmj@google.com>
5824 Paul Pluzhnikov <ppluzhnikov@google.com>
5825
5826 [BZ #6528]
5827 * grp/Makefile (otherlibs): Don't set it.
5828 * inet/Makefile (otherlibs): Likewise.
5829 * login/Makefile (otherlibs): Likewise.
5830 * nscd/Makefile (otherlibs): Likewise.
5831 * posix/Makefile (otherlibs): Likewise.
5832 * pwd/Makefile (otherlibs): Likewise.
5833 * rt/Makefile (otherlibs): Likewise.
5834 * sunrpc/Makefile (otherlibs): Likewise.
5835 * nss/Makefile (otherlibs): Likewise.
5836 Add libnss_files to routines and static-only-routines.
5837 ($(objpfx)getent): Remove rule.
5838 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5839 static-only-routines.
5840
7c69cd14
JM
58412012-03-22 Joseph Myers <joseph@codesourcery.com>
5842
5843 [BZ #13892]
5844 * math/s_cexp.c: Include <float.h>.
5845 (__cexp): Handle exp result overflowing not necessarily
5846 overflowing both real and imaginary parts of result.
5847 * math/s_cexpf.c: Likewise.
5848 * math/s_cexpl.c: Likewise.
5849 * math/libm-test.inc (cexp_test): Add more tests.
5850 * sysdeps/i386/fpu/libm-test-ulps: Update.
5851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5852
81b035fe
L
58532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5854
5855 * include/link.h (ELFW): New macro.
5856 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5857 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5858
1da7940c
L
58592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5860
5861 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5862 with uint64_t.
5863
b749dbb9
L
58642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5865
5866 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5867 declaration.
5868 (struct La_x32_retval): Likewise.
5869
2ff87f3f
L
58702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5871
5872 * sysdeps/x86_64/preconfigure.in: New file.
5873 * sysdeps/x86_64/preconfigure: New generated file.
5874
c0df8e69
JM
58752012-03-22 Joseph Myers <joseph@codesourcery.com>
5876
48e44791
JM
5877 [BZ #13824]
5878 * math/e_exp2l.c: Include <float.h>.
5879 (__ieee754_exp2l): Handle overflow and underflow cases
5880 separately. Only pass fractional part of argument to
5881 __ieee754_expl.
5882 * math/libm-test.inc (exp2_test): Add more tests.
5883
c0df8e69
JM
5884 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5885 negating x to take absolute value.
5886 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5887 Likewise.
5888 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5889 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5890 Likewise.
5891 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5892 computing low part if x was negated.
5893 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5894
c8e43ba7
L
58952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5896
5897 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5898 la_x32_gnu_pltexit.
5899 (pltexit): Cast int_retval to ptrdiff_t.
5900 * elf/tst-auditmod3b.c: Likewise.
5901 * elf/tst-auditmod4b.c: Likewise.
5902 * elf/tst-auditmod5b.c: Likewise.
5903 * elf/tst-auditmod6b.c: Likewise.
5904 * elf/tst-auditmod6c.c: Likewise.
5905 * elf/tst-auditmod7b.c: Likewise.
5906
5907 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5908 and x32_gnu_pltexit.
5909
5910 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5911 __ELF_NATIVE_CLASS.
5912 (La_x32_regs): New macro.
5913 (La_x32_retval): Likewise.
5914 (la_x32_gnu_pltenter): New function prototype.
5915 (la_x32_gnu_pltexit): Likewise.
5916
7998fa78
AS
59172012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5918
dcb33988
AS
5919 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5920 exponent.
5921
233fc563
AS
5922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5923
7998fa78
AS
5924 * configure.in (libc_cv_cc_nofma): Check for option to disable
5925 generation of FMA instructions.
5926 * configure: Regenerate.
5927 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5928 * sysdeps/ieee754/dbl-64/Makefile: New file.
5929 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5930 Remove brandred-fma4.
5931 (CFLAGS-brandred-fma4.c): Remove.
5932 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5933 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5934 define.
5935 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5936 define.
5937
8e95c99a
L
59382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5939
5940 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5941 LLONG_MAX != LONG_MAX.
5942 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5943 (_fitoa_word): Likewise.
5944 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5945 LLONG_MAX != LONG_MAX.
5946 * stdio-common/_itowa.h: Include <_itoa.h>.
5947 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5948 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5949 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5950 only if not defined.
5951 (_ITOA_WORD_TYPE): Likewise.
5952 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5953 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5954
6f4db457
DM
59552012-03-21 David S. Miller <davem@davemloft.net>
5956
5957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5958
7785fe5a
L
59592012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5960
5961 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5962 of x86_64 when setting libc_cv_slibdir, libdir and
5963 libc_cv_localedir.
5964 * sysdeps/unix/sysv/linux/configure: Regenerated.
5965
4535cd55
JM
59662012-03-21 Joseph Myers <joseph@codesourcery.com>
5967
5968 * manual/lang.texi (Old Varargs): Remove section.
5969 (How Variadic): Update menu.
5970 (va_start): Do not mention varargs.h.
5971
17228132
TS
59722012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5973 Joseph Myers <joseph@codesourcery.com>
5974
5975 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5976 link test.
5977 * configure: Regenerated.
5978
8149f976
TS
59792012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5980
05f3d1f6
UD
5981 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5982 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5983 conformtest.pl
8149f976 5984
1a4ac776
JM
59852012-03-21 Joseph Myers <joseph@codesourcery.com>
5986
be22ce65
JM
5987 * NOTES: Remove.
5988 * Makefile (files-for-dist): Remove NOTES.
5989 (NOTES): Remove rule.
5990 * README: Don't refer to NOTES.
5991 * manual/creature.texi: Don't include macros.texi.
5992 * manual/intro.texi (creature.texi): Remove comment referring to
5993 NOTES.
5994
40b601fb
JM
5995 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5996 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5997 * configure: Regenerated.
5998 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5999 LIBC_TRY_CC_OPTION.
6000 (libc_cv_as_i686): Likewise.
6001 (libc_cv_cc_avx): Likewise.
6002 (libc_cv_cc_sse2avx): Likewise.
6003 (libc_cv_cc_fma4): Likewise.
6004 (libc_cv_cc_novzeroupper): Likewise.
6005 * sysdeps/i386/configure: Regenerated.
6006
1a4ac776
JM
6007 [BZ #13883]
6008 * sysdeps/i386/fpu/s_cexp.S: Remove.
6009 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6010 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6011 * math/libm-test.inc (cexp_test): Add more tests.
6012 * sysdeps/i386/fpu/libm-test-ulps: Update.
6013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6014
a458e7fe
AM
60152012-03-21 Allan McRae <allan@archlinux.org>
6016
6017 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6018
0cb7efc5
JM
60192012-03-21 Joseph Myers <joseph@codesourcery.com>
6020
6021 [BZ #13871]
6022 * math/w_exp2.c: Do not include <float.h>.
6023 (o_threshold, u_threshold): Remove.
6024 (__exp2): Calculate result before checking finiteness and calling
6025 __kernel_standard.
6026 * math/w_exp2f.c: Likewise.
6027 * math/w_exp2l.c: Likewise.
6028 * math/libm-test.inc (exp2_test): Require overflow exception for
6029 1e6 input.
2460d3aa
JM
6030
6031 [BZ #3866]
6032 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6033 range of signed 64-bit integers before using fistpll. Remove
6034 checks for whether integers fit in mantissa bits.
6035 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6036 the range of signed 32-bit integers before using fistpl. Remove
6037 checks for whether integers fit in mantissa bits.
6038 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6039 (__ieee754_powl): Test for y outside the range of signed 64-bit
6040 integers before using fistpll. Reduce 64-bit values to 63-bit
6041 ones as needed.
6042 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6043 divide-by-zero is raised for zero to large negative powers.
6044 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6045 (__ieee754_powl): Test for y outside the range of signed 64-bit
6046 integers before using fistpll. Reduce 64-bit values to 63-bit
6047 ones as needed.
6048 * math/libm-test.inc (pow_test): Add more tests.
6049
eb96ffb0
L
60502012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6051
6052 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6053 <stdio-common/_itoa.h>.
6054 * debug/segfault.c: Likewise.
6055 * elf/dl-cache.c: Likewise.
6056 * elf/dl-minimal.c: Likewise.
6057 * elf/dl-misc.c: Likewise.
6058 * elf/dl-sysdep.c: Likewise.
6059 * elf/dl-version.c: Likewise.
6060 * elf/rtld.c: Likewise.
6061 * hurd/hurdsock.c: Likewise.
6062 * hurd/lookup-retry.c: Likewise.
6063 * malloc/malloc.c: Likewise.
6064 * malloc/mtrace.c: Likewise.
6065 * nscd/nscd_getgr_r.c: Likewise.
6066 * nscd/nscd_getpw_r.c: Likewise.
6067 * nscd/nscd_getserv_r.c: Likewise.
6068 * posix/getopt_init.c: Likewise.
6069 * posix/wordexp.c: Likewise.
6070 * stdio-common/_itoa.c: Likewise.
6071 * stdio-common/printf_fphex.c: Likewise.
6072 * stdio-common/vfprintf.c: Likewise.
6073 * string/_strerror.c: Likewise.
6074 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6075 * sysdeps/i386/i686/hp-timing.h: Likewise.
6076 * sysdeps/mach/_strerror.c: Likewise.
6077 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6078 * sysdeps/mach/hurd/sethostid.c: Likewise.
6079 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6080 * sysdeps/mach/xpg-strerror.c: Likewise.
6081 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6082 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6083 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6084 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6085 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6086 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6087 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6088 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6089 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6090 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6091 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6092 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6093 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6094 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6095 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6096 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6097 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6098 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6099 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6100 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6101 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6102
6103 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6104
6105 * stdio-common/_itoa.h: Moved to ...
6106 * sysdeps/generic/_itoa.h: Here.
6107
6108 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6109
6110 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6111 instead of "_itoa.h" and "_itowa.h".
6112 * stdio-common/vfprintf.: Likewise.
6113
d1af992d
L
61142012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6115
6116 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6117 <bits/wordsize.h>.
6118 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6119 (__signbit): Likwise.
6120 (llrintf): Likwise.
6121 (llrint): Likwise.
6122
114883e0
L
61232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6124
6125 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6126 __WORDSIZE != 64.
6127
c135cc1b
JM
61282012-03-20 Joseph Myers <joseph@codesourcery.com>
6129
6130 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6131 OVERFLOW_EXCEPTION_OK.
6132 * math/libm-test.inc ("Philosophy"): Update comment about
6133 exception testing.
6134 (OVERFLOW_EXCEPTION): Define.
6135 (OVERFLOW_EXCEPTION_OK): Likewise.
6136 (INVALID_EXCEPTION_OK): Renumber.
6137 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6138 (IGNORE_ZERO_INF_SIGN): Likewise.
6139 (test_exceptions): Handle FE_OVERFLOW.
6140 (exp10_test): Expect overflow exceptions.
6141 (exp2_test): Likewise.
6142 (expm1_test): Likewise.
6143 (nextafter_test): Likewise.
6144 (pow_test): Likewise.
6145 (scalbn_test): Likewise.
6146 (scalbln_test): Likewise.
6147
95443d88
L
61482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6149
6150 * sysdeps/x86_64/bits/atomic.h
6151 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6152 64bit integer.
6153 (atomic_exchange_acq): Likewise.
6154 (__arch_exchange_and_add_body): Likewise.
6155 (__arch_add_body): Likewise.
6156 (atomic_add_negative): Likewise.
6157 (atomic_add_zero): Likewise.
6158
490df6c4
L
61592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6160
c2722551 6161 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6162 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6163
5e52b189
L
61642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6165
6166 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6167 Check __x86_64__ instead of __WORDSIZE.
6168
a9879d4c
L
61692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6170
6171 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6172
5df98260
DM
61732012-03-19 David S. Miller <davem@davemloft.net>
6174
e1497744
DM
6175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6176
5df98260
DM
6177 * sysdeps/sparc/fpu/fenv_private.h: New file.
6178 * sysdeps/sparc/fpu/math_private.h: Use it.
6179 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6180 Remove.
6181 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6182 (libc_feholdexcept_setroundl): Remove.
6183 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6184 Remove.
6185 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6186 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6187
b4c35121
L
61882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6189
6190 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6191 int64_t instead of long int.
6192 (INSERT_WORDS64): Likwise.
6193
56965fd7
L
61942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6195
6196 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6197 _Unwind_GetCFA return to _Unwind_Ptr first.
6198
83d1aec8
JM
61992012-03-19 Joseph Myers <joseph@codesourcery.com>
6200
1897ad44
JM
6201 [BZ #13629]
6202 * math/s_clog.c: Include <float.h>.
6203 (__clog): Scale large or subnormal inputs.
6204 * math/s_clogf.c: Likewise.
6205 * math/s_clogl.c: Likewise.
6206 * math/s_clog10.c: Include <float.h>.
6207 (M_LOG10_2): Define.
6208 (__clog10): Scale large or subnormal inputs.
6209 * math/s_clog10f.c: Likewise.
6210 * math/s_clog10l.c: Likewise.
6211 * math/libm-test.inc (clog_test): Add more tests.
6212 (clog10_test): Likewise.
6213 * sysdeps/i386/fpu/libm-test-ulps: Update.
6214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6215
7726d6a9
JM
6216 [BZ #11451]
6217 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6218 x and y.
6219 * math/libm-test.inc (atan2_test): Add another test.
6220
83d1aec8
JM
6221 * Makerules (common-objdir-compile): Remove.
6222 * sysdeps/unix/Makefile (config-generated): Do not add
6223 $(unix-generated) to variable.
6224 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6225 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6226 Remove rule.
6227 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6228 Likewise.
6229 [generic bits/local_lim.h] (before-compile): Do not append to
6230 variable.
6231 [generic bits/local_lim.h] (common-generated): Likewise.
6232 [generic sys/param.h] (before-compile): Do not append to variable.
6233 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6234 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6235 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6236 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6237 include.
6238 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6239 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6240 [generic sys/param.h] ($(addprefix
6241 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6242 [generic sys/param.h] (common-generated): Do not append to
6243 variable.
6244 [generic sys/param.h] (sysdep_headers): Likewise.
6245 [generic bits/errno.h] (before-compile): Do not append to
6246 variable.
6247 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6248 rule.
6249 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6250 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6251 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6252 [generic bits/errno.h] (common-generated): Do not append to
6253 variable.
6254 [generic bits/ioctls.h] (before-compile): Do not append to
6255 variable.
6256 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6257 rule.
6258 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6259 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6260 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6261 rule.
6262 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6263 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6264 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6265 [generic bits/ioctls.h] (common-generated): Do not append to
6266 variable.
6267 [generic sys/syscall.h] (syscall.h): Remove variable.
6268 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6269 rule.
6270 [generic sys/syscall.h] (before-compile): Do not append to
6271 variable.
6272 [generic sys/syscall.h] (common-generated): Likewise.
6273 * sysdeps/unix/errnos-tmpl.c: Remove file.
6274 * sysdeps/unix/errnos.awk: Likewise.
6275 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6276 * sysdeps/unix/ioctls.awk: Likewise.
6277 * sysdeps/unix/mk-local_lim.c: Likewise.
6278 * sysdeps/unix/snarf-ioctls: Likewise.
6279
4851a949
RH
62802012-03-19 Richard Henderson <rth@twiddle.net>
6281
bd37f2ee
RH
6282 * sysdeps/i386/fpu/fenv_private.h: New file.
6283 * sysdeps/i386/fpu/math_private.h: Use it.
6284 (math_opt_barrier, math_force_eval): Remove.
6285 (libc_feholdexcept_setround_53bit): Remove.
6286 (libc_feupdateenv_53bit): Remove.
6287 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6288 (math_opt_barrier, math_force_eval): Remove.
6289 (libc_feholdexcept): Remove.
6290 (libc_feholdexcept_setround): Remove.
6291 (libc_fetestexcept, libc_fesetenv): Remove.
6292 (libc_feupdateenv_test): Remove.
6293 (libc_feupdateenv, libc_feholdsetround): Remove.
6294 (libc_feresetround): Remove.
6295
d0adc922
RH
6296 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6297 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6298
0fe0f1f8
RH
6299 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6300 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6301 (libc_feupdateenv_testl): New.
6302 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6303 (libc_feupdateenv_testf): New.
6304 (libc_feupdateenv): Use libc_feupdateenv_test.
6305 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6306 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6307
eb92c487
RH
6308 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6309 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6310 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6311 (libc_feresetround_noex): New.
6312 (libc_feresetround_noexf): New.
6313 (libc_feresetround_noexl): New.
6314 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6315 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6316 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6317 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6318 SET_RESTORE_ROUND.
6319 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6320 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6321 (__cos): Likewise.
6322 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6323 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6324 SET_RESTORE_ROUND_NOEX.
6325 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6326 SET_RESTORE_ROUND_NOEXF.
6327 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6328 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6329 (libc_feholdsetroundf): New.
6330 (libc_feresetround, libc_feresetroundf): New.
6331
7d2e8012
RH
6332 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6333 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6334 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6335
b4dabbb4
RH
6336 * sysdeps/generic/math_private.h: Include <fenv.h>.
6337 (default_libc_feholdexcept): New.
6338 (default_libc_feholdexcept_setround): New.
6339 (default_libc_fesetenv, default_libc_feupdateenv): New.
6340 (libc_feholdexcept): Only define if undefined.
6341 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6342 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6343 (libc_feholdexcept_setroundl): Likewise.
6344 (libc_feholdexcept_setround_53bit): Likewise.
6345 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6346 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6347 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6348 (libc_feupdateenv_53bit): Likewise.
6349 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6350 (libc_feholdexcept): Convert from macro to inline function.
6351 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6352 (libc_fesetenv, libc_feupdateenv): Likewise.
6353
4851a949
RH
6354 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6355 not previously defined.
6356 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6357 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6358 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6359 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6360 * sysdeps/ieee754/flt-32/math_private.h: New file.
6361 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6362 math_private.h below SET_FLOAT_WORD.
6363 (__isnan, __isinf_ns, __finite): Remove.
6364 (__isnanf, __isinf_nsf, __finitef): Remove.
6365
e79d442e
AS
63662012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6367
6368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6369
90b80344
DM
63702012-03-17 David S. Miller <davem@davemloft.net>
6371
6372 [BZ #6471]
6373 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6374 for 2.16.
6375
edc21804
DM
63762012-03-16 David S. Miller <davem@davemloft.net>
6377
77e927af
DM
6378 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6379 warnings.
6380
374976dd
DM
6381 [BZ #6471]
6382 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6383 properly.
6384 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6385 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6386 sysdep_routines when subdir is sysvipc.
6387 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6388 __getshmlba helper.
6389
edc21804
DM
6390 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6391
473c3ef3
L
63922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6393
6394 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6395 [__LP64__].
6396
eb0f39b6
L
63972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6398
6399 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6400 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6401 (__lround): Renamed to ...
6402 (__llround): This. Replace long int with long long int.
6403 Define lround functions as aliases of llround functions.
6404 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6405
6b6cd74b
L
64062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6407
6408 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6409 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6410 adresses to uintptr_t. Replace "long int" and "unsigned long
6411 int" with "greg_t" on va_arg.
6412
f1a77b01
L
64132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6414
6415 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6416 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6417
6418 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6419 Move e_machine check before EI_CLASS check. Handle x32
6420 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6421 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6422 SKIP_EM_IA_64 and include
6423 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6424
6425 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6426 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6427 (add_system_dir): New macro.
6428
6429 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6430 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6431
11b90b9f
JM
64322012-03-16 Joseph Myers <joseph@codesourcery.com>
6433
c36e1d23
JM
6434 [BZ #2551]
6435 [BZ #2552]
6436 [BZ #2553]
6437 [BZ #2554]
6438 [BZ #2562]
6439 [BZ #2563]
6440 [BZ #2565]
6441 [BZ #2566]
6442 [BZ #2576]
6443 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6444 (y0): Likewise.
6445 * math/w_j0f.c (j0f): Likewise.
6446 (y0f): Likewise.
6447 * math/w_j0l.c (__j0l): Likewise.
6448 (__y0l): Likewise.
6449 * math/w_j1.c (j1): Likewise.
6450 (y1): Likewise.
6451 * math/w_j1f.c (j1f): Likewise.
6452 (y1f): Likewise.
6453 * math/w_j1l.c (__j1l): Likewise.
6454 (__y1l): Likewise.
6455 * math/w_jn.c (jn): Likewise.
6456 (yn): Likewise.
6457 * math/w_jnf.c (jnf): Likewise.
6458 (ynf): Likewise.
6459 * math/w_jnl.c (__jnl): Likewise.
6460 (__ynl): Likewise.
6461 * math/libm-test.inc (j0_test): Add more tests.
6462 (j1_test): Likewise.
6463 (jn_test): Likewise. Add trailing semicolon to existing test.
6464 (y0_test): Likewise.
6465 (y1_test): Likewise.
6466 * sysdeps/i386/fpu/libm-test-ulps: Update.
6467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6468
11b90b9f
JM
6469 [BZ #13851]
6470 [BZ #13854]
6471 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6472 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6473 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6474 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6475 (__tanl): Set errno for infinite argument.
6476 * sysdeps/i386/fpu/mptan.c: Remove.
6477 * sysdeps/i386/fpu/s_tan.S: Likewise.
6478 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6479 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6480 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6481 * math/libm-test.inc (tan_test): Add more tests and enable more
6482 tests for double and long double.
6483 * sysdeps/i386/fpu/libm-test-ulps: Update.
6484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6485
6a1bd2a1
JK
64862012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6487
6488 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6489 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6490
10a803e0
RM
64912012-03-16 Roland McGrath <roland@hack.frob.com>
6492
6493 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6494 * configure.in: Use it for both main tree and add-ons.
6495 * configure: Regenerated.
6496
f196c7f7
L
64972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6498
6499 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6500
8848d99d
JM
65012012-03-16 Joseph Myers <joseph@codesourcery.com>
6502
96cbe7f4
JM
6503 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6504 in comment.
6505
8848d99d
JM
6506 [BZ #13851]
6507 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6508 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6509 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6510 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6511 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6512 infinite argument.
6513 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6514 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6515 != 0 for prec == 2.
6516 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6517 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6518 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6519 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6520 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6521 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6522 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6523 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6524 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6525 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6526 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6527 * math/libm-test.inc (cos_test): Add more tests and enable more
6528 tests for long double.
6529 (sin_test): Likewise.
6530 (sincos_test): Likewise.
6531 * sysdeps/i386/fpu/libm-test-ulps: Update.
6532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6533
dd7f4703
DM
65342012-03-16 David S. Miller <davem@davemloft.net>
6535
6536 * sysdeps/sparc/fpu/math_private.h: New file.
6537
006f1daa
DM
65382012-03-15 David S. Miller <davem@davemloft.net>
6539
c0c83bc8
DM
6540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6541 file.
e6a62e18 6542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6544 file.
e6a62e18
DM
6545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6550 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6551 sysdep routines.
6552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6553
88cb87d9
DM
6554 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6555 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6556
006f1daa 6557 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6559 sparc-ifunc.h
006f1daa 6560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6562 Likewise.
6563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6564 Likewise.
006f1daa
DM
6565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6569 Likewise.
006f1daa
DM
6570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6575 Likewise.
6576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6577 Likewise.
006f1daa
DM
6578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6582 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6584 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6585 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6596 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6597 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6598 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6599 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6600 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6601 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6602
11e0098e
AS
66032012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6604
6605 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6606 scaling.
6607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6608
e85b09d0
AJ
66092012-03-15 Andreas Jaeger <aj@suse.de>
6610
6611 [BZ #13852]
6612 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6613 ieee754/flt-32 implementation for sin, cos and sincos.
6614 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6615 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6616 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6617 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6618 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6619 ieee754/flt-32 implementation for tan.
6620
6621 * math/libm-test.inc (cos_test): Enable some large input tests for
6622 float as well
6623 (sin_test): Likewise.
6624 (sincos_test): Likewise.
6625 (tan_test): Add tests for large input.
6626
6627 * sysdeps/i386/fpu/libm-test-ulps: Update.
6628
81c64153
AJ
66292012-03-15 Andreas Jaeger <aj@suse.de>
6630
6631 [BZ #13658]
6632 * math/libm-test.inc (cos_test): Add more test cases.
6633 (sin_test): Likewise.
6634 (sincos_test): Likewise.
6635
7bbfa5c6
AJ
66362012-03-15 Andreas Jaeger <aj@suse.de>
6637
6638 [BZ #13837]
6639 * math/libm-test.inc (cos_test): Add a test case for large input
6640 value.
6641 (sin_test): Likewise.
6642 (sincos_test): Likewise.
6643
66442012-03-15 Andreas Jaeger <aj@suse.de>,
6645 Joseph Myers <joseph@codesourcery.com>
6646
6647 [BZ #13658]
0671f479 6648 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6649 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6650 * sysdeps/i386/fpu/branred.c: Likewise.
6651 * sysdeps/i386/fpu/dosincos.c: Likewise.
6652 * sysdeps/i386/fpu/mpa.c: Likewise.
6653 * sysdeps/i386/fpu/s_cos.S: Likewise.
6654 * sysdeps/i386/fpu/s_sin.S: Likewise.
6655 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6656 * sysdeps/i386/fpu/sincos32.c: Likewise.
6657
6658 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6659 Define.
6660 (libc_feupdateenv_53bit): Define.
6661 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6662 Define.
6663 (libc_feupdateenv_53bit): Define.
6664
6665 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6666 53 bit (without extend i386 double precision).
6667
6668 * math/libm-test.inc (sincos_test): Add tests for large input.
6669 (sin): Likewise.
6670 (cos): Likewise.
6671
6672 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6673
9cad04ea
AS
66742012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6675
6676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6677
f7062b9a
DM
66782012-03-15 David S. Miller <davem@davemloft.net>
6679
6680 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6681 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6682 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6683 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6696 file.
f7062b9a 6697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6699 file.
f7062b9a 6700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6702 file.
f7062b9a 6703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6705 file.
f7062b9a
DM
6706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6707 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6708 fmin/fmax sysdep routines.
6709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6710
7bd951ff
DM
67112012-03-14 David S. Miller <davem@davemloft.net>
6712
559398ab
DM
6713 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6717 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6718 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6719 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6720 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6721 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6724 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6733 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6737 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6739 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6740 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6741 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6742 routines.
6743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6744 file.
559398ab 6745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6747 file.
559398ab 6748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6750 file.
559398ab 6751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6753 file.
559398ab 6754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6756 file.
559398ab 6757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6759 file.
6760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6761 file.
6762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6763 file.
6764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6765 file.
6766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6767 New file.
6768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6769 file.
6770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6771 file.
559398ab 6772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6774 file.
559398ab 6775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6777 file.
559398ab 6778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6780 file.
559398ab 6781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6783 VIS3 routines.
559398ab
DM
6784
6785 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6786 New file.
6787
5a1c1e32
DM
6788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6789
eae47a36
DM
6790 * sysdeps/sparc/configure.in: New file.
6791 * sysdeps/sparc/configure: Generate.
6792 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6793 * configure: Regenerate.
6794 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6795 * config.make.in (have-as-vis3): New.
6796 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6797 available use -Av9d instead of -Av9a.
6798 * sysdeps/sparc/sparc64/Makefile: Likewise.
6799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6801 New file.
6802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6803 file.
6804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6805 New file.
6806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6807 file.
eae47a36
DM
6808 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6809 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6810 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6811 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6812 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6813
c0c83bc8
DM
6814 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6815 fzeros/fnegs to load 0x80000000 into a float register instead of
6816 using the stack.
7bd951ff
DM
6817 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6818
bd951ccb
JM
68192012-03-14 Joseph Myers <joseph@codesourcery.com>
6820
6821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6822 bits/syscall.h.
6823 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6824 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6825 ($(inst_includedir)/bits/syscall.h): Remove rule.
6826 ($(objpfx)bits/syscall.d): Include instead of
6827 $(objpfx)syscall-list.d.
6828 (generated): Change syscall-list.h and syscall-list.d to
6829 bits/syscall.h and bits/syscall.d.
6830
bb4e6db2
RM
68312012-03-14 Roland McGrath <roland@hack.frob.com>
6832
6833 [BZ #13846]
6834 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6835
aa4a2ae1
JM
68362012-03-14 Joseph Myers <joseph@codesourcery.com>
6837
e456826d
JM
6838 [BZ #13841]
6839 * math/s_csqrt.c: Include <float.h>.
6840 (__csqrt): Scale large or subnormal inputs.
6841 * math/s_csqrtf.c: Likewise.
6842 * math/s_csqrtl.c: Likewise.
6843 * math/libm-test.inc (csqrt_test): Add more tests.
6844 * sysdeps/i386/fpu/libm-test-ulps: Update.
6845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6846
aa4a2ae1
JM
6847 [BZ #13840]
6848 * math/libm-test.inc (hypot_test): Add more tests.
6849
7c10fd35
DM
68502012-03-13 David S. Miller <davem@davemloft.net>
6851
6852 [BZ #13840]
6853 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6854 double-precision for the calculation instead of scaling.
6855
f453b98b
JM
68562012-03-13 Joseph Myers <joseph@codesourcery.com>
6857
6858 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6859 manipulate bits before adding and subtracting TWO52[sx].
6860 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6861 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6862 Likewise.
6863 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6864
09a3453f
DM
68652012-03-13 David S. Miller <davem@davemloft.net>
6866
8e59da90
DM
6867 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6868 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6869 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6870 rtld-global-offsets.h
6871 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6872
2a8ab7f2
DM
6873 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6874 large parameters.
6875
10f62770
DM
6876 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6877
5f0bdb18
DM
6878 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6879 'err' in the ifdef scope in which it is actually used.
6880
09a3453f
DM
6881 * nss/nss_db/db-init.c: Include string.h
6882
b4b2eb5e
DM
68832012-03-12 David S. Miller <davem@davemloft.net>
6884
98bb2f1c
DM
6885 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6886 masking out of the most significant byte of random value used.
6887 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6888 Fix coding style in previous change.
6889
b4b2eb5e
DM
6890 * sysdeps/unix/sysv/linux/kernel-features.h
6891 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6892 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6893 expression.
6894 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6895 later.
6896
6e226b09
DM
68972012-03-11 David S. Miller <davem@davemloft.net>
6898
a1bcbd40
DM
6899 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6900 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6901 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6902 for 'resultvar' otherwise things get truncated on 64-bit.
6903
cb9d6174
DM
6904 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6905 Fix masking out of the most significant byte of random value used.
6906
6e226b09
DM
6907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6908
058c132d
AS
69092012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6910
6911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6912
2d2cd515
DM
69132012-03-09 David S. Miller <davem@davemloft.net>
6914
6915 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6916 variables with appropriate CPP guards.
6917 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6918 frame pointer, not the stack pointer. Correct layout comments. Fix test
6919 on resulting framesize and the management of the outregs buffer for pltexit.
6920 Preserve floating point return values across _dl_call_pltexit call.
6921 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6922 framesize and the management of the outregs buffer for pltexit.
6923 Preserve floating point return values across _dl_call_pltexit
6924 call.
6925 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6926 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6927 (print_exit): Fix format string for return register value.
6928
9a07f9d0
JM
69292012-03-10 Joseph Myers <joseph@codesourcery.com>
6930
6931 * sunrpc/Makefile (others): Add rpcgen.
6932 ($(objpfx)rpcgen): Remove special build rule and dependency on
6933 libc.
6934 * sunrpc/rpcgen.c: New file.
6935
547b5e30
PE
69362012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6937
c524201a
PE
6938 [BZ #13673]
6939 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6940 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6941 * sysdeps/i386/crti.S: Likewise.
6942 * sysdeps/i386/crtn.S: Likewise.
6943 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6944 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6945 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6946 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6947 * sysdeps/sh/crti.S: Likewise.
6948 * sysdeps/sh/crtn.S: Likewise.
6949 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6950
7b6235f2
PE
6951 [BZ #13673]
6952 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6953 with URL.
6954 * locale/programs/locfile-kw.gperf: Likewise.
6955 * locale/programs/charmap-kw.h: Regenerated.
6956 * locale/programs/locfile-kw.h: Likewise.
6957
547b5e30
PE
6958 [BZ #13673]
6959 * intl/plural.y: Replace FSF snail mail address with URL.
6960 * intl/plural.c: Regenerated.
6961
5f0a5dae
RH
69622012-03-09 Richard Henderson <rth@twiddle.net>
6963
6964 * include/math_private.h: Remove file.
6965 * math/math_private.h: Move file ...
6966 * sysdeps/generic/math_private.h: ... here.
6967
b8c03620
RH
6968 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6969 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6970 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6971
4e234f5d 6972 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6973 and <math_private.h>.
6974 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6975 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6976 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6977 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6978 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6979 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6980 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6981 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6982 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6983 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6984 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6985 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6986 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6987 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6988 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6989 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6990 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6991 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6992 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6993 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6994 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6995 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6996 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6997 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6998 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6999 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7000 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7001 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7002 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7003 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7004 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7005 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7006 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7007 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7008 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7009 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7010 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7011 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7012 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7013 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7014 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7015 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7016 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7017 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7018 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7019 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7020 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7021 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7022 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7023 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7024 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7025 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7026 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7027 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7028 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7029 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7030 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7031 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7032 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7033 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7034 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7035 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7036 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7037 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7038 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7039 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7040 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7041 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7042 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7043 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7044 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7045 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7046 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7047 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7048 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7049 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7050 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7051 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7052 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7053 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7054 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7055 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7056 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7057 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7058 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7059 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7060 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7061 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7062 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7063 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7064 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7065 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7066 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7067 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7068 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7069 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7070 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7071 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7072 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7073 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7074 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7075 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7076 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7077 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7078 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7079 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7080 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7081 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7082 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7083 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7084 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7085 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7086 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7087 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7088 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7089 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7090 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7091 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7092 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7093 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7094 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7095 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7096 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7097 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7098 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7099 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7100 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7101 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7102 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7103 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7104 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7105 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7106 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7107 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7108 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7109 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7110 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7111 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7112 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7113 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7114 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7115 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7116 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7117 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7118 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7119 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7120 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7121 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7122 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7123 * sysdeps/ieee754/k_standard.c: Likewise.
7124 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7125 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7126 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7127 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7128 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7129 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7130 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7131 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7132 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7133 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7134 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7135 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7136 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7137 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7138 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7139 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7140 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7141 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7142 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7143 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7144 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7145 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7146 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7147 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7148 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7149 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7150 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7151 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7152 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7153 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7154 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7155 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7156 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7157 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7158 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7159 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7160 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7161 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7162 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7163 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7164 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7165 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7166 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7167 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7168 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7169 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7170 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7171 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7172 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7173 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7174 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7175 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7176 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7177 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7178 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7179 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7180 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7181 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7182 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7183 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7184 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7185 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7186 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7187 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7188 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7189 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7190 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7191 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7192 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7193 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7194 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7195 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7196 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7197 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7198 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7199 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7200 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7201 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7202 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7203 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7204 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7205 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7206 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7207 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7208 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7209 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7210 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7211 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7212 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7213 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7214 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7215 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7216 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7217 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7218 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7219 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7220 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7221 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7222 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7223 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7224 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7225 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7226 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7227 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7228 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7229 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7230 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7231 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7232 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7233 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7234 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7235 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7236 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7237 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7238 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7239 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7240 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7241 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7242 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7243 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7244 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7245 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7246 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7247 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7248 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7249 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7250 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7251 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7252 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7253 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7254 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7255 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7256 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7257 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7258 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7259 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7260 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7261 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7262 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7263 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7264 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7265 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7266 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7267 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7268 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7269 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7270 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7271 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7272 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7273 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7274 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7275 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7276 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7277 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7278 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7279 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7280 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7281 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7282 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7283 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7284 * sysdeps/ieee754/s_lib_version.c: Likewise.
7285 * sysdeps/ieee754/s_matherr.c: Likewise.
7286 * sysdeps/ieee754/s_signgam.c: Likewise.
7287 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7288 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7289 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7290 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7291 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7292 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7293 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7294 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7295 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7296 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7297 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7298 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7299 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7300 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7301 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7302 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7303 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7304 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7305 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7306 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7307 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7308
1991fa03
JM
73092012-03-09 Joseph Myers <joseph@codesourcery.com>
7310
7311 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7312 * sunrpc/rpc_main.c: Likewise.
7313 * sunrpc/rpc_svcout.c: Likewise.
7314
60d6f5a6
DM
73152012-03-09 David S. Miller <davem@davemloft.net>
7316
7317 * include/math_private.h: New file.
7318
4962050e
JM
73192012-03-09 Joseph Myers <joseph@codesourcery.com>
7320
02a6f887
JM
7321 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7322 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7323 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7324 from <bits/socket_type.h>.
7325 (enum __socket_type): Don't define here.
7326 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7328 bits/socket_type.h.
7329
c6e013c1
JM
7330 [BZ #13566]
7331 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7332 checking __USE_GNU.
7333
4962050e
JM
7334 * Makerules ($(inst_includedir)/%.h): New rule.
7335 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7336 (install-others): Remove variable setting.
7337 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7338
38842f45
RH
73392012-03-08 Richard Henderson <rth@twiddle.net>
7340
67bb6da6
RH
7341 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7342 from macro to inline function; merge with the
7343 !__LIBC_INTERNAL_MATH_INLINES version.
7344 (__ieee754_sqrtf): Likewise.
7345
15194b4b
RH
7346 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7347 to inline function.
7348 (__rintf, __floor, __floorf): Likewise.
7349
64e21ede
RH
7350 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7351 macro to inline function.
7352 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7353
38842f45
RH
7354 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7355 not <math/math_private.h>.
7356
c64bf5fe
DM
73572012-03-08 David S. Miller <davem@davemloft.net>
7358
7359 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7360 copyright year.
7361 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7362
82d86f28
TS
73632012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7364
7365 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7366 normalization.
7367 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7368 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7369
aea5d727
UD
73702012-03-08 Ulrich Drepper <drepper@gmail.com>
7371
7372 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7373 be defined individually, they must be defined as a block. Define
7374 S for printing a string instead of hidint the different by using a
7375 macro for adding the 'l'.
7376 * stdio-common/tst-fphex-wide.c: Adjust.
7377
70bca0a3
MP
73782012-03-07 Marek Polacek <polacek@redhat.com>
7379
7380 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7381
65b81130
MP
73822012-03-08 Marek Polacek <polacek@redhat.com>
7383
7384 [BZ #13806]
7385 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7386 * stdio-common/tst-fphex.c: Define a few macros to make the
7387 test reusable. Use them.
7388 * stdio-common/tst-fphex-wide.c: New file.
7389
07037eeb
JM
73902012-03-08 Joseph Myers <joseph@codesourcery.com>
7391
a7a93d50
JM
7392 [BZ #6911]
7393 * manual/macros.texi (gnusystems): New macro.
7394 (nongnusystems): Likewise.
7395 (gnulinuxhurdsystems): Likewise.
7396 (gnuhurdsystems): Likewise..
7397 (gnulinuxsystems): Likewise.
7398 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7399 variants of the GNU system, not "GNU system".
7400 * manual/conf.texi: Likewise.
7401 * manual/errno.texi: Likewise. Update example of errno macro
7402 expansion.
7403 * manual/filesys.texi: Likewise.
7404 (getumask): Document as specific to GNU/Hurd.
7405 * manual/install.texi: Likewise. Reword some references to
7406 GNU/Linux.
7407 * manual/intro.texi: Likewise.
7408 * manual/io.texi: Likewise.
7409 (File Name Portability): Detail which constraints are inapplicable
7410 to all GNU systems and which are only inapplicable to GNU/Hurd.
7411 * manual/job.texi: Likewise.
7412 * manual/llio.texi: Likewise.
7413 (O_NOCTTY): Document as present on GNU/Linux.
7414 * manual/maint.texi: Likewise.
7415 * manual/memory.texi: Likewise.
7416 * manual/pattern.texi: Likewise.
7417 * manual/pipe.texi: Likewise.
7418 * manual/process.texi: Likewise.
7419 * manual/resource.texi: Likewise.
7420 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7421 child on GNU/Hurd.
7422 * manual/setjmp.texi: Likewise.
7423 * manual/signal.texi: Likewise.
7424 * manual/startup.texi: Likewise.
7425 * manual/stdio.texi: Likewise.
7426 * manual/terminal.texi: Likewise.
7427 (ONLCR): Document as POSIX.
7428 (OXTABS): Document availability on GNU/Linux as XTABS.
7429 (ONOEOT): Document availability separately from other bits.
7430 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7431 * manual/time.texi: Likewise.
7432 * manual/users.texi: Likewise.
7433 * INSTALL: Regenerated.
7434 * sysdeps/gnu/errlist.c: Regenerated.
7435
07037eeb
JM
7436 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7437 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7438 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7439 puts.
7440 * configure: Regenerated.
7441
d1d3431a
JM
74422012-03-07 Joseph Myers <joseph@codesourcery.com>
7443
af6a1e37
JM
7444 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7445 default includes instead of AC_HEADER_CHECK.
7446 * sysdeps/i386/configure: Regenerated.
7447
d1d3431a
JM
7448 [BZ #10716]
7449 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7450 * math/s_cacoshf.c (__cacoshf): Likewise.
7451 * math/s_cacoshl.c (__cacoshl): Likewise.
7452 * math/s_casinh.c (__casinh): Set signs of result from argument.
7453 * math/s_casinhf.c (__casinhf): Likewise.
7454 * math/s_casinhl.c (__casinhl): Likewise.
7455 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7456 (casinh_test): Add more tests.
7457 * sysdeps/i386/fpu/libm-test-ulps: Update.
7458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7459
482ff4da
UD
74602012-03-07 Ulrich Drepper <drepper@gmail.com>
7461
872fda05
UD
7462 * po/zh_TW.po: Update from translation team.
7463
a4300c7a
UD
7464 * login/Makefile (distribute): Remove variable.
7465 * catgets/Makefile: Likewise.
7466 * mach/Makefile: Likewise.
7467 * malloc/Makefile: Likewise.
7468 * misc/Makefile: Likewise.
7469 * iconv/Makefile: Likewise.
7470 * nscd/Makefile: Likewise.
7471 * hurd/Makefile: Likewise.
7472 * manual/Makefile: Likewise.
7473 * locale/Makefile: Likewise.
7474 * intl/Makefile: Likewise.
7475 * conform/Makefile: Likewise.
7476 * nss/Makefile: Likewise.
7477 * time/Makefile: Likewise.
7478 * soft-fp/Makefile: Likewise.
7479 * dirent/Makefile: Likewise.
7480 * gmon/Makefile: Likewise.
7481 * po/Makefile: Likewise.
7482 * rt/Makefile: Likewise.
7483 * socket/Makefile: Likewise.
7484 * math/Makefile: Likewise.
7485 * signal/Makefile: Likewise.
7486 * debug/Makefile: Likewise.
7487 * elf/Makefile: Likewise.
7488 * timezone/Makefile: Likewise.
7489 * stdlib/Makefile: Likewise.
7490 * iconvdata/Makefile: Likewise.
7491 * sunrpc/Makefile: Likewise.
7492 * io/Makefile: Likewise.
7493 * argp/Makefile: Likewise.
7494 * inet/Makefile: Likewise.
7495 * hesiod/Makefile: Likewise.
7496 * grp/Makefile: Likewise.
7497 * csu/Makefile: Likewise.
7498 * wctype/Makefile: Likewise.
7499 * crypt/Makefile: Likewise.
7500 * libio/Makefile: Likewise.
7501 * string/Makefile: Likewise.
7502 * nis/Makefile: Likewise.
7503 * resolv/Makefile: Likewise.
7504 * stdio-common/Makefile: Likewise.
7505 * wcsmbs/Makefile: Likewise.
7506 * dlfcn/Makefile: Likewise.
7507 * posix/Makefile: Likewise.
7508
3b7c4e74 7509 [BZ #6959]
482ff4da
UD
7510 * timezone/Makefile: Don't install timezone files, just the programs
7511 and scripts.
7512
f72ed77d
UD
75132012-03-06 Ulrich Drepper <drepper@gmail.com>
7514
a000466f
UD
7515 * nss/databases.def: Add missing gshadow entry.
7516
f72ed77d
UD
7517 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7518
a53b7a4e
MP
75192012-03-06 Marek Polacek <polacek@redhat.com>
7520
7521 [BZ #13726]
7522 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7523 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7524 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7525 * stdio-common/tst-long-dbl-fphex.c: New file.
7526
e9258400
DM
75272012-03-06 David S. Miller <davem@davemloft.net>
7528
7529 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7530 (set_obp_int): New function.
7531 (get_obp_int): New function.
7532 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7533 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7534 Avoid unused variable warnings on 'val' and use builtin_expect.
7535 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7536 __builtin_expect.
e9258400
DM
7537 (INLINE_CLONE_SYSCALL): Likewise.
7538
3bd2c723
DM
75392012-03-05 David S. Miller <davem@davemloft.net>
7540
7541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7542
bbb78d03
AS
75432012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7544
884c5db4
AS
7545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7546
bbb78d03
AS
7547 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7548 only for |x| >= 40.
7549 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7550
1c9f702a 75512012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7552
7553 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7554 Replace gettimeofday with __vdso_gettimeofday.
7555
7be16f82
RM
7556 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7557 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7558 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7559
7560 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7561 time with __vdso_time.
7562
ed58a00f
JM
75632012-03-05 Joseph Myers <joseph@codesourcery.com>
7564
7565 * manual/lang.texi (size_t): Note types to which size_t may be
7566 equivalent with the GNU C Library, but do not describe when
7567 differences between them are significant.
7568
30ee4ced
AJ
75692012-03-05 Andreas Jaeger <aj@suse.de>
7570
7571 * sysdeps/i386/fpu/libm-test-ulps: Update.
7572
b7cd39e8
JM
75732012-03-05 Joseph Myers <joseph@codesourcery.com>
7574
7575 [BZ #3976]
7576 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7577 (__ieee754_pow): Save and restore rounding mode and use
7578 round-to-nearest for main computations.
7579 * math/libm-test.inc (pow_test_tonearest): New function.
7580 (pow_test_towardzero): Likewise.
7581 (pow_test_downward): Likewise.
7582 (pow_test_upward): Likewise.
7583 (main): Call the new functions.
7584 * sysdeps/i386/fpu/libm-test-ulps: Update.
7585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7586
7587 [BZ #3976]
7588 * math/libm-test.inc (cosh_test_tonearest): New function.
7589 (cosh_test_towardzero): Likewise.
7590 (cosh_test_downward): Likewise.
7591 (cosh_test_upward): Likewise.
7592 (sinh_test_tonearest): Likewise.
7593 (sinh_test_towardzero): Likewise.
7594 (sinh_test_downward): Likewise.
7595 (sinh_test_upward): Likewise.
7596 (main): Call the new functions.
7597 * sysdeps/i386/fpu/libm-test-ulps: Update.
7598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7599
6c6a98c9
TV
76002012-03-05 Tom de Vries <tom@codesourcery.com>
7601
7602 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7603 default stack guard is set in last bytes.
7604 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7605
21bb2d2e 76062012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7607
21bb2d2e 7608 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7609
21bb2d2e
AJ
7610 [BZ #13656]
7611 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7612 possibly allocate from heap instead of stack.
7613 * stdio-common/bug-vfprintf-nargs.c: New file.
7614 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7615
c6922934
AS
76162012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7617
7618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7619
bc957d53
MP
76202012-03-03 Marek Polacek <polacek@redhat.com>
7621
7622 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7623 * math/math_private.h: Likewise.
7624 * stdlib/tst-strtod.c: Likewise.
7625 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7626 * sysdeps/x86_64/bits/atomic.h: Likewise.
7627
6358490d
DM
76282012-03-02 David S. Miller <davem@davemloft.net>
7629
7630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7634 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7635 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7636 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7637 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7638
01ae168d
RM
76392012-03-02 Roland McGrath <roland@hack.frob.com>
7640
d9a17c07
RM
7641 [BZ #13792]
7642 * manual/examples/README: New file, says the example source files
7643 can be used under GPL>=2.
7644 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7645 line containing just "*/".
7646 * manual/examples/add.c: Add copyright header (GPL>=2).
7647 * manual/examples/argp-ex1.c: Likewise.
7648 * manual/examples/argp-ex2.c: Likewise.
7649 * manual/examples/argp-ex3.c: Likewise.
7650 * manual/examples/argp-ex4.c: Likewise.
7651 * manual/examples/atexit.c: Likewise.
7652 * manual/examples/db.c: Likewise.
7653 * manual/examples/dir.c: Likewise.
7654 * manual/examples/dir2.c: Likewise.
7655 * manual/examples/execinfo.c: Likewise.
7656 * manual/examples/filecli.c: Likewise.
7657 * manual/examples/filesrv.c: Likewise.
7658 * manual/examples/fmtmsgexpl.c: Likewise.
7659 * manual/examples/genpass.c: Likewise.
7660 * manual/examples/inetcli.c: Likewise.
7661 * manual/examples/inetsrv.c: Likewise.
7662 * manual/examples/isockad.c: Likewise.
7663 * manual/examples/longopt.c: Likewise.
7664 * manual/examples/memopen.c: Likewise.
7665 * manual/examples/memstrm.c: Likewise.
7666 * manual/examples/mkfsock.c: Likewise.
7667 * manual/examples/mkisock.c: Likewise.
7668 * manual/examples/mygetpass.c: Likewise.
7669 * manual/examples/pipe.c: Likewise.
7670 * manual/examples/popen.c: Likewise.
7671 * manual/examples/rprintf.c: Likewise.
7672 * manual/examples/search.c: Likewise.
7673 * manual/examples/select.c: Likewise.
7674 * manual/examples/setjmp.c: Likewise.
7675 * manual/examples/sigh1.c: Likewise.
7676 * manual/examples/sigusr.c: Likewise.
7677 * manual/examples/stpcpy.c: Likewise.
7678 * manual/examples/strdupa.c: Likewise.
7679 * manual/examples/strftim.c: Likewise.
7680 * manual/examples/strncat.c: Likewise.
7681 * manual/examples/subopt.c: Likewise.
7682 * manual/examples/swapcontext.c: Likewise.
7683 * manual/examples/termios.c: Likewise.
7684 * manual/examples/testopt.c: Likewise.
7685 * manual/examples/testpass.c: Likewise.
7686 * manual/examples/timeval_subtract.c: Likewise.
7687
01ae168d
RM
7688 [BZ #13792]
7689 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7690 function to ...
7691 * manual/timeval_subtract.c.texi: ... here, new file.
7692
49efa33d
DM
76932012-03-02 David S. Miller <davem@davemloft.net>
7694
7695 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7696
28afd92d
JM
76972012-03-02 Joseph Myers <joseph@codesourcery.com>
7698
804360ed
JM
7699 [BZ #3976]
7700 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7701 (__sin): Save and restore rounding mode and use round-to-nearest
7702 for all computations.
7703 (__cos): Save and restore rounding mode and use round-to-nearest
7704 for all computations.
7705 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7706 <fenv.h>.
7707 (tan): Save and restore rounding mode and use round-to-nearest for
7708 all computations.
7709 * math/libm-test.inc (cos_test_tonearest): New function.
7710 (cos_test_towardzero): Likewise.
7711 (cos_test_downward): Likewise.
7712 (cos_test_upward): Likewise.
7713 (sin_test_tonearest): Likewise.
7714 (sin_test_towardzero): Likewise.
7715 (sin_test_downward): Likewise.
7716 (sin_test_upward): Likewise.
7717 (tan_test_tonearest): Likewise.
7718 (tan_test_towardzero): Likewise.
7719 (tan_test_downward): Likewise.
7720 (tan_test_upward): Likewise.
7721 (main): Call the new functions.
7722 * sysdeps/i386/fpu/libm-test-ulps: Update.
7723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7724
a6d06d7b
JM
7725 [BZ #10135]
7726 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7727 small n, then large n, before computing and testing k+n.
7728 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7729 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7730 Likewise.
7731 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7732 Likewise.
7733 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7734 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7735 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7736 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7737 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7738 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7739 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7740 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7741 * math/libm-test.inc (scalbn_test): Add more tests.
7742 (scalbln_test): Likewise.
7743
07e12bb3
JM
7744 * manual/filesys.texi (mode_t): Describe constraints on size and
7745 signedness, not exact equivalence to a particular type.
7746 (ino_t): Likewise.
7747 (ino64_t): Likewise.
7748 (dev_t): Likewise.
7749 (nlink_t): Likewise.
7750 (blkcnt_t): Likewise.
7751 (blkcnt64_t): Likewise.
7752 * manual/llio.texi (off_t): Likewise.
7753
28afd92d
JM
7754 [BZ #3976]
7755 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7756 (__ieee754_exp): Save and restore rounding mode and use
7757 round-to-nearest for all computations.
7758 * math/libm-test.inc (exp_test_tonearest): New function.
7759 (exp_test_towardzero): Likewise.
7760 (exp_test_downward): Likewise.
7761 (exp_test_upward): Likewise.
7762 (main): Call the new functions.
7763 * sysdeps/i386/fpu/libm-test-ulps: Update.
7764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7765
b1eeb65d
CD
77662012-03-01 Chris Demetriou <cgd@google.com>
7767
7768 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7769 have predictable order.
7770
53362a4b
DM
77712012-03-01 David S. Miller <davem@davemloft.net>
7772
3c969083
DM
7773 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7774
759707de
DM
7775 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7776 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7777 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7778 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7779
dfdb8ff2
DM
7780 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7781 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7782 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7784 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7785 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7786 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7787 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7788 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7789
ead89f96
DM
7790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7791
7f66bd07
DM
7792 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7793 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7794 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7795
53362a4b
DM
7796 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7797 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7798 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7799 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7800 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7801 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7802 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7803 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7804 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7805 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7806 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7807 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7808 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7809 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7810 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7811 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7812 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7813 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7814 * sysdeps/sparc/elf/configure: Regenerated.
7815
7b1902cb
JM
78162012-03-01 Joseph Myers <joseph@codesourcery.com>
7817
bec039bc
JM
7818 * configure.in (AS, LD): Require binutils 2.20 or later.
7819 * configure: Regenerated.
7820 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7821 as required minimum version.
7822 * INSTALL: Regenerated.
7823
7b1902cb
JM
7824 [BZ #2541]
7825 [BZ #4108]
7826 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7827 before squaring exponent.
7828 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7829 bottom long double and 27 bits of top long double before squaring
7830 exponent.
7831 * math/libm-test.inc (erfc_test): Add more tests.
7832 * sysdeps/i386/fpu/libm-test-ulps: Update.
7833 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7835
f775c276
KT
78362012-03-01 Kai Tietz <ktietz@redhat.com>
7837
7838 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7839 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7840 containing bit-fields.
7841 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7842 * soft-fp/single.h (_FP_UNION_S): Likewise.
7843 * soft-fp/double.h (_FP_UNION_D): Likewise.
7844
5b8a4d4a
JM
78452012-02-29 Joseph Myers <joseph@codesourcery.com>
7846
0bab47b6
JM
7847 [BZ #13786]
7848 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7849 not include ../strcmp.S.
7850 [USE_AS_STRNCASECMP_L]: Likewise.
7851 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7852 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7853 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7854 (__strncasecmp_l_ia32): Define as alias to
7855 __strncasecmp_l_nonascii.
7856
0fcad3e2
JM
7857 [BZ #5794]
7858 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7859 * sysdeps/i386/fpu/libm-test-ulps: Update.
7860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7861
5b8a4d4a
JM
7862 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7864
8fdceb2e
JL
78652012-02-29 Jeff Law <law@redhat.com>
7866
7867 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7868 out of bounds read.
7869
1f393a11
MP
78702012-02-29 Marek Polacek <polacek@redhat.com>
7871
7872 [BZ #13706]
7873 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7874 * elf/Makefile: Add rules to run tst-unused-dep.out.
7875
8847f037
DM
78762012-02-28 David S. Miller <davem@davemloft.net>
7877
7878 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7879 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7880 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7881 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7882 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7883 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7884
169d7f11
JM
78852012-02-29 Joseph Myers <joseph@codesourcery.com>
7886
7887 * math/libm-test.inc (llround_test): Move one test from
7888 lround_test. Use TEST_f_L in moved test.
7889 (lround_test): Move misplaced test to llround_test. Add testcase
7890 from bug 2561.
7891
39adf059
UD
78922012-02-28 Ulrich Drepper <drepper@gmail.com>
7893
7894 * sysdeps/x86_64/fpu/e_expf.S: New file.
7895 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7896
71b5d1c5
SB
78972012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7898
7899 [BZ #13637]
7900 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7901 of remain_len that may cause incomplete multi-byte character and
7902 false match.
7903 * posix/bug-regex33.c: New file.
7904 * posix/Makefile (tests): Add bug-regex33.
7905
1f77f049
JM
79062012-02-28 Joseph Myers <joseph@codesourcery.com>
7907
7908 * manual/macros.texi: New file.
7909 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7910 * manual/libc.texinfo: Include macros.texi.
7911 * manual/creatute.texi: Likewise.
7912 * manual/install.texi: Likewise.
7913 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7914 @glibcadj{} in references to the GNU C Library.
7915 * manual/charset.texi: Likewise.
7916 * manual/conf.texi: Likewise.
7917 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7918 when not using those macros.
7919 * manual/creature.texi: Likewise.
7920 * manual/crypt.texi: Likewise.
7921 * manual/errno.texi: Likewise.
7922 * manual/filesys.texi: Likewise.
7923 * manual/header.texi: Likewise.
7924 * manual/install.texi: Likewise.
7925 * manual/intro.texi: Likewise.
7926 * manual/io.texi: Likewise.
7927 * manual/job.texi: Likewise.
7928 * manual/lang.texi: Likewise.
7929 * manual/libc.texiinfo: Likewise.
7930 * manual/llio.texi: Likewise.
7931 * manual/locale.texi: Likewise.
7932 * manual/maint.texi: Likewise.
7933 * manual/math.texi: Likewise.
7934 * manual/memory.texi: Likewise.
7935 * manual/message.texi: Likewise.
7936 * manual/nss.texi: Likewise.
7937 * manual/pattern.texi: Likewise.
7938 * manual/process.texi: Likewise.
7939 * manual/resource.texi: Likewise.
7940 * manual/search.texi: Likewise.
7941 * manual/setjmp.texi: Likewise.
7942 * manual/signal.texi: Likewise.
7943 * manual/socket.texi: Likewise.
7944 * manual/startup.texi: Likewise.
7945 * manual/stdio.texi: Likewise.
7946 * manual/string.texi: Likewise.
7947 * manual/sysinfo.texi: Likewise.
7948 * manual/syslog.texi: Likewise.
7949 * manual/terminal.texi: Likewise.
7950 * manual/time.texi: Likewise.
7951 * manual/users.texi: Likewise.
7952 * INSTALL: Regenerated.
7953 * NOTES: Regenerated.
d40c5d54 7954 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7955
450bf206
AS
79562012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7957
7958 * include/dirent.h: Include <dirstream.h> before
7959 <dirent/dirent.h>.
7960
741a235b
DM
79612012-02-28 David S. Miller <davem@davemloft.net>
7962
7963 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7964 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7965 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7966 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7967
d6b5aa58
DM
79682012-02-27 David S. Miller <davem@davemloft.net>
7969
1aff59a3
DM
7970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7972 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7973 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7974
d6b5aa58
DM
7975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7976 frame pointer instead of stack pointer relative arg slot.
7977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7978 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7979 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7980
433f48bf
CD
79812012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7982
7983 [BZ #3992]
7984 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7985
d674b76d
DM
79862012-02-27 David S. Miller <davem@davemloft.net>
7987
7988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7992 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7993 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7994 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7995 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7996
0e7727f7
JM
79972012-02-27 Joseph Myers <joseph@codesourcery.com>
7998
7999 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8000 later. Allow versions 5-9.
43be4ca2 8001 * configure: Regenerated.
0e7727f7
JM
8002 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8003 required minimum version and 4.6 as recommended version. Do not
8004 mention bugs in GCC 2.7 and 2.8.
43be4ca2 8005 * INSTALL: Regenerated.
0e7727f7 8006
a78bc654
DM
80072012-02-27 David S. Miller <davem@davemloft.net>
8008
428d5830
DM
8009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8013 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8014 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8015 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8016 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8017
a78bc654
DM
8018 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8019 manipulate bits before adding and subtracting TWO112[sx].
8020 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8021
4579f81c
RM
80222012-02-27 Roland McGrath <roland@hack.frob.com>
8023
36c8acb4
RM
8024 [BZ #13775]
8025 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8026 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8027 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8028 being in POSIX, because they are in 1003.1-2008.
8029
84ad622b
RM
8030 * rt/tst-aio.c: Include <fcntl.h>.
8031 * rt/tst-aio7.c: Likewise.
8032 * rt/tst-aio64.c: Likewise.
8033
4579f81c
RM
8034 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8035
abd923db
JM
80362012-02-27 Joseph Myers <joseph@codesourcery.com>
8037
8038 * manual/install.texi (--with-headers): Describe headers as
8039 interface headers, not private headers.
8040 (Specific advice for GNU/Linux systems): Describe use of headers
8041 from "make headers_install", not private headers from older
8042 kernels.
43be4ca2 8043 * INSTALL: Regenerated.
abd923db
JM
8044 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8045 Change to 2.6.19.
8046 * sysdeps/unix/sysv/linux/configure: Regenerated.
8047
6664049b
JM
8048 * manual/llio.texi (fclean): Remove documentation.
8049
bb8b6697
JM
8050 * manual/Makefile (libc-texi-generated): New variable. Include
8051 version.texi.
8052 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8053 $(libc-texi-generated), not duplicated list of files.
8054 (version.texi, stamp-version): New rules.
8055 (realclean): Remove $(libc-texi-generated), not individual files
8056 from that list. Do not remove dir-add.texinfo.
8057 * manual/libc.texinfo: Comment out uses of edition numbers and
8058 references to printed manual. Remove last-updated dates.
8059 (EDITION): Comment out.
8060 (ISBN): Likewise.
8061 (VERSION, UPDATED): Remove.
8062 (version.texi): Include.
8063
12e5c3b9
AS
80642012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8065
8066 * sysdeps/posix/spawni.c: Include <signal.h>.
8067 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8068 * sysdeps/pthread/aio_fsync.c: Likewise.
8069
4efeffc1 80702012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8071
ba63ba08
UD
8072 * conform/Makefile (tests): Run only when not cross-compiling and
8073 when fast-check is not defined.
8074
d94a4670
UD
8075 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8076 * conform/data/limits.h-data: Fixes for POSIX2008.
8077 * conform/run-conformtest.sh: Run all tests.
8078 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8079 headers.
8080 * include/bits/dlfcn.h: Likewise.
8081 * include/langinfo.h: Likewise.
8082 * include/monetary.h: Likewise.
8083 * include/sys/poll.h: Likewise.
8084
8085 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8086 for __USE_GNU.
8087 * posix/spawn.h: Define __need_sigset_t.
8088 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8089 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8090 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8091 to get sigevent_t only.
8092 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8093 only for __USE_GNU.
8094 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8095 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8096 process_vm_writev only for __USE_GNU.
8097 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8098
8099 * conform/Makefile: For now ignore errors from run-conformtest.
8100 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8101 POSIX to avoid namespace pollution. Don't prepend headers.
8102 * conform/data/aio.h-data: Fixes for POSIX testing.
8103 * conform/data/fcntl.h-data: Likewise.
8104 * conform/data/glob.h-data: Likewise.
8105 * conform/data/grp.h-data: Likewise.
8106 * conform/data/pthread.h-data: Likewise.
8107 * conform/data/pwd.h-data: Likewise.
8108 * conform/data/signal.h-data: Likewise.
8109 * conform/data/spawn.h-data: Likewise.
8110 * conform/data/stdio.h-data: Likewise.
8111 * conform/data/stdlib.h-data: Likewise.
8112 * conform/data/stropts.h-data: Likewise.
8113 * conform/data/sys/mman.h-data: Likewise.
8114 * conform/data/sys/stat.h-data: Likewise.
8115 * conform/data/sys/types.h-data: Likewise.
8116 * conform/data/sys/wait.h-data: Likewise.
8117 * conform/data/time.h-data: Likewise.
8118 * conform/data/unistd.h-data: Likewise.
8119 * conform/data/utime.h-data: Likewise.
8120
8121 * io/sys/stat.h: fchmod was always in POSIX.
8122 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8123 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8124 * rt/aio.h: Define __need_timespec before including <time.h>.
8125 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8126 struct. Add forward declaration of pthread_attr_t and use it in
8127 sigevent.
8128 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8129 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8130 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8131 always remove CLK_TCK definition.
8132
c20105c3
AS
81332012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8134
8135 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8136
7a270350
UD
81372012-02-25 Ulrich Drepper <drepper@gmail.com>
8138
31341567
UD
8139 * conform/run-conformtest.sh: New file.
8140 * conform/Makefile: Run run-conformtest for tests.
8141 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8142 support.
8143
8144 * conform/data/uchar.h-data: New file.
8145 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8146 * conform/data/arpa/inet.h-data: Likewise.
8147 * conform/data/assert.h-data: Likewise.
8148 * conform/data/complex.h-data: Likewise.
8149 * conform/data/cpio.h-data: Likewise.
8150 * conform/data/ctype.h-data: Likewise.
8151 * conform/data/dirent.h-data: Likewise.
8152 * conform/data/dlfcn.h-data: Likewise.
8153 * conform/data/errno.h-data: Likewise.
8154 * conform/data/fcntl.h-data: Likewise.
8155 * conform/data/float.h-data: Likewise.
8156 * conform/data/fmtmsg.h-data: Likewise.
8157 * conform/data/fnmatch.h-data: Likewise.
8158 * conform/data/ftw.h-data: Likewise.
8159 * conform/data/glob.h-data: Likewise.
8160 * conform/data/grp.h-data: Likewise.
8161 * conform/data/iconv.h-data: Likewise.
8162 * conform/data/inttypes.h-data: Likewise.
8163 * conform/data/langinfo.h-data: Likewise.
8164 * conform/data/libgen.h-data: Likewise.
8165 * conform/data/limits.h-data: Likewise.
8166 * conform/data/locale.h-data: Likewise.
8167 * conform/data/math.h-data: Likewise.
8168 * conform/data/monetary.h-data: Likewise.
8169 * conform/data/mqueue.h-data: Likewise.
8170 * conform/data/ndbm.h-data: Likewise.
8171 * conform/data/net/if.h-data: Likewise.
8172 * conform/data/netdb.h-data: Likewise.
8173 * conform/data/netinet/in.h-data: Likewise.
8174 * conform/data/nl_types.h-data: Likewise.
8175 * conform/data/poll.h-data: Likewise.
8176 * conform/data/pthread.h-data: Likewise.
8177 * conform/data/pwd.h-data: Likewise.
8178 * conform/data/regex.h-data: Likewise.
8179 * conform/data/sched.h-data: Likewise.
8180 * conform/data/search.h-data: Likewise.
8181 * conform/data/semaphore.h-data: Likewise.
8182 * conform/data/setjmp.h-data: Likewise.
8183 * conform/data/signal.h-data: Likewise.
8184 * conform/data/spawn.h-data: Likewise.
8185 * conform/data/stdarg.h-data: Likewise.
8186 * conform/data/stdio.h-data: Likewise.
8187 * conform/data/stdlib.h-data: Likewise.
8188 * conform/data/string.h-data: Likewise.
8189 * conform/data/strings.h-data: Likewise.
8190 * conform/data/stropts.h-data: Likewise.
8191 * conform/data/sys/ipc.h-data: Likewise.
8192 * conform/data/sys/mman.h-data: Likewise.
8193 * conform/data/sys/msg.h-data: Likewise.
8194 * conform/data/sys/resource.h-data: Likewise.
8195 * conform/data/sys/select.h-data: Likewise.
8196 * conform/data/sys/sem.h-data: Likewise.
8197 * conform/data/sys/shm.h-data: Likewise.
8198 * conform/data/sys/socket.h-data: Likewise.
8199 * conform/data/sys/stat.h-data: Likewise.
8200 * conform/data/sys/statvfs.h-data: Likewise.
8201 * conform/data/sys/time.h-data: Likewise.
8202 * conform/data/sys/timeb.h-data: Likewise.
8203 * conform/data/sys/times.h-data: Likewise.
8204 * conform/data/sys/types.h-data: Likewise.
8205 * conform/data/sys/uio.h-data: Likewise.
8206 * conform/data/sys/un.h-data: Likewise.
8207 * conform/data/sys/utsname.h-data: Likewise.
8208 * conform/data/sys/wait.h-data: Likewise.
8209 * conform/data/syslog.h-data: Likewise.
8210 * conform/data/tar.h-data: Likewise.
8211 * conform/data/termios.h-data: Likewise.
8212 * conform/data/utime.h-data: Likewise.
8213 * conform/data/utmpx.h-data: Likewise.
8214 * conform/data/varargs.h-data: Likewise.
8215 * conform/data/wchar.h-data: Likewise.
8216 * conform/data/wctype.h-data: Likewise.
8217 * conform/data/wordexp.h-data: Likewise.
8218
8219 * include/stropts.h: New file.
8220 * include/uchar.h: New file.
8221 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8222 * include/assert.h: Likewise.
8223 * include/ctype.h: Likewise.
8224 * include/dirent.h: Likewise.
8225 * include/dlfcn.h: Likewise.
8226 * include/fcntl.h: Likewise.
8227 * include/fnmatch.h: Likewise.
8228 * include/glob.h: Likewise.
8229 * include/grp.h: Likewise.
8230 * include/libio.h: Likewise.
8231 * include/locale.h: Likewise.
8232 * include/math.h: Likewise.
8233 * include/net/if.h: Likewise.
8234 * include/netdb.h: Likewise.
8235 * include/netinet/in.h: Likewise.
8236 * include/pthread.h: Likewise.
8237 * include/pwd.h: Likewise.
8238 * include/regex.h: Likewise.
8239 * include/sched.h: Likewise.
8240 * include/search.h: Likewise.
8241 * include/setjmp.h: Likewise.
8242 * include/signal.h: Likewise.
8243 * include/stdio.h: Likewise.
8244 * include/stdlib.h: Likewise.
8245 * include/string.h: Likewise.
8246 * include/sys/cdefs.h: Likewise.
8247 * include/sys/mman.h: Likewise.
8248 * include/sys/msg.h: Likewise.
8249 * include/sys/resource.h: Likewise.
8250 * include/sys/select.h: Likewise.
8251 * include/sys/socket.h: Likewise.
8252 * include/sys/stat.h: Likewise.
8253 * include/sys/statvfs.h: Likewise.
8254 * include/sys/time.h: Likewise.
8255 * include/sys/times.h: Likewise.
8256 * include/sys/uio.h: Likewise.
8257 * include/sys/utsname.h: Likewise.
8258 * include/sys/wait.h: Likewise.
8259 * include/termios.h: Likewise.
8260 * include/time.h: Likewise.
8261 * include/ulimit.h: Likewise.
8262 * include/unistd.h: Likewise.
8263 * include/utime.h: Likewise.
8264 * include/wchar.h: Likewise.
8265 * include/wctype.h: Likewise.
8266 * include/wordexp.h: Likewise.
8267
8268 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8269
7a270350
UD
8270 * time/time.h: TIME_UTC must be a macro.
8271 Make timespec_get available for ISO C11 only as well.
8272
7724defc
UD
82732012-02-24 Ulrich Drepper <drepper@gmail.com>
8274
8275 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8276 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8277
6b1d1d46
JM
82782012-02-24 Joseph Myers <joseph@codesourcery.com>
8279
8280 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8281
0f8bbd69
JM
82822012-02-24 Joseph Myers <joseph@codesourcery.com>
8283
8284 * manual/texinfo.tex: Update to version 2012-01-19.16.
8285
66ab80bc
JM
82862012-02-24 Joseph Myers <joseph@codesourcery.com>
8287
8288 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8289
74981cc5
RM
82902012-02-24 Roland McGrath <roland@hack.frob.com>
8291
ee968201
RM
8292 [BZ #13738]
8293 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8294 * manual/fdl-1.3.texi: New file.
8295 * manual/fdl-1.1.texi: File removed.
8296
74981cc5
RM
8297 [BZ #13738]
8298 * manual/libc.texinfo (FDL_VERSION): New @set.
8299 Use it for mention of FDL in cover text.
8300 (Documentation License): Use it in @include file name.
8301
7bb764bc
JM
83022012-02-22 Joseph Myers <joseph@codesourcery.com>
8303 Roland McGrath <roland@hack.frob.com>
8304
8305 [BZ #5461]
8306 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8307 not LONG_LONG_MAX and LONG_LONG_MIN.
8308 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8309 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8310 name.
8311 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8312
6cbeae47
JM
83132012-02-22 Joseph Myers <joseph@codesourcery.com>
8314
8315 [BZ #2547]
8316 [BZ #11365]
8317 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8318 manipulate bits before adding and subtracting TWO23[sx].
8319 * math/libm-test.inc (nearbyint_test): Add more tests.
8320
fe45ce09
JM
83212012-02-22 Joseph Myers <joseph@codesourcery.com>
8322
8323 [BZ #2548]
8324 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8325 bits before adding and subtracting TWO23[sx].
8326 * math/libm-test.inc (rint_test): Add more tests.
8327 (rint_test_tonearest): Likewise.
8328 (rint_test_towardzero): Likewise.
8329 (rint_test_downward): Likewise.
8330 (rint_test_upward: Likewise.
8331
ff3b3d82
JM
83322012-02-22 Joseph Myers <joseph@codesourcery.com>
8333
8334 [BZ #10110]
8335 * include/stdc-predef.h: New file. Extracted from features.h.
8336 * include/features.h: Include stdc-predef.h.
8337 * Makefile (headers): Add stdc-predef.h.
8338 * CONFORMANCE (Compiler limitations): Update.
8339
ef0aab35
JM
83402012-02-22 Joseph Myers <joseph@codesourcery.com>
8341
8342 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8343
58639409
DM
83442012-02-21 David S. Miller <davem@davemloft.net>
8345
8346 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8347 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8348
c0e70b25
DM
83492012-02-20 David S. Miller <davem@davemloft.net>
8350
8351 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8352 using a normal save/restore sequence, rather than allocating a
8353 dummy stack frame just to store a frame pointer and restore.
8354 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8355
fb06851d
JM
83562012-02-21 Joseph Myers <joseph@codesourcery.com>
8357
8358 * manual/install.texi: Fix stray word in line-wrapped comment.
8359
7a8b71c3
DM
83602012-02-20 David S. Miller <davem@davemloft.net>
8361
d510c123
DM
8362 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8363 both binutils and gcc support GOTDATA.
8364
0722d7c2
DM
8365 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8366 "rd %pc" in the PIC register setup sequences.
8367
3d2b3019
DM
8368 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8369 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8370 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8371 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8372 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8373 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8374 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8375 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8376 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8377 (SYSCALL_ERROR_HANDLER): Likewise.
8378 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8379 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8380 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8381 (SYSCALL_ERROR_HANDLER): Likewise.
8382
c80098a9
DM
8383 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8384 (HAVE_GCC_GOTDATA): New.
8385 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8386 relocation support in both binutils and gcc.
8387 * sysdeps/sparc/elf/configure: Regenerate.
8388
3a2545a0
DM
8389 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8390 * sysdeps/sparc/sparc32/elf/configure: Delete.
8391 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8392 * sysdeps/sparc/sparc64/elf/configure: Delete.
8393 * sysdeps/sparc/elf/configure.in: New file.
8394 * sysdeps/sparc/elf/configure: Generate.
8395
7a8b71c3
DM
8396 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8397 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8398 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8399 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8400 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8401
f1e86fca
JM
84022012-02-21 Joseph Myers <joseph@codesourcery.com>
8403
8404 * manual/install.texi: Do not mention specific glibc version
8405 numbers.
8406 * manual/libc.texinfo (VERSION, UPDATED): Update.
8407 (@copying): Use @copyright{} and range of years.
8408
0e7dfaef
JM
84092012-02-21 Joseph Myers <joseph@codesourcery.com>
8410
8411 [BZ #13695]
8412 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8413 [crti.S not in sysdirs] (generated): Do not append.
8414 [crti.S not in sysdirs] (omit-deps): Likewise.
8415 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8416 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8417 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8418 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8419 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8420 Likewise.
8421 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8422 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8423 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8424 * csu/defs.awk: Remove file.
8425 * sysdeps/generic/initfini.c: Likewise.
8426 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8427 variable.
8428 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8429 Likewise.
8430
599af3ca
JM
84312012-02-20 Joseph Myers <joseph@codesourcery.com>
8432
8433 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8434 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8435 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8436 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8437 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8438 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8439 <bits/epoll.h>.
8440 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8441 (__EPOLL_PACKED): Define to empty if not defined by
8442 <bits/epoll.h>.
8443 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8444 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8445 bits/epoll.h.
8446
0e499750
JM
84472012-02-20 Joseph Myers <joseph@codesourcery.com>
8448
8449 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8450 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8451 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8452 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8453 <bits/timerfd.h>.
8454 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8455 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8456 bits/timerfd.h.
8457
5ad91f6e
JM
84582012-02-20 Joseph Myers <joseph@codesourcery.com>
8459
8460 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8461 in C locale.
8462 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8463 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8464 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8466
06b99b02
AJ
84672012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8468
8469 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8470 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8471
7638c0fd
AS
84722012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8473
8474 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8475 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8476 defined.
8477 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8478 Likewise.
8479 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8480 entry for 2.16.
8481
92221550
AJ
84822012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8483
8484 * math/w_acos.c: Use non-signaling floating-point comparisons.
8485 * math/w_acosf.c: Likewise.
8486 * math/w_acosh.c: Likewise.
8487 * math/w_acoshf.c: Likewise.
8488 * math/w_acoshl.c: Likewise.
8489 * math/w_acosl.c: Likewise.
8490 * math/w_asin.c: Likewise.
8491 * math/w_asinf.c: Likewise.
8492 * math/w_asinl.c: Likewise.
8493 * math/w_atanh.c: Likewise.
8494 * math/w_atanhf.c: Likewise.
8495 * math/w_atanhl.c: Likewise.
8496 * math/w_exp2.c: Likewise.
8497 * math/w_exp2f.c: Likewise.
8498 * math/w_exp2l.c: Likewise.
8499 * math/w_j0.c: Likewise.
8500 * math/w_j0f.c: Likewise.
8501 * math/w_j0l.c: Likewise.
8502 * math/w_j1.c: Likewise.
8503 * math/w_j1f.c: Likewise.
8504 * math/w_j1l.c: Likewise.
8505 * math/w_jn.c: Likewise.
8506 * math/w_jnf.c: Likewise.
8507 * math/w_log.c: Likewise.
8508 * math/w_log10.c: Likewise.
8509 * math/w_log10f.c: Likewise.
8510 * math/w_log10l.c: Likewise.
8511 * math/w_log2.c: Likewise.
8512 * math/w_log2f.c: Likewise.
8513 * math/w_log2l.c: Likewise.
8514 * math/w_logf.c: Likewise.
8515 * math/w_logl.c: Likewise.
8516 * math/w_sqrt.c: Likewise.
8517 * math/w_sqrtf.c: Likewise.
8518 * math/w_sqrtl.c: Likewise.
8519 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8520 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8521 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8522 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8523 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8524
ebaf36eb
JM
85252012-02-19 Joseph Myers <joseph@codesourcery.com>
8526
8527 [BZ #9739]
8528 * manual/string.texi (strnlen): Use correct parameter name in
8529 equivalent expression.
8530
71c254a6
JM
85312012-02-19 Joseph Myers <joseph@codesourcery.com>
8532
8533 [BZ #11174]
8534 * manual/users.texi (seteuid): Consistently use neweuid for
8535 argument name.
8536
16d2c631
JM
85372012-02-19 Joseph Myers <joseph@codesourcery.com>
8538
8539 [BZ #13704]
8540 * manual/nss.texi (Services in the NSS configuration): Correct
8541 list of services in example configuration file.
8542
cd837b09
NB
85432012-02-19 Nick Bowler <nbowler@draconx.ca>
8544
8545 [BZ #11322]
8546 * manual/arith.texi: Remove statements about negative zero
8547 behaving identically to zero.
8548
02c4bbad
JM
85492012-02-18 Joseph Myers <joseph@codesourcery.com>
8550
8551 [BZ #5993]
8552 * manual/install.texi: Do not document upgrading from libc5.
8553
366842e7
JM
85542012-02-18 Joseph Myers <joseph@codesourcery.com>
8555
8556 [BZ #4596]
8557 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8558
dd54084d
DM
85592012-02-18 David S. Miller <davem@davemloft.net>
8560
8561 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8562 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8563 %o7 across the call.
8564 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8565 instead.
8566 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8567 SETUP_PIC_REG_LEAF.
8568 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8569 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8570 * sysdeps/sparc/crtn.S: Likewise.
8571
2bcc53a3
UD
85722012-02-17 Ulrich Drepper <drepper@gmail.com>
8573
8574 * aout/Makefile: Remove.
8575
09c093b5
RK
85762012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8577
8578 [BZ #13058]
8579 * manual/examples/argp-ex1.c (main): Format definition in GNU
8580 style.
8581 * manual/examples/argp-ex2.c (main): Likewise.
8582 * manual/examples/argp-ex3.c (main): Likewise.
8583 * manual/examples/argp-ex4.c (main): Likewise.
8584 * manual/examples/longopt.c (main): Use new-style prototype
8585 definition.
8586 * manual/examples/strncat.c (main): Specify return type and use
8587 (void) for arguments.
8588 * manual/examples/subopt.c (main): Use char **argv argument.
8589
2ee633a2
JM
85902012-02-17 Joseph Myers <joseph@codesourcery.com>
8591
8592 [BZ #5077]
8593 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8594 rounding modes.
8595
0520adde
FB
85962012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8597
8598 [BZ #6907]
8599 * manual/string.texi (strchr): Change when strchrnul is
8600 recommended.
8601
3f4081cd
DGM
86022012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8603
8604 [BZ #174]
8605 * manual/locale.texi (setlocale): Document LOCPATH.
8606
d1b10e78
JM
86072012-02-17 Joseph Myers <joseph@codesourcery.com>
8608
8609 [BZ #10210]
8610 * manual/process.texi (execle): Move @dots{} before last argument.
8611
79c6869c
PB
86122012-02-17 Paul Bolle <pebolle@tiscali.nl>
8613
8614 [BZ #12047]
8615 * manual/charset.texi (Generic Charset Conversion): Fix typo
8616 (LC_TYPE -> LC_CTYPE).
8617
cc6e48bc
NB
86182012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8619
8620 [BZ #5805]
8621 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8622 (scalbnf): Likewise.
8623 (scalbnl): Likewise.
8624 (scalbln): Likewise.
8625 (scalblnf): Likewise.
8626 (scalblnl): Likewise.
8627 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8628 (vwarnx): Likewise.
8629 (verr): Likewise.
8630 (verrx): Likewise.
8631 * manual/filesys.texi (telldir): Use braces around return type.
8632 * manual/llio.texi (mmap): Add space after comma.
8633 (mmap64): Likewise.
8634 * manual/math.texi (jn): Use @var{} on parameter names.
8635 (jnf): Likewise.
8636 (jnl): Likewise.
8637 (yn): Likewise.
8638 (ynf): Likewise.
8639 (ynl): Likewise.
8640 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8641 line.
8642 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8643 "...".
8644 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8645 (sched_get_priority_max): Likewise.
8646 * manual/signal.texi (sigvec): Add space after comma.
8647 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8648 names.
8649 (if_indextoname): Likewise.
8650 (if_freenameindex): Likewise.
8651 (sendto): Use ',' instead of '.' in prototype.
8652 * manual/startup.texi (syscall): Use @dots{} instead of literal
8653 "...".
8654 * manual/stdio.texi (__fpending): Separate initial words of
8655 paragraph from @deftypefun line.
8656 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8657 "...".
8658 (vsyslog): Use @var{} on parameter names.
8659 * manual/terminal.texi (stty): Use @var{} on parameter names.
8660 * manual/users.texi (getutmp): Use @var{} on parameter names.
8661 (getutmpx): Likewise.
8662
5b23062f
JM
86632012-02-17 Joseph Myers <joseph@codesourcery.com>
8664
8665 [BZ #6884]
8666 * manual/stdio.texi (fopen): Fix typos in description of
8667 ",ccs=STRING".
8668
8dee4833
AJ
86692012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8670
8671 [BZ #4026]
8672 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8673 get clock_id definition.
8674
9078ce93
TS
86752012-02-17 Thomas Schwinge <thomas@schwinge.name>
8676
8677 [BZ #4822]
8678 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8679 (madvise): Cast every argument to void on its own.
8680
3835c55f
JM
86812012-02-17 Joseph Myers <joseph@codesourcery.com>
8682
8683 [BZ #9902]
8684 * manual/startup.texi (Exit Status): Fix typo.
8685
35c47e37
JM
86862012-02-17 Joseph Myers <joseph@codesourcery.com>
8687
8688 [BZ #10140]
8689 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8690 * manual/examples/argp-ex2.c: Likewise.
8691 * manual/examples/argp-ex3.c: Likewise.
8692
e3b69ca7
RH
86932012-02-16 Richard Henderson <rth@redhat.com>
8694
8695 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8696 * sysdeps/s390/s390-32/initfini.c: Remove.
8697 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8698 * sysdeps/s390/s390-64/initfini.c: Remove.
8699
df83af67
KK
87002012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8701
8702 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8703 compiler output for sysdeps/generic/initfini.c.
8704 * sysdeps/sh/elf/initfini.c: Remove file.
8705
f63f3380
DM
87062012-02-16 David S. Miller <davem@davemloft.net>
8707
fb59b3a4
DM
8708 [BZ #11494]
8709 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8710
f63f3380
DM
8711 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8712 * sysdeps/sparc/crti.S: New file.
8713 * sysdeps/sparc/crtn.S: New file.
8714 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8715 * sysdeps/sparc/sparc64/Makefile: Likewise.
8716
df6a4a4a
MF
87172012-02-15 Mike Frysinger <vapier@gentoo.org>
8718
6dd8f3dc 8719 [BZ #3335]
df6a4a4a
MF
8720 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8721
1cac7236
RM
87222012-02-15 Roland McGrath <roland@hack.frob.com>
8723
d2c736f8
RM
8724 [BZ #4822]
8725 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8726
1cac7236
RM
8727 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8728 (write, read, close): Likewise.
8729 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8730
8e475601
JM
87312012-02-15 Joseph Myers <joseph@codesourcery.com>
8732
8733 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8734 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8735 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8736 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8737 <bits/signalfd.h>.
8738 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8739 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8740 bits/signalfd.h.
8741
ed656b40
MP
87422012-02-14 Marek Polacek <polacek@redhat.com>
8743
8744 * sysdeps/x86_64/crti.S: New file.
8745 * sysdeps/x86_64/crtn.S: New file.
8746 * sysdeps/x86_64/elf/initfini.c: Remove file.
8747
2a979d3a
JM
87482012-02-13 Joseph Myers <joseph@codesourcery.com>
8749
8750 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8751 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8752 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8753 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8754 <bits/inotify.h>.
8755 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8757 bits/inotify.h.
8758
2a418ac3
JM
87592012-02-13 Joseph Myers <joseph@codesourcery.com>
8760
8761 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8762 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8763 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8764 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8765 <bits/eventfd.h>.
8766 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8767 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8768 bits/eventfd.h.
8769
fb779be7
TS
87702012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8771
e19e83c5
RM
8772 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8773 __feraiseexcept instead of feraiseexcept.
7c35ffed 8774
fb779be7
TS
8775 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8776 nanosleep invocations.
8777 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8778 strings, and add error checking for a nanosleep invocations.
8779
59ba27a6
PE
87802012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8781
8782 Replace FSF snail mail address with URLs, as per GNU coding standards.
8783 Most of the snail mail addresses were wrong anyway, and omitting
8784 them makes the source code easier to maintain. Almost all of the
8785 changes are to license notices and to locale LC_IDENTIFICATION
8786 addresses, except for this one:
8787 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8788 not its snail mail address.
8789
57b957eb
RH
87902012-02-09 Richard Henderson <rth@twiddle.net>
8791
af850b1c
RH
8792 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8793 of kernel-features.h.
8794
57b957eb
RH
8795 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8796
6b73181a
MP
87972012-02-08 Marek Polacek <polacek@redhat.com>
8798
8799 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8800 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8801 * sysdeps/gnu/_G_config.h: Likewise.
8802 * sysdeps/generic/_G_config.h: Likewise.
8803
26ecc33a
AS
88042012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8805
6c6dbc63
AS
8806 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8807 tests.
8808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8809
e216c012
AS
8810 * sysdeps/powerpc/powerpc32/crti.S: New file.
8811 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8812 * sysdeps/powerpc/powerpc64/crti.S: New file.
8813 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8814
26ecc33a
AS
8815 * Makeconfig (have-initfini): Don't set.
8816 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8817 * configure.in (nopic_initfini): Don't substitute.
8818 * config.h.in (HAVE_INITFINI): Don't #undef.
8819 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8820 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8821
3add8e13
JM
88222012-02-08 Joseph Myers <joseph@codesourcery.com>
8823
8824 Support crti.S and crtn.S provided directly by architectures.
8825 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8826 [crti.S in sysdirs] (omit-deps): Likewise.
8827 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8828 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8829 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8830 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8831 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8832 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8833 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8834 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8835 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8836 compiler output for sysdeps/generic/initfini.c.
8837 * sysdeps/i386/elf/Makefile: Remove file.
8838 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8839
a22f12b4
MP
88402012-02-07 Marek Polacek <polacek@redhat.com>
8841
8842 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8843 * sysdeps/gnu/_G_config.h: Likewise.
8844 * sysdeps/mach/hurd/_G_config.h: Likewise.
8845
148cf100
MP
88462012-02-07 Marek Polacek <polacek@redhat.com>
8847
8848 * math/Makefile (tests): Add tst-CMPLX2.
8849 * math/tst-CMPLX2.c: New file.
8850
cfdc0dd7
AS
88512012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8852
84ba42c4
AS
8853 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8854
cfdc0dd7
AS
8855 * math/libm-test.inc (jn_test): Add missing L suffix.
8856
622c86f4
MP
88572012-02-06 Marek Polacek <polacek@redhat.com>
8858
8859 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8860 * sysdeps/i386/fpu/e_powf.S: Likewise.
8861 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8862 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8863 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8864 * sysdeps/i386/fpu/e_pow.S: Likewise.
8865 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8866 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8867 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8868 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8869 * sysdeps/i386/fpu/e_log2.S: Likewise.
8870 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8871 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8872 * sysdeps/i386/fpu/e_powl.S: Likewise.
8873 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8874 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8875 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8876 * sysdeps/i386/fpu/e_logl.S: Likewise.
8877 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8878 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8879 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8880 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8881 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8882 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8883 * sysdeps/i386/fpu/e_log.S: Likewise.
8884 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8885 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8886 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8887 * sysdeps/i386/fpu/e_logf.S: Likewise.
8888 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8889 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8890 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8891 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8892 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8893 * sysdeps/i386/fpu/e_log10.S: Likewise.
8894 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8895 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8896 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8897 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8898 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8899 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8900 * sysdeps/i386/asm-syntax.h: Likewise.
8901 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8902 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8903 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8904 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8905 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8906 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8907 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8908 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8909 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8910 * sysdeps/powerpc/sysdep.h: Likewise.
8911 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8912 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8913
d4a54ac6
JM
89142012-02-06 Joseph Myers <joseph@codesourcery.com>
8915
8916 [BZ #411]
8917 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8918
314054ea
JM
89192012-02-06 Joseph Myers <joseph@codesourcery.com>
8920
8921 * sysdeps/i386/sysdep.h: Include <features.h>.
8922 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8923 version.
8924
d8e0ca50
JM
89252012-02-05 Joseph Myers <joseph@codesourcery.com>
8926
8927 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8928 Define.
8929 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8930 LOAD_PIC_REG_STR.
8931
b1da7dd9
JM
89322012-02-03 Joseph Myers <joseph@codesourcery.com>
8933
8934 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8935 (SETUP_PIC_REG): Use GET_PC_THUNK.
8936 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8937 macro.
8938
9a1d9254
JM
89392012-02-03 Joseph Myers <joseph@codesourcery.com>
8940
8941 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8942 for non-PIC compilation.
8943 (SETUP_PIC_REG): Add .p2align directive.
8944 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8945 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8946 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8947 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8948 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8949 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8950 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8951 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8952 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8953 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8954 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8955 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8956 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8957 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8958 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8959 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8960 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8961 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8962 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8963 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8964 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8965 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8966 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8967 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8968 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8969 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8970 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8971 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8972 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8973 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8974 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8975 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8976 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8977 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8978 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8979 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8980 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8981 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8982 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8983 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8984 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8985
65dc3b75
JM
89862012-02-03 Joseph Myers <joseph@codesourcery.com>
8987
8988 * math/tst-CMPLX.c: Include <stdio.h>.
8989
d55bf177
JM
89902012-01-31 Joseph Myers <joseph@codesourcery.com>
8991
8992 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8993 float.
8994 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8995 * sysdeps/sparc/bits/mathdef.h: Likewise.
8996
69db4f8f
MP
89972012-01-31 Marek Polacek <polacek@redhat.com>
8998
8999 * libio/libio.h: Don't define _PARAMS.
9000 * locale/programs/config.h: Don't define PARAMS.
9001 * stdlib/strtol_l.c: Likewise.
9002 (__strtol_l): Remove PARAMS from the prototype.
9003
41b81892
UD
90042012-01-31 Ulrich Drepper <drepper@gmail.com>
9005
3b49edc0
UD
9006 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9007 names. Just use the correct names. Remove unnecessary wrapper
9008 functions.
9009 * malloc/arena.c: Likewise.
9010 * malloc/hooks.c: Likewise.
9011
41b81892
UD
9012 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9013 ARENA_TEST says not to. Simplify test for creation of a new arena.
9014 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9015
27a25b6e
UD
90162012-01-30 Ulrich Drepper <drepper@gmail.com>
9017
9018 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9019 into tail calls.
9020 (update_get_addr): New function.
9021 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9022 GET_ADDR_MODULE parameter.
9023
c8a89e7d
JM
90242012-01-30 Joseph Myers <joseph@codesourcery.com>
9025
9026 * crypt/cert.c: Remove __STDC__ conditionals.
9027 * crypt/crypt-entry.c: Likewise.
9028 * crypt/crypt_util.c: Likewise.
9029 * libio/filedoalloc.c: Likewise.
9030 * libio/fileops.c: Likewise.
9031 * libio/genops.c: Likewise.
9032 * libio/iofclose.c: Likewise.
9033 * libio/iofdopen.c: Likewise.
9034 * libio/iofopen.c: Likewise.
9035 * libio/iofopen64.c: Likewise.
9036 * libio/iogetdelim.c: Likewise.
9037 * libio/iopopen.c: Likewise.
9038 * libio/obprintf.c: Likewise.
9039 * libio/oldfileops.c: Likewise.
9040 * libio/oldiofclose.c: Likewise.
9041 * libio/oldiofdopen.c: Likewise.
9042 * libio/oldiofopen.c: Likewise.
9043 * libio/oldiopopen.c: Likewise.
9044 * libio/wfiledoalloc.c: Likewise.
9045 * libio/wgenops.c: Likewise.
9046 * locale/programs/xmalloc.c: Likewise.
9047 * misc/syslog.c: Likewise.
9048 * stdio-common/xbug.c: Likewise.
9049 * string/memchr.c: Likewise.
9050 * string/memcmp.c: Likewise.
9051 * string/memrchr.c: Likewise.
9052 * string/rawmemchr.c: Likewise.
9053 * sysdeps/posix/getcwd.c: Likewise.
9054 * time/strftime_l.c: Likewise.
9055
3b100462
JM
90562012-01-30 Joseph Myers <joseph@codesourcery.com>
9057
9058 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9059 * config.make.in (config-cflags-sse2avx): Define.
9060 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9061 Fix typo.
9062
607998af
CM
90632012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9064
9065 * scripts/config.guess: Update from upstream config git repository.
9066 * scripts/config.sub: Likewise.
9067
3601428f
CM
90682012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9069
3ac8b282
CM
9070 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9071 (EM_NUM): Update.
9072 (R_TILEPRO_*, R_TILEGX_*): New macros.
9073
e034841e
CM
9074 * scripts/firstversions.awk: Fix bug in version range handling.
9075
540d7568
CM
9076 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9077
3601428f
CM
9078 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9079
463de862
CM
9080 * include/sys/epoll.h: New file.
9081 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9082 libc_hidden_def.
9083
73139a76
UD
90842012-01-28 Ulrich Drepper <drepper@gmail.com>
9085
96bc5b45
UD
9086 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9087 Avoid unnecessary __WORDSIZE == 64 test.
9088 (fmaxf): Use VEX format if possible.
9089 (fmax): Likewise.
9090 (fminf): Likewise.
9091 (fmin): Likewise.
9092
56f6f6a2
UD
9093 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9094 * math/math_private.h: Remove libc_fegetround* and
9095 libc_fesetround*.
9096 * sysdeps/i386/configure.in: Check for -msse2avx.
9097 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9098 also if SSE2AVX is defined.
9099 Remove libc_fegetround* and libc_fesetround*.
9100 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9101 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9102 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9103 of HAS_YMM_USABLE.
9104 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9105 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9106 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9107 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9108 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9109
73139a76
UD
9110 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9111
d73f93a4
AZ
91122012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9113
9114 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9115 size is not set.
9116 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9117
6ee65ed6
UD
91182012-01-27 Ulrich Drepper <drepper@gmail.com>
9119
9120 [BZ #13618]
9121 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9122 relocation.
9123 * Makeconfig (libm): Define.
9124 * elf/Makefile: Add rules to build and run tst-relsort1.
9125 * elf/tst-relsort1.c: New file.
9126 * elf/tst-relsort1mod1.c: New file.
9127 * elf/tst-relsort1mod2.c: New file.
9128
8db21882
JM
91292012-01-27 Joseph Myers <joseph@codesourcery.com>
9130
9131 * math/s_ldexp.c: Remove __STDC__ conditionals.
9132 * math/s_ldexpf.c: Likewise.
9133 * math/s_ldexpl.c: Likewise.
9134 * math/s_nextafter.c: Likewise.
9135 * math/s_nexttowardf.c: Likewise.
9136 * math/s_significand.c: Likewise.
9137 * math/s_significandf.c: Likewise.
9138 * math/s_significandl.c: Likewise.
9139 * math/w_jnl.c: Likewise.
9140 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9141 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9142 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9143 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9144 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9145 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9146 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9147 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9148 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9149 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9150 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9151 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9152 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9153 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9154 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9155 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9156 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9157 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9158 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9159 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9160 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9161 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9162 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9163 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9164 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9165 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9166 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9167 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9168 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9169 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9170 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9171 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9172 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9173 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9174 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9175 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9176 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9177 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9178 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9179 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9180 * sysdeps/ieee754/k_standard.c: Likewise.
9181 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9182 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9183 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9184 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9185 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9186 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9187 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9188 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9189 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9190 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9191 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9192 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9193 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9194 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9195 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9196 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9197 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9198 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9199 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9200 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9201 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9202 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9203 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9204 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9205 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9207 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9208 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9209 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9210 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9211 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9212 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9213 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9214 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9215 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9216 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9217 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9218 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9219 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9220 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9221 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9222 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9223 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9224 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9225 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9226 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9227 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9228 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9229 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9230 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9231 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9232 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9233 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9234 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9235 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9236 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9237 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9238 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9239 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9240 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9241 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9242 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9243 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9244 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9245 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9246 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9247 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9248 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9249 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9250 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9251 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9252 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9253 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9254 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9255 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9256 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9257 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9258 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9259 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9260 * sysdeps/ieee754/s_matherr.c: Likewise.
9261 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9262 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9263 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9264 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9265
965a54a4
JM
92662012-01-26 Joseph Myers <joseph@codesourcery.com>
9267
9268 * crypt/md5.h: Remove __STDC__ conditionals.
9269 * libio/libioP.h: Likewise.
9270 * locale/programs/config.h: Likewise.
9271 * sysdeps/generic/sysdep.h: Likewise.
9272 * sysdeps/i386/asm-syntax.h: Likewise.
9273 * sysdeps/s390/asm-syntax.h: Likewise.
9274 * sysdeps/unix/sysdep.h: Likewise.
9275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9277
7071ad79
JM
92782012-01-26 Joseph Myers <joseph@codesourcery.com>
9279
9280 * libio/libio.h: Remove __STDC__ conditionals.
9281 * malloc/obstack.h: Likewise.
9282 * math/complex.h: Likewise.
9283 * math/math.h: Likewise.
9284 * sysdeps/generic/_G_config.h: Likewise.
9285 * sysdeps/gnu/_G_config.h: Likewise.
9286 * sysdeps/mach/hurd/_G_config.h: Likewise.
9287 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9288 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9289 * sysdeps/sparc/bits/mathdef.h: Likewise.
9290
afc5ed09
UD
92912012-01-26 Ulrich Drepper <drepper@gmail.com>
9292
9293 [BZ #13583]
9294 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9295 Clean up HAS_* macros.
afc5ed09 9296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9297 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9298 possible.
9299 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9300 HAS_AVX.
9301 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9302 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9303 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9304 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9305 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9306
bdb6de1d
JM
93072012-01-25 Joseph Myers <joseph@codesourcery.com>
9308
9309 * elf/tst-unique3.cc (gets): Remove declaration.
9310 * elf/tst-unique3lib.cc (gets): Likewise.
9311 * elf/tst-unique3lib2.cc (gets): Likewise.
9312 * elf/tst-unique4.cc (gets): Likewise.
9313
b15549e6
UD
93142012-01-24 Ulrich Drepper <drepper@gmail.com>
9315
9316 * include/stdio.h: Add C++ protection. Add gets declarations and
9317 definitions.
9318 * debug/tst-chk1.c: Don't declare gets here.
9319 * stdio-common/tst-gets.c: Likewise.
9320
a037381f
JM
93212012-01-24 Joseph Myers <joseph@codesourcery.com>
9322
9323 * posix/glob: Remove directory.
9324
f1d4aa75
JM
93252012-01-24 Joseph Myers <joseph@codesourcery.com>
9326
9327 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9328
81c0c964
PT
93292012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9330
9331 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9332 of the non-standard EPFNOSUPPORT.
9333
0ea698ae
ST
93342011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9335
9336 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9337 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9338 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9339
d220b117
UD
93402012-01-21 Ulrich Drepper <drepper@gmail.com>
9341
9342 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9343
3e1aa84e
UD
93442012-01-20 Ulrich Drepper <drepper@gmail.com>
9345
9346 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9347 transient errors.
9348 * nscd/grpcache.c (cache_addgr): Likewise.
9349 * nscd/hstcache.c (cache_addhst): Likewise.
9350 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9351 * nscd/pwdcache.c (cache_addpw): Likewise.
9352 * nscd/servicescache.c (cache_addserv): Likewise.
9353
400aa020
UD
93542012-01-16 Ulrich Drepper <drepper@gmail.com>
9355
d77e7869
UD
9356 * malloc/malloc.c: Various cleanups.
9357 * malloc/hooks.c: Likewise.
9358
400aa020
UD
9359 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9360 * stdlib/bug-fmtmsg1.c: New file.
9361
9362 * stdlib/fmtmsg.c (init): Add missing unlock.
9363 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9364
e0a309cf
MP
93652012-01-12 Marek Polacek <polacek@redhat.com>
9366
9367 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9368 and _GNU_SOURCE.
9369
929d11c7
WS
93702012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9371
9372 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9373 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9374 macro to ensure uniqueness of label name.
9375 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9376 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9377
41d0e869
UD
93782012-01-11 Ulrich Drepper <drepper@gmail.com>
9379
0cc5ed3b
UD
9380 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9381
41d0e869
UD
9382 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9383 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9384 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9385 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9386
a47a831a
UD
93872012-01-10 Ulrich Drepper <drepper@gmail.com>
9388
daa891c0
UD
9389 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9390
9391 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9392 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9393 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9394
e58ef0f2
UD
9395 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9396
a47a831a 9397 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9398 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9399 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9400 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9401
9402 * math/bits/math-finite.h: Add ldexp support.
9403
a0bfc9c7
MP
94042012-01-10 Marek Polacek <polacek@redhat.com>
9405
9406 * locale/programs/localedef.h (show_archive_content): Add noreturn
9407 attribute.
9408
d6e97a1d
UD
94092012-01-09 Ulrich Drepper <drepper@gmail.com>
9410
9411 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9412
d5835c26
UD
94132012-01-08 Ulrich Drepper <drepper@gmail.com>
9414
e5f484c6
UD
9415 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9416
d5835c26
UD
9417 * io/Makefile (headers): Add bits/poll2.h.
9418
d1f741e9
WS
94192011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9420
9421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9422 typo #include statement.
9423
ec09c1c4
UD
94242012-01-08 Ulrich Drepper <drepper@gmail.com>
9425
9426 * include/sys/cdefs.h: Define __attribute_alloc_size.
9427 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9428 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9429 * elf/pldd.c: Likewise.
9430 * iconv/iconv_charmap.c: Likewise.
9431 * iconv/iconvconfig.c: Likewise.
9432 * iconv/strtab.c: Likewise.
9433 * locale/programs/locale.c: Likewise.
9434 * locale/programs/localedef.h: Likewise.
9435 * locale/programs/simple-hash.c: Likewise.
9436 * nscd/nscd.h: Likewise.
9437 * nss/makedb.c: Likewise.
9438 * sysdeps/generic/ldconfig.h: Likewise.
9439 * locale/programs/localedef.c: Remove xmalloc prototype.
9440 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9441
20b38e03
PP
94422012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9443
9444 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9445 appropriate.
9446
a0da5fe1
UD
94472012-01-08 Ulrich Drepper <drepper@gmail.com>
9448
1d5a644a 9449 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9450 * math/tst-CMPLX.c: New file.
1d5a644a 9451
8784a6db
UD
9452 * math/complex.h (CMPLXL): Fix typo.
9453
d9a216c0
UD
9454 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9455 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9456 GLIBC_2.16.
9457 * debug/tst-chk1.c: Add poll and ppoll tests.
9458 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9459 * include/sys/poll.h: Add hidden proto for ppoll.
9460 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9461 * sysdeps/mach/hurd/ppoll.c: Likewise.
9462 * io/ppoll.c: Likewise.
9463 * debug/poll_chk.c: New file.
9464 * debug/ppoll_chk.c: New file.
9465 * include/bits/poll2.h: New file.
9466 * io/bits/poll2.h: New file.
9467
ac097f5c
UD
9468 [BZ #1350]
9469 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9470
2119dcfa
UD
9471 * configure.in: static is always set to yes. Remove.
9472 * config.make.in: Don't set build-static.
9473 * Makeconfig: Remove use of build-static.
9474 * dlfcn/Makefile: Likewise.
9475 * elf/Makefile: Likewise.
9476 * math/Makefile: Likewise.
9477 * misc/Makefile: Likewise.
9478 * nptl/Makefile: Likewise.
9479 * sysdeps/mach/hurd/Makefile: Likewise.
9480
121766a9
UD
9481 * configure.in: PWD_P is not used anymore.
9482 * config.make.in: Remove PWD_P entry.
9483
51a1d39c 9484 * configure.in: Remove last remnants of RANLIB.
8720d066 9485 No need to check for signed size_t anymore.
215f4bdc
UD
9486 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9487 and IA-64.
3857022a 9488 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9489 * aclocal.m4: Likewise.
9490
d3ed7225
UD
9491 * wcsmbs/mbrtoc16.c: Implement using towc function.
9492 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9493 * wcsmbs/wcsmbsload.c: Likewise.
9494 * iconv/gconv_simple.c: Likewise.
9495 * iconv/gconv_int.h: Likewise.
9496 * iconv/gconv_builtin.h: Likewise.
9497 * iconv/iconv_prog.c: Remove CHAR16 handling.
9498
9499 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9500
9501 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9502
a0da5fe1
UD
9503 * configure.in: Remove --with-elf and --enable-bounded options.
9504 Dont set base_machine for ia64. More non-ELF conditions removed.
9505 Remove testing and setting of leading underscore information.
9506 * config.make.in (build-bounded): Set to no.
9507 * config.h.in: Remove NO_UNDERSCORES entry.
9508 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9509 them.
9510 * csu/start.c: Remove !NO_UNDERSCORE code.
9511 * locale/localeinfo.h: Likewise.
9512 * sysdeps/generic/machine-gmon.h: Likewise.
9513 * sysdeps/generic/sysdep.h: Likewise.
9514 * sysdeps/i386/sysdep.h: Likewise.
9515 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9516 * sysdeps/mach/sysdep.h: Likewise.
9517 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9518 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9519 * sysdeps/sh/sysdep.h: Likewise.
9520 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9521 * sysdeps/unix/i386/sysdep.S: Likewise.
9522 * sysdeps/unix/sparc/start.c: Likewise.
9523 * sysdeps/unix/sparc/sysdep.S: Likewise.
9524 * sysdeps/unix/sparc/sysdep.h: Likewise.
9525 * sysdeps/unix/start.c: Likewise.
9526 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9527 * sysdeps/x86_64/sysdep.h: Likewise.
9528
df78418a
UD
95292012-01-07 Ulrich Drepper <drepper@gmail.com>
9530
a784e502
UD
9531 [BZ #13553]
9532 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9533 for non-gcc.
9534 * argp/argp-fmtstream.h: Use const instead __const.
9535 * argp/argp.h: Likewise.
9536 * assert/assert.h: Likewise.
9537 * bits/fenv.h: Likewise.
9538 * bits/sched.h: Likewise.
9539 * bits/sigset.h: Likewise.
9540 * bits/sigthread.h: Likewise.
9541 * catgets/nl_types.h: Likewise.
9542 * conform/data/pthread.h-data: Likewise.
9543 * crypt/crypt-private.h: Likewise.
9544 * crypt/crypt.h: Likewise.
9545 * crypt/crypt_util.c: Likewise.
9546 * ctype/ctype.h: Likewise.
9547 * debug/execinfo.h: Likewise.
9548 * debug/mbsnrtowcs_chk.c: Likewise.
9549 * debug/mbsrtowcs_chk.c: Likewise.
9550 * debug/wcsnrtombs_chk.c: Likewise.
9551 * debug/wcsrtombs_chk.c: Likewise.
9552 * debug/wcstombs_chk.c: Likewise.
9553 * dirent/dirent.h: Likewise.
9554 * dlfcn/dlfcn.h: Likewise.
9555 * elf/neededtest4.c: Likewise.
9556 * grp/grp.h: Likewise.
9557 * gshadow/gshadow.h: Likewise.
9558 * iconv/gconv.h: Likewise.
9559 * iconv/gconv_int.h: Likewise.
9560 * iconv/gconv_simple.c: Likewise.
9561 * iconv/iconv.h: Likewise.
9562 * iconv/loop.c: Likewise.
9563 * iconv/skeleton.c: Likewise.
9564 * include/aio.h: Likewise.
9565 * include/aliases.h: Likewise.
9566 * include/argz.h: Likewise.
9567 * include/arpa/inet.h: Likewise.
9568 * include/assert.h: Likewise.
9569 * include/dirent.h: Likewise.
9570 * include/dlfcn.h: Likewise.
9571 * include/execinfo.h: Likewise.
9572 * include/fcntl.h: Likewise.
9573 * include/fenv.h: Likewise.
9574 * include/glob.h: Likewise.
9575 * include/grp.h: Likewise.
9576 * include/libintl.h: Likewise.
9577 * include/mntent.h: Likewise.
9578 * include/netdb.h: Likewise.
9579 * include/pwd.h: Likewise.
9580 * include/rpc/netdb.h: Likewise.
9581 * include/sched.h: Likewise.
9582 * include/search.h: Likewise.
9583 * include/shadow.h: Likewise.
9584 * include/signal.h: Likewise.
9585 * include/stdio.h: Likewise.
9586 * include/stdlib.h: Likewise.
9587 * include/string.h: Likewise.
9588 * include/sys/socket.h: Likewise.
9589 * include/sys/stat.h: Likewise.
9590 * include/sys/statfs.h: Likewise.
9591 * include/sys/statvfs.h: Likewise.
9592 * include/sys/syslog.h: Likewise.
9593 * include/sys/time.h: Likewise.
9594 * include/sys/uio.h: Likewise.
9595 * include/time.h: Likewise.
9596 * include/unistd.h: Likewise.
9597 * include/utmp.h: Likewise.
9598 * include/wchar.h: Likewise.
9599 * include/wctype.h: Likewise.
9600 * inet/aliases.h: Likewise.
9601 * inet/arpa/inet.h: Likewise.
9602 * inet/netinet/ether.h: Likewise.
9603 * inet/netinet/in.h: Likewise.
9604 * intl/libintl.h: Likewise.
9605 * io/bits/fcntl2.h: Likewise.
9606 * io/fcntl.h: Likewise.
9607 * io/ftw.h: Likewise.
9608 * io/sys/poll.h: Likewise.
9609 * io/sys/stat.h: Likewise.
9610 * io/sys/statfs.h: Likewise.
9611 * io/sys/statvfs.h: Likewise.
9612 * io/utime.h: Likewise.
9613 * libio/bits/stdio.h: Likewise.
9614 * libio/bits/stdio2.h: Likewise.
9615 * libio/libio.h: Likewise.
9616 * libio/libioP.h: Likewise.
9617 * libio/stdio.h: Likewise.
9618 * locale/lc-ctype.c: Likewise.
9619 * locale/locale.h: Likewise.
9620 * login/utmp.h: Likewise.
9621 * malloc/arena.c: Likewise.
9622 * malloc/malloc.c: Likewise.
9623 * malloc/malloc.h: Likewise.
9624 * malloc/mcheck.c: Likewise.
9625 * malloc/mtrace.c: Likewise.
9626 * math/bits/mathcalls.h: Likewise.
9627 * math/fenv.h: Likewise.
9628 * math/math_private.h: Likewise.
9629 * misc/bits/error.h: Likewise.
9630 * misc/bits/syslog.h: Likewise.
9631 * misc/err.h: Likewise.
9632 * misc/error.h: Likewise.
9633 * misc/fstab.h: Likewise.
9634 * misc/mntent.h: Likewise.
9635 * misc/regexp.h: Likewise.
9636 * misc/search.h: Likewise.
9637 * misc/sgtty.h: Likewise.
9638 * misc/sys/mman.h: Likewise.
9639 * misc/sys/syslog.h: Likewise.
9640 * misc/sys/uio.h: Likewise.
9641 * misc/sys/xattr.h: Likewise.
9642 * misc/ttyent.h: Likewise.
9643 * nis/rpcsvc/ypclnt.h: Likewise.
9644 * nss/nss.h: Likewise.
9645 * posix/bits/unistd.h: Likewise.
9646 * posix/fnmatch.h: Likewise.
9647 * posix/glob.h: Likewise.
9648 * posix/sched.h: Likewise.
9649 * posix/spawn.h: Likewise.
9650 * posix/sys/wait.h: Likewise.
9651 * posix/unistd.h: Likewise.
9652 * posix/wordexp.h: Likewise.
9653 * pwd/pwd.h: Likewise.
9654 * resolv/netdb.h: Likewise.
9655 * resource/sys/resource.h: Likewise.
9656 * rt/aio.h: Likewise.
9657 * rt/bits/mqueue2.h: Likewise.
9658 * rt/mqueue.h: Likewise.
9659 * shadow/shadow.h: Likewise.
9660 * signal/signal.h: Likewise.
9661 * socket/send.c: Likewise.
9662 * socket/sendto.c: Likewise.
9663 * socket/sys/socket.h: Likewise.
9664 * stdio-common/printf.h: Likewise.
9665 * stdlib/bits/stdlib.h: Likewise.
9666 * stdlib/fmtmsg.h: Likewise.
9667 * stdlib/monetary.h: Likewise.
9668 * stdlib/stdlib.h: Likewise.
9669 * stdlib/ucontext.h: Likewise.
9670 * streams/stropts.h: Likewise.
9671 * string/argz.h: Likewise.
9672 * string/bits/string2.h: Likewise.
9673 * string/string.h: Likewise.
9674 * string/strings.h: Likewise.
9675 * sunrpc/rpc/auth.h: Likewise.
9676 * sunrpc/rpc/auth_des.h: Likewise.
9677 * sunrpc/rpc/clnt.h: Likewise.
9678 * sunrpc/rpc/netdb.h: Likewise.
9679 * sunrpc/rpc/pmap_clnt.h: Likewise.
9680 * sunrpc/rpc/xdr.h: Likewise.
9681 * sysdeps/generic/inttypes.h: Likewise.
9682 * sysdeps/generic/net/if.h: Likewise.
9683 * sysdeps/generic/sys/swap.h: Likewise.
9684 * sysdeps/gnu/net/if.h: Likewise.
9685 * sysdeps/gnu/utmpx.h: Likewise.
9686 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9687 * sysdeps/i386/i486/bits/string.h: Likewise.
9688 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9689 * sysdeps/s390/bits/string.h: Likewise.
9690 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9691 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9692 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9693 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9694 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9695 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9696 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9697 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9698 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9699 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9700 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9701 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9702 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9703 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9704 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9705 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9706 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9707 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9708 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9709 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9710 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9711 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9712 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9713 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9714 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9715 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9716 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9717 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9718 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9719 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9720 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9721 * sysvipc/sys/ipc.h: Likewise.
9722 * sysvipc/sys/msg.h: Likewise.
9723 * sysvipc/sys/sem.h: Likewise.
9724 * sysvipc/sys/shm.h: Likewise.
9725 * termios/termios.h: Likewise.
9726 * time/sys/time.h: Likewise.
9727 * time/time.h: Likewise.
9728 * wcsmbs/bits/wchar2.h: Likewise.
9729 * wcsmbs/uchar.h: Likewise.
9730 * wcsmbs/wchar.h: Likewise.
9731 * wctype/wctype.h: Likewise.
9732
0269750c
UD
9733 [BZ #13551]
9734 * Makeconfig: Remove all but ELF support including AIX support.
9735 * Makerules: Likewise.
9736 * config.h.in: Likewise.
9737 * config.make.in: Likewise.
9738 * configure: Likewise.
9739 * configure.in: Likewise.
9740 * csu/Makefile: Likewise.
9741 * csu/version.c: Likewise.
9742 * debug/Makefile: Likewise.
9743 * dlfcn/Makefile: Likewise.
9744 * elf/Makefile: Likewise.
9745 * extra-lib.mk: Likewise.
9746 * iconv/Makefile: Likewise.
9747 * include/libc-symbols.h: Likewise.
9748 * include/shlib-compat.h: Likewise.
9749 * resolv/Makefile: Likewise.
9750 * resolv/res_libc.c: Likewise.
9751 * rt/Makefile: Likewise.
9752 * sysdeps/i386/asm-syntax.h: Likewise.
9753 * sysdeps/i386/sysdep.h: Likewise.
9754 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9755 * sysdeps/mach/sysdep.h: Likewise.
9756 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9757 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9758 * sysdeps/s390/asm-syntax.h: Likewise.
9759 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9760 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9761 * sysdeps/sh/sysdep.h: Likewise.
9762 * sysdeps/unix/sparc/sysdep.h: Likewise.
9763 * sysdeps/wordsize-32/divdi3.c: Likewise.
9764 * sysdeps/x86_64/sysdep.h: Likewise.
9765
00bbd29b
UD
9766 * argp/Versions: Remove _argp_unlock_xxx.
9767
9768 [BZ #13559]
9769 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9770 * abilist/libBrokenLocale.abilist: Likewise.
9771 * abilist/libanl.abilist: Likewise.
9772 * abilist/libc.abilist: Likewise.
9773 * abilist/libcrypt.abilist: Likewise.
9774 * abilist/libdl.abilist: Likewise.
9775 * abilist/libm.abilist: Likewise.
9776 * abilist/libnsl.abilist: Likewise.
9777 * abilist/libpthread.abilist: Likewise.
9778 * abilist/libresolv.abilist: Likewise.
9779 * abilist/librt.abilist: Likewise.
9780 * abilist/libthread_db.abilist: Likewise.
9781 * abilist/libutil.abilist: Likewise.
9782 * abilist/libnss_db.abilist: New file.
9783
9784 * scripts/abilist.awk: Add support for indirect functions.
9785
a2693a0e
UD
9786 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9787
3f05895f
UD
9788 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9789
ecb6fb48
UD
9790 * shlib-versions: Remove entries for ports architectures.
9791
664f8cb9
UD
9792 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9793 files in ports.
9794 * elf/stackguard-macros.h: Remove support for IA-64.
9795 * elf/tst-auditmod1.c: Likewise.
9796 * sysdeps/generic/ldsodefs.h: Likewise.
9797
7ae81d88
UD
9798 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9799 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9800 configure files.
9801
bdeba135
UD
9802 [BZ #13552]
9803 * configure.in: Remove --enable-omitfp support.
9804 * FAQ.in: Adjust.
9805 * config.make.in: Likewise.
9806 * Makeconfig: Likewise.
9807 * manual/install.texi: Likewise.
9808
d75a0a62
UD
9809 In case anyone cares, the IA-64 architecture could move to ports.
9810 * sysdeps/ia64/*: Removed.
9811 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9812 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9813
dcc9756b
UD
9814 [BZ #13555]
9815 * configure.in: Remove entries for unsupported architectures.
9816
d3761ebc 9817 [BZ #13533]
9954432e
UD
9818 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9819 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9820 routines.
9821 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9822 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9823 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9824 fall back to using wcrtomb.
9825 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9826 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9827 renaming.
9828 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9829 * wcsmbs/tst-c16c32-1.c: New file.
9830
9831 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9832 local variable.
9833
c3a87236
UD
9834 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9835
28926a1b
UD
9836 * elf/tst-unique3.cc: Add explicit declaration of gets.
9837 * elf/tst-unique3lib.cc: Likewise.
9838 * elf/tst-unique3lib2.cc: Likewise.
9839 * elf/tst-unique4.cc: Likewise.
9840
df78418a
UD
9841 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9842
8ecd6b2a
JM
98432012-01-06 Joseph Myers <joseph@codesourcery.com>
9844
9845 [BZ #13566]
9846 * assert/assert.h (static_assert): Don't define for C++.
9847 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9848 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9849
9f115170
UD
98502012-01-03 Ulrich Drepper <drepper@gmail.com>
9851
5e0d0300
UD
9852 * iconv/loop.c (single loop): Fix assertion in storing of
9853 remaining bytes.
9854
9f115170
UD
9855 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9856
81fb02b0
UD
98572012-01-01 Ulrich Drepper <drepper@gmail.com>
9858
9859 * posix/getconf.c: Update copyright year.
9860 * nss/getent.c: Likewise.
a316c1f6 9861 * nss/makedb.c: Likewise.
81fb02b0
UD
9862 * iconv/iconvconfig.c: Likewise.
9863 * iconv/iconv_prog.c: Likewise.
9864 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9865 * elf/pldd.c: Likewise.
9866 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9867 * catgets/gencat.c: Likewise.
9868 * csu/version.c: Likewise.
9869 * elf/ldd.bash.in: Likewise.
9870 * elf/sprof.c (print_version): Likewise.
9871 * locale/programs/locale.c: Likewise.
9872 * locale/programs/localedef.c: Likewise.
a316c1f6 9873 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9874 * nscd/nscd.c (print_version): Likewise.
9875 * debug/xtrace.sh: Likewise.
9876 * malloc/memusage.sh: Likewise.
9877 * malloc/mtrace.pl: Likewise.
9878 * debug/catchsegv.sh: Likewise.
9879
2ba92745
JJ
98802011-12-30 Jakub Jelinek <jakub@redhat.com>
9881
9882 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9883 pure attribute.
9884
dadebdae
UD
98852011-12-24 Ulrich Drepper <drepper@gmail.com>
9886
d3761ebc 9887 [BZ #13533]
db6af3eb
UD
9888 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9889 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9890 transformations.
9891 * iconv/gconv_int.h: Likewise.
9892 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9893 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9894 from libc for GLIBC_2.16.
9895 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9896 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9897 * wcsmbs/uchar.h: Really define mbstate_t.
9898 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9899 * wcsmbs/c16rtomb.c: New file.
9900 * wcsmbs/mbrtoc16.c: New file.
9901 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9902 for C/POSIX locale.
9903 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9904 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9905
dadebdae
UD
9906 * wcsmbs/wchar.h: Add missing __restrict.
9907
67371b56
UD
99082011-12-23 Ulrich Drepper <drepper@gmail.com>
9909
74033a25
UD
9910 [BZ #13532]
9911 * time/Makefile (routines): Add timespec_get.
9912 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9913 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9914 timespec for ISO C11.
9915 * time/timespec_get.c: New file.
9916 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9917 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9918
380d7e87
UD
9919 [BZ #13531]
9920 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9921 * stdlib/stdlib.h: Declare aligned_alloc.
9922 * Versions.def: Add GLIBC_2.16 for libc.
9923 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9924
4e9e7a35
UD
9925 [BZ 13527]
9926 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9927 ISO C11.
9928
380d7e87 9929 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9930 code.
9931
03a71829
UD
9932 [BZ #13528]
9933 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9934
839e283e
UD
9935 [BZ #13529]
9936 * assert/assert.h (static_assert): Define.
9937
ce5294e2 9938 * version.h: Update for 2.16 development version.
90fa7312 9939
8d44e150 9940 [BZ #13526]
d7809905
UD
9941 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9942 _ISOC11_SOURCE.
9943
c0da14cd
UD
9944 * version.h (RELEASE): Bump for 2.15 release.
9945 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9946
530a3249
MP
9947 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9948 Patch by Marek Polacek <mpolacek@redhat.com>.
9949
67371b56
UD
9950 * bits/byteswap.h: Protect long long constants with __extension__.
9951 * sysdeps/i386/bits/byteswap.h: Likewise.
9952 * sysdeps/ia64/bits/byteswap.h: Likewise.
9953 * sysdeps/s390/bits/byteswap.h: Likewise.
9954 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9955
15db4de1
LD
99562011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9957
9958 [BZ #13540]
bbe315ea
LD
9959 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9960 destination buffer.
15db4de1
LD
9961 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9962
2b2596b1
MP
99632011-12-23 Marek Polacek <polacek@redhat.com>
9964
9965 * elf/dl-addr.c (determine_info): Add inline keyword.
9966 * elf/tst-auditmod4b.c (check_avx): Likewise.
9967 * elf/tst-auditmod6b.c (check_avx): Likewise.
9968 * elf/tst-auditmod6c.c (check_avx): Likewise.
9969 * elf/tst-auditmod7b.c (check_avx): Likewise.
9970
70c6c246
UD
99712011-12-23 Ulrich Drepper <drepper@gmail.com>
9972
9973 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9974 !__SSE_MATH__.
9975
c044cf14
LD
99762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9977
15db4de1 9978 [BZ #13540]
c044cf14
LD
9979 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9980 processing for last bytes.
9981
6b13d9d9
BH
99822011-08-06 Bruno Haible <bruno@clisp.org>
9983
d455f537
BH
9984 [BZ #13061]
9985 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9986 U+0385, not to U+1FEE.
9987
6b13d9d9
BH
9988 [BZ #13062]
9989 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9990 entry for U+00A5 U+0301.
9991
db910efd
UD
99922011-12-22 Ulrich Drepper <drepper@gmail.com>
9993
27deeafc
UD
9994 [BZ #13166]
9995 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9996 buffer for the output is too small.
9997
aed9d171
UD
9998 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9999 optimization.
10000
db910efd
UD
10001 [BZ #13185]
10002 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10003 SSE flags if possible.
10004
2bd779ae
LD
100052011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10006
e7f9dac3 10007 [BZ #13540]
2bd779ae
LD
10008 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10009 processing for last bytes.
10010
154bfc16
JM
100112011-12-22 Joseph Myers <joseph@codesourcery.com>
10012
10013 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10014 (syscall-list-default-options, syscall-list-default-condition)
10015 (syscall-list-includes): Define.
10016 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10017 list of ABIs and options and #if conditions for each ABI. Do not
10018 handle common syscalls between ABIs specially.
10019 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10020 Remove.
10021 (syscall-list-variants, syscall-list-32bit-options)
10022 (syscall-list-32bit-condition, syscall-list-64bit-options)
10023 (syscall-list-64bit-condition): Define.
10024 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10025 (syscall-list-variants, syscall-list-32bit-options)
10026 (syscall-list-32bit-condition, syscall-list-64bit-options)
10027 (syscall-list-64bit-condition): Define.
10028 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10029 Remove.
10030 (syscall-list-variants, syscall-list-32bit-options)
10031 (syscall-list-32bit-condition, syscall-list-64bit-options)
10032 (syscall-list-64bit-condition): Define.
10033 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10034 Remove.
10035 (syscall-list-variants, syscall-list-32bit-options)
10036 (syscall-list-32bit-condition, syscall-list-64bit-options)
10037 (syscall-list-64bit-condition): Define.
10038
21eaf3a5
UD
100392011-12-22 Ulrich Drepper <drepper@gmail.com>
10040
16c6f992
UD
10041 * locale/iso-639.def: Add brx entry.
10042
41043168
UD
10043 [BZ #13328]
10044 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10045 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10046
21eaf3a5
UD
10047 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10048 __feraiseexcept_renamed.
10049
e3a851a2
UD
100502011-12-21 Ulrich Drepper <drepper@gmail.com>
10051
4920765e
UD
10052 [BZ #13538]
10053 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10054 EPOLLET with unsigned values.
10055 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10056 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10057
e3a851a2
UD
10058 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10059 to large cancellation.
10060 * math/s_cacoshf.c: Likewise.
10061 * math/s_cacoshl.c: Likewise.
10062
b27e24b8
RK
100632011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10064
10065 [BZ #13305]
aebefeee 10066 [BZ #12786]
b27e24b8
RK
10067 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10068 * math/s_cacoshf.c: Likewise.
10069 * math/s_cacoshl.c: Likewise.
10070
ee190f67
UD
100712011-12-21 Ulrich Drepper <drepper@gmail.com>
10072
10073 [BZ #13439]
10074 * iconv/gconv.h: Define __GCONV_SWAP.
10075 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10076 * iconvdata/utf-16.c: Likewise.
10077 * iconvdata/utf-32.c: Likewise.
10078
707f25df
AS
100792011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10080
10081 [BZ #13524]
10082 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10083 numerator after shifting it by one limb.
10084
d2daaa1e
RÁE
100852011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10086
10087 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10088 under [__USE_EXTERN_INLINES].
10089
a4647e72
UD
100902011-12-17 Ulrich Drepper <drepper@gmail.com>
10091
10092 [BZ #13446]
10093 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10094
f0b264f1
AZ
100952011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10096
10097 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10098 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10099 optimized code.
10100 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10101 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10102 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10103 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10104 for strncasecmp/strncasecmp_l compilation.
10105 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10106 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10107
8ef4f244
MP
101082011-12-08 Marek Polacek <mpolacek@redhat.com>
10109
10110 [BZ #13484]
10111 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10112 of __asm__.
10113
97ac2654
UD
101142011-12-17 Ulrich Drepper <drepper@gmail.com>
10115
10116 [BZ #13506]
10117 * time/tzfile.c (__tzfile_read): Check values from file header.
10118
91d2a845
WS
101192011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10120
10121 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10122 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10123 * powerpc/powerpc32/dl-start.S: Likewise.
10124 * powerpc/powerpc32/elf/start.S: Likewise.
10125 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10126 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10127 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10128 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10129 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10130 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10131 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10132 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10133 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10134 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10135 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10136 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10137 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10138 * powerpc/powerpc32/memset.S: Likewise.
10139 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10140 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10141 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10142 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10143 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10144 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10145 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10146 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10147 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10148 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10149 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10150 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10151 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10152
a1267ba1
AZ
101532011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10154
10155 * math/libm-test.inc: Added more nearbyint tests.
10156 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10157 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10158 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10159 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10160
ad8ac1bd
RL
101612011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10162
10163 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10164 FD_CLOEXEC.
10165
1d3e4b61
UD
101662011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10167
10168 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10169 Add wcscpy-ssse3 wcscpy-c.
10170 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10171 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10172 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10173 * sysdeps/x86_64/wcschr.S: New file.
10174 * sysdeps/x86_64/wcsrchr.S: New file.
10175 * string/test-strcmp.c: Remove checking of wcscmp function for
10176 wrong alignments.
10177 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10178 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10179 wcsrchr-sse2 wcsrchr-c.
10180 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10181 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10182 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10183 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10184 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10185 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10186 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10187 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10188 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10189 * wcsmbc/wcschr.c (WCSCHR): New macro.
10190
5b330a2d
UD
101912011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10192
10193 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10194 * wcsmbs/test-wcsrchr.c: New file.
10195 * string/test-strrchr.c: Add wcsrchr support.
10196 (WIDE): New macro.
10197 * wcsmbs/test-wcscpy.c: New file.
10198 * string/test-strcpy.c: Add wcscpy support.
10199 (WIDE): New macro.
26428b7c 10200
f039c043
UD
102012011-12-10 Ulrich Drepper <drepper@gmail.com>
10202
10203 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10204 the inner loop.
10205
850fb039
AS
102062011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10207
10208 [BZ #13472]
10209 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10210
4efbd5cb
UD
102112011-12-04 Ulrich Drepper <drepper@gmail.com>
10212
52ff5dd0 10213 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10214 Minor optimizations.
52ff5dd0 10215
4efbd5cb
UD
10216 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10217 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10218 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10219
8a426e12
UD
102202011-12-03 Ulrich Drepper <drepper@gmail.com>
10221
aff2453d
UD
10222 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10223 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10224 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10225 for gcc to avoid warnings.
10226 * inet/Makefile (tests): Add tst-checks.
10227 * inet/tst-checks.c: New file.
10228
10229 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10230 warning.
10231
10232 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10233 __wmemcmp_sse2.
10234
10235 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10236 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10237
8a426e12
UD
10238 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10239
9bea3473
UD
102402011-12-02 Ulrich Drepper <drepper@gmail.com>
10241
3a965496
UD
10242 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10243 problem.
10244
9bea3473
UD
10245 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10246
f101631b
UD
102472011-11-29 Joseph Myers <joseph@codesourcery.com>
10248
10249 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10250 conditional on GCC version.
10251 (__arch_compare_and_exchange_val_8_acq)
10252 (__arch_compare_and_exchange_val_16_acq)
10253 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10254 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10255 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10256
a98275aa
UD
102572011-12-02 Joseph Myers <joseph@codesourcery.com>
10258
10259 * sysdeps/sh/backtrace.c: New file.
10260
d4cc29a2
AS
102612011-12-02 Andreas Schwab <schwab@redhat.com>
10262
10263 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10264 parenthesis.
10265
6257af2d
AS
102662011-12-01 Andreas Schwab <schwab@redhat.com>
10267
10268 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10269 falling back to utime.
10270
b5f44c1a
AS
102712011-11-30 Andreas Schwab <schwab@redhat.com>
10272
10273 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10274 expectations for float.
10275
f3a6cc0a
AS
102762011-11-29 Andreas Schwab <schwab@redhat.com>
10277
10278 * locale/weight.h (findidx): Add parameter len.
10279 * locale/weightwc.h (findidx): Likewise.
10280 * posix/fnmatch_loop.c (FCT): Adjust caller.
10281 * posix/regcomp.c (build_equiv_class): Likewise.
10282 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10283 * posix/regexec.c (check_node_accept_bytes): Likewise.
10284 * string/strcoll_l.c (STRCOLL): Likewise.
10285 * string/strxfrm_l.c (STRXFRM): Likewise.
10286
9d65ea3a
UD
102872011-11-17 Ulrich Drepper <drepper@gmail.com>
10288
10289 * Makefile.in: Remove CVSOPT handling.
10290 * configure.in: Remove use of AC_REVISION.
10291 * iconvdata/Makefile (distribute): No need to filter out CVS.
10292 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10293 handling.
10294
5583a086
AS
102952011-11-16 Andreas Schwab <schwab@redhat.com>
10296
10297 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10298 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10299 [USE_AS_STRNCASECMP_L]: Likewise.
10300 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10301 NO_TLS_DIRECT_SEG_REFS.
10302 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10303 Fix argument offsets for non-PIC.
10304 [USE_AS_STRNCASECMP_L]: Likewise.
10305 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10306 NO_TLS_DIRECT_SEG_REFS.
10307
d62a8200
UD
103082011-11-15 Ulrich Drepper <drepper@gmail.com>
10309
9d65ea3a 10310 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10311 O_CLOEXEC.
10312 * locale/loadlocale.c (_nl_load_locale): Likewise.
10313
09f93bd3
AS
103142011-11-15 Andreas Schwab <schwab@redhat.com>
10315
446514f9
AS
10316 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10317 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10318 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10319 (SYSCALL_GETTIME): Set errno on error.
10320
09f93bd3
AS
10321 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10322 count references to noai6ai_cached.
10323
312be3f9
UD
103242011-11-15 Ulrich Drepper <drepper@gmail.com>
10325
10326 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10327
10328 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10329 FD_CLOEXEC for /proc/self/maps.
10330
10331 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10332 FD_CLOEXEC for /proc/meminfo.
10333
10334 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10335 gai.conf.
10336
10337 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10338 FD_CLOEXEC for given file.
10339
10340 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10341
10342 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10343 FD_CLOEXEC for /etc/hosts.
10344 (_gethtent): Likewise.
10345
10346 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10347
10348 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10349 cancellation and set FD_CLOEXEC for /etc/netgroup.
10350
10351 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10352 reading /etc/publickey.
10353
10354 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10355 allow cancellation when reading /etc/group.
10356
10357 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10358 cancellation.
10359 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10360
10361 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10362 when using data file.
10363
10364 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10365
10366 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10367 (write_nis_obj): Use "c" and "e" in fopen.
10368
10369 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10370
10371 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10372
10373 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10374
10375 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10376
10377 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10378 locale.alias.
10379
10380 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10381
10382 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10383
10384 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10385
10386 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10387 file parsing and set FD_CLOEXEC.
10388
82af0fa8
UD
103892011-11-14 Ulrich Drepper <drepper@gmail.com>
10390
10391 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10392
a5fb313c
AS
103932011-11-14 Andreas Schwab <schwab@redhat.com>
10394
10395 * malloc/arena.c (arena_get2): Don't call reused_arena when
10396 _int_new_arena failed.
10397
6abf3465
UD
103982011-11-14 Ulrich Drepper <drepper@gmail.com>
10399
10400 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10401 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10402 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10403 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10404 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10405 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10406 to compile strcasecmp and strncasecmp.
10407 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10408 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10409
10410 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10411
76e3966e
UD
104122011-11-13 Ulrich Drepper <drepper@gmail.com>
10413
10414 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10415 locale-defines.sym to gen-as-const-headers.
10416 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10417 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10418 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10419 to compile strcasecmp and strncasecmp.
10420 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10421 strcasecmp_l and strncasecmp_l.
10422 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10423 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10424 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10425 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10426 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10427 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10428 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10429 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10430 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10431 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10432 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10433
ab26144e
UD
104342011-11-12 Ulrich Drepper <drepper@gmail.com>
10435
7edb22ef
UD
10436 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10437 result of SYSDEP_GETTIME_CPU to retval.
10438 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10439 parameter list to macro. Remove trailing semicolon. Adjust users.
10440
9694fc44
UD
10441 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10442 variable.
10443
8ad89ef8
UD
10444 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10445 mantissa words.
10446 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10447
0c822ef9
UD
10448 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10449 from unused variable.
10450
874e0564
UD
10451 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10452 DWARF definitions.
10453 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10454 for assembling.
10455
3a2edc79
UD
10456 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10457 over namespaces.
10458
f3c2577f
UD
10459 * sunrpc/rpc_prot.c (rejected): Fix case value.
10460
294ce126
UD
10461 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10462 unsigned long long int to avoid warnings in shift.
10463
5e2b63c6
UD
10464 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10465 of use of trans.
10466 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10467 variable tmp.
10468
e7f4b08e
UD
10469 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10470 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10471 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10472
ab26144e
UD
10473 * nis/nis_table.c (nis_list): Use variable of correct type for
10474 result of __follow_path call.
10475
8a6d5255
AZ
104762011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10477
10478 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10479 of math functions ceil, trunc, floor, round, and sqrt, when
10480 avaliable on the platform.
10481 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10482 name clash.
10483 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10484 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10485 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10486
aaddc98c
MP
104872011-10-30 Marek Polacek <mpolacek@redhat.com>
10488
10489 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10490 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10491
95b7042b
RM
104922011-11-11 Roland McGrath <roland@hack.frob.com>
10493
10494 * include/unistd.h: Fix __readlink return type.
10495 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10496
57769839
UD
104972011-11-11 Ulrich Drepper <drepper@gmail.com>
10498
10499 * stdlib/ucontext.h: Undo last change for makecontext.
10500
edc5984d
AS
105012011-11-11 Andreas Schwab <schwab@redhat.com>
10502
98591e58
AS
10503 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10504
edc5984d
AS
10505 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10506 * setjmp/setjmp.h: Mark functions as non-leaf.
10507 * setjmp/bits/setjmp2.h: Likewise.
10508 * stdlib/ucontext.h: Likewise.
10509
77cdc054
AS
105102011-11-10 Andreas Schwab <schwab@redhat.com>
10511
10512 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10513 (reused_arena): Don't check arena limit.
10514 (arena_get2): Atomically check arena limit.
10515
fe72eebd
UD
105162011-11-08 Ulrich Drepper <drepper@gmail.com>
10517
5f078c32
UD
10518 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10519 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10520
fe72eebd
UD
10521 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10522 instructions.
10523
ae1bc2fa
AS
105242011-11-07 Andreas Schwab <schwab@redhat.com>
10525
7583a88d
AS
10526 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10527 handler when locking.
10528
ae1bc2fa
AS
10529 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10530 Fix size of allocated buffer.
10531
10fb0bfa
AS
105322011-11-04 Andreas Schwab <schwab@redhat.com>
10533
998832a4
AS
10534 [BZ #10103]
10535 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10536 declarations for long double functions.
10537 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10538
10fb0bfa
AS
10539 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10540
3d7ba52b
AS
105412011-11-03 Andreas Schwab <schwab@redhat.com>
10542
a9ae54a1
AS
10543 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10544 installed.
10545
3d7ba52b
AS
10546 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10547 is disabled.
10548
bc8db248
ST
105492011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10550
10551 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10552
45b96dd6
AS
105532011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10554
647776f6
AS
10555 * include/alloca.h (stackinfo_alloca_round): Define.
10556 (extend_alloca): Use it.
10557 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10558 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10559 here.
10560
d91a8b93
AS
10561 * scripts/check-local-headers.sh: Ignore libaudit.h.
10562
45b96dd6
AS
10563 * nscd/Makefile (extra-objs): Make recursively expanded.
10564
432d41ce
UD
105652011-11-01 Ulrich Drepper <drepper@gmail.com>
10566
34372fc6
UD
10567 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10568 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10569
fadb59f8
UD
10570 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10571 * posix/tst-rfc3484-2.c: Likewise.
10572 * posix/tst-rfc3484-3.c: Likewise.
10573
78239589
UD
10574 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10575 process_vm_writev.
10576 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10577 process_vm_writev.
10578 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10579 process_vm_writev from libc using GLIBC_2.15 version.
10580
432d41ce
UD
10581 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10582
02f9c6cf
PP
105832011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10584
10585 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10586 stack usage.
10587
3a2c0242
UD
105882011-10-31 Ulrich Drepper <drepper@gmail.com>
10589
f4ec4833
UD
10590 [BZ #13367]
10591 * nss/getent.c (initgroups_keys): Show error message in case no group
10592 names are given.
10593
3a2c0242
UD
10594 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10595 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10596 __bump_nl_timestamp.
10597 * nscd/connections (nscd_init): When host database is served open
10598 netlink socket and request notification about configuration changes.
10599 (main_loop_poll): Track netlink file descriptor and bump timestamp
10600 in case data becomes available.
10601 (main_loop_epoll): Likewise.
10602 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10603 (database_pers_head): Add extra_data fileds.
10604 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10605 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10606 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10607 Adjust caller.
10608 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10609 in6ai data, call __free_in6ai.
10610 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10611 Add -DHAVE_NETLINK.
10612 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10613 interface information. Reuse previous data if netlink timestamp
10614 is not changed.
10615 (__bump_nl_timestamp): New function.
10616 (__free_in6ai): New function.
10617
636064eb
UD
106182011-10-30 Ulrich Drepper <drepper@gmail.com>
10619
10620 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10621 close_not_cancel_no_status here.
10622 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10623
9beb2334
UD
106242011-10-29 Ulrich Drepper <drepper@gmail.com>
10625
6ef76f3b
UD
10626 [BZ #13276]
10627 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10628 return value.
10629
0ffc4f3e 10630 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10631 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10632 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10633
cb95113e
UD
106342011-07-03 Andreas Jaeger <aj@suse.de>
10635
10636 [BZ #10709]
10637 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10638 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10639 * math/libm-test.inc (sin_test): Add test case.
10640
a1b560ff
UD
106412011-10-29 Ulrich Drepper <drepper@gmail.com>
10642
c9aaface
UD
10643 [BZ #13337]
10644 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10645 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10646
d272e7f1
UD
10647 * elf/chroot_canon.c (chroot_canon): Cleanups.
10648
1bc33071
UD
10649 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10650
1760874d
TJ
10651 [BZ #13335]
10652 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10653 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10654
51d91b18
UD
10655 * string/test-strchr.c: Make usable for strchrnul testing.
10656 * string/test-strchrnul.c: New file.
10657 * string/Makefile (strop-tests): Add strchrnul.
10658
a1b560ff 10659 * po/it.po: Update from translation team.
b611fb81 10660 * po/es.po: Likewise.
a1b560ff 10661
a5b81e1f
UD
106622011-10-28 Ulrich Drepper <drepper@gmail.com>
10663
fd52bc6d
UD
10664 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10665 the three constants needed as parameters. Drop the others.
10666 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10667 __m128i_strloadu_tolower.
52e4b9eb
UD
10668 Create and initialize variable zero and use it in all the places
10669 where _mm_setzero_si128 was used.
fd52bc6d 10670
a5b81e1f
UD
10671 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10672 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10673 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10674 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10675 anymore.
10676 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10677 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10678 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10679 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10680 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10681 __mpranred, __mptan.
10682 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10683 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10684 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10685 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10686 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10687 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10688 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10689 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10690 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10691
b4343346
AS
106922011-10-28 Andreas Schwab <schwab@redhat.com>
10693
0c92d8a8
AS
10694 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10695 redefine if SHARED.
10696 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10697
b4343346
AS
10698 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10699 wide char related routines to wcsmbs subdir.
10700
3871f58f
AS
107012011-10-27 Andreas Schwab <schwab@redhat.com>
10702
10703 [BZ #13344]
10704 * misc/sys/cdefs.h (__THROWNL): Define.
10705 * posix/unistd.h: Use __THREADNL instead of __THREAD
10706 for memory synchronization functions.
10707
94d44d9f
RM
107082011-10-26 Roland McGrath <roland@hack.frob.com>
10709
21b64b15 10710 [BZ #13349]
94d44d9f
RM
10711 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10712 doesn't exist.
10713 * manual/stdio.texi (Obstack Streams): Node removed.
10714
f6ce9294
AS
107152011-10-26 Andreas Schwab <schwab@redhat.com>
10716
80479147
AS
10717 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10718 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10719 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10720
f6ce9294
AS
10721 * math/math_private.h (math_force_eval): Allow non-addressable
10722 arguments.
10723 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10724
618280a1
UD
107252011-10-25 Ulrich Drepper <drepper@gmail.com>
10726
e0016b11
UD
10727 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10728 file is not needed.
10729
10730 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10731 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10732 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10733 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10734 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10735 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10736 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10737 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10738 Add AVX variants.
10739 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10740 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10741 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10742 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10743 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10744 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10745 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10746 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10747 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10748 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10749 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10750 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10751 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10752 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10753 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10754 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10755 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10756 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10757 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10758
10759 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10760 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10761
618280a1
UD
10762 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10763 place. Use VEX encoding when compiling for AVX.
10764
37822576
AS
107652011-10-25 Andreas Schwab <schwab@redhat.com>
10766
1f1e1947
AS
10767 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10768 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10769
37822576
AS
10770 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10771
31ea014d
UD
107722011-10-25 Ulrich Drepper <drepper@gmail.com>
10773
d7826aa1 10774 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10775 useless if() expression.
d7826aa1
UD
10776 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10777 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10778 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10779 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10780 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10781 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10782 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10783 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10784 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10785 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10786 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10787 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10788 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10789 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10790 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10791 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10792 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10793 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10794 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10795
31ea014d
UD
10796 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10797
16437fec
AS
107982011-10-25 Andreas Schwab <schwab@redhat.com>
10799
10800 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10801 condition.
10802 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10803
31d3cc00
UD
108042011-10-25 Ulrich Drepper <drepper@gmail.com>
10805
10806 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10807 .text section. Avoid duplicate constants.
10808 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10809 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10810 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10811 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10812 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10813 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10814 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10815 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10816 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10817 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10818 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10819 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10820 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10821 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10822 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10823 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10824 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10825 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10826 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10827 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10828 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10829 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10830 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10831 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10832 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10833 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10834 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10835 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10836 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10837 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10838 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10839 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10840 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10841 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10842 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10843 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10844 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10845 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10846 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10847 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10848 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10849 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10850 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10851 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10852 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10853
58985aa9
UD
108542011-10-24 Ulrich Drepper <drepper@gmail.com>
10855
202c9deb
UD
10856 * sysdeps/x86_64/dla.h: Move to ...
10857 * sysdeps/x86_64/fpu/dla.h: ...here.
10858 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10859 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10860
af968f62
UD
10861 * config.make.in: Add have-mfma4 entry.
10862 * configure.in: Substitute libc_cv_cc_fma4.
10863 * math/Makefile (dbl-only-routines): Add sincostab.
10864 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10865 Use __sincostab not sincos.
10866 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10867 name is a macro.
10868 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10869 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10870 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10871 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10872 using __copysign.
10873 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10874 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10875 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10876 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10877 and __inv.
10878 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10879 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10880 __copysign.
10881 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10882 define aliases when function name is a macro.
10883 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10884 sysdeps/ieee754/dbl-64/sincos.tbl.
10885 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10886 fma4-enabled routines.
10887 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10888 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10889 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10890 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10891 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10892 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10893 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10894 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10895 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10896 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10897 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10898 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10899 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10900 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10901 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10902 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10903 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10904 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10905 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10906 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10907 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10908 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10909 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10910 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10911 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10912 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10913 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10914 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10915 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10916 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10917
58985aa9
UD
10918 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10919 rename.
10920 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10921 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10922 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10923 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10924 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10925 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10926 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10927 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10928
a201fbcf
AS
109292011-10-24 Andreas Schwab <schwab@redhat.com>
10930
10931 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10932
fc2ee42a
LD
109332011-10-23 Ulrich Drepper <drepper@gmail.com>
10934
bb3129bd
UD
10935 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10936
0275fff8
UD
10937 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10938 prediction.
10939 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10940
2fa2ae85
UD
10941 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10942 Remove unused variable magic_bits.
10943 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10944
fc2ee42a
LD
10945 * string/strnlen.c: Define and use STRNLEN macro.
10946 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10947 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10948 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10949 * wcsmbs/wcslen.c: Define and use WCSLEN.
10950 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10951 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10952 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10953 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10954 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10955 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10956 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10957
ce7dd29f
LD
109582011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10959
10960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10961 strnlen-sse2-no-bsf.
10962 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10963 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10964 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10965 Add strnlen support.
10966 (USE_AS_STRNLEN): New macro.
10967 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10968 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10969 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10970 * sysdeps/x86_64/wcslen.S: New file.
10971
979c70a3
MZ
109722011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10973
10974 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10975 XMM-moves are used for copying on small sizes.
10976
2d09f82f
LD
109772011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10978
10979 * wcsmbs/Makefile (strop-tests): Add wcschr.
10980 * wcsmbs/test-wcschr.c: New file.
10981 * string/test-strchr.c: Update.
10982 Add wcschr support.
10983 (WIDE): New macro.
10984
619fccca
LD
109852011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10986
2d09f82f 10987 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10988 * wcsmbs/test-wcslen.c: New file.
10989 * string/test-strlen.c: Update.
10990 Add wcslen support.
10991 (WIDE): New macro.
10992
09f699ea
UD
109932011-10-23 Ulrich Drepper <drepper@gmail.com>
10994
10995 * po/it.po: Update from translation team.
10996
95584d3b
LD
109972011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10998
10999 * sysdeps/x86_64/wcscmp.S: Update.
11000 Fix wrong comparison semantics.
11001 wcscmp shall use signed comparison not unsigned.
11002 Don't use substraction to avoid overflow bug.
11003 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11004 * wcsmbc/wcscmp.c: Likewise.
11005 * string/test-strcmp.c: Likewise.
11006 Add new tests to check cases with negative values.
11007
c8b3296b
UD
110082011-10-23 Ulrich Drepper <drepper@gmail.com>
11009
11010 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11011 * sysdeps/x86_64/dla.h: ...here. New file.
11012 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11013 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11014 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11015 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11016 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11017 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11018 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11019 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11020 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11021
246ad57a
AS
110222011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11023
11024 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11025 __ynl_finite aliases.
11026
a1a87169
UD
110272011-10-22 Ulrich Drepper <drepper@gmail.com>
11028
0d355eb7
UD
11029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11030
a1a87169
UD
11031 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11032 define DLA_FMA.
11033 [DLA_FMA] (EMULV): Use DLA_FMA.
11034 [DLA_FMA] (MUL12): Use EMULV.
11035 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11036 that are not needed.
11037 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11038 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11039 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11040 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11041 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11042 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11043 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11044
ee2aafe0
AS
110452011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11046
11047 * math/s_nan.c: Undef __nan.
11048 * math/s_nanf.c: Undef __nanf.
11049 * math/s_nanl.c: Undef __nanl.
11050 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11051 "math_private.h".
11052
bc62c2fb
UD
110532011-10-22 Ulrich Drepper <drepper@gmail.com>
11054
77425c63
UD
11055 * math/s_catan.c: Add branch predictions.
11056 * math/s_catanf.c: Likewise.
11057 * math/s_catanh.c: Likewise.
11058 * math/s_catanhf.c: Likewise.
11059 * math/s_catanhl.c: Likewise.
11060 * math/s_catanl.c: Likewise.
11061 * math/s_cexp.c: Likewise.
11062 * math/s_cexpf.c: Likewise.
11063 * math/s_cexpl.c: Likewise.
11064 * math/s_clog.c: Likewise.
11065 * math/s_clog10.c: Likewise.
11066 * math/s_clog10f.c: Likewise.
11067 * math/s_clog10l.c: Likewise.
11068 * math/s_clogf.c: Likewise.
11069 * math/s_clogl.c: Likewise.
11070 * math/s_csqrt.c: Likewise.
11071 * math/s_csqrtf.c: Likewise.
11072 * math/s_csqrtl.c: Likewise.
11073 * math/s_ctanf.c: Likewise.
11074 * math/s_ctanh.c: Likewise.
11075 * math/s_ctanhf.c: Likewise.
11076 * math/s_ctanhl.c: Likewise.
11077 * math/s_ctanl.c: Likewise.
11078
bc62c2fb
UD
11079 * math/math_private.h: Define __nan, __nanf, __nanl.
11080 * math/s_cacosh.c: Include <math_private.h>.
11081 * math/s_cacoshl.c: Likewise.
11082 * math/s_casinh.c: Likewise.
11083 * math/s_casinhf.c: Likewise.
11084 * math/s_casinhl.c: Likewise.
11085 * math/s_ccos.c: Rely entire on ccosh.
11086 * math/s_ccosf.c: Rely entire on ccoshf.
11087 * math/s_ccosl.c: Rely entirely on ccoshl.
11088 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11089 Remove tests for FE_INVALID.
11090 * math/s_ccoshf.c: Likewise.
11091 * math/s_ccoshl.c: Likewise.
11092 * math/s_csin.c: Likewise.
11093 * math/s_csinf.c: Likewise.
11094 * math/s_csinh.c Likewise.
11095 * math/s_csinhf.c: Likewise.
11096 * math/s_csinhl.c: Likewise.
11097 * math/s_csinl.c: Likewise.
11098 * math/s_ctan.c: Likewise.
11099 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11100 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11101 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11102
8ec250a4
UD
111032011-10-21 Ulrich Drepper <drepper@gmail.com>
11104
c196fed8
UD
11105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11106 compilation problems.
11107
8ec250a4
UD
11108 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11109 __builtin_expect.
11110
8d4f46c6
UD
111112011-10-20 Ulrich Drepper <drepper@gmail.com>
11112
ed72b654
UD
11113 * sysdeps/i386/configure.in: Test for -mfma4 option.
11114 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11115 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11116 COMMON_CPUID_INDEX_80000001.
11117 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11118 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11119 use it if FMA3 is not supported.
11120 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11121
8d4f46c6
UD
11122 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11123 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11124
d45c60c2
AS
111252011-10-20 Andreas Schwab <schwab@redhat.com>
11126
11127 [BZ #12892]
11128 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11129 it would create a cycle with a link time dependency.
11130
d9a4d2ab
UD
111312011-10-19 Ulrich Drepper <drepper@gmail.com>
11132
855d1560
UD
11133 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11134 instruction.
11135 * string/Makefile (strop-tests): Add rawmemchr.
11136 * string/test-rawmemchr.c: New file.
11137
d9a4d2ab
UD
11138 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11139 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11140 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11141 when compiling str{,n}casecmp and when AVX is available. Hook up
11142 new optimized code in initializers.
11143
8f3b1ffe
AS
111442011-10-19 Andreas Schwab <schwab@redhat.com>
11145
11146 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11147 __feraiseexcept instead of feraiseexcept.
11148
d38f1dba
UD
111492011-10-18 Ulrich Drepper <drepper@gmail.com>
11150
d9a8d0ab
UD
11151 * math/math_private.h: Define defaults for libc_fetestexcept and
11152 libc_feupdateenv.
11153 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11154 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11155 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11156 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11157 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11158 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11159 libc_fetestexcept and libc_feupdateenv.
11160
4855e3dd
UD
11161 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11162 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11163 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11164 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11165 libc_feholdexcept_setround.
11166
581d30e3
UD
11167 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11168 Add s_nearbyint-c and s_nearbyintf-c.
11169 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11170 nearbyintf inlines.
11171 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11172 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11173 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11174 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11175
d38f1dba
UD
11176 * math/math_private.h: Define defaults for libc_fegetround,
11177 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11178 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11179 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11180 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11181 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11182 standard functions.
11183 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11184 Remove comments and hacks for old compiler versions.
11185 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11186 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11187 libc_feholdexceptl.
11188
caa6c9d8
AS
111892011-10-18 Andreas Schwab <schwab@redhat.com>
11190
11191 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11192 (__feraiseexcept_renamed): Add __NTH.
11193 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11194 namespace violations.
11195
97c066e6
UD
111962011-10-17 Ulrich Drepper <drepper@gmail.com>
11197
99ce7b04
UD
11198 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11199
1004d182
UD
11200 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11201
228a984d
UD
11202 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11203 recently added interfaces.
11204 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11205
c8553a6a
UD
11206 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11207 about macro parameter expansion.
11208
ed22dcf6
UD
11209 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11210 __NO_MATH_INLINES is defined. Cleanups.
11211
11212 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11213 and __floorf is target has SSE4.1.
11214 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11215 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11216 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11217 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11218
b171c137
UD
11219 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11220 name.
11221 (floorf): Likewise.
11222
97c066e6
UD
11223 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11224
629f62ef
AS
112252011-10-17 Andreas Schwab <schwab@redhat.com>
11226
49a43d80
AS
11227 * misc/sys/cdefs.h: Fix last change.
11228
629f62ef
AS
11229 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11230 database lookup.
11231
e453f6cd
UD
112322011-10-16 Ulrich Drepper <drepper@gmail.com>
11233
aa78043a
UD
11234 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11235
ad0f5cad
UD
11236 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11237 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11238 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11239 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11240 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11241 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11242 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11243 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11244 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11245 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11246 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11247 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11248 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11249 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11250 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11251 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11252 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11253 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11254 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11255 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11256 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11257 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11258
11259 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11260 ceil, ceilf, floor, floorf.
11261
11262 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11263 Perform IRELATIVE relocations last.
11264
e453f6cd
UD
11265 * elf/do-rel.h: Add another parameter nrelative, replacing the
11266 local variable with the same name. Change name of the function
11267 to end in Rel or Rela (uppercase).
11268 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11269 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11270 elf_dynamic_do_##reloc function.
11271
fd5bdc09
UD
112722011-10-15 Ulrich Drepper <drepper@gmail.com>
11273
79b195b5
UD
11274 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11275 is sufficient, at least on modern CPUs.
11276
d4a28569
UD
11277 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11278
b61099b5
UD
11279 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11280 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11281
bcf01e6d
UD
11282 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11283 __expl_finite.
11284 * math/bits/math-finite.h: Add entries for exp.
11285 * math/e_expl.c: Add __*_finite alias.
11286 * sysdeps/i386/fpu/e_exp.S: Likewise.
11287 * sysdeps/i386/fpu/e_expf.S: Likewise.
11288 * sysdeps/i386/fpu/e_expl.c: Likewise.
11289 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11290 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11291 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11292 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11293 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11294 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11295 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11296
ba1a0d59
UD
11297 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11298 is sufficient, at least on modern CPUs.
11299
fd5bdc09
UD
11300 * ctype/ctype-info.c (__ctype_init): Define.
11301 * include/ctype.h (__ctype_init): Declare.
11302 (__ctype_b_loc): The variable is always initialized.
11303 (__ctype_toupper_loc): Likewise.
11304 (__ctype_tolower_loc): Likewise.
11305 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11306 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11307
7872cfb0
AS
113082011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11309
b468825a
AS
11310 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11311
7872cfb0
AS
11312 * configure.in: Also look in $cxxmachine/include for C++ system
11313 headers.
11314
be13f7bf
LD
113152011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11316
11317 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11318 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11319 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11320 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11321 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11322 (USE_AS_WMEMCMP): New macro.
11323 Fixing indents.
11324 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11325 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11326 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11327 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11328 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11329 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11330 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11331 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11332 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11333 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11334 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11335 (USE_AS_WMEMCMP): New macro.
11336 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11337 * sysdeps/string/test-memcmp.c: Update.
11338 Fix simple_wmemcmp.
11339 Add new tests.
11340 * wcsmbs/wmemcmp.c: Update.
11341 (WMEMCMP): New macro.
11342 Fix overflow bug.
11343
556a2007
AJ
113442011-10-12 Andreas Jaeger <aj@suse.de>
11345
11346 [BZ #13268]
11347 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11348
538faaa7
UD
113492011-10-15 Ulrich Drepper <drepper@gmail.com>
11350
ab6737ff
UD
11351 * libio/iofwide.c (do_length): Avoid warning.
11352
538faaa7
UD
11353 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11354
396a21b1
UD
113552011-10-14 Ulrich Drepper <drepper@gmail.com>
11356
cdf2901f
UD
11357 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11358
38ad40ce
UD
11359 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11360 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11361 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11362 * sysdeps/i386/i686/fpu/e_log.S: New file.
11363 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11364 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11365
396a21b1
UD
11366 * ctype/ctype.h: Add support for inlined isXXX functions when
11367 compiling C++ code.
11368
6b1f68c9
AS
113692011-10-14 Andreas Schwab <schwab@redhat.com>
11370
349290c0
AS
11371 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11372
6b1f68c9
AS
11373 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11374
f2282d42
RM
113752011-10-13 Roland McGrath <roland@hack.frob.com>
11376
11377 [BZ #13291]
11378 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11379
5298ffa8
AS
113802011-10-13 Andreas Schwab <schwab@redhat.com>
11381
714fad23
AS
11382 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11383 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11384 feraiseexcept.
11385
81dcc7fb
AS
11386 * sysdeps/x86_64/memrchr.S: Check for zero size.
11387
5298ffa8
AS
11388 * string/stratcliff.c: Add memrchr tests.
11389
951fbcec
LD
113902011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11391
11392 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11393 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11394 rawmemchr-sse2 rawmemchr-sse2-bsf.
11395 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11396 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11397 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11398 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11399 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11400 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11401 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11402 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11403 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11404 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11405 * string/memrchr.c (MEMRCHR): New macro.
11406
0ac5ae23
UD
114072011-10-12 Ulrich Drepper <drepper@gmail.com>
11408
11409 Add integration with gcc's -ffinite-math-only and optimize wrapper
11410 functions in libm.
11411 * Versions.def: Define GLIBC_2.15 version for libm.
11412 * math/Makefile (headers): Add bits/math-finite.h.
11413 * math/bits/math-finite.h: New file.
11414 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11415 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11416 * math/e_acoshl.c: Add __*_finite alias.
11417 * math/e_acosl.c: Likewise.
11418 * math/e_asinl.c: Likewise.
11419 * math/e_atan2l.c: Likewise.
11420 * math/e_atanhl.c: Likewise.
11421 * math/e_coshl.c: Likewise.
11422 * math/e_exp10.c: Likewise.
11423 * math/e_exp10f.c: Likewise.
11424 * math/e_exp10l.c: Likewise.
11425 * math/e_exp2l.c: Likewise.
11426 * math/e_fmodl.c: Likewise.
11427 * math/e_gammal_r.c: Likewise.
11428 * math/e_hypotl.c: Likewise.
11429 * math/e_j0l.c: Likewise.
11430 * math/e_j1l.c: Likewise.
11431 * math/e_jnl.c: Likewise.
11432 * math/e_lgammal_r.c: Likewise.
11433 * math/e_log10l.c: Likewise.
11434 * math/e_log2l.c: Likewise.
11435 * math/e_logl.c: Likewise.
11436 * math/e_powl.c: Likewise.
11437 * math/e_sinhl.c: Likewise.
11438 * math/e_sqrtl.c: Likewise.
11439 * math/e_scalb.c: Completely rewritten and optimized.
11440 * math/e_scalbf.c: Likewise.
11441 * math/e_scalbl.c: Likewise.
11442 * math/w_acos.c: Likewise.
11443 * math/w_acosf.c: Likewise.
11444 * math/w_acosl.c: Likewise.
11445 * math/w_acosh.c: Likewise.
11446 * math/w_acoshf.c: Likewise.
11447 * math/w_acoshl.c: Likewise.
11448 * math/w_asin.c: Likewise.
11449 * math/w_asinf.c: Likewise.
11450 * math/w_asinl.c: Likewise.
11451 * math/w_atan2.c: Likewise.
11452 * math/w_atan2f.c: Likewise.
11453 * math/w_atan2l.c: Likewise.
11454 * math/w_atanh.c: Likewise.
11455 * math/w_atanhf.c: Likewise.
11456 * math/w_atanhl.c: Likewise.
11457 * math/w_exp10.c: Likewise.
11458 * math/w_exp10f.c: Likewise.
11459 * math/w_exp10l.c: Likewise.
11460 * math/w_fmod.c: Likewise.
11461 * math/w_fmodf.c: Likewise.
11462 * math/w_fmodl.c: Likewise.
11463 * math/w_j0.c: Likewise.
11464 * math/w_j0f.c: Likewise.
11465 * math/w_j0l.c: Likewise.
11466 * math/w_j1.c: Likewise.
11467 * math/w_j1f.c: Likewise.
11468 * math/w_j1l.c: Likewise.
11469 * math/w_jn.c: Likewise.
11470 * math/w_jnf.c: Likewise.
11471 * math/w_log.c: Likewise.
11472 * math/w_logf.c: Likewise.
11473 * math/w_logl.c: Likewise.
11474 * math/w_log10.c: Likewise.
11475 * math/w_log10f.c: Likewise.
11476 * math/w_log10l.c: Likewise.
11477 * math/w_log2.c: Likewise.
11478 * math/w_log2f.c: Likewise.
11479 * math/w_log2l.c: Likewise.
11480 * math/w_pow.c: Likewise.
11481 * math/w_powf.c: Likewise.
11482 * math/w_powl.c: Likewise.
11483 * math/w_remainder.c: Likewise.
11484 * math/w_remainderf.c: Likewise.
11485 * math/w_remainderl.c: Likewise.
11486 * math/w_scalb.c: Likewise.
11487 * math/w_scalbf.c: Likewise.
11488 * math/w_scalbl.c: Likewise.
11489 * math/w_sqrt.c: Likewise.
11490 * math/w_sqrtf.c: Likewise.
11491 * math/w_sqrtl.c: Likewise.
11492 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11493 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11494 used.
11495 * math/math_private.h: Declare __kernel_standard_f.
11496 * math/w_cosh.c: Remove cruft and optimize a bit.
11497 * math/w_coshf.c: Likewise.
11498 * math/w_coshl.c: Likewise.
11499 * math/w_exp2.c: Likewise.
11500 * math/w_exp2f.c: Likewise.
11501 * math/w_exp2l.c: Likewise.
11502 * math/w_hypot.c: Likewise.
11503 * math/w_hypotf.c: Likewise.
11504 * math/w_hypotl.c: Likewise.
11505 * math/w_lgamma.c: Likewise.
11506 * math/w_lgamma_r.c: Likewise.
11507 * math/w_lgammaf.c: Likewise.
11508 * math/w_lgammaf_r.c: Likewise.
11509 * math/w_lgammal.c: Likewise.
11510 * math/w_lgammal_r.c: Likewise.
11511 * math/w_sinh.c: Likewise.
11512 * math/w_sinhf.c: Likewise.
11513 * math/w_sinhl.c: Likewise.
11514 * math/w_tgamma.c: Likewise.
11515 * math/w_tgammaf.c: Likewise.
11516 * math/w_tgammal.c: Likewise.
11517 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11518 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11519 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11520 Minor optimizations. Pretty printing. Remove cruft.
11521 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11522 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11523 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11524 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11525 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11526 * sysdeps/i386/fpu/e_asin.S: Likewise.
11527 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11528 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11529 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11530 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11531 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11532 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11533 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11534 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11535 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11536 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11537 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11538 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11539 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11540 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11541 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11542 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11543 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11544 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11545 * sysdeps/i386/fpu/e_log.S: Likewise.
11546 * sysdeps/i386/fpu/e_log10.S: Likewise.
11547 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11548 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11549 * sysdeps/i386/fpu/e_log2.S: Likewise.
11550 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11551 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11552 * sysdeps/i386/fpu/e_logf.S: Likewise.
11553 * sysdeps/i386/fpu/e_logl.S: Likewise.
11554 * sysdeps/i386/fpu/e_pow.S: Likewise.
11555 * sysdeps/i386/fpu/e_powf.S: Likewise.
11556 * sysdeps/i386/fpu/e_powl.S: Likewise.
11557 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11558 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11559 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11560 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11561 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11562 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11563 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11564 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11565 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11566 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11567 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11568 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11569 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11570 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11571 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11572 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11573 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11574 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11575 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11576 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11577 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11578 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11579 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11580 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11581 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11582 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11583 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11584 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11585 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11586 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11587 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11588 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11589 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11590 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11591 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11592 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11593 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11594 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11595 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11596 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11597 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11598 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11599 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11600 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11601 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11602 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11603 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11604 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11605 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11606 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11607 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11608 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11609 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11610 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11611 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11612 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11613 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11614 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11615 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11616 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11617 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11618 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11619 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11620 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11621 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11622 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11623 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11624 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11625 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11626 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11627 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11628 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11629 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11630 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11631 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11632 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11633 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11634 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11635 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11636 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11637 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11638 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11639 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11640 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11641 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11642 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11643 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11644 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11645 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11646 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11647 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11648 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11649 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11650 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11651 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11652 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11653 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11654 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11655 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11656 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11657 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11658 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11659 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11660 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11661 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11662 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11663 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11664 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11665 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11666 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11667 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11668 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11669 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11670 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11671 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11672 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11673 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11674 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11675 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11676 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11677 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11678 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11679 (__isnanf): Likewise.
11680 (__isinf_ns): Likewise.
11681 (__isinf_nsf): Likewise.
11682 (__finite): Likewise.
11683 (__finitef): Likewise.
11684 (__ieee754_sqrt): Define as macro.
11685 (__ieee754_sqrtf): Define as macro.
11686 (__ieee754_sqrtl): Define as macro.
11687 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11688 inlined copy.
11689 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11690 __FINITE_MATH_ONLY__ consistent.
11691 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11692
12cc2fcd
AS
116932011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11694
a843a204
AS
11695 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11696 of rawmemchr.
11697
12cc2fcd
AS
11698 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11699
c853acd5
UD
117002011-10-09 Ulrich Drepper <drepper@gmail.com>
11701
11702 * po/ja.po: Update from translation team.
11703
c658d255
RM
117042011-10-08 Roland McGrath <roland@hack.frob.com>
11705
110946e4
RM
11706 * locale/programs/locarchive.c (prepare_address_space): New function.
11707 (create_archive, enlarge_archive, open_archive): Use it.
11708
50604220
RM
11709 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11710 inside [SHARED], where it is used.
11711
c658d255
RM
11712 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11713
11714 * nss/getent.c (netgroup_keys): Remove unused variable.
11715 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11716
6a621eb7
UD
117172011-10-08 Ulrich Drepper <drepper@gmail.com>
11718
7edb55ce
UD
11719 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11720 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11721 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11722 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11723 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11724 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11725 * math/Makefile (libm-calls): Add s_isinf_ns.
11726 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11727 * math/multc3.c: Likewise.
11728 * math/s_casin.c: Likewise.
11729 * math/s_casinf.c: Likewise.
11730 * math/s_casinl.c: Likewise.
11731 * math/s_ccos.c: Likewise.
11732 * math/s_ccosf.c: Likewise.
11733 * math/s_ccosl.c: Likewise.
11734 * math/s_ctan.c: Likewise.
11735 * math/s_ctanf.c: Likewise.
11736 * math/s_ctanh.c: Likewise.
11737 * math/s_ctanhf.c: Likewise.
11738 * math/s_ctanhl.c: Likewise.
11739 * math/s_ctanl.c: Likewise.
11740 * math/w_fmod.c: Likewise.
11741 * math/w_fmodf.c: Likewise.
11742 * math/w_fmodl.c: Likewise.
11743 * math/w_remainder.c: Likewise.
11744 * math/w_remainderf.c: Likewise.
11745 * math/w_remainderl.c: Likewise.
11746 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11747 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11748 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11749 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11750 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11751 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11752 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11753 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11754
187da0ae
UD
11755 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11756 of the number.
11757 * stdio-common/printf_fphex.c: Likewise.
11758 * stdio-common/printf_size.c: Likewise.
11759
9277c064
UD
11760 * math/e_exp10.c: Include math_private.h using <...> not "...".
11761 * math/e_exp10f.c: Likewise.
11762 * math/e_exp10l.c: Likewise.
11763 * math/e_exp2l.c: Likewise.
11764 * math/e_j0l.c: Likewise.
11765 * math/e_j1l.c: Likewise.
11766 * math/e_jnl.c: Likewise.
11767 * math/e_lgammal_r.c: Likewise.
11768 * math/e_rem_pio2l.c: Likewise.
11769 * math/e_scalb.c: Likewise.
11770 * math/e_scalbf.c: Likewise.
11771 * math/e_scalbl.c: Likewise.
11772 * math/k_cosl.c: Likewise.
11773 * math/k_sinl.c: Likewise.
11774 * math/k_tanl.c: Likewise.
11775 * math/s_cacoshf.c: Likewise.
11776 * math/s_catan.c: Likewise.
11777 * math/s_catanf.c: Likewise.
11778 * math/s_catanh.c: Likewise.
11779 * math/s_catanhf.c: Likewise.
11780 * math/s_catanhl.c: Likewise.
11781 * math/s_catanl.c: Likewise.
11782 * math/s_ccosh.c: Likewise.
11783 * math/s_ccoshf.c: Likewise.
11784 * math/s_ccoshl.c: Likewise.
11785 * math/s_cexp.c: Likewise.
11786 * math/s_cexpf.c: Likewise.
11787 * math/s_cexpl.c: Likewise.
11788 * math/s_clog.c: Likewise.
11789 * math/s_clog10.c: Likewise.
11790 * math/s_clog10f.c: Likewise.
11791 * math/s_clog10l.c: Likewise.
11792 * math/s_clogf.c: Likewise.
11793 * math/s_clogl.c: Likewise.
11794 * math/s_csin.c: Likewise.
11795 * math/s_csinf.c: Likewise.
11796 * math/s_csinh.c: Likewise.
11797 * math/s_csinhf.c: Likewise.
11798 * math/s_csinhl.c: Likewise.
11799 * math/s_csinl.c: Likewise.
11800 * math/s_csqrt.c: Likewise.
11801 * math/s_csqrtf.c: Likewise.
11802 * math/s_csqrtl.c: Likewise.
11803 * math/s_ctan.c: Likewise.
11804 * math/s_ctanf.c: Likewise.
11805 * math/s_ctanh.c: Likewise.
11806 * math/s_ctanhf.c: Likewise.
11807 * math/s_ctanhl.c: Likewise.
11808 * math/s_ctanl.c: Likewise.
11809 * math/s_ldexp.c: Likewise.
11810 * math/s_ldexpf.c: Likewise.
11811 * math/s_ldexpl.c: Likewise.
11812 * math/s_significand.c: Likewise.
11813 * math/s_significandf.c: Likewise.
11814 * math/s_significandl.c: Likewise.
11815 * math/w_acos.c: Likewise.
11816 * math/w_acosf.c: Likewise.
11817 * math/w_acosh.c: Likewise.
11818 * math/w_acoshf.c: Likewise.
11819 * math/w_acoshl.c: Likewise.
11820 * math/w_acosl.c: Likewise.
11821 * math/w_asin.c: Likewise.
11822 * math/w_asinf.c: Likewise.
11823 * math/w_asinl.c: Likewise.
11824 * math/w_atan2.c: Likewise.
11825 * math/w_atan2f.c: Likewise.
11826 * math/w_atan2l.c: Likewise.
11827 * math/w_atanh.c: Likewise.
11828 * math/w_atanhf.c: Likewise.
11829 * math/w_atanhl.c: Likewise.
11830 * math/w_cosh.c: Likewise.
11831 * math/w_coshf.c: Likewise.
11832 * math/w_coshl.c: Likewise.
11833 * math/w_dremf.c: Likewise.
11834 * math/w_exp10.c: Likewise.
11835 * math/w_exp10f.c: Likewise.
11836 * math/w_exp10l.c: Likewise.
11837 * math/w_exp2.c: Likewise.
11838 * math/w_exp2f.c: Likewise.
11839 * math/w_fmod.c: Likewise.
11840 * math/w_fmodf.c: Likewise.
11841 * math/w_fmodl.c: Likewise.
11842 * math/w_hypot.c: Likewise.
11843 * math/w_hypotf.c: Likewise.
11844 * math/w_hypotl.c: Likewise.
11845 * math/w_j0.c: Likewise.
11846 * math/w_j0f.c: Likewise.
11847 * math/w_j0l.c: Likewise.
11848 * math/w_j1.c: Likewise.
11849 * math/w_j1f.c: Likewise.
11850 * math/w_j1l.c: Likewise.
11851 * math/w_jn.c: Likewise.
11852 * math/w_jnf.c: Likewise.
11853 * math/w_jnl.c: Likewise.
11854 * math/w_lgamma.c: Likewise.
11855 * math/w_lgamma_r.c: Likewise.
11856 * math/w_lgammaf.c: Likewise.
11857 * math/w_lgammaf_r.c: Likewise.
11858 * math/w_lgammal.c: Likewise.
11859 * math/w_lgammal_r.c: Likewise.
11860 * math/w_log.c: Likewise.
11861 * math/w_log10.c: Likewise.
11862 * math/w_log10f.c: Likewise.
11863 * math/w_log10l.c: Likewise.
11864 * math/w_log2.c: Likewise.
11865 * math/w_log2f.c: Likewise.
11866 * math/w_log2l.c: Likewise.
11867 * math/w_logf.c: Likewise.
11868 * math/w_logl.c: Likewise.
11869 * math/w_pow.c: Likewise.
11870 * math/w_powf.c: Likewise.
11871 * math/w_powl.c: Likewise.
11872 * math/w_remainder.c: Likewise.
11873 * math/w_remainderf.c: Likewise.
11874 * math/w_remainderl.c: Likewise.
11875 * math/w_scalb.c: Likewise.
11876 * math/w_scalbf.c: Likewise.
11877 * math/w_scalbl.c: Likewise.
11878 * math/w_sinh.c: Likewise.
11879 * math/w_sinhf.c: Likewise.
11880 * math/w_sinhl.c: Likewise.
11881 * math/w_sqrt.c: Likewise.
11882 * math/w_sqrtf.c: Likewise.
11883 * math/w_sqrtl.c: Likewise.
11884 * math/w_tgamma.c: Likewise.
11885 * math/w_tgammaf.c: Likewise.
11886 * math/w_tgammal.c: Likewise.
11887
6a621eb7
UD
11888 * po/ja.po: Update from translation team.
11889
bf582445
AJ
118902011-09-29 Andreas Jaeger <aj@suse.de>
11891
f9efbf3a
AJ
11892 [BZ #13179]
11893 * sunrpc/netname.c (netname2host): Fix logic.
11894
bf582445
AJ
11895 [BZ #6779]
11896 [BZ #6783]
11897 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11898 correctly.
11899 * math/w_remainder.c (__remainder): Likewise.
11900 * math/w_remainderf.c (__remainderf): Likewise.
11901 * math/libm-test.inc (remainder_test): Add test cases.
11902
48693bea
AK
119032011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11904
11905 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11906 sdiv_qrnnd.
11907
42622229
LD
119082011-10-07 Ulrich Drepper <drepper@gmail.com>
11909
11910 * string/test-memcmp.c: Avoid unncessary #defines.
11911 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11912
093ecf92
LD
119132011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11914
11915 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11916 Use new sse2 version for core i3 - i7 as it's faster
11917 than sse42 version.
11918 (bit_Prefer_PMINUB_for_stringop): New.
11919 * sysdeps/x86_64/rawmemchr.S: Update.
11920 Replace with faster SSE2 version.
11921 * sysdeps/x86_64/memrchr.S: New file.
11922 * sysdeps/x86_64/memchr.S: Update.
11923 Replace with faster SSE2 version.
11924
fde56e5c
MP
119252011-09-12 Marek Polacek <mpolacek@redhat.com>
11926
11927 * elf/dl-load.c (lose): Add cast to avoid warning.
11928
21fd49a9
UD
119292011-10-07 Ulrich Drepper <drepper@gmail.com>
11930
5a06e643
UD
11931 * po/ca.po: Update from translation team.
11932
684ae515
UD
11933 * inet/getnetgrent_r.c: Hook up nscd.
11934 * nscd/Makefile (routines): Add nscd_netgroup.
11935 (nscd-modules): Add netgroupcache.
11936 (CFLAGS-netgroupcache.c): Define.
11937 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11938 (cache_search): Add const to second parameter.
11939 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11940 INNETGR.
11941 (dbs): Add netgrdb entry.
11942 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11943 (verify_persistent_db): Handle netgrdb.
11944 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11945 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11946 GETFDNETGR.
11947 (netgroup_response_header): Define.
11948 (innetgroup_response_header): Define.
11949 (datahead): Add netgroup_response_header and innetgroup_response_header
11950 elements.
11951 * nscd/nscd.conf: Add entries for netgroup cache.
11952 * nscd/nscd.h (dbtype): Add netgrdb.
11953 (_PATH_NSCD_NETGROUP_DB): Define.
11954 (netgroup_iov_disabled): Declare.
11955 (xmalloc, xcalloc, xrealloc): Move declarations here.
11956 (cache_search): Adjust prototype.
11957 Add netgroup-related prototypes.
11958 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11959 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11960 (__nscd_innetgr): Declare.
11961 * nscd/selinux.c (perms): Use access_vector_t as element type and
11962 add netgroup-related initializers.
11963 * nscd/netgroupcache.c: New file.
11964 * nscd/nscd_netgroup.c: New file.
11965 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11966 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11967 For four parameters use innetgr.
11968 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11969 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11970 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11971 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11972
21fd49a9
UD
11973 * nscd/connections.c (register_traced_file): Don't register file
11974 for disabled databases.
11975
054c0457
UD
119762011-10-06 Ulrich Drepper <drepper@gmail.com>
11977
32b63198
UD
11978 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11979
054c0457
UD
11980 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11981 from tree and freeing node.
11982
64031225
JO
119832011-09-25 Jiri Olsa <jolsa@redhat.com>
11984
11985 * nss/nsswitch.c (__nss_database_lookup): Handle
11986 nss_parse_service_list out of memory case.
11987
0490345c
JO
119882011-09-15 Jiri Olsa <jolsa@redhat.com>
11989
11990 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11991 out of memory case.
11992
3a62d00d
AS
119932011-10-04 Andreas Schwab <schwab@redhat.com>
11994
11995 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11996 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11997 pass it down.
11998 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11999 elf_machine_rela, elf_machine_lazy_rel.
12000 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12001 (ELF_DYNAMIC_DO_REL): Likewise.
12002 (ELF_DYNAMIC_DO_RELA): Likewise.
12003 (ELF_DYNAMIC_RELOCATE): Likewise.
12004 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12005 to ELF_DYNAMIC_DO_REL.
12006 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12007 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12008 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12009 elf_machine_rela.
12010 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12011 skip_ifunc, don't call ifunc function if non-zero.
12012 (elf_machine_rela): Likewise.
12013 (elf_machine_lazy_rel): Likewise.
12014 (elf_machine_lazy_rela): Likewise.
12015 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12016 (elf_machine_lazy_rel): Likewise.
12017 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12018 Likewise.
12019 (elf_machine_lazy_rel): Likewise.
12020 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12021 Likewise.
12022 (elf_machine_lazy_rel): Likewise.
12023 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12024 (elf_machine_lazy_rel): Likewise.
12025 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12026 (elf_machine_lazy_rel): Likewise.
12027 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12028 (elf_machine_lazy_rel): Likewise.
12029 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12030 (elf_machine_lazy_rel): Likewise.
12031 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12032 (elf_machine_lazy_rel): Likewise.
12033 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12034 (elf_machine_lazy_rel): Likewise.
12035
68577918
UD
120362011-09-28 Ulrich Drepper <drepper@gmail.com>
12037
12038 * nss/nss_files/files-init.c (_nss_files_init): Use static
12039 initialization for all the *_traced_file variables.
12040
68822d74
AS
120412011-09-28 Andreas Schwab <schwab@redhat.com>
12042
12043 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12044
2056100b
RM
120452011-09-27 Roland McGrath <roland@hack.frob.com>
12046
12047 [BZ #13226]
12048 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12049
32c76b63
AS
120502011-09-27 Andreas Schwab <schwab@redhat.com>
12051
12052 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12053 Reread the line before reparsing it.
12054
bf972c9d
AS
120552011-09-26 Andreas Schwab <schwab@redhat.com>
12056
12057 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12058
e057a1b5
JM
120592011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12060 Maxim Kuvyrkov <maxim@codesourcery.com>
12061 Joseph Myers <joseph@codesourcery.com>
12062
12063 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12064 if needed for __stack_chk_guard.
12065
bc7e1c36
RM
120662011-09-19 Roland McGrath <roland@hack.frob.com>
12067
ecb1482f
RM
12068 * sysdeps/posix/spawni.c (script_execute): Always define it.
12069 It will be optimized away if unused.
12070 (maybe_script_execute): New function.
12071 (__spawni): Call it.
12072
bc7e1c36
RM
12073 * Makerules: Don't include tls.make.
12074 (config-tls): Always set to thread.
12075 * tls.make.c: File removed.
12076
1c3b002b
MF
120772011-09-19 Mike Frysinger <vapier@gentoo.org>
12078
12079 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12080 * config.make.in (CPPFLAGS-config): New substituted variable.
12081
2840865d
UD
120822011-09-15 Ulrich Drepper <drepper@gmail.com>
12083
88738eb6
UD
12084 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12085
cbf645a6 12086 [BZ #13192]
2840865d
UD
12087 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12088 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12089
b402e91a
RM
120902011-09-15 Roland McGrath <roland@hack.frob.com>
12091
12092 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12093 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12094 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12095 (CALL_FAIL): Likewise.
12096 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12097 (CALL_FAIL): Macro removed.
12098 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12099
4c1a1f71
UD
121002011-09-15 Ulrich Drepper <drepper@gmail.com>
12101
12102 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12103 for __FINITE_MATH_ONLY__ == 1.
12104
edc121be
AS
121052011-09-15 Andreas Schwab <schwab@redhat.com>
12106
12107 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12108 __ieee754_sqrt instead of sqrt.
12109 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12110 __ieee754_sqrtf instead of sqrtf.
12111 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12112 __floorf instead of floorf.
12113 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12114 __floorf, __truncf instead of floorf, truncf.
12115
cd205654
UD
121162011-09-14 Ulrich Drepper <drepper@gmail.com>
12117
ee4d0315
UD
12118 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12119
cd205654
UD
12120 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12121 __extern_always_inline.
12122 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12123 32-bit.
12124
48b67d71
AS
121252011-09-14 Andreas Schwab <schwab@redhat.com>
12126
12127 * elf/rtld.c (dl_main): Also relocate in dependency order when
12128 doing symbol dependency testing.
12129
1ae12c75
AS
121302011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12131
12132 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12133 Always define `refsym'.
12134
995a80df
AS
121352011-09-13 Andreas Schwab <schwab@redhat.com>
12136
e529793b
AS
12137 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12138 (__FD_ELT): Renamed from __FDELT.
12139 * misc/bits/select2.h (__FD_ELT): Likewise.
12140 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12141 __FD_MASK instead of __FDELT, __FDMASK.
12142 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12143 Likewise.
12144 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12145 Likewise.
12146
52d4fef8
AS
12147 * elf/Makefile (gen-ldd): Fix pattern.
12148
995a80df
AS
12149 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12150 (init_tls): Likewise.
12151
8682f8b0
UD
121522011-09-12 Ulrich Drepper <drepper@gmail.com>
12153
12154 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12155
de82006d
AS
121562011-09-12 Andreas Schwab <schwab@redhat.com>
12157
a7c8e6a1
AS
12158 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12159 `struct cmsghdr *' instead of `void *'.
12160 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12161 Likewise.
12162
0f31fe77
AS
121632011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12164
12165 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12166 if non-absolute.
12167 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12168 ldd_rewrite_script.
0f31fe77 12169
32b4c839
UD
121702011-09-11 Ulrich Drepper <drepper@gmail.com>
12171
83cd1420
UD
12172 * configure.in: Remove --with-tls option.
12173 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12174 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12175 out in case it is missing.
12176 * sysdeps/ia64/elf/configure.in: Likewise.
12177 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12178 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12179 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12180 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12181 * sysdeps/sh/elf/configure.in: Likewise.
12182 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12183 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12184 * sysdeps/x86_64/elf/configure.in: Likewise.
12185 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12186 * sysdeps/mach/hurd/tls.h: Likewise.
12187
633f745d
UD
12188 [BZ #13067]
12189 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12190
f318beb8
UD
12191 [BZ #13090]
12192 * configure.in: Fix use of AC_INIT.
12193
32b4c839
UD
12194 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12195
3ce1f295
UD
121962011-09-10 Ulrich Drepper <drepper@gmail.com>
12197
bb016596
UD
12198 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12199 __set_errno.
8e58439c
UD
12200 * malloc/hooks.c: Likewise.
12201
aebae053 12202 [BZ #11929]
02d46fc4
UD
12203 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12204 variables statically.
12205 (narenas): Initialize.
12206 (list_lock): Initialize.
bb016596
UD
12207 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12208 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12209 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12210 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12211 Add initializers to main_arena and mp_.
12212 (malloc_state): Remove pagesize member. Change all users to use
12213 GLRO(dl_pagesize).
12214
12215 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12216 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12217 is always initialized.
12218
22a89187
UD
12219 * malloc/malloc.c: Removed unused configurations and dead code.
12220 * malloc/arena.c: Likewise.
12221 * malloc/hooks.c: Likewise.
02d46fc4 12222 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12223
d063d164
UD
12224 * include/tls.h: Removed. USE___THREAD must always be defined.
12225 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12226 * elf/dl-libc.c: Likewise.
12227 * elf/dl-tsd.c: Likewise.
12228 * include/errno.h: Likewise.
12229 * include/netdb.h: Likewise.
12230 * include/resolv.h: Likewise.
12231 * inet/herrno-loc.c: Likewise.
12232 * inet/herrno.c: Likewise.
12233 * malloc/arena.c: Likewise.
12234 * malloc/hooks.c: Likewise.
12235 * malloc/malloc.c: Likewise.
12236 * resolv/res-state.c: Likewise.
12237 * resolv/res_libc.c: Likewise.
12238 * sysdeps/i386/dl-machine.h: Likewise.
12239 * sysdeps/ia64/dl-machine.h: Likewise.
12240 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12241 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12242 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12243 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12244 * sysdeps/sh/dl-machine.h: Likewise.
12245 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12246 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12247 * sysdeps/unix/i386/sysdep.S: Likewise.
12248 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12249 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12250 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12251 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12252 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12253 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12254 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12255 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12256 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12257 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12258 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12259 * sysdeps/x86_64/dl-machine.h: Likewise.
12260 * tls.make.c: Likewise.
12261
3ce1f295
UD
12262 * configure.in: Remove --with-__thread option. Make tests for
12263 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12264 tls_model attribute fail if no support is available. Remove
12265 USE_IN_LIBIO.
12266 * Makeconfig: Adjust for dropped configure option. All features are
12267 now mandatory.
12268 * Makerules: Likewise.
12269 * Versions.def: Likewise.
12270 * argp/argp-fmtstream.c: Likewise.
12271 * argp/argp-fmtstream.h: Likewise.
12272 * argp/argp-help.c: Likewise.
12273 * assert/assert.c: Likewise.
12274 * config.h.in: Likewise.
12275 * config.make.in: Likewise.
12276 * configure: Likewise.
12277 * configure.in: Likewise.
12278 * csu/Versions: Likewise.
12279 * csu/init.c: Likewise.
12280 * elf/tst-audit2.c: Likewise.
12281 * elf/tst-tls10.c: Likewise.
12282 * elf/tst-tls10.h: Likewise.
12283 * elf/tst-tls11.c: Likewise.
12284 * elf/tst-tls12.c: Likewise.
12285 * elf/tst-tls14.c: Likewise.
12286 * elf/tst-tlsmod11.c: Likewise.
12287 * elf/tst-tlsmod12.c: Likewise.
12288 * elf/tst-tlsmod13.c: Likewise.
12289 * elf/tst-tlsmod13a.c: Likewise.
12290 * elf/tst-tlsmod14a.c: Likewise.
12291 * elf/tst-tlsmod15b.c: Likewise.
12292 * elf/tst-tlsmod16a.c: Likewise.
12293 * elf/tst-tlsmod16b.c: Likewise.
12294 * elf/tst-tlsmod7.c: Likewise.
12295 * elf/tst-tlsmod8.c: Likewise.
12296 * elf/tst-tlsmod9.c: Likewise.
12297 * gmon/gmon.c: Likewise.
12298 * grp/fgetgrent_r.c: Likewise.
12299 * grp/putgrent.c: Likewise.
12300 * hurd/fopenport.c: Likewise.
12301 * include/libc-symbols.h: Likewise.
12302 * include/tls.h: Likewise.
12303 * intl/gettextP.h: Likewise.
12304 * intl/loadinfo.h: Likewise.
12305 * locale/global-locale.c: Likewise.
12306 * locale/localeinfo.h: Likewise.
12307 * mach/devstream.c: Likewise.
12308 * malloc/arena.c: Likewise.
12309 * malloc/set-freeres.c: Likewise.
12310 * misc/err.c: Likewise.
12311 * misc/getttyent.c: Likewise.
12312 * misc/mntent_r.c: Likewise.
12313 * posix/getopt.c: Likewise.
12314 * posix/wordexp.c: Likewise.
12315 * pwd/fgetpwent_r.c: Likewise.
12316 * resolv/Versions: Likewise.
12317 * resolv/res_hconf.c: Likewise.
12318 * shadow/fgetspent_r.c: Likewise.
12319 * shadow/putspent.c: Likewise.
12320 * stdio-common/printf_fphex.c: Likewise.
12321 * stdio-common/tmpfile.c: Likewise.
12322 * stdlib/abort.c: Likewise.
12323 * stdlib/fmtmsg.c: Likewise.
12324 * sunrpc/auth_unix.c: Likewise.
12325 * sunrpc/clnt_perr.c: Likewise.
12326 * sunrpc/clnt_tcp.c: Likewise.
12327 * sunrpc/clnt_udp.c: Likewise.
12328 * sunrpc/clnt_unix.c: Likewise.
12329 * sunrpc/openchild.c: Likewise.
12330 * sunrpc/svc_simple.c: Likewise.
12331 * sunrpc/svc_tcp.c: Likewise.
12332 * sunrpc/svc_udp.c: Likewise.
12333 * sunrpc/svc_unix.c: Likewise.
12334 * sunrpc/xdr.c: Likewise.
12335 * sunrpc/xdr_array.c: Likewise.
12336 * sunrpc/xdr_rec.c: Likewise.
12337 * sunrpc/xdr_ref.c: Likewise.
12338 * sunrpc/xdr_stdio.c: Likewise.
12339
1248c1c4
PB
123402011-09-09 Ulrich Drepper <drepper@gmail.com>
12341
12342 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12343
123442011-07-03 Andreas Jaeger <aj@suse.de>
12345
12346 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12347 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12348 regenerate with gen-libm-tests.pl.
12349
123502010-05-12 Petr Baudis <pasky@suse.cz>
12351
12352 [BZ #11589]
12353 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12354 around j0() zero points by switching to j1().
12355 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12356 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12357 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12358 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12359
f22e1074
UD
123602011-09-09 Ulrich Drepper <drepper@gmail.com>
12361
f19009c1
UD
12362 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12363 instead of 0.
12364 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12365 instead of 0. .
12366 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12367 Patch in part by Pavel Roskin <proski@gnu.org>.
12368
3f8cc204
UD
12369 [BZ #13138]
12370 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12371 realloc.
12372 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12373 Free memory block if necessary.
12374
f22e1074
UD
12375 [BZ #12847]
12376 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12377 be NULL. Don't lock in this case.
12378
0a2349f9
RM
123792011-09-09 Roland McGrath <roland@hack.frob.com>
12380
12381 * elf/elf.h (ELFOSABI_GNU): New macro.
12382 (ELFOSABI_LINUX): Define to that.
12383
f3cdd467
DZ
123842011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12385
12386 * string/strncat.c (strncat): Undef the symbol in case it has been
12387 defined in bits/string.h.
12388
74718d13
UD
123892011-09-09 Ulrich Drepper <drepper@gmail.com>
12390
633e9e0f
UD
12391 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12392
0a2349f9 12393 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12394 link map.
12395
f9924780
AJ
123962011-08-17 Andreas Jaeger <aj@suse.de>
12397
12398 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12399
7f5517aa
PP
124002011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12401 Ian Lance Taylor <iant@google.com>
12402
12403 * math/libm-test.inc (lround_test): New testcase.
12404 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12405
762011fe
UD
124062011-09-08 Ulrich Drepper <drepper@gmail.com>
12407
92963737
UD
12408 * Makefile: Remove support for automatic cvs check-ins.
12409 * Makerules: Likewise.
12410 * config.make.in: Likewise.
12411 * configure.in: Likewise.
12412 * intl/Makefile: Likewise.
12413 * locale/Makefile: Likewise.
12414 * po/Makefile: Likewise.
12415 * posix/Makefile: Likewise.
12416 * sysdeps/gnu/Makefile: Likewise.
12417 * sysdeps/mach/hurd/Makefile: Likewise.
12418 * sysdeps/sparc/sparc32/Makefile: Likewise.
12419
b0727fd8
JS
12420 [BZ #13118]
12421 * posix/Makefile (bug-regex32-ENV): Define.
12422 Patch by John Stanley <jpsinthemix@verizon.net>.
12423
a0f33f99
UD
12424 * misc/Makefile (headers): Add bits/select2.h.
12425 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12426 * misc/bits/select2.h: New file.
12427 * include/bits/select2.h: New file.
12428 * debug/Makefile (routines): Add fdelt_chk.
12429 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12430 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12431 FD_ISSET.
12432 * debug/fdelt_chk.c: New file.
12433
762011fe
UD
12434 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12435 * wcsmbs/test-wmemcmp.c: Likewise.
12436 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12437 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12438
124392011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12440
12441 * string/Makefile (strop-tests): Add memcmp.
12442 * string/test-wmemcmp.c: New file.
12443 * string/test-memcmp.c: Add wmemcmp support.
12444
7f513ec8
RM
124452011-09-08 Roland McGrath <roland@hack.frob.com>
12446
0442afb4
RM
12447 [BZ #13153]
12448 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12449 2011-07-19 change.
12450
7f513ec8
RM
12451 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12452 garbage value in a __mach_port_mod_refs call in the cases of the
12453 task-self and thread-self ports.
12454
a12b2239
ST
124552011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12456
12457 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12458
610f9ab4
AS
124592011-09-08 Andreas Schwab <schwab@redhat.com>
12460
7f513ec8 12461 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12462
48882a1a
LD
124632011-09-07 Ulrich Drepper <drepper@gmail.com>
12464
b49865be
UD
12465 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12466
fdc86bc9
UD
12467 * elf/dl-libc.c (dlerror_run): Pass back error code from
12468 dl_catch_error.
12469
c966526a
UD
12470 [BZ #13123]
12471 * elf/dl-load.c (lose): Free l_origin if it is valid.
12472
48882a1a
LD
12473 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12474 names.
12475 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12476 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12477 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12478 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12479 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12480 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12481
77a2a8b4
AZ
124822011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12483
12484 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12485 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12486 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12487 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12488 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12489 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12490 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12491 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12492 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12493 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12494
24f579d8
AM
124952011-08-15 Alan Modra <amodra@gmail.com>
12496
12497 [BZ #13092]
12498 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12499 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12500 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12501 ppc_mcount to static-only-routines.
12502 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12503 __mcount_internal.
12504 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12505 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12506
3d4837df
UD
125072011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12508
12509 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12510 for finite and infinity parameters.
12511
22700377
WS
125122011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12513
12514 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12515 and add nop instructions for throughput optimization.
12516 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12517
5025581e
WS
125182011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12519
12520 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12521 aligned copy for power7 with vector-scalar instructions.
12522 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12523
08a300c9
L
125242011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12525
12526 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12527 AVX check.
12528
59178ef9
AS
125292011-09-07 Andreas Schwab <schwab@redhat.com>
12530
12531 [BZ #13144]
12532 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12533 last change.
12534
e38ba7ab
UD
125352011-09-07 Ulrich Drepper <drepper@gmail.com>
12536
12537 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12538 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12539 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12540 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12541 clock_gettime.
12542
d53a73ac
UD
125432011-09-06 Ulrich Drepper <drepper@gmail.com>
12544
fc8bffcc
UD
12545 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12546 Forgot to demangle the pointer.
12547
ceaa0c5d
UD
12548 * sysdeps/i386/sysdep.h: Define atom_text_section.
12549 * sysdeps/x86_64/sysdep.h: Likewise.
12550 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12551 section with atom_text_section.
12552 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12553 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12554 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12555 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12556 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12557
a77d3c17
UD
12558 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12559 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12560 already be defined. Change to take two parameters and don't assign
12561 result to variable. Adjust all users.
12562 Define INTERNAL_GETTIME if not already defined.
12563 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12564 call.
12565 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12566 HAVE_CLOCK_GETTIME_VSYSCALL.
12567 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12568
d53a73ac
UD
12569 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12570 gettimeofday vsyscall, just use time.
12571
a8f84144
AS
125722011-09-06 Andreas Schwab <schwab@redhat.com>
12573
12574 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12575 <errno.h>.
12576
ef606249
UD
125772011-09-06 Ulrich Drepper <drepper@gmail.com>
12578
12579 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12580 syscall on x86-64.
12581 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12582 syscall.
12583 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12584 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12585 syscall if possible.
12586
6585cb60
UD
125872011-09-05 Ulrich Drepper <drepper@gmail.com>
12588
12589 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12590 e_ident. Don't pass to find_mapsXX.
12591 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12592
a5f524e4
LD
125932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12594
12595 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12596 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12597 * sysdeps/x86_64/multiarch/strchr.S: Update.
12598 Check bit_slow_BSF bit.
12599 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12600 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12601 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12602
554881ef
UD
126032011-09-05 Ulrich Drepper <drepper@gmail.com>
12604
d96de963
UD
12605 [BZ #13134]
12606 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12607 before glibc 2.15.
12608 (tryshell): Define.
12609 (__spawni): Change last parameter to be flag. Test
12610 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12611 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12612 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12613 * posix/spawni.c: Likewise.
12614 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12615 * posix/spawnp.c: Likewise. Change normal version to use
12616 SPAWN_XFLAGS_USE_PATH.
12617 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12618 SPAWN_XFLAGS_TRY_SHELL.
12619
d48e5868
UD
12620 [BZ #13150]
12621 * posix/glob.h: Remove gcc 1.x support.
12622
554881ef
UD
12623 [BZ #13068]
12624 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12625
693fb948
LD
126262011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12627
12628 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12629 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12630 strrchr-sse2-bsf
12631 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12632 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12633 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12634 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12635 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12636 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12637
1b48c537
UD
126382011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12639
49d42c37
UD
12640 * sysdeps/x86_64/wcscmp.S: New file.
12641
1b48c537
UD
12642 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12643 wcscmp-c wcscmp-sse2
12644 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12645 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12646 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12647 * wcsmbs/wcscmp.c: Allow renaming.
12648
15c95c5d
DM
126492011-09-05 David S. Miller <davem@davemloft.net>
12650
12651 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12652 stack slot, rather than the struct return pointer slot.
12653 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12654 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12656 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12657
2f0ad8f3
UD
126582011-09-05 Ulrich Drepper <drepper@gmail.com>
12659
d88ae418
UD
12660 * po/ja.po: Update from translation team.
12661
2f0ad8f3
UD
12662 [BZ #13144]
12663 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12664 kernel in 64-bit binaries.
12665
5f4318d1
DM
126662011-09-01 David S. Miller <davem@davemloft.net>
12667
12668 * elf/elf.h (HWCAP_SPARC_*): Move to..
12669 * sysdeps/sparc/sysdep.h: this new file and add new values.
12670 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12671 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12672 _DL_HWCAP_COUNT to 24.
12673 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12674 entries.
12675 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12676 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12677 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12678 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12679 instead of magic constants.
12680 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12681
3ba57516
DM
126822011-08-31 David S. Miller <davem@davemloft.net>
12683
12684 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12685 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12686 Reimplement to do errno handling inline.
12687 (SYSCALL_ERROR_HANDLER): New macro.
12688 (__SYSCALL_STRING): Do not do errno handling in asm.
12689 (__CLONE_SYSCALL_STRING): Delete.
12690 (__INTERNAL_SYSCALL_STRING): Delete.
12691 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12692 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12693 (PSEUDO): Reimplement to do errno handling inline.
12694 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12695 (SYSCALL_ERROR_HANDLER): New macro.
12696 (__SYSCALL_STRING): Do not do errno handling in asm.
12697 (__CLONE_SYSCALL_STRING): Delete.
12698 (__INTERNAL_SYSCALL_STRING): Delete.
12699 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12700 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12701 i386.
12702 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12703 (inline_syscall*): Add 'err' argument.
12704 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12705 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12706 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12707 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12708
12709 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12710 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12711
2bc17433
AS
127122011-08-30 Andreas Schwab <schwab@redhat.com>
12713
12714 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12715
fbeb5f4d
JO
127162011-08-29 Jiri Olsa <jolsa@redhat.com>
12717
12718 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12719 directive.
12720
ad69cc26
DM
127212011-08-24 David S. Miller <davem@davemloft.net>
12722
12723 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12724
39dd69df
AS
127252011-08-24 Andreas Schwab <schwab@redhat.com>
12726
12727 * elf/Makefile: Add rules to build and run unload8 test.
12728 * elf/unload8.c: New file.
12729 * elf/unload8mod1.c: New file.
12730 * elf/unload8mod1x.c: New file.
12731 * elf/unload8mod2.c: New file.
12732 * elf/unload8mod3.c: New file.
12733
12734 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12735 it wasn't used.
12736
2c0b250a
DM
127372011-08-23 David S. Miller <davem@davemloft.net>
12738
12739 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12740 subtract stack bias.
12741 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12742 %sp not %fp in calculations.
12743 (_JMPBUF_UNWINDS_ADJ): Likewise.
12744
22044b48
DM
12745 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12746 (aio_suspend): Call it to force an exception region around the
12747 AIO_MISC_WAIT() invocation.
12748
2cae4995
AS
127492011-08-23 Andreas Schwab <schwab@redhat.com>
12750
12751 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12752 backslash.
12753
873a772e
AJ
127542011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12755
12756 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12757 protection macro.
12758 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12759 and <dl-machine.h>.
12760 (Elf64_FuncDesc): Remove.
12761
25ad0df1
DM
127622011-08-22 David S. Miller <davem@davemloft.net>
12763
12764 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12765 sigaltstack check, add missing cfi directives.
12766 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12767 missing cfi directives, and sigaltstack handling.
12768
e888bcbe
AS
127692011-08-16 Andreas Schwab <schwab@redhat.com>
12770
12771 [BZ #11724]
12772 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12773 object is seen twice.
12774 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12775
12776 * elf/Makefile (distribute): Add tst-initorder2.c.
12777 (tests): Add tst-initorder2.
12778 (modules-names): Add tst-initorder2a tst-initorder2b
12779 tst-initorder2c tst-initorder2d. Add rules to build them.
12780 ($(objpfx)tst-initorder2.out): New rule.
12781 * elf/tst-initorder2.c: New file.
12782 * elf/tst-initorder2.exp: New file.
12783
87162f46
AS
127842011-08-22 Andreas Schwab <schwab@redhat.com>
12785
70538b7f
AS
12786 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12787
f55ffe58
AS
12788 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12789 dependencies back to end of function.
12790
87162f46
AS
12791 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12792 $(elfobjdir)/ld.so.
12793
91b392a4
UD
127942011-08-21 Ulrich Drepper <drepper@gmail.com>
12795
12796 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12797 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12798 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12799 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12800 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12801 of __vdso_gettimeofday.
12802 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12803 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12804 attribute_hidden.
12805 (_libc_vdso_platform_setup): Remove initialization of
12806 __vdso_gettimeofday and __vdso_time.
12807
5c43483f
UD
128082011-08-20 Ulrich Drepper <drepper@gmail.com>
12809
775a77e7
UD
12810 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12811 and fgetc_unlocked.
12812 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12813 getc_unlocked.
89f447ed 12814
49c74ba9
UD
12815 * elf/dl-open.c (add_to_global): Report additions to the global scope
12816 for LD_DEBUG=scopes.
12817 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12818 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12819
5c43483f
UD
12820 [BZ #13114]
12821 * stdio-common/Makefile (tests): Add bug24.
12822 * stdio-common/bug24.c: New file.
12823
a101b025
AJ
128242011-08-19 Andreas Jaeger <aj@suse.de>
12825
12826 [BZ #13114]
12827 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12828 non-existant file when using close-on-exec mode.
12829
c88f1766
UD
128302011-08-20 Ulrich Drepper <drepper@gmail.com>
12831
0276a718
UD
12832 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12833 the very first instruction.
12834
c88f1766
UD
12835 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12836 the CFI state in the end.
12837 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12838 inclusion of dl-trampoline.h.
12839 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12840
51ccffa0
AS
128412011-08-19 Andreas Schwab <schwab@redhat.com>
12842
94d7165f
AS
12843 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12844 expectations for long double.
12845
51ccffa0
AS
12846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12847 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12848
fd708658 128492011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12850
12851 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12852 artificual limit depends upon the system page size.
12853
44f0a71e
UD
128542011-08-17 Ulrich Drepper <drepper@gmail.com>
12855
12856 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12857 * resolv/Makefile: Define CFLAGS-libresolv.
12858
8de79a24
AS
128592011-08-17 Andreas Schwab <schwab@redhat.com>
12860
12861 * nss/makedb.c (compute_tables): Make variables used in nested
12862 function static.
12863
27724598
UD
128642011-08-17 Ulrich Drepper <drepper@gmail.com>
12865
c5305d88
UD
12866 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12867 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12868 if buffer was too small.
12869
27724598
UD
12870 * elf/pldd.c (main): Attach to all threads in the process.
12871 Rewrite /proc handling to use *at functions.
12872
076fe015
UD
128732011-08-16 Ulrich Drepper <drepper@gmail.com>
12874
174baab3
UD
12875 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12876 specifies first scope to show.
12877 (dl_open_worker): Update callers. Move printing scope of new
12878 object to before the relocation.
44f0a71e 12879 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12880 * sysdeps/generic/ldsodefs.h: Update declaration.
12881
076fe015
UD
12882 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12883 string for the scope number.
12884
a60df2c3
UD
128852011-08-14 Ulrich Drepper <drepper@gmail.com>
12886
12887 * nscd/servicescache.c (cache_addserv): Make sure written is always
12888 initialized.
12889
5e4287d1
RM
128902011-08-14 Roland McGrath <roland@hack.frob.com>
12891
85ae0589
RM
12892 * sysdeps/i386/i486/bits/atomic.h
12893 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12894 statement expression, so as to suppress "set but not used" warning.
12895 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12896
69f63097
RM
12897 * string/strncat.c (STRNCAT): Use prototype definition.
12898
675456ef
RM
12899 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12900 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12901 -Iprograms here.
12902 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12903 (localedef-modules): Add localedef.
12904 (locale-modules): Add locale.
12905
5e4287d1
RM
12906 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12907 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12908 to avoid a warning.
12909
9c96ff23
DM
129102011-08-14 David S. Miller <davem@davemloft.net>
12911
12912 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12913 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12914
f9ddf089
UD
129152011-08-13 Ulrich Drepper <drepper@gmail.com>
12916
44f0a71e 12917 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12918 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12919 * elf/rtld.c (dl_main): Set l_name of vDSO.
12920 Call _dl_show_scope when DL_DEBUG_SCOPES.
12921 (process_dl_debug): Recognize scopes flag and also set it for all.
12922 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12923 Declare _dl_show_scope.
12924
1dc27704
UD
12925 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12926 (do_dlopen): Pass caller_dlopen to dl_open.
12927 (__libc_dlopen_mode): Initialize caller_dlopen.
12928
f9ddf089
UD
12929 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12930 of libc. Make tolower call locale-independent. Optimize a bit by
12931 using isdigit instead of isalnum.
12932 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12933
9ac533d3
UD
129342011-08-12 Ulrich Drepper <drepper@gmail.com>
12935
12936 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12937 was a dependency or dynamically loaded.
12938
89edf2e9
UD
129392011-08-11 Ulrich Drepper <drepper@gmail.com>
12940
8e999d29
UD
12941 * intl/l10nflist.c: Allow architecture-specific pop function.
12942 * sysdeps/x86_64/l10nflist.c: New file.
12943
89edf2e9
UD
12944 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12945 classification.
12946
14d96785
AS
129472011-08-10 Andreas Schwab <schwab@redhat.com>
12948
12949 * include/dirent.h: Add libc_hidden_proto for scandirat and
12950 scandirat64. Don't declare __scandirat64.
12951 * dirent/scandirat.c: Add libc_hidden_def.
12952 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12953 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12954
6761ac04
DM
129552011-08-10 David S. Miller <davem@davemloft.net>
12956
12957 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12958 enum.
12959 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12960 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12961 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12962
c55fbd1e
UD
129632011-08-09 Ulrich Drepper <drepper@gmail.com>
12964
12965 * Versions.def [libc]: Add GLIBC_2.15.
12966 * dirent/Makefile (routines): Add scandirat and scandirat64.
12967 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12968 GLIBC_2.15.
12969 * dirent/dirent.h: Declare scandirat and scandirat64.
12970 * dirent/scandirat.c: New file.
12971 * dirent/scandirat64.c: New file.
12972 * sysdeps/wordsize-64/scandirat.c: New file.
12973 * sysdeps/wordsize-64/scandirat64.c: New file.
12974 * dirent/opendir.c: Define opendirat.
12975 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12976 using scandirat.
12977 * dirent/scandir64.c: Adjust for scandir.c change.
12978 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12979 __scandirat64, and __scandir_cancel_handler.
12980 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12981 additional parameter and use openat instead of open (outside of ld.so).
12982 Add new __opendir as wrapper around __opendirat.
12983 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12984 here without requiring old scandirat implementation.
12985
879165f2
UD
129862011-08-08 Ulrich Drepper <drepper@gmail.com>
12987
12988 * dirent/scandir.c (cancel_handler): Renamed to
12989 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12990 defined. Adjust users.
12991 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12992 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12993
cb7e923b
UD
129942011-08-04 Ulrich Drepper <drepper@gmail.com>
12995
16292edd
UD
12996 * string/test-string.h (IMPL): Use __STRING to expand name and then
12997 stringify it.
12998
cb7e923b
UD
12999 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13000 of cleanups.
13001
cff82933
LD
130022011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13003
13004 * string/Makefile: Update.
13005 (strop-tests): Append strncat.
13006 * string/test-wcscmp.c: New file.
13007 New comprehensive test for wcscmp.
13008 * string/test-strcmp.c: Update.
13009 (WIDE): New define.
13010
9be9bfcc
AS
130112011-07-22 Andreas Schwab <schwab@redhat.com>
13012
13013 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13014 line.
13015
2e96f1c7
AS
130162011-07-26 Andreas Schwab <schwab@redhat.com>
13017
13018 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13019 encoding to ACE if AI_IDN.
13020
85188888
JJ
130212011-08-01 Jakub Jelinek <jakub@redhat.com>
13022
13023 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13024 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13025
5fa16e9b
LD
130262011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13027
13028 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13029 Fix overflow bug in strncat.
13030 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13031
13032 * string/test-strncat.c: Update.
13033 Add new tests for checking overflow bugs.
13034
130352011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13036
13037 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13038 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13039 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13040 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13041 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13042 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13043 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13044 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13045 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13046
13047 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13048 (USE_AS_STRCAT): Define.
13049 Add strcat and strncat support.
13050 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13051
8c1a459f
AS
130522011-07-25 Andreas Schwab <schwab@redhat.com>
13053
13054 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13055 __n bigger than INT_MAX+1.
13056 (__strncmp_g): Likewise.
13057
bba33c28
UD
130582011-07-23 Ulrich Drepper <drepper@gmail.com>
13059
798be72d
UD
13060 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13061 * libio/stido.h: Likewise.
13062
8accd4dc
UD
13063 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13064 (AF_NFC): Define.
13065 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13066 (AF_NFC): Define.
13067
cbff0d96
UD
13068 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13069 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13070 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13071 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13072 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13073
9191c04a
UD
13074 [BZ #13021]
13075 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13076 installed.
13077
bba33c28
UD
13078 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13079 typo.
13080 (_dl_x86_64_save_sse): Likewise.
13081
90f139dd
UD
130822011-07-22 Ulrich Drepper <drepper@gmail.com>
13083
1aae088a
UD
13084 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13085 OSXSAVE.
13086 (_dl_x86_64_save_sse): Likewise.
13087
8e2045f5
UD
13088 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13089
90f139dd
UD
13090 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13091
1d002f25
AS
130922011-07-21 Andreas Schwab <schwab@redhat.com>
13093
13094 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13095 change.
13096 (_dl_x86_64_save_sse): Use correct AVX check.
13097
21137f89
UD
130982011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13099
13100 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13101 bug in strncpy/strncat.
13102 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13103
a65c0b7a
UD
131042011-07-21 Ulrich Drepper <drepper@gmail.com>
13105
13106 * string/tester.c (test_strcat): Add tests for different alignments
13107 of source and destination.
13108 (test_strncat): Likewise.
13109
6986b98a
UD
131102011-07-20 Ulrich Drepper <drepper@gmail.com>
13111
90bb2039
UD
13112 [BZ #12852]
13113 * posix/glob.c (glob): Check passed in values before using them in
13114 expressions to avoid some overflows.
13115 (glob_in_dir): Likewise.
13116
5644ef54
UD
13117 [BZ #13007]
13118 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13119 check for AVX enablement so that we don't crash with old kernels and
13120 new hardware.
13121 * elf/tst-audit4.c: Add same checks here.
13122 * elf/tst-audit6.c: Likewise.
13123
13124 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13125
bfc9dc9b
AS
131262011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13127
13128 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13129
702e64bb
UD
131302011-07-20 Ulrich Drepper <drepper@gmail.com>
13131
13132 * po/cs.po: Update from translation team.
13133 * po/bg.po: Likewise.
13134
295e904f
MP
131352011-07-12 Marek Polacek <mpolacek@redhat.com>
13136
13137 * misc/sys/cdefs.h: Add support for const attribute.
13138 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13139 to gnu_dev_{major,minor,makedev} functions.
13140
3ff94596
MP
131412011-07-20 Marek Polacek <mpolacek@redhat.com>
13142
13143 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13144
28b59fca
AS
131452011-07-20 Andreas Schwab <schwab@redhat.com>
13146
13147 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13148 strlen results.
13149
19df733e
AK
131502011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13151
13152 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13153 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13154 register in order to avoid conflicts with the soft frame pointer
13155 being held in r11 when necessary.
13156 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13157 (INTERNAL_VSYSCALL_NCS): Likewise.
13158
c8835729
MP
131592011-07-14 Marek Polacek <mpolacek@redhat.com>
13160
13161 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13162 * elf/dl-fini.c (_dl_fini): Adjust caller.
13163 * elf/dl-close.c (_dl_close_worker): Likewise.
13164 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13165
b902330c
MP
131662011-07-15 Marek Polacek <mpolacek@redhat.com>
13167
8991e135
MP
13168 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13169 "aux_cache->nlibs < 0".
13170
b902330c
MP
13171 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13172 in the reload-count case.
13173
99710781
LD
131742011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13175
13176 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13177 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13178 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13179 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13180 * sysdeps/x86_64/multiarch/strcat.S: New file.
13181 * sysdeps/x86_64/multiarch/strncat.S: New file.
13182 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13183 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13184 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13185 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13186 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13187 (USE_AS_STRCAT): Define.
13188 Add strcat and strncat support.
13189 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13190 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13191 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13192 * string/strncat.c: Update.
13193 (USE_AS_STRNCAT): Define.
13194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13195 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13196 and i7.
13197 * sysdeps/x86_64/multiarch/init-arch.h
13198 (bit_Prefer_PMINUB_for_stringop): New.
13199 (index_Prefer_PMINUB_for_stringop): Likewise.
13200 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13201 bit_Prefer_PMINUB_for_stringop.
13202
7dc6bd90
UD
132032011-07-19 Ulrich Drepper <drepper@gmail.com>
13204
13205 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13206 buffer64.
13207 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13208 of casting of buffer.
13209 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13210 buffer32 and buffer64.
13211 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13212 writes instead of casting of buffer.
13213 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13214 buffer32.
13215 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13216 casting of buffer.
13217
e0e72284
AS
132182011-07-19 Andreas Schwab <schwab@redhat.com>
13219
13220 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13221
feb1eb0b
UD
132222011-07-19 Ulrich Drepper <drepper@gmail.com>
13223
13224 * nscd/nscd.c (termination_handler): Don't do anything for a database
13225 if it has not yet been initialized.
13226
298711ff
UD
132272011-07-18 Ulrich Drepper <drepper@gmail.com>
13228
13229 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13230
132312011-07-15 Marek Polacek <mpolacek@redhat.com>
13232
13233 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13234
f9d68389
UD
132352011-07-18 Ulrich Drepper <drepper@gmail.com>
13236
13237 * po/nl.po: Update from translation team.
13238 * po/sv.po: Likewise.
13239
db290cf5
RM
132402011-07-16 Roland McGrath <roland@hack.frob.com>
13241
13242 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13243 now disallowed by GCC.
5c550700 13244
fd5e21c7
RM
13245 * configure.in (use-default-link): Default to yes if a test -shared
13246 link meets our qualifications.
13247 * configure: Regenerated.
13248
5c550700
RM
13249 * config.make.in (output-format): New variable.
13250 * configure.in: Check for ld --print-output-format support.
13251 * configure: Regenerated.
13252 * Makerules ($(common-objpfx)format.lds)
13253 [$(output-format) != unknown]: Just use $(output-format),
13254 instead of the linker-script munging.
13255
9fa2c032
RM
132562011-07-14 Roland McGrath <roland@hack.frob.com>
13257
a6928d51
RM
13258 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13259 of $(common-objpfx)shlib.lds.
13260 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13261
661607b3
RM
13262 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13263 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13264
9fa2c032
RM
13265 * configure.in (-z relro check): Adjust test code to add a large
13266 writable data section after it.
13267 * configure: Regenerated.
13268
defe9061
RM
132692011-07-11 Roland McGrath <roland@hack.frob.com>
13270
13271 * configure.in (-z relro check): Fix test code to make the variable
13272 truly const.
13273 * configure: Regenerated.
13274
319b9ad4
UD
132752011-07-11 Ulrich Drepper <drepper@gmail.com>
13276
13277 * nscd/nscd.h (struct traced_file): Define.
13278 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13279 elements. Add traced_files.
13280 (inotify_fd): Declare.
13281 (register_traced_file): Declare.
13282 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13283 (inotify_fd): Export.
13284 (resolv_conf_descr): Remove.
13285 (nscd_init): Move inotify descriptor creation to main.
13286 Don't register files for notification here.
13287 (register_traced_file): New function.
13288 (invalidate_cache): Don't use reset_res to determine whether to call
13289 res_init, go through the list of registered files.
13290 (main_loop_poll): The inotify descriptors are now stored in the
13291 structures for the traced files.
13292 (main_loop_epoll): Likewise
13293 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13294 to __nss_disable_nscd.
13295 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13296 for a database anymore. Check the records for all the registered
13297 files instead.
13298 * nss/Makefile (libnss_files-routines): Add files-init.
13299 (libnss_db-routines): Add db-init.
13300 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13301 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13302 * nss/nss_db/db-init.c: New file.
13303 * nss/nss_files/files-init.c: New file.
13304 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13305 __nss_lookup_function.
13306 (__nss_lookup_function): Call nss_load_library.
13307 (nss_load_all_libraries): New function.
13308 (__nss_disable_nscd): Take parameter with callback function for files
13309 to register. Set is_nscd. Load all the DSOs for the NSS modules
13310 used for the cached services.
13311 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13312 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13313 options for features to all the files in nscd.
13314
13315 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13316
23bee3e8
RM
133172011-07-10 Roland McGrath <roland@hack.frob.com>
13318
13319 * csu/elf-init.c (__libc_csu_init): Comment typo.
13320
46a5b7f0
UD
133212011-07-09 Ulrich Drepper <drepper@gmail.com>
13322
13323 * po/pl.po: Update from translation team.
13324 * po/ja.po: Likewise.
13325 * po/ru.po: Likewise.
13326 * po/ko.po: Likewise.
13327 * po/fr.po: Likewise.
13328
d30cf5bb
RM
133292011-07-09 Roland McGrath <roland@hack.frob.com>
13330
113ddea4
RM
13331 * configure.in (.ctors/.dtors header and trailer check):
13332 Use an empirical test on a built program.
13333 * configure: Regenerated.
13334
574920b4
RM
13335 * configure.in (-z relro check): Use an empirical test on a built DSO.
13336 Detect, but do not require, on ia64.
13337 * configure: Regenerated.
13338
d30cf5bb
RM
13339 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13340 Update tests that use readelf to use $READELF instead.
13341 * configure: Regenerated.
13342
8538fdb3
UD
133432011-07-08 Ulrich Drepper <drepper@gmail.com>
13344
13345 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13346 if the result is not used.
13347
04d08991
AJ
133482011-07-05 Andreas Jaeger <aj@suse.de>
13349
13350 [BZ#9696]
13351 * stdlib/tst-strtod.c: Add testcase.
13352
de283087
AD
133532011-07-07 Ulrich Drepper <drepper@gmail.com>
13354
4e5f31c8 13355 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13356 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13357 The latter has a higher limit. Take additional parameter to pass to
13358 the new function.
13359 (__pathconf): Pass file to __statfs_link_max.
13360 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13361 __statfs_link_max.
13362 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13363 __statfs_link_max.
13364
de283087
AD
13365 [BZ #12868]
13366 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13367 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13368 Handle Lustre.
13369 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13370 (__statfs_filesize_max): Likewise.
13371 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13372
c75fa153
AJ
133732011-07-05 Andreas Jaeger <aj@suse.de>
13374
13375 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13376
1a544854
UD
133772011-07-06 Marek Polacek <mpolacek@redhat.com>
13378
13379 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13380 `status' variable.
13381 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13382 Likewise.
13383
6f0eec67
UD
133842011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13385
13386 * Makefile (strop-tests): Add strncat.
13387 * string/test-strncat.c: New file.
13388
aae30307
UD
133892011-06-30 Marek Polacek <mpolacek@redhat.com>
13390
13391 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13392
c0cfb5eb
UD
133932011-06-21 Andreas Jaeger <aj@suse.de>
13394
13395 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13396 Copy rule from iconvdata/Makefile.
13397
01636b21
UD
133982011-07-06 Ulrich Drepper <drepper@gmail.com>
13399
13400 [BZ #12922]
13401 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13402 but no long options are defined, just return 'W'.
13403
9895c8bc
UD
134042011-06-22 Marek Polacek <mpolacek@redhat.com>
13405
13406 [BZ #9696]
13407 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13408
5d4cf042
UD
134092011-07-06 Ulrich Drepper <drepper@gmail.com>
13410
13411 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13412 netgroups to read.
960e5535 13413 (innetgr): Likewise.
5d4cf042 13414
751eb97e
RM
134152011-07-05 Roland McGrath <roland@hack.frob.com>
13416
13417 * config.make.in (install_root): Default to $(DESTDIR).
13418
f15f1e45
UD
134192011-07-05 Ulrich Drepper <drepper@gmail.com>
13420
13421 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13422
4e34ac6a
RM
134232011-07-02 Roland McGrath <roland@hack.frob.com>
13424
5e9b6af4
RM
13425 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13426
84f9ea0f
RM
13427 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13428 containing directory rather than embedding absolute directory names.
13429
ea5ee9f7
RM
13430 * scripts/check-local-headers.sh: Rewritten using awk.
13431 Match by word, not by line. Print error messages for matches.
13432 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13433
1b74661a
RM
13434 * Makerules [shlib-lds-flags empty]:
13435 ($(common-objpfx)libc_pic.opts): New target.
13436 ($(common-objpfx)libc_pic.os.clean): New target.
13437 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13438
13439 * config.make.in (OBJCOPY): New variable.
13440 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13441 * configure: Regenerated.
13442
f781ef40
RM
13443 * config.make.in (use-default-link): New variable.
13444 * configure.in (use_default_link): Grok --with-default-link to set it.
13445 * configure: Regenerated.
13446 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13447 (shlib-lds, shlib-lds-flags): Define to empty.
13448
2d4fa81e
RM
13449 * Makerules (shlib-lds): New variable.
13450 (shlib-lds-flags): New variable.
13451 (build-shlib, build-moduile, build-module-asneeded): Use it.
13452 ($(common-objpfx)libc.so): Use $(shlib-lds).
13453 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13454 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13455
31fffa6b
RM
13456 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13457 DT_FLAGS/DT_FLAGS_1 with zero flags.
13458
4e34ac6a
RM
13459 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13460 linker script munging.
13461
fcfc776b
UD
134622011-07-02 Ulrich Drepper <drepper@gmail.com>
13463
13464 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13465 as 128-bit value.
13466 * crypt/sha512.c (sha512_process_block): Perform total addition using
13467 128-bit if possible.
13468 (__sha512_finish_ctx): Likewise.
13469 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13470 as 64-bit value.
13471 * crypt/sha256.c (SWAP64): Define.
13472 (sha256_process_block): Perform total addition using 64-bit if
13473 possible.
13474 (__sha256_finish_ctx): Likewise.
13475
99231d9a
UD
134762011-07-01 Ulrich Drepper <drepper@gmail.com>
13477
13478 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13479 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13480 * nscd/hstcache.c (cache_addhst): Likewise.
13481 * nscd/grpcache.c (cache_addgr): Likewise.
13482 * nscd/aicache.c (addhstaiX): Likewise
13483 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13484
445b4a53
TK
134852011-07-01 Thorsten Kukuk <kukuk@suse.de>
13486
13487 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13488 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13489 * nscd/hstcache.c (cache_addhst): Likewise.
13490 * nscd/grpcache.c (cache_addgr): Likewise.
13491 * nscd/aicache.c (addhstaiX): Likewise
13492
6d4d8e8e
AS
134932011-07-01 Andreas Schwab <schwab@redhat.com>
13494
13495 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13496 domain only when needed.
13497
89f654c5
AS
134982011-06-30 Andreas Schwab <schwab@redhat.com>
13499
13500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13501 is always restored.
13502
cf3b23ff
UD
135032011-06-29 Ulrich Drepper <drepper@gmail.com>
13504
13505 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13506 are re-adding the entry.
13507 * nscd/servicescache.c (cache_addserv): Likewise.
13508
751626f9
AJ
135092011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13510
13511 * sysdeps/generic/dl-irel.h: fix protection against multiple
13512 inclusions.
13513 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13514
9113ea1f
UD
135152011-06-28 Ulrich Drepper <drepper@gmail.com>
13516
5c0b8d90
UD
13517 [BZ #12935]
13518 * malloc/memusage.sh: Fix quoting in message.
13519 * debug/xtrace.sh: Likewise.
13520
9113ea1f
UD
13521 * configure.in: Remove support for --experimental-malloc option, make
13522 it the default.
13523 * config.make.in: Likewise.
13524 * malloc/Makefile: Likewise.
13525
a4172181
AS
135262011-06-27 Andreas Schwab <schwab@redhat.com>
13527
13528 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13529 two-byte characters.
13530
78a7eee7
RM
135312011-06-27 Roland McGrath <roland@hack.frob.com>
13532
62bede13
RM
13533 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13534 AC_CACHE_CHECK invocation.
13535 * configure: Regenerated.
13536
78a7eee7
RM
13537 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13538
5ce33a62
UD
135392011-06-27 Ulrich Drepper <drepper@gmail.com>
13540
034807a9
UD
13541 [BZ #12350]
13542 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13543 bit from old_res_options.
13544
4902da17
UD
13545 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13546
5ce33a62
UD
13547 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13548 value type for setfct.
13549
c2344f56
L
135502011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13551
13552 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13553 __gettimeofday instead of gettimeofday.
13554
68468076
UD
135552011-06-26 Ulrich Drepper <drepper@gmail.com>
13556
13557 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13558
acb0d739
L
135592011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13560
13561 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13562
13563 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13564 info.
13565
8912479f
L
135662011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13567
13568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13569 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13570 strcpy-sse2-unaligned strncpy-sse2-unaligned
13571 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13572 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13573 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13574 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13575 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13576 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13577 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13578 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13579 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13580 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13581 (STRCPY): Support SSE2 and SSSE3 versions.
13582
d5495a11
UD
135832011-06-24 Ulrich Drepper <drepper@gmail.com>
13584
13585 [BZ #12874]
13586 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13587 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13588 kernels which artificially limit size of requests.
13589
0b1cbaae
L
135902011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13591
13592 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13593 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13594 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13595 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13596 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13597 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13598 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13599 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13600 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13601 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13602 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13603 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13604 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13605 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13606 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13608 Enable unaligned load optimization for Intel Core i3, i5 and i7
13609 processors.
13610 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13611 Define.
13612 (index_Fast_Unaligned_Load): Define.
13613 (HAS_FAST_UNALIGNED_LOAD): Define.
13614
07f494a0
MP
136152011-06-23 Marek Polacek <mpolacek@redhat.com>
13616
13617 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13618
fa3fc0fe
UD
136192011-06-22 Ulrich Drepper <drepper@gmail.com>
13620
13621 [BZ #12907]
13622 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13623 until it is clear that the information is realy needed.
13624 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13625
e12df166
AS
136262011-06-22 Andreas Schwab <schwab@redhat.com>
13627
13628 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13629
852eb34d
UD
136302011-06-22 Ulrich Drepper <drepper@gmail.com>
13631
84e2a551
UD
13632 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13633 /sys/devices/system/cpu/online if it is usable.
13634
852eb34d
UD
13635 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13636 reading the information from the /proc filesystem to once a second.
13637
6e502e19
UD
136382011-06-21 Andreas Jaeger <aj@suse.de>
13639
13640 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13641 NULL after inclusion of kernel headers.
13642
75d39ff2
UD
136432011-06-21 Ulrich Drepper <drepper@gmail.com>
13644
51f9aa6a
UD
13645 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13646 calls to internal_setent.
13647
c0244a9d
UD
13648 [BZ #12885]
13649 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13650 addresses using gethostbyname4_r ignore IPv4 addresses.
13651
c5e3c2ae
UD
13652 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13653 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13654
75d39ff2
UD
13655 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13656
42675c6f
DM
136572011-06-20 David S. Miller <davem@davemloft.net>
13658
13659 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13660 inclusions.
13661 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13662
13663 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13664 (elf_irel): Use it.
13665 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13666 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13667 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13668 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13669 * sysdeps/x86_64/dl-irel.h: Likewise.
13670
13671 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13672 * elf/dl-sym.c: Likewise.
13673
57912a71
UD
136742011-06-15 Ulrich Drepper <drepper@gmail.com>
13675
13676 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13677 need to dereference resplen2.
13678
ee22793d
AS
136792011-06-14 Andreas Schwab <schwab@redhat.com>
13680
13681 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13682
a9e836b0
UD
136832011-06-15 Ulrich Drepper <drepper@gmail.com>
13684
77fb9117
UD
13685 * Makeconfig: Define vardbdir and inst_vardbdir.
13686 * nss/Makefile: Add rules to install db-Makefile.
13687
40c1b22c
UD
13688 * nss/nss_db/db-XXX.c: Cleanup.
13689
9f2da732
UD
13690 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13691 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13692 GLIBC_PRIVATE.
13693 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13694 * nss/makedb.c: Implement -g option to specify that value strings
13695 are generated and should not be added to table iterated over for
13696 get*ent calls.
13697 * nss/nss_db/db-initgroups.c: New file.
13698
82e9a1f7
UD
13699 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13700 interface.
13701
c41af17e
UD
13702 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13703 (internal_getgrouplist): Adjust to name change.
13704 Update use_initgroups_entry if this is not the first call.
13705 * nss/databases.def: Add initgroups entry.
13706
a9e836b0
UD
13707 * nss/makedb.c (compute_tables): Check result of multiple hash table
13708 sizes to minimize maximum chain length.
13709
2666d441
UD
137102011-06-14 Ulrich Drepper <drepper@gmail.com>
13711
13712 * Versions.def: Add entry for libnss_db.
13713 * shlib-versions: Likewise.
13714 * nss/Makefile: Add rules to build libnss_db.
13715 * nss/Versions: Add libnss_db information. Organize libnss_files
13716 entries better.
13717 * nss/db-Makefile: Add gshadow support. Change rules for the new
13718 makedb progra. Some minor improvements to generate smaller files.
13719 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13720 here from...
13721 * nss/makedb.c: ...here.
13722 Improve database format to be smaller and require less memory at
13723 runtime.
13724 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13725 db anymore.
13726 * nss/nss_db/db-netgrp.c: Likewise.
13727 * nss/nss_db/db-open.c: Likewise.
13728 * nss/nss_files/flies-XXX.x: Adjust comments.
13729 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13730 * nss/nss_files/files-grp.c: Likewise.
13731 * nss/nss_files/files-hosts.c: Likewise.
13732 * nss/nss_files/files-network.c: Likewise.
13733 * nss/nss_files/files-proto.c: Likewise.
13734 * nss/nss_files/files-pwd.c: Likewise.
13735 * nss/nss_files/files-rpc.c: Likewise.
13736 * nss/nss_files/files-service.c: Likewise.
13737 * nss/nss_files/files-sgrp.c: Likewise.
13738 * nss/nss_files/files-spwd.c: Likewise.
13739 * nss/nss_db/db-alias.c: Removed.
13740 * nss/nss_db/dummy-db.h: Removed.
13741
9ee76b5a
UD
137422011-06-02 Ulrich Drepper <drepper@gmail.com>
13743
13744 * nss/makedb.c: Rewritten to not use database library.
13745 * nss/Makefile: Update to build new makedb program.
13746
c71ca1f8
AJ
137472011-06-14 Andreas Jaeger <aj@suse.de>
13748
13749 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13750 memset declaration.
13751
3154bfb8
UD
137522011-06-10 Andreas Schwab <schwab@redhat.com>
13753
13754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13755 tmpbuf.
13756
b350afab
RM
137572011-06-10 Roland McGrath <roland@hack.frob.com>
13758
decd4e50
RM
13759 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13760 * elf/Makefile ($(objpfx)ld.so): Likewise.
13761
5615eaf2
RM
13762 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13763 Don't list ld.so twice in dependencies.
13764
13765 * posix/bug-regex31.c: Include <stdlib.h>.
13766
13767 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13768
13769 * nis/nss_compat/compat-spwd.c
13770 (getspent_next_nss_netgr): Remove unused variable.
13771 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13772
13773 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13774 nonmembers" output to use the right array.
13775
13776 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13777
13778 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13779
13780 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13781 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13782 * catgets/gencat.c (read_input_file): Likewise.
13783 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13784
13785 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13786 variable definition inside #if's controlling its use.
13787
13788 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13789
13790 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13791
13792 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13793
13794 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13795 unreachable code.
13796
13797 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13798
b68e08db
RM
13799 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13800 * configure: Regenerated.
13801
b350afab
RM
13802 * Makerules: Revert last change.
13803 * elf/Makefile: Likewise.
13804
28368601
RM
138052011-06-09 Roland McGrath <roland@hack.frob.com>
13806
13807 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13808 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13809 (reloc-link): Likewise.
13810
11988f8f
UD
138112011-06-09 Ulrich Drepper <drepper@gmail.com>
13812
13813 * elf/Makefile: Add rules to build pldd.
13814 * elf/pldd.c: New file.
13815 * elf/pldd-xx.c: New file.
13816
e80fab37
UD
138172011-06-07 Ulrich Drepper <drepper@gmail.com>
13818
13819 * version.h: Update for 2.15 development version.
13820
9b849836
DM
138212011-06-07 David S. Miller <davem@davemloft.net>
13822
13823 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13824 ifuncs.
13825 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13826 elf_machine_lazy_rel): Likewise.
13827 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13828 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13829 elf_machine_lazy_rel): Likewise.
13830 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13831 dl_hwcap via passed in argument.
13832 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13833 Likewise.
13834
5a31b283
AK
138352011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13836
13837 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13838
069e52f8
RM
138392011-06-06 Roland McGrath <roland@hack.frob.com>
13840
13841 [BZ #12849]
13842 * manual/fdl-1.1.texi: New file, verbatim from:
13843 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13844 * manual/lgpl-2.1.texi: New file, verbatim from:
13845 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13846 * manual/Makefile (licenses): New variable, list those new file names.
13847 (texis): Use it.
13848 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13849
13850 * manual/fdl.texi: File removed.
13851 * manual/lesser.texi: File removed.
13852 * manual/libc.texinfo (Copying, Documentation License):
13853 Use new @include file names, put @appendix directive before @include.
13854
f16846a5
JJ
138552011-06-04 Jakub Jelinek <jakub@redhat.com>
13856
13857 [BZ #12841]
13858 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13859 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13860 (mq_open): Add __NTH.
13861
3d29045b
L
138622011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13863
13864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13865 Assume Intel Core i3/i5/i7 processor if AVX is available.
13866
8c297311
UD
138672011-05-31 Ulrich Drepper <drepper@gmail.com>
13868
13869 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13870 typo.
13871
c8fc0c91
UD
138722011-05-31 Andreas Schwab <schwab@redhat.com>
13873
13874 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13875 memory. Use alloca_account. Fix memory leak when retrying.
13876
5b27a807
UD
138772011-05-31 Ulrich Drepper <drepper@gmail.com>
13878
356f8bc6
UD
13879 * version.h (RELEASE): Bump for 2.14 release.
13880 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13881
5b27a807
UD
13882 * config.make.in (RANLIB): Remove entry.
13883
01f16ab0
UD
138842011-05-30 Ulrich Drepper <drepper@gmail.com>
13885
41fce8bd
UD
13886 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13887 (libc.pot): Work around missing support for .ksh extension in xgettext.
13888
4769ae77
UD
13889 [BZ #12684]
13890 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13891 if both request failed.
13892 (send_dg): In case of server errors clear resplen or *resplen2.
13893
6b1e7d19
UD
13894 [BZ #12454]
13895 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13896 when there are multiple maps.
13897 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13898 (_dl_fini): Remove test here.
13899
01f16ab0
UD
13900 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13901
b1ebd700
UD
139022011-05-29 Ulrich Drepper <drepper@gmail.com>
13903
7ae22829
UD
13904 [BZ #12350]
13905 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13906 bit from old_res_options.
13907 (gaih_inet): Likewise.
13908
553149f6 13909 [BZ #11099]
18a84741 13910 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13911 as signed.
13912
652ffab1
UD
13913 * resolv/res_init.c (res_setoptions): Make the code more compact.
13914
16985fd0
UD
13915 [BZ #11558]
13916 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13917 set RES_USEVC.
13918
0464f746
UD
13919 [BZ #11634]
13920 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13921
7d17596c
UD
13922 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13923
cf6bbbd7
UD
13924 [BZ #11781]
13925 * malloc/malloc.h: Declare malloc hook variables as volatile.
13926
13f1ab36
UD
13927 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13928 in last patch.
13929
b1ebd700
UD
13930 [BZ #11799]
13931 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13932 raise in the comment.
80e2212d
UD
13933 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13934 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13935 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13936
ce67228d
UD
139372011-05-28 Ulrich Drepper <drepper@gmail.com>
13938
8887a920
UD
13939 [BZ #12811]
13940 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13941 grow the buffers more if it already has to be sufficient.
13942 (build_wcs_upper_buffer): Likewise.
13943 * posix/regexec.c (check_matching): Likewise.
13944 (clean_state_log_if_needed): Likewise.
13945 (extend_buffers): Don't enlarge buffers beyond size of the input
13946 buffer.
13947 Patches mostly by Emil Wojak <emil@wojak.eu>.
13948 * posix/bug-regex32.c: New file.
13949 * posix/Makefile (tests): Add bug-regex32.
13950
4f031072
UD
13951 * locale/findlocale.c (_nl_find_locale): Return right away if
13952 _nl_explode_name failed.
13953 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13954
d0478f0c
UD
13955 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13956
de81b246
UD
13957 * debug/xtrace.sh: Unify messages.
13958 * malloc/memusage.sh: Likewise.
13959
c738465a
UD
13960 [BZ #12813]
13961 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13962 time symbol from vDSO. Substitute with vsyscall if not available.
13963 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13964 __vdso_time.
13965
f1f929d7
UD
13966 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13967 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13968 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13969 Add sendmmsg and internal_sendmmsg.
13970 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13971 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13972 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13973
ce67228d
UD
13974 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13975 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13976 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13977
e57420c6
UD
139782011-05-27 Ulrich Drepper <drepper@gmail.com>
13979
a8509ca5
UD
13980 [BZ #12813]
13981 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13982 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13983 available.
13984 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13985 __vdso_getcpu.
13986
e57420c6
UD
13987 [BZ #12814]
13988 * iconvdata/Makefile (tests): Add bug-iconv9.
13989 * iconvdata/bug-iconv9.c: New file.
13990
4d07db15
AS
139912011-05-27 Andreas Schwab <schwab@redhat.com>
13992
13993 [BZ #12814]
13994 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13995
ea486f69
JJ
139962011-05-25 Jakub Jelinek <jakub@redhat.com>
13997
13998 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13999 (struct user_regs_struct): Change intcs field back to cs.
14000
6f038433
UD
140012011-05-25 Ulrich Drepper <drepper@gmail.com>
14002
14003 * po/ja.po: Update from translation team.
14004
67f86a25
UD
140052011-05-23 Ulrich Drepper <drepper@gmail.com>
14006
14007 [BZ #12795]
14008 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14009 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14010
def7fbd6
AS
140112011-05-20 Andreas Schwab <schwab@redhat.com>
14012
14013 * stdlib/longlong.h: Update from GCC.
14014
f50ef8f1
AS
140152011-05-23 Andreas Schwab <schwab@redhat.com>
14016
14017 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14018 parameter name.
14019 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14020 Add parameter name.
14021 (__sysconf): Pass it down.
14022
de7ce8f1
UD
140232011-05-22 Ulrich Drepper <drepper@gmail.com>
14024
f2962a71
UD
14025 [BZ #12671]
14026 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14027 some situations.
14028 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14029 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14030 add in in __libc_use_alloca calls. Adjust callers.
14031 (glob): Use malloc in some situations.
14032
de7ce8f1
UD
14033 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14034 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14035 pltexit.
14036
aec84f53
UD
140372011-05-21 Ulrich Drepper <drepper@gmail.com>
14038
05bb4a68
UD
14039 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14040 and CLOCK_BOOTTIME_ALARM.
14041
7ea72f99
UD
14042 [BZ #12782]
14043 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14044 is returned.
14045
7e4afad5
UD
14046 * string/_strerror.c (__strerror_r): Print negative errors as signed
14047 numbers.
14048
8e211fec
UD
14049 [BZ #12777]
14050 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14051 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14052 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14053
f7d82dc9
UD
14054 * configure.in: Fix typo in redirection and correct removal of test
14055 files in two cases.
14056
cc9e536d
UD
14057 [BZ #12788]
14058 * locale/setlocale.c (new_composite_name): Fix test to check for
14059 identical name of all categories.
14060
aec84f53
UD
14061 [BZ #12792]
14062 * libio/filedoalloc.c (local_isatty): New function.
14063 (_IO_file_doallocate): Use local_isatty.
14064 * stdio-common/perror.c (perror): In case a new stream is used
14065 forward the stream error.
14066 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14067 error flag.
14068
78e64fdc
RT
140692011-05-20 Ulrich Drepper <drepper@gmail.com>
14070
34a9094f
UD
14071 [BZ #11869]
14072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14073 alloca.
14074 * include/alloca.h (extend_alloca_account): Define.
14075
78e64fdc
RT
14076 [BZ #11857]
14077 * posix/regex.h: Fix comments with documentation of user-accessible
14078 fields after compilation and describe correct free'ing of pattern
14079 after re_compile_pattern.
14080 Patch by Reuben Thomas <rrt@sc3d.org>.
14081
457bddfc
RA
140822011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14083
14084 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14085 and -mno-altivec to prevent the compiler from using Altivec and/or
14086 VSX instructions when the corresponding registers are not available.
14087
a4527b51
AS
140882011-05-19 Andreas Schwab <schwab@redhat.com>
14089
14090 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14091
ed690b2f
UD
140922011-05-19 Ulrich Drepper <drepper@gmail.com>
14093
14094 * libio/freopen.c (freopen): Use __dup2, not dup2.
14095 * libio/freopen64.c (freopen64): Likewise.
14096
8db73634
L
140972011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14098
14099 [BZ #12775]
14100 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14101 * math/Makefile (tests): Add test-powl.
14102 (CFLAGS-test-powl.c): Define.
14103 * math/test-powl.c: New file.
14104
0a197a9d
L
141052011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14106
14107 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14108
ee30c380
UD
141092011-05-17 Ulrich Drepper <drepper@gmail.com>
14110
14111 [BZ #11837]
14112 * iconvdata/gb18030.c: Update to GB18020-2005.
14113
6ce75379
UD
141142011-05-16 Ulrich Drepper <drepper@gmail.com>
14115
a4b89fd8
AR
14116 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14117 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14118 Patch by Aharon Robbins <arnold@skeeve.com>.
14119
ea389b12
UD
14120 [BZ #11892]
14121 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14122 on the stack.
14123
68a3f91f
UD
14124 [BZ #11895]
14125 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14126 through underflows.
14127
15cc7dd1
UD
14128 [BZ #12766]
14129 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14130 point to strings before performing equality test for error_one_per_line
14131 mode.
14132
f3799213
UD
14133 [BZ #11697]
14134 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14135
d79a9c94
UD
14136 [BZ #11820]
14137 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14138 (struct user_fpregs_struct): Avoid __uint*_t types.
14139
56e5eb46
UD
14140 [BZ #6420]
14141 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14142 symbol info. Use it instead of calling _dl_addr locally.
14143 (lock_and_info): New function.
14144 (tr_freehook): Call lock_and_info and pass symbol info as additional
14145 parameter to tr_where.
14146 (tr_mallochook): Likewise.
14147 (tr_reallochook): Likewise.
14148 (tr_memalignhook): Likewise.
14149
6ce75379
UD
14150 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14151 used and couldn't be at all thread-safe.
14152
f8a3b5bf
UD
141532011-05-15 Ulrich Drepper <drepper@gmail.com>
14154
94b7cc37
UD
14155 * libio/freopen.c (freopen): Don't close old file descriptor
14156 before the new one is opened. Instead dup the new file descriptor
14157 to the old one after the new stream is created.
14158 * libio/freopen64.c (freopen64): Likewise.
14159 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14160 * libio/fileops.c (_IO_new_file_close_it): Handle new
14161 _IO_FLAGS2_NOCLOSE flag.
14162 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14163 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14164 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14165 _IO_FLAGS2_NOCLOSE flag.
14166 * include/unistd.h: Add hidden_proto for dup3.
14167 Define __have_dup3.
14168 * io/dup3.c: Define hidden symbol.
14169 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14170
bd25564e
UD
14171 [BZ #7101]
14172 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14173 when an incomplete long option is used.
14174 * posix/tst-getopt_long1.c: New file.
14175 * posix/Makefile (tests): Add tst-getopt_long1.
14176
c84cfef4
UD
14177 [BZ #10138]
14178 * scripts/config.guess: Update from autoconf-2.68.
14179 * scripts/config.sub: Likewise.
14180
3b85df27
UD
14181 [BZ #10157]
14182 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14183 tests into ...
14184 (has_cpuclock): ...this. New function.
14185 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14186 macro here based on has_cpuclock code.
14187
15a856b1
UD
14188 [BZ #10149]
14189 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14190 First byte (not low byte) is now always NUL.
14191 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14192
05f399e6
UD
14193 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14194 Use non-cancelable interfaces.
14195
10a52685 14196 [BZ #9809]
94ecc67d
UD
14197 * locale/iso-639.def: Add entry for Sorani.
14198
f8a3b5bf
UD
14199 [BZ #11901]
14200 * include/stdlib.h: Move include protection to the right place.
14201 Define abort_msg_s. Declare __abort_msg with it.
14202 * stdlib/abort.c (__abort_msg): Adjust type.
14203 * assert/assert.c (__assert_fail_base): New function. Majority
14204 of code from __assert_fail. Allocate memory for __abort_msg with
14205 mmap.
14206 (__assert_fail): Now call __assert_fail_base.
14207 * assert/assert-perr.c: Remove bulk of implementation. Use
14208 __assert_fail_base.
14209 * include/assert.hL Declare __assert_fail_base.
14210 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14211 mmap.
14212 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14213
1af4e298
UD
142142011-05-14 Ulrich Drepper <drepper@gmail.com>
14215
f8a3b5bf 14216 [BZ #11952]
d26dfc60
MG
14217 [BZ #12453]
14218 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14219 until all modules are registered in the DTV.
14220 * elf/Makefile: Add rules to build and run tst-tls19.
14221 * elf/tst-tls19.c: New file.
14222 * elf/tst-tls19mod1.c: New file.
14223 * elf/tst-tls19mod2.c: New file.
14224 * elf/tst-tls19mod3.c: New file.
14225 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14226
2fc54d6f
UD
14227 [BZ #12083]
14228 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14229 correctly.
14230
98d76b46
UD
14231 [BZ #12601]
14232 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14233 two-byte sequence errors.
14234 * iconvdata/Makefile (tests): Add bug-iconv8.
14235 * iconvdata/bug-iconv8.c: New file.
14236
da3c19ef
UD
14237 [BZ #12626]
14238 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14239 buf2 definition.
14240
ca408c15
UD
14241 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14242
d6f67f7d
UD
14243 [BZ #12432]
14244 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14245 (dummy_getcfa): New function.
14246 (init): Get _Unwind_GetCFA address, use dummy if not found.
14247 (backtrace_helper): In recursion check, also check whether CFA changes.
14248 (__backtrace): Completely initialize arg.
14249
1af4e298 14250 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14251 storing incomplete byte sequence in state object. Avoid testing for
14252 guaranteed too small input if we know there is enough data available.
1af4e298 14253
da62f81b
AS
142542011-05-11 Andreas Schwab <schwab@redhat.com>
14255
14256 * Makeconfig (+link-pie): Indent.
14257 * Rules (binaries-pie): Define if $(have-fpie) and
14258 $(build-shared).
14259 (binaries-shared): Also filter out $(binaries-pie).
14260 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14261 * nscd/Makefile (others-pie): Add nscd.
14262 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14263 ($(objpfx)nscd): Remove command override.
14264 * login/Makefile (others-pie): Add pt_chown.
14265 ($(objpfx)pt_chown): Remove command override.
14266 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14267 remove command overrides.
14268
fcabc0f8
UD
142692011-05-13 Ulrich Drepper <drepper@gmail.com>
14270
20030ae6
UD
14271 * libio/tst_putwc.c: Fix error messages.
14272
fcabc0f8
UD
14273 [BZ #12724]
14274 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14275 currently writing and seek to current position when not.
14276 * libio/Makefile (tests): Add bug-fclose1.
14277 * libio/bug-fclose1.c: New file.
14278
320a5dc0
PB
142792011-05-12 Ulrich Drepper <drepper@gmail.com>
14280
14281 [BZ #12511]
14282 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14283 don't set DF_1_NODELETE here.
14284 (do_lookup_x): When entering new entry test for copy relocation
14285 and if necessary set DF_1_NODELETE flag.
14286 * elf/tst-unique4.cc: New file.
14287 * elf/tst-unique4.h: New file.
14288 * elf/tst-unique4lib.cc: New file.
14289 * elf/Makefile: Add rules to build and run tst-unique4.
14290 Patch by Piotr Bury <pbury@goahead.com>.
14291
22836f52
UD
142922011-05-11 Ulrich Drepper <drepper@gmail.com>
14293
f574184a
UD
14294 [BZ #12052]
14295 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14296
e1fb097f
UD
14297 [BZ #12625]
14298 * misc/mntent_r.c (addmntent): Flush the stream after the output
14299
22836f52
UD
14300 [BZ #12393]
14301 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14302 (is_trusted_path_normalize): Skip initial colon. Append slash
14303 to empty buffer. Duplicate is_trusted_path code but allow
14304 constructed patch to be prefix.
14305 (is_dst): Allow $ORIGIN followed by /.
14306 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14307 Correct testing of result of is_trusted_path_normalize
14308 (decompose_rpath): Fix warning.
14309
7b3b0b2a
UD
143102011-05-10 Ulrich Drepper <drepper@gmail.com>
14311
14312 [BZ #11257]
14313 * grp/initgroups.c (internal_getgrouplist): When we found the service
14314 list through the initgroups entry in nsswitch.conf do not always
14315 continue on a successful lookup. Don't always use the
eac80ce2 14316 __nss_group_database value if it is set.
7b3b0b2a
UD
14317 * nss/nsswitch.conf (initgroups): Change action for successful db
14318 lookup to continue for compatibility.
14319
2a81eaa5
UD
143202011-05-09 Ulrich Drepper <drepper@gmail.com>
14321
be97a69e
UD
14322 [BZ #11532]
14323 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14324 and CP774 modules.
14325 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14326 and CP774 modules.
14327 * iconvdata/tst-tables.sh: Likewise.
14328 * iconvdata/cp770.c: New file.
14329 * iconvdata/cp771.c: New file.
14330 * iconvdata/cp772.c: New file.
14331 * iconvdata/cp773.c: New file.
14332 * iconvdata/cp774.c: New file.
14333 * iconvdata/testdata/CP770: New file.
14334 * iconvdata/testdata/CP770..UTF8: New file.
14335 * iconvdata/testdata/CP771: New file.
14336 * iconvdata/testdata/CP771..UTF8: New file.
14337 * iconvdata/testdata/CP772: New file.
14338 * iconvdata/testdata/CP772..UTF8: New file.
14339 * iconvdata/testdata/CP773: New file.
14340 * iconvdata/testdata/CP773..UTF8: New file.
14341 * iconvdata/testdata/CP774: New file.
14342 * iconvdata/testdata/CP774..UTF8: New file.
14343
14344 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14345 END CHARMAP line.
14346 * iconvdata/gen-8bit-gap.sh: Likewise.
14347 * iconvdata/gen-8bit.sh: Likewise.
14348
c1e9e399
UD
14349 * locale/iso-639.def: Add ary entry.
14350
24c55fb3 14351 [BZ #11258]
96b4b1b0
UD
14352 * locale/C-translit.h.in: Add U20A1 transliteration.
14353
bdc2f971
KB
14354 [BZ #12178]
14355 * locale/iso-639.def: Add wae entry.
14356 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14357
2952b117
UD
14358 [BZ #12545]
14359 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14360 for n.
14361
2a81eaa5
UD
14362 [BZ #12711]
14363 * locale/C-translit.h.in: Add entry for U20B9.
14364 Patch by pravin.d.s@gmail.com.
14365
28377d1b
UD
143662011-05-08 Ulrich Drepper <drepper@gmail.com>
14367
7fb90fb8
UD
14368 [BZ #12713]
14369 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14370 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14371 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14372 in rtld. Use *stat64.
7fb90fb8 14373 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14374 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14375 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14376 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14377 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14378 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14379 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14380 __fstatat64 macros.
7fb90fb8
UD
14381 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14382 * dirent/rewinddir.c: Add libc_hidden_def.
14383 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14384 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14385
28377d1b
UD
14386 * include/dirent.h (__alloc_dir): Add flags parameter.
14387 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14388 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14389 __alloc_dir.
14390 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14391 from fdopendir if O_CLOEXEC is already set.
14392
66bdbaa4
AM
143932011-03-15 Alan Modra <amodra@gmail.com>
14394
14395 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14396 l_tls_firstbyte_offset non-zero. Save padding offset in
14397 l_tls_firstbyte_offset for later use.
14398 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14399 freeing static tls block.
14400
95721191
JN
144012011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14402
14403 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14404 where #ifdef was intended. The intent is to prevent ARG_MAX from
14405 being defined by the kernel headers.
14406
f87dfb1f
UD
144072011-05-07 Ulrich Drepper <drepper@gmail.com>
14408
14409 [BZ #12734]
14410 * resolv/resolv.h: Define RES_NOTLDQUERY.
14411 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14412 no-tld-query and set RES_NOTLDQUERY.
14413 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14414 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14415 modern BIND to search name as TLD unless forbidden.
14416
47c3cd7a
UD
144172011-05-07 Petr Baudis <pasky@suse.cz>
14418 Ulrich Drepper <drepper@gmail.com>
14419
14420 [BZ #12393]
14421 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14422 (is_trusted_path): ...to here.
c1e9ea35 14423 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14424 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14425 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14426
8a35c912
PP
144272011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14428
14429 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14430 __BEGIN/__END_DECLS.
14431
acd41f47
UD
144322011-05-06 Ulrich Drepper <drepper@gmail.com>
14433
14434 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14435 NSS_STATUS_NOTFOUND if no record was found.
14436
597df647
AS
144372011-05-05 Andreas Schwab <schwab@redhat.com>
14438
14439 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14440 (headers-not-in-tirpc): Remove rpc/netdb.h
14441 * resolv/netdb.h: Revert last change.
14442
b9af1301
PP
144432011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14444
14445 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14446 circular dependency between libgcc.a and libc.a.
14447
4e34d5f5
AS
144482011-05-05 Andreas Schwab <schwab@redhat.com>
14449
14450 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14451 * nis/Makefile: Don't install rpcsvc/*.
14452 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14453 instead of <rpc/types.h>.
14454 (MAXHOSTNAMELEN): Define.
14455
00ee369c
AS
144562011-05-03 Andreas Schwab <schwab@redhat.com>
14457
14458 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14459
0b592a30
MB
144602011-04-28 Maciej Babinski <mbabinski@google.com>
14461
14462 [BZ #12714]
14463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14464 gethostbyname4_r when IPv6 results are possible.
14465
6e04cbbe
UD
144662011-05-02 Ulrich Drepper <drepper@gmail.com>
14467
14468 [BZ #12723]
14469 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14470 _PC_PIPE_BUF handling.
14471
e4ecafe0
BH
144722011-04-30 Bruno Haible <bruno@clisp.org>
14473
14474 [BZ #12717]
14475 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14476 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14477 to 'int'.
14478 * inet/getnameinfo.c (getnameinfo): Likewise.
14479
125ee683
UD
144802011-04-29 Ulrich Drepper <drepper@gmail.com>
14481
14482 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14483 to groups setting in database lookup.
14484 * nss/nsswitch.conf: Add initgroups entry.
14485
b722481a
EB
144862011-04-22 Ulrich Drepper <drepper@gmail.com>
14487
14488 [BZ #12685]
14489 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14490 mode string.
14491 Patch by Eric Blake <eblake@redhat.com>.
14492
4df46dbd
L
144932011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14494
14495 * sunrpc/Makefile (need-export-routines): Add svc_run.
14496 (routines): Remove svc_run.
14497 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14498 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14499 * sunrpc/svc_run.c (svc_run): Likewise.
14500 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14501
e84142d2
UD
145022011-04-21 Ulrich Drepper <drepper@gmail.com>
14503
14504 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14505 problem in reallocation in last patch.
14506
877175d8
UD
145072011-04-20 Ulrich Drepper <drepper@gmail.com>
14508
14509 * sunrpc/Makefile: Move inclusion of Rules.
14510
ab8eed78
UD
145112011-04-19 Ulrich Drepper <drepper@gmail.com>
14512
14513 * nss/nss_files/files-initgroups.c: New file.
14514 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14515 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14516 _nss_files_initgroups_dyn.
14517
e3d8f584
RS
145182011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14519
14520 * elf/elf.h (R_ARM_IRELATIVE): Define.
14521
af190f45
UD
145222011-04-19 Ulrich Drepper <drepper@gmail.com>
14523
14524 * po/ru.po: Update from translation team.
14525
53cf59ef
UD
145262011-04-17 Ulrich Drepper <drepper@gmail.com>
14527
14528 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14529 dependencies.
14530
4c559bcd
MF
145312011-02-06 Mike Frysinger <vapier@gentoo.org>
14532
14533 [BZ #12653]
14534 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14535 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14536 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14537 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14538 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14539
4420675c
AS
145402011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14541
14542 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14543 differing bytes.
14544 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14545 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14546 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14547
75ea32ab
UD
145482011-04-17 Ulrich Drepper <drepper@gmail.com>
14549
14550 [BZ #12420]
14551 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14552 storing it.
14553 * stdlib/bug-getcontext.c: New file.
14554 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14555
27390476
AK
145562011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14557
14558 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14559 instructions into .machine "z9-109".
14560 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14561 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14562
10442705
AK
145632011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14564
14565 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14566 between environment variables and auxiliary vector.
14567
7b57bfe5
UD
145682011-04-16 Ulrich Drepper <drepper@gmail.com>
14569
14570 * Makefile: Add rules to build linkobj/libc.so.
14571 * include/libc-symbols.h: Define libc_hidden_nolink.
14572 * include/rpc/auth.h: Mark functions which are to be hidden.
14573 * include/rpc/auth_des.h: Likewise.
14574 * include/rpc/auth_unix.h: Likewise.
14575 * include/rpc/clnt.h: Likewise.
14576 * include/rpc/des_crypt.h: Likewise.
14577 * include/rpc/key_prot.h: Likewise.
14578 * include/rpc/pmap_clnt.h: Likewise.
14579 * include/rpc/pmap_prot.h: Likewise.
14580 * include/rpc/pmap_rmt.h: Likewise.
14581 * include/rpc/rpc_msg.h: Likewise.
14582 * include/rpc/svc.h: Likewise.
14583 * include/rpc/svc_auth.h: Likewise.
14584 * include/rpc/xdr.h: Likewise.
14585 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14586 * nss/Makefile: Likewise.
14587 * sunrpc/Makefile: Don't install headers. Build library with normal
14588 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14589 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14590 for the compat linking library. Remove use of INTDEF/INTUSE.
14591 * sunrpc/auth_none.c: Likewise.
14592 * sunrpc/auth_unix.c: Likewise.
14593 * sunrpc/authdes_prot.c: Likewise.
14594 * sunrpc/authuxprot.c: Likewise.
14595 * sunrpc/clnt_gen.c: Likewise.
14596 * sunrpc/clnt_perr.c: Likewise.
14597 * sunrpc/clnt_raw.c: Likewise.
14598 * sunrpc/clnt_simp.c: Likewise.
14599 * sunrpc/clnt_tcp.c: Likewise.
14600 * sunrpc/clnt_udp.c: Likewise.
14601 * sunrpc/clnt_unix.c: Likewise.
14602 * sunrpc/des_crypt.c: Likewise.
14603 * sunrpc/des_soft.c: Likewise.
14604 * sunrpc/get_myaddr.c: Likewise.
14605 * sunrpc/key_call.c: Likewise.
14606 * sunrpc/key_prot.c: Likewise.
14607 * sunrpc/netname.c: Likewise.
14608 * sunrpc/pm_getmaps.c: Likewise.
14609 * sunrpc/pm_getport.c: Likewise.
14610 * sunrpc/pmap_clnt.c: Likewise.
14611 * sunrpc/pmap_prot.c: Likewise.
14612 * sunrpc/pmap_prot2.c: Likewise.
14613 * sunrpc/pmap_rmt.c: Likewise.
14614 * sunrpc/publickey.c: Likewise.
14615 * sunrpc/rpc_cmsg.c: Likewise.
14616 * sunrpc/rpc_common.c: Likewise.
14617 * sunrpc/rpc_dtable.c: Likewise.
14618 * sunrpc/rpc_prot.c: Likewise.
14619 * sunrpc/rpc_thread.c: Likewise.
14620 * sunrpc/rtime.c: Likewise.
14621 * sunrpc/svc.c: Likewise.
14622 * sunrpc/svc_auth.c: Likewise.
14623 * sunrpc/svc_authux.c: Likewise.
14624 * sunrpc/svc_raw.c: Likewise.
14625 * sunrpc/svc_run.c: Likewise.
14626 * sunrpc/svc_simple.c: Likewise.
14627 * sunrpc/svc_tcp.c: Likewise.
14628 * sunrpc/svc_udp.c: Likewise.
14629 * sunrpc/svc_unix.c: Likewise.
14630 * sunrpc/svcauth_des.c: Likewise.
14631 * sunrpc/xcrypt.c: Likewise.
14632 * sunrpc/xdr.c: Likewise.
14633 * sunrpc/xdr_array.c: Likewise.
14634 * sunrpc/xdr_float.c: Likewise.
14635 * sunrpc/xdr_intXX_t.c: Likewise.
14636 * sunrpc/xdr_mem.c: Likewise.
14637 * sunrpc/xdr_rec.c: Likewise.
14638 * sunrpc/xdr_ref.c: Likewise.
14639 * sunrpc/xdr_sizeof.c: Likewise.
14640 * sunrpc/xdr_stdio.c: Likewise.
14641
e6c61494
UD
146422011-04-10 Ulrich Drepper <drepper@gmail.com>
14643
14644 [BZ #12650]
14645 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14646 * sysdeps/ia64/dl-tls.h: Likewise.
14647 * sysdeps/powerpc/dl-tls.h: Likewise.
14648 * sysdeps/s390/dl-tls.h: Likewise.
14649 * sysdeps/sh/dl-tls.h: Likewise.
14650 * sysdeps/sparc/dl-tls.h: Likewise.
14651 * sysdeps/x86_64/dl-tls.h: Likewise.
14652 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14653
34fe483e
AS
146542011-03-14 Andreas Schwab <schwab@redhat.com>
14655
14656 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14657 rpath element also skip the following colon.
14658 (expand_dynamic_string_token): Add is_path parameter and pass
14659 down to DL_DST_REQUIRED and _dl_dst_substitute.
14660 (decompose_rpath): Call expand_dynamic_string_token with
14661 non-zero is_path. Ignore empty rpaths.
14662 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14663 with zero is_path.
14664
f12a32e6
AS
146652011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14666
14667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14668 Make cancelable.
14669
38a7d692
UD
146702011-04-09 Ulrich Drepper <drepper@gmail.com>
14671
14672 [BZ #12655]
14673 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14674 Patch by Filipe David Manana <fdmanana@apache.org>.
14675
e451d22b
AS
146762011-04-07 Andreas Schwab <schwab@redhat.com>
14677
14678 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14679 Maintain aligned stack.
14680 (CHECK_RSP): Remove unused macro.
14681
dedc7c7b
UD
146822011-04-03 Ulrich Drepper <drepper@gmail.com>
14683
14684 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14685 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14686
94521213
UD
146872011-04-02 Ulrich Drepper <drepper@gmail.com>
14688
14689 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14690
8cb700c0 14691 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14692
0354e355
L
146932011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14694
14695 [BZ #12518]
14696 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14697 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14698 * sysdeps/x86_64/memmove.c: New file.
14699 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14700 (memcpy): Renamed to ...
14701 (__new_memcpy): This.
14702 (memcpy): Provide GLIBC_2_14 memcpy.
14703 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14704 (memcpy): Provide GLIBC_2_2_5 memcpy.
14705
8593482f
UD
147062011-04-01 Ulrich Drepper <drepper@gmail.com>
14707
14708 [BZ #12631]
14709 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14710
81a5726b
AS
147112011-03-30 Andreas Schwab <schwab@redhat.com>
14712
14713 * misc/syncfs.c: New file.
14714 * misc/Makefile (routines): Add syncfs.
14715 * posix/unistd.h: Declare syncfs.
14716 * sysdeps/unix/syscalls.list: Add syncfs.
14717
00e5419f
AS
147182011-04-01 Andreas Schwab <schwab@redhat.com>
14719
14720 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14721 open_by_handle_at.
14722 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14723 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14724 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14725 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14726 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14727 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14728 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14729
748876bf
UD
147302011-04-01 Ulrich Drepper <drepper@gmail.com>
14731
658e451d
UD
14732 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14733 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14734 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14735 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14736 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14737 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14738 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14739
748876bf
UD
14740 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14741 sync_file_range.c with -fexceptions.
14742 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14743 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14744 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14745 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14746 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14747 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14748 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14749 sync_file_range as cancellation point
14750 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14751 now a wrapper around __call_sync_file_range with cancellation handling.
14752 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14753 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14754 function name to __call_sync_file_range.
14755 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14756 Add call_sync_file_range.
748876bf 14757
6e63d5e1
AS
147582011-04-01 Andreas Schwab <schwab@redhat.com>
14759
14760 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14761 bits/timex.h.
6e63d5e1 14762
46998f74
UD
147632011-04-01 Ulrich Drepper <drepper@gmail.com>
14764
4c1423ed
UD
14765 * iconv/iconv.h: Fix typo in comment.
14766 * io/fcntl.h: Likewise.
14767 * libio/stdio.h: Likewise.
14768 * posix/spawn.h: Likewise.
14769 * posix/unistd.h: Likewise.
14770 * stdlib/stdlib.h: Likewise.
14771 * time/time.h: Likewise.
14772 * wcsmbs/wchar.h: Likewise.
14773
158648c0
UD
14774 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14775 open_by_handle): Add.
14776 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14777 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14778 Augment a few comments.
14779 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14780 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14781 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14782 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14783 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14784 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14785 open_by_handle.
14786
46998f74
UD
14787 * io/fcntl.h (AT_EMPTY_PATH): Define.
14788
83fe108b
UD
147892011-03-30 Ulrich Drepper <drepper@gmail.com>
14790
14791 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14792 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14793 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14794 to...
14795 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14796 * Versions.def: Add GLIBC_2.14.
14797 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14798 Export.
83fe108b 14799
bb242059
UD
148002011-03-22 Ulrich Drepper <drepper@gmail.com>
14801
14802 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14803 round counter.
14804 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14805
c97a1282
L
148062011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14807
14808 [BZ #12597]
14809 * string/test-strncmp.c (do_page_test): New function.
14810 (check2): Likewise.
14811 (test_main): Call check2.
14812 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14813
2a115601
UD
148142011-03-20 Ulrich Drepper <drepper@gmail.com>
14815
14816 [BZ #12587]
14817 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14818 Handle cache information in CPU leaf 4.
14819 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14820
8126d904
UD
148212011-03-18 Ulrich Drepper <drepper@gmail.com>
14822
042c49c6 14823 [BZ #12583]
8126d904
UD
14824 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14825 character representation.
14826 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14827
ccfe366e
RA
148282011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14829
14830 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14831 END(__isnan) to END(__isnanf) to match function entry point/label
14832 EALIGN(__isnanf,...).
14833
c6e13027
JJ
148342011-03-10 Jakub Jelinek <jakub@redhat.com>
14835
14836 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14837
33f85a3f
UD
148382011-03-10 Ulrich Drepper <drepper@gmail.com>
14839
028478fa
UD
14840 [BZ #12510]
14841 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14842 copy from the symbol referenced in the relocation to initialize the
14843 used variable.
14844 Patch by Piotr Bury <pbury@goahead.com>.
14845 * elf/Makefile: Add rules to build and tst-unique3.
14846 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14847 * elf/tst-unique3.cc: New file.
14848 * elf/tst-unique3.h: New file.
14849 * elf/tst-unique3lib.cc: New file.
14850 * elf/tst-unique3lib2.cc: New file.
14851
33f85a3f
UD
14852 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14853
03592fc7
MF
148542011-03-10 Mike Frysinger <vapier@gentoo.org>
14855
14856 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14857 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14858 to _start.
03592fc7 14859
6a5ee102
UD
148602011-03-06 Ulrich Drepper <drepper@gmail.com>
14861
14862 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14863 to-be-loaded object along a path to loader is ld.so.
14864
7e4ba49c
HJ
148652011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14866 Ulrich Drepper <drepper@gmail.com>
14867
14868 * sysdeps/x86_64/memset.S: After aligning destination, code
14869 branches to different locations depending on the value of
14870 misalignment, when multiarch is enabled. Fix this.
14871
148722011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14873
14874 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14875 Set _x86_64_preferred_memory_instruction for AMD processsors.
14876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14877 Set bit_Prefer_SSE_for_memop for AMD processors.
14878
13a804de
UD
148792011-03-04 Ulrich Drepper <drepper@gmail.com>
14880
14881 * libio/fmemopen.c (fmemopen): Optimize a bit.
14882
9d25c392
AS
148832011-03-03 Andreas Schwab <schwab@redhat.com>
14884
14885 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14886
a5543c6a
RM
148872011-03-03 Roland McGrath <roland@redhat.com>
14888
14889 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14890
012d35f7
DM
148912011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14892
7e4ba49c 14893 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14894 __bzero_ultra1 instead of __memset_ultra1.
14895
4bff6e01
AS
148962011-02-23 Andreas Schwab <schwab@redhat.com>
14897 Ulrich Drepper <drepper@gmail.com>
14898
14899 [BZ #12509]
14900 * include/link.h (struct link_map): Add l_orig_initfini.
14901 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14902 returning unsuccessfully.
14903 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14904 close of a file loaded at startup, restore the original l_initfini
14905 list.
14906 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14907 list, store the pointer.
14908 * elf/Makefile ($(objpfx)noload-mem): New rule.
14909 (noload-ENV): Define.
14910 (tests): Add $(objpfx)noload-mem.
14911 * elf/noload.c: Include <memcheck.h>.
14912 (main): Call mtrace. Close all opened handles.
14913
f2092faf
AS
149142011-02-17 Andreas Schwab <schwab@redhat.com>
14915
14916 [BZ #12454]
14917 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14918 dependencies are missing.
14919
6c8a2e88
ST
149202011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14921
f2092faf 14922 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14923 Hurd needs munmap.
14924 * sysdeps/mach/hurd/ifreq.h: New file.
14925
84a42118
PB
149262011-01-27 Petr Baudis <pasky@suse.cz>
14927 Ulrich Drepper <drepper@gmail.com>
14928
071f805e 14929 [BZ 12445]#
84a42118
PB
14930 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14931 to extend_alloca().
14932 * stdio-common/bug23.c: New file.
14933 * stdio-common/Makefile (tests): Add bug23.
14934
e23fe25b
AS
149352010-09-28 Andreas Schwab <schwab@redhat.com>
14936 Ulrich Drepper <drepper@gmail.com>
14937
14938 [BZ #12489]
14939 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14940 before performing relro protection. At old place add assertion
14941 to make sure nothing changed.
14942
d3f02e10
NS
149432011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14944 Glauber de Oliveira Costa <glommer@gmail.com>
14945
14946 * elf/elf.h: Add new ARM TLS relocs.
14947
d55fd7a5
RA
149482011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14949
14950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14951 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14952 cast from r3.
14953 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14954 'tests' variable.
14955 * sysdeps/wordsize-64/tst-writev.c: New file.
14956
2206397e
RA
149572011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14958
14959 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14960 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14961 insns in _dl_start to prevent a TOC reference before relocs are
14962 resolved.
14963
e9433893
UD
149642011-02-15 Ulrich Drepper <drepper@gmail.com>
14965
14966 [BZ #12469]
14967 * Makeconfig: Remove RANLIB definition.
14968 * Makerules: Don't use RANLIB.
14969 * aclocal.m4: Remove ranlib test.
14970 * configure.in: No need to check for ranlib.
14971 * elf/rtld-Rules: Don't use RANLIB.
14972
f75286c6
ST
149732011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14974
8e31c82d
ST
14975 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14976 protection macro.
14977 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14978 inclusion protection macro.
14979
f75286c6
ST
14980 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14981 SIGRTMIN and SIGRTMAX and print information in that case only when
14982 SIGRTMIN is defined.
14983
c1d0e639
JJ
149842011-02-11 Jakub Jelinek <jakub@redhat.com>
14985
14986 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14987 arginfo fn returning -1.
14988
14989 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14990 and thousands string is zero terminated.
14991
edf9294e
AS
149922011-02-03 Andreas Schwab <schwab@redhat.com>
14993
14994 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14995 sysdeps/unix/sysv/linux/bits/socket.h.
14996
2b7e92df
ST
149972011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14998
edf9294e
AS
14999 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15000 (__CPU_COUNT): Remove old macros.
15001 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15002 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15003 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
15004 (__sched_cpualloc, __sched_cpufree): Add declarations.
15005
a4c7ea7b
UD
150062011-02-05 Ulrich Drepper <drepper@gmail.com>
15007
15008 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15009 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15010 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15011 (readdhstai): Return value of addhstaiX call.
15012 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15013 (addgrbyX): Return value returned by cache_addgr.
15014 (readdgrbyname): Return value returned by addgrbyX.
15015 (readdgrbygid): Likewise.
15016 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15017 (addpwbyX): Return value returned by cache_addpw.
15018 (readdpwbyname): Return value returned by addhstbyX.
15019 (readdpwbyuid): Likewise.
15020 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15021 (addservbyX): Return value returned by cache_addserv.
15022 (readdservbyname): Return value returned by addservbyX:
15023 (readdservbyport): Likewise.
15024 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15025 (addhstbyX): Return value returned by cache_addhst.
15026 (readdhstbyname): Return value returned by addhstbyX.
15027 (readdhstbyaddr): Likewise.
15028 (readdhstbynamev6): Likewise.
15029 (readdhstbyaddrv6): Likewise.
15030 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15031 (readdinitgroups): Return value returned by addinitgroupsX.
15032 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15033 (prune_cache): Keep track of timeout value of re-added entries.
15034 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15035 * nscd/nscd.h: Adjust prototypes of readd* functions.
15036
a0bf67cc
RM
150372011-02-04 Roland McGrath <roland@redhat.com>
15038
15039 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15040 (nis_stats): Likewise.
15041 * nis/nis_modify.c (nis_modify): Likewise.
15042 * nis/nis_remove.c (nis_remove): Likewise.
15043 * nis/nis_add.c (nis_add): Likewise.
15044
15045 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15046
15047 * posix/fnmatch_loop.c: Add some consts.
15048
15049 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15050
435b95eb
L
150512011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15052
15053 [BZ #12460]
15054 * config.make.in (config-cflags-novzeroupper): Define.
15055 * configure.in: Substitute libc_cv_cc_novzeroupper.
15056 * elf/Makefile (AVX-CFLAGS): Define.
15057 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15058 (CFLAGS-tst-auditmod4a.c): Likewise.
15059 (CFLAGS-tst-auditmod4b.c): Likewise.
15060 (CFLAGS-tst-auditmod6b.c): Likewise.
15061 (CFLAGS-tst-auditmod6c.c): Likewise.
15062 (CFLAGS-tst-auditmod7b.c): Likewise.
15063 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15064
8517b15e
UD
150652011-02-02 Ulrich Drepper <drepper@gmail.com>
15066
15067 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15068 function to the callback.
15069 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15070
10a656fe
AS
150712011-02-02 Andreas Schwab <schwab@redhat.com>
15072
15073 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15074 of errno.
15075
968dad0a
UD
150762011-01-19 Ulrich Drepper <drepper@gmail.com>
15077
9f94d2ea 15078 [BZ #11724]
968dad0a
UD
15079 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15080 of constructors.
15081 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15082 of destructors.
15083 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15084
15085 [BZ #11724]
15086 * elf/Makefile: Add rules to build and run new test.
15087 * elf/tst-initorder.c: New file.
15088 * elf/tst-initorder.exp: New file.
15089 * elf/tst-initordera1.c: New file.
15090 * elf/tst-initordera2.c: New file.
15091 * elf/tst-initordera3.c: New file.
15092 * elf/tst-initordera4.c: New file.
15093 * elf/tst-initorderb1.c: New file.
15094 * elf/tst-initorderb2.c: New file.
15095 * elf/tst-order-a1.c: New file.
15096 * elf/tst-order-a2.c: New file.
15097 * elf/tst-order-a3.c: New file.
15098 * elf/tst-order-a4.c: New file.
15099 * elf/tst-order-b1.c: New file.
15100 * elf/tst-order-b2.c: New file.
15101 * elf/tst-order-main.c: New file.
15102 New test case by George Gensure <werkt0@gmail.com>.
15103
86e92359
UD
151042010-10-01 Andreas Schwab <schwab@redhat.com>
15105
15106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15107 decoding ACE if AI_CANONIDN.
15108
5d5732b0
UD
151092011-01-18 Ulrich Drepper <drepper@gmail.com>
15110
15111 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15112
a77e8cbc
UD
151132011-01-17 Ulrich Drepper <drepper@gmail.com>
15114
6392473f
UD
15115 * version.h (RELEASE): Bump for 2.13 release.
15116 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15117
620a0529
UD
15118 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15119
18ba70a5
UD
15120 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15121 MADV_NOHUGEPAGE.
32465c3e
UD
15122 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15123 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15124 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15125 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15126 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15127 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15128
c0dafcf1
UD
15129 * posix/getconf.c: Update copyright year.
15130 * catgets/gencat.c: Likewise.
15131 * csu/version.c: Likewise.
15132 * debug/catchsegv.sh: Likewise.
15133 * debug/xtrace.sh: Likewise.
15134 * elf/ldconfig.c: Likewise.
15135 * elf/ldd.bash.in: Likewise.
15136 * elf/sprof.c (print_version): Likewise.
15137 * iconv/iconv_prog.c: Likewise.
15138 * iconv/iconvconfig.c: Likewise.
15139 * locale/programs/locale.c: Likewise.
15140 * locale/programs/localedef.c: Likewise.
15141 * malloc/memusage.sh: Likewise.
15142 * malloc/mtrace.pl: Likewise.
15143 * nscd/nscd.c (print_version): Likewise.
15144 * nss/getent.c: Likewise.
15145
a77e8cbc
UD
15146 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15147 PF_CAIF, and PF_ALG.
15148 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15149
77e8bddf
AS
151502011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15151
1f20b93a
AS
15152 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15153 (modules-names): Use them.
15154 (ifunc-test-modules, ifunc-pie-tests): Define.
15155 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15156 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15157 (test-extras): Likewise.
15158 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15159 $(compile-command.c).
15160 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15161 (all-built-dso): Define.
15162 (check-textrel.out, check-execstack.out): Depend on it.
15163
77e8bddf
AS
15164 * configure.in: Don't override --enable-multi-arch.
15165
bc425b33
UD
151662011-01-15 Ulrich Drepper <drepper@gmail.com>
15167
15168 [BZ #6812]
15169 * nscd/hstcache.c (tryagain): Define.
15170 (cache_addhst): Return tryagain not notfound for temporary errors.
15171 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15172 failed.
15173
794c3ad3
UD
151742011-01-14 Ulrich Drepper <drepper@gmail.com>
15175
70181fdd
UD
15176 [BZ #10563]
15177 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15178 to make the syscall.
15179 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15180
794c3ad3
UD
15181 [BZ #12378]
15182 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15183 and fall back to matching as normal character if the string ends before
15184 the matching ']' is found. This is what POSIX requires.
15185 * posix/testfnm.c: Adjust test result.
15186 * posix/globtest.sh: Adjust test result. Add new test.
15187 * posix/tst-fnmatch.input: Likewise.
15188 * posix/tst-fnmatch2.c: Add new test.
15189
68dc9497
AS
151902010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15191
15192 * elf/Makefile (check-execstack): Revert last change. Depend on
15193 check-execstack.h.
15194 (check-execstack.h): New target.
15195 (generated): Add check-execstack.h.
15196 * elf/check-execstack.c: Include "check-execstack.h".
15197 (main): Revert last change.
15198 (handle_file): Return zero if GNU_STACK is absent and
15199 DEFAULT_STACK_PERMS doesn't include PF_X.
15200
451f001b
UD
152012011-01-13 Ulrich Drepper <drepper@gmail.com>
15202
cfa28e56
UD
15203 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15204 in child fails because the descriptor is already closed.
8cf8ce17
UD
15205 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15206 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15207 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15208
1086d70d
UD
15209 [BZ #12397]
15210 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15211 syscall.
15212
451f001b
UD
15213 [BZ #10484]
15214 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15215 temporary buffer used to handle multi lookups locally.
a85b5cb4 15216 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15217
08769175
UD
152182011-01-12 Ulrich Drepper <drepper@gmail.com>
15219
15220 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15221 loader is ld.so.
15222
5e49c52e
UD
152232011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15224
15225 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15226 alignment for SSE2.
15227
60522a5f
UD
152282011-01-12 Ulrich Drepper <drepper@gmail.com>
15229
15230 [BZ #12394]
15231 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15232 characters. When rounding increased number of integer digits recompute
15233 number of groups.
15234 * stdio-common/tst-grouping.c: New file.
15235 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15236
f257bbd7
UD
152372011-01-09 Ulrich Drepper <drepper@gmail.com>
15238
15239 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15240 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15241
15242 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15243 void.
15244 * bits/select.h: Likewise.
15245
fa9c15cb
UD
152462011-01-08 Ulrich Drepper <drepper@gmail.com>
15247
15248 * po/ja.po: Update from translation team.
15249
16c2895f
DM
152502011-01-04 David S. Miller <davem@sunset.davemloft.net>
15251
15252 [BZ #11155]
15253 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15254 implementation just like for lxstat, fxstatat, et al.
15255
2543fef2
JM
152562010-12-27 Jim Meyering <meyering@redhat.com>
15257
15258 [BZ #12348]
15259 * posix/regexec.c (build_trtable): Return failure indication upon
15260 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15261
98727dbe
UD
152622010-12-25 Ulrich Drepper <drepper@gmail.com>
15263
5bd6dc5c
UD
15264 [BZ #12201]
15265 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15266 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15267 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15268 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15269
97983464
UD
15270 [BZ #12207]
15271 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15272
98727dbe
UD
15273 [BZ #12204]
15274 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15275 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15276
4a531bb0
L
152772010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15278
15279 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15280 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15281 script has SORT_BY_INIT_PRIORITY.
15282 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15283 NO_CTORS_DTORS_SECTIONS is defined.
15284 * elf/soinit.c: Likewise.
15285 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15286 NO_CTORS_DTORS_SECTIONS is defined.
15287 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15288 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15289 * sysdeps/sh/init-first.c: Likewise.
15290 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15291
07eb4b71
UD
152922010-12-24 Ulrich Drepper <drepper@gmail.com>
15293
15294 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15295 always use the slow path.
15296
30950a5f
RA
152972010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15298
15299 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15300 similar rule which adds the sysdep directories to the header search in
15301 order to pick up the correct platform stackinfo.h.
15302 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15303 perform test if it is, otherwise return successfully without testing.
15304 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15305 DEFAULT_STACK_PERMS define in stackinfo.h.
15306 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15307 defined in stackinfo.h.
15308 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15309 DEFAULT_STACK_PERMS defined in stackinfo.h.
15310 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15311 * sysdeps/ia64/stackinfo.h: Likewise.
15312 * sysdeps/s390/stackinfo.h: Likewise.
15313 * sysdeps/sh/stackinfo.h: Likewise.
15314 * sysdeps/sparc/stackinfo.h: Likewise.
15315 * sysdeps/x86_64/stackinfo.h: Likewise.
15316 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15317 PF_X for powerpc64. Retain PF_X for powerpc32.
15318
db753e2c
UD
153192010-12-19 Ulrich Drepper <drepper@gmail.com>
15320
14b697f7
UD
15321 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15322 accurately.
db753e2c
UD
15323 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15324 GETDENTS_64BIT_ALIGNED.
15325
28300719
UD
153262010-12-14 Ulrich Drepper <dreper@gmail.com>
15327
14b697f7 15328 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15329
4f197237
AS
153302010-12-10 Andreas Schwab <schwab@redhat.com>
15331
dbb0472f
AS
15332 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15333 _GNU_SOURCE.
15334
4f197237
AS
15335 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15336 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15337 Remove __restrict.
15338 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15339 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15340
fb88ac72
UD
153412010-12-09 Ulrich Drepper <drepper@gmail.com>
15342
15343 [BZ #11655]
15344 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15345 are initialized.
15346
42acbb92
JJ
153472010-12-09 Jakub Jelinek <jakub@redhat.com>
15348
15349 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15350
c038d98d
UD
153512010-12-03 Ulrich Drepper <drepper@gmail.com>
15352
15353 * po/it.po: Update from translation team.
15354
3a4a2499
L
153552010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15356
15357 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15358 unused codes.
15359
1e24cf6e
UD
153602010-11-30 Ulrich Drepper <drepper@gmail.com>
15361
15362 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15363
a7690819
AS
153642010-11-24 Andreas Schwab <schwab@redhat.com>
15365
15366 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15367 specially.
15368 (gaih_getanswer_slice): Likewise.
15369
3bf8d1b1
JJ
153702010-10-20 Jakub Jelinek <jakub@redhat.com>
15371
15372 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15373
6db52fbb
PB
153742010-05-31 Petr Baudis <pasky@suse.cz>
15375
15376 [BZ #11149]
15377 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15378 silently even in the chroot mode.
15379
eaca7569
UD
153802010-11-22 Ulrich Drepper <drepper@gmail.com>
15381
15382 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15383 last patch a bit. Pretty printing
15384
3056dcdb
UD
153852010-05-31 Petr Baudis <pasky@suse.cz>
15386
15387 [BZ #10085]
15388 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15389 initialization of skip_initgroups_dyn.
15390
cf7c9078
UD
153912010-11-19 Ulrich Drepper <drepper@gmail.com>
15392
15393 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15394 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15395
a1fb5e3e
UD
153962010-11-16 Ulrich Drepper <drepper@gmail.com>
15397
15398 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15399
3540d66b
AS
154002010-11-11 Andreas Schwab <schwab@redhat.com>
15401
15402 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15403 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15404 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15405 ($(objpfx)tst-fnmatch-mem): New rule.
15406 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15407 * posix/tst-fnmatch.c (main): Call mtrace.
15408
13b69574
L
154092010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15410
15411 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15412 Support Intel processor model 6 and model 0x2c.
15413
da93d214
LM
154142010-11-10 Luis Machado <luisgpm@br.ibm.com>
15415
15416 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15417 signed comparison.
15418
8ca52c6e
L
154192010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15420
15421 [BZ #12205]
15422 * string/test-strncasecmp.c (check_result): New function.
15423 (do_one_test): Use it.
15424 (check1): New function.
15425 (test_main): Use it.
15426 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15427 Support strcasecmp and strncasecmp.
15428
69da074d
UD
154292010-11-08 Ulrich Drepper <drepper@gmail.com>
15430
15431 [BZ #12194]
15432 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15433 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15434
ff02d528
L
154352010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15436
15437 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15438 IFUNC support.
15439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15440 memset-x86-64.
15441 * sysdeps/x86_64/multiarch/bzero.S: New file.
15442 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15443 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15444 * sysdeps/x86_64/multiarch/memset.S: New file.
15445 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15447 Set bit_Prefer_SSE_for_memop for Intel processors.
15448 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15449 Define.
15450 (index_Prefer_SSE_for_memop): Define.
15451 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15452
344d0b54
LM
154532010-11-04 Luis Machado <luisgpm@br.ibm.com>
15454
15455 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15456 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15457
c0dde15b
UD
154582010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15459
15460 [BZ #12191]
15461 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15462 (__x86_64_raw_data_cache_size_half): Likewise.
15463 (__x86_64_raw_shared_cache_size): Likewise.
15464 (__x86_64_raw_shared_cache_size_half): Likewise.
15465
15466 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15467 (__x86_64_raw_data_cache_size_half): Likewise.
15468 (__x86_64_raw_shared_cache_size): Likewise.
15469 (__x86_64_raw_shared_cache_size_half): Likewise.
15470 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15471 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15472 and __x86_64_raw_shared_cache_size_half. Round
15473 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15474 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15475 to multiple of 256 bytes.
15476
0e516e0e
MS
154772010-11-03 Ulrich Drepper <drepper@gmail.com>
15478
15479 [BZ #12167]
15480 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15481 of inacessible symlinks. Verify result of symlink before returning it.
15482 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15483 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15484
0e012e87
ER
154852010-10-28 Erich Ritz <erichritz@gmail.com>
15486
15487 * math/math.h (isinf): Fix typo in comment.
15488
de0ff7bc
UD
154892010-11-01 Ulrich Drepper <drepper@gmail.com>
15490
15491 * po/da.po: Update from translation team.
15492
fa41c84d
UD
154932010-10-26 Ulrich Drepper <drepper@gmail.com>
15494
15495 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15496 is added to the list.
15497
f0967738
AK
154982010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15499 Ulrich Drepper <drepper@gmail.com>
15500
15501 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15502 the global list here. Move code to...
15503 (_dl_add_to_namespace_list): ...here. New function.
15504 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15505 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15506 * elf/dl-load.c (lose): Don't remove the element from the list.
15507 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15508 (_dl_map_object): Likewise.
15509
155102010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15511
15512 [BZ #12159]
15513 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15514 into all bytes of SSE register.
15515 Patch by Richard Li <richardpku@gmail.com>.
15516
f0967738 155172010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15518
15519 [BZ #12140]
15520 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15521 perturbing.
15522
d0b9e94f
MB
155232010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15524
15525 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15526 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15527 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15528 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15530 submachine.
15531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15532
8e9f92e9
AS
155332010-10-22 Andreas Schwab <schwab@redhat.com>
15534
15535 * include/dlfcn.h (__RTLD_SECURE): Define.
15536 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15537 mode & __RTLD_SECURE instead.
15538 (open_path): Rename preloaded parameter to secure.
15539 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15540 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15541 * elf/dl-deps.c (openaux): Likewise.
15542 * elf/rtld.c (struct map_args): Remove is_preloaded.
15543 (map_doit): Don't use it.
15544 (dl_main): Likewise.
15545 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15546 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15547
bc96fbda
AS
155482010-09-09 Andreas Schwab <schwab@redhat.com>
15549
15550 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15551 (sysd-rules-targets): Remove duplicates.
15552 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15553 rtld-%.$o dependency.
15554
22cd1c9b
AS
155552010-10-18 Andreas Schwab <schwab@redhat.com>
15556
15557 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15558 _dl_map_object do it.
15559
18edac48
UD
155602010-10-19 Ulrich Drepper <drepper@gmail.com>
15561
15562 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15563 fast fma builtins, define the macros in the C99 standard.
15564 (FP_FAST_FMAF): Likewise.
15565 (FP_FAST_FMAL): Likewise.
15566 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15567
15568 * bits/mathdef.h: Update copyright year.
15569 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15570
d2050124
MM
155712010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15572
15573 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15574 builtins, define the macros in the C99 standard.
15575 (FP_FAST_FMAF): Likewise.
15576 (FP_FAST_FMAL): Likewise.
15577 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15578 multiply/add.
15579 (FP_FAST_FMAF): Likewise.
15580
475facd1
JJ
155812010-10-15 Jakub Jelinek <jakub@redhat.com>
15582
15583 [BZ #3268]
15584 * math/libm-test.inc (fma_test): Some new testcases.
15585 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15586 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15587 y and infinite z. Do multiplication by C already in long double.
15588 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15589 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15590 y and infinite z. Do bitwise or of inexact bit into u.d.
15591 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15592 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15593 * sysdeps/i386/fpu/s_fma.S: Removed.
15594 * sysdeps/i386/fpu/s_fmal.S: Removed.
15595
7c08a05c
JJ
155962010-10-16 Jakub Jelinek <jakub@redhat.com>
15597
15598 [BZ #3268]
15599 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15600 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15601 computation is not scheduled after fetestexcept. Fix value
15602 of minimum denormal long double.
15603
f3f7372d
JJ
156042010-10-14 Jakub Jelinek <jakub@redhat.com>
15605
15606 [BZ #3268]
15607 * math/libm-test.inc (fma_test): Add some more tests.
15608 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15609 correctly.
15610
14d43591
AS
156112010-10-15 Andreas Schwab <schwab@redhat.com>
15612
15613 * scripts/data/localplt-s390-linux-gnu.data: New file.
15614 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15615
5e908464
JJ
156162010-10-13 Jakub Jelinek <jakub@redhat.com>
15617
15618 [BZ #3268]
15619 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15620 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15621 instead of dbl-64.
15622 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15623 inlines.
15624 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15625 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15626 if one of x and y is very large and the other is subnormal.
15627 * sysdeps/s390/fpu/s_fmaf.c: New file.
15628 * sysdeps/s390/fpu/s_fma.c: New file.
15629 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15630 * sysdeps/powerpc/fpu/s_fma.S: New file.
15631 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15632 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15633 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15634
156352010-10-12 Jakub Jelinek <jakub@redhat.com>
15636
15637 [BZ #3268]
15638 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15639 fma tests.
15640 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15641 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15642 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15643 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15644 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15645 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15646 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15647
b833d51f
UD
156482010-10-12 Ulrich Drepper <drepper@redhat.com>
15649
15650 [BZ #12078]
15651 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15652 * posix/bug-regex31.input: Add test case.
15653
1751705d
UD
156542010-10-11 Ulrich Drepper <drepper@gmail.com>
15655
e9b9cbf5
UD
15656 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15657 * posix/bug-regex31.input: New file.
15658
15659 [BZ #12078]
15660 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15661 (parse_sub_exp): Fix last change, use postorder.
15662
ef06edbe
UD
15663 * posix/bug-regex31.c: New file.
15664 * posix/Makefile: Add rules to build and run bug-regex31.
15665
a129c80d
UD
15666 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15667
15668 [BZ #12078]
15669 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15670
b76b818e
UD
15671 [BZ #12108]
15672 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15673 to have entries in sys_siglist.
15674
1751705d
UD
15675 [BZ #12093]
15676 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15677 be NULL.
15678
9ff8d36f
JJ
156792010-10-07 Jakub Jelinek <jakub@redhat.com>
15680
15681 [BZ #3268]
15682 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15683 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15684 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15685 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15686 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15687 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15688 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15689 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15690 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15691 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15692 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15693 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15694 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15695 * math/ftestexcept.c (fetestexcept): Likewise.
15696 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15697 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15698 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15699 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15700 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15701 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15702 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15703
af325969
UD
157042010-10-11 Ulrich Drepper <drepper@gmail.com>
15705
c579b202 15706 [BZ #12107]
af325969
UD
15707 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15708 newline.
15709
67a67b95
UD
157102010-10-06 Ulrich Drepper <drepper@gmail.com>
15711
15712 * string/bug-strstr1.c: New file.
15713 * string/Makefile: Add rules to build and run bug-strstr1.
15714
5fb308bc
EB
157152010-10-05 Eric Blake <eblake@redhat.com>
15716
15717 [BZ #12092]
15718 * string/str-two-way.h (two_way_long_needle): Always clear memory
15719 when skipping input due to the shift table.
15720
45db99c7
UD
157212010-10-03 Ulrich Drepper <drepper@gmail.com>
15722
3b111893
UD
15723 [BZ #12005]
15724 * malloc/mcheck.c: Handle large requests.
15725
45db99c7
UD
15726 [BZ #12077]
15727 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15728 for strncmp and strncasecmp.
15729 * string/stratcliff.c: Add tests for strcmp and strncmp.
15730 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15731
cf7a1eb8
NI
157322010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15733
15734 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15735 __set_fpscr.
15736
6484ba5e
AJ
157372010-09-30 Andreas Jaeger <aj@suse.de>
15738
15739 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15740 (CGROUP_SUPER_MAGIC): Define.
15741 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15742 Handle btrfs and cgroup file systems.
15743 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15744 Likewise.
15745
91c42559
LM
157462010-09-27 Luis Machado <luisgpm@br.ibm.com>
15747
15748 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15749 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15750
87a97932
AK
157512010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15752
15753 [BZ #12067]
15754 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15755 trying to locate the ELF header.
15756
c21cc9bc
AS
157572010-09-27 Andreas Schwab <schwab@redhat.com>
15758
15759 [BZ #11611]
15760 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15761 Mask out sign-bit copies when constructing f_fsid.
15762
315970f6
PB
157632010-09-24 Petr Baudis <pasky@suse.cz>
15764
15765 * debug/stack_chk_fail_local.c: Add missing licence exception.
15766 * debug/warning-nop.c: Likewise.
15767
1ac7a2c7
JM
157682010-09-15 Joseph Myers <joseph@codesourcery.com>
15769
15770 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15771 implementing getdents64 using getdents syscall, set d_type if
15772 __ASSUME_GETDENTS32_D_TYPE.
15773
56801c50
AS
157742010-09-16 Andreas Schwab <schwab@redhat.com>
15775
15776 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15777 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15778
dda51327
UD
157792010-09-21 Ulrich Drepper <drepper@redhat.com>
15780
15781 [BZ #12037]
15782 * posix/unistd.h: Undo change of feature selection for ftruncate from
15783 2010-01-11.
15784
8ffcee4a
UD
157852010-09-20 Ulrich Drepper <drepper@redhat.com>
15786
a545ecd9 15787 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15788 detection.
15789
e24f0a8b
AS
157902010-09-20 Andreas Schwab <schwab@redhat.com>
15791
15792 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15793 fanotify_mark.
15794 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15795
7291c56f
AS
157962010-09-14 Andreas Schwab <schwab@redhat.com>
15797
15798 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15799 variables after CHECK_SP call.
15800 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15801
bc5fb037
AS
158022010-09-13 Andreas Schwab <schwab@redhat.com>
15803 Ulrich Drepper <drepper@redhat.com>
15804
15805 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15806 re-relocationg ld.so.
15807 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15808 _dl_init_paths call.
15809 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15810 here anymore.
15811
e66e7419
UD
158122010-09-14 Ulrich Drepper <drepper@redhat.com>
15813
15814 * resolv/res_init.c (__res_vinit): Count the default server we added.
15815
c044aa75
CLT
158162010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15817 Ulrich Drepper <drepper@redhat.com>
15818
15819 [BZ #11968]
15820 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15821 (____longjmp_chk): Use %ebx for saving value across system call.
15822 Add unwind info.
15823
32cf4069
AS
158242010-09-06 Andreas Schwab <schwab@redhat.com>
15825
15826 * manual/Makefile: Don't mix pattern rules with normal rules.
15827
817328ee
AS
158282010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15829
15830 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15831 operation.
15832 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15833 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15834 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15835 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15836 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15837 Likewise.
15838
29fddf61
UD
158392010-09-04 Ulrich Drepper <drepper@redhat.com>
15840
15841 [BZ #11979]
15842 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15843 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15844
0959ffc9
UD
158452010-09-02 Ulrich Drepper <drepper@redhat.com>
15846
15847 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15848 * sysdeps/x86_64/addmul_1.S: Likewise.
15849 * sysdeps/x86_64/lshift.S: Likewise.
15850 * sysdeps/x86_64/mul_1.S: Likewise.
15851 * sysdeps/x86_64/rshift.S: Likewise.
15852 * sysdeps/x86_64/sub_n.S: Likewise.
15853 * sysdeps/x86_64/submul_1.S: Likewise.
15854
ece29840
ST
158552010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15856
0959ffc9
UD
15857 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15858 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15859 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15860 * bits/sched.h [__need_schedparam]
ece29840 15861 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15862 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15863 (__defined_schedparam): Define to 1.
ece29840
ST
15864 (__sched_param): New structure, identical to sched_param.
15865 (__need_schedparam): Undefine.
15866
e53a31fe
MF
158672010-08-31 Mike Frysinger <vapier@gentoo.org>
15868
fdc0c10d
MF
15869 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15870 (epoll_create1): Declare.
15871
e53a31fe
MF
15872 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15873
a726d796
AS
158742010-08-31 Andreas Schwab <schwab@redhat.com>
15875
15876 [BZ #7066]
15877 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15878 shifting retval into place.
15879
2f3e3dc7
UD
158802010-09-01 Ulrich Drepper <drepper@redhat.com>
15881
f2933da9
UD
15882 * nis/rpcsvc/nis.h: Update copyright notice.
15883 * nis/rpcsvc/nis.x: Likewise.
15884 * nis/rpcsvc/nis_callback.h: Likewise.
15885 * nis/rpcsvc/nis_callback.x: Likewise.
15886 * nis/rpcsvc/nis_object.x: Likewise.
15887 * nis/rpcsvc/nis_tags.h: Likewise.
15888 * nis/rpcsvc/yp.h: Likewise.
15889 * nis/rpcsvc/yp.x: Likewise.
15890 * nis/rpcsvc/ypupd.h: Likewise.
15891 * nis/yp_xdr.c: Likewise.
15892 * nis/ypupdate_xdr.c: Likewise.
15893
2f3e3dc7
UD
15894 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15895 mainly the body of pmap_getport. Add parameters to specify timeouts.
15896 (pmap_getport): Use __libc_rpc_getport.
15897 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15898 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15899 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15900
f3dcc2f9
AS
159012010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15902
15903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15904 fanotify_mark.
15905
6d34eb5b
RM
159062010-08-27 Roland McGrath <roland@redhat.com>
15907
15908 * sysdeps/i386/i686/multiarch/Makefile
15909 (CFLAGS-varshift.c): New variable.
15910
9ea3de11
UD
159112010-08-27 Ulrich Drepper <drepper@redhat.com>
15912
c96d23fc
UD
15913 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15914 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15915
9ea3de11
UD
15916 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15917
15918 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15919
623aac7f
L
159202010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15921
15922 * sysdeps/x86_64/strlen.S: Unroll the loop.
15923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15924 strlen-sse2 strlen-sse2-bsf.
15925 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15926 __strlen_no_bsf if bit_Slow_BSF is set.
15927 (__strlen_sse42): Removed.
15928 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15929 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15930
8b2b7715
RM
159312010-08-25 Roland McGrath <roland@redhat.com>
15932
15933 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15934 * sysdeps/x86_64/multiarch/varshift.c: New file.
15935 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15936 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15937 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15938 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15939
e73015f2
L
159402010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15941
15942 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15943 strlen-sse2 strlen-sse2-bsf.
15944 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15945 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15946 (__strlen_sse2): Removed.
15947 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15948 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15950 bit_Slow_BSF for Atom.
15951 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15952 (index_Slow_BSF): Define.
15953 (HAS_SLOW_BSF): Define.
15954
df24a73e
UD
159552010-08-25 Ulrich Drepper <drepper@redhat.com>
15956
15957 [BZ #10851]
15958 * resolv/res_init.c (__res_vinit): When no server address at all
15959 is given default to loopback.
15960
f2ac4868
RM
159612010-08-24 Roland McGrath <roland@redhat.com>
15962
09055553
RM
15963 * configure.in: Remove config-name.h generation.
15964 * configure: Regenerated.
15965 * config-name.in: File removed.
15966 * scripts/config-uname.sh: New file.
15967 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15968 ($(objdir)config-name.h): New target.
15969
f2ac4868
RM
15970 * sunrpc/rpc_parse.h: Avoid nested comment.
15971
73f27d5e
RH
159722010-08-24 Richard Henderson <rth@redhat.com>
15973 Ulrich Drepper <drepper@redhat.com>
15974 H.J. Lu <hongjiu.lu@intel.com>
15975
15976 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15978 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15979 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15980 _mm_alignr_epi8 with _mm_loadu_si128.
15981 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15982 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15983 (__m128i_shift_right): Removed.
15984 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15985 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15986 * sysdeps/x86_64/multiarch/varshift.h: New file.
15987 * sysdeps/x86_64/multiarch/varshift.S: New file.
15988
84b9230c
MF
159892010-08-21 Mike Frysinger <vapier@gentoo.org>
15990
15991 * configure.in: Move assembler checks to before sysdep dir checking.
15992
9bbd0ddc
PB
159932010-08-20 Petr Baudis <pasky@suse.cz>
15994
15995 * LICENSES: Sync the sunrpc license.
15996
9da4bb31
UD
159972010-08-19 Ulrich Drepper <drepper@redhat.com>
15998
a7ab6ec8
UD
15999 * sunrpc/auth_des.c: Update copyright notice once again.
16000 * sunrpc/auth_none.c: Likewise.
16001 * sunrpc/auth_unix.c: Likewise.
16002 * sunrpc/authdes_prot.c: Likewise.
16003 * sunrpc/authuxprot.c: Likewise.
16004 * sunrpc/bindrsvprt.c: Likewise.
16005 * sunrpc/clnt_gen.c: Likewise.
16006 * sunrpc/clnt_perr.c: Likewise.
16007 * sunrpc/clnt_raw.c: Likewise.
16008 * sunrpc/clnt_simp.c: Likewise.
16009 * sunrpc/clnt_tcp.c: Likewise.
16010 * sunrpc/clnt_udp.c: Likewise.
16011 * sunrpc/clnt_unix.c: Likewise.
16012 * sunrpc/des_crypt.c: Likewise.
16013 * sunrpc/des_soft.c: Likewise.
16014 * sunrpc/get_myaddr.c: Likewise.
16015 * sunrpc/getrpcport.c: Likewise.
16016 * sunrpc/key_call.c: Likewise.
16017 * sunrpc/key_prot.c: Likewise.
16018 * sunrpc/openchild.c: Likewise.
16019 * sunrpc/pm_getmaps.c: Likewise.
16020 * sunrpc/pm_getport.c: Likewise.
16021 * sunrpc/pmap_clnt.c: Likewise.
16022 * sunrpc/pmap_prot.c: Likewise.
16023 * sunrpc/pmap_prot2.c: Likewise.
16024 * sunrpc/pmap_rmt.c: Likewise.
16025 * sunrpc/rpc/auth.h: Likewise.
16026 * sunrpc/rpc/auth_unix.h: Likewise.
16027 * sunrpc/rpc/clnt.h: Likewise.
16028 * sunrpc/rpc/des_crypt.h: Likewise.
16029 * sunrpc/rpc/key_prot.h: Likewise.
16030 * sunrpc/rpc/netdb.h: Likewise.
16031 * sunrpc/rpc/pmap_clnt.h: Likewise.
16032 * sunrpc/rpc/pmap_prot.h: Likewise.
16033 * sunrpc/rpc/pmap_rmt.h: Likewise.
16034 * sunrpc/rpc/rpc.h: Likewise.
16035 * sunrpc/rpc/rpc_des.h: Likewise.
16036 * sunrpc/rpc/rpc_msg.h: Likewise.
16037 * sunrpc/rpc/svc.h: Likewise.
16038 * sunrpc/rpc/svc_auth.h: Likewise.
16039 * sunrpc/rpc/types.h: Likewise.
16040 * sunrpc/rpc/xdr.h: Likewise.
16041 * sunrpc/rpc_clntout.c: Likewise.
16042 * sunrpc/rpc_cmsg.c: Likewise.
16043 * sunrpc/rpc_common.c: Likewise.
16044 * sunrpc/rpc_cout.c: Likewise.
16045 * sunrpc/rpc_dtable.c: Likewise.
16046 * sunrpc/rpc_hout.c: Likewise.
16047 * sunrpc/rpc_main.c: Likewise.
16048 * sunrpc/rpc_parse.c: Likewise.
16049 * sunrpc/rpc_parse.h: Likewise.
16050 * sunrpc/rpc_prot.c: Likewise.
16051 * sunrpc/rpc_sample.c: Likewise.
16052 * sunrpc/rpc_scan.c: Likewise.
16053 * sunrpc/rpc_scan.h: Likewise.
16054 * sunrpc/rpc_svcout.c: Likewise.
16055 * sunrpc/rpc_tblout.c: Likewise.
16056 * sunrpc/rpc_util.c: Likewise.
16057 * sunrpc/rpc_util.h: Likewise.
16058 * sunrpc/rpcinfo.c: Likewise.
16059 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16060 * sunrpc/rpcsvc/key_prot.x: Likewise.
16061 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16062 * sunrpc/rpcsvc/mount.x: Likewise.
16063 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16064 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16065 * sunrpc/rpcsvc/rex.x: Likewise.
16066 * sunrpc/rpcsvc/rstat.x: Likewise.
16067 * sunrpc/rpcsvc/rusers.x: Likewise.
16068 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16069 * sunrpc/rpcsvc/spray.x: Likewise.
16070 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16071 * sunrpc/rtime.c: Likewise.
16072 * sunrpc/svc.c: Likewise.
16073 * sunrpc/svc_auth.c: Likewise.
16074 * sunrpc/svc_authux.c: Likewise.
16075 * sunrpc/svc_raw.c: Likewise.
16076 * sunrpc/svc_run.c: Likewise.
16077 * sunrpc/svc_simple.c: Likewise.
16078 * sunrpc/svc_tcp.c: Likewise.
16079 * sunrpc/svc_udp.c: Likewise.
16080 * sunrpc/svc_unix.c: Likewise.
16081 * sunrpc/svcauth_des.c: Likewise.
16082 * sunrpc/xcrypt.c: Likewise.
16083 * sunrpc/xdr.c: Likewise.
16084 * sunrpc/xdr_array.c: Likewise.
16085 * sunrpc/xdr_float.c: Likewise.
16086 * sunrpc/xdr_mem.c: Likewise.
16087 * sunrpc/xdr_rec.c: Likewise.
16088 * sunrpc/xdr_ref.c: Likewise.
16089 * sunrpc/xdr_sizeof.c: Likewise.
16090 * sunrpc/xdr_stdio.c: Likewise.
16091
9da4bb31
UD
16092 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16093 handling.
16094
bdaa77bc
AS
160952010-08-19 Andreas Schwab <schwab@redhat.com>
16096
16097 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16098
fe2f79db
LM
160992010-08-19 Luis Machado <luisgpm@br.ibm.com>
16100
16101 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16102 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16103 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16104 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16105 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16106 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16107 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16108 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16109 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16110 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16111 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16112 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16113 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16114 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16115
b9b42ee0
AB
161162010-07-26 Anton Blanchard <anton@samba.org>
16117
16118 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16119 * malloc/arena.c (heap_trim): Likewise.
16120
1c06ba31
UD
161212010-08-16 Ulrich Drepper <drepper@redhat.com>
16122
16123 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16124 here. Not...
16125 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16126 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16127
f8392f40
L
161282010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16129
16130 * sysdeps/i386/elf/Makefile: New file.
16131
3162f12e
AS
161322010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16133
16134 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16135 from fanotify_init.
16136 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16137 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16138
28c90b2c
UD
161392010-08-15 Ulrich Drepper <drepper@redhat.com>
16140
16141 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16142 of strncasecmp_l.
1feccb6c 16143 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16144
ca6bb004
UD
161452010-08-14 Ulrich Drepper <drepper@redhat.com>
16146
e9f82e0d
UD
16147 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16148 strncase_l-nonascii.
16149 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16150 Add strncase_l-ssse3.
16151 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16152 * sysdeps/x86_64/strcmp.S: Likewise.
16153 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16154 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16155 * sysdeps/x86_64/strncase.S: New file.
16156 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16157 * sysdeps/x86_64/strncase_l.S: New file.
16158 * string/Makefile (strop-tests): Add strncasecmp.
16159 * string/test-strncasecmp.c: New file.
16160
16161 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16162 warning.
16163
ca6bb004
UD
16164 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16165 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16166
052fa7b3
AS
161672010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16168
16169 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16170
962dba78
UD
161712010-08-12 Ulrich Drepper <drepper@redhat.com>
16172
16173 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16174 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16175 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16176
bebff237
AM
161772010-05-01 Alan Modra <amodra@gmail.com>
16178
16179 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16180 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16181 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16182 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16183 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16184 tidying. Don't tail-call __sigjmp_save for static lib.
16185 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16186 save location.
16187 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16188 (CALL_MCOUNT): Add eh info, and nop after bl.
16189 (TAIL_CALL_SYSCALL_ERROR): New macro.
16190 (PSEUDO_RET): Use it.
16191 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16192 Correct save location of integer regs and cr.
16193 (_dl_profile_resolve): Correct cr save location. Delete nops
16194 after bl when SHARED. Reduce cfi size a little by better
16195 placement of cfi directives.
16196 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16197 make a stack frame. Instead use parm save area as a temp.
16198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16199 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16201 Don't make a stack frame for parent, use parm save area.
16202 Increase child stack frame to 112 bytes. Don't save unused reg,
16203 and adjust reg usage. Set up cfi on error recovery and
16204 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16206 (__makecontext): Add dummy nop after jump to exit.
16207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16208 Use correct parm save area and cr save, reduce stack frame.
16209 Correct cfi for possible PSEUDO_RET frame setup.
16210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16211 Branch to local label emitted by PSEUDO_RET rather than
16212 __syscall_error.
16213
02637374
AS
162142010-08-12 Andreas Schwab <schwab@redhat.com>
16215
16216 [BZ #11904]
16217 * locale/programs/locale.c (print_assignment): New function.
16218 (show_locale_vars): Use it.
16219
c3e2f19b
UD
162202010-08-11 Ulrich Drepper <drepper@redhat.com>
16221
3cdaa6ad
UD
16222 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16223 field.
16224 (struct statfs64): Likewise.
16225 (_STATFS_F_FLAGS): Define.
16226 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16227 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16228 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16229 (ST_VALID): Define locally.
16230 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16231 __statvfs_getflags, use the provided value.
16232 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16233 __ASSUME_STATFS_F_FLAGS.
16234
754f7da3
UD
16235 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16236
10b3bedc
UD
16237 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16238 Add sys/fanotify.h.
16239 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16240 fanotify_mask for GLIBC_2.13.
16241 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16242 fanotify_init and fanotify_mark.
16243 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16244 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16245
c08fb0d7
UD
16246 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16247 Add prlimit.
16248 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16249 prlimit64 for GLIBC_2.13.
16250 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16251 prlimit64.
16252 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16253 syscall.
16254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16255 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16256 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16257 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16258 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16259 add prlimit alias.
16260 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16261
15bac72b
UD
16262 [BZ #11903]
16263 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16264 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16265
c3e2f19b
UD
16266 * nss/Makefile: Add rules to build and run tst-nss-test1.
16267 * shlib-versions: Add entry for libnss_test1.
16268 * nss/nss_test1.c: New file.
16269 * nss/tst-nss-test1.c: New file.
16270
16271 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16272 (__nss_configure_lookup): Set appropriate entry in
16273 __nss_configure_lookup to true.
16274 * nss/nsswitch.h: Define enum with indeces of databases in
16275 databases and __nss_database_custom arrays. Declare
16276 __nss_database_custom.
16277 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16278 to avoid using nscd when custom rules are installed.
16279 * nss/getXXbyYY_r.c: Likewise.
16280 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16281
16282 * nss/nss_files/files-parse.c: Whitespace fixes.
16283
f15ce4d8
UD
162842010-08-09 Ulrich Drepper <drepper@redhat.com>
16285
16286 [BZ #11883]
16287 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16288 * posix/fnmatch_loop.c: Likewise.
16289
d22e4cc9
AK
162902010-07-17 Andi Kleen <ak@linux.intel.com>
16291
16292 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16293 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16294 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16295 * Versions.def [GLIBC_2.13]: Add.
16296
805bc17d
UD
162972010-08-06 Ulrich Drepper <drepper@redhat.com>
16298
16299 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16300 Also fail if tpwd after pwuid call is NULL.
16301
5a42321d
ST
163022010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16303
16304 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16305 when converting to ms.
16306
fd3ebeda
ST
163072010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16308
16309 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16310 EOPNOTSUPP errors with ENOTTY.
16311 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16312 EOPNOTSUPP errors with ENOTTY.
16313
73507d3a
UD
163142010-07-31 Ulrich Drepper <drepper@redhat.com>
16315
16316 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16317 Add strcasecmp_l-ssse3.
16318 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16319 strcasecmp.
16320 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16321 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16322 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16323
fe36dd02
UD
163242010-07-30 Ulrich Drepper <drepper@redhat.com>
16325
66f6765a
UD
16326 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16327
42e08a54
UD
16328 * string/Makefile (strop-tests): Add strcasecmp.
16329 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16330 strcasecmp_l-nonascii.
16331 (gen-as-const-headers): Add locale-defines.sym.
16332 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16333 * sysdeps/x86_64/strcasecmp.S: New file.
16334 * sysdeps/x86_64/strcasecmp_l.S: New file.
16335 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16336 * sysdeps/x86_64/locale-defines.sym: New file.
16337 * string/test-strcasecmp.c: New file.
16338
fe36dd02
UD
16339 * string/test-strcasestr.c: Test both ends of the range of characters.
16340 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16341
48cbc0d6
RM
163422010-07-29 Roland McGrath <roland@redhat.com>
16343
76e6d6bc 16344 [BZ #11856]
48cbc0d6
RM
16345 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16346
880113d9
UD
163472010-07-27 Ulrich Drepper <drepper@redhat.com>
16348
16349 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16350 for ld.so.
16351
deb9cabb
AS
163522010-07-27 Andreas Schwab <schwab@redhat.com>
16353
16354 * manual/memory.texi (Malloc Tunable Parameters): Document
16355 M_PERTURB.
16356
1c7570ff
RM
163572010-07-26 Roland McGrath <roland@redhat.com>
16358
16359 [BZ #11840]
16360 * configure.in (-fgnu89-inline check): Set and substitute
16361 gnu89_inline, not libc_cv_gnu89_inline.
16362 * configure: Regenerated.
16363 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16364
24fb0f88
UD
163652010-07-26 Ulrich Drepper <drepper@redhat.com>
16366
16367 * string/test-strnlen.c: New file.
16368 * string/Makefile (strop-tests): Add strnlen.
16369 * string/tester.c (test_strnlen): Add a few more test cases.
16370 * string/tst-strlen.c: Better error reporting.
16371
16372 * sysdeps/x86_64/strnlen.S: New file.
16373
8e96b93a
UD
163742010-07-24 Ulrich Drepper <drepper@redhat.com>
16375
16376 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16377 lower-latency instructions.
16378
dbc676d4
UD
163792010-07-23 Ulrich Drepper <drepper@redhat.com>
16380
16381 * string/test-strcasestr.c: New file.
16382 * string/test-strstr.c: New file.
16383 * string/Makefile (strop-tests): Add strstr and strcasestr.
16384 * string/str-two-way.h: Don't undefine MAX.
16385 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16386
f6a31e0e
AS
163872010-07-21 Andreas Schwab <schwab@redhat.com>
16388
16389 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16390 strcasestr-nonascii.
16391 (CFLAGS-strcasestr-nonascii.c): Define.
16392 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16393 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16394 Remove unused attribute.
16395
5dbc3b6c
RM
163962010-07-20 Roland McGrath <roland@redhat.com>
16397
16398 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16399 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16400 ld.so.cache was broken. With it, there is no way to disable dsocaps
16401 like LD_HWCAP_MASK can disable hwcaps.
16402
23d101d8
EPM
164032010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16404
16405 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16406
cc9f2e47
UD
164072010-07-16 Ulrich Drepper <drepper@redhat.com>
16408
16409 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16410 call in strcasestr.
16411 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16412 __strcasestr_sse42_nonascii.
16413 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16414 strcasestr-nonascii.c.
16415 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16416
77c1b069
LM
164172010-06-15 Luis Machado <luisgpm@br.ibm.com>
16418
16419 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16420 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16421 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16422 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16423
440566c3
UD
164242010-07-09 Ulrich Drepper <drepper@redhat.com>
16425
16426 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16427 fcntl.
16428
5be9d05d
AS
164292010-07-06 Andreas Schwab <schwab@redhat.com>
16430
c30b7ee2 16431 [BZ #11577]
5be9d05d
AS
16432 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16433 dl_signal_cerror.
16434
8a492a67
UD
164352010-07-06 Ulrich Drepper <drepper@redhat.com>
16436
16437 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16438 _PC_PIPE_BUF using F_GETPIPE_SZ.
16439
713df3d5
RM
164402010-07-05 Roland McGrath <roland@redhat.com>
16441
16442 * manual/arith.texi (Rounding Functions): Fix rint description
16443 implicit in round description.
16444
702e8f14
UD
164452010-07-02 Ulrich Drepper <drepper@redhat.com>
16446
16447 * elf/Makefile: Fix linking for a few tests to make recent linker
16448 happy.
16449
52ed8be9
AS
164502010-06-30 Andreas Schwab <schwab@redhat.com>
16451
16452 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16453 $(common-objpfx)libc_nonshared.a.
16454
f47c9a11
LM
164552010-06-21 Luis Machado <luisgpm@br.ibm.com>
16456
16457 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16458 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16459 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16460 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16461 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16462 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16463 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16464 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16479 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16480 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16481 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16482 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16483 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16484 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16485 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16486 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16487 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16488 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16489 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16490 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16505
6fb8cbcb
L
165062010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16507
16508 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16509 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16510 * string/memmove.c (memmove): Renamed to ...
16511 (MEMMOVE): ...this. Default to memmove.
16512 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16513 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16514 (END_CHK): Define.
16515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16516 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16517 mempcpy-ssse3-back memmove-ssse3-back.
16518 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16519 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16520 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16521 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16522 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16523 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16524 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16525 * sysdeps/x86_64/multiarch/memmove.c: New file.
16526 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16527 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16528 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16529 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16530 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16531 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16532 Define.
16533 (index_Fast_Copy_Backward): Define.
16534 (HAS_ARCH_FEATURE): Define.
16535 (HAS_FAST_REP_STRING): Define.
16536 (HAS_FAST_COPY_BACKWARD): Define.
16537
4e733bac 165382010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16539
16540 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16541 Restore proper fallback handling.
16542
63c4ed22
UD
165432010-06-19 Ulrich Drepper <drepper@redhat.com>
16544
ac2b484c
UD
16545 [BZ #11701]
16546 * posix/group_member.c (__group_member): Correct checking loop.
16547
63c4ed22
UD
16548 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16549 OOM in getpwuid_r correctly. Return error number when the caller
16550 should return, otherwise -1.
16551 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16552 call returning > 0 value.
16553 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16554
765ade4b
AS
165552010-06-07 Andreas Schwab <schwab@redhat.com>
16556
16557 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16558 libc_nonshared.a from targets in modules-names.
16559
80da2e09
KS
165602010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16561
16562 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16563 requires it.
16564
158db122
LM
165652010-06-10 Luis Machado <luisgpm@br.ibm.com>
16566
16567 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16568 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16569 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16570 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16571
caa78cf8
AS
165722010-06-02 Andreas Schwab <schwab@redhat.com>
16573
16574 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16575
b2ef2c01
UD
165762010-06-14 Ulrich Drepper <drepper@redhat.com>
16577
16578 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16579 and F_GETPIPE_SZ.
16580 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16581 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16582 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16583 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16584 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16585 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16586
fbd643b6
RM
165872010-06-14 Roland McGrath <roland@redhat.com>
16588
16589 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16590
f32f2869
JJ
165912010-06-07 Jakub Jelinek <jakub@redhat.com>
16592
16593 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16594 __REDIRECT followed by __THROW.
16595 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16596 * posix/getopt.h (getopt): Likewise.
16597
2a50c078
EPM
165982010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16599
16600 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16601 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16602 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16603 in AT_FLAGS.
16604 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16605 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16606
eb5ad2eb
LM
166072010-05-28 Luis Machado <luisgpm@br.ibm.com>
16608
16609 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16610
3c88fe1e
L
166112010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16612
16613 [BZ #11640]
16614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16615 Properly check family and model.
16616
d2f73151
TY
166172010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16618
16619 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16620
ebd2e13d
LM
166212010-05-24 Luis Machado <luisgpm@br.ibm.com>
16622
16623 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16624
b32b8b45
UD
166252010-05-21 Ulrich Drepper <drepper@redhat.com>
16626
16627 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16628 symbol reference.
16629
9acbe24d
AS
166302010-05-19 Andreas Schwab <schwab@redhat.com>
16631
16632 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16633 symbol reference.
16634
f0ccf6ea
AS
166352010-05-21 Andreas Schwab <schwab@redhat.com>
16636
3d04ff3a
AS
16637 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16638 and internal_recvmmsg.
16639 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16640 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16641 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16642 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16643
f0ccf6ea
AS
16644 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16645 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16646 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16647
5b08ac57
AS
166482010-05-20 Andreas Schwab <schwab@redhat.com>
16649
16650 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16651
4828935d
LM
166522010-05-17 Luis Machado <luisgpm@br.ibm.com>
16653
16654 POWER7 optimizations.
16655 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16656 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16657
373d545e
UD
166582010-05-19 Ulrich Drepper <drepper@redhat.com>
16659
16660 * version.h: Update for 2.13 development version.
16661
21a2b1ae
AS
166622010-05-12 Andrew Stubbs <ams@codesourcery.com>
16663
16664 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16665 exceptions. Return 0.
16666
3f7dcb2b
RM
166672010-05-07 Roland McGrath <roland@redhat.com>
16668
16669 * elf/ldconfig.c (main): Add a const.
16670
5f24d53a 166712010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16672
a160f8d8
UD
16673 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16674 (args_options): Add no-idn option.
16675 (ahosts_keys_int): Add idn_flags to ai_flags.
16676 (parse_option): Handle 'i' option to clear idn_flags.
16677
5f24d53a
UD
16678 * malloc/malloc.c (_int_free): Possible race in the most recently
16679 added check. Only act on the data if no current modification
16680 happened.
265bb1ce
UD
16681
16682See ChangeLog.17 for earlier changes.