]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
SH: ____longjmp_chk for GNU/Linux with sigaltstack support.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
af1bce34
TS
12012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2
db9b5059
TS
3 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4 sysdeps/sh/____longjmp_chk.S.
5 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9
967705fe
TS
10 * sysdeps/sh/abort-instr.h: New file.
11 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12 process in case exit returns.
13
a9def8c4
TS
14 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15 initialize the GOT register before use.
16
2a649725
TS
17 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18 calculation of ARGC > 4.
19
af1bce34
TS
20 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21 meaningful names to some local labels.
22
d230f50a
KK
232012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25
26 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28 (__arch_compare_and_exchange_val_16_acq): Likewise.
29 (__arch_compare_and_exchange_val_32_acq): Likewise.
30 (atomic_exchange_and_add): Fix gUSA sequence.
31 (atomic_add): Likewise.
32 (atomic_add_negative): Likewise.
33 (atomic_add_zero): Likewise.
34 (atomic_bit_test_set): Likewise.
35
0479b305
AS
362012-06-22 Andreas Schwab <schwab@redhat.com>
37
38 [BZ #13579]
39 * include/link.h (struct link_map): Add l_free_initfini.
40 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41 l_initfini.
42 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
43 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
44 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45 set.
46
0e3933b9
CD
472012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
48
49 * configure.in: Use AC_LANG_SOURCE.
50 * configure: Regenerate.
51
4248b1b1
RM
522012-06-22 Roland McGrath <roland@hack.frob.com>
53
54 * configure.in (libc_cv_localstatedir): New substituted variable.
55 * configure: Regenerated.
56 * config.make.in (localstatedir): New variable, substituted from
57 libc_cv_localstatedir.
58 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
59 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
60 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
61 * sysdeps/gnu/configure: Regenerated.
62
006dd861
JL
632012-06-21 Jeff Law <law@redhat.com>
64
65 [BZ #14277]
66 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
67 free. Simplify list management for _LIBC case.
68
79662d42
JM
692012-06-21 Joseph Myers <joseph@codesourcery.com>
70
b7abb4bf
JM
71 [BZ #14273]
72 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
73 Clear sign bit of 64-bit integer value before comparing against
74 overflow value.
75
79662d42
JM
76 * sysdeps/mach/configure: Regenerated.
77
1f150908
L
782012-06-21 H.J. Lu <hongjiu.lu@intel.com>
79
80 [BZ #14278]
81 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
82
28363bbf
JL
832012-06-21 Jeff Law <law@redhat.com>
84
85 [BZ #13882]
86 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
87 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 88 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
89 * elf/dl-open.c (dl_open_worker): Likewise.
90
09615db4
CD
912012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
92
93 * scripts/list-sources.sh: Scan PORTS for translations.
94 * po/libc.pot: Regenerated.
95
2174c6dd
AJ
962012-06-21 Andreas Jaeger <aj@suse.de>
97
98 [BZ #12194]
99 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
100 warning.
101 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
102 * bits/byteswap-16.h (__bswap_16): Likewise.
103 * bits/byteswap.h (__bswap_constant_16): Likewise.
104
3ee947b1
L
1052012-06-18 H.J. Lu <hongjiu.lu@intel.com>
106
107 [BZ #14117]
a2f34833
L
108 * sysdeps/i386/fpu_control.h: Removed.
109 * sysdeps/x86_64/fpu_control.h: Moved to ...
110 * sysdeps/x86/fpu_control.h: Here.
111
3ee947b1
L
112 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
113 (_FPU_SETCW): Likewise.
114
ed1825f8
L
1152012-06-15 H.J. Lu <hongjiu.lu@intel.com>
116
25f1282a
L
117 [BZ #14117]
118 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
119 * sysdeps/x86/fpu/bits/mathinline.h: This.
120 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
121
ed1825f8
L
122 [BZ #14050]
123 [BZ #14117]
124 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
125 functions if __x86_64__ is defined.
126
36d54b74
CLT
1272012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
128
129 * string/endian.h: Add !__ASSEMBLER__ condition for including
130 conversion interfaces.
131
10285c21
JM
1322012-06-15 Joseph Myers <joseph@codesourcery.com>
133
134 [BZ #14241]
135 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
136 of ABS(x) in calculating zero to negative powers other than odd
137 integers.
138 * math/libm-test.inc (pow_test): Add more tests.
139
06c5abbd
AJ
1402012-06-15 Andreas Jaeger <aj@suse.de>
141
142 * manual/contrib.texi (Contributors): Update entry of Liubov
143 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
144 Machado Filho.
145
a3aeac40
CH
1462012-06-15 Cyril Hrubis <metan@ucw.cz>
147
148 * string/string.h: Add __wur to GNU version of strerror_r.
149
49bdf4c1
L
1502012-06-14 H.J. Lu <hongjiu.lu@intel.com>
151
152 [BZ #14229]
153 * string/Makefile (tests): Add tst-strtok_r.
154 * string/tst-strtok_r.c: New file.
155 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
156 RAX_LP/RDX_LP on SAVE_PTR.
157
834f9b8d
RM
1582012-06-14 Roland McGrath <roland@hack.frob.com>
159
160 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
161
75fa1921
JM
1622012-06-14 Joseph Myers <joseph@codesourcery.com>
163
164 * libm_test.inc (csqrt_test): Allow more spurious underflow
165 exceptions.
166 (j0_test): Likewise.
167 (j1_test): Likewise.
168 (y0_test): Likewise.
169 (y1_test): Likewise.
170
771766df
CD
1712012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
172
173 * po/Makefile (libc.pot): Use UTF-8 charset.
174
ceb9e56b
PP
1752012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
176
177 [BZ #14210]
178 Suppress sign-conversion warning from FD_SET.
179 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
180 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
181 not unsigned long int.
182 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
183
ddb28975
L
1842012-06-12 H.J. Lu <hongjiu.lu@intel.com>
185
186 [BZ #14050]
187 [BZ #14117]
188 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
189 __extern_always_inline instead of __extern_inline.
190 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
191 (__signbit): Likewise.
192 (__signbitl): Support C++ namespace.
193 (lrintf): New inline function.
194 (lrint): Likewise.
195 (llrintf): Likewise.
196 (llrint): Likewise.
197 (fmaxf): Likewise.
198 (fmax): Likewise.
199 (fminf): Likewise.
200 (fmin): Likewise.
201 (rint): Likewise.
202 (rintf): Likewise.
203 (ceil): Likewise.
204 (ceilf): Likewise.
205 (floor): Likewise.
206 (floorf): Likewise.
207 (nearbyint): Likewise.
208 (nearbyintf): Likewise.
209
d7b4fb26
TS
2102012-06-12 Thomas Schwinge <thomas@codesourcery.com>
211
212 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
213 non-default versions.
214
eb55f5c2
RM
2152012-06-11 Roland McGrath <roland@hack.frob.com>
216
217 [BZ #14218]
218 * manual/argp.texi (Argp): Reword argp_parse description slightly.
219
366af02c
TS
2202012-06-09 Thomas Schwinge <thomas@codesourcery.com>
221
99ff6e5c
TS
222 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
223 (FE_UPWARD, FE_DOWNWARD): Don't define.
224 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
225 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
226
366af02c
TS
227 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
228 reading it.
229 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
230 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
231
793ea851
KK
2322012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
233
234 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
235 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
236 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
237 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
238
a728a38f
L
2392012-06-06 H.J. Lu <hongjiu.lu@intel.com>
240
241 [BZ #14117]
c08010c7
L
242 * sysdeps/i386/fpu/bits/fenv.h: Removed.
243 * sysdeps/i386/fpu/Implies: New file.
244 * sysdeps/x86_64/fpu/Implies: Likewise.
245 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
246 * sysdeps/x86/fpu/bits/fenv.h: This.
247
a728a38f
L
248 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
249 __SSE_MATH__.
250
6e230d11
SP
2512012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
252
253 [BZ #14134]
254 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
255 character 0xffff that matches the last element of the
256 conversion table.
257
1b671feb
AZ
2582012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
259
260 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
261 fmodl commit.
262
6043738b
AZ
2632012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
264
265 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
266 values higher than 25.6283.
267
34ae0b32
AZ
2682012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
269
270 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
271 subnormal exponent extraction and add some __builtin_expect.
272 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
273 Fix for subnormal mantissa calculation.
274
1214ec8f
MF
2752012-06-04 Mike Frysinger <vapier@gentoo.org>
276
277 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
278 cpu2 is -1 and errno is not ENOSYS.
279
f3d1f93c
L
2802012-06-04 H.J. Lu <hongjiu.lu@intel.com>
281
282 [BZ #14117]
0e4a3cd7
L
283 * sysdeps/i386/i486/bits/string.h: Renamed to ...
284 * sysdeps/x86/bits/string.h: This.
285 * sysdeps/x86_64/bits/string.h: Removed.
286
6704c645
L
287 * sysdeps/i386/i486/bits/string.h: Define inline functions only
288 if not compiling for x86-64, but compiling for >= i486.
289
48495318
L
290 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
291 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
292
14adcbfc
L
293 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
294 New macro from Linux kernel 3.4.0.
295 (FP_XSTATE_MAGIC2): Likewise.
296 (FP_XSTATE_MAGIC2_SIZE): Likewise.
297 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
298 (struct _fpx_sw_bytes): New struct.
299 (struct _xsave_hdr): Likewise.
300 (struct _ymmh_state): Likewise.
301 (struct _xstate): Likewise.
302
68e408ab
L
303 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
304 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
305 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
306 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
307 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
308 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
309
f3d1f93c
L
310 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
311 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
312 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
313 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
314 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
315 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
316
d9dc34cd
TMQMF
3172012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
318
319 [BZ #13743]
320 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
321 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
322 (sysdep_headers): Include sys/platform/ppc.h.
323 * sysdeps/powerpc/test-gettimebase.c: Test for
324 __ppc_get_timebase() to catch future ISA opcode/insn changes.
325 * manual/Makefile (appendices): Include platform.texi.
326 * manual/contrib.texi (Contributors): Update @node pointers.
327 * manual/maint.texi (Maintenance): Likewise.
328 (Platform): New node.
329 * manual/platform.texi: New file. Document the new features.
330
4af3879c
SP
3312012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
332 Jakub Jelinek <jakub@redhat.com>
333
334 [BZ #14188]
335 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
336 where __builtin_expect is unavailable.
337
2fd6ff13
DM
3382012-06-03 David S. Miller <davem@davemloft.net>
339
340 * stdlib/longlong.h: Updated from GCC.
341
173f7220
AS
3422012-06-02 Andreas Schwab <schwab@linux-m68k.org>
343
344 [BZ #14042]
345 * sysdeps/powerpc/powerpc32/mcount.c: New file.
346 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
347 __mcount_internal.
348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
349 (GLIBC_2.16): Likewise.
350
f34a1c6f
L
3512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
352
353 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
354
88a4576f
JM
3552012-06-01 Joseph Myers <joseph@codesourcery.com>
356
ea32bcdd
JM
357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
358 (default-abi): New variable.
359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
360 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
361 variable.
362 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
363 Likewise.
364 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
365 Likewise.
366 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
367 Likewise.
368
88a4576f
JM
369 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
370 definition. Document in comment.
371
402fe938
DM
3722012-06-01 David S. Miller <davem@davemloft.net>
373
374 * stdlib/longlong.h: Updated from GCC.
375
3553723f
L
3762012-06-01 H.J. Lu <hongjiu.lu@intel.com>
377
378 [BZ #14117]
3bd872c4
L
379 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
380 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
381 sys/debugreg.h sys/io.h here.
382 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
383 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
384 sys/io.h.
385 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
386 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
387 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
388 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
389 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
390 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
391
3553723f
L
392 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
393 Define only if __x86_64__ is defined.
394
4842e4fe
JM
3952012-06-01 Joseph Myers <joseph@codesourcery.com>
396
c5bfe3d5
JM
397 [BZ #14048]
398 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
399 Use int64_t for variable i.
400 * math/libm-test.inc (fmod_test): Add more tests.
401
4842e4fe
JM
402 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
403 z computation is not scheduled after fetestexcept.
404 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
405 Use math_force_eval instead of asm to ensure calculation scheduled
406 before exception test.
407 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
408 Ensure a1 + u.d computation is not scheduled after fetestexcept.
409
efb73488
AJ
4102012-06-01 Aurelien Jarno <aurelien@aurel32.net>
411
412 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
413 computation is not scheduled after fetestexcept.
414
29bcce7c
L
4152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
416
417 [BZ #14117]
418 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
419 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
420
73a68f94
AZ
4212012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
422
423 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
424 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
425
67b6df78
L
4262012-05-31 H.J. Lu <hongjiu.lu@intel.com>
427
edf2933a 428 [BZ #14117]
ebc64a18
L
429 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
430 <bits/wordsize.h>.
431 (__WCHAR_MIN): Support __WORDSIZE == 64.
432 (__WCHAR_MAX): Likewise.
433
edf2933a
L
434 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
435 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
436
57c6cf40
L
437 [BZ #14183]
438 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
439 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
440
67b6df78 441 [BZ #14117]
8eb6281e
L
442 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
443 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
444
aac639f4
L
445 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
446 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
447
67b6df78
L
448 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
449 Defined to 1 if __x86_64__ isn't defined.
450 (_STAT_VER_LINUX_OLD): New.
451 (st_atime): Remove duplicate.
452 (st_mtime): Likewise.
453 (st_ctime): Likewise.
454
1c2cfe81
DM
4552012-05-31 David S. Miller <davem@davemloft.net>
456
457 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
458 entries.
459
5be8418c
AS
4602012-06-01 Andreas Schwab <schwab@linux-m68k.org>
461
e7725326
AS
462 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
463 gen-libm-test.pl.
464
5be8418c
AS
465 [BZ #14132]
466 * elf/dl-reloc.c: Include <_itoa.h>.
467 (_dl_reloc_bad_type): Remove use of INTUSE.
468 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
469 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
470 * stdio-common/psiginfo.c (psiginfo): Likewise.
471 * stdio-common/psignal.c (psignal): Likewise.
472 * string/strsignal.c (strsignal): Likewise.
473 * include/signal.h (_sys_siglist): Declare hidden proto.
474 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
475 INTVARDEF with libc_hidden_data_def.
476 * stdio-common/itoa-udigits.c: Likewise.
477 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
478 (_itoa_lower_digits_internal): Remove declaration.
479 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
480 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
481 (_sys_sigabbrev_internal): Remove aliases.
482 (_sys_siglist): Define hidden alias.
483
507352f1
MT
4842012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
485
486 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
487 bits/sysctl.h.
488
42bbb1c3
L
4892012-05-31 H.J. Lu <hongjiu.lu@intel.com>
490
491 [BZ #14117]
6bd784b6
L
492 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
493 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
494
8bca20f0
L
495 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
496 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
497 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
498 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
499 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
500 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
501
f9e890a9
L
502 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
503 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
504 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
505
471101a1
L
506 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
507 with __addr.
508 (insw): Likewise.
509 (insl): Likewise.
510 (outsb): Likewise.
511 (outsw): Likewise.
512 (outsl): Likewise.
513
6451c862
L
514 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
515 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
516 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
517
a254b8c9
L
518 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
519 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
520 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
521 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
522 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
523 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
524
b8dfdd92
L
525 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
526 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
527
578cd270
L
528 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
529 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
530
de662f5f
L
531 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
532 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
533 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
534
25653439
L
535 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
536 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
537 to ...
538 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
539
6bad24a0
L
540 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
541 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
542 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
543
42bbb1c3
L
544 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
545 for x86-64.
546 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
547
2d10d547
JM
5482012-05-31 Joseph Myers <joseph@codesourcery.com>
549
550 * math/math.h (M_El): Use two more decimal places.
551 (M_LOG2El): Likewise.
552 (M_LOG10El): Likewise.
553 (M_LN2l): Likewise.
554 (M_LN10l): Likewise.
555 (M_PIl): Likewise.
556 (M_PI_2l): Likewise.
557 (M_PI_4l): Likewise.
558 (M_1_PIl): Likewise.
559 (M_2_PIl): Likewise.
560 (M_2_SQRTPIl): Likewise.
561 (M_SQRT2l): Likewise.
562 (M_SQRT1_2l): Likewise.
563
f230c29b
DM
5642012-05-31 David S. Miller <davem@davemloft.net>
565
566 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
567 values between float registers.
568 * sysdeps/sparc/sparc64/memset.S: Likewise.
569 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
570
fed806c3
MF
5712012-05-31 Mike Frysinger <vapier@gentoo.org>
572
573 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
574 -D_FORTIFY_SOURCE=1.
575 (CPPFLAGS-tst-longjmp_chk.c): Define.
576 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
577 (CPPFLAGS-tst-longjmp_chk2.c): Define.
578 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
579 CFLAGS-tst-wchar-h.c.
580
30917259
MP
5812012-05-31 Marek Polacek <polacek@redhat.com>
582
583 [BZ #14132]
584 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
585 __endmntent_internal): Remove declaration.
586 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
587 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
588 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
589
1c58d5dc
DM
5902012-05-30 David S. Miller <davem@davemloft.net>
591
592 * sysdeps/sparc/sparc32/soft-fp/q_util.c
593 (___Q_simulate_exceptions): Use real FP ops rather than writing
594 into the %fsr.
595 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
596 Likewise.
597
7dc00e0d
L
5982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
599
600 [BZ #14117]
0bd53985
L
601 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
602 * sysdeps/x86/bits/xtitypes.h: This.
603
3a257e66
L
604 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
605 * sysdeps/x86/bits/wordsize.h: This.
606
62f62904
L
607 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
608 * sysdeps/x86/bits/huge_vall.h: This.
609
404fe9d9
L
610 * sysdeps/i386/bits/select.h: Removed.
611 * sysdeps/x86_64/bits/select.h: Renamed to ...
612 * sysdeps/x86/bits/select.h: This.
613
d48d0446
L
614 * sysdeps/i386/bits/setjmp.h: Removed.
615 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
616 * sysdeps/x86/bits/setjmp.h: This.
617
7dc00e0d
L
618 * sysdeps/i386/bits/mathdef.h: Removed.
619 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
620 * sysdeps/x86/bits/mathdef.h: This.
621
03277f8f
AS
6222012-05-30 Andreas Schwab <schwab@linux-m68k.org>
623
624 [BZ #14132]
625 * include/sys/socket.h (__connect_internal)
626 (__libc_sa_len_internal): Remove declaration.
627 (__connect, __libc_sa_len): Declare hidden_proto.
628 (SA_LEN): Remove use of INTUSE.
629 * socket/connect.c: Add libc_hidden_def.
630 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
631 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
632 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
633 alias.
634 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
635 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
636 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
637 of adding _internal alias.
638
13764867
L
6392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
640
641 [BZ #14117]
6bd97696
L
642 * sysdeps/i386/bits/link.h: Removed.
643 * sysdeps/i386/bits/linkmap.h: Likewise.
644 * sysdeps/x86_64/bits/link.h: Renamed to ...
645 * sysdeps/x86/bits/link.h: This.
646 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
647 * sysdeps/x86/bits/linkmap.h: This.
648
f726f0bb
L
649 * sysdeps/i386/bits/endian.h: Removed.
650 * sysdeps/x86_64/bits/endian.h: Renamed to ...
651 * sysdeps/x86/bits/endian.h: This.
652
13764867
L
653 * sysdeps/i386/bits/byteswap.h: Removed.
654 * sysdeps/i386/bits/byteswap-16.h: Likewise.
655 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
656 * sysdeps/x86/bits/byteswap.h: This.
657 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
658 * sysdeps/x86/bits/byteswap-16.h: This.
659 * sysdeps/i386/Implies: Add x86.
660 * sysdeps/x86_64/Implies: Likewise.
661
ae251b0b
DM
6622012-05-30 David S. Miller <davem@davemloft.net>
663
664 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
665 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
666 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
667 (FP_TRAPPING_EXCEPTIONS): Define.
668 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
669 (FP_TRAPPING_EXCEPTIONS): Define.
670 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
671 subnormals only when inexact has been signalled or underflow
672 exceptions are enabled.
673 (_FP_PACK_CANONICAL): Likewise.
674
d5c90867
L
6752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
676
677 [BZ #14183]
678 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
679 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
680
63f1549e
RH
6812012-05-30 Richard Henderson <rth@twiddle.net>
682
8d8f2279
RH
683 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
684 with #ifndef NOT_IN_libc.
685
63f1549e
RH
686 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
687 marked to avoid plt entry.
688
0ab0291b
L
6892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
690
691 [BZ #14112]
692 * Makeconfig (default-abi): New macro.
693 (abi-includes): Likewise.
694 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
695 $(abi-$(default-abi)-lib-soname) for soname if defined.
696 ($(common-objpfx)gnu/lib-names.stmp): Generate from
697 abi-variants.
698 * Makefile (installed-stubs): Likewise.
699 * include/stubs-biarch.h: Removed.
700 * scripts/lib-names.awk: Only handle one library at a time.
701 * scripts/soversions.awk: Remove WORDSIZE support.
702 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
703 entries.
704 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
705 Removed.
706 (syscall-list-default-condition): Likewise.
707 (syscall-list-default-condition): Likewise.
708 (syscall-list-includes): Likewise.
709 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
710 syscall-list-* with abi-*. Handle undefined abi-variants.
711 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
712 * sysdeps/unix/sysv/linux/i386/Implies: New file.
713 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
714 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
715 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
716 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
717 Removed.
718 (syscall-list-32-options): Likewise.
719 (syscall-list-32-condition): Likewise.
720 (syscall-list-64-options): Likewise.
721 (syscall-list-64-condition): Likewise.
722 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
723 macro.
724 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
725 Renamed to ...
726 (abi-*): This.
727 (abi-64-ld-soname): New macro.
728 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
729 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
730 Renamed to ...
731 (abi-*): This.
732 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
733 * sysdeps/x86_64/x32/shlib-versions: Likewise.
734
4da0431d
JM
7352012-05-30 Joseph Myers <joseph@codesourcery.com>
736
3a85279c
JM
737 * sysdeps/unix/sysv/linux/kernel-features.h
738 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
739 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
740 include <kernel-features.h>.
741 [!__NR_ftruncate64]: Remove conditional code.
742 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
743 [__NR_ftruncate64]: Make code unconditional.
744 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
745 * sysdeps/unix/sysv/linux/truncate64.c: Do not
746 include <kernel-features.h>.
747 [!__NR_ftruncate64]: Remove conditional code.
748 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
749 [__NR_ftruncate64]: Make code unconditional.
750 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
752 include <kernel-features.h>.
753 [!__NR_ftruncate64]: Remove conditional code.
754 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
755 [__NR_ftruncate64]: Make code unconditional.
756 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
758 include <kernel-features.h>.
759 [!__NR_ftruncate64]: Remove conditional code.
760 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
761 [__NR_ftruncate64]: Make code unconditional.
762 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
763
4da0431d
JM
764 * configure.in (libc_cv_fpie): Weaken to a compile test using
765 LIBC_TRY_CC_OPTION.
766 * configure: Regenerated.
767
11ef492c
AK
7682012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
769
770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
774 Refreshed.
775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
781 Refreshed.
782
d66ef399
DM
7832012-05-27 David S. Miller <davem@davemloft.net>
784
785 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
786 (___Q_zero): New.
787 (__Q_simulate_exceptions): Return void. Change to simulate
788 exceptions by writing into the %fsr.
789 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
790 (__Qp_handle_exceptions): Likewise.
791 (numbers): Delete.
792 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
793 __Qp_handle_exceptions.
794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
795 __Qp_handle_exceptions.
796 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
797 as unused and give dummy FP_RND_NEAREST initializer.
798 (FP_INHIBIT_RESULTS): Define.
799 (___Q_simulate_exceptions): Update declaration.
800 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
801 formatting.
802 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
803 as unused and give dummy FP_RND_NEAREST initializer.
804 (__Qp_handle_exceptions): Update declaration.
805 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
806 formatting.
807
04fb54b5
TS
8082012-05-27 Thomas Schwinge <thomas@codesourcery.com>
809
810 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
811 the temporary FPU control word.
812 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
813 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
814 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
815 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
816 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
817 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
818 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
819 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
820 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
821 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
822 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
823
3f99608f
KK
8242012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
825
826 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
827 fields.
828
65a4de4e
CLT
8292012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
830
831 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
832 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
833 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
834 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
835 Likewise.
836 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
837 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
838 Likewise.
839
15749d40
UD
8402012-05-27 Ulrich Drepper <drepper@gmail.com>
841
842 * po/h.po: Update from translation team.
843
25dbcb27
AS
8442012-05-26 Andreas Schwab <schwab@linux-m68k.org>
845
3d3f8e55
AS
846 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
847
25dbcb27
AS
848 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
849 handling of denormals.
850 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
851 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
852 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
853 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
854 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
855 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
856 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
857 Likewise.
858
7ad47a80 8592012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
860
861 [BZ #14152]
862 * math/libm-test.inc (fma_test): Don't always expect underflow
863 exception.
864
9c6ea9fa
SP
8652012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
866
867 [BZ #12416]
868 * elf/tst-execstack.c: Include stackinfo.h.
869 (do_test): Adjust test case to ensure that pthread_getattr_np
870 behaviour remains the same after marking stack executable.
871
a8239222
JM
8722012-05-25 Joseph Myers <joseph@codesourcery.com>
873
874 * sysdeps/unix/sysv/linux/kernel-features.h
875 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
876 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
877 kernel-features.h.
878 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
879 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
880 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
881 kernel-features.h.
882 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
883 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
884
918b5606
L
8852012-05-25 H.J. Lu <hongjiu.lu@intel.com>
886
887 * configure.in: Define the default includes to being none.
888 * configure: Regenerated.
889
3a097cc7
RM
8902012-05-25 Roland McGrath <roland@hack.frob.com>
891
8422c9a5
RM
892 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
893 * sysdeps/x86_64/setjmp.S: Likewise.
894 * sysdeps/i386/bsd-setjmp.S: Likewise.
895 * sysdeps/i386/bsd-_setjmp.S: Likewise.
896 * sysdeps/i386/setjmp.S: Likewise.
897 * sysdeps/i386/__longjmp.S: Likewise.
898 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
899 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
900
3a097cc7
RM
901 * include/stap-probe.h: New file.
902 * configure.in: Handle --enable-systemtap.
903 * configure: Regenerated.
904 * config.h.in (USE_STAP_PROBE): New #undef.
905 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
906 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
907 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
908
21708942
JM
9092012-05-25 Joseph Myers <joseph@codesourcery.com>
910
911 [BZ #13717]
912 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
913 to 2.4.0 where earlier.
914 * sysdeps/unix/sysv/linux/configure: Regenerated.
915 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
916 <kernel-features.h>.
917 [__ASSUME_32BITUIDS]: Make code unconditional.
918 [!__ASSUME_32BITUIDS]: Remove conditional code.
919 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
920 <kernel-features.h>.
921 [__ASSUME_32BITUIDS]: Make code unconditional.
922 [!__ASSUME_32BITUIDS]: Remove conditional code.
923 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
924 [__ASSUME_32BITUIDS]: Make code unconditional.
925 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
926 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
927 <kernel-features.h>.
928 [__ASSUME_32BITUIDS]: Make code unconditional.
929 [!__ASSUME_32BITUIDS]: Remove conditional code.
930 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
931 <kernel-features.h>.
932 [__ASSUME_32BITUIDS]: Make code unconditional.
933 [!__ASSUME_32BITUIDS]: Remove conditional code.
934 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
935 <kernel-features.h>.
936 [__ASSUME_32BITUIDS]: Make code unconditional.
937 [!__ASSUME_32BITUIDS]: Remove conditional code.
938 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
939 <kernel-features.h>.
940 [__ASSUME_32BITUIDS]: Make code unconditional.
941 [!__ASSUME_32BITUIDS]: Remove conditional code.
942 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
943 <kernel-features.h>.
944 [__ASSUME_32BITUIDS]: Make code unconditional.
945 [!__ASSUME_32BITUIDS]: Remove conditional code.
946 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
947 <kernel-features.h>.
948 [__ASSUME_32BITUIDS]: Make code unconditional.
949 [!__ASSUME_32BITUIDS]: Remove conditional code.
950 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
951 <kernel-features.h>.
952 [__ASSUME_32BITUIDS]: Make code unconditional.
953 [!__ASSUME_32BITUIDS]: Remove conditional code.
954 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
955 <kernel-features.h>.
956 [__ASSUME_32BITUIDS]: Make code unconditional.
957 [!__ASSUME_32BITUIDS]: Remove conditional code.
958 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
959 <kernel-features.h>.
960 [__ASSUME_32BITUIDS]: Make code unconditional.
961 [!__ASSUME_32BITUIDS]: Remove conditional code.
962 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
963 <kernel-features.h>.
964 [__ASSUME_32BITUIDS]: Make code unconditional.
965 [!__ASSUME_32BITUIDS]: Remove conditional code.
966 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
967 <kernel-features.h>.
968 [__NR_setresgid] (__setresgid): Do not declare.
969 [__ASSUME_32BITUIDS]: Make code unconditional.
970 [!__ASSUME_32BITUIDS]: Remove conditional code.
971 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
972 <kernel-features.h>.
973 [__NR_setresuid] (__setresuid): Do not declare.
974 [__ASSUME_32BITUIDS]: Make code unconditional.
975 [!__ASSUME_32BITUIDS]: Remove conditional code.
976 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
977 <kernel-features.h>.
978 [__ASSUME_32BITUIDS]: Make code unconditional.
979 [!__ASSUME_32BITUIDS]: Remove conditional code.
980 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
981 <kernel-features.h>.
982 [__ASSUME_32BITUIDS]: Make code unconditional.
983 [!__ASSUME_32BITUIDS]: Remove conditional code.
984 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
985 <kernel-features.h>.
986 [__ASSUME_32BITUIDS]: Make code unconditional.
987 [!__ASSUME_32BITUIDS]: Remove conditional code.
988 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
989 <kernel-features.h>.
990 [__ASSUME_32BITUIDS]: Make code unconditional.
991 [!__ASSUME_32BITUIDS]: Remove conditional code.
992 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
993 <kernel-features.h>.
994 [__ASSUME_32BITUIDS]: Make code unconditional.
995 [!__ASSUME_32BITUIDS]: Remove conditional code.
996 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
997 <kernel-features.h>.
998 [__ASSUME_32BITUIDS]: Make code unconditional.
999 [!__ASSUME_32BITUIDS]: Remove conditional code.
1000 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1001 <kernel-features.h>.
1002 [__ASSUME_32BITUIDS]: Make code unconditional.
1003 [!__ASSUME_32BITUIDS]: Remove conditional code.
1004 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1005 <kernel-features.h>.
1006 [__ASSUME_32BITUIDS]: Make code unconditional.
1007 [!__ASSUME_32BITUIDS]: Remove conditional code.
1008 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1009 <kernel-features.h>.
1010 [__ASSUME_32BITUIDS]: Make code unconditional.
1011 [!__ASSUME_32BITUIDS]: Remove conditional code.
1012 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1013 <kernel-features.h>.
1014 [__ASSUME_32BITUIDS]: Make code unconditional.
1015 [!__ASSUME_32BITUIDS]: Remove conditional code.
1016 * sysdeps/unix/sysv/linux/kernel-features.h
1017 (__ASSUME_SETRESUID_SYSCALL): Remove.
1018 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1019 (__ASSUME_32BITUIDS): Likewise.
1020 (__ASSUME_LDT_WORKS): Likewise.
1021 (__ASSUME_O_DIRECTORY): Likewise.
1022 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1023 architecture but not kernel version.
1024 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1025 (__ASSUME_MMAP2_SYSCALL): Likewise.
1026 (__ASSUME_STAT64_SYSCALL): Likewise.
1027 (__ASSUME_IPC64): Likewise.
1028 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1029 <kernel-features.h>.
1030 [__ASSUME_32BITUIDS]: Make code unconditional.
1031 [!__ASSUME_32BITUIDS]: Remove conditional code.
1032 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1033 <kernel-features.h>.
1034 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1035 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1036 132096]: Remove conditional code.
1037 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1038 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1039 <kernel-features.h>.
1040 [__ASSUME_32BITUIDS]: Make code unconditional.
1041 [!__ASSUME_32BITUIDS]: Remove conditional code.
1042 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1043 <kernel-features.h>.
1044 [__ASSUME_32BITUIDS]: Make code unconditional.
1045 [!__ASSUME_32BITUIDS]: Remove conditional code.
1046 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1047 <kernel-features.h>.
1048 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1049 unconditional.
1050 (__setresgid): Do not declare.
1051 [__ASSUME_32BITUIDS]: Make code unconditional.
1052 [!__ASSUME_32BITUIDS]: Remove conditional code.
1053 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1054 <kernel-features.h>.
1055 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1056 unconditional.
1057 (__setresuid): Do not declare.
1058 [__ASSUME_32BITUIDS]: Make code unconditional.
1059 [!__ASSUME_32BITUIDS]: Remove conditional code.
1060 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1061 <kernel-features.h>.
1062 [__ASSUME_32BITUIDS]: Make code unconditional.
1063 [!__ASSUME_32BITUIDS]: Remove conditional code.
1064 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1065 <kernel-features.h>.
1066 [__ASSUME_32BITUIDS]: Make code unconditional.
1067 [!__ASSUME_32BITUIDS]: Remove conditional code.
1068
a386f1cc
RH
10692012-05-25 Richard Henderson <rth@twiddle.net>
1070
1071 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1072 dl_hwcap to ifunc resolver.
1073 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1074 elf_ifunc_invoke.
1075 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1076 dl_hwcap to ifunc resolver.
1077 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1078
b6550497
JM
10792012-05-24 Joseph Myers <joseph@codesourcery.com>
1080
1081 [BZ #14153]
1082 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1083 for |x| <= 2**-26, not 2**-57.
1084 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1085 exception.
1086
b0bc23a1
JL
10872012-05-24 Jeff Law <law@redhat.com>
1088
1089 * stdio-common/Makefile (tests): Add bug25.
1090 * stdio-common/bug25.c: New test.
1091
347c92e9
L
10922012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1093
1094 [BZ #13576]
1095 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1096 multiple of MALLOC_ALIGNMENT in size.
1097 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1098
6bcc8b3f
JM
10992012-05-24 Joseph Myers <joseph@codesourcery.com>
1100
1101 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1102 Require >= 256.
1103 (FILENAME_MAX): Use macro-int-constant.
1104 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1105 (_IOFBF): Use macro-int-constant.
1106 (_IOLBF): Likewise.
1107 (_IONBF): Likewise.
1108 (SEEK_CUR): Likewise.
1109 (SEEK_END): Likewise.
1110 (SEEK_SET): Likewise.
1111 (TMP_MAX): Likewise.
1112 (EOF): Use macro-int-constant. Require < 0.
1113 (NULL): Use macro-constant. Require == 0.
1114 (stdin): Require type to be FILE *.
1115 (stdout): Likewise.
1116 (stderr): Likewise.
1117 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1118 macro-int-constant.
1119 (EXIT_SUCCESS): Likewise.
1120 (NULL): Use macro-constant. Require == 0.
1121 (RAND_MAX): Use macro-int-constant.
1122 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1123 [C99-based standards] (strtof): Require function.
1124 [C99-based standards] (strtold): Likewise.
1125 [C99-based standards] (strtoll): Likewise.
1126 [C99-based standards] (strtoull): Likewise.
1127 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1128 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1129 [ISO || ISO99 || ISO11] (math.h): Likewise.
1130 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1131 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1132 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1133
d18ea0c5
AS
11342012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1135
1136 [BZ #14132]
56d25bb8
AS
1137 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1138 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1139 * intl/dgettext.c (DCGETTEXT): Likewise.
1140 * intl/gettext.c (DCGETTEXT): Likewise.
1141 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1142 * posix/regex_internal.h (gettext): Likewise.
1143 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1144 Remove declaration.
1145 * include/argz.h (__argz_count_internal)
1146 (__argz_stringify_internal): Remove declaration.
1147 (__argz_count, __argz_stringify): Declare hidden proto.
1148 * intl/dcgettext.c: Remove use of INTDEF.
1149 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1150 * string/argz-stringify.c: Likewise.
1151 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1152 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1153 Declare hidden proto.
d18ea0c5
AS
1154 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1155 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1156 Declare hidden proto.
1157 * include/stdio.h (__asprintf_internal): Don't declare.
1158 (__asprintf): Don't define as macro. Declare hidden proto.
1159 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1160 (__fsetlocking): Declare hidden proto.
1161 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1162 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1163 hidden proto.
1164 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1165 (_IO_setlinebuf): Remove use of INTUSE.
1166 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1167 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1168 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1169 Remove declaration.
1170 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1171 (_IO_do_flush): Remove use of INTUSE.
1172 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1173 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1174 (_IO_adjust_column, _IO_least_wmarker)
1175 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1176 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1177 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1178 (_IO_default_doallocate, _IO_wdefault_doallocate)
1179 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1180 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1181 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1182 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1183 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1184 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1185 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1186 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1187 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1188 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1189 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1190 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1191 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1192 proto.
1193 (_IO_flush_all_internal, _IO_adjust_column_internal)
1194 (_IO_default_uflow_internal, _IO_default_finish_internal)
1195 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1196 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1197 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1198 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1199 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1200 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1201 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1202 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1203 (_IO_file_close_internal, _IO_file_close_it_internal)
1204 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1205 (_IO_file_init_internal, _IO_file_attach_internal)
1206 (_IO_file_fopen_internal, _IO_file_read_internal)
1207 (_IO_file_sync_internal, _IO_file_seek_internal)
1208 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1209 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1210 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1211 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1212 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1213 (_IO_list_all_internal, _IO_link_in_internal)
1214 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1215 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1216 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1217 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1218 (_IO_do_write_internal, _IO_padn_internal)
1219 (_IO_getline_info_internal, _IO_getline_internal)
1220 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1221 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1222 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1223 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1224 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1225 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1226 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1227 with libc_hidden_ver, remove use of INTUSE.
1228 * libio/genops.c: Likewise.
1229 * libio/freopen.c: Likewise.
1230 * libio/freopen64.c: Likewise.
1231 * libio/iofclose.c: Likewise.
1232 * libio/iofdopen.c: Likewise.
1233 * libio/iofflush.c: Likewise.
1234 * libio/iofflush_u.c: Likewise.
1235 * libio/iofgets.c: Likewise.
1236 * libio/iofgets_u.c: Likewise.
1237 * libio/iofopen.c: Likewise.
1238 * libio/iofopncook.c: Likewise.
1239 * libio/iofread.c: Likewise.
1240 * libio/iofread_u.c: Likewise.
1241 * libio/ioftell.c: Likewise.
1242 * libio/iofwrite.c: Likewise.
1243 * libio/iogetline.c: Likewise.
1244 * libio/iogets.c: Likewise.
1245 * libio/iogetwline.c: Likewise.
1246 * libio/iopadn.c: Likewise.
1247 * libio/iopopen.c: Likewise.
1248 * libio/ioseekoff.c: Likewise.
1249 * libio/ioseekpos.c: Likewise.
1250 * libio/iosetbuffer.c: Likewise.
1251 * libio/iosetvbuf.c: Likewise.
1252 * libio/ioungetc.c: Likewise.
1253 * libio/ioungetwc.c: Likewise.
1254 * libio/iovdprintf.c: Likewise.
1255 * libio/iovsprintf.c: Likewise.
1256 * libio/iovsscanf.c: Likewise.
1257 * libio/memstream.c: Likewise.
1258 * libio/obprintf.c: Likewise.
1259 * libio/oldfileops.c: Likewise.
1260 * libio/oldiofclose.c: Likewise.
1261 * libio/oldiofdopen.c: Likewise.
1262 * libio/oldiofopen.c: Likewise.
1263 * libio/oldiopopen.c: Likewise.
1264 * libio/oldstdfiles.c: Likewise.
1265 * libio/putc.c: Likewise.
1266 * libio/setbuf.c: Likewise.
1267 * libio/setlinebuf.c: Likewise.
1268 * libio/stdfiles.c: Likewise.
1269 * libio/strops.c: Likewise.
1270 * libio/vasprintf.c: Likewise.
1271 * libio/vscanf.c: Likewise.
1272 * libio/vsnprintf.c: Likewise.
1273 * libio/vswprintf.c: Likewise.
1274 * libio/wfiledoalloc.c: Likewise.
1275 * libio/wfileops.c: Likewise.
1276 * libio/wgenops.c: Likewise.
1277 * libio/wmemstream.c: Likewise.
1278 * libio/wstrops.c: Likewise.
1279 * libio/__fpurge.c: Likewise.
1280 * libio/__fsetlocking.c: Likewise.
1281 * assert/assert.c: Likewise.
1282 * debug/fgets_chk.c: Likewise.
1283 * debug/fgets_u_chk.c: Likewise.
1284 * debug/fread_chk.c: Likewise.
1285 * debug/fread_u_chk.c: Likewise.
1286 * debug/gets_chk.c: Likewise.
1287 * debug/obprintf_chk.c: Likewise.
1288 * debug/vasprintf_chk.c: Likewise.
1289 * debug/vdprintf_chk.c: Likewise.
1290 * debug/vsnprintf_chk.c: Likewise.
1291 * debug/vsprintf_chk.c: Likewise.
1292 * malloc/mtrace.c: Likewise.
1293 * misc/error.c: Likewise.
1294 * misc/syslog.c: Likewise.
1295 * stdio-common/asprintf.c: Likewise.
1296 * stdio-common/fxprintf.c: Likewise.
1297 * stdio-common/getw.c: Likewise.
1298 * stdio-common/isoc99_fscanf.c: Likewise.
1299 * stdio-common/isoc99_scanf.c: Likewise.
1300 * stdio-common/isoc99_vfscanf.c: Likewise.
1301 * stdio-common/isoc99_vscanf.c: Likewise.
1302 * stdio-common/isoc99_vsscanf.c: Likewise.
1303 * stdio-common/printf-prs.c: Likewise.
1304 * stdio-common/printf_fp.c: Likewise.
1305 * stdio-common/printf_fphex.c: Likewise.
1306 * stdio-common/printf_size.c: Likewise.
1307 * stdio-common/putw.c: Likewise.
1308 * stdio-common/scanf.c: Likewise.
1309 * stdio-common/sprintf.c: Likewise.
1310 * stdio-common/tmpfile.c: Likewise.
1311 * stdio-common/vfprintf.c: Likewise.
1312 * stdio-common/vfscanf.c: Likewise.
1313 * stdlib/strfmon_l.c: Likewise.
1314 * sunrpc/openchild.c: Likewise.
1315 * sunrpc/xdr_stdio.c: Likewise.
1316 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1317 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1318
d6c33fda
RM
13192012-05-24 Roland McGrath <roland@hack.frob.com>
1320
c1487492
RM
1321 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1322
1323 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1324 in the third column, to generate for the shared library an IFUNC
1325 that uses _dl_vdso_vsym.
1326 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1327 * Makeconfig (object-suffixes-noshared): New variable.
1328
1329 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1330 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1331 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1332 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1333
d6c33fda
RM
1334 [BZ #14132]
1335 * include/sys/time.h (__gettimeofday): Remove macro.
1336 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1337 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1338 Remove INTDEF.
1339 (__gettimeofday): Add libc_hidden_def.
1340 (gettimeofday): Add libc_hidden_weak.
1341 * sysdeps/mach/gettimeofday.c: Likewise.
1342 * sysdeps/posix/gettimeofday.c: Likewise.
1343 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1344 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1345 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1346 (__gettimeofday_internal): Remove strong_alias.
1347 (__gettimeofday): Add libc_hidden_def.
1348 (gettimeofday): Add libc_hidden_weak.
1349 * sysdeps/unix/syscalls.list (gettimeofday):
1350 Remove __gettimeofday_internal alias.
1351
b5a2bbe6
L
13522012-05-24 Daniel Jacobowitz <drow@false.org>
1353 H.J. Lu <hongjiu.lu@intel.com>
1354
1355 [BZ #12495]
1356 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1357 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1358 (largebin_index_32_big): New.
1359 (largebin_index): Use it for 16-byte alignment.
1360 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1361 correction with front_misalign.
1362
cfba4fda
L
13632012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1364
7f907421
L
1365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1367 Likewise.
1368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1369 Likewise.
1370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1371 Likewise.
1372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1373 Likewise.
1374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1375 Likewise.
1376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1377 Likewise.
1378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1379 Likewise.
1380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1381 Likewise.
1382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1383 Likewise.
1384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1385 Likewise.
1386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1387 Likewise.
1388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1389 Likewise.
1390
cfba4fda
L
1391 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1392 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1393
80bad0cc
JM
13942012-05-24 Joseph Myers <joseph@codesourcery.com>
1395
7a25eb06
JM
1396 [BZ #10846]
1397 [BZ #14036]
1398 * math/libm-test.inc (exp_test): Add test from bug 14036.
1399 (pow_test): Add test from bug 10846.
1400
795405f9
JM
1401 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1402 and other flags.
1403 (special_function): Do not include flags in test name.
1404 (parse_args): Likewise.
1405 * sysdeps/i386/fpu/libm-test-ulps: Update.
1406 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1407 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1408 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1410
80bad0cc
JM
1411 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1412 exceptions.
1413 * math/libm-test.inc ("Philosophy"): Update comment about
1414 exception testing.
1415 (UNDERFLOW_EXCEPTION): New macro.
1416 (UNDERFLOW_EXCEPTION_OK): Likewise.
1417 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1418 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1419 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1420 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1421 (INVALID_EXCEPTION_OK): Update value.
1422 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1423 (OVERFLOW_EXCEPTION_OK): Likewise.
1424 (IGNORE_ZERO_INF_SIGN): Likewise.
1425 (test_exceptions): Handle underflow exceptions.
1426 (acos_test): Update for underflow exception expectations.
1427 (cexp_test): Likewise.
1428 (clog_test): Likewise.
1429 (clog10_test): Likewise.
1430 (csqrt_test): Likewise.
1431 (ctan_test): Likewise.
1432 (ctanh_test): Likewise.
1433 (exp_test): Likewise.
1434 (exp10_test): Likewise.
1435 (exp2_test): Likewise.
1436 (expm1_test): Likewise.
1437 (fma_test): Likewise.
1438 (j0_test): Likewise.
1439 (jn_test): Likewise.
1440 (nexttoward_test): Likewise.
1441 (pow_test): Likewise.
1442 (scalbn_test): Likewise.
1443 (scalbln_test): Likewise.
1444 (tan_test): Likewise.
1445 (y1_test): Likewise.
1446 * sysdeps/i386/fpu/libm-test-ulps: Update.
1447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1448
9e0e3d0b
DM
14492012-05-23 David S. Miller <davem@davemloft.net>
1450
1451 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1452 (__libc_sigaction): Remove unused local variables.
1453
ccd0a08f
L
14542012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1455
1456 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1457
62bdf9a6
PE
14582012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1459
f8591f80
PE
1460 mktime: avoid signed integer overflow
1461 * time/mktime.c (__mktime_internal): Do not mishandle the case
1462 where diff == INT_MIN.
1463
94c7d826
PE
1464 mktime: simplify computation of average
1465 * time/mktime.c (ranged_convert): Use new time_t_avg function
1466 instead of rolling our own (probably-slower) code.
1467
ce73d683
PE
1468 mktime: do not assume signed right shift propagates sign bit
1469 * time/mktime.c (isdst_differ): New static function.
1470 (__mktime_internal): No need to normalize tm_isdst now.
1471 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1472 tm_isdst values.
1473
72a22e59
PE
1474 mktime: merge another wrapv change from gnulib
1475 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1476 from some compilers.
1477
68605433
PE
1478 mktime: remove incorrect attempt at unusual arithmetics
1479 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1480 The code didn't really work on such machines anyway.
1481 (TYPE_MINIMUM): Assume two's complement.
1482 (twos_complement_arithmetic): Verify that long_int and time_t
1483 are two's complement (or unsigned, in the latter case).
1484
03cf7fe3
PE
1485 mktime: check signed shifts on long_int and time_t, too
1486 * time/mktime.c (SHR): Check that shifts work as desired
1487 on the types long_int and time_t too, as SHR is used on
1488 such types.
1489
f04dfbc2
PE
1490 mktime: do not assume 'long' is wide enough
1491 * time/mktime.c (verify): Move decl up.
1492 (long_int): New type.
1493 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1494 to remove assumption in the code that 'long' is wide enough to
1495 store year values. This assumption is not true on x32 and on
1496 some non-glibc platforms.
1497
62bdf9a6
PE
1498 mktime: merge wrapv change from gnulib
1499 * time/mktime.c (WRAPV): New macro.
1500 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1501 (guess_time_tm, __mktime_internal): Do not assume that signed
1502 integer overflow wraps around; modern compilers generate code
1503 where this assumption is no longer valid.
1504
5e292e4f
L
15052012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1506
1507 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1508 Replace "jmp L(pseudo_end)" with "ret".
1509 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1510 Likewise.
1511
8caf8c87
AJ
15122012-05-23 Andreas Jaeger <aj@suse.de>
1513
1514 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1515 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1516
1a09dc56
AJ
15172012-05-23 Andreas Jaeger <aj@suse.de>
1518 Maximilian Attems <max@stro.at>
1519
1520 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1521 New macros.
1522
1c87aba0
L
15232012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1524
1525 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1526 code so that pseudo_end is just ret and the stack pointer is
1527 correct also for static library in error case.
1528
40e45bd5
JM
15292012-05-23 Joseph Myers <joseph@codesourcery.com>
1530
c2670533
JM
1531 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1532 move to syscalls.list.
1533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1537
40e45bd5
JM
1538 * manual/install.texi (Running make install): Do not mention Linux
1539 kernel version for which pt_chown is not needed.
1540 (Linux): Do not mention problems with nscd with 2.0 kernels.
1541 * INSTALL: Regenerated.
1542
be08eda5
AJ
15432012-05-23 Andreas Jaeger <aj@suse.de>
1544
1545 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1546 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1547 macro.
1548 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1549 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1550 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1551 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1552 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1553 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1554 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1555 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1556 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1557 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1558 * sysdeps/unix/sysv/linux/bits/in.h
1559 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1560
a6a056bb
RM
15612012-05-22 Roland McGrath <roland@hack.frob.com>
1562
1563 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1564 (PREPARE_VERSION): Just use assert instead, it will be elided
1565 under [NDEBUG] anyway.
1566
c9009328
L
15672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1568
1569 * sysdeps/unix/sysv/linux/Makefile: Include
1570 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1571 (sysdep_routines): Remove sysctl.
c9009328
L
1572 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1573 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1574 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1575 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1576 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1577
73338355
AJ
15782012-05-22 Andreas Jaeger <aj@suse.de>
1579
1580 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1581 that pseudo_end is just ret and the stack pointer is correct also
1582 for static library in error case.
1583
d44638b0
PP
15842012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1585
1586 [BZ #14122]
1587 * nss/nsswitch.c (defconfig_entries): New variable.
1588 (__nss_database_lookup): Don't leak defconfig entries.
1589 (nss_parse_service_list): Don't leak on error paths.
1590 (free_database_entries): New function.
1591 (free_defconfig): New function.
1592 (free_mem): Move common code to free_database_entries.
1593
31a39bd8
L
15942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1595
da0331a8
L
1596 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1597 Add arch_prctl.
1598 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1599
31a39bd8
L
1600 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1601 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1602 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1603 New macro.
1604 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1605 (INTERNAL_SYSCALL_TYPES): Likewise.
1606 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1607 (LOAD_REGS_TYPES_[1-6]): Likewise.
1608 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1609 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1610
45470df3
AZ
16112012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1612
1613 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1614 copysignl for GLIBC_2_0.
1615 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1616 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1617 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1618 logbl for GLIBC_2_0.
1619 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1620 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1621
98a61bcb
L
16222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1623
a4f6e481
L
1624 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1625 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1626
f63d5db6
L
1627 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1628 Use "neg %eax".
1629
98a61bcb
L
1630 * time/mktime.c: Update copyright years.
1631
95770f14
PE
16322012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1633
6226efbd
PE
1634 mktime: merge comment-quoting-style change from gnulib
1635 * time/mktime.c: Quote 'like this' in comments.
1636 The GNU coding standards suggest that we no longer quote `like this',
1637 as "`" and "'" are typically rendered asymmetrically nowadays.
1638 The typical gnulib style is to quote 'like this' when quoting
1639 code, and "like this" when quoting English.
1640
b99e4f78
PE
1641 * time/mktime.c (compile-command): Add "-I.".
1642
643e01e6
PE
1643 mktime: merge mktime-internal.h change from gnulib
1644 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1645
2554247d
PE
1646 mktime: merge time_r change from gnulib
1647 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1648
826dd0ab
PE
1649 mktime: merge DEBUG change from gnulib
1650 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1651 case system <time.h> has a #define.
1652
bd83aabe
PE
1653 mktime: merge <sys/types.h> change from gnulib
1654 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1655 since <time.t> is now guaranteed to define time_t.
1656
95770f14
PE
1657 mktime: merge HAVE_CONFIG_H change from gnulib
1658 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1659
5e1a27a9
L
16602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1661
0e44a77e
L
1662 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1663 Use "neg %eax".
1664
5e1a27a9
L
1665 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1666 __rlim_t cast.
1667 (struct rusage): Use anonymous union to pad each field to
1668 __syscall_slong_t.
1669
46259bec
DM
16702012-05-21 David S. Miller <davem@davemloft.net>
1671
1672 * Makefules (o-iterator): Remove .s cases.
1673 (compile-command.s): Delete.
1674 (COMPILE.s): Delete.
1675 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1676
59f0c22e
JM
16772012-05-21 Joseph Myers <joseph@codesourcery.com>
1678
1679 * configure.in (libc_cv_predef_stack_protector): Only consider
1680 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1681 * configure: Regenerated.
1682
20c07380
L
16832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1684
bbb3154b
L
1685 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1686 New macro. Use R*LP on int and pointer.
1687 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1688 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1689 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1690 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1691
20c07380
L
1692 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1693 [__WORDSIZE_TIME64_COMPAT32] instead of
1694 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1695 (struct utmp): Likewise.
1696 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1697 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1698 Renamed to ...
1699 (__WORDSIZE_TIME64_COMPAT32): This.
1700 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1701 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1702 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1703 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1704 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1705 (__WORDSIZE_TIME64_COMPAT32): New macro.
1706
d8d1017e
AJ
17072012-05-21 Andreas Jaeger <aj@suse.de>
1708
1709 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1710 only if [SHARED]. Add prototype for __wcschr_ia32.
1711
6c7fb145
RM
17122012-05-21 Roland McGrath <roland@hack.frob.com>
1713
1714 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1715 of %rbp unmolested in the jmp_buf while mangling the low bits.
1716 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1717 unmolested high bits of %rbp while demangling the low bits.
1718 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1719
66274218
AJ
17202012-05-21 Andreas Jaeger <aj@suse.de>
1721
07c58f8f
AJ
1722 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1723 * sunrpc/svc_simple.c: Use it for registerrpc.
1724 * sunrpc/xcrypt.c: Use it for passwd2des.
1725
66274218
AJ
1726 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1727
61f65140
L
17282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1729
1730 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1731 Don't define if [__SYSCALL_WORDSIZE != 32].
1732 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1733 New macro.
1734
5fefb436
AJ
17352012-05-21 Bruno Haible <bruno@clisp.org>
1736 Andreas Jaeger <aj@suse.de>
1737
1738 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1739 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1740 inptr and inend for must_buffer_ch.
1741 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1742 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1743 * stdio-common/Makefile (tests): Remove bug15.
1744 (bug15-ENV): Remove macro.
1745 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1746 anymore.
1747
d8e272ab
AJ
17482012-05-19 Andreas Jaeger <aj@suse.de>
1749 Roland McGrath <roland@hack.frob.com>
1750
1751 * manual/contrib.texi: Completely rewritten. It contains now an
1752 alphabetical list of contributors and their contributions.
1753
4a56a162
RH
17542012-05-21 Richard Henderson <rth@twiddle.net>
1755
1756 * misc/getauxval.c (__getauxval): Use unsigned long int.
1757 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1758 (getauxval): Use unsigned long int.
1759
d024d23c
L
17602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1761
1762 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1763
cbc00a03
RM
17642012-05-21 Roland McGrath <roland@hack.frob.com>
1765
1766 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1767 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1768 __alignof__ (long double).
1769
478143fa
AZ
17702012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1771
1772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1773
c7683a6d
RH
17742012-05-20 Richard Henderson <rth@twiddle.net>
1775
1776 * misc/getauxval.c: New file.
1777 * misc/sys/auxv.h: New file.
1778 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1779 (routines): Add getauxval.
1780 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1781 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1782 * elf/dl-sysdep.c (_dl_auxv): Remove.
1783 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1784 * elf/dl-support.c (_dl_auxv): New variable.
1785 (_dl_aux_init): Initialize it.
1786 * manual/startup.texi (Auxiliary Vector): New node.
1787 * sysdeps/generic/bits/hwcap.h: New file.
1788 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1789 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1790 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1791 * sysdeps/sparc/sysdep.h: ... here. Include it.
1792 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1793 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1795 Update.
c7683a6d
RH
1796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1799 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1804
a6f1845d
AZ
18052012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1806
1807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1808
cbcbe830
DM
18092012-05-19 David S. Miller <davem@davemloft.net>
1810
1811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1812
e0b16cc2
JM
18132012-05-19 Joseph Myers <joseph@codesourcery.com>
1814
1815 [BZ #14123]
1816 * math/s_ccosh.c: Include <float.h>
1817 (__ccosh): Avoid internal overflow calculating sinh and cosh
1818 values before multiplying by sin and cos values.
1819 * math/s_ccoshf.c: Likewise.
1820 * math/s_ccoshl.c: Likewise.
1821 * math/s_csin.c: Likewise.
1822 * math/s_csinf.c: Likewise.
1823 * math/s_csinl.c: Likewise.
1824 * math/s_csinh.c: Likewise.
1825 * math/s_csinhf.c: Likewise.
1826 * math/s_csinhl.c: Likewise.
1827 * math/libm-test.inc (ccos_test): Add more tests.
1828 (ccosh_test): Likewise.
1829 (csin_test): Likewise.
1830 (csinh_test): Likewise.
1831 * sysdeps/i386/fpu/libm-test-ulps: Update.
1832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1833
6ad13e08
L
18342012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1835
f66f0ce8
L
1836 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1837 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1838
6ad13e08
L
1839 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1840
b1d072a7
JM
18412012-05-19 Joseph Myers <joseph@codesourcery.com>
1842
1843 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1844 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1845 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1846 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1847 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1848 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1849 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1850 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1851 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1852 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1853 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1854 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1855 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1856 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1857 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1858 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1859 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1860 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1861 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1862 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1863 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1864 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1865 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1866 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1867 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1868 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1869 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1870 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1871 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1872 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1873 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1874
9eae47cb
AJ
18752012-05-18 Andreas Jaeger <aj@suse.de>
1876
1877 * csu/.gitignore: Delete.
1878
bb07f69f
L
18792012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1880
1881 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1882 (timex): Use __syscall_slong_t.
1883
e6bdb741
AJ
18842012-05-18 Andreas Jaeger <aj@suse.de>
1885 Carlos O'Donell <carlos_odonell@mentor.com>
1886
1887 * manual/install.texi (Configuring and compiling): Update
1888 description about files modified in the source directory.
d6c33fda 1889 * INSTALL: Regenerated.
e6bdb741 1890
1b74487e
L
18912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1892
1893 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1894 value. Use "or" to set return value to -1.
1895 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1896 negate return value.
1897
a88b64b9
TMQMF
18982012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1899
1900 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1901 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1902 failure if the compiler has Graphite support disabled.
1903 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1904 Likewise.
1905 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1906 CFLAGS-memmove.c): Likewise.
1907 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1908 Likewise.
1909
3707636e
L
19102012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1911
610b8622
L
1912 * sysdeps/x86_64/x32/_itoa.h: New file.
1913
7cd195df
L
1914 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1915 getdents system call only if kernel and user dirents have the
1916 same d_ino and d_off.
1917
94b07d20
L
1918 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1919 LLONG_MAX != LONG_MAX.
1920 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1921 (_fitoa_word): Likewise.
1922
18298070
L
1923 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1924 years.
1925 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1926 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1927 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1928
553c7ea4
L
1929 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1930 include <bits/wordsize.h>. Check __x86_64__ instead of
1931 __WORDSIZE.
1932 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1933 if __x86_64__ is defined. Use anonymous union on fpstate.
1934
3707636e
L
1935 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1936 anonymous union.
1937
b53ef01a
AS
19382012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1939
37fb1dc0
AS
1940 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1941 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1942 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1943 Refer to _rtld_local_ro instead of _rtld_global_ro.
1944 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1945 Likewise.
1946 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1947 Likewise.
1948 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1949 Likewise.
1950 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1951 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1952 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1953
b53ef01a
AS
1954 * sysdeps/powerpc/powerpc32/dl-machine.c
1955 (__elf_machine_runtime_setup) [PROF]: Don't reference
1956 _dl_prof_resolve.
1957
7a185db2
AJ
19582012-05-18 Andreas Jaeger <aj@suse.de>
1959
1960 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1961 function only available for GCCs before 3.4 since GCC 3.4
1962 introduced a builtin.
1963 (lrint): Likewise.
1964 (llrintf): Likewise.
1965 (llrint): Likewise.
1966 (fmaxf): Likewise.
1967 (fmax): Likewise.
1968 (fminf): Likewise.
1969 (fmin): Likewise.
1970 (rint): Likewise.
1971 (rintf): Likewise.
1972 (nearbyint): Likewise.
1973 (nearbyintf): Likewise.
1974 (ceil): Likewise.
1975 (ceilf): Likewise.
1976 (floor): Likewise.
1977 (floorf): Likewise.
1978
3e5aef87
L
19792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1980
428bd707
L
1981 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1982 on both fields and cast pointer to __syscall_ulong_t.
1983
3e5aef87
L
1984 * bits/types.h (__fsword_t): New type.
1985 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1986 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1987 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1988 (__FSWORD_T_TYPE): Likewise.
1989 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1990 (__FSWORD_T_TYPE): Likewise.
1991 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1992 (__FSWORD_T_TYPE): Likewise.
1993 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1994 (__FSWORD_T_TYPE): Likewise.
1995 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1996 __SWORD_TYPE with __fsword_t.
1997 (statfs64): Likewise.
1998
1ba7c3dc
DM
19992012-05-17 David S. Miller <davem@davemloft.net>
2000
2001 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2002
59910343
AJ
20032012-05-17 Andreas Jaeger <aj@suse.de>
2004
2005 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2006 warning.
2007
2e4c1e9e
L
20082012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2009
2010 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2011
de7f5ce7
AJ
20122012-05-17 Andreas Jaeger <aj@suse.de>
2013
2014 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2015 when it is used.
2016
286abc3d
CM
20172012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2018
2019 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2020
477cc68e
L
20212012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2022
2023 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2024 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2025
1a0994f5
CD
20262012-05-17 Andreas Jaeger <aj@suse.de>
2027 Carlos O'Donell <carlos_odonell@mentor.com>
2028
2029 [BZ #14059]
2030 * sysdeps/x86_64/multiarch/init-arch.h
2031 (bit_YMM_Usable): Rename to...
2032 (bit_AVX_Usable): ... this.
2033 (bit_FMA4_Usable): New macro.
2034 (bit_XMM_state): New macro.
2035 (bit_YMM_state): New macro.
2036 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2037 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2038 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2039 (CPUID_OSXSAVE): New macro.
2040 (CPUID_AVX): New macro.
2041 (CPUID_FMA4): New macro.
2042 (index_YMM_Usable): Rename to...
2043 (index_AVX_Usable): ... this.
2044 (HAS_AVX): Use HAS_ARCH_FEATURE.
2045 (HAS_FMA4): Likewise.
2046 (HAS_YMM_USABLE): Remove.
2047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2048 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2049 are present.
2050 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2051 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2052 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2053 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2054 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2055
0af797de
CM
20562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2057
2058 * math/libm-test.c: Support platforms without multiple rounding modes.
2059 * math/bug-nextafter.c: Support platforms without FP exceptions.
2060 * math/bug-nexttoward.c: Likewise.
2061 * math/test-fenv.c: Likewise.
2062 * math/test-misc.c: Likewise.
2063 * stdlib/bug-getcontext.c: Likewise.
2064
e39745ff
AJ
20652012-05-17 Andreas Jaeger <aj@suse.de>
2066
2067 * manual/examples/search.c (critter_cmp): Change signature to
2068 avoid warnings.
2069 * manual/string.texi (Collation Functions): Likewise.
2070
48970aba
L
20712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2072
2073 * bits/types.h: Fold copyright years.
2074 * bits/typesizes.h: Likewise.
2075 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2076 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2077 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2078 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2079 * time/time.h: Likewise.
2080
bedee953
PP
20812012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2082
2083 [BZ #208]
2084 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2085 in instead of returning them. Return void.
2086 (__libc_mallinfo): Accumulate over all arenas.
2087 (__malloc_stats): Adjust for change in int_mallinfo interface.
2088
61653dfb
RM
20892012-05-16 Roland McGrath <roland@hack.frob.com>
2090
30b99d79
RM
2091 [BZ #10375]
2092 * configure.in (NM): Add AC_CHECK_TOOL for it.
2093 (libc_extra_cflags): New substituted variable.
2094 Check for -fstack-protector being used implicitly.
2095 * configure: Regenerated.
2096 * config.make.in (config-extra-cflags): New variable,
2097 gets @libc_extra_cflags@.
2098 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2099
61653dfb
RM
2100 [BZ #10375]
2101 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2102 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2103 * configure: Regenerated.
2104 * config.make.in (CPPUNDEFS): New substituted variable.
2105 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2106 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2107 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2108
661768bb
L
21092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2110
2111 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2112 (mq_attr): Use __syscall_slong_t.
2113
d4261567
L
21142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2115
2116 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2117 Check __x86_64__ instead of __WORDSIZE.
2118 (_STAT_VER_LINUX): Likewise.
2119 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2120 __syscall_ulong_t and __syscall_slong_t.
2121 (stat64): Likewise.
2122
cf3ff365
L
21232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2124
2125 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2126
76cf3e4d
L
21272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2128
2129 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2130
a637753a
L
21312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2132
2133 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2134 __syscall_ulong_t.
2135
d5e05119
L
2136 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2137 include <bits/wordsize.h>. Check __x86_64__ instead of
2138 __WORDSIZE.
2139 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2140 defined.
2141 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2142
f62ee380
L
2143 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2144 include <bits/wordsize.h>. Check __x86_64__ instead of
2145 __WORDSIZE.
2146 (user_regs_struct): Use "__extension__ unsigned long long"
2147 instead of "unsigned long" if __x86_64__ is defined.
2148 (user): Likewise. Pad after pointer field if __ILP32__ is
2149 defined.
2150
4e124ced
JM
21512012-05-16 Joseph Myers <joseph@codesourcery.com>
2152
6a3951a0
JM
2153 * configure.in (makeinfo): Require version 4.5 or later. Allow
2154 versions 5 to 9.
2155 * configure: Regenerated.
2156 * manual/install.texi (texinfo): Increase version requirement to
2157 4.5 or later.
2158 * INSTALL: Regenerated.
2159
4e124ced
JM
2160 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2161
953ca31a
L
21622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2163
2164 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2165
617aca05
L
2166 * sysdeps/x86_64/x32/ffs.c: New file.
2167
5762f7ae
L
2168 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2169 __syscall_ulong_t.
2170 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2171 defined. Use __syscall_ulong_t.
2172 (shminfo): Use __syscall_ulong_t.
2173 (shm_info): Likewise.
2174
a26b6856
L
2175 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2176 __syscall_ulong_t.
2177
cb2b9ef7
L
2178 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2179 <bits/wordsize.h>.
2180 (msgqnum_t): Use __syscall_ulong_t.
2181 (msglen_t): Likewise.
2182 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2183 __syscall_ulong_t.
2184
34683bb0
L
2185 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2186 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2187
84a68786
L
2188 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2189
48baa5f1
L
2190 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2191 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2192
180be88b
L
2193 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2194 __syscall_slong_t.
2195
5e90c8ad
L
2196 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2197 include <bits/wordsize.h>. Check __x86_64__ instead of
2198 __WORDSIZE.
2199
23dfb58b
L
2200 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2201 "unsigned long long int" if __x86_64__ is defined.
2202 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2203
ce5d54b0
L
2204 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2205 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2206 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2207
13dc9eac
L
2208 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2209 <stdint.h>.
2210 (GET_PC): Cast to uintptr_t first.
2211 (GET_FRAME): Likewise.
2212 (GET_STACK): Likewise.
2213
a7895d15
L
2214 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2215 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2216 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2217 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2218 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2219 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2220 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2221 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2222 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2223 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2224 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2225 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2226 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2227 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2228 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2229 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2230 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2231 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2232 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2233 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2234 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2235 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2236 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2237 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2238 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2239 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2240 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2241 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2242 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2243
656416c9
AS
22442012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2245
5bd66283
AS
2246 * Makerules (+depfiles): Also collect depfiles from .oS in
2247 $(extra-objs).
2248 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2249 .oS, $(libnldbl-routines)).
2250
656416c9
AS
2251 * Makerules (native-compile-mkdep-flags): Define.
2252 * sunrpc/Makefile (extra-objs): Add $(addprefix
2253 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2254 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2255 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2256 calling $(make-target-directory).
2257
a46f2169
L
22582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2259
2260 * bits/types.h (__snseconds_t): Removed.
2261 * time/time.h (struct timespec): Replace __snseconds_t with
2262 __syscall_slong_t.
2263 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2264 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2265 Likewise.
2266 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2267 (__SNSECONDS_T_TYPE): Likewise.
2268 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2269 (__SNSECONDS_T_TYPE): Likewise.
2270 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2271 (__SNSECONDS_T_TYPE): Likewise.
2272
6af6528b
L
22732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2274
2275 * sysdeps/mach/hurd/bits/typesizes.h
2276 (__SYSCALL_SLONG_TYPE): New macro.
2277 (__SYSCALL_ULONG_TYPE): Likewise.
2278
de986b56
L
22792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2280
2281 * bits/types.h (__syscall_slong_t): New type.
2282 (__syscall_ulong_t): Likewise.
2283
2284 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2285 (__SYSCALL_ULONG_TYPE): Likewise.
2286 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2287 (__SYSCALL_SLONG_TYPE): Likewise.
2288 (__SYSCALL_ULONG_TYPE): Likewise.
2289 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2290 (__SYSCALL_SLONG_TYPE): Likewise.
2291 (__SYSCALL_ULONG_TYPE): Likewise.
2292 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2293 (__SYSCALL_SLONG_TYPE): Likewise.
2294 (__SYSCALL_ULONG_TYPE): Likewise.
2295
85736dc7
L
22962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2297
2298 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2299 Add sigaltstack-offsets.sym.
2300 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2301 <sigaltstack-offsets.h>.
2302 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2303 longjmp_msg pointer.
2304 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2305 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2306 signal stack.
2307 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2308
cc03b296
JM
23092012-05-15 Joseph Myers <joseph@codesourcery.com>
2310
a9538892
JM
2311 * elf/stackguard-macros.h: Remove file.
2312 * sysdeps/generic/stackguard-macros.h: New file.
2313 * sysdeps/i386/stackguard-macros.h: Likewise.
2314 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2315 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2316 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2317 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2318 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2319 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2320 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2321 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2322 <elf/stackguard-macros.h>.
2323
cc03b296
JM
2324 [BZ #14109]
2325 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2326 __aligned__ in attribute.
2327 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2328 (gregset_t): Likewise.
2329
93171016
L
23302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2331
2332 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2333 * sysdeps/x86_64/64/Implies-after: Here. New file.
2334 * sysdeps/x86_64/x32/Implies-after: New file.
2335
d86813a0
L
23362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2337
2338 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2339 and access return value for _dl_profile_fixup. Use R10_LP to
2340 load frame size.
2341
2953ec75
L
23422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2343
2344 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2345
3b550e9e
L
23462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2347
2348 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2349 * sysdeps/x86_64/x32/sysdep.h: New file.
2350
eda41706
L
23512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2352
2353 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2354 * sysdeps/x86_64/setjmp.S: Likewise.
2355
9ea01d93
AZ
23562012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2357
2358 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2359 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2360 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2361 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2362 remove unused global constant.
2363
02a91938
CM
23642012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2365
2366 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2367 include of <not-cancel.h>.
2368
6540185f
RM
23692012-05-15 Roland McGrath <roland@hack.frob.com>
2370
2371 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2372
509072a0
AJ
23732012-05-15 Jeff Law <law@redhat.com>
2374 Andreas Jaeger <aj@suse.de>
2375
2376 [BZ #13594]
2377 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2378 out from...
2379 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2380 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2381 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2382 code changing __hst_map_handle.map.
2383
ba75122d
RM
23842012-05-15 Roland McGrath <roland@hack.frob.com>
2385
2386 * configure.in (sysnames): Look for Implies-before and Implies-after
2387 files.
2388 * configure: Regenerated.
2389
890d8bd8
L
23902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2391
2392 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2393 8-byte data alignment with LP_SIZE alignment.
2394
f6ee6623
L
23952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2396
2397 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2398 into R10_LP.
2399
ea2626f6
L
24002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2401
2402 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2403
085f715e
L
24042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2405
2406 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2407 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2408 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2409 Likewise.
2410 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2411
be8498fc
L
24122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2413
2414 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2415 (stackinfo_sub_sp): Likewise.
2416
70bc83b9
L
24172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2418
2419 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2420 RAX_LP.
2421
9bc0b730
L
24222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2423
2424 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2425 into R*_LP.
2426
6d2850e7
L
24272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2428
2429 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2430 sizes into R*_LP.
2431
3cb84561
L
24322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2433
2434 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2435
54e2ed81
L
24362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2437
2438 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2439 into R11_LP and load __x86_64_shared_cache_size_half into
2440 R8_LP.
2441
8a17f349
L
24422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2443
2444 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2445 R8_LP.
2446
777b1eea
AZ
24472012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2448
2449 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2450 logb for POWER7.
2451 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2452 logbf for POWER7.
2453 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2454 logbl for POWER7.
2455 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2456 powerpc32/power7/fpu/s_logb.c via #include.
2457 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2458 powerpc32/power7/fpu/s_logbf.c via #include.
2459 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2460 powerpc32/power7/fpu/s_logbl.c via #include.
2461
d20d4ac2
JM
24622012-05-15 Joseph Myers <joseph@codesourcery.com>
2463
2464 * README.libm: Remove file.
2465
6cdef1ab
L
24662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2467
2468 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2469 count for x32. Use R*_LP and omit operand-size suffix.
2470
0b254d8f
L
24712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2472
2473 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2474 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2475 * sysdeps/x86_64/x32/shlib-versions: New file.
2476
ceb809dc
RM
24772012-05-14 Roland McGrath <roland@hack.frob.com>
2478
2479 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2480 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2481 Use _dl_fatal_printf instead.
2482
37f1abd4
JM
24832012-05-14 Joseph Myers <joseph@codesourcery.com>
2484
2485 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2486 set if not set by the user. Do not allow for being unset.
2487 * sysdeps/unix/sysv/linux/configure: Regenerated.
2488
11de3a33
L
24892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2490
2491 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2492 the `q' suffix from lea and replace .quad with ASM_ADDR.
2493
e02f153a
L
24942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2495
2496 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2497 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2498 instead of $17.
2499 (PTR_DEMANGLE): Likewise.
2500
520ae0fd
L
25012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2502
2503 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2504 (LP_OP): Likewise.
2505 (ASM_ADDR): Likewise.
2506 (RAX_LP): Likewise.
2507 (RBP_LP): Likewise.
2508 (RBX_LP): Likewise.
2509 (RCX_LP): Likewise.
2510 (RDI_LP): Likewise.
2511 (RSI_LP): Likewise.
2512 (RSP_LP): Likewise.
2513 (R8_LP): Likewise.
2514 (R9_LP): Likewise.
2515 (R10_LP): Likewise.
2516 (R10_LP): Likewise.
2517 (R11_LP): Likewise.
2518 (R12_LP): Likewise.
2519 (R13_LP): Likewise.
2520 (R14_LP): Likewise.
2521 (R15_LP): Likewise.
2522
b985be81
L
25232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2524
2525 * sysdeps/x86_64/x32/dl-machine.h: New file.
2526
6a4888ff
AJ
25272012-05-14 Andreas Jaeger <aj@suse.de>
2528
2529 * manual/Makefile (subdir): Remove export of subdir.
2530 (all): Remove target.
2531 (.PHONY): Remove all from list.
2532 (mkinstalldirs): Remove.
2533 (.PHONY): Remove installdirs from list.
2534 ($(inst_infodir)/libc.info): Use make-target-directory.
2535 (installdirs): Remove.
2536 (subdir_%): Remove.
2537 (glibc-targets): Remove.
2538 (lib): Remove.
2539 (stubs): Remove.
2540 ($(objpfx)stubs ../po/manual.pot): Remove.
2541 ($(objpfx)stamp%): Remove.
2542 (make-target-directory): Remove.
2543 (subdir_install): Remove.
2544 (routines): Remove.
2545 (aux): Remove.
2546 (sources): Remove.
2547 (objects): Remove.
2548 (headers): Remove.
2549
2550 [BZ #13750]
2551 * manual/.gitignore: Remove, it's not needed anymore.
2552 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2553 all files in it.
2554 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2555 directory.
2556 (texis): Renamed to $(objpfx)texis.
2557 (texis-path): New, contains path to generated files.
2558 (chapters.%): Use texis-path for complete path, add extra argument
2559 libc-texinfo.sh.
2560 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2561 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2562 (summary,texi, stamp-summary): Use complete path of
2563 files. Generate files in build dir.
2564 (dir-add.texi): Build in build dir.
2565 (libm-err.texi,stamp-libm-err): Likewise.
2566 (version.texi, stamp-version): Likewise.
2567 (.%c.texi): Likewise.
2568 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2569 (mostlyclean): Remove target.
2570 (realclean): Remove target.
2571 (generated): Add new variable with contents from mostlyclean and
2572 realclean, remove entries duplicated in common-mostlyclean, add
2573 stamp-libm-err and stamp-version.
2574 (generated-dirs): Add libc directory.
2575 ($(inst_infodir)/libc.info): Install files from build dir.
2576
2577 * manual/install.texi (Configuring and compiling): Adjust since
2578 the info files are not part of the tar ball anymore.
2579
7ac77294
AJ
25802012-05-14 Andreas Jaeger <aj@suse.de>
2581
2582 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2583 variable.
2584
ffb7875d
JM
25852012-05-14 Joseph Myers <joseph@codesourcery.com>
2586
2587 [BZ #13717]
2588 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2589 to 2.2.0 where earlier.
2590 * sysdeps/unix/sysv/linux/configure: Regenerated.
2591 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2592 Remove conditional code.
2593 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2594 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2595 Remove conditional code.
2596 [!__NR_lchown]: Likewise.
2597 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2598 [__NR_lchown]: Likewise.
2599 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2600 comment referencing __ASSUME_LCHOWN_SYSCALL.
2601 * sysdeps/unix/sysv/linux/i386/sigaction.c
2602 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2603 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2604 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2605 Remove conditional code.
2606 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2607 (__protocol_available): Remove #if 0 code.
2608 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2609 conditional code.
2610 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2611 * sysdeps/unix/sysv/linux/kernel-features.h
2612 (__ASSUME_GETCWD_SYSCALL): Don't define.
2613 (__ASSUME_REALTIME_SIGNALS): Likewise.
2614 (__ASSUME_PREAD_SYSCALL): Likewise.
2615 (__ASSUME_PWRITE_SYSCALL): Likewise.
2616 (__ASSUME_POLL_SYSCALL): Likewise.
2617 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2618 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2619 non-SPARC.
2620 (__ASSUME_SIOCGIFNAME): Don't define.
2621 (__ASSUME_MSG_NOSIGNAL): Likewise.
2622 (__ASSUME_SENDFILE): Define unconditionally.
2623 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2624 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2625 conditional code.
2626 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2627 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2628 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2629 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2630 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2631 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2632 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2634 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2635 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2637 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2638 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2640 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2641 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2643 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2644 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2646 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2647 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2649 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2650 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2652 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2653 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2655 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2656 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2657 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2658 Remove conditional code.
2659 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2660 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2661 Remove conditional code.
2662 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2663 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2664 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2665 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2666 Remove conditional code.
2667 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2668 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2669 Remove conditional code.
2670 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2671 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2672 Remove conditional code.
2673 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2674 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2675 Remove conditional code.
2676 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2677 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2678 Remove conditional code.
2679 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2680 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2681 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2682 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2683 * sysdeps/unix/sysv/linux/sigaction.c
2684 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2685 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2686 * sysdeps/unix/sysv/linux/sigpending.c
2687 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2688 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2689 * sysdeps/unix/sysv/linux/sigprocmask.c
2690 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2691 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2692 * sysdeps/unix/sysv/linux/sigsuspend.c
2693 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2694 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2695 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2696 (__libc_missing_rt_sigs): Remove.
2697 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2698 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2699 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2700 Remove conditional code.
2701 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2702 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2703 return 1.
2704 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2705 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2706 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2707 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2708
1bfb7291
AJ
27092012-05-14 Andreas Jaeger <aj@suse.de>
2710
caae5a81
AJ
2711 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2712 it's not used in glibc.
2713 (__coshm1): Likewise.
2714 (__acosh1p): Likewise.
2715 (__sgn): Likewise.
2716
1bfb7291
AJ
2717 * manual/string.texi (Copying and Concatenation): Add missing
2718 variable in concat example.
2719 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2720
c044d724
L
27212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2722
144c5467 2723 [BZ #14103]
c044d724
L
2724 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2725 __builtin_clzl with __builtin_clzll.
2726
2523c62b
L
27272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2728
2729 [BZ #14104]
2730 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2731 libc_freeres_ptr.
2732
d7bb4c42
LD
27332012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2734
2735 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2736 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2737 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2738 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2739
9dc4e1fb
MF
27402012-05-14 Mike Frysinger <vapier@gentoo.org>
2741
2742 * NEWS: Update ia64 info.
2743
c7df0112
AS
27442012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2745
2746 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2747 used as bcopy.
2748
dc70356c
TS
27492012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2750
2751 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2752 * sysdeps/unix/syscalls.list (dup3): Likewise.
2753 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2754 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2755
9fb1a21f
L
27562012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2757
2758 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2759 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2760
4822a2a5
L
27612012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2762
2763 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2764 thread pointer.
2765 (TLS_IE): Use mov/add instead of movq/addq to load thread
2766 pointer.
2767 (TLS_GD_PREFIX): New.
2768 (TLS_GD): Use it.
2769
842b81d6
DM
27702012-05-11 David S. Miller <davem@davemloft.net>
2771
2772 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2773 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2774 (_FPU_SETCW): Likewise.
2775
1cf463cd
L
27762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2777
2778 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2779 is 32-byte aligned.
2780
60cc4a18
AS
27812012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2782
2783 [BZ #11837]
2784 * iconvdata/gb18030.c: Update tables.
2785 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2786 characters specially.
2787 (BODY for TO_LOOP): Add encoding of missing ranges.
2788
febb44a4
TS
27892012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2790
2791 [BZ #13673]
2792 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2793 * sysdeps/mach/hurd/dup3.c: Likewise.
2794 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2795 * sysdeps/powerpc/memmove.c:: Likewise.
2796
0a10fb9e
L
27972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2798
2799 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2800 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2801
df8a552f
L
28022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2803
2804 * elf/elf.h (R_X86_64_RELATIVE64): New.
2805 (R_X86_64_NUM): Updated.
2806 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2807 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2808 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2809 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2810 tst-quad1pie tst-quad2pie
2811 (modules-names): Add tst-quadmod1 tst-quadmod2.
2812 ($(objpfx)tst-quad1): New dependency.
2813 ($(objpfx)tst-quad2): Likewise.
2814 ($(objpfx)tst-quad1pie): Likewise.
2815 ($(objpfx)tst-quad2pie): Likewise.
2816 * sysdeps/x86_64/tst-quad1.c: New file.
2817 * sysdeps/x86_64/tst-quad1pie.c: New file.
2818 * sysdeps/x86_64/tst-quad2.c: Likewise.
2819 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2820 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2821 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2822 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2823 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2824
f34d6f84
ST
28252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2826
f42d41d1
ST
2827 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2828 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2829 * streams/stropts.h (t_scalar_t): Define type.
2830
3c3571fc
ST
2831 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2832 (_PATH_PRESERVE): Set to "/var/lib".
2833 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2834
61f06bd3
ST
2835 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2836 instead of int.
2837
918d4d71
ST
2838 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2839 if __dir_mkfile succeeded.
2840
f34d6f84
ST
2841 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2842 checking for _hurd_dtablesize. Unlock it right after having
2843 finished _hurd_dtable allocation.
2844
10589b4a
TS
28452012-05-10 Thomas Schwinge <thomas@schwinge.name>
2846
674cdbc7
TS
2847 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2848 * sysdeps/mach/hurd/configure: Regenerated.
2849 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2850 special-casing to...
2851 * sysdeps/gnu/configure.in: ... this new file.
2852 * sysdeps/unix/sysv/linux/configure: Regenerated.
2853 * sysdeps/gnu/configure: New generated file.
2854
8e41b99f
TS
2855 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2856 for Linux: use nsec instead of usec, as well as:
2857 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2858 members of type struct timespec.
2859 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2860 New macros.
2861 (struct stat64): Likewise.
2862 (_STATBUF_ST_NSEC): New macro.
2863 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2864
10589b4a
TS
2865 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2866 __strtoul_internal rather than strtoul.
2867
63643c85
PT
28682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2869
2870 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2871 and reject them.
2872
3faebe6a
ST
28732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2874
2875 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2876 which preserves existing values.
2877 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2878
c6474b07
PT
28792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2880
2881 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2882 TIMEOUT values. Return EINVAL for NFDS values either negative or
2883 greater than FD_SETSIZE.
2884
1043890b
ST
28852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2886
2887 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2888 allocated, call __vm_protect to finish enabling the existing space, and
2889 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2890 allocate the remainder.
2891
37ed8b9b
PT
28922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2893
2894 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2895 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2896
db653660
ST
28972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2898
37ed8b9b
PT
2899 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2900 sysdeps/mach/hurd/readlink.c.
b29d4053 2901
db653660
ST
2902 * posix/tst-sysconf.c (posix_options): Only use
2903 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2904 _POSIX_SYNCHRONIZED_IO when they are defined
2905 * sysdeps/mach/hurd/bits/posix_opt.h:
2906 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2907 (_XOPEN_REALTIME): Undefine macro.
2908 (_XOPEN_REALTIME_THREADS): Undefine macro.
2909 (_XOPEN_SHM): Undefine macro.
2910 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2911 macro to -1.
2912 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2913 macro to -1.
2914 (_POSIX_ASYNC_IO): Undefine macro.
2915 (_POSIX_PRIORITIZED_IO): Undefine macro.
2916 (_POSIX_SPIN_LOCKS): Define macro to -1.
2917
ee16e894
ST
2918 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2919 SA_NODEFER, SA_RESETHAND.
2920 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2921 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2922 F_DUPFD_CLOEXEC.
2923
6103ae3b
TS
29242012-05-10 Thomas Schwinge <thomas@schwinge.name>
2925
2926 * elf/Makefile (pldd-modules): Define unconditionally.
2927
80b4e5f3
TS
29282012-05-10 Thomas Schwinge <thomas@schwinge.name>
2929
2930 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2931
edadcbd6
ST
29322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2933
2934 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2935 Return ENOENT when name is empty.
2936 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2937
80694780
TS
29382012-05-10 Thomas Schwinge <thomas@schwinge.name>
2939
1792c087
TS
2940 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2941
80694780
TS
2942 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2943
6b645f0d
ST
29442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2945
80694780
TS
2946 Fix mlock in all cases except non-readable pages.
2947 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2948 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2949
6b645f0d
ST
2950 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2951 (__mkdir): When path is `/', just fail with EEXIST.
2952 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2953
e468f8a3
TS
29542012-05-10 Thomas Schwinge <thomas@schwinge.name>
2955
2956 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2957 <sys/uio.h> (for writev).
2958 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2959 and <sys/param.h> (for MIN).
2960
a4186cff
PT
29612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2962
2963 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2964 REQUESTED_TIME. Properly set the remaining time and return EINTR
2965 if interrupted.
2966
510bbf14
TS
29672012-05-10 Thomas Schwinge <thomas@schwinge.name>
2968
2969 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2970 Depend on against $(link-rpcuserlibs).
2971
5d5722e8
ST
29722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2973
a4186cff
PT
2974 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2975 (__libc_stack_end): Do not use attribute_relro.
2976 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2977 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2978 to libthread-provided value.
a4186cff
PT
2979 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2980 attribute_relro.
5d5722e8 2981
37233df9
TS
29822012-05-10 Thomas Schwinge <thomas@schwinge.name>
2983
be971a2b
TS
2984 [BZ #3748]
2985 * bits/libc-lock.h (__libc_once_get): New macro.
2986 * sysdeps/mach/bits/libc-lock.h: Likewise.
2987 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2988 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2989 instead of using implementation details.
2990
37233df9
TS
2991 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2992 * libio/freopen.c: Likewise.
2993 * libio/freopen64.c: Likewise.
2994 * misc/syslog.c: Likewise.
2995 * nscd/connections.c: Likewise.
2996 * nscd/netgroupcache.c: Likewise.
2997 * sysdeps/posix/getcwd.c: Likewise.
2998
38de94a5
RM
29992012-05-10 Roland McGrath <roland@hack.frob.com>
3000
3001 * math/w_ilogbf.c: Add #include <limits.h>.
3002
67530489
ST
30032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3004
a4186cff 3005 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
3006 path instead of returning without unlocking.
3007
67530489
ST
3008 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3009 immediate-write ioctls.
3010 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3011
5aa3a74a
TS
30122012-05-10 Thomas Schwinge <thomas@schwinge.name>
3013
18bad2ae
TS
3014 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3015 __builtin_frame_address instead of making assumptions about the
3016 location of the return address relative to DATA. Force early load of
3017 the return address.
3018 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3019 __builtin_frame_address.
3020
5aa3a74a
TS
3021 dup3 for GNU Hurd.
3022 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3023 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3024 implement dup3 and do some further code clean-ups.
3025 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3026 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3027
ecd0de9a
ST
30282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3029
cd9fa985
ST
3030 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3031
a4186cff
PT
3032 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3033 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3034 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3035 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3036 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3037 d->port.lock.
802ca5a5 3038
a4186cff
PT
3039 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3040 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3041 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3042
bcf55240
TS
30432012-05-10 Thomas Schwinge <thomas@schwinge.name>
3044
6960eb42
TS
3045 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3046 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3047 definitions.
3048
eb43375f
TS
3049 accept4 for GNU Hurd.
3050 * include/sys/socket.h (__libc_accept4): New prototype.
3051 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3052 to implement __libc_accept4.
3053 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3054 __libc_accept4.
3055 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3056
bcf55240
TS
3057 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3058 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3059 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3060 signal-defines.sym.
3061
6178c55b
ST
30622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3063
a4186cff 3064 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3065
6f080c2f
TS
30662012-05-10 Thomas Schwinge <thomas@schwinge.name>
3067
3068 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3069 assertion on O_CLOEXEC flag.
3070 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3071 * hurd/intern-fd.c: Likewise.
3072 * hurd/port2fd.c: Likewise.
3073
bcfe3a54
ST
30742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3075
3076 [BZ #3906]
3077 * bits/in.h (IPV6_PKTINFO): Define new macro.
3078 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3079
89c9aa49
AZ
30802012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3081
3082 [BZ #13954]
3083 [BZ #13955]
3084 [BZ #13956]
3085 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3086 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3087 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3088 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3089 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3090 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3091 * math/libm-test.inc (logb_test) : Additional logb tests.
3092
021db4be
AJ
30932012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3094 Andreas Jaeger <aj@suse.de>
3095
3096 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3097 * configure: Regenerated.
3098 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3099 * config.make.in (link-obsolete-rpc): New substituted variable.
3100 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3101 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3102 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3103 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3104 so that libc.a contains the symbols.
3105 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3106 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3107 * sunrpc/auth_none.c: Likewise.
3108 * sunrpc/auth_unix.c: Likewise.
3109 * sunrpc/authdes_prot.c: Likewise.
3110 * sunrpc/authuxprot.c: Likewise.
3111 * sunrpc/clnt_gen.c: Likewise.
3112 * sunrpc/clnt_perr.c: Likewise.
3113 * sunrpc/clnt_raw.c: Likewise.
3114 * sunrpc/clnt_simp.c: Likewise.
3115 * sunrpc/clnt_tcp.c: Likewise.
3116 * sunrpc/clnt_udp.c: Likewise.
3117 * sunrpc/clnt_unix.c: Likewise.
3118 * sunrpc/des_crypt.c: Likewise.
3119 * sunrpc/des_soft.c: Likewise.
3120 * sunrpc/get_myaddr.c: Likewise.
3121 * sunrpc/key_call.c: Likewise.
3122 * sunrpc/key_prot.c: Likewise.
3123 * sunrpc/netname.c: Likewise.
3124 * sunrpc/pm_getmaps.c: Likewise.
3125 * sunrpc/pm_getport.c: Likewise.
3126 * sunrpc/pmap_clnt.c: Likewise.
3127 * sunrpc/pmap_prot.c: Likewise.
3128 * sunrpc/pmap_prot2.c: Likewise.
3129 * sunrpc/pmap_rmt.c: Likewise.
3130 * sunrpc/publickey.c: Likewise.
3131 * sunrpc/rpc_cmsg.c: Likewise.
3132 * sunrpc/rpc_common.c: Likewise.
3133 * sunrpc/rpc_dtable.c: Likewise.
3134 * sunrpc/rpc_prot.c: Likewise.
3135 * sunrpc/rpc_thread.c: Likewise.
3136 * sunrpc/rtime.c: Likewise.
3137 * sunrpc/svc.c: Likewise.
3138 * sunrpc/svc_auth.c: Likewise.
3139 * sunrpc/svc_raw.c: Likewise.
3140 * sunrpc/svc_run.c: Likewise.
3141 * sunrpc/svc_tcp.c: Likewise.
3142 * sunrpc/svc_udp.c: Likewise.
3143 * sunrpc/svc_unix.c: Likewise.
3144 * sunrpc/svcauth_des.c: Likewise.
3145 * sunrpc/xcrypt.c: Likewise.
3146 * sunrpc/xdr.c: Likewise.
3147 * sunrpc/xdr_array.c: Likewise.
3148 * sunrpc/xdr_float.c: Likewise.
3149 * sunrpc/xdr_intXX_t.c: Likewise.
3150 * sunrpc/xdr_mem.c: Likewise.
3151 * sunrpc/xdr_rec.c: Likewise.
3152 * sunrpc/xdr_ref.c: Likewise.
3153 * sunrpc/xdr_sizeof.c: Likewise.
3154 * sunrpc/xdr_stdio.c: Likewise.
3155
b5c086a2
RM
31562012-05-10 Roland McGrath <roland@hack.frob.com>
3157
3158 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3159 change. Update copyright years.
3160
6d74dd09
JM
31612012-05-10 Joseph Myers <joseph@codesourcery.com>
3162
3163 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3164
28e72501
MK
31652012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3166 Joseph Myers <joseph@codesourcery.com>
3167 Paul Pluzhnikov <ppluzhnikov@google.com>
3168
3169 [BZ #14012]
3170 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3171 requiring rpcgen.
3172 [cross-compiling] (extra-libs): Likewise.
3173 [cross-compiling] (extra-libs-others): Likewise.
3174 [cross-compiling] (librpcsvc-routines): Likewise.
3175 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3176 [cross-compiling] (omit-deps): Likewise.
3177 (sunrpc-CPPFLAGS): New variable.
3178 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3179 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3180 (cross-rpcgen-objs): New variable.
3181 (extra-objs): Append $(cross-rpcgen-objs).
3182 ($(cross-rpcgen-objs)): New rule.
3183 ($(objpfx)cross-rpcgen): Likewise.
3184 (rpcgen-cmd): Define to use $(built-program-file). Expand
3185 comment.
3186 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3187 ($(objpfx)x%.stmp): Likewise.
3188 * sunrpc/proto.h [IS_IN_build] (_): Define.
3189 [IS_IN_build] (_libc_intl_domainname): Likewise.
3190
c8c59454
L
31912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3192
3193 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3194 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3195 and R_X86_64_TPOFF64.
3196
6f27cd16
JM
31972012-05-10 Joseph Myers <joseph@codesourcery.com>
3198
3199 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3200 sysdeps/unix/sysv/syscalls.list.
3201 (stime): Likewise.
3202 (utime): Likewise.
3203 * sysdeps/unix/sysv/syscalls.list: Remove file.
3204
02467e1c
PE
32052012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3206
3207 [BZ #3440]
3208 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3209 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3210 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3211 (__LC_IDENTIFICATION): Make these macros useful in #if
3212 expressions, as required by C99.
3213
da392631
AS
32142012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3215
3216 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3217 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3218 after this.
3219
8115f29b
L
32202012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3221
3222 * stdlib/longlong.h: Updated from GCC.
3223
bdd74070
AJ
32242012-05-09 Andreas Jaeger <aj@suse.de>
3225
edfe0dbe
AJ
3226 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3227 default is first entry.
3228 (run_mode): Set type.
3229 (main): Remove informal message about syslog.
3230 (options): Fix typo.
3231
bcfe3a54
ST
3232 [BZ #14053]
3233 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3234 to asm.
bcfe3a54
ST
3235 (lrint): Likewise.
3236 (llrintf): Likewise.
3237 (llrint): Likewise.
3238 (rint): Likewise.
3239 (rintf): Likewise.
3240 (nearbyint): Likewise.
3241 (nearbyintf): Likewise.
bdd74070 3242
91d8d69e
AJ
32432012-05-09 Andreas Jaeger <aj@suse.de>
3244 Pedro Alves <palves@redhat.com>
3245
3246 * nscd/nscd.c (run_mode): Use enum.
3247 (main): Cleanup coding style issue.
3248
bb90b80b
AJ
32492012-05-09 Alexandre Oliva <aoliva@redhat.com>
3250 Andreas Jaeger <aj@suse.de>
3251
bcfe3a54
ST
3252 * nscd/nscd.c (go_background): Replaced with...
3253 (run_mode): ... this.
bb90b80b 3254 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3255 (options): Add -F --foreground.
3256 (main): Implement it.
3257 (parse_opt): Parse it.
bb90b80b 3258
1a4b75a1
AJ
32592012-05-09 Andreas Jaeger <aj@suse.de>
3260
3261 [BZ #14083]
3262 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3263 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3264 -Wconversion warning.
3265 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3266 Likewise.
3267
b1cc2472
JM
32682012-05-09 Joseph Myers <joseph@codesourcery.com>
3269
3270 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3271 == 0.
3272 (LC_ALL): Use macro-int-constant.
3273 (LC_COLLATE): Likewise.
3274 (LC_CTYPE): Likewise.
3275 (LC_MESSAGES): Likewise.
3276 (LC_MONETARY): Likewise.
3277 (LC_NUMERIC): Likewise.
3278 (LC_TIME): Likewise.
3279 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3280 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3281 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3282 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3283 Specify type.
3284 [C99-based standards] (float_t): Expect type.
3285 [C99-based standards] (double_t): Expect type.
3286 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3287 type.
3288 [C99-based standards] (HUGE_VALL): Likewise.
3289 [C99-based standards] (INFINITY): Likewise.
3290 [C99-based standards] (NAN): Likewise.
3291 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3292 [C99-based standards] (FP_NAN): Likewise.
3293 [C99-based standards] (FP_NORMAL): Likewise.
3294 [C99-based standards] (FP_SUBNORMAL): Likewise.
3295 [C99-based standards] (FP_ZERO): Likewise.
3296 [C99-based standards] (FP_FAST_FMA): Use
3297 optional-macro-int-constant. Specify type. Require == 1.
3298 [C99-based standards] (FP_FAST_FMAF): Likewise.
3299 [C99-based standards] (FP_FAST_FMAL): Likewise.
3300 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3301 [C99-based standards] (FP_ILOGBNAN): Likewise.
3302 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3303 Specify type.
3304 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3305 [C99-based standards] (math_errhandling): Specify type.
3306 [ISO99 || ISO11] (signgam): Do not allow.
3307 [non-C99-based standards] (copysignf): Do not allow.
3308 [non-C99-based standards] (exp2f): Likewise.
3309 [non-C99-based standards] (log2f): Likewise.
3310 [non-C99-based standards] (modff): Allow.
3311 [non-C99-based standards] (erff): Do not allow.
3312 [non-C99-based standards] (erfcf): Likewise.
3313 [non-C99-based standards] (gammaf): Likewise.
3314 [non-C99-based standards] (hypotf): Likewise.
3315 [non-C99-based standards] (j0f): Likewise.
3316 [non-C99-based standards] (j1f): Likewise.
3317 [non-C99-based standards] (jnf): Likewise.
3318 [non-C99-based standards] (lgammaf): Likewise.
3319 [non-C99-based standards] (tgammaf): Likewise.
3320 [non-C99-based standards] (y0f): Likewise.
3321 [non-C99-based standards] (y1f): Likewise.
3322 [non-C99-based standards] (ynf): Likewise.
3323 [non-C99-based standards] (isnanf): Likewise.
3324 [non-C99-based standards] (acoshf): Likewise.
3325 [non-C99-based standards] (asinhf): Likewise.
3326 [non-C99-based standards] (atanhf): Likewise.
3327 [non-C99-based standards] (cbrtf): Likewise.
3328 [non-C99-based standards] (expm1f): Likewise.
3329 [non-C99-based standards] (ilogbf): Likewise.
3330 [non-C99-based standards] (log1pf): Likewise.
3331 [non-C99-based standards] (logbf): Likewise.
3332 [non-C99-based standards] (nextafterf): Likewise.
3333 [non-C99-based standards] (remainderf): Likewise.
3334 [non-C99-based standards] (rintf): Likewise.
3335 [non-C99-based standards] (scalbf): Likewise.
3336 [non-C99-based standards] (copysignl): Likewise.
3337 [non-C99-based standards] (exp2l): Likewise.
3338 [non-C99-based standards] (log2l): Likewise.
3339 [non-C99-based standards] (modfl): Allow.
3340 [non-C99-based standards] (erfl): Do not allow.
3341 [non-C99-based standards] (erfcl): Likewise.
3342 [non-C99-based standards] (gammal): Likewise.
3343 [non-C99-based standards] (hypotl): Likewise.
3344 [non-C99-based standards] (j0l): Likewise.
3345 [non-C99-based standards] (j1l): Likewise.
3346 [non-C99-based standards] (jnl): Likewise.
3347 [non-C99-based standards] (lgammal): Likewise.
3348 [non-C99-based standards] (tgammal): Likewise.
3349 [non-C99-based standards] (y0l): Likewise.
3350 [non-C99-based standards] (y1l): Likewise.
3351 [non-C99-based standards] (ynl): Likewise.
3352 [non-C99-based standards] (isnanl): Likewise.
3353 [non-C99-based standards] (acoshl): Likewise.
3354 [non-C99-based standards] (asinhl): Likewise.
3355 [non-C99-based standards] (atanhl): Likewise.
3356 [non-C99-based standards] (cbrtl): Likewise.
3357 [non-C99-based standards] (expm1l): Likewise.
3358 [non-C99-based standards] (ilogbl): Likewise.
3359 [non-C99-based standards] (log1pl): Likewise.
3360 [non-C99-based standards] (logbl): Likewise.
3361 [non-C99-based standards] (nextafterl): Likewise.
3362 [non-C99-based standards] (remainderl): Likewise.
3363 [non-C99-based standards] (rintl): Likewise.
3364 [non-C99-based standards] (scalbl): Likewise.
3365 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3366 [non-C99-based standards] (FP_*): Do not allow.
3367 [C99-based standards] (FP_*): Change to
3368 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3369 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3370 allow.
3371 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3372 (SIG_ERR): Likewise.
3373 [X/Open-based standards] (SIG_HOLD): Likewise.
3374 (SIG_IGN): Likewise.
3375 (SIGABRT): Use macro-int-constant. Specify type. Require
3376 positive value.
3377 (SIGFPE): Likewise.
3378 (SIGILL): Likewise.
3379 (SIGINT): Likewise.
3380 (SIGSEGV): Likewise.
3381 (SIGTER): Likewise.
3382 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3383 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3384 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3385 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3386 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3387 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3388 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3389 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3390 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3391 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3392 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3393 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3394 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3395 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3396 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3397 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3398 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3399 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3400 [X/Open-based standards] (SIGTRAP): Likewise.
3401 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3402 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3403 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3404 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3405 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3406 allow.
3407
b9f1922d
IW
34082012-05-08 Ian Wienand <ianw@vmware.com>
3409
3410 [BZ #14080]
3411 * time/tzset.c (__tzset_parse_tz): Update default rules for
3412 daylight time changes in the Energy Policy Act of 2005.
3413
1db86e88
AJ
34142012-05-09 Andreas Jaeger <aj@suse.de>
3415
3416 [BZ #13983]
3417 * elf/ldconfig.c (parse_conf): Change string to make clear that
3418 ldconfig only issued a warning if ld.so.conf does not exist.
3419
dee4a4e3
DM
34202012-05-08 David S. Miller <davem@davemloft.net>
3421
ee0db190
DM
3422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3423 movxtod instead of popping the value on the stack.
3424
dee4a4e3
DM
3425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3426
6a43ec98
CD
34272012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3428
3429 * config.h.in: Add HAVE_ARM_PCS_VFP.
3430
05c2c961
RMG
34312012-05-08 Roland Mc Grath <roland@hack.frob.com>
3432
bcfe3a54
ST
3433 [BZ #13979]
3434 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3435 checking but the checks are disabled for any reason.
05c2c961 3436
4b30f61a
L
34372012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3438
3439 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3440 and ELF64_R_TYPE with ELFW(R_TYPE).
3441
eee2bc67
JM
34422012-05-08 Joseph Myers <joseph@codesourcery.com>
3443
7ea5391a
JM
3444 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3445 (ulimit): Likewise.
3446
eee2bc67
JM
3447 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3448 (settimeofday): Likewise.
3449
abb66a67
MF
34502012-05-08 Mike Frysinger <vapier@gentoo.org>
3451
3452 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3453 a struct th_u2 inside the union, and move tu_block/tu_code into
3454 a new th_u3 union of tu_block/tu_code inside of that. Move
3455 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3456 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3457 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3458 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3459 (th_stuff): Change to th_u1.tu_stuff.
3460 (th_data): Define.
3461 (th_msg): Change to th_u1.th_u2.tu_data.
3462
7f18b530
DM
34632012-05-07 David S. Miller <davem@davemloft.net>
3464
05760585
DM
3465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3466
7f18b530
DM
3467 [BZ #14074]
3468 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3469 (SETUP_PIC_REG): Use it.
3470 (SETUP_PIC_REG_LEAF): Use it.
3471
495fd99f
JM
34722012-05-07 Joseph Myers <joseph@codesourcery.com>
3473
3474 [BZ #13885]
3475 [BZ #13923]
3476 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3477 USE_AS_EXPM1L.
3478 (EXPL_FINITE): Likewise.
3479 (FLDLOG): Likewise.
3480 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3481 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3482 e_expl.S.
3483 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3484 USE_AS_EXPM1L.
3485 (EXPL_FINITE): Likewise.
3486 (FLDLOG): Likewise.
3487 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3488 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3489 e_expl.S.
3490 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3491 test of -max_value argument for long double.
3492 * sysdeps/i386/fpu/libm-test-ulps: Update.
3493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3494
6693d694
DM
34952012-05-06 David S. Miller <davem@davemloft.net>
3496
3497 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3498 quad soft-float symbols whose references which are compiler
3499 generated.
3500 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3501
6c23e11c
JM
35022012-05-06 Joseph Myers <joseph@codesourcery.com>
3503
d8b82cad
JM
3504 [BZ #13884]
3505 [BZ #13914]
3506 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3507 USE_AS_EXP10L.
3508 (EXPL_FINITE): Likewise.
3509 (FLDLOG): Likewise.
3510 (c0): Likewise.
3511 (c1): Likewise.
3512 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3513 Adjust comments for base varying.
3514 (__expl_finite): Change alias to EXPL_FINITE.
3515 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3516 e_expl.S.
3517 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3518 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3519 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3520 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3521 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3522 USE_AS_EXP10L.
3523 (EXPL_FINITE): Likewise.
3524 (FLDLOG): Likewise.
3525 (c0): Likewise.
3526 (c1): Likewise.
3527 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3528 Adjust comments for base varying.
3529 (__expl_finite): Change alias to EXPL_FINITE.
3530 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3531 tests for bugs.
3532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3533
6c23e11c
JM
3534 [BZ #14064]
3535 * math/libm-test.inc (check_float_internal): Correct ulp
3536 calculation for subnormal expected results.
3537
29ba805c
AJ
35382012-05-06 Andreas Jaeger <aj@suse.de>
3539
3540 * Makeconfig (+math-flags): New, set to -frounding-math.
3541 (+cflags): Add +math-flags so that all of glibc gets compiled with
3542 it.
3543
3544 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3545
7b17aeda
JM
35462012-05-05 Joseph Myers <joseph@codesourcery.com>
3547
5779f134
JM
3548 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3549 Disable one test.
3550
41498f4d
JM
3551 [BZ #13787]
3552 [BZ #13922]
3553 [BZ #14036]
3554 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3555 (__ieee754_expl): Allow for and saturate large arguments.
3556 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3557 (u_threshold): Likewise.
3558 (__exp): Call __ieee754_exp before checking for overflow and
3559 underflow.
3560 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3561 (u_threshold): Likewise.
3562 (__expf): Call __ieee754_expf before checking for overflow and
3563 underflow.
3564 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3565 (u_threshold): Likewise.
3566 (__expl): Call __ieee754_expl before checking for overflow and
3567 underflow.
3568 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3569 (__ieee754_expl): Allow for and saturate large arguments.
3570 * math/libm-test.inc (exp_test): Add another test. Do not allow
3571 missing overflow exception on overflow.
3572 (expm1_test): Do not allow missing overflow exception on overflow.
3573
6698b8bf
JM
3574 * sysdeps/i386/fpu/e_expl.c: Move to ...
3575 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3576 rather than using inline asm.
3577 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3578 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3579 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3580
7b17aeda
JM
3581 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3582 (nice): Likewise.
3583 (poll): Likewise.
3584 (signal): Likewise.
3585 (time): Likewise.
3586 (times): Likewise.
3587
f7c85819
JM
35882012-05-04 Joseph Myers <joseph@codesourcery.com>
3589
3590 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3591 sysdeps/unix/common/syscalls.list.
3592 (fchmod): Likewise.
3593 (fchown): Likewise.
3594 (ftruncate): Likewise.
3595 (getrusage): Likewise.
3596 (gettimeofday): Likewise.
3597 (setpgid): Likewise.
3598 (setregid): Likewise.
3599 (setreuid): Likewise.
3600 (sigaction): Likewise.
3601 (truncate): Likewise.
3602 (vhangup): Likewise.
3603 * sysdeps/unix/common/syscalls.list: Remove file.
3604 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3605 * sysdeps/unix/sysv/linux/Implies: Likewise.
3606
336270d0
L
36072012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3608
3609 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3611 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3612 Moved to ...
3613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3614 Here.
3615 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3616 to ...
3617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3618 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3619 to ...
3620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3621 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3622 to ...
3623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3624 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3625 to ...
3626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3627 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3628 to ...
3629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3630 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3631 to ...
3632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3633 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3634 to ...
3635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3636 Here.
3637 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3638 to ...
3639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3640 Here.
3641 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3642 to ...
3643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3644 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3645 Moved to ...
3646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3647 Here.
3648 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3649 to ...
3650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3651
d128e450
JM
36522012-05-04 Joseph Myers <joseph@codesourcery.com>
3653
fa8ee516
JM
3654 * sysdeps/unix/common/bits/dirent.h: Remove file.
3655 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3656
d128e450
JM
3657 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3658 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3659 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3660 * sysdeps/unix/bsd/isatty.c: Likewise.
3661 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3662 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3663 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3664
ff8faaf0 36652012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3666
62881be4 3667 [BZ #13563]
31dc8730
AZ
3668 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3669 long double comparison inaccuracies.
3670 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3672
6fef930c
AS
36732012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3674
3675 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3676 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3677
8f203e6c
JM
36782012-05-04 Joseph Myers <joseph@codesourcery.com>
3679
3680 [BZ #14049]
3681 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3682 nonzero digits before rounding a hex value.
3683 * stdlib/tst-strtod.c (tests): Add another test.
3684
5197d9c2
AK
36852012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3686
3687 * sysdeps/s390/fpu/libm-test-ulps: Update.
3688
f0c1dedf
AJ
36892012-05-03 Andreas Jaeger <aj@suse.de>
3690
3691 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3692 does not get optimized out.
3693 (malloc_opt_barrier): New.
3694
a65ef2ae 36952012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3696 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3697
2b942cb7 3698 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3699 intermediate file deletion.
2b942cb7 3700 (generated): Add .symlist files.
a65ef2ae 3701
54b71e02
JM
37022012-05-03 Joseph Myers <joseph@codesourcery.com>
3703
3704 [BZ #13775]
3705 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3706 Redirect under this condition.
3707 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3708 [__USE_GNU] (__dprintf_chk): Not under this condition.
3709 [__USE_GNU] (__vdprintf_chk): Likewise.
3710 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3711 under this condition.
3712 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3713 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3714 [__USE_XOPEN2K8] (vdprintf): Likewise.
3715 [__USE_GNU] (__dprintf_chk): Not under this condition.
3716 [__USE_GNU] (__vdprintf_chk): Likewise.
3717 [__USE_GNU] (dprintf): Likewise.
3718 [__USE_GNU] (vdprintf): Likewise.
3719
d3dfcc41
RM
37202012-05-03 Roland McGrath <roland@hack.frob.com>
3721
3722 * elf/Makefile (common-generated): Set this instead of generated for
3723 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3724 $(all-built-dso)-derived lists.
3725
7ac30cc5
AJ
37262012-05-03 Andreas Jaeger <aj@suse.de>
3727
0c51e550
AJ
3728 * sysdeps/i386/fpu/libm-test-ulps: Update.
3729
7ac30cc5
AJ
3730 * FAQ: Removed.
3731 * FAQ.in: Likewise.
3732 * scripts/gen-FAQ.pl: Likewise.
3733 * manual/install.texi (Installation): Point to online location of
3734 FAQ.
3735 * Makefile (files-for-dist): Remove FAQ.
3736 (FAQ): Remove.
3737
d4c2917f
AM
37382012-05-02 Allan McRae <allan@archlinux.org>
3739
3740 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3741 (LDFLAGS-reldepmod5.so): Likewise.
3742 (LDFLAGS-reldep6mod1.so): Likewise.
3743 (LDFLAGS-reldep6mod4.so): Likewise.
3744 (LDFLAGS-reldep8mod3.so): Likewise.
3745 (LDFLAGS-unload4mod1.so): Likewise.
3746 (LDFLAGS-unload4mod2.so): Likewise.
3747 (LDFLAGS-tst-initorder): Likewise.
3748 (LDFLAGS-tst-initordera2.so): Likewise.
3749 (LDFLAGS-tst-initordera3.so): Likewise.
3750 (LDFLAGS-tst-initordera4.so): Likewise.
3751 (LDFLAGS-tst-initorderb2.so): Likewise.
3752 (LDFLAGS-noload): Likewise.
3753 (LDFLAGS-next): Likewise.
3754 (LDFLAGS-order2mod1.so): Likewise.
3755 (LDFLAGS-order2mod2.so): Likewise.
3756 (LDFLAGS-tst-initorder2): Likewise.
3757 (LDFLAGS-tst-initorder2a.so): Likewise.
3758 (LDFLAGS-tst-initorder2b.so): Likewise.
3759 (LDFLAGS-tst-initorder2c.so): Likewise.
3760 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3761
d77f993f
DM
37622012-05-02 David S. Miller <davem@davemloft.net>
3763
3764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3765
171a70b4
PP
37662012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3767
3768 [BZ #14055]
3769 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3770
0be196ad
AJ
37712012-05-02 Andreas Jaeger <aj@suse.de>
3772
3773 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3774 since we manipulate rounding mode.
3775 (CPPFLAGS-test-idouble.c): Likewise.
3776 (CPPFLAGS-test-ifloat.c): Likewise.
3777 (CFLAGS-test-ldouble.c): Likewise.
3778 (CFLAGS-test-double.c): Likewise.
3779 (CFLAGS-test-float.c): Likewise.
3780 (CFLAGS-test-misc.c): Likewise.
3781 (CFLAGS-test-test-fenv.c): Likewise.
3782
4f9d04aa
AZ
37832012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3784
2b942cb7
RM
3785 [BZ #2550]
3786 [BZ #2570]
3787 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3788 comparisons to determine direction to adjust input.
4f9d04aa 3789
82a79e7d
RM
37902012-05-01 Roland McGrath <roland@hack.frob.com>
3791
f5a01ca9
RM
3792 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3793 output to the target.
3794
90fe4186
RM
3795 * scripts/localplt.awk: New file.
3796 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3797 (check-localplt-CFLAGS): Variable removed.
3798 ($(all-built-dso:=.jmprel)): New static pattern rule.
3799 (generated): Add those targets.
3800 (localplt-built-dso): New variable.
3801 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3802
3803 * elf/check-localplt.c: File removed.
3804
82397ed6
RM
3805 * scripts/check-execstack.awk: New file.
3806 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3807 (check-execstack-CFLAGS): Variable removed.
3808 ($(objpfx)check-execstack.h): Target removed.
3809 ($(objpfx)execstack-default): New target.
3810 (generated): Add that instead of check-execstack.h.
3811 ($(all-built-dso:=.phdr)): New static pattern rule.
3812 (generated): Add those targets.
3813 * elf/check-execstack.c: File removed.
3814
82a79e7d
RM
3815 * scripts/check-textrel.awk: New file.
3816 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3817 (check-textrel-CFLAGS): Variable removed.
3818 (all-built-dso): Use := to define.o
3819 ($(all-built-dso:=.dyn)): New static pattern rule.
3820 (generated): Add those targets.
3821 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3822 * config.make.in (READELF): New substituted variable.
3823 * elf/check-textrel.c: File removed.
3824
62fde54f 38252012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3826
615605c9
JM
3827 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3828 allow.
3829 * conform/data/ctype.h-data [C99-based standards] (isblank):
3830 Expect function.
3831 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3832 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3833 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3834 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3835 Specify type. Require positive value.
3836 (EILSEQ): Likewise.
3837 (ERANGE): Likewise.
3838 [ISO || POSIX] (EILSEQ): Do not expect.
3839 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3840 Specify type. Require positive value.
3841 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3842 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3843 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3844 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3845 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3846 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3847 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3848 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3849 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3850 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3851 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3852 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3853 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3854 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3855 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3856 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3857 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3858 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3859 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3860 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3861 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3862 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3863 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3864 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3865 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3866 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3867 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3868 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3869 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3870 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3871 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3872 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3873 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3874 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3875 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3876 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3877 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3878 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3879 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3880 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3881 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3882 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3883 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3884 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3885 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3886 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3887 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3888 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3889 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3890 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3891 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3892 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3893 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3894 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3895 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3896 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3897 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3898 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3899 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3900 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3901 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3902 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3903 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3904 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3905 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3906 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3907 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3908 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3909 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3910 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3911 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3912 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3913 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3914 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3915 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3916 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3917 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3918 Require >= 2.
3919 (FLT_ROUNDS): Expect as macro, not constant.
3920 (FLT_MANT_DIG): Use macro-int-constant.
3921 (DBL_MANT_DIG): Likewise.
3922 (LDBL_MANT_DIG): Likewise.
3923 (FLT_DIG): Likewise.
3924 (DBL_DIG): Likewise.
3925 (LDBL_DIG): Likewise.
3926 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3927 (DBL_MIN_EXP): Likewise.
3928 (LDBL_MIN_EXP): Likewise.
3929 (FLT_MAX_EXP): Use macro-int-constant.
3930 (DBL_MAX_EXP): Likewise.
3931 (LDBL_MAX_EXP): Likewise.
3932 (FLT_MAX_10_EXP): Likewise.
3933 (DBL_MAX_10_EXP): Likewise.
3934 (LDBL_MAX_10_EXP): Likewise.
3935 (FLT_MAX): Use macro-constant.
3936 (DBL_MAX): Likewise.
3937 (LDBL_MAX): Likewise.
3938 (FLT_EPSILON): Use macro-constant. Give upper bound.
3939 (DBL_EPSILON): Likewise.
3940 (LDBL_EPSILON): Likewise.
3941 (FLT_MIN): Likewise.
3942 (DBL_MIN): Likewise.
3943 (LDBL_MIN): Likewise.
3944 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3945 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3946 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3947 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3948 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3949 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3950 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3951 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3952 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3953 [ISO11] (FLT_TRUE_MIN): Likewise.
3954 [ISO11] (LDBL_TRUE_MIN): Likewise.
3955 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3956 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3957 (SCHAR_MIN): Use macro-int-constant. Specify type.
3958 (SCHAR_MAX): Likewise.
3959 (UCHAR_MAX): Likewise.
3960 (CHAR_MIN): Likewise.
3961 (CHAR_MAX): Likewise.
3962 (MB_LEN_MAX): Use macro-int-constant.
3963 (SHRT_MIN): Use macro-int-constant. Specify type.
3964 (SHRT_MAX): Likewise.
3965 (USHRT_MAX): Likewise.
3966 (INT_MAX): Likewise.
3967 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3968 bound negative.
3969 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3970 bound with "U".
3971 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3972 bound with "L".
3973 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3974 bound negative. Suffix upper bound with "L".
3975 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3976 bound with "UL".
3977 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3978 Specify type.
3979 [C99-based standards] (LLONG_MAX): Likewise.
3980 [C99-based standards] (ULLONG_MAX): Likewise.
3981 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3982 == 0.
3983 [ISO11] (max_align_t): Require type.
3984 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3985
c9140a62
JM
3986 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3987 from $CFLAGS, without defining away __attribute__ calls.
3988 (checknamespace): Use $CFLAGS_namespace.
3989
9af0bf29
JM
3990 * conform/conformtest.pl (@keywords): Only include C99 keywords
3991 for standards based on C99 or C11.
3992
343222a2
JM
3993 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3994 Disable tests.
3995 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3996 UNIX98]: Likewise.
3997
661f8cf0
JM
3998 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3999 usability of symbols in #if.
4000
ee74b9cb
JM
4001 * conform/conformtest.pl: If macro or constant types start
4002 "promoted:", expect the symbol to be of the following type
4003 promoted by the integer promotions.
62fde54f 4004
aafc49b3
JM
4005 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4006 in one place. Also handle "macro-constant".
4007
fefdf574
JM
4008 * conform/conformtest.pl: Only accept expected macro values with
4009 "==". Parse all "macro" lines in one place.
4010 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4011
f2d922fe
JM
4012 * conform/conformtest.pl: Handle braced types on "constant" lines
4013 instead of handling "typed-constant".
4014 * conform/data/signal.h-data: Use "constant" instead of
4015 "typed-constant".
4016
d22956c9
JM
4017 * conform/conformtest.pl: Handle "optional-" at start of lines in
4018 one place rather than duplicating several cases. Handle each
4019 format of "macro" line with initial "optional-".
4020
028e2e38
JM
4021 * conform/conformtest.pl: Only accept expected constant or
4022 optional-constant values with "==". Parse all "constant" lines in
4023 one place. Parse all "optional-constant" lines in one place.
4024 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4025 * conform/data/fmtmsg.h-data: Likewise.
4026 * conform/data/netinet/in.h-data: Likewise.
4027 * conform/data/tar.h-data: Likewise.
4028 * conform/data/limits.h-data: Use "==" form on "constant" and
4029 "optional-constant" lines.
4030
1b8f2850
JM
4031 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4032 Use -std=c99 for XOPEN2K.
4033 (@knownproblems): Remove.
4034 (newtoken): Don't check %isknown.
4035
a05a144b
JM
4036 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4037 Do not expect macro.
4038 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4039 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4040 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4041 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4042 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4043 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4044 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4045 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4046 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4047 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4048 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4049 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4050 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4051 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4052 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4053 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4054 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4055 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4056 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4057 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4058 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4059 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4060 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4061 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4062 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4063 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4064 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4065 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4066 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4067 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4068 [XPG3] (acosh): Likewise.
4069 [XPG3] (asinh): Likewise.
4070 [XPG3] (atanh): Likewise.
4071 [XPG3] (cbrt): Likewise.
4072 [XPG3] (expm1): Likewise.
4073 [XPG3] (ilogb): Likewise.
4074 [XPG3] (log1p): Likewise.
4075 [XPG3] (logb): Likewise.
4076 [XPG3] (nextafter): Likewise.
4077 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4078 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4079 [XPG3] (remainder): Likewise.
4080 [XPG3] (rint): Likewise.
4081 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4082 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4083 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4084 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4085 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4086 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4087 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4088 [UNIX98 || XOPEN2K] (scalb): Expect.
4089 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4090 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4091 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4092 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4093 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4094 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4095 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4096 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4097 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4098 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4099 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4100 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4101 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4102 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4103 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4104 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4105 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4106 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4107 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4108 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4109 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4110 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4111 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4112 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4113 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4114 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4115 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4116 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4117 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4118 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4119 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4120 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4121 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4122 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4123 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4124 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4125 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4126 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4127 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4128 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4129 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4130 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4131 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4132 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4133 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4134 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4135 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4136 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4137 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4138 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4139 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4140 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4141 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4142 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4143 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4144 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4145 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4146 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4147 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4148 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4149 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4150 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4151 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4152 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4153 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4154 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4155 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4156 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4157 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4158 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4159 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4160 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4161 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4162 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4163 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4164 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4165 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4166 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4167 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4168 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4169 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4170 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4171 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4172 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4173 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4174 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4175 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4176 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4177 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4178 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4179 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4180 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4181 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4182 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4183 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4184 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4185 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4186 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4187 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4188 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4189 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4190 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4191 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4192 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4193 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4194 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4195 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4196 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4197 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4198 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4199 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4200 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4201 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4202 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4203 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4204 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4205 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4206 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4207 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4208 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4209 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4210 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4211 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4212 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4213 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4214 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4215 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4216 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4217 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4218 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4219 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4220 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4221 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4222 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4223 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4224 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4225 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4226
73c5ebe3
JM
4227 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4228 _XOPEN_SOURCE_EXTENDED for XPG4.
4229
39c33b6c
JM
4230 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4231
62fde54f
JM
4232 * Makeconfig (localtime): Remove variable.
4233 (inst_localtime-file): Likewise.
4234
0741d64c
AS
42352012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4236
4237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4238 Update.
4239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4240 Update.
4241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4242 Update.
4243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4244 Update.
4245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4246 Update.
4247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4248 Update.
4249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4250 Update.
4251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4252 Update.
4253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4254 Update.
4255
7cb029ee
JM
42562012-05-01 Joseph Myers <joseph@codesourcery.com>
4257
4258 [BZ #2550]
4259 [BZ #2570]
4260 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4261 comparisons to determine direction to adjust input.
4262 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4263 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4264 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4265 Likewise.
4266 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4267 Likewise.
4268 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4269 Likewise.
4270 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4271 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4272 Likewise.
4273 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4274 Likewise.
4275 * math/libm-test.inc (nexttoward_test): Add more tests.
4276
412bd966
AS
42772012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4278
4279 [BZ #14040]
4280 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4281 in version GLIBC_2.1, not GLIBC_2.0.
4282 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4283 Likewise.
4284
9568c0c2
JM
42852012-04-30 Joseph Myers <joseph@codesourcery.com>
4286
adfbc8ac
JM
4287 [BZ #13942]
4288 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4289 (1 - x) * (1 + x).
4290 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4291 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4292 * math/libm-test.inc (acos_test): Add more tests.
4293 (asin_test): Likewise.
4294 * sysdeps/i386/fpu/libm-test-ulps: Update.
4295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4296
5ba3cc69
JM
4297 [BZ #14034]
4298 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4299 of square root.
4300 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4301 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4302 * math/libm-test.inc (acos_test_tonearest): New function.
4303 (acos_test_towardzero): Likewise.
4304 (acos_test_downward): Likewise.
4305 (acos_test_upward): Likewise.
4306 (asin_test_tonearest): Likewise.
4307 (asin_test_towardzero): Likewise.
4308 (asin_test_downward): Likewise.
4309 (asin_test_upward): Likewise.
4310 (main): Call the new functions.
4311 * sysdeps/i386/fpu/libm-test-ulps: Update.
4312 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4313
9568c0c2
JM
4314 [BZ #13884]
4315 [BZ #13924]
4316 * math/e_exp10.c: Include <float.h>.
4317 (__ieee754_exp10): Handle underflow here rather than multiplying
4318 large negative argument by M_LN10.
4319 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4320 of __ieee754_expf.
4321 * math/e_exp10l.c: Include <float.h>.
4322 (__ieee754_exp10l): Handle underflow here rather than multiplying
4323 large negative argument by M_LN10l.
4324 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4325 spurious overflow exception on underflow.
4326
5ac3ea17
MP
43272012-04-29 Marek Polacek <polacek@redhat.com>
4328
4329 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4330 (__fortify_function): New macro.
4331 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4332 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4333 __extern_always_inline.
4334 * libio/bits/stdio2.h: Likewise.
4335 * libio/bits/stdio.h: Likewise.
4336 * string/string.h: Likewise.
4337 * string/bits/string3.h: Likewise.
4338 * include/stdio.h: Likewise.
4339 * stdlib/bits/stdlib.h: Likewise.
4340 * stdlib/stdlib.h: Likewise.
4341 * rt/bits/mqueue2.h: Likewise.
4342 * rt/mqueue.h: Likewise.
4343 * posix/bits/unistd.h: Likewise.
4344 * posix/unistd.h: Likewise.
4345 * io/bits/poll2.h: Likewise.
4346 * io/bits/fcntl2.h: Likewise.
4347 * io/fcntl.h: Likewise.
4348 * io/sys/poll.h: Likewise.
4349 * misc/bits/syslog.h: Likewise.
4350 * misc/bits/syslog-ldbl.h: Likewise.
4351 * misc/sys/syslog.h: Likewise.
4352 * socket/bits/socket2.h: Likewise.
4353 * socket/sys/socket.h: Likewise.
4354 * debug/tst-chk1.c: Likewise.
4355 * wcsmbs/bits/wchar2.h: Likewise.
4356 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4357 * wcsmbs/wchar.h: Likewise.
4358
ecf0ebfb
AJ
43592012-04-29 Andreas Jaeger <aj@suse.de>
4360
4361 * Makerules (tests): Remove enable-check-abi protection.
4362 (check-abi-warn): Remove.
4363 (check-abi-%): Remove check-abi-warn usage.
4364
4365 * configure.in: Remove check-abi configure option.
4366 * configure: Regenerated.
4367 * config.make.in (enable-check-abi): Remove.
4368
6d5c57fa
AS
43692012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4370
24c5d07e 4371 [BZ #14033]
ded5180a
AS
4372 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4373 double functions to double *_finite functions.
4374
7e0d315d
AS
4375 [BZ #13941]
4376 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4377 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4378 LDBL_MIN_EXP.
4379 * stdio-common/Makefile (tests): Add tst-sprintf3.
4380 * stdio-common/tst-sprintf3.c: New file.
4381
6d5c57fa
AS
4382 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4383 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4384
0749ff8b
JM
43852012-04-28 Joseph Myers <joseph@codesourcery.com>
4386
4387 * conform/conformtest.pl: Remove duplicate typed-constant
4388 handling.
4389
8dbd5d7b
DM
43902012-04-28 David S. Miller <davem@davemloft.net>
4391
4392 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4393 (check-abi-%): Remove AWK script prerequisite and explicit
4394 abilist directory.
4395 (check-abi): Rewrite to just diff the symlist with the abilist.
4396 (config-tls, config-abi-config): Delete, no longer used.
4397 (update-abi-%): Remove AWK script and explicit abilist directory.
4398 (update-abi): Rewrite to simply compare and conditionally copy the
4399 symlist and the sysdep abilist file. Remove update-abi-config
4400 checks.
4401 * abilist/ld.abilist: Remove.
4402 * abilist/libBrokenLocale.abilist: Remove.
4403 * abilist/libanl.abilist: Remove.
4404 * abilist/libcrypt.abilist: Remove.
4405 * abilist/libdl.abilist: Remove.
4406 * abilist/librt.abilist: Remove.
4407 * abilist/libthread_db.abilist: Remove.
4408 * abilist/libutil.abilist: Remove.
4409 * scripts/extract-abilist.awk: Remove.
4410 * scripts/merge-abilist.awk: Remove.
4411 * sysdeps/generic/libcidn.abilist: New file.
4412 * sysdeps/generic/libnss_compat.abilist: New file.
4413 * sysdeps/generic/libnss_db.abilist: New file.
4414 * sysdeps/generic/libnss_dns.abilist: New file.
4415 * sysdeps/generic/libnss_files.abilist: New file.
4416 * sysdeps/generic/libnss_hesiod.abilist: New file.
4417 * sysdeps/generic/libnss_nis.abilist: New file.
4418 * sysdeps/generic/libnss_nisplus.abilist: New file.
4419 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4420 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4421 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4422 file.
4423 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4424 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4425 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4426 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4427 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4428 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4429 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4430 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4431 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4432 file.
4433 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4434 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4435 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4436 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4437 file.
4438 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4439 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4440 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4441 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4442 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4443 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4444 file.
4445 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4446 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4447 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4448 file.
4449 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4451 New file.
4452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4453 New file.
4454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4455 New file.
4456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4457 New file.
4458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4459 New file.
4460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4461 New file.
4462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4463 New file.
4464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4465 New file.
4466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4467 New file.
4468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4469 New file.
4470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4471 New file.
4472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4473 New file.
4474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4475 New file.
4476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4477 file.
4478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4479 New file.
4480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4481 New file.
4482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4483 file.
4484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4485 New file.
4486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4487 New file.
4488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4489 file.
4490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4491 New file.
4492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4493 New file.
4494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4495 New file.
4496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4497 New file.
4498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4499 New file.
4500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4501 New file.
4502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4504 file.
4505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4506 New file.
4507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4508 file.
4509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4510 file.
4511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4512 file.
4513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4514 file.
4515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4516 file.
4517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4518 New file.
4519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4520 file.
4521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4522 file.
4523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4524 New file.
4525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4526 file.
4527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4529 file.
4530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4531 New file.
4532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4533 file.
4534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4535 file.
4536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4537 file.
4538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4539 file.
4540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4541 file.
4542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4543 New file.
4544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4545 file.
4546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4547 file.
4548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4549 New file.
4550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4551 file.
4552 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4553 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4554 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4555 file.
4556 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4557 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4558 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4559 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4560 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4561 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4562 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4563 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4564 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4565 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4568 file.
4569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4570 New file.
4571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4572 file.
4573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4574 file.
4575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4576 file.
4577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4578 file.
4579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4580 file.
4581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4582 New file.
4583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4584 New file.
4585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4586 file.
4587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4588 New file.
4589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4590 file.
4591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4593 file.
4594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4595 New file.
4596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4597 file.
4598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4599 file.
4600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4601 file.
4602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4603 file.
4604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4605 file.
4606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4607 New file.
4608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4609 New file.
4610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4611 file.
4612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4613 New file.
4614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4615 file.
4616
41d73a1b
JM
46172012-04-28 Joseph Myers <joseph@codesourcery.com>
4618
4619 * conform/conformtest.pl: Fix typo in handling typed-constant from
4620 allow-header.
4621
28aeeda4
JM
46222012-04-27 Joseph Myers <joseph@codesourcery.com>
4623
adae8f5e
JM
4624 * README: Cut down references to pre-2.6 Linux kernels and
4625 Linuxthreads. Update lists of configurations in libc and ports
4626 and sort alphabetically. Say "or newer" with Linux kernel version
4627 requirements.
4628
28aeeda4
JM
4629 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4630
a462cb63
RA
46312012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4632
4633 [BZ #887]
4634 * math/libm-test.inc (logb_test_downward): New test to expose
4635 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4636 rounding mode.
4637
6ad3493e
JM
46382012-04-27 Joseph Myers <joseph@codesourcery.com>
4639
4640 [BZ #14027]
4641 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4642 to be done.
4643 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4644 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4645
2ce4f015
JM
46462012-04-26 Joseph Myers <joseph@codesourcery.com>
4647
5aeb141a
JM
4648 * sysdeps/unix/i386/brk.S: Remove file.
4649 * sysdeps/unix/i386/dl-brk.S: Likewise.
4650 * sysdeps/unix/i386/pipe.S: Likewise.
4651 * sysdeps/unix/i386/sigreturn.S: Likewise.
4652 * sysdeps/unix/i386/syscall.S: Likewise.
4653 * sysdeps/unix/i386/vfork.S: Likewise.
4654 * sysdeps/unix/i386/wait.S: Likewise.
4655
7143acae
JM
4656 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4657 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4658
2ce4f015
JM
4659 * configure.in (arm*-none*): Do not allow without
4660 --enable-hacker-mode.
4661 (netbsd*): Remove case setting base_os.
4662 (386bsd*): Likewise.
4663 (freebsd*): Likewise.
4664 (bsdi*): Likewise.
4665 (osf*): Likewise.
4666 (sunos*): Likewise.
4667 (ultrix*): Likewise.
4668 (newsos*): Likewise.
4669 (dynix*): Likewise.
4670 (*bsd*): Likewise.
4671 (sysv*): Likewise.
4672 (isc*): Likewise.
4673 (esix*): Likewise.
4674 (sco*): Likewise.
4675 (minix*): Likewise.
4676 (irix4*): Likewise.
4677 (irix6*): Likewise.
4678 (solaris[2-9]*): Likewise.
4679 (none): Likewise.
4680 * configure: Regenerated.
4681
0ac229c8
AZ
46822012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4683
4684 [BZ #11521]
4685 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4686 overflow or cancellation in calculating denominator.
4687 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4688 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4689 down expression to avoid unexpected rounding in newer GCCs.
4690 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4691
33f244f4
DM
46922012-04-26 David S. Miller <davem@davemloft.net>
4693
4694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4695 long-double compat symbols.
4696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4709
cfa1f3e8
DM
47102012-04-25 David S. Miller <davem@davemloft.net>
4711
4712 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4713 HWCAP_* values only after the memory barriers have been defined.
4714 (atomic_full_barrier): Define.
4715 (atomic_read_barrier): Define.
4716 (atomic_write_barrier): Define.
4717
6e236b92
SP
47182012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4719
4720 * shlib-versions: Add libgcc_s version information.
4721 * sysdeps/generic/libgcc_s.h: Remove.
4722 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4723 libgcc_s.h.
4724 * sysdeps/gnu/unwind-resume.c: Likewise.
4725 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4726
aab39a09
DM
47272012-04-25 David S. Miller <davem@davemloft.net>
4728
4729 * sysdeps/unix/sparc/brk.S: Delete.
4730 * sysdeps/unix/sparc/dl-brk.S: Delete.
4731 * sysdeps/unix/sparc/pipe.S: Delete.
4732 * sysdeps/unix/sparc/sysdep.S: Delete.
4733 * sysdeps/unix/sparc/sysdep.h: Delete.
4734 * sysdeps/unix/sparc/vfork.S: Delete.
4735 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4736 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4737 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4738 ret_ERRVAL, r0, r1, MOVE): Define.
4739 (JUMPTARGET): Remove.
4740 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4741 sysdeps/unix/sparc/sysdep.h
4742 (ENTRY, END): Remove.
4743 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4744
a3cc4f48
JM
47452012-04-25 Joseph Myers <joseph@codesourcery.com>
4746
2ed8cda2
JM
4747 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4748 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4749 -DIS_IN_build.
4750
35d76d59
JM
4751 * timezone/README: Update upstream location and email address for
4752 tzcode and tzdata.
4753 * timezone/zdump.c: Update from tzcode 2012b.
4754 * timezone/zic.c: Likewise.
4755
a3cc4f48
JM
4756 * configure.in (libc_cv_as_needed): Remove test.
4757 * configure: Regenerated.
4758 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4759 conditional definition.
4760 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4761 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4762 * config.make.in (have-as-needed): Remove variable.
4763
ceab42c3
SP
47642012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4765 Paul Pluzhnikov <ppluzhnikov@google.com>
4766
4767 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4768 strings correctly.
4769
3ce2865f
CLT
47702012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4771
4772 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4773 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4774 * sysdeps/sh/strlen.S: Likewise.
4775
f37e0d68
JM
47762012-04-24 Joseph Myers <joseph@codesourcery.com>
4777
ae186e9a
JM
4778 * sysdeps/unix/fork.S: Remove file.
4779 * sysdeps/unix/i386/fork.S: Likewise.
4780 * sysdeps/unix/sparc/fork.S: Likewise.
4781
b96914af
JM
4782 * sysdeps/unix/system.c: Remove file.
4783 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4784
f37e0d68
JM
4785 * sysdeps/unix/getegid.S: Remove file.
4786 * sysdeps/unix/geteuid.S: Likewise.
4787
87ef29ca
RM
47882012-04-24 Roland McGrath <roland@hack.frob.com>
4789
83bcd236
RM
4790 * scripts/check-localplt.awk: New file.
4791 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4792 of diff.
4793 * scripts/data/localplt-generic.data: Add a comment.
4794
87ef29ca
RM
4795 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4796 NODE when __dir_mkfile failed.
4797 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4798 Reported by Ludovic Courtès <ludo@gnu.org>.
4799
e5a6e567
AJ
48002012-04-24 Andreas Jaeger <aj@suse.de>
4801
4802 * Makerules (common-clean): Also remove gen-as-const-headers
4803 files.
4804
c1820385
JM
48052012-04-24 Joseph Myers <joseph@codesourcery.com>
4806
4807 * Makerules (native-compile): Do not change working directory for
4808 build. Use $(OUTPUT_OPTION) in command.
4809 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4810
94e02fc4
AZ
48112012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4812
4813 [BZ #13886]
4814 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4815 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4816 * math/libm-test.inc (floor_test): Add more tests.
4817 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4818
3a533ca3
JM
48192012-04-24 Joseph Myers <joseph@codesourcery.com>
4820
940ab4b3
JM
4821 * sysdeps/unix/getdents.c: Remove file.
4822 * sysdeps/unix/sysv/getdents.c: Likewise.
4823 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4824
90e037bd
JM
4825 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4826 sysdeps/unix/mman/syscalls.list.
4827 (mmap): Likewise.
4828 (mprotect): Likewise.
4829 (msync): Likewise.
4830 (munmap): Likewise.
4831 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4832 * sysdeps/unix/mman/syscalls.list: Remove.
4833 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4834
3a533ca3
JM
4835 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4836 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4837 * configure: Regenerated.
4838 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4839 $(libgcc_s_suffix).
4840 * config.make.in (libgcc_s_suffix): Remove variable.
4841
1ad743de
JM
48422012-04-23 Joseph Myers <joseph@codesourcery.com>
4843
4ad451e2
JM
4844 * sysdeps/unix/sysv/gethostname.c: Move to ...
4845 * sysdeps/posix/gethostname.c: ... here.
4846
5e37ce39
JM
4847 * sysdeps/unix/execve.S: Remove file.
4848
1ad743de
JM
4849 * sysdeps/unix/_exit.S: Remove file.
4850
4e681b5b
AJ
48512012-04-23 Andreas Jaeger <aj@suse.de>
4852
4853 [BZ #13739]
4854 * manual/Makefile: Remove make dist support, there's no
4855 need for a stand-alone documentation tar ball.
4856 (TEXI2DVI): Define always, it's not in Makeconfig.
4857 (dist): Removed.
4858 (tar-it): Removed.
4859 (edition): Removed.
4860 (glibc-doc-$(edition).tar): Removed
4861 (%.Z): Removed.
4862 (%.gz): Removed.
4863 (%.uu): Removed.
4864 (ETAGS): Remove, it's in Makeconfig.
4865 (move-if-change): Remove, it's in Makeconfig.
4866
c0baea34
PE
48672013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4868
4869 [BZ #13970]
4870 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4871 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4872 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4873 (strtod_l, strtof_l, strtold_l): Remove __wur.
4874 It is not necessarily an error to ignore strtol's return value.
4875 One can reliably look at the stored endptr to decide whether
4876 the number had valid syntax.
4877
7c0616fa
AJ
48782012-04-21 Andreas Jaeger <aj@suse.de>
4879
803cb6b7 4880 [BZ #13739]
7c0616fa
AJ
4881 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4882
b0fe253f
JM
48832012-04-21 Joseph Myers <joseph@codesourcery.com>
4884
4885 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4886 * sysdeps/unix/sysv/Versions: Remove file.
4887
8280f22d
MT
48882012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4889
4890 [BZ #13927]
4891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4892
75ce411f 48932012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4894
4895 [BZ #7064]
4896 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4897 version from __vm86.
4898
097d59fa
JM
48992012-04-20 Joseph Myers <joseph@codesourcery.com>
4900
a90f3bcb
JM
4901 * sysdeps/unix/common/lxstat.c: Remove file.
4902 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4903
edc7ea78
JM
4904 * sysdeps/unix/sysv/Makefile: Remove file.
4905
cb78c221
JM
4906 * sysdeps/unix/sysv/direct.h: Remove file.
4907
efa6a45f
JM
4908 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4909 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4910 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4911 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4912 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4913 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4914 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4915
9c9f2d0c
JM
4916 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4917
4541c83b
JM
4918 * sysdeps/unix/xmknod.c: Remove file.
4919 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4920
f5d153a0
JM
4921 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4922
aa746595
JM
4923 * sysdeps/unix/sysv/i386/time.S: Remove file.
4924
cce5905e
JM
4925 * sysdeps/unix/fxstat.c: Remove file.
4926 * sysdeps/unix/xstat.c: Likewise.
4927 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4928
37fa3841
JM
4929 * sysdeps/unix/sysv/sigaction.c: Remove file.
4930
ff1962a3
JM
4931 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4932 (sysdep_headers): Remove variable.
4933 [termio.h not in sysdep_headers] (generated): Likewise.
4934 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4935 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4936 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4937 * sysdeps/unix/sysv/tcflow.c: Likewise.
4938 * sysdeps/unix/sysv/tcflush.c: Likewise.
4939 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4940 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4941 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4942 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4943 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4944
e7740d31
JM
4945 * sysdeps/unix/siglist.c: Remove file.
4946
ee06f18b
JM
4947 * sysdeps/unix/getppid.S: Remove file.
4948
097d59fa
JM
4949 * sysdeps/unix/mkdir.c: Remove file.
4950 * sysdeps/unix/rmdir.c: Likewise.
4951
ff3d51ec
AS
49522012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4953
4954 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4955 ERR_MAX value.
4956 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4957 errlist-compat value.
4958
50f81fd7
DM
49592012-04-18 David S. Miller <davem@davemloft.net>
4960
4961 * sysdeps/generic/memcopy.h (reg_char): Delete.
4962 * debug/strcat_chk.c: Use char, not reg_char.
4963 * debug/strcpy_chk.c: Likewise.
4964 * debug/strncat_chk.c: Likewise.
4965 * debug/strncpy_chk.c: Likewise.
4966 * string/memchr.c: Likewise.
4967 * string/memrchr.c: Likewise.
4968 * string/rawmemchr.c: Likewise.
4969 * string/strcat.c: Likewise.
4970 * string/strchr.c: Likewise.
4971 * string/strchrnul.c: Likewise.
4972 * string/strcmp.c: Likewise.
4973 * string/strcpy.c: Likewise.
4974 * string/strncat.c: Likewise.
4975 * string/strncmp.c: Likewise.
4976 * string/strncpy.c: Likewise.
4977
8ff41c46
WS
49782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4979
4980 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4981 __builtin_memcopy is called when src and dest ranges are known to not
4982 overlap.
4983
6b652f46
WS
49842012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4985
4986 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4987 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4988 fwd_align_merge macro call.
4989 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4990 bwd_align_merge macro call.
4991 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4992
b282631e
WS
49932012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4994
4995 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4996 bwd_align_merge macros.
4997 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4998 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4999 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5000
95aa737c
DM
50012012-04-18 David S. Miller <davem@davemloft.net>
5002
5003 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5004
7a99a614
AJ
50052012-04-18 Andreas Jaeger <aj@suse.de>
5006
5007 [BZ# 6794]
5008 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5009 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5010 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5011
5012 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5013 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5014 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5015
5016 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5017 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5018 Adjust for changed ldbl-128 files.
5019
5020 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5021 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5022 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5023
e5270c23
DM
50242012-04-17 David S. Miller <davem@davemloft.net>
5025
5026 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5027
fb5e92c9
AS
50282012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5029
5030 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5031 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5032 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5033 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5034 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5035 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5036
76da7265
AZ
50372012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5038
5039 [BZ #6794]
5040 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5041 * math/libm-test.inc: Add ilogb errno and exception tests.
5042 * math/w_ilogb.c: New file: ilogb wrapper.
5043 * math/w_ilogbf.c: New file: ilogbf wrapper.
5044 * math/w_ilogbl.c: New file: ilogbl wrapper.
5045 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5046 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5047 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5048 exception being thrown with 0.0 as argument.
5049 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5050 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5051 exception being thrown with 0.0 as argument.
5052 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5053 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5054 exception being thrown with 0.0 as argument.
5055 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5056 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5057 exception being thrown with 0.0 as argument.
5058 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5059 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5060 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5061 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5062 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5063 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5064 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5065 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5066 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5067
0396e69d
PB
50682012-04-17 Petr Baudis <pasky@ucw.cz>
5069
5070 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5071 with altivec.
5072
750b5926
MP
50732012-04-16 Marek Polacek <polacek@redhat.com>
5074
5075 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5076
751728a1
MP
50772012-04-16 Marek Polacek <polacek@redhat.com>
5078
5079 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5080 operands of fdivp instruction.
5081
34a27407
L
50822012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5083
5084 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5085 * elf/tst-auditmod3b.c: Likewise.
5086 * elf/tst-auditmod4b.c: Likewise.
5087 * elf/tst-auditmod5b.c: Likewise.
5088 * elf/tst-auditmod6b.c: Likewise.
5089 * elf/tst-auditmod6c.c: Likewise.
5090 * elf/tst-auditmod7b.c: Likewise.
5091 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5092 * sysdeps/x86_64/preconfigure.in: Likewise.
5093 * sysdeps/x86_64/preconfigure: Regenerated.
5094
7e73e17d
L
50952012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5096
5097 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5098 __ILP32__.
5099
c7a6ab72
AB
51002012-04-13 Antoine Balestrat <merkil33@gmail.com>
5101
5102 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5103 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5104
a9e8e0e0
CL
51052012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5106
5107 [BZ #13973]
5108 * locale/iso-639.def: Fix gl language name. Spotted by
5109 Yaron Shahrabani.
5110
ec98af7d
RM
51112012-04-12 Roland McGrath <roland@hack.frob.com>
5112
5113 [BZ #2074]
5114 * libio/libio.h (__io_write_fn): Update comment.
5115
247c3ede
PB
51162012-04-12 Petr Baudis <pasky@ucw.cz>
5117
5118 [BZ #2074]
5119 * stdio.texi (Hook Functions): The user provided writer function
5120 is not allowed to return -1.
5121
55939d6d
DM
51222012-04-11 David S. Miller <davem@davemloft.net>
5123
5124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5125
90020f5a
MF
51262012-04-11 Mike Frysinger <vapier@gentoo.org>
5127
5128 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5129 Add a leading slash to rtkaio.
5130
288f9098
JM
51312012-04-11 Jim Meyering <meyering@redhat.com>
5132
90020f5a
MF
5133 [BZ #11959]
5134 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5135 It is not necessarily an error to ignore fwrite's return
5136 value. One can reliably use ferror to test for errors after
5137 the fact.
288f9098 5138
4be2b570
L
51392012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5140
5141 * bits/types.h (__snseconds_t): New type.
5142 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5143
5144 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5145 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5146 (__SNSECONDS_T_TYPE): Likewise.
5147 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5148 (__SNSECONDS_T_TYPE): Likewise.
5149 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5150 (__SNSECONDS_T_TYPE): Likewise.
5151
288f9098 51522012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5153
5154 [BZ #2636]
5155 * manual/time.texi (Processor Time): Return type of times is
5156 elapsed real time since an arbitrary point in the past.
5157 (CPU Time): Move CLK_TCK from here...
5158 (Processor Time): ...to here. Correct description.
5159 * manual/conf.texi (Constants for Sysconf): Correct description of
5160 _SC_CLK_TCK.
5161
d7dd4413
DM
51622012-04-10 David S. Miller <davem@davemloft.net>
5163
5164 [BZ #13967]
5165 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5166 where the is a gap between DT_REL(A) and DT_JMPREL.
5167
b46068fc
L
51682012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5169
5170 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5171 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5172 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5173
73d65cc3
SP
51742012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5175
5176 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5177 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5178 (dl_main): Handle --inhibit-cache.
5179 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5180 _dl_inhibit_cache.
5181 * elf/dl-load.c (_dl_map_object): Use it.
5182 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5183
bcc8d661
JM
51842012-04-09 Joseph Myers <joseph@codesourcery.com>
5185
8f9a2fae
JM
5186 [BZ #13872]
5187 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5188 (__ieee754_powl): Saturate large exponents rather than testing for
5189 overflow of y*log2(x).
5190 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5191 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5192 exceptions.
5193
bcc8d661
JM
5194 [BZ #11521]
5195 * math/s_ctan.c: Include <float.h>.
5196 (__ctan): Avoid internal overflow or cancellation in calculating
5197 denominator.
5198 * math/s_ctanf.c: Likewise.
5199 * math/s_ctanl.c: Likewise.
5200 * math/s_ctanh.c: Likewise.
5201 * math/s_ctanhf.c: Likewise.
5202 * math/s_ctanhl.c: Likewise.
5203 * math/libm-test.inc (ctan_test): Add more tests.
5204 (ctanh_test): Likewise.
5205 * sysdeps/i386/fpu/libm-test-ulps: Update.
5206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5207
823fbbb4
AJ
52082012-04-09 Andreas Jaeger <aj@suse.de>
5209
03879793
AJ
5210 [BZ #6894]
5211 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5212 is an optional BSD extension.
5213
823fbbb4
AJ
5214 [BZ #10254]
5215 * manual/stdio.texi (Opening Streams): Document additional fopen
5216 parameters.
5217
8de131cb
RM
52182012-04-09 Roland McGrath <roland@hack.frob.com>
5219
5220 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5221 %eax without telling the compiler.
5222
c0ed9d7d
CD
52232012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5224
5225 [BZ # 13963]
5226 * manual/install.texi: Use sourceware.org.
5227
c483f6b4
JM
52282012-04-09 Joseph Myers <joseph@codesourcery.com>
5229
d7dd9453
JM
5230 [BZ #13873]
5231 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5232 (__ieee754_pow): Generate overflow and underflow using huge*huge
5233 and tiny*tiny rather than just returning constant infinity or zero
5234 for large exponents.
5235 * math/libm-test.inc (pow_test): Require overflow exceptions for
5236 applicable cases of large exponents.
5237
c483f6b4
JM
5238 [BZ #706]
5239 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5240 (__ieee754_pow): Use iterative multiplication algorithm only for
5241 integer exponents with absolute value below 1024. Check for odd
5242 integer exponents when using algorithm for real exponents.
5243 * math/libm-test.inc (pow_test): Add more tests.
5244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5245
d2de7579
JM
52462012-04-08 Joseph Myers <joseph@codesourcery.com>
5247
5248 [BZ #13705]
5249 * math/libm-test.inc (exp_test): Do not allow overflow exception
5250 on underflow test.
5251
f77f1232
AJ
52522012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5253
5254 [BZ #13705]
5255 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5256 instead of __kernel_standard_f.
5257
3884932b
MF
52582012-04-08 Mike Frysinger <vapier@gentoo.org>
5259
5260 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5261 * sysdeps/x86_64/memset_chk.S: Likewise.
5262
54472e9c
AJ
52632012-04-08 Andreas Jaeger <aj@suse.de>
5264
6ab0fbfc
AJ
5265 [BZ #10153]
5266 * manual/startup.texi (Environment Access): Describe return value
5267 for putenv and setenv.
5268
61efba8c
AJ
5269 [BZ #6895]
5270 * manual/filesys.texi (Directory Entries): Add description for
5271 DT_LNK.
5272
95c3f29a
AJ
5273 [BZ #6890]
5274 * manual/filesys.texi (Directory Entries): Clarify that it's file
5275 system not operating system in the description of DT_UNKNOWN.
5276
54472e9c
AJ
5277 [BZ #6578]
5278 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5279
624254b1
SC
52802012-04-08 Stephen Compall <s11@member.fsf.org>
5281
5282 [BZ #6649]
5283 * manual/llio.texi (Opening and Closing Files): Add cross
5284 reference to explain mode argument.
5285
1e4920e0
MF
52862012-04-07 Mike Frysinger <vapier@gentoo.org>
5287
5288 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5289 * sysdeps/x86_64/memset_chk.S: Likewise.
5290
5ed848f3
DM
52912012-04-07 David S. Miller <davem@davemloft.net>
5292
5293 * elf/elf.h (R_SPARC_WDISP10): Define.
5294 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5295 R_SPARC_SIZE32.
5296 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5297 R_SPARC_SIZE64 and R_SPARC_H34.
5298
96154cd8
CD
52992012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5300
5301 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5302 conditions and remove no longer applicable assertion.
5303
9904dc47
L
53042012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5305
5306 * bits/byteswap.h: Include <features.h>.
5307 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5308 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5309
f8887d0a
L
53102012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5311
5312 * bits/byteswap.h (__bswap_16): Removed.
5313 Include <bits/byteswap-16.h> to get __bswap_16.
5314 * sysdeps/i386/bits/byteswap.h: Likewise.
5315 * sysdeps/s390/bits/byteswap.h: Likewise.
5316 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5317 * bits/byteswap-16.h: New file.
5318 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5319 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5320 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5321 * string/Makefile (headers): Add bits/byteswap-16.h.
5322
62470f60
PP
53232012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5324
5325 [BZ #13895]
5326 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5327 extra indirection.
5328 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5329 * nss/tst-nss-static.c: New.
5330
4dad7bab
RM
53312012-04-06 Robert Millan <rmh@gnu.org>
5332
5333 [BZ #6486]
5334 * manual/llio.texi (File Position Primitive): lseek
5335 refers to WHENCE when it really means OFFSET.
5336
e9142a17
AJ
53372012-04-06 Andreas Jaeger <aj@suse.de>
5338
2c040eff
AJ
5339 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5340 strncmp declarations.
5341
e9142a17
AJ
5342 * abilist/libc.abilist: Add __poll and __ppoll.
5343
ff9f1c5f
DM
53442012-04-05 David S. Miller <davem@davemloft.net>
5345
dcd2ae90
DM
5346 * scripts/check-local-headers.sh: Accept a host triplet in the
5347 path matched by the exclude regexp.
5348
993eb054
DM
5349 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5350 definition.
5351 * sysdeps/powerpc/powerpc32/dl-machine.h
5352 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5353 * sysdeps/s390/s390-32/dl-machine.h
5354 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5355 * sysdeps/sparc/sparc32/dl-machine.h
5356 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5357 * sysdeps/sparc/sparc64/dl-machine.h
5358 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5359
ff9f1c5f
DM
5360 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5361 lazy binding.
48e2e132 5362 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5363 undefined symbol errors.
5364
48e2e132 5365 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5366 DT_NEEDED entries.
5367
e80d6f94
MM
53682012-04-05 Michael Matz <matz@suse.de>
5369
5370 [BZ #13592]
5371 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5372
349fa79f
AJ
53732012-04-05 Andreas Jaeger <aj@suse.de>
5374
5375 [BZ #13908]
5376 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5377 comment.
5378
f402708f
KK
53792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5380
5381 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5382 which ROUND is no valid rounding mode.
5383
2ecccfc9
KK
53842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5385
5386 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5387 read again.
5388 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5389
8a53f50f
KK
53902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5391
5392 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5393 an exception using FPU order intentionally.
5394
53952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5396
5397 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5398 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5399 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5400 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5401
d653abb7
SJ
54022012-04-05 Simon Josefsson <simon@josefsson.org>
5403
5404 [BZ #12340]
5405 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5406 EINVAL when BUFLEN is too smal.
5407
c3b1bf7d
TS
54082012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5409
5410 [BZ #13553]
5411 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5412 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5413
b1aa60f3
AJ
54142012-04-03 Andreas Jaeger <aj@suse.de>
5415
c3b1bf7d 5416 [BZ #13938]
67f60a26
AJ
5417 * manual/setjmp.texi (System V contexts): Fix sentence.
5418
b1aa60f3
AJ
5419 [BZ #13926]
5420 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5421 New macro for this case.
5422 [!__GNUC__] (__bswap_64): New inline function for this case.
5423 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5424 * bits/byteswap.h: Likewise.
5425 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5426 ull, guard with __GLIBC_HAVE_LONG_LONG.
5427
5428 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5429 __GLIBC_HAVE_LONG_LONG.
5430
5431 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5432 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5433
39c59c35
TMQMF
54342012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5435
5436 [BZ #13691]
5437 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5438 inptr and inend, rather than using last_ch.
5439
135ffda8
DM
54402012-04-02 David S. Miller <davem@davemloft.net>
5441
5442 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5443 * stdio-common/printf-parse.h (read_int): Change return type to
5444 'int', return -1 on INT_MAX overflow.
5445 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5446 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5447 overflows INT_MAX. Check for overflow of in-format-string precision
5448 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5449 SIZE_MAX not INT_MAX for integer overflow test.
5450 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5451 skip the construct in the format string but do not record anything.
5452 * stdio-common/bug22.c: Adjust to test both width/prevision
5453 INT_MAX overflow as well as total length INT_MAX overflow. Check
5454 explicitly for proper errno values.
5455
228c019e
TS
54562012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5457
302cadd3
TS
5458 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5459 CHAR_MAX.
5460 * string/test-strcmp.c [! WIDE]: Likewise.
5461 * time/tst-mktime2.c: Likewise for INT_MAX.
5462 * string/test-string.h: #include <sys/param.h> for MIN.
5463
228c019e
TS
5464 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5465 * sysdeps/i386/init-first.c (init): Likewise.
5466 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5467 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5468 * sysdeps/sh/init-first.c (init): Likewise.
5469
cfa633f5
UD
54702012-04-01 Ulrich Drepper <drepper@gmail.com>
5471
5472 * po/ru.po: Update from translation team.
d1635ef8 5473 * po/vi.po: Likewise.
cfa633f5 5474
6cd0a5ea
SP
54752012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5476
5477 * resolv/nss_dns/dns-host.c: Merge copyright years.
5478
4b43400f
LD
54792012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5480
5481 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5482 Optimize memcpy with prefetch if
5483 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5484 src, dst pointers have unequal 16 byte alignments.
5485
48c41d04
SP
54862012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5487
5488 [BZ #13928]
5489 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5490 from a CNAME entry and return the minimum ttl for the query.
5491 (gaih_getanswer_slice): Likewise.
5492
b8dc394d
JL
54932012-03-30 Jeff Law <law@redhat.com>
5494
5495 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5496 due to long keys.
5497 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5498 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5499
2f5a5ed0
JL
5500 * resolv/nss_dns/dns-host.c: Update copyright year.
5501
1d39e359
UD
55022012-03-30 Ulrich Drepper <drepper@gmail.com>
5503
c030f70c 5504 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5505 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5506
1d39e359
UD
5507 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5508 comments for sendmmsg.
5509
55102012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5511
5512 [BZ #13691]
5513 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5514 with only 1 character between 0x0041 and 0x01b0.
5515 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5516 * wcsmbs/tst-mbsnrtowcs.c: New file.
5517
20fde227
DM
55182012-03-29 David S. Miller <davem@davemloft.net>
5519
5520 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5521 small copies by hand.
5522
984a4237
JL
55232012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5524
5525 [BZ #13761]
5526 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5527 _nss_compat_initgroups_dyn): Fall back to malloc/free
5528 for large group memberships.
5529
18c9d62b
DM
55302012-03-28 David S. Miller <davem@davemloft.net>
5531
88d85d4f
DM
5532 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5533 that branches into memcpy.
5534 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5535 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5536 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5537 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5538 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5539 bits.
5540 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5541 implementation too.
5542 * sysdeps/sparc/mempcpy.S: New file.
5543
e5aa83e1
DM
5544 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5545 the IFUNC routine in the libc case.
5546 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5547
88570753
DM
5548 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5549 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5550 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5551 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5552 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5553 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5554 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5555 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5556
249d7567
DM
5557 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5558 loop to 256 bytes instead of 64 bytes and fix test signedness.
5559
18c9d62b
DM
5560 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5561 * sysdeps/sparc/sparc32/Makefile: rather than here...
5562 * sysdeps/sparc/sparc64/Makefile: and here.
5563
05f3d1f6
UD
55642012-03-28 Ulrich Drepper <drepper@gmail.com>
5565
5566 * malloc/mallocbug.c: Avoid warnings about unused variables.
5567
86ae07a8
JL
55682012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5569
5570 [BZ #13760]
5571 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5572 in the right place. Discard and retry query if response is
5573 larger than input buffer size.
5574
41bf21a1
JM
55752012-03-28 Joseph Myers <joseph@codesourcery.com>
5576
d6270972
JM
5577 [BZ #369]
5578 [BZ #2678]
5579 [BZ #3866]
5580 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5581 x for large integer exponent.
5582 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5583 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5584 sign of result as needed afterwards.
5585 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5586 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5587 result for underflowing pow the same as for overflow.
5588 (__kernel_standard_l): Handle powl overflow and underflow here
5589 rather than calling __kernel_standard.
5590 * math/libm-test.inc (pow_test): Add more tests.
5591
414fca03 5592 [BZ #3868]
41bf21a1
JM
5593 [BZ #13879]
5594 [BZ #13910]
5595 [BZ #13911]
5596 [BZ #13912]
5597 [BZ #13913]
5598 [BZ #13915]
5599 [BZ #13916]
5600 [BZ #13917]
5601 [BZ #13918]
5602 [BZ #13919]
5603 [BZ #13920]
5604 [BZ #13921]
5605 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5606 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5607 (__kernel_standard_l): New function.
5608 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5609 __kernel_standard.
5610 * math/w_acosl.c (__acosl): Likewise.
5611 * math/w_asinl.c (__asinl): Likewise.
5612 * math/w_atan2l.c (__atan2l): Likewise.
5613 * math/w_atanhl.c (__atanhl): Likewise.
5614 * math/w_coshl.c (__coshl): Likewise.
5615 * math/w_exp10l.c (__exp10l): Likewise.
5616 * math/w_exp2l.c (__exp2l): Likewise.
5617 * math/w_fmodl.c (__fmodl): Likewise.
5618 * math/w_hypotl.c (__hypotl): Likewise.
5619 * math/w_j0l.c (__j0l, __y0l): Likewise.
5620 * math/w_j1l.c (__j1l, __y1l): Likewise.
5621 * math/w_jnl.c (__jnl, __ynl): Likewise.
5622 * math/w_lgammal.c (__lgammal): Likewise.
5623 * math/w_log10l.c (__log10l): Likewise.
5624 * math/w_log2l.c (__log2l): Likewise.
5625 * math/w_logl.c (__logl): Likewise.
5626 * math/w_powl.c (__powl): Likewise.
5627 * math/w_remainderl.c (__remainderl): Likewise.
5628 * math/w_scalbl.c (sysv_scalbl): Likewise.
5629 * math/w_sinhl.c (__sinhl): Likewise.
5630 * math/w_sqrtl.c (__sqrtl): Likewise.
5631 * math/w_tgammal.c (__tgammal): Likewise.
5632 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5633 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5634 * math/libm-test.inc (acos_test): Add more tests.
5635 (acosh_test): Likewise.
5636 (asin_test): Likewise.
5637 (atanh_test): Likewise.
5638 (exp_test): Likewise.
5639 (exp10_test): Likewise.
5640 (exp2_test): Likewise.
5641 (expm1_test): Likewise.
5642 (lgamma_test): Likewise.
5643 (log_test): Likewise.
5644 (log10_test): Likewise.
5645 (log1p_test): Likewise.
5646 (log2_test): Likewise.
5647 (pow_test): Do not allow some spurious overflow exceptions.
5648 (sqrt_test): Add more tests.
5649 (tgamma_test): Likewise.
5650 (y0_test): Likewise.
5651 (y1_test): Likewise.
5652 (yn_test): Likewise.
5653
dd62fda6
AB
56542012-03-27 Anton Blanchard <anton@samba.org>
5655
5656 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5657 MAP_HUGETLB.
5658 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5659 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5660 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5661
1e3cdfda
AJ
56622012-03-27 David S. Miller <davem@davemloft.net>
5663
b855ab85
DM
5664 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5665
1e3cdfda
AJ
5666 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5667 have-as-vis3 check.
5668
56692012-03-27 Andreas Jaeger <aj@suse.de>
5670
5671 * sysdeps/x86_64/elf/configure.in: Moved to ...
5672 * sysdeps/x86_64/configure.in: ... here.
5673 * sysdeps/x86_64/elf/start.S: Moved to ...
5674 * sysdeps/x86_64/start.S: ... here.
5675 * sysdeps/x86_64/elf/configure: Delete.
5676
5677 * sysdeps/x86_64/configure.in: Merge contents from
5678 sysdeps/i386/configure.in (without i686 check).
5679
5680 * sysdeps/i386/elf/Versions: Merge into ...
5681 * sysdeps/i386/Versions: ... this.
5682 * sysdeps/i386/elf/Versions: Delete file.
5683 * sysdeps/i386/elf/start.S: Moved to ...
5684 * sysdeps/i386/start.S: ...here.
5685 * sysdeps/i386/elf/configure.in: Merge into...
5686 * sysdeps/i386/configure.in: ...here.
5687 * sysdeps/i386/elf/configure.in: Delete file.
5688 * sysdeps/i386/elf/configure: Delete file.
5689
5690 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5691 * debug/backtracesyms.c: ... here.
5692 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5693 * debug/backtracesymsfd.c: ... here.
5694 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5695 * sysdeps/generic/ifunc-sel.h: ... here.
5696
5697 * sysdeps/unix/i386/start.c: Delete file.
5698 * sysdeps/unix/sparc/start.c: Delete file.
5699 * sysdeps/unix/start.c: Delete file.
5700
5701 * sysdeps/sh/elf/configure.in: Moved to ...
5702 * sysdeps/sh/configure.in: ... here.
5703 * sysdeps/sh/elf/start.S: Moved to ...
5704 * sysdeps/sh/start.S: ... here.
5705 * sysdeps/sh/elf/configure: Delete file.
5706
5707 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5708 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5709 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5710 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5711 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5712 * sysdeps/powerpc/powerpc64/start.S: here.
5713 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5714 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5715 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5716 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5717 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5718
5719 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5720 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5721 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5722 * sysdeps/powerpc/powerpc32/start.S: ... here.
5723 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5724 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5725 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5726
5727 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5728 * sysdeps/powerpc/ifunc-sel.h: ... here.
5729 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5730 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5731
5732 * sysdeps/sparc/elf/configure.in: Moved to ...
5733 * sysdeps/sparc/configure.in: ... here.
5734 * sysdeps/sparc/elf/configure: Delete file.
5735 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5736 * sysdeps/sparc/sparc32/start.S: ... here.
5737 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5738 * sysdeps/sparc/sparc64/start.S: ... here.
5739 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5740 * sysdeps/sparc/sparc32/Makefile: ... this.
5741 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5742 * sysdeps/sparc/sparc64/Makefile: ... this.
5743
5744 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5745 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5746 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5747 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5748 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5749 * sysdeps/s390/s390-32/setjmp.S: ... here.
5750 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5751 * sysdeps/s390/s390-32/configure.in: ... here.
5752 * sysdeps/s390/s390-32/elf/configure: Delete file.
5753 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5754 * sysdeps/s390/s390-32/start.S: ... here.
5755
5756 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5757 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5758 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5759 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5760 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5761 * sysdeps/s390/s390-64/setjmp.S: ... here.
5762 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5763 * sysdeps/s390/s390-64/configure.in: ... here
5764 * sysdeps/s390/s390-64/elf/configure: Delete file.
5765 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5766 * sysdeps/s390/s390-64/start.S: ... here.
5767 * sysdeps/s390/s390-64/elf/configure: Delete.
5768
5769 * configure.in: Remove support for elf directories in sysdeps.
5770
5771 * configure: Regenerated.
5772 * sysdeps/i386/configure: Regenerated.
5773 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5774 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5775 * sysdeps/s390/s390-32/configure: Regenerated.
5776 * sysdeps/s390/s390-64/configure: Regenerated.
5777 * sysdeps/sh/configure: Regenerated.
5778 * sysdeps/sparc/configure: Regenerated.
5779 * sysdeps/x86_64/configure: Regenerated.
5780
a3f61311
AS
57812012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5782
c876e002
AS
5783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5784
a3f61311
AS
5785 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5786 denormal result into account.
5787
ac4c54f0
RM
57882012-03-25 Roland McGrath <roland@hack.frob.com>
5789
5790 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5791 Reported by Allan McRae <allan@archlinux.org>.
5792
6a9b9c02
JL
57932012-03-23 Jeff Law <law@redhat.com>
5794
5795 * nss/getnssent.c (__nss_getent): Fix typo.
5796
4c42a0c1
DM
57972012-03-23 David S. Miller <davem@davemloft.net>
5798
5799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5800
1532c7ac
L
58012012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5802
5803 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5804 to pad to uint64_t for each field.
5805 (dl_tls_index): Replace unsigned long with uint64_t.
5806
3ff42526
PP
58072012-03-23 Daniel Jacobowitz <dmj@google.com>
5808 Paul Pluzhnikov <ppluzhnikov@google.com>
5809
5810 [BZ #6528]
5811 * grp/Makefile (otherlibs): Don't set it.
5812 * inet/Makefile (otherlibs): Likewise.
5813 * login/Makefile (otherlibs): Likewise.
5814 * nscd/Makefile (otherlibs): Likewise.
5815 * posix/Makefile (otherlibs): Likewise.
5816 * pwd/Makefile (otherlibs): Likewise.
5817 * rt/Makefile (otherlibs): Likewise.
5818 * sunrpc/Makefile (otherlibs): Likewise.
5819 * nss/Makefile (otherlibs): Likewise.
5820 Add libnss_files to routines and static-only-routines.
5821 ($(objpfx)getent): Remove rule.
5822 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5823 static-only-routines.
5824
7c69cd14
JM
58252012-03-22 Joseph Myers <joseph@codesourcery.com>
5826
5827 [BZ #13892]
5828 * math/s_cexp.c: Include <float.h>.
5829 (__cexp): Handle exp result overflowing not necessarily
5830 overflowing both real and imaginary parts of result.
5831 * math/s_cexpf.c: Likewise.
5832 * math/s_cexpl.c: Likewise.
5833 * math/libm-test.inc (cexp_test): Add more tests.
5834 * sysdeps/i386/fpu/libm-test-ulps: Update.
5835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5836
81b035fe
L
58372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5838
5839 * include/link.h (ELFW): New macro.
5840 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5841 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5842
1da7940c
L
58432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5844
5845 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5846 with uint64_t.
5847
b749dbb9
L
58482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5849
5850 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5851 declaration.
5852 (struct La_x32_retval): Likewise.
5853
2ff87f3f
L
58542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5855
5856 * sysdeps/x86_64/preconfigure.in: New file.
5857 * sysdeps/x86_64/preconfigure: New generated file.
5858
c0df8e69
JM
58592012-03-22 Joseph Myers <joseph@codesourcery.com>
5860
48e44791
JM
5861 [BZ #13824]
5862 * math/e_exp2l.c: Include <float.h>.
5863 (__ieee754_exp2l): Handle overflow and underflow cases
5864 separately. Only pass fractional part of argument to
5865 __ieee754_expl.
5866 * math/libm-test.inc (exp2_test): Add more tests.
5867
c0df8e69
JM
5868 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5869 negating x to take absolute value.
5870 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5871 Likewise.
5872 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5873 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5874 Likewise.
5875 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5876 computing low part if x was negated.
5877 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5878
c8e43ba7
L
58792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5880
5881 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5882 la_x32_gnu_pltexit.
5883 (pltexit): Cast int_retval to ptrdiff_t.
5884 * elf/tst-auditmod3b.c: Likewise.
5885 * elf/tst-auditmod4b.c: Likewise.
5886 * elf/tst-auditmod5b.c: Likewise.
5887 * elf/tst-auditmod6b.c: Likewise.
5888 * elf/tst-auditmod6c.c: Likewise.
5889 * elf/tst-auditmod7b.c: Likewise.
5890
5891 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5892 and x32_gnu_pltexit.
5893
5894 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5895 __ELF_NATIVE_CLASS.
5896 (La_x32_regs): New macro.
5897 (La_x32_retval): Likewise.
5898 (la_x32_gnu_pltenter): New function prototype.
5899 (la_x32_gnu_pltexit): Likewise.
5900
7998fa78
AS
59012012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5902
dcb33988
AS
5903 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5904 exponent.
5905
233fc563
AS
5906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5907
7998fa78
AS
5908 * configure.in (libc_cv_cc_nofma): Check for option to disable
5909 generation of FMA instructions.
5910 * configure: Regenerate.
5911 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5912 * sysdeps/ieee754/dbl-64/Makefile: New file.
5913 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5914 Remove brandred-fma4.
5915 (CFLAGS-brandred-fma4.c): Remove.
5916 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5917 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5918 define.
5919 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5920 define.
5921
8e95c99a
L
59222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5923
5924 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5925 LLONG_MAX != LONG_MAX.
5926 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5927 (_fitoa_word): Likewise.
5928 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5929 LLONG_MAX != LONG_MAX.
5930 * stdio-common/_itowa.h: Include <_itoa.h>.
5931 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5932 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5933 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5934 only if not defined.
5935 (_ITOA_WORD_TYPE): Likewise.
5936 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5937 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5938
6f4db457
DM
59392012-03-21 David S. Miller <davem@davemloft.net>
5940
5941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5942
7785fe5a
L
59432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5944
5945 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5946 of x86_64 when setting libc_cv_slibdir, libdir and
5947 libc_cv_localedir.
5948 * sysdeps/unix/sysv/linux/configure: Regenerated.
5949
4535cd55
JM
59502012-03-21 Joseph Myers <joseph@codesourcery.com>
5951
5952 * manual/lang.texi (Old Varargs): Remove section.
5953 (How Variadic): Update menu.
5954 (va_start): Do not mention varargs.h.
5955
17228132
TS
59562012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5957 Joseph Myers <joseph@codesourcery.com>
5958
5959 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5960 link test.
5961 * configure: Regenerated.
5962
8149f976
TS
59632012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5964
05f3d1f6
UD
5965 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5966 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5967 conformtest.pl
8149f976 5968
1a4ac776
JM
59692012-03-21 Joseph Myers <joseph@codesourcery.com>
5970
be22ce65
JM
5971 * NOTES: Remove.
5972 * Makefile (files-for-dist): Remove NOTES.
5973 (NOTES): Remove rule.
5974 * README: Don't refer to NOTES.
5975 * manual/creature.texi: Don't include macros.texi.
5976 * manual/intro.texi (creature.texi): Remove comment referring to
5977 NOTES.
5978
40b601fb
JM
5979 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5980 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5981 * configure: Regenerated.
5982 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5983 LIBC_TRY_CC_OPTION.
5984 (libc_cv_as_i686): Likewise.
5985 (libc_cv_cc_avx): Likewise.
5986 (libc_cv_cc_sse2avx): Likewise.
5987 (libc_cv_cc_fma4): Likewise.
5988 (libc_cv_cc_novzeroupper): Likewise.
5989 * sysdeps/i386/configure: Regenerated.
5990
1a4ac776
JM
5991 [BZ #13883]
5992 * sysdeps/i386/fpu/s_cexp.S: Remove.
5993 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5994 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5995 * math/libm-test.inc (cexp_test): Add more tests.
5996 * sysdeps/i386/fpu/libm-test-ulps: Update.
5997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5998
a458e7fe
AM
59992012-03-21 Allan McRae <allan@archlinux.org>
6000
6001 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6002
0cb7efc5
JM
60032012-03-21 Joseph Myers <joseph@codesourcery.com>
6004
6005 [BZ #13871]
6006 * math/w_exp2.c: Do not include <float.h>.
6007 (o_threshold, u_threshold): Remove.
6008 (__exp2): Calculate result before checking finiteness and calling
6009 __kernel_standard.
6010 * math/w_exp2f.c: Likewise.
6011 * math/w_exp2l.c: Likewise.
6012 * math/libm-test.inc (exp2_test): Require overflow exception for
6013 1e6 input.
2460d3aa
JM
6014
6015 [BZ #3866]
6016 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6017 range of signed 64-bit integers before using fistpll. Remove
6018 checks for whether integers fit in mantissa bits.
6019 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6020 the range of signed 32-bit integers before using fistpl. Remove
6021 checks for whether integers fit in mantissa bits.
6022 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6023 (__ieee754_powl): Test for y outside the range of signed 64-bit
6024 integers before using fistpll. Reduce 64-bit values to 63-bit
6025 ones as needed.
6026 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6027 divide-by-zero is raised for zero to large negative powers.
6028 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6029 (__ieee754_powl): Test for y outside the range of signed 64-bit
6030 integers before using fistpll. Reduce 64-bit values to 63-bit
6031 ones as needed.
6032 * math/libm-test.inc (pow_test): Add more tests.
6033
eb96ffb0
L
60342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6035
6036 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6037 <stdio-common/_itoa.h>.
6038 * debug/segfault.c: Likewise.
6039 * elf/dl-cache.c: Likewise.
6040 * elf/dl-minimal.c: Likewise.
6041 * elf/dl-misc.c: Likewise.
6042 * elf/dl-sysdep.c: Likewise.
6043 * elf/dl-version.c: Likewise.
6044 * elf/rtld.c: Likewise.
6045 * hurd/hurdsock.c: Likewise.
6046 * hurd/lookup-retry.c: Likewise.
6047 * malloc/malloc.c: Likewise.
6048 * malloc/mtrace.c: Likewise.
6049 * nscd/nscd_getgr_r.c: Likewise.
6050 * nscd/nscd_getpw_r.c: Likewise.
6051 * nscd/nscd_getserv_r.c: Likewise.
6052 * posix/getopt_init.c: Likewise.
6053 * posix/wordexp.c: Likewise.
6054 * stdio-common/_itoa.c: Likewise.
6055 * stdio-common/printf_fphex.c: Likewise.
6056 * stdio-common/vfprintf.c: Likewise.
6057 * string/_strerror.c: Likewise.
6058 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6059 * sysdeps/i386/i686/hp-timing.h: Likewise.
6060 * sysdeps/mach/_strerror.c: Likewise.
6061 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6062 * sysdeps/mach/hurd/sethostid.c: Likewise.
6063 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6064 * sysdeps/mach/xpg-strerror.c: Likewise.
6065 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6066 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6067 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6068 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6069 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6070 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6071 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6072 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6073 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6074 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6075 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6076 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6077 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6078 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6079 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6080 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6081 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6082 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6083 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6084 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6085 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6086
6087 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6088
6089 * stdio-common/_itoa.h: Moved to ...
6090 * sysdeps/generic/_itoa.h: Here.
6091
6092 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6093
6094 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6095 instead of "_itoa.h" and "_itowa.h".
6096 * stdio-common/vfprintf.: Likewise.
6097
d1af992d
L
60982012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6099
6100 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6101 <bits/wordsize.h>.
6102 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6103 (__signbit): Likwise.
6104 (llrintf): Likwise.
6105 (llrint): Likwise.
6106
114883e0
L
61072012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6108
6109 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6110 __WORDSIZE != 64.
6111
c135cc1b
JM
61122012-03-20 Joseph Myers <joseph@codesourcery.com>
6113
6114 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6115 OVERFLOW_EXCEPTION_OK.
6116 * math/libm-test.inc ("Philosophy"): Update comment about
6117 exception testing.
6118 (OVERFLOW_EXCEPTION): Define.
6119 (OVERFLOW_EXCEPTION_OK): Likewise.
6120 (INVALID_EXCEPTION_OK): Renumber.
6121 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6122 (IGNORE_ZERO_INF_SIGN): Likewise.
6123 (test_exceptions): Handle FE_OVERFLOW.
6124 (exp10_test): Expect overflow exceptions.
6125 (exp2_test): Likewise.
6126 (expm1_test): Likewise.
6127 (nextafter_test): Likewise.
6128 (pow_test): Likewise.
6129 (scalbn_test): Likewise.
6130 (scalbln_test): Likewise.
6131
95443d88
L
61322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6133
6134 * sysdeps/x86_64/bits/atomic.h
6135 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6136 64bit integer.
6137 (atomic_exchange_acq): Likewise.
6138 (__arch_exchange_and_add_body): Likewise.
6139 (__arch_add_body): Likewise.
6140 (atomic_add_negative): Likewise.
6141 (atomic_add_zero): Likewise.
6142
490df6c4
L
61432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6144
c2722551 6145 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6146 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6147
5e52b189
L
61482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6149
6150 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6151 Check __x86_64__ instead of __WORDSIZE.
6152
a9879d4c
L
61532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6154
6155 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6156
5df98260
DM
61572012-03-19 David S. Miller <davem@davemloft.net>
6158
e1497744
DM
6159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6160
5df98260
DM
6161 * sysdeps/sparc/fpu/fenv_private.h: New file.
6162 * sysdeps/sparc/fpu/math_private.h: Use it.
6163 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6164 Remove.
6165 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6166 (libc_feholdexcept_setroundl): Remove.
6167 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6168 Remove.
6169 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6170 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6171
b4c35121
L
61722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6173
6174 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6175 int64_t instead of long int.
6176 (INSERT_WORDS64): Likwise.
6177
56965fd7
L
61782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6179
6180 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6181 _Unwind_GetCFA return to _Unwind_Ptr first.
6182
83d1aec8
JM
61832012-03-19 Joseph Myers <joseph@codesourcery.com>
6184
1897ad44
JM
6185 [BZ #13629]
6186 * math/s_clog.c: Include <float.h>.
6187 (__clog): Scale large or subnormal inputs.
6188 * math/s_clogf.c: Likewise.
6189 * math/s_clogl.c: Likewise.
6190 * math/s_clog10.c: Include <float.h>.
6191 (M_LOG10_2): Define.
6192 (__clog10): Scale large or subnormal inputs.
6193 * math/s_clog10f.c: Likewise.
6194 * math/s_clog10l.c: Likewise.
6195 * math/libm-test.inc (clog_test): Add more tests.
6196 (clog10_test): Likewise.
6197 * sysdeps/i386/fpu/libm-test-ulps: Update.
6198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6199
7726d6a9
JM
6200 [BZ #11451]
6201 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6202 x and y.
6203 * math/libm-test.inc (atan2_test): Add another test.
6204
83d1aec8
JM
6205 * Makerules (common-objdir-compile): Remove.
6206 * sysdeps/unix/Makefile (config-generated): Do not add
6207 $(unix-generated) to variable.
6208 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6209 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6210 Remove rule.
6211 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6212 Likewise.
6213 [generic bits/local_lim.h] (before-compile): Do not append to
6214 variable.
6215 [generic bits/local_lim.h] (common-generated): Likewise.
6216 [generic sys/param.h] (before-compile): Do not append to variable.
6217 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6218 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6219 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6220 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6221 include.
6222 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6223 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6224 [generic sys/param.h] ($(addprefix
6225 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6226 [generic sys/param.h] (common-generated): Do not append to
6227 variable.
6228 [generic sys/param.h] (sysdep_headers): Likewise.
6229 [generic bits/errno.h] (before-compile): Do not append to
6230 variable.
6231 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6232 rule.
6233 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6234 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6235 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6236 [generic bits/errno.h] (common-generated): Do not append to
6237 variable.
6238 [generic bits/ioctls.h] (before-compile): Do not append to
6239 variable.
6240 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6241 rule.
6242 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6243 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6244 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6245 rule.
6246 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6247 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6248 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6249 [generic bits/ioctls.h] (common-generated): Do not append to
6250 variable.
6251 [generic sys/syscall.h] (syscall.h): Remove variable.
6252 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6253 rule.
6254 [generic sys/syscall.h] (before-compile): Do not append to
6255 variable.
6256 [generic sys/syscall.h] (common-generated): Likewise.
6257 * sysdeps/unix/errnos-tmpl.c: Remove file.
6258 * sysdeps/unix/errnos.awk: Likewise.
6259 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6260 * sysdeps/unix/ioctls.awk: Likewise.
6261 * sysdeps/unix/mk-local_lim.c: Likewise.
6262 * sysdeps/unix/snarf-ioctls: Likewise.
6263
4851a949
RH
62642012-03-19 Richard Henderson <rth@twiddle.net>
6265
bd37f2ee
RH
6266 * sysdeps/i386/fpu/fenv_private.h: New file.
6267 * sysdeps/i386/fpu/math_private.h: Use it.
6268 (math_opt_barrier, math_force_eval): Remove.
6269 (libc_feholdexcept_setround_53bit): Remove.
6270 (libc_feupdateenv_53bit): Remove.
6271 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6272 (math_opt_barrier, math_force_eval): Remove.
6273 (libc_feholdexcept): Remove.
6274 (libc_feholdexcept_setround): Remove.
6275 (libc_fetestexcept, libc_fesetenv): Remove.
6276 (libc_feupdateenv_test): Remove.
6277 (libc_feupdateenv, libc_feholdsetround): Remove.
6278 (libc_feresetround): Remove.
6279
d0adc922
RH
6280 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6281 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6282
0fe0f1f8
RH
6283 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6284 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6285 (libc_feupdateenv_testl): New.
6286 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6287 (libc_feupdateenv_testf): New.
6288 (libc_feupdateenv): Use libc_feupdateenv_test.
6289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6290 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6291
eb92c487
RH
6292 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6293 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6294 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6295 (libc_feresetround_noex): New.
6296 (libc_feresetround_noexf): New.
6297 (libc_feresetround_noexl): New.
6298 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6299 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6300 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6301 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6302 SET_RESTORE_ROUND.
6303 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6304 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6305 (__cos): Likewise.
6306 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6307 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6308 SET_RESTORE_ROUND_NOEX.
6309 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6310 SET_RESTORE_ROUND_NOEXF.
6311 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6312 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6313 (libc_feholdsetroundf): New.
6314 (libc_feresetround, libc_feresetroundf): New.
6315
7d2e8012
RH
6316 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6317 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6318 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6319
b4dabbb4
RH
6320 * sysdeps/generic/math_private.h: Include <fenv.h>.
6321 (default_libc_feholdexcept): New.
6322 (default_libc_feholdexcept_setround): New.
6323 (default_libc_fesetenv, default_libc_feupdateenv): New.
6324 (libc_feholdexcept): Only define if undefined.
6325 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6326 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6327 (libc_feholdexcept_setroundl): Likewise.
6328 (libc_feholdexcept_setround_53bit): Likewise.
6329 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6330 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6331 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6332 (libc_feupdateenv_53bit): Likewise.
6333 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6334 (libc_feholdexcept): Convert from macro to inline function.
6335 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6336 (libc_fesetenv, libc_feupdateenv): Likewise.
6337
4851a949
RH
6338 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6339 not previously defined.
6340 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6341 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6342 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6343 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6344 * sysdeps/ieee754/flt-32/math_private.h: New file.
6345 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6346 math_private.h below SET_FLOAT_WORD.
6347 (__isnan, __isinf_ns, __finite): Remove.
6348 (__isnanf, __isinf_nsf, __finitef): Remove.
6349
e79d442e
AS
63502012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6351
6352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6353
90b80344
DM
63542012-03-17 David S. Miller <davem@davemloft.net>
6355
6356 [BZ #6471]
6357 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6358 for 2.16.
6359
edc21804
DM
63602012-03-16 David S. Miller <davem@davemloft.net>
6361
77e927af
DM
6362 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6363 warnings.
6364
374976dd
DM
6365 [BZ #6471]
6366 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6367 properly.
6368 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6369 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6370 sysdep_routines when subdir is sysvipc.
6371 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6372 __getshmlba helper.
6373
edc21804
DM
6374 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6375
473c3ef3
L
63762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6377
6378 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6379 [__LP64__].
6380
eb0f39b6
L
63812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6382
6383 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6384 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6385 (__lround): Renamed to ...
6386 (__llround): This. Replace long int with long long int.
6387 Define lround functions as aliases of llround functions.
6388 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6389
6b6cd74b
L
63902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6391
6392 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6393 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6394 adresses to uintptr_t. Replace "long int" and "unsigned long
6395 int" with "greg_t" on va_arg.
6396
f1a77b01
L
63972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6398
6399 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6400 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6401
6402 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6403 Move e_machine check before EI_CLASS check. Handle x32
6404 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6405 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6406 SKIP_EM_IA_64 and include
6407 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6408
6409 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6410 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6411 (add_system_dir): New macro.
6412
6413 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6414 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6415
11b90b9f
JM
64162012-03-16 Joseph Myers <joseph@codesourcery.com>
6417
c36e1d23
JM
6418 [BZ #2551]
6419 [BZ #2552]
6420 [BZ #2553]
6421 [BZ #2554]
6422 [BZ #2562]
6423 [BZ #2563]
6424 [BZ #2565]
6425 [BZ #2566]
6426 [BZ #2576]
6427 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6428 (y0): Likewise.
6429 * math/w_j0f.c (j0f): Likewise.
6430 (y0f): Likewise.
6431 * math/w_j0l.c (__j0l): Likewise.
6432 (__y0l): Likewise.
6433 * math/w_j1.c (j1): Likewise.
6434 (y1): Likewise.
6435 * math/w_j1f.c (j1f): Likewise.
6436 (y1f): Likewise.
6437 * math/w_j1l.c (__j1l): Likewise.
6438 (__y1l): Likewise.
6439 * math/w_jn.c (jn): Likewise.
6440 (yn): Likewise.
6441 * math/w_jnf.c (jnf): Likewise.
6442 (ynf): Likewise.
6443 * math/w_jnl.c (__jnl): Likewise.
6444 (__ynl): Likewise.
6445 * math/libm-test.inc (j0_test): Add more tests.
6446 (j1_test): Likewise.
6447 (jn_test): Likewise. Add trailing semicolon to existing test.
6448 (y0_test): Likewise.
6449 (y1_test): Likewise.
6450 * sysdeps/i386/fpu/libm-test-ulps: Update.
6451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6452
11b90b9f
JM
6453 [BZ #13851]
6454 [BZ #13854]
6455 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6456 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6457 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6458 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6459 (__tanl): Set errno for infinite argument.
6460 * sysdeps/i386/fpu/mptan.c: Remove.
6461 * sysdeps/i386/fpu/s_tan.S: Likewise.
6462 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6463 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6464 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6465 * math/libm-test.inc (tan_test): Add more tests and enable more
6466 tests for double and long double.
6467 * sysdeps/i386/fpu/libm-test-ulps: Update.
6468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6469
6a1bd2a1
JK
64702012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6471
6472 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6473 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6474
10a803e0
RM
64752012-03-16 Roland McGrath <roland@hack.frob.com>
6476
6477 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6478 * configure.in: Use it for both main tree and add-ons.
6479 * configure: Regenerated.
6480
f196c7f7
L
64812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6482
6483 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6484
8848d99d
JM
64852012-03-16 Joseph Myers <joseph@codesourcery.com>
6486
96cbe7f4
JM
6487 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6488 in comment.
6489
8848d99d
JM
6490 [BZ #13851]
6491 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6492 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6493 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6494 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6495 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6496 infinite argument.
6497 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6498 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6499 != 0 for prec == 2.
6500 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6501 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6502 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6503 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6504 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6505 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6506 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6507 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6508 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6509 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6510 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6511 * math/libm-test.inc (cos_test): Add more tests and enable more
6512 tests for long double.
6513 (sin_test): Likewise.
6514 (sincos_test): Likewise.
6515 * sysdeps/i386/fpu/libm-test-ulps: Update.
6516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6517
dd7f4703
DM
65182012-03-16 David S. Miller <davem@davemloft.net>
6519
6520 * sysdeps/sparc/fpu/math_private.h: New file.
6521
006f1daa
DM
65222012-03-15 David S. Miller <davem@davemloft.net>
6523
c0c83bc8
DM
6524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6525 file.
e6a62e18 6526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6528 file.
e6a62e18
DM
6529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6534 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6535 sysdep routines.
6536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6537
88cb87d9
DM
6538 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6539 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6540
006f1daa 6541 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6543 sparc-ifunc.h
006f1daa 6544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6546 Likewise.
6547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6548 Likewise.
006f1daa
DM
6549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6553 Likewise.
006f1daa
DM
6554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6559 Likewise.
6560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6561 Likewise.
006f1daa
DM
6562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6567 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6568 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6569 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6571 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6580 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6581 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6582 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6583 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6584 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6585 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6586
11e0098e
AS
65872012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6588
6589 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6590 scaling.
6591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6592
e85b09d0
AJ
65932012-03-15 Andreas Jaeger <aj@suse.de>
6594
6595 [BZ #13852]
6596 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6597 ieee754/flt-32 implementation for sin, cos and sincos.
6598 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6599 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6600 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6601 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6602 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6603 ieee754/flt-32 implementation for tan.
6604
6605 * math/libm-test.inc (cos_test): Enable some large input tests for
6606 float as well
6607 (sin_test): Likewise.
6608 (sincos_test): Likewise.
6609 (tan_test): Add tests for large input.
6610
6611 * sysdeps/i386/fpu/libm-test-ulps: Update.
6612
81c64153
AJ
66132012-03-15 Andreas Jaeger <aj@suse.de>
6614
6615 [BZ #13658]
6616 * math/libm-test.inc (cos_test): Add more test cases.
6617 (sin_test): Likewise.
6618 (sincos_test): Likewise.
6619
7bbfa5c6
AJ
66202012-03-15 Andreas Jaeger <aj@suse.de>
6621
6622 [BZ #13837]
6623 * math/libm-test.inc (cos_test): Add a test case for large input
6624 value.
6625 (sin_test): Likewise.
6626 (sincos_test): Likewise.
6627
66282012-03-15 Andreas Jaeger <aj@suse.de>,
6629 Joseph Myers <joseph@codesourcery.com>
6630
6631 [BZ #13658]
0671f479 6632 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6633 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6634 * sysdeps/i386/fpu/branred.c: Likewise.
6635 * sysdeps/i386/fpu/dosincos.c: Likewise.
6636 * sysdeps/i386/fpu/mpa.c: Likewise.
6637 * sysdeps/i386/fpu/s_cos.S: Likewise.
6638 * sysdeps/i386/fpu/s_sin.S: Likewise.
6639 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6640 * sysdeps/i386/fpu/sincos32.c: Likewise.
6641
6642 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6643 Define.
6644 (libc_feupdateenv_53bit): Define.
6645 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6646 Define.
6647 (libc_feupdateenv_53bit): Define.
6648
6649 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6650 53 bit (without extend i386 double precision).
6651
6652 * math/libm-test.inc (sincos_test): Add tests for large input.
6653 (sin): Likewise.
6654 (cos): Likewise.
6655
6656 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6657
9cad04ea
AS
66582012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6659
6660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6661
f7062b9a
DM
66622012-03-15 David S. Miller <davem@davemloft.net>
6663
6664 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6665 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6666 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6667 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6680 file.
f7062b9a 6681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6683 file.
f7062b9a 6684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6686 file.
f7062b9a 6687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6689 file.
f7062b9a
DM
6690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6691 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6692 fmin/fmax sysdep routines.
6693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6694
7bd951ff
DM
66952012-03-14 David S. Miller <davem@davemloft.net>
6696
559398ab
DM
6697 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6698 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6699 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6700 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6701 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6702 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6703 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6704 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6705 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6706 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6708 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6709 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6717 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6718 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6719 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6720 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6722 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6723 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6724 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6725 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6726 routines.
6727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6728 file.
559398ab 6729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6731 file.
559398ab 6732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6734 file.
559398ab 6735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6737 file.
559398ab 6738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6740 file.
559398ab 6741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6743 file.
6744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6745 file.
6746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6747 file.
6748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6749 file.
6750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6751 New file.
6752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6753 file.
6754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6755 file.
559398ab 6756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6758 file.
559398ab 6759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6761 file.
559398ab 6762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6764 file.
559398ab 6765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6767 VIS3 routines.
559398ab
DM
6768
6769 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6770 New file.
6771
5a1c1e32
DM
6772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6773
eae47a36
DM
6774 * sysdeps/sparc/configure.in: New file.
6775 * sysdeps/sparc/configure: Generate.
6776 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6777 * configure: Regenerate.
6778 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6779 * config.make.in (have-as-vis3): New.
6780 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6781 available use -Av9d instead of -Av9a.
6782 * sysdeps/sparc/sparc64/Makefile: Likewise.
6783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6785 New file.
6786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6787 file.
6788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6789 New file.
6790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6791 file.
eae47a36
DM
6792 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6793 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6794 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6795 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6796 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6797
c0c83bc8
DM
6798 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6799 fzeros/fnegs to load 0x80000000 into a float register instead of
6800 using the stack.
7bd951ff
DM
6801 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6802
bd951ccb
JM
68032012-03-14 Joseph Myers <joseph@codesourcery.com>
6804
6805 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6806 bits/syscall.h.
6807 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6808 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6809 ($(inst_includedir)/bits/syscall.h): Remove rule.
6810 ($(objpfx)bits/syscall.d): Include instead of
6811 $(objpfx)syscall-list.d.
6812 (generated): Change syscall-list.h and syscall-list.d to
6813 bits/syscall.h and bits/syscall.d.
6814
bb4e6db2
RM
68152012-03-14 Roland McGrath <roland@hack.frob.com>
6816
6817 [BZ #13846]
6818 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6819
aa4a2ae1
JM
68202012-03-14 Joseph Myers <joseph@codesourcery.com>
6821
e456826d
JM
6822 [BZ #13841]
6823 * math/s_csqrt.c: Include <float.h>.
6824 (__csqrt): Scale large or subnormal inputs.
6825 * math/s_csqrtf.c: Likewise.
6826 * math/s_csqrtl.c: Likewise.
6827 * math/libm-test.inc (csqrt_test): Add more tests.
6828 * sysdeps/i386/fpu/libm-test-ulps: Update.
6829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6830
aa4a2ae1
JM
6831 [BZ #13840]
6832 * math/libm-test.inc (hypot_test): Add more tests.
6833
7c10fd35
DM
68342012-03-13 David S. Miller <davem@davemloft.net>
6835
6836 [BZ #13840]
6837 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6838 double-precision for the calculation instead of scaling.
6839
f453b98b
JM
68402012-03-13 Joseph Myers <joseph@codesourcery.com>
6841
6842 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6843 manipulate bits before adding and subtracting TWO52[sx].
6844 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6845 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6846 Likewise.
6847 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6848
09a3453f
DM
68492012-03-13 David S. Miller <davem@davemloft.net>
6850
8e59da90
DM
6851 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6852 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6853 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6854 rtld-global-offsets.h
6855 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6856
2a8ab7f2
DM
6857 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6858 large parameters.
6859
10f62770
DM
6860 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6861
5f0bdb18
DM
6862 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6863 'err' in the ifdef scope in which it is actually used.
6864
09a3453f
DM
6865 * nss/nss_db/db-init.c: Include string.h
6866
b4b2eb5e
DM
68672012-03-12 David S. Miller <davem@davemloft.net>
6868
98bb2f1c
DM
6869 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6870 masking out of the most significant byte of random value used.
6871 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6872 Fix coding style in previous change.
6873
b4b2eb5e
DM
6874 * sysdeps/unix/sysv/linux/kernel-features.h
6875 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6876 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6877 expression.
6878 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6879 later.
6880
6e226b09
DM
68812012-03-11 David S. Miller <davem@davemloft.net>
6882
a1bcbd40
DM
6883 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6884 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6885 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6886 for 'resultvar' otherwise things get truncated on 64-bit.
6887
cb9d6174
DM
6888 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6889 Fix masking out of the most significant byte of random value used.
6890
6e226b09
DM
6891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6892
058c132d
AS
68932012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6894
6895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6896
2d2cd515
DM
68972012-03-09 David S. Miller <davem@davemloft.net>
6898
6899 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6900 variables with appropriate CPP guards.
6901 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6902 frame pointer, not the stack pointer. Correct layout comments. Fix test
6903 on resulting framesize and the management of the outregs buffer for pltexit.
6904 Preserve floating point return values across _dl_call_pltexit call.
6905 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6906 framesize and the management of the outregs buffer for pltexit.
6907 Preserve floating point return values across _dl_call_pltexit
6908 call.
6909 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6910 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6911 (print_exit): Fix format string for return register value.
6912
9a07f9d0
JM
69132012-03-10 Joseph Myers <joseph@codesourcery.com>
6914
6915 * sunrpc/Makefile (others): Add rpcgen.
6916 ($(objpfx)rpcgen): Remove special build rule and dependency on
6917 libc.
6918 * sunrpc/rpcgen.c: New file.
6919
547b5e30
PE
69202012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6921
c524201a
PE
6922 [BZ #13673]
6923 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6924 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6925 * sysdeps/i386/crti.S: Likewise.
6926 * sysdeps/i386/crtn.S: Likewise.
6927 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6928 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6929 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6930 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6931 * sysdeps/sh/crti.S: Likewise.
6932 * sysdeps/sh/crtn.S: Likewise.
6933 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6934
7b6235f2
PE
6935 [BZ #13673]
6936 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6937 with URL.
6938 * locale/programs/locfile-kw.gperf: Likewise.
6939 * locale/programs/charmap-kw.h: Regenerated.
6940 * locale/programs/locfile-kw.h: Likewise.
6941
547b5e30
PE
6942 [BZ #13673]
6943 * intl/plural.y: Replace FSF snail mail address with URL.
6944 * intl/plural.c: Regenerated.
6945
5f0a5dae
RH
69462012-03-09 Richard Henderson <rth@twiddle.net>
6947
6948 * include/math_private.h: Remove file.
6949 * math/math_private.h: Move file ...
6950 * sysdeps/generic/math_private.h: ... here.
6951
b8c03620
RH
6952 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6953 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6954 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6955
4e234f5d 6956 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6957 and <math_private.h>.
6958 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6959 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6960 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6961 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6962 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6963 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6964 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6965 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6966 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6967 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6968 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6969 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6970 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6971 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6972 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6973 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6974 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6975 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6976 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6977 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6978 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6979 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6980 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6981 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6982 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6983 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6984 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6985 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6986 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6987 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6988 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6989 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6990 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6991 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6992 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6993 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6994 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6995 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6996 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6997 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6998 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6999 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7000 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7001 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7002 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7003 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7004 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7005 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7006 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7007 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7008 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7009 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7010 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7011 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7012 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7013 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7014 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7015 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7016 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7017 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7018 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7019 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7020 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7021 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7022 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7023 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7024 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7025 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7026 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7027 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7028 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7029 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7030 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7031 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7032 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7033 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7034 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7035 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7036 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7037 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7038 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7039 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7040 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7041 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7042 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7043 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7044 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7045 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7046 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7047 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7048 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7049 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7050 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7051 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7052 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7053 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7054 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7055 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7056 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7057 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7058 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7059 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7060 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7061 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7062 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7063 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7064 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7065 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7066 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7067 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7068 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7069 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7070 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7071 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7072 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7073 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7074 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7075 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7076 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7077 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7078 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7079 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7080 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7081 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7082 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7083 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7084 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7085 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7086 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7087 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7088 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7089 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7090 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7091 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7092 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7093 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7094 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7095 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7096 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7097 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7098 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7099 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7100 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7101 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7102 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7103 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7104 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7105 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7106 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7107 * sysdeps/ieee754/k_standard.c: Likewise.
7108 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7109 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7110 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7111 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7112 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7113 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7114 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7115 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7116 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7117 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7118 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7119 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7120 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7121 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7122 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7123 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7124 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7125 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7126 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7127 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7128 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7129 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7130 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7131 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7132 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7133 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7134 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7135 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7136 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7137 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7138 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7139 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7140 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7141 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7142 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7143 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7144 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7145 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7146 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7147 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7148 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7149 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7150 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7151 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7152 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7153 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7154 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7155 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7156 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7157 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7158 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7159 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7160 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7161 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7162 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7163 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7164 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7165 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7166 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7167 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7168 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7169 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7170 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7171 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7172 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7173 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7174 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7175 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7176 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7177 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7178 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7179 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7180 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7181 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7182 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7183 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7184 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7185 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7186 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7187 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7188 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7189 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7190 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7191 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7192 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7193 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7194 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7195 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7196 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7197 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7198 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7199 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7200 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7201 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7202 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7203 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7204 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7205 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7206 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7207 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7208 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7209 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7210 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7211 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7212 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7213 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7214 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7215 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7216 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7217 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7218 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7219 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7220 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7221 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7222 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7223 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7224 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7225 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7226 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7227 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7228 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7229 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7230 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7231 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7232 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7233 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7234 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7235 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7236 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7237 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7238 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7239 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7240 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7241 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7242 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7243 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7244 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7245 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7246 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7247 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7248 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7249 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7250 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7251 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7252 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7253 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7254 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7255 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7256 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7257 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7258 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7259 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7260 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7261 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7262 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7263 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7264 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7265 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7266 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7267 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7268 * sysdeps/ieee754/s_lib_version.c: Likewise.
7269 * sysdeps/ieee754/s_matherr.c: Likewise.
7270 * sysdeps/ieee754/s_signgam.c: Likewise.
7271 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7272 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7273 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7274 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7275 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7276 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7277 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7278 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7279 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7280 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7281 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7282 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7283 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7284 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7285 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7286 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7287 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7288 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7289 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7290 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7291 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7292
1991fa03
JM
72932012-03-09 Joseph Myers <joseph@codesourcery.com>
7294
7295 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7296 * sunrpc/rpc_main.c: Likewise.
7297 * sunrpc/rpc_svcout.c: Likewise.
7298
60d6f5a6
DM
72992012-03-09 David S. Miller <davem@davemloft.net>
7300
7301 * include/math_private.h: New file.
7302
4962050e
JM
73032012-03-09 Joseph Myers <joseph@codesourcery.com>
7304
02a6f887
JM
7305 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7306 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7307 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7308 from <bits/socket_type.h>.
7309 (enum __socket_type): Don't define here.
7310 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7311 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7312 bits/socket_type.h.
7313
c6e013c1
JM
7314 [BZ #13566]
7315 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7316 checking __USE_GNU.
7317
4962050e
JM
7318 * Makerules ($(inst_includedir)/%.h): New rule.
7319 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7320 (install-others): Remove variable setting.
7321 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7322
38842f45
RH
73232012-03-08 Richard Henderson <rth@twiddle.net>
7324
67bb6da6
RH
7325 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7326 from macro to inline function; merge with the
7327 !__LIBC_INTERNAL_MATH_INLINES version.
7328 (__ieee754_sqrtf): Likewise.
7329
15194b4b
RH
7330 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7331 to inline function.
7332 (__rintf, __floor, __floorf): Likewise.
7333
64e21ede
RH
7334 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7335 macro to inline function.
7336 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7337
38842f45
RH
7338 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7339 not <math/math_private.h>.
7340
c64bf5fe
DM
73412012-03-08 David S. Miller <davem@davemloft.net>
7342
7343 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7344 copyright year.
7345 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7346
82d86f28
TS
73472012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7348
7349 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7350 normalization.
7351 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7352 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7353
aea5d727
UD
73542012-03-08 Ulrich Drepper <drepper@gmail.com>
7355
7356 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7357 be defined individually, they must be defined as a block. Define
7358 S for printing a string instead of hidint the different by using a
7359 macro for adding the 'l'.
7360 * stdio-common/tst-fphex-wide.c: Adjust.
7361
70bca0a3
MP
73622012-03-07 Marek Polacek <polacek@redhat.com>
7363
7364 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7365
65b81130
MP
73662012-03-08 Marek Polacek <polacek@redhat.com>
7367
7368 [BZ #13806]
7369 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7370 * stdio-common/tst-fphex.c: Define a few macros to make the
7371 test reusable. Use them.
7372 * stdio-common/tst-fphex-wide.c: New file.
7373
07037eeb
JM
73742012-03-08 Joseph Myers <joseph@codesourcery.com>
7375
a7a93d50
JM
7376 [BZ #6911]
7377 * manual/macros.texi (gnusystems): New macro.
7378 (nongnusystems): Likewise.
7379 (gnulinuxhurdsystems): Likewise.
7380 (gnuhurdsystems): Likewise..
7381 (gnulinuxsystems): Likewise.
7382 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7383 variants of the GNU system, not "GNU system".
7384 * manual/conf.texi: Likewise.
7385 * manual/errno.texi: Likewise. Update example of errno macro
7386 expansion.
7387 * manual/filesys.texi: Likewise.
7388 (getumask): Document as specific to GNU/Hurd.
7389 * manual/install.texi: Likewise. Reword some references to
7390 GNU/Linux.
7391 * manual/intro.texi: Likewise.
7392 * manual/io.texi: Likewise.
7393 (File Name Portability): Detail which constraints are inapplicable
7394 to all GNU systems and which are only inapplicable to GNU/Hurd.
7395 * manual/job.texi: Likewise.
7396 * manual/llio.texi: Likewise.
7397 (O_NOCTTY): Document as present on GNU/Linux.
7398 * manual/maint.texi: Likewise.
7399 * manual/memory.texi: Likewise.
7400 * manual/pattern.texi: Likewise.
7401 * manual/pipe.texi: Likewise.
7402 * manual/process.texi: Likewise.
7403 * manual/resource.texi: Likewise.
7404 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7405 child on GNU/Hurd.
7406 * manual/setjmp.texi: Likewise.
7407 * manual/signal.texi: Likewise.
7408 * manual/startup.texi: Likewise.
7409 * manual/stdio.texi: Likewise.
7410 * manual/terminal.texi: Likewise.
7411 (ONLCR): Document as POSIX.
7412 (OXTABS): Document availability on GNU/Linux as XTABS.
7413 (ONOEOT): Document availability separately from other bits.
7414 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7415 * manual/time.texi: Likewise.
7416 * manual/users.texi: Likewise.
7417 * INSTALL: Regenerated.
7418 * sysdeps/gnu/errlist.c: Regenerated.
7419
07037eeb
JM
7420 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7421 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7422 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7423 puts.
7424 * configure: Regenerated.
7425
d1d3431a
JM
74262012-03-07 Joseph Myers <joseph@codesourcery.com>
7427
af6a1e37
JM
7428 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7429 default includes instead of AC_HEADER_CHECK.
7430 * sysdeps/i386/configure: Regenerated.
7431
d1d3431a
JM
7432 [BZ #10716]
7433 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7434 * math/s_cacoshf.c (__cacoshf): Likewise.
7435 * math/s_cacoshl.c (__cacoshl): Likewise.
7436 * math/s_casinh.c (__casinh): Set signs of result from argument.
7437 * math/s_casinhf.c (__casinhf): Likewise.
7438 * math/s_casinhl.c (__casinhl): Likewise.
7439 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7440 (casinh_test): Add more tests.
7441 * sysdeps/i386/fpu/libm-test-ulps: Update.
7442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7443
482ff4da
UD
74442012-03-07 Ulrich Drepper <drepper@gmail.com>
7445
872fda05
UD
7446 * po/zh_TW.po: Update from translation team.
7447
a4300c7a
UD
7448 * login/Makefile (distribute): Remove variable.
7449 * catgets/Makefile: Likewise.
7450 * mach/Makefile: Likewise.
7451 * malloc/Makefile: Likewise.
7452 * misc/Makefile: Likewise.
7453 * iconv/Makefile: Likewise.
7454 * nscd/Makefile: Likewise.
7455 * hurd/Makefile: Likewise.
7456 * manual/Makefile: Likewise.
7457 * locale/Makefile: Likewise.
7458 * intl/Makefile: Likewise.
7459 * conform/Makefile: Likewise.
7460 * nss/Makefile: Likewise.
7461 * time/Makefile: Likewise.
7462 * soft-fp/Makefile: Likewise.
7463 * dirent/Makefile: Likewise.
7464 * gmon/Makefile: Likewise.
7465 * po/Makefile: Likewise.
7466 * rt/Makefile: Likewise.
7467 * socket/Makefile: Likewise.
7468 * math/Makefile: Likewise.
7469 * signal/Makefile: Likewise.
7470 * debug/Makefile: Likewise.
7471 * elf/Makefile: Likewise.
7472 * timezone/Makefile: Likewise.
7473 * stdlib/Makefile: Likewise.
7474 * iconvdata/Makefile: Likewise.
7475 * sunrpc/Makefile: Likewise.
7476 * io/Makefile: Likewise.
7477 * argp/Makefile: Likewise.
7478 * inet/Makefile: Likewise.
7479 * hesiod/Makefile: Likewise.
7480 * grp/Makefile: Likewise.
7481 * csu/Makefile: Likewise.
7482 * wctype/Makefile: Likewise.
7483 * crypt/Makefile: Likewise.
7484 * libio/Makefile: Likewise.
7485 * string/Makefile: Likewise.
7486 * nis/Makefile: Likewise.
7487 * resolv/Makefile: Likewise.
7488 * stdio-common/Makefile: Likewise.
7489 * wcsmbs/Makefile: Likewise.
7490 * dlfcn/Makefile: Likewise.
7491 * posix/Makefile: Likewise.
7492
3b7c4e74 7493 [BZ #6959]
482ff4da
UD
7494 * timezone/Makefile: Don't install timezone files, just the programs
7495 and scripts.
7496
f72ed77d
UD
74972012-03-06 Ulrich Drepper <drepper@gmail.com>
7498
a000466f
UD
7499 * nss/databases.def: Add missing gshadow entry.
7500
f72ed77d
UD
7501 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7502
a53b7a4e
MP
75032012-03-06 Marek Polacek <polacek@redhat.com>
7504
7505 [BZ #13726]
7506 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7507 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7508 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7509 * stdio-common/tst-long-dbl-fphex.c: New file.
7510
e9258400
DM
75112012-03-06 David S. Miller <davem@davemloft.net>
7512
7513 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7514 (set_obp_int): New function.
7515 (get_obp_int): New function.
7516 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7517 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7518 Avoid unused variable warnings on 'val' and use builtin_expect.
7519 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7520 __builtin_expect.
e9258400
DM
7521 (INLINE_CLONE_SYSCALL): Likewise.
7522
3bd2c723
DM
75232012-03-05 David S. Miller <davem@davemloft.net>
7524
7525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7526
bbb78d03
AS
75272012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7528
884c5db4
AS
7529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7530
bbb78d03
AS
7531 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7532 only for |x| >= 40.
7533 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7534
1c9f702a 75352012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7536
7537 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7538 Replace gettimeofday with __vdso_gettimeofday.
7539
7be16f82
RM
7540 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7541 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7542 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7543
7544 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7545 time with __vdso_time.
7546
ed58a00f
JM
75472012-03-05 Joseph Myers <joseph@codesourcery.com>
7548
7549 * manual/lang.texi (size_t): Note types to which size_t may be
7550 equivalent with the GNU C Library, but do not describe when
7551 differences between them are significant.
7552
30ee4ced
AJ
75532012-03-05 Andreas Jaeger <aj@suse.de>
7554
7555 * sysdeps/i386/fpu/libm-test-ulps: Update.
7556
b7cd39e8
JM
75572012-03-05 Joseph Myers <joseph@codesourcery.com>
7558
7559 [BZ #3976]
7560 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7561 (__ieee754_pow): Save and restore rounding mode and use
7562 round-to-nearest for main computations.
7563 * math/libm-test.inc (pow_test_tonearest): New function.
7564 (pow_test_towardzero): Likewise.
7565 (pow_test_downward): Likewise.
7566 (pow_test_upward): Likewise.
7567 (main): Call the new functions.
7568 * sysdeps/i386/fpu/libm-test-ulps: Update.
7569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7570
7571 [BZ #3976]
7572 * math/libm-test.inc (cosh_test_tonearest): New function.
7573 (cosh_test_towardzero): Likewise.
7574 (cosh_test_downward): Likewise.
7575 (cosh_test_upward): Likewise.
7576 (sinh_test_tonearest): Likewise.
7577 (sinh_test_towardzero): Likewise.
7578 (sinh_test_downward): Likewise.
7579 (sinh_test_upward): Likewise.
7580 (main): Call the new functions.
7581 * sysdeps/i386/fpu/libm-test-ulps: Update.
7582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7583
6c6a98c9
TV
75842012-03-05 Tom de Vries <tom@codesourcery.com>
7585
7586 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7587 default stack guard is set in last bytes.
7588 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7589
21bb2d2e 75902012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7591
21bb2d2e 7592 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7593
21bb2d2e
AJ
7594 [BZ #13656]
7595 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7596 possibly allocate from heap instead of stack.
7597 * stdio-common/bug-vfprintf-nargs.c: New file.
7598 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7599
c6922934
AS
76002012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7601
7602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7603
bc957d53
MP
76042012-03-03 Marek Polacek <polacek@redhat.com>
7605
7606 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7607 * math/math_private.h: Likewise.
7608 * stdlib/tst-strtod.c: Likewise.
7609 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7610 * sysdeps/x86_64/bits/atomic.h: Likewise.
7611
6358490d
DM
76122012-03-02 David S. Miller <davem@davemloft.net>
7613
7614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7618 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7619 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7620 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7621 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7622
01ae168d
RM
76232012-03-02 Roland McGrath <roland@hack.frob.com>
7624
d9a17c07
RM
7625 [BZ #13792]
7626 * manual/examples/README: New file, says the example source files
7627 can be used under GPL>=2.
7628 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7629 line containing just "*/".
7630 * manual/examples/add.c: Add copyright header (GPL>=2).
7631 * manual/examples/argp-ex1.c: Likewise.
7632 * manual/examples/argp-ex2.c: Likewise.
7633 * manual/examples/argp-ex3.c: Likewise.
7634 * manual/examples/argp-ex4.c: Likewise.
7635 * manual/examples/atexit.c: Likewise.
7636 * manual/examples/db.c: Likewise.
7637 * manual/examples/dir.c: Likewise.
7638 * manual/examples/dir2.c: Likewise.
7639 * manual/examples/execinfo.c: Likewise.
7640 * manual/examples/filecli.c: Likewise.
7641 * manual/examples/filesrv.c: Likewise.
7642 * manual/examples/fmtmsgexpl.c: Likewise.
7643 * manual/examples/genpass.c: Likewise.
7644 * manual/examples/inetcli.c: Likewise.
7645 * manual/examples/inetsrv.c: Likewise.
7646 * manual/examples/isockad.c: Likewise.
7647 * manual/examples/longopt.c: Likewise.
7648 * manual/examples/memopen.c: Likewise.
7649 * manual/examples/memstrm.c: Likewise.
7650 * manual/examples/mkfsock.c: Likewise.
7651 * manual/examples/mkisock.c: Likewise.
7652 * manual/examples/mygetpass.c: Likewise.
7653 * manual/examples/pipe.c: Likewise.
7654 * manual/examples/popen.c: Likewise.
7655 * manual/examples/rprintf.c: Likewise.
7656 * manual/examples/search.c: Likewise.
7657 * manual/examples/select.c: Likewise.
7658 * manual/examples/setjmp.c: Likewise.
7659 * manual/examples/sigh1.c: Likewise.
7660 * manual/examples/sigusr.c: Likewise.
7661 * manual/examples/stpcpy.c: Likewise.
7662 * manual/examples/strdupa.c: Likewise.
7663 * manual/examples/strftim.c: Likewise.
7664 * manual/examples/strncat.c: Likewise.
7665 * manual/examples/subopt.c: Likewise.
7666 * manual/examples/swapcontext.c: Likewise.
7667 * manual/examples/termios.c: Likewise.
7668 * manual/examples/testopt.c: Likewise.
7669 * manual/examples/testpass.c: Likewise.
7670 * manual/examples/timeval_subtract.c: Likewise.
7671
01ae168d
RM
7672 [BZ #13792]
7673 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7674 function to ...
7675 * manual/timeval_subtract.c.texi: ... here, new file.
7676
49efa33d
DM
76772012-03-02 David S. Miller <davem@davemloft.net>
7678
7679 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7680
28afd92d
JM
76812012-03-02 Joseph Myers <joseph@codesourcery.com>
7682
804360ed
JM
7683 [BZ #3976]
7684 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7685 (__sin): Save and restore rounding mode and use round-to-nearest
7686 for all computations.
7687 (__cos): Save and restore rounding mode and use round-to-nearest
7688 for all computations.
7689 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7690 <fenv.h>.
7691 (tan): Save and restore rounding mode and use round-to-nearest for
7692 all computations.
7693 * math/libm-test.inc (cos_test_tonearest): New function.
7694 (cos_test_towardzero): Likewise.
7695 (cos_test_downward): Likewise.
7696 (cos_test_upward): Likewise.
7697 (sin_test_tonearest): Likewise.
7698 (sin_test_towardzero): Likewise.
7699 (sin_test_downward): Likewise.
7700 (sin_test_upward): Likewise.
7701 (tan_test_tonearest): Likewise.
7702 (tan_test_towardzero): Likewise.
7703 (tan_test_downward): Likewise.
7704 (tan_test_upward): Likewise.
7705 (main): Call the new functions.
7706 * sysdeps/i386/fpu/libm-test-ulps: Update.
7707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7708
a6d06d7b
JM
7709 [BZ #10135]
7710 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7711 small n, then large n, before computing and testing k+n.
7712 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7713 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7714 Likewise.
7715 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7716 Likewise.
7717 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7718 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7719 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7720 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7721 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7722 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7723 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7724 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7725 * math/libm-test.inc (scalbn_test): Add more tests.
7726 (scalbln_test): Likewise.
7727
07e12bb3
JM
7728 * manual/filesys.texi (mode_t): Describe constraints on size and
7729 signedness, not exact equivalence to a particular type.
7730 (ino_t): Likewise.
7731 (ino64_t): Likewise.
7732 (dev_t): Likewise.
7733 (nlink_t): Likewise.
7734 (blkcnt_t): Likewise.
7735 (blkcnt64_t): Likewise.
7736 * manual/llio.texi (off_t): Likewise.
7737
28afd92d
JM
7738 [BZ #3976]
7739 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7740 (__ieee754_exp): Save and restore rounding mode and use
7741 round-to-nearest for all computations.
7742 * math/libm-test.inc (exp_test_tonearest): New function.
7743 (exp_test_towardzero): Likewise.
7744 (exp_test_downward): Likewise.
7745 (exp_test_upward): Likewise.
7746 (main): Call the new functions.
7747 * sysdeps/i386/fpu/libm-test-ulps: Update.
7748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7749
b1eeb65d
CD
77502012-03-01 Chris Demetriou <cgd@google.com>
7751
7752 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7753 have predictable order.
7754
53362a4b
DM
77552012-03-01 David S. Miller <davem@davemloft.net>
7756
3c969083
DM
7757 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7758
759707de
DM
7759 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7760 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7761 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7762 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7763
dfdb8ff2
DM
7764 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7765 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7766 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7768 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7769 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7770 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7771 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7772 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7773
ead89f96
DM
7774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7775
7f66bd07
DM
7776 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7777 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7778 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7779
53362a4b
DM
7780 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7781 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7782 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7783 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7784 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7785 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7786 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7787 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7788 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7789 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7790 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7791 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7792 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7793 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7794 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7795 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7796 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7797 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7798 * sysdeps/sparc/elf/configure: Regenerated.
7799
7b1902cb
JM
78002012-03-01 Joseph Myers <joseph@codesourcery.com>
7801
bec039bc
JM
7802 * configure.in (AS, LD): Require binutils 2.20 or later.
7803 * configure: Regenerated.
7804 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7805 as required minimum version.
7806 * INSTALL: Regenerated.
7807
7b1902cb
JM
7808 [BZ #2541]
7809 [BZ #4108]
7810 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7811 before squaring exponent.
7812 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7813 bottom long double and 27 bits of top long double before squaring
7814 exponent.
7815 * math/libm-test.inc (erfc_test): Add more tests.
7816 * sysdeps/i386/fpu/libm-test-ulps: Update.
7817 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7819
f775c276
KT
78202012-03-01 Kai Tietz <ktietz@redhat.com>
7821
7822 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7823 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7824 containing bit-fields.
7825 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7826 * soft-fp/single.h (_FP_UNION_S): Likewise.
7827 * soft-fp/double.h (_FP_UNION_D): Likewise.
7828
5b8a4d4a
JM
78292012-02-29 Joseph Myers <joseph@codesourcery.com>
7830
0bab47b6
JM
7831 [BZ #13786]
7832 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7833 not include ../strcmp.S.
7834 [USE_AS_STRNCASECMP_L]: Likewise.
7835 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7836 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7837 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7838 (__strncasecmp_l_ia32): Define as alias to
7839 __strncasecmp_l_nonascii.
7840
0fcad3e2
JM
7841 [BZ #5794]
7842 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7843 * sysdeps/i386/fpu/libm-test-ulps: Update.
7844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7845
5b8a4d4a
JM
7846 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7848
8fdceb2e
JL
78492012-02-29 Jeff Law <law@redhat.com>
7850
7851 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7852 out of bounds read.
7853
1f393a11
MP
78542012-02-29 Marek Polacek <polacek@redhat.com>
7855
7856 [BZ #13706]
7857 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7858 * elf/Makefile: Add rules to run tst-unused-dep.out.
7859
8847f037
DM
78602012-02-28 David S. Miller <davem@davemloft.net>
7861
7862 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7863 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7864 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7865 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7866 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7867 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7868
169d7f11
JM
78692012-02-29 Joseph Myers <joseph@codesourcery.com>
7870
7871 * math/libm-test.inc (llround_test): Move one test from
7872 lround_test. Use TEST_f_L in moved test.
7873 (lround_test): Move misplaced test to llround_test. Add testcase
7874 from bug 2561.
7875
39adf059
UD
78762012-02-28 Ulrich Drepper <drepper@gmail.com>
7877
7878 * sysdeps/x86_64/fpu/e_expf.S: New file.
7879 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7880
71b5d1c5
SB
78812012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7882
7883 [BZ #13637]
7884 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7885 of remain_len that may cause incomplete multi-byte character and
7886 false match.
7887 * posix/bug-regex33.c: New file.
7888 * posix/Makefile (tests): Add bug-regex33.
7889
1f77f049
JM
78902012-02-28 Joseph Myers <joseph@codesourcery.com>
7891
7892 * manual/macros.texi: New file.
7893 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7894 * manual/libc.texinfo: Include macros.texi.
7895 * manual/creatute.texi: Likewise.
7896 * manual/install.texi: Likewise.
7897 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7898 @glibcadj{} in references to the GNU C Library.
7899 * manual/charset.texi: Likewise.
7900 * manual/conf.texi: Likewise.
7901 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7902 when not using those macros.
7903 * manual/creature.texi: Likewise.
7904 * manual/crypt.texi: Likewise.
7905 * manual/errno.texi: Likewise.
7906 * manual/filesys.texi: Likewise.
7907 * manual/header.texi: Likewise.
7908 * manual/install.texi: Likewise.
7909 * manual/intro.texi: Likewise.
7910 * manual/io.texi: Likewise.
7911 * manual/job.texi: Likewise.
7912 * manual/lang.texi: Likewise.
7913 * manual/libc.texiinfo: Likewise.
7914 * manual/llio.texi: Likewise.
7915 * manual/locale.texi: Likewise.
7916 * manual/maint.texi: Likewise.
7917 * manual/math.texi: Likewise.
7918 * manual/memory.texi: Likewise.
7919 * manual/message.texi: Likewise.
7920 * manual/nss.texi: Likewise.
7921 * manual/pattern.texi: Likewise.
7922 * manual/process.texi: Likewise.
7923 * manual/resource.texi: Likewise.
7924 * manual/search.texi: Likewise.
7925 * manual/setjmp.texi: Likewise.
7926 * manual/signal.texi: Likewise.
7927 * manual/socket.texi: Likewise.
7928 * manual/startup.texi: Likewise.
7929 * manual/stdio.texi: Likewise.
7930 * manual/string.texi: Likewise.
7931 * manual/sysinfo.texi: Likewise.
7932 * manual/syslog.texi: Likewise.
7933 * manual/terminal.texi: Likewise.
7934 * manual/time.texi: Likewise.
7935 * manual/users.texi: Likewise.
7936 * INSTALL: Regenerated.
7937 * NOTES: Regenerated.
d40c5d54 7938 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7939
450bf206
AS
79402012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7941
7942 * include/dirent.h: Include <dirstream.h> before
7943 <dirent/dirent.h>.
7944
741a235b
DM
79452012-02-28 David S. Miller <davem@davemloft.net>
7946
7947 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7948 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7949 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7950 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7951
d6b5aa58
DM
79522012-02-27 David S. Miller <davem@davemloft.net>
7953
1aff59a3
DM
7954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7956 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7957 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7958
d6b5aa58
DM
7959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7960 frame pointer instead of stack pointer relative arg slot.
7961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7962 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7963 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7964
433f48bf
CD
79652012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7966
7967 [BZ #3992]
7968 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7969
d674b76d
DM
79702012-02-27 David S. Miller <davem@davemloft.net>
7971
7972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7976 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7977 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7978 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7979 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7980
0e7727f7
JM
79812012-02-27 Joseph Myers <joseph@codesourcery.com>
7982
7983 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7984 later. Allow versions 5-9.
43be4ca2 7985 * configure: Regenerated.
0e7727f7
JM
7986 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7987 required minimum version and 4.6 as recommended version. Do not
7988 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7989 * INSTALL: Regenerated.
0e7727f7 7990
a78bc654
DM
79912012-02-27 David S. Miller <davem@davemloft.net>
7992
428d5830
DM
7993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7997 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7998 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7999 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8000 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8001
a78bc654
DM
8002 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8003 manipulate bits before adding and subtracting TWO112[sx].
8004 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8005
4579f81c
RM
80062012-02-27 Roland McGrath <roland@hack.frob.com>
8007
36c8acb4
RM
8008 [BZ #13775]
8009 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8010 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8011 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8012 being in POSIX, because they are in 1003.1-2008.
8013
84ad622b
RM
8014 * rt/tst-aio.c: Include <fcntl.h>.
8015 * rt/tst-aio7.c: Likewise.
8016 * rt/tst-aio64.c: Likewise.
8017
4579f81c
RM
8018 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8019
abd923db
JM
80202012-02-27 Joseph Myers <joseph@codesourcery.com>
8021
8022 * manual/install.texi (--with-headers): Describe headers as
8023 interface headers, not private headers.
8024 (Specific advice for GNU/Linux systems): Describe use of headers
8025 from "make headers_install", not private headers from older
8026 kernels.
43be4ca2 8027 * INSTALL: Regenerated.
abd923db
JM
8028 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8029 Change to 2.6.19.
8030 * sysdeps/unix/sysv/linux/configure: Regenerated.
8031
6664049b
JM
8032 * manual/llio.texi (fclean): Remove documentation.
8033
bb8b6697
JM
8034 * manual/Makefile (libc-texi-generated): New variable. Include
8035 version.texi.
8036 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8037 $(libc-texi-generated), not duplicated list of files.
8038 (version.texi, stamp-version): New rules.
8039 (realclean): Remove $(libc-texi-generated), not individual files
8040 from that list. Do not remove dir-add.texinfo.
8041 * manual/libc.texinfo: Comment out uses of edition numbers and
8042 references to printed manual. Remove last-updated dates.
8043 (EDITION): Comment out.
8044 (ISBN): Likewise.
8045 (VERSION, UPDATED): Remove.
8046 (version.texi): Include.
8047
12e5c3b9
AS
80482012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8049
8050 * sysdeps/posix/spawni.c: Include <signal.h>.
8051 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8052 * sysdeps/pthread/aio_fsync.c: Likewise.
8053
4efeffc1 80542012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8055
ba63ba08
UD
8056 * conform/Makefile (tests): Run only when not cross-compiling and
8057 when fast-check is not defined.
8058
d94a4670
UD
8059 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8060 * conform/data/limits.h-data: Fixes for POSIX2008.
8061 * conform/run-conformtest.sh: Run all tests.
8062 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8063 headers.
8064 * include/bits/dlfcn.h: Likewise.
8065 * include/langinfo.h: Likewise.
8066 * include/monetary.h: Likewise.
8067 * include/sys/poll.h: Likewise.
8068
8069 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8070 for __USE_GNU.
8071 * posix/spawn.h: Define __need_sigset_t.
8072 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8073 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8074 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8075 to get sigevent_t only.
8076 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8077 only for __USE_GNU.
8078 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8079 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8080 process_vm_writev only for __USE_GNU.
8081 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8082
8083 * conform/Makefile: For now ignore errors from run-conformtest.
8084 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8085 POSIX to avoid namespace pollution. Don't prepend headers.
8086 * conform/data/aio.h-data: Fixes for POSIX testing.
8087 * conform/data/fcntl.h-data: Likewise.
8088 * conform/data/glob.h-data: Likewise.
8089 * conform/data/grp.h-data: Likewise.
8090 * conform/data/pthread.h-data: Likewise.
8091 * conform/data/pwd.h-data: Likewise.
8092 * conform/data/signal.h-data: Likewise.
8093 * conform/data/spawn.h-data: Likewise.
8094 * conform/data/stdio.h-data: Likewise.
8095 * conform/data/stdlib.h-data: Likewise.
8096 * conform/data/stropts.h-data: Likewise.
8097 * conform/data/sys/mman.h-data: Likewise.
8098 * conform/data/sys/stat.h-data: Likewise.
8099 * conform/data/sys/types.h-data: Likewise.
8100 * conform/data/sys/wait.h-data: Likewise.
8101 * conform/data/time.h-data: Likewise.
8102 * conform/data/unistd.h-data: Likewise.
8103 * conform/data/utime.h-data: Likewise.
8104
8105 * io/sys/stat.h: fchmod was always in POSIX.
8106 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8107 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8108 * rt/aio.h: Define __need_timespec before including <time.h>.
8109 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8110 struct. Add forward declaration of pthread_attr_t and use it in
8111 sigevent.
8112 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8113 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8114 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8115 always remove CLK_TCK definition.
8116
c20105c3
AS
81172012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8118
8119 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8120
7a270350
UD
81212012-02-25 Ulrich Drepper <drepper@gmail.com>
8122
31341567
UD
8123 * conform/run-conformtest.sh: New file.
8124 * conform/Makefile: Run run-conformtest for tests.
8125 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8126 support.
8127
8128 * conform/data/uchar.h-data: New file.
8129 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8130 * conform/data/arpa/inet.h-data: Likewise.
8131 * conform/data/assert.h-data: Likewise.
8132 * conform/data/complex.h-data: Likewise.
8133 * conform/data/cpio.h-data: Likewise.
8134 * conform/data/ctype.h-data: Likewise.
8135 * conform/data/dirent.h-data: Likewise.
8136 * conform/data/dlfcn.h-data: Likewise.
8137 * conform/data/errno.h-data: Likewise.
8138 * conform/data/fcntl.h-data: Likewise.
8139 * conform/data/float.h-data: Likewise.
8140 * conform/data/fmtmsg.h-data: Likewise.
8141 * conform/data/fnmatch.h-data: Likewise.
8142 * conform/data/ftw.h-data: Likewise.
8143 * conform/data/glob.h-data: Likewise.
8144 * conform/data/grp.h-data: Likewise.
8145 * conform/data/iconv.h-data: Likewise.
8146 * conform/data/inttypes.h-data: Likewise.
8147 * conform/data/langinfo.h-data: Likewise.
8148 * conform/data/libgen.h-data: Likewise.
8149 * conform/data/limits.h-data: Likewise.
8150 * conform/data/locale.h-data: Likewise.
8151 * conform/data/math.h-data: Likewise.
8152 * conform/data/monetary.h-data: Likewise.
8153 * conform/data/mqueue.h-data: Likewise.
8154 * conform/data/ndbm.h-data: Likewise.
8155 * conform/data/net/if.h-data: Likewise.
8156 * conform/data/netdb.h-data: Likewise.
8157 * conform/data/netinet/in.h-data: Likewise.
8158 * conform/data/nl_types.h-data: Likewise.
8159 * conform/data/poll.h-data: Likewise.
8160 * conform/data/pthread.h-data: Likewise.
8161 * conform/data/pwd.h-data: Likewise.
8162 * conform/data/regex.h-data: Likewise.
8163 * conform/data/sched.h-data: Likewise.
8164 * conform/data/search.h-data: Likewise.
8165 * conform/data/semaphore.h-data: Likewise.
8166 * conform/data/setjmp.h-data: Likewise.
8167 * conform/data/signal.h-data: Likewise.
8168 * conform/data/spawn.h-data: Likewise.
8169 * conform/data/stdarg.h-data: Likewise.
8170 * conform/data/stdio.h-data: Likewise.
8171 * conform/data/stdlib.h-data: Likewise.
8172 * conform/data/string.h-data: Likewise.
8173 * conform/data/strings.h-data: Likewise.
8174 * conform/data/stropts.h-data: Likewise.
8175 * conform/data/sys/ipc.h-data: Likewise.
8176 * conform/data/sys/mman.h-data: Likewise.
8177 * conform/data/sys/msg.h-data: Likewise.
8178 * conform/data/sys/resource.h-data: Likewise.
8179 * conform/data/sys/select.h-data: Likewise.
8180 * conform/data/sys/sem.h-data: Likewise.
8181 * conform/data/sys/shm.h-data: Likewise.
8182 * conform/data/sys/socket.h-data: Likewise.
8183 * conform/data/sys/stat.h-data: Likewise.
8184 * conform/data/sys/statvfs.h-data: Likewise.
8185 * conform/data/sys/time.h-data: Likewise.
8186 * conform/data/sys/timeb.h-data: Likewise.
8187 * conform/data/sys/times.h-data: Likewise.
8188 * conform/data/sys/types.h-data: Likewise.
8189 * conform/data/sys/uio.h-data: Likewise.
8190 * conform/data/sys/un.h-data: Likewise.
8191 * conform/data/sys/utsname.h-data: Likewise.
8192 * conform/data/sys/wait.h-data: Likewise.
8193 * conform/data/syslog.h-data: Likewise.
8194 * conform/data/tar.h-data: Likewise.
8195 * conform/data/termios.h-data: Likewise.
8196 * conform/data/utime.h-data: Likewise.
8197 * conform/data/utmpx.h-data: Likewise.
8198 * conform/data/varargs.h-data: Likewise.
8199 * conform/data/wchar.h-data: Likewise.
8200 * conform/data/wctype.h-data: Likewise.
8201 * conform/data/wordexp.h-data: Likewise.
8202
8203 * include/stropts.h: New file.
8204 * include/uchar.h: New file.
8205 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8206 * include/assert.h: Likewise.
8207 * include/ctype.h: Likewise.
8208 * include/dirent.h: Likewise.
8209 * include/dlfcn.h: Likewise.
8210 * include/fcntl.h: Likewise.
8211 * include/fnmatch.h: Likewise.
8212 * include/glob.h: Likewise.
8213 * include/grp.h: Likewise.
8214 * include/libio.h: Likewise.
8215 * include/locale.h: Likewise.
8216 * include/math.h: Likewise.
8217 * include/net/if.h: Likewise.
8218 * include/netdb.h: Likewise.
8219 * include/netinet/in.h: Likewise.
8220 * include/pthread.h: Likewise.
8221 * include/pwd.h: Likewise.
8222 * include/regex.h: Likewise.
8223 * include/sched.h: Likewise.
8224 * include/search.h: Likewise.
8225 * include/setjmp.h: Likewise.
8226 * include/signal.h: Likewise.
8227 * include/stdio.h: Likewise.
8228 * include/stdlib.h: Likewise.
8229 * include/string.h: Likewise.
8230 * include/sys/cdefs.h: Likewise.
8231 * include/sys/mman.h: Likewise.
8232 * include/sys/msg.h: Likewise.
8233 * include/sys/resource.h: Likewise.
8234 * include/sys/select.h: Likewise.
8235 * include/sys/socket.h: Likewise.
8236 * include/sys/stat.h: Likewise.
8237 * include/sys/statvfs.h: Likewise.
8238 * include/sys/time.h: Likewise.
8239 * include/sys/times.h: Likewise.
8240 * include/sys/uio.h: Likewise.
8241 * include/sys/utsname.h: Likewise.
8242 * include/sys/wait.h: Likewise.
8243 * include/termios.h: Likewise.
8244 * include/time.h: Likewise.
8245 * include/ulimit.h: Likewise.
8246 * include/unistd.h: Likewise.
8247 * include/utime.h: Likewise.
8248 * include/wchar.h: Likewise.
8249 * include/wctype.h: Likewise.
8250 * include/wordexp.h: Likewise.
8251
8252 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8253
7a270350
UD
8254 * time/time.h: TIME_UTC must be a macro.
8255 Make timespec_get available for ISO C11 only as well.
8256
7724defc
UD
82572012-02-24 Ulrich Drepper <drepper@gmail.com>
8258
8259 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8260 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8261
6b1d1d46
JM
82622012-02-24 Joseph Myers <joseph@codesourcery.com>
8263
8264 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8265
0f8bbd69
JM
82662012-02-24 Joseph Myers <joseph@codesourcery.com>
8267
8268 * manual/texinfo.tex: Update to version 2012-01-19.16.
8269
66ab80bc
JM
82702012-02-24 Joseph Myers <joseph@codesourcery.com>
8271
8272 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8273
74981cc5
RM
82742012-02-24 Roland McGrath <roland@hack.frob.com>
8275
ee968201
RM
8276 [BZ #13738]
8277 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8278 * manual/fdl-1.3.texi: New file.
8279 * manual/fdl-1.1.texi: File removed.
8280
74981cc5
RM
8281 [BZ #13738]
8282 * manual/libc.texinfo (FDL_VERSION): New @set.
8283 Use it for mention of FDL in cover text.
8284 (Documentation License): Use it in @include file name.
8285
7bb764bc
JM
82862012-02-22 Joseph Myers <joseph@codesourcery.com>
8287 Roland McGrath <roland@hack.frob.com>
8288
8289 [BZ #5461]
8290 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8291 not LONG_LONG_MAX and LONG_LONG_MIN.
8292 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8293 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8294 name.
8295 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8296
6cbeae47
JM
82972012-02-22 Joseph Myers <joseph@codesourcery.com>
8298
8299 [BZ #2547]
8300 [BZ #11365]
8301 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8302 manipulate bits before adding and subtracting TWO23[sx].
8303 * math/libm-test.inc (nearbyint_test): Add more tests.
8304
fe45ce09
JM
83052012-02-22 Joseph Myers <joseph@codesourcery.com>
8306
8307 [BZ #2548]
8308 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8309 bits before adding and subtracting TWO23[sx].
8310 * math/libm-test.inc (rint_test): Add more tests.
8311 (rint_test_tonearest): Likewise.
8312 (rint_test_towardzero): Likewise.
8313 (rint_test_downward): Likewise.
8314 (rint_test_upward: Likewise.
8315
ff3b3d82
JM
83162012-02-22 Joseph Myers <joseph@codesourcery.com>
8317
8318 [BZ #10110]
8319 * include/stdc-predef.h: New file. Extracted from features.h.
8320 * include/features.h: Include stdc-predef.h.
8321 * Makefile (headers): Add stdc-predef.h.
8322 * CONFORMANCE (Compiler limitations): Update.
8323
ef0aab35
JM
83242012-02-22 Joseph Myers <joseph@codesourcery.com>
8325
8326 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8327
58639409
DM
83282012-02-21 David S. Miller <davem@davemloft.net>
8329
8330 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8331 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8332
c0e70b25
DM
83332012-02-20 David S. Miller <davem@davemloft.net>
8334
8335 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8336 using a normal save/restore sequence, rather than allocating a
8337 dummy stack frame just to store a frame pointer and restore.
8338 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8339
fb06851d
JM
83402012-02-21 Joseph Myers <joseph@codesourcery.com>
8341
8342 * manual/install.texi: Fix stray word in line-wrapped comment.
8343
7a8b71c3
DM
83442012-02-20 David S. Miller <davem@davemloft.net>
8345
d510c123
DM
8346 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8347 both binutils and gcc support GOTDATA.
8348
0722d7c2
DM
8349 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8350 "rd %pc" in the PIC register setup sequences.
8351
3d2b3019
DM
8352 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8353 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8354 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8355 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8356 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8357 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8358 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8359 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8360 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8361 (SYSCALL_ERROR_HANDLER): Likewise.
8362 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8363 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8364 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8365 (SYSCALL_ERROR_HANDLER): Likewise.
8366
c80098a9
DM
8367 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8368 (HAVE_GCC_GOTDATA): New.
8369 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8370 relocation support in both binutils and gcc.
8371 * sysdeps/sparc/elf/configure: Regenerate.
8372
3a2545a0
DM
8373 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8374 * sysdeps/sparc/sparc32/elf/configure: Delete.
8375 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8376 * sysdeps/sparc/sparc64/elf/configure: Delete.
8377 * sysdeps/sparc/elf/configure.in: New file.
8378 * sysdeps/sparc/elf/configure: Generate.
8379
7a8b71c3
DM
8380 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8381 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8382 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8383 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8384 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8385
f1e86fca
JM
83862012-02-21 Joseph Myers <joseph@codesourcery.com>
8387
8388 * manual/install.texi: Do not mention specific glibc version
8389 numbers.
8390 * manual/libc.texinfo (VERSION, UPDATED): Update.
8391 (@copying): Use @copyright{} and range of years.
8392
0e7dfaef
JM
83932012-02-21 Joseph Myers <joseph@codesourcery.com>
8394
8395 [BZ #13695]
8396 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8397 [crti.S not in sysdirs] (generated): Do not append.
8398 [crti.S not in sysdirs] (omit-deps): Likewise.
8399 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8400 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8401 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8402 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8403 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8404 Likewise.
8405 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8406 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8407 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8408 * csu/defs.awk: Remove file.
8409 * sysdeps/generic/initfini.c: Likewise.
8410 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8411 variable.
8412 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8413 Likewise.
8414
599af3ca
JM
84152012-02-20 Joseph Myers <joseph@codesourcery.com>
8416
8417 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8418 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8419 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8420 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8421 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8422 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8423 <bits/epoll.h>.
8424 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8425 (__EPOLL_PACKED): Define to empty if not defined by
8426 <bits/epoll.h>.
8427 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8428 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8429 bits/epoll.h.
8430
0e499750
JM
84312012-02-20 Joseph Myers <joseph@codesourcery.com>
8432
8433 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8434 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8435 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8436 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8437 <bits/timerfd.h>.
8438 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8440 bits/timerfd.h.
8441
5ad91f6e
JM
84422012-02-20 Joseph Myers <joseph@codesourcery.com>
8443
8444 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8445 in C locale.
8446 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8447 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8448 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8450
06b99b02
AJ
84512012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8452
8453 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8454 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8455
7638c0fd
AS
84562012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8457
8458 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8459 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8460 defined.
8461 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8462 Likewise.
8463 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8464 entry for 2.16.
8465
92221550
AJ
84662012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8467
8468 * math/w_acos.c: Use non-signaling floating-point comparisons.
8469 * math/w_acosf.c: Likewise.
8470 * math/w_acosh.c: Likewise.
8471 * math/w_acoshf.c: Likewise.
8472 * math/w_acoshl.c: Likewise.
8473 * math/w_acosl.c: Likewise.
8474 * math/w_asin.c: Likewise.
8475 * math/w_asinf.c: Likewise.
8476 * math/w_asinl.c: Likewise.
8477 * math/w_atanh.c: Likewise.
8478 * math/w_atanhf.c: Likewise.
8479 * math/w_atanhl.c: Likewise.
8480 * math/w_exp2.c: Likewise.
8481 * math/w_exp2f.c: Likewise.
8482 * math/w_exp2l.c: Likewise.
8483 * math/w_j0.c: Likewise.
8484 * math/w_j0f.c: Likewise.
8485 * math/w_j0l.c: Likewise.
8486 * math/w_j1.c: Likewise.
8487 * math/w_j1f.c: Likewise.
8488 * math/w_j1l.c: Likewise.
8489 * math/w_jn.c: Likewise.
8490 * math/w_jnf.c: Likewise.
8491 * math/w_log.c: Likewise.
8492 * math/w_log10.c: Likewise.
8493 * math/w_log10f.c: Likewise.
8494 * math/w_log10l.c: Likewise.
8495 * math/w_log2.c: Likewise.
8496 * math/w_log2f.c: Likewise.
8497 * math/w_log2l.c: Likewise.
8498 * math/w_logf.c: Likewise.
8499 * math/w_logl.c: Likewise.
8500 * math/w_sqrt.c: Likewise.
8501 * math/w_sqrtf.c: Likewise.
8502 * math/w_sqrtl.c: Likewise.
8503 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8504 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8505 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8506 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8507 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8508
ebaf36eb
JM
85092012-02-19 Joseph Myers <joseph@codesourcery.com>
8510
8511 [BZ #9739]
8512 * manual/string.texi (strnlen): Use correct parameter name in
8513 equivalent expression.
8514
71c254a6
JM
85152012-02-19 Joseph Myers <joseph@codesourcery.com>
8516
8517 [BZ #11174]
8518 * manual/users.texi (seteuid): Consistently use neweuid for
8519 argument name.
8520
16d2c631
JM
85212012-02-19 Joseph Myers <joseph@codesourcery.com>
8522
8523 [BZ #13704]
8524 * manual/nss.texi (Services in the NSS configuration): Correct
8525 list of services in example configuration file.
8526
cd837b09
NB
85272012-02-19 Nick Bowler <nbowler@draconx.ca>
8528
8529 [BZ #11322]
8530 * manual/arith.texi: Remove statements about negative zero
8531 behaving identically to zero.
8532
02c4bbad
JM
85332012-02-18 Joseph Myers <joseph@codesourcery.com>
8534
8535 [BZ #5993]
8536 * manual/install.texi: Do not document upgrading from libc5.
8537
366842e7
JM
85382012-02-18 Joseph Myers <joseph@codesourcery.com>
8539
8540 [BZ #4596]
8541 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8542
dd54084d
DM
85432012-02-18 David S. Miller <davem@davemloft.net>
8544
8545 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8546 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8547 %o7 across the call.
8548 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8549 instead.
8550 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8551 SETUP_PIC_REG_LEAF.
8552 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8553 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8554 * sysdeps/sparc/crtn.S: Likewise.
8555
2bcc53a3
UD
85562012-02-17 Ulrich Drepper <drepper@gmail.com>
8557
8558 * aout/Makefile: Remove.
8559
09c093b5
RK
85602012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8561
8562 [BZ #13058]
8563 * manual/examples/argp-ex1.c (main): Format definition in GNU
8564 style.
8565 * manual/examples/argp-ex2.c (main): Likewise.
8566 * manual/examples/argp-ex3.c (main): Likewise.
8567 * manual/examples/argp-ex4.c (main): Likewise.
8568 * manual/examples/longopt.c (main): Use new-style prototype
8569 definition.
8570 * manual/examples/strncat.c (main): Specify return type and use
8571 (void) for arguments.
8572 * manual/examples/subopt.c (main): Use char **argv argument.
8573
2ee633a2
JM
85742012-02-17 Joseph Myers <joseph@codesourcery.com>
8575
8576 [BZ #5077]
8577 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8578 rounding modes.
8579
0520adde
FB
85802012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8581
8582 [BZ #6907]
8583 * manual/string.texi (strchr): Change when strchrnul is
8584 recommended.
8585
3f4081cd
DGM
85862012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8587
8588 [BZ #174]
8589 * manual/locale.texi (setlocale): Document LOCPATH.
8590
d1b10e78
JM
85912012-02-17 Joseph Myers <joseph@codesourcery.com>
8592
8593 [BZ #10210]
8594 * manual/process.texi (execle): Move @dots{} before last argument.
8595
79c6869c
PB
85962012-02-17 Paul Bolle <pebolle@tiscali.nl>
8597
8598 [BZ #12047]
8599 * manual/charset.texi (Generic Charset Conversion): Fix typo
8600 (LC_TYPE -> LC_CTYPE).
8601
cc6e48bc
NB
86022012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8603
8604 [BZ #5805]
8605 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8606 (scalbnf): Likewise.
8607 (scalbnl): Likewise.
8608 (scalbln): Likewise.
8609 (scalblnf): Likewise.
8610 (scalblnl): Likewise.
8611 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8612 (vwarnx): Likewise.
8613 (verr): Likewise.
8614 (verrx): Likewise.
8615 * manual/filesys.texi (telldir): Use braces around return type.
8616 * manual/llio.texi (mmap): Add space after comma.
8617 (mmap64): Likewise.
8618 * manual/math.texi (jn): Use @var{} on parameter names.
8619 (jnf): Likewise.
8620 (jnl): Likewise.
8621 (yn): Likewise.
8622 (ynf): Likewise.
8623 (ynl): Likewise.
8624 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8625 line.
8626 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8627 "...".
8628 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8629 (sched_get_priority_max): Likewise.
8630 * manual/signal.texi (sigvec): Add space after comma.
8631 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8632 names.
8633 (if_indextoname): Likewise.
8634 (if_freenameindex): Likewise.
8635 (sendto): Use ',' instead of '.' in prototype.
8636 * manual/startup.texi (syscall): Use @dots{} instead of literal
8637 "...".
8638 * manual/stdio.texi (__fpending): Separate initial words of
8639 paragraph from @deftypefun line.
8640 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8641 "...".
8642 (vsyslog): Use @var{} on parameter names.
8643 * manual/terminal.texi (stty): Use @var{} on parameter names.
8644 * manual/users.texi (getutmp): Use @var{} on parameter names.
8645 (getutmpx): Likewise.
8646
5b23062f
JM
86472012-02-17 Joseph Myers <joseph@codesourcery.com>
8648
8649 [BZ #6884]
8650 * manual/stdio.texi (fopen): Fix typos in description of
8651 ",ccs=STRING".
8652
8dee4833
AJ
86532012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8654
8655 [BZ #4026]
8656 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8657 get clock_id definition.
8658
9078ce93
TS
86592012-02-17 Thomas Schwinge <thomas@schwinge.name>
8660
8661 [BZ #4822]
8662 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8663 (madvise): Cast every argument to void on its own.
8664
3835c55f
JM
86652012-02-17 Joseph Myers <joseph@codesourcery.com>
8666
8667 [BZ #9902]
8668 * manual/startup.texi (Exit Status): Fix typo.
8669
35c47e37
JM
86702012-02-17 Joseph Myers <joseph@codesourcery.com>
8671
8672 [BZ #10140]
8673 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8674 * manual/examples/argp-ex2.c: Likewise.
8675 * manual/examples/argp-ex3.c: Likewise.
8676
e3b69ca7
RH
86772012-02-16 Richard Henderson <rth@redhat.com>
8678
8679 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8680 * sysdeps/s390/s390-32/initfini.c: Remove.
8681 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8682 * sysdeps/s390/s390-64/initfini.c: Remove.
8683
df83af67
KK
86842012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8685
8686 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8687 compiler output for sysdeps/generic/initfini.c.
8688 * sysdeps/sh/elf/initfini.c: Remove file.
8689
f63f3380
DM
86902012-02-16 David S. Miller <davem@davemloft.net>
8691
fb59b3a4
DM
8692 [BZ #11494]
8693 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8694
f63f3380
DM
8695 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8696 * sysdeps/sparc/crti.S: New file.
8697 * sysdeps/sparc/crtn.S: New file.
8698 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8699 * sysdeps/sparc/sparc64/Makefile: Likewise.
8700
df6a4a4a
MF
87012012-02-15 Mike Frysinger <vapier@gentoo.org>
8702
6dd8f3dc 8703 [BZ #3335]
df6a4a4a
MF
8704 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8705
1cac7236
RM
87062012-02-15 Roland McGrath <roland@hack.frob.com>
8707
d2c736f8
RM
8708 [BZ #4822]
8709 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8710
1cac7236
RM
8711 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8712 (write, read, close): Likewise.
8713 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8714
8e475601
JM
87152012-02-15 Joseph Myers <joseph@codesourcery.com>
8716
8717 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8718 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8719 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8720 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8721 <bits/signalfd.h>.
8722 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8724 bits/signalfd.h.
8725
ed656b40
MP
87262012-02-14 Marek Polacek <polacek@redhat.com>
8727
8728 * sysdeps/x86_64/crti.S: New file.
8729 * sysdeps/x86_64/crtn.S: New file.
8730 * sysdeps/x86_64/elf/initfini.c: Remove file.
8731
2a979d3a
JM
87322012-02-13 Joseph Myers <joseph@codesourcery.com>
8733
8734 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8735 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8736 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8737 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8738 <bits/inotify.h>.
8739 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8741 bits/inotify.h.
8742
2a418ac3
JM
87432012-02-13 Joseph Myers <joseph@codesourcery.com>
8744
8745 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8746 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8747 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8748 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8749 <bits/eventfd.h>.
8750 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8751 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8752 bits/eventfd.h.
8753
fb779be7
TS
87542012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8755
e19e83c5
RM
8756 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8757 __feraiseexcept instead of feraiseexcept.
7c35ffed 8758
fb779be7
TS
8759 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8760 nanosleep invocations.
8761 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8762 strings, and add error checking for a nanosleep invocations.
8763
59ba27a6
PE
87642012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8765
8766 Replace FSF snail mail address with URLs, as per GNU coding standards.
8767 Most of the snail mail addresses were wrong anyway, and omitting
8768 them makes the source code easier to maintain. Almost all of the
8769 changes are to license notices and to locale LC_IDENTIFICATION
8770 addresses, except for this one:
8771 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8772 not its snail mail address.
8773
57b957eb
RH
87742012-02-09 Richard Henderson <rth@twiddle.net>
8775
af850b1c
RH
8776 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8777 of kernel-features.h.
8778
57b957eb
RH
8779 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8780
6b73181a
MP
87812012-02-08 Marek Polacek <polacek@redhat.com>
8782
8783 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8784 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8785 * sysdeps/gnu/_G_config.h: Likewise.
8786 * sysdeps/generic/_G_config.h: Likewise.
8787
26ecc33a
AS
87882012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8789
6c6dbc63
AS
8790 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8791 tests.
8792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8793
e216c012
AS
8794 * sysdeps/powerpc/powerpc32/crti.S: New file.
8795 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8796 * sysdeps/powerpc/powerpc64/crti.S: New file.
8797 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8798
26ecc33a
AS
8799 * Makeconfig (have-initfini): Don't set.
8800 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8801 * configure.in (nopic_initfini): Don't substitute.
8802 * config.h.in (HAVE_INITFINI): Don't #undef.
8803 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8804 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8805
3add8e13
JM
88062012-02-08 Joseph Myers <joseph@codesourcery.com>
8807
8808 Support crti.S and crtn.S provided directly by architectures.
8809 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8810 [crti.S in sysdirs] (omit-deps): Likewise.
8811 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8812 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8813 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8814 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8815 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8816 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8817 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8818 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8819 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8820 compiler output for sysdeps/generic/initfini.c.
8821 * sysdeps/i386/elf/Makefile: Remove file.
8822 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8823
a22f12b4
MP
88242012-02-07 Marek Polacek <polacek@redhat.com>
8825
8826 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8827 * sysdeps/gnu/_G_config.h: Likewise.
8828 * sysdeps/mach/hurd/_G_config.h: Likewise.
8829
148cf100
MP
88302012-02-07 Marek Polacek <polacek@redhat.com>
8831
8832 * math/Makefile (tests): Add tst-CMPLX2.
8833 * math/tst-CMPLX2.c: New file.
8834
cfdc0dd7
AS
88352012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8836
84ba42c4
AS
8837 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8838
cfdc0dd7
AS
8839 * math/libm-test.inc (jn_test): Add missing L suffix.
8840
622c86f4
MP
88412012-02-06 Marek Polacek <polacek@redhat.com>
8842
8843 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8844 * sysdeps/i386/fpu/e_powf.S: Likewise.
8845 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8846 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8847 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8848 * sysdeps/i386/fpu/e_pow.S: Likewise.
8849 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8850 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8851 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8852 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8853 * sysdeps/i386/fpu/e_log2.S: Likewise.
8854 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8855 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8856 * sysdeps/i386/fpu/e_powl.S: Likewise.
8857 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8858 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8859 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8860 * sysdeps/i386/fpu/e_logl.S: Likewise.
8861 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8862 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8863 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8864 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8865 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8866 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8867 * sysdeps/i386/fpu/e_log.S: Likewise.
8868 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8869 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8870 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8871 * sysdeps/i386/fpu/e_logf.S: Likewise.
8872 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8873 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8874 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8875 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8876 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8877 * sysdeps/i386/fpu/e_log10.S: Likewise.
8878 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8879 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8880 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8881 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8882 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8883 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8884 * sysdeps/i386/asm-syntax.h: Likewise.
8885 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8886 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8887 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8888 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8889 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8890 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8891 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8892 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8893 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8894 * sysdeps/powerpc/sysdep.h: Likewise.
8895 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8896 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8897
d4a54ac6
JM
88982012-02-06 Joseph Myers <joseph@codesourcery.com>
8899
8900 [BZ #411]
8901 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8902
314054ea
JM
89032012-02-06 Joseph Myers <joseph@codesourcery.com>
8904
8905 * sysdeps/i386/sysdep.h: Include <features.h>.
8906 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8907 version.
8908
d8e0ca50
JM
89092012-02-05 Joseph Myers <joseph@codesourcery.com>
8910
8911 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8912 Define.
8913 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8914 LOAD_PIC_REG_STR.
8915
b1da7dd9
JM
89162012-02-03 Joseph Myers <joseph@codesourcery.com>
8917
8918 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8919 (SETUP_PIC_REG): Use GET_PC_THUNK.
8920 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8921 macro.
8922
9a1d9254
JM
89232012-02-03 Joseph Myers <joseph@codesourcery.com>
8924
8925 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8926 for non-PIC compilation.
8927 (SETUP_PIC_REG): Add .p2align directive.
8928 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8929 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8930 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8931 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8932 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8933 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8934 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8935 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8936 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8937 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8938 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8939 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8940 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8941 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8942 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8943 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8944 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8945 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8946 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8947 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8948 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8949 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8950 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8951 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8952 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8953 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8954 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8955 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8956 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8957 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8958 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8959 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8960 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8961 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8962 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8963 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8964 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8965 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8966 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8967 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8968 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8969
65dc3b75
JM
89702012-02-03 Joseph Myers <joseph@codesourcery.com>
8971
8972 * math/tst-CMPLX.c: Include <stdio.h>.
8973
d55bf177
JM
89742012-01-31 Joseph Myers <joseph@codesourcery.com>
8975
8976 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8977 float.
8978 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8979 * sysdeps/sparc/bits/mathdef.h: Likewise.
8980
69db4f8f
MP
89812012-01-31 Marek Polacek <polacek@redhat.com>
8982
8983 * libio/libio.h: Don't define _PARAMS.
8984 * locale/programs/config.h: Don't define PARAMS.
8985 * stdlib/strtol_l.c: Likewise.
8986 (__strtol_l): Remove PARAMS from the prototype.
8987
41b81892
UD
89882012-01-31 Ulrich Drepper <drepper@gmail.com>
8989
3b49edc0
UD
8990 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8991 names. Just use the correct names. Remove unnecessary wrapper
8992 functions.
8993 * malloc/arena.c: Likewise.
8994 * malloc/hooks.c: Likewise.
8995
41b81892
UD
8996 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8997 ARENA_TEST says not to. Simplify test for creation of a new arena.
8998 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8999
27a25b6e
UD
90002012-01-30 Ulrich Drepper <drepper@gmail.com>
9001
9002 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9003 into tail calls.
9004 (update_get_addr): New function.
9005 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9006 GET_ADDR_MODULE parameter.
9007
c8a89e7d
JM
90082012-01-30 Joseph Myers <joseph@codesourcery.com>
9009
9010 * crypt/cert.c: Remove __STDC__ conditionals.
9011 * crypt/crypt-entry.c: Likewise.
9012 * crypt/crypt_util.c: Likewise.
9013 * libio/filedoalloc.c: Likewise.
9014 * libio/fileops.c: Likewise.
9015 * libio/genops.c: Likewise.
9016 * libio/iofclose.c: Likewise.
9017 * libio/iofdopen.c: Likewise.
9018 * libio/iofopen.c: Likewise.
9019 * libio/iofopen64.c: Likewise.
9020 * libio/iogetdelim.c: Likewise.
9021 * libio/iopopen.c: Likewise.
9022 * libio/obprintf.c: Likewise.
9023 * libio/oldfileops.c: Likewise.
9024 * libio/oldiofclose.c: Likewise.
9025 * libio/oldiofdopen.c: Likewise.
9026 * libio/oldiofopen.c: Likewise.
9027 * libio/oldiopopen.c: Likewise.
9028 * libio/wfiledoalloc.c: Likewise.
9029 * libio/wgenops.c: Likewise.
9030 * locale/programs/xmalloc.c: Likewise.
9031 * misc/syslog.c: Likewise.
9032 * stdio-common/xbug.c: Likewise.
9033 * string/memchr.c: Likewise.
9034 * string/memcmp.c: Likewise.
9035 * string/memrchr.c: Likewise.
9036 * string/rawmemchr.c: Likewise.
9037 * sysdeps/posix/getcwd.c: Likewise.
9038 * time/strftime_l.c: Likewise.
9039
3b100462
JM
90402012-01-30 Joseph Myers <joseph@codesourcery.com>
9041
9042 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9043 * config.make.in (config-cflags-sse2avx): Define.
9044 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9045 Fix typo.
9046
607998af
CM
90472012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9048
9049 * scripts/config.guess: Update from upstream config git repository.
9050 * scripts/config.sub: Likewise.
9051
3601428f
CM
90522012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9053
3ac8b282
CM
9054 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9055 (EM_NUM): Update.
9056 (R_TILEPRO_*, R_TILEGX_*): New macros.
9057
e034841e
CM
9058 * scripts/firstversions.awk: Fix bug in version range handling.
9059
540d7568
CM
9060 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9061
3601428f
CM
9062 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9063
463de862
CM
9064 * include/sys/epoll.h: New file.
9065 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9066 libc_hidden_def.
9067
73139a76
UD
90682012-01-28 Ulrich Drepper <drepper@gmail.com>
9069
96bc5b45
UD
9070 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9071 Avoid unnecessary __WORDSIZE == 64 test.
9072 (fmaxf): Use VEX format if possible.
9073 (fmax): Likewise.
9074 (fminf): Likewise.
9075 (fmin): Likewise.
9076
56f6f6a2
UD
9077 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9078 * math/math_private.h: Remove libc_fegetround* and
9079 libc_fesetround*.
9080 * sysdeps/i386/configure.in: Check for -msse2avx.
9081 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9082 also if SSE2AVX is defined.
9083 Remove libc_fegetround* and libc_fesetround*.
9084 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9085 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9086 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9087 of HAS_YMM_USABLE.
9088 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9089 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9090 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9091 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9092 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9093
73139a76
UD
9094 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9095
d73f93a4
AZ
90962012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9097
9098 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9099 size is not set.
9100 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9101
6ee65ed6
UD
91022012-01-27 Ulrich Drepper <drepper@gmail.com>
9103
9104 [BZ #13618]
9105 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9106 relocation.
9107 * Makeconfig (libm): Define.
9108 * elf/Makefile: Add rules to build and run tst-relsort1.
9109 * elf/tst-relsort1.c: New file.
9110 * elf/tst-relsort1mod1.c: New file.
9111 * elf/tst-relsort1mod2.c: New file.
9112
8db21882
JM
91132012-01-27 Joseph Myers <joseph@codesourcery.com>
9114
9115 * math/s_ldexp.c: Remove __STDC__ conditionals.
9116 * math/s_ldexpf.c: Likewise.
9117 * math/s_ldexpl.c: Likewise.
9118 * math/s_nextafter.c: Likewise.
9119 * math/s_nexttowardf.c: Likewise.
9120 * math/s_significand.c: Likewise.
9121 * math/s_significandf.c: Likewise.
9122 * math/s_significandl.c: Likewise.
9123 * math/w_jnl.c: Likewise.
9124 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9125 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9126 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9127 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9128 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9129 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9130 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9131 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9132 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9133 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9134 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9135 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9136 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9137 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9138 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9139 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9140 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9141 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9142 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9143 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9144 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9145 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9146 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9147 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9148 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9149 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9150 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9151 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9152 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9153 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9154 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9155 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9156 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9157 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9158 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9159 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9160 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9161 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9162 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9163 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9164 * sysdeps/ieee754/k_standard.c: Likewise.
9165 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9166 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9167 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9168 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9169 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9170 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9171 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9172 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9173 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9174 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9175 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9176 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9177 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9178 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9179 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9180 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9181 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9182 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9183 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9184 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9185 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9186 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9187 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9188 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9189 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9190 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9191 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9192 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9193 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9194 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9195 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9196 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9197 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9198 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9199 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9200 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9201 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9202 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9203 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9204 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9205 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9207 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9208 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9209 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9210 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9211 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9212 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9213 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9214 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9215 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9216 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9217 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9218 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9219 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9220 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9221 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9222 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9223 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9224 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9225 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9226 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9227 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9228 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9229 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9230 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9231 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9232 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9233 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9234 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9235 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9236 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9237 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9238 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9239 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9240 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9241 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9242 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9243 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9244 * sysdeps/ieee754/s_matherr.c: Likewise.
9245 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9246 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9247 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9248 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9249
965a54a4
JM
92502012-01-26 Joseph Myers <joseph@codesourcery.com>
9251
9252 * crypt/md5.h: Remove __STDC__ conditionals.
9253 * libio/libioP.h: Likewise.
9254 * locale/programs/config.h: Likewise.
9255 * sysdeps/generic/sysdep.h: Likewise.
9256 * sysdeps/i386/asm-syntax.h: Likewise.
9257 * sysdeps/s390/asm-syntax.h: Likewise.
9258 * sysdeps/unix/sysdep.h: Likewise.
9259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9261
7071ad79
JM
92622012-01-26 Joseph Myers <joseph@codesourcery.com>
9263
9264 * libio/libio.h: Remove __STDC__ conditionals.
9265 * malloc/obstack.h: Likewise.
9266 * math/complex.h: Likewise.
9267 * math/math.h: Likewise.
9268 * sysdeps/generic/_G_config.h: Likewise.
9269 * sysdeps/gnu/_G_config.h: Likewise.
9270 * sysdeps/mach/hurd/_G_config.h: Likewise.
9271 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9272 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9273 * sysdeps/sparc/bits/mathdef.h: Likewise.
9274
afc5ed09
UD
92752012-01-26 Ulrich Drepper <drepper@gmail.com>
9276
9277 [BZ #13583]
9278 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9279 Clean up HAS_* macros.
afc5ed09 9280 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9281 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9282 possible.
9283 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9284 HAS_AVX.
9285 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9286 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9287 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9288 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9289 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9290
bdb6de1d
JM
92912012-01-25 Joseph Myers <joseph@codesourcery.com>
9292
9293 * elf/tst-unique3.cc (gets): Remove declaration.
9294 * elf/tst-unique3lib.cc (gets): Likewise.
9295 * elf/tst-unique3lib2.cc (gets): Likewise.
9296 * elf/tst-unique4.cc (gets): Likewise.
9297
b15549e6
UD
92982012-01-24 Ulrich Drepper <drepper@gmail.com>
9299
9300 * include/stdio.h: Add C++ protection. Add gets declarations and
9301 definitions.
9302 * debug/tst-chk1.c: Don't declare gets here.
9303 * stdio-common/tst-gets.c: Likewise.
9304
a037381f
JM
93052012-01-24 Joseph Myers <joseph@codesourcery.com>
9306
9307 * posix/glob: Remove directory.
9308
f1d4aa75
JM
93092012-01-24 Joseph Myers <joseph@codesourcery.com>
9310
9311 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9312
81c0c964
PT
93132012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9314
9315 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9316 of the non-standard EPFNOSUPPORT.
9317
0ea698ae
ST
93182011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9319
9320 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9321 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9322 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9323
d220b117
UD
93242012-01-21 Ulrich Drepper <drepper@gmail.com>
9325
9326 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9327
3e1aa84e
UD
93282012-01-20 Ulrich Drepper <drepper@gmail.com>
9329
9330 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9331 transient errors.
9332 * nscd/grpcache.c (cache_addgr): Likewise.
9333 * nscd/hstcache.c (cache_addhst): Likewise.
9334 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9335 * nscd/pwdcache.c (cache_addpw): Likewise.
9336 * nscd/servicescache.c (cache_addserv): Likewise.
9337
400aa020
UD
93382012-01-16 Ulrich Drepper <drepper@gmail.com>
9339
d77e7869
UD
9340 * malloc/malloc.c: Various cleanups.
9341 * malloc/hooks.c: Likewise.
9342
400aa020
UD
9343 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9344 * stdlib/bug-fmtmsg1.c: New file.
9345
9346 * stdlib/fmtmsg.c (init): Add missing unlock.
9347 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9348
e0a309cf
MP
93492012-01-12 Marek Polacek <polacek@redhat.com>
9350
9351 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9352 and _GNU_SOURCE.
9353
929d11c7
WS
93542012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9355
9356 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9357 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9358 macro to ensure uniqueness of label name.
9359 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9360 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9361
41d0e869
UD
93622012-01-11 Ulrich Drepper <drepper@gmail.com>
9363
0cc5ed3b
UD
9364 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9365
41d0e869
UD
9366 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9367 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9368 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9369 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9370
a47a831a
UD
93712012-01-10 Ulrich Drepper <drepper@gmail.com>
9372
daa891c0
UD
9373 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9374
9375 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9376 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9377 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9378
e58ef0f2
UD
9379 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9380
a47a831a 9381 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9382 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9383 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9384 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9385
9386 * math/bits/math-finite.h: Add ldexp support.
9387
a0bfc9c7
MP
93882012-01-10 Marek Polacek <polacek@redhat.com>
9389
9390 * locale/programs/localedef.h (show_archive_content): Add noreturn
9391 attribute.
9392
d6e97a1d
UD
93932012-01-09 Ulrich Drepper <drepper@gmail.com>
9394
9395 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9396
d5835c26
UD
93972012-01-08 Ulrich Drepper <drepper@gmail.com>
9398
e5f484c6
UD
9399 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9400
d5835c26
UD
9401 * io/Makefile (headers): Add bits/poll2.h.
9402
d1f741e9
WS
94032011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9404
9405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9406 typo #include statement.
9407
ec09c1c4
UD
94082012-01-08 Ulrich Drepper <drepper@gmail.com>
9409
9410 * include/sys/cdefs.h: Define __attribute_alloc_size.
9411 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9412 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9413 * elf/pldd.c: Likewise.
9414 * iconv/iconv_charmap.c: Likewise.
9415 * iconv/iconvconfig.c: Likewise.
9416 * iconv/strtab.c: Likewise.
9417 * locale/programs/locale.c: Likewise.
9418 * locale/programs/localedef.h: Likewise.
9419 * locale/programs/simple-hash.c: Likewise.
9420 * nscd/nscd.h: Likewise.
9421 * nss/makedb.c: Likewise.
9422 * sysdeps/generic/ldconfig.h: Likewise.
9423 * locale/programs/localedef.c: Remove xmalloc prototype.
9424 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9425
20b38e03
PP
94262012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9427
9428 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9429 appropriate.
9430
a0da5fe1
UD
94312012-01-08 Ulrich Drepper <drepper@gmail.com>
9432
1d5a644a 9433 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9434 * math/tst-CMPLX.c: New file.
1d5a644a 9435
8784a6db
UD
9436 * math/complex.h (CMPLXL): Fix typo.
9437
d9a216c0
UD
9438 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9439 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9440 GLIBC_2.16.
9441 * debug/tst-chk1.c: Add poll and ppoll tests.
9442 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9443 * include/sys/poll.h: Add hidden proto for ppoll.
9444 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9445 * sysdeps/mach/hurd/ppoll.c: Likewise.
9446 * io/ppoll.c: Likewise.
9447 * debug/poll_chk.c: New file.
9448 * debug/ppoll_chk.c: New file.
9449 * include/bits/poll2.h: New file.
9450 * io/bits/poll2.h: New file.
9451
ac097f5c
UD
9452 [BZ #1350]
9453 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9454
2119dcfa
UD
9455 * configure.in: static is always set to yes. Remove.
9456 * config.make.in: Don't set build-static.
9457 * Makeconfig: Remove use of build-static.
9458 * dlfcn/Makefile: Likewise.
9459 * elf/Makefile: Likewise.
9460 * math/Makefile: Likewise.
9461 * misc/Makefile: Likewise.
9462 * nptl/Makefile: Likewise.
9463 * sysdeps/mach/hurd/Makefile: Likewise.
9464
121766a9
UD
9465 * configure.in: PWD_P is not used anymore.
9466 * config.make.in: Remove PWD_P entry.
9467
51a1d39c 9468 * configure.in: Remove last remnants of RANLIB.
8720d066 9469 No need to check for signed size_t anymore.
215f4bdc
UD
9470 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9471 and IA-64.
3857022a 9472 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9473 * aclocal.m4: Likewise.
9474
d3ed7225
UD
9475 * wcsmbs/mbrtoc16.c: Implement using towc function.
9476 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9477 * wcsmbs/wcsmbsload.c: Likewise.
9478 * iconv/gconv_simple.c: Likewise.
9479 * iconv/gconv_int.h: Likewise.
9480 * iconv/gconv_builtin.h: Likewise.
9481 * iconv/iconv_prog.c: Remove CHAR16 handling.
9482
9483 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9484
9485 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9486
a0da5fe1
UD
9487 * configure.in: Remove --with-elf and --enable-bounded options.
9488 Dont set base_machine for ia64. More non-ELF conditions removed.
9489 Remove testing and setting of leading underscore information.
9490 * config.make.in (build-bounded): Set to no.
9491 * config.h.in: Remove NO_UNDERSCORES entry.
9492 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9493 them.
9494 * csu/start.c: Remove !NO_UNDERSCORE code.
9495 * locale/localeinfo.h: Likewise.
9496 * sysdeps/generic/machine-gmon.h: Likewise.
9497 * sysdeps/generic/sysdep.h: Likewise.
9498 * sysdeps/i386/sysdep.h: Likewise.
9499 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9500 * sysdeps/mach/sysdep.h: Likewise.
9501 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9502 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9503 * sysdeps/sh/sysdep.h: Likewise.
9504 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9505 * sysdeps/unix/i386/sysdep.S: Likewise.
9506 * sysdeps/unix/sparc/start.c: Likewise.
9507 * sysdeps/unix/sparc/sysdep.S: Likewise.
9508 * sysdeps/unix/sparc/sysdep.h: Likewise.
9509 * sysdeps/unix/start.c: Likewise.
9510 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9511 * sysdeps/x86_64/sysdep.h: Likewise.
9512
df78418a
UD
95132012-01-07 Ulrich Drepper <drepper@gmail.com>
9514
a784e502
UD
9515 [BZ #13553]
9516 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9517 for non-gcc.
9518 * argp/argp-fmtstream.h: Use const instead __const.
9519 * argp/argp.h: Likewise.
9520 * assert/assert.h: Likewise.
9521 * bits/fenv.h: Likewise.
9522 * bits/sched.h: Likewise.
9523 * bits/sigset.h: Likewise.
9524 * bits/sigthread.h: Likewise.
9525 * catgets/nl_types.h: Likewise.
9526 * conform/data/pthread.h-data: Likewise.
9527 * crypt/crypt-private.h: Likewise.
9528 * crypt/crypt.h: Likewise.
9529 * crypt/crypt_util.c: Likewise.
9530 * ctype/ctype.h: Likewise.
9531 * debug/execinfo.h: Likewise.
9532 * debug/mbsnrtowcs_chk.c: Likewise.
9533 * debug/mbsrtowcs_chk.c: Likewise.
9534 * debug/wcsnrtombs_chk.c: Likewise.
9535 * debug/wcsrtombs_chk.c: Likewise.
9536 * debug/wcstombs_chk.c: Likewise.
9537 * dirent/dirent.h: Likewise.
9538 * dlfcn/dlfcn.h: Likewise.
9539 * elf/neededtest4.c: Likewise.
9540 * grp/grp.h: Likewise.
9541 * gshadow/gshadow.h: Likewise.
9542 * iconv/gconv.h: Likewise.
9543 * iconv/gconv_int.h: Likewise.
9544 * iconv/gconv_simple.c: Likewise.
9545 * iconv/iconv.h: Likewise.
9546 * iconv/loop.c: Likewise.
9547 * iconv/skeleton.c: Likewise.
9548 * include/aio.h: Likewise.
9549 * include/aliases.h: Likewise.
9550 * include/argz.h: Likewise.
9551 * include/arpa/inet.h: Likewise.
9552 * include/assert.h: Likewise.
9553 * include/dirent.h: Likewise.
9554 * include/dlfcn.h: Likewise.
9555 * include/execinfo.h: Likewise.
9556 * include/fcntl.h: Likewise.
9557 * include/fenv.h: Likewise.
9558 * include/glob.h: Likewise.
9559 * include/grp.h: Likewise.
9560 * include/libintl.h: Likewise.
9561 * include/mntent.h: Likewise.
9562 * include/netdb.h: Likewise.
9563 * include/pwd.h: Likewise.
9564 * include/rpc/netdb.h: Likewise.
9565 * include/sched.h: Likewise.
9566 * include/search.h: Likewise.
9567 * include/shadow.h: Likewise.
9568 * include/signal.h: Likewise.
9569 * include/stdio.h: Likewise.
9570 * include/stdlib.h: Likewise.
9571 * include/string.h: Likewise.
9572 * include/sys/socket.h: Likewise.
9573 * include/sys/stat.h: Likewise.
9574 * include/sys/statfs.h: Likewise.
9575 * include/sys/statvfs.h: Likewise.
9576 * include/sys/syslog.h: Likewise.
9577 * include/sys/time.h: Likewise.
9578 * include/sys/uio.h: Likewise.
9579 * include/time.h: Likewise.
9580 * include/unistd.h: Likewise.
9581 * include/utmp.h: Likewise.
9582 * include/wchar.h: Likewise.
9583 * include/wctype.h: Likewise.
9584 * inet/aliases.h: Likewise.
9585 * inet/arpa/inet.h: Likewise.
9586 * inet/netinet/ether.h: Likewise.
9587 * inet/netinet/in.h: Likewise.
9588 * intl/libintl.h: Likewise.
9589 * io/bits/fcntl2.h: Likewise.
9590 * io/fcntl.h: Likewise.
9591 * io/ftw.h: Likewise.
9592 * io/sys/poll.h: Likewise.
9593 * io/sys/stat.h: Likewise.
9594 * io/sys/statfs.h: Likewise.
9595 * io/sys/statvfs.h: Likewise.
9596 * io/utime.h: Likewise.
9597 * libio/bits/stdio.h: Likewise.
9598 * libio/bits/stdio2.h: Likewise.
9599 * libio/libio.h: Likewise.
9600 * libio/libioP.h: Likewise.
9601 * libio/stdio.h: Likewise.
9602 * locale/lc-ctype.c: Likewise.
9603 * locale/locale.h: Likewise.
9604 * login/utmp.h: Likewise.
9605 * malloc/arena.c: Likewise.
9606 * malloc/malloc.c: Likewise.
9607 * malloc/malloc.h: Likewise.
9608 * malloc/mcheck.c: Likewise.
9609 * malloc/mtrace.c: Likewise.
9610 * math/bits/mathcalls.h: Likewise.
9611 * math/fenv.h: Likewise.
9612 * math/math_private.h: Likewise.
9613 * misc/bits/error.h: Likewise.
9614 * misc/bits/syslog.h: Likewise.
9615 * misc/err.h: Likewise.
9616 * misc/error.h: Likewise.
9617 * misc/fstab.h: Likewise.
9618 * misc/mntent.h: Likewise.
9619 * misc/regexp.h: Likewise.
9620 * misc/search.h: Likewise.
9621 * misc/sgtty.h: Likewise.
9622 * misc/sys/mman.h: Likewise.
9623 * misc/sys/syslog.h: Likewise.
9624 * misc/sys/uio.h: Likewise.
9625 * misc/sys/xattr.h: Likewise.
9626 * misc/ttyent.h: Likewise.
9627 * nis/rpcsvc/ypclnt.h: Likewise.
9628 * nss/nss.h: Likewise.
9629 * posix/bits/unistd.h: Likewise.
9630 * posix/fnmatch.h: Likewise.
9631 * posix/glob.h: Likewise.
9632 * posix/sched.h: Likewise.
9633 * posix/spawn.h: Likewise.
9634 * posix/sys/wait.h: Likewise.
9635 * posix/unistd.h: Likewise.
9636 * posix/wordexp.h: Likewise.
9637 * pwd/pwd.h: Likewise.
9638 * resolv/netdb.h: Likewise.
9639 * resource/sys/resource.h: Likewise.
9640 * rt/aio.h: Likewise.
9641 * rt/bits/mqueue2.h: Likewise.
9642 * rt/mqueue.h: Likewise.
9643 * shadow/shadow.h: Likewise.
9644 * signal/signal.h: Likewise.
9645 * socket/send.c: Likewise.
9646 * socket/sendto.c: Likewise.
9647 * socket/sys/socket.h: Likewise.
9648 * stdio-common/printf.h: Likewise.
9649 * stdlib/bits/stdlib.h: Likewise.
9650 * stdlib/fmtmsg.h: Likewise.
9651 * stdlib/monetary.h: Likewise.
9652 * stdlib/stdlib.h: Likewise.
9653 * stdlib/ucontext.h: Likewise.
9654 * streams/stropts.h: Likewise.
9655 * string/argz.h: Likewise.
9656 * string/bits/string2.h: Likewise.
9657 * string/string.h: Likewise.
9658 * string/strings.h: Likewise.
9659 * sunrpc/rpc/auth.h: Likewise.
9660 * sunrpc/rpc/auth_des.h: Likewise.
9661 * sunrpc/rpc/clnt.h: Likewise.
9662 * sunrpc/rpc/netdb.h: Likewise.
9663 * sunrpc/rpc/pmap_clnt.h: Likewise.
9664 * sunrpc/rpc/xdr.h: Likewise.
9665 * sysdeps/generic/inttypes.h: Likewise.
9666 * sysdeps/generic/net/if.h: Likewise.
9667 * sysdeps/generic/sys/swap.h: Likewise.
9668 * sysdeps/gnu/net/if.h: Likewise.
9669 * sysdeps/gnu/utmpx.h: Likewise.
9670 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9671 * sysdeps/i386/i486/bits/string.h: Likewise.
9672 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9673 * sysdeps/s390/bits/string.h: Likewise.
9674 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9675 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9676 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9677 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9678 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9679 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9680 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9681 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9682 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9683 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9684 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9685 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9686 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9687 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9688 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9689 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9690 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9691 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9692 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9693 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9694 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9695 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9696 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9697 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9698 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9699 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9700 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9701 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9702 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9703 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9704 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9705 * sysvipc/sys/ipc.h: Likewise.
9706 * sysvipc/sys/msg.h: Likewise.
9707 * sysvipc/sys/sem.h: Likewise.
9708 * sysvipc/sys/shm.h: Likewise.
9709 * termios/termios.h: Likewise.
9710 * time/sys/time.h: Likewise.
9711 * time/time.h: Likewise.
9712 * wcsmbs/bits/wchar2.h: Likewise.
9713 * wcsmbs/uchar.h: Likewise.
9714 * wcsmbs/wchar.h: Likewise.
9715 * wctype/wctype.h: Likewise.
9716
0269750c
UD
9717 [BZ #13551]
9718 * Makeconfig: Remove all but ELF support including AIX support.
9719 * Makerules: Likewise.
9720 * config.h.in: Likewise.
9721 * config.make.in: Likewise.
9722 * configure: Likewise.
9723 * configure.in: Likewise.
9724 * csu/Makefile: Likewise.
9725 * csu/version.c: Likewise.
9726 * debug/Makefile: Likewise.
9727 * dlfcn/Makefile: Likewise.
9728 * elf/Makefile: Likewise.
9729 * extra-lib.mk: Likewise.
9730 * iconv/Makefile: Likewise.
9731 * include/libc-symbols.h: Likewise.
9732 * include/shlib-compat.h: Likewise.
9733 * resolv/Makefile: Likewise.
9734 * resolv/res_libc.c: Likewise.
9735 * rt/Makefile: Likewise.
9736 * sysdeps/i386/asm-syntax.h: Likewise.
9737 * sysdeps/i386/sysdep.h: Likewise.
9738 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9739 * sysdeps/mach/sysdep.h: Likewise.
9740 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9741 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9742 * sysdeps/s390/asm-syntax.h: Likewise.
9743 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9744 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9745 * sysdeps/sh/sysdep.h: Likewise.
9746 * sysdeps/unix/sparc/sysdep.h: Likewise.
9747 * sysdeps/wordsize-32/divdi3.c: Likewise.
9748 * sysdeps/x86_64/sysdep.h: Likewise.
9749
00bbd29b
UD
9750 * argp/Versions: Remove _argp_unlock_xxx.
9751
9752 [BZ #13559]
9753 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9754 * abilist/libBrokenLocale.abilist: Likewise.
9755 * abilist/libanl.abilist: Likewise.
9756 * abilist/libc.abilist: Likewise.
9757 * abilist/libcrypt.abilist: Likewise.
9758 * abilist/libdl.abilist: Likewise.
9759 * abilist/libm.abilist: Likewise.
9760 * abilist/libnsl.abilist: Likewise.
9761 * abilist/libpthread.abilist: Likewise.
9762 * abilist/libresolv.abilist: Likewise.
9763 * abilist/librt.abilist: Likewise.
9764 * abilist/libthread_db.abilist: Likewise.
9765 * abilist/libutil.abilist: Likewise.
9766 * abilist/libnss_db.abilist: New file.
9767
9768 * scripts/abilist.awk: Add support for indirect functions.
9769
a2693a0e
UD
9770 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9771
3f05895f
UD
9772 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9773
ecb6fb48
UD
9774 * shlib-versions: Remove entries for ports architectures.
9775
664f8cb9
UD
9776 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9777 files in ports.
9778 * elf/stackguard-macros.h: Remove support for IA-64.
9779 * elf/tst-auditmod1.c: Likewise.
9780 * sysdeps/generic/ldsodefs.h: Likewise.
9781
7ae81d88
UD
9782 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9783 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9784 configure files.
9785
bdeba135
UD
9786 [BZ #13552]
9787 * configure.in: Remove --enable-omitfp support.
9788 * FAQ.in: Adjust.
9789 * config.make.in: Likewise.
9790 * Makeconfig: Likewise.
9791 * manual/install.texi: Likewise.
9792
d75a0a62
UD
9793 In case anyone cares, the IA-64 architecture could move to ports.
9794 * sysdeps/ia64/*: Removed.
9795 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9796 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9797
dcc9756b
UD
9798 [BZ #13555]
9799 * configure.in: Remove entries for unsupported architectures.
9800
d3761ebc 9801 [BZ #13533]
9954432e
UD
9802 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9803 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9804 routines.
9805 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9806 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9807 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9808 fall back to using wcrtomb.
9809 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9810 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9811 renaming.
9812 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9813 * wcsmbs/tst-c16c32-1.c: New file.
9814
9815 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9816 local variable.
9817
c3a87236
UD
9818 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9819
28926a1b
UD
9820 * elf/tst-unique3.cc: Add explicit declaration of gets.
9821 * elf/tst-unique3lib.cc: Likewise.
9822 * elf/tst-unique3lib2.cc: Likewise.
9823 * elf/tst-unique4.cc: Likewise.
9824
df78418a
UD
9825 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9826
8ecd6b2a
JM
98272012-01-06 Joseph Myers <joseph@codesourcery.com>
9828
9829 [BZ #13566]
9830 * assert/assert.h (static_assert): Don't define for C++.
9831 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9832 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9833
9f115170
UD
98342012-01-03 Ulrich Drepper <drepper@gmail.com>
9835
5e0d0300
UD
9836 * iconv/loop.c (single loop): Fix assertion in storing of
9837 remaining bytes.
9838
9f115170
UD
9839 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9840
81fb02b0
UD
98412012-01-01 Ulrich Drepper <drepper@gmail.com>
9842
9843 * posix/getconf.c: Update copyright year.
9844 * nss/getent.c: Likewise.
a316c1f6 9845 * nss/makedb.c: Likewise.
81fb02b0
UD
9846 * iconv/iconvconfig.c: Likewise.
9847 * iconv/iconv_prog.c: Likewise.
9848 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9849 * elf/pldd.c: Likewise.
9850 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9851 * catgets/gencat.c: Likewise.
9852 * csu/version.c: Likewise.
9853 * elf/ldd.bash.in: Likewise.
9854 * elf/sprof.c (print_version): Likewise.
9855 * locale/programs/locale.c: Likewise.
9856 * locale/programs/localedef.c: Likewise.
a316c1f6 9857 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9858 * nscd/nscd.c (print_version): Likewise.
9859 * debug/xtrace.sh: Likewise.
9860 * malloc/memusage.sh: Likewise.
9861 * malloc/mtrace.pl: Likewise.
9862 * debug/catchsegv.sh: Likewise.
9863
2ba92745
JJ
98642011-12-30 Jakub Jelinek <jakub@redhat.com>
9865
9866 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9867 pure attribute.
9868
dadebdae
UD
98692011-12-24 Ulrich Drepper <drepper@gmail.com>
9870
d3761ebc 9871 [BZ #13533]
db6af3eb
UD
9872 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9873 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9874 transformations.
9875 * iconv/gconv_int.h: Likewise.
9876 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9877 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9878 from libc for GLIBC_2.16.
9879 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9880 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9881 * wcsmbs/uchar.h: Really define mbstate_t.
9882 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9883 * wcsmbs/c16rtomb.c: New file.
9884 * wcsmbs/mbrtoc16.c: New file.
9885 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9886 for C/POSIX locale.
9887 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9888 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9889
dadebdae
UD
9890 * wcsmbs/wchar.h: Add missing __restrict.
9891
67371b56
UD
98922011-12-23 Ulrich Drepper <drepper@gmail.com>
9893
74033a25
UD
9894 [BZ #13532]
9895 * time/Makefile (routines): Add timespec_get.
9896 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9897 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9898 timespec for ISO C11.
9899 * time/timespec_get.c: New file.
9900 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9901 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9902
380d7e87
UD
9903 [BZ #13531]
9904 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9905 * stdlib/stdlib.h: Declare aligned_alloc.
9906 * Versions.def: Add GLIBC_2.16 for libc.
9907 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9908
4e9e7a35
UD
9909 [BZ 13527]
9910 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9911 ISO C11.
9912
380d7e87 9913 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9914 code.
9915
03a71829
UD
9916 [BZ #13528]
9917 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9918
839e283e
UD
9919 [BZ #13529]
9920 * assert/assert.h (static_assert): Define.
9921
ce5294e2 9922 * version.h: Update for 2.16 development version.
90fa7312 9923
8d44e150 9924 [BZ #13526]
d7809905
UD
9925 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9926 _ISOC11_SOURCE.
9927
c0da14cd
UD
9928 * version.h (RELEASE): Bump for 2.15 release.
9929 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9930
530a3249
MP
9931 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9932 Patch by Marek Polacek <mpolacek@redhat.com>.
9933
67371b56
UD
9934 * bits/byteswap.h: Protect long long constants with __extension__.
9935 * sysdeps/i386/bits/byteswap.h: Likewise.
9936 * sysdeps/ia64/bits/byteswap.h: Likewise.
9937 * sysdeps/s390/bits/byteswap.h: Likewise.
9938 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9939
15db4de1
LD
99402011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9941
9942 [BZ #13540]
bbe315ea
LD
9943 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9944 destination buffer.
15db4de1
LD
9945 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9946
2b2596b1
MP
99472011-12-23 Marek Polacek <polacek@redhat.com>
9948
9949 * elf/dl-addr.c (determine_info): Add inline keyword.
9950 * elf/tst-auditmod4b.c (check_avx): Likewise.
9951 * elf/tst-auditmod6b.c (check_avx): Likewise.
9952 * elf/tst-auditmod6c.c (check_avx): Likewise.
9953 * elf/tst-auditmod7b.c (check_avx): Likewise.
9954
70c6c246
UD
99552011-12-23 Ulrich Drepper <drepper@gmail.com>
9956
9957 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9958 !__SSE_MATH__.
9959
c044cf14
LD
99602011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9961
15db4de1 9962 [BZ #13540]
c044cf14
LD
9963 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9964 processing for last bytes.
9965
6b13d9d9
BH
99662011-08-06 Bruno Haible <bruno@clisp.org>
9967
d455f537
BH
9968 [BZ #13061]
9969 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9970 U+0385, not to U+1FEE.
9971
6b13d9d9
BH
9972 [BZ #13062]
9973 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9974 entry for U+00A5 U+0301.
9975
db910efd
UD
99762011-12-22 Ulrich Drepper <drepper@gmail.com>
9977
27deeafc
UD
9978 [BZ #13166]
9979 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9980 buffer for the output is too small.
9981
aed9d171
UD
9982 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9983 optimization.
9984
db910efd
UD
9985 [BZ #13185]
9986 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9987 SSE flags if possible.
9988
2bd779ae
LD
99892011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9990
e7f9dac3 9991 [BZ #13540]
2bd779ae
LD
9992 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9993 processing for last bytes.
9994
154bfc16
JM
99952011-12-22 Joseph Myers <joseph@codesourcery.com>
9996
9997 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9998 (syscall-list-default-options, syscall-list-default-condition)
9999 (syscall-list-includes): Define.
10000 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10001 list of ABIs and options and #if conditions for each ABI. Do not
10002 handle common syscalls between ABIs specially.
10003 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10004 Remove.
10005 (syscall-list-variants, syscall-list-32bit-options)
10006 (syscall-list-32bit-condition, syscall-list-64bit-options)
10007 (syscall-list-64bit-condition): Define.
10008 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10009 (syscall-list-variants, syscall-list-32bit-options)
10010 (syscall-list-32bit-condition, syscall-list-64bit-options)
10011 (syscall-list-64bit-condition): Define.
10012 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10013 Remove.
10014 (syscall-list-variants, syscall-list-32bit-options)
10015 (syscall-list-32bit-condition, syscall-list-64bit-options)
10016 (syscall-list-64bit-condition): Define.
10017 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10018 Remove.
10019 (syscall-list-variants, syscall-list-32bit-options)
10020 (syscall-list-32bit-condition, syscall-list-64bit-options)
10021 (syscall-list-64bit-condition): Define.
10022
21eaf3a5
UD
100232011-12-22 Ulrich Drepper <drepper@gmail.com>
10024
16c6f992
UD
10025 * locale/iso-639.def: Add brx entry.
10026
41043168
UD
10027 [BZ #13328]
10028 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10029 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10030
21eaf3a5
UD
10031 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10032 __feraiseexcept_renamed.
10033
e3a851a2
UD
100342011-12-21 Ulrich Drepper <drepper@gmail.com>
10035
4920765e
UD
10036 [BZ #13538]
10037 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10038 EPOLLET with unsigned values.
10039 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10040 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10041
e3a851a2
UD
10042 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10043 to large cancellation.
10044 * math/s_cacoshf.c: Likewise.
10045 * math/s_cacoshl.c: Likewise.
10046
b27e24b8
RK
100472011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10048
10049 [BZ #13305]
aebefeee 10050 [BZ #12786]
b27e24b8
RK
10051 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10052 * math/s_cacoshf.c: Likewise.
10053 * math/s_cacoshl.c: Likewise.
10054
ee190f67
UD
100552011-12-21 Ulrich Drepper <drepper@gmail.com>
10056
10057 [BZ #13439]
10058 * iconv/gconv.h: Define __GCONV_SWAP.
10059 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10060 * iconvdata/utf-16.c: Likewise.
10061 * iconvdata/utf-32.c: Likewise.
10062
707f25df
AS
100632011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10064
10065 [BZ #13524]
10066 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10067 numerator after shifting it by one limb.
10068
d2daaa1e
RÁE
100692011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10070
10071 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10072 under [__USE_EXTERN_INLINES].
10073
a4647e72
UD
100742011-12-17 Ulrich Drepper <drepper@gmail.com>
10075
10076 [BZ #13446]
10077 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10078
f0b264f1
AZ
100792011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10080
10081 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10082 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10083 optimized code.
10084 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10085 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10086 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10087 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10088 for strncasecmp/strncasecmp_l compilation.
10089 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10090 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10091
8ef4f244
MP
100922011-12-08 Marek Polacek <mpolacek@redhat.com>
10093
10094 [BZ #13484]
10095 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10096 of __asm__.
10097
97ac2654
UD
100982011-12-17 Ulrich Drepper <drepper@gmail.com>
10099
10100 [BZ #13506]
10101 * time/tzfile.c (__tzfile_read): Check values from file header.
10102
91d2a845
WS
101032011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10104
10105 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10106 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10107 * powerpc/powerpc32/dl-start.S: Likewise.
10108 * powerpc/powerpc32/elf/start.S: Likewise.
10109 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10110 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10111 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10112 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10113 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10114 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10115 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10116 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10117 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10118 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10119 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10120 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10121 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10122 * powerpc/powerpc32/memset.S: Likewise.
10123 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10124 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10125 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10126 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10127 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10128 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10129 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10130 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10131 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10132 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10133 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10134 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10135 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10136
a1267ba1
AZ
101372011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10138
10139 * math/libm-test.inc: Added more nearbyint tests.
10140 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10141 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10142 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10143 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10144
ad8ac1bd
RL
101452011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10146
10147 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10148 FD_CLOEXEC.
10149
1d3e4b61
UD
101502011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10151
10152 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10153 Add wcscpy-ssse3 wcscpy-c.
10154 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10155 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10156 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10157 * sysdeps/x86_64/wcschr.S: New file.
10158 * sysdeps/x86_64/wcsrchr.S: New file.
10159 * string/test-strcmp.c: Remove checking of wcscmp function for
10160 wrong alignments.
10161 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10162 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10163 wcsrchr-sse2 wcsrchr-c.
10164 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10165 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10166 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10167 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10168 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10169 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10170 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10171 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10172 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10173 * wcsmbc/wcschr.c (WCSCHR): New macro.
10174
5b330a2d
UD
101752011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10176
10177 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10178 * wcsmbs/test-wcsrchr.c: New file.
10179 * string/test-strrchr.c: Add wcsrchr support.
10180 (WIDE): New macro.
10181 * wcsmbs/test-wcscpy.c: New file.
10182 * string/test-strcpy.c: Add wcscpy support.
10183 (WIDE): New macro.
26428b7c 10184
f039c043
UD
101852011-12-10 Ulrich Drepper <drepper@gmail.com>
10186
10187 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10188 the inner loop.
10189
850fb039
AS
101902011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10191
10192 [BZ #13472]
10193 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10194
4efbd5cb
UD
101952011-12-04 Ulrich Drepper <drepper@gmail.com>
10196
52ff5dd0 10197 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10198 Minor optimizations.
52ff5dd0 10199
4efbd5cb
UD
10200 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10201 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10202 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10203
8a426e12
UD
102042011-12-03 Ulrich Drepper <drepper@gmail.com>
10205
aff2453d
UD
10206 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10207 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10208 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10209 for gcc to avoid warnings.
10210 * inet/Makefile (tests): Add tst-checks.
10211 * inet/tst-checks.c: New file.
10212
10213 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10214 warning.
10215
10216 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10217 __wmemcmp_sse2.
10218
10219 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10220 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10221
8a426e12
UD
10222 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10223
9bea3473
UD
102242011-12-02 Ulrich Drepper <drepper@gmail.com>
10225
3a965496
UD
10226 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10227 problem.
10228
9bea3473
UD
10229 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10230
f101631b
UD
102312011-11-29 Joseph Myers <joseph@codesourcery.com>
10232
10233 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10234 conditional on GCC version.
10235 (__arch_compare_and_exchange_val_8_acq)
10236 (__arch_compare_and_exchange_val_16_acq)
10237 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10238 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10239 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10240
a98275aa
UD
102412011-12-02 Joseph Myers <joseph@codesourcery.com>
10242
10243 * sysdeps/sh/backtrace.c: New file.
10244
d4cc29a2
AS
102452011-12-02 Andreas Schwab <schwab@redhat.com>
10246
10247 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10248 parenthesis.
10249
6257af2d
AS
102502011-12-01 Andreas Schwab <schwab@redhat.com>
10251
10252 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10253 falling back to utime.
10254
b5f44c1a
AS
102552011-11-30 Andreas Schwab <schwab@redhat.com>
10256
10257 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10258 expectations for float.
10259
f3a6cc0a
AS
102602011-11-29 Andreas Schwab <schwab@redhat.com>
10261
10262 * locale/weight.h (findidx): Add parameter len.
10263 * locale/weightwc.h (findidx): Likewise.
10264 * posix/fnmatch_loop.c (FCT): Adjust caller.
10265 * posix/regcomp.c (build_equiv_class): Likewise.
10266 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10267 * posix/regexec.c (check_node_accept_bytes): Likewise.
10268 * string/strcoll_l.c (STRCOLL): Likewise.
10269 * string/strxfrm_l.c (STRXFRM): Likewise.
10270
9d65ea3a
UD
102712011-11-17 Ulrich Drepper <drepper@gmail.com>
10272
10273 * Makefile.in: Remove CVSOPT handling.
10274 * configure.in: Remove use of AC_REVISION.
10275 * iconvdata/Makefile (distribute): No need to filter out CVS.
10276 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10277 handling.
10278
5583a086
AS
102792011-11-16 Andreas Schwab <schwab@redhat.com>
10280
10281 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10282 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10283 [USE_AS_STRNCASECMP_L]: Likewise.
10284 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10285 NO_TLS_DIRECT_SEG_REFS.
10286 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10287 Fix argument offsets for non-PIC.
10288 [USE_AS_STRNCASECMP_L]: Likewise.
10289 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10290 NO_TLS_DIRECT_SEG_REFS.
10291
d62a8200
UD
102922011-11-15 Ulrich Drepper <drepper@gmail.com>
10293
9d65ea3a 10294 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10295 O_CLOEXEC.
10296 * locale/loadlocale.c (_nl_load_locale): Likewise.
10297
09f93bd3
AS
102982011-11-15 Andreas Schwab <schwab@redhat.com>
10299
446514f9
AS
10300 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10301 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10302 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10303 (SYSCALL_GETTIME): Set errno on error.
10304
09f93bd3
AS
10305 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10306 count references to noai6ai_cached.
10307
312be3f9
UD
103082011-11-15 Ulrich Drepper <drepper@gmail.com>
10309
10310 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10311
10312 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10313 FD_CLOEXEC for /proc/self/maps.
10314
10315 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10316 FD_CLOEXEC for /proc/meminfo.
10317
10318 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10319 gai.conf.
10320
10321 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10322 FD_CLOEXEC for given file.
10323
10324 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10325
10326 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10327 FD_CLOEXEC for /etc/hosts.
10328 (_gethtent): Likewise.
10329
10330 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10331
10332 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10333 cancellation and set FD_CLOEXEC for /etc/netgroup.
10334
10335 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10336 reading /etc/publickey.
10337
10338 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10339 allow cancellation when reading /etc/group.
10340
10341 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10342 cancellation.
10343 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10344
10345 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10346 when using data file.
10347
10348 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10349
10350 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10351 (write_nis_obj): Use "c" and "e" in fopen.
10352
10353 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10354
10355 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10356
10357 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10358
10359 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10360
10361 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10362 locale.alias.
10363
10364 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10365
10366 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10367
10368 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10369
10370 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10371 file parsing and set FD_CLOEXEC.
10372
82af0fa8
UD
103732011-11-14 Ulrich Drepper <drepper@gmail.com>
10374
10375 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10376
a5fb313c
AS
103772011-11-14 Andreas Schwab <schwab@redhat.com>
10378
10379 * malloc/arena.c (arena_get2): Don't call reused_arena when
10380 _int_new_arena failed.
10381
6abf3465
UD
103822011-11-14 Ulrich Drepper <drepper@gmail.com>
10383
10384 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10385 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10386 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10387 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10388 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10389 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10390 to compile strcasecmp and strncasecmp.
10391 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10392 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10393
10394 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10395
76e3966e
UD
103962011-11-13 Ulrich Drepper <drepper@gmail.com>
10397
10398 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10399 locale-defines.sym to gen-as-const-headers.
10400 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10401 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10402 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10403 to compile strcasecmp and strncasecmp.
10404 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10405 strcasecmp_l and strncasecmp_l.
10406 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10407 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10408 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10409 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10410 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10411 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10412 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10413 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10414 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10415 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10416 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10417
ab26144e
UD
104182011-11-12 Ulrich Drepper <drepper@gmail.com>
10419
7edb22ef
UD
10420 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10421 result of SYSDEP_GETTIME_CPU to retval.
10422 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10423 parameter list to macro. Remove trailing semicolon. Adjust users.
10424
9694fc44
UD
10425 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10426 variable.
10427
8ad89ef8
UD
10428 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10429 mantissa words.
10430 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10431
0c822ef9
UD
10432 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10433 from unused variable.
10434
874e0564
UD
10435 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10436 DWARF definitions.
10437 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10438 for assembling.
10439
3a2edc79
UD
10440 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10441 over namespaces.
10442
f3c2577f
UD
10443 * sunrpc/rpc_prot.c (rejected): Fix case value.
10444
294ce126
UD
10445 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10446 unsigned long long int to avoid warnings in shift.
10447
5e2b63c6
UD
10448 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10449 of use of trans.
10450 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10451 variable tmp.
10452
e7f4b08e
UD
10453 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10454 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10455 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10456
ab26144e
UD
10457 * nis/nis_table.c (nis_list): Use variable of correct type for
10458 result of __follow_path call.
10459
8a6d5255
AZ
104602011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10461
10462 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10463 of math functions ceil, trunc, floor, round, and sqrt, when
10464 avaliable on the platform.
10465 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10466 name clash.
10467 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10468 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10469 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10470
aaddc98c
MP
104712011-10-30 Marek Polacek <mpolacek@redhat.com>
10472
10473 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10474 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10475
95b7042b
RM
104762011-11-11 Roland McGrath <roland@hack.frob.com>
10477
10478 * include/unistd.h: Fix __readlink return type.
10479 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10480
57769839
UD
104812011-11-11 Ulrich Drepper <drepper@gmail.com>
10482
10483 * stdlib/ucontext.h: Undo last change for makecontext.
10484
edc5984d
AS
104852011-11-11 Andreas Schwab <schwab@redhat.com>
10486
98591e58
AS
10487 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10488
edc5984d
AS
10489 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10490 * setjmp/setjmp.h: Mark functions as non-leaf.
10491 * setjmp/bits/setjmp2.h: Likewise.
10492 * stdlib/ucontext.h: Likewise.
10493
77cdc054
AS
104942011-11-10 Andreas Schwab <schwab@redhat.com>
10495
10496 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10497 (reused_arena): Don't check arena limit.
10498 (arena_get2): Atomically check arena limit.
10499
fe72eebd
UD
105002011-11-08 Ulrich Drepper <drepper@gmail.com>
10501
5f078c32
UD
10502 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10503 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10504
fe72eebd
UD
10505 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10506 instructions.
10507
ae1bc2fa
AS
105082011-11-07 Andreas Schwab <schwab@redhat.com>
10509
7583a88d
AS
10510 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10511 handler when locking.
10512
ae1bc2fa
AS
10513 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10514 Fix size of allocated buffer.
10515
10fb0bfa
AS
105162011-11-04 Andreas Schwab <schwab@redhat.com>
10517
998832a4
AS
10518 [BZ #10103]
10519 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10520 declarations for long double functions.
10521 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10522
10fb0bfa
AS
10523 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10524
3d7ba52b
AS
105252011-11-03 Andreas Schwab <schwab@redhat.com>
10526
a9ae54a1
AS
10527 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10528 installed.
10529
3d7ba52b
AS
10530 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10531 is disabled.
10532
bc8db248
ST
105332011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10534
10535 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10536
45b96dd6
AS
105372011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10538
647776f6
AS
10539 * include/alloca.h (stackinfo_alloca_round): Define.
10540 (extend_alloca): Use it.
10541 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10542 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10543 here.
10544
d91a8b93
AS
10545 * scripts/check-local-headers.sh: Ignore libaudit.h.
10546
45b96dd6
AS
10547 * nscd/Makefile (extra-objs): Make recursively expanded.
10548
432d41ce
UD
105492011-11-01 Ulrich Drepper <drepper@gmail.com>
10550
34372fc6
UD
10551 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10552 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10553
fadb59f8
UD
10554 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10555 * posix/tst-rfc3484-2.c: Likewise.
10556 * posix/tst-rfc3484-3.c: Likewise.
10557
78239589
UD
10558 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10559 process_vm_writev.
10560 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10561 process_vm_writev.
10562 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10563 process_vm_writev from libc using GLIBC_2.15 version.
10564
432d41ce
UD
10565 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10566
02f9c6cf
PP
105672011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10568
10569 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10570 stack usage.
10571
3a2c0242
UD
105722011-10-31 Ulrich Drepper <drepper@gmail.com>
10573
f4ec4833
UD
10574 [BZ #13367]
10575 * nss/getent.c (initgroups_keys): Show error message in case no group
10576 names are given.
10577
3a2c0242
UD
10578 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10579 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10580 __bump_nl_timestamp.
10581 * nscd/connections (nscd_init): When host database is served open
10582 netlink socket and request notification about configuration changes.
10583 (main_loop_poll): Track netlink file descriptor and bump timestamp
10584 in case data becomes available.
10585 (main_loop_epoll): Likewise.
10586 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10587 (database_pers_head): Add extra_data fileds.
10588 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10589 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10590 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10591 Adjust caller.
10592 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10593 in6ai data, call __free_in6ai.
10594 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10595 Add -DHAVE_NETLINK.
10596 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10597 interface information. Reuse previous data if netlink timestamp
10598 is not changed.
10599 (__bump_nl_timestamp): New function.
10600 (__free_in6ai): New function.
10601
636064eb
UD
106022011-10-30 Ulrich Drepper <drepper@gmail.com>
10603
10604 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10605 close_not_cancel_no_status here.
10606 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10607
9beb2334
UD
106082011-10-29 Ulrich Drepper <drepper@gmail.com>
10609
6ef76f3b
UD
10610 [BZ #13276]
10611 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10612 return value.
10613
0ffc4f3e 10614 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10615 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10616 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10617
cb95113e
UD
106182011-07-03 Andreas Jaeger <aj@suse.de>
10619
10620 [BZ #10709]
10621 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10622 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10623 * math/libm-test.inc (sin_test): Add test case.
10624
a1b560ff
UD
106252011-10-29 Ulrich Drepper <drepper@gmail.com>
10626
c9aaface
UD
10627 [BZ #13337]
10628 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10629 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10630
d272e7f1
UD
10631 * elf/chroot_canon.c (chroot_canon): Cleanups.
10632
1bc33071
UD
10633 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10634
1760874d
TJ
10635 [BZ #13335]
10636 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10637 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10638
51d91b18
UD
10639 * string/test-strchr.c: Make usable for strchrnul testing.
10640 * string/test-strchrnul.c: New file.
10641 * string/Makefile (strop-tests): Add strchrnul.
10642
a1b560ff 10643 * po/it.po: Update from translation team.
b611fb81 10644 * po/es.po: Likewise.
a1b560ff 10645
a5b81e1f
UD
106462011-10-28 Ulrich Drepper <drepper@gmail.com>
10647
fd52bc6d
UD
10648 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10649 the three constants needed as parameters. Drop the others.
10650 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10651 __m128i_strloadu_tolower.
52e4b9eb
UD
10652 Create and initialize variable zero and use it in all the places
10653 where _mm_setzero_si128 was used.
fd52bc6d 10654
a5b81e1f
UD
10655 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10656 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10657 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10658 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10659 anymore.
10660 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10661 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10662 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10663 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10664 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10665 __mpranred, __mptan.
10666 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10667 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10668 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10669 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10670 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10671 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10672 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10673 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10674 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10675
b4343346
AS
106762011-10-28 Andreas Schwab <schwab@redhat.com>
10677
0c92d8a8
AS
10678 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10679 redefine if SHARED.
10680 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10681
b4343346
AS
10682 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10683 wide char related routines to wcsmbs subdir.
10684
3871f58f
AS
106852011-10-27 Andreas Schwab <schwab@redhat.com>
10686
10687 [BZ #13344]
10688 * misc/sys/cdefs.h (__THROWNL): Define.
10689 * posix/unistd.h: Use __THREADNL instead of __THREAD
10690 for memory synchronization functions.
10691
94d44d9f
RM
106922011-10-26 Roland McGrath <roland@hack.frob.com>
10693
21b64b15 10694 [BZ #13349]
94d44d9f
RM
10695 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10696 doesn't exist.
10697 * manual/stdio.texi (Obstack Streams): Node removed.
10698
f6ce9294
AS
106992011-10-26 Andreas Schwab <schwab@redhat.com>
10700
80479147
AS
10701 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10702 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10703 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10704
f6ce9294
AS
10705 * math/math_private.h (math_force_eval): Allow non-addressable
10706 arguments.
10707 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10708
618280a1
UD
107092011-10-25 Ulrich Drepper <drepper@gmail.com>
10710
e0016b11
UD
10711 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10712 file is not needed.
10713
10714 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10715 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10716 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10717 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10718 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10719 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10720 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10721 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10722 Add AVX variants.
10723 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10724 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10725 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10726 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10727 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10728 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10729 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10730 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10731 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10732 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10733 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10734 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10735 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10736 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10737 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10738 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10739 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10740 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10741 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10742
10743 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10744 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10745
618280a1
UD
10746 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10747 place. Use VEX encoding when compiling for AVX.
10748
37822576
AS
107492011-10-25 Andreas Schwab <schwab@redhat.com>
10750
1f1e1947
AS
10751 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10752 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10753
37822576
AS
10754 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10755
31ea014d
UD
107562011-10-25 Ulrich Drepper <drepper@gmail.com>
10757
d7826aa1 10758 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10759 useless if() expression.
d7826aa1
UD
10760 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10761 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10762 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10763 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10764 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10765 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10766 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10767 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10768 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10769 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10770 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10771 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10772 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10773 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10774 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10775 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10776 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10777 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10778 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10779
31ea014d
UD
10780 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10781
16437fec
AS
107822011-10-25 Andreas Schwab <schwab@redhat.com>
10783
10784 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10785 condition.
10786 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10787
31d3cc00
UD
107882011-10-25 Ulrich Drepper <drepper@gmail.com>
10789
10790 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10791 .text section. Avoid duplicate constants.
10792 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10793 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10794 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10795 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10796 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10797 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10798 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10799 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10800 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10801 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10802 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10803 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10804 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10805 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10806 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10807 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10808 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10809 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10810 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10811 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10812 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10813 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10814 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10815 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10816 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10817 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10818 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10819 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10820 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10821 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10822 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10823 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10824 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10825 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10826 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10827 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10828 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10829 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10830 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10831 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10832 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10833 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10834 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10835 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10836 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10837
58985aa9
UD
108382011-10-24 Ulrich Drepper <drepper@gmail.com>
10839
202c9deb
UD
10840 * sysdeps/x86_64/dla.h: Move to ...
10841 * sysdeps/x86_64/fpu/dla.h: ...here.
10842 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10843 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10844
af968f62
UD
10845 * config.make.in: Add have-mfma4 entry.
10846 * configure.in: Substitute libc_cv_cc_fma4.
10847 * math/Makefile (dbl-only-routines): Add sincostab.
10848 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10849 Use __sincostab not sincos.
10850 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10851 name is a macro.
10852 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10853 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10854 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10855 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10856 using __copysign.
10857 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10858 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10859 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10860 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10861 and __inv.
10862 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10863 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10864 __copysign.
10865 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10866 define aliases when function name is a macro.
10867 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10868 sysdeps/ieee754/dbl-64/sincos.tbl.
10869 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10870 fma4-enabled routines.
10871 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10872 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10873 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10874 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10875 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10876 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10877 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10878 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10879 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10880 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10881 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10882 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10883 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10884 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10885 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10886 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10887 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10888 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10889 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10890 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10891 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10892 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10893 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10894 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10895 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10896 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10897 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10898 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10899 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10900 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10901
58985aa9
UD
10902 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10903 rename.
10904 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10905 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10906 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10907 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10908 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10909 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10910 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10911 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10912
a201fbcf
AS
109132011-10-24 Andreas Schwab <schwab@redhat.com>
10914
10915 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10916
fc2ee42a
LD
109172011-10-23 Ulrich Drepper <drepper@gmail.com>
10918
bb3129bd
UD
10919 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10920
0275fff8
UD
10921 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10922 prediction.
10923 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10924
2fa2ae85
UD
10925 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10926 Remove unused variable magic_bits.
10927 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10928
fc2ee42a
LD
10929 * string/strnlen.c: Define and use STRNLEN macro.
10930 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10931 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10932 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10933 * wcsmbs/wcslen.c: Define and use WCSLEN.
10934 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10935 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10936 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10937 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10938 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10939 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10940 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10941
ce7dd29f
LD
109422011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10943
10944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10945 strnlen-sse2-no-bsf.
10946 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10947 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10948 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10949 Add strnlen support.
10950 (USE_AS_STRNLEN): New macro.
10951 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10952 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10953 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10954 * sysdeps/x86_64/wcslen.S: New file.
10955
979c70a3
MZ
109562011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10957
10958 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10959 XMM-moves are used for copying on small sizes.
10960
2d09f82f
LD
109612011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10962
10963 * wcsmbs/Makefile (strop-tests): Add wcschr.
10964 * wcsmbs/test-wcschr.c: New file.
10965 * string/test-strchr.c: Update.
10966 Add wcschr support.
10967 (WIDE): New macro.
10968
619fccca
LD
109692011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10970
2d09f82f 10971 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10972 * wcsmbs/test-wcslen.c: New file.
10973 * string/test-strlen.c: Update.
10974 Add wcslen support.
10975 (WIDE): New macro.
10976
09f699ea
UD
109772011-10-23 Ulrich Drepper <drepper@gmail.com>
10978
10979 * po/it.po: Update from translation team.
10980
95584d3b
LD
109812011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10982
10983 * sysdeps/x86_64/wcscmp.S: Update.
10984 Fix wrong comparison semantics.
10985 wcscmp shall use signed comparison not unsigned.
10986 Don't use substraction to avoid overflow bug.
10987 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10988 * wcsmbc/wcscmp.c: Likewise.
10989 * string/test-strcmp.c: Likewise.
10990 Add new tests to check cases with negative values.
10991
c8b3296b
UD
109922011-10-23 Ulrich Drepper <drepper@gmail.com>
10993
10994 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10995 * sysdeps/x86_64/dla.h: ...here. New file.
10996 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10997 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10998 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10999 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11000 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11001 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11002 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11003 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11004 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11005
246ad57a
AS
110062011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11007
11008 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11009 __ynl_finite aliases.
11010
a1a87169
UD
110112011-10-22 Ulrich Drepper <drepper@gmail.com>
11012
0d355eb7
UD
11013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11014
a1a87169
UD
11015 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11016 define DLA_FMA.
11017 [DLA_FMA] (EMULV): Use DLA_FMA.
11018 [DLA_FMA] (MUL12): Use EMULV.
11019 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11020 that are not needed.
11021 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11022 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11023 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11024 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11025 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11026 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11027 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11028
ee2aafe0
AS
110292011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11030
11031 * math/s_nan.c: Undef __nan.
11032 * math/s_nanf.c: Undef __nanf.
11033 * math/s_nanl.c: Undef __nanl.
11034 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11035 "math_private.h".
11036
bc62c2fb
UD
110372011-10-22 Ulrich Drepper <drepper@gmail.com>
11038
77425c63
UD
11039 * math/s_catan.c: Add branch predictions.
11040 * math/s_catanf.c: Likewise.
11041 * math/s_catanh.c: Likewise.
11042 * math/s_catanhf.c: Likewise.
11043 * math/s_catanhl.c: Likewise.
11044 * math/s_catanl.c: Likewise.
11045 * math/s_cexp.c: Likewise.
11046 * math/s_cexpf.c: Likewise.
11047 * math/s_cexpl.c: Likewise.
11048 * math/s_clog.c: Likewise.
11049 * math/s_clog10.c: Likewise.
11050 * math/s_clog10f.c: Likewise.
11051 * math/s_clog10l.c: Likewise.
11052 * math/s_clogf.c: Likewise.
11053 * math/s_clogl.c: Likewise.
11054 * math/s_csqrt.c: Likewise.
11055 * math/s_csqrtf.c: Likewise.
11056 * math/s_csqrtl.c: Likewise.
11057 * math/s_ctanf.c: Likewise.
11058 * math/s_ctanh.c: Likewise.
11059 * math/s_ctanhf.c: Likewise.
11060 * math/s_ctanhl.c: Likewise.
11061 * math/s_ctanl.c: Likewise.
11062
bc62c2fb
UD
11063 * math/math_private.h: Define __nan, __nanf, __nanl.
11064 * math/s_cacosh.c: Include <math_private.h>.
11065 * math/s_cacoshl.c: Likewise.
11066 * math/s_casinh.c: Likewise.
11067 * math/s_casinhf.c: Likewise.
11068 * math/s_casinhl.c: Likewise.
11069 * math/s_ccos.c: Rely entire on ccosh.
11070 * math/s_ccosf.c: Rely entire on ccoshf.
11071 * math/s_ccosl.c: Rely entirely on ccoshl.
11072 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11073 Remove tests for FE_INVALID.
11074 * math/s_ccoshf.c: Likewise.
11075 * math/s_ccoshl.c: Likewise.
11076 * math/s_csin.c: Likewise.
11077 * math/s_csinf.c: Likewise.
11078 * math/s_csinh.c Likewise.
11079 * math/s_csinhf.c: Likewise.
11080 * math/s_csinhl.c: Likewise.
11081 * math/s_csinl.c: Likewise.
11082 * math/s_ctan.c: Likewise.
11083 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11084 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11085 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11086
8ec250a4
UD
110872011-10-21 Ulrich Drepper <drepper@gmail.com>
11088
c196fed8
UD
11089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11090 compilation problems.
11091
8ec250a4
UD
11092 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11093 __builtin_expect.
11094
8d4f46c6
UD
110952011-10-20 Ulrich Drepper <drepper@gmail.com>
11096
ed72b654
UD
11097 * sysdeps/i386/configure.in: Test for -mfma4 option.
11098 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11099 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11100 COMMON_CPUID_INDEX_80000001.
11101 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11102 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11103 use it if FMA3 is not supported.
11104 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11105
8d4f46c6
UD
11106 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11107 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11108
d45c60c2
AS
111092011-10-20 Andreas Schwab <schwab@redhat.com>
11110
11111 [BZ #12892]
11112 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11113 it would create a cycle with a link time dependency.
11114
d9a4d2ab
UD
111152011-10-19 Ulrich Drepper <drepper@gmail.com>
11116
855d1560
UD
11117 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11118 instruction.
11119 * string/Makefile (strop-tests): Add rawmemchr.
11120 * string/test-rawmemchr.c: New file.
11121
d9a4d2ab
UD
11122 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11123 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11124 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11125 when compiling str{,n}casecmp and when AVX is available. Hook up
11126 new optimized code in initializers.
11127
8f3b1ffe
AS
111282011-10-19 Andreas Schwab <schwab@redhat.com>
11129
11130 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11131 __feraiseexcept instead of feraiseexcept.
11132
d38f1dba
UD
111332011-10-18 Ulrich Drepper <drepper@gmail.com>
11134
d9a8d0ab
UD
11135 * math/math_private.h: Define defaults for libc_fetestexcept and
11136 libc_feupdateenv.
11137 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11138 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11139 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11140 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11141 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11142 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11143 libc_fetestexcept and libc_feupdateenv.
11144
4855e3dd
UD
11145 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11146 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11147 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11148 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11149 libc_feholdexcept_setround.
11150
581d30e3
UD
11151 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11152 Add s_nearbyint-c and s_nearbyintf-c.
11153 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11154 nearbyintf inlines.
11155 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11156 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11157 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11158 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11159
d38f1dba
UD
11160 * math/math_private.h: Define defaults for libc_fegetround,
11161 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11162 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11163 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11164 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11165 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11166 standard functions.
11167 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11168 Remove comments and hacks for old compiler versions.
11169 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11170 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11171 libc_feholdexceptl.
11172
caa6c9d8
AS
111732011-10-18 Andreas Schwab <schwab@redhat.com>
11174
11175 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11176 (__feraiseexcept_renamed): Add __NTH.
11177 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11178 namespace violations.
11179
97c066e6
UD
111802011-10-17 Ulrich Drepper <drepper@gmail.com>
11181
99ce7b04
UD
11182 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11183
1004d182
UD
11184 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11185
228a984d
UD
11186 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11187 recently added interfaces.
11188 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11189
c8553a6a
UD
11190 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11191 about macro parameter expansion.
11192
ed22dcf6
UD
11193 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11194 __NO_MATH_INLINES is defined. Cleanups.
11195
11196 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11197 and __floorf is target has SSE4.1.
11198 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11199 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11200 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11201 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11202
b171c137
UD
11203 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11204 name.
11205 (floorf): Likewise.
11206
97c066e6
UD
11207 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11208
629f62ef
AS
112092011-10-17 Andreas Schwab <schwab@redhat.com>
11210
49a43d80
AS
11211 * misc/sys/cdefs.h: Fix last change.
11212
629f62ef
AS
11213 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11214 database lookup.
11215
e453f6cd
UD
112162011-10-16 Ulrich Drepper <drepper@gmail.com>
11217
aa78043a
UD
11218 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11219
ad0f5cad
UD
11220 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11221 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11222 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11223 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11224 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11225 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11226 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11227 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11228 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11229 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11230 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11231 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11232 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11233 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11234 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11235 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11236 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11237 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11238 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11239 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11240 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11241 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11242
11243 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11244 ceil, ceilf, floor, floorf.
11245
11246 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11247 Perform IRELATIVE relocations last.
11248
e453f6cd
UD
11249 * elf/do-rel.h: Add another parameter nrelative, replacing the
11250 local variable with the same name. Change name of the function
11251 to end in Rel or Rela (uppercase).
11252 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11253 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11254 elf_dynamic_do_##reloc function.
11255
fd5bdc09
UD
112562011-10-15 Ulrich Drepper <drepper@gmail.com>
11257
79b195b5
UD
11258 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11259 is sufficient, at least on modern CPUs.
11260
d4a28569
UD
11261 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11262
b61099b5
UD
11263 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11264 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11265
bcf01e6d
UD
11266 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11267 __expl_finite.
11268 * math/bits/math-finite.h: Add entries for exp.
11269 * math/e_expl.c: Add __*_finite alias.
11270 * sysdeps/i386/fpu/e_exp.S: Likewise.
11271 * sysdeps/i386/fpu/e_expf.S: Likewise.
11272 * sysdeps/i386/fpu/e_expl.c: Likewise.
11273 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11274 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11275 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11276 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11277 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11278 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11279 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11280
ba1a0d59
UD
11281 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11282 is sufficient, at least on modern CPUs.
11283
fd5bdc09
UD
11284 * ctype/ctype-info.c (__ctype_init): Define.
11285 * include/ctype.h (__ctype_init): Declare.
11286 (__ctype_b_loc): The variable is always initialized.
11287 (__ctype_toupper_loc): Likewise.
11288 (__ctype_tolower_loc): Likewise.
11289 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11290 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11291
7872cfb0
AS
112922011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11293
b468825a
AS
11294 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11295
7872cfb0
AS
11296 * configure.in: Also look in $cxxmachine/include for C++ system
11297 headers.
11298
be13f7bf
LD
112992011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11300
11301 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11302 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11303 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11304 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11305 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11306 (USE_AS_WMEMCMP): New macro.
11307 Fixing indents.
11308 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11309 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11310 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11311 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11312 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11313 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11314 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11315 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11316 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11317 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11318 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11319 (USE_AS_WMEMCMP): New macro.
11320 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11321 * sysdeps/string/test-memcmp.c: Update.
11322 Fix simple_wmemcmp.
11323 Add new tests.
11324 * wcsmbs/wmemcmp.c: Update.
11325 (WMEMCMP): New macro.
11326 Fix overflow bug.
11327
556a2007
AJ
113282011-10-12 Andreas Jaeger <aj@suse.de>
11329
11330 [BZ #13268]
11331 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11332
538faaa7
UD
113332011-10-15 Ulrich Drepper <drepper@gmail.com>
11334
ab6737ff
UD
11335 * libio/iofwide.c (do_length): Avoid warning.
11336
538faaa7
UD
11337 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11338
396a21b1
UD
113392011-10-14 Ulrich Drepper <drepper@gmail.com>
11340
cdf2901f
UD
11341 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11342
38ad40ce
UD
11343 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11344 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11345 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11346 * sysdeps/i386/i686/fpu/e_log.S: New file.
11347 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11348 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11349
396a21b1
UD
11350 * ctype/ctype.h: Add support for inlined isXXX functions when
11351 compiling C++ code.
11352
6b1f68c9
AS
113532011-10-14 Andreas Schwab <schwab@redhat.com>
11354
349290c0
AS
11355 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11356
6b1f68c9
AS
11357 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11358
f2282d42
RM
113592011-10-13 Roland McGrath <roland@hack.frob.com>
11360
11361 [BZ #13291]
11362 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11363
5298ffa8
AS
113642011-10-13 Andreas Schwab <schwab@redhat.com>
11365
714fad23
AS
11366 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11367 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11368 feraiseexcept.
11369
81dcc7fb
AS
11370 * sysdeps/x86_64/memrchr.S: Check for zero size.
11371
5298ffa8
AS
11372 * string/stratcliff.c: Add memrchr tests.
11373
951fbcec
LD
113742011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11375
11376 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11377 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11378 rawmemchr-sse2 rawmemchr-sse2-bsf.
11379 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11380 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11381 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11382 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11383 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11384 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11385 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11386 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11387 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11388 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11389 * string/memrchr.c (MEMRCHR): New macro.
11390
0ac5ae23
UD
113912011-10-12 Ulrich Drepper <drepper@gmail.com>
11392
11393 Add integration with gcc's -ffinite-math-only and optimize wrapper
11394 functions in libm.
11395 * Versions.def: Define GLIBC_2.15 version for libm.
11396 * math/Makefile (headers): Add bits/math-finite.h.
11397 * math/bits/math-finite.h: New file.
11398 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11399 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11400 * math/e_acoshl.c: Add __*_finite alias.
11401 * math/e_acosl.c: Likewise.
11402 * math/e_asinl.c: Likewise.
11403 * math/e_atan2l.c: Likewise.
11404 * math/e_atanhl.c: Likewise.
11405 * math/e_coshl.c: Likewise.
11406 * math/e_exp10.c: Likewise.
11407 * math/e_exp10f.c: Likewise.
11408 * math/e_exp10l.c: Likewise.
11409 * math/e_exp2l.c: Likewise.
11410 * math/e_fmodl.c: Likewise.
11411 * math/e_gammal_r.c: Likewise.
11412 * math/e_hypotl.c: Likewise.
11413 * math/e_j0l.c: Likewise.
11414 * math/e_j1l.c: Likewise.
11415 * math/e_jnl.c: Likewise.
11416 * math/e_lgammal_r.c: Likewise.
11417 * math/e_log10l.c: Likewise.
11418 * math/e_log2l.c: Likewise.
11419 * math/e_logl.c: Likewise.
11420 * math/e_powl.c: Likewise.
11421 * math/e_sinhl.c: Likewise.
11422 * math/e_sqrtl.c: Likewise.
11423 * math/e_scalb.c: Completely rewritten and optimized.
11424 * math/e_scalbf.c: Likewise.
11425 * math/e_scalbl.c: Likewise.
11426 * math/w_acos.c: Likewise.
11427 * math/w_acosf.c: Likewise.
11428 * math/w_acosl.c: Likewise.
11429 * math/w_acosh.c: Likewise.
11430 * math/w_acoshf.c: Likewise.
11431 * math/w_acoshl.c: Likewise.
11432 * math/w_asin.c: Likewise.
11433 * math/w_asinf.c: Likewise.
11434 * math/w_asinl.c: Likewise.
11435 * math/w_atan2.c: Likewise.
11436 * math/w_atan2f.c: Likewise.
11437 * math/w_atan2l.c: Likewise.
11438 * math/w_atanh.c: Likewise.
11439 * math/w_atanhf.c: Likewise.
11440 * math/w_atanhl.c: Likewise.
11441 * math/w_exp10.c: Likewise.
11442 * math/w_exp10f.c: Likewise.
11443 * math/w_exp10l.c: Likewise.
11444 * math/w_fmod.c: Likewise.
11445 * math/w_fmodf.c: Likewise.
11446 * math/w_fmodl.c: Likewise.
11447 * math/w_j0.c: Likewise.
11448 * math/w_j0f.c: Likewise.
11449 * math/w_j0l.c: Likewise.
11450 * math/w_j1.c: Likewise.
11451 * math/w_j1f.c: Likewise.
11452 * math/w_j1l.c: Likewise.
11453 * math/w_jn.c: Likewise.
11454 * math/w_jnf.c: Likewise.
11455 * math/w_log.c: Likewise.
11456 * math/w_logf.c: Likewise.
11457 * math/w_logl.c: Likewise.
11458 * math/w_log10.c: Likewise.
11459 * math/w_log10f.c: Likewise.
11460 * math/w_log10l.c: Likewise.
11461 * math/w_log2.c: Likewise.
11462 * math/w_log2f.c: Likewise.
11463 * math/w_log2l.c: Likewise.
11464 * math/w_pow.c: Likewise.
11465 * math/w_powf.c: Likewise.
11466 * math/w_powl.c: Likewise.
11467 * math/w_remainder.c: Likewise.
11468 * math/w_remainderf.c: Likewise.
11469 * math/w_remainderl.c: Likewise.
11470 * math/w_scalb.c: Likewise.
11471 * math/w_scalbf.c: Likewise.
11472 * math/w_scalbl.c: Likewise.
11473 * math/w_sqrt.c: Likewise.
11474 * math/w_sqrtf.c: Likewise.
11475 * math/w_sqrtl.c: Likewise.
11476 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11477 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11478 used.
11479 * math/math_private.h: Declare __kernel_standard_f.
11480 * math/w_cosh.c: Remove cruft and optimize a bit.
11481 * math/w_coshf.c: Likewise.
11482 * math/w_coshl.c: Likewise.
11483 * math/w_exp2.c: Likewise.
11484 * math/w_exp2f.c: Likewise.
11485 * math/w_exp2l.c: Likewise.
11486 * math/w_hypot.c: Likewise.
11487 * math/w_hypotf.c: Likewise.
11488 * math/w_hypotl.c: Likewise.
11489 * math/w_lgamma.c: Likewise.
11490 * math/w_lgamma_r.c: Likewise.
11491 * math/w_lgammaf.c: Likewise.
11492 * math/w_lgammaf_r.c: Likewise.
11493 * math/w_lgammal.c: Likewise.
11494 * math/w_lgammal_r.c: Likewise.
11495 * math/w_sinh.c: Likewise.
11496 * math/w_sinhf.c: Likewise.
11497 * math/w_sinhl.c: Likewise.
11498 * math/w_tgamma.c: Likewise.
11499 * math/w_tgammaf.c: Likewise.
11500 * math/w_tgammal.c: Likewise.
11501 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11502 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11503 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11504 Minor optimizations. Pretty printing. Remove cruft.
11505 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11506 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11507 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11508 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11509 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11510 * sysdeps/i386/fpu/e_asin.S: Likewise.
11511 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11512 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11513 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11514 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11515 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11516 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11517 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11518 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11519 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11520 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11521 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11522 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11523 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11524 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11525 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11526 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11527 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11528 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11529 * sysdeps/i386/fpu/e_log.S: Likewise.
11530 * sysdeps/i386/fpu/e_log10.S: Likewise.
11531 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11532 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11533 * sysdeps/i386/fpu/e_log2.S: Likewise.
11534 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11535 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11536 * sysdeps/i386/fpu/e_logf.S: Likewise.
11537 * sysdeps/i386/fpu/e_logl.S: Likewise.
11538 * sysdeps/i386/fpu/e_pow.S: Likewise.
11539 * sysdeps/i386/fpu/e_powf.S: Likewise.
11540 * sysdeps/i386/fpu/e_powl.S: Likewise.
11541 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11542 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11543 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11544 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11545 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11546 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11547 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11548 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11549 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11550 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11551 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11552 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11553 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11554 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11555 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11556 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11557 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11558 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11559 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11560 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11561 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11562 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11563 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11564 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11565 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11566 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11567 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11568 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11569 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11570 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11571 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11572 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11573 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11574 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11575 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11576 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11577 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11578 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11579 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11580 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11581 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11582 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11583 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11584 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11585 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11586 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11587 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11588 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11589 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11590 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11591 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11592 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11593 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11594 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11595 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11596 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11597 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11598 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11599 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11600 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11601 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11602 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11603 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11604 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11605 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11606 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11607 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11608 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11609 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11610 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11611 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11612 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11613 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11614 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11615 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11616 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11617 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11618 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11619 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11620 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11621 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11622 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11623 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11624 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11625 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11626 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11627 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11628 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11629 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11630 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11631 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11632 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11633 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11634 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11635 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11636 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11637 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11638 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11639 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11640 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11641 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11642 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11643 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11644 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11645 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11646 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11647 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11648 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11649 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11650 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11651 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11652 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11653 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11654 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11655 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11656 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11657 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11658 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11659 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11660 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11661 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11662 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11663 (__isnanf): Likewise.
11664 (__isinf_ns): Likewise.
11665 (__isinf_nsf): Likewise.
11666 (__finite): Likewise.
11667 (__finitef): Likewise.
11668 (__ieee754_sqrt): Define as macro.
11669 (__ieee754_sqrtf): Define as macro.
11670 (__ieee754_sqrtl): Define as macro.
11671 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11672 inlined copy.
11673 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11674 __FINITE_MATH_ONLY__ consistent.
11675 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11676
12cc2fcd
AS
116772011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11678
a843a204
AS
11679 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11680 of rawmemchr.
11681
12cc2fcd
AS
11682 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11683
c853acd5
UD
116842011-10-09 Ulrich Drepper <drepper@gmail.com>
11685
11686 * po/ja.po: Update from translation team.
11687
c658d255
RM
116882011-10-08 Roland McGrath <roland@hack.frob.com>
11689
110946e4
RM
11690 * locale/programs/locarchive.c (prepare_address_space): New function.
11691 (create_archive, enlarge_archive, open_archive): Use it.
11692
50604220
RM
11693 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11694 inside [SHARED], where it is used.
11695
c658d255
RM
11696 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11697
11698 * nss/getent.c (netgroup_keys): Remove unused variable.
11699 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11700
6a621eb7
UD
117012011-10-08 Ulrich Drepper <drepper@gmail.com>
11702
7edb55ce
UD
11703 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11704 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11705 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11706 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11707 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11708 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11709 * math/Makefile (libm-calls): Add s_isinf_ns.
11710 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11711 * math/multc3.c: Likewise.
11712 * math/s_casin.c: Likewise.
11713 * math/s_casinf.c: Likewise.
11714 * math/s_casinl.c: Likewise.
11715 * math/s_ccos.c: Likewise.
11716 * math/s_ccosf.c: Likewise.
11717 * math/s_ccosl.c: Likewise.
11718 * math/s_ctan.c: Likewise.
11719 * math/s_ctanf.c: Likewise.
11720 * math/s_ctanh.c: Likewise.
11721 * math/s_ctanhf.c: Likewise.
11722 * math/s_ctanhl.c: Likewise.
11723 * math/s_ctanl.c: Likewise.
11724 * math/w_fmod.c: Likewise.
11725 * math/w_fmodf.c: Likewise.
11726 * math/w_fmodl.c: Likewise.
11727 * math/w_remainder.c: Likewise.
11728 * math/w_remainderf.c: Likewise.
11729 * math/w_remainderl.c: Likewise.
11730 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11731 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11732 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11733 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11734 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11735 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11736 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11737 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11738
187da0ae
UD
11739 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11740 of the number.
11741 * stdio-common/printf_fphex.c: Likewise.
11742 * stdio-common/printf_size.c: Likewise.
11743
9277c064
UD
11744 * math/e_exp10.c: Include math_private.h using <...> not "...".
11745 * math/e_exp10f.c: Likewise.
11746 * math/e_exp10l.c: Likewise.
11747 * math/e_exp2l.c: Likewise.
11748 * math/e_j0l.c: Likewise.
11749 * math/e_j1l.c: Likewise.
11750 * math/e_jnl.c: Likewise.
11751 * math/e_lgammal_r.c: Likewise.
11752 * math/e_rem_pio2l.c: Likewise.
11753 * math/e_scalb.c: Likewise.
11754 * math/e_scalbf.c: Likewise.
11755 * math/e_scalbl.c: Likewise.
11756 * math/k_cosl.c: Likewise.
11757 * math/k_sinl.c: Likewise.
11758 * math/k_tanl.c: Likewise.
11759 * math/s_cacoshf.c: Likewise.
11760 * math/s_catan.c: Likewise.
11761 * math/s_catanf.c: Likewise.
11762 * math/s_catanh.c: Likewise.
11763 * math/s_catanhf.c: Likewise.
11764 * math/s_catanhl.c: Likewise.
11765 * math/s_catanl.c: Likewise.
11766 * math/s_ccosh.c: Likewise.
11767 * math/s_ccoshf.c: Likewise.
11768 * math/s_ccoshl.c: Likewise.
11769 * math/s_cexp.c: Likewise.
11770 * math/s_cexpf.c: Likewise.
11771 * math/s_cexpl.c: Likewise.
11772 * math/s_clog.c: Likewise.
11773 * math/s_clog10.c: Likewise.
11774 * math/s_clog10f.c: Likewise.
11775 * math/s_clog10l.c: Likewise.
11776 * math/s_clogf.c: Likewise.
11777 * math/s_clogl.c: Likewise.
11778 * math/s_csin.c: Likewise.
11779 * math/s_csinf.c: Likewise.
11780 * math/s_csinh.c: Likewise.
11781 * math/s_csinhf.c: Likewise.
11782 * math/s_csinhl.c: Likewise.
11783 * math/s_csinl.c: Likewise.
11784 * math/s_csqrt.c: Likewise.
11785 * math/s_csqrtf.c: Likewise.
11786 * math/s_csqrtl.c: Likewise.
11787 * math/s_ctan.c: Likewise.
11788 * math/s_ctanf.c: Likewise.
11789 * math/s_ctanh.c: Likewise.
11790 * math/s_ctanhf.c: Likewise.
11791 * math/s_ctanhl.c: Likewise.
11792 * math/s_ctanl.c: Likewise.
11793 * math/s_ldexp.c: Likewise.
11794 * math/s_ldexpf.c: Likewise.
11795 * math/s_ldexpl.c: Likewise.
11796 * math/s_significand.c: Likewise.
11797 * math/s_significandf.c: Likewise.
11798 * math/s_significandl.c: Likewise.
11799 * math/w_acos.c: Likewise.
11800 * math/w_acosf.c: Likewise.
11801 * math/w_acosh.c: Likewise.
11802 * math/w_acoshf.c: Likewise.
11803 * math/w_acoshl.c: Likewise.
11804 * math/w_acosl.c: Likewise.
11805 * math/w_asin.c: Likewise.
11806 * math/w_asinf.c: Likewise.
11807 * math/w_asinl.c: Likewise.
11808 * math/w_atan2.c: Likewise.
11809 * math/w_atan2f.c: Likewise.
11810 * math/w_atan2l.c: Likewise.
11811 * math/w_atanh.c: Likewise.
11812 * math/w_atanhf.c: Likewise.
11813 * math/w_atanhl.c: Likewise.
11814 * math/w_cosh.c: Likewise.
11815 * math/w_coshf.c: Likewise.
11816 * math/w_coshl.c: Likewise.
11817 * math/w_dremf.c: Likewise.
11818 * math/w_exp10.c: Likewise.
11819 * math/w_exp10f.c: Likewise.
11820 * math/w_exp10l.c: Likewise.
11821 * math/w_exp2.c: Likewise.
11822 * math/w_exp2f.c: Likewise.
11823 * math/w_fmod.c: Likewise.
11824 * math/w_fmodf.c: Likewise.
11825 * math/w_fmodl.c: Likewise.
11826 * math/w_hypot.c: Likewise.
11827 * math/w_hypotf.c: Likewise.
11828 * math/w_hypotl.c: Likewise.
11829 * math/w_j0.c: Likewise.
11830 * math/w_j0f.c: Likewise.
11831 * math/w_j0l.c: Likewise.
11832 * math/w_j1.c: Likewise.
11833 * math/w_j1f.c: Likewise.
11834 * math/w_j1l.c: Likewise.
11835 * math/w_jn.c: Likewise.
11836 * math/w_jnf.c: Likewise.
11837 * math/w_jnl.c: Likewise.
11838 * math/w_lgamma.c: Likewise.
11839 * math/w_lgamma_r.c: Likewise.
11840 * math/w_lgammaf.c: Likewise.
11841 * math/w_lgammaf_r.c: Likewise.
11842 * math/w_lgammal.c: Likewise.
11843 * math/w_lgammal_r.c: Likewise.
11844 * math/w_log.c: Likewise.
11845 * math/w_log10.c: Likewise.
11846 * math/w_log10f.c: Likewise.
11847 * math/w_log10l.c: Likewise.
11848 * math/w_log2.c: Likewise.
11849 * math/w_log2f.c: Likewise.
11850 * math/w_log2l.c: Likewise.
11851 * math/w_logf.c: Likewise.
11852 * math/w_logl.c: Likewise.
11853 * math/w_pow.c: Likewise.
11854 * math/w_powf.c: Likewise.
11855 * math/w_powl.c: Likewise.
11856 * math/w_remainder.c: Likewise.
11857 * math/w_remainderf.c: Likewise.
11858 * math/w_remainderl.c: Likewise.
11859 * math/w_scalb.c: Likewise.
11860 * math/w_scalbf.c: Likewise.
11861 * math/w_scalbl.c: Likewise.
11862 * math/w_sinh.c: Likewise.
11863 * math/w_sinhf.c: Likewise.
11864 * math/w_sinhl.c: Likewise.
11865 * math/w_sqrt.c: Likewise.
11866 * math/w_sqrtf.c: Likewise.
11867 * math/w_sqrtl.c: Likewise.
11868 * math/w_tgamma.c: Likewise.
11869 * math/w_tgammaf.c: Likewise.
11870 * math/w_tgammal.c: Likewise.
11871
6a621eb7
UD
11872 * po/ja.po: Update from translation team.
11873
bf582445
AJ
118742011-09-29 Andreas Jaeger <aj@suse.de>
11875
f9efbf3a
AJ
11876 [BZ #13179]
11877 * sunrpc/netname.c (netname2host): Fix logic.
11878
bf582445
AJ
11879 [BZ #6779]
11880 [BZ #6783]
11881 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11882 correctly.
11883 * math/w_remainder.c (__remainder): Likewise.
11884 * math/w_remainderf.c (__remainderf): Likewise.
11885 * math/libm-test.inc (remainder_test): Add test cases.
11886
48693bea
AK
118872011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11888
11889 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11890 sdiv_qrnnd.
11891
42622229
LD
118922011-10-07 Ulrich Drepper <drepper@gmail.com>
11893
11894 * string/test-memcmp.c: Avoid unncessary #defines.
11895 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11896
093ecf92
LD
118972011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11898
11899 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11900 Use new sse2 version for core i3 - i7 as it's faster
11901 than sse42 version.
11902 (bit_Prefer_PMINUB_for_stringop): New.
11903 * sysdeps/x86_64/rawmemchr.S: Update.
11904 Replace with faster SSE2 version.
11905 * sysdeps/x86_64/memrchr.S: New file.
11906 * sysdeps/x86_64/memchr.S: Update.
11907 Replace with faster SSE2 version.
11908
fde56e5c
MP
119092011-09-12 Marek Polacek <mpolacek@redhat.com>
11910
11911 * elf/dl-load.c (lose): Add cast to avoid warning.
11912
21fd49a9
UD
119132011-10-07 Ulrich Drepper <drepper@gmail.com>
11914
5a06e643
UD
11915 * po/ca.po: Update from translation team.
11916
684ae515
UD
11917 * inet/getnetgrent_r.c: Hook up nscd.
11918 * nscd/Makefile (routines): Add nscd_netgroup.
11919 (nscd-modules): Add netgroupcache.
11920 (CFLAGS-netgroupcache.c): Define.
11921 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11922 (cache_search): Add const to second parameter.
11923 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11924 INNETGR.
11925 (dbs): Add netgrdb entry.
11926 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11927 (verify_persistent_db): Handle netgrdb.
11928 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11929 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11930 GETFDNETGR.
11931 (netgroup_response_header): Define.
11932 (innetgroup_response_header): Define.
11933 (datahead): Add netgroup_response_header and innetgroup_response_header
11934 elements.
11935 * nscd/nscd.conf: Add entries for netgroup cache.
11936 * nscd/nscd.h (dbtype): Add netgrdb.
11937 (_PATH_NSCD_NETGROUP_DB): Define.
11938 (netgroup_iov_disabled): Declare.
11939 (xmalloc, xcalloc, xrealloc): Move declarations here.
11940 (cache_search): Adjust prototype.
11941 Add netgroup-related prototypes.
11942 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11943 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11944 (__nscd_innetgr): Declare.
11945 * nscd/selinux.c (perms): Use access_vector_t as element type and
11946 add netgroup-related initializers.
11947 * nscd/netgroupcache.c: New file.
11948 * nscd/nscd_netgroup.c: New file.
11949 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11950 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11951 For four parameters use innetgr.
11952 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11953 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11954 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11955 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11956
21fd49a9
UD
11957 * nscd/connections.c (register_traced_file): Don't register file
11958 for disabled databases.
11959
054c0457
UD
119602011-10-06 Ulrich Drepper <drepper@gmail.com>
11961
32b63198
UD
11962 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11963
054c0457
UD
11964 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11965 from tree and freeing node.
11966
64031225
JO
119672011-09-25 Jiri Olsa <jolsa@redhat.com>
11968
11969 * nss/nsswitch.c (__nss_database_lookup): Handle
11970 nss_parse_service_list out of memory case.
11971
0490345c
JO
119722011-09-15 Jiri Olsa <jolsa@redhat.com>
11973
11974 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11975 out of memory case.
11976
3a62d00d
AS
119772011-10-04 Andreas Schwab <schwab@redhat.com>
11978
11979 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11980 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11981 pass it down.
11982 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11983 elf_machine_rela, elf_machine_lazy_rel.
11984 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11985 (ELF_DYNAMIC_DO_REL): Likewise.
11986 (ELF_DYNAMIC_DO_RELA): Likewise.
11987 (ELF_DYNAMIC_RELOCATE): Likewise.
11988 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11989 to ELF_DYNAMIC_DO_REL.
11990 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11991 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11992 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11993 elf_machine_rela.
11994 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11995 skip_ifunc, don't call ifunc function if non-zero.
11996 (elf_machine_rela): Likewise.
11997 (elf_machine_lazy_rel): Likewise.
11998 (elf_machine_lazy_rela): Likewise.
11999 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12000 (elf_machine_lazy_rel): Likewise.
12001 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12002 Likewise.
12003 (elf_machine_lazy_rel): Likewise.
12004 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12005 Likewise.
12006 (elf_machine_lazy_rel): Likewise.
12007 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12008 (elf_machine_lazy_rel): Likewise.
12009 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12010 (elf_machine_lazy_rel): Likewise.
12011 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12012 (elf_machine_lazy_rel): Likewise.
12013 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12014 (elf_machine_lazy_rel): Likewise.
12015 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12016 (elf_machine_lazy_rel): Likewise.
12017 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12018 (elf_machine_lazy_rel): Likewise.
12019
68577918
UD
120202011-09-28 Ulrich Drepper <drepper@gmail.com>
12021
12022 * nss/nss_files/files-init.c (_nss_files_init): Use static
12023 initialization for all the *_traced_file variables.
12024
68822d74
AS
120252011-09-28 Andreas Schwab <schwab@redhat.com>
12026
12027 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12028
2056100b
RM
120292011-09-27 Roland McGrath <roland@hack.frob.com>
12030
12031 [BZ #13226]
12032 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12033
32c76b63
AS
120342011-09-27 Andreas Schwab <schwab@redhat.com>
12035
12036 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12037 Reread the line before reparsing it.
12038
bf972c9d
AS
120392011-09-26 Andreas Schwab <schwab@redhat.com>
12040
12041 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12042
e057a1b5
JM
120432011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12044 Maxim Kuvyrkov <maxim@codesourcery.com>
12045 Joseph Myers <joseph@codesourcery.com>
12046
12047 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12048 if needed for __stack_chk_guard.
12049
bc7e1c36
RM
120502011-09-19 Roland McGrath <roland@hack.frob.com>
12051
ecb1482f
RM
12052 * sysdeps/posix/spawni.c (script_execute): Always define it.
12053 It will be optimized away if unused.
12054 (maybe_script_execute): New function.
12055 (__spawni): Call it.
12056
bc7e1c36
RM
12057 * Makerules: Don't include tls.make.
12058 (config-tls): Always set to thread.
12059 * tls.make.c: File removed.
12060
1c3b002b
MF
120612011-09-19 Mike Frysinger <vapier@gentoo.org>
12062
12063 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12064 * config.make.in (CPPFLAGS-config): New substituted variable.
12065
2840865d
UD
120662011-09-15 Ulrich Drepper <drepper@gmail.com>
12067
88738eb6
UD
12068 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12069
cbf645a6 12070 [BZ #13192]
2840865d
UD
12071 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12072 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12073
b402e91a
RM
120742011-09-15 Roland McGrath <roland@hack.frob.com>
12075
12076 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12077 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12078 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12079 (CALL_FAIL): Likewise.
12080 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12081 (CALL_FAIL): Macro removed.
12082 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12083
4c1a1f71
UD
120842011-09-15 Ulrich Drepper <drepper@gmail.com>
12085
12086 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12087 for __FINITE_MATH_ONLY__ == 1.
12088
edc121be
AS
120892011-09-15 Andreas Schwab <schwab@redhat.com>
12090
12091 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12092 __ieee754_sqrt instead of sqrt.
12093 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12094 __ieee754_sqrtf instead of sqrtf.
12095 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12096 __floorf instead of floorf.
12097 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12098 __floorf, __truncf instead of floorf, truncf.
12099
cd205654
UD
121002011-09-14 Ulrich Drepper <drepper@gmail.com>
12101
ee4d0315
UD
12102 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12103
cd205654
UD
12104 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12105 __extern_always_inline.
12106 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12107 32-bit.
12108
48b67d71
AS
121092011-09-14 Andreas Schwab <schwab@redhat.com>
12110
12111 * elf/rtld.c (dl_main): Also relocate in dependency order when
12112 doing symbol dependency testing.
12113
1ae12c75
AS
121142011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12115
12116 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12117 Always define `refsym'.
12118
995a80df
AS
121192011-09-13 Andreas Schwab <schwab@redhat.com>
12120
e529793b
AS
12121 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12122 (__FD_ELT): Renamed from __FDELT.
12123 * misc/bits/select2.h (__FD_ELT): Likewise.
12124 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12125 __FD_MASK instead of __FDELT, __FDMASK.
12126 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12127 Likewise.
12128 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12129 Likewise.
12130
52d4fef8
AS
12131 * elf/Makefile (gen-ldd): Fix pattern.
12132
995a80df
AS
12133 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12134 (init_tls): Likewise.
12135
8682f8b0
UD
121362011-09-12 Ulrich Drepper <drepper@gmail.com>
12137
12138 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12139
de82006d
AS
121402011-09-12 Andreas Schwab <schwab@redhat.com>
12141
a7c8e6a1
AS
12142 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12143 `struct cmsghdr *' instead of `void *'.
12144 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12145 Likewise.
12146
0f31fe77
AS
121472011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12148
12149 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12150 if non-absolute.
12151 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12152 ldd_rewrite_script.
0f31fe77 12153
32b4c839
UD
121542011-09-11 Ulrich Drepper <drepper@gmail.com>
12155
83cd1420
UD
12156 * configure.in: Remove --with-tls option.
12157 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12158 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12159 out in case it is missing.
12160 * sysdeps/ia64/elf/configure.in: Likewise.
12161 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12162 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12163 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12164 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12165 * sysdeps/sh/elf/configure.in: Likewise.
12166 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12167 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12168 * sysdeps/x86_64/elf/configure.in: Likewise.
12169 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12170 * sysdeps/mach/hurd/tls.h: Likewise.
12171
633f745d
UD
12172 [BZ #13067]
12173 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12174
f318beb8
UD
12175 [BZ #13090]
12176 * configure.in: Fix use of AC_INIT.
12177
32b4c839
UD
12178 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12179
3ce1f295
UD
121802011-09-10 Ulrich Drepper <drepper@gmail.com>
12181
bb016596
UD
12182 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12183 __set_errno.
8e58439c
UD
12184 * malloc/hooks.c: Likewise.
12185
aebae053 12186 [BZ #11929]
02d46fc4
UD
12187 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12188 variables statically.
12189 (narenas): Initialize.
12190 (list_lock): Initialize.
bb016596
UD
12191 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12192 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12193 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12194 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12195 Add initializers to main_arena and mp_.
12196 (malloc_state): Remove pagesize member. Change all users to use
12197 GLRO(dl_pagesize).
12198
12199 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12200 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12201 is always initialized.
12202
22a89187
UD
12203 * malloc/malloc.c: Removed unused configurations and dead code.
12204 * malloc/arena.c: Likewise.
12205 * malloc/hooks.c: Likewise.
02d46fc4 12206 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12207
d063d164
UD
12208 * include/tls.h: Removed. USE___THREAD must always be defined.
12209 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12210 * elf/dl-libc.c: Likewise.
12211 * elf/dl-tsd.c: Likewise.
12212 * include/errno.h: Likewise.
12213 * include/netdb.h: Likewise.
12214 * include/resolv.h: Likewise.
12215 * inet/herrno-loc.c: Likewise.
12216 * inet/herrno.c: Likewise.
12217 * malloc/arena.c: Likewise.
12218 * malloc/hooks.c: Likewise.
12219 * malloc/malloc.c: Likewise.
12220 * resolv/res-state.c: Likewise.
12221 * resolv/res_libc.c: Likewise.
12222 * sysdeps/i386/dl-machine.h: Likewise.
12223 * sysdeps/ia64/dl-machine.h: Likewise.
12224 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12225 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12226 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12227 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12228 * sysdeps/sh/dl-machine.h: Likewise.
12229 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12230 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12231 * sysdeps/unix/i386/sysdep.S: Likewise.
12232 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12233 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12234 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12235 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12236 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12237 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12238 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12239 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12240 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12242 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12243 * sysdeps/x86_64/dl-machine.h: Likewise.
12244 * tls.make.c: Likewise.
12245
3ce1f295
UD
12246 * configure.in: Remove --with-__thread option. Make tests for
12247 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12248 tls_model attribute fail if no support is available. Remove
12249 USE_IN_LIBIO.
12250 * Makeconfig: Adjust for dropped configure option. All features are
12251 now mandatory.
12252 * Makerules: Likewise.
12253 * Versions.def: Likewise.
12254 * argp/argp-fmtstream.c: Likewise.
12255 * argp/argp-fmtstream.h: Likewise.
12256 * argp/argp-help.c: Likewise.
12257 * assert/assert.c: Likewise.
12258 * config.h.in: Likewise.
12259 * config.make.in: Likewise.
12260 * configure: Likewise.
12261 * configure.in: Likewise.
12262 * csu/Versions: Likewise.
12263 * csu/init.c: Likewise.
12264 * elf/tst-audit2.c: Likewise.
12265 * elf/tst-tls10.c: Likewise.
12266 * elf/tst-tls10.h: Likewise.
12267 * elf/tst-tls11.c: Likewise.
12268 * elf/tst-tls12.c: Likewise.
12269 * elf/tst-tls14.c: Likewise.
12270 * elf/tst-tlsmod11.c: Likewise.
12271 * elf/tst-tlsmod12.c: Likewise.
12272 * elf/tst-tlsmod13.c: Likewise.
12273 * elf/tst-tlsmod13a.c: Likewise.
12274 * elf/tst-tlsmod14a.c: Likewise.
12275 * elf/tst-tlsmod15b.c: Likewise.
12276 * elf/tst-tlsmod16a.c: Likewise.
12277 * elf/tst-tlsmod16b.c: Likewise.
12278 * elf/tst-tlsmod7.c: Likewise.
12279 * elf/tst-tlsmod8.c: Likewise.
12280 * elf/tst-tlsmod9.c: Likewise.
12281 * gmon/gmon.c: Likewise.
12282 * grp/fgetgrent_r.c: Likewise.
12283 * grp/putgrent.c: Likewise.
12284 * hurd/fopenport.c: Likewise.
12285 * include/libc-symbols.h: Likewise.
12286 * include/tls.h: Likewise.
12287 * intl/gettextP.h: Likewise.
12288 * intl/loadinfo.h: Likewise.
12289 * locale/global-locale.c: Likewise.
12290 * locale/localeinfo.h: Likewise.
12291 * mach/devstream.c: Likewise.
12292 * malloc/arena.c: Likewise.
12293 * malloc/set-freeres.c: Likewise.
12294 * misc/err.c: Likewise.
12295 * misc/getttyent.c: Likewise.
12296 * misc/mntent_r.c: Likewise.
12297 * posix/getopt.c: Likewise.
12298 * posix/wordexp.c: Likewise.
12299 * pwd/fgetpwent_r.c: Likewise.
12300 * resolv/Versions: Likewise.
12301 * resolv/res_hconf.c: Likewise.
12302 * shadow/fgetspent_r.c: Likewise.
12303 * shadow/putspent.c: Likewise.
12304 * stdio-common/printf_fphex.c: Likewise.
12305 * stdio-common/tmpfile.c: Likewise.
12306 * stdlib/abort.c: Likewise.
12307 * stdlib/fmtmsg.c: Likewise.
12308 * sunrpc/auth_unix.c: Likewise.
12309 * sunrpc/clnt_perr.c: Likewise.
12310 * sunrpc/clnt_tcp.c: Likewise.
12311 * sunrpc/clnt_udp.c: Likewise.
12312 * sunrpc/clnt_unix.c: Likewise.
12313 * sunrpc/openchild.c: Likewise.
12314 * sunrpc/svc_simple.c: Likewise.
12315 * sunrpc/svc_tcp.c: Likewise.
12316 * sunrpc/svc_udp.c: Likewise.
12317 * sunrpc/svc_unix.c: Likewise.
12318 * sunrpc/xdr.c: Likewise.
12319 * sunrpc/xdr_array.c: Likewise.
12320 * sunrpc/xdr_rec.c: Likewise.
12321 * sunrpc/xdr_ref.c: Likewise.
12322 * sunrpc/xdr_stdio.c: Likewise.
12323
1248c1c4
PB
123242011-09-09 Ulrich Drepper <drepper@gmail.com>
12325
12326 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12327
123282011-07-03 Andreas Jaeger <aj@suse.de>
12329
12330 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12331 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12332 regenerate with gen-libm-tests.pl.
12333
123342010-05-12 Petr Baudis <pasky@suse.cz>
12335
12336 [BZ #11589]
12337 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12338 around j0() zero points by switching to j1().
12339 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12340 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12341 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12342 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12343
f22e1074
UD
123442011-09-09 Ulrich Drepper <drepper@gmail.com>
12345
f19009c1
UD
12346 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12347 instead of 0.
12348 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12349 instead of 0. .
12350 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12351 Patch in part by Pavel Roskin <proski@gnu.org>.
12352
3f8cc204
UD
12353 [BZ #13138]
12354 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12355 realloc.
12356 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12357 Free memory block if necessary.
12358
f22e1074
UD
12359 [BZ #12847]
12360 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12361 be NULL. Don't lock in this case.
12362
0a2349f9
RM
123632011-09-09 Roland McGrath <roland@hack.frob.com>
12364
12365 * elf/elf.h (ELFOSABI_GNU): New macro.
12366 (ELFOSABI_LINUX): Define to that.
12367
f3cdd467
DZ
123682011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12369
12370 * string/strncat.c (strncat): Undef the symbol in case it has been
12371 defined in bits/string.h.
12372
74718d13
UD
123732011-09-09 Ulrich Drepper <drepper@gmail.com>
12374
633e9e0f
UD
12375 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12376
0a2349f9 12377 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12378 link map.
12379
f9924780
AJ
123802011-08-17 Andreas Jaeger <aj@suse.de>
12381
12382 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12383
7f5517aa
PP
123842011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12385 Ian Lance Taylor <iant@google.com>
12386
12387 * math/libm-test.inc (lround_test): New testcase.
12388 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12389
762011fe
UD
123902011-09-08 Ulrich Drepper <drepper@gmail.com>
12391
92963737
UD
12392 * Makefile: Remove support for automatic cvs check-ins.
12393 * Makerules: Likewise.
12394 * config.make.in: Likewise.
12395 * configure.in: Likewise.
12396 * intl/Makefile: Likewise.
12397 * locale/Makefile: Likewise.
12398 * po/Makefile: Likewise.
12399 * posix/Makefile: Likewise.
12400 * sysdeps/gnu/Makefile: Likewise.
12401 * sysdeps/mach/hurd/Makefile: Likewise.
12402 * sysdeps/sparc/sparc32/Makefile: Likewise.
12403
b0727fd8
JS
12404 [BZ #13118]
12405 * posix/Makefile (bug-regex32-ENV): Define.
12406 Patch by John Stanley <jpsinthemix@verizon.net>.
12407
a0f33f99
UD
12408 * misc/Makefile (headers): Add bits/select2.h.
12409 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12410 * misc/bits/select2.h: New file.
12411 * include/bits/select2.h: New file.
12412 * debug/Makefile (routines): Add fdelt_chk.
12413 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12414 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12415 FD_ISSET.
12416 * debug/fdelt_chk.c: New file.
12417
762011fe
UD
12418 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12419 * wcsmbs/test-wmemcmp.c: Likewise.
12420 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12421 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12422
124232011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12424
12425 * string/Makefile (strop-tests): Add memcmp.
12426 * string/test-wmemcmp.c: New file.
12427 * string/test-memcmp.c: Add wmemcmp support.
12428
7f513ec8
RM
124292011-09-08 Roland McGrath <roland@hack.frob.com>
12430
0442afb4
RM
12431 [BZ #13153]
12432 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12433 2011-07-19 change.
12434
7f513ec8
RM
12435 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12436 garbage value in a __mach_port_mod_refs call in the cases of the
12437 task-self and thread-self ports.
12438
a12b2239
ST
124392011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12440
12441 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12442
610f9ab4
AS
124432011-09-08 Andreas Schwab <schwab@redhat.com>
12444
7f513ec8 12445 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12446
48882a1a
LD
124472011-09-07 Ulrich Drepper <drepper@gmail.com>
12448
b49865be
UD
12449 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12450
fdc86bc9
UD
12451 * elf/dl-libc.c (dlerror_run): Pass back error code from
12452 dl_catch_error.
12453
c966526a
UD
12454 [BZ #13123]
12455 * elf/dl-load.c (lose): Free l_origin if it is valid.
12456
48882a1a
LD
12457 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12458 names.
12459 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12460 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12461 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12462 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12463 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12464 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12465
77a2a8b4
AZ
124662011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12467
12468 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12469 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12470 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12471 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12472 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12473 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12474 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12475 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12476 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12477 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12478
24f579d8
AM
124792011-08-15 Alan Modra <amodra@gmail.com>
12480
12481 [BZ #13092]
12482 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12483 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12484 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12485 ppc_mcount to static-only-routines.
12486 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12487 __mcount_internal.
12488 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12489 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12490
3d4837df
UD
124912011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12492
12493 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12494 for finite and infinity parameters.
12495
22700377
WS
124962011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12497
12498 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12499 and add nop instructions for throughput optimization.
12500 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12501
5025581e
WS
125022011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12503
12504 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12505 aligned copy for power7 with vector-scalar instructions.
12506 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12507
08a300c9
L
125082011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12509
12510 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12511 AVX check.
12512
59178ef9
AS
125132011-09-07 Andreas Schwab <schwab@redhat.com>
12514
12515 [BZ #13144]
12516 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12517 last change.
12518
e38ba7ab
UD
125192011-09-07 Ulrich Drepper <drepper@gmail.com>
12520
12521 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12522 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12523 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12524 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12525 clock_gettime.
12526
d53a73ac
UD
125272011-09-06 Ulrich Drepper <drepper@gmail.com>
12528
fc8bffcc
UD
12529 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12530 Forgot to demangle the pointer.
12531
ceaa0c5d
UD
12532 * sysdeps/i386/sysdep.h: Define atom_text_section.
12533 * sysdeps/x86_64/sysdep.h: Likewise.
12534 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12535 section with atom_text_section.
12536 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12537 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12538 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12539 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12540 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12541
a77d3c17
UD
12542 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12543 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12544 already be defined. Change to take two parameters and don't assign
12545 result to variable. Adjust all users.
12546 Define INTERNAL_GETTIME if not already defined.
12547 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12548 call.
12549 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12550 HAVE_CLOCK_GETTIME_VSYSCALL.
12551 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12552
d53a73ac
UD
12553 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12554 gettimeofday vsyscall, just use time.
12555
a8f84144
AS
125562011-09-06 Andreas Schwab <schwab@redhat.com>
12557
12558 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12559 <errno.h>.
12560
ef606249
UD
125612011-09-06 Ulrich Drepper <drepper@gmail.com>
12562
12563 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12564 syscall on x86-64.
12565 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12566 syscall.
12567 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12568 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12569 syscall if possible.
12570
6585cb60
UD
125712011-09-05 Ulrich Drepper <drepper@gmail.com>
12572
12573 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12574 e_ident. Don't pass to find_mapsXX.
12575 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12576
a5f524e4
LD
125772011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12578
12579 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12580 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12581 * sysdeps/x86_64/multiarch/strchr.S: Update.
12582 Check bit_slow_BSF bit.
12583 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12584 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12585 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12586
554881ef
UD
125872011-09-05 Ulrich Drepper <drepper@gmail.com>
12588
d96de963
UD
12589 [BZ #13134]
12590 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12591 before glibc 2.15.
12592 (tryshell): Define.
12593 (__spawni): Change last parameter to be flag. Test
12594 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12595 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12596 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12597 * posix/spawni.c: Likewise.
12598 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12599 * posix/spawnp.c: Likewise. Change normal version to use
12600 SPAWN_XFLAGS_USE_PATH.
12601 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12602 SPAWN_XFLAGS_TRY_SHELL.
12603
d48e5868
UD
12604 [BZ #13150]
12605 * posix/glob.h: Remove gcc 1.x support.
12606
554881ef
UD
12607 [BZ #13068]
12608 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12609
693fb948
LD
126102011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12611
12612 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12613 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12614 strrchr-sse2-bsf
12615 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12616 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12617 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12618 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12619 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12620 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12621
1b48c537
UD
126222011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12623
49d42c37
UD
12624 * sysdeps/x86_64/wcscmp.S: New file.
12625
1b48c537
UD
12626 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12627 wcscmp-c wcscmp-sse2
12628 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12629 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12630 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12631 * wcsmbs/wcscmp.c: Allow renaming.
12632
15c95c5d
DM
126332011-09-05 David S. Miller <davem@davemloft.net>
12634
12635 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12636 stack slot, rather than the struct return pointer slot.
12637 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12638 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12640 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12641
2f0ad8f3
UD
126422011-09-05 Ulrich Drepper <drepper@gmail.com>
12643
d88ae418
UD
12644 * po/ja.po: Update from translation team.
12645
2f0ad8f3
UD
12646 [BZ #13144]
12647 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12648 kernel in 64-bit binaries.
12649
5f4318d1
DM
126502011-09-01 David S. Miller <davem@davemloft.net>
12651
12652 * elf/elf.h (HWCAP_SPARC_*): Move to..
12653 * sysdeps/sparc/sysdep.h: this new file and add new values.
12654 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12655 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12656 _DL_HWCAP_COUNT to 24.
12657 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12658 entries.
12659 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12660 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12661 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12662 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12663 instead of magic constants.
12664 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12665
3ba57516
DM
126662011-08-31 David S. Miller <davem@davemloft.net>
12667
12668 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12669 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12670 Reimplement to do errno handling inline.
12671 (SYSCALL_ERROR_HANDLER): New macro.
12672 (__SYSCALL_STRING): Do not do errno handling in asm.
12673 (__CLONE_SYSCALL_STRING): Delete.
12674 (__INTERNAL_SYSCALL_STRING): Delete.
12675 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12676 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12677 (PSEUDO): Reimplement to do errno handling inline.
12678 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12679 (SYSCALL_ERROR_HANDLER): New macro.
12680 (__SYSCALL_STRING): Do not do errno handling in asm.
12681 (__CLONE_SYSCALL_STRING): Delete.
12682 (__INTERNAL_SYSCALL_STRING): Delete.
12683 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12684 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12685 i386.
12686 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12687 (inline_syscall*): Add 'err' argument.
12688 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12689 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12690 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12691 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12692
12693 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12694 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12695
2bc17433
AS
126962011-08-30 Andreas Schwab <schwab@redhat.com>
12697
12698 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12699
fbeb5f4d
JO
127002011-08-29 Jiri Olsa <jolsa@redhat.com>
12701
12702 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12703 directive.
12704
ad69cc26
DM
127052011-08-24 David S. Miller <davem@davemloft.net>
12706
12707 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12708
39dd69df
AS
127092011-08-24 Andreas Schwab <schwab@redhat.com>
12710
12711 * elf/Makefile: Add rules to build and run unload8 test.
12712 * elf/unload8.c: New file.
12713 * elf/unload8mod1.c: New file.
12714 * elf/unload8mod1x.c: New file.
12715 * elf/unload8mod2.c: New file.
12716 * elf/unload8mod3.c: New file.
12717
12718 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12719 it wasn't used.
12720
2c0b250a
DM
127212011-08-23 David S. Miller <davem@davemloft.net>
12722
12723 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12724 subtract stack bias.
12725 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12726 %sp not %fp in calculations.
12727 (_JMPBUF_UNWINDS_ADJ): Likewise.
12728
22044b48
DM
12729 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12730 (aio_suspend): Call it to force an exception region around the
12731 AIO_MISC_WAIT() invocation.
12732
2cae4995
AS
127332011-08-23 Andreas Schwab <schwab@redhat.com>
12734
12735 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12736 backslash.
12737
873a772e
AJ
127382011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12739
12740 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12741 protection macro.
12742 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12743 and <dl-machine.h>.
12744 (Elf64_FuncDesc): Remove.
12745
25ad0df1
DM
127462011-08-22 David S. Miller <davem@davemloft.net>
12747
12748 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12749 sigaltstack check, add missing cfi directives.
12750 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12751 missing cfi directives, and sigaltstack handling.
12752
e888bcbe
AS
127532011-08-16 Andreas Schwab <schwab@redhat.com>
12754
12755 [BZ #11724]
12756 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12757 object is seen twice.
12758 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12759
12760 * elf/Makefile (distribute): Add tst-initorder2.c.
12761 (tests): Add tst-initorder2.
12762 (modules-names): Add tst-initorder2a tst-initorder2b
12763 tst-initorder2c tst-initorder2d. Add rules to build them.
12764 ($(objpfx)tst-initorder2.out): New rule.
12765 * elf/tst-initorder2.c: New file.
12766 * elf/tst-initorder2.exp: New file.
12767
87162f46
AS
127682011-08-22 Andreas Schwab <schwab@redhat.com>
12769
70538b7f
AS
12770 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12771
f55ffe58
AS
12772 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12773 dependencies back to end of function.
12774
87162f46
AS
12775 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12776 $(elfobjdir)/ld.so.
12777
91b392a4
UD
127782011-08-21 Ulrich Drepper <drepper@gmail.com>
12779
12780 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12781 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12782 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12783 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12784 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12785 of __vdso_gettimeofday.
12786 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12787 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12788 attribute_hidden.
12789 (_libc_vdso_platform_setup): Remove initialization of
12790 __vdso_gettimeofday and __vdso_time.
12791
5c43483f
UD
127922011-08-20 Ulrich Drepper <drepper@gmail.com>
12793
775a77e7
UD
12794 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12795 and fgetc_unlocked.
12796 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12797 getc_unlocked.
89f447ed 12798
49c74ba9
UD
12799 * elf/dl-open.c (add_to_global): Report additions to the global scope
12800 for LD_DEBUG=scopes.
12801 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12802 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12803
5c43483f
UD
12804 [BZ #13114]
12805 * stdio-common/Makefile (tests): Add bug24.
12806 * stdio-common/bug24.c: New file.
12807
a101b025
AJ
128082011-08-19 Andreas Jaeger <aj@suse.de>
12809
12810 [BZ #13114]
12811 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12812 non-existant file when using close-on-exec mode.
12813
c88f1766
UD
128142011-08-20 Ulrich Drepper <drepper@gmail.com>
12815
0276a718
UD
12816 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12817 the very first instruction.
12818
c88f1766
UD
12819 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12820 the CFI state in the end.
12821 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12822 inclusion of dl-trampoline.h.
12823 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12824
51ccffa0
AS
128252011-08-19 Andreas Schwab <schwab@redhat.com>
12826
94d7165f
AS
12827 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12828 expectations for long double.
12829
51ccffa0
AS
12830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12831 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12832
fd708658 128332011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12834
12835 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12836 artificual limit depends upon the system page size.
12837
44f0a71e
UD
128382011-08-17 Ulrich Drepper <drepper@gmail.com>
12839
12840 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12841 * resolv/Makefile: Define CFLAGS-libresolv.
12842
8de79a24
AS
128432011-08-17 Andreas Schwab <schwab@redhat.com>
12844
12845 * nss/makedb.c (compute_tables): Make variables used in nested
12846 function static.
12847
27724598
UD
128482011-08-17 Ulrich Drepper <drepper@gmail.com>
12849
c5305d88
UD
12850 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12851 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12852 if buffer was too small.
12853
27724598
UD
12854 * elf/pldd.c (main): Attach to all threads in the process.
12855 Rewrite /proc handling to use *at functions.
12856
076fe015
UD
128572011-08-16 Ulrich Drepper <drepper@gmail.com>
12858
174baab3
UD
12859 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12860 specifies first scope to show.
12861 (dl_open_worker): Update callers. Move printing scope of new
12862 object to before the relocation.
44f0a71e 12863 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12864 * sysdeps/generic/ldsodefs.h: Update declaration.
12865
076fe015
UD
12866 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12867 string for the scope number.
12868
a60df2c3
UD
128692011-08-14 Ulrich Drepper <drepper@gmail.com>
12870
12871 * nscd/servicescache.c (cache_addserv): Make sure written is always
12872 initialized.
12873
5e4287d1
RM
128742011-08-14 Roland McGrath <roland@hack.frob.com>
12875
85ae0589
RM
12876 * sysdeps/i386/i486/bits/atomic.h
12877 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12878 statement expression, so as to suppress "set but not used" warning.
12879 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12880
69f63097
RM
12881 * string/strncat.c (STRNCAT): Use prototype definition.
12882
675456ef
RM
12883 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12884 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12885 -Iprograms here.
12886 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12887 (localedef-modules): Add localedef.
12888 (locale-modules): Add locale.
12889
5e4287d1
RM
12890 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12891 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12892 to avoid a warning.
12893
9c96ff23
DM
128942011-08-14 David S. Miller <davem@davemloft.net>
12895
12896 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12897 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12898
f9ddf089
UD
128992011-08-13 Ulrich Drepper <drepper@gmail.com>
12900
44f0a71e 12901 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12902 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12903 * elf/rtld.c (dl_main): Set l_name of vDSO.
12904 Call _dl_show_scope when DL_DEBUG_SCOPES.
12905 (process_dl_debug): Recognize scopes flag and also set it for all.
12906 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12907 Declare _dl_show_scope.
12908
1dc27704
UD
12909 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12910 (do_dlopen): Pass caller_dlopen to dl_open.
12911 (__libc_dlopen_mode): Initialize caller_dlopen.
12912
f9ddf089
UD
12913 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12914 of libc. Make tolower call locale-independent. Optimize a bit by
12915 using isdigit instead of isalnum.
12916 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12917
9ac533d3
UD
129182011-08-12 Ulrich Drepper <drepper@gmail.com>
12919
12920 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12921 was a dependency or dynamically loaded.
12922
89edf2e9
UD
129232011-08-11 Ulrich Drepper <drepper@gmail.com>
12924
8e999d29
UD
12925 * intl/l10nflist.c: Allow architecture-specific pop function.
12926 * sysdeps/x86_64/l10nflist.c: New file.
12927
89edf2e9
UD
12928 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12929 classification.
12930
14d96785
AS
129312011-08-10 Andreas Schwab <schwab@redhat.com>
12932
12933 * include/dirent.h: Add libc_hidden_proto for scandirat and
12934 scandirat64. Don't declare __scandirat64.
12935 * dirent/scandirat.c: Add libc_hidden_def.
12936 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12937 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12938
6761ac04
DM
129392011-08-10 David S. Miller <davem@davemloft.net>
12940
12941 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12942 enum.
12943 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12944 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12945 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12946
c55fbd1e
UD
129472011-08-09 Ulrich Drepper <drepper@gmail.com>
12948
12949 * Versions.def [libc]: Add GLIBC_2.15.
12950 * dirent/Makefile (routines): Add scandirat and scandirat64.
12951 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12952 GLIBC_2.15.
12953 * dirent/dirent.h: Declare scandirat and scandirat64.
12954 * dirent/scandirat.c: New file.
12955 * dirent/scandirat64.c: New file.
12956 * sysdeps/wordsize-64/scandirat.c: New file.
12957 * sysdeps/wordsize-64/scandirat64.c: New file.
12958 * dirent/opendir.c: Define opendirat.
12959 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12960 using scandirat.
12961 * dirent/scandir64.c: Adjust for scandir.c change.
12962 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12963 __scandirat64, and __scandir_cancel_handler.
12964 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12965 additional parameter and use openat instead of open (outside of ld.so).
12966 Add new __opendir as wrapper around __opendirat.
12967 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12968 here without requiring old scandirat implementation.
12969
879165f2
UD
129702011-08-08 Ulrich Drepper <drepper@gmail.com>
12971
12972 * dirent/scandir.c (cancel_handler): Renamed to
12973 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12974 defined. Adjust users.
12975 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12976 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12977
cb7e923b
UD
129782011-08-04 Ulrich Drepper <drepper@gmail.com>
12979
16292edd
UD
12980 * string/test-string.h (IMPL): Use __STRING to expand name and then
12981 stringify it.
12982
cb7e923b
UD
12983 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12984 of cleanups.
12985
cff82933
LD
129862011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12987
12988 * string/Makefile: Update.
12989 (strop-tests): Append strncat.
12990 * string/test-wcscmp.c: New file.
12991 New comprehensive test for wcscmp.
12992 * string/test-strcmp.c: Update.
12993 (WIDE): New define.
12994
9be9bfcc
AS
129952011-07-22 Andreas Schwab <schwab@redhat.com>
12996
12997 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12998 line.
12999
2e96f1c7
AS
130002011-07-26 Andreas Schwab <schwab@redhat.com>
13001
13002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13003 encoding to ACE if AI_IDN.
13004
85188888
JJ
130052011-08-01 Jakub Jelinek <jakub@redhat.com>
13006
13007 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13008 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13009
5fa16e9b
LD
130102011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13011
13012 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13013 Fix overflow bug in strncat.
13014 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13015
13016 * string/test-strncat.c: Update.
13017 Add new tests for checking overflow bugs.
13018
130192011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13020
13021 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13022 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13023 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13024 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13025 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13026 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13027 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13028 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13029 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13030
13031 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13032 (USE_AS_STRCAT): Define.
13033 Add strcat and strncat support.
13034 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13035
8c1a459f
AS
130362011-07-25 Andreas Schwab <schwab@redhat.com>
13037
13038 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13039 __n bigger than INT_MAX+1.
13040 (__strncmp_g): Likewise.
13041
bba33c28
UD
130422011-07-23 Ulrich Drepper <drepper@gmail.com>
13043
798be72d
UD
13044 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13045 * libio/stido.h: Likewise.
13046
8accd4dc
UD
13047 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13048 (AF_NFC): Define.
13049 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13050 (AF_NFC): Define.
13051
cbff0d96
UD
13052 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13053 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13054 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13055 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13056 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13057
9191c04a
UD
13058 [BZ #13021]
13059 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13060 installed.
13061
bba33c28
UD
13062 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13063 typo.
13064 (_dl_x86_64_save_sse): Likewise.
13065
90f139dd
UD
130662011-07-22 Ulrich Drepper <drepper@gmail.com>
13067
1aae088a
UD
13068 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13069 OSXSAVE.
13070 (_dl_x86_64_save_sse): Likewise.
13071
8e2045f5
UD
13072 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13073
90f139dd
UD
13074 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13075
1d002f25
AS
130762011-07-21 Andreas Schwab <schwab@redhat.com>
13077
13078 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13079 change.
13080 (_dl_x86_64_save_sse): Use correct AVX check.
13081
21137f89
UD
130822011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13083
13084 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13085 bug in strncpy/strncat.
13086 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13087
a65c0b7a
UD
130882011-07-21 Ulrich Drepper <drepper@gmail.com>
13089
13090 * string/tester.c (test_strcat): Add tests for different alignments
13091 of source and destination.
13092 (test_strncat): Likewise.
13093
6986b98a
UD
130942011-07-20 Ulrich Drepper <drepper@gmail.com>
13095
90bb2039
UD
13096 [BZ #12852]
13097 * posix/glob.c (glob): Check passed in values before using them in
13098 expressions to avoid some overflows.
13099 (glob_in_dir): Likewise.
13100
5644ef54
UD
13101 [BZ #13007]
13102 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13103 check for AVX enablement so that we don't crash with old kernels and
13104 new hardware.
13105 * elf/tst-audit4.c: Add same checks here.
13106 * elf/tst-audit6.c: Likewise.
13107
13108 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13109
bfc9dc9b
AS
131102011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13111
13112 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13113
702e64bb
UD
131142011-07-20 Ulrich Drepper <drepper@gmail.com>
13115
13116 * po/cs.po: Update from translation team.
13117 * po/bg.po: Likewise.
13118
295e904f
MP
131192011-07-12 Marek Polacek <mpolacek@redhat.com>
13120
13121 * misc/sys/cdefs.h: Add support for const attribute.
13122 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13123 to gnu_dev_{major,minor,makedev} functions.
13124
3ff94596
MP
131252011-07-20 Marek Polacek <mpolacek@redhat.com>
13126
13127 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13128
28b59fca
AS
131292011-07-20 Andreas Schwab <schwab@redhat.com>
13130
13131 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13132 strlen results.
13133
19df733e
AK
131342011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13135
13136 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13137 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13138 register in order to avoid conflicts with the soft frame pointer
13139 being held in r11 when necessary.
13140 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13141 (INTERNAL_VSYSCALL_NCS): Likewise.
13142
c8835729
MP
131432011-07-14 Marek Polacek <mpolacek@redhat.com>
13144
13145 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13146 * elf/dl-fini.c (_dl_fini): Adjust caller.
13147 * elf/dl-close.c (_dl_close_worker): Likewise.
13148 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13149
b902330c
MP
131502011-07-15 Marek Polacek <mpolacek@redhat.com>
13151
8991e135
MP
13152 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13153 "aux_cache->nlibs < 0".
13154
b902330c
MP
13155 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13156 in the reload-count case.
13157
99710781
LD
131582011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13159
13160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13161 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13162 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13163 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13164 * sysdeps/x86_64/multiarch/strcat.S: New file.
13165 * sysdeps/x86_64/multiarch/strncat.S: New file.
13166 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13167 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13168 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13169 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13170 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13171 (USE_AS_STRCAT): Define.
13172 Add strcat and strncat support.
13173 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13174 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13175 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13176 * string/strncat.c: Update.
13177 (USE_AS_STRNCAT): Define.
13178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13179 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13180 and i7.
13181 * sysdeps/x86_64/multiarch/init-arch.h
13182 (bit_Prefer_PMINUB_for_stringop): New.
13183 (index_Prefer_PMINUB_for_stringop): Likewise.
13184 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13185 bit_Prefer_PMINUB_for_stringop.
13186
7dc6bd90
UD
131872011-07-19 Ulrich Drepper <drepper@gmail.com>
13188
13189 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13190 buffer64.
13191 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13192 of casting of buffer.
13193 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13194 buffer32 and buffer64.
13195 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13196 writes instead of casting of buffer.
13197 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13198 buffer32.
13199 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13200 casting of buffer.
13201
e0e72284
AS
132022011-07-19 Andreas Schwab <schwab@redhat.com>
13203
13204 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13205
feb1eb0b
UD
132062011-07-19 Ulrich Drepper <drepper@gmail.com>
13207
13208 * nscd/nscd.c (termination_handler): Don't do anything for a database
13209 if it has not yet been initialized.
13210
298711ff
UD
132112011-07-18 Ulrich Drepper <drepper@gmail.com>
13212
13213 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13214
132152011-07-15 Marek Polacek <mpolacek@redhat.com>
13216
13217 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13218
f9d68389
UD
132192011-07-18 Ulrich Drepper <drepper@gmail.com>
13220
13221 * po/nl.po: Update from translation team.
13222 * po/sv.po: Likewise.
13223
db290cf5
RM
132242011-07-16 Roland McGrath <roland@hack.frob.com>
13225
13226 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13227 now disallowed by GCC.
5c550700 13228
fd5e21c7
RM
13229 * configure.in (use-default-link): Default to yes if a test -shared
13230 link meets our qualifications.
13231 * configure: Regenerated.
13232
5c550700
RM
13233 * config.make.in (output-format): New variable.
13234 * configure.in: Check for ld --print-output-format support.
13235 * configure: Regenerated.
13236 * Makerules ($(common-objpfx)format.lds)
13237 [$(output-format) != unknown]: Just use $(output-format),
13238 instead of the linker-script munging.
13239
9fa2c032
RM
132402011-07-14 Roland McGrath <roland@hack.frob.com>
13241
a6928d51
RM
13242 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13243 of $(common-objpfx)shlib.lds.
13244 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13245
661607b3
RM
13246 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13247 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13248
9fa2c032
RM
13249 * configure.in (-z relro check): Adjust test code to add a large
13250 writable data section after it.
13251 * configure: Regenerated.
13252
defe9061
RM
132532011-07-11 Roland McGrath <roland@hack.frob.com>
13254
13255 * configure.in (-z relro check): Fix test code to make the variable
13256 truly const.
13257 * configure: Regenerated.
13258
319b9ad4
UD
132592011-07-11 Ulrich Drepper <drepper@gmail.com>
13260
13261 * nscd/nscd.h (struct traced_file): Define.
13262 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13263 elements. Add traced_files.
13264 (inotify_fd): Declare.
13265 (register_traced_file): Declare.
13266 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13267 (inotify_fd): Export.
13268 (resolv_conf_descr): Remove.
13269 (nscd_init): Move inotify descriptor creation to main.
13270 Don't register files for notification here.
13271 (register_traced_file): New function.
13272 (invalidate_cache): Don't use reset_res to determine whether to call
13273 res_init, go through the list of registered files.
13274 (main_loop_poll): The inotify descriptors are now stored in the
13275 structures for the traced files.
13276 (main_loop_epoll): Likewise
13277 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13278 to __nss_disable_nscd.
13279 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13280 for a database anymore. Check the records for all the registered
13281 files instead.
13282 * nss/Makefile (libnss_files-routines): Add files-init.
13283 (libnss_db-routines): Add db-init.
13284 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13285 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13286 * nss/nss_db/db-init.c: New file.
13287 * nss/nss_files/files-init.c: New file.
13288 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13289 __nss_lookup_function.
13290 (__nss_lookup_function): Call nss_load_library.
13291 (nss_load_all_libraries): New function.
13292 (__nss_disable_nscd): Take parameter with callback function for files
13293 to register. Set is_nscd. Load all the DSOs for the NSS modules
13294 used for the cached services.
13295 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13296 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13297 options for features to all the files in nscd.
13298
13299 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13300
23bee3e8
RM
133012011-07-10 Roland McGrath <roland@hack.frob.com>
13302
13303 * csu/elf-init.c (__libc_csu_init): Comment typo.
13304
46a5b7f0
UD
133052011-07-09 Ulrich Drepper <drepper@gmail.com>
13306
13307 * po/pl.po: Update from translation team.
13308 * po/ja.po: Likewise.
13309 * po/ru.po: Likewise.
13310 * po/ko.po: Likewise.
13311 * po/fr.po: Likewise.
13312
d30cf5bb
RM
133132011-07-09 Roland McGrath <roland@hack.frob.com>
13314
113ddea4
RM
13315 * configure.in (.ctors/.dtors header and trailer check):
13316 Use an empirical test on a built program.
13317 * configure: Regenerated.
13318
574920b4
RM
13319 * configure.in (-z relro check): Use an empirical test on a built DSO.
13320 Detect, but do not require, on ia64.
13321 * configure: Regenerated.
13322
d30cf5bb
RM
13323 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13324 Update tests that use readelf to use $READELF instead.
13325 * configure: Regenerated.
13326
8538fdb3
UD
133272011-07-08 Ulrich Drepper <drepper@gmail.com>
13328
13329 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13330 if the result is not used.
13331
04d08991
AJ
133322011-07-05 Andreas Jaeger <aj@suse.de>
13333
13334 [BZ#9696]
13335 * stdlib/tst-strtod.c: Add testcase.
13336
de283087
AD
133372011-07-07 Ulrich Drepper <drepper@gmail.com>
13338
4e5f31c8 13339 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13340 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13341 The latter has a higher limit. Take additional parameter to pass to
13342 the new function.
13343 (__pathconf): Pass file to __statfs_link_max.
13344 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13345 __statfs_link_max.
13346 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13347 __statfs_link_max.
13348
de283087
AD
13349 [BZ #12868]
13350 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13351 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13352 Handle Lustre.
13353 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13354 (__statfs_filesize_max): Likewise.
13355 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13356
c75fa153
AJ
133572011-07-05 Andreas Jaeger <aj@suse.de>
13358
13359 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13360
1a544854
UD
133612011-07-06 Marek Polacek <mpolacek@redhat.com>
13362
13363 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13364 `status' variable.
13365 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13366 Likewise.
13367
6f0eec67
UD
133682011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13369
13370 * Makefile (strop-tests): Add strncat.
13371 * string/test-strncat.c: New file.
13372
aae30307
UD
133732011-06-30 Marek Polacek <mpolacek@redhat.com>
13374
13375 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13376
c0cfb5eb
UD
133772011-06-21 Andreas Jaeger <aj@suse.de>
13378
13379 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13380 Copy rule from iconvdata/Makefile.
13381
01636b21
UD
133822011-07-06 Ulrich Drepper <drepper@gmail.com>
13383
13384 [BZ #12922]
13385 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13386 but no long options are defined, just return 'W'.
13387
9895c8bc
UD
133882011-06-22 Marek Polacek <mpolacek@redhat.com>
13389
13390 [BZ #9696]
13391 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13392
5d4cf042
UD
133932011-07-06 Ulrich Drepper <drepper@gmail.com>
13394
13395 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13396 netgroups to read.
960e5535 13397 (innetgr): Likewise.
5d4cf042 13398
751eb97e
RM
133992011-07-05 Roland McGrath <roland@hack.frob.com>
13400
13401 * config.make.in (install_root): Default to $(DESTDIR).
13402
f15f1e45
UD
134032011-07-05 Ulrich Drepper <drepper@gmail.com>
13404
13405 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13406
4e34ac6a
RM
134072011-07-02 Roland McGrath <roland@hack.frob.com>
13408
5e9b6af4
RM
13409 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13410
84f9ea0f
RM
13411 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13412 containing directory rather than embedding absolute directory names.
13413
ea5ee9f7
RM
13414 * scripts/check-local-headers.sh: Rewritten using awk.
13415 Match by word, not by line. Print error messages for matches.
13416 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13417
1b74661a
RM
13418 * Makerules [shlib-lds-flags empty]:
13419 ($(common-objpfx)libc_pic.opts): New target.
13420 ($(common-objpfx)libc_pic.os.clean): New target.
13421 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13422
13423 * config.make.in (OBJCOPY): New variable.
13424 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13425 * configure: Regenerated.
13426
f781ef40
RM
13427 * config.make.in (use-default-link): New variable.
13428 * configure.in (use_default_link): Grok --with-default-link to set it.
13429 * configure: Regenerated.
13430 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13431 (shlib-lds, shlib-lds-flags): Define to empty.
13432
2d4fa81e
RM
13433 * Makerules (shlib-lds): New variable.
13434 (shlib-lds-flags): New variable.
13435 (build-shlib, build-moduile, build-module-asneeded): Use it.
13436 ($(common-objpfx)libc.so): Use $(shlib-lds).
13437 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13438 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13439
31fffa6b
RM
13440 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13441 DT_FLAGS/DT_FLAGS_1 with zero flags.
13442
4e34ac6a
RM
13443 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13444 linker script munging.
13445
fcfc776b
UD
134462011-07-02 Ulrich Drepper <drepper@gmail.com>
13447
13448 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13449 as 128-bit value.
13450 * crypt/sha512.c (sha512_process_block): Perform total addition using
13451 128-bit if possible.
13452 (__sha512_finish_ctx): Likewise.
13453 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13454 as 64-bit value.
13455 * crypt/sha256.c (SWAP64): Define.
13456 (sha256_process_block): Perform total addition using 64-bit if
13457 possible.
13458 (__sha256_finish_ctx): Likewise.
13459
99231d9a
UD
134602011-07-01 Ulrich Drepper <drepper@gmail.com>
13461
13462 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13463 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13464 * nscd/hstcache.c (cache_addhst): Likewise.
13465 * nscd/grpcache.c (cache_addgr): Likewise.
13466 * nscd/aicache.c (addhstaiX): Likewise
13467 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13468
445b4a53
TK
134692011-07-01 Thorsten Kukuk <kukuk@suse.de>
13470
13471 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13472 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13473 * nscd/hstcache.c (cache_addhst): Likewise.
13474 * nscd/grpcache.c (cache_addgr): Likewise.
13475 * nscd/aicache.c (addhstaiX): Likewise
13476
6d4d8e8e
AS
134772011-07-01 Andreas Schwab <schwab@redhat.com>
13478
13479 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13480 domain only when needed.
13481
89f654c5
AS
134822011-06-30 Andreas Schwab <schwab@redhat.com>
13483
13484 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13485 is always restored.
13486
cf3b23ff
UD
134872011-06-29 Ulrich Drepper <drepper@gmail.com>
13488
13489 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13490 are re-adding the entry.
13491 * nscd/servicescache.c (cache_addserv): Likewise.
13492
751626f9
AJ
134932011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13494
13495 * sysdeps/generic/dl-irel.h: fix protection against multiple
13496 inclusions.
13497 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13498
9113ea1f
UD
134992011-06-28 Ulrich Drepper <drepper@gmail.com>
13500
5c0b8d90
UD
13501 [BZ #12935]
13502 * malloc/memusage.sh: Fix quoting in message.
13503 * debug/xtrace.sh: Likewise.
13504
9113ea1f
UD
13505 * configure.in: Remove support for --experimental-malloc option, make
13506 it the default.
13507 * config.make.in: Likewise.
13508 * malloc/Makefile: Likewise.
13509
a4172181
AS
135102011-06-27 Andreas Schwab <schwab@redhat.com>
13511
13512 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13513 two-byte characters.
13514
78a7eee7
RM
135152011-06-27 Roland McGrath <roland@hack.frob.com>
13516
62bede13
RM
13517 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13518 AC_CACHE_CHECK invocation.
13519 * configure: Regenerated.
13520
78a7eee7
RM
13521 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13522
5ce33a62
UD
135232011-06-27 Ulrich Drepper <drepper@gmail.com>
13524
034807a9
UD
13525 [BZ #12350]
13526 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13527 bit from old_res_options.
13528
4902da17
UD
13529 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13530
5ce33a62
UD
13531 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13532 value type for setfct.
13533
c2344f56
L
135342011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13535
13536 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13537 __gettimeofday instead of gettimeofday.
13538
68468076
UD
135392011-06-26 Ulrich Drepper <drepper@gmail.com>
13540
13541 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13542
acb0d739
L
135432011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13544
13545 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13546
13547 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13548 info.
13549
8912479f
L
135502011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13551
13552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13553 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13554 strcpy-sse2-unaligned strncpy-sse2-unaligned
13555 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13556 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13557 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13558 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13559 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13560 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13561 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13562 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13563 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13564 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13565 (STRCPY): Support SSE2 and SSSE3 versions.
13566
d5495a11
UD
135672011-06-24 Ulrich Drepper <drepper@gmail.com>
13568
13569 [BZ #12874]
13570 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13571 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13572 kernels which artificially limit size of requests.
13573
0b1cbaae
L
135742011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13575
13576 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13577 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13578 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13579 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13580 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13581 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13582 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13583 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13584 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13585 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13586 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13587 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13588 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13589 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13590 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13592 Enable unaligned load optimization for Intel Core i3, i5 and i7
13593 processors.
13594 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13595 Define.
13596 (index_Fast_Unaligned_Load): Define.
13597 (HAS_FAST_UNALIGNED_LOAD): Define.
13598
07f494a0
MP
135992011-06-23 Marek Polacek <mpolacek@redhat.com>
13600
13601 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13602
fa3fc0fe
UD
136032011-06-22 Ulrich Drepper <drepper@gmail.com>
13604
13605 [BZ #12907]
13606 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13607 until it is clear that the information is realy needed.
13608 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13609
e12df166
AS
136102011-06-22 Andreas Schwab <schwab@redhat.com>
13611
13612 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13613
852eb34d
UD
136142011-06-22 Ulrich Drepper <drepper@gmail.com>
13615
84e2a551
UD
13616 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13617 /sys/devices/system/cpu/online if it is usable.
13618
852eb34d
UD
13619 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13620 reading the information from the /proc filesystem to once a second.
13621
6e502e19
UD
136222011-06-21 Andreas Jaeger <aj@suse.de>
13623
13624 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13625 NULL after inclusion of kernel headers.
13626
75d39ff2
UD
136272011-06-21 Ulrich Drepper <drepper@gmail.com>
13628
51f9aa6a
UD
13629 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13630 calls to internal_setent.
13631
c0244a9d
UD
13632 [BZ #12885]
13633 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13634 addresses using gethostbyname4_r ignore IPv4 addresses.
13635
c5e3c2ae
UD
13636 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13637 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13638
75d39ff2
UD
13639 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13640
42675c6f
DM
136412011-06-20 David S. Miller <davem@davemloft.net>
13642
13643 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13644 inclusions.
13645 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13646
13647 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13648 (elf_irel): Use it.
13649 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13650 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13651 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13652 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13653 * sysdeps/x86_64/dl-irel.h: Likewise.
13654
13655 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13656 * elf/dl-sym.c: Likewise.
13657
57912a71
UD
136582011-06-15 Ulrich Drepper <drepper@gmail.com>
13659
13660 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13661 need to dereference resplen2.
13662
ee22793d
AS
136632011-06-14 Andreas Schwab <schwab@redhat.com>
13664
13665 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13666
a9e836b0
UD
136672011-06-15 Ulrich Drepper <drepper@gmail.com>
13668
77fb9117
UD
13669 * Makeconfig: Define vardbdir and inst_vardbdir.
13670 * nss/Makefile: Add rules to install db-Makefile.
13671
40c1b22c
UD
13672 * nss/nss_db/db-XXX.c: Cleanup.
13673
9f2da732
UD
13674 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13675 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13676 GLIBC_PRIVATE.
13677 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13678 * nss/makedb.c: Implement -g option to specify that value strings
13679 are generated and should not be added to table iterated over for
13680 get*ent calls.
13681 * nss/nss_db/db-initgroups.c: New file.
13682
82e9a1f7
UD
13683 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13684 interface.
13685
c41af17e
UD
13686 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13687 (internal_getgrouplist): Adjust to name change.
13688 Update use_initgroups_entry if this is not the first call.
13689 * nss/databases.def: Add initgroups entry.
13690
a9e836b0
UD
13691 * nss/makedb.c (compute_tables): Check result of multiple hash table
13692 sizes to minimize maximum chain length.
13693
2666d441
UD
136942011-06-14 Ulrich Drepper <drepper@gmail.com>
13695
13696 * Versions.def: Add entry for libnss_db.
13697 * shlib-versions: Likewise.
13698 * nss/Makefile: Add rules to build libnss_db.
13699 * nss/Versions: Add libnss_db information. Organize libnss_files
13700 entries better.
13701 * nss/db-Makefile: Add gshadow support. Change rules for the new
13702 makedb progra. Some minor improvements to generate smaller files.
13703 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13704 here from...
13705 * nss/makedb.c: ...here.
13706 Improve database format to be smaller and require less memory at
13707 runtime.
13708 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13709 db anymore.
13710 * nss/nss_db/db-netgrp.c: Likewise.
13711 * nss/nss_db/db-open.c: Likewise.
13712 * nss/nss_files/flies-XXX.x: Adjust comments.
13713 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13714 * nss/nss_files/files-grp.c: Likewise.
13715 * nss/nss_files/files-hosts.c: Likewise.
13716 * nss/nss_files/files-network.c: Likewise.
13717 * nss/nss_files/files-proto.c: Likewise.
13718 * nss/nss_files/files-pwd.c: Likewise.
13719 * nss/nss_files/files-rpc.c: Likewise.
13720 * nss/nss_files/files-service.c: Likewise.
13721 * nss/nss_files/files-sgrp.c: Likewise.
13722 * nss/nss_files/files-spwd.c: Likewise.
13723 * nss/nss_db/db-alias.c: Removed.
13724 * nss/nss_db/dummy-db.h: Removed.
13725
9ee76b5a
UD
137262011-06-02 Ulrich Drepper <drepper@gmail.com>
13727
13728 * nss/makedb.c: Rewritten to not use database library.
13729 * nss/Makefile: Update to build new makedb program.
13730
c71ca1f8
AJ
137312011-06-14 Andreas Jaeger <aj@suse.de>
13732
13733 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13734 memset declaration.
13735
3154bfb8
UD
137362011-06-10 Andreas Schwab <schwab@redhat.com>
13737
13738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13739 tmpbuf.
13740
b350afab
RM
137412011-06-10 Roland McGrath <roland@hack.frob.com>
13742
decd4e50
RM
13743 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13744 * elf/Makefile ($(objpfx)ld.so): Likewise.
13745
5615eaf2
RM
13746 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13747 Don't list ld.so twice in dependencies.
13748
13749 * posix/bug-regex31.c: Include <stdlib.h>.
13750
13751 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13752
13753 * nis/nss_compat/compat-spwd.c
13754 (getspent_next_nss_netgr): Remove unused variable.
13755 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13756
13757 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13758 nonmembers" output to use the right array.
13759
13760 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13761
13762 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13763
13764 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13765 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13766 * catgets/gencat.c (read_input_file): Likewise.
13767 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13768
13769 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13770 variable definition inside #if's controlling its use.
13771
13772 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13773
13774 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13775
13776 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13777
13778 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13779 unreachable code.
13780
13781 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13782
b68e08db
RM
13783 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13784 * configure: Regenerated.
13785
b350afab
RM
13786 * Makerules: Revert last change.
13787 * elf/Makefile: Likewise.
13788
28368601
RM
137892011-06-09 Roland McGrath <roland@hack.frob.com>
13790
13791 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13792 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13793 (reloc-link): Likewise.
13794
11988f8f
UD
137952011-06-09 Ulrich Drepper <drepper@gmail.com>
13796
13797 * elf/Makefile: Add rules to build pldd.
13798 * elf/pldd.c: New file.
13799 * elf/pldd-xx.c: New file.
13800
e80fab37
UD
138012011-06-07 Ulrich Drepper <drepper@gmail.com>
13802
13803 * version.h: Update for 2.15 development version.
13804
9b849836
DM
138052011-06-07 David S. Miller <davem@davemloft.net>
13806
13807 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13808 ifuncs.
13809 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13810 elf_machine_lazy_rel): Likewise.
13811 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13812 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13813 elf_machine_lazy_rel): Likewise.
13814 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13815 dl_hwcap via passed in argument.
13816 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13817 Likewise.
13818
5a31b283
AK
138192011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13820
13821 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13822
069e52f8
RM
138232011-06-06 Roland McGrath <roland@hack.frob.com>
13824
13825 [BZ #12849]
13826 * manual/fdl-1.1.texi: New file, verbatim from:
13827 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13828 * manual/lgpl-2.1.texi: New file, verbatim from:
13829 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13830 * manual/Makefile (licenses): New variable, list those new file names.
13831 (texis): Use it.
13832 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13833
13834 * manual/fdl.texi: File removed.
13835 * manual/lesser.texi: File removed.
13836 * manual/libc.texinfo (Copying, Documentation License):
13837 Use new @include file names, put @appendix directive before @include.
13838
f16846a5
JJ
138392011-06-04 Jakub Jelinek <jakub@redhat.com>
13840
13841 [BZ #12841]
13842 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13843 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13844 (mq_open): Add __NTH.
13845
3d29045b
L
138462011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13847
13848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13849 Assume Intel Core i3/i5/i7 processor if AVX is available.
13850
8c297311
UD
138512011-05-31 Ulrich Drepper <drepper@gmail.com>
13852
13853 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13854 typo.
13855
c8fc0c91
UD
138562011-05-31 Andreas Schwab <schwab@redhat.com>
13857
13858 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13859 memory. Use alloca_account. Fix memory leak when retrying.
13860
5b27a807
UD
138612011-05-31 Ulrich Drepper <drepper@gmail.com>
13862
356f8bc6
UD
13863 * version.h (RELEASE): Bump for 2.14 release.
13864 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13865
5b27a807
UD
13866 * config.make.in (RANLIB): Remove entry.
13867
01f16ab0
UD
138682011-05-30 Ulrich Drepper <drepper@gmail.com>
13869
41fce8bd
UD
13870 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13871 (libc.pot): Work around missing support for .ksh extension in xgettext.
13872
4769ae77
UD
13873 [BZ #12684]
13874 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13875 if both request failed.
13876 (send_dg): In case of server errors clear resplen or *resplen2.
13877
6b1e7d19
UD
13878 [BZ #12454]
13879 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13880 when there are multiple maps.
13881 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13882 (_dl_fini): Remove test here.
13883
01f16ab0
UD
13884 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13885
b1ebd700
UD
138862011-05-29 Ulrich Drepper <drepper@gmail.com>
13887
7ae22829
UD
13888 [BZ #12350]
13889 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13890 bit from old_res_options.
13891 (gaih_inet): Likewise.
13892
553149f6 13893 [BZ #11099]
18a84741 13894 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13895 as signed.
13896
652ffab1
UD
13897 * resolv/res_init.c (res_setoptions): Make the code more compact.
13898
16985fd0
UD
13899 [BZ #11558]
13900 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13901 set RES_USEVC.
13902
0464f746
UD
13903 [BZ #11634]
13904 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13905
7d17596c
UD
13906 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13907
cf6bbbd7
UD
13908 [BZ #11781]
13909 * malloc/malloc.h: Declare malloc hook variables as volatile.
13910
13f1ab36
UD
13911 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13912 in last patch.
13913
b1ebd700
UD
13914 [BZ #11799]
13915 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13916 raise in the comment.
80e2212d
UD
13917 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13918 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13919 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13920
ce67228d
UD
139212011-05-28 Ulrich Drepper <drepper@gmail.com>
13922
8887a920
UD
13923 [BZ #12811]
13924 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13925 grow the buffers more if it already has to be sufficient.
13926 (build_wcs_upper_buffer): Likewise.
13927 * posix/regexec.c (check_matching): Likewise.
13928 (clean_state_log_if_needed): Likewise.
13929 (extend_buffers): Don't enlarge buffers beyond size of the input
13930 buffer.
13931 Patches mostly by Emil Wojak <emil@wojak.eu>.
13932 * posix/bug-regex32.c: New file.
13933 * posix/Makefile (tests): Add bug-regex32.
13934
4f031072
UD
13935 * locale/findlocale.c (_nl_find_locale): Return right away if
13936 _nl_explode_name failed.
13937 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13938
d0478f0c
UD
13939 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13940
de81b246
UD
13941 * debug/xtrace.sh: Unify messages.
13942 * malloc/memusage.sh: Likewise.
13943
c738465a
UD
13944 [BZ #12813]
13945 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13946 time symbol from vDSO. Substitute with vsyscall if not available.
13947 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13948 __vdso_time.
13949
f1f929d7
UD
13950 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13951 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13952 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13953 Add sendmmsg and internal_sendmmsg.
13954 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13955 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13956 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13957
ce67228d
UD
13958 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13959 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13960 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13961
e57420c6
UD
139622011-05-27 Ulrich Drepper <drepper@gmail.com>
13963
a8509ca5
UD
13964 [BZ #12813]
13965 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13966 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13967 available.
13968 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13969 __vdso_getcpu.
13970
e57420c6
UD
13971 [BZ #12814]
13972 * iconvdata/Makefile (tests): Add bug-iconv9.
13973 * iconvdata/bug-iconv9.c: New file.
13974
4d07db15
AS
139752011-05-27 Andreas Schwab <schwab@redhat.com>
13976
13977 [BZ #12814]
13978 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13979
ea486f69
JJ
139802011-05-25 Jakub Jelinek <jakub@redhat.com>
13981
13982 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13983 (struct user_regs_struct): Change intcs field back to cs.
13984
6f038433
UD
139852011-05-25 Ulrich Drepper <drepper@gmail.com>
13986
13987 * po/ja.po: Update from translation team.
13988
67f86a25
UD
139892011-05-23 Ulrich Drepper <drepper@gmail.com>
13990
13991 [BZ #12795]
13992 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13993 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13994
def7fbd6
AS
139952011-05-20 Andreas Schwab <schwab@redhat.com>
13996
13997 * stdlib/longlong.h: Update from GCC.
13998
f50ef8f1
AS
139992011-05-23 Andreas Schwab <schwab@redhat.com>
14000
14001 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14002 parameter name.
14003 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14004 Add parameter name.
14005 (__sysconf): Pass it down.
14006
de7ce8f1
UD
140072011-05-22 Ulrich Drepper <drepper@gmail.com>
14008
f2962a71
UD
14009 [BZ #12671]
14010 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14011 some situations.
14012 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14013 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14014 add in in __libc_use_alloca calls. Adjust callers.
14015 (glob): Use malloc in some situations.
14016
de7ce8f1
UD
14017 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14018 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14019 pltexit.
14020
aec84f53
UD
140212011-05-21 Ulrich Drepper <drepper@gmail.com>
14022
05bb4a68
UD
14023 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14024 and CLOCK_BOOTTIME_ALARM.
14025
7ea72f99
UD
14026 [BZ #12782]
14027 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14028 is returned.
14029
7e4afad5
UD
14030 * string/_strerror.c (__strerror_r): Print negative errors as signed
14031 numbers.
14032
8e211fec
UD
14033 [BZ #12777]
14034 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14035 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14036 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14037
f7d82dc9
UD
14038 * configure.in: Fix typo in redirection and correct removal of test
14039 files in two cases.
14040
cc9e536d
UD
14041 [BZ #12788]
14042 * locale/setlocale.c (new_composite_name): Fix test to check for
14043 identical name of all categories.
14044
aec84f53
UD
14045 [BZ #12792]
14046 * libio/filedoalloc.c (local_isatty): New function.
14047 (_IO_file_doallocate): Use local_isatty.
14048 * stdio-common/perror.c (perror): In case a new stream is used
14049 forward the stream error.
14050 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14051 error flag.
14052
78e64fdc
RT
140532011-05-20 Ulrich Drepper <drepper@gmail.com>
14054
34a9094f
UD
14055 [BZ #11869]
14056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14057 alloca.
14058 * include/alloca.h (extend_alloca_account): Define.
14059
78e64fdc
RT
14060 [BZ #11857]
14061 * posix/regex.h: Fix comments with documentation of user-accessible
14062 fields after compilation and describe correct free'ing of pattern
14063 after re_compile_pattern.
14064 Patch by Reuben Thomas <rrt@sc3d.org>.
14065
457bddfc
RA
140662011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14067
14068 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14069 and -mno-altivec to prevent the compiler from using Altivec and/or
14070 VSX instructions when the corresponding registers are not available.
14071
a4527b51
AS
140722011-05-19 Andreas Schwab <schwab@redhat.com>
14073
14074 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14075
ed690b2f
UD
140762011-05-19 Ulrich Drepper <drepper@gmail.com>
14077
14078 * libio/freopen.c (freopen): Use __dup2, not dup2.
14079 * libio/freopen64.c (freopen64): Likewise.
14080
8db73634
L
140812011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14082
14083 [BZ #12775]
14084 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14085 * math/Makefile (tests): Add test-powl.
14086 (CFLAGS-test-powl.c): Define.
14087 * math/test-powl.c: New file.
14088
0a197a9d
L
140892011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14090
14091 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14092
ee30c380
UD
140932011-05-17 Ulrich Drepper <drepper@gmail.com>
14094
14095 [BZ #11837]
14096 * iconvdata/gb18030.c: Update to GB18020-2005.
14097
6ce75379
UD
140982011-05-16 Ulrich Drepper <drepper@gmail.com>
14099
a4b89fd8
AR
14100 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14101 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14102 Patch by Aharon Robbins <arnold@skeeve.com>.
14103
ea389b12
UD
14104 [BZ #11892]
14105 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14106 on the stack.
14107
68a3f91f
UD
14108 [BZ #11895]
14109 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14110 through underflows.
14111
15cc7dd1
UD
14112 [BZ #12766]
14113 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14114 point to strings before performing equality test for error_one_per_line
14115 mode.
14116
f3799213
UD
14117 [BZ #11697]
14118 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14119
d79a9c94
UD
14120 [BZ #11820]
14121 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14122 (struct user_fpregs_struct): Avoid __uint*_t types.
14123
56e5eb46
UD
14124 [BZ #6420]
14125 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14126 symbol info. Use it instead of calling _dl_addr locally.
14127 (lock_and_info): New function.
14128 (tr_freehook): Call lock_and_info and pass symbol info as additional
14129 parameter to tr_where.
14130 (tr_mallochook): Likewise.
14131 (tr_reallochook): Likewise.
14132 (tr_memalignhook): Likewise.
14133
6ce75379
UD
14134 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14135 used and couldn't be at all thread-safe.
14136
f8a3b5bf
UD
141372011-05-15 Ulrich Drepper <drepper@gmail.com>
14138
94b7cc37
UD
14139 * libio/freopen.c (freopen): Don't close old file descriptor
14140 before the new one is opened. Instead dup the new file descriptor
14141 to the old one after the new stream is created.
14142 * libio/freopen64.c (freopen64): Likewise.
14143 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14144 * libio/fileops.c (_IO_new_file_close_it): Handle new
14145 _IO_FLAGS2_NOCLOSE flag.
14146 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14147 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14148 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14149 _IO_FLAGS2_NOCLOSE flag.
14150 * include/unistd.h: Add hidden_proto for dup3.
14151 Define __have_dup3.
14152 * io/dup3.c: Define hidden symbol.
14153 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14154
bd25564e
UD
14155 [BZ #7101]
14156 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14157 when an incomplete long option is used.
14158 * posix/tst-getopt_long1.c: New file.
14159 * posix/Makefile (tests): Add tst-getopt_long1.
14160
c84cfef4
UD
14161 [BZ #10138]
14162 * scripts/config.guess: Update from autoconf-2.68.
14163 * scripts/config.sub: Likewise.
14164
3b85df27
UD
14165 [BZ #10157]
14166 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14167 tests into ...
14168 (has_cpuclock): ...this. New function.
14169 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14170 macro here based on has_cpuclock code.
14171
15a856b1
UD
14172 [BZ #10149]
14173 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14174 First byte (not low byte) is now always NUL.
14175 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14176
05f399e6
UD
14177 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14178 Use non-cancelable interfaces.
14179
10a52685 14180 [BZ #9809]
94ecc67d
UD
14181 * locale/iso-639.def: Add entry for Sorani.
14182
f8a3b5bf
UD
14183 [BZ #11901]
14184 * include/stdlib.h: Move include protection to the right place.
14185 Define abort_msg_s. Declare __abort_msg with it.
14186 * stdlib/abort.c (__abort_msg): Adjust type.
14187 * assert/assert.c (__assert_fail_base): New function. Majority
14188 of code from __assert_fail. Allocate memory for __abort_msg with
14189 mmap.
14190 (__assert_fail): Now call __assert_fail_base.
14191 * assert/assert-perr.c: Remove bulk of implementation. Use
14192 __assert_fail_base.
14193 * include/assert.hL Declare __assert_fail_base.
14194 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14195 mmap.
14196 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14197
1af4e298
UD
141982011-05-14 Ulrich Drepper <drepper@gmail.com>
14199
f8a3b5bf 14200 [BZ #11952]
d26dfc60
MG
14201 [BZ #12453]
14202 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14203 until all modules are registered in the DTV.
14204 * elf/Makefile: Add rules to build and run tst-tls19.
14205 * elf/tst-tls19.c: New file.
14206 * elf/tst-tls19mod1.c: New file.
14207 * elf/tst-tls19mod2.c: New file.
14208 * elf/tst-tls19mod3.c: New file.
14209 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14210
2fc54d6f
UD
14211 [BZ #12083]
14212 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14213 correctly.
14214
98d76b46
UD
14215 [BZ #12601]
14216 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14217 two-byte sequence errors.
14218 * iconvdata/Makefile (tests): Add bug-iconv8.
14219 * iconvdata/bug-iconv8.c: New file.
14220
da3c19ef
UD
14221 [BZ #12626]
14222 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14223 buf2 definition.
14224
ca408c15
UD
14225 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14226
d6f67f7d
UD
14227 [BZ #12432]
14228 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14229 (dummy_getcfa): New function.
14230 (init): Get _Unwind_GetCFA address, use dummy if not found.
14231 (backtrace_helper): In recursion check, also check whether CFA changes.
14232 (__backtrace): Completely initialize arg.
14233
1af4e298 14234 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14235 storing incomplete byte sequence in state object. Avoid testing for
14236 guaranteed too small input if we know there is enough data available.
1af4e298 14237
da62f81b
AS
142382011-05-11 Andreas Schwab <schwab@redhat.com>
14239
14240 * Makeconfig (+link-pie): Indent.
14241 * Rules (binaries-pie): Define if $(have-fpie) and
14242 $(build-shared).
14243 (binaries-shared): Also filter out $(binaries-pie).
14244 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14245 * nscd/Makefile (others-pie): Add nscd.
14246 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14247 ($(objpfx)nscd): Remove command override.
14248 * login/Makefile (others-pie): Add pt_chown.
14249 ($(objpfx)pt_chown): Remove command override.
14250 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14251 remove command overrides.
14252
fcabc0f8
UD
142532011-05-13 Ulrich Drepper <drepper@gmail.com>
14254
20030ae6
UD
14255 * libio/tst_putwc.c: Fix error messages.
14256
fcabc0f8
UD
14257 [BZ #12724]
14258 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14259 currently writing and seek to current position when not.
14260 * libio/Makefile (tests): Add bug-fclose1.
14261 * libio/bug-fclose1.c: New file.
14262
320a5dc0
PB
142632011-05-12 Ulrich Drepper <drepper@gmail.com>
14264
14265 [BZ #12511]
14266 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14267 don't set DF_1_NODELETE here.
14268 (do_lookup_x): When entering new entry test for copy relocation
14269 and if necessary set DF_1_NODELETE flag.
14270 * elf/tst-unique4.cc: New file.
14271 * elf/tst-unique4.h: New file.
14272 * elf/tst-unique4lib.cc: New file.
14273 * elf/Makefile: Add rules to build and run tst-unique4.
14274 Patch by Piotr Bury <pbury@goahead.com>.
14275
22836f52
UD
142762011-05-11 Ulrich Drepper <drepper@gmail.com>
14277
f574184a
UD
14278 [BZ #12052]
14279 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14280
e1fb097f
UD
14281 [BZ #12625]
14282 * misc/mntent_r.c (addmntent): Flush the stream after the output
14283
22836f52
UD
14284 [BZ #12393]
14285 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14286 (is_trusted_path_normalize): Skip initial colon. Append slash
14287 to empty buffer. Duplicate is_trusted_path code but allow
14288 constructed patch to be prefix.
14289 (is_dst): Allow $ORIGIN followed by /.
14290 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14291 Correct testing of result of is_trusted_path_normalize
14292 (decompose_rpath): Fix warning.
14293
7b3b0b2a
UD
142942011-05-10 Ulrich Drepper <drepper@gmail.com>
14295
14296 [BZ #11257]
14297 * grp/initgroups.c (internal_getgrouplist): When we found the service
14298 list through the initgroups entry in nsswitch.conf do not always
14299 continue on a successful lookup. Don't always use the
eac80ce2 14300 __nss_group_database value if it is set.
7b3b0b2a
UD
14301 * nss/nsswitch.conf (initgroups): Change action for successful db
14302 lookup to continue for compatibility.
14303
2a81eaa5
UD
143042011-05-09 Ulrich Drepper <drepper@gmail.com>
14305
be97a69e
UD
14306 [BZ #11532]
14307 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14308 and CP774 modules.
14309 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14310 and CP774 modules.
14311 * iconvdata/tst-tables.sh: Likewise.
14312 * iconvdata/cp770.c: New file.
14313 * iconvdata/cp771.c: New file.
14314 * iconvdata/cp772.c: New file.
14315 * iconvdata/cp773.c: New file.
14316 * iconvdata/cp774.c: New file.
14317 * iconvdata/testdata/CP770: New file.
14318 * iconvdata/testdata/CP770..UTF8: New file.
14319 * iconvdata/testdata/CP771: New file.
14320 * iconvdata/testdata/CP771..UTF8: New file.
14321 * iconvdata/testdata/CP772: New file.
14322 * iconvdata/testdata/CP772..UTF8: New file.
14323 * iconvdata/testdata/CP773: New file.
14324 * iconvdata/testdata/CP773..UTF8: New file.
14325 * iconvdata/testdata/CP774: New file.
14326 * iconvdata/testdata/CP774..UTF8: New file.
14327
14328 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14329 END CHARMAP line.
14330 * iconvdata/gen-8bit-gap.sh: Likewise.
14331 * iconvdata/gen-8bit.sh: Likewise.
14332
c1e9e399
UD
14333 * locale/iso-639.def: Add ary entry.
14334
24c55fb3 14335 [BZ #11258]
96b4b1b0
UD
14336 * locale/C-translit.h.in: Add U20A1 transliteration.
14337
bdc2f971
KB
14338 [BZ #12178]
14339 * locale/iso-639.def: Add wae entry.
14340 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14341
2952b117
UD
14342 [BZ #12545]
14343 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14344 for n.
14345
2a81eaa5
UD
14346 [BZ #12711]
14347 * locale/C-translit.h.in: Add entry for U20B9.
14348 Patch by pravin.d.s@gmail.com.
14349
28377d1b
UD
143502011-05-08 Ulrich Drepper <drepper@gmail.com>
14351
7fb90fb8
UD
14352 [BZ #12713]
14353 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14354 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14355 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14356 in rtld. Use *stat64.
7fb90fb8 14357 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14358 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14359 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14360 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14361 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14362 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14363 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14364 __fstatat64 macros.
7fb90fb8
UD
14365 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14366 * dirent/rewinddir.c: Add libc_hidden_def.
14367 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14368 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14369
28377d1b
UD
14370 * include/dirent.h (__alloc_dir): Add flags parameter.
14371 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14372 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14373 __alloc_dir.
14374 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14375 from fdopendir if O_CLOEXEC is already set.
14376
66bdbaa4
AM
143772011-03-15 Alan Modra <amodra@gmail.com>
14378
14379 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14380 l_tls_firstbyte_offset non-zero. Save padding offset in
14381 l_tls_firstbyte_offset for later use.
14382 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14383 freeing static tls block.
14384
95721191
JN
143852011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14386
14387 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14388 where #ifdef was intended. The intent is to prevent ARG_MAX from
14389 being defined by the kernel headers.
14390
f87dfb1f
UD
143912011-05-07 Ulrich Drepper <drepper@gmail.com>
14392
14393 [BZ #12734]
14394 * resolv/resolv.h: Define RES_NOTLDQUERY.
14395 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14396 no-tld-query and set RES_NOTLDQUERY.
14397 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14398 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14399 modern BIND to search name as TLD unless forbidden.
14400
47c3cd7a
UD
144012011-05-07 Petr Baudis <pasky@suse.cz>
14402 Ulrich Drepper <drepper@gmail.com>
14403
14404 [BZ #12393]
14405 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14406 (is_trusted_path): ...to here.
c1e9ea35 14407 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14408 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14409 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14410
8a35c912
PP
144112011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14412
14413 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14414 __BEGIN/__END_DECLS.
14415
acd41f47
UD
144162011-05-06 Ulrich Drepper <drepper@gmail.com>
14417
14418 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14419 NSS_STATUS_NOTFOUND if no record was found.
14420
597df647
AS
144212011-05-05 Andreas Schwab <schwab@redhat.com>
14422
14423 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14424 (headers-not-in-tirpc): Remove rpc/netdb.h
14425 * resolv/netdb.h: Revert last change.
14426
b9af1301
PP
144272011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14428
14429 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14430 circular dependency between libgcc.a and libc.a.
14431
4e34d5f5
AS
144322011-05-05 Andreas Schwab <schwab@redhat.com>
14433
14434 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14435 * nis/Makefile: Don't install rpcsvc/*.
14436 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14437 instead of <rpc/types.h>.
14438 (MAXHOSTNAMELEN): Define.
14439
00ee369c
AS
144402011-05-03 Andreas Schwab <schwab@redhat.com>
14441
14442 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14443
0b592a30
MB
144442011-04-28 Maciej Babinski <mbabinski@google.com>
14445
14446 [BZ #12714]
14447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14448 gethostbyname4_r when IPv6 results are possible.
14449
6e04cbbe
UD
144502011-05-02 Ulrich Drepper <drepper@gmail.com>
14451
14452 [BZ #12723]
14453 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14454 _PC_PIPE_BUF handling.
14455
e4ecafe0
BH
144562011-04-30 Bruno Haible <bruno@clisp.org>
14457
14458 [BZ #12717]
14459 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14460 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14461 to 'int'.
14462 * inet/getnameinfo.c (getnameinfo): Likewise.
14463
125ee683
UD
144642011-04-29 Ulrich Drepper <drepper@gmail.com>
14465
14466 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14467 to groups setting in database lookup.
14468 * nss/nsswitch.conf: Add initgroups entry.
14469
b722481a
EB
144702011-04-22 Ulrich Drepper <drepper@gmail.com>
14471
14472 [BZ #12685]
14473 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14474 mode string.
14475 Patch by Eric Blake <eblake@redhat.com>.
14476
4df46dbd
L
144772011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14478
14479 * sunrpc/Makefile (need-export-routines): Add svc_run.
14480 (routines): Remove svc_run.
14481 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14482 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14483 * sunrpc/svc_run.c (svc_run): Likewise.
14484 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14485
e84142d2
UD
144862011-04-21 Ulrich Drepper <drepper@gmail.com>
14487
14488 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14489 problem in reallocation in last patch.
14490
877175d8
UD
144912011-04-20 Ulrich Drepper <drepper@gmail.com>
14492
14493 * sunrpc/Makefile: Move inclusion of Rules.
14494
ab8eed78
UD
144952011-04-19 Ulrich Drepper <drepper@gmail.com>
14496
14497 * nss/nss_files/files-initgroups.c: New file.
14498 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14499 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14500 _nss_files_initgroups_dyn.
14501
e3d8f584
RS
145022011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14503
14504 * elf/elf.h (R_ARM_IRELATIVE): Define.
14505
af190f45
UD
145062011-04-19 Ulrich Drepper <drepper@gmail.com>
14507
14508 * po/ru.po: Update from translation team.
14509
53cf59ef
UD
145102011-04-17 Ulrich Drepper <drepper@gmail.com>
14511
14512 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14513 dependencies.
14514
4c559bcd
MF
145152011-02-06 Mike Frysinger <vapier@gentoo.org>
14516
14517 [BZ #12653]
14518 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14519 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14520 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14521 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14522 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14523
4420675c
AS
145242011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14525
14526 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14527 differing bytes.
14528 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14529 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14530 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14531
75ea32ab
UD
145322011-04-17 Ulrich Drepper <drepper@gmail.com>
14533
14534 [BZ #12420]
14535 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14536 storing it.
14537 * stdlib/bug-getcontext.c: New file.
14538 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14539
27390476
AK
145402011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14541
14542 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14543 instructions into .machine "z9-109".
14544 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14545 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14546
10442705
AK
145472011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14548
14549 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14550 between environment variables and auxiliary vector.
14551
7b57bfe5
UD
145522011-04-16 Ulrich Drepper <drepper@gmail.com>
14553
14554 * Makefile: Add rules to build linkobj/libc.so.
14555 * include/libc-symbols.h: Define libc_hidden_nolink.
14556 * include/rpc/auth.h: Mark functions which are to be hidden.
14557 * include/rpc/auth_des.h: Likewise.
14558 * include/rpc/auth_unix.h: Likewise.
14559 * include/rpc/clnt.h: Likewise.
14560 * include/rpc/des_crypt.h: Likewise.
14561 * include/rpc/key_prot.h: Likewise.
14562 * include/rpc/pmap_clnt.h: Likewise.
14563 * include/rpc/pmap_prot.h: Likewise.
14564 * include/rpc/pmap_rmt.h: Likewise.
14565 * include/rpc/rpc_msg.h: Likewise.
14566 * include/rpc/svc.h: Likewise.
14567 * include/rpc/svc_auth.h: Likewise.
14568 * include/rpc/xdr.h: Likewise.
14569 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14570 * nss/Makefile: Likewise.
14571 * sunrpc/Makefile: Don't install headers. Build library with normal
14572 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14573 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14574 for the compat linking library. Remove use of INTDEF/INTUSE.
14575 * sunrpc/auth_none.c: Likewise.
14576 * sunrpc/auth_unix.c: Likewise.
14577 * sunrpc/authdes_prot.c: Likewise.
14578 * sunrpc/authuxprot.c: Likewise.
14579 * sunrpc/clnt_gen.c: Likewise.
14580 * sunrpc/clnt_perr.c: Likewise.
14581 * sunrpc/clnt_raw.c: Likewise.
14582 * sunrpc/clnt_simp.c: Likewise.
14583 * sunrpc/clnt_tcp.c: Likewise.
14584 * sunrpc/clnt_udp.c: Likewise.
14585 * sunrpc/clnt_unix.c: Likewise.
14586 * sunrpc/des_crypt.c: Likewise.
14587 * sunrpc/des_soft.c: Likewise.
14588 * sunrpc/get_myaddr.c: Likewise.
14589 * sunrpc/key_call.c: Likewise.
14590 * sunrpc/key_prot.c: Likewise.
14591 * sunrpc/netname.c: Likewise.
14592 * sunrpc/pm_getmaps.c: Likewise.
14593 * sunrpc/pm_getport.c: Likewise.
14594 * sunrpc/pmap_clnt.c: Likewise.
14595 * sunrpc/pmap_prot.c: Likewise.
14596 * sunrpc/pmap_prot2.c: Likewise.
14597 * sunrpc/pmap_rmt.c: Likewise.
14598 * sunrpc/publickey.c: Likewise.
14599 * sunrpc/rpc_cmsg.c: Likewise.
14600 * sunrpc/rpc_common.c: Likewise.
14601 * sunrpc/rpc_dtable.c: Likewise.
14602 * sunrpc/rpc_prot.c: Likewise.
14603 * sunrpc/rpc_thread.c: Likewise.
14604 * sunrpc/rtime.c: Likewise.
14605 * sunrpc/svc.c: Likewise.
14606 * sunrpc/svc_auth.c: Likewise.
14607 * sunrpc/svc_authux.c: Likewise.
14608 * sunrpc/svc_raw.c: Likewise.
14609 * sunrpc/svc_run.c: Likewise.
14610 * sunrpc/svc_simple.c: Likewise.
14611 * sunrpc/svc_tcp.c: Likewise.
14612 * sunrpc/svc_udp.c: Likewise.
14613 * sunrpc/svc_unix.c: Likewise.
14614 * sunrpc/svcauth_des.c: Likewise.
14615 * sunrpc/xcrypt.c: Likewise.
14616 * sunrpc/xdr.c: Likewise.
14617 * sunrpc/xdr_array.c: Likewise.
14618 * sunrpc/xdr_float.c: Likewise.
14619 * sunrpc/xdr_intXX_t.c: Likewise.
14620 * sunrpc/xdr_mem.c: Likewise.
14621 * sunrpc/xdr_rec.c: Likewise.
14622 * sunrpc/xdr_ref.c: Likewise.
14623 * sunrpc/xdr_sizeof.c: Likewise.
14624 * sunrpc/xdr_stdio.c: Likewise.
14625
e6c61494
UD
146262011-04-10 Ulrich Drepper <drepper@gmail.com>
14627
14628 [BZ #12650]
14629 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14630 * sysdeps/ia64/dl-tls.h: Likewise.
14631 * sysdeps/powerpc/dl-tls.h: Likewise.
14632 * sysdeps/s390/dl-tls.h: Likewise.
14633 * sysdeps/sh/dl-tls.h: Likewise.
14634 * sysdeps/sparc/dl-tls.h: Likewise.
14635 * sysdeps/x86_64/dl-tls.h: Likewise.
14636 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14637
34fe483e
AS
146382011-03-14 Andreas Schwab <schwab@redhat.com>
14639
14640 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14641 rpath element also skip the following colon.
14642 (expand_dynamic_string_token): Add is_path parameter and pass
14643 down to DL_DST_REQUIRED and _dl_dst_substitute.
14644 (decompose_rpath): Call expand_dynamic_string_token with
14645 non-zero is_path. Ignore empty rpaths.
14646 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14647 with zero is_path.
14648
f12a32e6
AS
146492011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14650
14651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14652 Make cancelable.
14653
38a7d692
UD
146542011-04-09 Ulrich Drepper <drepper@gmail.com>
14655
14656 [BZ #12655]
14657 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14658 Patch by Filipe David Manana <fdmanana@apache.org>.
14659
e451d22b
AS
146602011-04-07 Andreas Schwab <schwab@redhat.com>
14661
14662 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14663 Maintain aligned stack.
14664 (CHECK_RSP): Remove unused macro.
14665
dedc7c7b
UD
146662011-04-03 Ulrich Drepper <drepper@gmail.com>
14667
14668 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14669 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14670
94521213
UD
146712011-04-02 Ulrich Drepper <drepper@gmail.com>
14672
14673 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14674
8cb700c0 14675 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14676
0354e355
L
146772011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14678
14679 [BZ #12518]
14680 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14681 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14682 * sysdeps/x86_64/memmove.c: New file.
14683 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14684 (memcpy): Renamed to ...
14685 (__new_memcpy): This.
14686 (memcpy): Provide GLIBC_2_14 memcpy.
14687 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14688 (memcpy): Provide GLIBC_2_2_5 memcpy.
14689
8593482f
UD
146902011-04-01 Ulrich Drepper <drepper@gmail.com>
14691
14692 [BZ #12631]
14693 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14694
81a5726b
AS
146952011-03-30 Andreas Schwab <schwab@redhat.com>
14696
14697 * misc/syncfs.c: New file.
14698 * misc/Makefile (routines): Add syncfs.
14699 * posix/unistd.h: Declare syncfs.
14700 * sysdeps/unix/syscalls.list: Add syncfs.
14701
00e5419f
AS
147022011-04-01 Andreas Schwab <schwab@redhat.com>
14703
14704 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14705 open_by_handle_at.
14706 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14707 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14708 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14709 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14711 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14712 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14713
748876bf
UD
147142011-04-01 Ulrich Drepper <drepper@gmail.com>
14715
658e451d
UD
14716 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14717 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14718 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14719 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14720 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14721 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14722 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14723
748876bf
UD
14724 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14725 sync_file_range.c with -fexceptions.
14726 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14727 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14728 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14729 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14730 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14731 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14732 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14733 sync_file_range as cancellation point
14734 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14735 now a wrapper around __call_sync_file_range with cancellation handling.
14736 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14737 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14738 function name to __call_sync_file_range.
14739 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14740 Add call_sync_file_range.
748876bf 14741
6e63d5e1
AS
147422011-04-01 Andreas Schwab <schwab@redhat.com>
14743
14744 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14745 bits/timex.h.
6e63d5e1 14746
46998f74
UD
147472011-04-01 Ulrich Drepper <drepper@gmail.com>
14748
4c1423ed
UD
14749 * iconv/iconv.h: Fix typo in comment.
14750 * io/fcntl.h: Likewise.
14751 * libio/stdio.h: Likewise.
14752 * posix/spawn.h: Likewise.
14753 * posix/unistd.h: Likewise.
14754 * stdlib/stdlib.h: Likewise.
14755 * time/time.h: Likewise.
14756 * wcsmbs/wchar.h: Likewise.
14757
158648c0
UD
14758 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14759 open_by_handle): Add.
14760 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14761 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14762 Augment a few comments.
14763 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14764 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14765 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14766 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14767 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14768 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14769 open_by_handle.
14770
46998f74
UD
14771 * io/fcntl.h (AT_EMPTY_PATH): Define.
14772
83fe108b
UD
147732011-03-30 Ulrich Drepper <drepper@gmail.com>
14774
14775 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14776 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14777 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14778 to...
14779 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14780 * Versions.def: Add GLIBC_2.14.
14781 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14782 Export.
83fe108b 14783
bb242059
UD
147842011-03-22 Ulrich Drepper <drepper@gmail.com>
14785
14786 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14787 round counter.
14788 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14789
c97a1282
L
147902011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14791
14792 [BZ #12597]
14793 * string/test-strncmp.c (do_page_test): New function.
14794 (check2): Likewise.
14795 (test_main): Call check2.
14796 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14797
2a115601
UD
147982011-03-20 Ulrich Drepper <drepper@gmail.com>
14799
14800 [BZ #12587]
14801 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14802 Handle cache information in CPU leaf 4.
14803 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14804
8126d904
UD
148052011-03-18 Ulrich Drepper <drepper@gmail.com>
14806
042c49c6 14807 [BZ #12583]
8126d904
UD
14808 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14809 character representation.
14810 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14811
ccfe366e
RA
148122011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14813
14814 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14815 END(__isnan) to END(__isnanf) to match function entry point/label
14816 EALIGN(__isnanf,...).
14817
c6e13027
JJ
148182011-03-10 Jakub Jelinek <jakub@redhat.com>
14819
14820 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14821
33f85a3f
UD
148222011-03-10 Ulrich Drepper <drepper@gmail.com>
14823
028478fa
UD
14824 [BZ #12510]
14825 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14826 copy from the symbol referenced in the relocation to initialize the
14827 used variable.
14828 Patch by Piotr Bury <pbury@goahead.com>.
14829 * elf/Makefile: Add rules to build and tst-unique3.
14830 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14831 * elf/tst-unique3.cc: New file.
14832 * elf/tst-unique3.h: New file.
14833 * elf/tst-unique3lib.cc: New file.
14834 * elf/tst-unique3lib2.cc: New file.
14835
33f85a3f
UD
14836 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14837
03592fc7
MF
148382011-03-10 Mike Frysinger <vapier@gentoo.org>
14839
14840 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14841 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14842 to _start.
03592fc7 14843
6a5ee102
UD
148442011-03-06 Ulrich Drepper <drepper@gmail.com>
14845
14846 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14847 to-be-loaded object along a path to loader is ld.so.
14848
7e4ba49c
HJ
148492011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14850 Ulrich Drepper <drepper@gmail.com>
14851
14852 * sysdeps/x86_64/memset.S: After aligning destination, code
14853 branches to different locations depending on the value of
14854 misalignment, when multiarch is enabled. Fix this.
14855
148562011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14857
14858 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14859 Set _x86_64_preferred_memory_instruction for AMD processsors.
14860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14861 Set bit_Prefer_SSE_for_memop for AMD processors.
14862
13a804de
UD
148632011-03-04 Ulrich Drepper <drepper@gmail.com>
14864
14865 * libio/fmemopen.c (fmemopen): Optimize a bit.
14866
9d25c392
AS
148672011-03-03 Andreas Schwab <schwab@redhat.com>
14868
14869 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14870
a5543c6a
RM
148712011-03-03 Roland McGrath <roland@redhat.com>
14872
14873 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14874
012d35f7
DM
148752011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14876
7e4ba49c 14877 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14878 __bzero_ultra1 instead of __memset_ultra1.
14879
4bff6e01
AS
148802011-02-23 Andreas Schwab <schwab@redhat.com>
14881 Ulrich Drepper <drepper@gmail.com>
14882
14883 [BZ #12509]
14884 * include/link.h (struct link_map): Add l_orig_initfini.
14885 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14886 returning unsuccessfully.
14887 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14888 close of a file loaded at startup, restore the original l_initfini
14889 list.
14890 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14891 list, store the pointer.
14892 * elf/Makefile ($(objpfx)noload-mem): New rule.
14893 (noload-ENV): Define.
14894 (tests): Add $(objpfx)noload-mem.
14895 * elf/noload.c: Include <memcheck.h>.
14896 (main): Call mtrace. Close all opened handles.
14897
f2092faf
AS
148982011-02-17 Andreas Schwab <schwab@redhat.com>
14899
14900 [BZ #12454]
14901 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14902 dependencies are missing.
14903
6c8a2e88
ST
149042011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14905
f2092faf 14906 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14907 Hurd needs munmap.
14908 * sysdeps/mach/hurd/ifreq.h: New file.
14909
84a42118
PB
149102011-01-27 Petr Baudis <pasky@suse.cz>
14911 Ulrich Drepper <drepper@gmail.com>
14912
071f805e 14913 [BZ 12445]#
84a42118
PB
14914 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14915 to extend_alloca().
14916 * stdio-common/bug23.c: New file.
14917 * stdio-common/Makefile (tests): Add bug23.
14918
e23fe25b
AS
149192010-09-28 Andreas Schwab <schwab@redhat.com>
14920 Ulrich Drepper <drepper@gmail.com>
14921
14922 [BZ #12489]
14923 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14924 before performing relro protection. At old place add assertion
14925 to make sure nothing changed.
14926
d3f02e10
NS
149272011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14928 Glauber de Oliveira Costa <glommer@gmail.com>
14929
14930 * elf/elf.h: Add new ARM TLS relocs.
14931
d55fd7a5
RA
149322011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14933
14934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14935 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14936 cast from r3.
14937 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14938 'tests' variable.
14939 * sysdeps/wordsize-64/tst-writev.c: New file.
14940
2206397e
RA
149412011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14942
14943 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14944 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14945 insns in _dl_start to prevent a TOC reference before relocs are
14946 resolved.
14947
e9433893
UD
149482011-02-15 Ulrich Drepper <drepper@gmail.com>
14949
14950 [BZ #12469]
14951 * Makeconfig: Remove RANLIB definition.
14952 * Makerules: Don't use RANLIB.
14953 * aclocal.m4: Remove ranlib test.
14954 * configure.in: No need to check for ranlib.
14955 * elf/rtld-Rules: Don't use RANLIB.
14956
f75286c6
ST
149572011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14958
8e31c82d
ST
14959 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14960 protection macro.
14961 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14962 inclusion protection macro.
14963
f75286c6
ST
14964 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14965 SIGRTMIN and SIGRTMAX and print information in that case only when
14966 SIGRTMIN is defined.
14967
c1d0e639
JJ
149682011-02-11 Jakub Jelinek <jakub@redhat.com>
14969
14970 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14971 arginfo fn returning -1.
14972
14973 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14974 and thousands string is zero terminated.
14975
edf9294e
AS
149762011-02-03 Andreas Schwab <schwab@redhat.com>
14977
14978 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14979 sysdeps/unix/sysv/linux/bits/socket.h.
14980
2b7e92df
ST
149812011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14982
edf9294e
AS
14983 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14984 (__CPU_COUNT): Remove old macros.
14985 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14986 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14987 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14988 (__sched_cpualloc, __sched_cpufree): Add declarations.
14989
a4c7ea7b
UD
149902011-02-05 Ulrich Drepper <drepper@gmail.com>
14991
14992 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14993 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14994 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14995 (readdhstai): Return value of addhstaiX call.
14996 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14997 (addgrbyX): Return value returned by cache_addgr.
14998 (readdgrbyname): Return value returned by addgrbyX.
14999 (readdgrbygid): Likewise.
15000 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15001 (addpwbyX): Return value returned by cache_addpw.
15002 (readdpwbyname): Return value returned by addhstbyX.
15003 (readdpwbyuid): Likewise.
15004 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15005 (addservbyX): Return value returned by cache_addserv.
15006 (readdservbyname): Return value returned by addservbyX:
15007 (readdservbyport): Likewise.
15008 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15009 (addhstbyX): Return value returned by cache_addhst.
15010 (readdhstbyname): Return value returned by addhstbyX.
15011 (readdhstbyaddr): Likewise.
15012 (readdhstbynamev6): Likewise.
15013 (readdhstbyaddrv6): Likewise.
15014 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15015 (readdinitgroups): Return value returned by addinitgroupsX.
15016 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15017 (prune_cache): Keep track of timeout value of re-added entries.
15018 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15019 * nscd/nscd.h: Adjust prototypes of readd* functions.
15020
a0bf67cc
RM
150212011-02-04 Roland McGrath <roland@redhat.com>
15022
15023 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15024 (nis_stats): Likewise.
15025 * nis/nis_modify.c (nis_modify): Likewise.
15026 * nis/nis_remove.c (nis_remove): Likewise.
15027 * nis/nis_add.c (nis_add): Likewise.
15028
15029 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15030
15031 * posix/fnmatch_loop.c: Add some consts.
15032
15033 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15034
435b95eb
L
150352011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15036
15037 [BZ #12460]
15038 * config.make.in (config-cflags-novzeroupper): Define.
15039 * configure.in: Substitute libc_cv_cc_novzeroupper.
15040 * elf/Makefile (AVX-CFLAGS): Define.
15041 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15042 (CFLAGS-tst-auditmod4a.c): Likewise.
15043 (CFLAGS-tst-auditmod4b.c): Likewise.
15044 (CFLAGS-tst-auditmod6b.c): Likewise.
15045 (CFLAGS-tst-auditmod6c.c): Likewise.
15046 (CFLAGS-tst-auditmod7b.c): Likewise.
15047 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15048
8517b15e
UD
150492011-02-02 Ulrich Drepper <drepper@gmail.com>
15050
15051 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15052 function to the callback.
15053 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15054
10a656fe
AS
150552011-02-02 Andreas Schwab <schwab@redhat.com>
15056
15057 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15058 of errno.
15059
968dad0a
UD
150602011-01-19 Ulrich Drepper <drepper@gmail.com>
15061
9f94d2ea 15062 [BZ #11724]
968dad0a
UD
15063 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15064 of constructors.
15065 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15066 of destructors.
15067 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15068
15069 [BZ #11724]
15070 * elf/Makefile: Add rules to build and run new test.
15071 * elf/tst-initorder.c: New file.
15072 * elf/tst-initorder.exp: New file.
15073 * elf/tst-initordera1.c: New file.
15074 * elf/tst-initordera2.c: New file.
15075 * elf/tst-initordera3.c: New file.
15076 * elf/tst-initordera4.c: New file.
15077 * elf/tst-initorderb1.c: New file.
15078 * elf/tst-initorderb2.c: New file.
15079 * elf/tst-order-a1.c: New file.
15080 * elf/tst-order-a2.c: New file.
15081 * elf/tst-order-a3.c: New file.
15082 * elf/tst-order-a4.c: New file.
15083 * elf/tst-order-b1.c: New file.
15084 * elf/tst-order-b2.c: New file.
15085 * elf/tst-order-main.c: New file.
15086 New test case by George Gensure <werkt0@gmail.com>.
15087
86e92359
UD
150882010-10-01 Andreas Schwab <schwab@redhat.com>
15089
15090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15091 decoding ACE if AI_CANONIDN.
15092
5d5732b0
UD
150932011-01-18 Ulrich Drepper <drepper@gmail.com>
15094
15095 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15096
a77e8cbc
UD
150972011-01-17 Ulrich Drepper <drepper@gmail.com>
15098
6392473f
UD
15099 * version.h (RELEASE): Bump for 2.13 release.
15100 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15101
620a0529
UD
15102 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15103
18ba70a5
UD
15104 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15105 MADV_NOHUGEPAGE.
32465c3e
UD
15106 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15107 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15108 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15109 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15110 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15111 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15112
c0dafcf1
UD
15113 * posix/getconf.c: Update copyright year.
15114 * catgets/gencat.c: Likewise.
15115 * csu/version.c: Likewise.
15116 * debug/catchsegv.sh: Likewise.
15117 * debug/xtrace.sh: Likewise.
15118 * elf/ldconfig.c: Likewise.
15119 * elf/ldd.bash.in: Likewise.
15120 * elf/sprof.c (print_version): Likewise.
15121 * iconv/iconv_prog.c: Likewise.
15122 * iconv/iconvconfig.c: Likewise.
15123 * locale/programs/locale.c: Likewise.
15124 * locale/programs/localedef.c: Likewise.
15125 * malloc/memusage.sh: Likewise.
15126 * malloc/mtrace.pl: Likewise.
15127 * nscd/nscd.c (print_version): Likewise.
15128 * nss/getent.c: Likewise.
15129
a77e8cbc
UD
15130 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15131 PF_CAIF, and PF_ALG.
15132 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15133
77e8bddf
AS
151342011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15135
1f20b93a
AS
15136 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15137 (modules-names): Use them.
15138 (ifunc-test-modules, ifunc-pie-tests): Define.
15139 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15140 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15141 (test-extras): Likewise.
15142 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15143 $(compile-command.c).
15144 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15145 (all-built-dso): Define.
15146 (check-textrel.out, check-execstack.out): Depend on it.
15147
77e8bddf
AS
15148 * configure.in: Don't override --enable-multi-arch.
15149
bc425b33
UD
151502011-01-15 Ulrich Drepper <drepper@gmail.com>
15151
15152 [BZ #6812]
15153 * nscd/hstcache.c (tryagain): Define.
15154 (cache_addhst): Return tryagain not notfound for temporary errors.
15155 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15156 failed.
15157
794c3ad3
UD
151582011-01-14 Ulrich Drepper <drepper@gmail.com>
15159
70181fdd
UD
15160 [BZ #10563]
15161 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15162 to make the syscall.
15163 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15164
794c3ad3
UD
15165 [BZ #12378]
15166 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15167 and fall back to matching as normal character if the string ends before
15168 the matching ']' is found. This is what POSIX requires.
15169 * posix/testfnm.c: Adjust test result.
15170 * posix/globtest.sh: Adjust test result. Add new test.
15171 * posix/tst-fnmatch.input: Likewise.
15172 * posix/tst-fnmatch2.c: Add new test.
15173
68dc9497
AS
151742010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15175
15176 * elf/Makefile (check-execstack): Revert last change. Depend on
15177 check-execstack.h.
15178 (check-execstack.h): New target.
15179 (generated): Add check-execstack.h.
15180 * elf/check-execstack.c: Include "check-execstack.h".
15181 (main): Revert last change.
15182 (handle_file): Return zero if GNU_STACK is absent and
15183 DEFAULT_STACK_PERMS doesn't include PF_X.
15184
451f001b
UD
151852011-01-13 Ulrich Drepper <drepper@gmail.com>
15186
cfa28e56
UD
15187 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15188 in child fails because the descriptor is already closed.
8cf8ce17
UD
15189 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15190 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15191 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15192
1086d70d
UD
15193 [BZ #12397]
15194 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15195 syscall.
15196
451f001b
UD
15197 [BZ #10484]
15198 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15199 temporary buffer used to handle multi lookups locally.
a85b5cb4 15200 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15201
08769175
UD
152022011-01-12 Ulrich Drepper <drepper@gmail.com>
15203
15204 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15205 loader is ld.so.
15206
5e49c52e
UD
152072011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15208
15209 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15210 alignment for SSE2.
15211
60522a5f
UD
152122011-01-12 Ulrich Drepper <drepper@gmail.com>
15213
15214 [BZ #12394]
15215 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15216 characters. When rounding increased number of integer digits recompute
15217 number of groups.
15218 * stdio-common/tst-grouping.c: New file.
15219 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15220
f257bbd7
UD
152212011-01-09 Ulrich Drepper <drepper@gmail.com>
15222
15223 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15224 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15225
15226 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15227 void.
15228 * bits/select.h: Likewise.
15229
fa9c15cb
UD
152302011-01-08 Ulrich Drepper <drepper@gmail.com>
15231
15232 * po/ja.po: Update from translation team.
15233
16c2895f
DM
152342011-01-04 David S. Miller <davem@sunset.davemloft.net>
15235
15236 [BZ #11155]
15237 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15238 implementation just like for lxstat, fxstatat, et al.
15239
2543fef2
JM
152402010-12-27 Jim Meyering <meyering@redhat.com>
15241
15242 [BZ #12348]
15243 * posix/regexec.c (build_trtable): Return failure indication upon
15244 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15245
98727dbe
UD
152462010-12-25 Ulrich Drepper <drepper@gmail.com>
15247
5bd6dc5c
UD
15248 [BZ #12201]
15249 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15250 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15251 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15252 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15253
97983464
UD
15254 [BZ #12207]
15255 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15256
98727dbe
UD
15257 [BZ #12204]
15258 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15259 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15260
4a531bb0
L
152612010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15262
15263 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15264 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15265 script has SORT_BY_INIT_PRIORITY.
15266 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15267 NO_CTORS_DTORS_SECTIONS is defined.
15268 * elf/soinit.c: Likewise.
15269 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15270 NO_CTORS_DTORS_SECTIONS is defined.
15271 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15272 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15273 * sysdeps/sh/init-first.c: Likewise.
15274 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15275
07eb4b71
UD
152762010-12-24 Ulrich Drepper <drepper@gmail.com>
15277
15278 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15279 always use the slow path.
15280
30950a5f
RA
152812010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15282
15283 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15284 similar rule which adds the sysdep directories to the header search in
15285 order to pick up the correct platform stackinfo.h.
15286 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15287 perform test if it is, otherwise return successfully without testing.
15288 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15289 DEFAULT_STACK_PERMS define in stackinfo.h.
15290 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15291 defined in stackinfo.h.
15292 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15293 DEFAULT_STACK_PERMS defined in stackinfo.h.
15294 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15295 * sysdeps/ia64/stackinfo.h: Likewise.
15296 * sysdeps/s390/stackinfo.h: Likewise.
15297 * sysdeps/sh/stackinfo.h: Likewise.
15298 * sysdeps/sparc/stackinfo.h: Likewise.
15299 * sysdeps/x86_64/stackinfo.h: Likewise.
15300 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15301 PF_X for powerpc64. Retain PF_X for powerpc32.
15302
db753e2c
UD
153032010-12-19 Ulrich Drepper <drepper@gmail.com>
15304
14b697f7
UD
15305 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15306 accurately.
db753e2c
UD
15307 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15308 GETDENTS_64BIT_ALIGNED.
15309
28300719
UD
153102010-12-14 Ulrich Drepper <dreper@gmail.com>
15311
14b697f7 15312 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15313
4f197237
AS
153142010-12-10 Andreas Schwab <schwab@redhat.com>
15315
dbb0472f
AS
15316 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15317 _GNU_SOURCE.
15318
4f197237
AS
15319 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15320 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15321 Remove __restrict.
15322 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15323 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15324
fb88ac72
UD
153252010-12-09 Ulrich Drepper <drepper@gmail.com>
15326
15327 [BZ #11655]
15328 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15329 are initialized.
15330
42acbb92
JJ
153312010-12-09 Jakub Jelinek <jakub@redhat.com>
15332
15333 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15334
c038d98d
UD
153352010-12-03 Ulrich Drepper <drepper@gmail.com>
15336
15337 * po/it.po: Update from translation team.
15338
3a4a2499
L
153392010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15340
15341 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15342 unused codes.
15343
1e24cf6e
UD
153442010-11-30 Ulrich Drepper <drepper@gmail.com>
15345
15346 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15347
a7690819
AS
153482010-11-24 Andreas Schwab <schwab@redhat.com>
15349
15350 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15351 specially.
15352 (gaih_getanswer_slice): Likewise.
15353
3bf8d1b1
JJ
153542010-10-20 Jakub Jelinek <jakub@redhat.com>
15355
15356 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15357
6db52fbb
PB
153582010-05-31 Petr Baudis <pasky@suse.cz>
15359
15360 [BZ #11149]
15361 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15362 silently even in the chroot mode.
15363
eaca7569
UD
153642010-11-22 Ulrich Drepper <drepper@gmail.com>
15365
15366 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15367 last patch a bit. Pretty printing
15368
3056dcdb
UD
153692010-05-31 Petr Baudis <pasky@suse.cz>
15370
15371 [BZ #10085]
15372 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15373 initialization of skip_initgroups_dyn.
15374
cf7c9078
UD
153752010-11-19 Ulrich Drepper <drepper@gmail.com>
15376
15377 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15378 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15379
a1fb5e3e
UD
153802010-11-16 Ulrich Drepper <drepper@gmail.com>
15381
15382 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15383
3540d66b
AS
153842010-11-11 Andreas Schwab <schwab@redhat.com>
15385
15386 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15387 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15388 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15389 ($(objpfx)tst-fnmatch-mem): New rule.
15390 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15391 * posix/tst-fnmatch.c (main): Call mtrace.
15392
13b69574
L
153932010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15394
15395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15396 Support Intel processor model 6 and model 0x2c.
15397
da93d214
LM
153982010-11-10 Luis Machado <luisgpm@br.ibm.com>
15399
15400 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15401 signed comparison.
15402
8ca52c6e
L
154032010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15404
15405 [BZ #12205]
15406 * string/test-strncasecmp.c (check_result): New function.
15407 (do_one_test): Use it.
15408 (check1): New function.
15409 (test_main): Use it.
15410 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15411 Support strcasecmp and strncasecmp.
15412
69da074d
UD
154132010-11-08 Ulrich Drepper <drepper@gmail.com>
15414
15415 [BZ #12194]
15416 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15417 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15418
ff02d528
L
154192010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15420
15421 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15422 IFUNC support.
15423 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15424 memset-x86-64.
15425 * sysdeps/x86_64/multiarch/bzero.S: New file.
15426 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15427 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15428 * sysdeps/x86_64/multiarch/memset.S: New file.
15429 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15430 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15431 Set bit_Prefer_SSE_for_memop for Intel processors.
15432 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15433 Define.
15434 (index_Prefer_SSE_for_memop): Define.
15435 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15436
344d0b54
LM
154372010-11-04 Luis Machado <luisgpm@br.ibm.com>
15438
15439 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15440 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15441
c0dde15b
UD
154422010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15443
15444 [BZ #12191]
15445 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15446 (__x86_64_raw_data_cache_size_half): Likewise.
15447 (__x86_64_raw_shared_cache_size): Likewise.
15448 (__x86_64_raw_shared_cache_size_half): Likewise.
15449
15450 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15451 (__x86_64_raw_data_cache_size_half): Likewise.
15452 (__x86_64_raw_shared_cache_size): Likewise.
15453 (__x86_64_raw_shared_cache_size_half): Likewise.
15454 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15455 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15456 and __x86_64_raw_shared_cache_size_half. Round
15457 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15458 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15459 to multiple of 256 bytes.
15460
0e516e0e
MS
154612010-11-03 Ulrich Drepper <drepper@gmail.com>
15462
15463 [BZ #12167]
15464 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15465 of inacessible symlinks. Verify result of symlink before returning it.
15466 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15467 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15468
0e012e87
ER
154692010-10-28 Erich Ritz <erichritz@gmail.com>
15470
15471 * math/math.h (isinf): Fix typo in comment.
15472
de0ff7bc
UD
154732010-11-01 Ulrich Drepper <drepper@gmail.com>
15474
15475 * po/da.po: Update from translation team.
15476
fa41c84d
UD
154772010-10-26 Ulrich Drepper <drepper@gmail.com>
15478
15479 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15480 is added to the list.
15481
f0967738
AK
154822010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15483 Ulrich Drepper <drepper@gmail.com>
15484
15485 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15486 the global list here. Move code to...
15487 (_dl_add_to_namespace_list): ...here. New function.
15488 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15489 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15490 * elf/dl-load.c (lose): Don't remove the element from the list.
15491 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15492 (_dl_map_object): Likewise.
15493
154942010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15495
15496 [BZ #12159]
15497 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15498 into all bytes of SSE register.
15499 Patch by Richard Li <richardpku@gmail.com>.
15500
f0967738 155012010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15502
15503 [BZ #12140]
15504 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15505 perturbing.
15506
d0b9e94f
MB
155072010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15508
15509 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15510 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15511 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15512 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15514 submachine.
15515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15516
8e9f92e9
AS
155172010-10-22 Andreas Schwab <schwab@redhat.com>
15518
15519 * include/dlfcn.h (__RTLD_SECURE): Define.
15520 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15521 mode & __RTLD_SECURE instead.
15522 (open_path): Rename preloaded parameter to secure.
15523 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15524 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15525 * elf/dl-deps.c (openaux): Likewise.
15526 * elf/rtld.c (struct map_args): Remove is_preloaded.
15527 (map_doit): Don't use it.
15528 (dl_main): Likewise.
15529 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15530 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15531
bc96fbda
AS
155322010-09-09 Andreas Schwab <schwab@redhat.com>
15533
15534 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15535 (sysd-rules-targets): Remove duplicates.
15536 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15537 rtld-%.$o dependency.
15538
22cd1c9b
AS
155392010-10-18 Andreas Schwab <schwab@redhat.com>
15540
15541 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15542 _dl_map_object do it.
15543
18edac48
UD
155442010-10-19 Ulrich Drepper <drepper@gmail.com>
15545
15546 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15547 fast fma builtins, define the macros in the C99 standard.
15548 (FP_FAST_FMAF): Likewise.
15549 (FP_FAST_FMAL): Likewise.
15550 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15551
15552 * bits/mathdef.h: Update copyright year.
15553 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15554
d2050124
MM
155552010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15556
15557 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15558 builtins, define the macros in the C99 standard.
15559 (FP_FAST_FMAF): Likewise.
15560 (FP_FAST_FMAL): Likewise.
15561 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15562 multiply/add.
15563 (FP_FAST_FMAF): Likewise.
15564
475facd1
JJ
155652010-10-15 Jakub Jelinek <jakub@redhat.com>
15566
15567 [BZ #3268]
15568 * math/libm-test.inc (fma_test): Some new testcases.
15569 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15570 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15571 y and infinite z. Do multiplication by C already in long double.
15572 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15573 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15574 y and infinite z. Do bitwise or of inexact bit into u.d.
15575 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15576 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15577 * sysdeps/i386/fpu/s_fma.S: Removed.
15578 * sysdeps/i386/fpu/s_fmal.S: Removed.
15579
7c08a05c
JJ
155802010-10-16 Jakub Jelinek <jakub@redhat.com>
15581
15582 [BZ #3268]
15583 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15584 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15585 computation is not scheduled after fetestexcept. Fix value
15586 of minimum denormal long double.
15587
f3f7372d
JJ
155882010-10-14 Jakub Jelinek <jakub@redhat.com>
15589
15590 [BZ #3268]
15591 * math/libm-test.inc (fma_test): Add some more tests.
15592 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15593 correctly.
15594
14d43591
AS
155952010-10-15 Andreas Schwab <schwab@redhat.com>
15596
15597 * scripts/data/localplt-s390-linux-gnu.data: New file.
15598 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15599
5e908464
JJ
156002010-10-13 Jakub Jelinek <jakub@redhat.com>
15601
15602 [BZ #3268]
15603 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15604 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15605 instead of dbl-64.
15606 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15607 inlines.
15608 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15610 if one of x and y is very large and the other is subnormal.
15611 * sysdeps/s390/fpu/s_fmaf.c: New file.
15612 * sysdeps/s390/fpu/s_fma.c: New file.
15613 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15614 * sysdeps/powerpc/fpu/s_fma.S: New file.
15615 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15616 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15617 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15618
156192010-10-12 Jakub Jelinek <jakub@redhat.com>
15620
15621 [BZ #3268]
15622 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15623 fma tests.
15624 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15625 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15626 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15627 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15628 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15629 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15630 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15631
b833d51f
UD
156322010-10-12 Ulrich Drepper <drepper@redhat.com>
15633
15634 [BZ #12078]
15635 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15636 * posix/bug-regex31.input: Add test case.
15637
1751705d
UD
156382010-10-11 Ulrich Drepper <drepper@gmail.com>
15639
e9b9cbf5
UD
15640 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15641 * posix/bug-regex31.input: New file.
15642
15643 [BZ #12078]
15644 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15645 (parse_sub_exp): Fix last change, use postorder.
15646
ef06edbe
UD
15647 * posix/bug-regex31.c: New file.
15648 * posix/Makefile: Add rules to build and run bug-regex31.
15649
a129c80d
UD
15650 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15651
15652 [BZ #12078]
15653 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15654
b76b818e
UD
15655 [BZ #12108]
15656 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15657 to have entries in sys_siglist.
15658
1751705d
UD
15659 [BZ #12093]
15660 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15661 be NULL.
15662
9ff8d36f
JJ
156632010-10-07 Jakub Jelinek <jakub@redhat.com>
15664
15665 [BZ #3268]
15666 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15667 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15668 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15669 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15670 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15671 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15672 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15673 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15674 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15675 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15676 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15677 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15678 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15679 * math/ftestexcept.c (fetestexcept): Likewise.
15680 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15681 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15682 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15683 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15684 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15685 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15686 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15687
af325969
UD
156882010-10-11 Ulrich Drepper <drepper@gmail.com>
15689
c579b202 15690 [BZ #12107]
af325969
UD
15691 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15692 newline.
15693
67a67b95
UD
156942010-10-06 Ulrich Drepper <drepper@gmail.com>
15695
15696 * string/bug-strstr1.c: New file.
15697 * string/Makefile: Add rules to build and run bug-strstr1.
15698
5fb308bc
EB
156992010-10-05 Eric Blake <eblake@redhat.com>
15700
15701 [BZ #12092]
15702 * string/str-two-way.h (two_way_long_needle): Always clear memory
15703 when skipping input due to the shift table.
15704
45db99c7
UD
157052010-10-03 Ulrich Drepper <drepper@gmail.com>
15706
3b111893
UD
15707 [BZ #12005]
15708 * malloc/mcheck.c: Handle large requests.
15709
45db99c7
UD
15710 [BZ #12077]
15711 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15712 for strncmp and strncasecmp.
15713 * string/stratcliff.c: Add tests for strcmp and strncmp.
15714 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15715
cf7a1eb8
NI
157162010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15717
15718 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15719 __set_fpscr.
15720
6484ba5e
AJ
157212010-09-30 Andreas Jaeger <aj@suse.de>
15722
15723 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15724 (CGROUP_SUPER_MAGIC): Define.
15725 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15726 Handle btrfs and cgroup file systems.
15727 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15728 Likewise.
15729
91c42559
LM
157302010-09-27 Luis Machado <luisgpm@br.ibm.com>
15731
15732 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15733 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15734
87a97932
AK
157352010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15736
15737 [BZ #12067]
15738 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15739 trying to locate the ELF header.
15740
c21cc9bc
AS
157412010-09-27 Andreas Schwab <schwab@redhat.com>
15742
15743 [BZ #11611]
15744 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15745 Mask out sign-bit copies when constructing f_fsid.
15746
315970f6
PB
157472010-09-24 Petr Baudis <pasky@suse.cz>
15748
15749 * debug/stack_chk_fail_local.c: Add missing licence exception.
15750 * debug/warning-nop.c: Likewise.
15751
1ac7a2c7
JM
157522010-09-15 Joseph Myers <joseph@codesourcery.com>
15753
15754 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15755 implementing getdents64 using getdents syscall, set d_type if
15756 __ASSUME_GETDENTS32_D_TYPE.
15757
56801c50
AS
157582010-09-16 Andreas Schwab <schwab@redhat.com>
15759
15760 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15761 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15762
dda51327
UD
157632010-09-21 Ulrich Drepper <drepper@redhat.com>
15764
15765 [BZ #12037]
15766 * posix/unistd.h: Undo change of feature selection for ftruncate from
15767 2010-01-11.
15768
8ffcee4a
UD
157692010-09-20 Ulrich Drepper <drepper@redhat.com>
15770
a545ecd9 15771 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15772 detection.
15773
e24f0a8b
AS
157742010-09-20 Andreas Schwab <schwab@redhat.com>
15775
15776 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15777 fanotify_mark.
15778 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15779
7291c56f
AS
157802010-09-14 Andreas Schwab <schwab@redhat.com>
15781
15782 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15783 variables after CHECK_SP call.
15784 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15785
bc5fb037
AS
157862010-09-13 Andreas Schwab <schwab@redhat.com>
15787 Ulrich Drepper <drepper@redhat.com>
15788
15789 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15790 re-relocationg ld.so.
15791 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15792 _dl_init_paths call.
15793 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15794 here anymore.
15795
e66e7419
UD
157962010-09-14 Ulrich Drepper <drepper@redhat.com>
15797
15798 * resolv/res_init.c (__res_vinit): Count the default server we added.
15799
c044aa75
CLT
158002010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15801 Ulrich Drepper <drepper@redhat.com>
15802
15803 [BZ #11968]
15804 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15805 (____longjmp_chk): Use %ebx for saving value across system call.
15806 Add unwind info.
15807
32cf4069
AS
158082010-09-06 Andreas Schwab <schwab@redhat.com>
15809
15810 * manual/Makefile: Don't mix pattern rules with normal rules.
15811
817328ee
AS
158122010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15813
15814 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15815 operation.
15816 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15817 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15818 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15819 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15820 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15821 Likewise.
15822
29fddf61
UD
158232010-09-04 Ulrich Drepper <drepper@redhat.com>
15824
15825 [BZ #11979]
15826 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15827 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15828
0959ffc9
UD
158292010-09-02 Ulrich Drepper <drepper@redhat.com>
15830
15831 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15832 * sysdeps/x86_64/addmul_1.S: Likewise.
15833 * sysdeps/x86_64/lshift.S: Likewise.
15834 * sysdeps/x86_64/mul_1.S: Likewise.
15835 * sysdeps/x86_64/rshift.S: Likewise.
15836 * sysdeps/x86_64/sub_n.S: Likewise.
15837 * sysdeps/x86_64/submul_1.S: Likewise.
15838
ece29840
ST
158392010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15840
0959ffc9
UD
15841 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15842 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15843 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15844 * bits/sched.h [__need_schedparam]
ece29840 15845 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15846 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15847 (__defined_schedparam): Define to 1.
ece29840
ST
15848 (__sched_param): New structure, identical to sched_param.
15849 (__need_schedparam): Undefine.
15850
e53a31fe
MF
158512010-08-31 Mike Frysinger <vapier@gentoo.org>
15852
fdc0c10d
MF
15853 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15854 (epoll_create1): Declare.
15855
e53a31fe
MF
15856 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15857
a726d796
AS
158582010-08-31 Andreas Schwab <schwab@redhat.com>
15859
15860 [BZ #7066]
15861 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15862 shifting retval into place.
15863
2f3e3dc7
UD
158642010-09-01 Ulrich Drepper <drepper@redhat.com>
15865
f2933da9
UD
15866 * nis/rpcsvc/nis.h: Update copyright notice.
15867 * nis/rpcsvc/nis.x: Likewise.
15868 * nis/rpcsvc/nis_callback.h: Likewise.
15869 * nis/rpcsvc/nis_callback.x: Likewise.
15870 * nis/rpcsvc/nis_object.x: Likewise.
15871 * nis/rpcsvc/nis_tags.h: Likewise.
15872 * nis/rpcsvc/yp.h: Likewise.
15873 * nis/rpcsvc/yp.x: Likewise.
15874 * nis/rpcsvc/ypupd.h: Likewise.
15875 * nis/yp_xdr.c: Likewise.
15876 * nis/ypupdate_xdr.c: Likewise.
15877
2f3e3dc7
UD
15878 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15879 mainly the body of pmap_getport. Add parameters to specify timeouts.
15880 (pmap_getport): Use __libc_rpc_getport.
15881 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15882 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15883 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15884
f3dcc2f9
AS
158852010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15886
15887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15888 fanotify_mark.
15889
6d34eb5b
RM
158902010-08-27 Roland McGrath <roland@redhat.com>
15891
15892 * sysdeps/i386/i686/multiarch/Makefile
15893 (CFLAGS-varshift.c): New variable.
15894
9ea3de11
UD
158952010-08-27 Ulrich Drepper <drepper@redhat.com>
15896
c96d23fc
UD
15897 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15898 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15899
9ea3de11
UD
15900 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15901
15902 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15903
623aac7f
L
159042010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15905
15906 * sysdeps/x86_64/strlen.S: Unroll the loop.
15907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15908 strlen-sse2 strlen-sse2-bsf.
15909 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15910 __strlen_no_bsf if bit_Slow_BSF is set.
15911 (__strlen_sse42): Removed.
15912 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15913 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15914
8b2b7715
RM
159152010-08-25 Roland McGrath <roland@redhat.com>
15916
15917 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15918 * sysdeps/x86_64/multiarch/varshift.c: New file.
15919 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15920 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15921 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15922 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15923
e73015f2
L
159242010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15925
15926 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15927 strlen-sse2 strlen-sse2-bsf.
15928 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15929 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15930 (__strlen_sse2): Removed.
15931 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15932 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15934 bit_Slow_BSF for Atom.
15935 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15936 (index_Slow_BSF): Define.
15937 (HAS_SLOW_BSF): Define.
15938
df24a73e
UD
159392010-08-25 Ulrich Drepper <drepper@redhat.com>
15940
15941 [BZ #10851]
15942 * resolv/res_init.c (__res_vinit): When no server address at all
15943 is given default to loopback.
15944
f2ac4868
RM
159452010-08-24 Roland McGrath <roland@redhat.com>
15946
09055553
RM
15947 * configure.in: Remove config-name.h generation.
15948 * configure: Regenerated.
15949 * config-name.in: File removed.
15950 * scripts/config-uname.sh: New file.
15951 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15952 ($(objdir)config-name.h): New target.
15953
f2ac4868
RM
15954 * sunrpc/rpc_parse.h: Avoid nested comment.
15955
73f27d5e
RH
159562010-08-24 Richard Henderson <rth@redhat.com>
15957 Ulrich Drepper <drepper@redhat.com>
15958 H.J. Lu <hongjiu.lu@intel.com>
15959
15960 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15962 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15963 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15964 _mm_alignr_epi8 with _mm_loadu_si128.
15965 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15966 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15967 (__m128i_shift_right): Removed.
15968 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15969 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15970 * sysdeps/x86_64/multiarch/varshift.h: New file.
15971 * sysdeps/x86_64/multiarch/varshift.S: New file.
15972
84b9230c
MF
159732010-08-21 Mike Frysinger <vapier@gentoo.org>
15974
15975 * configure.in: Move assembler checks to before sysdep dir checking.
15976
9bbd0ddc
PB
159772010-08-20 Petr Baudis <pasky@suse.cz>
15978
15979 * LICENSES: Sync the sunrpc license.
15980
9da4bb31
UD
159812010-08-19 Ulrich Drepper <drepper@redhat.com>
15982
a7ab6ec8
UD
15983 * sunrpc/auth_des.c: Update copyright notice once again.
15984 * sunrpc/auth_none.c: Likewise.
15985 * sunrpc/auth_unix.c: Likewise.
15986 * sunrpc/authdes_prot.c: Likewise.
15987 * sunrpc/authuxprot.c: Likewise.
15988 * sunrpc/bindrsvprt.c: Likewise.
15989 * sunrpc/clnt_gen.c: Likewise.
15990 * sunrpc/clnt_perr.c: Likewise.
15991 * sunrpc/clnt_raw.c: Likewise.
15992 * sunrpc/clnt_simp.c: Likewise.
15993 * sunrpc/clnt_tcp.c: Likewise.
15994 * sunrpc/clnt_udp.c: Likewise.
15995 * sunrpc/clnt_unix.c: Likewise.
15996 * sunrpc/des_crypt.c: Likewise.
15997 * sunrpc/des_soft.c: Likewise.
15998 * sunrpc/get_myaddr.c: Likewise.
15999 * sunrpc/getrpcport.c: Likewise.
16000 * sunrpc/key_call.c: Likewise.
16001 * sunrpc/key_prot.c: Likewise.
16002 * sunrpc/openchild.c: Likewise.
16003 * sunrpc/pm_getmaps.c: Likewise.
16004 * sunrpc/pm_getport.c: Likewise.
16005 * sunrpc/pmap_clnt.c: Likewise.
16006 * sunrpc/pmap_prot.c: Likewise.
16007 * sunrpc/pmap_prot2.c: Likewise.
16008 * sunrpc/pmap_rmt.c: Likewise.
16009 * sunrpc/rpc/auth.h: Likewise.
16010 * sunrpc/rpc/auth_unix.h: Likewise.
16011 * sunrpc/rpc/clnt.h: Likewise.
16012 * sunrpc/rpc/des_crypt.h: Likewise.
16013 * sunrpc/rpc/key_prot.h: Likewise.
16014 * sunrpc/rpc/netdb.h: Likewise.
16015 * sunrpc/rpc/pmap_clnt.h: Likewise.
16016 * sunrpc/rpc/pmap_prot.h: Likewise.
16017 * sunrpc/rpc/pmap_rmt.h: Likewise.
16018 * sunrpc/rpc/rpc.h: Likewise.
16019 * sunrpc/rpc/rpc_des.h: Likewise.
16020 * sunrpc/rpc/rpc_msg.h: Likewise.
16021 * sunrpc/rpc/svc.h: Likewise.
16022 * sunrpc/rpc/svc_auth.h: Likewise.
16023 * sunrpc/rpc/types.h: Likewise.
16024 * sunrpc/rpc/xdr.h: Likewise.
16025 * sunrpc/rpc_clntout.c: Likewise.
16026 * sunrpc/rpc_cmsg.c: Likewise.
16027 * sunrpc/rpc_common.c: Likewise.
16028 * sunrpc/rpc_cout.c: Likewise.
16029 * sunrpc/rpc_dtable.c: Likewise.
16030 * sunrpc/rpc_hout.c: Likewise.
16031 * sunrpc/rpc_main.c: Likewise.
16032 * sunrpc/rpc_parse.c: Likewise.
16033 * sunrpc/rpc_parse.h: Likewise.
16034 * sunrpc/rpc_prot.c: Likewise.
16035 * sunrpc/rpc_sample.c: Likewise.
16036 * sunrpc/rpc_scan.c: Likewise.
16037 * sunrpc/rpc_scan.h: Likewise.
16038 * sunrpc/rpc_svcout.c: Likewise.
16039 * sunrpc/rpc_tblout.c: Likewise.
16040 * sunrpc/rpc_util.c: Likewise.
16041 * sunrpc/rpc_util.h: Likewise.
16042 * sunrpc/rpcinfo.c: Likewise.
16043 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16044 * sunrpc/rpcsvc/key_prot.x: Likewise.
16045 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16046 * sunrpc/rpcsvc/mount.x: Likewise.
16047 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16048 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16049 * sunrpc/rpcsvc/rex.x: Likewise.
16050 * sunrpc/rpcsvc/rstat.x: Likewise.
16051 * sunrpc/rpcsvc/rusers.x: Likewise.
16052 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16053 * sunrpc/rpcsvc/spray.x: Likewise.
16054 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16055 * sunrpc/rtime.c: Likewise.
16056 * sunrpc/svc.c: Likewise.
16057 * sunrpc/svc_auth.c: Likewise.
16058 * sunrpc/svc_authux.c: Likewise.
16059 * sunrpc/svc_raw.c: Likewise.
16060 * sunrpc/svc_run.c: Likewise.
16061 * sunrpc/svc_simple.c: Likewise.
16062 * sunrpc/svc_tcp.c: Likewise.
16063 * sunrpc/svc_udp.c: Likewise.
16064 * sunrpc/svc_unix.c: Likewise.
16065 * sunrpc/svcauth_des.c: Likewise.
16066 * sunrpc/xcrypt.c: Likewise.
16067 * sunrpc/xdr.c: Likewise.
16068 * sunrpc/xdr_array.c: Likewise.
16069 * sunrpc/xdr_float.c: Likewise.
16070 * sunrpc/xdr_mem.c: Likewise.
16071 * sunrpc/xdr_rec.c: Likewise.
16072 * sunrpc/xdr_ref.c: Likewise.
16073 * sunrpc/xdr_sizeof.c: Likewise.
16074 * sunrpc/xdr_stdio.c: Likewise.
16075
9da4bb31
UD
16076 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16077 handling.
16078
bdaa77bc
AS
160792010-08-19 Andreas Schwab <schwab@redhat.com>
16080
16081 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16082
fe2f79db
LM
160832010-08-19 Luis Machado <luisgpm@br.ibm.com>
16084
16085 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16086 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16087 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16088 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16089 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16090 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16091 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16092 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16093 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16094 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16095 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16096 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16097 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16098 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16099
b9b42ee0
AB
161002010-07-26 Anton Blanchard <anton@samba.org>
16101
16102 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16103 * malloc/arena.c (heap_trim): Likewise.
16104
1c06ba31
UD
161052010-08-16 Ulrich Drepper <drepper@redhat.com>
16106
16107 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16108 here. Not...
16109 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16110 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16111
f8392f40
L
161122010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16113
16114 * sysdeps/i386/elf/Makefile: New file.
16115
3162f12e
AS
161162010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16117
16118 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16119 from fanotify_init.
16120 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16121 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16122
28c90b2c
UD
161232010-08-15 Ulrich Drepper <drepper@redhat.com>
16124
16125 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16126 of strncasecmp_l.
1feccb6c 16127 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16128
ca6bb004
UD
161292010-08-14 Ulrich Drepper <drepper@redhat.com>
16130
e9f82e0d
UD
16131 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16132 strncase_l-nonascii.
16133 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16134 Add strncase_l-ssse3.
16135 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16136 * sysdeps/x86_64/strcmp.S: Likewise.
16137 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16138 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16139 * sysdeps/x86_64/strncase.S: New file.
16140 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16141 * sysdeps/x86_64/strncase_l.S: New file.
16142 * string/Makefile (strop-tests): Add strncasecmp.
16143 * string/test-strncasecmp.c: New file.
16144
16145 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16146 warning.
16147
ca6bb004
UD
16148 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16149 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16150
052fa7b3
AS
161512010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16152
16153 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16154
962dba78
UD
161552010-08-12 Ulrich Drepper <drepper@redhat.com>
16156
16157 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16158 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16159 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16160
bebff237
AM
161612010-05-01 Alan Modra <amodra@gmail.com>
16162
16163 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16164 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16165 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16166 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16167 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16168 tidying. Don't tail-call __sigjmp_save for static lib.
16169 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16170 save location.
16171 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16172 (CALL_MCOUNT): Add eh info, and nop after bl.
16173 (TAIL_CALL_SYSCALL_ERROR): New macro.
16174 (PSEUDO_RET): Use it.
16175 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16176 Correct save location of integer regs and cr.
16177 (_dl_profile_resolve): Correct cr save location. Delete nops
16178 after bl when SHARED. Reduce cfi size a little by better
16179 placement of cfi directives.
16180 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16181 make a stack frame. Instead use parm save area as a temp.
16182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16183 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16185 Don't make a stack frame for parent, use parm save area.
16186 Increase child stack frame to 112 bytes. Don't save unused reg,
16187 and adjust reg usage. Set up cfi on error recovery and
16188 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16190 (__makecontext): Add dummy nop after jump to exit.
16191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16192 Use correct parm save area and cr save, reduce stack frame.
16193 Correct cfi for possible PSEUDO_RET frame setup.
16194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16195 Branch to local label emitted by PSEUDO_RET rather than
16196 __syscall_error.
16197
02637374
AS
161982010-08-12 Andreas Schwab <schwab@redhat.com>
16199
16200 [BZ #11904]
16201 * locale/programs/locale.c (print_assignment): New function.
16202 (show_locale_vars): Use it.
16203
c3e2f19b
UD
162042010-08-11 Ulrich Drepper <drepper@redhat.com>
16205
3cdaa6ad
UD
16206 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16207 field.
16208 (struct statfs64): Likewise.
16209 (_STATFS_F_FLAGS): Define.
16210 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16211 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16212 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16213 (ST_VALID): Define locally.
16214 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16215 __statvfs_getflags, use the provided value.
16216 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16217 __ASSUME_STATFS_F_FLAGS.
16218
754f7da3
UD
16219 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16220
10b3bedc
UD
16221 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16222 Add sys/fanotify.h.
16223 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16224 fanotify_mask for GLIBC_2.13.
16225 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16226 fanotify_init and fanotify_mark.
16227 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16228 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16229
c08fb0d7
UD
16230 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16231 Add prlimit.
16232 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16233 prlimit64 for GLIBC_2.13.
16234 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16235 prlimit64.
16236 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16237 syscall.
16238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16239 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16240 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16241 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16242 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16243 add prlimit alias.
16244 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16245
15bac72b
UD
16246 [BZ #11903]
16247 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16248 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16249
c3e2f19b
UD
16250 * nss/Makefile: Add rules to build and run tst-nss-test1.
16251 * shlib-versions: Add entry for libnss_test1.
16252 * nss/nss_test1.c: New file.
16253 * nss/tst-nss-test1.c: New file.
16254
16255 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16256 (__nss_configure_lookup): Set appropriate entry in
16257 __nss_configure_lookup to true.
16258 * nss/nsswitch.h: Define enum with indeces of databases in
16259 databases and __nss_database_custom arrays. Declare
16260 __nss_database_custom.
16261 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16262 to avoid using nscd when custom rules are installed.
16263 * nss/getXXbyYY_r.c: Likewise.
16264 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16265
16266 * nss/nss_files/files-parse.c: Whitespace fixes.
16267
f15ce4d8
UD
162682010-08-09 Ulrich Drepper <drepper@redhat.com>
16269
16270 [BZ #11883]
16271 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16272 * posix/fnmatch_loop.c: Likewise.
16273
d22e4cc9
AK
162742010-07-17 Andi Kleen <ak@linux.intel.com>
16275
16276 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16277 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16278 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16279 * Versions.def [GLIBC_2.13]: Add.
16280
805bc17d
UD
162812010-08-06 Ulrich Drepper <drepper@redhat.com>
16282
16283 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16284 Also fail if tpwd after pwuid call is NULL.
16285
5a42321d
ST
162862010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16287
16288 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16289 when converting to ms.
16290
fd3ebeda
ST
162912010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16292
16293 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16294 EOPNOTSUPP errors with ENOTTY.
16295 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16296 EOPNOTSUPP errors with ENOTTY.
16297
73507d3a
UD
162982010-07-31 Ulrich Drepper <drepper@redhat.com>
16299
16300 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16301 Add strcasecmp_l-ssse3.
16302 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16303 strcasecmp.
16304 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16305 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16306 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16307
fe36dd02
UD
163082010-07-30 Ulrich Drepper <drepper@redhat.com>
16309
66f6765a
UD
16310 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16311
42e08a54
UD
16312 * string/Makefile (strop-tests): Add strcasecmp.
16313 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16314 strcasecmp_l-nonascii.
16315 (gen-as-const-headers): Add locale-defines.sym.
16316 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16317 * sysdeps/x86_64/strcasecmp.S: New file.
16318 * sysdeps/x86_64/strcasecmp_l.S: New file.
16319 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16320 * sysdeps/x86_64/locale-defines.sym: New file.
16321 * string/test-strcasecmp.c: New file.
16322
fe36dd02
UD
16323 * string/test-strcasestr.c: Test both ends of the range of characters.
16324 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16325
48cbc0d6
RM
163262010-07-29 Roland McGrath <roland@redhat.com>
16327
76e6d6bc 16328 [BZ #11856]
48cbc0d6
RM
16329 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16330
880113d9
UD
163312010-07-27 Ulrich Drepper <drepper@redhat.com>
16332
16333 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16334 for ld.so.
16335
deb9cabb
AS
163362010-07-27 Andreas Schwab <schwab@redhat.com>
16337
16338 * manual/memory.texi (Malloc Tunable Parameters): Document
16339 M_PERTURB.
16340
1c7570ff
RM
163412010-07-26 Roland McGrath <roland@redhat.com>
16342
16343 [BZ #11840]
16344 * configure.in (-fgnu89-inline check): Set and substitute
16345 gnu89_inline, not libc_cv_gnu89_inline.
16346 * configure: Regenerated.
16347 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16348
24fb0f88
UD
163492010-07-26 Ulrich Drepper <drepper@redhat.com>
16350
16351 * string/test-strnlen.c: New file.
16352 * string/Makefile (strop-tests): Add strnlen.
16353 * string/tester.c (test_strnlen): Add a few more test cases.
16354 * string/tst-strlen.c: Better error reporting.
16355
16356 * sysdeps/x86_64/strnlen.S: New file.
16357
8e96b93a
UD
163582010-07-24 Ulrich Drepper <drepper@redhat.com>
16359
16360 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16361 lower-latency instructions.
16362
dbc676d4
UD
163632010-07-23 Ulrich Drepper <drepper@redhat.com>
16364
16365 * string/test-strcasestr.c: New file.
16366 * string/test-strstr.c: New file.
16367 * string/Makefile (strop-tests): Add strstr and strcasestr.
16368 * string/str-two-way.h: Don't undefine MAX.
16369 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16370
f6a31e0e
AS
163712010-07-21 Andreas Schwab <schwab@redhat.com>
16372
16373 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16374 strcasestr-nonascii.
16375 (CFLAGS-strcasestr-nonascii.c): Define.
16376 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16377 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16378 Remove unused attribute.
16379
5dbc3b6c
RM
163802010-07-20 Roland McGrath <roland@redhat.com>
16381
16382 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16383 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16384 ld.so.cache was broken. With it, there is no way to disable dsocaps
16385 like LD_HWCAP_MASK can disable hwcaps.
16386
23d101d8
EPM
163872010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16388
16389 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16390
cc9f2e47
UD
163912010-07-16 Ulrich Drepper <drepper@redhat.com>
16392
16393 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16394 call in strcasestr.
16395 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16396 __strcasestr_sse42_nonascii.
16397 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16398 strcasestr-nonascii.c.
16399 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16400
77c1b069
LM
164012010-06-15 Luis Machado <luisgpm@br.ibm.com>
16402
16403 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16404 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16405 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16406 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16407
440566c3
UD
164082010-07-09 Ulrich Drepper <drepper@redhat.com>
16409
16410 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16411 fcntl.
16412
5be9d05d
AS
164132010-07-06 Andreas Schwab <schwab@redhat.com>
16414
c30b7ee2 16415 [BZ #11577]
5be9d05d
AS
16416 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16417 dl_signal_cerror.
16418
8a492a67
UD
164192010-07-06 Ulrich Drepper <drepper@redhat.com>
16420
16421 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16422 _PC_PIPE_BUF using F_GETPIPE_SZ.
16423
713df3d5
RM
164242010-07-05 Roland McGrath <roland@redhat.com>
16425
16426 * manual/arith.texi (Rounding Functions): Fix rint description
16427 implicit in round description.
16428
702e8f14
UD
164292010-07-02 Ulrich Drepper <drepper@redhat.com>
16430
16431 * elf/Makefile: Fix linking for a few tests to make recent linker
16432 happy.
16433
52ed8be9
AS
164342010-06-30 Andreas Schwab <schwab@redhat.com>
16435
16436 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16437 $(common-objpfx)libc_nonshared.a.
16438
f47c9a11
LM
164392010-06-21 Luis Machado <luisgpm@br.ibm.com>
16440
16441 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16442 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16443 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16444 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16445 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16446 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16447 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16448 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16463 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16464 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16465 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16466 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16467 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16468 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16469 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16470 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16471 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16472 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16473 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16474 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16489
6fb8cbcb
L
164902010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16491
16492 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16493 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16494 * string/memmove.c (memmove): Renamed to ...
16495 (MEMMOVE): ...this. Default to memmove.
16496 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16497 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16498 (END_CHK): Define.
16499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16500 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16501 mempcpy-ssse3-back memmove-ssse3-back.
16502 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16503 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16504 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16505 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16506 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16507 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16508 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16509 * sysdeps/x86_64/multiarch/memmove.c: New file.
16510 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16511 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16512 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16513 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16514 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16515 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16516 Define.
16517 (index_Fast_Copy_Backward): Define.
16518 (HAS_ARCH_FEATURE): Define.
16519 (HAS_FAST_REP_STRING): Define.
16520 (HAS_FAST_COPY_BACKWARD): Define.
16521
4e733bac 165222010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16523
16524 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16525 Restore proper fallback handling.
16526
63c4ed22
UD
165272010-06-19 Ulrich Drepper <drepper@redhat.com>
16528
ac2b484c
UD
16529 [BZ #11701]
16530 * posix/group_member.c (__group_member): Correct checking loop.
16531
63c4ed22
UD
16532 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16533 OOM in getpwuid_r correctly. Return error number when the caller
16534 should return, otherwise -1.
16535 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16536 call returning > 0 value.
16537 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16538
765ade4b
AS
165392010-06-07 Andreas Schwab <schwab@redhat.com>
16540
16541 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16542 libc_nonshared.a from targets in modules-names.
16543
80da2e09
KS
165442010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16545
16546 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16547 requires it.
16548
158db122
LM
165492010-06-10 Luis Machado <luisgpm@br.ibm.com>
16550
16551 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16552 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16553 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16554 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16555
caa78cf8
AS
165562010-06-02 Andreas Schwab <schwab@redhat.com>
16557
16558 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16559
b2ef2c01
UD
165602010-06-14 Ulrich Drepper <drepper@redhat.com>
16561
16562 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16563 and F_GETPIPE_SZ.
16564 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16565 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16566 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16567 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16568 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16569 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16570
fbd643b6
RM
165712010-06-14 Roland McGrath <roland@redhat.com>
16572
16573 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16574
f32f2869
JJ
165752010-06-07 Jakub Jelinek <jakub@redhat.com>
16576
16577 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16578 __REDIRECT followed by __THROW.
16579 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16580 * posix/getopt.h (getopt): Likewise.
16581
2a50c078
EPM
165822010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16583
16584 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16585 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16586 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16587 in AT_FLAGS.
16588 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16589 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16590
eb5ad2eb
LM
165912010-05-28 Luis Machado <luisgpm@br.ibm.com>
16592
16593 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16594
3c88fe1e
L
165952010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16596
16597 [BZ #11640]
16598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16599 Properly check family and model.
16600
d2f73151
TY
166012010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16602
16603 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16604
ebd2e13d
LM
166052010-05-24 Luis Machado <luisgpm@br.ibm.com>
16606
16607 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16608
b32b8b45
UD
166092010-05-21 Ulrich Drepper <drepper@redhat.com>
16610
16611 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16612 symbol reference.
16613
9acbe24d
AS
166142010-05-19 Andreas Schwab <schwab@redhat.com>
16615
16616 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16617 symbol reference.
16618
f0ccf6ea
AS
166192010-05-21 Andreas Schwab <schwab@redhat.com>
16620
3d04ff3a
AS
16621 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16622 and internal_recvmmsg.
16623 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16624 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16625 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16626 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16627
f0ccf6ea
AS
16628 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16629 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16630 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16631
5b08ac57
AS
166322010-05-20 Andreas Schwab <schwab@redhat.com>
16633
16634 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16635
4828935d
LM
166362010-05-17 Luis Machado <luisgpm@br.ibm.com>
16637
16638 POWER7 optimizations.
16639 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16640 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16641
373d545e
UD
166422010-05-19 Ulrich Drepper <drepper@redhat.com>
16643
16644 * version.h: Update for 2.13 development version.
16645
21a2b1ae
AS
166462010-05-12 Andrew Stubbs <ams@codesourcery.com>
16647
16648 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16649 exceptions. Return 0.
16650
3f7dcb2b
RM
166512010-05-07 Roland McGrath <roland@redhat.com>
16652
16653 * elf/ldconfig.c (main): Add a const.
16654
5f24d53a 166552010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16656
a160f8d8
UD
16657 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16658 (args_options): Add no-idn option.
16659 (ahosts_keys_int): Add idn_flags to ai_flags.
16660 (parse_option): Handle 'i' option to clear idn_flags.
16661
5f24d53a
UD
16662 * malloc/malloc.c (_int_free): Possible race in the most recently
16663 added check. Only act on the data if no current modification
16664 happened.
265bb1ce
UD
16665
16666See ChangeLog.17 for earlier changes.