]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
SH: makecontext: Improve understandability.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
af1bce34
TS
12012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2
3 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4 meaningful names to some local labels.
5
d230f50a
KK
62012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8
9 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11 (__arch_compare_and_exchange_val_16_acq): Likewise.
12 (__arch_compare_and_exchange_val_32_acq): Likewise.
13 (atomic_exchange_and_add): Fix gUSA sequence.
14 (atomic_add): Likewise.
15 (atomic_add_negative): Likewise.
16 (atomic_add_zero): Likewise.
17 (atomic_bit_test_set): Likewise.
18
0479b305
AS
192012-06-22 Andreas Schwab <schwab@redhat.com>
20
21 [BZ #13579]
22 * include/link.h (struct link_map): Add l_free_initfini.
23 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
24 l_initfini.
25 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28 set.
29
0e3933b9
CD
302012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31
32 * configure.in: Use AC_LANG_SOURCE.
33 * configure: Regenerate.
34
4248b1b1
RM
352012-06-22 Roland McGrath <roland@hack.frob.com>
36
37 * configure.in (libc_cv_localstatedir): New substituted variable.
38 * configure: Regenerated.
39 * config.make.in (localstatedir): New variable, substituted from
40 libc_cv_localstatedir.
41 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
42 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
43 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
44 * sysdeps/gnu/configure: Regenerated.
45
006dd861
JL
462012-06-21 Jeff Law <law@redhat.com>
47
48 [BZ #14277]
49 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
50 free. Simplify list management for _LIBC case.
51
79662d42
JM
522012-06-21 Joseph Myers <joseph@codesourcery.com>
53
b7abb4bf
JM
54 [BZ #14273]
55 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
56 Clear sign bit of 64-bit integer value before comparing against
57 overflow value.
58
79662d42
JM
59 * sysdeps/mach/configure: Regenerated.
60
1f150908
L
612012-06-21 H.J. Lu <hongjiu.lu@intel.com>
62
63 [BZ #14278]
64 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
65
28363bbf
JL
662012-06-21 Jeff Law <law@redhat.com>
67
68 [BZ #13882]
69 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
70 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 71 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
72 * elf/dl-open.c (dl_open_worker): Likewise.
73
09615db4
CD
742012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
75
76 * scripts/list-sources.sh: Scan PORTS for translations.
77 * po/libc.pot: Regenerated.
78
2174c6dd
AJ
792012-06-21 Andreas Jaeger <aj@suse.de>
80
81 [BZ #12194]
82 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
83 warning.
84 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
85 * bits/byteswap-16.h (__bswap_16): Likewise.
86 * bits/byteswap.h (__bswap_constant_16): Likewise.
87
3ee947b1
L
882012-06-18 H.J. Lu <hongjiu.lu@intel.com>
89
90 [BZ #14117]
a2f34833
L
91 * sysdeps/i386/fpu_control.h: Removed.
92 * sysdeps/x86_64/fpu_control.h: Moved to ...
93 * sysdeps/x86/fpu_control.h: Here.
94
3ee947b1
L
95 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
96 (_FPU_SETCW): Likewise.
97
ed1825f8
L
982012-06-15 H.J. Lu <hongjiu.lu@intel.com>
99
25f1282a
L
100 [BZ #14117]
101 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
102 * sysdeps/x86/fpu/bits/mathinline.h: This.
103 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
104
ed1825f8
L
105 [BZ #14050]
106 [BZ #14117]
107 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
108 functions if __x86_64__ is defined.
109
36d54b74
CLT
1102012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
111
112 * string/endian.h: Add !__ASSEMBLER__ condition for including
113 conversion interfaces.
114
10285c21
JM
1152012-06-15 Joseph Myers <joseph@codesourcery.com>
116
117 [BZ #14241]
118 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
119 of ABS(x) in calculating zero to negative powers other than odd
120 integers.
121 * math/libm-test.inc (pow_test): Add more tests.
122
06c5abbd
AJ
1232012-06-15 Andreas Jaeger <aj@suse.de>
124
125 * manual/contrib.texi (Contributors): Update entry of Liubov
126 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
127 Machado Filho.
128
a3aeac40
CH
1292012-06-15 Cyril Hrubis <metan@ucw.cz>
130
131 * string/string.h: Add __wur to GNU version of strerror_r.
132
49bdf4c1
L
1332012-06-14 H.J. Lu <hongjiu.lu@intel.com>
134
135 [BZ #14229]
136 * string/Makefile (tests): Add tst-strtok_r.
137 * string/tst-strtok_r.c: New file.
138 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
139 RAX_LP/RDX_LP on SAVE_PTR.
140
834f9b8d
RM
1412012-06-14 Roland McGrath <roland@hack.frob.com>
142
143 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
144
75fa1921
JM
1452012-06-14 Joseph Myers <joseph@codesourcery.com>
146
147 * libm_test.inc (csqrt_test): Allow more spurious underflow
148 exceptions.
149 (j0_test): Likewise.
150 (j1_test): Likewise.
151 (y0_test): Likewise.
152 (y1_test): Likewise.
153
771766df
CD
1542012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
155
156 * po/Makefile (libc.pot): Use UTF-8 charset.
157
ceb9e56b
PP
1582012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
159
160 [BZ #14210]
161 Suppress sign-conversion warning from FD_SET.
162 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
163 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
164 not unsigned long int.
165 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
166
ddb28975
L
1672012-06-12 H.J. Lu <hongjiu.lu@intel.com>
168
169 [BZ #14050]
170 [BZ #14117]
171 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
172 __extern_always_inline instead of __extern_inline.
173 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
174 (__signbit): Likewise.
175 (__signbitl): Support C++ namespace.
176 (lrintf): New inline function.
177 (lrint): Likewise.
178 (llrintf): Likewise.
179 (llrint): Likewise.
180 (fmaxf): Likewise.
181 (fmax): Likewise.
182 (fminf): Likewise.
183 (fmin): Likewise.
184 (rint): Likewise.
185 (rintf): Likewise.
186 (ceil): Likewise.
187 (ceilf): Likewise.
188 (floor): Likewise.
189 (floorf): Likewise.
190 (nearbyint): Likewise.
191 (nearbyintf): Likewise.
192
d7b4fb26
TS
1932012-06-12 Thomas Schwinge <thomas@codesourcery.com>
194
195 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
196 non-default versions.
197
eb55f5c2
RM
1982012-06-11 Roland McGrath <roland@hack.frob.com>
199
200 [BZ #14218]
201 * manual/argp.texi (Argp): Reword argp_parse description slightly.
202
366af02c
TS
2032012-06-09 Thomas Schwinge <thomas@codesourcery.com>
204
99ff6e5c
TS
205 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
206 (FE_UPWARD, FE_DOWNWARD): Don't define.
207 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
208 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
209
366af02c
TS
210 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
211 reading it.
212 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
213 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
214
793ea851
KK
2152012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
216
217 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
218 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
219 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
220 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
221
a728a38f
L
2222012-06-06 H.J. Lu <hongjiu.lu@intel.com>
223
224 [BZ #14117]
c08010c7
L
225 * sysdeps/i386/fpu/bits/fenv.h: Removed.
226 * sysdeps/i386/fpu/Implies: New file.
227 * sysdeps/x86_64/fpu/Implies: Likewise.
228 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
229 * sysdeps/x86/fpu/bits/fenv.h: This.
230
a728a38f
L
231 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
232 __SSE_MATH__.
233
6e230d11
SP
2342012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
235
236 [BZ #14134]
237 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
238 character 0xffff that matches the last element of the
239 conversion table.
240
1b671feb
AZ
2412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
242
243 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
244 fmodl commit.
245
6043738b
AZ
2462012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
247
248 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
249 values higher than 25.6283.
250
34ae0b32
AZ
2512012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
252
253 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
254 subnormal exponent extraction and add some __builtin_expect.
255 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
256 Fix for subnormal mantissa calculation.
257
1214ec8f
MF
2582012-06-04 Mike Frysinger <vapier@gentoo.org>
259
260 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
261 cpu2 is -1 and errno is not ENOSYS.
262
f3d1f93c
L
2632012-06-04 H.J. Lu <hongjiu.lu@intel.com>
264
265 [BZ #14117]
0e4a3cd7
L
266 * sysdeps/i386/i486/bits/string.h: Renamed to ...
267 * sysdeps/x86/bits/string.h: This.
268 * sysdeps/x86_64/bits/string.h: Removed.
269
6704c645
L
270 * sysdeps/i386/i486/bits/string.h: Define inline functions only
271 if not compiling for x86-64, but compiling for >= i486.
272
48495318
L
273 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
274 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
275
14adcbfc
L
276 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
277 New macro from Linux kernel 3.4.0.
278 (FP_XSTATE_MAGIC2): Likewise.
279 (FP_XSTATE_MAGIC2_SIZE): Likewise.
280 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
281 (struct _fpx_sw_bytes): New struct.
282 (struct _xsave_hdr): Likewise.
283 (struct _ymmh_state): Likewise.
284 (struct _xstate): Likewise.
285
68e408ab
L
286 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
287 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
288 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
289 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
290 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
291 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
292
f3d1f93c
L
293 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
294 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
295 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
296 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
297 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
298 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
299
d9dc34cd
TMQMF
3002012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
301
302 [BZ #13743]
303 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
304 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
305 (sysdep_headers): Include sys/platform/ppc.h.
306 * sysdeps/powerpc/test-gettimebase.c: Test for
307 __ppc_get_timebase() to catch future ISA opcode/insn changes.
308 * manual/Makefile (appendices): Include platform.texi.
309 * manual/contrib.texi (Contributors): Update @node pointers.
310 * manual/maint.texi (Maintenance): Likewise.
311 (Platform): New node.
312 * manual/platform.texi: New file. Document the new features.
313
4af3879c
SP
3142012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
315 Jakub Jelinek <jakub@redhat.com>
316
317 [BZ #14188]
318 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
319 where __builtin_expect is unavailable.
320
2fd6ff13
DM
3212012-06-03 David S. Miller <davem@davemloft.net>
322
323 * stdlib/longlong.h: Updated from GCC.
324
173f7220
AS
3252012-06-02 Andreas Schwab <schwab@linux-m68k.org>
326
327 [BZ #14042]
328 * sysdeps/powerpc/powerpc32/mcount.c: New file.
329 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
330 __mcount_internal.
331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
332 (GLIBC_2.16): Likewise.
333
f34a1c6f
L
3342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
335
336 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
337
88a4576f
JM
3382012-06-01 Joseph Myers <joseph@codesourcery.com>
339
ea32bcdd
JM
340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
341 (default-abi): New variable.
342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
343 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
344 variable.
345 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
346 Likewise.
347 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
348 Likewise.
349 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
350 Likewise.
351
88a4576f
JM
352 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
353 definition. Document in comment.
354
402fe938
DM
3552012-06-01 David S. Miller <davem@davemloft.net>
356
357 * stdlib/longlong.h: Updated from GCC.
358
3553723f
L
3592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
360
361 [BZ #14117]
3bd872c4
L
362 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
363 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
364 sys/debugreg.h sys/io.h here.
365 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
366 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
367 sys/io.h.
368 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
369 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
370 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
371 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
372 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
373 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
374
3553723f
L
375 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
376 Define only if __x86_64__ is defined.
377
4842e4fe
JM
3782012-06-01 Joseph Myers <joseph@codesourcery.com>
379
c5bfe3d5
JM
380 [BZ #14048]
381 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
382 Use int64_t for variable i.
383 * math/libm-test.inc (fmod_test): Add more tests.
384
4842e4fe
JM
385 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
386 z computation is not scheduled after fetestexcept.
387 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
388 Use math_force_eval instead of asm to ensure calculation scheduled
389 before exception test.
390 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
391 Ensure a1 + u.d computation is not scheduled after fetestexcept.
392
efb73488
AJ
3932012-06-01 Aurelien Jarno <aurelien@aurel32.net>
394
395 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
396 computation is not scheduled after fetestexcept.
397
29bcce7c
L
3982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
399
400 [BZ #14117]
401 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
402 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
403
73a68f94
AZ
4042012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
405
406 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
407 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
408
67b6df78
L
4092012-05-31 H.J. Lu <hongjiu.lu@intel.com>
410
edf2933a 411 [BZ #14117]
ebc64a18
L
412 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
413 <bits/wordsize.h>.
414 (__WCHAR_MIN): Support __WORDSIZE == 64.
415 (__WCHAR_MAX): Likewise.
416
edf2933a
L
417 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
418 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
419
57c6cf40
L
420 [BZ #14183]
421 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
422 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
423
67b6df78 424 [BZ #14117]
8eb6281e
L
425 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
426 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
427
aac639f4
L
428 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
429 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
430
67b6df78
L
431 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
432 Defined to 1 if __x86_64__ isn't defined.
433 (_STAT_VER_LINUX_OLD): New.
434 (st_atime): Remove duplicate.
435 (st_mtime): Likewise.
436 (st_ctime): Likewise.
437
1c2cfe81
DM
4382012-05-31 David S. Miller <davem@davemloft.net>
439
440 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
441 entries.
442
5be8418c
AS
4432012-06-01 Andreas Schwab <schwab@linux-m68k.org>
444
e7725326
AS
445 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
446 gen-libm-test.pl.
447
5be8418c
AS
448 [BZ #14132]
449 * elf/dl-reloc.c: Include <_itoa.h>.
450 (_dl_reloc_bad_type): Remove use of INTUSE.
451 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
452 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
453 * stdio-common/psiginfo.c (psiginfo): Likewise.
454 * stdio-common/psignal.c (psignal): Likewise.
455 * string/strsignal.c (strsignal): Likewise.
456 * include/signal.h (_sys_siglist): Declare hidden proto.
457 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
458 INTVARDEF with libc_hidden_data_def.
459 * stdio-common/itoa-udigits.c: Likewise.
460 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
461 (_itoa_lower_digits_internal): Remove declaration.
462 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
463 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
464 (_sys_sigabbrev_internal): Remove aliases.
465 (_sys_siglist): Define hidden alias.
466
507352f1
MT
4672012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
468
469 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
470 bits/sysctl.h.
471
42bbb1c3
L
4722012-05-31 H.J. Lu <hongjiu.lu@intel.com>
473
474 [BZ #14117]
6bd784b6
L
475 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
476 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
477
8bca20f0
L
478 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
479 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
480 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
481 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
482 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
483 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
484
f9e890a9
L
485 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
486 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
487 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
488
471101a1
L
489 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
490 with __addr.
491 (insw): Likewise.
492 (insl): Likewise.
493 (outsb): Likewise.
494 (outsw): Likewise.
495 (outsl): Likewise.
496
6451c862
L
497 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
498 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
499 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
500
a254b8c9
L
501 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
502 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
503 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
504 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
505 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
506 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
507
b8dfdd92
L
508 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
509 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
510
578cd270
L
511 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
512 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
513
de662f5f
L
514 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
515 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
516 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
517
25653439
L
518 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
519 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
520 to ...
521 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
522
6bad24a0
L
523 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
524 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
525 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
526
42bbb1c3
L
527 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
528 for x86-64.
529 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
530
2d10d547
JM
5312012-05-31 Joseph Myers <joseph@codesourcery.com>
532
533 * math/math.h (M_El): Use two more decimal places.
534 (M_LOG2El): Likewise.
535 (M_LOG10El): Likewise.
536 (M_LN2l): Likewise.
537 (M_LN10l): Likewise.
538 (M_PIl): Likewise.
539 (M_PI_2l): Likewise.
540 (M_PI_4l): Likewise.
541 (M_1_PIl): Likewise.
542 (M_2_PIl): Likewise.
543 (M_2_SQRTPIl): Likewise.
544 (M_SQRT2l): Likewise.
545 (M_SQRT1_2l): Likewise.
546
f230c29b
DM
5472012-05-31 David S. Miller <davem@davemloft.net>
548
549 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
550 values between float registers.
551 * sysdeps/sparc/sparc64/memset.S: Likewise.
552 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
553
fed806c3
MF
5542012-05-31 Mike Frysinger <vapier@gentoo.org>
555
556 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
557 -D_FORTIFY_SOURCE=1.
558 (CPPFLAGS-tst-longjmp_chk.c): Define.
559 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
560 (CPPFLAGS-tst-longjmp_chk2.c): Define.
561 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
562 CFLAGS-tst-wchar-h.c.
563
30917259
MP
5642012-05-31 Marek Polacek <polacek@redhat.com>
565
566 [BZ #14132]
567 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
568 __endmntent_internal): Remove declaration.
569 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
570 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
571 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
572
1c58d5dc
DM
5732012-05-30 David S. Miller <davem@davemloft.net>
574
575 * sysdeps/sparc/sparc32/soft-fp/q_util.c
576 (___Q_simulate_exceptions): Use real FP ops rather than writing
577 into the %fsr.
578 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
579 Likewise.
580
7dc00e0d
L
5812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
582
583 [BZ #14117]
0bd53985
L
584 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
585 * sysdeps/x86/bits/xtitypes.h: This.
586
3a257e66
L
587 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
588 * sysdeps/x86/bits/wordsize.h: This.
589
62f62904
L
590 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
591 * sysdeps/x86/bits/huge_vall.h: This.
592
404fe9d9
L
593 * sysdeps/i386/bits/select.h: Removed.
594 * sysdeps/x86_64/bits/select.h: Renamed to ...
595 * sysdeps/x86/bits/select.h: This.
596
d48d0446
L
597 * sysdeps/i386/bits/setjmp.h: Removed.
598 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
599 * sysdeps/x86/bits/setjmp.h: This.
600
7dc00e0d
L
601 * sysdeps/i386/bits/mathdef.h: Removed.
602 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
603 * sysdeps/x86/bits/mathdef.h: This.
604
03277f8f
AS
6052012-05-30 Andreas Schwab <schwab@linux-m68k.org>
606
607 [BZ #14132]
608 * include/sys/socket.h (__connect_internal)
609 (__libc_sa_len_internal): Remove declaration.
610 (__connect, __libc_sa_len): Declare hidden_proto.
611 (SA_LEN): Remove use of INTUSE.
612 * socket/connect.c: Add libc_hidden_def.
613 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
614 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
615 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
616 alias.
617 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
618 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
619 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
620 of adding _internal alias.
621
13764867
L
6222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
623
624 [BZ #14117]
6bd97696
L
625 * sysdeps/i386/bits/link.h: Removed.
626 * sysdeps/i386/bits/linkmap.h: Likewise.
627 * sysdeps/x86_64/bits/link.h: Renamed to ...
628 * sysdeps/x86/bits/link.h: This.
629 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
630 * sysdeps/x86/bits/linkmap.h: This.
631
f726f0bb
L
632 * sysdeps/i386/bits/endian.h: Removed.
633 * sysdeps/x86_64/bits/endian.h: Renamed to ...
634 * sysdeps/x86/bits/endian.h: This.
635
13764867
L
636 * sysdeps/i386/bits/byteswap.h: Removed.
637 * sysdeps/i386/bits/byteswap-16.h: Likewise.
638 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
639 * sysdeps/x86/bits/byteswap.h: This.
640 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
641 * sysdeps/x86/bits/byteswap-16.h: This.
642 * sysdeps/i386/Implies: Add x86.
643 * sysdeps/x86_64/Implies: Likewise.
644
ae251b0b
DM
6452012-05-30 David S. Miller <davem@davemloft.net>
646
647 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
648 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
649 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
650 (FP_TRAPPING_EXCEPTIONS): Define.
651 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
652 (FP_TRAPPING_EXCEPTIONS): Define.
653 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
654 subnormals only when inexact has been signalled or underflow
655 exceptions are enabled.
656 (_FP_PACK_CANONICAL): Likewise.
657
d5c90867
L
6582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
659
660 [BZ #14183]
661 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
662 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
663
63f1549e
RH
6642012-05-30 Richard Henderson <rth@twiddle.net>
665
8d8f2279
RH
666 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
667 with #ifndef NOT_IN_libc.
668
63f1549e
RH
669 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
670 marked to avoid plt entry.
671
0ab0291b
L
6722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
673
674 [BZ #14112]
675 * Makeconfig (default-abi): New macro.
676 (abi-includes): Likewise.
677 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
678 $(abi-$(default-abi)-lib-soname) for soname if defined.
679 ($(common-objpfx)gnu/lib-names.stmp): Generate from
680 abi-variants.
681 * Makefile (installed-stubs): Likewise.
682 * include/stubs-biarch.h: Removed.
683 * scripts/lib-names.awk: Only handle one library at a time.
684 * scripts/soversions.awk: Remove WORDSIZE support.
685 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
686 entries.
687 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
688 Removed.
689 (syscall-list-default-condition): Likewise.
690 (syscall-list-default-condition): Likewise.
691 (syscall-list-includes): Likewise.
692 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
693 syscall-list-* with abi-*. Handle undefined abi-variants.
694 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
695 * sysdeps/unix/sysv/linux/i386/Implies: New file.
696 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
697 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
698 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
699 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
700 Removed.
701 (syscall-list-32-options): Likewise.
702 (syscall-list-32-condition): Likewise.
703 (syscall-list-64-options): Likewise.
704 (syscall-list-64-condition): Likewise.
705 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
706 macro.
707 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
708 Renamed to ...
709 (abi-*): This.
710 (abi-64-ld-soname): New macro.
711 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
712 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
713 Renamed to ...
714 (abi-*): This.
715 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
716 * sysdeps/x86_64/x32/shlib-versions: Likewise.
717
4da0431d
JM
7182012-05-30 Joseph Myers <joseph@codesourcery.com>
719
3a85279c
JM
720 * sysdeps/unix/sysv/linux/kernel-features.h
721 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
722 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
723 include <kernel-features.h>.
724 [!__NR_ftruncate64]: Remove conditional code.
725 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
726 [__NR_ftruncate64]: Make code unconditional.
727 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
728 * sysdeps/unix/sysv/linux/truncate64.c: Do not
729 include <kernel-features.h>.
730 [!__NR_ftruncate64]: Remove conditional code.
731 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
732 [__NR_ftruncate64]: Make code unconditional.
733 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
735 include <kernel-features.h>.
736 [!__NR_ftruncate64]: Remove conditional code.
737 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
738 [__NR_ftruncate64]: Make code unconditional.
739 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
741 include <kernel-features.h>.
742 [!__NR_ftruncate64]: Remove conditional code.
743 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
744 [__NR_ftruncate64]: Make code unconditional.
745 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
746
4da0431d
JM
747 * configure.in (libc_cv_fpie): Weaken to a compile test using
748 LIBC_TRY_CC_OPTION.
749 * configure: Regenerated.
750
11ef492c
AK
7512012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
752
753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
757 Refreshed.
758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
764 Refreshed.
765
d66ef399
DM
7662012-05-27 David S. Miller <davem@davemloft.net>
767
768 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
769 (___Q_zero): New.
770 (__Q_simulate_exceptions): Return void. Change to simulate
771 exceptions by writing into the %fsr.
772 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
773 (__Qp_handle_exceptions): Likewise.
774 (numbers): Delete.
775 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
776 __Qp_handle_exceptions.
777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
778 __Qp_handle_exceptions.
779 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
780 as unused and give dummy FP_RND_NEAREST initializer.
781 (FP_INHIBIT_RESULTS): Define.
782 (___Q_simulate_exceptions): Update declaration.
783 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
784 formatting.
785 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
786 as unused and give dummy FP_RND_NEAREST initializer.
787 (__Qp_handle_exceptions): Update declaration.
788 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
789 formatting.
790
04fb54b5
TS
7912012-05-27 Thomas Schwinge <thomas@codesourcery.com>
792
793 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
794 the temporary FPU control word.
795 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
796 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
797 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
798 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
799 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
800 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
801 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
802 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
803 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
804 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
805 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
806
3f99608f
KK
8072012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
808
809 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
810 fields.
811
65a4de4e
CLT
8122012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
813
814 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
815 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
816 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
817 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
818 Likewise.
819 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
820 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
821 Likewise.
822
15749d40
UD
8232012-05-27 Ulrich Drepper <drepper@gmail.com>
824
825 * po/h.po: Update from translation team.
826
25dbcb27
AS
8272012-05-26 Andreas Schwab <schwab@linux-m68k.org>
828
3d3f8e55
AS
829 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
830
25dbcb27
AS
831 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
832 handling of denormals.
833 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
834 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
835 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
836 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
837 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
838 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
839 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
840 Likewise.
841
7ad47a80 8422012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
843
844 [BZ #14152]
845 * math/libm-test.inc (fma_test): Don't always expect underflow
846 exception.
847
9c6ea9fa
SP
8482012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
849
850 [BZ #12416]
851 * elf/tst-execstack.c: Include stackinfo.h.
852 (do_test): Adjust test case to ensure that pthread_getattr_np
853 behaviour remains the same after marking stack executable.
854
a8239222
JM
8552012-05-25 Joseph Myers <joseph@codesourcery.com>
856
857 * sysdeps/unix/sysv/linux/kernel-features.h
858 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
859 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
860 kernel-features.h.
861 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
862 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
863 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
864 kernel-features.h.
865 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
866 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
867
918b5606
L
8682012-05-25 H.J. Lu <hongjiu.lu@intel.com>
869
870 * configure.in: Define the default includes to being none.
871 * configure: Regenerated.
872
3a097cc7
RM
8732012-05-25 Roland McGrath <roland@hack.frob.com>
874
8422c9a5
RM
875 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
876 * sysdeps/x86_64/setjmp.S: Likewise.
877 * sysdeps/i386/bsd-setjmp.S: Likewise.
878 * sysdeps/i386/bsd-_setjmp.S: Likewise.
879 * sysdeps/i386/setjmp.S: Likewise.
880 * sysdeps/i386/__longjmp.S: Likewise.
881 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
882 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
883
3a097cc7
RM
884 * include/stap-probe.h: New file.
885 * configure.in: Handle --enable-systemtap.
886 * configure: Regenerated.
887 * config.h.in (USE_STAP_PROBE): New #undef.
888 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
889 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
890 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
891
21708942
JM
8922012-05-25 Joseph Myers <joseph@codesourcery.com>
893
894 [BZ #13717]
895 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
896 to 2.4.0 where earlier.
897 * sysdeps/unix/sysv/linux/configure: Regenerated.
898 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
899 <kernel-features.h>.
900 [__ASSUME_32BITUIDS]: Make code unconditional.
901 [!__ASSUME_32BITUIDS]: Remove conditional code.
902 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
903 <kernel-features.h>.
904 [__ASSUME_32BITUIDS]: Make code unconditional.
905 [!__ASSUME_32BITUIDS]: Remove conditional code.
906 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
907 [__ASSUME_32BITUIDS]: Make code unconditional.
908 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
909 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
910 <kernel-features.h>.
911 [__ASSUME_32BITUIDS]: Make code unconditional.
912 [!__ASSUME_32BITUIDS]: Remove conditional code.
913 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
914 <kernel-features.h>.
915 [__ASSUME_32BITUIDS]: Make code unconditional.
916 [!__ASSUME_32BITUIDS]: Remove conditional code.
917 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
918 <kernel-features.h>.
919 [__ASSUME_32BITUIDS]: Make code unconditional.
920 [!__ASSUME_32BITUIDS]: Remove conditional code.
921 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
922 <kernel-features.h>.
923 [__ASSUME_32BITUIDS]: Make code unconditional.
924 [!__ASSUME_32BITUIDS]: Remove conditional code.
925 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
926 <kernel-features.h>.
927 [__ASSUME_32BITUIDS]: Make code unconditional.
928 [!__ASSUME_32BITUIDS]: Remove conditional code.
929 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
930 <kernel-features.h>.
931 [__ASSUME_32BITUIDS]: Make code unconditional.
932 [!__ASSUME_32BITUIDS]: Remove conditional code.
933 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
934 <kernel-features.h>.
935 [__ASSUME_32BITUIDS]: Make code unconditional.
936 [!__ASSUME_32BITUIDS]: Remove conditional code.
937 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
938 <kernel-features.h>.
939 [__ASSUME_32BITUIDS]: Make code unconditional.
940 [!__ASSUME_32BITUIDS]: Remove conditional code.
941 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
942 <kernel-features.h>.
943 [__ASSUME_32BITUIDS]: Make code unconditional.
944 [!__ASSUME_32BITUIDS]: Remove conditional code.
945 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
946 <kernel-features.h>.
947 [__ASSUME_32BITUIDS]: Make code unconditional.
948 [!__ASSUME_32BITUIDS]: Remove conditional code.
949 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
950 <kernel-features.h>.
951 [__NR_setresgid] (__setresgid): Do not declare.
952 [__ASSUME_32BITUIDS]: Make code unconditional.
953 [!__ASSUME_32BITUIDS]: Remove conditional code.
954 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
955 <kernel-features.h>.
956 [__NR_setresuid] (__setresuid): Do not declare.
957 [__ASSUME_32BITUIDS]: Make code unconditional.
958 [!__ASSUME_32BITUIDS]: Remove conditional code.
959 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
960 <kernel-features.h>.
961 [__ASSUME_32BITUIDS]: Make code unconditional.
962 [!__ASSUME_32BITUIDS]: Remove conditional code.
963 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
964 <kernel-features.h>.
965 [__ASSUME_32BITUIDS]: Make code unconditional.
966 [!__ASSUME_32BITUIDS]: Remove conditional code.
967 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
968 <kernel-features.h>.
969 [__ASSUME_32BITUIDS]: Make code unconditional.
970 [!__ASSUME_32BITUIDS]: Remove conditional code.
971 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
972 <kernel-features.h>.
973 [__ASSUME_32BITUIDS]: Make code unconditional.
974 [!__ASSUME_32BITUIDS]: Remove conditional code.
975 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
976 <kernel-features.h>.
977 [__ASSUME_32BITUIDS]: Make code unconditional.
978 [!__ASSUME_32BITUIDS]: Remove conditional code.
979 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
980 <kernel-features.h>.
981 [__ASSUME_32BITUIDS]: Make code unconditional.
982 [!__ASSUME_32BITUIDS]: Remove conditional code.
983 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
984 <kernel-features.h>.
985 [__ASSUME_32BITUIDS]: Make code unconditional.
986 [!__ASSUME_32BITUIDS]: Remove conditional code.
987 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
988 <kernel-features.h>.
989 [__ASSUME_32BITUIDS]: Make code unconditional.
990 [!__ASSUME_32BITUIDS]: Remove conditional code.
991 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
992 <kernel-features.h>.
993 [__ASSUME_32BITUIDS]: Make code unconditional.
994 [!__ASSUME_32BITUIDS]: Remove conditional code.
995 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
996 <kernel-features.h>.
997 [__ASSUME_32BITUIDS]: Make code unconditional.
998 [!__ASSUME_32BITUIDS]: Remove conditional code.
999 * sysdeps/unix/sysv/linux/kernel-features.h
1000 (__ASSUME_SETRESUID_SYSCALL): Remove.
1001 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1002 (__ASSUME_32BITUIDS): Likewise.
1003 (__ASSUME_LDT_WORKS): Likewise.
1004 (__ASSUME_O_DIRECTORY): Likewise.
1005 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1006 architecture but not kernel version.
1007 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1008 (__ASSUME_MMAP2_SYSCALL): Likewise.
1009 (__ASSUME_STAT64_SYSCALL): Likewise.
1010 (__ASSUME_IPC64): Likewise.
1011 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1012 <kernel-features.h>.
1013 [__ASSUME_32BITUIDS]: Make code unconditional.
1014 [!__ASSUME_32BITUIDS]: Remove conditional code.
1015 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1016 <kernel-features.h>.
1017 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1018 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1019 132096]: Remove conditional code.
1020 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1021 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1022 <kernel-features.h>.
1023 [__ASSUME_32BITUIDS]: Make code unconditional.
1024 [!__ASSUME_32BITUIDS]: Remove conditional code.
1025 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1026 <kernel-features.h>.
1027 [__ASSUME_32BITUIDS]: Make code unconditional.
1028 [!__ASSUME_32BITUIDS]: Remove conditional code.
1029 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1030 <kernel-features.h>.
1031 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1032 unconditional.
1033 (__setresgid): Do not declare.
1034 [__ASSUME_32BITUIDS]: Make code unconditional.
1035 [!__ASSUME_32BITUIDS]: Remove conditional code.
1036 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1037 <kernel-features.h>.
1038 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1039 unconditional.
1040 (__setresuid): Do not declare.
1041 [__ASSUME_32BITUIDS]: Make code unconditional.
1042 [!__ASSUME_32BITUIDS]: Remove conditional code.
1043 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1044 <kernel-features.h>.
1045 [__ASSUME_32BITUIDS]: Make code unconditional.
1046 [!__ASSUME_32BITUIDS]: Remove conditional code.
1047 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1048 <kernel-features.h>.
1049 [__ASSUME_32BITUIDS]: Make code unconditional.
1050 [!__ASSUME_32BITUIDS]: Remove conditional code.
1051
a386f1cc
RH
10522012-05-25 Richard Henderson <rth@twiddle.net>
1053
1054 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1055 dl_hwcap to ifunc resolver.
1056 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1057 elf_ifunc_invoke.
1058 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1059 dl_hwcap to ifunc resolver.
1060 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1061
b6550497
JM
10622012-05-24 Joseph Myers <joseph@codesourcery.com>
1063
1064 [BZ #14153]
1065 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1066 for |x| <= 2**-26, not 2**-57.
1067 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1068 exception.
1069
b0bc23a1
JL
10702012-05-24 Jeff Law <law@redhat.com>
1071
1072 * stdio-common/Makefile (tests): Add bug25.
1073 * stdio-common/bug25.c: New test.
1074
347c92e9
L
10752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1076
1077 [BZ #13576]
1078 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1079 multiple of MALLOC_ALIGNMENT in size.
1080 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1081
6bcc8b3f
JM
10822012-05-24 Joseph Myers <joseph@codesourcery.com>
1083
1084 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1085 Require >= 256.
1086 (FILENAME_MAX): Use macro-int-constant.
1087 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1088 (_IOFBF): Use macro-int-constant.
1089 (_IOLBF): Likewise.
1090 (_IONBF): Likewise.
1091 (SEEK_CUR): Likewise.
1092 (SEEK_END): Likewise.
1093 (SEEK_SET): Likewise.
1094 (TMP_MAX): Likewise.
1095 (EOF): Use macro-int-constant. Require < 0.
1096 (NULL): Use macro-constant. Require == 0.
1097 (stdin): Require type to be FILE *.
1098 (stdout): Likewise.
1099 (stderr): Likewise.
1100 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1101 macro-int-constant.
1102 (EXIT_SUCCESS): Likewise.
1103 (NULL): Use macro-constant. Require == 0.
1104 (RAND_MAX): Use macro-int-constant.
1105 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1106 [C99-based standards] (strtof): Require function.
1107 [C99-based standards] (strtold): Likewise.
1108 [C99-based standards] (strtoll): Likewise.
1109 [C99-based standards] (strtoull): Likewise.
1110 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1111 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1112 [ISO || ISO99 || ISO11] (math.h): Likewise.
1113 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1114 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1115 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1116
d18ea0c5
AS
11172012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1118
1119 [BZ #14132]
56d25bb8
AS
1120 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1121 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1122 * intl/dgettext.c (DCGETTEXT): Likewise.
1123 * intl/gettext.c (DCGETTEXT): Likewise.
1124 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1125 * posix/regex_internal.h (gettext): Likewise.
1126 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1127 Remove declaration.
1128 * include/argz.h (__argz_count_internal)
1129 (__argz_stringify_internal): Remove declaration.
1130 (__argz_count, __argz_stringify): Declare hidden proto.
1131 * intl/dcgettext.c: Remove use of INTDEF.
1132 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1133 * string/argz-stringify.c: Likewise.
1134 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1135 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1136 Declare hidden proto.
d18ea0c5
AS
1137 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1138 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1139 Declare hidden proto.
1140 * include/stdio.h (__asprintf_internal): Don't declare.
1141 (__asprintf): Don't define as macro. Declare hidden proto.
1142 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1143 (__fsetlocking): Declare hidden proto.
1144 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1145 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1146 hidden proto.
1147 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1148 (_IO_setlinebuf): Remove use of INTUSE.
1149 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1150 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1151 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1152 Remove declaration.
1153 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1154 (_IO_do_flush): Remove use of INTUSE.
1155 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1156 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1157 (_IO_adjust_column, _IO_least_wmarker)
1158 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1159 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1160 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1161 (_IO_default_doallocate, _IO_wdefault_doallocate)
1162 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1163 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1164 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1165 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1166 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1167 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1168 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1169 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1170 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1171 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1172 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1173 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1174 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1175 proto.
1176 (_IO_flush_all_internal, _IO_adjust_column_internal)
1177 (_IO_default_uflow_internal, _IO_default_finish_internal)
1178 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1179 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1180 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1181 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1182 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1183 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1184 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1185 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1186 (_IO_file_close_internal, _IO_file_close_it_internal)
1187 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1188 (_IO_file_init_internal, _IO_file_attach_internal)
1189 (_IO_file_fopen_internal, _IO_file_read_internal)
1190 (_IO_file_sync_internal, _IO_file_seek_internal)
1191 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1192 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1193 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1194 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1195 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1196 (_IO_list_all_internal, _IO_link_in_internal)
1197 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1198 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1199 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1200 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1201 (_IO_do_write_internal, _IO_padn_internal)
1202 (_IO_getline_info_internal, _IO_getline_internal)
1203 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1204 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1205 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1206 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1207 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1208 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1209 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1210 with libc_hidden_ver, remove use of INTUSE.
1211 * libio/genops.c: Likewise.
1212 * libio/freopen.c: Likewise.
1213 * libio/freopen64.c: Likewise.
1214 * libio/iofclose.c: Likewise.
1215 * libio/iofdopen.c: Likewise.
1216 * libio/iofflush.c: Likewise.
1217 * libio/iofflush_u.c: Likewise.
1218 * libio/iofgets.c: Likewise.
1219 * libio/iofgets_u.c: Likewise.
1220 * libio/iofopen.c: Likewise.
1221 * libio/iofopncook.c: Likewise.
1222 * libio/iofread.c: Likewise.
1223 * libio/iofread_u.c: Likewise.
1224 * libio/ioftell.c: Likewise.
1225 * libio/iofwrite.c: Likewise.
1226 * libio/iogetline.c: Likewise.
1227 * libio/iogets.c: Likewise.
1228 * libio/iogetwline.c: Likewise.
1229 * libio/iopadn.c: Likewise.
1230 * libio/iopopen.c: Likewise.
1231 * libio/ioseekoff.c: Likewise.
1232 * libio/ioseekpos.c: Likewise.
1233 * libio/iosetbuffer.c: Likewise.
1234 * libio/iosetvbuf.c: Likewise.
1235 * libio/ioungetc.c: Likewise.
1236 * libio/ioungetwc.c: Likewise.
1237 * libio/iovdprintf.c: Likewise.
1238 * libio/iovsprintf.c: Likewise.
1239 * libio/iovsscanf.c: Likewise.
1240 * libio/memstream.c: Likewise.
1241 * libio/obprintf.c: Likewise.
1242 * libio/oldfileops.c: Likewise.
1243 * libio/oldiofclose.c: Likewise.
1244 * libio/oldiofdopen.c: Likewise.
1245 * libio/oldiofopen.c: Likewise.
1246 * libio/oldiopopen.c: Likewise.
1247 * libio/oldstdfiles.c: Likewise.
1248 * libio/putc.c: Likewise.
1249 * libio/setbuf.c: Likewise.
1250 * libio/setlinebuf.c: Likewise.
1251 * libio/stdfiles.c: Likewise.
1252 * libio/strops.c: Likewise.
1253 * libio/vasprintf.c: Likewise.
1254 * libio/vscanf.c: Likewise.
1255 * libio/vsnprintf.c: Likewise.
1256 * libio/vswprintf.c: Likewise.
1257 * libio/wfiledoalloc.c: Likewise.
1258 * libio/wfileops.c: Likewise.
1259 * libio/wgenops.c: Likewise.
1260 * libio/wmemstream.c: Likewise.
1261 * libio/wstrops.c: Likewise.
1262 * libio/__fpurge.c: Likewise.
1263 * libio/__fsetlocking.c: Likewise.
1264 * assert/assert.c: Likewise.
1265 * debug/fgets_chk.c: Likewise.
1266 * debug/fgets_u_chk.c: Likewise.
1267 * debug/fread_chk.c: Likewise.
1268 * debug/fread_u_chk.c: Likewise.
1269 * debug/gets_chk.c: Likewise.
1270 * debug/obprintf_chk.c: Likewise.
1271 * debug/vasprintf_chk.c: Likewise.
1272 * debug/vdprintf_chk.c: Likewise.
1273 * debug/vsnprintf_chk.c: Likewise.
1274 * debug/vsprintf_chk.c: Likewise.
1275 * malloc/mtrace.c: Likewise.
1276 * misc/error.c: Likewise.
1277 * misc/syslog.c: Likewise.
1278 * stdio-common/asprintf.c: Likewise.
1279 * stdio-common/fxprintf.c: Likewise.
1280 * stdio-common/getw.c: Likewise.
1281 * stdio-common/isoc99_fscanf.c: Likewise.
1282 * stdio-common/isoc99_scanf.c: Likewise.
1283 * stdio-common/isoc99_vfscanf.c: Likewise.
1284 * stdio-common/isoc99_vscanf.c: Likewise.
1285 * stdio-common/isoc99_vsscanf.c: Likewise.
1286 * stdio-common/printf-prs.c: Likewise.
1287 * stdio-common/printf_fp.c: Likewise.
1288 * stdio-common/printf_fphex.c: Likewise.
1289 * stdio-common/printf_size.c: Likewise.
1290 * stdio-common/putw.c: Likewise.
1291 * stdio-common/scanf.c: Likewise.
1292 * stdio-common/sprintf.c: Likewise.
1293 * stdio-common/tmpfile.c: Likewise.
1294 * stdio-common/vfprintf.c: Likewise.
1295 * stdio-common/vfscanf.c: Likewise.
1296 * stdlib/strfmon_l.c: Likewise.
1297 * sunrpc/openchild.c: Likewise.
1298 * sunrpc/xdr_stdio.c: Likewise.
1299 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1300 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1301
d6c33fda
RM
13022012-05-24 Roland McGrath <roland@hack.frob.com>
1303
c1487492
RM
1304 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1305
1306 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1307 in the third column, to generate for the shared library an IFUNC
1308 that uses _dl_vdso_vsym.
1309 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1310 * Makeconfig (object-suffixes-noshared): New variable.
1311
1312 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1313 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1314 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1315 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1316
d6c33fda
RM
1317 [BZ #14132]
1318 * include/sys/time.h (__gettimeofday): Remove macro.
1319 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1320 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1321 Remove INTDEF.
1322 (__gettimeofday): Add libc_hidden_def.
1323 (gettimeofday): Add libc_hidden_weak.
1324 * sysdeps/mach/gettimeofday.c: Likewise.
1325 * sysdeps/posix/gettimeofday.c: Likewise.
1326 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1327 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1328 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1329 (__gettimeofday_internal): Remove strong_alias.
1330 (__gettimeofday): Add libc_hidden_def.
1331 (gettimeofday): Add libc_hidden_weak.
1332 * sysdeps/unix/syscalls.list (gettimeofday):
1333 Remove __gettimeofday_internal alias.
1334
b5a2bbe6
L
13352012-05-24 Daniel Jacobowitz <drow@false.org>
1336 H.J. Lu <hongjiu.lu@intel.com>
1337
1338 [BZ #12495]
1339 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1340 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1341 (largebin_index_32_big): New.
1342 (largebin_index): Use it for 16-byte alignment.
1343 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1344 correction with front_misalign.
1345
cfba4fda
L
13462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1347
7f907421
L
1348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1350 Likewise.
1351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1352 Likewise.
1353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1354 Likewise.
1355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1356 Likewise.
1357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1358 Likewise.
1359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1360 Likewise.
1361 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1362 Likewise.
1363 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1364 Likewise.
1365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1366 Likewise.
1367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1368 Likewise.
1369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1370 Likewise.
1371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1372 Likewise.
1373
cfba4fda
L
1374 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1375 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1376
80bad0cc
JM
13772012-05-24 Joseph Myers <joseph@codesourcery.com>
1378
7a25eb06
JM
1379 [BZ #10846]
1380 [BZ #14036]
1381 * math/libm-test.inc (exp_test): Add test from bug 14036.
1382 (pow_test): Add test from bug 10846.
1383
795405f9
JM
1384 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1385 and other flags.
1386 (special_function): Do not include flags in test name.
1387 (parse_args): Likewise.
1388 * sysdeps/i386/fpu/libm-test-ulps: Update.
1389 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1390 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1391 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1393
80bad0cc
JM
1394 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1395 exceptions.
1396 * math/libm-test.inc ("Philosophy"): Update comment about
1397 exception testing.
1398 (UNDERFLOW_EXCEPTION): New macro.
1399 (UNDERFLOW_EXCEPTION_OK): Likewise.
1400 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1401 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1402 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1403 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1404 (INVALID_EXCEPTION_OK): Update value.
1405 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1406 (OVERFLOW_EXCEPTION_OK): Likewise.
1407 (IGNORE_ZERO_INF_SIGN): Likewise.
1408 (test_exceptions): Handle underflow exceptions.
1409 (acos_test): Update for underflow exception expectations.
1410 (cexp_test): Likewise.
1411 (clog_test): Likewise.
1412 (clog10_test): Likewise.
1413 (csqrt_test): Likewise.
1414 (ctan_test): Likewise.
1415 (ctanh_test): Likewise.
1416 (exp_test): Likewise.
1417 (exp10_test): Likewise.
1418 (exp2_test): Likewise.
1419 (expm1_test): Likewise.
1420 (fma_test): Likewise.
1421 (j0_test): Likewise.
1422 (jn_test): Likewise.
1423 (nexttoward_test): Likewise.
1424 (pow_test): Likewise.
1425 (scalbn_test): Likewise.
1426 (scalbln_test): Likewise.
1427 (tan_test): Likewise.
1428 (y1_test): Likewise.
1429 * sysdeps/i386/fpu/libm-test-ulps: Update.
1430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1431
9e0e3d0b
DM
14322012-05-23 David S. Miller <davem@davemloft.net>
1433
1434 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1435 (__libc_sigaction): Remove unused local variables.
1436
ccd0a08f
L
14372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1438
1439 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1440
62bdf9a6
PE
14412012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1442
f8591f80
PE
1443 mktime: avoid signed integer overflow
1444 * time/mktime.c (__mktime_internal): Do not mishandle the case
1445 where diff == INT_MIN.
1446
94c7d826
PE
1447 mktime: simplify computation of average
1448 * time/mktime.c (ranged_convert): Use new time_t_avg function
1449 instead of rolling our own (probably-slower) code.
1450
ce73d683
PE
1451 mktime: do not assume signed right shift propagates sign bit
1452 * time/mktime.c (isdst_differ): New static function.
1453 (__mktime_internal): No need to normalize tm_isdst now.
1454 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1455 tm_isdst values.
1456
72a22e59
PE
1457 mktime: merge another wrapv change from gnulib
1458 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1459 from some compilers.
1460
68605433
PE
1461 mktime: remove incorrect attempt at unusual arithmetics
1462 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1463 The code didn't really work on such machines anyway.
1464 (TYPE_MINIMUM): Assume two's complement.
1465 (twos_complement_arithmetic): Verify that long_int and time_t
1466 are two's complement (or unsigned, in the latter case).
1467
03cf7fe3
PE
1468 mktime: check signed shifts on long_int and time_t, too
1469 * time/mktime.c (SHR): Check that shifts work as desired
1470 on the types long_int and time_t too, as SHR is used on
1471 such types.
1472
f04dfbc2
PE
1473 mktime: do not assume 'long' is wide enough
1474 * time/mktime.c (verify): Move decl up.
1475 (long_int): New type.
1476 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1477 to remove assumption in the code that 'long' is wide enough to
1478 store year values. This assumption is not true on x32 and on
1479 some non-glibc platforms.
1480
62bdf9a6
PE
1481 mktime: merge wrapv change from gnulib
1482 * time/mktime.c (WRAPV): New macro.
1483 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1484 (guess_time_tm, __mktime_internal): Do not assume that signed
1485 integer overflow wraps around; modern compilers generate code
1486 where this assumption is no longer valid.
1487
5e292e4f
L
14882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1489
1490 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1491 Replace "jmp L(pseudo_end)" with "ret".
1492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1493 Likewise.
1494
8caf8c87
AJ
14952012-05-23 Andreas Jaeger <aj@suse.de>
1496
1497 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1498 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1499
1a09dc56
AJ
15002012-05-23 Andreas Jaeger <aj@suse.de>
1501 Maximilian Attems <max@stro.at>
1502
1503 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1504 New macros.
1505
1c87aba0
L
15062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1507
1508 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1509 code so that pseudo_end is just ret and the stack pointer is
1510 correct also for static library in error case.
1511
40e45bd5
JM
15122012-05-23 Joseph Myers <joseph@codesourcery.com>
1513
c2670533
JM
1514 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1515 move to syscalls.list.
1516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1520
40e45bd5
JM
1521 * manual/install.texi (Running make install): Do not mention Linux
1522 kernel version for which pt_chown is not needed.
1523 (Linux): Do not mention problems with nscd with 2.0 kernels.
1524 * INSTALL: Regenerated.
1525
be08eda5
AJ
15262012-05-23 Andreas Jaeger <aj@suse.de>
1527
1528 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1529 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1530 macro.
1531 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1532 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1533 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1534 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1535 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1536 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1537 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1538 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1539 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1540 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1541 * sysdeps/unix/sysv/linux/bits/in.h
1542 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1543
a6a056bb
RM
15442012-05-22 Roland McGrath <roland@hack.frob.com>
1545
1546 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1547 (PREPARE_VERSION): Just use assert instead, it will be elided
1548 under [NDEBUG] anyway.
1549
c9009328
L
15502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1551
1552 * sysdeps/unix/sysv/linux/Makefile: Include
1553 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1554 (sysdep_routines): Remove sysctl.
c9009328
L
1555 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1556 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1557 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1558 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1559 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1560
73338355
AJ
15612012-05-22 Andreas Jaeger <aj@suse.de>
1562
1563 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1564 that pseudo_end is just ret and the stack pointer is correct also
1565 for static library in error case.
1566
d44638b0
PP
15672012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1568
1569 [BZ #14122]
1570 * nss/nsswitch.c (defconfig_entries): New variable.
1571 (__nss_database_lookup): Don't leak defconfig entries.
1572 (nss_parse_service_list): Don't leak on error paths.
1573 (free_database_entries): New function.
1574 (free_defconfig): New function.
1575 (free_mem): Move common code to free_database_entries.
1576
31a39bd8
L
15772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1578
da0331a8
L
1579 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1580 Add arch_prctl.
1581 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1582
31a39bd8
L
1583 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1584 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1585 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1586 New macro.
1587 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1588 (INTERNAL_SYSCALL_TYPES): Likewise.
1589 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1590 (LOAD_REGS_TYPES_[1-6]): Likewise.
1591 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1592 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1593
45470df3
AZ
15942012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1595
1596 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1597 copysignl for GLIBC_2_0.
1598 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1599 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1600 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1601 logbl for GLIBC_2_0.
1602 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1603 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1604
98a61bcb
L
16052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1606
a4f6e481
L
1607 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1608 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1609
f63d5db6
L
1610 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1611 Use "neg %eax".
1612
98a61bcb
L
1613 * time/mktime.c: Update copyright years.
1614
95770f14
PE
16152012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1616
6226efbd
PE
1617 mktime: merge comment-quoting-style change from gnulib
1618 * time/mktime.c: Quote 'like this' in comments.
1619 The GNU coding standards suggest that we no longer quote `like this',
1620 as "`" and "'" are typically rendered asymmetrically nowadays.
1621 The typical gnulib style is to quote 'like this' when quoting
1622 code, and "like this" when quoting English.
1623
b99e4f78
PE
1624 * time/mktime.c (compile-command): Add "-I.".
1625
643e01e6
PE
1626 mktime: merge mktime-internal.h change from gnulib
1627 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1628
2554247d
PE
1629 mktime: merge time_r change from gnulib
1630 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1631
826dd0ab
PE
1632 mktime: merge DEBUG change from gnulib
1633 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1634 case system <time.h> has a #define.
1635
bd83aabe
PE
1636 mktime: merge <sys/types.h> change from gnulib
1637 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1638 since <time.t> is now guaranteed to define time_t.
1639
95770f14
PE
1640 mktime: merge HAVE_CONFIG_H change from gnulib
1641 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1642
5e1a27a9
L
16432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1644
0e44a77e
L
1645 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1646 Use "neg %eax".
1647
5e1a27a9
L
1648 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1649 __rlim_t cast.
1650 (struct rusage): Use anonymous union to pad each field to
1651 __syscall_slong_t.
1652
46259bec
DM
16532012-05-21 David S. Miller <davem@davemloft.net>
1654
1655 * Makefules (o-iterator): Remove .s cases.
1656 (compile-command.s): Delete.
1657 (COMPILE.s): Delete.
1658 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1659
59f0c22e
JM
16602012-05-21 Joseph Myers <joseph@codesourcery.com>
1661
1662 * configure.in (libc_cv_predef_stack_protector): Only consider
1663 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1664 * configure: Regenerated.
1665
20c07380
L
16662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1667
bbb3154b
L
1668 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1669 New macro. Use R*LP on int and pointer.
1670 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1671 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1672 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1673 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1674
20c07380
L
1675 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1676 [__WORDSIZE_TIME64_COMPAT32] instead of
1677 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1678 (struct utmp): Likewise.
1679 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1680 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1681 Renamed to ...
1682 (__WORDSIZE_TIME64_COMPAT32): This.
1683 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1684 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1685 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1686 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1687 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1688 (__WORDSIZE_TIME64_COMPAT32): New macro.
1689
d8d1017e
AJ
16902012-05-21 Andreas Jaeger <aj@suse.de>
1691
1692 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1693 only if [SHARED]. Add prototype for __wcschr_ia32.
1694
6c7fb145
RM
16952012-05-21 Roland McGrath <roland@hack.frob.com>
1696
1697 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1698 of %rbp unmolested in the jmp_buf while mangling the low bits.
1699 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1700 unmolested high bits of %rbp while demangling the low bits.
1701 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1702
66274218
AJ
17032012-05-21 Andreas Jaeger <aj@suse.de>
1704
07c58f8f
AJ
1705 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1706 * sunrpc/svc_simple.c: Use it for registerrpc.
1707 * sunrpc/xcrypt.c: Use it for passwd2des.
1708
66274218
AJ
1709 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1710
61f65140
L
17112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1712
1713 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1714 Don't define if [__SYSCALL_WORDSIZE != 32].
1715 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1716 New macro.
1717
5fefb436
AJ
17182012-05-21 Bruno Haible <bruno@clisp.org>
1719 Andreas Jaeger <aj@suse.de>
1720
1721 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1722 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1723 inptr and inend for must_buffer_ch.
1724 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1725 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1726 * stdio-common/Makefile (tests): Remove bug15.
1727 (bug15-ENV): Remove macro.
1728 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1729 anymore.
1730
d8e272ab
AJ
17312012-05-19 Andreas Jaeger <aj@suse.de>
1732 Roland McGrath <roland@hack.frob.com>
1733
1734 * manual/contrib.texi: Completely rewritten. It contains now an
1735 alphabetical list of contributors and their contributions.
1736
4a56a162
RH
17372012-05-21 Richard Henderson <rth@twiddle.net>
1738
1739 * misc/getauxval.c (__getauxval): Use unsigned long int.
1740 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1741 (getauxval): Use unsigned long int.
1742
d024d23c
L
17432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1744
1745 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1746
cbc00a03
RM
17472012-05-21 Roland McGrath <roland@hack.frob.com>
1748
1749 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1750 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1751 __alignof__ (long double).
1752
478143fa
AZ
17532012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1754
1755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1756
c7683a6d
RH
17572012-05-20 Richard Henderson <rth@twiddle.net>
1758
1759 * misc/getauxval.c: New file.
1760 * misc/sys/auxv.h: New file.
1761 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1762 (routines): Add getauxval.
1763 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1764 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1765 * elf/dl-sysdep.c (_dl_auxv): Remove.
1766 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1767 * elf/dl-support.c (_dl_auxv): New variable.
1768 (_dl_aux_init): Initialize it.
1769 * manual/startup.texi (Auxiliary Vector): New node.
1770 * sysdeps/generic/bits/hwcap.h: New file.
1771 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1772 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1773 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1774 * sysdeps/sparc/sysdep.h: ... here. Include it.
1775 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1776 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1778 Update.
c7683a6d
RH
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1782 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1787
a6f1845d
AZ
17882012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1789
1790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1791
cbcbe830
DM
17922012-05-19 David S. Miller <davem@davemloft.net>
1793
1794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1795
e0b16cc2
JM
17962012-05-19 Joseph Myers <joseph@codesourcery.com>
1797
1798 [BZ #14123]
1799 * math/s_ccosh.c: Include <float.h>
1800 (__ccosh): Avoid internal overflow calculating sinh and cosh
1801 values before multiplying by sin and cos values.
1802 * math/s_ccoshf.c: Likewise.
1803 * math/s_ccoshl.c: Likewise.
1804 * math/s_csin.c: Likewise.
1805 * math/s_csinf.c: Likewise.
1806 * math/s_csinl.c: Likewise.
1807 * math/s_csinh.c: Likewise.
1808 * math/s_csinhf.c: Likewise.
1809 * math/s_csinhl.c: Likewise.
1810 * math/libm-test.inc (ccos_test): Add more tests.
1811 (ccosh_test): Likewise.
1812 (csin_test): Likewise.
1813 (csinh_test): Likewise.
1814 * sysdeps/i386/fpu/libm-test-ulps: Update.
1815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1816
6ad13e08
L
18172012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1818
f66f0ce8
L
1819 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1820 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1821
6ad13e08
L
1822 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1823
b1d072a7
JM
18242012-05-19 Joseph Myers <joseph@codesourcery.com>
1825
1826 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1827 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1828 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1829 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1830 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1831 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1832 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1833 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1834 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1835 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1836 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1837 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1838 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1839 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1840 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1841 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1842 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1843 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1844 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1845 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1846 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1847 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1848 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1849 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1850 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1851 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1852 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1853 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1854 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1855 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1856 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1857
9eae47cb
AJ
18582012-05-18 Andreas Jaeger <aj@suse.de>
1859
1860 * csu/.gitignore: Delete.
1861
bb07f69f
L
18622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1863
1864 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1865 (timex): Use __syscall_slong_t.
1866
e6bdb741
AJ
18672012-05-18 Andreas Jaeger <aj@suse.de>
1868 Carlos O'Donell <carlos_odonell@mentor.com>
1869
1870 * manual/install.texi (Configuring and compiling): Update
1871 description about files modified in the source directory.
d6c33fda 1872 * INSTALL: Regenerated.
e6bdb741 1873
1b74487e
L
18742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1875
1876 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1877 value. Use "or" to set return value to -1.
1878 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1879 negate return value.
1880
a88b64b9
TMQMF
18812012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1882
1883 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1884 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1885 failure if the compiler has Graphite support disabled.
1886 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1887 Likewise.
1888 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1889 CFLAGS-memmove.c): Likewise.
1890 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1891 Likewise.
1892
3707636e
L
18932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1894
610b8622
L
1895 * sysdeps/x86_64/x32/_itoa.h: New file.
1896
7cd195df
L
1897 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1898 getdents system call only if kernel and user dirents have the
1899 same d_ino and d_off.
1900
94b07d20
L
1901 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1902 LLONG_MAX != LONG_MAX.
1903 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1904 (_fitoa_word): Likewise.
1905
18298070
L
1906 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1907 years.
1908 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1909 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1910 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1911
553c7ea4
L
1912 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1913 include <bits/wordsize.h>. Check __x86_64__ instead of
1914 __WORDSIZE.
1915 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1916 if __x86_64__ is defined. Use anonymous union on fpstate.
1917
3707636e
L
1918 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1919 anonymous union.
1920
b53ef01a
AS
19212012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1922
37fb1dc0
AS
1923 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1924 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1925 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1926 Refer to _rtld_local_ro instead of _rtld_global_ro.
1927 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1928 Likewise.
1929 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1930 Likewise.
1931 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1932 Likewise.
1933 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1934 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1935 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1936
b53ef01a
AS
1937 * sysdeps/powerpc/powerpc32/dl-machine.c
1938 (__elf_machine_runtime_setup) [PROF]: Don't reference
1939 _dl_prof_resolve.
1940
7a185db2
AJ
19412012-05-18 Andreas Jaeger <aj@suse.de>
1942
1943 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1944 function only available for GCCs before 3.4 since GCC 3.4
1945 introduced a builtin.
1946 (lrint): Likewise.
1947 (llrintf): Likewise.
1948 (llrint): Likewise.
1949 (fmaxf): Likewise.
1950 (fmax): Likewise.
1951 (fminf): Likewise.
1952 (fmin): Likewise.
1953 (rint): Likewise.
1954 (rintf): Likewise.
1955 (nearbyint): Likewise.
1956 (nearbyintf): Likewise.
1957 (ceil): Likewise.
1958 (ceilf): Likewise.
1959 (floor): Likewise.
1960 (floorf): Likewise.
1961
3e5aef87
L
19622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1963
428bd707
L
1964 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1965 on both fields and cast pointer to __syscall_ulong_t.
1966
3e5aef87
L
1967 * bits/types.h (__fsword_t): New type.
1968 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1969 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1970 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1971 (__FSWORD_T_TYPE): Likewise.
1972 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1973 (__FSWORD_T_TYPE): Likewise.
1974 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1975 (__FSWORD_T_TYPE): Likewise.
1976 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1977 (__FSWORD_T_TYPE): Likewise.
1978 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1979 __SWORD_TYPE with __fsword_t.
1980 (statfs64): Likewise.
1981
1ba7c3dc
DM
19822012-05-17 David S. Miller <davem@davemloft.net>
1983
1984 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1985
59910343
AJ
19862012-05-17 Andreas Jaeger <aj@suse.de>
1987
1988 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1989 warning.
1990
2e4c1e9e
L
19912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1992
1993 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1994
de7f5ce7
AJ
19952012-05-17 Andreas Jaeger <aj@suse.de>
1996
1997 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1998 when it is used.
1999
286abc3d
CM
20002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2001
2002 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2003
477cc68e
L
20042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2005
2006 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2007 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2008
1a0994f5
CD
20092012-05-17 Andreas Jaeger <aj@suse.de>
2010 Carlos O'Donell <carlos_odonell@mentor.com>
2011
2012 [BZ #14059]
2013 * sysdeps/x86_64/multiarch/init-arch.h
2014 (bit_YMM_Usable): Rename to...
2015 (bit_AVX_Usable): ... this.
2016 (bit_FMA4_Usable): New macro.
2017 (bit_XMM_state): New macro.
2018 (bit_YMM_state): New macro.
2019 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2020 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2021 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2022 (CPUID_OSXSAVE): New macro.
2023 (CPUID_AVX): New macro.
2024 (CPUID_FMA4): New macro.
2025 (index_YMM_Usable): Rename to...
2026 (index_AVX_Usable): ... this.
2027 (HAS_AVX): Use HAS_ARCH_FEATURE.
2028 (HAS_FMA4): Likewise.
2029 (HAS_YMM_USABLE): Remove.
2030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2031 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2032 are present.
2033 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2034 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2035 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2036 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2037 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2038
0af797de
CM
20392012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2040
2041 * math/libm-test.c: Support platforms without multiple rounding modes.
2042 * math/bug-nextafter.c: Support platforms without FP exceptions.
2043 * math/bug-nexttoward.c: Likewise.
2044 * math/test-fenv.c: Likewise.
2045 * math/test-misc.c: Likewise.
2046 * stdlib/bug-getcontext.c: Likewise.
2047
e39745ff
AJ
20482012-05-17 Andreas Jaeger <aj@suse.de>
2049
2050 * manual/examples/search.c (critter_cmp): Change signature to
2051 avoid warnings.
2052 * manual/string.texi (Collation Functions): Likewise.
2053
48970aba
L
20542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2055
2056 * bits/types.h: Fold copyright years.
2057 * bits/typesizes.h: Likewise.
2058 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2059 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2060 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2061 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2062 * time/time.h: Likewise.
2063
bedee953
PP
20642012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2065
2066 [BZ #208]
2067 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2068 in instead of returning them. Return void.
2069 (__libc_mallinfo): Accumulate over all arenas.
2070 (__malloc_stats): Adjust for change in int_mallinfo interface.
2071
61653dfb
RM
20722012-05-16 Roland McGrath <roland@hack.frob.com>
2073
30b99d79
RM
2074 [BZ #10375]
2075 * configure.in (NM): Add AC_CHECK_TOOL for it.
2076 (libc_extra_cflags): New substituted variable.
2077 Check for -fstack-protector being used implicitly.
2078 * configure: Regenerated.
2079 * config.make.in (config-extra-cflags): New variable,
2080 gets @libc_extra_cflags@.
2081 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2082
61653dfb
RM
2083 [BZ #10375]
2084 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2085 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2086 * configure: Regenerated.
2087 * config.make.in (CPPUNDEFS): New substituted variable.
2088 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2089 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2090 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2091
661768bb
L
20922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2093
2094 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2095 (mq_attr): Use __syscall_slong_t.
2096
d4261567
L
20972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2098
2099 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2100 Check __x86_64__ instead of __WORDSIZE.
2101 (_STAT_VER_LINUX): Likewise.
2102 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2103 __syscall_ulong_t and __syscall_slong_t.
2104 (stat64): Likewise.
2105
cf3ff365
L
21062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2107
2108 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2109
76cf3e4d
L
21102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2111
2112 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2113
a637753a
L
21142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2115
2116 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2117 __syscall_ulong_t.
2118
d5e05119
L
2119 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2120 include <bits/wordsize.h>. Check __x86_64__ instead of
2121 __WORDSIZE.
2122 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2123 defined.
2124 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2125
f62ee380
L
2126 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2127 include <bits/wordsize.h>. Check __x86_64__ instead of
2128 __WORDSIZE.
2129 (user_regs_struct): Use "__extension__ unsigned long long"
2130 instead of "unsigned long" if __x86_64__ is defined.
2131 (user): Likewise. Pad after pointer field if __ILP32__ is
2132 defined.
2133
4e124ced
JM
21342012-05-16 Joseph Myers <joseph@codesourcery.com>
2135
6a3951a0
JM
2136 * configure.in (makeinfo): Require version 4.5 or later. Allow
2137 versions 5 to 9.
2138 * configure: Regenerated.
2139 * manual/install.texi (texinfo): Increase version requirement to
2140 4.5 or later.
2141 * INSTALL: Regenerated.
2142
4e124ced
JM
2143 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2144
953ca31a
L
21452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2146
2147 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2148
617aca05
L
2149 * sysdeps/x86_64/x32/ffs.c: New file.
2150
5762f7ae
L
2151 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2152 __syscall_ulong_t.
2153 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2154 defined. Use __syscall_ulong_t.
2155 (shminfo): Use __syscall_ulong_t.
2156 (shm_info): Likewise.
2157
a26b6856
L
2158 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2159 __syscall_ulong_t.
2160
cb2b9ef7
L
2161 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2162 <bits/wordsize.h>.
2163 (msgqnum_t): Use __syscall_ulong_t.
2164 (msglen_t): Likewise.
2165 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2166 __syscall_ulong_t.
2167
34683bb0
L
2168 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2169 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2170
84a68786
L
2171 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2172
48baa5f1
L
2173 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2174 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2175
180be88b
L
2176 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2177 __syscall_slong_t.
2178
5e90c8ad
L
2179 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2180 include <bits/wordsize.h>. Check __x86_64__ instead of
2181 __WORDSIZE.
2182
23dfb58b
L
2183 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2184 "unsigned long long int" if __x86_64__ is defined.
2185 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2186
ce5d54b0
L
2187 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2188 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2189 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2190
13dc9eac
L
2191 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2192 <stdint.h>.
2193 (GET_PC): Cast to uintptr_t first.
2194 (GET_FRAME): Likewise.
2195 (GET_STACK): Likewise.
2196
a7895d15
L
2197 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2198 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2199 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2200 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2201 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2202 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2203 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2204 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2205 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2206 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2207 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2208 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2209 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2210 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2211 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2212 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2213 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2214 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2215 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2216 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2217 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2218 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2219 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2220 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2221 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2222 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2223 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2224 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2225 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2226
656416c9
AS
22272012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2228
5bd66283
AS
2229 * Makerules (+depfiles): Also collect depfiles from .oS in
2230 $(extra-objs).
2231 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2232 .oS, $(libnldbl-routines)).
2233
656416c9
AS
2234 * Makerules (native-compile-mkdep-flags): Define.
2235 * sunrpc/Makefile (extra-objs): Add $(addprefix
2236 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2237 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2238 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2239 calling $(make-target-directory).
2240
a46f2169
L
22412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2242
2243 * bits/types.h (__snseconds_t): Removed.
2244 * time/time.h (struct timespec): Replace __snseconds_t with
2245 __syscall_slong_t.
2246 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2247 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2248 Likewise.
2249 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2250 (__SNSECONDS_T_TYPE): Likewise.
2251 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2252 (__SNSECONDS_T_TYPE): Likewise.
2253 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2254 (__SNSECONDS_T_TYPE): Likewise.
2255
6af6528b
L
22562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2257
2258 * sysdeps/mach/hurd/bits/typesizes.h
2259 (__SYSCALL_SLONG_TYPE): New macro.
2260 (__SYSCALL_ULONG_TYPE): Likewise.
2261
de986b56
L
22622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2263
2264 * bits/types.h (__syscall_slong_t): New type.
2265 (__syscall_ulong_t): Likewise.
2266
2267 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2268 (__SYSCALL_ULONG_TYPE): Likewise.
2269 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2270 (__SYSCALL_SLONG_TYPE): Likewise.
2271 (__SYSCALL_ULONG_TYPE): Likewise.
2272 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2273 (__SYSCALL_SLONG_TYPE): Likewise.
2274 (__SYSCALL_ULONG_TYPE): Likewise.
2275 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2276 (__SYSCALL_SLONG_TYPE): Likewise.
2277 (__SYSCALL_ULONG_TYPE): Likewise.
2278
85736dc7
L
22792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2280
2281 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2282 Add sigaltstack-offsets.sym.
2283 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2284 <sigaltstack-offsets.h>.
2285 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2286 longjmp_msg pointer.
2287 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2288 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2289 signal stack.
2290 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2291
cc03b296
JM
22922012-05-15 Joseph Myers <joseph@codesourcery.com>
2293
a9538892
JM
2294 * elf/stackguard-macros.h: Remove file.
2295 * sysdeps/generic/stackguard-macros.h: New file.
2296 * sysdeps/i386/stackguard-macros.h: Likewise.
2297 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2298 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2299 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2300 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2301 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2302 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2303 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2304 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2305 <elf/stackguard-macros.h>.
2306
cc03b296
JM
2307 [BZ #14109]
2308 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2309 __aligned__ in attribute.
2310 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2311 (gregset_t): Likewise.
2312
93171016
L
23132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2314
2315 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2316 * sysdeps/x86_64/64/Implies-after: Here. New file.
2317 * sysdeps/x86_64/x32/Implies-after: New file.
2318
d86813a0
L
23192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2320
2321 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2322 and access return value for _dl_profile_fixup. Use R10_LP to
2323 load frame size.
2324
2953ec75
L
23252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2326
2327 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2328
3b550e9e
L
23292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2330
2331 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2332 * sysdeps/x86_64/x32/sysdep.h: New file.
2333
eda41706
L
23342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2335
2336 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2337 * sysdeps/x86_64/setjmp.S: Likewise.
2338
9ea01d93
AZ
23392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2340
2341 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2342 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2343 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2344 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2345 remove unused global constant.
2346
02a91938
CM
23472012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2348
2349 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2350 include of <not-cancel.h>.
2351
6540185f
RM
23522012-05-15 Roland McGrath <roland@hack.frob.com>
2353
2354 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2355
509072a0
AJ
23562012-05-15 Jeff Law <law@redhat.com>
2357 Andreas Jaeger <aj@suse.de>
2358
2359 [BZ #13594]
2360 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2361 out from...
2362 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2363 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2364 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2365 code changing __hst_map_handle.map.
2366
ba75122d
RM
23672012-05-15 Roland McGrath <roland@hack.frob.com>
2368
2369 * configure.in (sysnames): Look for Implies-before and Implies-after
2370 files.
2371 * configure: Regenerated.
2372
890d8bd8
L
23732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2374
2375 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2376 8-byte data alignment with LP_SIZE alignment.
2377
f6ee6623
L
23782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2379
2380 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2381 into R10_LP.
2382
ea2626f6
L
23832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2384
2385 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2386
085f715e
L
23872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2388
2389 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2390 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2391 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2392 Likewise.
2393 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2394
be8498fc
L
23952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2396
2397 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2398 (stackinfo_sub_sp): Likewise.
2399
70bc83b9
L
24002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2401
2402 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2403 RAX_LP.
2404
9bc0b730
L
24052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2406
2407 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2408 into R*_LP.
2409
6d2850e7
L
24102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2411
2412 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2413 sizes into R*_LP.
2414
3cb84561
L
24152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2416
2417 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2418
54e2ed81
L
24192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2420
2421 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2422 into R11_LP and load __x86_64_shared_cache_size_half into
2423 R8_LP.
2424
8a17f349
L
24252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2426
2427 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2428 R8_LP.
2429
777b1eea
AZ
24302012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2431
2432 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2433 logb for POWER7.
2434 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2435 logbf for POWER7.
2436 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2437 logbl for POWER7.
2438 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2439 powerpc32/power7/fpu/s_logb.c via #include.
2440 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2441 powerpc32/power7/fpu/s_logbf.c via #include.
2442 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2443 powerpc32/power7/fpu/s_logbl.c via #include.
2444
d20d4ac2
JM
24452012-05-15 Joseph Myers <joseph@codesourcery.com>
2446
2447 * README.libm: Remove file.
2448
6cdef1ab
L
24492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2450
2451 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2452 count for x32. Use R*_LP and omit operand-size suffix.
2453
0b254d8f
L
24542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2455
2456 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2457 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2458 * sysdeps/x86_64/x32/shlib-versions: New file.
2459
ceb809dc
RM
24602012-05-14 Roland McGrath <roland@hack.frob.com>
2461
2462 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2463 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2464 Use _dl_fatal_printf instead.
2465
37f1abd4
JM
24662012-05-14 Joseph Myers <joseph@codesourcery.com>
2467
2468 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2469 set if not set by the user. Do not allow for being unset.
2470 * sysdeps/unix/sysv/linux/configure: Regenerated.
2471
11de3a33
L
24722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2473
2474 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2475 the `q' suffix from lea and replace .quad with ASM_ADDR.
2476
e02f153a
L
24772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2478
2479 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2480 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2481 instead of $17.
2482 (PTR_DEMANGLE): Likewise.
2483
520ae0fd
L
24842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2485
2486 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2487 (LP_OP): Likewise.
2488 (ASM_ADDR): Likewise.
2489 (RAX_LP): Likewise.
2490 (RBP_LP): Likewise.
2491 (RBX_LP): Likewise.
2492 (RCX_LP): Likewise.
2493 (RDI_LP): Likewise.
2494 (RSI_LP): Likewise.
2495 (RSP_LP): Likewise.
2496 (R8_LP): Likewise.
2497 (R9_LP): Likewise.
2498 (R10_LP): Likewise.
2499 (R10_LP): Likewise.
2500 (R11_LP): Likewise.
2501 (R12_LP): Likewise.
2502 (R13_LP): Likewise.
2503 (R14_LP): Likewise.
2504 (R15_LP): Likewise.
2505
b985be81
L
25062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2507
2508 * sysdeps/x86_64/x32/dl-machine.h: New file.
2509
6a4888ff
AJ
25102012-05-14 Andreas Jaeger <aj@suse.de>
2511
2512 * manual/Makefile (subdir): Remove export of subdir.
2513 (all): Remove target.
2514 (.PHONY): Remove all from list.
2515 (mkinstalldirs): Remove.
2516 (.PHONY): Remove installdirs from list.
2517 ($(inst_infodir)/libc.info): Use make-target-directory.
2518 (installdirs): Remove.
2519 (subdir_%): Remove.
2520 (glibc-targets): Remove.
2521 (lib): Remove.
2522 (stubs): Remove.
2523 ($(objpfx)stubs ../po/manual.pot): Remove.
2524 ($(objpfx)stamp%): Remove.
2525 (make-target-directory): Remove.
2526 (subdir_install): Remove.
2527 (routines): Remove.
2528 (aux): Remove.
2529 (sources): Remove.
2530 (objects): Remove.
2531 (headers): Remove.
2532
2533 [BZ #13750]
2534 * manual/.gitignore: Remove, it's not needed anymore.
2535 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2536 all files in it.
2537 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2538 directory.
2539 (texis): Renamed to $(objpfx)texis.
2540 (texis-path): New, contains path to generated files.
2541 (chapters.%): Use texis-path for complete path, add extra argument
2542 libc-texinfo.sh.
2543 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2544 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2545 (summary,texi, stamp-summary): Use complete path of
2546 files. Generate files in build dir.
2547 (dir-add.texi): Build in build dir.
2548 (libm-err.texi,stamp-libm-err): Likewise.
2549 (version.texi, stamp-version): Likewise.
2550 (.%c.texi): Likewise.
2551 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2552 (mostlyclean): Remove target.
2553 (realclean): Remove target.
2554 (generated): Add new variable with contents from mostlyclean and
2555 realclean, remove entries duplicated in common-mostlyclean, add
2556 stamp-libm-err and stamp-version.
2557 (generated-dirs): Add libc directory.
2558 ($(inst_infodir)/libc.info): Install files from build dir.
2559
2560 * manual/install.texi (Configuring and compiling): Adjust since
2561 the info files are not part of the tar ball anymore.
2562
7ac77294
AJ
25632012-05-14 Andreas Jaeger <aj@suse.de>
2564
2565 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2566 variable.
2567
ffb7875d
JM
25682012-05-14 Joseph Myers <joseph@codesourcery.com>
2569
2570 [BZ #13717]
2571 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2572 to 2.2.0 where earlier.
2573 * sysdeps/unix/sysv/linux/configure: Regenerated.
2574 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2575 Remove conditional code.
2576 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2577 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2578 Remove conditional code.
2579 [!__NR_lchown]: Likewise.
2580 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2581 [__NR_lchown]: Likewise.
2582 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2583 comment referencing __ASSUME_LCHOWN_SYSCALL.
2584 * sysdeps/unix/sysv/linux/i386/sigaction.c
2585 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2586 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2587 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2588 Remove conditional code.
2589 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2590 (__protocol_available): Remove #if 0 code.
2591 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2592 conditional code.
2593 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2594 * sysdeps/unix/sysv/linux/kernel-features.h
2595 (__ASSUME_GETCWD_SYSCALL): Don't define.
2596 (__ASSUME_REALTIME_SIGNALS): Likewise.
2597 (__ASSUME_PREAD_SYSCALL): Likewise.
2598 (__ASSUME_PWRITE_SYSCALL): Likewise.
2599 (__ASSUME_POLL_SYSCALL): Likewise.
2600 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2601 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2602 non-SPARC.
2603 (__ASSUME_SIOCGIFNAME): Don't define.
2604 (__ASSUME_MSG_NOSIGNAL): Likewise.
2605 (__ASSUME_SENDFILE): Define unconditionally.
2606 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2607 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2608 conditional code.
2609 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2610 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2611 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2612 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2613 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2614 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2615 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2617 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2618 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2620 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2621 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2623 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2624 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2626 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2627 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2629 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2630 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2632 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2633 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2635 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2636 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2638 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2639 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2640 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2641 Remove conditional code.
2642 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2643 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2644 Remove conditional code.
2645 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2646 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2647 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2648 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2649 Remove conditional code.
2650 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2651 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2652 Remove conditional code.
2653 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2654 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2655 Remove conditional code.
2656 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2657 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2658 Remove conditional code.
2659 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2660 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2661 Remove conditional code.
2662 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2663 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2664 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2665 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2666 * sysdeps/unix/sysv/linux/sigaction.c
2667 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2668 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2669 * sysdeps/unix/sysv/linux/sigpending.c
2670 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2671 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2672 * sysdeps/unix/sysv/linux/sigprocmask.c
2673 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2674 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2675 * sysdeps/unix/sysv/linux/sigsuspend.c
2676 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2677 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2678 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2679 (__libc_missing_rt_sigs): Remove.
2680 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2681 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2682 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2683 Remove conditional code.
2684 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2685 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2686 return 1.
2687 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2688 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2689 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2690 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2691
1bfb7291
AJ
26922012-05-14 Andreas Jaeger <aj@suse.de>
2693
caae5a81
AJ
2694 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2695 it's not used in glibc.
2696 (__coshm1): Likewise.
2697 (__acosh1p): Likewise.
2698 (__sgn): Likewise.
2699
1bfb7291
AJ
2700 * manual/string.texi (Copying and Concatenation): Add missing
2701 variable in concat example.
2702 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2703
c044d724
L
27042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2705
144c5467 2706 [BZ #14103]
c044d724
L
2707 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2708 __builtin_clzl with __builtin_clzll.
2709
2523c62b
L
27102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2711
2712 [BZ #14104]
2713 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2714 libc_freeres_ptr.
2715
d7bb4c42
LD
27162012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2717
2718 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2719 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2720 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2721 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2722
9dc4e1fb
MF
27232012-05-14 Mike Frysinger <vapier@gentoo.org>
2724
2725 * NEWS: Update ia64 info.
2726
c7df0112
AS
27272012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2728
2729 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2730 used as bcopy.
2731
dc70356c
TS
27322012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2733
2734 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2735 * sysdeps/unix/syscalls.list (dup3): Likewise.
2736 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2737 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2738
9fb1a21f
L
27392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2740
2741 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2742 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2743
4822a2a5
L
27442012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2745
2746 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2747 thread pointer.
2748 (TLS_IE): Use mov/add instead of movq/addq to load thread
2749 pointer.
2750 (TLS_GD_PREFIX): New.
2751 (TLS_GD): Use it.
2752
842b81d6
DM
27532012-05-11 David S. Miller <davem@davemloft.net>
2754
2755 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2756 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2757 (_FPU_SETCW): Likewise.
2758
1cf463cd
L
27592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2760
2761 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2762 is 32-byte aligned.
2763
60cc4a18
AS
27642012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2765
2766 [BZ #11837]
2767 * iconvdata/gb18030.c: Update tables.
2768 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2769 characters specially.
2770 (BODY for TO_LOOP): Add encoding of missing ranges.
2771
febb44a4
TS
27722012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2773
2774 [BZ #13673]
2775 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2776 * sysdeps/mach/hurd/dup3.c: Likewise.
2777 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2778 * sysdeps/powerpc/memmove.c:: Likewise.
2779
0a10fb9e
L
27802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2781
2782 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2783 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2784
df8a552f
L
27852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2786
2787 * elf/elf.h (R_X86_64_RELATIVE64): New.
2788 (R_X86_64_NUM): Updated.
2789 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2790 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2791 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2792 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2793 tst-quad1pie tst-quad2pie
2794 (modules-names): Add tst-quadmod1 tst-quadmod2.
2795 ($(objpfx)tst-quad1): New dependency.
2796 ($(objpfx)tst-quad2): Likewise.
2797 ($(objpfx)tst-quad1pie): Likewise.
2798 ($(objpfx)tst-quad2pie): Likewise.
2799 * sysdeps/x86_64/tst-quad1.c: New file.
2800 * sysdeps/x86_64/tst-quad1pie.c: New file.
2801 * sysdeps/x86_64/tst-quad2.c: Likewise.
2802 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2803 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2804 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2805 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2806 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2807
f34d6f84
ST
28082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2809
f42d41d1
ST
2810 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2811 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2812 * streams/stropts.h (t_scalar_t): Define type.
2813
3c3571fc
ST
2814 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2815 (_PATH_PRESERVE): Set to "/var/lib".
2816 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2817
61f06bd3
ST
2818 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2819 instead of int.
2820
918d4d71
ST
2821 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2822 if __dir_mkfile succeeded.
2823
f34d6f84
ST
2824 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2825 checking for _hurd_dtablesize. Unlock it right after having
2826 finished _hurd_dtable allocation.
2827
10589b4a
TS
28282012-05-10 Thomas Schwinge <thomas@schwinge.name>
2829
674cdbc7
TS
2830 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2831 * sysdeps/mach/hurd/configure: Regenerated.
2832 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2833 special-casing to...
2834 * sysdeps/gnu/configure.in: ... this new file.
2835 * sysdeps/unix/sysv/linux/configure: Regenerated.
2836 * sysdeps/gnu/configure: New generated file.
2837
8e41b99f
TS
2838 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2839 for Linux: use nsec instead of usec, as well as:
2840 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2841 members of type struct timespec.
2842 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2843 New macros.
2844 (struct stat64): Likewise.
2845 (_STATBUF_ST_NSEC): New macro.
2846 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2847
10589b4a
TS
2848 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2849 __strtoul_internal rather than strtoul.
2850
63643c85
PT
28512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2852
2853 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2854 and reject them.
2855
3faebe6a
ST
28562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2857
2858 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2859 which preserves existing values.
2860 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2861
c6474b07
PT
28622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2863
2864 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2865 TIMEOUT values. Return EINVAL for NFDS values either negative or
2866 greater than FD_SETSIZE.
2867
1043890b
ST
28682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2869
2870 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2871 allocated, call __vm_protect to finish enabling the existing space, and
2872 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2873 allocate the remainder.
2874
37ed8b9b
PT
28752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2876
2877 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2878 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2879
db653660
ST
28802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2881
37ed8b9b
PT
2882 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2883 sysdeps/mach/hurd/readlink.c.
b29d4053 2884
db653660
ST
2885 * posix/tst-sysconf.c (posix_options): Only use
2886 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2887 _POSIX_SYNCHRONIZED_IO when they are defined
2888 * sysdeps/mach/hurd/bits/posix_opt.h:
2889 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2890 (_XOPEN_REALTIME): Undefine macro.
2891 (_XOPEN_REALTIME_THREADS): Undefine macro.
2892 (_XOPEN_SHM): Undefine macro.
2893 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2894 macro to -1.
2895 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2896 macro to -1.
2897 (_POSIX_ASYNC_IO): Undefine macro.
2898 (_POSIX_PRIORITIZED_IO): Undefine macro.
2899 (_POSIX_SPIN_LOCKS): Define macro to -1.
2900
ee16e894
ST
2901 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2902 SA_NODEFER, SA_RESETHAND.
2903 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2904 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2905 F_DUPFD_CLOEXEC.
2906
6103ae3b
TS
29072012-05-10 Thomas Schwinge <thomas@schwinge.name>
2908
2909 * elf/Makefile (pldd-modules): Define unconditionally.
2910
80b4e5f3
TS
29112012-05-10 Thomas Schwinge <thomas@schwinge.name>
2912
2913 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2914
edadcbd6
ST
29152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2916
2917 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2918 Return ENOENT when name is empty.
2919 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2920
80694780
TS
29212012-05-10 Thomas Schwinge <thomas@schwinge.name>
2922
1792c087
TS
2923 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2924
80694780
TS
2925 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2926
6b645f0d
ST
29272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2928
80694780
TS
2929 Fix mlock in all cases except non-readable pages.
2930 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2931 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2932
6b645f0d
ST
2933 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2934 (__mkdir): When path is `/', just fail with EEXIST.
2935 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2936
e468f8a3
TS
29372012-05-10 Thomas Schwinge <thomas@schwinge.name>
2938
2939 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2940 <sys/uio.h> (for writev).
2941 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2942 and <sys/param.h> (for MIN).
2943
a4186cff
PT
29442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2945
2946 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2947 REQUESTED_TIME. Properly set the remaining time and return EINTR
2948 if interrupted.
2949
510bbf14
TS
29502012-05-10 Thomas Schwinge <thomas@schwinge.name>
2951
2952 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2953 Depend on against $(link-rpcuserlibs).
2954
5d5722e8
ST
29552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2956
a4186cff
PT
2957 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2958 (__libc_stack_end): Do not use attribute_relro.
2959 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2960 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2961 to libthread-provided value.
a4186cff
PT
2962 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2963 attribute_relro.
5d5722e8 2964
37233df9
TS
29652012-05-10 Thomas Schwinge <thomas@schwinge.name>
2966
be971a2b
TS
2967 [BZ #3748]
2968 * bits/libc-lock.h (__libc_once_get): New macro.
2969 * sysdeps/mach/bits/libc-lock.h: Likewise.
2970 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2971 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2972 instead of using implementation details.
2973
37233df9
TS
2974 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2975 * libio/freopen.c: Likewise.
2976 * libio/freopen64.c: Likewise.
2977 * misc/syslog.c: Likewise.
2978 * nscd/connections.c: Likewise.
2979 * nscd/netgroupcache.c: Likewise.
2980 * sysdeps/posix/getcwd.c: Likewise.
2981
38de94a5
RM
29822012-05-10 Roland McGrath <roland@hack.frob.com>
2983
2984 * math/w_ilogbf.c: Add #include <limits.h>.
2985
67530489
ST
29862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2987
a4186cff 2988 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2989 path instead of returning without unlocking.
2990
67530489
ST
2991 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2992 immediate-write ioctls.
2993 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2994
5aa3a74a
TS
29952012-05-10 Thomas Schwinge <thomas@schwinge.name>
2996
18bad2ae
TS
2997 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2998 __builtin_frame_address instead of making assumptions about the
2999 location of the return address relative to DATA. Force early load of
3000 the return address.
3001 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3002 __builtin_frame_address.
3003
5aa3a74a
TS
3004 dup3 for GNU Hurd.
3005 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3006 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3007 implement dup3 and do some further code clean-ups.
3008 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3009 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3010
ecd0de9a
ST
30112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3012
cd9fa985
ST
3013 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3014
a4186cff
PT
3015 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3016 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3017 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3018 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3019 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3020 d->port.lock.
802ca5a5 3021
a4186cff
PT
3022 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3023 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3024 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3025
bcf55240
TS
30262012-05-10 Thomas Schwinge <thomas@schwinge.name>
3027
6960eb42
TS
3028 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3029 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3030 definitions.
3031
eb43375f
TS
3032 accept4 for GNU Hurd.
3033 * include/sys/socket.h (__libc_accept4): New prototype.
3034 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3035 to implement __libc_accept4.
3036 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3037 __libc_accept4.
3038 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3039
bcf55240
TS
3040 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3041 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3042 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3043 signal-defines.sym.
3044
6178c55b
ST
30452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3046
a4186cff 3047 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3048
6f080c2f
TS
30492012-05-10 Thomas Schwinge <thomas@schwinge.name>
3050
3051 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3052 assertion on O_CLOEXEC flag.
3053 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3054 * hurd/intern-fd.c: Likewise.
3055 * hurd/port2fd.c: Likewise.
3056
bcfe3a54
ST
30572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3058
3059 [BZ #3906]
3060 * bits/in.h (IPV6_PKTINFO): Define new macro.
3061 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3062
89c9aa49
AZ
30632012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3064
3065 [BZ #13954]
3066 [BZ #13955]
3067 [BZ #13956]
3068 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3069 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3070 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3071 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3072 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3073 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3074 * math/libm-test.inc (logb_test) : Additional logb tests.
3075
021db4be
AJ
30762012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3077 Andreas Jaeger <aj@suse.de>
3078
3079 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3080 * configure: Regenerated.
3081 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3082 * config.make.in (link-obsolete-rpc): New substituted variable.
3083 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3084 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3085 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3086 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3087 so that libc.a contains the symbols.
3088 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3089 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3090 * sunrpc/auth_none.c: Likewise.
3091 * sunrpc/auth_unix.c: Likewise.
3092 * sunrpc/authdes_prot.c: Likewise.
3093 * sunrpc/authuxprot.c: Likewise.
3094 * sunrpc/clnt_gen.c: Likewise.
3095 * sunrpc/clnt_perr.c: Likewise.
3096 * sunrpc/clnt_raw.c: Likewise.
3097 * sunrpc/clnt_simp.c: Likewise.
3098 * sunrpc/clnt_tcp.c: Likewise.
3099 * sunrpc/clnt_udp.c: Likewise.
3100 * sunrpc/clnt_unix.c: Likewise.
3101 * sunrpc/des_crypt.c: Likewise.
3102 * sunrpc/des_soft.c: Likewise.
3103 * sunrpc/get_myaddr.c: Likewise.
3104 * sunrpc/key_call.c: Likewise.
3105 * sunrpc/key_prot.c: Likewise.
3106 * sunrpc/netname.c: Likewise.
3107 * sunrpc/pm_getmaps.c: Likewise.
3108 * sunrpc/pm_getport.c: Likewise.
3109 * sunrpc/pmap_clnt.c: Likewise.
3110 * sunrpc/pmap_prot.c: Likewise.
3111 * sunrpc/pmap_prot2.c: Likewise.
3112 * sunrpc/pmap_rmt.c: Likewise.
3113 * sunrpc/publickey.c: Likewise.
3114 * sunrpc/rpc_cmsg.c: Likewise.
3115 * sunrpc/rpc_common.c: Likewise.
3116 * sunrpc/rpc_dtable.c: Likewise.
3117 * sunrpc/rpc_prot.c: Likewise.
3118 * sunrpc/rpc_thread.c: Likewise.
3119 * sunrpc/rtime.c: Likewise.
3120 * sunrpc/svc.c: Likewise.
3121 * sunrpc/svc_auth.c: Likewise.
3122 * sunrpc/svc_raw.c: Likewise.
3123 * sunrpc/svc_run.c: Likewise.
3124 * sunrpc/svc_tcp.c: Likewise.
3125 * sunrpc/svc_udp.c: Likewise.
3126 * sunrpc/svc_unix.c: Likewise.
3127 * sunrpc/svcauth_des.c: Likewise.
3128 * sunrpc/xcrypt.c: Likewise.
3129 * sunrpc/xdr.c: Likewise.
3130 * sunrpc/xdr_array.c: Likewise.
3131 * sunrpc/xdr_float.c: Likewise.
3132 * sunrpc/xdr_intXX_t.c: Likewise.
3133 * sunrpc/xdr_mem.c: Likewise.
3134 * sunrpc/xdr_rec.c: Likewise.
3135 * sunrpc/xdr_ref.c: Likewise.
3136 * sunrpc/xdr_sizeof.c: Likewise.
3137 * sunrpc/xdr_stdio.c: Likewise.
3138
b5c086a2
RM
31392012-05-10 Roland McGrath <roland@hack.frob.com>
3140
3141 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3142 change. Update copyright years.
3143
6d74dd09
JM
31442012-05-10 Joseph Myers <joseph@codesourcery.com>
3145
3146 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3147
28e72501
MK
31482012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3149 Joseph Myers <joseph@codesourcery.com>
3150 Paul Pluzhnikov <ppluzhnikov@google.com>
3151
3152 [BZ #14012]
3153 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3154 requiring rpcgen.
3155 [cross-compiling] (extra-libs): Likewise.
3156 [cross-compiling] (extra-libs-others): Likewise.
3157 [cross-compiling] (librpcsvc-routines): Likewise.
3158 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3159 [cross-compiling] (omit-deps): Likewise.
3160 (sunrpc-CPPFLAGS): New variable.
3161 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3162 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3163 (cross-rpcgen-objs): New variable.
3164 (extra-objs): Append $(cross-rpcgen-objs).
3165 ($(cross-rpcgen-objs)): New rule.
3166 ($(objpfx)cross-rpcgen): Likewise.
3167 (rpcgen-cmd): Define to use $(built-program-file). Expand
3168 comment.
3169 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3170 ($(objpfx)x%.stmp): Likewise.
3171 * sunrpc/proto.h [IS_IN_build] (_): Define.
3172 [IS_IN_build] (_libc_intl_domainname): Likewise.
3173
c8c59454
L
31742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3175
3176 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3177 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3178 and R_X86_64_TPOFF64.
3179
6f27cd16
JM
31802012-05-10 Joseph Myers <joseph@codesourcery.com>
3181
3182 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3183 sysdeps/unix/sysv/syscalls.list.
3184 (stime): Likewise.
3185 (utime): Likewise.
3186 * sysdeps/unix/sysv/syscalls.list: Remove file.
3187
02467e1c
PE
31882012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3189
3190 [BZ #3440]
3191 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3192 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3193 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3194 (__LC_IDENTIFICATION): Make these macros useful in #if
3195 expressions, as required by C99.
3196
da392631
AS
31972012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3198
3199 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3200 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3201 after this.
3202
8115f29b
L
32032012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3204
3205 * stdlib/longlong.h: Updated from GCC.
3206
bdd74070
AJ
32072012-05-09 Andreas Jaeger <aj@suse.de>
3208
edfe0dbe
AJ
3209 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3210 default is first entry.
3211 (run_mode): Set type.
3212 (main): Remove informal message about syslog.
3213 (options): Fix typo.
3214
bcfe3a54
ST
3215 [BZ #14053]
3216 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3217 to asm.
bcfe3a54
ST
3218 (lrint): Likewise.
3219 (llrintf): Likewise.
3220 (llrint): Likewise.
3221 (rint): Likewise.
3222 (rintf): Likewise.
3223 (nearbyint): Likewise.
3224 (nearbyintf): Likewise.
bdd74070 3225
91d8d69e
AJ
32262012-05-09 Andreas Jaeger <aj@suse.de>
3227 Pedro Alves <palves@redhat.com>
3228
3229 * nscd/nscd.c (run_mode): Use enum.
3230 (main): Cleanup coding style issue.
3231
bb90b80b
AJ
32322012-05-09 Alexandre Oliva <aoliva@redhat.com>
3233 Andreas Jaeger <aj@suse.de>
3234
bcfe3a54
ST
3235 * nscd/nscd.c (go_background): Replaced with...
3236 (run_mode): ... this.
bb90b80b 3237 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3238 (options): Add -F --foreground.
3239 (main): Implement it.
3240 (parse_opt): Parse it.
bb90b80b 3241
1a4b75a1
AJ
32422012-05-09 Andreas Jaeger <aj@suse.de>
3243
3244 [BZ #14083]
3245 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3246 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3247 -Wconversion warning.
3248 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3249 Likewise.
3250
b1cc2472
JM
32512012-05-09 Joseph Myers <joseph@codesourcery.com>
3252
3253 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3254 == 0.
3255 (LC_ALL): Use macro-int-constant.
3256 (LC_COLLATE): Likewise.
3257 (LC_CTYPE): Likewise.
3258 (LC_MESSAGES): Likewise.
3259 (LC_MONETARY): Likewise.
3260 (LC_NUMERIC): Likewise.
3261 (LC_TIME): Likewise.
3262 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3263 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3264 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3265 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3266 Specify type.
3267 [C99-based standards] (float_t): Expect type.
3268 [C99-based standards] (double_t): Expect type.
3269 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3270 type.
3271 [C99-based standards] (HUGE_VALL): Likewise.
3272 [C99-based standards] (INFINITY): Likewise.
3273 [C99-based standards] (NAN): Likewise.
3274 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3275 [C99-based standards] (FP_NAN): Likewise.
3276 [C99-based standards] (FP_NORMAL): Likewise.
3277 [C99-based standards] (FP_SUBNORMAL): Likewise.
3278 [C99-based standards] (FP_ZERO): Likewise.
3279 [C99-based standards] (FP_FAST_FMA): Use
3280 optional-macro-int-constant. Specify type. Require == 1.
3281 [C99-based standards] (FP_FAST_FMAF): Likewise.
3282 [C99-based standards] (FP_FAST_FMAL): Likewise.
3283 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3284 [C99-based standards] (FP_ILOGBNAN): Likewise.
3285 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3286 Specify type.
3287 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3288 [C99-based standards] (math_errhandling): Specify type.
3289 [ISO99 || ISO11] (signgam): Do not allow.
3290 [non-C99-based standards] (copysignf): Do not allow.
3291 [non-C99-based standards] (exp2f): Likewise.
3292 [non-C99-based standards] (log2f): Likewise.
3293 [non-C99-based standards] (modff): Allow.
3294 [non-C99-based standards] (erff): Do not allow.
3295 [non-C99-based standards] (erfcf): Likewise.
3296 [non-C99-based standards] (gammaf): Likewise.
3297 [non-C99-based standards] (hypotf): Likewise.
3298 [non-C99-based standards] (j0f): Likewise.
3299 [non-C99-based standards] (j1f): Likewise.
3300 [non-C99-based standards] (jnf): Likewise.
3301 [non-C99-based standards] (lgammaf): Likewise.
3302 [non-C99-based standards] (tgammaf): Likewise.
3303 [non-C99-based standards] (y0f): Likewise.
3304 [non-C99-based standards] (y1f): Likewise.
3305 [non-C99-based standards] (ynf): Likewise.
3306 [non-C99-based standards] (isnanf): Likewise.
3307 [non-C99-based standards] (acoshf): Likewise.
3308 [non-C99-based standards] (asinhf): Likewise.
3309 [non-C99-based standards] (atanhf): Likewise.
3310 [non-C99-based standards] (cbrtf): Likewise.
3311 [non-C99-based standards] (expm1f): Likewise.
3312 [non-C99-based standards] (ilogbf): Likewise.
3313 [non-C99-based standards] (log1pf): Likewise.
3314 [non-C99-based standards] (logbf): Likewise.
3315 [non-C99-based standards] (nextafterf): Likewise.
3316 [non-C99-based standards] (remainderf): Likewise.
3317 [non-C99-based standards] (rintf): Likewise.
3318 [non-C99-based standards] (scalbf): Likewise.
3319 [non-C99-based standards] (copysignl): Likewise.
3320 [non-C99-based standards] (exp2l): Likewise.
3321 [non-C99-based standards] (log2l): Likewise.
3322 [non-C99-based standards] (modfl): Allow.
3323 [non-C99-based standards] (erfl): Do not allow.
3324 [non-C99-based standards] (erfcl): Likewise.
3325 [non-C99-based standards] (gammal): Likewise.
3326 [non-C99-based standards] (hypotl): Likewise.
3327 [non-C99-based standards] (j0l): Likewise.
3328 [non-C99-based standards] (j1l): Likewise.
3329 [non-C99-based standards] (jnl): Likewise.
3330 [non-C99-based standards] (lgammal): Likewise.
3331 [non-C99-based standards] (tgammal): Likewise.
3332 [non-C99-based standards] (y0l): Likewise.
3333 [non-C99-based standards] (y1l): Likewise.
3334 [non-C99-based standards] (ynl): Likewise.
3335 [non-C99-based standards] (isnanl): Likewise.
3336 [non-C99-based standards] (acoshl): Likewise.
3337 [non-C99-based standards] (asinhl): Likewise.
3338 [non-C99-based standards] (atanhl): Likewise.
3339 [non-C99-based standards] (cbrtl): Likewise.
3340 [non-C99-based standards] (expm1l): Likewise.
3341 [non-C99-based standards] (ilogbl): Likewise.
3342 [non-C99-based standards] (log1pl): Likewise.
3343 [non-C99-based standards] (logbl): Likewise.
3344 [non-C99-based standards] (nextafterl): Likewise.
3345 [non-C99-based standards] (remainderl): Likewise.
3346 [non-C99-based standards] (rintl): Likewise.
3347 [non-C99-based standards] (scalbl): Likewise.
3348 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3349 [non-C99-based standards] (FP_*): Do not allow.
3350 [C99-based standards] (FP_*): Change to
3351 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3352 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3353 allow.
3354 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3355 (SIG_ERR): Likewise.
3356 [X/Open-based standards] (SIG_HOLD): Likewise.
3357 (SIG_IGN): Likewise.
3358 (SIGABRT): Use macro-int-constant. Specify type. Require
3359 positive value.
3360 (SIGFPE): Likewise.
3361 (SIGILL): Likewise.
3362 (SIGINT): Likewise.
3363 (SIGSEGV): Likewise.
3364 (SIGTER): Likewise.
3365 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3366 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3367 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3368 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3369 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3370 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3371 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3372 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3373 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3374 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3375 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3376 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3377 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3378 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3379 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3380 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3381 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3382 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3383 [X/Open-based standards] (SIGTRAP): Likewise.
3384 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3385 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3386 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3387 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3388 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3389 allow.
3390
b9f1922d
IW
33912012-05-08 Ian Wienand <ianw@vmware.com>
3392
3393 [BZ #14080]
3394 * time/tzset.c (__tzset_parse_tz): Update default rules for
3395 daylight time changes in the Energy Policy Act of 2005.
3396
1db86e88
AJ
33972012-05-09 Andreas Jaeger <aj@suse.de>
3398
3399 [BZ #13983]
3400 * elf/ldconfig.c (parse_conf): Change string to make clear that
3401 ldconfig only issued a warning if ld.so.conf does not exist.
3402
dee4a4e3
DM
34032012-05-08 David S. Miller <davem@davemloft.net>
3404
ee0db190
DM
3405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3406 movxtod instead of popping the value on the stack.
3407
dee4a4e3
DM
3408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3409
6a43ec98
CD
34102012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3411
3412 * config.h.in: Add HAVE_ARM_PCS_VFP.
3413
05c2c961
RMG
34142012-05-08 Roland Mc Grath <roland@hack.frob.com>
3415
bcfe3a54
ST
3416 [BZ #13979]
3417 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3418 checking but the checks are disabled for any reason.
05c2c961 3419
4b30f61a
L
34202012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3421
3422 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3423 and ELF64_R_TYPE with ELFW(R_TYPE).
3424
eee2bc67
JM
34252012-05-08 Joseph Myers <joseph@codesourcery.com>
3426
7ea5391a
JM
3427 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3428 (ulimit): Likewise.
3429
eee2bc67
JM
3430 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3431 (settimeofday): Likewise.
3432
abb66a67
MF
34332012-05-08 Mike Frysinger <vapier@gentoo.org>
3434
3435 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3436 a struct th_u2 inside the union, and move tu_block/tu_code into
3437 a new th_u3 union of tu_block/tu_code inside of that. Move
3438 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3439 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3440 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3441 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3442 (th_stuff): Change to th_u1.tu_stuff.
3443 (th_data): Define.
3444 (th_msg): Change to th_u1.th_u2.tu_data.
3445
7f18b530
DM
34462012-05-07 David S. Miller <davem@davemloft.net>
3447
05760585
DM
3448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3449
7f18b530
DM
3450 [BZ #14074]
3451 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3452 (SETUP_PIC_REG): Use it.
3453 (SETUP_PIC_REG_LEAF): Use it.
3454
495fd99f
JM
34552012-05-07 Joseph Myers <joseph@codesourcery.com>
3456
3457 [BZ #13885]
3458 [BZ #13923]
3459 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3460 USE_AS_EXPM1L.
3461 (EXPL_FINITE): Likewise.
3462 (FLDLOG): Likewise.
3463 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3464 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3465 e_expl.S.
3466 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3467 USE_AS_EXPM1L.
3468 (EXPL_FINITE): Likewise.
3469 (FLDLOG): Likewise.
3470 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3471 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3472 e_expl.S.
3473 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3474 test of -max_value argument for long double.
3475 * sysdeps/i386/fpu/libm-test-ulps: Update.
3476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3477
6693d694
DM
34782012-05-06 David S. Miller <davem@davemloft.net>
3479
3480 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3481 quad soft-float symbols whose references which are compiler
3482 generated.
3483 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3484
6c23e11c
JM
34852012-05-06 Joseph Myers <joseph@codesourcery.com>
3486
d8b82cad
JM
3487 [BZ #13884]
3488 [BZ #13914]
3489 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3490 USE_AS_EXP10L.
3491 (EXPL_FINITE): Likewise.
3492 (FLDLOG): Likewise.
3493 (c0): Likewise.
3494 (c1): Likewise.
3495 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3496 Adjust comments for base varying.
3497 (__expl_finite): Change alias to EXPL_FINITE.
3498 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3499 e_expl.S.
3500 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3501 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3502 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3503 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3504 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3505 USE_AS_EXP10L.
3506 (EXPL_FINITE): Likewise.
3507 (FLDLOG): Likewise.
3508 (c0): Likewise.
3509 (c1): Likewise.
3510 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3511 Adjust comments for base varying.
3512 (__expl_finite): Change alias to EXPL_FINITE.
3513 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3514 tests for bugs.
3515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3516
6c23e11c
JM
3517 [BZ #14064]
3518 * math/libm-test.inc (check_float_internal): Correct ulp
3519 calculation for subnormal expected results.
3520
29ba805c
AJ
35212012-05-06 Andreas Jaeger <aj@suse.de>
3522
3523 * Makeconfig (+math-flags): New, set to -frounding-math.
3524 (+cflags): Add +math-flags so that all of glibc gets compiled with
3525 it.
3526
3527 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3528
7b17aeda
JM
35292012-05-05 Joseph Myers <joseph@codesourcery.com>
3530
5779f134
JM
3531 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3532 Disable one test.
3533
41498f4d
JM
3534 [BZ #13787]
3535 [BZ #13922]
3536 [BZ #14036]
3537 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3538 (__ieee754_expl): Allow for and saturate large arguments.
3539 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3540 (u_threshold): Likewise.
3541 (__exp): Call __ieee754_exp before checking for overflow and
3542 underflow.
3543 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3544 (u_threshold): Likewise.
3545 (__expf): Call __ieee754_expf before checking for overflow and
3546 underflow.
3547 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3548 (u_threshold): Likewise.
3549 (__expl): Call __ieee754_expl before checking for overflow and
3550 underflow.
3551 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3552 (__ieee754_expl): Allow for and saturate large arguments.
3553 * math/libm-test.inc (exp_test): Add another test. Do not allow
3554 missing overflow exception on overflow.
3555 (expm1_test): Do not allow missing overflow exception on overflow.
3556
6698b8bf
JM
3557 * sysdeps/i386/fpu/e_expl.c: Move to ...
3558 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3559 rather than using inline asm.
3560 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3561 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3562 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3563
7b17aeda
JM
3564 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3565 (nice): Likewise.
3566 (poll): Likewise.
3567 (signal): Likewise.
3568 (time): Likewise.
3569 (times): Likewise.
3570
f7c85819
JM
35712012-05-04 Joseph Myers <joseph@codesourcery.com>
3572
3573 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3574 sysdeps/unix/common/syscalls.list.
3575 (fchmod): Likewise.
3576 (fchown): Likewise.
3577 (ftruncate): Likewise.
3578 (getrusage): Likewise.
3579 (gettimeofday): Likewise.
3580 (setpgid): Likewise.
3581 (setregid): Likewise.
3582 (setreuid): Likewise.
3583 (sigaction): Likewise.
3584 (truncate): Likewise.
3585 (vhangup): Likewise.
3586 * sysdeps/unix/common/syscalls.list: Remove file.
3587 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3588 * sysdeps/unix/sysv/linux/Implies: Likewise.
3589
336270d0
L
35902012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3591
3592 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3594 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3595 Moved to ...
3596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3597 Here.
3598 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3599 to ...
3600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3601 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3602 to ...
3603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3604 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3605 to ...
3606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3607 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3608 to ...
3609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3610 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3611 to ...
3612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3613 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3614 to ...
3615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3616 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3617 to ...
3618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3619 Here.
3620 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3621 to ...
3622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3623 Here.
3624 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3625 to ...
3626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3627 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3628 Moved to ...
3629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3630 Here.
3631 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3632 to ...
3633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3634
d128e450
JM
36352012-05-04 Joseph Myers <joseph@codesourcery.com>
3636
fa8ee516
JM
3637 * sysdeps/unix/common/bits/dirent.h: Remove file.
3638 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3639
d128e450
JM
3640 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3641 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3642 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3643 * sysdeps/unix/bsd/isatty.c: Likewise.
3644 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3645 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3646 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3647
ff8faaf0 36482012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3649
62881be4 3650 [BZ #13563]
31dc8730
AZ
3651 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3652 long double comparison inaccuracies.
3653 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3655
6fef930c
AS
36562012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3657
3658 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3659 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3660
8f203e6c
JM
36612012-05-04 Joseph Myers <joseph@codesourcery.com>
3662
3663 [BZ #14049]
3664 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3665 nonzero digits before rounding a hex value.
3666 * stdlib/tst-strtod.c (tests): Add another test.
3667
5197d9c2
AK
36682012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3669
3670 * sysdeps/s390/fpu/libm-test-ulps: Update.
3671
f0c1dedf
AJ
36722012-05-03 Andreas Jaeger <aj@suse.de>
3673
3674 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3675 does not get optimized out.
3676 (malloc_opt_barrier): New.
3677
a65ef2ae 36782012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3679 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3680
2b942cb7 3681 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3682 intermediate file deletion.
2b942cb7 3683 (generated): Add .symlist files.
a65ef2ae 3684
54b71e02
JM
36852012-05-03 Joseph Myers <joseph@codesourcery.com>
3686
3687 [BZ #13775]
3688 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3689 Redirect under this condition.
3690 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3691 [__USE_GNU] (__dprintf_chk): Not under this condition.
3692 [__USE_GNU] (__vdprintf_chk): Likewise.
3693 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3694 under this condition.
3695 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3696 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3697 [__USE_XOPEN2K8] (vdprintf): Likewise.
3698 [__USE_GNU] (__dprintf_chk): Not under this condition.
3699 [__USE_GNU] (__vdprintf_chk): Likewise.
3700 [__USE_GNU] (dprintf): Likewise.
3701 [__USE_GNU] (vdprintf): Likewise.
3702
d3dfcc41
RM
37032012-05-03 Roland McGrath <roland@hack.frob.com>
3704
3705 * elf/Makefile (common-generated): Set this instead of generated for
3706 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3707 $(all-built-dso)-derived lists.
3708
7ac30cc5
AJ
37092012-05-03 Andreas Jaeger <aj@suse.de>
3710
0c51e550
AJ
3711 * sysdeps/i386/fpu/libm-test-ulps: Update.
3712
7ac30cc5
AJ
3713 * FAQ: Removed.
3714 * FAQ.in: Likewise.
3715 * scripts/gen-FAQ.pl: Likewise.
3716 * manual/install.texi (Installation): Point to online location of
3717 FAQ.
3718 * Makefile (files-for-dist): Remove FAQ.
3719 (FAQ): Remove.
3720
d4c2917f
AM
37212012-05-02 Allan McRae <allan@archlinux.org>
3722
3723 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3724 (LDFLAGS-reldepmod5.so): Likewise.
3725 (LDFLAGS-reldep6mod1.so): Likewise.
3726 (LDFLAGS-reldep6mod4.so): Likewise.
3727 (LDFLAGS-reldep8mod3.so): Likewise.
3728 (LDFLAGS-unload4mod1.so): Likewise.
3729 (LDFLAGS-unload4mod2.so): Likewise.
3730 (LDFLAGS-tst-initorder): Likewise.
3731 (LDFLAGS-tst-initordera2.so): Likewise.
3732 (LDFLAGS-tst-initordera3.so): Likewise.
3733 (LDFLAGS-tst-initordera4.so): Likewise.
3734 (LDFLAGS-tst-initorderb2.so): Likewise.
3735 (LDFLAGS-noload): Likewise.
3736 (LDFLAGS-next): Likewise.
3737 (LDFLAGS-order2mod1.so): Likewise.
3738 (LDFLAGS-order2mod2.so): Likewise.
3739 (LDFLAGS-tst-initorder2): Likewise.
3740 (LDFLAGS-tst-initorder2a.so): Likewise.
3741 (LDFLAGS-tst-initorder2b.so): Likewise.
3742 (LDFLAGS-tst-initorder2c.so): Likewise.
3743 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3744
d77f993f
DM
37452012-05-02 David S. Miller <davem@davemloft.net>
3746
3747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3748
171a70b4
PP
37492012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3750
3751 [BZ #14055]
3752 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3753
0be196ad
AJ
37542012-05-02 Andreas Jaeger <aj@suse.de>
3755
3756 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3757 since we manipulate rounding mode.
3758 (CPPFLAGS-test-idouble.c): Likewise.
3759 (CPPFLAGS-test-ifloat.c): Likewise.
3760 (CFLAGS-test-ldouble.c): Likewise.
3761 (CFLAGS-test-double.c): Likewise.
3762 (CFLAGS-test-float.c): Likewise.
3763 (CFLAGS-test-misc.c): Likewise.
3764 (CFLAGS-test-test-fenv.c): Likewise.
3765
4f9d04aa
AZ
37662012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3767
2b942cb7
RM
3768 [BZ #2550]
3769 [BZ #2570]
3770 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3771 comparisons to determine direction to adjust input.
4f9d04aa 3772
82a79e7d
RM
37732012-05-01 Roland McGrath <roland@hack.frob.com>
3774
f5a01ca9
RM
3775 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3776 output to the target.
3777
90fe4186
RM
3778 * scripts/localplt.awk: New file.
3779 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3780 (check-localplt-CFLAGS): Variable removed.
3781 ($(all-built-dso:=.jmprel)): New static pattern rule.
3782 (generated): Add those targets.
3783 (localplt-built-dso): New variable.
3784 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3785
3786 * elf/check-localplt.c: File removed.
3787
82397ed6
RM
3788 * scripts/check-execstack.awk: New file.
3789 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3790 (check-execstack-CFLAGS): Variable removed.
3791 ($(objpfx)check-execstack.h): Target removed.
3792 ($(objpfx)execstack-default): New target.
3793 (generated): Add that instead of check-execstack.h.
3794 ($(all-built-dso:=.phdr)): New static pattern rule.
3795 (generated): Add those targets.
3796 * elf/check-execstack.c: File removed.
3797
82a79e7d
RM
3798 * scripts/check-textrel.awk: New file.
3799 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3800 (check-textrel-CFLAGS): Variable removed.
3801 (all-built-dso): Use := to define.o
3802 ($(all-built-dso:=.dyn)): New static pattern rule.
3803 (generated): Add those targets.
3804 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3805 * config.make.in (READELF): New substituted variable.
3806 * elf/check-textrel.c: File removed.
3807
62fde54f 38082012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3809
615605c9
JM
3810 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3811 allow.
3812 * conform/data/ctype.h-data [C99-based standards] (isblank):
3813 Expect function.
3814 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3815 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3816 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3817 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3818 Specify type. Require positive value.
3819 (EILSEQ): Likewise.
3820 (ERANGE): Likewise.
3821 [ISO || POSIX] (EILSEQ): Do not expect.
3822 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3823 Specify type. Require positive value.
3824 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3825 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3826 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3827 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3828 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3829 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3830 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3831 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3832 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3833 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3834 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3835 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3836 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3837 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3838 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3839 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3840 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3841 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3842 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3843 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3844 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3845 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3846 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3847 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3848 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3849 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3850 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3851 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3852 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3853 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3854 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3855 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3856 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3857 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3858 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3859 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3860 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3861 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3862 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3863 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3864 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3865 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3866 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3867 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3868 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3869 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3870 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3871 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3872 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3873 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3874 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3875 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3876 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3877 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3878 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3879 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3880 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3881 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3882 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3883 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3884 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3885 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3886 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3887 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3888 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3889 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3890 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3891 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3892 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3893 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3894 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3895 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3896 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3897 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3898 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3899 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3900 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3901 Require >= 2.
3902 (FLT_ROUNDS): Expect as macro, not constant.
3903 (FLT_MANT_DIG): Use macro-int-constant.
3904 (DBL_MANT_DIG): Likewise.
3905 (LDBL_MANT_DIG): Likewise.
3906 (FLT_DIG): Likewise.
3907 (DBL_DIG): Likewise.
3908 (LDBL_DIG): Likewise.
3909 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3910 (DBL_MIN_EXP): Likewise.
3911 (LDBL_MIN_EXP): Likewise.
3912 (FLT_MAX_EXP): Use macro-int-constant.
3913 (DBL_MAX_EXP): Likewise.
3914 (LDBL_MAX_EXP): Likewise.
3915 (FLT_MAX_10_EXP): Likewise.
3916 (DBL_MAX_10_EXP): Likewise.
3917 (LDBL_MAX_10_EXP): Likewise.
3918 (FLT_MAX): Use macro-constant.
3919 (DBL_MAX): Likewise.
3920 (LDBL_MAX): Likewise.
3921 (FLT_EPSILON): Use macro-constant. Give upper bound.
3922 (DBL_EPSILON): Likewise.
3923 (LDBL_EPSILON): Likewise.
3924 (FLT_MIN): Likewise.
3925 (DBL_MIN): Likewise.
3926 (LDBL_MIN): Likewise.
3927 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3928 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3929 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3930 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3931 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3932 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3933 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3934 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3935 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3936 [ISO11] (FLT_TRUE_MIN): Likewise.
3937 [ISO11] (LDBL_TRUE_MIN): Likewise.
3938 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3939 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3940 (SCHAR_MIN): Use macro-int-constant. Specify type.
3941 (SCHAR_MAX): Likewise.
3942 (UCHAR_MAX): Likewise.
3943 (CHAR_MIN): Likewise.
3944 (CHAR_MAX): Likewise.
3945 (MB_LEN_MAX): Use macro-int-constant.
3946 (SHRT_MIN): Use macro-int-constant. Specify type.
3947 (SHRT_MAX): Likewise.
3948 (USHRT_MAX): Likewise.
3949 (INT_MAX): Likewise.
3950 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3951 bound negative.
3952 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3953 bound with "U".
3954 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3955 bound with "L".
3956 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3957 bound negative. Suffix upper bound with "L".
3958 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3959 bound with "UL".
3960 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3961 Specify type.
3962 [C99-based standards] (LLONG_MAX): Likewise.
3963 [C99-based standards] (ULLONG_MAX): Likewise.
3964 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3965 == 0.
3966 [ISO11] (max_align_t): Require type.
3967 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3968
c9140a62
JM
3969 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3970 from $CFLAGS, without defining away __attribute__ calls.
3971 (checknamespace): Use $CFLAGS_namespace.
3972
9af0bf29
JM
3973 * conform/conformtest.pl (@keywords): Only include C99 keywords
3974 for standards based on C99 or C11.
3975
343222a2
JM
3976 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3977 Disable tests.
3978 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3979 UNIX98]: Likewise.
3980
661f8cf0
JM
3981 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3982 usability of symbols in #if.
3983
ee74b9cb
JM
3984 * conform/conformtest.pl: If macro or constant types start
3985 "promoted:", expect the symbol to be of the following type
3986 promoted by the integer promotions.
62fde54f 3987
aafc49b3
JM
3988 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3989 in one place. Also handle "macro-constant".
3990
fefdf574
JM
3991 * conform/conformtest.pl: Only accept expected macro values with
3992 "==". Parse all "macro" lines in one place.
3993 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3994
f2d922fe
JM
3995 * conform/conformtest.pl: Handle braced types on "constant" lines
3996 instead of handling "typed-constant".
3997 * conform/data/signal.h-data: Use "constant" instead of
3998 "typed-constant".
3999
d22956c9
JM
4000 * conform/conformtest.pl: Handle "optional-" at start of lines in
4001 one place rather than duplicating several cases. Handle each
4002 format of "macro" line with initial "optional-".
4003
028e2e38
JM
4004 * conform/conformtest.pl: Only accept expected constant or
4005 optional-constant values with "==". Parse all "constant" lines in
4006 one place. Parse all "optional-constant" lines in one place.
4007 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4008 * conform/data/fmtmsg.h-data: Likewise.
4009 * conform/data/netinet/in.h-data: Likewise.
4010 * conform/data/tar.h-data: Likewise.
4011 * conform/data/limits.h-data: Use "==" form on "constant" and
4012 "optional-constant" lines.
4013
1b8f2850
JM
4014 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4015 Use -std=c99 for XOPEN2K.
4016 (@knownproblems): Remove.
4017 (newtoken): Don't check %isknown.
4018
a05a144b
JM
4019 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4020 Do not expect macro.
4021 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4022 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4023 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4024 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4025 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4026 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4027 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4028 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4029 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4030 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4031 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4032 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4033 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4034 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4035 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4036 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4037 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4038 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4039 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4040 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4041 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4042 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4043 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4044 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4045 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4046 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4047 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4048 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4049 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4050 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4051 [XPG3] (acosh): Likewise.
4052 [XPG3] (asinh): Likewise.
4053 [XPG3] (atanh): Likewise.
4054 [XPG3] (cbrt): Likewise.
4055 [XPG3] (expm1): Likewise.
4056 [XPG3] (ilogb): Likewise.
4057 [XPG3] (log1p): Likewise.
4058 [XPG3] (logb): Likewise.
4059 [XPG3] (nextafter): Likewise.
4060 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4061 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4062 [XPG3] (remainder): Likewise.
4063 [XPG3] (rint): Likewise.
4064 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4065 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4066 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4067 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4068 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4069 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4070 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4071 [UNIX98 || XOPEN2K] (scalb): Expect.
4072 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4073 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4074 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4075 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4076 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4077 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4078 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4079 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4080 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4081 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4082 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4083 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4084 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4085 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4086 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4087 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4088 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4089 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4090 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4091 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4092 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4093 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4094 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4095 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4096 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4097 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4098 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4099 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4100 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4101 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4102 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4103 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4104 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4105 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4106 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4107 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4108 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4109 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4110 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4111 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4112 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4113 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4114 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4115 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4116 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4117 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4118 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4119 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4120 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4121 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4122 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4123 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4124 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4125 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4126 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4127 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4128 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4129 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4130 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4131 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4132 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4133 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4134 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4135 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4136 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4137 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4138 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4139 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4140 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4141 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4142 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4143 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4144 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4145 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4146 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4147 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4148 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4149 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4150 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4151 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4152 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4153 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4154 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4155 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4156 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4157 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4158 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4159 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4160 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4161 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4162 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4163 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4164 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4165 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4166 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4167 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4168 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4169 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4170 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4171 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4172 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4173 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4174 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4175 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4176 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4177 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4178 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4179 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4180 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4181 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4182 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4183 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4184 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4185 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4186 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4187 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4188 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4189 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4190 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4191 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4192 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4193 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4194 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4195 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4196 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4197 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4198 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4199 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4200 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4201 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4202 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4203 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4204 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4205 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4206 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4207 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4208 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4209
73c5ebe3
JM
4210 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4211 _XOPEN_SOURCE_EXTENDED for XPG4.
4212
39c33b6c
JM
4213 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4214
62fde54f
JM
4215 * Makeconfig (localtime): Remove variable.
4216 (inst_localtime-file): Likewise.
4217
0741d64c
AS
42182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4219
4220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4221 Update.
4222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4223 Update.
4224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4225 Update.
4226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4227 Update.
4228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4229 Update.
4230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4231 Update.
4232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4233 Update.
4234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4235 Update.
4236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4237 Update.
4238
7cb029ee
JM
42392012-05-01 Joseph Myers <joseph@codesourcery.com>
4240
4241 [BZ #2550]
4242 [BZ #2570]
4243 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4244 comparisons to determine direction to adjust input.
4245 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4246 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4247 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4248 Likewise.
4249 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4250 Likewise.
4251 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4252 Likewise.
4253 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4254 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4255 Likewise.
4256 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4257 Likewise.
4258 * math/libm-test.inc (nexttoward_test): Add more tests.
4259
412bd966
AS
42602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4261
4262 [BZ #14040]
4263 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4264 in version GLIBC_2.1, not GLIBC_2.0.
4265 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4266 Likewise.
4267
9568c0c2
JM
42682012-04-30 Joseph Myers <joseph@codesourcery.com>
4269
adfbc8ac
JM
4270 [BZ #13942]
4271 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4272 (1 - x) * (1 + x).
4273 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4274 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4275 * math/libm-test.inc (acos_test): Add more tests.
4276 (asin_test): Likewise.
4277 * sysdeps/i386/fpu/libm-test-ulps: Update.
4278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4279
5ba3cc69
JM
4280 [BZ #14034]
4281 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4282 of square root.
4283 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4284 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4285 * math/libm-test.inc (acos_test_tonearest): New function.
4286 (acos_test_towardzero): Likewise.
4287 (acos_test_downward): Likewise.
4288 (acos_test_upward): Likewise.
4289 (asin_test_tonearest): Likewise.
4290 (asin_test_towardzero): Likewise.
4291 (asin_test_downward): Likewise.
4292 (asin_test_upward): Likewise.
4293 (main): Call the new functions.
4294 * sysdeps/i386/fpu/libm-test-ulps: Update.
4295 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4296
9568c0c2
JM
4297 [BZ #13884]
4298 [BZ #13924]
4299 * math/e_exp10.c: Include <float.h>.
4300 (__ieee754_exp10): Handle underflow here rather than multiplying
4301 large negative argument by M_LN10.
4302 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4303 of __ieee754_expf.
4304 * math/e_exp10l.c: Include <float.h>.
4305 (__ieee754_exp10l): Handle underflow here rather than multiplying
4306 large negative argument by M_LN10l.
4307 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4308 spurious overflow exception on underflow.
4309
5ac3ea17
MP
43102012-04-29 Marek Polacek <polacek@redhat.com>
4311
4312 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4313 (__fortify_function): New macro.
4314 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4315 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4316 __extern_always_inline.
4317 * libio/bits/stdio2.h: Likewise.
4318 * libio/bits/stdio.h: Likewise.
4319 * string/string.h: Likewise.
4320 * string/bits/string3.h: Likewise.
4321 * include/stdio.h: Likewise.
4322 * stdlib/bits/stdlib.h: Likewise.
4323 * stdlib/stdlib.h: Likewise.
4324 * rt/bits/mqueue2.h: Likewise.
4325 * rt/mqueue.h: Likewise.
4326 * posix/bits/unistd.h: Likewise.
4327 * posix/unistd.h: Likewise.
4328 * io/bits/poll2.h: Likewise.
4329 * io/bits/fcntl2.h: Likewise.
4330 * io/fcntl.h: Likewise.
4331 * io/sys/poll.h: Likewise.
4332 * misc/bits/syslog.h: Likewise.
4333 * misc/bits/syslog-ldbl.h: Likewise.
4334 * misc/sys/syslog.h: Likewise.
4335 * socket/bits/socket2.h: Likewise.
4336 * socket/sys/socket.h: Likewise.
4337 * debug/tst-chk1.c: Likewise.
4338 * wcsmbs/bits/wchar2.h: Likewise.
4339 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4340 * wcsmbs/wchar.h: Likewise.
4341
ecf0ebfb
AJ
43422012-04-29 Andreas Jaeger <aj@suse.de>
4343
4344 * Makerules (tests): Remove enable-check-abi protection.
4345 (check-abi-warn): Remove.
4346 (check-abi-%): Remove check-abi-warn usage.
4347
4348 * configure.in: Remove check-abi configure option.
4349 * configure: Regenerated.
4350 * config.make.in (enable-check-abi): Remove.
4351
6d5c57fa
AS
43522012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4353
24c5d07e 4354 [BZ #14033]
ded5180a
AS
4355 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4356 double functions to double *_finite functions.
4357
7e0d315d
AS
4358 [BZ #13941]
4359 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4360 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4361 LDBL_MIN_EXP.
4362 * stdio-common/Makefile (tests): Add tst-sprintf3.
4363 * stdio-common/tst-sprintf3.c: New file.
4364
6d5c57fa
AS
4365 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4366 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4367
0749ff8b
JM
43682012-04-28 Joseph Myers <joseph@codesourcery.com>
4369
4370 * conform/conformtest.pl: Remove duplicate typed-constant
4371 handling.
4372
8dbd5d7b
DM
43732012-04-28 David S. Miller <davem@davemloft.net>
4374
4375 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4376 (check-abi-%): Remove AWK script prerequisite and explicit
4377 abilist directory.
4378 (check-abi): Rewrite to just diff the symlist with the abilist.
4379 (config-tls, config-abi-config): Delete, no longer used.
4380 (update-abi-%): Remove AWK script and explicit abilist directory.
4381 (update-abi): Rewrite to simply compare and conditionally copy the
4382 symlist and the sysdep abilist file. Remove update-abi-config
4383 checks.
4384 * abilist/ld.abilist: Remove.
4385 * abilist/libBrokenLocale.abilist: Remove.
4386 * abilist/libanl.abilist: Remove.
4387 * abilist/libcrypt.abilist: Remove.
4388 * abilist/libdl.abilist: Remove.
4389 * abilist/librt.abilist: Remove.
4390 * abilist/libthread_db.abilist: Remove.
4391 * abilist/libutil.abilist: Remove.
4392 * scripts/extract-abilist.awk: Remove.
4393 * scripts/merge-abilist.awk: Remove.
4394 * sysdeps/generic/libcidn.abilist: New file.
4395 * sysdeps/generic/libnss_compat.abilist: New file.
4396 * sysdeps/generic/libnss_db.abilist: New file.
4397 * sysdeps/generic/libnss_dns.abilist: New file.
4398 * sysdeps/generic/libnss_files.abilist: New file.
4399 * sysdeps/generic/libnss_hesiod.abilist: New file.
4400 * sysdeps/generic/libnss_nis.abilist: New file.
4401 * sysdeps/generic/libnss_nisplus.abilist: New file.
4402 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4403 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4404 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4405 file.
4406 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4407 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4408 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4409 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4410 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4411 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4412 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4413 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4414 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4415 file.
4416 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4417 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4418 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4419 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4420 file.
4421 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4422 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4423 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4424 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4425 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4426 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4427 file.
4428 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4429 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4430 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4431 file.
4432 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4433 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4434 New file.
4435 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4436 New file.
4437 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4438 New file.
4439 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4440 New file.
4441 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4442 New file.
4443 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4444 New file.
4445 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4446 New file.
4447 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4448 New file.
4449 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4450 New file.
4451 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4452 New file.
4453 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4454 New file.
4455 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4456 New file.
4457 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4458 New file.
4459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4460 file.
4461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4462 New file.
4463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4464 New file.
4465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4466 file.
4467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4468 New file.
4469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4470 New file.
4471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4472 file.
4473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4474 New file.
4475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4476 New file.
4477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4478 New file.
4479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4480 New file.
4481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4482 New file.
4483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4484 New file.
4485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4487 file.
4488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4489 New file.
4490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4491 file.
4492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4493 file.
4494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4495 file.
4496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4497 file.
4498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4499 file.
4500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4501 New file.
4502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4503 file.
4504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4505 file.
4506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4507 New file.
4508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4509 file.
4510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4512 file.
4513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4514 New file.
4515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4516 file.
4517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4518 file.
4519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4520 file.
4521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4522 file.
4523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4524 file.
4525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4526 New file.
4527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4528 file.
4529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4530 file.
4531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4532 New file.
4533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4534 file.
4535 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4536 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4537 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4538 file.
4539 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4540 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4541 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4542 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4543 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4544 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4545 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4546 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4547 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4548 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4551 file.
4552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4553 New file.
4554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4555 file.
4556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4557 file.
4558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4559 file.
4560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4561 file.
4562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4563 file.
4564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4565 New file.
4566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4567 New file.
4568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4569 file.
4570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4571 New file.
4572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4573 file.
4574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4576 file.
4577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4578 New file.
4579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4580 file.
4581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4582 file.
4583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4584 file.
4585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4586 file.
4587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4588 file.
4589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4590 New file.
4591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4592 New file.
4593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4594 file.
4595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4596 New file.
4597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4598 file.
4599
41d73a1b
JM
46002012-04-28 Joseph Myers <joseph@codesourcery.com>
4601
4602 * conform/conformtest.pl: Fix typo in handling typed-constant from
4603 allow-header.
4604
28aeeda4
JM
46052012-04-27 Joseph Myers <joseph@codesourcery.com>
4606
adae8f5e
JM
4607 * README: Cut down references to pre-2.6 Linux kernels and
4608 Linuxthreads. Update lists of configurations in libc and ports
4609 and sort alphabetically. Say "or newer" with Linux kernel version
4610 requirements.
4611
28aeeda4
JM
4612 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4613
a462cb63
RA
46142012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4615
4616 [BZ #887]
4617 * math/libm-test.inc (logb_test_downward): New test to expose
4618 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4619 rounding mode.
4620
6ad3493e
JM
46212012-04-27 Joseph Myers <joseph@codesourcery.com>
4622
4623 [BZ #14027]
4624 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4625 to be done.
4626 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4627 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4628
2ce4f015
JM
46292012-04-26 Joseph Myers <joseph@codesourcery.com>
4630
5aeb141a
JM
4631 * sysdeps/unix/i386/brk.S: Remove file.
4632 * sysdeps/unix/i386/dl-brk.S: Likewise.
4633 * sysdeps/unix/i386/pipe.S: Likewise.
4634 * sysdeps/unix/i386/sigreturn.S: Likewise.
4635 * sysdeps/unix/i386/syscall.S: Likewise.
4636 * sysdeps/unix/i386/vfork.S: Likewise.
4637 * sysdeps/unix/i386/wait.S: Likewise.
4638
7143acae
JM
4639 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4640 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4641
2ce4f015
JM
4642 * configure.in (arm*-none*): Do not allow without
4643 --enable-hacker-mode.
4644 (netbsd*): Remove case setting base_os.
4645 (386bsd*): Likewise.
4646 (freebsd*): Likewise.
4647 (bsdi*): Likewise.
4648 (osf*): Likewise.
4649 (sunos*): Likewise.
4650 (ultrix*): Likewise.
4651 (newsos*): Likewise.
4652 (dynix*): Likewise.
4653 (*bsd*): Likewise.
4654 (sysv*): Likewise.
4655 (isc*): Likewise.
4656 (esix*): Likewise.
4657 (sco*): Likewise.
4658 (minix*): Likewise.
4659 (irix4*): Likewise.
4660 (irix6*): Likewise.
4661 (solaris[2-9]*): Likewise.
4662 (none): Likewise.
4663 * configure: Regenerated.
4664
0ac229c8
AZ
46652012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4666
4667 [BZ #11521]
4668 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4669 overflow or cancellation in calculating denominator.
4670 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4671 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4672 down expression to avoid unexpected rounding in newer GCCs.
4673 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4674
33f244f4
DM
46752012-04-26 David S. Miller <davem@davemloft.net>
4676
4677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4678 long-double compat symbols.
4679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4692
cfa1f3e8
DM
46932012-04-25 David S. Miller <davem@davemloft.net>
4694
4695 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4696 HWCAP_* values only after the memory barriers have been defined.
4697 (atomic_full_barrier): Define.
4698 (atomic_read_barrier): Define.
4699 (atomic_write_barrier): Define.
4700
6e236b92
SP
47012012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4702
4703 * shlib-versions: Add libgcc_s version information.
4704 * sysdeps/generic/libgcc_s.h: Remove.
4705 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4706 libgcc_s.h.
4707 * sysdeps/gnu/unwind-resume.c: Likewise.
4708 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4709
aab39a09
DM
47102012-04-25 David S. Miller <davem@davemloft.net>
4711
4712 * sysdeps/unix/sparc/brk.S: Delete.
4713 * sysdeps/unix/sparc/dl-brk.S: Delete.
4714 * sysdeps/unix/sparc/pipe.S: Delete.
4715 * sysdeps/unix/sparc/sysdep.S: Delete.
4716 * sysdeps/unix/sparc/sysdep.h: Delete.
4717 * sysdeps/unix/sparc/vfork.S: Delete.
4718 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4719 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4720 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4721 ret_ERRVAL, r0, r1, MOVE): Define.
4722 (JUMPTARGET): Remove.
4723 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4724 sysdeps/unix/sparc/sysdep.h
4725 (ENTRY, END): Remove.
4726 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4727
a3cc4f48
JM
47282012-04-25 Joseph Myers <joseph@codesourcery.com>
4729
2ed8cda2
JM
4730 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4731 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4732 -DIS_IN_build.
4733
35d76d59
JM
4734 * timezone/README: Update upstream location and email address for
4735 tzcode and tzdata.
4736 * timezone/zdump.c: Update from tzcode 2012b.
4737 * timezone/zic.c: Likewise.
4738
a3cc4f48
JM
4739 * configure.in (libc_cv_as_needed): Remove test.
4740 * configure: Regenerated.
4741 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4742 conditional definition.
4743 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4744 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4745 * config.make.in (have-as-needed): Remove variable.
4746
ceab42c3
SP
47472012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4748 Paul Pluzhnikov <ppluzhnikov@google.com>
4749
4750 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4751 strings correctly.
4752
3ce2865f
CLT
47532012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4754
4755 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4756 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4757 * sysdeps/sh/strlen.S: Likewise.
4758
f37e0d68
JM
47592012-04-24 Joseph Myers <joseph@codesourcery.com>
4760
ae186e9a
JM
4761 * sysdeps/unix/fork.S: Remove file.
4762 * sysdeps/unix/i386/fork.S: Likewise.
4763 * sysdeps/unix/sparc/fork.S: Likewise.
4764
b96914af
JM
4765 * sysdeps/unix/system.c: Remove file.
4766 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4767
f37e0d68
JM
4768 * sysdeps/unix/getegid.S: Remove file.
4769 * sysdeps/unix/geteuid.S: Likewise.
4770
87ef29ca
RM
47712012-04-24 Roland McGrath <roland@hack.frob.com>
4772
83bcd236
RM
4773 * scripts/check-localplt.awk: New file.
4774 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4775 of diff.
4776 * scripts/data/localplt-generic.data: Add a comment.
4777
87ef29ca
RM
4778 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4779 NODE when __dir_mkfile failed.
4780 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4781 Reported by Ludovic Courtès <ludo@gnu.org>.
4782
e5a6e567
AJ
47832012-04-24 Andreas Jaeger <aj@suse.de>
4784
4785 * Makerules (common-clean): Also remove gen-as-const-headers
4786 files.
4787
c1820385
JM
47882012-04-24 Joseph Myers <joseph@codesourcery.com>
4789
4790 * Makerules (native-compile): Do not change working directory for
4791 build. Use $(OUTPUT_OPTION) in command.
4792 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4793
94e02fc4
AZ
47942012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4795
4796 [BZ #13886]
4797 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4798 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4799 * math/libm-test.inc (floor_test): Add more tests.
4800 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4801
3a533ca3
JM
48022012-04-24 Joseph Myers <joseph@codesourcery.com>
4803
940ab4b3
JM
4804 * sysdeps/unix/getdents.c: Remove file.
4805 * sysdeps/unix/sysv/getdents.c: Likewise.
4806 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4807
90e037bd
JM
4808 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4809 sysdeps/unix/mman/syscalls.list.
4810 (mmap): Likewise.
4811 (mprotect): Likewise.
4812 (msync): Likewise.
4813 (munmap): Likewise.
4814 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4815 * sysdeps/unix/mman/syscalls.list: Remove.
4816 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4817
3a533ca3
JM
4818 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4819 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4820 * configure: Regenerated.
4821 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4822 $(libgcc_s_suffix).
4823 * config.make.in (libgcc_s_suffix): Remove variable.
4824
1ad743de
JM
48252012-04-23 Joseph Myers <joseph@codesourcery.com>
4826
4ad451e2
JM
4827 * sysdeps/unix/sysv/gethostname.c: Move to ...
4828 * sysdeps/posix/gethostname.c: ... here.
4829
5e37ce39
JM
4830 * sysdeps/unix/execve.S: Remove file.
4831
1ad743de
JM
4832 * sysdeps/unix/_exit.S: Remove file.
4833
4e681b5b
AJ
48342012-04-23 Andreas Jaeger <aj@suse.de>
4835
4836 [BZ #13739]
4837 * manual/Makefile: Remove make dist support, there's no
4838 need for a stand-alone documentation tar ball.
4839 (TEXI2DVI): Define always, it's not in Makeconfig.
4840 (dist): Removed.
4841 (tar-it): Removed.
4842 (edition): Removed.
4843 (glibc-doc-$(edition).tar): Removed
4844 (%.Z): Removed.
4845 (%.gz): Removed.
4846 (%.uu): Removed.
4847 (ETAGS): Remove, it's in Makeconfig.
4848 (move-if-change): Remove, it's in Makeconfig.
4849
c0baea34
PE
48502013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4851
4852 [BZ #13970]
4853 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4854 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4855 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4856 (strtod_l, strtof_l, strtold_l): Remove __wur.
4857 It is not necessarily an error to ignore strtol's return value.
4858 One can reliably look at the stored endptr to decide whether
4859 the number had valid syntax.
4860
7c0616fa
AJ
48612012-04-21 Andreas Jaeger <aj@suse.de>
4862
803cb6b7 4863 [BZ #13739]
7c0616fa
AJ
4864 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4865
b0fe253f
JM
48662012-04-21 Joseph Myers <joseph@codesourcery.com>
4867
4868 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4869 * sysdeps/unix/sysv/Versions: Remove file.
4870
8280f22d
MT
48712012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4872
4873 [BZ #13927]
4874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4875
75ce411f 48762012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4877
4878 [BZ #7064]
4879 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4880 version from __vm86.
4881
097d59fa
JM
48822012-04-20 Joseph Myers <joseph@codesourcery.com>
4883
a90f3bcb
JM
4884 * sysdeps/unix/common/lxstat.c: Remove file.
4885 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4886
edc7ea78
JM
4887 * sysdeps/unix/sysv/Makefile: Remove file.
4888
cb78c221
JM
4889 * sysdeps/unix/sysv/direct.h: Remove file.
4890
efa6a45f
JM
4891 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4892 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4893 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4894 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4895 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4896 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4897 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4898
9c9f2d0c
JM
4899 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4900
4541c83b
JM
4901 * sysdeps/unix/xmknod.c: Remove file.
4902 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4903
f5d153a0
JM
4904 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4905
aa746595
JM
4906 * sysdeps/unix/sysv/i386/time.S: Remove file.
4907
cce5905e
JM
4908 * sysdeps/unix/fxstat.c: Remove file.
4909 * sysdeps/unix/xstat.c: Likewise.
4910 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4911
37fa3841
JM
4912 * sysdeps/unix/sysv/sigaction.c: Remove file.
4913
ff1962a3
JM
4914 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4915 (sysdep_headers): Remove variable.
4916 [termio.h not in sysdep_headers] (generated): Likewise.
4917 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4918 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4919 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4920 * sysdeps/unix/sysv/tcflow.c: Likewise.
4921 * sysdeps/unix/sysv/tcflush.c: Likewise.
4922 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4923 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4924 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4925 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4926 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4927
e7740d31
JM
4928 * sysdeps/unix/siglist.c: Remove file.
4929
ee06f18b
JM
4930 * sysdeps/unix/getppid.S: Remove file.
4931
097d59fa
JM
4932 * sysdeps/unix/mkdir.c: Remove file.
4933 * sysdeps/unix/rmdir.c: Likewise.
4934
ff3d51ec
AS
49352012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4936
4937 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4938 ERR_MAX value.
4939 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4940 errlist-compat value.
4941
50f81fd7
DM
49422012-04-18 David S. Miller <davem@davemloft.net>
4943
4944 * sysdeps/generic/memcopy.h (reg_char): Delete.
4945 * debug/strcat_chk.c: Use char, not reg_char.
4946 * debug/strcpy_chk.c: Likewise.
4947 * debug/strncat_chk.c: Likewise.
4948 * debug/strncpy_chk.c: Likewise.
4949 * string/memchr.c: Likewise.
4950 * string/memrchr.c: Likewise.
4951 * string/rawmemchr.c: Likewise.
4952 * string/strcat.c: Likewise.
4953 * string/strchr.c: Likewise.
4954 * string/strchrnul.c: Likewise.
4955 * string/strcmp.c: Likewise.
4956 * string/strcpy.c: Likewise.
4957 * string/strncat.c: Likewise.
4958 * string/strncmp.c: Likewise.
4959 * string/strncpy.c: Likewise.
4960
8ff41c46
WS
49612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4962
4963 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4964 __builtin_memcopy is called when src and dest ranges are known to not
4965 overlap.
4966
6b652f46
WS
49672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4968
4969 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4970 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4971 fwd_align_merge macro call.
4972 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4973 bwd_align_merge macro call.
4974 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4975
b282631e
WS
49762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4977
4978 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4979 bwd_align_merge macros.
4980 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4981 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4982 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4983
95aa737c
DM
49842012-04-18 David S. Miller <davem@davemloft.net>
4985
4986 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4987
7a99a614
AJ
49882012-04-18 Andreas Jaeger <aj@suse.de>
4989
4990 [BZ# 6794]
4991 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4992 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4993 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4994
4995 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4996 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4997 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4998
4999 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5000 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5001 Adjust for changed ldbl-128 files.
5002
5003 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5004 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5005 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5006
e5270c23
DM
50072012-04-17 David S. Miller <davem@davemloft.net>
5008
5009 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5010
fb5e92c9
AS
50112012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5012
5013 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5014 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5015 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5016 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5017 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5018 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5019
76da7265
AZ
50202012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5021
5022 [BZ #6794]
5023 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5024 * math/libm-test.inc: Add ilogb errno and exception tests.
5025 * math/w_ilogb.c: New file: ilogb wrapper.
5026 * math/w_ilogbf.c: New file: ilogbf wrapper.
5027 * math/w_ilogbl.c: New file: ilogbl wrapper.
5028 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5029 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5030 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5031 exception being thrown with 0.0 as argument.
5032 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5033 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5034 exception being thrown with 0.0 as argument.
5035 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5036 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5037 exception being thrown with 0.0 as argument.
5038 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5039 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5040 exception being thrown with 0.0 as argument.
5041 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5042 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5043 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5044 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5045 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5046 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5047 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5048 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5049 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5050
0396e69d
PB
50512012-04-17 Petr Baudis <pasky@ucw.cz>
5052
5053 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5054 with altivec.
5055
750b5926
MP
50562012-04-16 Marek Polacek <polacek@redhat.com>
5057
5058 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5059
751728a1
MP
50602012-04-16 Marek Polacek <polacek@redhat.com>
5061
5062 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5063 operands of fdivp instruction.
5064
34a27407
L
50652012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5066
5067 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5068 * elf/tst-auditmod3b.c: Likewise.
5069 * elf/tst-auditmod4b.c: Likewise.
5070 * elf/tst-auditmod5b.c: Likewise.
5071 * elf/tst-auditmod6b.c: Likewise.
5072 * elf/tst-auditmod6c.c: Likewise.
5073 * elf/tst-auditmod7b.c: Likewise.
5074 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5075 * sysdeps/x86_64/preconfigure.in: Likewise.
5076 * sysdeps/x86_64/preconfigure: Regenerated.
5077
7e73e17d
L
50782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5079
5080 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5081 __ILP32__.
5082
c7a6ab72
AB
50832012-04-13 Antoine Balestrat <merkil33@gmail.com>
5084
5085 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5086 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5087
a9e8e0e0
CL
50882012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5089
5090 [BZ #13973]
5091 * locale/iso-639.def: Fix gl language name. Spotted by
5092 Yaron Shahrabani.
5093
ec98af7d
RM
50942012-04-12 Roland McGrath <roland@hack.frob.com>
5095
5096 [BZ #2074]
5097 * libio/libio.h (__io_write_fn): Update comment.
5098
247c3ede
PB
50992012-04-12 Petr Baudis <pasky@ucw.cz>
5100
5101 [BZ #2074]
5102 * stdio.texi (Hook Functions): The user provided writer function
5103 is not allowed to return -1.
5104
55939d6d
DM
51052012-04-11 David S. Miller <davem@davemloft.net>
5106
5107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5108
90020f5a
MF
51092012-04-11 Mike Frysinger <vapier@gentoo.org>
5110
5111 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5112 Add a leading slash to rtkaio.
5113
288f9098
JM
51142012-04-11 Jim Meyering <meyering@redhat.com>
5115
90020f5a
MF
5116 [BZ #11959]
5117 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5118 It is not necessarily an error to ignore fwrite's return
5119 value. One can reliably use ferror to test for errors after
5120 the fact.
288f9098 5121
4be2b570
L
51222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5123
5124 * bits/types.h (__snseconds_t): New type.
5125 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5126
5127 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5128 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5129 (__SNSECONDS_T_TYPE): Likewise.
5130 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5131 (__SNSECONDS_T_TYPE): Likewise.
5132 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5133 (__SNSECONDS_T_TYPE): Likewise.
5134
288f9098 51352012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5136
5137 [BZ #2636]
5138 * manual/time.texi (Processor Time): Return type of times is
5139 elapsed real time since an arbitrary point in the past.
5140 (CPU Time): Move CLK_TCK from here...
5141 (Processor Time): ...to here. Correct description.
5142 * manual/conf.texi (Constants for Sysconf): Correct description of
5143 _SC_CLK_TCK.
5144
d7dd4413
DM
51452012-04-10 David S. Miller <davem@davemloft.net>
5146
5147 [BZ #13967]
5148 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5149 where the is a gap between DT_REL(A) and DT_JMPREL.
5150
b46068fc
L
51512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5152
5153 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5154 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5155 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5156
73d65cc3
SP
51572012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5158
5159 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5160 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5161 (dl_main): Handle --inhibit-cache.
5162 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5163 _dl_inhibit_cache.
5164 * elf/dl-load.c (_dl_map_object): Use it.
5165 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5166
bcc8d661
JM
51672012-04-09 Joseph Myers <joseph@codesourcery.com>
5168
8f9a2fae
JM
5169 [BZ #13872]
5170 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5171 (__ieee754_powl): Saturate large exponents rather than testing for
5172 overflow of y*log2(x).
5173 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5174 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5175 exceptions.
5176
bcc8d661
JM
5177 [BZ #11521]
5178 * math/s_ctan.c: Include <float.h>.
5179 (__ctan): Avoid internal overflow or cancellation in calculating
5180 denominator.
5181 * math/s_ctanf.c: Likewise.
5182 * math/s_ctanl.c: Likewise.
5183 * math/s_ctanh.c: Likewise.
5184 * math/s_ctanhf.c: Likewise.
5185 * math/s_ctanhl.c: Likewise.
5186 * math/libm-test.inc (ctan_test): Add more tests.
5187 (ctanh_test): Likewise.
5188 * sysdeps/i386/fpu/libm-test-ulps: Update.
5189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5190
823fbbb4
AJ
51912012-04-09 Andreas Jaeger <aj@suse.de>
5192
03879793
AJ
5193 [BZ #6894]
5194 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5195 is an optional BSD extension.
5196
823fbbb4
AJ
5197 [BZ #10254]
5198 * manual/stdio.texi (Opening Streams): Document additional fopen
5199 parameters.
5200
8de131cb
RM
52012012-04-09 Roland McGrath <roland@hack.frob.com>
5202
5203 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5204 %eax without telling the compiler.
5205
c0ed9d7d
CD
52062012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5207
5208 [BZ # 13963]
5209 * manual/install.texi: Use sourceware.org.
5210
c483f6b4
JM
52112012-04-09 Joseph Myers <joseph@codesourcery.com>
5212
d7dd9453
JM
5213 [BZ #13873]
5214 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5215 (__ieee754_pow): Generate overflow and underflow using huge*huge
5216 and tiny*tiny rather than just returning constant infinity or zero
5217 for large exponents.
5218 * math/libm-test.inc (pow_test): Require overflow exceptions for
5219 applicable cases of large exponents.
5220
c483f6b4
JM
5221 [BZ #706]
5222 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5223 (__ieee754_pow): Use iterative multiplication algorithm only for
5224 integer exponents with absolute value below 1024. Check for odd
5225 integer exponents when using algorithm for real exponents.
5226 * math/libm-test.inc (pow_test): Add more tests.
5227 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5228
d2de7579
JM
52292012-04-08 Joseph Myers <joseph@codesourcery.com>
5230
5231 [BZ #13705]
5232 * math/libm-test.inc (exp_test): Do not allow overflow exception
5233 on underflow test.
5234
f77f1232
AJ
52352012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5236
5237 [BZ #13705]
5238 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5239 instead of __kernel_standard_f.
5240
3884932b
MF
52412012-04-08 Mike Frysinger <vapier@gentoo.org>
5242
5243 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5244 * sysdeps/x86_64/memset_chk.S: Likewise.
5245
54472e9c
AJ
52462012-04-08 Andreas Jaeger <aj@suse.de>
5247
6ab0fbfc
AJ
5248 [BZ #10153]
5249 * manual/startup.texi (Environment Access): Describe return value
5250 for putenv and setenv.
5251
61efba8c
AJ
5252 [BZ #6895]
5253 * manual/filesys.texi (Directory Entries): Add description for
5254 DT_LNK.
5255
95c3f29a
AJ
5256 [BZ #6890]
5257 * manual/filesys.texi (Directory Entries): Clarify that it's file
5258 system not operating system in the description of DT_UNKNOWN.
5259
54472e9c
AJ
5260 [BZ #6578]
5261 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5262
624254b1
SC
52632012-04-08 Stephen Compall <s11@member.fsf.org>
5264
5265 [BZ #6649]
5266 * manual/llio.texi (Opening and Closing Files): Add cross
5267 reference to explain mode argument.
5268
1e4920e0
MF
52692012-04-07 Mike Frysinger <vapier@gentoo.org>
5270
5271 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5272 * sysdeps/x86_64/memset_chk.S: Likewise.
5273
5ed848f3
DM
52742012-04-07 David S. Miller <davem@davemloft.net>
5275
5276 * elf/elf.h (R_SPARC_WDISP10): Define.
5277 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5278 R_SPARC_SIZE32.
5279 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5280 R_SPARC_SIZE64 and R_SPARC_H34.
5281
96154cd8
CD
52822012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5283
5284 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5285 conditions and remove no longer applicable assertion.
5286
9904dc47
L
52872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5288
5289 * bits/byteswap.h: Include <features.h>.
5290 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5291 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5292
f8887d0a
L
52932012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5294
5295 * bits/byteswap.h (__bswap_16): Removed.
5296 Include <bits/byteswap-16.h> to get __bswap_16.
5297 * sysdeps/i386/bits/byteswap.h: Likewise.
5298 * sysdeps/s390/bits/byteswap.h: Likewise.
5299 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5300 * bits/byteswap-16.h: New file.
5301 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5302 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5303 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5304 * string/Makefile (headers): Add bits/byteswap-16.h.
5305
62470f60
PP
53062012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5307
5308 [BZ #13895]
5309 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5310 extra indirection.
5311 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5312 * nss/tst-nss-static.c: New.
5313
4dad7bab
RM
53142012-04-06 Robert Millan <rmh@gnu.org>
5315
5316 [BZ #6486]
5317 * manual/llio.texi (File Position Primitive): lseek
5318 refers to WHENCE when it really means OFFSET.
5319
e9142a17
AJ
53202012-04-06 Andreas Jaeger <aj@suse.de>
5321
2c040eff
AJ
5322 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5323 strncmp declarations.
5324
e9142a17
AJ
5325 * abilist/libc.abilist: Add __poll and __ppoll.
5326
ff9f1c5f
DM
53272012-04-05 David S. Miller <davem@davemloft.net>
5328
dcd2ae90
DM
5329 * scripts/check-local-headers.sh: Accept a host triplet in the
5330 path matched by the exclude regexp.
5331
993eb054
DM
5332 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5333 definition.
5334 * sysdeps/powerpc/powerpc32/dl-machine.h
5335 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5336 * sysdeps/s390/s390-32/dl-machine.h
5337 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5338 * sysdeps/sparc/sparc32/dl-machine.h
5339 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5340 * sysdeps/sparc/sparc64/dl-machine.h
5341 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5342
ff9f1c5f
DM
5343 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5344 lazy binding.
48e2e132 5345 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5346 undefined symbol errors.
5347
48e2e132 5348 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5349 DT_NEEDED entries.
5350
e80d6f94
MM
53512012-04-05 Michael Matz <matz@suse.de>
5352
5353 [BZ #13592]
5354 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5355
349fa79f
AJ
53562012-04-05 Andreas Jaeger <aj@suse.de>
5357
5358 [BZ #13908]
5359 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5360 comment.
5361
f402708f
KK
53622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5363
5364 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5365 which ROUND is no valid rounding mode.
5366
2ecccfc9
KK
53672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5368
5369 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5370 read again.
5371 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5372
8a53f50f
KK
53732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5374
5375 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5376 an exception using FPU order intentionally.
5377
53782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5379
5380 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5381 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5382 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5383 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5384
d653abb7
SJ
53852012-04-05 Simon Josefsson <simon@josefsson.org>
5386
5387 [BZ #12340]
5388 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5389 EINVAL when BUFLEN is too smal.
5390
c3b1bf7d
TS
53912012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5392
5393 [BZ #13553]
5394 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5395 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5396
b1aa60f3
AJ
53972012-04-03 Andreas Jaeger <aj@suse.de>
5398
c3b1bf7d 5399 [BZ #13938]
67f60a26
AJ
5400 * manual/setjmp.texi (System V contexts): Fix sentence.
5401
b1aa60f3
AJ
5402 [BZ #13926]
5403 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5404 New macro for this case.
5405 [!__GNUC__] (__bswap_64): New inline function for this case.
5406 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5407 * bits/byteswap.h: Likewise.
5408 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5409 ull, guard with __GLIBC_HAVE_LONG_LONG.
5410
5411 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5412 __GLIBC_HAVE_LONG_LONG.
5413
5414 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5415 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5416
39c59c35
TMQMF
54172012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5418
5419 [BZ #13691]
5420 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5421 inptr and inend, rather than using last_ch.
5422
135ffda8
DM
54232012-04-02 David S. Miller <davem@davemloft.net>
5424
5425 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5426 * stdio-common/printf-parse.h (read_int): Change return type to
5427 'int', return -1 on INT_MAX overflow.
5428 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5429 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5430 overflows INT_MAX. Check for overflow of in-format-string precision
5431 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5432 SIZE_MAX not INT_MAX for integer overflow test.
5433 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5434 skip the construct in the format string but do not record anything.
5435 * stdio-common/bug22.c: Adjust to test both width/prevision
5436 INT_MAX overflow as well as total length INT_MAX overflow. Check
5437 explicitly for proper errno values.
5438
228c019e
TS
54392012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5440
302cadd3
TS
5441 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5442 CHAR_MAX.
5443 * string/test-strcmp.c [! WIDE]: Likewise.
5444 * time/tst-mktime2.c: Likewise for INT_MAX.
5445 * string/test-string.h: #include <sys/param.h> for MIN.
5446
228c019e
TS
5447 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5448 * sysdeps/i386/init-first.c (init): Likewise.
5449 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5450 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5451 * sysdeps/sh/init-first.c (init): Likewise.
5452
cfa633f5
UD
54532012-04-01 Ulrich Drepper <drepper@gmail.com>
5454
5455 * po/ru.po: Update from translation team.
d1635ef8 5456 * po/vi.po: Likewise.
cfa633f5 5457
6cd0a5ea
SP
54582012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5459
5460 * resolv/nss_dns/dns-host.c: Merge copyright years.
5461
4b43400f
LD
54622012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5463
5464 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5465 Optimize memcpy with prefetch if
5466 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5467 src, dst pointers have unequal 16 byte alignments.
5468
48c41d04
SP
54692012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5470
5471 [BZ #13928]
5472 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5473 from a CNAME entry and return the minimum ttl for the query.
5474 (gaih_getanswer_slice): Likewise.
5475
b8dc394d
JL
54762012-03-30 Jeff Law <law@redhat.com>
5477
5478 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5479 due to long keys.
5480 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5481 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5482
2f5a5ed0
JL
5483 * resolv/nss_dns/dns-host.c: Update copyright year.
5484
1d39e359
UD
54852012-03-30 Ulrich Drepper <drepper@gmail.com>
5486
c030f70c 5487 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5488 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5489
1d39e359
UD
5490 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5491 comments for sendmmsg.
5492
54932012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5494
5495 [BZ #13691]
5496 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5497 with only 1 character between 0x0041 and 0x01b0.
5498 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5499 * wcsmbs/tst-mbsnrtowcs.c: New file.
5500
20fde227
DM
55012012-03-29 David S. Miller <davem@davemloft.net>
5502
5503 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5504 small copies by hand.
5505
984a4237
JL
55062012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5507
5508 [BZ #13761]
5509 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5510 _nss_compat_initgroups_dyn): Fall back to malloc/free
5511 for large group memberships.
5512
18c9d62b
DM
55132012-03-28 David S. Miller <davem@davemloft.net>
5514
88d85d4f
DM
5515 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5516 that branches into memcpy.
5517 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5518 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5519 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5520 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5521 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5522 bits.
5523 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5524 implementation too.
5525 * sysdeps/sparc/mempcpy.S: New file.
5526
e5aa83e1
DM
5527 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5528 the IFUNC routine in the libc case.
5529 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5530
88570753
DM
5531 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5532 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5533 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5534 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5535 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5536 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5537 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5538 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5539
249d7567
DM
5540 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5541 loop to 256 bytes instead of 64 bytes and fix test signedness.
5542
18c9d62b
DM
5543 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5544 * sysdeps/sparc/sparc32/Makefile: rather than here...
5545 * sysdeps/sparc/sparc64/Makefile: and here.
5546
05f3d1f6
UD
55472012-03-28 Ulrich Drepper <drepper@gmail.com>
5548
5549 * malloc/mallocbug.c: Avoid warnings about unused variables.
5550
86ae07a8
JL
55512012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5552
5553 [BZ #13760]
5554 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5555 in the right place. Discard and retry query if response is
5556 larger than input buffer size.
5557
41bf21a1
JM
55582012-03-28 Joseph Myers <joseph@codesourcery.com>
5559
d6270972
JM
5560 [BZ #369]
5561 [BZ #2678]
5562 [BZ #3866]
5563 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5564 x for large integer exponent.
5565 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5566 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5567 sign of result as needed afterwards.
5568 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5569 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5570 result for underflowing pow the same as for overflow.
5571 (__kernel_standard_l): Handle powl overflow and underflow here
5572 rather than calling __kernel_standard.
5573 * math/libm-test.inc (pow_test): Add more tests.
5574
414fca03 5575 [BZ #3868]
41bf21a1
JM
5576 [BZ #13879]
5577 [BZ #13910]
5578 [BZ #13911]
5579 [BZ #13912]
5580 [BZ #13913]
5581 [BZ #13915]
5582 [BZ #13916]
5583 [BZ #13917]
5584 [BZ #13918]
5585 [BZ #13919]
5586 [BZ #13920]
5587 [BZ #13921]
5588 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5589 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5590 (__kernel_standard_l): New function.
5591 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5592 __kernel_standard.
5593 * math/w_acosl.c (__acosl): Likewise.
5594 * math/w_asinl.c (__asinl): Likewise.
5595 * math/w_atan2l.c (__atan2l): Likewise.
5596 * math/w_atanhl.c (__atanhl): Likewise.
5597 * math/w_coshl.c (__coshl): Likewise.
5598 * math/w_exp10l.c (__exp10l): Likewise.
5599 * math/w_exp2l.c (__exp2l): Likewise.
5600 * math/w_fmodl.c (__fmodl): Likewise.
5601 * math/w_hypotl.c (__hypotl): Likewise.
5602 * math/w_j0l.c (__j0l, __y0l): Likewise.
5603 * math/w_j1l.c (__j1l, __y1l): Likewise.
5604 * math/w_jnl.c (__jnl, __ynl): Likewise.
5605 * math/w_lgammal.c (__lgammal): Likewise.
5606 * math/w_log10l.c (__log10l): Likewise.
5607 * math/w_log2l.c (__log2l): Likewise.
5608 * math/w_logl.c (__logl): Likewise.
5609 * math/w_powl.c (__powl): Likewise.
5610 * math/w_remainderl.c (__remainderl): Likewise.
5611 * math/w_scalbl.c (sysv_scalbl): Likewise.
5612 * math/w_sinhl.c (__sinhl): Likewise.
5613 * math/w_sqrtl.c (__sqrtl): Likewise.
5614 * math/w_tgammal.c (__tgammal): Likewise.
5615 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5616 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5617 * math/libm-test.inc (acos_test): Add more tests.
5618 (acosh_test): Likewise.
5619 (asin_test): Likewise.
5620 (atanh_test): Likewise.
5621 (exp_test): Likewise.
5622 (exp10_test): Likewise.
5623 (exp2_test): Likewise.
5624 (expm1_test): Likewise.
5625 (lgamma_test): Likewise.
5626 (log_test): Likewise.
5627 (log10_test): Likewise.
5628 (log1p_test): Likewise.
5629 (log2_test): Likewise.
5630 (pow_test): Do not allow some spurious overflow exceptions.
5631 (sqrt_test): Add more tests.
5632 (tgamma_test): Likewise.
5633 (y0_test): Likewise.
5634 (y1_test): Likewise.
5635 (yn_test): Likewise.
5636
dd62fda6
AB
56372012-03-27 Anton Blanchard <anton@samba.org>
5638
5639 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5640 MAP_HUGETLB.
5641 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5642 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5643 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5644
1e3cdfda
AJ
56452012-03-27 David S. Miller <davem@davemloft.net>
5646
b855ab85
DM
5647 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5648
1e3cdfda
AJ
5649 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5650 have-as-vis3 check.
5651
56522012-03-27 Andreas Jaeger <aj@suse.de>
5653
5654 * sysdeps/x86_64/elf/configure.in: Moved to ...
5655 * sysdeps/x86_64/configure.in: ... here.
5656 * sysdeps/x86_64/elf/start.S: Moved to ...
5657 * sysdeps/x86_64/start.S: ... here.
5658 * sysdeps/x86_64/elf/configure: Delete.
5659
5660 * sysdeps/x86_64/configure.in: Merge contents from
5661 sysdeps/i386/configure.in (without i686 check).
5662
5663 * sysdeps/i386/elf/Versions: Merge into ...
5664 * sysdeps/i386/Versions: ... this.
5665 * sysdeps/i386/elf/Versions: Delete file.
5666 * sysdeps/i386/elf/start.S: Moved to ...
5667 * sysdeps/i386/start.S: ...here.
5668 * sysdeps/i386/elf/configure.in: Merge into...
5669 * sysdeps/i386/configure.in: ...here.
5670 * sysdeps/i386/elf/configure.in: Delete file.
5671 * sysdeps/i386/elf/configure: Delete file.
5672
5673 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5674 * debug/backtracesyms.c: ... here.
5675 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5676 * debug/backtracesymsfd.c: ... here.
5677 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5678 * sysdeps/generic/ifunc-sel.h: ... here.
5679
5680 * sysdeps/unix/i386/start.c: Delete file.
5681 * sysdeps/unix/sparc/start.c: Delete file.
5682 * sysdeps/unix/start.c: Delete file.
5683
5684 * sysdeps/sh/elf/configure.in: Moved to ...
5685 * sysdeps/sh/configure.in: ... here.
5686 * sysdeps/sh/elf/start.S: Moved to ...
5687 * sysdeps/sh/start.S: ... here.
5688 * sysdeps/sh/elf/configure: Delete file.
5689
5690 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5691 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5692 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5693 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5694 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5695 * sysdeps/powerpc/powerpc64/start.S: here.
5696 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5697 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5698 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5699 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5700 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5701
5702 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5703 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5704 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5705 * sysdeps/powerpc/powerpc32/start.S: ... here.
5706 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5707 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5708 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5709
5710 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5711 * sysdeps/powerpc/ifunc-sel.h: ... here.
5712 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5713 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5714
5715 * sysdeps/sparc/elf/configure.in: Moved to ...
5716 * sysdeps/sparc/configure.in: ... here.
5717 * sysdeps/sparc/elf/configure: Delete file.
5718 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5719 * sysdeps/sparc/sparc32/start.S: ... here.
5720 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5721 * sysdeps/sparc/sparc64/start.S: ... here.
5722 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5723 * sysdeps/sparc/sparc32/Makefile: ... this.
5724 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5725 * sysdeps/sparc/sparc64/Makefile: ... this.
5726
5727 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5728 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5729 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5730 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5731 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5732 * sysdeps/s390/s390-32/setjmp.S: ... here.
5733 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5734 * sysdeps/s390/s390-32/configure.in: ... here.
5735 * sysdeps/s390/s390-32/elf/configure: Delete file.
5736 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5737 * sysdeps/s390/s390-32/start.S: ... here.
5738
5739 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5740 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5741 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5742 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5743 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5744 * sysdeps/s390/s390-64/setjmp.S: ... here.
5745 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5746 * sysdeps/s390/s390-64/configure.in: ... here
5747 * sysdeps/s390/s390-64/elf/configure: Delete file.
5748 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5749 * sysdeps/s390/s390-64/start.S: ... here.
5750 * sysdeps/s390/s390-64/elf/configure: Delete.
5751
5752 * configure.in: Remove support for elf directories in sysdeps.
5753
5754 * configure: Regenerated.
5755 * sysdeps/i386/configure: Regenerated.
5756 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5757 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5758 * sysdeps/s390/s390-32/configure: Regenerated.
5759 * sysdeps/s390/s390-64/configure: Regenerated.
5760 * sysdeps/sh/configure: Regenerated.
5761 * sysdeps/sparc/configure: Regenerated.
5762 * sysdeps/x86_64/configure: Regenerated.
5763
a3f61311
AS
57642012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5765
c876e002
AS
5766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5767
a3f61311
AS
5768 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5769 denormal result into account.
5770
ac4c54f0
RM
57712012-03-25 Roland McGrath <roland@hack.frob.com>
5772
5773 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5774 Reported by Allan McRae <allan@archlinux.org>.
5775
6a9b9c02
JL
57762012-03-23 Jeff Law <law@redhat.com>
5777
5778 * nss/getnssent.c (__nss_getent): Fix typo.
5779
4c42a0c1
DM
57802012-03-23 David S. Miller <davem@davemloft.net>
5781
5782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5783
1532c7ac
L
57842012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5785
5786 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5787 to pad to uint64_t for each field.
5788 (dl_tls_index): Replace unsigned long with uint64_t.
5789
3ff42526
PP
57902012-03-23 Daniel Jacobowitz <dmj@google.com>
5791 Paul Pluzhnikov <ppluzhnikov@google.com>
5792
5793 [BZ #6528]
5794 * grp/Makefile (otherlibs): Don't set it.
5795 * inet/Makefile (otherlibs): Likewise.
5796 * login/Makefile (otherlibs): Likewise.
5797 * nscd/Makefile (otherlibs): Likewise.
5798 * posix/Makefile (otherlibs): Likewise.
5799 * pwd/Makefile (otherlibs): Likewise.
5800 * rt/Makefile (otherlibs): Likewise.
5801 * sunrpc/Makefile (otherlibs): Likewise.
5802 * nss/Makefile (otherlibs): Likewise.
5803 Add libnss_files to routines and static-only-routines.
5804 ($(objpfx)getent): Remove rule.
5805 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5806 static-only-routines.
5807
7c69cd14
JM
58082012-03-22 Joseph Myers <joseph@codesourcery.com>
5809
5810 [BZ #13892]
5811 * math/s_cexp.c: Include <float.h>.
5812 (__cexp): Handle exp result overflowing not necessarily
5813 overflowing both real and imaginary parts of result.
5814 * math/s_cexpf.c: Likewise.
5815 * math/s_cexpl.c: Likewise.
5816 * math/libm-test.inc (cexp_test): Add more tests.
5817 * sysdeps/i386/fpu/libm-test-ulps: Update.
5818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5819
81b035fe
L
58202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5821
5822 * include/link.h (ELFW): New macro.
5823 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5824 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5825
1da7940c
L
58262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5827
5828 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5829 with uint64_t.
5830
b749dbb9
L
58312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5832
5833 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5834 declaration.
5835 (struct La_x32_retval): Likewise.
5836
2ff87f3f
L
58372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5838
5839 * sysdeps/x86_64/preconfigure.in: New file.
5840 * sysdeps/x86_64/preconfigure: New generated file.
5841
c0df8e69
JM
58422012-03-22 Joseph Myers <joseph@codesourcery.com>
5843
48e44791
JM
5844 [BZ #13824]
5845 * math/e_exp2l.c: Include <float.h>.
5846 (__ieee754_exp2l): Handle overflow and underflow cases
5847 separately. Only pass fractional part of argument to
5848 __ieee754_expl.
5849 * math/libm-test.inc (exp2_test): Add more tests.
5850
c0df8e69
JM
5851 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5852 negating x to take absolute value.
5853 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5854 Likewise.
5855 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5856 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5857 Likewise.
5858 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5859 computing low part if x was negated.
5860 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5861
c8e43ba7
L
58622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5863
5864 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5865 la_x32_gnu_pltexit.
5866 (pltexit): Cast int_retval to ptrdiff_t.
5867 * elf/tst-auditmod3b.c: Likewise.
5868 * elf/tst-auditmod4b.c: Likewise.
5869 * elf/tst-auditmod5b.c: Likewise.
5870 * elf/tst-auditmod6b.c: Likewise.
5871 * elf/tst-auditmod6c.c: Likewise.
5872 * elf/tst-auditmod7b.c: Likewise.
5873
5874 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5875 and x32_gnu_pltexit.
5876
5877 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5878 __ELF_NATIVE_CLASS.
5879 (La_x32_regs): New macro.
5880 (La_x32_retval): Likewise.
5881 (la_x32_gnu_pltenter): New function prototype.
5882 (la_x32_gnu_pltexit): Likewise.
5883
7998fa78
AS
58842012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5885
dcb33988
AS
5886 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5887 exponent.
5888
233fc563
AS
5889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5890
7998fa78
AS
5891 * configure.in (libc_cv_cc_nofma): Check for option to disable
5892 generation of FMA instructions.
5893 * configure: Regenerate.
5894 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5895 * sysdeps/ieee754/dbl-64/Makefile: New file.
5896 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5897 Remove brandred-fma4.
5898 (CFLAGS-brandred-fma4.c): Remove.
5899 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5900 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5901 define.
5902 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5903 define.
5904
8e95c99a
L
59052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5906
5907 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5908 LLONG_MAX != LONG_MAX.
5909 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5910 (_fitoa_word): Likewise.
5911 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5912 LLONG_MAX != LONG_MAX.
5913 * stdio-common/_itowa.h: Include <_itoa.h>.
5914 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5915 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5916 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5917 only if not defined.
5918 (_ITOA_WORD_TYPE): Likewise.
5919 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5920 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5921
6f4db457
DM
59222012-03-21 David S. Miller <davem@davemloft.net>
5923
5924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5925
7785fe5a
L
59262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5927
5928 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5929 of x86_64 when setting libc_cv_slibdir, libdir and
5930 libc_cv_localedir.
5931 * sysdeps/unix/sysv/linux/configure: Regenerated.
5932
4535cd55
JM
59332012-03-21 Joseph Myers <joseph@codesourcery.com>
5934
5935 * manual/lang.texi (Old Varargs): Remove section.
5936 (How Variadic): Update menu.
5937 (va_start): Do not mention varargs.h.
5938
17228132
TS
59392012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5940 Joseph Myers <joseph@codesourcery.com>
5941
5942 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5943 link test.
5944 * configure: Regenerated.
5945
8149f976
TS
59462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5947
05f3d1f6
UD
5948 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5949 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5950 conformtest.pl
8149f976 5951
1a4ac776
JM
59522012-03-21 Joseph Myers <joseph@codesourcery.com>
5953
be22ce65
JM
5954 * NOTES: Remove.
5955 * Makefile (files-for-dist): Remove NOTES.
5956 (NOTES): Remove rule.
5957 * README: Don't refer to NOTES.
5958 * manual/creature.texi: Don't include macros.texi.
5959 * manual/intro.texi (creature.texi): Remove comment referring to
5960 NOTES.
5961
40b601fb
JM
5962 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5963 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5964 * configure: Regenerated.
5965 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5966 LIBC_TRY_CC_OPTION.
5967 (libc_cv_as_i686): Likewise.
5968 (libc_cv_cc_avx): Likewise.
5969 (libc_cv_cc_sse2avx): Likewise.
5970 (libc_cv_cc_fma4): Likewise.
5971 (libc_cv_cc_novzeroupper): Likewise.
5972 * sysdeps/i386/configure: Regenerated.
5973
1a4ac776
JM
5974 [BZ #13883]
5975 * sysdeps/i386/fpu/s_cexp.S: Remove.
5976 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5977 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5978 * math/libm-test.inc (cexp_test): Add more tests.
5979 * sysdeps/i386/fpu/libm-test-ulps: Update.
5980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5981
a458e7fe
AM
59822012-03-21 Allan McRae <allan@archlinux.org>
5983
5984 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5985
0cb7efc5
JM
59862012-03-21 Joseph Myers <joseph@codesourcery.com>
5987
5988 [BZ #13871]
5989 * math/w_exp2.c: Do not include <float.h>.
5990 (o_threshold, u_threshold): Remove.
5991 (__exp2): Calculate result before checking finiteness and calling
5992 __kernel_standard.
5993 * math/w_exp2f.c: Likewise.
5994 * math/w_exp2l.c: Likewise.
5995 * math/libm-test.inc (exp2_test): Require overflow exception for
5996 1e6 input.
2460d3aa
JM
5997
5998 [BZ #3866]
5999 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6000 range of signed 64-bit integers before using fistpll. Remove
6001 checks for whether integers fit in mantissa bits.
6002 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6003 the range of signed 32-bit integers before using fistpl. Remove
6004 checks for whether integers fit in mantissa bits.
6005 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6006 (__ieee754_powl): Test for y outside the range of signed 64-bit
6007 integers before using fistpll. Reduce 64-bit values to 63-bit
6008 ones as needed.
6009 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6010 divide-by-zero is raised for zero to large negative powers.
6011 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6012 (__ieee754_powl): Test for y outside the range of signed 64-bit
6013 integers before using fistpll. Reduce 64-bit values to 63-bit
6014 ones as needed.
6015 * math/libm-test.inc (pow_test): Add more tests.
6016
eb96ffb0
L
60172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6018
6019 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6020 <stdio-common/_itoa.h>.
6021 * debug/segfault.c: Likewise.
6022 * elf/dl-cache.c: Likewise.
6023 * elf/dl-minimal.c: Likewise.
6024 * elf/dl-misc.c: Likewise.
6025 * elf/dl-sysdep.c: Likewise.
6026 * elf/dl-version.c: Likewise.
6027 * elf/rtld.c: Likewise.
6028 * hurd/hurdsock.c: Likewise.
6029 * hurd/lookup-retry.c: Likewise.
6030 * malloc/malloc.c: Likewise.
6031 * malloc/mtrace.c: Likewise.
6032 * nscd/nscd_getgr_r.c: Likewise.
6033 * nscd/nscd_getpw_r.c: Likewise.
6034 * nscd/nscd_getserv_r.c: Likewise.
6035 * posix/getopt_init.c: Likewise.
6036 * posix/wordexp.c: Likewise.
6037 * stdio-common/_itoa.c: Likewise.
6038 * stdio-common/printf_fphex.c: Likewise.
6039 * stdio-common/vfprintf.c: Likewise.
6040 * string/_strerror.c: Likewise.
6041 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6042 * sysdeps/i386/i686/hp-timing.h: Likewise.
6043 * sysdeps/mach/_strerror.c: Likewise.
6044 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6045 * sysdeps/mach/hurd/sethostid.c: Likewise.
6046 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6047 * sysdeps/mach/xpg-strerror.c: Likewise.
6048 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6049 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6050 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6051 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6052 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6053 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6054 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6055 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6056 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6057 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6058 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6059 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6060 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6061 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6062 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6063 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6064 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6065 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6066 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6067 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6068 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6069
6070 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6071
6072 * stdio-common/_itoa.h: Moved to ...
6073 * sysdeps/generic/_itoa.h: Here.
6074
6075 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6076
6077 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6078 instead of "_itoa.h" and "_itowa.h".
6079 * stdio-common/vfprintf.: Likewise.
6080
d1af992d
L
60812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6082
6083 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6084 <bits/wordsize.h>.
6085 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6086 (__signbit): Likwise.
6087 (llrintf): Likwise.
6088 (llrint): Likwise.
6089
114883e0
L
60902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6091
6092 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6093 __WORDSIZE != 64.
6094
c135cc1b
JM
60952012-03-20 Joseph Myers <joseph@codesourcery.com>
6096
6097 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6098 OVERFLOW_EXCEPTION_OK.
6099 * math/libm-test.inc ("Philosophy"): Update comment about
6100 exception testing.
6101 (OVERFLOW_EXCEPTION): Define.
6102 (OVERFLOW_EXCEPTION_OK): Likewise.
6103 (INVALID_EXCEPTION_OK): Renumber.
6104 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6105 (IGNORE_ZERO_INF_SIGN): Likewise.
6106 (test_exceptions): Handle FE_OVERFLOW.
6107 (exp10_test): Expect overflow exceptions.
6108 (exp2_test): Likewise.
6109 (expm1_test): Likewise.
6110 (nextafter_test): Likewise.
6111 (pow_test): Likewise.
6112 (scalbn_test): Likewise.
6113 (scalbln_test): Likewise.
6114
95443d88
L
61152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6116
6117 * sysdeps/x86_64/bits/atomic.h
6118 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6119 64bit integer.
6120 (atomic_exchange_acq): Likewise.
6121 (__arch_exchange_and_add_body): Likewise.
6122 (__arch_add_body): Likewise.
6123 (atomic_add_negative): Likewise.
6124 (atomic_add_zero): Likewise.
6125
490df6c4
L
61262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6127
c2722551 6128 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6129 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6130
5e52b189
L
61312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6132
6133 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6134 Check __x86_64__ instead of __WORDSIZE.
6135
a9879d4c
L
61362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6137
6138 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6139
5df98260
DM
61402012-03-19 David S. Miller <davem@davemloft.net>
6141
e1497744
DM
6142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6143
5df98260
DM
6144 * sysdeps/sparc/fpu/fenv_private.h: New file.
6145 * sysdeps/sparc/fpu/math_private.h: Use it.
6146 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6147 Remove.
6148 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6149 (libc_feholdexcept_setroundl): Remove.
6150 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6151 Remove.
6152 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6153 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6154
b4c35121
L
61552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6156
6157 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6158 int64_t instead of long int.
6159 (INSERT_WORDS64): Likwise.
6160
56965fd7
L
61612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6162
6163 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6164 _Unwind_GetCFA return to _Unwind_Ptr first.
6165
83d1aec8
JM
61662012-03-19 Joseph Myers <joseph@codesourcery.com>
6167
1897ad44
JM
6168 [BZ #13629]
6169 * math/s_clog.c: Include <float.h>.
6170 (__clog): Scale large or subnormal inputs.
6171 * math/s_clogf.c: Likewise.
6172 * math/s_clogl.c: Likewise.
6173 * math/s_clog10.c: Include <float.h>.
6174 (M_LOG10_2): Define.
6175 (__clog10): Scale large or subnormal inputs.
6176 * math/s_clog10f.c: Likewise.
6177 * math/s_clog10l.c: Likewise.
6178 * math/libm-test.inc (clog_test): Add more tests.
6179 (clog10_test): Likewise.
6180 * sysdeps/i386/fpu/libm-test-ulps: Update.
6181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6182
7726d6a9
JM
6183 [BZ #11451]
6184 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6185 x and y.
6186 * math/libm-test.inc (atan2_test): Add another test.
6187
83d1aec8
JM
6188 * Makerules (common-objdir-compile): Remove.
6189 * sysdeps/unix/Makefile (config-generated): Do not add
6190 $(unix-generated) to variable.
6191 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6192 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6193 Remove rule.
6194 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6195 Likewise.
6196 [generic bits/local_lim.h] (before-compile): Do not append to
6197 variable.
6198 [generic bits/local_lim.h] (common-generated): Likewise.
6199 [generic sys/param.h] (before-compile): Do not append to variable.
6200 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6201 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6202 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6203 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6204 include.
6205 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6206 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6207 [generic sys/param.h] ($(addprefix
6208 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6209 [generic sys/param.h] (common-generated): Do not append to
6210 variable.
6211 [generic sys/param.h] (sysdep_headers): Likewise.
6212 [generic bits/errno.h] (before-compile): Do not append to
6213 variable.
6214 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6215 rule.
6216 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6217 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6218 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6219 [generic bits/errno.h] (common-generated): Do not append to
6220 variable.
6221 [generic bits/ioctls.h] (before-compile): Do not append to
6222 variable.
6223 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6224 rule.
6225 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6226 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6227 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6228 rule.
6229 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6230 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6231 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6232 [generic bits/ioctls.h] (common-generated): Do not append to
6233 variable.
6234 [generic sys/syscall.h] (syscall.h): Remove variable.
6235 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6236 rule.
6237 [generic sys/syscall.h] (before-compile): Do not append to
6238 variable.
6239 [generic sys/syscall.h] (common-generated): Likewise.
6240 * sysdeps/unix/errnos-tmpl.c: Remove file.
6241 * sysdeps/unix/errnos.awk: Likewise.
6242 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6243 * sysdeps/unix/ioctls.awk: Likewise.
6244 * sysdeps/unix/mk-local_lim.c: Likewise.
6245 * sysdeps/unix/snarf-ioctls: Likewise.
6246
4851a949
RH
62472012-03-19 Richard Henderson <rth@twiddle.net>
6248
bd37f2ee
RH
6249 * sysdeps/i386/fpu/fenv_private.h: New file.
6250 * sysdeps/i386/fpu/math_private.h: Use it.
6251 (math_opt_barrier, math_force_eval): Remove.
6252 (libc_feholdexcept_setround_53bit): Remove.
6253 (libc_feupdateenv_53bit): Remove.
6254 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6255 (math_opt_barrier, math_force_eval): Remove.
6256 (libc_feholdexcept): Remove.
6257 (libc_feholdexcept_setround): Remove.
6258 (libc_fetestexcept, libc_fesetenv): Remove.
6259 (libc_feupdateenv_test): Remove.
6260 (libc_feupdateenv, libc_feholdsetround): Remove.
6261 (libc_feresetround): Remove.
6262
d0adc922
RH
6263 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6264 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6265
0fe0f1f8
RH
6266 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6267 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6268 (libc_feupdateenv_testl): New.
6269 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6270 (libc_feupdateenv_testf): New.
6271 (libc_feupdateenv): Use libc_feupdateenv_test.
6272 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6273 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6274
eb92c487
RH
6275 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6276 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6277 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6278 (libc_feresetround_noex): New.
6279 (libc_feresetround_noexf): New.
6280 (libc_feresetround_noexl): New.
6281 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6282 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6283 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6284 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6285 SET_RESTORE_ROUND.
6286 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6287 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6288 (__cos): Likewise.
6289 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6290 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6291 SET_RESTORE_ROUND_NOEX.
6292 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6293 SET_RESTORE_ROUND_NOEXF.
6294 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6295 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6296 (libc_feholdsetroundf): New.
6297 (libc_feresetround, libc_feresetroundf): New.
6298
7d2e8012
RH
6299 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6300 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6301 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6302
b4dabbb4
RH
6303 * sysdeps/generic/math_private.h: Include <fenv.h>.
6304 (default_libc_feholdexcept): New.
6305 (default_libc_feholdexcept_setround): New.
6306 (default_libc_fesetenv, default_libc_feupdateenv): New.
6307 (libc_feholdexcept): Only define if undefined.
6308 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6309 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6310 (libc_feholdexcept_setroundl): Likewise.
6311 (libc_feholdexcept_setround_53bit): Likewise.
6312 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6313 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6314 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6315 (libc_feupdateenv_53bit): Likewise.
6316 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6317 (libc_feholdexcept): Convert from macro to inline function.
6318 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6319 (libc_fesetenv, libc_feupdateenv): Likewise.
6320
4851a949
RH
6321 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6322 not previously defined.
6323 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6324 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6325 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6326 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6327 * sysdeps/ieee754/flt-32/math_private.h: New file.
6328 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6329 math_private.h below SET_FLOAT_WORD.
6330 (__isnan, __isinf_ns, __finite): Remove.
6331 (__isnanf, __isinf_nsf, __finitef): Remove.
6332
e79d442e
AS
63332012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6334
6335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6336
90b80344
DM
63372012-03-17 David S. Miller <davem@davemloft.net>
6338
6339 [BZ #6471]
6340 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6341 for 2.16.
6342
edc21804
DM
63432012-03-16 David S. Miller <davem@davemloft.net>
6344
77e927af
DM
6345 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6346 warnings.
6347
374976dd
DM
6348 [BZ #6471]
6349 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6350 properly.
6351 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6352 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6353 sysdep_routines when subdir is sysvipc.
6354 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6355 __getshmlba helper.
6356
edc21804
DM
6357 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6358
473c3ef3
L
63592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6360
6361 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6362 [__LP64__].
6363
eb0f39b6
L
63642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6365
6366 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6367 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6368 (__lround): Renamed to ...
6369 (__llround): This. Replace long int with long long int.
6370 Define lround functions as aliases of llround functions.
6371 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6372
6b6cd74b
L
63732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6374
6375 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6376 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6377 adresses to uintptr_t. Replace "long int" and "unsigned long
6378 int" with "greg_t" on va_arg.
6379
f1a77b01
L
63802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6381
6382 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6383 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6384
6385 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6386 Move e_machine check before EI_CLASS check. Handle x32
6387 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6388 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6389 SKIP_EM_IA_64 and include
6390 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6391
6392 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6393 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6394 (add_system_dir): New macro.
6395
6396 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6397 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6398
11b90b9f
JM
63992012-03-16 Joseph Myers <joseph@codesourcery.com>
6400
c36e1d23
JM
6401 [BZ #2551]
6402 [BZ #2552]
6403 [BZ #2553]
6404 [BZ #2554]
6405 [BZ #2562]
6406 [BZ #2563]
6407 [BZ #2565]
6408 [BZ #2566]
6409 [BZ #2576]
6410 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6411 (y0): Likewise.
6412 * math/w_j0f.c (j0f): Likewise.
6413 (y0f): Likewise.
6414 * math/w_j0l.c (__j0l): Likewise.
6415 (__y0l): Likewise.
6416 * math/w_j1.c (j1): Likewise.
6417 (y1): Likewise.
6418 * math/w_j1f.c (j1f): Likewise.
6419 (y1f): Likewise.
6420 * math/w_j1l.c (__j1l): Likewise.
6421 (__y1l): Likewise.
6422 * math/w_jn.c (jn): Likewise.
6423 (yn): Likewise.
6424 * math/w_jnf.c (jnf): Likewise.
6425 (ynf): Likewise.
6426 * math/w_jnl.c (__jnl): Likewise.
6427 (__ynl): Likewise.
6428 * math/libm-test.inc (j0_test): Add more tests.
6429 (j1_test): Likewise.
6430 (jn_test): Likewise. Add trailing semicolon to existing test.
6431 (y0_test): Likewise.
6432 (y1_test): Likewise.
6433 * sysdeps/i386/fpu/libm-test-ulps: Update.
6434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6435
11b90b9f
JM
6436 [BZ #13851]
6437 [BZ #13854]
6438 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6439 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6440 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6441 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6442 (__tanl): Set errno for infinite argument.
6443 * sysdeps/i386/fpu/mptan.c: Remove.
6444 * sysdeps/i386/fpu/s_tan.S: Likewise.
6445 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6446 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6447 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6448 * math/libm-test.inc (tan_test): Add more tests and enable more
6449 tests for double and long double.
6450 * sysdeps/i386/fpu/libm-test-ulps: Update.
6451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6452
6a1bd2a1
JK
64532012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6454
6455 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6456 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6457
10a803e0
RM
64582012-03-16 Roland McGrath <roland@hack.frob.com>
6459
6460 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6461 * configure.in: Use it for both main tree and add-ons.
6462 * configure: Regenerated.
6463
f196c7f7
L
64642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6465
6466 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6467
8848d99d
JM
64682012-03-16 Joseph Myers <joseph@codesourcery.com>
6469
96cbe7f4
JM
6470 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6471 in comment.
6472
8848d99d
JM
6473 [BZ #13851]
6474 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6475 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6476 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6477 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6478 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6479 infinite argument.
6480 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6481 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6482 != 0 for prec == 2.
6483 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6484 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6485 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6486 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6487 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6488 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6489 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6490 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6491 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6492 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6493 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6494 * math/libm-test.inc (cos_test): Add more tests and enable more
6495 tests for long double.
6496 (sin_test): Likewise.
6497 (sincos_test): Likewise.
6498 * sysdeps/i386/fpu/libm-test-ulps: Update.
6499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6500
dd7f4703
DM
65012012-03-16 David S. Miller <davem@davemloft.net>
6502
6503 * sysdeps/sparc/fpu/math_private.h: New file.
6504
006f1daa
DM
65052012-03-15 David S. Miller <davem@davemloft.net>
6506
c0c83bc8
DM
6507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6508 file.
e6a62e18 6509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6511 file.
e6a62e18
DM
6512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6517 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6518 sysdep routines.
6519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6520
88cb87d9
DM
6521 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6522 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6523
006f1daa 6524 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6526 sparc-ifunc.h
006f1daa 6527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6529 Likewise.
6530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6531 Likewise.
006f1daa
DM
6532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6536 Likewise.
006f1daa
DM
6537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6542 Likewise.
6543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6544 Likewise.
006f1daa
DM
6545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6549 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6550 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6551 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6552 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6553 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6554 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6558 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6559 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6562 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6563 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6564 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6565 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6566 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6567 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6568 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6569
11e0098e
AS
65702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6571
6572 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6573 scaling.
6574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6575
e85b09d0
AJ
65762012-03-15 Andreas Jaeger <aj@suse.de>
6577
6578 [BZ #13852]
6579 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6580 ieee754/flt-32 implementation for sin, cos and sincos.
6581 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6582 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6583 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6584 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6585 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6586 ieee754/flt-32 implementation for tan.
6587
6588 * math/libm-test.inc (cos_test): Enable some large input tests for
6589 float as well
6590 (sin_test): Likewise.
6591 (sincos_test): Likewise.
6592 (tan_test): Add tests for large input.
6593
6594 * sysdeps/i386/fpu/libm-test-ulps: Update.
6595
81c64153
AJ
65962012-03-15 Andreas Jaeger <aj@suse.de>
6597
6598 [BZ #13658]
6599 * math/libm-test.inc (cos_test): Add more test cases.
6600 (sin_test): Likewise.
6601 (sincos_test): Likewise.
6602
7bbfa5c6
AJ
66032012-03-15 Andreas Jaeger <aj@suse.de>
6604
6605 [BZ #13837]
6606 * math/libm-test.inc (cos_test): Add a test case for large input
6607 value.
6608 (sin_test): Likewise.
6609 (sincos_test): Likewise.
6610
66112012-03-15 Andreas Jaeger <aj@suse.de>,
6612 Joseph Myers <joseph@codesourcery.com>
6613
6614 [BZ #13658]
0671f479 6615 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6616 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6617 * sysdeps/i386/fpu/branred.c: Likewise.
6618 * sysdeps/i386/fpu/dosincos.c: Likewise.
6619 * sysdeps/i386/fpu/mpa.c: Likewise.
6620 * sysdeps/i386/fpu/s_cos.S: Likewise.
6621 * sysdeps/i386/fpu/s_sin.S: Likewise.
6622 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6623 * sysdeps/i386/fpu/sincos32.c: Likewise.
6624
6625 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6626 Define.
6627 (libc_feupdateenv_53bit): Define.
6628 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6629 Define.
6630 (libc_feupdateenv_53bit): Define.
6631
6632 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6633 53 bit (without extend i386 double precision).
6634
6635 * math/libm-test.inc (sincos_test): Add tests for large input.
6636 (sin): Likewise.
6637 (cos): Likewise.
6638
6639 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6640
9cad04ea
AS
66412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6642
6643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6644
f7062b9a
DM
66452012-03-15 David S. Miller <davem@davemloft.net>
6646
6647 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6648 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6649 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6650 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6656 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6657 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6658 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6663 file.
f7062b9a 6664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6666 file.
f7062b9a 6667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6669 file.
f7062b9a 6670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6672 file.
f7062b9a
DM
6673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6674 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6675 fmin/fmax sysdep routines.
6676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6677
7bd951ff
DM
66782012-03-14 David S. Miller <davem@davemloft.net>
6679
559398ab
DM
6680 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6681 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6682 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6683 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6684 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6685 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6686 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6687 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6688 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6689 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6690 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6691 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6692 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6693 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6694 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6700 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6701 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6702 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6703 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6704 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6705 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6706 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6707 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6708 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6709 routines.
6710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6711 file.
559398ab 6712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6714 file.
559398ab 6715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6717 file.
559398ab 6718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6720 file.
559398ab 6721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6723 file.
559398ab 6724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6726 file.
6727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6728 file.
6729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6730 file.
6731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6732 file.
6733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6734 New file.
6735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6736 file.
6737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6738 file.
559398ab 6739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6741 file.
559398ab 6742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6744 file.
559398ab 6745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6747 file.
559398ab 6748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6750 VIS3 routines.
559398ab
DM
6751
6752 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6753 New file.
6754
5a1c1e32
DM
6755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6756
eae47a36
DM
6757 * sysdeps/sparc/configure.in: New file.
6758 * sysdeps/sparc/configure: Generate.
6759 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6760 * configure: Regenerate.
6761 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6762 * config.make.in (have-as-vis3): New.
6763 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6764 available use -Av9d instead of -Av9a.
6765 * sysdeps/sparc/sparc64/Makefile: Likewise.
6766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6768 New file.
6769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6770 file.
6771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6772 New file.
6773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6774 file.
eae47a36
DM
6775 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6776 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6777 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6778 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6779 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6780
c0c83bc8
DM
6781 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6782 fzeros/fnegs to load 0x80000000 into a float register instead of
6783 using the stack.
7bd951ff
DM
6784 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6785
bd951ccb
JM
67862012-03-14 Joseph Myers <joseph@codesourcery.com>
6787
6788 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6789 bits/syscall.h.
6790 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6791 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6792 ($(inst_includedir)/bits/syscall.h): Remove rule.
6793 ($(objpfx)bits/syscall.d): Include instead of
6794 $(objpfx)syscall-list.d.
6795 (generated): Change syscall-list.h and syscall-list.d to
6796 bits/syscall.h and bits/syscall.d.
6797
bb4e6db2
RM
67982012-03-14 Roland McGrath <roland@hack.frob.com>
6799
6800 [BZ #13846]
6801 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6802
aa4a2ae1
JM
68032012-03-14 Joseph Myers <joseph@codesourcery.com>
6804
e456826d
JM
6805 [BZ #13841]
6806 * math/s_csqrt.c: Include <float.h>.
6807 (__csqrt): Scale large or subnormal inputs.
6808 * math/s_csqrtf.c: Likewise.
6809 * math/s_csqrtl.c: Likewise.
6810 * math/libm-test.inc (csqrt_test): Add more tests.
6811 * sysdeps/i386/fpu/libm-test-ulps: Update.
6812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6813
aa4a2ae1
JM
6814 [BZ #13840]
6815 * math/libm-test.inc (hypot_test): Add more tests.
6816
7c10fd35
DM
68172012-03-13 David S. Miller <davem@davemloft.net>
6818
6819 [BZ #13840]
6820 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6821 double-precision for the calculation instead of scaling.
6822
f453b98b
JM
68232012-03-13 Joseph Myers <joseph@codesourcery.com>
6824
6825 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6826 manipulate bits before adding and subtracting TWO52[sx].
6827 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6828 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6829 Likewise.
6830 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6831
09a3453f
DM
68322012-03-13 David S. Miller <davem@davemloft.net>
6833
8e59da90
DM
6834 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6835 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6836 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6837 rtld-global-offsets.h
6838 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6839
2a8ab7f2
DM
6840 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6841 large parameters.
6842
10f62770
DM
6843 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6844
5f0bdb18
DM
6845 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6846 'err' in the ifdef scope in which it is actually used.
6847
09a3453f
DM
6848 * nss/nss_db/db-init.c: Include string.h
6849
b4b2eb5e
DM
68502012-03-12 David S. Miller <davem@davemloft.net>
6851
98bb2f1c
DM
6852 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6853 masking out of the most significant byte of random value used.
6854 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6855 Fix coding style in previous change.
6856
b4b2eb5e
DM
6857 * sysdeps/unix/sysv/linux/kernel-features.h
6858 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6859 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6860 expression.
6861 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6862 later.
6863
6e226b09
DM
68642012-03-11 David S. Miller <davem@davemloft.net>
6865
a1bcbd40
DM
6866 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6867 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6868 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6869 for 'resultvar' otherwise things get truncated on 64-bit.
6870
cb9d6174
DM
6871 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6872 Fix masking out of the most significant byte of random value used.
6873
6e226b09
DM
6874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6875
058c132d
AS
68762012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6877
6878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6879
2d2cd515
DM
68802012-03-09 David S. Miller <davem@davemloft.net>
6881
6882 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6883 variables with appropriate CPP guards.
6884 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6885 frame pointer, not the stack pointer. Correct layout comments. Fix test
6886 on resulting framesize and the management of the outregs buffer for pltexit.
6887 Preserve floating point return values across _dl_call_pltexit call.
6888 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6889 framesize and the management of the outregs buffer for pltexit.
6890 Preserve floating point return values across _dl_call_pltexit
6891 call.
6892 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6893 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6894 (print_exit): Fix format string for return register value.
6895
9a07f9d0
JM
68962012-03-10 Joseph Myers <joseph@codesourcery.com>
6897
6898 * sunrpc/Makefile (others): Add rpcgen.
6899 ($(objpfx)rpcgen): Remove special build rule and dependency on
6900 libc.
6901 * sunrpc/rpcgen.c: New file.
6902
547b5e30
PE
69032012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6904
c524201a
PE
6905 [BZ #13673]
6906 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6907 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6908 * sysdeps/i386/crti.S: Likewise.
6909 * sysdeps/i386/crtn.S: Likewise.
6910 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6911 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6912 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6913 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6914 * sysdeps/sh/crti.S: Likewise.
6915 * sysdeps/sh/crtn.S: Likewise.
6916 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6917
7b6235f2
PE
6918 [BZ #13673]
6919 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6920 with URL.
6921 * locale/programs/locfile-kw.gperf: Likewise.
6922 * locale/programs/charmap-kw.h: Regenerated.
6923 * locale/programs/locfile-kw.h: Likewise.
6924
547b5e30
PE
6925 [BZ #13673]
6926 * intl/plural.y: Replace FSF snail mail address with URL.
6927 * intl/plural.c: Regenerated.
6928
5f0a5dae
RH
69292012-03-09 Richard Henderson <rth@twiddle.net>
6930
6931 * include/math_private.h: Remove file.
6932 * math/math_private.h: Move file ...
6933 * sysdeps/generic/math_private.h: ... here.
6934
b8c03620
RH
6935 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6936 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6937 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6938
4e234f5d 6939 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6940 and <math_private.h>.
6941 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6942 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6943 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6944 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6945 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6946 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6947 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6948 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6949 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6950 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6951 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6952 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6953 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6954 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6955 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6956 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6957 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6958 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6959 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6960 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6961 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6962 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6963 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6964 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6965 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6966 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6967 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6968 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6969 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6970 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6971 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6972 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6973 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6974 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6975 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6976 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6977 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6978 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6979 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6980 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6981 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6982 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6983 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6984 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6985 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6986 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6987 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6988 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6989 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6990 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6991 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6992 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6993 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6994 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6995 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6996 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6997 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6998 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6999 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7000 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7001 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7002 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7003 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7004 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7005 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7006 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7007 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7008 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7009 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7010 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7011 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7012 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7013 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7014 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7015 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7016 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7017 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7018 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7019 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7020 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7021 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7022 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7023 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7024 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7025 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7026 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7027 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7028 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7029 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7030 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7031 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7032 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7033 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7034 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7035 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7036 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7037 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7038 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7039 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7040 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7041 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7042 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7043 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7044 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7045 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7046 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7047 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7048 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7049 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7050 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7051 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7052 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7053 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7054 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7055 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7056 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7057 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7058 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7059 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7060 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7061 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7062 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7063 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7064 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7065 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7066 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7067 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7068 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7069 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7070 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7071 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7072 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7073 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7074 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7075 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7076 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7077 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7078 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7079 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7080 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7081 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7082 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7083 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7084 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7085 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7086 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7087 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7088 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7089 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7090 * sysdeps/ieee754/k_standard.c: Likewise.
7091 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7092 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7093 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7094 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7095 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7096 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7097 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7098 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7099 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7100 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7101 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7102 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7103 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7104 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7105 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7106 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7107 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7108 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7109 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7110 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7111 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7112 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7113 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7114 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7115 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7116 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7117 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7118 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7119 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7120 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7121 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7122 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7123 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7124 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7125 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7126 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7127 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7128 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7129 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7130 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7131 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7132 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7133 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7134 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7135 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7136 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7137 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7138 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7139 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7140 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7141 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7142 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7143 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7144 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7145 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7146 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7147 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7148 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7149 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7150 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7151 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7152 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7153 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7154 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7155 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7156 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7157 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7158 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7159 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7160 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7161 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7162 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7163 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7164 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7165 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7166 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7167 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7168 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7169 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7170 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7171 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7172 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7173 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7174 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7175 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7176 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7177 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7178 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7179 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7180 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7181 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7182 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7183 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7184 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7185 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7186 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7187 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7188 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7189 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7190 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7191 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7192 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7193 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7194 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7195 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7196 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7197 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7198 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7199 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7200 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7201 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7202 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7203 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7204 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7205 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7206 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7207 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7208 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7209 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7210 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7211 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7212 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7213 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7214 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7215 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7216 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7217 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7218 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7219 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7220 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7221 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7222 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7223 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7224 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7225 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7226 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7227 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7228 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7229 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7230 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7231 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7232 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7233 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7234 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7235 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7236 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7237 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7238 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7239 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7240 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7241 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7242 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7243 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7244 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7245 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7246 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7247 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7248 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7249 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7250 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7251 * sysdeps/ieee754/s_lib_version.c: Likewise.
7252 * sysdeps/ieee754/s_matherr.c: Likewise.
7253 * sysdeps/ieee754/s_signgam.c: Likewise.
7254 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7255 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7256 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7257 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7258 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7259 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7260 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7261 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7262 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7263 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7264 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7265 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7266 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7267 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7268 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7269 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7270 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7271 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7272 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7273 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7274 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7275
1991fa03
JM
72762012-03-09 Joseph Myers <joseph@codesourcery.com>
7277
7278 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7279 * sunrpc/rpc_main.c: Likewise.
7280 * sunrpc/rpc_svcout.c: Likewise.
7281
60d6f5a6
DM
72822012-03-09 David S. Miller <davem@davemloft.net>
7283
7284 * include/math_private.h: New file.
7285
4962050e
JM
72862012-03-09 Joseph Myers <joseph@codesourcery.com>
7287
02a6f887
JM
7288 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7289 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7290 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7291 from <bits/socket_type.h>.
7292 (enum __socket_type): Don't define here.
7293 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7294 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7295 bits/socket_type.h.
7296
c6e013c1
JM
7297 [BZ #13566]
7298 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7299 checking __USE_GNU.
7300
4962050e
JM
7301 * Makerules ($(inst_includedir)/%.h): New rule.
7302 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7303 (install-others): Remove variable setting.
7304 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7305
38842f45
RH
73062012-03-08 Richard Henderson <rth@twiddle.net>
7307
67bb6da6
RH
7308 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7309 from macro to inline function; merge with the
7310 !__LIBC_INTERNAL_MATH_INLINES version.
7311 (__ieee754_sqrtf): Likewise.
7312
15194b4b
RH
7313 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7314 to inline function.
7315 (__rintf, __floor, __floorf): Likewise.
7316
64e21ede
RH
7317 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7318 macro to inline function.
7319 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7320
38842f45
RH
7321 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7322 not <math/math_private.h>.
7323
c64bf5fe
DM
73242012-03-08 David S. Miller <davem@davemloft.net>
7325
7326 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7327 copyright year.
7328 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7329
82d86f28
TS
73302012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7331
7332 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7333 normalization.
7334 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7335 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7336
aea5d727
UD
73372012-03-08 Ulrich Drepper <drepper@gmail.com>
7338
7339 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7340 be defined individually, they must be defined as a block. Define
7341 S for printing a string instead of hidint the different by using a
7342 macro for adding the 'l'.
7343 * stdio-common/tst-fphex-wide.c: Adjust.
7344
70bca0a3
MP
73452012-03-07 Marek Polacek <polacek@redhat.com>
7346
7347 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7348
65b81130
MP
73492012-03-08 Marek Polacek <polacek@redhat.com>
7350
7351 [BZ #13806]
7352 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7353 * stdio-common/tst-fphex.c: Define a few macros to make the
7354 test reusable. Use them.
7355 * stdio-common/tst-fphex-wide.c: New file.
7356
07037eeb
JM
73572012-03-08 Joseph Myers <joseph@codesourcery.com>
7358
a7a93d50
JM
7359 [BZ #6911]
7360 * manual/macros.texi (gnusystems): New macro.
7361 (nongnusystems): Likewise.
7362 (gnulinuxhurdsystems): Likewise.
7363 (gnuhurdsystems): Likewise..
7364 (gnulinuxsystems): Likewise.
7365 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7366 variants of the GNU system, not "GNU system".
7367 * manual/conf.texi: Likewise.
7368 * manual/errno.texi: Likewise. Update example of errno macro
7369 expansion.
7370 * manual/filesys.texi: Likewise.
7371 (getumask): Document as specific to GNU/Hurd.
7372 * manual/install.texi: Likewise. Reword some references to
7373 GNU/Linux.
7374 * manual/intro.texi: Likewise.
7375 * manual/io.texi: Likewise.
7376 (File Name Portability): Detail which constraints are inapplicable
7377 to all GNU systems and which are only inapplicable to GNU/Hurd.
7378 * manual/job.texi: Likewise.
7379 * manual/llio.texi: Likewise.
7380 (O_NOCTTY): Document as present on GNU/Linux.
7381 * manual/maint.texi: Likewise.
7382 * manual/memory.texi: Likewise.
7383 * manual/pattern.texi: Likewise.
7384 * manual/pipe.texi: Likewise.
7385 * manual/process.texi: Likewise.
7386 * manual/resource.texi: Likewise.
7387 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7388 child on GNU/Hurd.
7389 * manual/setjmp.texi: Likewise.
7390 * manual/signal.texi: Likewise.
7391 * manual/startup.texi: Likewise.
7392 * manual/stdio.texi: Likewise.
7393 * manual/terminal.texi: Likewise.
7394 (ONLCR): Document as POSIX.
7395 (OXTABS): Document availability on GNU/Linux as XTABS.
7396 (ONOEOT): Document availability separately from other bits.
7397 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7398 * manual/time.texi: Likewise.
7399 * manual/users.texi: Likewise.
7400 * INSTALL: Regenerated.
7401 * sysdeps/gnu/errlist.c: Regenerated.
7402
07037eeb
JM
7403 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7404 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7405 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7406 puts.
7407 * configure: Regenerated.
7408
d1d3431a
JM
74092012-03-07 Joseph Myers <joseph@codesourcery.com>
7410
af6a1e37
JM
7411 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7412 default includes instead of AC_HEADER_CHECK.
7413 * sysdeps/i386/configure: Regenerated.
7414
d1d3431a
JM
7415 [BZ #10716]
7416 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7417 * math/s_cacoshf.c (__cacoshf): Likewise.
7418 * math/s_cacoshl.c (__cacoshl): Likewise.
7419 * math/s_casinh.c (__casinh): Set signs of result from argument.
7420 * math/s_casinhf.c (__casinhf): Likewise.
7421 * math/s_casinhl.c (__casinhl): Likewise.
7422 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7423 (casinh_test): Add more tests.
7424 * sysdeps/i386/fpu/libm-test-ulps: Update.
7425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7426
482ff4da
UD
74272012-03-07 Ulrich Drepper <drepper@gmail.com>
7428
872fda05
UD
7429 * po/zh_TW.po: Update from translation team.
7430
a4300c7a
UD
7431 * login/Makefile (distribute): Remove variable.
7432 * catgets/Makefile: Likewise.
7433 * mach/Makefile: Likewise.
7434 * malloc/Makefile: Likewise.
7435 * misc/Makefile: Likewise.
7436 * iconv/Makefile: Likewise.
7437 * nscd/Makefile: Likewise.
7438 * hurd/Makefile: Likewise.
7439 * manual/Makefile: Likewise.
7440 * locale/Makefile: Likewise.
7441 * intl/Makefile: Likewise.
7442 * conform/Makefile: Likewise.
7443 * nss/Makefile: Likewise.
7444 * time/Makefile: Likewise.
7445 * soft-fp/Makefile: Likewise.
7446 * dirent/Makefile: Likewise.
7447 * gmon/Makefile: Likewise.
7448 * po/Makefile: Likewise.
7449 * rt/Makefile: Likewise.
7450 * socket/Makefile: Likewise.
7451 * math/Makefile: Likewise.
7452 * signal/Makefile: Likewise.
7453 * debug/Makefile: Likewise.
7454 * elf/Makefile: Likewise.
7455 * timezone/Makefile: Likewise.
7456 * stdlib/Makefile: Likewise.
7457 * iconvdata/Makefile: Likewise.
7458 * sunrpc/Makefile: Likewise.
7459 * io/Makefile: Likewise.
7460 * argp/Makefile: Likewise.
7461 * inet/Makefile: Likewise.
7462 * hesiod/Makefile: Likewise.
7463 * grp/Makefile: Likewise.
7464 * csu/Makefile: Likewise.
7465 * wctype/Makefile: Likewise.
7466 * crypt/Makefile: Likewise.
7467 * libio/Makefile: Likewise.
7468 * string/Makefile: Likewise.
7469 * nis/Makefile: Likewise.
7470 * resolv/Makefile: Likewise.
7471 * stdio-common/Makefile: Likewise.
7472 * wcsmbs/Makefile: Likewise.
7473 * dlfcn/Makefile: Likewise.
7474 * posix/Makefile: Likewise.
7475
3b7c4e74 7476 [BZ #6959]
482ff4da
UD
7477 * timezone/Makefile: Don't install timezone files, just the programs
7478 and scripts.
7479
f72ed77d
UD
74802012-03-06 Ulrich Drepper <drepper@gmail.com>
7481
a000466f
UD
7482 * nss/databases.def: Add missing gshadow entry.
7483
f72ed77d
UD
7484 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7485
a53b7a4e
MP
74862012-03-06 Marek Polacek <polacek@redhat.com>
7487
7488 [BZ #13726]
7489 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7490 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7491 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7492 * stdio-common/tst-long-dbl-fphex.c: New file.
7493
e9258400
DM
74942012-03-06 David S. Miller <davem@davemloft.net>
7495
7496 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7497 (set_obp_int): New function.
7498 (get_obp_int): New function.
7499 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7500 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7501 Avoid unused variable warnings on 'val' and use builtin_expect.
7502 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7503 __builtin_expect.
e9258400
DM
7504 (INLINE_CLONE_SYSCALL): Likewise.
7505
3bd2c723
DM
75062012-03-05 David S. Miller <davem@davemloft.net>
7507
7508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7509
bbb78d03
AS
75102012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7511
884c5db4
AS
7512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7513
bbb78d03
AS
7514 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7515 only for |x| >= 40.
7516 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7517
1c9f702a 75182012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7519
7520 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7521 Replace gettimeofday with __vdso_gettimeofday.
7522
7be16f82
RM
7523 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7524 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7525 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7526
7527 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7528 time with __vdso_time.
7529
ed58a00f
JM
75302012-03-05 Joseph Myers <joseph@codesourcery.com>
7531
7532 * manual/lang.texi (size_t): Note types to which size_t may be
7533 equivalent with the GNU C Library, but do not describe when
7534 differences between them are significant.
7535
30ee4ced
AJ
75362012-03-05 Andreas Jaeger <aj@suse.de>
7537
7538 * sysdeps/i386/fpu/libm-test-ulps: Update.
7539
b7cd39e8
JM
75402012-03-05 Joseph Myers <joseph@codesourcery.com>
7541
7542 [BZ #3976]
7543 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7544 (__ieee754_pow): Save and restore rounding mode and use
7545 round-to-nearest for main computations.
7546 * math/libm-test.inc (pow_test_tonearest): New function.
7547 (pow_test_towardzero): Likewise.
7548 (pow_test_downward): Likewise.
7549 (pow_test_upward): Likewise.
7550 (main): Call the new functions.
7551 * sysdeps/i386/fpu/libm-test-ulps: Update.
7552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7553
7554 [BZ #3976]
7555 * math/libm-test.inc (cosh_test_tonearest): New function.
7556 (cosh_test_towardzero): Likewise.
7557 (cosh_test_downward): Likewise.
7558 (cosh_test_upward): Likewise.
7559 (sinh_test_tonearest): Likewise.
7560 (sinh_test_towardzero): Likewise.
7561 (sinh_test_downward): Likewise.
7562 (sinh_test_upward): Likewise.
7563 (main): Call the new functions.
7564 * sysdeps/i386/fpu/libm-test-ulps: Update.
7565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7566
6c6a98c9
TV
75672012-03-05 Tom de Vries <tom@codesourcery.com>
7568
7569 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7570 default stack guard is set in last bytes.
7571 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7572
21bb2d2e 75732012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7574
21bb2d2e 7575 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7576
21bb2d2e
AJ
7577 [BZ #13656]
7578 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7579 possibly allocate from heap instead of stack.
7580 * stdio-common/bug-vfprintf-nargs.c: New file.
7581 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7582
c6922934
AS
75832012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7584
7585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7586
bc957d53
MP
75872012-03-03 Marek Polacek <polacek@redhat.com>
7588
7589 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7590 * math/math_private.h: Likewise.
7591 * stdlib/tst-strtod.c: Likewise.
7592 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7593 * sysdeps/x86_64/bits/atomic.h: Likewise.
7594
6358490d
DM
75952012-03-02 David S. Miller <davem@davemloft.net>
7596
7597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7601 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7602 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7603 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7604 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7605
01ae168d
RM
76062012-03-02 Roland McGrath <roland@hack.frob.com>
7607
d9a17c07
RM
7608 [BZ #13792]
7609 * manual/examples/README: New file, says the example source files
7610 can be used under GPL>=2.
7611 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7612 line containing just "*/".
7613 * manual/examples/add.c: Add copyright header (GPL>=2).
7614 * manual/examples/argp-ex1.c: Likewise.
7615 * manual/examples/argp-ex2.c: Likewise.
7616 * manual/examples/argp-ex3.c: Likewise.
7617 * manual/examples/argp-ex4.c: Likewise.
7618 * manual/examples/atexit.c: Likewise.
7619 * manual/examples/db.c: Likewise.
7620 * manual/examples/dir.c: Likewise.
7621 * manual/examples/dir2.c: Likewise.
7622 * manual/examples/execinfo.c: Likewise.
7623 * manual/examples/filecli.c: Likewise.
7624 * manual/examples/filesrv.c: Likewise.
7625 * manual/examples/fmtmsgexpl.c: Likewise.
7626 * manual/examples/genpass.c: Likewise.
7627 * manual/examples/inetcli.c: Likewise.
7628 * manual/examples/inetsrv.c: Likewise.
7629 * manual/examples/isockad.c: Likewise.
7630 * manual/examples/longopt.c: Likewise.
7631 * manual/examples/memopen.c: Likewise.
7632 * manual/examples/memstrm.c: Likewise.
7633 * manual/examples/mkfsock.c: Likewise.
7634 * manual/examples/mkisock.c: Likewise.
7635 * manual/examples/mygetpass.c: Likewise.
7636 * manual/examples/pipe.c: Likewise.
7637 * manual/examples/popen.c: Likewise.
7638 * manual/examples/rprintf.c: Likewise.
7639 * manual/examples/search.c: Likewise.
7640 * manual/examples/select.c: Likewise.
7641 * manual/examples/setjmp.c: Likewise.
7642 * manual/examples/sigh1.c: Likewise.
7643 * manual/examples/sigusr.c: Likewise.
7644 * manual/examples/stpcpy.c: Likewise.
7645 * manual/examples/strdupa.c: Likewise.
7646 * manual/examples/strftim.c: Likewise.
7647 * manual/examples/strncat.c: Likewise.
7648 * manual/examples/subopt.c: Likewise.
7649 * manual/examples/swapcontext.c: Likewise.
7650 * manual/examples/termios.c: Likewise.
7651 * manual/examples/testopt.c: Likewise.
7652 * manual/examples/testpass.c: Likewise.
7653 * manual/examples/timeval_subtract.c: Likewise.
7654
01ae168d
RM
7655 [BZ #13792]
7656 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7657 function to ...
7658 * manual/timeval_subtract.c.texi: ... here, new file.
7659
49efa33d
DM
76602012-03-02 David S. Miller <davem@davemloft.net>
7661
7662 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7663
28afd92d
JM
76642012-03-02 Joseph Myers <joseph@codesourcery.com>
7665
804360ed
JM
7666 [BZ #3976]
7667 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7668 (__sin): Save and restore rounding mode and use round-to-nearest
7669 for all computations.
7670 (__cos): Save and restore rounding mode and use round-to-nearest
7671 for all computations.
7672 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7673 <fenv.h>.
7674 (tan): Save and restore rounding mode and use round-to-nearest for
7675 all computations.
7676 * math/libm-test.inc (cos_test_tonearest): New function.
7677 (cos_test_towardzero): Likewise.
7678 (cos_test_downward): Likewise.
7679 (cos_test_upward): Likewise.
7680 (sin_test_tonearest): Likewise.
7681 (sin_test_towardzero): Likewise.
7682 (sin_test_downward): Likewise.
7683 (sin_test_upward): Likewise.
7684 (tan_test_tonearest): Likewise.
7685 (tan_test_towardzero): Likewise.
7686 (tan_test_downward): Likewise.
7687 (tan_test_upward): Likewise.
7688 (main): Call the new functions.
7689 * sysdeps/i386/fpu/libm-test-ulps: Update.
7690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7691
a6d06d7b
JM
7692 [BZ #10135]
7693 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7694 small n, then large n, before computing and testing k+n.
7695 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7696 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7697 Likewise.
7698 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7699 Likewise.
7700 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7701 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7702 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7703 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7704 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7705 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7706 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7707 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7708 * math/libm-test.inc (scalbn_test): Add more tests.
7709 (scalbln_test): Likewise.
7710
07e12bb3
JM
7711 * manual/filesys.texi (mode_t): Describe constraints on size and
7712 signedness, not exact equivalence to a particular type.
7713 (ino_t): Likewise.
7714 (ino64_t): Likewise.
7715 (dev_t): Likewise.
7716 (nlink_t): Likewise.
7717 (blkcnt_t): Likewise.
7718 (blkcnt64_t): Likewise.
7719 * manual/llio.texi (off_t): Likewise.
7720
28afd92d
JM
7721 [BZ #3976]
7722 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7723 (__ieee754_exp): Save and restore rounding mode and use
7724 round-to-nearest for all computations.
7725 * math/libm-test.inc (exp_test_tonearest): New function.
7726 (exp_test_towardzero): Likewise.
7727 (exp_test_downward): Likewise.
7728 (exp_test_upward): Likewise.
7729 (main): Call the new functions.
7730 * sysdeps/i386/fpu/libm-test-ulps: Update.
7731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7732
b1eeb65d
CD
77332012-03-01 Chris Demetriou <cgd@google.com>
7734
7735 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7736 have predictable order.
7737
53362a4b
DM
77382012-03-01 David S. Miller <davem@davemloft.net>
7739
3c969083
DM
7740 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7741
759707de
DM
7742 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7743 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7744 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7745 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7746
dfdb8ff2
DM
7747 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7748 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7749 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7751 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7752 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7753 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7754 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7755 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7756
ead89f96
DM
7757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7758
7f66bd07
DM
7759 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7760 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7761 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7762
53362a4b
DM
7763 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7764 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7765 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7766 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7767 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7768 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7769 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7770 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7771 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7772 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7773 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7774 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7775 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7776 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7777 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7778 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7779 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7780 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7781 * sysdeps/sparc/elf/configure: Regenerated.
7782
7b1902cb
JM
77832012-03-01 Joseph Myers <joseph@codesourcery.com>
7784
bec039bc
JM
7785 * configure.in (AS, LD): Require binutils 2.20 or later.
7786 * configure: Regenerated.
7787 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7788 as required minimum version.
7789 * INSTALL: Regenerated.
7790
7b1902cb
JM
7791 [BZ #2541]
7792 [BZ #4108]
7793 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7794 before squaring exponent.
7795 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7796 bottom long double and 27 bits of top long double before squaring
7797 exponent.
7798 * math/libm-test.inc (erfc_test): Add more tests.
7799 * sysdeps/i386/fpu/libm-test-ulps: Update.
7800 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7802
f775c276
KT
78032012-03-01 Kai Tietz <ktietz@redhat.com>
7804
7805 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7806 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7807 containing bit-fields.
7808 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7809 * soft-fp/single.h (_FP_UNION_S): Likewise.
7810 * soft-fp/double.h (_FP_UNION_D): Likewise.
7811
5b8a4d4a
JM
78122012-02-29 Joseph Myers <joseph@codesourcery.com>
7813
0bab47b6
JM
7814 [BZ #13786]
7815 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7816 not include ../strcmp.S.
7817 [USE_AS_STRNCASECMP_L]: Likewise.
7818 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7819 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7820 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7821 (__strncasecmp_l_ia32): Define as alias to
7822 __strncasecmp_l_nonascii.
7823
0fcad3e2
JM
7824 [BZ #5794]
7825 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7826 * sysdeps/i386/fpu/libm-test-ulps: Update.
7827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7828
5b8a4d4a
JM
7829 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7831
8fdceb2e
JL
78322012-02-29 Jeff Law <law@redhat.com>
7833
7834 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7835 out of bounds read.
7836
1f393a11
MP
78372012-02-29 Marek Polacek <polacek@redhat.com>
7838
7839 [BZ #13706]
7840 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7841 * elf/Makefile: Add rules to run tst-unused-dep.out.
7842
8847f037
DM
78432012-02-28 David S. Miller <davem@davemloft.net>
7844
7845 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7846 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7847 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7848 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7849 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7850 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7851
169d7f11
JM
78522012-02-29 Joseph Myers <joseph@codesourcery.com>
7853
7854 * math/libm-test.inc (llround_test): Move one test from
7855 lround_test. Use TEST_f_L in moved test.
7856 (lround_test): Move misplaced test to llround_test. Add testcase
7857 from bug 2561.
7858
39adf059
UD
78592012-02-28 Ulrich Drepper <drepper@gmail.com>
7860
7861 * sysdeps/x86_64/fpu/e_expf.S: New file.
7862 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7863
71b5d1c5
SB
78642012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7865
7866 [BZ #13637]
7867 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7868 of remain_len that may cause incomplete multi-byte character and
7869 false match.
7870 * posix/bug-regex33.c: New file.
7871 * posix/Makefile (tests): Add bug-regex33.
7872
1f77f049
JM
78732012-02-28 Joseph Myers <joseph@codesourcery.com>
7874
7875 * manual/macros.texi: New file.
7876 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7877 * manual/libc.texinfo: Include macros.texi.
7878 * manual/creatute.texi: Likewise.
7879 * manual/install.texi: Likewise.
7880 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7881 @glibcadj{} in references to the GNU C Library.
7882 * manual/charset.texi: Likewise.
7883 * manual/conf.texi: Likewise.
7884 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7885 when not using those macros.
7886 * manual/creature.texi: Likewise.
7887 * manual/crypt.texi: Likewise.
7888 * manual/errno.texi: Likewise.
7889 * manual/filesys.texi: Likewise.
7890 * manual/header.texi: Likewise.
7891 * manual/install.texi: Likewise.
7892 * manual/intro.texi: Likewise.
7893 * manual/io.texi: Likewise.
7894 * manual/job.texi: Likewise.
7895 * manual/lang.texi: Likewise.
7896 * manual/libc.texiinfo: Likewise.
7897 * manual/llio.texi: Likewise.
7898 * manual/locale.texi: Likewise.
7899 * manual/maint.texi: Likewise.
7900 * manual/math.texi: Likewise.
7901 * manual/memory.texi: Likewise.
7902 * manual/message.texi: Likewise.
7903 * manual/nss.texi: Likewise.
7904 * manual/pattern.texi: Likewise.
7905 * manual/process.texi: Likewise.
7906 * manual/resource.texi: Likewise.
7907 * manual/search.texi: Likewise.
7908 * manual/setjmp.texi: Likewise.
7909 * manual/signal.texi: Likewise.
7910 * manual/socket.texi: Likewise.
7911 * manual/startup.texi: Likewise.
7912 * manual/stdio.texi: Likewise.
7913 * manual/string.texi: Likewise.
7914 * manual/sysinfo.texi: Likewise.
7915 * manual/syslog.texi: Likewise.
7916 * manual/terminal.texi: Likewise.
7917 * manual/time.texi: Likewise.
7918 * manual/users.texi: Likewise.
7919 * INSTALL: Regenerated.
7920 * NOTES: Regenerated.
d40c5d54 7921 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7922
450bf206
AS
79232012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7924
7925 * include/dirent.h: Include <dirstream.h> before
7926 <dirent/dirent.h>.
7927
741a235b
DM
79282012-02-28 David S. Miller <davem@davemloft.net>
7929
7930 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7931 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7932 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7933 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7934
d6b5aa58
DM
79352012-02-27 David S. Miller <davem@davemloft.net>
7936
1aff59a3
DM
7937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7939 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7940 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7941
d6b5aa58
DM
7942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7943 frame pointer instead of stack pointer relative arg slot.
7944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7945 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7946 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7947
433f48bf
CD
79482012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7949
7950 [BZ #3992]
7951 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7952
d674b76d
DM
79532012-02-27 David S. Miller <davem@davemloft.net>
7954
7955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7959 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7960 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7961 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7962 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7963
0e7727f7
JM
79642012-02-27 Joseph Myers <joseph@codesourcery.com>
7965
7966 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7967 later. Allow versions 5-9.
43be4ca2 7968 * configure: Regenerated.
0e7727f7
JM
7969 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7970 required minimum version and 4.6 as recommended version. Do not
7971 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7972 * INSTALL: Regenerated.
0e7727f7 7973
a78bc654
DM
79742012-02-27 David S. Miller <davem@davemloft.net>
7975
428d5830
DM
7976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7980 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7981 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7982 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7983 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7984
a78bc654
DM
7985 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7986 manipulate bits before adding and subtracting TWO112[sx].
7987 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7988
4579f81c
RM
79892012-02-27 Roland McGrath <roland@hack.frob.com>
7990
36c8acb4
RM
7991 [BZ #13775]
7992 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7993 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7994 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7995 being in POSIX, because they are in 1003.1-2008.
7996
84ad622b
RM
7997 * rt/tst-aio.c: Include <fcntl.h>.
7998 * rt/tst-aio7.c: Likewise.
7999 * rt/tst-aio64.c: Likewise.
8000
4579f81c
RM
8001 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8002
abd923db
JM
80032012-02-27 Joseph Myers <joseph@codesourcery.com>
8004
8005 * manual/install.texi (--with-headers): Describe headers as
8006 interface headers, not private headers.
8007 (Specific advice for GNU/Linux systems): Describe use of headers
8008 from "make headers_install", not private headers from older
8009 kernels.
43be4ca2 8010 * INSTALL: Regenerated.
abd923db
JM
8011 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8012 Change to 2.6.19.
8013 * sysdeps/unix/sysv/linux/configure: Regenerated.
8014
6664049b
JM
8015 * manual/llio.texi (fclean): Remove documentation.
8016
bb8b6697
JM
8017 * manual/Makefile (libc-texi-generated): New variable. Include
8018 version.texi.
8019 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8020 $(libc-texi-generated), not duplicated list of files.
8021 (version.texi, stamp-version): New rules.
8022 (realclean): Remove $(libc-texi-generated), not individual files
8023 from that list. Do not remove dir-add.texinfo.
8024 * manual/libc.texinfo: Comment out uses of edition numbers and
8025 references to printed manual. Remove last-updated dates.
8026 (EDITION): Comment out.
8027 (ISBN): Likewise.
8028 (VERSION, UPDATED): Remove.
8029 (version.texi): Include.
8030
12e5c3b9
AS
80312012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8032
8033 * sysdeps/posix/spawni.c: Include <signal.h>.
8034 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8035 * sysdeps/pthread/aio_fsync.c: Likewise.
8036
4efeffc1 80372012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8038
ba63ba08
UD
8039 * conform/Makefile (tests): Run only when not cross-compiling and
8040 when fast-check is not defined.
8041
d94a4670
UD
8042 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8043 * conform/data/limits.h-data: Fixes for POSIX2008.
8044 * conform/run-conformtest.sh: Run all tests.
8045 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8046 headers.
8047 * include/bits/dlfcn.h: Likewise.
8048 * include/langinfo.h: Likewise.
8049 * include/monetary.h: Likewise.
8050 * include/sys/poll.h: Likewise.
8051
8052 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8053 for __USE_GNU.
8054 * posix/spawn.h: Define __need_sigset_t.
8055 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8056 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8057 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8058 to get sigevent_t only.
8059 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8060 only for __USE_GNU.
8061 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8062 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8063 process_vm_writev only for __USE_GNU.
8064 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8065
8066 * conform/Makefile: For now ignore errors from run-conformtest.
8067 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8068 POSIX to avoid namespace pollution. Don't prepend headers.
8069 * conform/data/aio.h-data: Fixes for POSIX testing.
8070 * conform/data/fcntl.h-data: Likewise.
8071 * conform/data/glob.h-data: Likewise.
8072 * conform/data/grp.h-data: Likewise.
8073 * conform/data/pthread.h-data: Likewise.
8074 * conform/data/pwd.h-data: Likewise.
8075 * conform/data/signal.h-data: Likewise.
8076 * conform/data/spawn.h-data: Likewise.
8077 * conform/data/stdio.h-data: Likewise.
8078 * conform/data/stdlib.h-data: Likewise.
8079 * conform/data/stropts.h-data: Likewise.
8080 * conform/data/sys/mman.h-data: Likewise.
8081 * conform/data/sys/stat.h-data: Likewise.
8082 * conform/data/sys/types.h-data: Likewise.
8083 * conform/data/sys/wait.h-data: Likewise.
8084 * conform/data/time.h-data: Likewise.
8085 * conform/data/unistd.h-data: Likewise.
8086 * conform/data/utime.h-data: Likewise.
8087
8088 * io/sys/stat.h: fchmod was always in POSIX.
8089 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8090 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8091 * rt/aio.h: Define __need_timespec before including <time.h>.
8092 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8093 struct. Add forward declaration of pthread_attr_t and use it in
8094 sigevent.
8095 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8096 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8097 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8098 always remove CLK_TCK definition.
8099
c20105c3
AS
81002012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8101
8102 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8103
7a270350
UD
81042012-02-25 Ulrich Drepper <drepper@gmail.com>
8105
31341567
UD
8106 * conform/run-conformtest.sh: New file.
8107 * conform/Makefile: Run run-conformtest for tests.
8108 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8109 support.
8110
8111 * conform/data/uchar.h-data: New file.
8112 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8113 * conform/data/arpa/inet.h-data: Likewise.
8114 * conform/data/assert.h-data: Likewise.
8115 * conform/data/complex.h-data: Likewise.
8116 * conform/data/cpio.h-data: Likewise.
8117 * conform/data/ctype.h-data: Likewise.
8118 * conform/data/dirent.h-data: Likewise.
8119 * conform/data/dlfcn.h-data: Likewise.
8120 * conform/data/errno.h-data: Likewise.
8121 * conform/data/fcntl.h-data: Likewise.
8122 * conform/data/float.h-data: Likewise.
8123 * conform/data/fmtmsg.h-data: Likewise.
8124 * conform/data/fnmatch.h-data: Likewise.
8125 * conform/data/ftw.h-data: Likewise.
8126 * conform/data/glob.h-data: Likewise.
8127 * conform/data/grp.h-data: Likewise.
8128 * conform/data/iconv.h-data: Likewise.
8129 * conform/data/inttypes.h-data: Likewise.
8130 * conform/data/langinfo.h-data: Likewise.
8131 * conform/data/libgen.h-data: Likewise.
8132 * conform/data/limits.h-data: Likewise.
8133 * conform/data/locale.h-data: Likewise.
8134 * conform/data/math.h-data: Likewise.
8135 * conform/data/monetary.h-data: Likewise.
8136 * conform/data/mqueue.h-data: Likewise.
8137 * conform/data/ndbm.h-data: Likewise.
8138 * conform/data/net/if.h-data: Likewise.
8139 * conform/data/netdb.h-data: Likewise.
8140 * conform/data/netinet/in.h-data: Likewise.
8141 * conform/data/nl_types.h-data: Likewise.
8142 * conform/data/poll.h-data: Likewise.
8143 * conform/data/pthread.h-data: Likewise.
8144 * conform/data/pwd.h-data: Likewise.
8145 * conform/data/regex.h-data: Likewise.
8146 * conform/data/sched.h-data: Likewise.
8147 * conform/data/search.h-data: Likewise.
8148 * conform/data/semaphore.h-data: Likewise.
8149 * conform/data/setjmp.h-data: Likewise.
8150 * conform/data/signal.h-data: Likewise.
8151 * conform/data/spawn.h-data: Likewise.
8152 * conform/data/stdarg.h-data: Likewise.
8153 * conform/data/stdio.h-data: Likewise.
8154 * conform/data/stdlib.h-data: Likewise.
8155 * conform/data/string.h-data: Likewise.
8156 * conform/data/strings.h-data: Likewise.
8157 * conform/data/stropts.h-data: Likewise.
8158 * conform/data/sys/ipc.h-data: Likewise.
8159 * conform/data/sys/mman.h-data: Likewise.
8160 * conform/data/sys/msg.h-data: Likewise.
8161 * conform/data/sys/resource.h-data: Likewise.
8162 * conform/data/sys/select.h-data: Likewise.
8163 * conform/data/sys/sem.h-data: Likewise.
8164 * conform/data/sys/shm.h-data: Likewise.
8165 * conform/data/sys/socket.h-data: Likewise.
8166 * conform/data/sys/stat.h-data: Likewise.
8167 * conform/data/sys/statvfs.h-data: Likewise.
8168 * conform/data/sys/time.h-data: Likewise.
8169 * conform/data/sys/timeb.h-data: Likewise.
8170 * conform/data/sys/times.h-data: Likewise.
8171 * conform/data/sys/types.h-data: Likewise.
8172 * conform/data/sys/uio.h-data: Likewise.
8173 * conform/data/sys/un.h-data: Likewise.
8174 * conform/data/sys/utsname.h-data: Likewise.
8175 * conform/data/sys/wait.h-data: Likewise.
8176 * conform/data/syslog.h-data: Likewise.
8177 * conform/data/tar.h-data: Likewise.
8178 * conform/data/termios.h-data: Likewise.
8179 * conform/data/utime.h-data: Likewise.
8180 * conform/data/utmpx.h-data: Likewise.
8181 * conform/data/varargs.h-data: Likewise.
8182 * conform/data/wchar.h-data: Likewise.
8183 * conform/data/wctype.h-data: Likewise.
8184 * conform/data/wordexp.h-data: Likewise.
8185
8186 * include/stropts.h: New file.
8187 * include/uchar.h: New file.
8188 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8189 * include/assert.h: Likewise.
8190 * include/ctype.h: Likewise.
8191 * include/dirent.h: Likewise.
8192 * include/dlfcn.h: Likewise.
8193 * include/fcntl.h: Likewise.
8194 * include/fnmatch.h: Likewise.
8195 * include/glob.h: Likewise.
8196 * include/grp.h: Likewise.
8197 * include/libio.h: Likewise.
8198 * include/locale.h: Likewise.
8199 * include/math.h: Likewise.
8200 * include/net/if.h: Likewise.
8201 * include/netdb.h: Likewise.
8202 * include/netinet/in.h: Likewise.
8203 * include/pthread.h: Likewise.
8204 * include/pwd.h: Likewise.
8205 * include/regex.h: Likewise.
8206 * include/sched.h: Likewise.
8207 * include/search.h: Likewise.
8208 * include/setjmp.h: Likewise.
8209 * include/signal.h: Likewise.
8210 * include/stdio.h: Likewise.
8211 * include/stdlib.h: Likewise.
8212 * include/string.h: Likewise.
8213 * include/sys/cdefs.h: Likewise.
8214 * include/sys/mman.h: Likewise.
8215 * include/sys/msg.h: Likewise.
8216 * include/sys/resource.h: Likewise.
8217 * include/sys/select.h: Likewise.
8218 * include/sys/socket.h: Likewise.
8219 * include/sys/stat.h: Likewise.
8220 * include/sys/statvfs.h: Likewise.
8221 * include/sys/time.h: Likewise.
8222 * include/sys/times.h: Likewise.
8223 * include/sys/uio.h: Likewise.
8224 * include/sys/utsname.h: Likewise.
8225 * include/sys/wait.h: Likewise.
8226 * include/termios.h: Likewise.
8227 * include/time.h: Likewise.
8228 * include/ulimit.h: Likewise.
8229 * include/unistd.h: Likewise.
8230 * include/utime.h: Likewise.
8231 * include/wchar.h: Likewise.
8232 * include/wctype.h: Likewise.
8233 * include/wordexp.h: Likewise.
8234
8235 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8236
7a270350
UD
8237 * time/time.h: TIME_UTC must be a macro.
8238 Make timespec_get available for ISO C11 only as well.
8239
7724defc
UD
82402012-02-24 Ulrich Drepper <drepper@gmail.com>
8241
8242 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8243 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8244
6b1d1d46
JM
82452012-02-24 Joseph Myers <joseph@codesourcery.com>
8246
8247 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8248
0f8bbd69
JM
82492012-02-24 Joseph Myers <joseph@codesourcery.com>
8250
8251 * manual/texinfo.tex: Update to version 2012-01-19.16.
8252
66ab80bc
JM
82532012-02-24 Joseph Myers <joseph@codesourcery.com>
8254
8255 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8256
74981cc5
RM
82572012-02-24 Roland McGrath <roland@hack.frob.com>
8258
ee968201
RM
8259 [BZ #13738]
8260 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8261 * manual/fdl-1.3.texi: New file.
8262 * manual/fdl-1.1.texi: File removed.
8263
74981cc5
RM
8264 [BZ #13738]
8265 * manual/libc.texinfo (FDL_VERSION): New @set.
8266 Use it for mention of FDL in cover text.
8267 (Documentation License): Use it in @include file name.
8268
7bb764bc
JM
82692012-02-22 Joseph Myers <joseph@codesourcery.com>
8270 Roland McGrath <roland@hack.frob.com>
8271
8272 [BZ #5461]
8273 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8274 not LONG_LONG_MAX and LONG_LONG_MIN.
8275 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8276 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8277 name.
8278 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8279
6cbeae47
JM
82802012-02-22 Joseph Myers <joseph@codesourcery.com>
8281
8282 [BZ #2547]
8283 [BZ #11365]
8284 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8285 manipulate bits before adding and subtracting TWO23[sx].
8286 * math/libm-test.inc (nearbyint_test): Add more tests.
8287
fe45ce09
JM
82882012-02-22 Joseph Myers <joseph@codesourcery.com>
8289
8290 [BZ #2548]
8291 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8292 bits before adding and subtracting TWO23[sx].
8293 * math/libm-test.inc (rint_test): Add more tests.
8294 (rint_test_tonearest): Likewise.
8295 (rint_test_towardzero): Likewise.
8296 (rint_test_downward): Likewise.
8297 (rint_test_upward: Likewise.
8298
ff3b3d82
JM
82992012-02-22 Joseph Myers <joseph@codesourcery.com>
8300
8301 [BZ #10110]
8302 * include/stdc-predef.h: New file. Extracted from features.h.
8303 * include/features.h: Include stdc-predef.h.
8304 * Makefile (headers): Add stdc-predef.h.
8305 * CONFORMANCE (Compiler limitations): Update.
8306
ef0aab35
JM
83072012-02-22 Joseph Myers <joseph@codesourcery.com>
8308
8309 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8310
58639409
DM
83112012-02-21 David S. Miller <davem@davemloft.net>
8312
8313 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8314 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8315
c0e70b25
DM
83162012-02-20 David S. Miller <davem@davemloft.net>
8317
8318 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8319 using a normal save/restore sequence, rather than allocating a
8320 dummy stack frame just to store a frame pointer and restore.
8321 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8322
fb06851d
JM
83232012-02-21 Joseph Myers <joseph@codesourcery.com>
8324
8325 * manual/install.texi: Fix stray word in line-wrapped comment.
8326
7a8b71c3
DM
83272012-02-20 David S. Miller <davem@davemloft.net>
8328
d510c123
DM
8329 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8330 both binutils and gcc support GOTDATA.
8331
0722d7c2
DM
8332 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8333 "rd %pc" in the PIC register setup sequences.
8334
3d2b3019
DM
8335 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8336 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8337 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8338 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8339 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8340 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8341 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8342 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8343 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8344 (SYSCALL_ERROR_HANDLER): Likewise.
8345 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8346 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8347 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8348 (SYSCALL_ERROR_HANDLER): Likewise.
8349
c80098a9
DM
8350 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8351 (HAVE_GCC_GOTDATA): New.
8352 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8353 relocation support in both binutils and gcc.
8354 * sysdeps/sparc/elf/configure: Regenerate.
8355
3a2545a0
DM
8356 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8357 * sysdeps/sparc/sparc32/elf/configure: Delete.
8358 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8359 * sysdeps/sparc/sparc64/elf/configure: Delete.
8360 * sysdeps/sparc/elf/configure.in: New file.
8361 * sysdeps/sparc/elf/configure: Generate.
8362
7a8b71c3
DM
8363 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8364 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8365 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8366 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8367 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8368
f1e86fca
JM
83692012-02-21 Joseph Myers <joseph@codesourcery.com>
8370
8371 * manual/install.texi: Do not mention specific glibc version
8372 numbers.
8373 * manual/libc.texinfo (VERSION, UPDATED): Update.
8374 (@copying): Use @copyright{} and range of years.
8375
0e7dfaef
JM
83762012-02-21 Joseph Myers <joseph@codesourcery.com>
8377
8378 [BZ #13695]
8379 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8380 [crti.S not in sysdirs] (generated): Do not append.
8381 [crti.S not in sysdirs] (omit-deps): Likewise.
8382 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8383 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8384 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8385 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8386 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8387 Likewise.
8388 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8389 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8390 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8391 * csu/defs.awk: Remove file.
8392 * sysdeps/generic/initfini.c: Likewise.
8393 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8394 variable.
8395 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8396 Likewise.
8397
599af3ca
JM
83982012-02-20 Joseph Myers <joseph@codesourcery.com>
8399
8400 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8401 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8402 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8403 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8404 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8405 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8406 <bits/epoll.h>.
8407 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8408 (__EPOLL_PACKED): Define to empty if not defined by
8409 <bits/epoll.h>.
8410 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8411 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8412 bits/epoll.h.
8413
0e499750
JM
84142012-02-20 Joseph Myers <joseph@codesourcery.com>
8415
8416 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8417 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8418 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8419 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8420 <bits/timerfd.h>.
8421 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8423 bits/timerfd.h.
8424
5ad91f6e
JM
84252012-02-20 Joseph Myers <joseph@codesourcery.com>
8426
8427 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8428 in C locale.
8429 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8430 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8431 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8433
06b99b02
AJ
84342012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8435
8436 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8437 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8438
7638c0fd
AS
84392012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8440
8441 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8442 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8443 defined.
8444 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8445 Likewise.
8446 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8447 entry for 2.16.
8448
92221550
AJ
84492012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8450
8451 * math/w_acos.c: Use non-signaling floating-point comparisons.
8452 * math/w_acosf.c: Likewise.
8453 * math/w_acosh.c: Likewise.
8454 * math/w_acoshf.c: Likewise.
8455 * math/w_acoshl.c: Likewise.
8456 * math/w_acosl.c: Likewise.
8457 * math/w_asin.c: Likewise.
8458 * math/w_asinf.c: Likewise.
8459 * math/w_asinl.c: Likewise.
8460 * math/w_atanh.c: Likewise.
8461 * math/w_atanhf.c: Likewise.
8462 * math/w_atanhl.c: Likewise.
8463 * math/w_exp2.c: Likewise.
8464 * math/w_exp2f.c: Likewise.
8465 * math/w_exp2l.c: Likewise.
8466 * math/w_j0.c: Likewise.
8467 * math/w_j0f.c: Likewise.
8468 * math/w_j0l.c: Likewise.
8469 * math/w_j1.c: Likewise.
8470 * math/w_j1f.c: Likewise.
8471 * math/w_j1l.c: Likewise.
8472 * math/w_jn.c: Likewise.
8473 * math/w_jnf.c: Likewise.
8474 * math/w_log.c: Likewise.
8475 * math/w_log10.c: Likewise.
8476 * math/w_log10f.c: Likewise.
8477 * math/w_log10l.c: Likewise.
8478 * math/w_log2.c: Likewise.
8479 * math/w_log2f.c: Likewise.
8480 * math/w_log2l.c: Likewise.
8481 * math/w_logf.c: Likewise.
8482 * math/w_logl.c: Likewise.
8483 * math/w_sqrt.c: Likewise.
8484 * math/w_sqrtf.c: Likewise.
8485 * math/w_sqrtl.c: Likewise.
8486 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8487 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8488 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8489 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8490 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8491
ebaf36eb
JM
84922012-02-19 Joseph Myers <joseph@codesourcery.com>
8493
8494 [BZ #9739]
8495 * manual/string.texi (strnlen): Use correct parameter name in
8496 equivalent expression.
8497
71c254a6
JM
84982012-02-19 Joseph Myers <joseph@codesourcery.com>
8499
8500 [BZ #11174]
8501 * manual/users.texi (seteuid): Consistently use neweuid for
8502 argument name.
8503
16d2c631
JM
85042012-02-19 Joseph Myers <joseph@codesourcery.com>
8505
8506 [BZ #13704]
8507 * manual/nss.texi (Services in the NSS configuration): Correct
8508 list of services in example configuration file.
8509
cd837b09
NB
85102012-02-19 Nick Bowler <nbowler@draconx.ca>
8511
8512 [BZ #11322]
8513 * manual/arith.texi: Remove statements about negative zero
8514 behaving identically to zero.
8515
02c4bbad
JM
85162012-02-18 Joseph Myers <joseph@codesourcery.com>
8517
8518 [BZ #5993]
8519 * manual/install.texi: Do not document upgrading from libc5.
8520
366842e7
JM
85212012-02-18 Joseph Myers <joseph@codesourcery.com>
8522
8523 [BZ #4596]
8524 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8525
dd54084d
DM
85262012-02-18 David S. Miller <davem@davemloft.net>
8527
8528 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8529 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8530 %o7 across the call.
8531 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8532 instead.
8533 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8534 SETUP_PIC_REG_LEAF.
8535 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8536 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8537 * sysdeps/sparc/crtn.S: Likewise.
8538
2bcc53a3
UD
85392012-02-17 Ulrich Drepper <drepper@gmail.com>
8540
8541 * aout/Makefile: Remove.
8542
09c093b5
RK
85432012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8544
8545 [BZ #13058]
8546 * manual/examples/argp-ex1.c (main): Format definition in GNU
8547 style.
8548 * manual/examples/argp-ex2.c (main): Likewise.
8549 * manual/examples/argp-ex3.c (main): Likewise.
8550 * manual/examples/argp-ex4.c (main): Likewise.
8551 * manual/examples/longopt.c (main): Use new-style prototype
8552 definition.
8553 * manual/examples/strncat.c (main): Specify return type and use
8554 (void) for arguments.
8555 * manual/examples/subopt.c (main): Use char **argv argument.
8556
2ee633a2
JM
85572012-02-17 Joseph Myers <joseph@codesourcery.com>
8558
8559 [BZ #5077]
8560 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8561 rounding modes.
8562
0520adde
FB
85632012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8564
8565 [BZ #6907]
8566 * manual/string.texi (strchr): Change when strchrnul is
8567 recommended.
8568
3f4081cd
DGM
85692012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8570
8571 [BZ #174]
8572 * manual/locale.texi (setlocale): Document LOCPATH.
8573
d1b10e78
JM
85742012-02-17 Joseph Myers <joseph@codesourcery.com>
8575
8576 [BZ #10210]
8577 * manual/process.texi (execle): Move @dots{} before last argument.
8578
79c6869c
PB
85792012-02-17 Paul Bolle <pebolle@tiscali.nl>
8580
8581 [BZ #12047]
8582 * manual/charset.texi (Generic Charset Conversion): Fix typo
8583 (LC_TYPE -> LC_CTYPE).
8584
cc6e48bc
NB
85852012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8586
8587 [BZ #5805]
8588 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8589 (scalbnf): Likewise.
8590 (scalbnl): Likewise.
8591 (scalbln): Likewise.
8592 (scalblnf): Likewise.
8593 (scalblnl): Likewise.
8594 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8595 (vwarnx): Likewise.
8596 (verr): Likewise.
8597 (verrx): Likewise.
8598 * manual/filesys.texi (telldir): Use braces around return type.
8599 * manual/llio.texi (mmap): Add space after comma.
8600 (mmap64): Likewise.
8601 * manual/math.texi (jn): Use @var{} on parameter names.
8602 (jnf): Likewise.
8603 (jnl): Likewise.
8604 (yn): Likewise.
8605 (ynf): Likewise.
8606 (ynl): Likewise.
8607 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8608 line.
8609 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8610 "...".
8611 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8612 (sched_get_priority_max): Likewise.
8613 * manual/signal.texi (sigvec): Add space after comma.
8614 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8615 names.
8616 (if_indextoname): Likewise.
8617 (if_freenameindex): Likewise.
8618 (sendto): Use ',' instead of '.' in prototype.
8619 * manual/startup.texi (syscall): Use @dots{} instead of literal
8620 "...".
8621 * manual/stdio.texi (__fpending): Separate initial words of
8622 paragraph from @deftypefun line.
8623 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8624 "...".
8625 (vsyslog): Use @var{} on parameter names.
8626 * manual/terminal.texi (stty): Use @var{} on parameter names.
8627 * manual/users.texi (getutmp): Use @var{} on parameter names.
8628 (getutmpx): Likewise.
8629
5b23062f
JM
86302012-02-17 Joseph Myers <joseph@codesourcery.com>
8631
8632 [BZ #6884]
8633 * manual/stdio.texi (fopen): Fix typos in description of
8634 ",ccs=STRING".
8635
8dee4833
AJ
86362012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8637
8638 [BZ #4026]
8639 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8640 get clock_id definition.
8641
9078ce93
TS
86422012-02-17 Thomas Schwinge <thomas@schwinge.name>
8643
8644 [BZ #4822]
8645 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8646 (madvise): Cast every argument to void on its own.
8647
3835c55f
JM
86482012-02-17 Joseph Myers <joseph@codesourcery.com>
8649
8650 [BZ #9902]
8651 * manual/startup.texi (Exit Status): Fix typo.
8652
35c47e37
JM
86532012-02-17 Joseph Myers <joseph@codesourcery.com>
8654
8655 [BZ #10140]
8656 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8657 * manual/examples/argp-ex2.c: Likewise.
8658 * manual/examples/argp-ex3.c: Likewise.
8659
e3b69ca7
RH
86602012-02-16 Richard Henderson <rth@redhat.com>
8661
8662 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8663 * sysdeps/s390/s390-32/initfini.c: Remove.
8664 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8665 * sysdeps/s390/s390-64/initfini.c: Remove.
8666
df83af67
KK
86672012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8668
8669 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8670 compiler output for sysdeps/generic/initfini.c.
8671 * sysdeps/sh/elf/initfini.c: Remove file.
8672
f63f3380
DM
86732012-02-16 David S. Miller <davem@davemloft.net>
8674
fb59b3a4
DM
8675 [BZ #11494]
8676 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8677
f63f3380
DM
8678 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8679 * sysdeps/sparc/crti.S: New file.
8680 * sysdeps/sparc/crtn.S: New file.
8681 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8682 * sysdeps/sparc/sparc64/Makefile: Likewise.
8683
df6a4a4a
MF
86842012-02-15 Mike Frysinger <vapier@gentoo.org>
8685
6dd8f3dc 8686 [BZ #3335]
df6a4a4a
MF
8687 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8688
1cac7236
RM
86892012-02-15 Roland McGrath <roland@hack.frob.com>
8690
d2c736f8
RM
8691 [BZ #4822]
8692 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8693
1cac7236
RM
8694 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8695 (write, read, close): Likewise.
8696 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8697
8e475601
JM
86982012-02-15 Joseph Myers <joseph@codesourcery.com>
8699
8700 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8701 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8702 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8703 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8704 <bits/signalfd.h>.
8705 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8706 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8707 bits/signalfd.h.
8708
ed656b40
MP
87092012-02-14 Marek Polacek <polacek@redhat.com>
8710
8711 * sysdeps/x86_64/crti.S: New file.
8712 * sysdeps/x86_64/crtn.S: New file.
8713 * sysdeps/x86_64/elf/initfini.c: Remove file.
8714
2a979d3a
JM
87152012-02-13 Joseph Myers <joseph@codesourcery.com>
8716
8717 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8718 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8719 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8720 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8721 <bits/inotify.h>.
8722 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8724 bits/inotify.h.
8725
2a418ac3
JM
87262012-02-13 Joseph Myers <joseph@codesourcery.com>
8727
8728 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8729 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8730 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8731 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8732 <bits/eventfd.h>.
8733 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8734 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8735 bits/eventfd.h.
8736
fb779be7
TS
87372012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8738
e19e83c5
RM
8739 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8740 __feraiseexcept instead of feraiseexcept.
7c35ffed 8741
fb779be7
TS
8742 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8743 nanosleep invocations.
8744 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8745 strings, and add error checking for a nanosleep invocations.
8746
59ba27a6
PE
87472012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8748
8749 Replace FSF snail mail address with URLs, as per GNU coding standards.
8750 Most of the snail mail addresses were wrong anyway, and omitting
8751 them makes the source code easier to maintain. Almost all of the
8752 changes are to license notices and to locale LC_IDENTIFICATION
8753 addresses, except for this one:
8754 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8755 not its snail mail address.
8756
57b957eb
RH
87572012-02-09 Richard Henderson <rth@twiddle.net>
8758
af850b1c
RH
8759 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8760 of kernel-features.h.
8761
57b957eb
RH
8762 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8763
6b73181a
MP
87642012-02-08 Marek Polacek <polacek@redhat.com>
8765
8766 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8767 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8768 * sysdeps/gnu/_G_config.h: Likewise.
8769 * sysdeps/generic/_G_config.h: Likewise.
8770
26ecc33a
AS
87712012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8772
6c6dbc63
AS
8773 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8774 tests.
8775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8776
e216c012
AS
8777 * sysdeps/powerpc/powerpc32/crti.S: New file.
8778 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8779 * sysdeps/powerpc/powerpc64/crti.S: New file.
8780 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8781
26ecc33a
AS
8782 * Makeconfig (have-initfini): Don't set.
8783 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8784 * configure.in (nopic_initfini): Don't substitute.
8785 * config.h.in (HAVE_INITFINI): Don't #undef.
8786 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8787 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8788
3add8e13
JM
87892012-02-08 Joseph Myers <joseph@codesourcery.com>
8790
8791 Support crti.S and crtn.S provided directly by architectures.
8792 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8793 [crti.S in sysdirs] (omit-deps): Likewise.
8794 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8795 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8796 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8797 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8798 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8799 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8800 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8801 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8802 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8803 compiler output for sysdeps/generic/initfini.c.
8804 * sysdeps/i386/elf/Makefile: Remove file.
8805 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8806
a22f12b4
MP
88072012-02-07 Marek Polacek <polacek@redhat.com>
8808
8809 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8810 * sysdeps/gnu/_G_config.h: Likewise.
8811 * sysdeps/mach/hurd/_G_config.h: Likewise.
8812
148cf100
MP
88132012-02-07 Marek Polacek <polacek@redhat.com>
8814
8815 * math/Makefile (tests): Add tst-CMPLX2.
8816 * math/tst-CMPLX2.c: New file.
8817
cfdc0dd7
AS
88182012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8819
84ba42c4
AS
8820 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8821
cfdc0dd7
AS
8822 * math/libm-test.inc (jn_test): Add missing L suffix.
8823
622c86f4
MP
88242012-02-06 Marek Polacek <polacek@redhat.com>
8825
8826 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8827 * sysdeps/i386/fpu/e_powf.S: Likewise.
8828 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8829 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8830 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8831 * sysdeps/i386/fpu/e_pow.S: Likewise.
8832 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8833 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8834 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8835 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8836 * sysdeps/i386/fpu/e_log2.S: Likewise.
8837 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8838 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8839 * sysdeps/i386/fpu/e_powl.S: Likewise.
8840 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8841 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8842 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8843 * sysdeps/i386/fpu/e_logl.S: Likewise.
8844 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8845 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8846 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8847 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8848 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8849 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8850 * sysdeps/i386/fpu/e_log.S: Likewise.
8851 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8852 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8853 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8854 * sysdeps/i386/fpu/e_logf.S: Likewise.
8855 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8856 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8857 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8858 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8859 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8860 * sysdeps/i386/fpu/e_log10.S: Likewise.
8861 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8862 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8863 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8864 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8865 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8866 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8867 * sysdeps/i386/asm-syntax.h: Likewise.
8868 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8869 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8870 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8871 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8872 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8873 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8874 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8875 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8876 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8877 * sysdeps/powerpc/sysdep.h: Likewise.
8878 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8879 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8880
d4a54ac6
JM
88812012-02-06 Joseph Myers <joseph@codesourcery.com>
8882
8883 [BZ #411]
8884 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8885
314054ea
JM
88862012-02-06 Joseph Myers <joseph@codesourcery.com>
8887
8888 * sysdeps/i386/sysdep.h: Include <features.h>.
8889 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8890 version.
8891
d8e0ca50
JM
88922012-02-05 Joseph Myers <joseph@codesourcery.com>
8893
8894 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8895 Define.
8896 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8897 LOAD_PIC_REG_STR.
8898
b1da7dd9
JM
88992012-02-03 Joseph Myers <joseph@codesourcery.com>
8900
8901 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8902 (SETUP_PIC_REG): Use GET_PC_THUNK.
8903 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8904 macro.
8905
9a1d9254
JM
89062012-02-03 Joseph Myers <joseph@codesourcery.com>
8907
8908 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8909 for non-PIC compilation.
8910 (SETUP_PIC_REG): Add .p2align directive.
8911 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8912 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8913 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8914 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8915 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8916 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8917 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8918 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8919 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8920 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8921 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8922 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8923 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8924 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8925 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8926 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8927 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8928 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8929 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8930 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8931 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8932 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8933 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8934 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8935 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8936 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8937 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8938 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8939 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8940 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8941 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8942 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8943 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8944 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8945 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8946 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8947 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8948 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8949 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8950 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8951 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8952
65dc3b75
JM
89532012-02-03 Joseph Myers <joseph@codesourcery.com>
8954
8955 * math/tst-CMPLX.c: Include <stdio.h>.
8956
d55bf177
JM
89572012-01-31 Joseph Myers <joseph@codesourcery.com>
8958
8959 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8960 float.
8961 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8962 * sysdeps/sparc/bits/mathdef.h: Likewise.
8963
69db4f8f
MP
89642012-01-31 Marek Polacek <polacek@redhat.com>
8965
8966 * libio/libio.h: Don't define _PARAMS.
8967 * locale/programs/config.h: Don't define PARAMS.
8968 * stdlib/strtol_l.c: Likewise.
8969 (__strtol_l): Remove PARAMS from the prototype.
8970
41b81892
UD
89712012-01-31 Ulrich Drepper <drepper@gmail.com>
8972
3b49edc0
UD
8973 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8974 names. Just use the correct names. Remove unnecessary wrapper
8975 functions.
8976 * malloc/arena.c: Likewise.
8977 * malloc/hooks.c: Likewise.
8978
41b81892
UD
8979 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8980 ARENA_TEST says not to. Simplify test for creation of a new arena.
8981 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8982
27a25b6e
UD
89832012-01-30 Ulrich Drepper <drepper@gmail.com>
8984
8985 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8986 into tail calls.
8987 (update_get_addr): New function.
8988 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8989 GET_ADDR_MODULE parameter.
8990
c8a89e7d
JM
89912012-01-30 Joseph Myers <joseph@codesourcery.com>
8992
8993 * crypt/cert.c: Remove __STDC__ conditionals.
8994 * crypt/crypt-entry.c: Likewise.
8995 * crypt/crypt_util.c: Likewise.
8996 * libio/filedoalloc.c: Likewise.
8997 * libio/fileops.c: Likewise.
8998 * libio/genops.c: Likewise.
8999 * libio/iofclose.c: Likewise.
9000 * libio/iofdopen.c: Likewise.
9001 * libio/iofopen.c: Likewise.
9002 * libio/iofopen64.c: Likewise.
9003 * libio/iogetdelim.c: Likewise.
9004 * libio/iopopen.c: Likewise.
9005 * libio/obprintf.c: Likewise.
9006 * libio/oldfileops.c: Likewise.
9007 * libio/oldiofclose.c: Likewise.
9008 * libio/oldiofdopen.c: Likewise.
9009 * libio/oldiofopen.c: Likewise.
9010 * libio/oldiopopen.c: Likewise.
9011 * libio/wfiledoalloc.c: Likewise.
9012 * libio/wgenops.c: Likewise.
9013 * locale/programs/xmalloc.c: Likewise.
9014 * misc/syslog.c: Likewise.
9015 * stdio-common/xbug.c: Likewise.
9016 * string/memchr.c: Likewise.
9017 * string/memcmp.c: Likewise.
9018 * string/memrchr.c: Likewise.
9019 * string/rawmemchr.c: Likewise.
9020 * sysdeps/posix/getcwd.c: Likewise.
9021 * time/strftime_l.c: Likewise.
9022
3b100462
JM
90232012-01-30 Joseph Myers <joseph@codesourcery.com>
9024
9025 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9026 * config.make.in (config-cflags-sse2avx): Define.
9027 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9028 Fix typo.
9029
607998af
CM
90302012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9031
9032 * scripts/config.guess: Update from upstream config git repository.
9033 * scripts/config.sub: Likewise.
9034
3601428f
CM
90352012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9036
3ac8b282
CM
9037 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9038 (EM_NUM): Update.
9039 (R_TILEPRO_*, R_TILEGX_*): New macros.
9040
e034841e
CM
9041 * scripts/firstversions.awk: Fix bug in version range handling.
9042
540d7568
CM
9043 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9044
3601428f
CM
9045 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9046
463de862
CM
9047 * include/sys/epoll.h: New file.
9048 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9049 libc_hidden_def.
9050
73139a76
UD
90512012-01-28 Ulrich Drepper <drepper@gmail.com>
9052
96bc5b45
UD
9053 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9054 Avoid unnecessary __WORDSIZE == 64 test.
9055 (fmaxf): Use VEX format if possible.
9056 (fmax): Likewise.
9057 (fminf): Likewise.
9058 (fmin): Likewise.
9059
56f6f6a2
UD
9060 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9061 * math/math_private.h: Remove libc_fegetround* and
9062 libc_fesetround*.
9063 * sysdeps/i386/configure.in: Check for -msse2avx.
9064 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9065 also if SSE2AVX is defined.
9066 Remove libc_fegetround* and libc_fesetround*.
9067 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9068 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9069 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9070 of HAS_YMM_USABLE.
9071 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9072 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9073 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9074 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9075 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9076
73139a76
UD
9077 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9078
d73f93a4
AZ
90792012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9080
9081 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9082 size is not set.
9083 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9084
6ee65ed6
UD
90852012-01-27 Ulrich Drepper <drepper@gmail.com>
9086
9087 [BZ #13618]
9088 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9089 relocation.
9090 * Makeconfig (libm): Define.
9091 * elf/Makefile: Add rules to build and run tst-relsort1.
9092 * elf/tst-relsort1.c: New file.
9093 * elf/tst-relsort1mod1.c: New file.
9094 * elf/tst-relsort1mod2.c: New file.
9095
8db21882
JM
90962012-01-27 Joseph Myers <joseph@codesourcery.com>
9097
9098 * math/s_ldexp.c: Remove __STDC__ conditionals.
9099 * math/s_ldexpf.c: Likewise.
9100 * math/s_ldexpl.c: Likewise.
9101 * math/s_nextafter.c: Likewise.
9102 * math/s_nexttowardf.c: Likewise.
9103 * math/s_significand.c: Likewise.
9104 * math/s_significandf.c: Likewise.
9105 * math/s_significandl.c: Likewise.
9106 * math/w_jnl.c: Likewise.
9107 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9108 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9109 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9110 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9111 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9112 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9113 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9114 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9115 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9116 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9117 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9118 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9119 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9120 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9121 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9122 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9123 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9124 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9125 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9126 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9127 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9128 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9129 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9130 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9131 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9132 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9133 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9134 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9135 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9136 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9137 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9138 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9139 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9140 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9141 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9142 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9143 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9144 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9145 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9146 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9147 * sysdeps/ieee754/k_standard.c: Likewise.
9148 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9149 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9150 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9151 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9152 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9153 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9154 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9155 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9156 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9157 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9158 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9159 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9160 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9161 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9162 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9163 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9164 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9165 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9166 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9167 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9168 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9169 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9170 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9171 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9172 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9173 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9174 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9175 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9176 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9177 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9178 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9179 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9180 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9181 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9182 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9183 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9184 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9185 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9186 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9187 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9188 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9189 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9190 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9191 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9192 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9193 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9194 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9195 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9196 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9197 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9198 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9199 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9200 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9201 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9202 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9203 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9204 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9205 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9207 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9208 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9209 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9210 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9211 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9212 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9213 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9214 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9215 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9216 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9217 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9218 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9219 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9220 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9221 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9222 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9223 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9224 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9225 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9226 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9227 * sysdeps/ieee754/s_matherr.c: Likewise.
9228 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9229 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9230 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9231 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9232
965a54a4
JM
92332012-01-26 Joseph Myers <joseph@codesourcery.com>
9234
9235 * crypt/md5.h: Remove __STDC__ conditionals.
9236 * libio/libioP.h: Likewise.
9237 * locale/programs/config.h: Likewise.
9238 * sysdeps/generic/sysdep.h: Likewise.
9239 * sysdeps/i386/asm-syntax.h: Likewise.
9240 * sysdeps/s390/asm-syntax.h: Likewise.
9241 * sysdeps/unix/sysdep.h: Likewise.
9242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9244
7071ad79
JM
92452012-01-26 Joseph Myers <joseph@codesourcery.com>
9246
9247 * libio/libio.h: Remove __STDC__ conditionals.
9248 * malloc/obstack.h: Likewise.
9249 * math/complex.h: Likewise.
9250 * math/math.h: Likewise.
9251 * sysdeps/generic/_G_config.h: Likewise.
9252 * sysdeps/gnu/_G_config.h: Likewise.
9253 * sysdeps/mach/hurd/_G_config.h: Likewise.
9254 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9255 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9256 * sysdeps/sparc/bits/mathdef.h: Likewise.
9257
afc5ed09
UD
92582012-01-26 Ulrich Drepper <drepper@gmail.com>
9259
9260 [BZ #13583]
9261 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9262 Clean up HAS_* macros.
afc5ed09 9263 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9264 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9265 possible.
9266 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9267 HAS_AVX.
9268 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9269 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9270 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9271 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9272 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9273
bdb6de1d
JM
92742012-01-25 Joseph Myers <joseph@codesourcery.com>
9275
9276 * elf/tst-unique3.cc (gets): Remove declaration.
9277 * elf/tst-unique3lib.cc (gets): Likewise.
9278 * elf/tst-unique3lib2.cc (gets): Likewise.
9279 * elf/tst-unique4.cc (gets): Likewise.
9280
b15549e6
UD
92812012-01-24 Ulrich Drepper <drepper@gmail.com>
9282
9283 * include/stdio.h: Add C++ protection. Add gets declarations and
9284 definitions.
9285 * debug/tst-chk1.c: Don't declare gets here.
9286 * stdio-common/tst-gets.c: Likewise.
9287
a037381f
JM
92882012-01-24 Joseph Myers <joseph@codesourcery.com>
9289
9290 * posix/glob: Remove directory.
9291
f1d4aa75
JM
92922012-01-24 Joseph Myers <joseph@codesourcery.com>
9293
9294 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9295
81c0c964
PT
92962012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9297
9298 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9299 of the non-standard EPFNOSUPPORT.
9300
0ea698ae
ST
93012011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9302
9303 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9304 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9305 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9306
d220b117
UD
93072012-01-21 Ulrich Drepper <drepper@gmail.com>
9308
9309 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9310
3e1aa84e
UD
93112012-01-20 Ulrich Drepper <drepper@gmail.com>
9312
9313 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9314 transient errors.
9315 * nscd/grpcache.c (cache_addgr): Likewise.
9316 * nscd/hstcache.c (cache_addhst): Likewise.
9317 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9318 * nscd/pwdcache.c (cache_addpw): Likewise.
9319 * nscd/servicescache.c (cache_addserv): Likewise.
9320
400aa020
UD
93212012-01-16 Ulrich Drepper <drepper@gmail.com>
9322
d77e7869
UD
9323 * malloc/malloc.c: Various cleanups.
9324 * malloc/hooks.c: Likewise.
9325
400aa020
UD
9326 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9327 * stdlib/bug-fmtmsg1.c: New file.
9328
9329 * stdlib/fmtmsg.c (init): Add missing unlock.
9330 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9331
e0a309cf
MP
93322012-01-12 Marek Polacek <polacek@redhat.com>
9333
9334 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9335 and _GNU_SOURCE.
9336
929d11c7
WS
93372012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9338
9339 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9340 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9341 macro to ensure uniqueness of label name.
9342 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9343 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9344
41d0e869
UD
93452012-01-11 Ulrich Drepper <drepper@gmail.com>
9346
0cc5ed3b
UD
9347 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9348
41d0e869
UD
9349 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9350 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9351 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9352 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9353
a47a831a
UD
93542012-01-10 Ulrich Drepper <drepper@gmail.com>
9355
daa891c0
UD
9356 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9357
9358 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9359 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9360 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9361
e58ef0f2
UD
9362 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9363
a47a831a 9364 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9365 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9366 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9367 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9368
9369 * math/bits/math-finite.h: Add ldexp support.
9370
a0bfc9c7
MP
93712012-01-10 Marek Polacek <polacek@redhat.com>
9372
9373 * locale/programs/localedef.h (show_archive_content): Add noreturn
9374 attribute.
9375
d6e97a1d
UD
93762012-01-09 Ulrich Drepper <drepper@gmail.com>
9377
9378 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9379
d5835c26
UD
93802012-01-08 Ulrich Drepper <drepper@gmail.com>
9381
e5f484c6
UD
9382 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9383
d5835c26
UD
9384 * io/Makefile (headers): Add bits/poll2.h.
9385
d1f741e9
WS
93862011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9387
9388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9389 typo #include statement.
9390
ec09c1c4
UD
93912012-01-08 Ulrich Drepper <drepper@gmail.com>
9392
9393 * include/sys/cdefs.h: Define __attribute_alloc_size.
9394 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9395 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9396 * elf/pldd.c: Likewise.
9397 * iconv/iconv_charmap.c: Likewise.
9398 * iconv/iconvconfig.c: Likewise.
9399 * iconv/strtab.c: Likewise.
9400 * locale/programs/locale.c: Likewise.
9401 * locale/programs/localedef.h: Likewise.
9402 * locale/programs/simple-hash.c: Likewise.
9403 * nscd/nscd.h: Likewise.
9404 * nss/makedb.c: Likewise.
9405 * sysdeps/generic/ldconfig.h: Likewise.
9406 * locale/programs/localedef.c: Remove xmalloc prototype.
9407 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9408
20b38e03
PP
94092012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9410
9411 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9412 appropriate.
9413
a0da5fe1
UD
94142012-01-08 Ulrich Drepper <drepper@gmail.com>
9415
1d5a644a 9416 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9417 * math/tst-CMPLX.c: New file.
1d5a644a 9418
8784a6db
UD
9419 * math/complex.h (CMPLXL): Fix typo.
9420
d9a216c0
UD
9421 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9422 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9423 GLIBC_2.16.
9424 * debug/tst-chk1.c: Add poll and ppoll tests.
9425 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9426 * include/sys/poll.h: Add hidden proto for ppoll.
9427 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9428 * sysdeps/mach/hurd/ppoll.c: Likewise.
9429 * io/ppoll.c: Likewise.
9430 * debug/poll_chk.c: New file.
9431 * debug/ppoll_chk.c: New file.
9432 * include/bits/poll2.h: New file.
9433 * io/bits/poll2.h: New file.
9434
ac097f5c
UD
9435 [BZ #1350]
9436 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9437
2119dcfa
UD
9438 * configure.in: static is always set to yes. Remove.
9439 * config.make.in: Don't set build-static.
9440 * Makeconfig: Remove use of build-static.
9441 * dlfcn/Makefile: Likewise.
9442 * elf/Makefile: Likewise.
9443 * math/Makefile: Likewise.
9444 * misc/Makefile: Likewise.
9445 * nptl/Makefile: Likewise.
9446 * sysdeps/mach/hurd/Makefile: Likewise.
9447
121766a9
UD
9448 * configure.in: PWD_P is not used anymore.
9449 * config.make.in: Remove PWD_P entry.
9450
51a1d39c 9451 * configure.in: Remove last remnants of RANLIB.
8720d066 9452 No need to check for signed size_t anymore.
215f4bdc
UD
9453 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9454 and IA-64.
3857022a 9455 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9456 * aclocal.m4: Likewise.
9457
d3ed7225
UD
9458 * wcsmbs/mbrtoc16.c: Implement using towc function.
9459 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9460 * wcsmbs/wcsmbsload.c: Likewise.
9461 * iconv/gconv_simple.c: Likewise.
9462 * iconv/gconv_int.h: Likewise.
9463 * iconv/gconv_builtin.h: Likewise.
9464 * iconv/iconv_prog.c: Remove CHAR16 handling.
9465
9466 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9467
9468 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9469
a0da5fe1
UD
9470 * configure.in: Remove --with-elf and --enable-bounded options.
9471 Dont set base_machine for ia64. More non-ELF conditions removed.
9472 Remove testing and setting of leading underscore information.
9473 * config.make.in (build-bounded): Set to no.
9474 * config.h.in: Remove NO_UNDERSCORES entry.
9475 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9476 them.
9477 * csu/start.c: Remove !NO_UNDERSCORE code.
9478 * locale/localeinfo.h: Likewise.
9479 * sysdeps/generic/machine-gmon.h: Likewise.
9480 * sysdeps/generic/sysdep.h: Likewise.
9481 * sysdeps/i386/sysdep.h: Likewise.
9482 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9483 * sysdeps/mach/sysdep.h: Likewise.
9484 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9485 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9486 * sysdeps/sh/sysdep.h: Likewise.
9487 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9488 * sysdeps/unix/i386/sysdep.S: Likewise.
9489 * sysdeps/unix/sparc/start.c: Likewise.
9490 * sysdeps/unix/sparc/sysdep.S: Likewise.
9491 * sysdeps/unix/sparc/sysdep.h: Likewise.
9492 * sysdeps/unix/start.c: Likewise.
9493 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9494 * sysdeps/x86_64/sysdep.h: Likewise.
9495
df78418a
UD
94962012-01-07 Ulrich Drepper <drepper@gmail.com>
9497
a784e502
UD
9498 [BZ #13553]
9499 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9500 for non-gcc.
9501 * argp/argp-fmtstream.h: Use const instead __const.
9502 * argp/argp.h: Likewise.
9503 * assert/assert.h: Likewise.
9504 * bits/fenv.h: Likewise.
9505 * bits/sched.h: Likewise.
9506 * bits/sigset.h: Likewise.
9507 * bits/sigthread.h: Likewise.
9508 * catgets/nl_types.h: Likewise.
9509 * conform/data/pthread.h-data: Likewise.
9510 * crypt/crypt-private.h: Likewise.
9511 * crypt/crypt.h: Likewise.
9512 * crypt/crypt_util.c: Likewise.
9513 * ctype/ctype.h: Likewise.
9514 * debug/execinfo.h: Likewise.
9515 * debug/mbsnrtowcs_chk.c: Likewise.
9516 * debug/mbsrtowcs_chk.c: Likewise.
9517 * debug/wcsnrtombs_chk.c: Likewise.
9518 * debug/wcsrtombs_chk.c: Likewise.
9519 * debug/wcstombs_chk.c: Likewise.
9520 * dirent/dirent.h: Likewise.
9521 * dlfcn/dlfcn.h: Likewise.
9522 * elf/neededtest4.c: Likewise.
9523 * grp/grp.h: Likewise.
9524 * gshadow/gshadow.h: Likewise.
9525 * iconv/gconv.h: Likewise.
9526 * iconv/gconv_int.h: Likewise.
9527 * iconv/gconv_simple.c: Likewise.
9528 * iconv/iconv.h: Likewise.
9529 * iconv/loop.c: Likewise.
9530 * iconv/skeleton.c: Likewise.
9531 * include/aio.h: Likewise.
9532 * include/aliases.h: Likewise.
9533 * include/argz.h: Likewise.
9534 * include/arpa/inet.h: Likewise.
9535 * include/assert.h: Likewise.
9536 * include/dirent.h: Likewise.
9537 * include/dlfcn.h: Likewise.
9538 * include/execinfo.h: Likewise.
9539 * include/fcntl.h: Likewise.
9540 * include/fenv.h: Likewise.
9541 * include/glob.h: Likewise.
9542 * include/grp.h: Likewise.
9543 * include/libintl.h: Likewise.
9544 * include/mntent.h: Likewise.
9545 * include/netdb.h: Likewise.
9546 * include/pwd.h: Likewise.
9547 * include/rpc/netdb.h: Likewise.
9548 * include/sched.h: Likewise.
9549 * include/search.h: Likewise.
9550 * include/shadow.h: Likewise.
9551 * include/signal.h: Likewise.
9552 * include/stdio.h: Likewise.
9553 * include/stdlib.h: Likewise.
9554 * include/string.h: Likewise.
9555 * include/sys/socket.h: Likewise.
9556 * include/sys/stat.h: Likewise.
9557 * include/sys/statfs.h: Likewise.
9558 * include/sys/statvfs.h: Likewise.
9559 * include/sys/syslog.h: Likewise.
9560 * include/sys/time.h: Likewise.
9561 * include/sys/uio.h: Likewise.
9562 * include/time.h: Likewise.
9563 * include/unistd.h: Likewise.
9564 * include/utmp.h: Likewise.
9565 * include/wchar.h: Likewise.
9566 * include/wctype.h: Likewise.
9567 * inet/aliases.h: Likewise.
9568 * inet/arpa/inet.h: Likewise.
9569 * inet/netinet/ether.h: Likewise.
9570 * inet/netinet/in.h: Likewise.
9571 * intl/libintl.h: Likewise.
9572 * io/bits/fcntl2.h: Likewise.
9573 * io/fcntl.h: Likewise.
9574 * io/ftw.h: Likewise.
9575 * io/sys/poll.h: Likewise.
9576 * io/sys/stat.h: Likewise.
9577 * io/sys/statfs.h: Likewise.
9578 * io/sys/statvfs.h: Likewise.
9579 * io/utime.h: Likewise.
9580 * libio/bits/stdio.h: Likewise.
9581 * libio/bits/stdio2.h: Likewise.
9582 * libio/libio.h: Likewise.
9583 * libio/libioP.h: Likewise.
9584 * libio/stdio.h: Likewise.
9585 * locale/lc-ctype.c: Likewise.
9586 * locale/locale.h: Likewise.
9587 * login/utmp.h: Likewise.
9588 * malloc/arena.c: Likewise.
9589 * malloc/malloc.c: Likewise.
9590 * malloc/malloc.h: Likewise.
9591 * malloc/mcheck.c: Likewise.
9592 * malloc/mtrace.c: Likewise.
9593 * math/bits/mathcalls.h: Likewise.
9594 * math/fenv.h: Likewise.
9595 * math/math_private.h: Likewise.
9596 * misc/bits/error.h: Likewise.
9597 * misc/bits/syslog.h: Likewise.
9598 * misc/err.h: Likewise.
9599 * misc/error.h: Likewise.
9600 * misc/fstab.h: Likewise.
9601 * misc/mntent.h: Likewise.
9602 * misc/regexp.h: Likewise.
9603 * misc/search.h: Likewise.
9604 * misc/sgtty.h: Likewise.
9605 * misc/sys/mman.h: Likewise.
9606 * misc/sys/syslog.h: Likewise.
9607 * misc/sys/uio.h: Likewise.
9608 * misc/sys/xattr.h: Likewise.
9609 * misc/ttyent.h: Likewise.
9610 * nis/rpcsvc/ypclnt.h: Likewise.
9611 * nss/nss.h: Likewise.
9612 * posix/bits/unistd.h: Likewise.
9613 * posix/fnmatch.h: Likewise.
9614 * posix/glob.h: Likewise.
9615 * posix/sched.h: Likewise.
9616 * posix/spawn.h: Likewise.
9617 * posix/sys/wait.h: Likewise.
9618 * posix/unistd.h: Likewise.
9619 * posix/wordexp.h: Likewise.
9620 * pwd/pwd.h: Likewise.
9621 * resolv/netdb.h: Likewise.
9622 * resource/sys/resource.h: Likewise.
9623 * rt/aio.h: Likewise.
9624 * rt/bits/mqueue2.h: Likewise.
9625 * rt/mqueue.h: Likewise.
9626 * shadow/shadow.h: Likewise.
9627 * signal/signal.h: Likewise.
9628 * socket/send.c: Likewise.
9629 * socket/sendto.c: Likewise.
9630 * socket/sys/socket.h: Likewise.
9631 * stdio-common/printf.h: Likewise.
9632 * stdlib/bits/stdlib.h: Likewise.
9633 * stdlib/fmtmsg.h: Likewise.
9634 * stdlib/monetary.h: Likewise.
9635 * stdlib/stdlib.h: Likewise.
9636 * stdlib/ucontext.h: Likewise.
9637 * streams/stropts.h: Likewise.
9638 * string/argz.h: Likewise.
9639 * string/bits/string2.h: Likewise.
9640 * string/string.h: Likewise.
9641 * string/strings.h: Likewise.
9642 * sunrpc/rpc/auth.h: Likewise.
9643 * sunrpc/rpc/auth_des.h: Likewise.
9644 * sunrpc/rpc/clnt.h: Likewise.
9645 * sunrpc/rpc/netdb.h: Likewise.
9646 * sunrpc/rpc/pmap_clnt.h: Likewise.
9647 * sunrpc/rpc/xdr.h: Likewise.
9648 * sysdeps/generic/inttypes.h: Likewise.
9649 * sysdeps/generic/net/if.h: Likewise.
9650 * sysdeps/generic/sys/swap.h: Likewise.
9651 * sysdeps/gnu/net/if.h: Likewise.
9652 * sysdeps/gnu/utmpx.h: Likewise.
9653 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9654 * sysdeps/i386/i486/bits/string.h: Likewise.
9655 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9656 * sysdeps/s390/bits/string.h: Likewise.
9657 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9658 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9659 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9660 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9661 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9662 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9663 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9664 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9665 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9666 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9667 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9668 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9669 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9670 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9671 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9672 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9673 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9674 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9675 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9676 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9677 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9678 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9679 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9680 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9681 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9682 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9683 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9684 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9685 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9686 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9687 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9688 * sysvipc/sys/ipc.h: Likewise.
9689 * sysvipc/sys/msg.h: Likewise.
9690 * sysvipc/sys/sem.h: Likewise.
9691 * sysvipc/sys/shm.h: Likewise.
9692 * termios/termios.h: Likewise.
9693 * time/sys/time.h: Likewise.
9694 * time/time.h: Likewise.
9695 * wcsmbs/bits/wchar2.h: Likewise.
9696 * wcsmbs/uchar.h: Likewise.
9697 * wcsmbs/wchar.h: Likewise.
9698 * wctype/wctype.h: Likewise.
9699
0269750c
UD
9700 [BZ #13551]
9701 * Makeconfig: Remove all but ELF support including AIX support.
9702 * Makerules: Likewise.
9703 * config.h.in: Likewise.
9704 * config.make.in: Likewise.
9705 * configure: Likewise.
9706 * configure.in: Likewise.
9707 * csu/Makefile: Likewise.
9708 * csu/version.c: Likewise.
9709 * debug/Makefile: Likewise.
9710 * dlfcn/Makefile: Likewise.
9711 * elf/Makefile: Likewise.
9712 * extra-lib.mk: Likewise.
9713 * iconv/Makefile: Likewise.
9714 * include/libc-symbols.h: Likewise.
9715 * include/shlib-compat.h: Likewise.
9716 * resolv/Makefile: Likewise.
9717 * resolv/res_libc.c: Likewise.
9718 * rt/Makefile: Likewise.
9719 * sysdeps/i386/asm-syntax.h: Likewise.
9720 * sysdeps/i386/sysdep.h: Likewise.
9721 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9722 * sysdeps/mach/sysdep.h: Likewise.
9723 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9724 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9725 * sysdeps/s390/asm-syntax.h: Likewise.
9726 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9727 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9728 * sysdeps/sh/sysdep.h: Likewise.
9729 * sysdeps/unix/sparc/sysdep.h: Likewise.
9730 * sysdeps/wordsize-32/divdi3.c: Likewise.
9731 * sysdeps/x86_64/sysdep.h: Likewise.
9732
00bbd29b
UD
9733 * argp/Versions: Remove _argp_unlock_xxx.
9734
9735 [BZ #13559]
9736 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9737 * abilist/libBrokenLocale.abilist: Likewise.
9738 * abilist/libanl.abilist: Likewise.
9739 * abilist/libc.abilist: Likewise.
9740 * abilist/libcrypt.abilist: Likewise.
9741 * abilist/libdl.abilist: Likewise.
9742 * abilist/libm.abilist: Likewise.
9743 * abilist/libnsl.abilist: Likewise.
9744 * abilist/libpthread.abilist: Likewise.
9745 * abilist/libresolv.abilist: Likewise.
9746 * abilist/librt.abilist: Likewise.
9747 * abilist/libthread_db.abilist: Likewise.
9748 * abilist/libutil.abilist: Likewise.
9749 * abilist/libnss_db.abilist: New file.
9750
9751 * scripts/abilist.awk: Add support for indirect functions.
9752
a2693a0e
UD
9753 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9754
3f05895f
UD
9755 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9756
ecb6fb48
UD
9757 * shlib-versions: Remove entries for ports architectures.
9758
664f8cb9
UD
9759 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9760 files in ports.
9761 * elf/stackguard-macros.h: Remove support for IA-64.
9762 * elf/tst-auditmod1.c: Likewise.
9763 * sysdeps/generic/ldsodefs.h: Likewise.
9764
7ae81d88
UD
9765 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9766 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9767 configure files.
9768
bdeba135
UD
9769 [BZ #13552]
9770 * configure.in: Remove --enable-omitfp support.
9771 * FAQ.in: Adjust.
9772 * config.make.in: Likewise.
9773 * Makeconfig: Likewise.
9774 * manual/install.texi: Likewise.
9775
d75a0a62
UD
9776 In case anyone cares, the IA-64 architecture could move to ports.
9777 * sysdeps/ia64/*: Removed.
9778 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9779 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9780
dcc9756b
UD
9781 [BZ #13555]
9782 * configure.in: Remove entries for unsupported architectures.
9783
d3761ebc 9784 [BZ #13533]
9954432e
UD
9785 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9786 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9787 routines.
9788 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9789 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9790 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9791 fall back to using wcrtomb.
9792 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9793 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9794 renaming.
9795 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9796 * wcsmbs/tst-c16c32-1.c: New file.
9797
9798 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9799 local variable.
9800
c3a87236
UD
9801 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9802
28926a1b
UD
9803 * elf/tst-unique3.cc: Add explicit declaration of gets.
9804 * elf/tst-unique3lib.cc: Likewise.
9805 * elf/tst-unique3lib2.cc: Likewise.
9806 * elf/tst-unique4.cc: Likewise.
9807
df78418a
UD
9808 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9809
8ecd6b2a
JM
98102012-01-06 Joseph Myers <joseph@codesourcery.com>
9811
9812 [BZ #13566]
9813 * assert/assert.h (static_assert): Don't define for C++.
9814 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9815 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9816
9f115170
UD
98172012-01-03 Ulrich Drepper <drepper@gmail.com>
9818
5e0d0300
UD
9819 * iconv/loop.c (single loop): Fix assertion in storing of
9820 remaining bytes.
9821
9f115170
UD
9822 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9823
81fb02b0
UD
98242012-01-01 Ulrich Drepper <drepper@gmail.com>
9825
9826 * posix/getconf.c: Update copyright year.
9827 * nss/getent.c: Likewise.
a316c1f6 9828 * nss/makedb.c: Likewise.
81fb02b0
UD
9829 * iconv/iconvconfig.c: Likewise.
9830 * iconv/iconv_prog.c: Likewise.
9831 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9832 * elf/pldd.c: Likewise.
9833 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9834 * catgets/gencat.c: Likewise.
9835 * csu/version.c: Likewise.
9836 * elf/ldd.bash.in: Likewise.
9837 * elf/sprof.c (print_version): Likewise.
9838 * locale/programs/locale.c: Likewise.
9839 * locale/programs/localedef.c: Likewise.
a316c1f6 9840 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9841 * nscd/nscd.c (print_version): Likewise.
9842 * debug/xtrace.sh: Likewise.
9843 * malloc/memusage.sh: Likewise.
9844 * malloc/mtrace.pl: Likewise.
9845 * debug/catchsegv.sh: Likewise.
9846
2ba92745
JJ
98472011-12-30 Jakub Jelinek <jakub@redhat.com>
9848
9849 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9850 pure attribute.
9851
dadebdae
UD
98522011-12-24 Ulrich Drepper <drepper@gmail.com>
9853
d3761ebc 9854 [BZ #13533]
db6af3eb
UD
9855 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9856 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9857 transformations.
9858 * iconv/gconv_int.h: Likewise.
9859 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9860 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9861 from libc for GLIBC_2.16.
9862 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9863 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9864 * wcsmbs/uchar.h: Really define mbstate_t.
9865 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9866 * wcsmbs/c16rtomb.c: New file.
9867 * wcsmbs/mbrtoc16.c: New file.
9868 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9869 for C/POSIX locale.
9870 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9871 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9872
dadebdae
UD
9873 * wcsmbs/wchar.h: Add missing __restrict.
9874
67371b56
UD
98752011-12-23 Ulrich Drepper <drepper@gmail.com>
9876
74033a25
UD
9877 [BZ #13532]
9878 * time/Makefile (routines): Add timespec_get.
9879 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9880 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9881 timespec for ISO C11.
9882 * time/timespec_get.c: New file.
9883 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9884 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9885
380d7e87
UD
9886 [BZ #13531]
9887 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9888 * stdlib/stdlib.h: Declare aligned_alloc.
9889 * Versions.def: Add GLIBC_2.16 for libc.
9890 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9891
4e9e7a35
UD
9892 [BZ 13527]
9893 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9894 ISO C11.
9895
380d7e87 9896 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9897 code.
9898
03a71829
UD
9899 [BZ #13528]
9900 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9901
839e283e
UD
9902 [BZ #13529]
9903 * assert/assert.h (static_assert): Define.
9904
ce5294e2 9905 * version.h: Update for 2.16 development version.
90fa7312 9906
8d44e150 9907 [BZ #13526]
d7809905
UD
9908 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9909 _ISOC11_SOURCE.
9910
c0da14cd
UD
9911 * version.h (RELEASE): Bump for 2.15 release.
9912 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9913
530a3249
MP
9914 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9915 Patch by Marek Polacek <mpolacek@redhat.com>.
9916
67371b56
UD
9917 * bits/byteswap.h: Protect long long constants with __extension__.
9918 * sysdeps/i386/bits/byteswap.h: Likewise.
9919 * sysdeps/ia64/bits/byteswap.h: Likewise.
9920 * sysdeps/s390/bits/byteswap.h: Likewise.
9921 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9922
15db4de1
LD
99232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9924
9925 [BZ #13540]
bbe315ea
LD
9926 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9927 destination buffer.
15db4de1
LD
9928 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9929
2b2596b1
MP
99302011-12-23 Marek Polacek <polacek@redhat.com>
9931
9932 * elf/dl-addr.c (determine_info): Add inline keyword.
9933 * elf/tst-auditmod4b.c (check_avx): Likewise.
9934 * elf/tst-auditmod6b.c (check_avx): Likewise.
9935 * elf/tst-auditmod6c.c (check_avx): Likewise.
9936 * elf/tst-auditmod7b.c (check_avx): Likewise.
9937
70c6c246
UD
99382011-12-23 Ulrich Drepper <drepper@gmail.com>
9939
9940 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9941 !__SSE_MATH__.
9942
c044cf14
LD
99432011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9944
15db4de1 9945 [BZ #13540]
c044cf14
LD
9946 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9947 processing for last bytes.
9948
6b13d9d9
BH
99492011-08-06 Bruno Haible <bruno@clisp.org>
9950
d455f537
BH
9951 [BZ #13061]
9952 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9953 U+0385, not to U+1FEE.
9954
6b13d9d9
BH
9955 [BZ #13062]
9956 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9957 entry for U+00A5 U+0301.
9958
db910efd
UD
99592011-12-22 Ulrich Drepper <drepper@gmail.com>
9960
27deeafc
UD
9961 [BZ #13166]
9962 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9963 buffer for the output is too small.
9964
aed9d171
UD
9965 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9966 optimization.
9967
db910efd
UD
9968 [BZ #13185]
9969 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9970 SSE flags if possible.
9971
2bd779ae
LD
99722011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9973
e7f9dac3 9974 [BZ #13540]
2bd779ae
LD
9975 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9976 processing for last bytes.
9977
154bfc16
JM
99782011-12-22 Joseph Myers <joseph@codesourcery.com>
9979
9980 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9981 (syscall-list-default-options, syscall-list-default-condition)
9982 (syscall-list-includes): Define.
9983 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9984 list of ABIs and options and #if conditions for each ABI. Do not
9985 handle common syscalls between ABIs specially.
9986 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9987 Remove.
9988 (syscall-list-variants, syscall-list-32bit-options)
9989 (syscall-list-32bit-condition, syscall-list-64bit-options)
9990 (syscall-list-64bit-condition): Define.
9991 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9992 (syscall-list-variants, syscall-list-32bit-options)
9993 (syscall-list-32bit-condition, syscall-list-64bit-options)
9994 (syscall-list-64bit-condition): Define.
9995 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9996 Remove.
9997 (syscall-list-variants, syscall-list-32bit-options)
9998 (syscall-list-32bit-condition, syscall-list-64bit-options)
9999 (syscall-list-64bit-condition): Define.
10000 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10001 Remove.
10002 (syscall-list-variants, syscall-list-32bit-options)
10003 (syscall-list-32bit-condition, syscall-list-64bit-options)
10004 (syscall-list-64bit-condition): Define.
10005
21eaf3a5
UD
100062011-12-22 Ulrich Drepper <drepper@gmail.com>
10007
16c6f992
UD
10008 * locale/iso-639.def: Add brx entry.
10009
41043168
UD
10010 [BZ #13328]
10011 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10012 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10013
21eaf3a5
UD
10014 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10015 __feraiseexcept_renamed.
10016
e3a851a2
UD
100172011-12-21 Ulrich Drepper <drepper@gmail.com>
10018
4920765e
UD
10019 [BZ #13538]
10020 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10021 EPOLLET with unsigned values.
10022 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10023 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10024
e3a851a2
UD
10025 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10026 to large cancellation.
10027 * math/s_cacoshf.c: Likewise.
10028 * math/s_cacoshl.c: Likewise.
10029
b27e24b8
RK
100302011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10031
10032 [BZ #13305]
aebefeee 10033 [BZ #12786]
b27e24b8
RK
10034 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10035 * math/s_cacoshf.c: Likewise.
10036 * math/s_cacoshl.c: Likewise.
10037
ee190f67
UD
100382011-12-21 Ulrich Drepper <drepper@gmail.com>
10039
10040 [BZ #13439]
10041 * iconv/gconv.h: Define __GCONV_SWAP.
10042 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10043 * iconvdata/utf-16.c: Likewise.
10044 * iconvdata/utf-32.c: Likewise.
10045
707f25df
AS
100462011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10047
10048 [BZ #13524]
10049 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10050 numerator after shifting it by one limb.
10051
d2daaa1e
RÁE
100522011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10053
10054 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10055 under [__USE_EXTERN_INLINES].
10056
a4647e72
UD
100572011-12-17 Ulrich Drepper <drepper@gmail.com>
10058
10059 [BZ #13446]
10060 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10061
f0b264f1
AZ
100622011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10063
10064 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10065 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10066 optimized code.
10067 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10068 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10069 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10070 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10071 for strncasecmp/strncasecmp_l compilation.
10072 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10073 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10074
8ef4f244
MP
100752011-12-08 Marek Polacek <mpolacek@redhat.com>
10076
10077 [BZ #13484]
10078 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10079 of __asm__.
10080
97ac2654
UD
100812011-12-17 Ulrich Drepper <drepper@gmail.com>
10082
10083 [BZ #13506]
10084 * time/tzfile.c (__tzfile_read): Check values from file header.
10085
91d2a845
WS
100862011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10087
10088 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10089 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10090 * powerpc/powerpc32/dl-start.S: Likewise.
10091 * powerpc/powerpc32/elf/start.S: Likewise.
10092 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10093 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10094 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10095 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10096 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10097 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10098 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10099 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10100 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10101 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10102 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10103 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10104 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10105 * powerpc/powerpc32/memset.S: Likewise.
10106 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10107 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10108 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10109 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10110 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10111 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10112 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10113 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10114 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10115 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10116 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10117 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10118 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10119
a1267ba1
AZ
101202011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10121
10122 * math/libm-test.inc: Added more nearbyint tests.
10123 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10124 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10125 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10126 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10127
ad8ac1bd
RL
101282011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10129
10130 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10131 FD_CLOEXEC.
10132
1d3e4b61
UD
101332011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10134
10135 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10136 Add wcscpy-ssse3 wcscpy-c.
10137 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10138 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10139 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10140 * sysdeps/x86_64/wcschr.S: New file.
10141 * sysdeps/x86_64/wcsrchr.S: New file.
10142 * string/test-strcmp.c: Remove checking of wcscmp function for
10143 wrong alignments.
10144 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10145 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10146 wcsrchr-sse2 wcsrchr-c.
10147 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10148 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10149 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10150 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10151 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10152 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10153 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10154 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10155 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10156 * wcsmbc/wcschr.c (WCSCHR): New macro.
10157
5b330a2d
UD
101582011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10159
10160 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10161 * wcsmbs/test-wcsrchr.c: New file.
10162 * string/test-strrchr.c: Add wcsrchr support.
10163 (WIDE): New macro.
10164 * wcsmbs/test-wcscpy.c: New file.
10165 * string/test-strcpy.c: Add wcscpy support.
10166 (WIDE): New macro.
26428b7c 10167
f039c043
UD
101682011-12-10 Ulrich Drepper <drepper@gmail.com>
10169
10170 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10171 the inner loop.
10172
850fb039
AS
101732011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10174
10175 [BZ #13472]
10176 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10177
4efbd5cb
UD
101782011-12-04 Ulrich Drepper <drepper@gmail.com>
10179
52ff5dd0 10180 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10181 Minor optimizations.
52ff5dd0 10182
4efbd5cb
UD
10183 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10184 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10185 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10186
8a426e12
UD
101872011-12-03 Ulrich Drepper <drepper@gmail.com>
10188
aff2453d
UD
10189 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10190 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10191 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10192 for gcc to avoid warnings.
10193 * inet/Makefile (tests): Add tst-checks.
10194 * inet/tst-checks.c: New file.
10195
10196 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10197 warning.
10198
10199 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10200 __wmemcmp_sse2.
10201
10202 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10203 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10204
8a426e12
UD
10205 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10206
9bea3473
UD
102072011-12-02 Ulrich Drepper <drepper@gmail.com>
10208
3a965496
UD
10209 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10210 problem.
10211
9bea3473
UD
10212 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10213
f101631b
UD
102142011-11-29 Joseph Myers <joseph@codesourcery.com>
10215
10216 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10217 conditional on GCC version.
10218 (__arch_compare_and_exchange_val_8_acq)
10219 (__arch_compare_and_exchange_val_16_acq)
10220 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10221 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10222 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10223
a98275aa
UD
102242011-12-02 Joseph Myers <joseph@codesourcery.com>
10225
10226 * sysdeps/sh/backtrace.c: New file.
10227
d4cc29a2
AS
102282011-12-02 Andreas Schwab <schwab@redhat.com>
10229
10230 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10231 parenthesis.
10232
6257af2d
AS
102332011-12-01 Andreas Schwab <schwab@redhat.com>
10234
10235 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10236 falling back to utime.
10237
b5f44c1a
AS
102382011-11-30 Andreas Schwab <schwab@redhat.com>
10239
10240 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10241 expectations for float.
10242
f3a6cc0a
AS
102432011-11-29 Andreas Schwab <schwab@redhat.com>
10244
10245 * locale/weight.h (findidx): Add parameter len.
10246 * locale/weightwc.h (findidx): Likewise.
10247 * posix/fnmatch_loop.c (FCT): Adjust caller.
10248 * posix/regcomp.c (build_equiv_class): Likewise.
10249 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10250 * posix/regexec.c (check_node_accept_bytes): Likewise.
10251 * string/strcoll_l.c (STRCOLL): Likewise.
10252 * string/strxfrm_l.c (STRXFRM): Likewise.
10253
9d65ea3a
UD
102542011-11-17 Ulrich Drepper <drepper@gmail.com>
10255
10256 * Makefile.in: Remove CVSOPT handling.
10257 * configure.in: Remove use of AC_REVISION.
10258 * iconvdata/Makefile (distribute): No need to filter out CVS.
10259 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10260 handling.
10261
5583a086
AS
102622011-11-16 Andreas Schwab <schwab@redhat.com>
10263
10264 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10265 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10266 [USE_AS_STRNCASECMP_L]: Likewise.
10267 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10268 NO_TLS_DIRECT_SEG_REFS.
10269 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10270 Fix argument offsets for non-PIC.
10271 [USE_AS_STRNCASECMP_L]: Likewise.
10272 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10273 NO_TLS_DIRECT_SEG_REFS.
10274
d62a8200
UD
102752011-11-15 Ulrich Drepper <drepper@gmail.com>
10276
9d65ea3a 10277 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10278 O_CLOEXEC.
10279 * locale/loadlocale.c (_nl_load_locale): Likewise.
10280
09f93bd3
AS
102812011-11-15 Andreas Schwab <schwab@redhat.com>
10282
446514f9
AS
10283 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10284 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10285 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10286 (SYSCALL_GETTIME): Set errno on error.
10287
09f93bd3
AS
10288 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10289 count references to noai6ai_cached.
10290
312be3f9
UD
102912011-11-15 Ulrich Drepper <drepper@gmail.com>
10292
10293 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10294
10295 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10296 FD_CLOEXEC for /proc/self/maps.
10297
10298 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10299 FD_CLOEXEC for /proc/meminfo.
10300
10301 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10302 gai.conf.
10303
10304 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10305 FD_CLOEXEC for given file.
10306
10307 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10308
10309 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10310 FD_CLOEXEC for /etc/hosts.
10311 (_gethtent): Likewise.
10312
10313 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10314
10315 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10316 cancellation and set FD_CLOEXEC for /etc/netgroup.
10317
10318 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10319 reading /etc/publickey.
10320
10321 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10322 allow cancellation when reading /etc/group.
10323
10324 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10325 cancellation.
10326 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10327
10328 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10329 when using data file.
10330
10331 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10332
10333 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10334 (write_nis_obj): Use "c" and "e" in fopen.
10335
10336 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10337
10338 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10339
10340 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10341
10342 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10343
10344 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10345 locale.alias.
10346
10347 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10348
10349 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10350
10351 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10352
10353 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10354 file parsing and set FD_CLOEXEC.
10355
82af0fa8
UD
103562011-11-14 Ulrich Drepper <drepper@gmail.com>
10357
10358 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10359
a5fb313c
AS
103602011-11-14 Andreas Schwab <schwab@redhat.com>
10361
10362 * malloc/arena.c (arena_get2): Don't call reused_arena when
10363 _int_new_arena failed.
10364
6abf3465
UD
103652011-11-14 Ulrich Drepper <drepper@gmail.com>
10366
10367 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10368 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10369 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10370 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10371 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10372 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10373 to compile strcasecmp and strncasecmp.
10374 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10375 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10376
10377 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10378
76e3966e
UD
103792011-11-13 Ulrich Drepper <drepper@gmail.com>
10380
10381 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10382 locale-defines.sym to gen-as-const-headers.
10383 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10384 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10385 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10386 to compile strcasecmp and strncasecmp.
10387 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10388 strcasecmp_l and strncasecmp_l.
10389 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10390 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10391 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10392 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10393 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10394 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10395 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10396 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10397 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10398 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10399 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10400
ab26144e
UD
104012011-11-12 Ulrich Drepper <drepper@gmail.com>
10402
7edb22ef
UD
10403 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10404 result of SYSDEP_GETTIME_CPU to retval.
10405 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10406 parameter list to macro. Remove trailing semicolon. Adjust users.
10407
9694fc44
UD
10408 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10409 variable.
10410
8ad89ef8
UD
10411 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10412 mantissa words.
10413 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10414
0c822ef9
UD
10415 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10416 from unused variable.
10417
874e0564
UD
10418 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10419 DWARF definitions.
10420 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10421 for assembling.
10422
3a2edc79
UD
10423 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10424 over namespaces.
10425
f3c2577f
UD
10426 * sunrpc/rpc_prot.c (rejected): Fix case value.
10427
294ce126
UD
10428 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10429 unsigned long long int to avoid warnings in shift.
10430
5e2b63c6
UD
10431 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10432 of use of trans.
10433 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10434 variable tmp.
10435
e7f4b08e
UD
10436 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10437 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10438 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10439
ab26144e
UD
10440 * nis/nis_table.c (nis_list): Use variable of correct type for
10441 result of __follow_path call.
10442
8a6d5255
AZ
104432011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10444
10445 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10446 of math functions ceil, trunc, floor, round, and sqrt, when
10447 avaliable on the platform.
10448 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10449 name clash.
10450 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10451 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10452 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10453
aaddc98c
MP
104542011-10-30 Marek Polacek <mpolacek@redhat.com>
10455
10456 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10457 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10458
95b7042b
RM
104592011-11-11 Roland McGrath <roland@hack.frob.com>
10460
10461 * include/unistd.h: Fix __readlink return type.
10462 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10463
57769839
UD
104642011-11-11 Ulrich Drepper <drepper@gmail.com>
10465
10466 * stdlib/ucontext.h: Undo last change for makecontext.
10467
edc5984d
AS
104682011-11-11 Andreas Schwab <schwab@redhat.com>
10469
98591e58
AS
10470 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10471
edc5984d
AS
10472 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10473 * setjmp/setjmp.h: Mark functions as non-leaf.
10474 * setjmp/bits/setjmp2.h: Likewise.
10475 * stdlib/ucontext.h: Likewise.
10476
77cdc054
AS
104772011-11-10 Andreas Schwab <schwab@redhat.com>
10478
10479 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10480 (reused_arena): Don't check arena limit.
10481 (arena_get2): Atomically check arena limit.
10482
fe72eebd
UD
104832011-11-08 Ulrich Drepper <drepper@gmail.com>
10484
5f078c32
UD
10485 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10486 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10487
fe72eebd
UD
10488 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10489 instructions.
10490
ae1bc2fa
AS
104912011-11-07 Andreas Schwab <schwab@redhat.com>
10492
7583a88d
AS
10493 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10494 handler when locking.
10495
ae1bc2fa
AS
10496 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10497 Fix size of allocated buffer.
10498
10fb0bfa
AS
104992011-11-04 Andreas Schwab <schwab@redhat.com>
10500
998832a4
AS
10501 [BZ #10103]
10502 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10503 declarations for long double functions.
10504 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10505
10fb0bfa
AS
10506 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10507
3d7ba52b
AS
105082011-11-03 Andreas Schwab <schwab@redhat.com>
10509
a9ae54a1
AS
10510 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10511 installed.
10512
3d7ba52b
AS
10513 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10514 is disabled.
10515
bc8db248
ST
105162011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10517
10518 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10519
45b96dd6
AS
105202011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10521
647776f6
AS
10522 * include/alloca.h (stackinfo_alloca_round): Define.
10523 (extend_alloca): Use it.
10524 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10525 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10526 here.
10527
d91a8b93
AS
10528 * scripts/check-local-headers.sh: Ignore libaudit.h.
10529
45b96dd6
AS
10530 * nscd/Makefile (extra-objs): Make recursively expanded.
10531
432d41ce
UD
105322011-11-01 Ulrich Drepper <drepper@gmail.com>
10533
34372fc6
UD
10534 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10535 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10536
fadb59f8
UD
10537 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10538 * posix/tst-rfc3484-2.c: Likewise.
10539 * posix/tst-rfc3484-3.c: Likewise.
10540
78239589
UD
10541 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10542 process_vm_writev.
10543 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10544 process_vm_writev.
10545 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10546 process_vm_writev from libc using GLIBC_2.15 version.
10547
432d41ce
UD
10548 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10549
02f9c6cf
PP
105502011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10551
10552 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10553 stack usage.
10554
3a2c0242
UD
105552011-10-31 Ulrich Drepper <drepper@gmail.com>
10556
f4ec4833
UD
10557 [BZ #13367]
10558 * nss/getent.c (initgroups_keys): Show error message in case no group
10559 names are given.
10560
3a2c0242
UD
10561 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10562 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10563 __bump_nl_timestamp.
10564 * nscd/connections (nscd_init): When host database is served open
10565 netlink socket and request notification about configuration changes.
10566 (main_loop_poll): Track netlink file descriptor and bump timestamp
10567 in case data becomes available.
10568 (main_loop_epoll): Likewise.
10569 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10570 (database_pers_head): Add extra_data fileds.
10571 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10572 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10573 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10574 Adjust caller.
10575 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10576 in6ai data, call __free_in6ai.
10577 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10578 Add -DHAVE_NETLINK.
10579 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10580 interface information. Reuse previous data if netlink timestamp
10581 is not changed.
10582 (__bump_nl_timestamp): New function.
10583 (__free_in6ai): New function.
10584
636064eb
UD
105852011-10-30 Ulrich Drepper <drepper@gmail.com>
10586
10587 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10588 close_not_cancel_no_status here.
10589 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10590
9beb2334
UD
105912011-10-29 Ulrich Drepper <drepper@gmail.com>
10592
6ef76f3b
UD
10593 [BZ #13276]
10594 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10595 return value.
10596
0ffc4f3e 10597 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10598 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10599 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10600
cb95113e
UD
106012011-07-03 Andreas Jaeger <aj@suse.de>
10602
10603 [BZ #10709]
10604 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10605 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10606 * math/libm-test.inc (sin_test): Add test case.
10607
a1b560ff
UD
106082011-10-29 Ulrich Drepper <drepper@gmail.com>
10609
c9aaface
UD
10610 [BZ #13337]
10611 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10612 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10613
d272e7f1
UD
10614 * elf/chroot_canon.c (chroot_canon): Cleanups.
10615
1bc33071
UD
10616 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10617
1760874d
TJ
10618 [BZ #13335]
10619 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10620 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10621
51d91b18
UD
10622 * string/test-strchr.c: Make usable for strchrnul testing.
10623 * string/test-strchrnul.c: New file.
10624 * string/Makefile (strop-tests): Add strchrnul.
10625
a1b560ff 10626 * po/it.po: Update from translation team.
b611fb81 10627 * po/es.po: Likewise.
a1b560ff 10628
a5b81e1f
UD
106292011-10-28 Ulrich Drepper <drepper@gmail.com>
10630
fd52bc6d
UD
10631 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10632 the three constants needed as parameters. Drop the others.
10633 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10634 __m128i_strloadu_tolower.
52e4b9eb
UD
10635 Create and initialize variable zero and use it in all the places
10636 where _mm_setzero_si128 was used.
fd52bc6d 10637
a5b81e1f
UD
10638 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10639 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10640 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10641 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10642 anymore.
10643 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10644 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10645 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10646 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10647 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10648 __mpranred, __mptan.
10649 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10650 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10651 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10652 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10653 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10654 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10655 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10656 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10657 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10658
b4343346
AS
106592011-10-28 Andreas Schwab <schwab@redhat.com>
10660
0c92d8a8
AS
10661 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10662 redefine if SHARED.
10663 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10664
b4343346
AS
10665 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10666 wide char related routines to wcsmbs subdir.
10667
3871f58f
AS
106682011-10-27 Andreas Schwab <schwab@redhat.com>
10669
10670 [BZ #13344]
10671 * misc/sys/cdefs.h (__THROWNL): Define.
10672 * posix/unistd.h: Use __THREADNL instead of __THREAD
10673 for memory synchronization functions.
10674
94d44d9f
RM
106752011-10-26 Roland McGrath <roland@hack.frob.com>
10676
21b64b15 10677 [BZ #13349]
94d44d9f
RM
10678 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10679 doesn't exist.
10680 * manual/stdio.texi (Obstack Streams): Node removed.
10681
f6ce9294
AS
106822011-10-26 Andreas Schwab <schwab@redhat.com>
10683
80479147
AS
10684 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10685 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10686 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10687
f6ce9294
AS
10688 * math/math_private.h (math_force_eval): Allow non-addressable
10689 arguments.
10690 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10691
618280a1
UD
106922011-10-25 Ulrich Drepper <drepper@gmail.com>
10693
e0016b11
UD
10694 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10695 file is not needed.
10696
10697 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10698 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10699 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10700 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10701 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10702 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10703 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10704 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10705 Add AVX variants.
10706 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10707 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10708 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10709 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10710 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10711 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10712 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10713 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10714 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10715 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10716 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10717 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10718 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10719 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10720 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10721 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10722 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10723 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10724 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10725
10726 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10727 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10728
618280a1
UD
10729 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10730 place. Use VEX encoding when compiling for AVX.
10731
37822576
AS
107322011-10-25 Andreas Schwab <schwab@redhat.com>
10733
1f1e1947
AS
10734 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10735 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10736
37822576
AS
10737 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10738
31ea014d
UD
107392011-10-25 Ulrich Drepper <drepper@gmail.com>
10740
d7826aa1 10741 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10742 useless if() expression.
d7826aa1
UD
10743 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10744 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10745 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10746 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10747 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10748 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10749 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10750 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10751 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10752 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10753 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10754 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10755 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10756 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10757 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10758 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10759 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10760 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10761 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10762
31ea014d
UD
10763 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10764
16437fec
AS
107652011-10-25 Andreas Schwab <schwab@redhat.com>
10766
10767 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10768 condition.
10769 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10770
31d3cc00
UD
107712011-10-25 Ulrich Drepper <drepper@gmail.com>
10772
10773 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10774 .text section. Avoid duplicate constants.
10775 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10776 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10777 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10778 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10779 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10780 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10781 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10782 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10783 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10784 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10785 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10786 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10787 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10788 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10789 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10790 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10791 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10792 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10793 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10794 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10795 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10796 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10797 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10798 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10799 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10800 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10801 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10802 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10803 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10804 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10805 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10806 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10807 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10808 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10809 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10810 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10811 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10812 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10813 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10814 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10815 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10816 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10817 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10818 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10819 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10820
58985aa9
UD
108212011-10-24 Ulrich Drepper <drepper@gmail.com>
10822
202c9deb
UD
10823 * sysdeps/x86_64/dla.h: Move to ...
10824 * sysdeps/x86_64/fpu/dla.h: ...here.
10825 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10826 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10827
af968f62
UD
10828 * config.make.in: Add have-mfma4 entry.
10829 * configure.in: Substitute libc_cv_cc_fma4.
10830 * math/Makefile (dbl-only-routines): Add sincostab.
10831 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10832 Use __sincostab not sincos.
10833 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10834 name is a macro.
10835 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10836 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10837 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10838 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10839 using __copysign.
10840 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10841 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10842 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10843 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10844 and __inv.
10845 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10846 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10847 __copysign.
10848 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10849 define aliases when function name is a macro.
10850 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10851 sysdeps/ieee754/dbl-64/sincos.tbl.
10852 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10853 fma4-enabled routines.
10854 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10855 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10856 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10857 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10858 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10859 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10860 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10861 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10862 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10863 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10864 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10865 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10866 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10867 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10868 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10869 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10870 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10871 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10872 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10873 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10874 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10875 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10876 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10877 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10878 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10879 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10880 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10881 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10882 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10883 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10884
58985aa9
UD
10885 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10886 rename.
10887 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10888 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10889 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10890 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10891 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10892 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10893 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10894 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10895
a201fbcf
AS
108962011-10-24 Andreas Schwab <schwab@redhat.com>
10897
10898 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10899
fc2ee42a
LD
109002011-10-23 Ulrich Drepper <drepper@gmail.com>
10901
bb3129bd
UD
10902 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10903
0275fff8
UD
10904 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10905 prediction.
10906 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10907
2fa2ae85
UD
10908 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10909 Remove unused variable magic_bits.
10910 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10911
fc2ee42a
LD
10912 * string/strnlen.c: Define and use STRNLEN macro.
10913 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10914 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10915 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10916 * wcsmbs/wcslen.c: Define and use WCSLEN.
10917 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10918 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10919 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10920 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10921 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10922 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10923 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10924
ce7dd29f
LD
109252011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10926
10927 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10928 strnlen-sse2-no-bsf.
10929 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10930 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10931 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10932 Add strnlen support.
10933 (USE_AS_STRNLEN): New macro.
10934 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10935 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10936 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10937 * sysdeps/x86_64/wcslen.S: New file.
10938
979c70a3
MZ
109392011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10940
10941 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10942 XMM-moves are used for copying on small sizes.
10943
2d09f82f
LD
109442011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10945
10946 * wcsmbs/Makefile (strop-tests): Add wcschr.
10947 * wcsmbs/test-wcschr.c: New file.
10948 * string/test-strchr.c: Update.
10949 Add wcschr support.
10950 (WIDE): New macro.
10951
619fccca
LD
109522011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10953
2d09f82f 10954 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10955 * wcsmbs/test-wcslen.c: New file.
10956 * string/test-strlen.c: Update.
10957 Add wcslen support.
10958 (WIDE): New macro.
10959
09f699ea
UD
109602011-10-23 Ulrich Drepper <drepper@gmail.com>
10961
10962 * po/it.po: Update from translation team.
10963
95584d3b
LD
109642011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10965
10966 * sysdeps/x86_64/wcscmp.S: Update.
10967 Fix wrong comparison semantics.
10968 wcscmp shall use signed comparison not unsigned.
10969 Don't use substraction to avoid overflow bug.
10970 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10971 * wcsmbc/wcscmp.c: Likewise.
10972 * string/test-strcmp.c: Likewise.
10973 Add new tests to check cases with negative values.
10974
c8b3296b
UD
109752011-10-23 Ulrich Drepper <drepper@gmail.com>
10976
10977 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10978 * sysdeps/x86_64/dla.h: ...here. New file.
10979 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10980 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10981 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10982 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10983 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10984 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10985 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10986 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10987 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10988
246ad57a
AS
109892011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10990
10991 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10992 __ynl_finite aliases.
10993
a1a87169
UD
109942011-10-22 Ulrich Drepper <drepper@gmail.com>
10995
0d355eb7
UD
10996 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10997
a1a87169
UD
10998 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10999 define DLA_FMA.
11000 [DLA_FMA] (EMULV): Use DLA_FMA.
11001 [DLA_FMA] (MUL12): Use EMULV.
11002 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11003 that are not needed.
11004 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11005 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11006 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11007 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11008 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11009 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11010 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11011
ee2aafe0
AS
110122011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11013
11014 * math/s_nan.c: Undef __nan.
11015 * math/s_nanf.c: Undef __nanf.
11016 * math/s_nanl.c: Undef __nanl.
11017 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11018 "math_private.h".
11019
bc62c2fb
UD
110202011-10-22 Ulrich Drepper <drepper@gmail.com>
11021
77425c63
UD
11022 * math/s_catan.c: Add branch predictions.
11023 * math/s_catanf.c: Likewise.
11024 * math/s_catanh.c: Likewise.
11025 * math/s_catanhf.c: Likewise.
11026 * math/s_catanhl.c: Likewise.
11027 * math/s_catanl.c: Likewise.
11028 * math/s_cexp.c: Likewise.
11029 * math/s_cexpf.c: Likewise.
11030 * math/s_cexpl.c: Likewise.
11031 * math/s_clog.c: Likewise.
11032 * math/s_clog10.c: Likewise.
11033 * math/s_clog10f.c: Likewise.
11034 * math/s_clog10l.c: Likewise.
11035 * math/s_clogf.c: Likewise.
11036 * math/s_clogl.c: Likewise.
11037 * math/s_csqrt.c: Likewise.
11038 * math/s_csqrtf.c: Likewise.
11039 * math/s_csqrtl.c: Likewise.
11040 * math/s_ctanf.c: Likewise.
11041 * math/s_ctanh.c: Likewise.
11042 * math/s_ctanhf.c: Likewise.
11043 * math/s_ctanhl.c: Likewise.
11044 * math/s_ctanl.c: Likewise.
11045
bc62c2fb
UD
11046 * math/math_private.h: Define __nan, __nanf, __nanl.
11047 * math/s_cacosh.c: Include <math_private.h>.
11048 * math/s_cacoshl.c: Likewise.
11049 * math/s_casinh.c: Likewise.
11050 * math/s_casinhf.c: Likewise.
11051 * math/s_casinhl.c: Likewise.
11052 * math/s_ccos.c: Rely entire on ccosh.
11053 * math/s_ccosf.c: Rely entire on ccoshf.
11054 * math/s_ccosl.c: Rely entirely on ccoshl.
11055 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11056 Remove tests for FE_INVALID.
11057 * math/s_ccoshf.c: Likewise.
11058 * math/s_ccoshl.c: Likewise.
11059 * math/s_csin.c: Likewise.
11060 * math/s_csinf.c: Likewise.
11061 * math/s_csinh.c Likewise.
11062 * math/s_csinhf.c: Likewise.
11063 * math/s_csinhl.c: Likewise.
11064 * math/s_csinl.c: Likewise.
11065 * math/s_ctan.c: Likewise.
11066 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11067 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11068 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11069
8ec250a4
UD
110702011-10-21 Ulrich Drepper <drepper@gmail.com>
11071
c196fed8
UD
11072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11073 compilation problems.
11074
8ec250a4
UD
11075 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11076 __builtin_expect.
11077
8d4f46c6
UD
110782011-10-20 Ulrich Drepper <drepper@gmail.com>
11079
ed72b654
UD
11080 * sysdeps/i386/configure.in: Test for -mfma4 option.
11081 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11082 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11083 COMMON_CPUID_INDEX_80000001.
11084 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11085 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11086 use it if FMA3 is not supported.
11087 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11088
8d4f46c6
UD
11089 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11090 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11091
d45c60c2
AS
110922011-10-20 Andreas Schwab <schwab@redhat.com>
11093
11094 [BZ #12892]
11095 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11096 it would create a cycle with a link time dependency.
11097
d9a4d2ab
UD
110982011-10-19 Ulrich Drepper <drepper@gmail.com>
11099
855d1560
UD
11100 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11101 instruction.
11102 * string/Makefile (strop-tests): Add rawmemchr.
11103 * string/test-rawmemchr.c: New file.
11104
d9a4d2ab
UD
11105 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11106 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11107 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11108 when compiling str{,n}casecmp and when AVX is available. Hook up
11109 new optimized code in initializers.
11110
8f3b1ffe
AS
111112011-10-19 Andreas Schwab <schwab@redhat.com>
11112
11113 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11114 __feraiseexcept instead of feraiseexcept.
11115
d38f1dba
UD
111162011-10-18 Ulrich Drepper <drepper@gmail.com>
11117
d9a8d0ab
UD
11118 * math/math_private.h: Define defaults for libc_fetestexcept and
11119 libc_feupdateenv.
11120 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11121 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11122 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11123 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11124 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11125 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11126 libc_fetestexcept and libc_feupdateenv.
11127
4855e3dd
UD
11128 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11129 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11130 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11131 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11132 libc_feholdexcept_setround.
11133
581d30e3
UD
11134 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11135 Add s_nearbyint-c and s_nearbyintf-c.
11136 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11137 nearbyintf inlines.
11138 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11139 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11140 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11141 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11142
d38f1dba
UD
11143 * math/math_private.h: Define defaults for libc_fegetround,
11144 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11145 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11146 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11147 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11148 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11149 standard functions.
11150 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11151 Remove comments and hacks for old compiler versions.
11152 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11153 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11154 libc_feholdexceptl.
11155
caa6c9d8
AS
111562011-10-18 Andreas Schwab <schwab@redhat.com>
11157
11158 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11159 (__feraiseexcept_renamed): Add __NTH.
11160 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11161 namespace violations.
11162
97c066e6
UD
111632011-10-17 Ulrich Drepper <drepper@gmail.com>
11164
99ce7b04
UD
11165 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11166
1004d182
UD
11167 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11168
228a984d
UD
11169 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11170 recently added interfaces.
11171 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11172
c8553a6a
UD
11173 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11174 about macro parameter expansion.
11175
ed22dcf6
UD
11176 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11177 __NO_MATH_INLINES is defined. Cleanups.
11178
11179 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11180 and __floorf is target has SSE4.1.
11181 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11182 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11183 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11184 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11185
b171c137
UD
11186 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11187 name.
11188 (floorf): Likewise.
11189
97c066e6
UD
11190 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11191
629f62ef
AS
111922011-10-17 Andreas Schwab <schwab@redhat.com>
11193
49a43d80
AS
11194 * misc/sys/cdefs.h: Fix last change.
11195
629f62ef
AS
11196 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11197 database lookup.
11198
e453f6cd
UD
111992011-10-16 Ulrich Drepper <drepper@gmail.com>
11200
aa78043a
UD
11201 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11202
ad0f5cad
UD
11203 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11204 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11205 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11206 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11207 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11208 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11209 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11210 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11211 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11212 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11213 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11214 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11215 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11216 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11217 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11218 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11219 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11220 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11221 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11222 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11223 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11224 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11225
11226 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11227 ceil, ceilf, floor, floorf.
11228
11229 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11230 Perform IRELATIVE relocations last.
11231
e453f6cd
UD
11232 * elf/do-rel.h: Add another parameter nrelative, replacing the
11233 local variable with the same name. Change name of the function
11234 to end in Rel or Rela (uppercase).
11235 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11236 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11237 elf_dynamic_do_##reloc function.
11238
fd5bdc09
UD
112392011-10-15 Ulrich Drepper <drepper@gmail.com>
11240
79b195b5
UD
11241 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11242 is sufficient, at least on modern CPUs.
11243
d4a28569
UD
11244 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11245
b61099b5
UD
11246 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11247 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11248
bcf01e6d
UD
11249 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11250 __expl_finite.
11251 * math/bits/math-finite.h: Add entries for exp.
11252 * math/e_expl.c: Add __*_finite alias.
11253 * sysdeps/i386/fpu/e_exp.S: Likewise.
11254 * sysdeps/i386/fpu/e_expf.S: Likewise.
11255 * sysdeps/i386/fpu/e_expl.c: Likewise.
11256 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11257 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11258 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11259 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11260 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11261 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11262 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11263
ba1a0d59
UD
11264 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11265 is sufficient, at least on modern CPUs.
11266
fd5bdc09
UD
11267 * ctype/ctype-info.c (__ctype_init): Define.
11268 * include/ctype.h (__ctype_init): Declare.
11269 (__ctype_b_loc): The variable is always initialized.
11270 (__ctype_toupper_loc): Likewise.
11271 (__ctype_tolower_loc): Likewise.
11272 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11273 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11274
7872cfb0
AS
112752011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11276
b468825a
AS
11277 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11278
7872cfb0
AS
11279 * configure.in: Also look in $cxxmachine/include for C++ system
11280 headers.
11281
be13f7bf
LD
112822011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11283
11284 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11285 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11286 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11287 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11288 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11289 (USE_AS_WMEMCMP): New macro.
11290 Fixing indents.
11291 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11292 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11293 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11294 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11295 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11296 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11297 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11298 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11299 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11300 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11301 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11302 (USE_AS_WMEMCMP): New macro.
11303 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11304 * sysdeps/string/test-memcmp.c: Update.
11305 Fix simple_wmemcmp.
11306 Add new tests.
11307 * wcsmbs/wmemcmp.c: Update.
11308 (WMEMCMP): New macro.
11309 Fix overflow bug.
11310
556a2007
AJ
113112011-10-12 Andreas Jaeger <aj@suse.de>
11312
11313 [BZ #13268]
11314 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11315
538faaa7
UD
113162011-10-15 Ulrich Drepper <drepper@gmail.com>
11317
ab6737ff
UD
11318 * libio/iofwide.c (do_length): Avoid warning.
11319
538faaa7
UD
11320 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11321
396a21b1
UD
113222011-10-14 Ulrich Drepper <drepper@gmail.com>
11323
cdf2901f
UD
11324 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11325
38ad40ce
UD
11326 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11327 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11328 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11329 * sysdeps/i386/i686/fpu/e_log.S: New file.
11330 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11331 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11332
396a21b1
UD
11333 * ctype/ctype.h: Add support for inlined isXXX functions when
11334 compiling C++ code.
11335
6b1f68c9
AS
113362011-10-14 Andreas Schwab <schwab@redhat.com>
11337
349290c0
AS
11338 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11339
6b1f68c9
AS
11340 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11341
f2282d42
RM
113422011-10-13 Roland McGrath <roland@hack.frob.com>
11343
11344 [BZ #13291]
11345 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11346
5298ffa8
AS
113472011-10-13 Andreas Schwab <schwab@redhat.com>
11348
714fad23
AS
11349 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11350 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11351 feraiseexcept.
11352
81dcc7fb
AS
11353 * sysdeps/x86_64/memrchr.S: Check for zero size.
11354
5298ffa8
AS
11355 * string/stratcliff.c: Add memrchr tests.
11356
951fbcec
LD
113572011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11358
11359 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11360 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11361 rawmemchr-sse2 rawmemchr-sse2-bsf.
11362 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11363 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11364 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11365 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11366 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11367 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11368 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11369 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11370 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11371 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11372 * string/memrchr.c (MEMRCHR): New macro.
11373
0ac5ae23
UD
113742011-10-12 Ulrich Drepper <drepper@gmail.com>
11375
11376 Add integration with gcc's -ffinite-math-only and optimize wrapper
11377 functions in libm.
11378 * Versions.def: Define GLIBC_2.15 version for libm.
11379 * math/Makefile (headers): Add bits/math-finite.h.
11380 * math/bits/math-finite.h: New file.
11381 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11382 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11383 * math/e_acoshl.c: Add __*_finite alias.
11384 * math/e_acosl.c: Likewise.
11385 * math/e_asinl.c: Likewise.
11386 * math/e_atan2l.c: Likewise.
11387 * math/e_atanhl.c: Likewise.
11388 * math/e_coshl.c: Likewise.
11389 * math/e_exp10.c: Likewise.
11390 * math/e_exp10f.c: Likewise.
11391 * math/e_exp10l.c: Likewise.
11392 * math/e_exp2l.c: Likewise.
11393 * math/e_fmodl.c: Likewise.
11394 * math/e_gammal_r.c: Likewise.
11395 * math/e_hypotl.c: Likewise.
11396 * math/e_j0l.c: Likewise.
11397 * math/e_j1l.c: Likewise.
11398 * math/e_jnl.c: Likewise.
11399 * math/e_lgammal_r.c: Likewise.
11400 * math/e_log10l.c: Likewise.
11401 * math/e_log2l.c: Likewise.
11402 * math/e_logl.c: Likewise.
11403 * math/e_powl.c: Likewise.
11404 * math/e_sinhl.c: Likewise.
11405 * math/e_sqrtl.c: Likewise.
11406 * math/e_scalb.c: Completely rewritten and optimized.
11407 * math/e_scalbf.c: Likewise.
11408 * math/e_scalbl.c: Likewise.
11409 * math/w_acos.c: Likewise.
11410 * math/w_acosf.c: Likewise.
11411 * math/w_acosl.c: Likewise.
11412 * math/w_acosh.c: Likewise.
11413 * math/w_acoshf.c: Likewise.
11414 * math/w_acoshl.c: Likewise.
11415 * math/w_asin.c: Likewise.
11416 * math/w_asinf.c: Likewise.
11417 * math/w_asinl.c: Likewise.
11418 * math/w_atan2.c: Likewise.
11419 * math/w_atan2f.c: Likewise.
11420 * math/w_atan2l.c: Likewise.
11421 * math/w_atanh.c: Likewise.
11422 * math/w_atanhf.c: Likewise.
11423 * math/w_atanhl.c: Likewise.
11424 * math/w_exp10.c: Likewise.
11425 * math/w_exp10f.c: Likewise.
11426 * math/w_exp10l.c: Likewise.
11427 * math/w_fmod.c: Likewise.
11428 * math/w_fmodf.c: Likewise.
11429 * math/w_fmodl.c: Likewise.
11430 * math/w_j0.c: Likewise.
11431 * math/w_j0f.c: Likewise.
11432 * math/w_j0l.c: Likewise.
11433 * math/w_j1.c: Likewise.
11434 * math/w_j1f.c: Likewise.
11435 * math/w_j1l.c: Likewise.
11436 * math/w_jn.c: Likewise.
11437 * math/w_jnf.c: Likewise.
11438 * math/w_log.c: Likewise.
11439 * math/w_logf.c: Likewise.
11440 * math/w_logl.c: Likewise.
11441 * math/w_log10.c: Likewise.
11442 * math/w_log10f.c: Likewise.
11443 * math/w_log10l.c: Likewise.
11444 * math/w_log2.c: Likewise.
11445 * math/w_log2f.c: Likewise.
11446 * math/w_log2l.c: Likewise.
11447 * math/w_pow.c: Likewise.
11448 * math/w_powf.c: Likewise.
11449 * math/w_powl.c: Likewise.
11450 * math/w_remainder.c: Likewise.
11451 * math/w_remainderf.c: Likewise.
11452 * math/w_remainderl.c: Likewise.
11453 * math/w_scalb.c: Likewise.
11454 * math/w_scalbf.c: Likewise.
11455 * math/w_scalbl.c: Likewise.
11456 * math/w_sqrt.c: Likewise.
11457 * math/w_sqrtf.c: Likewise.
11458 * math/w_sqrtl.c: Likewise.
11459 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11460 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11461 used.
11462 * math/math_private.h: Declare __kernel_standard_f.
11463 * math/w_cosh.c: Remove cruft and optimize a bit.
11464 * math/w_coshf.c: Likewise.
11465 * math/w_coshl.c: Likewise.
11466 * math/w_exp2.c: Likewise.
11467 * math/w_exp2f.c: Likewise.
11468 * math/w_exp2l.c: Likewise.
11469 * math/w_hypot.c: Likewise.
11470 * math/w_hypotf.c: Likewise.
11471 * math/w_hypotl.c: Likewise.
11472 * math/w_lgamma.c: Likewise.
11473 * math/w_lgamma_r.c: Likewise.
11474 * math/w_lgammaf.c: Likewise.
11475 * math/w_lgammaf_r.c: Likewise.
11476 * math/w_lgammal.c: Likewise.
11477 * math/w_lgammal_r.c: Likewise.
11478 * math/w_sinh.c: Likewise.
11479 * math/w_sinhf.c: Likewise.
11480 * math/w_sinhl.c: Likewise.
11481 * math/w_tgamma.c: Likewise.
11482 * math/w_tgammaf.c: Likewise.
11483 * math/w_tgammal.c: Likewise.
11484 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11485 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11486 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11487 Minor optimizations. Pretty printing. Remove cruft.
11488 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11489 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11490 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11491 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11492 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11493 * sysdeps/i386/fpu/e_asin.S: Likewise.
11494 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11495 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11496 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11497 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11498 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11499 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11500 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11501 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11502 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11503 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11504 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11505 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11506 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11507 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11508 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11509 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11510 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11511 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11512 * sysdeps/i386/fpu/e_log.S: Likewise.
11513 * sysdeps/i386/fpu/e_log10.S: Likewise.
11514 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11515 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11516 * sysdeps/i386/fpu/e_log2.S: Likewise.
11517 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11518 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11519 * sysdeps/i386/fpu/e_logf.S: Likewise.
11520 * sysdeps/i386/fpu/e_logl.S: Likewise.
11521 * sysdeps/i386/fpu/e_pow.S: Likewise.
11522 * sysdeps/i386/fpu/e_powf.S: Likewise.
11523 * sysdeps/i386/fpu/e_powl.S: Likewise.
11524 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11525 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11526 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11527 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11528 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11529 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11530 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11531 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11532 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11533 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11534 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11535 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11536 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11537 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11538 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11539 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11540 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11541 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11542 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11543 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11544 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11545 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11546 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11547 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11548 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11549 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11550 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11551 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11552 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11553 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11554 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11555 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11556 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11557 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11558 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11559 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11560 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11561 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11562 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11563 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11564 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11565 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11566 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11567 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11568 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11569 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11570 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11571 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11572 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11573 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11574 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11575 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11576 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11577 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11578 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11579 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11580 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11581 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11582 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11583 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11584 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11585 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11586 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11587 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11588 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11589 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11590 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11591 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11592 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11593 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11594 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11595 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11596 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11597 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11598 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11599 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11600 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11601 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11602 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11603 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11604 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11605 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11606 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11607 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11608 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11609 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11610 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11611 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11612 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11613 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11614 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11615 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11616 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11617 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11618 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11619 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11620 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11621 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11622 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11623 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11624 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11625 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11626 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11627 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11628 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11629 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11630 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11631 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11632 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11633 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11634 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11635 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11636 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11637 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11638 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11639 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11640 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11641 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11642 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11643 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11644 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11645 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11646 (__isnanf): Likewise.
11647 (__isinf_ns): Likewise.
11648 (__isinf_nsf): Likewise.
11649 (__finite): Likewise.
11650 (__finitef): Likewise.
11651 (__ieee754_sqrt): Define as macro.
11652 (__ieee754_sqrtf): Define as macro.
11653 (__ieee754_sqrtl): Define as macro.
11654 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11655 inlined copy.
11656 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11657 __FINITE_MATH_ONLY__ consistent.
11658 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11659
12cc2fcd
AS
116602011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11661
a843a204
AS
11662 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11663 of rawmemchr.
11664
12cc2fcd
AS
11665 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11666
c853acd5
UD
116672011-10-09 Ulrich Drepper <drepper@gmail.com>
11668
11669 * po/ja.po: Update from translation team.
11670
c658d255
RM
116712011-10-08 Roland McGrath <roland@hack.frob.com>
11672
110946e4
RM
11673 * locale/programs/locarchive.c (prepare_address_space): New function.
11674 (create_archive, enlarge_archive, open_archive): Use it.
11675
50604220
RM
11676 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11677 inside [SHARED], where it is used.
11678
c658d255
RM
11679 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11680
11681 * nss/getent.c (netgroup_keys): Remove unused variable.
11682 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11683
6a621eb7
UD
116842011-10-08 Ulrich Drepper <drepper@gmail.com>
11685
7edb55ce
UD
11686 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11687 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11688 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11689 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11690 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11691 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11692 * math/Makefile (libm-calls): Add s_isinf_ns.
11693 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11694 * math/multc3.c: Likewise.
11695 * math/s_casin.c: Likewise.
11696 * math/s_casinf.c: Likewise.
11697 * math/s_casinl.c: Likewise.
11698 * math/s_ccos.c: Likewise.
11699 * math/s_ccosf.c: Likewise.
11700 * math/s_ccosl.c: Likewise.
11701 * math/s_ctan.c: Likewise.
11702 * math/s_ctanf.c: Likewise.
11703 * math/s_ctanh.c: Likewise.
11704 * math/s_ctanhf.c: Likewise.
11705 * math/s_ctanhl.c: Likewise.
11706 * math/s_ctanl.c: Likewise.
11707 * math/w_fmod.c: Likewise.
11708 * math/w_fmodf.c: Likewise.
11709 * math/w_fmodl.c: Likewise.
11710 * math/w_remainder.c: Likewise.
11711 * math/w_remainderf.c: Likewise.
11712 * math/w_remainderl.c: Likewise.
11713 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11714 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11715 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11716 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11717 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11718 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11719 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11720 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11721
187da0ae
UD
11722 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11723 of the number.
11724 * stdio-common/printf_fphex.c: Likewise.
11725 * stdio-common/printf_size.c: Likewise.
11726
9277c064
UD
11727 * math/e_exp10.c: Include math_private.h using <...> not "...".
11728 * math/e_exp10f.c: Likewise.
11729 * math/e_exp10l.c: Likewise.
11730 * math/e_exp2l.c: Likewise.
11731 * math/e_j0l.c: Likewise.
11732 * math/e_j1l.c: Likewise.
11733 * math/e_jnl.c: Likewise.
11734 * math/e_lgammal_r.c: Likewise.
11735 * math/e_rem_pio2l.c: Likewise.
11736 * math/e_scalb.c: Likewise.
11737 * math/e_scalbf.c: Likewise.
11738 * math/e_scalbl.c: Likewise.
11739 * math/k_cosl.c: Likewise.
11740 * math/k_sinl.c: Likewise.
11741 * math/k_tanl.c: Likewise.
11742 * math/s_cacoshf.c: Likewise.
11743 * math/s_catan.c: Likewise.
11744 * math/s_catanf.c: Likewise.
11745 * math/s_catanh.c: Likewise.
11746 * math/s_catanhf.c: Likewise.
11747 * math/s_catanhl.c: Likewise.
11748 * math/s_catanl.c: Likewise.
11749 * math/s_ccosh.c: Likewise.
11750 * math/s_ccoshf.c: Likewise.
11751 * math/s_ccoshl.c: Likewise.
11752 * math/s_cexp.c: Likewise.
11753 * math/s_cexpf.c: Likewise.
11754 * math/s_cexpl.c: Likewise.
11755 * math/s_clog.c: Likewise.
11756 * math/s_clog10.c: Likewise.
11757 * math/s_clog10f.c: Likewise.
11758 * math/s_clog10l.c: Likewise.
11759 * math/s_clogf.c: Likewise.
11760 * math/s_clogl.c: Likewise.
11761 * math/s_csin.c: Likewise.
11762 * math/s_csinf.c: Likewise.
11763 * math/s_csinh.c: Likewise.
11764 * math/s_csinhf.c: Likewise.
11765 * math/s_csinhl.c: Likewise.
11766 * math/s_csinl.c: Likewise.
11767 * math/s_csqrt.c: Likewise.
11768 * math/s_csqrtf.c: Likewise.
11769 * math/s_csqrtl.c: Likewise.
11770 * math/s_ctan.c: Likewise.
11771 * math/s_ctanf.c: Likewise.
11772 * math/s_ctanh.c: Likewise.
11773 * math/s_ctanhf.c: Likewise.
11774 * math/s_ctanhl.c: Likewise.
11775 * math/s_ctanl.c: Likewise.
11776 * math/s_ldexp.c: Likewise.
11777 * math/s_ldexpf.c: Likewise.
11778 * math/s_ldexpl.c: Likewise.
11779 * math/s_significand.c: Likewise.
11780 * math/s_significandf.c: Likewise.
11781 * math/s_significandl.c: Likewise.
11782 * math/w_acos.c: Likewise.
11783 * math/w_acosf.c: Likewise.
11784 * math/w_acosh.c: Likewise.
11785 * math/w_acoshf.c: Likewise.
11786 * math/w_acoshl.c: Likewise.
11787 * math/w_acosl.c: Likewise.
11788 * math/w_asin.c: Likewise.
11789 * math/w_asinf.c: Likewise.
11790 * math/w_asinl.c: Likewise.
11791 * math/w_atan2.c: Likewise.
11792 * math/w_atan2f.c: Likewise.
11793 * math/w_atan2l.c: Likewise.
11794 * math/w_atanh.c: Likewise.
11795 * math/w_atanhf.c: Likewise.
11796 * math/w_atanhl.c: Likewise.
11797 * math/w_cosh.c: Likewise.
11798 * math/w_coshf.c: Likewise.
11799 * math/w_coshl.c: Likewise.
11800 * math/w_dremf.c: Likewise.
11801 * math/w_exp10.c: Likewise.
11802 * math/w_exp10f.c: Likewise.
11803 * math/w_exp10l.c: Likewise.
11804 * math/w_exp2.c: Likewise.
11805 * math/w_exp2f.c: Likewise.
11806 * math/w_fmod.c: Likewise.
11807 * math/w_fmodf.c: Likewise.
11808 * math/w_fmodl.c: Likewise.
11809 * math/w_hypot.c: Likewise.
11810 * math/w_hypotf.c: Likewise.
11811 * math/w_hypotl.c: Likewise.
11812 * math/w_j0.c: Likewise.
11813 * math/w_j0f.c: Likewise.
11814 * math/w_j0l.c: Likewise.
11815 * math/w_j1.c: Likewise.
11816 * math/w_j1f.c: Likewise.
11817 * math/w_j1l.c: Likewise.
11818 * math/w_jn.c: Likewise.
11819 * math/w_jnf.c: Likewise.
11820 * math/w_jnl.c: Likewise.
11821 * math/w_lgamma.c: Likewise.
11822 * math/w_lgamma_r.c: Likewise.
11823 * math/w_lgammaf.c: Likewise.
11824 * math/w_lgammaf_r.c: Likewise.
11825 * math/w_lgammal.c: Likewise.
11826 * math/w_lgammal_r.c: Likewise.
11827 * math/w_log.c: Likewise.
11828 * math/w_log10.c: Likewise.
11829 * math/w_log10f.c: Likewise.
11830 * math/w_log10l.c: Likewise.
11831 * math/w_log2.c: Likewise.
11832 * math/w_log2f.c: Likewise.
11833 * math/w_log2l.c: Likewise.
11834 * math/w_logf.c: Likewise.
11835 * math/w_logl.c: Likewise.
11836 * math/w_pow.c: Likewise.
11837 * math/w_powf.c: Likewise.
11838 * math/w_powl.c: Likewise.
11839 * math/w_remainder.c: Likewise.
11840 * math/w_remainderf.c: Likewise.
11841 * math/w_remainderl.c: Likewise.
11842 * math/w_scalb.c: Likewise.
11843 * math/w_scalbf.c: Likewise.
11844 * math/w_scalbl.c: Likewise.
11845 * math/w_sinh.c: Likewise.
11846 * math/w_sinhf.c: Likewise.
11847 * math/w_sinhl.c: Likewise.
11848 * math/w_sqrt.c: Likewise.
11849 * math/w_sqrtf.c: Likewise.
11850 * math/w_sqrtl.c: Likewise.
11851 * math/w_tgamma.c: Likewise.
11852 * math/w_tgammaf.c: Likewise.
11853 * math/w_tgammal.c: Likewise.
11854
6a621eb7
UD
11855 * po/ja.po: Update from translation team.
11856
bf582445
AJ
118572011-09-29 Andreas Jaeger <aj@suse.de>
11858
f9efbf3a
AJ
11859 [BZ #13179]
11860 * sunrpc/netname.c (netname2host): Fix logic.
11861
bf582445
AJ
11862 [BZ #6779]
11863 [BZ #6783]
11864 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11865 correctly.
11866 * math/w_remainder.c (__remainder): Likewise.
11867 * math/w_remainderf.c (__remainderf): Likewise.
11868 * math/libm-test.inc (remainder_test): Add test cases.
11869
48693bea
AK
118702011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11871
11872 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11873 sdiv_qrnnd.
11874
42622229
LD
118752011-10-07 Ulrich Drepper <drepper@gmail.com>
11876
11877 * string/test-memcmp.c: Avoid unncessary #defines.
11878 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11879
093ecf92
LD
118802011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11881
11882 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11883 Use new sse2 version for core i3 - i7 as it's faster
11884 than sse42 version.
11885 (bit_Prefer_PMINUB_for_stringop): New.
11886 * sysdeps/x86_64/rawmemchr.S: Update.
11887 Replace with faster SSE2 version.
11888 * sysdeps/x86_64/memrchr.S: New file.
11889 * sysdeps/x86_64/memchr.S: Update.
11890 Replace with faster SSE2 version.
11891
fde56e5c
MP
118922011-09-12 Marek Polacek <mpolacek@redhat.com>
11893
11894 * elf/dl-load.c (lose): Add cast to avoid warning.
11895
21fd49a9
UD
118962011-10-07 Ulrich Drepper <drepper@gmail.com>
11897
5a06e643
UD
11898 * po/ca.po: Update from translation team.
11899
684ae515
UD
11900 * inet/getnetgrent_r.c: Hook up nscd.
11901 * nscd/Makefile (routines): Add nscd_netgroup.
11902 (nscd-modules): Add netgroupcache.
11903 (CFLAGS-netgroupcache.c): Define.
11904 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11905 (cache_search): Add const to second parameter.
11906 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11907 INNETGR.
11908 (dbs): Add netgrdb entry.
11909 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11910 (verify_persistent_db): Handle netgrdb.
11911 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11912 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11913 GETFDNETGR.
11914 (netgroup_response_header): Define.
11915 (innetgroup_response_header): Define.
11916 (datahead): Add netgroup_response_header and innetgroup_response_header
11917 elements.
11918 * nscd/nscd.conf: Add entries for netgroup cache.
11919 * nscd/nscd.h (dbtype): Add netgrdb.
11920 (_PATH_NSCD_NETGROUP_DB): Define.
11921 (netgroup_iov_disabled): Declare.
11922 (xmalloc, xcalloc, xrealloc): Move declarations here.
11923 (cache_search): Adjust prototype.
11924 Add netgroup-related prototypes.
11925 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11926 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11927 (__nscd_innetgr): Declare.
11928 * nscd/selinux.c (perms): Use access_vector_t as element type and
11929 add netgroup-related initializers.
11930 * nscd/netgroupcache.c: New file.
11931 * nscd/nscd_netgroup.c: New file.
11932 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11933 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11934 For four parameters use innetgr.
11935 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11936 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11937 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11938 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11939
21fd49a9
UD
11940 * nscd/connections.c (register_traced_file): Don't register file
11941 for disabled databases.
11942
054c0457
UD
119432011-10-06 Ulrich Drepper <drepper@gmail.com>
11944
32b63198
UD
11945 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11946
054c0457
UD
11947 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11948 from tree and freeing node.
11949
64031225
JO
119502011-09-25 Jiri Olsa <jolsa@redhat.com>
11951
11952 * nss/nsswitch.c (__nss_database_lookup): Handle
11953 nss_parse_service_list out of memory case.
11954
0490345c
JO
119552011-09-15 Jiri Olsa <jolsa@redhat.com>
11956
11957 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11958 out of memory case.
11959
3a62d00d
AS
119602011-10-04 Andreas Schwab <schwab@redhat.com>
11961
11962 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11963 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11964 pass it down.
11965 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11966 elf_machine_rela, elf_machine_lazy_rel.
11967 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11968 (ELF_DYNAMIC_DO_REL): Likewise.
11969 (ELF_DYNAMIC_DO_RELA): Likewise.
11970 (ELF_DYNAMIC_RELOCATE): Likewise.
11971 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11972 to ELF_DYNAMIC_DO_REL.
11973 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11974 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11975 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11976 elf_machine_rela.
11977 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11978 skip_ifunc, don't call ifunc function if non-zero.
11979 (elf_machine_rela): Likewise.
11980 (elf_machine_lazy_rel): Likewise.
11981 (elf_machine_lazy_rela): Likewise.
11982 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11983 (elf_machine_lazy_rel): Likewise.
11984 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11985 Likewise.
11986 (elf_machine_lazy_rel): Likewise.
11987 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11988 Likewise.
11989 (elf_machine_lazy_rel): Likewise.
11990 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11991 (elf_machine_lazy_rel): Likewise.
11992 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11993 (elf_machine_lazy_rel): Likewise.
11994 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11995 (elf_machine_lazy_rel): Likewise.
11996 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11997 (elf_machine_lazy_rel): Likewise.
11998 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11999 (elf_machine_lazy_rel): Likewise.
12000 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12001 (elf_machine_lazy_rel): Likewise.
12002
68577918
UD
120032011-09-28 Ulrich Drepper <drepper@gmail.com>
12004
12005 * nss/nss_files/files-init.c (_nss_files_init): Use static
12006 initialization for all the *_traced_file variables.
12007
68822d74
AS
120082011-09-28 Andreas Schwab <schwab@redhat.com>
12009
12010 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12011
2056100b
RM
120122011-09-27 Roland McGrath <roland@hack.frob.com>
12013
12014 [BZ #13226]
12015 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12016
32c76b63
AS
120172011-09-27 Andreas Schwab <schwab@redhat.com>
12018
12019 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12020 Reread the line before reparsing it.
12021
bf972c9d
AS
120222011-09-26 Andreas Schwab <schwab@redhat.com>
12023
12024 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12025
e057a1b5
JM
120262011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12027 Maxim Kuvyrkov <maxim@codesourcery.com>
12028 Joseph Myers <joseph@codesourcery.com>
12029
12030 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12031 if needed for __stack_chk_guard.
12032
bc7e1c36
RM
120332011-09-19 Roland McGrath <roland@hack.frob.com>
12034
ecb1482f
RM
12035 * sysdeps/posix/spawni.c (script_execute): Always define it.
12036 It will be optimized away if unused.
12037 (maybe_script_execute): New function.
12038 (__spawni): Call it.
12039
bc7e1c36
RM
12040 * Makerules: Don't include tls.make.
12041 (config-tls): Always set to thread.
12042 * tls.make.c: File removed.
12043
1c3b002b
MF
120442011-09-19 Mike Frysinger <vapier@gentoo.org>
12045
12046 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12047 * config.make.in (CPPFLAGS-config): New substituted variable.
12048
2840865d
UD
120492011-09-15 Ulrich Drepper <drepper@gmail.com>
12050
88738eb6
UD
12051 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12052
cbf645a6 12053 [BZ #13192]
2840865d
UD
12054 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12055 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12056
b402e91a
RM
120572011-09-15 Roland McGrath <roland@hack.frob.com>
12058
12059 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12060 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12061 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12062 (CALL_FAIL): Likewise.
12063 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12064 (CALL_FAIL): Macro removed.
12065 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12066
4c1a1f71
UD
120672011-09-15 Ulrich Drepper <drepper@gmail.com>
12068
12069 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12070 for __FINITE_MATH_ONLY__ == 1.
12071
edc121be
AS
120722011-09-15 Andreas Schwab <schwab@redhat.com>
12073
12074 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12075 __ieee754_sqrt instead of sqrt.
12076 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12077 __ieee754_sqrtf instead of sqrtf.
12078 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12079 __floorf instead of floorf.
12080 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12081 __floorf, __truncf instead of floorf, truncf.
12082
cd205654
UD
120832011-09-14 Ulrich Drepper <drepper@gmail.com>
12084
ee4d0315
UD
12085 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12086
cd205654
UD
12087 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12088 __extern_always_inline.
12089 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12090 32-bit.
12091
48b67d71
AS
120922011-09-14 Andreas Schwab <schwab@redhat.com>
12093
12094 * elf/rtld.c (dl_main): Also relocate in dependency order when
12095 doing symbol dependency testing.
12096
1ae12c75
AS
120972011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12098
12099 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12100 Always define `refsym'.
12101
995a80df
AS
121022011-09-13 Andreas Schwab <schwab@redhat.com>
12103
e529793b
AS
12104 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12105 (__FD_ELT): Renamed from __FDELT.
12106 * misc/bits/select2.h (__FD_ELT): Likewise.
12107 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12108 __FD_MASK instead of __FDELT, __FDMASK.
12109 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12110 Likewise.
12111 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12112 Likewise.
12113
52d4fef8
AS
12114 * elf/Makefile (gen-ldd): Fix pattern.
12115
995a80df
AS
12116 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12117 (init_tls): Likewise.
12118
8682f8b0
UD
121192011-09-12 Ulrich Drepper <drepper@gmail.com>
12120
12121 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12122
de82006d
AS
121232011-09-12 Andreas Schwab <schwab@redhat.com>
12124
a7c8e6a1
AS
12125 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12126 `struct cmsghdr *' instead of `void *'.
12127 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12128 Likewise.
12129
0f31fe77
AS
121302011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12131
12132 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12133 if non-absolute.
12134 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12135 ldd_rewrite_script.
0f31fe77 12136
32b4c839
UD
121372011-09-11 Ulrich Drepper <drepper@gmail.com>
12138
83cd1420
UD
12139 * configure.in: Remove --with-tls option.
12140 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12141 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12142 out in case it is missing.
12143 * sysdeps/ia64/elf/configure.in: Likewise.
12144 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12145 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12146 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12147 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12148 * sysdeps/sh/elf/configure.in: Likewise.
12149 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12150 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12151 * sysdeps/x86_64/elf/configure.in: Likewise.
12152 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12153 * sysdeps/mach/hurd/tls.h: Likewise.
12154
633f745d
UD
12155 [BZ #13067]
12156 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12157
f318beb8
UD
12158 [BZ #13090]
12159 * configure.in: Fix use of AC_INIT.
12160
32b4c839
UD
12161 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12162
3ce1f295
UD
121632011-09-10 Ulrich Drepper <drepper@gmail.com>
12164
bb016596
UD
12165 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12166 __set_errno.
8e58439c
UD
12167 * malloc/hooks.c: Likewise.
12168
aebae053 12169 [BZ #11929]
02d46fc4
UD
12170 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12171 variables statically.
12172 (narenas): Initialize.
12173 (list_lock): Initialize.
bb016596
UD
12174 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12175 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12176 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12177 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12178 Add initializers to main_arena and mp_.
12179 (malloc_state): Remove pagesize member. Change all users to use
12180 GLRO(dl_pagesize).
12181
12182 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12183 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12184 is always initialized.
12185
22a89187
UD
12186 * malloc/malloc.c: Removed unused configurations and dead code.
12187 * malloc/arena.c: Likewise.
12188 * malloc/hooks.c: Likewise.
02d46fc4 12189 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12190
d063d164
UD
12191 * include/tls.h: Removed. USE___THREAD must always be defined.
12192 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12193 * elf/dl-libc.c: Likewise.
12194 * elf/dl-tsd.c: Likewise.
12195 * include/errno.h: Likewise.
12196 * include/netdb.h: Likewise.
12197 * include/resolv.h: Likewise.
12198 * inet/herrno-loc.c: Likewise.
12199 * inet/herrno.c: Likewise.
12200 * malloc/arena.c: Likewise.
12201 * malloc/hooks.c: Likewise.
12202 * malloc/malloc.c: Likewise.
12203 * resolv/res-state.c: Likewise.
12204 * resolv/res_libc.c: Likewise.
12205 * sysdeps/i386/dl-machine.h: Likewise.
12206 * sysdeps/ia64/dl-machine.h: Likewise.
12207 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12208 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12209 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12210 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12211 * sysdeps/sh/dl-machine.h: Likewise.
12212 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12213 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12214 * sysdeps/unix/i386/sysdep.S: Likewise.
12215 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12216 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12217 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12218 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12219 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12220 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12221 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12222 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12223 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12224 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12225 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12226 * sysdeps/x86_64/dl-machine.h: Likewise.
12227 * tls.make.c: Likewise.
12228
3ce1f295
UD
12229 * configure.in: Remove --with-__thread option. Make tests for
12230 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12231 tls_model attribute fail if no support is available. Remove
12232 USE_IN_LIBIO.
12233 * Makeconfig: Adjust for dropped configure option. All features are
12234 now mandatory.
12235 * Makerules: Likewise.
12236 * Versions.def: Likewise.
12237 * argp/argp-fmtstream.c: Likewise.
12238 * argp/argp-fmtstream.h: Likewise.
12239 * argp/argp-help.c: Likewise.
12240 * assert/assert.c: Likewise.
12241 * config.h.in: Likewise.
12242 * config.make.in: Likewise.
12243 * configure: Likewise.
12244 * configure.in: Likewise.
12245 * csu/Versions: Likewise.
12246 * csu/init.c: Likewise.
12247 * elf/tst-audit2.c: Likewise.
12248 * elf/tst-tls10.c: Likewise.
12249 * elf/tst-tls10.h: Likewise.
12250 * elf/tst-tls11.c: Likewise.
12251 * elf/tst-tls12.c: Likewise.
12252 * elf/tst-tls14.c: Likewise.
12253 * elf/tst-tlsmod11.c: Likewise.
12254 * elf/tst-tlsmod12.c: Likewise.
12255 * elf/tst-tlsmod13.c: Likewise.
12256 * elf/tst-tlsmod13a.c: Likewise.
12257 * elf/tst-tlsmod14a.c: Likewise.
12258 * elf/tst-tlsmod15b.c: Likewise.
12259 * elf/tst-tlsmod16a.c: Likewise.
12260 * elf/tst-tlsmod16b.c: Likewise.
12261 * elf/tst-tlsmod7.c: Likewise.
12262 * elf/tst-tlsmod8.c: Likewise.
12263 * elf/tst-tlsmod9.c: Likewise.
12264 * gmon/gmon.c: Likewise.
12265 * grp/fgetgrent_r.c: Likewise.
12266 * grp/putgrent.c: Likewise.
12267 * hurd/fopenport.c: Likewise.
12268 * include/libc-symbols.h: Likewise.
12269 * include/tls.h: Likewise.
12270 * intl/gettextP.h: Likewise.
12271 * intl/loadinfo.h: Likewise.
12272 * locale/global-locale.c: Likewise.
12273 * locale/localeinfo.h: Likewise.
12274 * mach/devstream.c: Likewise.
12275 * malloc/arena.c: Likewise.
12276 * malloc/set-freeres.c: Likewise.
12277 * misc/err.c: Likewise.
12278 * misc/getttyent.c: Likewise.
12279 * misc/mntent_r.c: Likewise.
12280 * posix/getopt.c: Likewise.
12281 * posix/wordexp.c: Likewise.
12282 * pwd/fgetpwent_r.c: Likewise.
12283 * resolv/Versions: Likewise.
12284 * resolv/res_hconf.c: Likewise.
12285 * shadow/fgetspent_r.c: Likewise.
12286 * shadow/putspent.c: Likewise.
12287 * stdio-common/printf_fphex.c: Likewise.
12288 * stdio-common/tmpfile.c: Likewise.
12289 * stdlib/abort.c: Likewise.
12290 * stdlib/fmtmsg.c: Likewise.
12291 * sunrpc/auth_unix.c: Likewise.
12292 * sunrpc/clnt_perr.c: Likewise.
12293 * sunrpc/clnt_tcp.c: Likewise.
12294 * sunrpc/clnt_udp.c: Likewise.
12295 * sunrpc/clnt_unix.c: Likewise.
12296 * sunrpc/openchild.c: Likewise.
12297 * sunrpc/svc_simple.c: Likewise.
12298 * sunrpc/svc_tcp.c: Likewise.
12299 * sunrpc/svc_udp.c: Likewise.
12300 * sunrpc/svc_unix.c: Likewise.
12301 * sunrpc/xdr.c: Likewise.
12302 * sunrpc/xdr_array.c: Likewise.
12303 * sunrpc/xdr_rec.c: Likewise.
12304 * sunrpc/xdr_ref.c: Likewise.
12305 * sunrpc/xdr_stdio.c: Likewise.
12306
1248c1c4
PB
123072011-09-09 Ulrich Drepper <drepper@gmail.com>
12308
12309 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12310
123112011-07-03 Andreas Jaeger <aj@suse.de>
12312
12313 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12314 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12315 regenerate with gen-libm-tests.pl.
12316
123172010-05-12 Petr Baudis <pasky@suse.cz>
12318
12319 [BZ #11589]
12320 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12321 around j0() zero points by switching to j1().
12322 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12323 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12324 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12325 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12326
f22e1074
UD
123272011-09-09 Ulrich Drepper <drepper@gmail.com>
12328
f19009c1
UD
12329 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12330 instead of 0.
12331 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12332 instead of 0. .
12333 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12334 Patch in part by Pavel Roskin <proski@gnu.org>.
12335
3f8cc204
UD
12336 [BZ #13138]
12337 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12338 realloc.
12339 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12340 Free memory block if necessary.
12341
f22e1074
UD
12342 [BZ #12847]
12343 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12344 be NULL. Don't lock in this case.
12345
0a2349f9
RM
123462011-09-09 Roland McGrath <roland@hack.frob.com>
12347
12348 * elf/elf.h (ELFOSABI_GNU): New macro.
12349 (ELFOSABI_LINUX): Define to that.
12350
f3cdd467
DZ
123512011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12352
12353 * string/strncat.c (strncat): Undef the symbol in case it has been
12354 defined in bits/string.h.
12355
74718d13
UD
123562011-09-09 Ulrich Drepper <drepper@gmail.com>
12357
633e9e0f
UD
12358 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12359
0a2349f9 12360 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12361 link map.
12362
f9924780
AJ
123632011-08-17 Andreas Jaeger <aj@suse.de>
12364
12365 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12366
7f5517aa
PP
123672011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12368 Ian Lance Taylor <iant@google.com>
12369
12370 * math/libm-test.inc (lround_test): New testcase.
12371 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12372
762011fe
UD
123732011-09-08 Ulrich Drepper <drepper@gmail.com>
12374
92963737
UD
12375 * Makefile: Remove support for automatic cvs check-ins.
12376 * Makerules: Likewise.
12377 * config.make.in: Likewise.
12378 * configure.in: Likewise.
12379 * intl/Makefile: Likewise.
12380 * locale/Makefile: Likewise.
12381 * po/Makefile: Likewise.
12382 * posix/Makefile: Likewise.
12383 * sysdeps/gnu/Makefile: Likewise.
12384 * sysdeps/mach/hurd/Makefile: Likewise.
12385 * sysdeps/sparc/sparc32/Makefile: Likewise.
12386
b0727fd8
JS
12387 [BZ #13118]
12388 * posix/Makefile (bug-regex32-ENV): Define.
12389 Patch by John Stanley <jpsinthemix@verizon.net>.
12390
a0f33f99
UD
12391 * misc/Makefile (headers): Add bits/select2.h.
12392 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12393 * misc/bits/select2.h: New file.
12394 * include/bits/select2.h: New file.
12395 * debug/Makefile (routines): Add fdelt_chk.
12396 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12397 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12398 FD_ISSET.
12399 * debug/fdelt_chk.c: New file.
12400
762011fe
UD
12401 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12402 * wcsmbs/test-wmemcmp.c: Likewise.
12403 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12404 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12405
124062011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12407
12408 * string/Makefile (strop-tests): Add memcmp.
12409 * string/test-wmemcmp.c: New file.
12410 * string/test-memcmp.c: Add wmemcmp support.
12411
7f513ec8
RM
124122011-09-08 Roland McGrath <roland@hack.frob.com>
12413
0442afb4
RM
12414 [BZ #13153]
12415 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12416 2011-07-19 change.
12417
7f513ec8
RM
12418 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12419 garbage value in a __mach_port_mod_refs call in the cases of the
12420 task-self and thread-self ports.
12421
a12b2239
ST
124222011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12423
12424 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12425
610f9ab4
AS
124262011-09-08 Andreas Schwab <schwab@redhat.com>
12427
7f513ec8 12428 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12429
48882a1a
LD
124302011-09-07 Ulrich Drepper <drepper@gmail.com>
12431
b49865be
UD
12432 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12433
fdc86bc9
UD
12434 * elf/dl-libc.c (dlerror_run): Pass back error code from
12435 dl_catch_error.
12436
c966526a
UD
12437 [BZ #13123]
12438 * elf/dl-load.c (lose): Free l_origin if it is valid.
12439
48882a1a
LD
12440 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12441 names.
12442 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12443 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12444 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12445 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12446 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12447 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12448
77a2a8b4
AZ
124492011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12450
12451 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12452 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12453 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12454 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12455 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12456 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12457 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12458 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12459 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12460 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12461
24f579d8
AM
124622011-08-15 Alan Modra <amodra@gmail.com>
12463
12464 [BZ #13092]
12465 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12466 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12467 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12468 ppc_mcount to static-only-routines.
12469 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12470 __mcount_internal.
12471 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12472 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12473
3d4837df
UD
124742011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12475
12476 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12477 for finite and infinity parameters.
12478
22700377
WS
124792011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12480
12481 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12482 and add nop instructions for throughput optimization.
12483 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12484
5025581e
WS
124852011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12486
12487 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12488 aligned copy for power7 with vector-scalar instructions.
12489 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12490
08a300c9
L
124912011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12492
12493 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12494 AVX check.
12495
59178ef9
AS
124962011-09-07 Andreas Schwab <schwab@redhat.com>
12497
12498 [BZ #13144]
12499 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12500 last change.
12501
e38ba7ab
UD
125022011-09-07 Ulrich Drepper <drepper@gmail.com>
12503
12504 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12505 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12506 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12507 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12508 clock_gettime.
12509
d53a73ac
UD
125102011-09-06 Ulrich Drepper <drepper@gmail.com>
12511
fc8bffcc
UD
12512 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12513 Forgot to demangle the pointer.
12514
ceaa0c5d
UD
12515 * sysdeps/i386/sysdep.h: Define atom_text_section.
12516 * sysdeps/x86_64/sysdep.h: Likewise.
12517 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12518 section with atom_text_section.
12519 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12520 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12521 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12522 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12523 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12524
a77d3c17
UD
12525 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12526 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12527 already be defined. Change to take two parameters and don't assign
12528 result to variable. Adjust all users.
12529 Define INTERNAL_GETTIME if not already defined.
12530 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12531 call.
12532 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12533 HAVE_CLOCK_GETTIME_VSYSCALL.
12534 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12535
d53a73ac
UD
12536 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12537 gettimeofday vsyscall, just use time.
12538
a8f84144
AS
125392011-09-06 Andreas Schwab <schwab@redhat.com>
12540
12541 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12542 <errno.h>.
12543
ef606249
UD
125442011-09-06 Ulrich Drepper <drepper@gmail.com>
12545
12546 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12547 syscall on x86-64.
12548 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12549 syscall.
12550 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12551 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12552 syscall if possible.
12553
6585cb60
UD
125542011-09-05 Ulrich Drepper <drepper@gmail.com>
12555
12556 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12557 e_ident. Don't pass to find_mapsXX.
12558 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12559
a5f524e4
LD
125602011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12561
12562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12563 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12564 * sysdeps/x86_64/multiarch/strchr.S: Update.
12565 Check bit_slow_BSF bit.
12566 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12567 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12568 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12569
554881ef
UD
125702011-09-05 Ulrich Drepper <drepper@gmail.com>
12571
d96de963
UD
12572 [BZ #13134]
12573 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12574 before glibc 2.15.
12575 (tryshell): Define.
12576 (__spawni): Change last parameter to be flag. Test
12577 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12578 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12579 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12580 * posix/spawni.c: Likewise.
12581 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12582 * posix/spawnp.c: Likewise. Change normal version to use
12583 SPAWN_XFLAGS_USE_PATH.
12584 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12585 SPAWN_XFLAGS_TRY_SHELL.
12586
d48e5868
UD
12587 [BZ #13150]
12588 * posix/glob.h: Remove gcc 1.x support.
12589
554881ef
UD
12590 [BZ #13068]
12591 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12592
693fb948
LD
125932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12594
12595 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12596 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12597 strrchr-sse2-bsf
12598 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12599 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12600 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12601 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12602 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12603 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12604
1b48c537
UD
126052011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12606
49d42c37
UD
12607 * sysdeps/x86_64/wcscmp.S: New file.
12608
1b48c537
UD
12609 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12610 wcscmp-c wcscmp-sse2
12611 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12612 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12613 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12614 * wcsmbs/wcscmp.c: Allow renaming.
12615
15c95c5d
DM
126162011-09-05 David S. Miller <davem@davemloft.net>
12617
12618 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12619 stack slot, rather than the struct return pointer slot.
12620 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12621 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12623 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12624
2f0ad8f3
UD
126252011-09-05 Ulrich Drepper <drepper@gmail.com>
12626
d88ae418
UD
12627 * po/ja.po: Update from translation team.
12628
2f0ad8f3
UD
12629 [BZ #13144]
12630 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12631 kernel in 64-bit binaries.
12632
5f4318d1
DM
126332011-09-01 David S. Miller <davem@davemloft.net>
12634
12635 * elf/elf.h (HWCAP_SPARC_*): Move to..
12636 * sysdeps/sparc/sysdep.h: this new file and add new values.
12637 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12638 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12639 _DL_HWCAP_COUNT to 24.
12640 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12641 entries.
12642 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12643 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12644 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12645 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12646 instead of magic constants.
12647 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12648
3ba57516
DM
126492011-08-31 David S. Miller <davem@davemloft.net>
12650
12651 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12652 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12653 Reimplement to do errno handling inline.
12654 (SYSCALL_ERROR_HANDLER): New macro.
12655 (__SYSCALL_STRING): Do not do errno handling in asm.
12656 (__CLONE_SYSCALL_STRING): Delete.
12657 (__INTERNAL_SYSCALL_STRING): Delete.
12658 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12659 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12660 (PSEUDO): Reimplement to do errno handling inline.
12661 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12662 (SYSCALL_ERROR_HANDLER): New macro.
12663 (__SYSCALL_STRING): Do not do errno handling in asm.
12664 (__CLONE_SYSCALL_STRING): Delete.
12665 (__INTERNAL_SYSCALL_STRING): Delete.
12666 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12667 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12668 i386.
12669 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12670 (inline_syscall*): Add 'err' argument.
12671 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12672 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12673 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12674 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12675
12676 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12677 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12678
2bc17433
AS
126792011-08-30 Andreas Schwab <schwab@redhat.com>
12680
12681 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12682
fbeb5f4d
JO
126832011-08-29 Jiri Olsa <jolsa@redhat.com>
12684
12685 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12686 directive.
12687
ad69cc26
DM
126882011-08-24 David S. Miller <davem@davemloft.net>
12689
12690 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12691
39dd69df
AS
126922011-08-24 Andreas Schwab <schwab@redhat.com>
12693
12694 * elf/Makefile: Add rules to build and run unload8 test.
12695 * elf/unload8.c: New file.
12696 * elf/unload8mod1.c: New file.
12697 * elf/unload8mod1x.c: New file.
12698 * elf/unload8mod2.c: New file.
12699 * elf/unload8mod3.c: New file.
12700
12701 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12702 it wasn't used.
12703
2c0b250a
DM
127042011-08-23 David S. Miller <davem@davemloft.net>
12705
12706 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12707 subtract stack bias.
12708 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12709 %sp not %fp in calculations.
12710 (_JMPBUF_UNWINDS_ADJ): Likewise.
12711
22044b48
DM
12712 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12713 (aio_suspend): Call it to force an exception region around the
12714 AIO_MISC_WAIT() invocation.
12715
2cae4995
AS
127162011-08-23 Andreas Schwab <schwab@redhat.com>
12717
12718 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12719 backslash.
12720
873a772e
AJ
127212011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12722
12723 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12724 protection macro.
12725 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12726 and <dl-machine.h>.
12727 (Elf64_FuncDesc): Remove.
12728
25ad0df1
DM
127292011-08-22 David S. Miller <davem@davemloft.net>
12730
12731 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12732 sigaltstack check, add missing cfi directives.
12733 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12734 missing cfi directives, and sigaltstack handling.
12735
e888bcbe
AS
127362011-08-16 Andreas Schwab <schwab@redhat.com>
12737
12738 [BZ #11724]
12739 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12740 object is seen twice.
12741 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12742
12743 * elf/Makefile (distribute): Add tst-initorder2.c.
12744 (tests): Add tst-initorder2.
12745 (modules-names): Add tst-initorder2a tst-initorder2b
12746 tst-initorder2c tst-initorder2d. Add rules to build them.
12747 ($(objpfx)tst-initorder2.out): New rule.
12748 * elf/tst-initorder2.c: New file.
12749 * elf/tst-initorder2.exp: New file.
12750
87162f46
AS
127512011-08-22 Andreas Schwab <schwab@redhat.com>
12752
70538b7f
AS
12753 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12754
f55ffe58
AS
12755 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12756 dependencies back to end of function.
12757
87162f46
AS
12758 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12759 $(elfobjdir)/ld.so.
12760
91b392a4
UD
127612011-08-21 Ulrich Drepper <drepper@gmail.com>
12762
12763 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12764 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12765 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12766 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12767 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12768 of __vdso_gettimeofday.
12769 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12770 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12771 attribute_hidden.
12772 (_libc_vdso_platform_setup): Remove initialization of
12773 __vdso_gettimeofday and __vdso_time.
12774
5c43483f
UD
127752011-08-20 Ulrich Drepper <drepper@gmail.com>
12776
775a77e7
UD
12777 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12778 and fgetc_unlocked.
12779 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12780 getc_unlocked.
89f447ed 12781
49c74ba9
UD
12782 * elf/dl-open.c (add_to_global): Report additions to the global scope
12783 for LD_DEBUG=scopes.
12784 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12785 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12786
5c43483f
UD
12787 [BZ #13114]
12788 * stdio-common/Makefile (tests): Add bug24.
12789 * stdio-common/bug24.c: New file.
12790
a101b025
AJ
127912011-08-19 Andreas Jaeger <aj@suse.de>
12792
12793 [BZ #13114]
12794 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12795 non-existant file when using close-on-exec mode.
12796
c88f1766
UD
127972011-08-20 Ulrich Drepper <drepper@gmail.com>
12798
0276a718
UD
12799 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12800 the very first instruction.
12801
c88f1766
UD
12802 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12803 the CFI state in the end.
12804 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12805 inclusion of dl-trampoline.h.
12806 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12807
51ccffa0
AS
128082011-08-19 Andreas Schwab <schwab@redhat.com>
12809
94d7165f
AS
12810 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12811 expectations for long double.
12812
51ccffa0
AS
12813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12814 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12815
fd708658 128162011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12817
12818 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12819 artificual limit depends upon the system page size.
12820
44f0a71e
UD
128212011-08-17 Ulrich Drepper <drepper@gmail.com>
12822
12823 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12824 * resolv/Makefile: Define CFLAGS-libresolv.
12825
8de79a24
AS
128262011-08-17 Andreas Schwab <schwab@redhat.com>
12827
12828 * nss/makedb.c (compute_tables): Make variables used in nested
12829 function static.
12830
27724598
UD
128312011-08-17 Ulrich Drepper <drepper@gmail.com>
12832
c5305d88
UD
12833 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12834 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12835 if buffer was too small.
12836
27724598
UD
12837 * elf/pldd.c (main): Attach to all threads in the process.
12838 Rewrite /proc handling to use *at functions.
12839
076fe015
UD
128402011-08-16 Ulrich Drepper <drepper@gmail.com>
12841
174baab3
UD
12842 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12843 specifies first scope to show.
12844 (dl_open_worker): Update callers. Move printing scope of new
12845 object to before the relocation.
44f0a71e 12846 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12847 * sysdeps/generic/ldsodefs.h: Update declaration.
12848
076fe015
UD
12849 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12850 string for the scope number.
12851
a60df2c3
UD
128522011-08-14 Ulrich Drepper <drepper@gmail.com>
12853
12854 * nscd/servicescache.c (cache_addserv): Make sure written is always
12855 initialized.
12856
5e4287d1
RM
128572011-08-14 Roland McGrath <roland@hack.frob.com>
12858
85ae0589
RM
12859 * sysdeps/i386/i486/bits/atomic.h
12860 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12861 statement expression, so as to suppress "set but not used" warning.
12862 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12863
69f63097
RM
12864 * string/strncat.c (STRNCAT): Use prototype definition.
12865
675456ef
RM
12866 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12867 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12868 -Iprograms here.
12869 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12870 (localedef-modules): Add localedef.
12871 (locale-modules): Add locale.
12872
5e4287d1
RM
12873 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12874 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12875 to avoid a warning.
12876
9c96ff23
DM
128772011-08-14 David S. Miller <davem@davemloft.net>
12878
12879 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12880 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12881
f9ddf089
UD
128822011-08-13 Ulrich Drepper <drepper@gmail.com>
12883
44f0a71e 12884 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12885 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12886 * elf/rtld.c (dl_main): Set l_name of vDSO.
12887 Call _dl_show_scope when DL_DEBUG_SCOPES.
12888 (process_dl_debug): Recognize scopes flag and also set it for all.
12889 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12890 Declare _dl_show_scope.
12891
1dc27704
UD
12892 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12893 (do_dlopen): Pass caller_dlopen to dl_open.
12894 (__libc_dlopen_mode): Initialize caller_dlopen.
12895
f9ddf089
UD
12896 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12897 of libc. Make tolower call locale-independent. Optimize a bit by
12898 using isdigit instead of isalnum.
12899 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12900
9ac533d3
UD
129012011-08-12 Ulrich Drepper <drepper@gmail.com>
12902
12903 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12904 was a dependency or dynamically loaded.
12905
89edf2e9
UD
129062011-08-11 Ulrich Drepper <drepper@gmail.com>
12907
8e999d29
UD
12908 * intl/l10nflist.c: Allow architecture-specific pop function.
12909 * sysdeps/x86_64/l10nflist.c: New file.
12910
89edf2e9
UD
12911 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12912 classification.
12913
14d96785
AS
129142011-08-10 Andreas Schwab <schwab@redhat.com>
12915
12916 * include/dirent.h: Add libc_hidden_proto for scandirat and
12917 scandirat64. Don't declare __scandirat64.
12918 * dirent/scandirat.c: Add libc_hidden_def.
12919 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12920 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12921
6761ac04
DM
129222011-08-10 David S. Miller <davem@davemloft.net>
12923
12924 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12925 enum.
12926 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12927 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12928 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12929
c55fbd1e
UD
129302011-08-09 Ulrich Drepper <drepper@gmail.com>
12931
12932 * Versions.def [libc]: Add GLIBC_2.15.
12933 * dirent/Makefile (routines): Add scandirat and scandirat64.
12934 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12935 GLIBC_2.15.
12936 * dirent/dirent.h: Declare scandirat and scandirat64.
12937 * dirent/scandirat.c: New file.
12938 * dirent/scandirat64.c: New file.
12939 * sysdeps/wordsize-64/scandirat.c: New file.
12940 * sysdeps/wordsize-64/scandirat64.c: New file.
12941 * dirent/opendir.c: Define opendirat.
12942 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12943 using scandirat.
12944 * dirent/scandir64.c: Adjust for scandir.c change.
12945 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12946 __scandirat64, and __scandir_cancel_handler.
12947 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12948 additional parameter and use openat instead of open (outside of ld.so).
12949 Add new __opendir as wrapper around __opendirat.
12950 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12951 here without requiring old scandirat implementation.
12952
879165f2
UD
129532011-08-08 Ulrich Drepper <drepper@gmail.com>
12954
12955 * dirent/scandir.c (cancel_handler): Renamed to
12956 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12957 defined. Adjust users.
12958 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12959 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12960
cb7e923b
UD
129612011-08-04 Ulrich Drepper <drepper@gmail.com>
12962
16292edd
UD
12963 * string/test-string.h (IMPL): Use __STRING to expand name and then
12964 stringify it.
12965
cb7e923b
UD
12966 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12967 of cleanups.
12968
cff82933
LD
129692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12970
12971 * string/Makefile: Update.
12972 (strop-tests): Append strncat.
12973 * string/test-wcscmp.c: New file.
12974 New comprehensive test for wcscmp.
12975 * string/test-strcmp.c: Update.
12976 (WIDE): New define.
12977
9be9bfcc
AS
129782011-07-22 Andreas Schwab <schwab@redhat.com>
12979
12980 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12981 line.
12982
2e96f1c7
AS
129832011-07-26 Andreas Schwab <schwab@redhat.com>
12984
12985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12986 encoding to ACE if AI_IDN.
12987
85188888
JJ
129882011-08-01 Jakub Jelinek <jakub@redhat.com>
12989
12990 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12991 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12992
5fa16e9b
LD
129932011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12994
12995 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12996 Fix overflow bug in strncat.
12997 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12998
12999 * string/test-strncat.c: Update.
13000 Add new tests for checking overflow bugs.
13001
130022011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13003
13004 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13005 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13006 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13007 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13008 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13009 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13010 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13011 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13012 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13013
13014 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13015 (USE_AS_STRCAT): Define.
13016 Add strcat and strncat support.
13017 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13018
8c1a459f
AS
130192011-07-25 Andreas Schwab <schwab@redhat.com>
13020
13021 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13022 __n bigger than INT_MAX+1.
13023 (__strncmp_g): Likewise.
13024
bba33c28
UD
130252011-07-23 Ulrich Drepper <drepper@gmail.com>
13026
798be72d
UD
13027 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13028 * libio/stido.h: Likewise.
13029
8accd4dc
UD
13030 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13031 (AF_NFC): Define.
13032 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13033 (AF_NFC): Define.
13034
cbff0d96
UD
13035 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13036 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13037 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13038 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13039 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13040
9191c04a
UD
13041 [BZ #13021]
13042 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13043 installed.
13044
bba33c28
UD
13045 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13046 typo.
13047 (_dl_x86_64_save_sse): Likewise.
13048
90f139dd
UD
130492011-07-22 Ulrich Drepper <drepper@gmail.com>
13050
1aae088a
UD
13051 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13052 OSXSAVE.
13053 (_dl_x86_64_save_sse): Likewise.
13054
8e2045f5
UD
13055 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13056
90f139dd
UD
13057 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13058
1d002f25
AS
130592011-07-21 Andreas Schwab <schwab@redhat.com>
13060
13061 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13062 change.
13063 (_dl_x86_64_save_sse): Use correct AVX check.
13064
21137f89
UD
130652011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13066
13067 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13068 bug in strncpy/strncat.
13069 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13070
a65c0b7a
UD
130712011-07-21 Ulrich Drepper <drepper@gmail.com>
13072
13073 * string/tester.c (test_strcat): Add tests for different alignments
13074 of source and destination.
13075 (test_strncat): Likewise.
13076
6986b98a
UD
130772011-07-20 Ulrich Drepper <drepper@gmail.com>
13078
90bb2039
UD
13079 [BZ #12852]
13080 * posix/glob.c (glob): Check passed in values before using them in
13081 expressions to avoid some overflows.
13082 (glob_in_dir): Likewise.
13083
5644ef54
UD
13084 [BZ #13007]
13085 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13086 check for AVX enablement so that we don't crash with old kernels and
13087 new hardware.
13088 * elf/tst-audit4.c: Add same checks here.
13089 * elf/tst-audit6.c: Likewise.
13090
13091 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13092
bfc9dc9b
AS
130932011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13094
13095 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13096
702e64bb
UD
130972011-07-20 Ulrich Drepper <drepper@gmail.com>
13098
13099 * po/cs.po: Update from translation team.
13100 * po/bg.po: Likewise.
13101
295e904f
MP
131022011-07-12 Marek Polacek <mpolacek@redhat.com>
13103
13104 * misc/sys/cdefs.h: Add support for const attribute.
13105 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13106 to gnu_dev_{major,minor,makedev} functions.
13107
3ff94596
MP
131082011-07-20 Marek Polacek <mpolacek@redhat.com>
13109
13110 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13111
28b59fca
AS
131122011-07-20 Andreas Schwab <schwab@redhat.com>
13113
13114 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13115 strlen results.
13116
19df733e
AK
131172011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13118
13119 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13120 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13121 register in order to avoid conflicts with the soft frame pointer
13122 being held in r11 when necessary.
13123 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13124 (INTERNAL_VSYSCALL_NCS): Likewise.
13125
c8835729
MP
131262011-07-14 Marek Polacek <mpolacek@redhat.com>
13127
13128 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13129 * elf/dl-fini.c (_dl_fini): Adjust caller.
13130 * elf/dl-close.c (_dl_close_worker): Likewise.
13131 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13132
b902330c
MP
131332011-07-15 Marek Polacek <mpolacek@redhat.com>
13134
8991e135
MP
13135 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13136 "aux_cache->nlibs < 0".
13137
b902330c
MP
13138 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13139 in the reload-count case.
13140
99710781
LD
131412011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13142
13143 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13144 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13145 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13146 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13147 * sysdeps/x86_64/multiarch/strcat.S: New file.
13148 * sysdeps/x86_64/multiarch/strncat.S: New file.
13149 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13150 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13151 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13152 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13153 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13154 (USE_AS_STRCAT): Define.
13155 Add strcat and strncat support.
13156 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13157 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13158 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13159 * string/strncat.c: Update.
13160 (USE_AS_STRNCAT): Define.
13161 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13162 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13163 and i7.
13164 * sysdeps/x86_64/multiarch/init-arch.h
13165 (bit_Prefer_PMINUB_for_stringop): New.
13166 (index_Prefer_PMINUB_for_stringop): Likewise.
13167 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13168 bit_Prefer_PMINUB_for_stringop.
13169
7dc6bd90
UD
131702011-07-19 Ulrich Drepper <drepper@gmail.com>
13171
13172 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13173 buffer64.
13174 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13175 of casting of buffer.
13176 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13177 buffer32 and buffer64.
13178 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13179 writes instead of casting of buffer.
13180 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13181 buffer32.
13182 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13183 casting of buffer.
13184
e0e72284
AS
131852011-07-19 Andreas Schwab <schwab@redhat.com>
13186
13187 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13188
feb1eb0b
UD
131892011-07-19 Ulrich Drepper <drepper@gmail.com>
13190
13191 * nscd/nscd.c (termination_handler): Don't do anything for a database
13192 if it has not yet been initialized.
13193
298711ff
UD
131942011-07-18 Ulrich Drepper <drepper@gmail.com>
13195
13196 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13197
131982011-07-15 Marek Polacek <mpolacek@redhat.com>
13199
13200 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13201
f9d68389
UD
132022011-07-18 Ulrich Drepper <drepper@gmail.com>
13203
13204 * po/nl.po: Update from translation team.
13205 * po/sv.po: Likewise.
13206
db290cf5
RM
132072011-07-16 Roland McGrath <roland@hack.frob.com>
13208
13209 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13210 now disallowed by GCC.
5c550700 13211
fd5e21c7
RM
13212 * configure.in (use-default-link): Default to yes if a test -shared
13213 link meets our qualifications.
13214 * configure: Regenerated.
13215
5c550700
RM
13216 * config.make.in (output-format): New variable.
13217 * configure.in: Check for ld --print-output-format support.
13218 * configure: Regenerated.
13219 * Makerules ($(common-objpfx)format.lds)
13220 [$(output-format) != unknown]: Just use $(output-format),
13221 instead of the linker-script munging.
13222
9fa2c032
RM
132232011-07-14 Roland McGrath <roland@hack.frob.com>
13224
a6928d51
RM
13225 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13226 of $(common-objpfx)shlib.lds.
13227 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13228
661607b3
RM
13229 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13230 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13231
9fa2c032
RM
13232 * configure.in (-z relro check): Adjust test code to add a large
13233 writable data section after it.
13234 * configure: Regenerated.
13235
defe9061
RM
132362011-07-11 Roland McGrath <roland@hack.frob.com>
13237
13238 * configure.in (-z relro check): Fix test code to make the variable
13239 truly const.
13240 * configure: Regenerated.
13241
319b9ad4
UD
132422011-07-11 Ulrich Drepper <drepper@gmail.com>
13243
13244 * nscd/nscd.h (struct traced_file): Define.
13245 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13246 elements. Add traced_files.
13247 (inotify_fd): Declare.
13248 (register_traced_file): Declare.
13249 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13250 (inotify_fd): Export.
13251 (resolv_conf_descr): Remove.
13252 (nscd_init): Move inotify descriptor creation to main.
13253 Don't register files for notification here.
13254 (register_traced_file): New function.
13255 (invalidate_cache): Don't use reset_res to determine whether to call
13256 res_init, go through the list of registered files.
13257 (main_loop_poll): The inotify descriptors are now stored in the
13258 structures for the traced files.
13259 (main_loop_epoll): Likewise
13260 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13261 to __nss_disable_nscd.
13262 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13263 for a database anymore. Check the records for all the registered
13264 files instead.
13265 * nss/Makefile (libnss_files-routines): Add files-init.
13266 (libnss_db-routines): Add db-init.
13267 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13268 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13269 * nss/nss_db/db-init.c: New file.
13270 * nss/nss_files/files-init.c: New file.
13271 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13272 __nss_lookup_function.
13273 (__nss_lookup_function): Call nss_load_library.
13274 (nss_load_all_libraries): New function.
13275 (__nss_disable_nscd): Take parameter with callback function for files
13276 to register. Set is_nscd. Load all the DSOs for the NSS modules
13277 used for the cached services.
13278 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13279 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13280 options for features to all the files in nscd.
13281
13282 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13283
23bee3e8
RM
132842011-07-10 Roland McGrath <roland@hack.frob.com>
13285
13286 * csu/elf-init.c (__libc_csu_init): Comment typo.
13287
46a5b7f0
UD
132882011-07-09 Ulrich Drepper <drepper@gmail.com>
13289
13290 * po/pl.po: Update from translation team.
13291 * po/ja.po: Likewise.
13292 * po/ru.po: Likewise.
13293 * po/ko.po: Likewise.
13294 * po/fr.po: Likewise.
13295
d30cf5bb
RM
132962011-07-09 Roland McGrath <roland@hack.frob.com>
13297
113ddea4
RM
13298 * configure.in (.ctors/.dtors header and trailer check):
13299 Use an empirical test on a built program.
13300 * configure: Regenerated.
13301
574920b4
RM
13302 * configure.in (-z relro check): Use an empirical test on a built DSO.
13303 Detect, but do not require, on ia64.
13304 * configure: Regenerated.
13305
d30cf5bb
RM
13306 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13307 Update tests that use readelf to use $READELF instead.
13308 * configure: Regenerated.
13309
8538fdb3
UD
133102011-07-08 Ulrich Drepper <drepper@gmail.com>
13311
13312 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13313 if the result is not used.
13314
04d08991
AJ
133152011-07-05 Andreas Jaeger <aj@suse.de>
13316
13317 [BZ#9696]
13318 * stdlib/tst-strtod.c: Add testcase.
13319
de283087
AD
133202011-07-07 Ulrich Drepper <drepper@gmail.com>
13321
4e5f31c8 13322 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13323 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13324 The latter has a higher limit. Take additional parameter to pass to
13325 the new function.
13326 (__pathconf): Pass file to __statfs_link_max.
13327 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13328 __statfs_link_max.
13329 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13330 __statfs_link_max.
13331
de283087
AD
13332 [BZ #12868]
13333 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13334 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13335 Handle Lustre.
13336 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13337 (__statfs_filesize_max): Likewise.
13338 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13339
c75fa153
AJ
133402011-07-05 Andreas Jaeger <aj@suse.de>
13341
13342 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13343
1a544854
UD
133442011-07-06 Marek Polacek <mpolacek@redhat.com>
13345
13346 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13347 `status' variable.
13348 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13349 Likewise.
13350
6f0eec67
UD
133512011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13352
13353 * Makefile (strop-tests): Add strncat.
13354 * string/test-strncat.c: New file.
13355
aae30307
UD
133562011-06-30 Marek Polacek <mpolacek@redhat.com>
13357
13358 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13359
c0cfb5eb
UD
133602011-06-21 Andreas Jaeger <aj@suse.de>
13361
13362 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13363 Copy rule from iconvdata/Makefile.
13364
01636b21
UD
133652011-07-06 Ulrich Drepper <drepper@gmail.com>
13366
13367 [BZ #12922]
13368 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13369 but no long options are defined, just return 'W'.
13370
9895c8bc
UD
133712011-06-22 Marek Polacek <mpolacek@redhat.com>
13372
13373 [BZ #9696]
13374 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13375
5d4cf042
UD
133762011-07-06 Ulrich Drepper <drepper@gmail.com>
13377
13378 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13379 netgroups to read.
960e5535 13380 (innetgr): Likewise.
5d4cf042 13381
751eb97e
RM
133822011-07-05 Roland McGrath <roland@hack.frob.com>
13383
13384 * config.make.in (install_root): Default to $(DESTDIR).
13385
f15f1e45
UD
133862011-07-05 Ulrich Drepper <drepper@gmail.com>
13387
13388 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13389
4e34ac6a
RM
133902011-07-02 Roland McGrath <roland@hack.frob.com>
13391
5e9b6af4
RM
13392 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13393
84f9ea0f
RM
13394 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13395 containing directory rather than embedding absolute directory names.
13396
ea5ee9f7
RM
13397 * scripts/check-local-headers.sh: Rewritten using awk.
13398 Match by word, not by line. Print error messages for matches.
13399 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13400
1b74661a
RM
13401 * Makerules [shlib-lds-flags empty]:
13402 ($(common-objpfx)libc_pic.opts): New target.
13403 ($(common-objpfx)libc_pic.os.clean): New target.
13404 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13405
13406 * config.make.in (OBJCOPY): New variable.
13407 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13408 * configure: Regenerated.
13409
f781ef40
RM
13410 * config.make.in (use-default-link): New variable.
13411 * configure.in (use_default_link): Grok --with-default-link to set it.
13412 * configure: Regenerated.
13413 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13414 (shlib-lds, shlib-lds-flags): Define to empty.
13415
2d4fa81e
RM
13416 * Makerules (shlib-lds): New variable.
13417 (shlib-lds-flags): New variable.
13418 (build-shlib, build-moduile, build-module-asneeded): Use it.
13419 ($(common-objpfx)libc.so): Use $(shlib-lds).
13420 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13421 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13422
31fffa6b
RM
13423 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13424 DT_FLAGS/DT_FLAGS_1 with zero flags.
13425
4e34ac6a
RM
13426 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13427 linker script munging.
13428
fcfc776b
UD
134292011-07-02 Ulrich Drepper <drepper@gmail.com>
13430
13431 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13432 as 128-bit value.
13433 * crypt/sha512.c (sha512_process_block): Perform total addition using
13434 128-bit if possible.
13435 (__sha512_finish_ctx): Likewise.
13436 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13437 as 64-bit value.
13438 * crypt/sha256.c (SWAP64): Define.
13439 (sha256_process_block): Perform total addition using 64-bit if
13440 possible.
13441 (__sha256_finish_ctx): Likewise.
13442
99231d9a
UD
134432011-07-01 Ulrich Drepper <drepper@gmail.com>
13444
13445 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13446 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13447 * nscd/hstcache.c (cache_addhst): Likewise.
13448 * nscd/grpcache.c (cache_addgr): Likewise.
13449 * nscd/aicache.c (addhstaiX): Likewise
13450 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13451
445b4a53
TK
134522011-07-01 Thorsten Kukuk <kukuk@suse.de>
13453
13454 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13455 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13456 * nscd/hstcache.c (cache_addhst): Likewise.
13457 * nscd/grpcache.c (cache_addgr): Likewise.
13458 * nscd/aicache.c (addhstaiX): Likewise
13459
6d4d8e8e
AS
134602011-07-01 Andreas Schwab <schwab@redhat.com>
13461
13462 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13463 domain only when needed.
13464
89f654c5
AS
134652011-06-30 Andreas Schwab <schwab@redhat.com>
13466
13467 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13468 is always restored.
13469
cf3b23ff
UD
134702011-06-29 Ulrich Drepper <drepper@gmail.com>
13471
13472 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13473 are re-adding the entry.
13474 * nscd/servicescache.c (cache_addserv): Likewise.
13475
751626f9
AJ
134762011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13477
13478 * sysdeps/generic/dl-irel.h: fix protection against multiple
13479 inclusions.
13480 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13481
9113ea1f
UD
134822011-06-28 Ulrich Drepper <drepper@gmail.com>
13483
5c0b8d90
UD
13484 [BZ #12935]
13485 * malloc/memusage.sh: Fix quoting in message.
13486 * debug/xtrace.sh: Likewise.
13487
9113ea1f
UD
13488 * configure.in: Remove support for --experimental-malloc option, make
13489 it the default.
13490 * config.make.in: Likewise.
13491 * malloc/Makefile: Likewise.
13492
a4172181
AS
134932011-06-27 Andreas Schwab <schwab@redhat.com>
13494
13495 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13496 two-byte characters.
13497
78a7eee7
RM
134982011-06-27 Roland McGrath <roland@hack.frob.com>
13499
62bede13
RM
13500 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13501 AC_CACHE_CHECK invocation.
13502 * configure: Regenerated.
13503
78a7eee7
RM
13504 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13505
5ce33a62
UD
135062011-06-27 Ulrich Drepper <drepper@gmail.com>
13507
034807a9
UD
13508 [BZ #12350]
13509 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13510 bit from old_res_options.
13511
4902da17
UD
13512 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13513
5ce33a62
UD
13514 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13515 value type for setfct.
13516
c2344f56
L
135172011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13518
13519 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13520 __gettimeofday instead of gettimeofday.
13521
68468076
UD
135222011-06-26 Ulrich Drepper <drepper@gmail.com>
13523
13524 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13525
acb0d739
L
135262011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13527
13528 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13529
13530 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13531 info.
13532
8912479f
L
135332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13534
13535 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13536 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13537 strcpy-sse2-unaligned strncpy-sse2-unaligned
13538 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13539 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13540 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13541 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13542 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13543 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13544 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13545 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13546 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13547 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13548 (STRCPY): Support SSE2 and SSSE3 versions.
13549
d5495a11
UD
135502011-06-24 Ulrich Drepper <drepper@gmail.com>
13551
13552 [BZ #12874]
13553 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13554 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13555 kernels which artificially limit size of requests.
13556
0b1cbaae
L
135572011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13558
13559 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13560 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13561 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13562 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13563 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13564 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13565 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13566 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13567 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13568 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13569 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13570 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13571 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13572 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13573 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13574 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13575 Enable unaligned load optimization for Intel Core i3, i5 and i7
13576 processors.
13577 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13578 Define.
13579 (index_Fast_Unaligned_Load): Define.
13580 (HAS_FAST_UNALIGNED_LOAD): Define.
13581
07f494a0
MP
135822011-06-23 Marek Polacek <mpolacek@redhat.com>
13583
13584 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13585
fa3fc0fe
UD
135862011-06-22 Ulrich Drepper <drepper@gmail.com>
13587
13588 [BZ #12907]
13589 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13590 until it is clear that the information is realy needed.
13591 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13592
e12df166
AS
135932011-06-22 Andreas Schwab <schwab@redhat.com>
13594
13595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13596
852eb34d
UD
135972011-06-22 Ulrich Drepper <drepper@gmail.com>
13598
84e2a551
UD
13599 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13600 /sys/devices/system/cpu/online if it is usable.
13601
852eb34d
UD
13602 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13603 reading the information from the /proc filesystem to once a second.
13604
6e502e19
UD
136052011-06-21 Andreas Jaeger <aj@suse.de>
13606
13607 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13608 NULL after inclusion of kernel headers.
13609
75d39ff2
UD
136102011-06-21 Ulrich Drepper <drepper@gmail.com>
13611
51f9aa6a
UD
13612 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13613 calls to internal_setent.
13614
c0244a9d
UD
13615 [BZ #12885]
13616 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13617 addresses using gethostbyname4_r ignore IPv4 addresses.
13618
c5e3c2ae
UD
13619 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13620 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13621
75d39ff2
UD
13622 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13623
42675c6f
DM
136242011-06-20 David S. Miller <davem@davemloft.net>
13625
13626 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13627 inclusions.
13628 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13629
13630 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13631 (elf_irel): Use it.
13632 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13633 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13634 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13635 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13636 * sysdeps/x86_64/dl-irel.h: Likewise.
13637
13638 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13639 * elf/dl-sym.c: Likewise.
13640
57912a71
UD
136412011-06-15 Ulrich Drepper <drepper@gmail.com>
13642
13643 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13644 need to dereference resplen2.
13645
ee22793d
AS
136462011-06-14 Andreas Schwab <schwab@redhat.com>
13647
13648 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13649
a9e836b0
UD
136502011-06-15 Ulrich Drepper <drepper@gmail.com>
13651
77fb9117
UD
13652 * Makeconfig: Define vardbdir and inst_vardbdir.
13653 * nss/Makefile: Add rules to install db-Makefile.
13654
40c1b22c
UD
13655 * nss/nss_db/db-XXX.c: Cleanup.
13656
9f2da732
UD
13657 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13658 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13659 GLIBC_PRIVATE.
13660 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13661 * nss/makedb.c: Implement -g option to specify that value strings
13662 are generated and should not be added to table iterated over for
13663 get*ent calls.
13664 * nss/nss_db/db-initgroups.c: New file.
13665
82e9a1f7
UD
13666 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13667 interface.
13668
c41af17e
UD
13669 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13670 (internal_getgrouplist): Adjust to name change.
13671 Update use_initgroups_entry if this is not the first call.
13672 * nss/databases.def: Add initgroups entry.
13673
a9e836b0
UD
13674 * nss/makedb.c (compute_tables): Check result of multiple hash table
13675 sizes to minimize maximum chain length.
13676
2666d441
UD
136772011-06-14 Ulrich Drepper <drepper@gmail.com>
13678
13679 * Versions.def: Add entry for libnss_db.
13680 * shlib-versions: Likewise.
13681 * nss/Makefile: Add rules to build libnss_db.
13682 * nss/Versions: Add libnss_db information. Organize libnss_files
13683 entries better.
13684 * nss/db-Makefile: Add gshadow support. Change rules for the new
13685 makedb progra. Some minor improvements to generate smaller files.
13686 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13687 here from...
13688 * nss/makedb.c: ...here.
13689 Improve database format to be smaller and require less memory at
13690 runtime.
13691 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13692 db anymore.
13693 * nss/nss_db/db-netgrp.c: Likewise.
13694 * nss/nss_db/db-open.c: Likewise.
13695 * nss/nss_files/flies-XXX.x: Adjust comments.
13696 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13697 * nss/nss_files/files-grp.c: Likewise.
13698 * nss/nss_files/files-hosts.c: Likewise.
13699 * nss/nss_files/files-network.c: Likewise.
13700 * nss/nss_files/files-proto.c: Likewise.
13701 * nss/nss_files/files-pwd.c: Likewise.
13702 * nss/nss_files/files-rpc.c: Likewise.
13703 * nss/nss_files/files-service.c: Likewise.
13704 * nss/nss_files/files-sgrp.c: Likewise.
13705 * nss/nss_files/files-spwd.c: Likewise.
13706 * nss/nss_db/db-alias.c: Removed.
13707 * nss/nss_db/dummy-db.h: Removed.
13708
9ee76b5a
UD
137092011-06-02 Ulrich Drepper <drepper@gmail.com>
13710
13711 * nss/makedb.c: Rewritten to not use database library.
13712 * nss/Makefile: Update to build new makedb program.
13713
c71ca1f8
AJ
137142011-06-14 Andreas Jaeger <aj@suse.de>
13715
13716 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13717 memset declaration.
13718
3154bfb8
UD
137192011-06-10 Andreas Schwab <schwab@redhat.com>
13720
13721 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13722 tmpbuf.
13723
b350afab
RM
137242011-06-10 Roland McGrath <roland@hack.frob.com>
13725
decd4e50
RM
13726 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13727 * elf/Makefile ($(objpfx)ld.so): Likewise.
13728
5615eaf2
RM
13729 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13730 Don't list ld.so twice in dependencies.
13731
13732 * posix/bug-regex31.c: Include <stdlib.h>.
13733
13734 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13735
13736 * nis/nss_compat/compat-spwd.c
13737 (getspent_next_nss_netgr): Remove unused variable.
13738 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13739
13740 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13741 nonmembers" output to use the right array.
13742
13743 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13744
13745 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13746
13747 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13748 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13749 * catgets/gencat.c (read_input_file): Likewise.
13750 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13751
13752 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13753 variable definition inside #if's controlling its use.
13754
13755 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13756
13757 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13758
13759 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13760
13761 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13762 unreachable code.
13763
13764 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13765
b68e08db
RM
13766 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13767 * configure: Regenerated.
13768
b350afab
RM
13769 * Makerules: Revert last change.
13770 * elf/Makefile: Likewise.
13771
28368601
RM
137722011-06-09 Roland McGrath <roland@hack.frob.com>
13773
13774 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13775 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13776 (reloc-link): Likewise.
13777
11988f8f
UD
137782011-06-09 Ulrich Drepper <drepper@gmail.com>
13779
13780 * elf/Makefile: Add rules to build pldd.
13781 * elf/pldd.c: New file.
13782 * elf/pldd-xx.c: New file.
13783
e80fab37
UD
137842011-06-07 Ulrich Drepper <drepper@gmail.com>
13785
13786 * version.h: Update for 2.15 development version.
13787
9b849836
DM
137882011-06-07 David S. Miller <davem@davemloft.net>
13789
13790 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13791 ifuncs.
13792 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13793 elf_machine_lazy_rel): Likewise.
13794 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13795 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13796 elf_machine_lazy_rel): Likewise.
13797 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13798 dl_hwcap via passed in argument.
13799 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13800 Likewise.
13801
5a31b283
AK
138022011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13803
13804 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13805
069e52f8
RM
138062011-06-06 Roland McGrath <roland@hack.frob.com>
13807
13808 [BZ #12849]
13809 * manual/fdl-1.1.texi: New file, verbatim from:
13810 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13811 * manual/lgpl-2.1.texi: New file, verbatim from:
13812 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13813 * manual/Makefile (licenses): New variable, list those new file names.
13814 (texis): Use it.
13815 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13816
13817 * manual/fdl.texi: File removed.
13818 * manual/lesser.texi: File removed.
13819 * manual/libc.texinfo (Copying, Documentation License):
13820 Use new @include file names, put @appendix directive before @include.
13821
f16846a5
JJ
138222011-06-04 Jakub Jelinek <jakub@redhat.com>
13823
13824 [BZ #12841]
13825 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13826 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13827 (mq_open): Add __NTH.
13828
3d29045b
L
138292011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13830
13831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13832 Assume Intel Core i3/i5/i7 processor if AVX is available.
13833
8c297311
UD
138342011-05-31 Ulrich Drepper <drepper@gmail.com>
13835
13836 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13837 typo.
13838
c8fc0c91
UD
138392011-05-31 Andreas Schwab <schwab@redhat.com>
13840
13841 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13842 memory. Use alloca_account. Fix memory leak when retrying.
13843
5b27a807
UD
138442011-05-31 Ulrich Drepper <drepper@gmail.com>
13845
356f8bc6
UD
13846 * version.h (RELEASE): Bump for 2.14 release.
13847 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13848
5b27a807
UD
13849 * config.make.in (RANLIB): Remove entry.
13850
01f16ab0
UD
138512011-05-30 Ulrich Drepper <drepper@gmail.com>
13852
41fce8bd
UD
13853 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13854 (libc.pot): Work around missing support for .ksh extension in xgettext.
13855
4769ae77
UD
13856 [BZ #12684]
13857 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13858 if both request failed.
13859 (send_dg): In case of server errors clear resplen or *resplen2.
13860
6b1e7d19
UD
13861 [BZ #12454]
13862 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13863 when there are multiple maps.
13864 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13865 (_dl_fini): Remove test here.
13866
01f16ab0
UD
13867 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13868
b1ebd700
UD
138692011-05-29 Ulrich Drepper <drepper@gmail.com>
13870
7ae22829
UD
13871 [BZ #12350]
13872 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13873 bit from old_res_options.
13874 (gaih_inet): Likewise.
13875
553149f6 13876 [BZ #11099]
18a84741 13877 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13878 as signed.
13879
652ffab1
UD
13880 * resolv/res_init.c (res_setoptions): Make the code more compact.
13881
16985fd0
UD
13882 [BZ #11558]
13883 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13884 set RES_USEVC.
13885
0464f746
UD
13886 [BZ #11634]
13887 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13888
7d17596c
UD
13889 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13890
cf6bbbd7
UD
13891 [BZ #11781]
13892 * malloc/malloc.h: Declare malloc hook variables as volatile.
13893
13f1ab36
UD
13894 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13895 in last patch.
13896
b1ebd700
UD
13897 [BZ #11799]
13898 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13899 raise in the comment.
80e2212d
UD
13900 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13901 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13902 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13903
ce67228d
UD
139042011-05-28 Ulrich Drepper <drepper@gmail.com>
13905
8887a920
UD
13906 [BZ #12811]
13907 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13908 grow the buffers more if it already has to be sufficient.
13909 (build_wcs_upper_buffer): Likewise.
13910 * posix/regexec.c (check_matching): Likewise.
13911 (clean_state_log_if_needed): Likewise.
13912 (extend_buffers): Don't enlarge buffers beyond size of the input
13913 buffer.
13914 Patches mostly by Emil Wojak <emil@wojak.eu>.
13915 * posix/bug-regex32.c: New file.
13916 * posix/Makefile (tests): Add bug-regex32.
13917
4f031072
UD
13918 * locale/findlocale.c (_nl_find_locale): Return right away if
13919 _nl_explode_name failed.
13920 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13921
d0478f0c
UD
13922 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13923
de81b246
UD
13924 * debug/xtrace.sh: Unify messages.
13925 * malloc/memusage.sh: Likewise.
13926
c738465a
UD
13927 [BZ #12813]
13928 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13929 time symbol from vDSO. Substitute with vsyscall if not available.
13930 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13931 __vdso_time.
13932
f1f929d7
UD
13933 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13934 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13935 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13936 Add sendmmsg and internal_sendmmsg.
13937 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13938 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13939 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13940
ce67228d
UD
13941 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13942 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13943 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13944
e57420c6
UD
139452011-05-27 Ulrich Drepper <drepper@gmail.com>
13946
a8509ca5
UD
13947 [BZ #12813]
13948 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13949 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13950 available.
13951 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13952 __vdso_getcpu.
13953
e57420c6
UD
13954 [BZ #12814]
13955 * iconvdata/Makefile (tests): Add bug-iconv9.
13956 * iconvdata/bug-iconv9.c: New file.
13957
4d07db15
AS
139582011-05-27 Andreas Schwab <schwab@redhat.com>
13959
13960 [BZ #12814]
13961 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13962
ea486f69
JJ
139632011-05-25 Jakub Jelinek <jakub@redhat.com>
13964
13965 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13966 (struct user_regs_struct): Change intcs field back to cs.
13967
6f038433
UD
139682011-05-25 Ulrich Drepper <drepper@gmail.com>
13969
13970 * po/ja.po: Update from translation team.
13971
67f86a25
UD
139722011-05-23 Ulrich Drepper <drepper@gmail.com>
13973
13974 [BZ #12795]
13975 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13976 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13977
def7fbd6
AS
139782011-05-20 Andreas Schwab <schwab@redhat.com>
13979
13980 * stdlib/longlong.h: Update from GCC.
13981
f50ef8f1
AS
139822011-05-23 Andreas Schwab <schwab@redhat.com>
13983
13984 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13985 parameter name.
13986 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13987 Add parameter name.
13988 (__sysconf): Pass it down.
13989
de7ce8f1
UD
139902011-05-22 Ulrich Drepper <drepper@gmail.com>
13991
f2962a71
UD
13992 [BZ #12671]
13993 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13994 some situations.
13995 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13996 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13997 add in in __libc_use_alloca calls. Adjust callers.
13998 (glob): Use malloc in some situations.
13999
de7ce8f1
UD
14000 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14001 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14002 pltexit.
14003
aec84f53
UD
140042011-05-21 Ulrich Drepper <drepper@gmail.com>
14005
05bb4a68
UD
14006 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14007 and CLOCK_BOOTTIME_ALARM.
14008
7ea72f99
UD
14009 [BZ #12782]
14010 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14011 is returned.
14012
7e4afad5
UD
14013 * string/_strerror.c (__strerror_r): Print negative errors as signed
14014 numbers.
14015
8e211fec
UD
14016 [BZ #12777]
14017 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14018 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14019 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14020
f7d82dc9
UD
14021 * configure.in: Fix typo in redirection and correct removal of test
14022 files in two cases.
14023
cc9e536d
UD
14024 [BZ #12788]
14025 * locale/setlocale.c (new_composite_name): Fix test to check for
14026 identical name of all categories.
14027
aec84f53
UD
14028 [BZ #12792]
14029 * libio/filedoalloc.c (local_isatty): New function.
14030 (_IO_file_doallocate): Use local_isatty.
14031 * stdio-common/perror.c (perror): In case a new stream is used
14032 forward the stream error.
14033 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14034 error flag.
14035
78e64fdc
RT
140362011-05-20 Ulrich Drepper <drepper@gmail.com>
14037
34a9094f
UD
14038 [BZ #11869]
14039 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14040 alloca.
14041 * include/alloca.h (extend_alloca_account): Define.
14042
78e64fdc
RT
14043 [BZ #11857]
14044 * posix/regex.h: Fix comments with documentation of user-accessible
14045 fields after compilation and describe correct free'ing of pattern
14046 after re_compile_pattern.
14047 Patch by Reuben Thomas <rrt@sc3d.org>.
14048
457bddfc
RA
140492011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14050
14051 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14052 and -mno-altivec to prevent the compiler from using Altivec and/or
14053 VSX instructions when the corresponding registers are not available.
14054
a4527b51
AS
140552011-05-19 Andreas Schwab <schwab@redhat.com>
14056
14057 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14058
ed690b2f
UD
140592011-05-19 Ulrich Drepper <drepper@gmail.com>
14060
14061 * libio/freopen.c (freopen): Use __dup2, not dup2.
14062 * libio/freopen64.c (freopen64): Likewise.
14063
8db73634
L
140642011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14065
14066 [BZ #12775]
14067 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14068 * math/Makefile (tests): Add test-powl.
14069 (CFLAGS-test-powl.c): Define.
14070 * math/test-powl.c: New file.
14071
0a197a9d
L
140722011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14073
14074 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14075
ee30c380
UD
140762011-05-17 Ulrich Drepper <drepper@gmail.com>
14077
14078 [BZ #11837]
14079 * iconvdata/gb18030.c: Update to GB18020-2005.
14080
6ce75379
UD
140812011-05-16 Ulrich Drepper <drepper@gmail.com>
14082
a4b89fd8
AR
14083 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14084 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14085 Patch by Aharon Robbins <arnold@skeeve.com>.
14086
ea389b12
UD
14087 [BZ #11892]
14088 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14089 on the stack.
14090
68a3f91f
UD
14091 [BZ #11895]
14092 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14093 through underflows.
14094
15cc7dd1
UD
14095 [BZ #12766]
14096 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14097 point to strings before performing equality test for error_one_per_line
14098 mode.
14099
f3799213
UD
14100 [BZ #11697]
14101 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14102
d79a9c94
UD
14103 [BZ #11820]
14104 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14105 (struct user_fpregs_struct): Avoid __uint*_t types.
14106
56e5eb46
UD
14107 [BZ #6420]
14108 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14109 symbol info. Use it instead of calling _dl_addr locally.
14110 (lock_and_info): New function.
14111 (tr_freehook): Call lock_and_info and pass symbol info as additional
14112 parameter to tr_where.
14113 (tr_mallochook): Likewise.
14114 (tr_reallochook): Likewise.
14115 (tr_memalignhook): Likewise.
14116
6ce75379
UD
14117 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14118 used and couldn't be at all thread-safe.
14119
f8a3b5bf
UD
141202011-05-15 Ulrich Drepper <drepper@gmail.com>
14121
94b7cc37
UD
14122 * libio/freopen.c (freopen): Don't close old file descriptor
14123 before the new one is opened. Instead dup the new file descriptor
14124 to the old one after the new stream is created.
14125 * libio/freopen64.c (freopen64): Likewise.
14126 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14127 * libio/fileops.c (_IO_new_file_close_it): Handle new
14128 _IO_FLAGS2_NOCLOSE flag.
14129 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14130 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14131 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14132 _IO_FLAGS2_NOCLOSE flag.
14133 * include/unistd.h: Add hidden_proto for dup3.
14134 Define __have_dup3.
14135 * io/dup3.c: Define hidden symbol.
14136 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14137
bd25564e
UD
14138 [BZ #7101]
14139 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14140 when an incomplete long option is used.
14141 * posix/tst-getopt_long1.c: New file.
14142 * posix/Makefile (tests): Add tst-getopt_long1.
14143
c84cfef4
UD
14144 [BZ #10138]
14145 * scripts/config.guess: Update from autoconf-2.68.
14146 * scripts/config.sub: Likewise.
14147
3b85df27
UD
14148 [BZ #10157]
14149 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14150 tests into ...
14151 (has_cpuclock): ...this. New function.
14152 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14153 macro here based on has_cpuclock code.
14154
15a856b1
UD
14155 [BZ #10149]
14156 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14157 First byte (not low byte) is now always NUL.
14158 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14159
05f399e6
UD
14160 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14161 Use non-cancelable interfaces.
14162
10a52685 14163 [BZ #9809]
94ecc67d
UD
14164 * locale/iso-639.def: Add entry for Sorani.
14165
f8a3b5bf
UD
14166 [BZ #11901]
14167 * include/stdlib.h: Move include protection to the right place.
14168 Define abort_msg_s. Declare __abort_msg with it.
14169 * stdlib/abort.c (__abort_msg): Adjust type.
14170 * assert/assert.c (__assert_fail_base): New function. Majority
14171 of code from __assert_fail. Allocate memory for __abort_msg with
14172 mmap.
14173 (__assert_fail): Now call __assert_fail_base.
14174 * assert/assert-perr.c: Remove bulk of implementation. Use
14175 __assert_fail_base.
14176 * include/assert.hL Declare __assert_fail_base.
14177 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14178 mmap.
14179 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14180
1af4e298
UD
141812011-05-14 Ulrich Drepper <drepper@gmail.com>
14182
f8a3b5bf 14183 [BZ #11952]
d26dfc60
MG
14184 [BZ #12453]
14185 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14186 until all modules are registered in the DTV.
14187 * elf/Makefile: Add rules to build and run tst-tls19.
14188 * elf/tst-tls19.c: New file.
14189 * elf/tst-tls19mod1.c: New file.
14190 * elf/tst-tls19mod2.c: New file.
14191 * elf/tst-tls19mod3.c: New file.
14192 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14193
2fc54d6f
UD
14194 [BZ #12083]
14195 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14196 correctly.
14197
98d76b46
UD
14198 [BZ #12601]
14199 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14200 two-byte sequence errors.
14201 * iconvdata/Makefile (tests): Add bug-iconv8.
14202 * iconvdata/bug-iconv8.c: New file.
14203
da3c19ef
UD
14204 [BZ #12626]
14205 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14206 buf2 definition.
14207
ca408c15
UD
14208 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14209
d6f67f7d
UD
14210 [BZ #12432]
14211 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14212 (dummy_getcfa): New function.
14213 (init): Get _Unwind_GetCFA address, use dummy if not found.
14214 (backtrace_helper): In recursion check, also check whether CFA changes.
14215 (__backtrace): Completely initialize arg.
14216
1af4e298 14217 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14218 storing incomplete byte sequence in state object. Avoid testing for
14219 guaranteed too small input if we know there is enough data available.
1af4e298 14220
da62f81b
AS
142212011-05-11 Andreas Schwab <schwab@redhat.com>
14222
14223 * Makeconfig (+link-pie): Indent.
14224 * Rules (binaries-pie): Define if $(have-fpie) and
14225 $(build-shared).
14226 (binaries-shared): Also filter out $(binaries-pie).
14227 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14228 * nscd/Makefile (others-pie): Add nscd.
14229 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14230 ($(objpfx)nscd): Remove command override.
14231 * login/Makefile (others-pie): Add pt_chown.
14232 ($(objpfx)pt_chown): Remove command override.
14233 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14234 remove command overrides.
14235
fcabc0f8
UD
142362011-05-13 Ulrich Drepper <drepper@gmail.com>
14237
20030ae6
UD
14238 * libio/tst_putwc.c: Fix error messages.
14239
fcabc0f8
UD
14240 [BZ #12724]
14241 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14242 currently writing and seek to current position when not.
14243 * libio/Makefile (tests): Add bug-fclose1.
14244 * libio/bug-fclose1.c: New file.
14245
320a5dc0
PB
142462011-05-12 Ulrich Drepper <drepper@gmail.com>
14247
14248 [BZ #12511]
14249 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14250 don't set DF_1_NODELETE here.
14251 (do_lookup_x): When entering new entry test for copy relocation
14252 and if necessary set DF_1_NODELETE flag.
14253 * elf/tst-unique4.cc: New file.
14254 * elf/tst-unique4.h: New file.
14255 * elf/tst-unique4lib.cc: New file.
14256 * elf/Makefile: Add rules to build and run tst-unique4.
14257 Patch by Piotr Bury <pbury@goahead.com>.
14258
22836f52
UD
142592011-05-11 Ulrich Drepper <drepper@gmail.com>
14260
f574184a
UD
14261 [BZ #12052]
14262 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14263
e1fb097f
UD
14264 [BZ #12625]
14265 * misc/mntent_r.c (addmntent): Flush the stream after the output
14266
22836f52
UD
14267 [BZ #12393]
14268 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14269 (is_trusted_path_normalize): Skip initial colon. Append slash
14270 to empty buffer. Duplicate is_trusted_path code but allow
14271 constructed patch to be prefix.
14272 (is_dst): Allow $ORIGIN followed by /.
14273 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14274 Correct testing of result of is_trusted_path_normalize
14275 (decompose_rpath): Fix warning.
14276
7b3b0b2a
UD
142772011-05-10 Ulrich Drepper <drepper@gmail.com>
14278
14279 [BZ #11257]
14280 * grp/initgroups.c (internal_getgrouplist): When we found the service
14281 list through the initgroups entry in nsswitch.conf do not always
14282 continue on a successful lookup. Don't always use the
eac80ce2 14283 __nss_group_database value if it is set.
7b3b0b2a
UD
14284 * nss/nsswitch.conf (initgroups): Change action for successful db
14285 lookup to continue for compatibility.
14286
2a81eaa5
UD
142872011-05-09 Ulrich Drepper <drepper@gmail.com>
14288
be97a69e
UD
14289 [BZ #11532]
14290 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14291 and CP774 modules.
14292 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14293 and CP774 modules.
14294 * iconvdata/tst-tables.sh: Likewise.
14295 * iconvdata/cp770.c: New file.
14296 * iconvdata/cp771.c: New file.
14297 * iconvdata/cp772.c: New file.
14298 * iconvdata/cp773.c: New file.
14299 * iconvdata/cp774.c: New file.
14300 * iconvdata/testdata/CP770: New file.
14301 * iconvdata/testdata/CP770..UTF8: New file.
14302 * iconvdata/testdata/CP771: New file.
14303 * iconvdata/testdata/CP771..UTF8: New file.
14304 * iconvdata/testdata/CP772: New file.
14305 * iconvdata/testdata/CP772..UTF8: New file.
14306 * iconvdata/testdata/CP773: New file.
14307 * iconvdata/testdata/CP773..UTF8: New file.
14308 * iconvdata/testdata/CP774: New file.
14309 * iconvdata/testdata/CP774..UTF8: New file.
14310
14311 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14312 END CHARMAP line.
14313 * iconvdata/gen-8bit-gap.sh: Likewise.
14314 * iconvdata/gen-8bit.sh: Likewise.
14315
c1e9e399
UD
14316 * locale/iso-639.def: Add ary entry.
14317
24c55fb3 14318 [BZ #11258]
96b4b1b0
UD
14319 * locale/C-translit.h.in: Add U20A1 transliteration.
14320
bdc2f971
KB
14321 [BZ #12178]
14322 * locale/iso-639.def: Add wae entry.
14323 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14324
2952b117
UD
14325 [BZ #12545]
14326 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14327 for n.
14328
2a81eaa5
UD
14329 [BZ #12711]
14330 * locale/C-translit.h.in: Add entry for U20B9.
14331 Patch by pravin.d.s@gmail.com.
14332
28377d1b
UD
143332011-05-08 Ulrich Drepper <drepper@gmail.com>
14334
7fb90fb8
UD
14335 [BZ #12713]
14336 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14337 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14338 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14339 in rtld. Use *stat64.
7fb90fb8 14340 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14341 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14342 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14343 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14344 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14345 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14346 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14347 __fstatat64 macros.
7fb90fb8
UD
14348 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14349 * dirent/rewinddir.c: Add libc_hidden_def.
14350 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14351 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14352
28377d1b
UD
14353 * include/dirent.h (__alloc_dir): Add flags parameter.
14354 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14355 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14356 __alloc_dir.
14357 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14358 from fdopendir if O_CLOEXEC is already set.
14359
66bdbaa4
AM
143602011-03-15 Alan Modra <amodra@gmail.com>
14361
14362 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14363 l_tls_firstbyte_offset non-zero. Save padding offset in
14364 l_tls_firstbyte_offset for later use.
14365 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14366 freeing static tls block.
14367
95721191
JN
143682011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14369
14370 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14371 where #ifdef was intended. The intent is to prevent ARG_MAX from
14372 being defined by the kernel headers.
14373
f87dfb1f
UD
143742011-05-07 Ulrich Drepper <drepper@gmail.com>
14375
14376 [BZ #12734]
14377 * resolv/resolv.h: Define RES_NOTLDQUERY.
14378 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14379 no-tld-query and set RES_NOTLDQUERY.
14380 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14381 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14382 modern BIND to search name as TLD unless forbidden.
14383
47c3cd7a
UD
143842011-05-07 Petr Baudis <pasky@suse.cz>
14385 Ulrich Drepper <drepper@gmail.com>
14386
14387 [BZ #12393]
14388 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14389 (is_trusted_path): ...to here.
c1e9ea35 14390 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14391 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14392 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14393
8a35c912
PP
143942011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14395
14396 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14397 __BEGIN/__END_DECLS.
14398
acd41f47
UD
143992011-05-06 Ulrich Drepper <drepper@gmail.com>
14400
14401 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14402 NSS_STATUS_NOTFOUND if no record was found.
14403
597df647
AS
144042011-05-05 Andreas Schwab <schwab@redhat.com>
14405
14406 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14407 (headers-not-in-tirpc): Remove rpc/netdb.h
14408 * resolv/netdb.h: Revert last change.
14409
b9af1301
PP
144102011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14411
14412 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14413 circular dependency between libgcc.a and libc.a.
14414
4e34d5f5
AS
144152011-05-05 Andreas Schwab <schwab@redhat.com>
14416
14417 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14418 * nis/Makefile: Don't install rpcsvc/*.
14419 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14420 instead of <rpc/types.h>.
14421 (MAXHOSTNAMELEN): Define.
14422
00ee369c
AS
144232011-05-03 Andreas Schwab <schwab@redhat.com>
14424
14425 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14426
0b592a30
MB
144272011-04-28 Maciej Babinski <mbabinski@google.com>
14428
14429 [BZ #12714]
14430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14431 gethostbyname4_r when IPv6 results are possible.
14432
6e04cbbe
UD
144332011-05-02 Ulrich Drepper <drepper@gmail.com>
14434
14435 [BZ #12723]
14436 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14437 _PC_PIPE_BUF handling.
14438
e4ecafe0
BH
144392011-04-30 Bruno Haible <bruno@clisp.org>
14440
14441 [BZ #12717]
14442 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14443 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14444 to 'int'.
14445 * inet/getnameinfo.c (getnameinfo): Likewise.
14446
125ee683
UD
144472011-04-29 Ulrich Drepper <drepper@gmail.com>
14448
14449 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14450 to groups setting in database lookup.
14451 * nss/nsswitch.conf: Add initgroups entry.
14452
b722481a
EB
144532011-04-22 Ulrich Drepper <drepper@gmail.com>
14454
14455 [BZ #12685]
14456 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14457 mode string.
14458 Patch by Eric Blake <eblake@redhat.com>.
14459
4df46dbd
L
144602011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14461
14462 * sunrpc/Makefile (need-export-routines): Add svc_run.
14463 (routines): Remove svc_run.
14464 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14465 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14466 * sunrpc/svc_run.c (svc_run): Likewise.
14467 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14468
e84142d2
UD
144692011-04-21 Ulrich Drepper <drepper@gmail.com>
14470
14471 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14472 problem in reallocation in last patch.
14473
877175d8
UD
144742011-04-20 Ulrich Drepper <drepper@gmail.com>
14475
14476 * sunrpc/Makefile: Move inclusion of Rules.
14477
ab8eed78
UD
144782011-04-19 Ulrich Drepper <drepper@gmail.com>
14479
14480 * nss/nss_files/files-initgroups.c: New file.
14481 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14482 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14483 _nss_files_initgroups_dyn.
14484
e3d8f584
RS
144852011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14486
14487 * elf/elf.h (R_ARM_IRELATIVE): Define.
14488
af190f45
UD
144892011-04-19 Ulrich Drepper <drepper@gmail.com>
14490
14491 * po/ru.po: Update from translation team.
14492
53cf59ef
UD
144932011-04-17 Ulrich Drepper <drepper@gmail.com>
14494
14495 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14496 dependencies.
14497
4c559bcd
MF
144982011-02-06 Mike Frysinger <vapier@gentoo.org>
14499
14500 [BZ #12653]
14501 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14502 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14503 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14504 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14505 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14506
4420675c
AS
145072011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14508
14509 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14510 differing bytes.
14511 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14512 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14513 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14514
75ea32ab
UD
145152011-04-17 Ulrich Drepper <drepper@gmail.com>
14516
14517 [BZ #12420]
14518 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14519 storing it.
14520 * stdlib/bug-getcontext.c: New file.
14521 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14522
27390476
AK
145232011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14524
14525 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14526 instructions into .machine "z9-109".
14527 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14528 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14529
10442705
AK
145302011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14531
14532 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14533 between environment variables and auxiliary vector.
14534
7b57bfe5
UD
145352011-04-16 Ulrich Drepper <drepper@gmail.com>
14536
14537 * Makefile: Add rules to build linkobj/libc.so.
14538 * include/libc-symbols.h: Define libc_hidden_nolink.
14539 * include/rpc/auth.h: Mark functions which are to be hidden.
14540 * include/rpc/auth_des.h: Likewise.
14541 * include/rpc/auth_unix.h: Likewise.
14542 * include/rpc/clnt.h: Likewise.
14543 * include/rpc/des_crypt.h: Likewise.
14544 * include/rpc/key_prot.h: Likewise.
14545 * include/rpc/pmap_clnt.h: Likewise.
14546 * include/rpc/pmap_prot.h: Likewise.
14547 * include/rpc/pmap_rmt.h: Likewise.
14548 * include/rpc/rpc_msg.h: Likewise.
14549 * include/rpc/svc.h: Likewise.
14550 * include/rpc/svc_auth.h: Likewise.
14551 * include/rpc/xdr.h: Likewise.
14552 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14553 * nss/Makefile: Likewise.
14554 * sunrpc/Makefile: Don't install headers. Build library with normal
14555 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14556 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14557 for the compat linking library. Remove use of INTDEF/INTUSE.
14558 * sunrpc/auth_none.c: Likewise.
14559 * sunrpc/auth_unix.c: Likewise.
14560 * sunrpc/authdes_prot.c: Likewise.
14561 * sunrpc/authuxprot.c: Likewise.
14562 * sunrpc/clnt_gen.c: Likewise.
14563 * sunrpc/clnt_perr.c: Likewise.
14564 * sunrpc/clnt_raw.c: Likewise.
14565 * sunrpc/clnt_simp.c: Likewise.
14566 * sunrpc/clnt_tcp.c: Likewise.
14567 * sunrpc/clnt_udp.c: Likewise.
14568 * sunrpc/clnt_unix.c: Likewise.
14569 * sunrpc/des_crypt.c: Likewise.
14570 * sunrpc/des_soft.c: Likewise.
14571 * sunrpc/get_myaddr.c: Likewise.
14572 * sunrpc/key_call.c: Likewise.
14573 * sunrpc/key_prot.c: Likewise.
14574 * sunrpc/netname.c: Likewise.
14575 * sunrpc/pm_getmaps.c: Likewise.
14576 * sunrpc/pm_getport.c: Likewise.
14577 * sunrpc/pmap_clnt.c: Likewise.
14578 * sunrpc/pmap_prot.c: Likewise.
14579 * sunrpc/pmap_prot2.c: Likewise.
14580 * sunrpc/pmap_rmt.c: Likewise.
14581 * sunrpc/publickey.c: Likewise.
14582 * sunrpc/rpc_cmsg.c: Likewise.
14583 * sunrpc/rpc_common.c: Likewise.
14584 * sunrpc/rpc_dtable.c: Likewise.
14585 * sunrpc/rpc_prot.c: Likewise.
14586 * sunrpc/rpc_thread.c: Likewise.
14587 * sunrpc/rtime.c: Likewise.
14588 * sunrpc/svc.c: Likewise.
14589 * sunrpc/svc_auth.c: Likewise.
14590 * sunrpc/svc_authux.c: Likewise.
14591 * sunrpc/svc_raw.c: Likewise.
14592 * sunrpc/svc_run.c: Likewise.
14593 * sunrpc/svc_simple.c: Likewise.
14594 * sunrpc/svc_tcp.c: Likewise.
14595 * sunrpc/svc_udp.c: Likewise.
14596 * sunrpc/svc_unix.c: Likewise.
14597 * sunrpc/svcauth_des.c: Likewise.
14598 * sunrpc/xcrypt.c: Likewise.
14599 * sunrpc/xdr.c: Likewise.
14600 * sunrpc/xdr_array.c: Likewise.
14601 * sunrpc/xdr_float.c: Likewise.
14602 * sunrpc/xdr_intXX_t.c: Likewise.
14603 * sunrpc/xdr_mem.c: Likewise.
14604 * sunrpc/xdr_rec.c: Likewise.
14605 * sunrpc/xdr_ref.c: Likewise.
14606 * sunrpc/xdr_sizeof.c: Likewise.
14607 * sunrpc/xdr_stdio.c: Likewise.
14608
e6c61494
UD
146092011-04-10 Ulrich Drepper <drepper@gmail.com>
14610
14611 [BZ #12650]
14612 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14613 * sysdeps/ia64/dl-tls.h: Likewise.
14614 * sysdeps/powerpc/dl-tls.h: Likewise.
14615 * sysdeps/s390/dl-tls.h: Likewise.
14616 * sysdeps/sh/dl-tls.h: Likewise.
14617 * sysdeps/sparc/dl-tls.h: Likewise.
14618 * sysdeps/x86_64/dl-tls.h: Likewise.
14619 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14620
34fe483e
AS
146212011-03-14 Andreas Schwab <schwab@redhat.com>
14622
14623 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14624 rpath element also skip the following colon.
14625 (expand_dynamic_string_token): Add is_path parameter and pass
14626 down to DL_DST_REQUIRED and _dl_dst_substitute.
14627 (decompose_rpath): Call expand_dynamic_string_token with
14628 non-zero is_path. Ignore empty rpaths.
14629 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14630 with zero is_path.
14631
f12a32e6
AS
146322011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14633
14634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14635 Make cancelable.
14636
38a7d692
UD
146372011-04-09 Ulrich Drepper <drepper@gmail.com>
14638
14639 [BZ #12655]
14640 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14641 Patch by Filipe David Manana <fdmanana@apache.org>.
14642
e451d22b
AS
146432011-04-07 Andreas Schwab <schwab@redhat.com>
14644
14645 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14646 Maintain aligned stack.
14647 (CHECK_RSP): Remove unused macro.
14648
dedc7c7b
UD
146492011-04-03 Ulrich Drepper <drepper@gmail.com>
14650
14651 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14652 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14653
94521213
UD
146542011-04-02 Ulrich Drepper <drepper@gmail.com>
14655
14656 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14657
8cb700c0 14658 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14659
0354e355
L
146602011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14661
14662 [BZ #12518]
14663 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14664 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14665 * sysdeps/x86_64/memmove.c: New file.
14666 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14667 (memcpy): Renamed to ...
14668 (__new_memcpy): This.
14669 (memcpy): Provide GLIBC_2_14 memcpy.
14670 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14671 (memcpy): Provide GLIBC_2_2_5 memcpy.
14672
8593482f
UD
146732011-04-01 Ulrich Drepper <drepper@gmail.com>
14674
14675 [BZ #12631]
14676 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14677
81a5726b
AS
146782011-03-30 Andreas Schwab <schwab@redhat.com>
14679
14680 * misc/syncfs.c: New file.
14681 * misc/Makefile (routines): Add syncfs.
14682 * posix/unistd.h: Declare syncfs.
14683 * sysdeps/unix/syscalls.list: Add syncfs.
14684
00e5419f
AS
146852011-04-01 Andreas Schwab <schwab@redhat.com>
14686
14687 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14688 open_by_handle_at.
14689 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14690 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14691 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14692 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14693 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14694 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14695 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14696
748876bf
UD
146972011-04-01 Ulrich Drepper <drepper@gmail.com>
14698
658e451d
UD
14699 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14700 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14701 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14702 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14703 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14704 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14705 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14706
748876bf
UD
14707 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14708 sync_file_range.c with -fexceptions.
14709 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14710 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14711 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14712 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14713 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14714 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14715 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14716 sync_file_range as cancellation point
14717 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14718 now a wrapper around __call_sync_file_range with cancellation handling.
14719 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14720 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14721 function name to __call_sync_file_range.
14722 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14723 Add call_sync_file_range.
748876bf 14724
6e63d5e1
AS
147252011-04-01 Andreas Schwab <schwab@redhat.com>
14726
14727 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14728 bits/timex.h.
6e63d5e1 14729
46998f74
UD
147302011-04-01 Ulrich Drepper <drepper@gmail.com>
14731
4c1423ed
UD
14732 * iconv/iconv.h: Fix typo in comment.
14733 * io/fcntl.h: Likewise.
14734 * libio/stdio.h: Likewise.
14735 * posix/spawn.h: Likewise.
14736 * posix/unistd.h: Likewise.
14737 * stdlib/stdlib.h: Likewise.
14738 * time/time.h: Likewise.
14739 * wcsmbs/wchar.h: Likewise.
14740
158648c0
UD
14741 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14742 open_by_handle): Add.
14743 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14744 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14745 Augment a few comments.
14746 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14747 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14748 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14749 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14750 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14751 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14752 open_by_handle.
14753
46998f74
UD
14754 * io/fcntl.h (AT_EMPTY_PATH): Define.
14755
83fe108b
UD
147562011-03-30 Ulrich Drepper <drepper@gmail.com>
14757
14758 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14759 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14760 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14761 to...
14762 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14763 * Versions.def: Add GLIBC_2.14.
14764 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14765 Export.
83fe108b 14766
bb242059
UD
147672011-03-22 Ulrich Drepper <drepper@gmail.com>
14768
14769 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14770 round counter.
14771 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14772
c97a1282
L
147732011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14774
14775 [BZ #12597]
14776 * string/test-strncmp.c (do_page_test): New function.
14777 (check2): Likewise.
14778 (test_main): Call check2.
14779 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14780
2a115601
UD
147812011-03-20 Ulrich Drepper <drepper@gmail.com>
14782
14783 [BZ #12587]
14784 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14785 Handle cache information in CPU leaf 4.
14786 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14787
8126d904
UD
147882011-03-18 Ulrich Drepper <drepper@gmail.com>
14789
042c49c6 14790 [BZ #12583]
8126d904
UD
14791 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14792 character representation.
14793 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14794
ccfe366e
RA
147952011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14796
14797 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14798 END(__isnan) to END(__isnanf) to match function entry point/label
14799 EALIGN(__isnanf,...).
14800
c6e13027
JJ
148012011-03-10 Jakub Jelinek <jakub@redhat.com>
14802
14803 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14804
33f85a3f
UD
148052011-03-10 Ulrich Drepper <drepper@gmail.com>
14806
028478fa
UD
14807 [BZ #12510]
14808 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14809 copy from the symbol referenced in the relocation to initialize the
14810 used variable.
14811 Patch by Piotr Bury <pbury@goahead.com>.
14812 * elf/Makefile: Add rules to build and tst-unique3.
14813 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14814 * elf/tst-unique3.cc: New file.
14815 * elf/tst-unique3.h: New file.
14816 * elf/tst-unique3lib.cc: New file.
14817 * elf/tst-unique3lib2.cc: New file.
14818
33f85a3f
UD
14819 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14820
03592fc7
MF
148212011-03-10 Mike Frysinger <vapier@gentoo.org>
14822
14823 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14824 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14825 to _start.
03592fc7 14826
6a5ee102
UD
148272011-03-06 Ulrich Drepper <drepper@gmail.com>
14828
14829 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14830 to-be-loaded object along a path to loader is ld.so.
14831
7e4ba49c
HJ
148322011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14833 Ulrich Drepper <drepper@gmail.com>
14834
14835 * sysdeps/x86_64/memset.S: After aligning destination, code
14836 branches to different locations depending on the value of
14837 misalignment, when multiarch is enabled. Fix this.
14838
148392011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14840
14841 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14842 Set _x86_64_preferred_memory_instruction for AMD processsors.
14843 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14844 Set bit_Prefer_SSE_for_memop for AMD processors.
14845
13a804de
UD
148462011-03-04 Ulrich Drepper <drepper@gmail.com>
14847
14848 * libio/fmemopen.c (fmemopen): Optimize a bit.
14849
9d25c392
AS
148502011-03-03 Andreas Schwab <schwab@redhat.com>
14851
14852 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14853
a5543c6a
RM
148542011-03-03 Roland McGrath <roland@redhat.com>
14855
14856 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14857
012d35f7
DM
148582011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14859
7e4ba49c 14860 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14861 __bzero_ultra1 instead of __memset_ultra1.
14862
4bff6e01
AS
148632011-02-23 Andreas Schwab <schwab@redhat.com>
14864 Ulrich Drepper <drepper@gmail.com>
14865
14866 [BZ #12509]
14867 * include/link.h (struct link_map): Add l_orig_initfini.
14868 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14869 returning unsuccessfully.
14870 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14871 close of a file loaded at startup, restore the original l_initfini
14872 list.
14873 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14874 list, store the pointer.
14875 * elf/Makefile ($(objpfx)noload-mem): New rule.
14876 (noload-ENV): Define.
14877 (tests): Add $(objpfx)noload-mem.
14878 * elf/noload.c: Include <memcheck.h>.
14879 (main): Call mtrace. Close all opened handles.
14880
f2092faf
AS
148812011-02-17 Andreas Schwab <schwab@redhat.com>
14882
14883 [BZ #12454]
14884 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14885 dependencies are missing.
14886
6c8a2e88
ST
148872011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14888
f2092faf 14889 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14890 Hurd needs munmap.
14891 * sysdeps/mach/hurd/ifreq.h: New file.
14892
84a42118
PB
148932011-01-27 Petr Baudis <pasky@suse.cz>
14894 Ulrich Drepper <drepper@gmail.com>
14895
071f805e 14896 [BZ 12445]#
84a42118
PB
14897 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14898 to extend_alloca().
14899 * stdio-common/bug23.c: New file.
14900 * stdio-common/Makefile (tests): Add bug23.
14901
e23fe25b
AS
149022010-09-28 Andreas Schwab <schwab@redhat.com>
14903 Ulrich Drepper <drepper@gmail.com>
14904
14905 [BZ #12489]
14906 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14907 before performing relro protection. At old place add assertion
14908 to make sure nothing changed.
14909
d3f02e10
NS
149102011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14911 Glauber de Oliveira Costa <glommer@gmail.com>
14912
14913 * elf/elf.h: Add new ARM TLS relocs.
14914
d55fd7a5
RA
149152011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14916
14917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14918 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14919 cast from r3.
14920 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14921 'tests' variable.
14922 * sysdeps/wordsize-64/tst-writev.c: New file.
14923
2206397e
RA
149242011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14925
14926 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14927 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14928 insns in _dl_start to prevent a TOC reference before relocs are
14929 resolved.
14930
e9433893
UD
149312011-02-15 Ulrich Drepper <drepper@gmail.com>
14932
14933 [BZ #12469]
14934 * Makeconfig: Remove RANLIB definition.
14935 * Makerules: Don't use RANLIB.
14936 * aclocal.m4: Remove ranlib test.
14937 * configure.in: No need to check for ranlib.
14938 * elf/rtld-Rules: Don't use RANLIB.
14939
f75286c6
ST
149402011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14941
8e31c82d
ST
14942 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14943 protection macro.
14944 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14945 inclusion protection macro.
14946
f75286c6
ST
14947 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14948 SIGRTMIN and SIGRTMAX and print information in that case only when
14949 SIGRTMIN is defined.
14950
c1d0e639
JJ
149512011-02-11 Jakub Jelinek <jakub@redhat.com>
14952
14953 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14954 arginfo fn returning -1.
14955
14956 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14957 and thousands string is zero terminated.
14958
edf9294e
AS
149592011-02-03 Andreas Schwab <schwab@redhat.com>
14960
14961 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14962 sysdeps/unix/sysv/linux/bits/socket.h.
14963
2b7e92df
ST
149642011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14965
edf9294e
AS
14966 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14967 (__CPU_COUNT): Remove old macros.
14968 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14969 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14970 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14971 (__sched_cpualloc, __sched_cpufree): Add declarations.
14972
a4c7ea7b
UD
149732011-02-05 Ulrich Drepper <drepper@gmail.com>
14974
14975 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14976 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14977 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14978 (readdhstai): Return value of addhstaiX call.
14979 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14980 (addgrbyX): Return value returned by cache_addgr.
14981 (readdgrbyname): Return value returned by addgrbyX.
14982 (readdgrbygid): Likewise.
14983 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14984 (addpwbyX): Return value returned by cache_addpw.
14985 (readdpwbyname): Return value returned by addhstbyX.
14986 (readdpwbyuid): Likewise.
14987 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14988 (addservbyX): Return value returned by cache_addserv.
14989 (readdservbyname): Return value returned by addservbyX:
14990 (readdservbyport): Likewise.
14991 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14992 (addhstbyX): Return value returned by cache_addhst.
14993 (readdhstbyname): Return value returned by addhstbyX.
14994 (readdhstbyaddr): Likewise.
14995 (readdhstbynamev6): Likewise.
14996 (readdhstbyaddrv6): Likewise.
14997 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14998 (readdinitgroups): Return value returned by addinitgroupsX.
14999 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15000 (prune_cache): Keep track of timeout value of re-added entries.
15001 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15002 * nscd/nscd.h: Adjust prototypes of readd* functions.
15003
a0bf67cc
RM
150042011-02-04 Roland McGrath <roland@redhat.com>
15005
15006 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15007 (nis_stats): Likewise.
15008 * nis/nis_modify.c (nis_modify): Likewise.
15009 * nis/nis_remove.c (nis_remove): Likewise.
15010 * nis/nis_add.c (nis_add): Likewise.
15011
15012 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15013
15014 * posix/fnmatch_loop.c: Add some consts.
15015
15016 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15017
435b95eb
L
150182011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15019
15020 [BZ #12460]
15021 * config.make.in (config-cflags-novzeroupper): Define.
15022 * configure.in: Substitute libc_cv_cc_novzeroupper.
15023 * elf/Makefile (AVX-CFLAGS): Define.
15024 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15025 (CFLAGS-tst-auditmod4a.c): Likewise.
15026 (CFLAGS-tst-auditmod4b.c): Likewise.
15027 (CFLAGS-tst-auditmod6b.c): Likewise.
15028 (CFLAGS-tst-auditmod6c.c): Likewise.
15029 (CFLAGS-tst-auditmod7b.c): Likewise.
15030 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15031
8517b15e
UD
150322011-02-02 Ulrich Drepper <drepper@gmail.com>
15033
15034 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15035 function to the callback.
15036 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15037
10a656fe
AS
150382011-02-02 Andreas Schwab <schwab@redhat.com>
15039
15040 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15041 of errno.
15042
968dad0a
UD
150432011-01-19 Ulrich Drepper <drepper@gmail.com>
15044
9f94d2ea 15045 [BZ #11724]
968dad0a
UD
15046 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15047 of constructors.
15048 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15049 of destructors.
15050 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15051
15052 [BZ #11724]
15053 * elf/Makefile: Add rules to build and run new test.
15054 * elf/tst-initorder.c: New file.
15055 * elf/tst-initorder.exp: New file.
15056 * elf/tst-initordera1.c: New file.
15057 * elf/tst-initordera2.c: New file.
15058 * elf/tst-initordera3.c: New file.
15059 * elf/tst-initordera4.c: New file.
15060 * elf/tst-initorderb1.c: New file.
15061 * elf/tst-initorderb2.c: New file.
15062 * elf/tst-order-a1.c: New file.
15063 * elf/tst-order-a2.c: New file.
15064 * elf/tst-order-a3.c: New file.
15065 * elf/tst-order-a4.c: New file.
15066 * elf/tst-order-b1.c: New file.
15067 * elf/tst-order-b2.c: New file.
15068 * elf/tst-order-main.c: New file.
15069 New test case by George Gensure <werkt0@gmail.com>.
15070
86e92359
UD
150712010-10-01 Andreas Schwab <schwab@redhat.com>
15072
15073 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15074 decoding ACE if AI_CANONIDN.
15075
5d5732b0
UD
150762011-01-18 Ulrich Drepper <drepper@gmail.com>
15077
15078 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15079
a77e8cbc
UD
150802011-01-17 Ulrich Drepper <drepper@gmail.com>
15081
6392473f
UD
15082 * version.h (RELEASE): Bump for 2.13 release.
15083 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15084
620a0529
UD
15085 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15086
18ba70a5
UD
15087 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15088 MADV_NOHUGEPAGE.
32465c3e
UD
15089 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15090 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15091 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15092 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15093 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15094 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15095
c0dafcf1
UD
15096 * posix/getconf.c: Update copyright year.
15097 * catgets/gencat.c: Likewise.
15098 * csu/version.c: Likewise.
15099 * debug/catchsegv.sh: Likewise.
15100 * debug/xtrace.sh: Likewise.
15101 * elf/ldconfig.c: Likewise.
15102 * elf/ldd.bash.in: Likewise.
15103 * elf/sprof.c (print_version): Likewise.
15104 * iconv/iconv_prog.c: Likewise.
15105 * iconv/iconvconfig.c: Likewise.
15106 * locale/programs/locale.c: Likewise.
15107 * locale/programs/localedef.c: Likewise.
15108 * malloc/memusage.sh: Likewise.
15109 * malloc/mtrace.pl: Likewise.
15110 * nscd/nscd.c (print_version): Likewise.
15111 * nss/getent.c: Likewise.
15112
a77e8cbc
UD
15113 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15114 PF_CAIF, and PF_ALG.
15115 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15116
77e8bddf
AS
151172011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15118
1f20b93a
AS
15119 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15120 (modules-names): Use them.
15121 (ifunc-test-modules, ifunc-pie-tests): Define.
15122 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15123 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15124 (test-extras): Likewise.
15125 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15126 $(compile-command.c).
15127 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15128 (all-built-dso): Define.
15129 (check-textrel.out, check-execstack.out): Depend on it.
15130
77e8bddf
AS
15131 * configure.in: Don't override --enable-multi-arch.
15132
bc425b33
UD
151332011-01-15 Ulrich Drepper <drepper@gmail.com>
15134
15135 [BZ #6812]
15136 * nscd/hstcache.c (tryagain): Define.
15137 (cache_addhst): Return tryagain not notfound for temporary errors.
15138 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15139 failed.
15140
794c3ad3
UD
151412011-01-14 Ulrich Drepper <drepper@gmail.com>
15142
70181fdd
UD
15143 [BZ #10563]
15144 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15145 to make the syscall.
15146 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15147
794c3ad3
UD
15148 [BZ #12378]
15149 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15150 and fall back to matching as normal character if the string ends before
15151 the matching ']' is found. This is what POSIX requires.
15152 * posix/testfnm.c: Adjust test result.
15153 * posix/globtest.sh: Adjust test result. Add new test.
15154 * posix/tst-fnmatch.input: Likewise.
15155 * posix/tst-fnmatch2.c: Add new test.
15156
68dc9497
AS
151572010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15158
15159 * elf/Makefile (check-execstack): Revert last change. Depend on
15160 check-execstack.h.
15161 (check-execstack.h): New target.
15162 (generated): Add check-execstack.h.
15163 * elf/check-execstack.c: Include "check-execstack.h".
15164 (main): Revert last change.
15165 (handle_file): Return zero if GNU_STACK is absent and
15166 DEFAULT_STACK_PERMS doesn't include PF_X.
15167
451f001b
UD
151682011-01-13 Ulrich Drepper <drepper@gmail.com>
15169
cfa28e56
UD
15170 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15171 in child fails because the descriptor is already closed.
8cf8ce17
UD
15172 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15173 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15174 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15175
1086d70d
UD
15176 [BZ #12397]
15177 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15178 syscall.
15179
451f001b
UD
15180 [BZ #10484]
15181 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15182 temporary buffer used to handle multi lookups locally.
a85b5cb4 15183 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15184
08769175
UD
151852011-01-12 Ulrich Drepper <drepper@gmail.com>
15186
15187 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15188 loader is ld.so.
15189
5e49c52e
UD
151902011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15191
15192 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15193 alignment for SSE2.
15194
60522a5f
UD
151952011-01-12 Ulrich Drepper <drepper@gmail.com>
15196
15197 [BZ #12394]
15198 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15199 characters. When rounding increased number of integer digits recompute
15200 number of groups.
15201 * stdio-common/tst-grouping.c: New file.
15202 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15203
f257bbd7
UD
152042011-01-09 Ulrich Drepper <drepper@gmail.com>
15205
15206 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15207 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15208
15209 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15210 void.
15211 * bits/select.h: Likewise.
15212
fa9c15cb
UD
152132011-01-08 Ulrich Drepper <drepper@gmail.com>
15214
15215 * po/ja.po: Update from translation team.
15216
16c2895f
DM
152172011-01-04 David S. Miller <davem@sunset.davemloft.net>
15218
15219 [BZ #11155]
15220 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15221 implementation just like for lxstat, fxstatat, et al.
15222
2543fef2
JM
152232010-12-27 Jim Meyering <meyering@redhat.com>
15224
15225 [BZ #12348]
15226 * posix/regexec.c (build_trtable): Return failure indication upon
15227 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15228
98727dbe
UD
152292010-12-25 Ulrich Drepper <drepper@gmail.com>
15230
5bd6dc5c
UD
15231 [BZ #12201]
15232 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15233 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15234 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15235 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15236
97983464
UD
15237 [BZ #12207]
15238 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15239
98727dbe
UD
15240 [BZ #12204]
15241 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15242 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15243
4a531bb0
L
152442010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15245
15246 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15247 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15248 script has SORT_BY_INIT_PRIORITY.
15249 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15250 NO_CTORS_DTORS_SECTIONS is defined.
15251 * elf/soinit.c: Likewise.
15252 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15253 NO_CTORS_DTORS_SECTIONS is defined.
15254 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15255 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15256 * sysdeps/sh/init-first.c: Likewise.
15257 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15258
07eb4b71
UD
152592010-12-24 Ulrich Drepper <drepper@gmail.com>
15260
15261 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15262 always use the slow path.
15263
30950a5f
RA
152642010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15265
15266 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15267 similar rule which adds the sysdep directories to the header search in
15268 order to pick up the correct platform stackinfo.h.
15269 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15270 perform test if it is, otherwise return successfully without testing.
15271 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15272 DEFAULT_STACK_PERMS define in stackinfo.h.
15273 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15274 defined in stackinfo.h.
15275 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15276 DEFAULT_STACK_PERMS defined in stackinfo.h.
15277 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15278 * sysdeps/ia64/stackinfo.h: Likewise.
15279 * sysdeps/s390/stackinfo.h: Likewise.
15280 * sysdeps/sh/stackinfo.h: Likewise.
15281 * sysdeps/sparc/stackinfo.h: Likewise.
15282 * sysdeps/x86_64/stackinfo.h: Likewise.
15283 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15284 PF_X for powerpc64. Retain PF_X for powerpc32.
15285
db753e2c
UD
152862010-12-19 Ulrich Drepper <drepper@gmail.com>
15287
14b697f7
UD
15288 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15289 accurately.
db753e2c
UD
15290 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15291 GETDENTS_64BIT_ALIGNED.
15292
28300719
UD
152932010-12-14 Ulrich Drepper <dreper@gmail.com>
15294
14b697f7 15295 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15296
4f197237
AS
152972010-12-10 Andreas Schwab <schwab@redhat.com>
15298
dbb0472f
AS
15299 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15300 _GNU_SOURCE.
15301
4f197237
AS
15302 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15303 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15304 Remove __restrict.
15305 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15306 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15307
fb88ac72
UD
153082010-12-09 Ulrich Drepper <drepper@gmail.com>
15309
15310 [BZ #11655]
15311 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15312 are initialized.
15313
42acbb92
JJ
153142010-12-09 Jakub Jelinek <jakub@redhat.com>
15315
15316 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15317
c038d98d
UD
153182010-12-03 Ulrich Drepper <drepper@gmail.com>
15319
15320 * po/it.po: Update from translation team.
15321
3a4a2499
L
153222010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15323
15324 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15325 unused codes.
15326
1e24cf6e
UD
153272010-11-30 Ulrich Drepper <drepper@gmail.com>
15328
15329 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15330
a7690819
AS
153312010-11-24 Andreas Schwab <schwab@redhat.com>
15332
15333 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15334 specially.
15335 (gaih_getanswer_slice): Likewise.
15336
3bf8d1b1
JJ
153372010-10-20 Jakub Jelinek <jakub@redhat.com>
15338
15339 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15340
6db52fbb
PB
153412010-05-31 Petr Baudis <pasky@suse.cz>
15342
15343 [BZ #11149]
15344 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15345 silently even in the chroot mode.
15346
eaca7569
UD
153472010-11-22 Ulrich Drepper <drepper@gmail.com>
15348
15349 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15350 last patch a bit. Pretty printing
15351
3056dcdb
UD
153522010-05-31 Petr Baudis <pasky@suse.cz>
15353
15354 [BZ #10085]
15355 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15356 initialization of skip_initgroups_dyn.
15357
cf7c9078
UD
153582010-11-19 Ulrich Drepper <drepper@gmail.com>
15359
15360 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15361 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15362
a1fb5e3e
UD
153632010-11-16 Ulrich Drepper <drepper@gmail.com>
15364
15365 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15366
3540d66b
AS
153672010-11-11 Andreas Schwab <schwab@redhat.com>
15368
15369 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15370 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15371 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15372 ($(objpfx)tst-fnmatch-mem): New rule.
15373 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15374 * posix/tst-fnmatch.c (main): Call mtrace.
15375
13b69574
L
153762010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15377
15378 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15379 Support Intel processor model 6 and model 0x2c.
15380
da93d214
LM
153812010-11-10 Luis Machado <luisgpm@br.ibm.com>
15382
15383 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15384 signed comparison.
15385
8ca52c6e
L
153862010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15387
15388 [BZ #12205]
15389 * string/test-strncasecmp.c (check_result): New function.
15390 (do_one_test): Use it.
15391 (check1): New function.
15392 (test_main): Use it.
15393 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15394 Support strcasecmp and strncasecmp.
15395
69da074d
UD
153962010-11-08 Ulrich Drepper <drepper@gmail.com>
15397
15398 [BZ #12194]
15399 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15400 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15401
ff02d528
L
154022010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15403
15404 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15405 IFUNC support.
15406 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15407 memset-x86-64.
15408 * sysdeps/x86_64/multiarch/bzero.S: New file.
15409 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15410 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15411 * sysdeps/x86_64/multiarch/memset.S: New file.
15412 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15414 Set bit_Prefer_SSE_for_memop for Intel processors.
15415 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15416 Define.
15417 (index_Prefer_SSE_for_memop): Define.
15418 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15419
344d0b54
LM
154202010-11-04 Luis Machado <luisgpm@br.ibm.com>
15421
15422 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15423 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15424
c0dde15b
UD
154252010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15426
15427 [BZ #12191]
15428 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15429 (__x86_64_raw_data_cache_size_half): Likewise.
15430 (__x86_64_raw_shared_cache_size): Likewise.
15431 (__x86_64_raw_shared_cache_size_half): Likewise.
15432
15433 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15434 (__x86_64_raw_data_cache_size_half): Likewise.
15435 (__x86_64_raw_shared_cache_size): Likewise.
15436 (__x86_64_raw_shared_cache_size_half): Likewise.
15437 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15438 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15439 and __x86_64_raw_shared_cache_size_half. Round
15440 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15441 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15442 to multiple of 256 bytes.
15443
0e516e0e
MS
154442010-11-03 Ulrich Drepper <drepper@gmail.com>
15445
15446 [BZ #12167]
15447 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15448 of inacessible symlinks. Verify result of symlink before returning it.
15449 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15450 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15451
0e012e87
ER
154522010-10-28 Erich Ritz <erichritz@gmail.com>
15453
15454 * math/math.h (isinf): Fix typo in comment.
15455
de0ff7bc
UD
154562010-11-01 Ulrich Drepper <drepper@gmail.com>
15457
15458 * po/da.po: Update from translation team.
15459
fa41c84d
UD
154602010-10-26 Ulrich Drepper <drepper@gmail.com>
15461
15462 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15463 is added to the list.
15464
f0967738
AK
154652010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15466 Ulrich Drepper <drepper@gmail.com>
15467
15468 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15469 the global list here. Move code to...
15470 (_dl_add_to_namespace_list): ...here. New function.
15471 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15472 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15473 * elf/dl-load.c (lose): Don't remove the element from the list.
15474 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15475 (_dl_map_object): Likewise.
15476
154772010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15478
15479 [BZ #12159]
15480 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15481 into all bytes of SSE register.
15482 Patch by Richard Li <richardpku@gmail.com>.
15483
f0967738 154842010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15485
15486 [BZ #12140]
15487 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15488 perturbing.
15489
d0b9e94f
MB
154902010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15491
15492 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15493 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15494 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15495 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15497 submachine.
15498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15499
8e9f92e9
AS
155002010-10-22 Andreas Schwab <schwab@redhat.com>
15501
15502 * include/dlfcn.h (__RTLD_SECURE): Define.
15503 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15504 mode & __RTLD_SECURE instead.
15505 (open_path): Rename preloaded parameter to secure.
15506 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15507 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15508 * elf/dl-deps.c (openaux): Likewise.
15509 * elf/rtld.c (struct map_args): Remove is_preloaded.
15510 (map_doit): Don't use it.
15511 (dl_main): Likewise.
15512 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15513 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15514
bc96fbda
AS
155152010-09-09 Andreas Schwab <schwab@redhat.com>
15516
15517 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15518 (sysd-rules-targets): Remove duplicates.
15519 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15520 rtld-%.$o dependency.
15521
22cd1c9b
AS
155222010-10-18 Andreas Schwab <schwab@redhat.com>
15523
15524 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15525 _dl_map_object do it.
15526
18edac48
UD
155272010-10-19 Ulrich Drepper <drepper@gmail.com>
15528
15529 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15530 fast fma builtins, define the macros in the C99 standard.
15531 (FP_FAST_FMAF): Likewise.
15532 (FP_FAST_FMAL): Likewise.
15533 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15534
15535 * bits/mathdef.h: Update copyright year.
15536 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15537
d2050124
MM
155382010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15539
15540 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15541 builtins, define the macros in the C99 standard.
15542 (FP_FAST_FMAF): Likewise.
15543 (FP_FAST_FMAL): Likewise.
15544 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15545 multiply/add.
15546 (FP_FAST_FMAF): Likewise.
15547
475facd1
JJ
155482010-10-15 Jakub Jelinek <jakub@redhat.com>
15549
15550 [BZ #3268]
15551 * math/libm-test.inc (fma_test): Some new testcases.
15552 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15553 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15554 y and infinite z. Do multiplication by C already in long double.
15555 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15556 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15557 y and infinite z. Do bitwise or of inexact bit into u.d.
15558 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15559 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15560 * sysdeps/i386/fpu/s_fma.S: Removed.
15561 * sysdeps/i386/fpu/s_fmal.S: Removed.
15562
7c08a05c
JJ
155632010-10-16 Jakub Jelinek <jakub@redhat.com>
15564
15565 [BZ #3268]
15566 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15567 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15568 computation is not scheduled after fetestexcept. Fix value
15569 of minimum denormal long double.
15570
f3f7372d
JJ
155712010-10-14 Jakub Jelinek <jakub@redhat.com>
15572
15573 [BZ #3268]
15574 * math/libm-test.inc (fma_test): Add some more tests.
15575 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15576 correctly.
15577
14d43591
AS
155782010-10-15 Andreas Schwab <schwab@redhat.com>
15579
15580 * scripts/data/localplt-s390-linux-gnu.data: New file.
15581 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15582
5e908464
JJ
155832010-10-13 Jakub Jelinek <jakub@redhat.com>
15584
15585 [BZ #3268]
15586 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15587 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15588 instead of dbl-64.
15589 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15590 inlines.
15591 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15592 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15593 if one of x and y is very large and the other is subnormal.
15594 * sysdeps/s390/fpu/s_fmaf.c: New file.
15595 * sysdeps/s390/fpu/s_fma.c: New file.
15596 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15597 * sysdeps/powerpc/fpu/s_fma.S: New file.
15598 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15599 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15600 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15601
156022010-10-12 Jakub Jelinek <jakub@redhat.com>
15603
15604 [BZ #3268]
15605 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15606 fma tests.
15607 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15608 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15609 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15610 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15611 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15612 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15613 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15614
b833d51f
UD
156152010-10-12 Ulrich Drepper <drepper@redhat.com>
15616
15617 [BZ #12078]
15618 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15619 * posix/bug-regex31.input: Add test case.
15620
1751705d
UD
156212010-10-11 Ulrich Drepper <drepper@gmail.com>
15622
e9b9cbf5
UD
15623 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15624 * posix/bug-regex31.input: New file.
15625
15626 [BZ #12078]
15627 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15628 (parse_sub_exp): Fix last change, use postorder.
15629
ef06edbe
UD
15630 * posix/bug-regex31.c: New file.
15631 * posix/Makefile: Add rules to build and run bug-regex31.
15632
a129c80d
UD
15633 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15634
15635 [BZ #12078]
15636 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15637
b76b818e
UD
15638 [BZ #12108]
15639 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15640 to have entries in sys_siglist.
15641
1751705d
UD
15642 [BZ #12093]
15643 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15644 be NULL.
15645
9ff8d36f
JJ
156462010-10-07 Jakub Jelinek <jakub@redhat.com>
15647
15648 [BZ #3268]
15649 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15650 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15651 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15652 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15653 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15654 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15655 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15656 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15657 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15658 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15659 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15660 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15661 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15662 * math/ftestexcept.c (fetestexcept): Likewise.
15663 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15664 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15665 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15666 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15667 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15668 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15669 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15670
af325969
UD
156712010-10-11 Ulrich Drepper <drepper@gmail.com>
15672
c579b202 15673 [BZ #12107]
af325969
UD
15674 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15675 newline.
15676
67a67b95
UD
156772010-10-06 Ulrich Drepper <drepper@gmail.com>
15678
15679 * string/bug-strstr1.c: New file.
15680 * string/Makefile: Add rules to build and run bug-strstr1.
15681
5fb308bc
EB
156822010-10-05 Eric Blake <eblake@redhat.com>
15683
15684 [BZ #12092]
15685 * string/str-two-way.h (two_way_long_needle): Always clear memory
15686 when skipping input due to the shift table.
15687
45db99c7
UD
156882010-10-03 Ulrich Drepper <drepper@gmail.com>
15689
3b111893
UD
15690 [BZ #12005]
15691 * malloc/mcheck.c: Handle large requests.
15692
45db99c7
UD
15693 [BZ #12077]
15694 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15695 for strncmp and strncasecmp.
15696 * string/stratcliff.c: Add tests for strcmp and strncmp.
15697 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15698
cf7a1eb8
NI
156992010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15700
15701 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15702 __set_fpscr.
15703
6484ba5e
AJ
157042010-09-30 Andreas Jaeger <aj@suse.de>
15705
15706 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15707 (CGROUP_SUPER_MAGIC): Define.
15708 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15709 Handle btrfs and cgroup file systems.
15710 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15711 Likewise.
15712
91c42559
LM
157132010-09-27 Luis Machado <luisgpm@br.ibm.com>
15714
15715 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15716 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15717
87a97932
AK
157182010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15719
15720 [BZ #12067]
15721 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15722 trying to locate the ELF header.
15723
c21cc9bc
AS
157242010-09-27 Andreas Schwab <schwab@redhat.com>
15725
15726 [BZ #11611]
15727 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15728 Mask out sign-bit copies when constructing f_fsid.
15729
315970f6
PB
157302010-09-24 Petr Baudis <pasky@suse.cz>
15731
15732 * debug/stack_chk_fail_local.c: Add missing licence exception.
15733 * debug/warning-nop.c: Likewise.
15734
1ac7a2c7
JM
157352010-09-15 Joseph Myers <joseph@codesourcery.com>
15736
15737 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15738 implementing getdents64 using getdents syscall, set d_type if
15739 __ASSUME_GETDENTS32_D_TYPE.
15740
56801c50
AS
157412010-09-16 Andreas Schwab <schwab@redhat.com>
15742
15743 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15744 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15745
dda51327
UD
157462010-09-21 Ulrich Drepper <drepper@redhat.com>
15747
15748 [BZ #12037]
15749 * posix/unistd.h: Undo change of feature selection for ftruncate from
15750 2010-01-11.
15751
8ffcee4a
UD
157522010-09-20 Ulrich Drepper <drepper@redhat.com>
15753
a545ecd9 15754 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15755 detection.
15756
e24f0a8b
AS
157572010-09-20 Andreas Schwab <schwab@redhat.com>
15758
15759 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15760 fanotify_mark.
15761 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15762
7291c56f
AS
157632010-09-14 Andreas Schwab <schwab@redhat.com>
15764
15765 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15766 variables after CHECK_SP call.
15767 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15768
bc5fb037
AS
157692010-09-13 Andreas Schwab <schwab@redhat.com>
15770 Ulrich Drepper <drepper@redhat.com>
15771
15772 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15773 re-relocationg ld.so.
15774 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15775 _dl_init_paths call.
15776 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15777 here anymore.
15778
e66e7419
UD
157792010-09-14 Ulrich Drepper <drepper@redhat.com>
15780
15781 * resolv/res_init.c (__res_vinit): Count the default server we added.
15782
c044aa75
CLT
157832010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15784 Ulrich Drepper <drepper@redhat.com>
15785
15786 [BZ #11968]
15787 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15788 (____longjmp_chk): Use %ebx for saving value across system call.
15789 Add unwind info.
15790
32cf4069
AS
157912010-09-06 Andreas Schwab <schwab@redhat.com>
15792
15793 * manual/Makefile: Don't mix pattern rules with normal rules.
15794
817328ee
AS
157952010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15796
15797 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15798 operation.
15799 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15800 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15801 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15802 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15803 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15804 Likewise.
15805
29fddf61
UD
158062010-09-04 Ulrich Drepper <drepper@redhat.com>
15807
15808 [BZ #11979]
15809 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15810 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15811
0959ffc9
UD
158122010-09-02 Ulrich Drepper <drepper@redhat.com>
15813
15814 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15815 * sysdeps/x86_64/addmul_1.S: Likewise.
15816 * sysdeps/x86_64/lshift.S: Likewise.
15817 * sysdeps/x86_64/mul_1.S: Likewise.
15818 * sysdeps/x86_64/rshift.S: Likewise.
15819 * sysdeps/x86_64/sub_n.S: Likewise.
15820 * sysdeps/x86_64/submul_1.S: Likewise.
15821
ece29840
ST
158222010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15823
0959ffc9
UD
15824 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15825 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15826 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15827 * bits/sched.h [__need_schedparam]
ece29840 15828 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15829 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15830 (__defined_schedparam): Define to 1.
ece29840
ST
15831 (__sched_param): New structure, identical to sched_param.
15832 (__need_schedparam): Undefine.
15833
e53a31fe
MF
158342010-08-31 Mike Frysinger <vapier@gentoo.org>
15835
fdc0c10d
MF
15836 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15837 (epoll_create1): Declare.
15838
e53a31fe
MF
15839 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15840
a726d796
AS
158412010-08-31 Andreas Schwab <schwab@redhat.com>
15842
15843 [BZ #7066]
15844 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15845 shifting retval into place.
15846
2f3e3dc7
UD
158472010-09-01 Ulrich Drepper <drepper@redhat.com>
15848
f2933da9
UD
15849 * nis/rpcsvc/nis.h: Update copyright notice.
15850 * nis/rpcsvc/nis.x: Likewise.
15851 * nis/rpcsvc/nis_callback.h: Likewise.
15852 * nis/rpcsvc/nis_callback.x: Likewise.
15853 * nis/rpcsvc/nis_object.x: Likewise.
15854 * nis/rpcsvc/nis_tags.h: Likewise.
15855 * nis/rpcsvc/yp.h: Likewise.
15856 * nis/rpcsvc/yp.x: Likewise.
15857 * nis/rpcsvc/ypupd.h: Likewise.
15858 * nis/yp_xdr.c: Likewise.
15859 * nis/ypupdate_xdr.c: Likewise.
15860
2f3e3dc7
UD
15861 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15862 mainly the body of pmap_getport. Add parameters to specify timeouts.
15863 (pmap_getport): Use __libc_rpc_getport.
15864 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15865 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15866 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15867
f3dcc2f9
AS
158682010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15869
15870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15871 fanotify_mark.
15872
6d34eb5b
RM
158732010-08-27 Roland McGrath <roland@redhat.com>
15874
15875 * sysdeps/i386/i686/multiarch/Makefile
15876 (CFLAGS-varshift.c): New variable.
15877
9ea3de11
UD
158782010-08-27 Ulrich Drepper <drepper@redhat.com>
15879
c96d23fc
UD
15880 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15881 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15882
9ea3de11
UD
15883 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15884
15885 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15886
623aac7f
L
158872010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15888
15889 * sysdeps/x86_64/strlen.S: Unroll the loop.
15890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15891 strlen-sse2 strlen-sse2-bsf.
15892 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15893 __strlen_no_bsf if bit_Slow_BSF is set.
15894 (__strlen_sse42): Removed.
15895 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15896 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15897
8b2b7715
RM
158982010-08-25 Roland McGrath <roland@redhat.com>
15899
15900 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15901 * sysdeps/x86_64/multiarch/varshift.c: New file.
15902 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15903 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15904 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15905 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15906
e73015f2
L
159072010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15908
15909 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15910 strlen-sse2 strlen-sse2-bsf.
15911 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15912 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15913 (__strlen_sse2): Removed.
15914 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15915 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15916 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15917 bit_Slow_BSF for Atom.
15918 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15919 (index_Slow_BSF): Define.
15920 (HAS_SLOW_BSF): Define.
15921
df24a73e
UD
159222010-08-25 Ulrich Drepper <drepper@redhat.com>
15923
15924 [BZ #10851]
15925 * resolv/res_init.c (__res_vinit): When no server address at all
15926 is given default to loopback.
15927
f2ac4868
RM
159282010-08-24 Roland McGrath <roland@redhat.com>
15929
09055553
RM
15930 * configure.in: Remove config-name.h generation.
15931 * configure: Regenerated.
15932 * config-name.in: File removed.
15933 * scripts/config-uname.sh: New file.
15934 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15935 ($(objdir)config-name.h): New target.
15936
f2ac4868
RM
15937 * sunrpc/rpc_parse.h: Avoid nested comment.
15938
73f27d5e
RH
159392010-08-24 Richard Henderson <rth@redhat.com>
15940 Ulrich Drepper <drepper@redhat.com>
15941 H.J. Lu <hongjiu.lu@intel.com>
15942
15943 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15945 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15946 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15947 _mm_alignr_epi8 with _mm_loadu_si128.
15948 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15949 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15950 (__m128i_shift_right): Removed.
15951 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15952 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15953 * sysdeps/x86_64/multiarch/varshift.h: New file.
15954 * sysdeps/x86_64/multiarch/varshift.S: New file.
15955
84b9230c
MF
159562010-08-21 Mike Frysinger <vapier@gentoo.org>
15957
15958 * configure.in: Move assembler checks to before sysdep dir checking.
15959
9bbd0ddc
PB
159602010-08-20 Petr Baudis <pasky@suse.cz>
15961
15962 * LICENSES: Sync the sunrpc license.
15963
9da4bb31
UD
159642010-08-19 Ulrich Drepper <drepper@redhat.com>
15965
a7ab6ec8
UD
15966 * sunrpc/auth_des.c: Update copyright notice once again.
15967 * sunrpc/auth_none.c: Likewise.
15968 * sunrpc/auth_unix.c: Likewise.
15969 * sunrpc/authdes_prot.c: Likewise.
15970 * sunrpc/authuxprot.c: Likewise.
15971 * sunrpc/bindrsvprt.c: Likewise.
15972 * sunrpc/clnt_gen.c: Likewise.
15973 * sunrpc/clnt_perr.c: Likewise.
15974 * sunrpc/clnt_raw.c: Likewise.
15975 * sunrpc/clnt_simp.c: Likewise.
15976 * sunrpc/clnt_tcp.c: Likewise.
15977 * sunrpc/clnt_udp.c: Likewise.
15978 * sunrpc/clnt_unix.c: Likewise.
15979 * sunrpc/des_crypt.c: Likewise.
15980 * sunrpc/des_soft.c: Likewise.
15981 * sunrpc/get_myaddr.c: Likewise.
15982 * sunrpc/getrpcport.c: Likewise.
15983 * sunrpc/key_call.c: Likewise.
15984 * sunrpc/key_prot.c: Likewise.
15985 * sunrpc/openchild.c: Likewise.
15986 * sunrpc/pm_getmaps.c: Likewise.
15987 * sunrpc/pm_getport.c: Likewise.
15988 * sunrpc/pmap_clnt.c: Likewise.
15989 * sunrpc/pmap_prot.c: Likewise.
15990 * sunrpc/pmap_prot2.c: Likewise.
15991 * sunrpc/pmap_rmt.c: Likewise.
15992 * sunrpc/rpc/auth.h: Likewise.
15993 * sunrpc/rpc/auth_unix.h: Likewise.
15994 * sunrpc/rpc/clnt.h: Likewise.
15995 * sunrpc/rpc/des_crypt.h: Likewise.
15996 * sunrpc/rpc/key_prot.h: Likewise.
15997 * sunrpc/rpc/netdb.h: Likewise.
15998 * sunrpc/rpc/pmap_clnt.h: Likewise.
15999 * sunrpc/rpc/pmap_prot.h: Likewise.
16000 * sunrpc/rpc/pmap_rmt.h: Likewise.
16001 * sunrpc/rpc/rpc.h: Likewise.
16002 * sunrpc/rpc/rpc_des.h: Likewise.
16003 * sunrpc/rpc/rpc_msg.h: Likewise.
16004 * sunrpc/rpc/svc.h: Likewise.
16005 * sunrpc/rpc/svc_auth.h: Likewise.
16006 * sunrpc/rpc/types.h: Likewise.
16007 * sunrpc/rpc/xdr.h: Likewise.
16008 * sunrpc/rpc_clntout.c: Likewise.
16009 * sunrpc/rpc_cmsg.c: Likewise.
16010 * sunrpc/rpc_common.c: Likewise.
16011 * sunrpc/rpc_cout.c: Likewise.
16012 * sunrpc/rpc_dtable.c: Likewise.
16013 * sunrpc/rpc_hout.c: Likewise.
16014 * sunrpc/rpc_main.c: Likewise.
16015 * sunrpc/rpc_parse.c: Likewise.
16016 * sunrpc/rpc_parse.h: Likewise.
16017 * sunrpc/rpc_prot.c: Likewise.
16018 * sunrpc/rpc_sample.c: Likewise.
16019 * sunrpc/rpc_scan.c: Likewise.
16020 * sunrpc/rpc_scan.h: Likewise.
16021 * sunrpc/rpc_svcout.c: Likewise.
16022 * sunrpc/rpc_tblout.c: Likewise.
16023 * sunrpc/rpc_util.c: Likewise.
16024 * sunrpc/rpc_util.h: Likewise.
16025 * sunrpc/rpcinfo.c: Likewise.
16026 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16027 * sunrpc/rpcsvc/key_prot.x: Likewise.
16028 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16029 * sunrpc/rpcsvc/mount.x: Likewise.
16030 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16031 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16032 * sunrpc/rpcsvc/rex.x: Likewise.
16033 * sunrpc/rpcsvc/rstat.x: Likewise.
16034 * sunrpc/rpcsvc/rusers.x: Likewise.
16035 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16036 * sunrpc/rpcsvc/spray.x: Likewise.
16037 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16038 * sunrpc/rtime.c: Likewise.
16039 * sunrpc/svc.c: Likewise.
16040 * sunrpc/svc_auth.c: Likewise.
16041 * sunrpc/svc_authux.c: Likewise.
16042 * sunrpc/svc_raw.c: Likewise.
16043 * sunrpc/svc_run.c: Likewise.
16044 * sunrpc/svc_simple.c: Likewise.
16045 * sunrpc/svc_tcp.c: Likewise.
16046 * sunrpc/svc_udp.c: Likewise.
16047 * sunrpc/svc_unix.c: Likewise.
16048 * sunrpc/svcauth_des.c: Likewise.
16049 * sunrpc/xcrypt.c: Likewise.
16050 * sunrpc/xdr.c: Likewise.
16051 * sunrpc/xdr_array.c: Likewise.
16052 * sunrpc/xdr_float.c: Likewise.
16053 * sunrpc/xdr_mem.c: Likewise.
16054 * sunrpc/xdr_rec.c: Likewise.
16055 * sunrpc/xdr_ref.c: Likewise.
16056 * sunrpc/xdr_sizeof.c: Likewise.
16057 * sunrpc/xdr_stdio.c: Likewise.
16058
9da4bb31
UD
16059 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16060 handling.
16061
bdaa77bc
AS
160622010-08-19 Andreas Schwab <schwab@redhat.com>
16063
16064 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16065
fe2f79db
LM
160662010-08-19 Luis Machado <luisgpm@br.ibm.com>
16067
16068 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16069 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16070 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16071 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16072 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16073 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16074 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16075 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16076 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16077 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16078 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16079 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16080 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16081 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16082
b9b42ee0
AB
160832010-07-26 Anton Blanchard <anton@samba.org>
16084
16085 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16086 * malloc/arena.c (heap_trim): Likewise.
16087
1c06ba31
UD
160882010-08-16 Ulrich Drepper <drepper@redhat.com>
16089
16090 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16091 here. Not...
16092 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16093 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16094
f8392f40
L
160952010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16096
16097 * sysdeps/i386/elf/Makefile: New file.
16098
3162f12e
AS
160992010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16100
16101 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16102 from fanotify_init.
16103 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16104 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16105
28c90b2c
UD
161062010-08-15 Ulrich Drepper <drepper@redhat.com>
16107
16108 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16109 of strncasecmp_l.
1feccb6c 16110 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16111
ca6bb004
UD
161122010-08-14 Ulrich Drepper <drepper@redhat.com>
16113
e9f82e0d
UD
16114 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16115 strncase_l-nonascii.
16116 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16117 Add strncase_l-ssse3.
16118 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16119 * sysdeps/x86_64/strcmp.S: Likewise.
16120 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16121 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16122 * sysdeps/x86_64/strncase.S: New file.
16123 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16124 * sysdeps/x86_64/strncase_l.S: New file.
16125 * string/Makefile (strop-tests): Add strncasecmp.
16126 * string/test-strncasecmp.c: New file.
16127
16128 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16129 warning.
16130
ca6bb004
UD
16131 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16132 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16133
052fa7b3
AS
161342010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16135
16136 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16137
962dba78
UD
161382010-08-12 Ulrich Drepper <drepper@redhat.com>
16139
16140 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16141 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16142 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16143
bebff237
AM
161442010-05-01 Alan Modra <amodra@gmail.com>
16145
16146 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16147 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16148 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16149 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16150 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16151 tidying. Don't tail-call __sigjmp_save for static lib.
16152 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16153 save location.
16154 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16155 (CALL_MCOUNT): Add eh info, and nop after bl.
16156 (TAIL_CALL_SYSCALL_ERROR): New macro.
16157 (PSEUDO_RET): Use it.
16158 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16159 Correct save location of integer regs and cr.
16160 (_dl_profile_resolve): Correct cr save location. Delete nops
16161 after bl when SHARED. Reduce cfi size a little by better
16162 placement of cfi directives.
16163 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16164 make a stack frame. Instead use parm save area as a temp.
16165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16166 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16168 Don't make a stack frame for parent, use parm save area.
16169 Increase child stack frame to 112 bytes. Don't save unused reg,
16170 and adjust reg usage. Set up cfi on error recovery and
16171 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16173 (__makecontext): Add dummy nop after jump to exit.
16174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16175 Use correct parm save area and cr save, reduce stack frame.
16176 Correct cfi for possible PSEUDO_RET frame setup.
16177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16178 Branch to local label emitted by PSEUDO_RET rather than
16179 __syscall_error.
16180
02637374
AS
161812010-08-12 Andreas Schwab <schwab@redhat.com>
16182
16183 [BZ #11904]
16184 * locale/programs/locale.c (print_assignment): New function.
16185 (show_locale_vars): Use it.
16186
c3e2f19b
UD
161872010-08-11 Ulrich Drepper <drepper@redhat.com>
16188
3cdaa6ad
UD
16189 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16190 field.
16191 (struct statfs64): Likewise.
16192 (_STATFS_F_FLAGS): Define.
16193 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16194 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16195 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16196 (ST_VALID): Define locally.
16197 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16198 __statvfs_getflags, use the provided value.
16199 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16200 __ASSUME_STATFS_F_FLAGS.
16201
754f7da3
UD
16202 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16203
10b3bedc
UD
16204 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16205 Add sys/fanotify.h.
16206 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16207 fanotify_mask for GLIBC_2.13.
16208 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16209 fanotify_init and fanotify_mark.
16210 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16211 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16212
c08fb0d7
UD
16213 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16214 Add prlimit.
16215 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16216 prlimit64 for GLIBC_2.13.
16217 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16218 prlimit64.
16219 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16220 syscall.
16221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16222 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16223 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16224 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16225 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16226 add prlimit alias.
16227 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16228
15bac72b
UD
16229 [BZ #11903]
16230 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16231 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16232
c3e2f19b
UD
16233 * nss/Makefile: Add rules to build and run tst-nss-test1.
16234 * shlib-versions: Add entry for libnss_test1.
16235 * nss/nss_test1.c: New file.
16236 * nss/tst-nss-test1.c: New file.
16237
16238 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16239 (__nss_configure_lookup): Set appropriate entry in
16240 __nss_configure_lookup to true.
16241 * nss/nsswitch.h: Define enum with indeces of databases in
16242 databases and __nss_database_custom arrays. Declare
16243 __nss_database_custom.
16244 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16245 to avoid using nscd when custom rules are installed.
16246 * nss/getXXbyYY_r.c: Likewise.
16247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16248
16249 * nss/nss_files/files-parse.c: Whitespace fixes.
16250
f15ce4d8
UD
162512010-08-09 Ulrich Drepper <drepper@redhat.com>
16252
16253 [BZ #11883]
16254 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16255 * posix/fnmatch_loop.c: Likewise.
16256
d22e4cc9
AK
162572010-07-17 Andi Kleen <ak@linux.intel.com>
16258
16259 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16260 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16261 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16262 * Versions.def [GLIBC_2.13]: Add.
16263
805bc17d
UD
162642010-08-06 Ulrich Drepper <drepper@redhat.com>
16265
16266 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16267 Also fail if tpwd after pwuid call is NULL.
16268
5a42321d
ST
162692010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16270
16271 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16272 when converting to ms.
16273
fd3ebeda
ST
162742010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16275
16276 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16277 EOPNOTSUPP errors with ENOTTY.
16278 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16279 EOPNOTSUPP errors with ENOTTY.
16280
73507d3a
UD
162812010-07-31 Ulrich Drepper <drepper@redhat.com>
16282
16283 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16284 Add strcasecmp_l-ssse3.
16285 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16286 strcasecmp.
16287 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16288 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16289 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16290
fe36dd02
UD
162912010-07-30 Ulrich Drepper <drepper@redhat.com>
16292
66f6765a
UD
16293 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16294
42e08a54
UD
16295 * string/Makefile (strop-tests): Add strcasecmp.
16296 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16297 strcasecmp_l-nonascii.
16298 (gen-as-const-headers): Add locale-defines.sym.
16299 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16300 * sysdeps/x86_64/strcasecmp.S: New file.
16301 * sysdeps/x86_64/strcasecmp_l.S: New file.
16302 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16303 * sysdeps/x86_64/locale-defines.sym: New file.
16304 * string/test-strcasecmp.c: New file.
16305
fe36dd02
UD
16306 * string/test-strcasestr.c: Test both ends of the range of characters.
16307 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16308
48cbc0d6
RM
163092010-07-29 Roland McGrath <roland@redhat.com>
16310
76e6d6bc 16311 [BZ #11856]
48cbc0d6
RM
16312 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16313
880113d9
UD
163142010-07-27 Ulrich Drepper <drepper@redhat.com>
16315
16316 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16317 for ld.so.
16318
deb9cabb
AS
163192010-07-27 Andreas Schwab <schwab@redhat.com>
16320
16321 * manual/memory.texi (Malloc Tunable Parameters): Document
16322 M_PERTURB.
16323
1c7570ff
RM
163242010-07-26 Roland McGrath <roland@redhat.com>
16325
16326 [BZ #11840]
16327 * configure.in (-fgnu89-inline check): Set and substitute
16328 gnu89_inline, not libc_cv_gnu89_inline.
16329 * configure: Regenerated.
16330 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16331
24fb0f88
UD
163322010-07-26 Ulrich Drepper <drepper@redhat.com>
16333
16334 * string/test-strnlen.c: New file.
16335 * string/Makefile (strop-tests): Add strnlen.
16336 * string/tester.c (test_strnlen): Add a few more test cases.
16337 * string/tst-strlen.c: Better error reporting.
16338
16339 * sysdeps/x86_64/strnlen.S: New file.
16340
8e96b93a
UD
163412010-07-24 Ulrich Drepper <drepper@redhat.com>
16342
16343 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16344 lower-latency instructions.
16345
dbc676d4
UD
163462010-07-23 Ulrich Drepper <drepper@redhat.com>
16347
16348 * string/test-strcasestr.c: New file.
16349 * string/test-strstr.c: New file.
16350 * string/Makefile (strop-tests): Add strstr and strcasestr.
16351 * string/str-two-way.h: Don't undefine MAX.
16352 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16353
f6a31e0e
AS
163542010-07-21 Andreas Schwab <schwab@redhat.com>
16355
16356 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16357 strcasestr-nonascii.
16358 (CFLAGS-strcasestr-nonascii.c): Define.
16359 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16360 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16361 Remove unused attribute.
16362
5dbc3b6c
RM
163632010-07-20 Roland McGrath <roland@redhat.com>
16364
16365 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16366 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16367 ld.so.cache was broken. With it, there is no way to disable dsocaps
16368 like LD_HWCAP_MASK can disable hwcaps.
16369
23d101d8
EPM
163702010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16371
16372 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16373
cc9f2e47
UD
163742010-07-16 Ulrich Drepper <drepper@redhat.com>
16375
16376 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16377 call in strcasestr.
16378 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16379 __strcasestr_sse42_nonascii.
16380 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16381 strcasestr-nonascii.c.
16382 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16383
77c1b069
LM
163842010-06-15 Luis Machado <luisgpm@br.ibm.com>
16385
16386 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16387 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16388 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16389 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16390
440566c3
UD
163912010-07-09 Ulrich Drepper <drepper@redhat.com>
16392
16393 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16394 fcntl.
16395
5be9d05d
AS
163962010-07-06 Andreas Schwab <schwab@redhat.com>
16397
c30b7ee2 16398 [BZ #11577]
5be9d05d
AS
16399 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16400 dl_signal_cerror.
16401
8a492a67
UD
164022010-07-06 Ulrich Drepper <drepper@redhat.com>
16403
16404 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16405 _PC_PIPE_BUF using F_GETPIPE_SZ.
16406
713df3d5
RM
164072010-07-05 Roland McGrath <roland@redhat.com>
16408
16409 * manual/arith.texi (Rounding Functions): Fix rint description
16410 implicit in round description.
16411
702e8f14
UD
164122010-07-02 Ulrich Drepper <drepper@redhat.com>
16413
16414 * elf/Makefile: Fix linking for a few tests to make recent linker
16415 happy.
16416
52ed8be9
AS
164172010-06-30 Andreas Schwab <schwab@redhat.com>
16418
16419 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16420 $(common-objpfx)libc_nonshared.a.
16421
f47c9a11
LM
164222010-06-21 Luis Machado <luisgpm@br.ibm.com>
16423
16424 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16425 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16426 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16427 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16428 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16429 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16430 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16431 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16446 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16447 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16448 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16449 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16450 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16451 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16452 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16453 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16454 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16455 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16456 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16457 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16472
6fb8cbcb
L
164732010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16474
16475 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16476 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16477 * string/memmove.c (memmove): Renamed to ...
16478 (MEMMOVE): ...this. Default to memmove.
16479 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16480 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16481 (END_CHK): Define.
16482 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16483 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16484 mempcpy-ssse3-back memmove-ssse3-back.
16485 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16486 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16487 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16488 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16489 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16490 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16491 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16492 * sysdeps/x86_64/multiarch/memmove.c: New file.
16493 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16494 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16495 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16496 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16497 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16498 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16499 Define.
16500 (index_Fast_Copy_Backward): Define.
16501 (HAS_ARCH_FEATURE): Define.
16502 (HAS_FAST_REP_STRING): Define.
16503 (HAS_FAST_COPY_BACKWARD): Define.
16504
4e733bac 165052010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16506
16507 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16508 Restore proper fallback handling.
16509
63c4ed22
UD
165102010-06-19 Ulrich Drepper <drepper@redhat.com>
16511
ac2b484c
UD
16512 [BZ #11701]
16513 * posix/group_member.c (__group_member): Correct checking loop.
16514
63c4ed22
UD
16515 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16516 OOM in getpwuid_r correctly. Return error number when the caller
16517 should return, otherwise -1.
16518 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16519 call returning > 0 value.
16520 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16521
765ade4b
AS
165222010-06-07 Andreas Schwab <schwab@redhat.com>
16523
16524 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16525 libc_nonshared.a from targets in modules-names.
16526
80da2e09
KS
165272010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16528
16529 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16530 requires it.
16531
158db122
LM
165322010-06-10 Luis Machado <luisgpm@br.ibm.com>
16533
16534 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16535 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16536 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16537 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16538
caa78cf8
AS
165392010-06-02 Andreas Schwab <schwab@redhat.com>
16540
16541 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16542
b2ef2c01
UD
165432010-06-14 Ulrich Drepper <drepper@redhat.com>
16544
16545 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16546 and F_GETPIPE_SZ.
16547 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16548 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16550 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16551 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16552 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16553
fbd643b6
RM
165542010-06-14 Roland McGrath <roland@redhat.com>
16555
16556 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16557
f32f2869
JJ
165582010-06-07 Jakub Jelinek <jakub@redhat.com>
16559
16560 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16561 __REDIRECT followed by __THROW.
16562 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16563 * posix/getopt.h (getopt): Likewise.
16564
2a50c078
EPM
165652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16566
16567 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16568 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16569 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16570 in AT_FLAGS.
16571 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16572 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16573
eb5ad2eb
LM
165742010-05-28 Luis Machado <luisgpm@br.ibm.com>
16575
16576 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16577
3c88fe1e
L
165782010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16579
16580 [BZ #11640]
16581 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16582 Properly check family and model.
16583
d2f73151
TY
165842010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16585
16586 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16587
ebd2e13d
LM
165882010-05-24 Luis Machado <luisgpm@br.ibm.com>
16589
16590 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16591
b32b8b45
UD
165922010-05-21 Ulrich Drepper <drepper@redhat.com>
16593
16594 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16595 symbol reference.
16596
9acbe24d
AS
165972010-05-19 Andreas Schwab <schwab@redhat.com>
16598
16599 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16600 symbol reference.
16601
f0ccf6ea
AS
166022010-05-21 Andreas Schwab <schwab@redhat.com>
16603
3d04ff3a
AS
16604 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16605 and internal_recvmmsg.
16606 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16607 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16608 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16609 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16610
f0ccf6ea
AS
16611 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16612 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16613 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16614
5b08ac57
AS
166152010-05-20 Andreas Schwab <schwab@redhat.com>
16616
16617 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16618
4828935d
LM
166192010-05-17 Luis Machado <luisgpm@br.ibm.com>
16620
16621 POWER7 optimizations.
16622 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16623 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16624
373d545e
UD
166252010-05-19 Ulrich Drepper <drepper@redhat.com>
16626
16627 * version.h: Update for 2.13 development version.
16628
21a2b1ae
AS
166292010-05-12 Andrew Stubbs <ams@codesourcery.com>
16630
16631 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16632 exceptions. Return 0.
16633
3f7dcb2b
RM
166342010-05-07 Roland McGrath <roland@redhat.com>
16635
16636 * elf/ldconfig.c (main): Add a const.
16637
5f24d53a 166382010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16639
a160f8d8
UD
16640 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16641 (args_options): Add no-idn option.
16642 (ahosts_keys_int): Add idn_flags to ai_flags.
16643 (parse_option): Handle 'i' option to clear idn_flags.
16644
5f24d53a
UD
16645 * malloc/malloc.c (_int_free): Possible race in the most recently
16646 added check. Only act on the data if no current modification
16647 happened.
265bb1ce
UD
16648
16649See ChangeLog.17 for earlier changes.