]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update s390 ULPs file
[thirdparty/glibc.git] / ChangeLog
CommitLineData
ed3dbfad
AJ
12012-06-25 Andreas Jaeger <aj@suse.de>
2
3 * sysdeps/s390/fpu/libm-test-ulps: Update.
4
4d0ee855
AS
52012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6 Thomas Schwinge <thomas@codesourcery.com>
7
8 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11 fanotify_mark.
12
af1bce34
TS
132012-06-23 Thomas Schwinge <thomas@codesourcery.com>
14
a9fa33ba
TS
15 * sysdeps/mach/start.c: Remove file.
16 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18 * sysdeps/sh/init-first.c: Likewise.
19
58f902b8
TS
20 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21 registers for frame unwinding purposes, add CFI directives.
22 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
24 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25 Likewise.
26
1518f58b
TS
27 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28 __fortify_fail returning.
29 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30
db9b5059
TS
31 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32 sysdeps/sh/____longjmp_chk.S.
33 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36 (gen-as-const-headers): Append sigaltstack-offsets.sym.
37
967705fe
TS
38 * sysdeps/sh/abort-instr.h: New file.
39 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40 process in case exit returns.
41
a9def8c4
TS
42 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
43 initialize the GOT register before use.
44
2a649725
TS
45 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46 calculation of ARGC > 4.
47
af1bce34
TS
48 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
49 meaningful names to some local labels.
50
d230f50a
KK
512012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53
54 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
55 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
56 (__arch_compare_and_exchange_val_16_acq): Likewise.
57 (__arch_compare_and_exchange_val_32_acq): Likewise.
58 (atomic_exchange_and_add): Fix gUSA sequence.
59 (atomic_add): Likewise.
60 (atomic_add_negative): Likewise.
61 (atomic_add_zero): Likewise.
62 (atomic_bit_test_set): Likewise.
63
0479b305
AS
642012-06-22 Andreas Schwab <schwab@redhat.com>
65
66 [BZ #13579]
67 * include/link.h (struct link_map): Add l_free_initfini.
68 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
69 l_initfini.
70 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
71 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
72 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
73 set.
74
0e3933b9
CD
752012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
76
77 * configure.in: Use AC_LANG_SOURCE.
78 * configure: Regenerate.
79
4248b1b1
RM
802012-06-22 Roland McGrath <roland@hack.frob.com>
81
82 * configure.in (libc_cv_localstatedir): New substituted variable.
83 * configure: Regenerated.
84 * config.make.in (localstatedir): New variable, substituted from
85 libc_cv_localstatedir.
86 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
87 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
88 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
89 * sysdeps/gnu/configure: Regenerated.
90
006dd861
JL
912012-06-21 Jeff Law <law@redhat.com>
92
93 [BZ #14277]
94 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
95 free. Simplify list management for _LIBC case.
96
79662d42
JM
972012-06-21 Joseph Myers <joseph@codesourcery.com>
98
b7abb4bf
JM
99 [BZ #14273]
100 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
101 Clear sign bit of 64-bit integer value before comparing against
102 overflow value.
103
79662d42
JM
104 * sysdeps/mach/configure: Regenerated.
105
1f150908
L
1062012-06-21 H.J. Lu <hongjiu.lu@intel.com>
107
108 [BZ #14278]
109 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
110
28363bbf
JL
1112012-06-21 Jeff Law <law@redhat.com>
112
113 [BZ #13882]
114 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
115 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 116 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
117 * elf/dl-open.c (dl_open_worker): Likewise.
118
09615db4
CD
1192012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
120
121 * scripts/list-sources.sh: Scan PORTS for translations.
122 * po/libc.pot: Regenerated.
123
2174c6dd
AJ
1242012-06-21 Andreas Jaeger <aj@suse.de>
125
126 [BZ #12194]
127 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
128 warning.
129 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
130 * bits/byteswap-16.h (__bswap_16): Likewise.
131 * bits/byteswap.h (__bswap_constant_16): Likewise.
132
3ee947b1
L
1332012-06-18 H.J. Lu <hongjiu.lu@intel.com>
134
135 [BZ #14117]
a2f34833
L
136 * sysdeps/i386/fpu_control.h: Removed.
137 * sysdeps/x86_64/fpu_control.h: Moved to ...
138 * sysdeps/x86/fpu_control.h: Here.
139
3ee947b1
L
140 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
141 (_FPU_SETCW): Likewise.
142
ed1825f8
L
1432012-06-15 H.J. Lu <hongjiu.lu@intel.com>
144
25f1282a
L
145 [BZ #14117]
146 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
147 * sysdeps/x86/fpu/bits/mathinline.h: This.
148 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
149
ed1825f8
L
150 [BZ #14050]
151 [BZ #14117]
152 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
153 functions if __x86_64__ is defined.
154
36d54b74
CLT
1552012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
156
157 * string/endian.h: Add !__ASSEMBLER__ condition for including
158 conversion interfaces.
159
10285c21
JM
1602012-06-15 Joseph Myers <joseph@codesourcery.com>
161
162 [BZ #14241]
163 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
164 of ABS(x) in calculating zero to negative powers other than odd
165 integers.
166 * math/libm-test.inc (pow_test): Add more tests.
167
06c5abbd
AJ
1682012-06-15 Andreas Jaeger <aj@suse.de>
169
170 * manual/contrib.texi (Contributors): Update entry of Liubov
171 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
172 Machado Filho.
173
a3aeac40
CH
1742012-06-15 Cyril Hrubis <metan@ucw.cz>
175
176 * string/string.h: Add __wur to GNU version of strerror_r.
177
49bdf4c1
L
1782012-06-14 H.J. Lu <hongjiu.lu@intel.com>
179
180 [BZ #14229]
181 * string/Makefile (tests): Add tst-strtok_r.
182 * string/tst-strtok_r.c: New file.
183 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
184 RAX_LP/RDX_LP on SAVE_PTR.
185
834f9b8d
RM
1862012-06-14 Roland McGrath <roland@hack.frob.com>
187
188 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
189
75fa1921
JM
1902012-06-14 Joseph Myers <joseph@codesourcery.com>
191
192 * libm_test.inc (csqrt_test): Allow more spurious underflow
193 exceptions.
194 (j0_test): Likewise.
195 (j1_test): Likewise.
196 (y0_test): Likewise.
197 (y1_test): Likewise.
198
771766df
CD
1992012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
200
201 * po/Makefile (libc.pot): Use UTF-8 charset.
202
ceb9e56b
PP
2032012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
204
205 [BZ #14210]
206 Suppress sign-conversion warning from FD_SET.
207 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
208 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
209 not unsigned long int.
210 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
211
ddb28975
L
2122012-06-12 H.J. Lu <hongjiu.lu@intel.com>
213
214 [BZ #14050]
215 [BZ #14117]
216 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
217 __extern_always_inline instead of __extern_inline.
218 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
219 (__signbit): Likewise.
220 (__signbitl): Support C++ namespace.
221 (lrintf): New inline function.
222 (lrint): Likewise.
223 (llrintf): Likewise.
224 (llrint): Likewise.
225 (fmaxf): Likewise.
226 (fmax): Likewise.
227 (fminf): Likewise.
228 (fmin): Likewise.
229 (rint): Likewise.
230 (rintf): Likewise.
231 (ceil): Likewise.
232 (ceilf): Likewise.
233 (floor): Likewise.
234 (floorf): Likewise.
235 (nearbyint): Likewise.
236 (nearbyintf): Likewise.
237
d7b4fb26
TS
2382012-06-12 Thomas Schwinge <thomas@codesourcery.com>
239
240 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
241 non-default versions.
242
eb55f5c2
RM
2432012-06-11 Roland McGrath <roland@hack.frob.com>
244
245 [BZ #14218]
246 * manual/argp.texi (Argp): Reword argp_parse description slightly.
247
366af02c
TS
2482012-06-09 Thomas Schwinge <thomas@codesourcery.com>
249
99ff6e5c
TS
250 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
251 (FE_UPWARD, FE_DOWNWARD): Don't define.
252 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
253 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
254
366af02c
TS
255 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
256 reading it.
257 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
258 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
259
793ea851
KK
2602012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
261
262 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
263 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
264 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
265 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
266
a728a38f
L
2672012-06-06 H.J. Lu <hongjiu.lu@intel.com>
268
269 [BZ #14117]
c08010c7
L
270 * sysdeps/i386/fpu/bits/fenv.h: Removed.
271 * sysdeps/i386/fpu/Implies: New file.
272 * sysdeps/x86_64/fpu/Implies: Likewise.
273 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
274 * sysdeps/x86/fpu/bits/fenv.h: This.
275
a728a38f
L
276 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
277 __SSE_MATH__.
278
6e230d11
SP
2792012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
280
281 [BZ #14134]
282 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
283 character 0xffff that matches the last element of the
284 conversion table.
285
1b671feb
AZ
2862012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
287
288 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
289 fmodl commit.
290
6043738b
AZ
2912012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
292
293 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
294 values higher than 25.6283.
295
34ae0b32
AZ
2962012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
297
298 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
299 subnormal exponent extraction and add some __builtin_expect.
300 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
301 Fix for subnormal mantissa calculation.
302
1214ec8f
MF
3032012-06-04 Mike Frysinger <vapier@gentoo.org>
304
305 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
306 cpu2 is -1 and errno is not ENOSYS.
307
f3d1f93c
L
3082012-06-04 H.J. Lu <hongjiu.lu@intel.com>
309
310 [BZ #14117]
0e4a3cd7
L
311 * sysdeps/i386/i486/bits/string.h: Renamed to ...
312 * sysdeps/x86/bits/string.h: This.
313 * sysdeps/x86_64/bits/string.h: Removed.
314
6704c645
L
315 * sysdeps/i386/i486/bits/string.h: Define inline functions only
316 if not compiling for x86-64, but compiling for >= i486.
317
48495318
L
318 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
319 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
320
14adcbfc
L
321 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
322 New macro from Linux kernel 3.4.0.
323 (FP_XSTATE_MAGIC2): Likewise.
324 (FP_XSTATE_MAGIC2_SIZE): Likewise.
325 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
326 (struct _fpx_sw_bytes): New struct.
327 (struct _xsave_hdr): Likewise.
328 (struct _ymmh_state): Likewise.
329 (struct _xstate): Likewise.
330
68e408ab
L
331 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
332 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
333 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
334 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
335 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
336 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
337
f3d1f93c
L
338 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
339 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
340 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
341 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
342 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
343 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
344
d9dc34cd
TMQMF
3452012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
346
347 [BZ #13743]
348 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
349 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
350 (sysdep_headers): Include sys/platform/ppc.h.
351 * sysdeps/powerpc/test-gettimebase.c: Test for
352 __ppc_get_timebase() to catch future ISA opcode/insn changes.
353 * manual/Makefile (appendices): Include platform.texi.
354 * manual/contrib.texi (Contributors): Update @node pointers.
355 * manual/maint.texi (Maintenance): Likewise.
356 (Platform): New node.
357 * manual/platform.texi: New file. Document the new features.
358
4af3879c
SP
3592012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
360 Jakub Jelinek <jakub@redhat.com>
361
362 [BZ #14188]
363 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
364 where __builtin_expect is unavailable.
365
2fd6ff13
DM
3662012-06-03 David S. Miller <davem@davemloft.net>
367
368 * stdlib/longlong.h: Updated from GCC.
369
173f7220
AS
3702012-06-02 Andreas Schwab <schwab@linux-m68k.org>
371
372 [BZ #14042]
373 * sysdeps/powerpc/powerpc32/mcount.c: New file.
374 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
375 __mcount_internal.
376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
377 (GLIBC_2.16): Likewise.
378
f34a1c6f
L
3792012-06-01 H.J. Lu <hongjiu.lu@intel.com>
380
381 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
382
88a4576f
JM
3832012-06-01 Joseph Myers <joseph@codesourcery.com>
384
ea32bcdd
JM
385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
386 (default-abi): New variable.
387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
388 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
389 variable.
390 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
391 Likewise.
392 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
393 Likewise.
394 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
395 Likewise.
396
88a4576f
JM
397 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
398 definition. Document in comment.
399
402fe938
DM
4002012-06-01 David S. Miller <davem@davemloft.net>
401
402 * stdlib/longlong.h: Updated from GCC.
403
3553723f
L
4042012-06-01 H.J. Lu <hongjiu.lu@intel.com>
405
406 [BZ #14117]
3bd872c4
L
407 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
408 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
409 sys/debugreg.h sys/io.h here.
410 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
411 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
412 sys/io.h.
413 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
414 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
415 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
416 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
417 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
418 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
419
3553723f
L
420 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
421 Define only if __x86_64__ is defined.
422
4842e4fe
JM
4232012-06-01 Joseph Myers <joseph@codesourcery.com>
424
c5bfe3d5
JM
425 [BZ #14048]
426 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
427 Use int64_t for variable i.
428 * math/libm-test.inc (fmod_test): Add more tests.
429
4842e4fe
JM
430 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
431 z computation is not scheduled after fetestexcept.
432 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
433 Use math_force_eval instead of asm to ensure calculation scheduled
434 before exception test.
435 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
436 Ensure a1 + u.d computation is not scheduled after fetestexcept.
437
efb73488
AJ
4382012-06-01 Aurelien Jarno <aurelien@aurel32.net>
439
440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
441 computation is not scheduled after fetestexcept.
442
29bcce7c
L
4432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
444
445 [BZ #14117]
446 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
447 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
448
73a68f94
AZ
4492012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
450
451 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
452 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
453
67b6df78
L
4542012-05-31 H.J. Lu <hongjiu.lu@intel.com>
455
edf2933a 456 [BZ #14117]
ebc64a18
L
457 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
458 <bits/wordsize.h>.
459 (__WCHAR_MIN): Support __WORDSIZE == 64.
460 (__WCHAR_MAX): Likewise.
461
edf2933a
L
462 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
463 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
464
57c6cf40
L
465 [BZ #14183]
466 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
467 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
468
67b6df78 469 [BZ #14117]
8eb6281e
L
470 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
471 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
472
aac639f4
L
473 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
474 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
475
67b6df78
L
476 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
477 Defined to 1 if __x86_64__ isn't defined.
478 (_STAT_VER_LINUX_OLD): New.
479 (st_atime): Remove duplicate.
480 (st_mtime): Likewise.
481 (st_ctime): Likewise.
482
1c2cfe81
DM
4832012-05-31 David S. Miller <davem@davemloft.net>
484
485 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
486 entries.
487
5be8418c
AS
4882012-06-01 Andreas Schwab <schwab@linux-m68k.org>
489
e7725326
AS
490 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
491 gen-libm-test.pl.
492
5be8418c
AS
493 [BZ #14132]
494 * elf/dl-reloc.c: Include <_itoa.h>.
495 (_dl_reloc_bad_type): Remove use of INTUSE.
496 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
497 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
498 * stdio-common/psiginfo.c (psiginfo): Likewise.
499 * stdio-common/psignal.c (psignal): Likewise.
500 * string/strsignal.c (strsignal): Likewise.
501 * include/signal.h (_sys_siglist): Declare hidden proto.
502 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
503 INTVARDEF with libc_hidden_data_def.
504 * stdio-common/itoa-udigits.c: Likewise.
505 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
506 (_itoa_lower_digits_internal): Remove declaration.
507 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
508 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
509 (_sys_sigabbrev_internal): Remove aliases.
510 (_sys_siglist): Define hidden alias.
511
507352f1
MT
5122012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
513
514 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
515 bits/sysctl.h.
516
42bbb1c3
L
5172012-05-31 H.J. Lu <hongjiu.lu@intel.com>
518
519 [BZ #14117]
6bd784b6
L
520 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
521 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
522
8bca20f0
L
523 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
524 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
525 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
526 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
527 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
528 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
529
f9e890a9
L
530 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
531 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
532 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
533
471101a1
L
534 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
535 with __addr.
536 (insw): Likewise.
537 (insl): Likewise.
538 (outsb): Likewise.
539 (outsw): Likewise.
540 (outsl): Likewise.
541
6451c862
L
542 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
543 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
544 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
545
a254b8c9
L
546 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
547 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
548 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
549 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
550 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
551 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
552
b8dfdd92
L
553 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
554 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
555
578cd270
L
556 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
557 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
558
de662f5f
L
559 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
560 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
561 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
562
25653439
L
563 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
564 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
565 to ...
566 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
567
6bad24a0
L
568 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
569 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
570 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
571
42bbb1c3
L
572 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
573 for x86-64.
574 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
575
2d10d547
JM
5762012-05-31 Joseph Myers <joseph@codesourcery.com>
577
578 * math/math.h (M_El): Use two more decimal places.
579 (M_LOG2El): Likewise.
580 (M_LOG10El): Likewise.
581 (M_LN2l): Likewise.
582 (M_LN10l): Likewise.
583 (M_PIl): Likewise.
584 (M_PI_2l): Likewise.
585 (M_PI_4l): Likewise.
586 (M_1_PIl): Likewise.
587 (M_2_PIl): Likewise.
588 (M_2_SQRTPIl): Likewise.
589 (M_SQRT2l): Likewise.
590 (M_SQRT1_2l): Likewise.
591
f230c29b
DM
5922012-05-31 David S. Miller <davem@davemloft.net>
593
594 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
595 values between float registers.
596 * sysdeps/sparc/sparc64/memset.S: Likewise.
597 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
598
fed806c3
MF
5992012-05-31 Mike Frysinger <vapier@gentoo.org>
600
601 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
602 -D_FORTIFY_SOURCE=1.
603 (CPPFLAGS-tst-longjmp_chk.c): Define.
604 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
605 (CPPFLAGS-tst-longjmp_chk2.c): Define.
606 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
607 CFLAGS-tst-wchar-h.c.
608
30917259
MP
6092012-05-31 Marek Polacek <polacek@redhat.com>
610
611 [BZ #14132]
612 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
613 __endmntent_internal): Remove declaration.
614 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
615 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
616 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
617
1c58d5dc
DM
6182012-05-30 David S. Miller <davem@davemloft.net>
619
620 * sysdeps/sparc/sparc32/soft-fp/q_util.c
621 (___Q_simulate_exceptions): Use real FP ops rather than writing
622 into the %fsr.
623 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
624 Likewise.
625
7dc00e0d
L
6262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
627
628 [BZ #14117]
0bd53985
L
629 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
630 * sysdeps/x86/bits/xtitypes.h: This.
631
3a257e66
L
632 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
633 * sysdeps/x86/bits/wordsize.h: This.
634
62f62904
L
635 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
636 * sysdeps/x86/bits/huge_vall.h: This.
637
404fe9d9
L
638 * sysdeps/i386/bits/select.h: Removed.
639 * sysdeps/x86_64/bits/select.h: Renamed to ...
640 * sysdeps/x86/bits/select.h: This.
641
d48d0446
L
642 * sysdeps/i386/bits/setjmp.h: Removed.
643 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
644 * sysdeps/x86/bits/setjmp.h: This.
645
7dc00e0d
L
646 * sysdeps/i386/bits/mathdef.h: Removed.
647 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
648 * sysdeps/x86/bits/mathdef.h: This.
649
03277f8f
AS
6502012-05-30 Andreas Schwab <schwab@linux-m68k.org>
651
652 [BZ #14132]
653 * include/sys/socket.h (__connect_internal)
654 (__libc_sa_len_internal): Remove declaration.
655 (__connect, __libc_sa_len): Declare hidden_proto.
656 (SA_LEN): Remove use of INTUSE.
657 * socket/connect.c: Add libc_hidden_def.
658 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
659 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
660 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
661 alias.
662 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
663 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
664 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
665 of adding _internal alias.
666
13764867
L
6672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
668
669 [BZ #14117]
6bd97696
L
670 * sysdeps/i386/bits/link.h: Removed.
671 * sysdeps/i386/bits/linkmap.h: Likewise.
672 * sysdeps/x86_64/bits/link.h: Renamed to ...
673 * sysdeps/x86/bits/link.h: This.
674 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
675 * sysdeps/x86/bits/linkmap.h: This.
676
f726f0bb
L
677 * sysdeps/i386/bits/endian.h: Removed.
678 * sysdeps/x86_64/bits/endian.h: Renamed to ...
679 * sysdeps/x86/bits/endian.h: This.
680
13764867
L
681 * sysdeps/i386/bits/byteswap.h: Removed.
682 * sysdeps/i386/bits/byteswap-16.h: Likewise.
683 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
684 * sysdeps/x86/bits/byteswap.h: This.
685 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
686 * sysdeps/x86/bits/byteswap-16.h: This.
687 * sysdeps/i386/Implies: Add x86.
688 * sysdeps/x86_64/Implies: Likewise.
689
ae251b0b
DM
6902012-05-30 David S. Miller <davem@davemloft.net>
691
692 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
693 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
694 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
695 (FP_TRAPPING_EXCEPTIONS): Define.
696 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
697 (FP_TRAPPING_EXCEPTIONS): Define.
698 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
699 subnormals only when inexact has been signalled or underflow
700 exceptions are enabled.
701 (_FP_PACK_CANONICAL): Likewise.
702
d5c90867
L
7032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
704
705 [BZ #14183]
706 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
707 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
708
63f1549e
RH
7092012-05-30 Richard Henderson <rth@twiddle.net>
710
8d8f2279
RH
711 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
712 with #ifndef NOT_IN_libc.
713
63f1549e
RH
714 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
715 marked to avoid plt entry.
716
0ab0291b
L
7172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
718
719 [BZ #14112]
720 * Makeconfig (default-abi): New macro.
721 (abi-includes): Likewise.
722 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
723 $(abi-$(default-abi)-lib-soname) for soname if defined.
724 ($(common-objpfx)gnu/lib-names.stmp): Generate from
725 abi-variants.
726 * Makefile (installed-stubs): Likewise.
727 * include/stubs-biarch.h: Removed.
728 * scripts/lib-names.awk: Only handle one library at a time.
729 * scripts/soversions.awk: Remove WORDSIZE support.
730 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
731 entries.
732 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
733 Removed.
734 (syscall-list-default-condition): Likewise.
735 (syscall-list-default-condition): Likewise.
736 (syscall-list-includes): Likewise.
737 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
738 syscall-list-* with abi-*. Handle undefined abi-variants.
739 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
740 * sysdeps/unix/sysv/linux/i386/Implies: New file.
741 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
742 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
743 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
744 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
745 Removed.
746 (syscall-list-32-options): Likewise.
747 (syscall-list-32-condition): Likewise.
748 (syscall-list-64-options): Likewise.
749 (syscall-list-64-condition): Likewise.
750 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
751 macro.
752 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
753 Renamed to ...
754 (abi-*): This.
755 (abi-64-ld-soname): New macro.
756 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
757 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
758 Renamed to ...
759 (abi-*): This.
760 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
761 * sysdeps/x86_64/x32/shlib-versions: Likewise.
762
4da0431d
JM
7632012-05-30 Joseph Myers <joseph@codesourcery.com>
764
3a85279c
JM
765 * sysdeps/unix/sysv/linux/kernel-features.h
766 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
767 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
768 include <kernel-features.h>.
769 [!__NR_ftruncate64]: Remove conditional code.
770 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
771 [__NR_ftruncate64]: Make code unconditional.
772 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
773 * sysdeps/unix/sysv/linux/truncate64.c: Do not
774 include <kernel-features.h>.
775 [!__NR_ftruncate64]: Remove conditional code.
776 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
777 [__NR_ftruncate64]: Make code unconditional.
778 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
780 include <kernel-features.h>.
781 [!__NR_ftruncate64]: Remove conditional code.
782 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
783 [__NR_ftruncate64]: Make code unconditional.
784 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
786 include <kernel-features.h>.
787 [!__NR_ftruncate64]: Remove conditional code.
788 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
789 [__NR_ftruncate64]: Make code unconditional.
790 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
791
4da0431d
JM
792 * configure.in (libc_cv_fpie): Weaken to a compile test using
793 LIBC_TRY_CC_OPTION.
794 * configure: Regenerated.
795
11ef492c
AK
7962012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
797
798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
802 Refreshed.
803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
809 Refreshed.
810
d66ef399
DM
8112012-05-27 David S. Miller <davem@davemloft.net>
812
813 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
814 (___Q_zero): New.
815 (__Q_simulate_exceptions): Return void. Change to simulate
816 exceptions by writing into the %fsr.
817 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
818 (__Qp_handle_exceptions): Likewise.
819 (numbers): Delete.
820 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
821 __Qp_handle_exceptions.
822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
823 __Qp_handle_exceptions.
824 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
825 as unused and give dummy FP_RND_NEAREST initializer.
826 (FP_INHIBIT_RESULTS): Define.
827 (___Q_simulate_exceptions): Update declaration.
828 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
829 formatting.
830 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
831 as unused and give dummy FP_RND_NEAREST initializer.
832 (__Qp_handle_exceptions): Update declaration.
833 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
834 formatting.
835
04fb54b5
TS
8362012-05-27 Thomas Schwinge <thomas@codesourcery.com>
837
838 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
839 the temporary FPU control word.
840 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
841 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
842 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
843 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
844 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
845 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
846 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
847 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
848 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
849 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
850 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
851
3f99608f
KK
8522012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
853
854 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
855 fields.
856
65a4de4e
CLT
8572012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
858
859 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
860 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
861 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
862 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
863 Likewise.
864 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
865 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
866 Likewise.
867
15749d40
UD
8682012-05-27 Ulrich Drepper <drepper@gmail.com>
869
870 * po/h.po: Update from translation team.
871
25dbcb27
AS
8722012-05-26 Andreas Schwab <schwab@linux-m68k.org>
873
3d3f8e55
AS
874 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
875
25dbcb27
AS
876 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
877 handling of denormals.
878 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
879 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
880 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
881 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
882 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
883 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
884 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
885 Likewise.
886
7ad47a80 8872012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
888
889 [BZ #14152]
890 * math/libm-test.inc (fma_test): Don't always expect underflow
891 exception.
892
9c6ea9fa
SP
8932012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
894
895 [BZ #12416]
896 * elf/tst-execstack.c: Include stackinfo.h.
897 (do_test): Adjust test case to ensure that pthread_getattr_np
898 behaviour remains the same after marking stack executable.
899
a8239222
JM
9002012-05-25 Joseph Myers <joseph@codesourcery.com>
901
902 * sysdeps/unix/sysv/linux/kernel-features.h
903 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
904 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
905 kernel-features.h.
906 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
907 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
908 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
909 kernel-features.h.
910 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
911 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
912
918b5606
L
9132012-05-25 H.J. Lu <hongjiu.lu@intel.com>
914
915 * configure.in: Define the default includes to being none.
916 * configure: Regenerated.
917
3a097cc7
RM
9182012-05-25 Roland McGrath <roland@hack.frob.com>
919
8422c9a5
RM
920 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
921 * sysdeps/x86_64/setjmp.S: Likewise.
922 * sysdeps/i386/bsd-setjmp.S: Likewise.
923 * sysdeps/i386/bsd-_setjmp.S: Likewise.
924 * sysdeps/i386/setjmp.S: Likewise.
925 * sysdeps/i386/__longjmp.S: Likewise.
926 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
927 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
928
3a097cc7
RM
929 * include/stap-probe.h: New file.
930 * configure.in: Handle --enable-systemtap.
931 * configure: Regenerated.
932 * config.h.in (USE_STAP_PROBE): New #undef.
933 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
934 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
935 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
936
21708942
JM
9372012-05-25 Joseph Myers <joseph@codesourcery.com>
938
939 [BZ #13717]
940 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
941 to 2.4.0 where earlier.
942 * sysdeps/unix/sysv/linux/configure: Regenerated.
943 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
944 <kernel-features.h>.
945 [__ASSUME_32BITUIDS]: Make code unconditional.
946 [!__ASSUME_32BITUIDS]: Remove conditional code.
947 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
948 <kernel-features.h>.
949 [__ASSUME_32BITUIDS]: Make code unconditional.
950 [!__ASSUME_32BITUIDS]: Remove conditional code.
951 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
952 [__ASSUME_32BITUIDS]: Make code unconditional.
953 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
954 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.c: Do not include
967 <kernel-features.h>.
968 [__ASSUME_32BITUIDS]: Make code unconditional.
969 [!__ASSUME_32BITUIDS]: Remove conditional code.
970 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
971 <kernel-features.h>.
972 [__ASSUME_32BITUIDS]: Make code unconditional.
973 [!__ASSUME_32BITUIDS]: Remove conditional code.
974 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
975 <kernel-features.h>.
976 [__ASSUME_32BITUIDS]: Make code unconditional.
977 [!__ASSUME_32BITUIDS]: Remove conditional code.
978 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
979 <kernel-features.h>.
980 [__ASSUME_32BITUIDS]: Make code unconditional.
981 [!__ASSUME_32BITUIDS]: Remove conditional code.
982 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
983 <kernel-features.h>.
984 [__ASSUME_32BITUIDS]: Make code unconditional.
985 [!__ASSUME_32BITUIDS]: Remove conditional code.
986 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
987 <kernel-features.h>.
988 [__ASSUME_32BITUIDS]: Make code unconditional.
989 [!__ASSUME_32BITUIDS]: Remove conditional code.
990 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
991 <kernel-features.h>.
992 [__ASSUME_32BITUIDS]: Make code unconditional.
993 [!__ASSUME_32BITUIDS]: Remove conditional code.
994 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
995 <kernel-features.h>.
996 [__NR_setresgid] (__setresgid): Do not declare.
997 [__ASSUME_32BITUIDS]: Make code unconditional.
998 [!__ASSUME_32BITUIDS]: Remove conditional code.
999 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1000 <kernel-features.h>.
1001 [__NR_setresuid] (__setresuid): Do not declare.
1002 [__ASSUME_32BITUIDS]: Make code unconditional.
1003 [!__ASSUME_32BITUIDS]: Remove conditional code.
1004 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.c: Do not include
1013 <kernel-features.h>.
1014 [__ASSUME_32BITUIDS]: Make code unconditional.
1015 [!__ASSUME_32BITUIDS]: Remove conditional code.
1016 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1017 <kernel-features.h>.
1018 [__ASSUME_32BITUIDS]: Make code unconditional.
1019 [!__ASSUME_32BITUIDS]: Remove conditional code.
1020 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1021 <kernel-features.h>.
1022 [__ASSUME_32BITUIDS]: Make code unconditional.
1023 [!__ASSUME_32BITUIDS]: Remove conditional code.
1024 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1025 <kernel-features.h>.
1026 [__ASSUME_32BITUIDS]: Make code unconditional.
1027 [!__ASSUME_32BITUIDS]: Remove conditional code.
1028 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1029 <kernel-features.h>.
1030 [__ASSUME_32BITUIDS]: Make code unconditional.
1031 [!__ASSUME_32BITUIDS]: Remove conditional code.
1032 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1033 <kernel-features.h>.
1034 [__ASSUME_32BITUIDS]: Make code unconditional.
1035 [!__ASSUME_32BITUIDS]: Remove conditional code.
1036 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1037 <kernel-features.h>.
1038 [__ASSUME_32BITUIDS]: Make code unconditional.
1039 [!__ASSUME_32BITUIDS]: Remove conditional code.
1040 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1041 <kernel-features.h>.
1042 [__ASSUME_32BITUIDS]: Make code unconditional.
1043 [!__ASSUME_32BITUIDS]: Remove conditional code.
1044 * sysdeps/unix/sysv/linux/kernel-features.h
1045 (__ASSUME_SETRESUID_SYSCALL): Remove.
1046 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1047 (__ASSUME_32BITUIDS): Likewise.
1048 (__ASSUME_LDT_WORKS): Likewise.
1049 (__ASSUME_O_DIRECTORY): Likewise.
1050 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1051 architecture but not kernel version.
1052 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1053 (__ASSUME_MMAP2_SYSCALL): Likewise.
1054 (__ASSUME_STAT64_SYSCALL): Likewise.
1055 (__ASSUME_IPC64): Likewise.
1056 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1057 <kernel-features.h>.
1058 [__ASSUME_32BITUIDS]: Make code unconditional.
1059 [!__ASSUME_32BITUIDS]: Remove conditional code.
1060 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1061 <kernel-features.h>.
1062 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1063 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1064 132096]: Remove conditional code.
1065 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1066 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1067 <kernel-features.h>.
1068 [__ASSUME_32BITUIDS]: Make code unconditional.
1069 [!__ASSUME_32BITUIDS]: Remove conditional code.
1070 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1071 <kernel-features.h>.
1072 [__ASSUME_32BITUIDS]: Make code unconditional.
1073 [!__ASSUME_32BITUIDS]: Remove conditional code.
1074 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1075 <kernel-features.h>.
1076 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1077 unconditional.
1078 (__setresgid): Do not declare.
1079 [__ASSUME_32BITUIDS]: Make code unconditional.
1080 [!__ASSUME_32BITUIDS]: Remove conditional code.
1081 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1082 <kernel-features.h>.
1083 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1084 unconditional.
1085 (__setresuid): Do not declare.
1086 [__ASSUME_32BITUIDS]: Make code unconditional.
1087 [!__ASSUME_32BITUIDS]: Remove conditional code.
1088 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1089 <kernel-features.h>.
1090 [__ASSUME_32BITUIDS]: Make code unconditional.
1091 [!__ASSUME_32BITUIDS]: Remove conditional code.
1092 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1093 <kernel-features.h>.
1094 [__ASSUME_32BITUIDS]: Make code unconditional.
1095 [!__ASSUME_32BITUIDS]: Remove conditional code.
1096
a386f1cc
RH
10972012-05-25 Richard Henderson <rth@twiddle.net>
1098
1099 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1100 dl_hwcap to ifunc resolver.
1101 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1102 elf_ifunc_invoke.
1103 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1104 dl_hwcap to ifunc resolver.
1105 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1106
b6550497
JM
11072012-05-24 Joseph Myers <joseph@codesourcery.com>
1108
1109 [BZ #14153]
1110 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1111 for |x| <= 2**-26, not 2**-57.
1112 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1113 exception.
1114
b0bc23a1
JL
11152012-05-24 Jeff Law <law@redhat.com>
1116
1117 * stdio-common/Makefile (tests): Add bug25.
1118 * stdio-common/bug25.c: New test.
1119
347c92e9
L
11202012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1121
1122 [BZ #13576]
1123 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1124 multiple of MALLOC_ALIGNMENT in size.
1125 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1126
6bcc8b3f
JM
11272012-05-24 Joseph Myers <joseph@codesourcery.com>
1128
1129 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1130 Require >= 256.
1131 (FILENAME_MAX): Use macro-int-constant.
1132 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1133 (_IOFBF): Use macro-int-constant.
1134 (_IOLBF): Likewise.
1135 (_IONBF): Likewise.
1136 (SEEK_CUR): Likewise.
1137 (SEEK_END): Likewise.
1138 (SEEK_SET): Likewise.
1139 (TMP_MAX): Likewise.
1140 (EOF): Use macro-int-constant. Require < 0.
1141 (NULL): Use macro-constant. Require == 0.
1142 (stdin): Require type to be FILE *.
1143 (stdout): Likewise.
1144 (stderr): Likewise.
1145 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1146 macro-int-constant.
1147 (EXIT_SUCCESS): Likewise.
1148 (NULL): Use macro-constant. Require == 0.
1149 (RAND_MAX): Use macro-int-constant.
1150 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1151 [C99-based standards] (strtof): Require function.
1152 [C99-based standards] (strtold): Likewise.
1153 [C99-based standards] (strtoll): Likewise.
1154 [C99-based standards] (strtoull): Likewise.
1155 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1156 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1157 [ISO || ISO99 || ISO11] (math.h): Likewise.
1158 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1159 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1160 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1161
d18ea0c5
AS
11622012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1163
1164 [BZ #14132]
56d25bb8
AS
1165 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1166 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1167 * intl/dgettext.c (DCGETTEXT): Likewise.
1168 * intl/gettext.c (DCGETTEXT): Likewise.
1169 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1170 * posix/regex_internal.h (gettext): Likewise.
1171 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1172 Remove declaration.
1173 * include/argz.h (__argz_count_internal)
1174 (__argz_stringify_internal): Remove declaration.
1175 (__argz_count, __argz_stringify): Declare hidden proto.
1176 * intl/dcgettext.c: Remove use of INTDEF.
1177 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1178 * string/argz-stringify.c: Likewise.
1179 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1180 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1181 Declare hidden proto.
d18ea0c5
AS
1182 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1183 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1184 Declare hidden proto.
1185 * include/stdio.h (__asprintf_internal): Don't declare.
1186 (__asprintf): Don't define as macro. Declare hidden proto.
1187 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1188 (__fsetlocking): Declare hidden proto.
1189 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1190 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1191 hidden proto.
1192 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1193 (_IO_setlinebuf): Remove use of INTUSE.
1194 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1195 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1196 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1197 Remove declaration.
1198 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1199 (_IO_do_flush): Remove use of INTUSE.
1200 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1201 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1202 (_IO_adjust_column, _IO_least_wmarker)
1203 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1204 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1205 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1206 (_IO_default_doallocate, _IO_wdefault_doallocate)
1207 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1208 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1209 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1210 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1211 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1212 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1213 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1214 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1215 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1216 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1217 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1218 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1219 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1220 proto.
1221 (_IO_flush_all_internal, _IO_adjust_column_internal)
1222 (_IO_default_uflow_internal, _IO_default_finish_internal)
1223 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1224 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1225 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1226 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1227 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1228 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1229 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1230 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1231 (_IO_file_close_internal, _IO_file_close_it_internal)
1232 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1233 (_IO_file_init_internal, _IO_file_attach_internal)
1234 (_IO_file_fopen_internal, _IO_file_read_internal)
1235 (_IO_file_sync_internal, _IO_file_seek_internal)
1236 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1237 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1238 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1239 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1240 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1241 (_IO_list_all_internal, _IO_link_in_internal)
1242 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1243 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1244 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1245 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1246 (_IO_do_write_internal, _IO_padn_internal)
1247 (_IO_getline_info_internal, _IO_getline_internal)
1248 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1249 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1250 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1251 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1252 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1253 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1254 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1255 with libc_hidden_ver, remove use of INTUSE.
1256 * libio/genops.c: Likewise.
1257 * libio/freopen.c: Likewise.
1258 * libio/freopen64.c: Likewise.
1259 * libio/iofclose.c: Likewise.
1260 * libio/iofdopen.c: Likewise.
1261 * libio/iofflush.c: Likewise.
1262 * libio/iofflush_u.c: Likewise.
1263 * libio/iofgets.c: Likewise.
1264 * libio/iofgets_u.c: Likewise.
1265 * libio/iofopen.c: Likewise.
1266 * libio/iofopncook.c: Likewise.
1267 * libio/iofread.c: Likewise.
1268 * libio/iofread_u.c: Likewise.
1269 * libio/ioftell.c: Likewise.
1270 * libio/iofwrite.c: Likewise.
1271 * libio/iogetline.c: Likewise.
1272 * libio/iogets.c: Likewise.
1273 * libio/iogetwline.c: Likewise.
1274 * libio/iopadn.c: Likewise.
1275 * libio/iopopen.c: Likewise.
1276 * libio/ioseekoff.c: Likewise.
1277 * libio/ioseekpos.c: Likewise.
1278 * libio/iosetbuffer.c: Likewise.
1279 * libio/iosetvbuf.c: Likewise.
1280 * libio/ioungetc.c: Likewise.
1281 * libio/ioungetwc.c: Likewise.
1282 * libio/iovdprintf.c: Likewise.
1283 * libio/iovsprintf.c: Likewise.
1284 * libio/iovsscanf.c: Likewise.
1285 * libio/memstream.c: Likewise.
1286 * libio/obprintf.c: Likewise.
1287 * libio/oldfileops.c: Likewise.
1288 * libio/oldiofclose.c: Likewise.
1289 * libio/oldiofdopen.c: Likewise.
1290 * libio/oldiofopen.c: Likewise.
1291 * libio/oldiopopen.c: Likewise.
1292 * libio/oldstdfiles.c: Likewise.
1293 * libio/putc.c: Likewise.
1294 * libio/setbuf.c: Likewise.
1295 * libio/setlinebuf.c: Likewise.
1296 * libio/stdfiles.c: Likewise.
1297 * libio/strops.c: Likewise.
1298 * libio/vasprintf.c: Likewise.
1299 * libio/vscanf.c: Likewise.
1300 * libio/vsnprintf.c: Likewise.
1301 * libio/vswprintf.c: Likewise.
1302 * libio/wfiledoalloc.c: Likewise.
1303 * libio/wfileops.c: Likewise.
1304 * libio/wgenops.c: Likewise.
1305 * libio/wmemstream.c: Likewise.
1306 * libio/wstrops.c: Likewise.
1307 * libio/__fpurge.c: Likewise.
1308 * libio/__fsetlocking.c: Likewise.
1309 * assert/assert.c: Likewise.
1310 * debug/fgets_chk.c: Likewise.
1311 * debug/fgets_u_chk.c: Likewise.
1312 * debug/fread_chk.c: Likewise.
1313 * debug/fread_u_chk.c: Likewise.
1314 * debug/gets_chk.c: Likewise.
1315 * debug/obprintf_chk.c: Likewise.
1316 * debug/vasprintf_chk.c: Likewise.
1317 * debug/vdprintf_chk.c: Likewise.
1318 * debug/vsnprintf_chk.c: Likewise.
1319 * debug/vsprintf_chk.c: Likewise.
1320 * malloc/mtrace.c: Likewise.
1321 * misc/error.c: Likewise.
1322 * misc/syslog.c: Likewise.
1323 * stdio-common/asprintf.c: Likewise.
1324 * stdio-common/fxprintf.c: Likewise.
1325 * stdio-common/getw.c: Likewise.
1326 * stdio-common/isoc99_fscanf.c: Likewise.
1327 * stdio-common/isoc99_scanf.c: Likewise.
1328 * stdio-common/isoc99_vfscanf.c: Likewise.
1329 * stdio-common/isoc99_vscanf.c: Likewise.
1330 * stdio-common/isoc99_vsscanf.c: Likewise.
1331 * stdio-common/printf-prs.c: Likewise.
1332 * stdio-common/printf_fp.c: Likewise.
1333 * stdio-common/printf_fphex.c: Likewise.
1334 * stdio-common/printf_size.c: Likewise.
1335 * stdio-common/putw.c: Likewise.
1336 * stdio-common/scanf.c: Likewise.
1337 * stdio-common/sprintf.c: Likewise.
1338 * stdio-common/tmpfile.c: Likewise.
1339 * stdio-common/vfprintf.c: Likewise.
1340 * stdio-common/vfscanf.c: Likewise.
1341 * stdlib/strfmon_l.c: Likewise.
1342 * sunrpc/openchild.c: Likewise.
1343 * sunrpc/xdr_stdio.c: Likewise.
1344 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1345 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1346
d6c33fda
RM
13472012-05-24 Roland McGrath <roland@hack.frob.com>
1348
c1487492
RM
1349 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1350
1351 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1352 in the third column, to generate for the shared library an IFUNC
1353 that uses _dl_vdso_vsym.
1354 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1355 * Makeconfig (object-suffixes-noshared): New variable.
1356
1357 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1358 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1359 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1360 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1361
d6c33fda
RM
1362 [BZ #14132]
1363 * include/sys/time.h (__gettimeofday): Remove macro.
1364 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1365 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1366 Remove INTDEF.
1367 (__gettimeofday): Add libc_hidden_def.
1368 (gettimeofday): Add libc_hidden_weak.
1369 * sysdeps/mach/gettimeofday.c: Likewise.
1370 * sysdeps/posix/gettimeofday.c: Likewise.
1371 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1372 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1373 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1374 (__gettimeofday_internal): Remove strong_alias.
1375 (__gettimeofday): Add libc_hidden_def.
1376 (gettimeofday): Add libc_hidden_weak.
1377 * sysdeps/unix/syscalls.list (gettimeofday):
1378 Remove __gettimeofday_internal alias.
1379
b5a2bbe6
L
13802012-05-24 Daniel Jacobowitz <drow@false.org>
1381 H.J. Lu <hongjiu.lu@intel.com>
1382
1383 [BZ #12495]
1384 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1385 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1386 (largebin_index_32_big): New.
1387 (largebin_index): Use it for 16-byte alignment.
1388 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1389 correction with front_misalign.
1390
cfba4fda
L
13912012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1392
7f907421
L
1393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1395 Likewise.
1396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1397 Likewise.
1398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1399 Likewise.
1400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1401 Likewise.
1402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1403 Likewise.
1404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1405 Likewise.
1406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1407 Likewise.
1408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1409 Likewise.
1410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1411 Likewise.
1412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1413 Likewise.
1414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1415 Likewise.
1416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1417 Likewise.
1418
cfba4fda
L
1419 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1420 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1421
80bad0cc
JM
14222012-05-24 Joseph Myers <joseph@codesourcery.com>
1423
7a25eb06
JM
1424 [BZ #10846]
1425 [BZ #14036]
1426 * math/libm-test.inc (exp_test): Add test from bug 14036.
1427 (pow_test): Add test from bug 10846.
1428
795405f9
JM
1429 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1430 and other flags.
1431 (special_function): Do not include flags in test name.
1432 (parse_args): Likewise.
1433 * sysdeps/i386/fpu/libm-test-ulps: Update.
1434 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1435 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1436 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1438
80bad0cc
JM
1439 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1440 exceptions.
1441 * math/libm-test.inc ("Philosophy"): Update comment about
1442 exception testing.
1443 (UNDERFLOW_EXCEPTION): New macro.
1444 (UNDERFLOW_EXCEPTION_OK): Likewise.
1445 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1446 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1447 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1448 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1449 (INVALID_EXCEPTION_OK): Update value.
1450 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1451 (OVERFLOW_EXCEPTION_OK): Likewise.
1452 (IGNORE_ZERO_INF_SIGN): Likewise.
1453 (test_exceptions): Handle underflow exceptions.
1454 (acos_test): Update for underflow exception expectations.
1455 (cexp_test): Likewise.
1456 (clog_test): Likewise.
1457 (clog10_test): Likewise.
1458 (csqrt_test): Likewise.
1459 (ctan_test): Likewise.
1460 (ctanh_test): Likewise.
1461 (exp_test): Likewise.
1462 (exp10_test): Likewise.
1463 (exp2_test): Likewise.
1464 (expm1_test): Likewise.
1465 (fma_test): Likewise.
1466 (j0_test): Likewise.
1467 (jn_test): Likewise.
1468 (nexttoward_test): Likewise.
1469 (pow_test): Likewise.
1470 (scalbn_test): Likewise.
1471 (scalbln_test): Likewise.
1472 (tan_test): Likewise.
1473 (y1_test): Likewise.
1474 * sysdeps/i386/fpu/libm-test-ulps: Update.
1475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1476
9e0e3d0b
DM
14772012-05-23 David S. Miller <davem@davemloft.net>
1478
1479 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1480 (__libc_sigaction): Remove unused local variables.
1481
ccd0a08f
L
14822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1483
1484 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1485
62bdf9a6
PE
14862012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1487
f8591f80
PE
1488 mktime: avoid signed integer overflow
1489 * time/mktime.c (__mktime_internal): Do not mishandle the case
1490 where diff == INT_MIN.
1491
94c7d826
PE
1492 mktime: simplify computation of average
1493 * time/mktime.c (ranged_convert): Use new time_t_avg function
1494 instead of rolling our own (probably-slower) code.
1495
ce73d683
PE
1496 mktime: do not assume signed right shift propagates sign bit
1497 * time/mktime.c (isdst_differ): New static function.
1498 (__mktime_internal): No need to normalize tm_isdst now.
1499 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1500 tm_isdst values.
1501
72a22e59
PE
1502 mktime: merge another wrapv change from gnulib
1503 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1504 from some compilers.
1505
68605433
PE
1506 mktime: remove incorrect attempt at unusual arithmetics
1507 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1508 The code didn't really work on such machines anyway.
1509 (TYPE_MINIMUM): Assume two's complement.
1510 (twos_complement_arithmetic): Verify that long_int and time_t
1511 are two's complement (or unsigned, in the latter case).
1512
03cf7fe3
PE
1513 mktime: check signed shifts on long_int and time_t, too
1514 * time/mktime.c (SHR): Check that shifts work as desired
1515 on the types long_int and time_t too, as SHR is used on
1516 such types.
1517
f04dfbc2
PE
1518 mktime: do not assume 'long' is wide enough
1519 * time/mktime.c (verify): Move decl up.
1520 (long_int): New type.
1521 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1522 to remove assumption in the code that 'long' is wide enough to
1523 store year values. This assumption is not true on x32 and on
1524 some non-glibc platforms.
1525
62bdf9a6
PE
1526 mktime: merge wrapv change from gnulib
1527 * time/mktime.c (WRAPV): New macro.
1528 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1529 (guess_time_tm, __mktime_internal): Do not assume that signed
1530 integer overflow wraps around; modern compilers generate code
1531 where this assumption is no longer valid.
1532
5e292e4f
L
15332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1534
1535 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1536 Replace "jmp L(pseudo_end)" with "ret".
1537 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1538 Likewise.
1539
8caf8c87
AJ
15402012-05-23 Andreas Jaeger <aj@suse.de>
1541
1542 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1543 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1544
1a09dc56
AJ
15452012-05-23 Andreas Jaeger <aj@suse.de>
1546 Maximilian Attems <max@stro.at>
1547
1548 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1549 New macros.
1550
1c87aba0
L
15512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1552
1553 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1554 code so that pseudo_end is just ret and the stack pointer is
1555 correct also for static library in error case.
1556
40e45bd5
JM
15572012-05-23 Joseph Myers <joseph@codesourcery.com>
1558
c2670533
JM
1559 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1560 move to syscalls.list.
1561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1565
40e45bd5
JM
1566 * manual/install.texi (Running make install): Do not mention Linux
1567 kernel version for which pt_chown is not needed.
1568 (Linux): Do not mention problems with nscd with 2.0 kernels.
1569 * INSTALL: Regenerated.
1570
be08eda5
AJ
15712012-05-23 Andreas Jaeger <aj@suse.de>
1572
1573 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1574 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1575 macro.
1576 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1577 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1578 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1579 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1580 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1581 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1582 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1583 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1584 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1585 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1586 * sysdeps/unix/sysv/linux/bits/in.h
1587 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1588
a6a056bb
RM
15892012-05-22 Roland McGrath <roland@hack.frob.com>
1590
1591 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1592 (PREPARE_VERSION): Just use assert instead, it will be elided
1593 under [NDEBUG] anyway.
1594
c9009328
L
15952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1596
1597 * sysdeps/unix/sysv/linux/Makefile: Include
1598 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1599 (sysdep_routines): Remove sysctl.
c9009328
L
1600 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1601 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1602 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1603 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1604 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1605
73338355
AJ
16062012-05-22 Andreas Jaeger <aj@suse.de>
1607
1608 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1609 that pseudo_end is just ret and the stack pointer is correct also
1610 for static library in error case.
1611
d44638b0
PP
16122012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1613
1614 [BZ #14122]
1615 * nss/nsswitch.c (defconfig_entries): New variable.
1616 (__nss_database_lookup): Don't leak defconfig entries.
1617 (nss_parse_service_list): Don't leak on error paths.
1618 (free_database_entries): New function.
1619 (free_defconfig): New function.
1620 (free_mem): Move common code to free_database_entries.
1621
31a39bd8
L
16222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1623
da0331a8
L
1624 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1625 Add arch_prctl.
1626 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1627
31a39bd8
L
1628 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1629 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1630 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1631 New macro.
1632 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1633 (INTERNAL_SYSCALL_TYPES): Likewise.
1634 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1635 (LOAD_REGS_TYPES_[1-6]): Likewise.
1636 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1637 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1638
45470df3
AZ
16392012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1640
1641 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1642 copysignl for GLIBC_2_0.
1643 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1644 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1645 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1646 logbl for GLIBC_2_0.
1647 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1648 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1649
98a61bcb
L
16502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1651
a4f6e481
L
1652 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1653 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1654
f63d5db6
L
1655 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1656 Use "neg %eax".
1657
98a61bcb
L
1658 * time/mktime.c: Update copyright years.
1659
95770f14
PE
16602012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1661
6226efbd
PE
1662 mktime: merge comment-quoting-style change from gnulib
1663 * time/mktime.c: Quote 'like this' in comments.
1664 The GNU coding standards suggest that we no longer quote `like this',
1665 as "`" and "'" are typically rendered asymmetrically nowadays.
1666 The typical gnulib style is to quote 'like this' when quoting
1667 code, and "like this" when quoting English.
1668
b99e4f78
PE
1669 * time/mktime.c (compile-command): Add "-I.".
1670
643e01e6
PE
1671 mktime: merge mktime-internal.h change from gnulib
1672 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1673
2554247d
PE
1674 mktime: merge time_r change from gnulib
1675 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1676
826dd0ab
PE
1677 mktime: merge DEBUG change from gnulib
1678 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1679 case system <time.h> has a #define.
1680
bd83aabe
PE
1681 mktime: merge <sys/types.h> change from gnulib
1682 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1683 since <time.t> is now guaranteed to define time_t.
1684
95770f14
PE
1685 mktime: merge HAVE_CONFIG_H change from gnulib
1686 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1687
5e1a27a9
L
16882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1689
0e44a77e
L
1690 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1691 Use "neg %eax".
1692
5e1a27a9
L
1693 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1694 __rlim_t cast.
1695 (struct rusage): Use anonymous union to pad each field to
1696 __syscall_slong_t.
1697
46259bec
DM
16982012-05-21 David S. Miller <davem@davemloft.net>
1699
1700 * Makefules (o-iterator): Remove .s cases.
1701 (compile-command.s): Delete.
1702 (COMPILE.s): Delete.
1703 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1704
59f0c22e
JM
17052012-05-21 Joseph Myers <joseph@codesourcery.com>
1706
1707 * configure.in (libc_cv_predef_stack_protector): Only consider
1708 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1709 * configure: Regenerated.
1710
20c07380
L
17112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1712
bbb3154b
L
1713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1714 New macro. Use R*LP on int and pointer.
1715 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1716 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1717 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1718 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1719
20c07380
L
1720 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1721 [__WORDSIZE_TIME64_COMPAT32] instead of
1722 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1723 (struct utmp): Likewise.
1724 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1725 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1726 Renamed to ...
1727 (__WORDSIZE_TIME64_COMPAT32): This.
1728 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1729 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1730 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1731 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1732 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1733 (__WORDSIZE_TIME64_COMPAT32): New macro.
1734
d8d1017e
AJ
17352012-05-21 Andreas Jaeger <aj@suse.de>
1736
1737 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1738 only if [SHARED]. Add prototype for __wcschr_ia32.
1739
6c7fb145
RM
17402012-05-21 Roland McGrath <roland@hack.frob.com>
1741
1742 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1743 of %rbp unmolested in the jmp_buf while mangling the low bits.
1744 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1745 unmolested high bits of %rbp while demangling the low bits.
1746 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1747
66274218
AJ
17482012-05-21 Andreas Jaeger <aj@suse.de>
1749
07c58f8f
AJ
1750 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1751 * sunrpc/svc_simple.c: Use it for registerrpc.
1752 * sunrpc/xcrypt.c: Use it for passwd2des.
1753
66274218
AJ
1754 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1755
61f65140
L
17562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1757
1758 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1759 Don't define if [__SYSCALL_WORDSIZE != 32].
1760 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1761 New macro.
1762
5fefb436
AJ
17632012-05-21 Bruno Haible <bruno@clisp.org>
1764 Andreas Jaeger <aj@suse.de>
1765
1766 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1767 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1768 inptr and inend for must_buffer_ch.
1769 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1770 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1771 * stdio-common/Makefile (tests): Remove bug15.
1772 (bug15-ENV): Remove macro.
1773 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1774 anymore.
1775
d8e272ab
AJ
17762012-05-19 Andreas Jaeger <aj@suse.de>
1777 Roland McGrath <roland@hack.frob.com>
1778
1779 * manual/contrib.texi: Completely rewritten. It contains now an
1780 alphabetical list of contributors and their contributions.
1781
4a56a162
RH
17822012-05-21 Richard Henderson <rth@twiddle.net>
1783
1784 * misc/getauxval.c (__getauxval): Use unsigned long int.
1785 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1786 (getauxval): Use unsigned long int.
1787
d024d23c
L
17882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1789
1790 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1791
cbc00a03
RM
17922012-05-21 Roland McGrath <roland@hack.frob.com>
1793
1794 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1795 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1796 __alignof__ (long double).
1797
478143fa
AZ
17982012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1799
1800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1801
c7683a6d
RH
18022012-05-20 Richard Henderson <rth@twiddle.net>
1803
1804 * misc/getauxval.c: New file.
1805 * misc/sys/auxv.h: New file.
1806 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1807 (routines): Add getauxval.
1808 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1809 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1810 * elf/dl-sysdep.c (_dl_auxv): Remove.
1811 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1812 * elf/dl-support.c (_dl_auxv): New variable.
1813 (_dl_aux_init): Initialize it.
1814 * manual/startup.texi (Auxiliary Vector): New node.
1815 * sysdeps/generic/bits/hwcap.h: New file.
1816 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1817 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1818 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1819 * sysdeps/sparc/sysdep.h: ... here. Include it.
1820 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1821 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1823 Update.
c7683a6d
RH
1824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1827 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1832
a6f1845d
AZ
18332012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1834
1835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1836
cbcbe830
DM
18372012-05-19 David S. Miller <davem@davemloft.net>
1838
1839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1840
e0b16cc2
JM
18412012-05-19 Joseph Myers <joseph@codesourcery.com>
1842
1843 [BZ #14123]
1844 * math/s_ccosh.c: Include <float.h>
1845 (__ccosh): Avoid internal overflow calculating sinh and cosh
1846 values before multiplying by sin and cos values.
1847 * math/s_ccoshf.c: Likewise.
1848 * math/s_ccoshl.c: Likewise.
1849 * math/s_csin.c: Likewise.
1850 * math/s_csinf.c: Likewise.
1851 * math/s_csinl.c: Likewise.
1852 * math/s_csinh.c: Likewise.
1853 * math/s_csinhf.c: Likewise.
1854 * math/s_csinhl.c: Likewise.
1855 * math/libm-test.inc (ccos_test): Add more tests.
1856 (ccosh_test): Likewise.
1857 (csin_test): Likewise.
1858 (csinh_test): Likewise.
1859 * sysdeps/i386/fpu/libm-test-ulps: Update.
1860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1861
6ad13e08
L
18622012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1863
f66f0ce8
L
1864 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1865 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1866
6ad13e08
L
1867 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1868
b1d072a7
JM
18692012-05-19 Joseph Myers <joseph@codesourcery.com>
1870
1871 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1872 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1873 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1874 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1875 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1876 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1877 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1878 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1879 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1880 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1881 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1882 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1883 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1884 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1885 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1886 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1887 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1888 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1889 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1890 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1891 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1892 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1893 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1894 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1895 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1896 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1897 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1898 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1899 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1900 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1901 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1902
9eae47cb
AJ
19032012-05-18 Andreas Jaeger <aj@suse.de>
1904
1905 * csu/.gitignore: Delete.
1906
bb07f69f
L
19072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1908
1909 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1910 (timex): Use __syscall_slong_t.
1911
e6bdb741
AJ
19122012-05-18 Andreas Jaeger <aj@suse.de>
1913 Carlos O'Donell <carlos_odonell@mentor.com>
1914
1915 * manual/install.texi (Configuring and compiling): Update
1916 description about files modified in the source directory.
d6c33fda 1917 * INSTALL: Regenerated.
e6bdb741 1918
1b74487e
L
19192012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1920
1921 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1922 value. Use "or" to set return value to -1.
1923 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1924 negate return value.
1925
a88b64b9
TMQMF
19262012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1927
1928 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1929 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1930 failure if the compiler has Graphite support disabled.
1931 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1932 Likewise.
1933 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1934 CFLAGS-memmove.c): Likewise.
1935 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1936 Likewise.
1937
3707636e
L
19382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1939
610b8622
L
1940 * sysdeps/x86_64/x32/_itoa.h: New file.
1941
7cd195df
L
1942 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1943 getdents system call only if kernel and user dirents have the
1944 same d_ino and d_off.
1945
94b07d20
L
1946 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1947 LLONG_MAX != LONG_MAX.
1948 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1949 (_fitoa_word): Likewise.
1950
18298070
L
1951 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1952 years.
1953 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1954 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1955 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1956
553c7ea4
L
1957 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1958 include <bits/wordsize.h>. Check __x86_64__ instead of
1959 __WORDSIZE.
1960 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1961 if __x86_64__ is defined. Use anonymous union on fpstate.
1962
3707636e
L
1963 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1964 anonymous union.
1965
b53ef01a
AS
19662012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1967
37fb1dc0
AS
1968 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1969 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1970 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1971 Refer to _rtld_local_ro instead of _rtld_global_ro.
1972 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1973 Likewise.
1974 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1975 Likewise.
1976 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1977 Likewise.
1978 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1979 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1980 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1981
b53ef01a
AS
1982 * sysdeps/powerpc/powerpc32/dl-machine.c
1983 (__elf_machine_runtime_setup) [PROF]: Don't reference
1984 _dl_prof_resolve.
1985
7a185db2
AJ
19862012-05-18 Andreas Jaeger <aj@suse.de>
1987
1988 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1989 function only available for GCCs before 3.4 since GCC 3.4
1990 introduced a builtin.
1991 (lrint): Likewise.
1992 (llrintf): Likewise.
1993 (llrint): Likewise.
1994 (fmaxf): Likewise.
1995 (fmax): Likewise.
1996 (fminf): Likewise.
1997 (fmin): Likewise.
1998 (rint): Likewise.
1999 (rintf): Likewise.
2000 (nearbyint): Likewise.
2001 (nearbyintf): Likewise.
2002 (ceil): Likewise.
2003 (ceilf): Likewise.
2004 (floor): Likewise.
2005 (floorf): Likewise.
2006
3e5aef87
L
20072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2008
428bd707
L
2009 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2010 on both fields and cast pointer to __syscall_ulong_t.
2011
3e5aef87
L
2012 * bits/types.h (__fsword_t): New type.
2013 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2014 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2015 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2016 (__FSWORD_T_TYPE): Likewise.
2017 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2018 (__FSWORD_T_TYPE): Likewise.
2019 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2020 (__FSWORD_T_TYPE): Likewise.
2021 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2022 (__FSWORD_T_TYPE): Likewise.
2023 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2024 __SWORD_TYPE with __fsword_t.
2025 (statfs64): Likewise.
2026
1ba7c3dc
DM
20272012-05-17 David S. Miller <davem@davemloft.net>
2028
2029 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2030
59910343
AJ
20312012-05-17 Andreas Jaeger <aj@suse.de>
2032
2033 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2034 warning.
2035
2e4c1e9e
L
20362012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2037
2038 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2039
de7f5ce7
AJ
20402012-05-17 Andreas Jaeger <aj@suse.de>
2041
2042 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2043 when it is used.
2044
286abc3d
CM
20452012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2046
2047 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2048
477cc68e
L
20492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2050
2051 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2052 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2053
1a0994f5
CD
20542012-05-17 Andreas Jaeger <aj@suse.de>
2055 Carlos O'Donell <carlos_odonell@mentor.com>
2056
2057 [BZ #14059]
2058 * sysdeps/x86_64/multiarch/init-arch.h
2059 (bit_YMM_Usable): Rename to...
2060 (bit_AVX_Usable): ... this.
2061 (bit_FMA4_Usable): New macro.
2062 (bit_XMM_state): New macro.
2063 (bit_YMM_state): New macro.
2064 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2065 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2066 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2067 (CPUID_OSXSAVE): New macro.
2068 (CPUID_AVX): New macro.
2069 (CPUID_FMA4): New macro.
2070 (index_YMM_Usable): Rename to...
2071 (index_AVX_Usable): ... this.
2072 (HAS_AVX): Use HAS_ARCH_FEATURE.
2073 (HAS_FMA4): Likewise.
2074 (HAS_YMM_USABLE): Remove.
2075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2076 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2077 are present.
2078 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2079 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2080 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2081 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2082 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2083
0af797de
CM
20842012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2085
2086 * math/libm-test.c: Support platforms without multiple rounding modes.
2087 * math/bug-nextafter.c: Support platforms without FP exceptions.
2088 * math/bug-nexttoward.c: Likewise.
2089 * math/test-fenv.c: Likewise.
2090 * math/test-misc.c: Likewise.
2091 * stdlib/bug-getcontext.c: Likewise.
2092
e39745ff
AJ
20932012-05-17 Andreas Jaeger <aj@suse.de>
2094
2095 * manual/examples/search.c (critter_cmp): Change signature to
2096 avoid warnings.
2097 * manual/string.texi (Collation Functions): Likewise.
2098
48970aba
L
20992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2100
2101 * bits/types.h: Fold copyright years.
2102 * bits/typesizes.h: Likewise.
2103 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2104 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2105 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2106 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2107 * time/time.h: Likewise.
2108
bedee953
PP
21092012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2110
2111 [BZ #208]
2112 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2113 in instead of returning them. Return void.
2114 (__libc_mallinfo): Accumulate over all arenas.
2115 (__malloc_stats): Adjust for change in int_mallinfo interface.
2116
61653dfb
RM
21172012-05-16 Roland McGrath <roland@hack.frob.com>
2118
30b99d79
RM
2119 [BZ #10375]
2120 * configure.in (NM): Add AC_CHECK_TOOL for it.
2121 (libc_extra_cflags): New substituted variable.
2122 Check for -fstack-protector being used implicitly.
2123 * configure: Regenerated.
2124 * config.make.in (config-extra-cflags): New variable,
2125 gets @libc_extra_cflags@.
2126 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2127
61653dfb
RM
2128 [BZ #10375]
2129 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2130 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2131 * configure: Regenerated.
2132 * config.make.in (CPPUNDEFS): New substituted variable.
2133 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2134 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2135 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2136
661768bb
L
21372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2138
2139 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2140 (mq_attr): Use __syscall_slong_t.
2141
d4261567
L
21422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2143
2144 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2145 Check __x86_64__ instead of __WORDSIZE.
2146 (_STAT_VER_LINUX): Likewise.
2147 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2148 __syscall_ulong_t and __syscall_slong_t.
2149 (stat64): Likewise.
2150
cf3ff365
L
21512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2152
2153 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2154
76cf3e4d
L
21552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2156
2157 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2158
a637753a
L
21592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2160
2161 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2162 __syscall_ulong_t.
2163
d5e05119
L
2164 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2165 include <bits/wordsize.h>. Check __x86_64__ instead of
2166 __WORDSIZE.
2167 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2168 defined.
2169 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2170
f62ee380
L
2171 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2172 include <bits/wordsize.h>. Check __x86_64__ instead of
2173 __WORDSIZE.
2174 (user_regs_struct): Use "__extension__ unsigned long long"
2175 instead of "unsigned long" if __x86_64__ is defined.
2176 (user): Likewise. Pad after pointer field if __ILP32__ is
2177 defined.
2178
4e124ced
JM
21792012-05-16 Joseph Myers <joseph@codesourcery.com>
2180
6a3951a0
JM
2181 * configure.in (makeinfo): Require version 4.5 or later. Allow
2182 versions 5 to 9.
2183 * configure: Regenerated.
2184 * manual/install.texi (texinfo): Increase version requirement to
2185 4.5 or later.
2186 * INSTALL: Regenerated.
2187
4e124ced
JM
2188 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2189
953ca31a
L
21902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2191
2192 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2193
617aca05
L
2194 * sysdeps/x86_64/x32/ffs.c: New file.
2195
5762f7ae
L
2196 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2197 __syscall_ulong_t.
2198 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2199 defined. Use __syscall_ulong_t.
2200 (shminfo): Use __syscall_ulong_t.
2201 (shm_info): Likewise.
2202
a26b6856
L
2203 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2204 __syscall_ulong_t.
2205
cb2b9ef7
L
2206 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2207 <bits/wordsize.h>.
2208 (msgqnum_t): Use __syscall_ulong_t.
2209 (msglen_t): Likewise.
2210 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2211 __syscall_ulong_t.
2212
34683bb0
L
2213 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2214 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2215
84a68786
L
2216 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2217
48baa5f1
L
2218 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2219 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2220
180be88b
L
2221 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2222 __syscall_slong_t.
2223
5e90c8ad
L
2224 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2225 include <bits/wordsize.h>. Check __x86_64__ instead of
2226 __WORDSIZE.
2227
23dfb58b
L
2228 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2229 "unsigned long long int" if __x86_64__ is defined.
2230 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2231
ce5d54b0
L
2232 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2233 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2234 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2235
13dc9eac
L
2236 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2237 <stdint.h>.
2238 (GET_PC): Cast to uintptr_t first.
2239 (GET_FRAME): Likewise.
2240 (GET_STACK): Likewise.
2241
a7895d15
L
2242 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2243 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2244 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2245 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2246 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2247 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2248 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2249 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2250 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2251 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2252 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2253 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2254 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2255 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2256 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2257 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2258 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2259 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2260 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2261 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2262 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2263 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2264 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2265 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2266 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2267 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2268 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2269 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2270 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2271
656416c9
AS
22722012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2273
5bd66283
AS
2274 * Makerules (+depfiles): Also collect depfiles from .oS in
2275 $(extra-objs).
2276 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2277 .oS, $(libnldbl-routines)).
2278
656416c9
AS
2279 * Makerules (native-compile-mkdep-flags): Define.
2280 * sunrpc/Makefile (extra-objs): Add $(addprefix
2281 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2282 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2283 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2284 calling $(make-target-directory).
2285
a46f2169
L
22862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2287
2288 * bits/types.h (__snseconds_t): Removed.
2289 * time/time.h (struct timespec): Replace __snseconds_t with
2290 __syscall_slong_t.
2291 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2292 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2293 Likewise.
2294 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2295 (__SNSECONDS_T_TYPE): Likewise.
2296 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2297 (__SNSECONDS_T_TYPE): Likewise.
2298 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2299 (__SNSECONDS_T_TYPE): Likewise.
2300
6af6528b
L
23012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2302
2303 * sysdeps/mach/hurd/bits/typesizes.h
2304 (__SYSCALL_SLONG_TYPE): New macro.
2305 (__SYSCALL_ULONG_TYPE): Likewise.
2306
de986b56
L
23072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2308
2309 * bits/types.h (__syscall_slong_t): New type.
2310 (__syscall_ulong_t): Likewise.
2311
2312 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2313 (__SYSCALL_ULONG_TYPE): Likewise.
2314 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2315 (__SYSCALL_SLONG_TYPE): Likewise.
2316 (__SYSCALL_ULONG_TYPE): Likewise.
2317 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2318 (__SYSCALL_SLONG_TYPE): Likewise.
2319 (__SYSCALL_ULONG_TYPE): Likewise.
2320 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2321 (__SYSCALL_SLONG_TYPE): Likewise.
2322 (__SYSCALL_ULONG_TYPE): Likewise.
2323
85736dc7
L
23242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2325
2326 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2327 Add sigaltstack-offsets.sym.
2328 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2329 <sigaltstack-offsets.h>.
2330 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2331 longjmp_msg pointer.
2332 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2333 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2334 signal stack.
2335 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2336
cc03b296
JM
23372012-05-15 Joseph Myers <joseph@codesourcery.com>
2338
a9538892
JM
2339 * elf/stackguard-macros.h: Remove file.
2340 * sysdeps/generic/stackguard-macros.h: New file.
2341 * sysdeps/i386/stackguard-macros.h: Likewise.
2342 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2343 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2344 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2345 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2346 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2347 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2348 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2349 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2350 <elf/stackguard-macros.h>.
2351
cc03b296
JM
2352 [BZ #14109]
2353 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2354 __aligned__ in attribute.
2355 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2356 (gregset_t): Likewise.
2357
93171016
L
23582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2359
2360 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2361 * sysdeps/x86_64/64/Implies-after: Here. New file.
2362 * sysdeps/x86_64/x32/Implies-after: New file.
2363
d86813a0
L
23642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2365
2366 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2367 and access return value for _dl_profile_fixup. Use R10_LP to
2368 load frame size.
2369
2953ec75
L
23702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2371
2372 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2373
3b550e9e
L
23742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2375
2376 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2377 * sysdeps/x86_64/x32/sysdep.h: New file.
2378
eda41706
L
23792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2380
2381 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2382 * sysdeps/x86_64/setjmp.S: Likewise.
2383
9ea01d93
AZ
23842012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2385
2386 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2387 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2388 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2389 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2390 remove unused global constant.
2391
02a91938
CM
23922012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2393
2394 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2395 include of <not-cancel.h>.
2396
6540185f
RM
23972012-05-15 Roland McGrath <roland@hack.frob.com>
2398
2399 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2400
509072a0
AJ
24012012-05-15 Jeff Law <law@redhat.com>
2402 Andreas Jaeger <aj@suse.de>
2403
2404 [BZ #13594]
2405 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2406 out from...
2407 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2408 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2409 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2410 code changing __hst_map_handle.map.
2411
ba75122d
RM
24122012-05-15 Roland McGrath <roland@hack.frob.com>
2413
2414 * configure.in (sysnames): Look for Implies-before and Implies-after
2415 files.
2416 * configure: Regenerated.
2417
890d8bd8
L
24182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2419
2420 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2421 8-byte data alignment with LP_SIZE alignment.
2422
f6ee6623
L
24232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2424
2425 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2426 into R10_LP.
2427
ea2626f6
L
24282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2429
2430 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2431
085f715e
L
24322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2433
2434 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2435 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2436 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2437 Likewise.
2438 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2439
be8498fc
L
24402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2441
2442 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2443 (stackinfo_sub_sp): Likewise.
2444
70bc83b9
L
24452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2446
2447 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2448 RAX_LP.
2449
9bc0b730
L
24502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2451
2452 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2453 into R*_LP.
2454
6d2850e7
L
24552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2456
2457 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2458 sizes into R*_LP.
2459
3cb84561
L
24602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2461
2462 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2463
54e2ed81
L
24642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2465
2466 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2467 into R11_LP and load __x86_64_shared_cache_size_half into
2468 R8_LP.
2469
8a17f349
L
24702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2471
2472 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2473 R8_LP.
2474
777b1eea
AZ
24752012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2476
2477 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2478 logb for POWER7.
2479 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2480 logbf for POWER7.
2481 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2482 logbl for POWER7.
2483 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2484 powerpc32/power7/fpu/s_logb.c via #include.
2485 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2486 powerpc32/power7/fpu/s_logbf.c via #include.
2487 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2488 powerpc32/power7/fpu/s_logbl.c via #include.
2489
d20d4ac2
JM
24902012-05-15 Joseph Myers <joseph@codesourcery.com>
2491
2492 * README.libm: Remove file.
2493
6cdef1ab
L
24942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2495
2496 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2497 count for x32. Use R*_LP and omit operand-size suffix.
2498
0b254d8f
L
24992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2500
2501 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2502 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2503 * sysdeps/x86_64/x32/shlib-versions: New file.
2504
ceb809dc
RM
25052012-05-14 Roland McGrath <roland@hack.frob.com>
2506
2507 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2508 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2509 Use _dl_fatal_printf instead.
2510
37f1abd4
JM
25112012-05-14 Joseph Myers <joseph@codesourcery.com>
2512
2513 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2514 set if not set by the user. Do not allow for being unset.
2515 * sysdeps/unix/sysv/linux/configure: Regenerated.
2516
11de3a33
L
25172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2518
2519 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2520 the `q' suffix from lea and replace .quad with ASM_ADDR.
2521
e02f153a
L
25222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2523
2524 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2525 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2526 instead of $17.
2527 (PTR_DEMANGLE): Likewise.
2528
520ae0fd
L
25292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2530
2531 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2532 (LP_OP): Likewise.
2533 (ASM_ADDR): Likewise.
2534 (RAX_LP): Likewise.
2535 (RBP_LP): Likewise.
2536 (RBX_LP): Likewise.
2537 (RCX_LP): Likewise.
2538 (RDI_LP): Likewise.
2539 (RSI_LP): Likewise.
2540 (RSP_LP): Likewise.
2541 (R8_LP): Likewise.
2542 (R9_LP): Likewise.
2543 (R10_LP): Likewise.
2544 (R10_LP): Likewise.
2545 (R11_LP): Likewise.
2546 (R12_LP): Likewise.
2547 (R13_LP): Likewise.
2548 (R14_LP): Likewise.
2549 (R15_LP): Likewise.
2550
b985be81
L
25512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2552
2553 * sysdeps/x86_64/x32/dl-machine.h: New file.
2554
6a4888ff
AJ
25552012-05-14 Andreas Jaeger <aj@suse.de>
2556
2557 * manual/Makefile (subdir): Remove export of subdir.
2558 (all): Remove target.
2559 (.PHONY): Remove all from list.
2560 (mkinstalldirs): Remove.
2561 (.PHONY): Remove installdirs from list.
2562 ($(inst_infodir)/libc.info): Use make-target-directory.
2563 (installdirs): Remove.
2564 (subdir_%): Remove.
2565 (glibc-targets): Remove.
2566 (lib): Remove.
2567 (stubs): Remove.
2568 ($(objpfx)stubs ../po/manual.pot): Remove.
2569 ($(objpfx)stamp%): Remove.
2570 (make-target-directory): Remove.
2571 (subdir_install): Remove.
2572 (routines): Remove.
2573 (aux): Remove.
2574 (sources): Remove.
2575 (objects): Remove.
2576 (headers): Remove.
2577
2578 [BZ #13750]
2579 * manual/.gitignore: Remove, it's not needed anymore.
2580 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2581 all files in it.
2582 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2583 directory.
2584 (texis): Renamed to $(objpfx)texis.
2585 (texis-path): New, contains path to generated files.
2586 (chapters.%): Use texis-path for complete path, add extra argument
2587 libc-texinfo.sh.
2588 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2589 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2590 (summary,texi, stamp-summary): Use complete path of
2591 files. Generate files in build dir.
2592 (dir-add.texi): Build in build dir.
2593 (libm-err.texi,stamp-libm-err): Likewise.
2594 (version.texi, stamp-version): Likewise.
2595 (.%c.texi): Likewise.
2596 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2597 (mostlyclean): Remove target.
2598 (realclean): Remove target.
2599 (generated): Add new variable with contents from mostlyclean and
2600 realclean, remove entries duplicated in common-mostlyclean, add
2601 stamp-libm-err and stamp-version.
2602 (generated-dirs): Add libc directory.
2603 ($(inst_infodir)/libc.info): Install files from build dir.
2604
2605 * manual/install.texi (Configuring and compiling): Adjust since
2606 the info files are not part of the tar ball anymore.
2607
7ac77294
AJ
26082012-05-14 Andreas Jaeger <aj@suse.de>
2609
2610 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2611 variable.
2612
ffb7875d
JM
26132012-05-14 Joseph Myers <joseph@codesourcery.com>
2614
2615 [BZ #13717]
2616 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2617 to 2.2.0 where earlier.
2618 * sysdeps/unix/sysv/linux/configure: Regenerated.
2619 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2620 Remove conditional code.
2621 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2622 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2623 Remove conditional code.
2624 [!__NR_lchown]: Likewise.
2625 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2626 [__NR_lchown]: Likewise.
2627 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2628 comment referencing __ASSUME_LCHOWN_SYSCALL.
2629 * sysdeps/unix/sysv/linux/i386/sigaction.c
2630 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2631 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2632 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2633 Remove conditional code.
2634 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2635 (__protocol_available): Remove #if 0 code.
2636 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2637 conditional code.
2638 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2639 * sysdeps/unix/sysv/linux/kernel-features.h
2640 (__ASSUME_GETCWD_SYSCALL): Don't define.
2641 (__ASSUME_REALTIME_SIGNALS): Likewise.
2642 (__ASSUME_PREAD_SYSCALL): Likewise.
2643 (__ASSUME_PWRITE_SYSCALL): Likewise.
2644 (__ASSUME_POLL_SYSCALL): Likewise.
2645 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2646 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2647 non-SPARC.
2648 (__ASSUME_SIOCGIFNAME): Don't define.
2649 (__ASSUME_MSG_NOSIGNAL): Likewise.
2650 (__ASSUME_SENDFILE): Define unconditionally.
2651 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2652 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2653 conditional code.
2654 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2655 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2656 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2657 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2658 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2659 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2660 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2662 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2663 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2665 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2666 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2668 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2669 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2671 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2672 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2674 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2675 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2677 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2678 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2680 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2681 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2683 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2684 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2685 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2686 Remove conditional code.
2687 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2688 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2689 Remove conditional code.
2690 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2691 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2692 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2693 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2694 Remove conditional code.
2695 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2696 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2697 Remove conditional code.
2698 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2699 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2700 Remove conditional code.
2701 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2702 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2703 Remove conditional code.
2704 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2705 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2706 Remove conditional code.
2707 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2708 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2709 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2710 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2711 * sysdeps/unix/sysv/linux/sigaction.c
2712 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2713 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2714 * sysdeps/unix/sysv/linux/sigpending.c
2715 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2716 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2717 * sysdeps/unix/sysv/linux/sigprocmask.c
2718 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2719 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2720 * sysdeps/unix/sysv/linux/sigsuspend.c
2721 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2722 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2723 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2724 (__libc_missing_rt_sigs): Remove.
2725 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2726 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2727 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2728 Remove conditional code.
2729 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2730 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2731 return 1.
2732 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2733 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2734 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2735 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2736
1bfb7291
AJ
27372012-05-14 Andreas Jaeger <aj@suse.de>
2738
caae5a81
AJ
2739 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2740 it's not used in glibc.
2741 (__coshm1): Likewise.
2742 (__acosh1p): Likewise.
2743 (__sgn): Likewise.
2744
1bfb7291
AJ
2745 * manual/string.texi (Copying and Concatenation): Add missing
2746 variable in concat example.
2747 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2748
c044d724
L
27492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2750
144c5467 2751 [BZ #14103]
c044d724
L
2752 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2753 __builtin_clzl with __builtin_clzll.
2754
2523c62b
L
27552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2756
2757 [BZ #14104]
2758 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2759 libc_freeres_ptr.
2760
d7bb4c42
LD
27612012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2762
2763 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2764 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2765 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2766 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2767
9dc4e1fb
MF
27682012-05-14 Mike Frysinger <vapier@gentoo.org>
2769
2770 * NEWS: Update ia64 info.
2771
c7df0112
AS
27722012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2773
2774 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2775 used as bcopy.
2776
dc70356c
TS
27772012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2778
2779 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2780 * sysdeps/unix/syscalls.list (dup3): Likewise.
2781 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2782 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2783
9fb1a21f
L
27842012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2785
2786 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2787 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2788
4822a2a5
L
27892012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2790
2791 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2792 thread pointer.
2793 (TLS_IE): Use mov/add instead of movq/addq to load thread
2794 pointer.
2795 (TLS_GD_PREFIX): New.
2796 (TLS_GD): Use it.
2797
842b81d6
DM
27982012-05-11 David S. Miller <davem@davemloft.net>
2799
2800 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2801 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2802 (_FPU_SETCW): Likewise.
2803
1cf463cd
L
28042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2805
2806 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2807 is 32-byte aligned.
2808
60cc4a18
AS
28092012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2810
2811 [BZ #11837]
2812 * iconvdata/gb18030.c: Update tables.
2813 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2814 characters specially.
2815 (BODY for TO_LOOP): Add encoding of missing ranges.
2816
febb44a4
TS
28172012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2818
2819 [BZ #13673]
2820 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2821 * sysdeps/mach/hurd/dup3.c: Likewise.
2822 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2823 * sysdeps/powerpc/memmove.c:: Likewise.
2824
0a10fb9e
L
28252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2826
2827 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2828 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2829
df8a552f
L
28302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2831
2832 * elf/elf.h (R_X86_64_RELATIVE64): New.
2833 (R_X86_64_NUM): Updated.
2834 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2835 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2836 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2837 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2838 tst-quad1pie tst-quad2pie
2839 (modules-names): Add tst-quadmod1 tst-quadmod2.
2840 ($(objpfx)tst-quad1): New dependency.
2841 ($(objpfx)tst-quad2): Likewise.
2842 ($(objpfx)tst-quad1pie): Likewise.
2843 ($(objpfx)tst-quad2pie): Likewise.
2844 * sysdeps/x86_64/tst-quad1.c: New file.
2845 * sysdeps/x86_64/tst-quad1pie.c: New file.
2846 * sysdeps/x86_64/tst-quad2.c: Likewise.
2847 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2848 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2849 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2850 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2851 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2852
f34d6f84
ST
28532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2854
f42d41d1
ST
2855 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2856 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2857 * streams/stropts.h (t_scalar_t): Define type.
2858
3c3571fc
ST
2859 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2860 (_PATH_PRESERVE): Set to "/var/lib".
2861 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2862
61f06bd3
ST
2863 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2864 instead of int.
2865
918d4d71
ST
2866 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2867 if __dir_mkfile succeeded.
2868
f34d6f84
ST
2869 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2870 checking for _hurd_dtablesize. Unlock it right after having
2871 finished _hurd_dtable allocation.
2872
10589b4a
TS
28732012-05-10 Thomas Schwinge <thomas@schwinge.name>
2874
674cdbc7
TS
2875 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2876 * sysdeps/mach/hurd/configure: Regenerated.
2877 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2878 special-casing to...
2879 * sysdeps/gnu/configure.in: ... this new file.
2880 * sysdeps/unix/sysv/linux/configure: Regenerated.
2881 * sysdeps/gnu/configure: New generated file.
2882
8e41b99f
TS
2883 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2884 for Linux: use nsec instead of usec, as well as:
2885 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2886 members of type struct timespec.
2887 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2888 New macros.
2889 (struct stat64): Likewise.
2890 (_STATBUF_ST_NSEC): New macro.
2891 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2892
10589b4a
TS
2893 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2894 __strtoul_internal rather than strtoul.
2895
63643c85
PT
28962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2897
2898 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2899 and reject them.
2900
3faebe6a
ST
29012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2902
2903 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2904 which preserves existing values.
2905 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2906
c6474b07
PT
29072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2908
2909 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2910 TIMEOUT values. Return EINVAL for NFDS values either negative or
2911 greater than FD_SETSIZE.
2912
1043890b
ST
29132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2914
2915 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2916 allocated, call __vm_protect to finish enabling the existing space, and
2917 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2918 allocate the remainder.
2919
37ed8b9b
PT
29202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2921
2922 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2923 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2924
db653660
ST
29252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2926
37ed8b9b
PT
2927 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2928 sysdeps/mach/hurd/readlink.c.
b29d4053 2929
db653660
ST
2930 * posix/tst-sysconf.c (posix_options): Only use
2931 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2932 _POSIX_SYNCHRONIZED_IO when they are defined
2933 * sysdeps/mach/hurd/bits/posix_opt.h:
2934 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2935 (_XOPEN_REALTIME): Undefine macro.
2936 (_XOPEN_REALTIME_THREADS): Undefine macro.
2937 (_XOPEN_SHM): Undefine macro.
2938 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2939 macro to -1.
2940 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2941 macro to -1.
2942 (_POSIX_ASYNC_IO): Undefine macro.
2943 (_POSIX_PRIORITIZED_IO): Undefine macro.
2944 (_POSIX_SPIN_LOCKS): Define macro to -1.
2945
ee16e894
ST
2946 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2947 SA_NODEFER, SA_RESETHAND.
2948 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2949 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2950 F_DUPFD_CLOEXEC.
2951
6103ae3b
TS
29522012-05-10 Thomas Schwinge <thomas@schwinge.name>
2953
2954 * elf/Makefile (pldd-modules): Define unconditionally.
2955
80b4e5f3
TS
29562012-05-10 Thomas Schwinge <thomas@schwinge.name>
2957
2958 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2959
edadcbd6
ST
29602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2961
2962 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2963 Return ENOENT when name is empty.
2964 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2965
80694780
TS
29662012-05-10 Thomas Schwinge <thomas@schwinge.name>
2967
1792c087
TS
2968 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2969
80694780
TS
2970 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2971
6b645f0d
ST
29722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2973
80694780
TS
2974 Fix mlock in all cases except non-readable pages.
2975 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2976 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2977
6b645f0d
ST
2978 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2979 (__mkdir): When path is `/', just fail with EEXIST.
2980 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2981
e468f8a3
TS
29822012-05-10 Thomas Schwinge <thomas@schwinge.name>
2983
2984 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2985 <sys/uio.h> (for writev).
2986 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2987 and <sys/param.h> (for MIN).
2988
a4186cff
PT
29892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2990
2991 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2992 REQUESTED_TIME. Properly set the remaining time and return EINTR
2993 if interrupted.
2994
510bbf14
TS
29952012-05-10 Thomas Schwinge <thomas@schwinge.name>
2996
2997 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2998 Depend on against $(link-rpcuserlibs).
2999
5d5722e8
ST
30002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3001
a4186cff
PT
3002 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3003 (__libc_stack_end): Do not use attribute_relro.
3004 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3005 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 3006 to libthread-provided value.
a4186cff
PT
3007 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3008 attribute_relro.
5d5722e8 3009
37233df9
TS
30102012-05-10 Thomas Schwinge <thomas@schwinge.name>
3011
be971a2b
TS
3012 [BZ #3748]
3013 * bits/libc-lock.h (__libc_once_get): New macro.
3014 * sysdeps/mach/bits/libc-lock.h: Likewise.
3015 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3016 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3017 instead of using implementation details.
3018
37233df9
TS
3019 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3020 * libio/freopen.c: Likewise.
3021 * libio/freopen64.c: Likewise.
3022 * misc/syslog.c: Likewise.
3023 * nscd/connections.c: Likewise.
3024 * nscd/netgroupcache.c: Likewise.
3025 * sysdeps/posix/getcwd.c: Likewise.
3026
38de94a5
RM
30272012-05-10 Roland McGrath <roland@hack.frob.com>
3028
3029 * math/w_ilogbf.c: Add #include <limits.h>.
3030
67530489
ST
30312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3032
a4186cff 3033 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
3034 path instead of returning without unlocking.
3035
67530489
ST
3036 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3037 immediate-write ioctls.
3038 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3039
5aa3a74a
TS
30402012-05-10 Thomas Schwinge <thomas@schwinge.name>
3041
18bad2ae
TS
3042 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3043 __builtin_frame_address instead of making assumptions about the
3044 location of the return address relative to DATA. Force early load of
3045 the return address.
3046 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3047 __builtin_frame_address.
3048
5aa3a74a
TS
3049 dup3 for GNU Hurd.
3050 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3051 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3052 implement dup3 and do some further code clean-ups.
3053 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3054 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3055
ecd0de9a
ST
30562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3057
cd9fa985
ST
3058 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3059
a4186cff
PT
3060 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3061 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3062 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3063 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3064 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3065 d->port.lock.
802ca5a5 3066
a4186cff
PT
3067 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3068 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3069 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3070
bcf55240
TS
30712012-05-10 Thomas Schwinge <thomas@schwinge.name>
3072
6960eb42
TS
3073 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3074 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3075 definitions.
3076
eb43375f
TS
3077 accept4 for GNU Hurd.
3078 * include/sys/socket.h (__libc_accept4): New prototype.
3079 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3080 to implement __libc_accept4.
3081 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3082 __libc_accept4.
3083 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3084
bcf55240
TS
3085 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3086 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3087 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3088 signal-defines.sym.
3089
6178c55b
ST
30902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3091
a4186cff 3092 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3093
6f080c2f
TS
30942012-05-10 Thomas Schwinge <thomas@schwinge.name>
3095
3096 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3097 assertion on O_CLOEXEC flag.
3098 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3099 * hurd/intern-fd.c: Likewise.
3100 * hurd/port2fd.c: Likewise.
3101
bcfe3a54
ST
31022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3103
3104 [BZ #3906]
3105 * bits/in.h (IPV6_PKTINFO): Define new macro.
3106 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3107
89c9aa49
AZ
31082012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3109
3110 [BZ #13954]
3111 [BZ #13955]
3112 [BZ #13956]
3113 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3114 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3115 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3116 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3117 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3118 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3119 * math/libm-test.inc (logb_test) : Additional logb tests.
3120
021db4be
AJ
31212012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3122 Andreas Jaeger <aj@suse.de>
3123
3124 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3125 * configure: Regenerated.
3126 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3127 * config.make.in (link-obsolete-rpc): New substituted variable.
3128 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3129 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3130 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3131 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3132 so that libc.a contains the symbols.
3133 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3134 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3135 * sunrpc/auth_none.c: Likewise.
3136 * sunrpc/auth_unix.c: Likewise.
3137 * sunrpc/authdes_prot.c: Likewise.
3138 * sunrpc/authuxprot.c: Likewise.
3139 * sunrpc/clnt_gen.c: Likewise.
3140 * sunrpc/clnt_perr.c: Likewise.
3141 * sunrpc/clnt_raw.c: Likewise.
3142 * sunrpc/clnt_simp.c: Likewise.
3143 * sunrpc/clnt_tcp.c: Likewise.
3144 * sunrpc/clnt_udp.c: Likewise.
3145 * sunrpc/clnt_unix.c: Likewise.
3146 * sunrpc/des_crypt.c: Likewise.
3147 * sunrpc/des_soft.c: Likewise.
3148 * sunrpc/get_myaddr.c: Likewise.
3149 * sunrpc/key_call.c: Likewise.
3150 * sunrpc/key_prot.c: Likewise.
3151 * sunrpc/netname.c: Likewise.
3152 * sunrpc/pm_getmaps.c: Likewise.
3153 * sunrpc/pm_getport.c: Likewise.
3154 * sunrpc/pmap_clnt.c: Likewise.
3155 * sunrpc/pmap_prot.c: Likewise.
3156 * sunrpc/pmap_prot2.c: Likewise.
3157 * sunrpc/pmap_rmt.c: Likewise.
3158 * sunrpc/publickey.c: Likewise.
3159 * sunrpc/rpc_cmsg.c: Likewise.
3160 * sunrpc/rpc_common.c: Likewise.
3161 * sunrpc/rpc_dtable.c: Likewise.
3162 * sunrpc/rpc_prot.c: Likewise.
3163 * sunrpc/rpc_thread.c: Likewise.
3164 * sunrpc/rtime.c: Likewise.
3165 * sunrpc/svc.c: Likewise.
3166 * sunrpc/svc_auth.c: Likewise.
3167 * sunrpc/svc_raw.c: Likewise.
3168 * sunrpc/svc_run.c: Likewise.
3169 * sunrpc/svc_tcp.c: Likewise.
3170 * sunrpc/svc_udp.c: Likewise.
3171 * sunrpc/svc_unix.c: Likewise.
3172 * sunrpc/svcauth_des.c: Likewise.
3173 * sunrpc/xcrypt.c: Likewise.
3174 * sunrpc/xdr.c: Likewise.
3175 * sunrpc/xdr_array.c: Likewise.
3176 * sunrpc/xdr_float.c: Likewise.
3177 * sunrpc/xdr_intXX_t.c: Likewise.
3178 * sunrpc/xdr_mem.c: Likewise.
3179 * sunrpc/xdr_rec.c: Likewise.
3180 * sunrpc/xdr_ref.c: Likewise.
3181 * sunrpc/xdr_sizeof.c: Likewise.
3182 * sunrpc/xdr_stdio.c: Likewise.
3183
b5c086a2
RM
31842012-05-10 Roland McGrath <roland@hack.frob.com>
3185
3186 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3187 change. Update copyright years.
3188
6d74dd09
JM
31892012-05-10 Joseph Myers <joseph@codesourcery.com>
3190
3191 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3192
28e72501
MK
31932012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3194 Joseph Myers <joseph@codesourcery.com>
3195 Paul Pluzhnikov <ppluzhnikov@google.com>
3196
3197 [BZ #14012]
3198 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3199 requiring rpcgen.
3200 [cross-compiling] (extra-libs): Likewise.
3201 [cross-compiling] (extra-libs-others): Likewise.
3202 [cross-compiling] (librpcsvc-routines): Likewise.
3203 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3204 [cross-compiling] (omit-deps): Likewise.
3205 (sunrpc-CPPFLAGS): New variable.
3206 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3207 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3208 (cross-rpcgen-objs): New variable.
3209 (extra-objs): Append $(cross-rpcgen-objs).
3210 ($(cross-rpcgen-objs)): New rule.
3211 ($(objpfx)cross-rpcgen): Likewise.
3212 (rpcgen-cmd): Define to use $(built-program-file). Expand
3213 comment.
3214 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3215 ($(objpfx)x%.stmp): Likewise.
3216 * sunrpc/proto.h [IS_IN_build] (_): Define.
3217 [IS_IN_build] (_libc_intl_domainname): Likewise.
3218
c8c59454
L
32192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3220
3221 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3222 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3223 and R_X86_64_TPOFF64.
3224
6f27cd16
JM
32252012-05-10 Joseph Myers <joseph@codesourcery.com>
3226
3227 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3228 sysdeps/unix/sysv/syscalls.list.
3229 (stime): Likewise.
3230 (utime): Likewise.
3231 * sysdeps/unix/sysv/syscalls.list: Remove file.
3232
02467e1c
PE
32332012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3234
3235 [BZ #3440]
3236 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3237 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3238 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3239 (__LC_IDENTIFICATION): Make these macros useful in #if
3240 expressions, as required by C99.
3241
da392631
AS
32422012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3243
3244 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3245 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3246 after this.
3247
8115f29b
L
32482012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3249
3250 * stdlib/longlong.h: Updated from GCC.
3251
bdd74070
AJ
32522012-05-09 Andreas Jaeger <aj@suse.de>
3253
edfe0dbe
AJ
3254 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3255 default is first entry.
3256 (run_mode): Set type.
3257 (main): Remove informal message about syslog.
3258 (options): Fix typo.
3259
bcfe3a54
ST
3260 [BZ #14053]
3261 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3262 to asm.
bcfe3a54
ST
3263 (lrint): Likewise.
3264 (llrintf): Likewise.
3265 (llrint): Likewise.
3266 (rint): Likewise.
3267 (rintf): Likewise.
3268 (nearbyint): Likewise.
3269 (nearbyintf): Likewise.
bdd74070 3270
91d8d69e
AJ
32712012-05-09 Andreas Jaeger <aj@suse.de>
3272 Pedro Alves <palves@redhat.com>
3273
3274 * nscd/nscd.c (run_mode): Use enum.
3275 (main): Cleanup coding style issue.
3276
bb90b80b
AJ
32772012-05-09 Alexandre Oliva <aoliva@redhat.com>
3278 Andreas Jaeger <aj@suse.de>
3279
bcfe3a54
ST
3280 * nscd/nscd.c (go_background): Replaced with...
3281 (run_mode): ... this.
bb90b80b 3282 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3283 (options): Add -F --foreground.
3284 (main): Implement it.
3285 (parse_opt): Parse it.
bb90b80b 3286
1a4b75a1
AJ
32872012-05-09 Andreas Jaeger <aj@suse.de>
3288
3289 [BZ #14083]
3290 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3291 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3292 -Wconversion warning.
3293 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3294 Likewise.
3295
b1cc2472
JM
32962012-05-09 Joseph Myers <joseph@codesourcery.com>
3297
3298 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3299 == 0.
3300 (LC_ALL): Use macro-int-constant.
3301 (LC_COLLATE): Likewise.
3302 (LC_CTYPE): Likewise.
3303 (LC_MESSAGES): Likewise.
3304 (LC_MONETARY): Likewise.
3305 (LC_NUMERIC): Likewise.
3306 (LC_TIME): Likewise.
3307 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3308 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3309 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3310 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3311 Specify type.
3312 [C99-based standards] (float_t): Expect type.
3313 [C99-based standards] (double_t): Expect type.
3314 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3315 type.
3316 [C99-based standards] (HUGE_VALL): Likewise.
3317 [C99-based standards] (INFINITY): Likewise.
3318 [C99-based standards] (NAN): Likewise.
3319 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3320 [C99-based standards] (FP_NAN): Likewise.
3321 [C99-based standards] (FP_NORMAL): Likewise.
3322 [C99-based standards] (FP_SUBNORMAL): Likewise.
3323 [C99-based standards] (FP_ZERO): Likewise.
3324 [C99-based standards] (FP_FAST_FMA): Use
3325 optional-macro-int-constant. Specify type. Require == 1.
3326 [C99-based standards] (FP_FAST_FMAF): Likewise.
3327 [C99-based standards] (FP_FAST_FMAL): Likewise.
3328 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3329 [C99-based standards] (FP_ILOGBNAN): Likewise.
3330 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3331 Specify type.
3332 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3333 [C99-based standards] (math_errhandling): Specify type.
3334 [ISO99 || ISO11] (signgam): Do not allow.
3335 [non-C99-based standards] (copysignf): Do not allow.
3336 [non-C99-based standards] (exp2f): Likewise.
3337 [non-C99-based standards] (log2f): Likewise.
3338 [non-C99-based standards] (modff): Allow.
3339 [non-C99-based standards] (erff): Do not allow.
3340 [non-C99-based standards] (erfcf): Likewise.
3341 [non-C99-based standards] (gammaf): Likewise.
3342 [non-C99-based standards] (hypotf): Likewise.
3343 [non-C99-based standards] (j0f): Likewise.
3344 [non-C99-based standards] (j1f): Likewise.
3345 [non-C99-based standards] (jnf): Likewise.
3346 [non-C99-based standards] (lgammaf): Likewise.
3347 [non-C99-based standards] (tgammaf): Likewise.
3348 [non-C99-based standards] (y0f): Likewise.
3349 [non-C99-based standards] (y1f): Likewise.
3350 [non-C99-based standards] (ynf): Likewise.
3351 [non-C99-based standards] (isnanf): Likewise.
3352 [non-C99-based standards] (acoshf): Likewise.
3353 [non-C99-based standards] (asinhf): Likewise.
3354 [non-C99-based standards] (atanhf): Likewise.
3355 [non-C99-based standards] (cbrtf): Likewise.
3356 [non-C99-based standards] (expm1f): Likewise.
3357 [non-C99-based standards] (ilogbf): Likewise.
3358 [non-C99-based standards] (log1pf): Likewise.
3359 [non-C99-based standards] (logbf): Likewise.
3360 [non-C99-based standards] (nextafterf): Likewise.
3361 [non-C99-based standards] (remainderf): Likewise.
3362 [non-C99-based standards] (rintf): Likewise.
3363 [non-C99-based standards] (scalbf): Likewise.
3364 [non-C99-based standards] (copysignl): Likewise.
3365 [non-C99-based standards] (exp2l): Likewise.
3366 [non-C99-based standards] (log2l): Likewise.
3367 [non-C99-based standards] (modfl): Allow.
3368 [non-C99-based standards] (erfl): Do not allow.
3369 [non-C99-based standards] (erfcl): Likewise.
3370 [non-C99-based standards] (gammal): Likewise.
3371 [non-C99-based standards] (hypotl): Likewise.
3372 [non-C99-based standards] (j0l): Likewise.
3373 [non-C99-based standards] (j1l): Likewise.
3374 [non-C99-based standards] (jnl): Likewise.
3375 [non-C99-based standards] (lgammal): Likewise.
3376 [non-C99-based standards] (tgammal): Likewise.
3377 [non-C99-based standards] (y0l): Likewise.
3378 [non-C99-based standards] (y1l): Likewise.
3379 [non-C99-based standards] (ynl): Likewise.
3380 [non-C99-based standards] (isnanl): Likewise.
3381 [non-C99-based standards] (acoshl): Likewise.
3382 [non-C99-based standards] (asinhl): Likewise.
3383 [non-C99-based standards] (atanhl): Likewise.
3384 [non-C99-based standards] (cbrtl): Likewise.
3385 [non-C99-based standards] (expm1l): Likewise.
3386 [non-C99-based standards] (ilogbl): Likewise.
3387 [non-C99-based standards] (log1pl): Likewise.
3388 [non-C99-based standards] (logbl): Likewise.
3389 [non-C99-based standards] (nextafterl): Likewise.
3390 [non-C99-based standards] (remainderl): Likewise.
3391 [non-C99-based standards] (rintl): Likewise.
3392 [non-C99-based standards] (scalbl): Likewise.
3393 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3394 [non-C99-based standards] (FP_*): Do not allow.
3395 [C99-based standards] (FP_*): Change to
3396 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3397 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3398 allow.
3399 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3400 (SIG_ERR): Likewise.
3401 [X/Open-based standards] (SIG_HOLD): Likewise.
3402 (SIG_IGN): Likewise.
3403 (SIGABRT): Use macro-int-constant. Specify type. Require
3404 positive value.
3405 (SIGFPE): Likewise.
3406 (SIGILL): Likewise.
3407 (SIGINT): Likewise.
3408 (SIGSEGV): Likewise.
3409 (SIGTER): Likewise.
3410 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3411 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3412 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3413 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3414 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3415 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3416 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3417 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3418 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3419 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3420 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3421 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3422 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3423 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3424 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3425 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3426 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3427 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3428 [X/Open-based standards] (SIGTRAP): Likewise.
3429 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3430 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3431 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3432 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3433 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3434 allow.
3435
b9f1922d
IW
34362012-05-08 Ian Wienand <ianw@vmware.com>
3437
3438 [BZ #14080]
3439 * time/tzset.c (__tzset_parse_tz): Update default rules for
3440 daylight time changes in the Energy Policy Act of 2005.
3441
1db86e88
AJ
34422012-05-09 Andreas Jaeger <aj@suse.de>
3443
3444 [BZ #13983]
3445 * elf/ldconfig.c (parse_conf): Change string to make clear that
3446 ldconfig only issued a warning if ld.so.conf does not exist.
3447
dee4a4e3
DM
34482012-05-08 David S. Miller <davem@davemloft.net>
3449
ee0db190
DM
3450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3451 movxtod instead of popping the value on the stack.
3452
dee4a4e3
DM
3453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3454
6a43ec98
CD
34552012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3456
3457 * config.h.in: Add HAVE_ARM_PCS_VFP.
3458
05c2c961
RMG
34592012-05-08 Roland Mc Grath <roland@hack.frob.com>
3460
bcfe3a54
ST
3461 [BZ #13979]
3462 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3463 checking but the checks are disabled for any reason.
05c2c961 3464
4b30f61a
L
34652012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3466
3467 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3468 and ELF64_R_TYPE with ELFW(R_TYPE).
3469
eee2bc67
JM
34702012-05-08 Joseph Myers <joseph@codesourcery.com>
3471
7ea5391a
JM
3472 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3473 (ulimit): Likewise.
3474
eee2bc67
JM
3475 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3476 (settimeofday): Likewise.
3477
abb66a67
MF
34782012-05-08 Mike Frysinger <vapier@gentoo.org>
3479
3480 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3481 a struct th_u2 inside the union, and move tu_block/tu_code into
3482 a new th_u3 union of tu_block/tu_code inside of that. Move
3483 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3484 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3485 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3486 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3487 (th_stuff): Change to th_u1.tu_stuff.
3488 (th_data): Define.
3489 (th_msg): Change to th_u1.th_u2.tu_data.
3490
7f18b530
DM
34912012-05-07 David S. Miller <davem@davemloft.net>
3492
05760585
DM
3493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3494
7f18b530
DM
3495 [BZ #14074]
3496 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3497 (SETUP_PIC_REG): Use it.
3498 (SETUP_PIC_REG_LEAF): Use it.
3499
495fd99f
JM
35002012-05-07 Joseph Myers <joseph@codesourcery.com>
3501
3502 [BZ #13885]
3503 [BZ #13923]
3504 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3505 USE_AS_EXPM1L.
3506 (EXPL_FINITE): Likewise.
3507 (FLDLOG): Likewise.
3508 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3509 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3510 e_expl.S.
3511 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3512 USE_AS_EXPM1L.
3513 (EXPL_FINITE): Likewise.
3514 (FLDLOG): Likewise.
3515 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3516 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3517 e_expl.S.
3518 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3519 test of -max_value argument for long double.
3520 * sysdeps/i386/fpu/libm-test-ulps: Update.
3521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3522
6693d694
DM
35232012-05-06 David S. Miller <davem@davemloft.net>
3524
3525 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3526 quad soft-float symbols whose references which are compiler
3527 generated.
3528 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3529
6c23e11c
JM
35302012-05-06 Joseph Myers <joseph@codesourcery.com>
3531
d8b82cad
JM
3532 [BZ #13884]
3533 [BZ #13914]
3534 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3535 USE_AS_EXP10L.
3536 (EXPL_FINITE): Likewise.
3537 (FLDLOG): Likewise.
3538 (c0): Likewise.
3539 (c1): Likewise.
3540 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3541 Adjust comments for base varying.
3542 (__expl_finite): Change alias to EXPL_FINITE.
3543 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3544 e_expl.S.
3545 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3546 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3547 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3548 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3549 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3550 USE_AS_EXP10L.
3551 (EXPL_FINITE): Likewise.
3552 (FLDLOG): Likewise.
3553 (c0): Likewise.
3554 (c1): Likewise.
3555 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3556 Adjust comments for base varying.
3557 (__expl_finite): Change alias to EXPL_FINITE.
3558 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3559 tests for bugs.
3560 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3561
6c23e11c
JM
3562 [BZ #14064]
3563 * math/libm-test.inc (check_float_internal): Correct ulp
3564 calculation for subnormal expected results.
3565
29ba805c
AJ
35662012-05-06 Andreas Jaeger <aj@suse.de>
3567
3568 * Makeconfig (+math-flags): New, set to -frounding-math.
3569 (+cflags): Add +math-flags so that all of glibc gets compiled with
3570 it.
3571
3572 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3573
7b17aeda
JM
35742012-05-05 Joseph Myers <joseph@codesourcery.com>
3575
5779f134
JM
3576 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3577 Disable one test.
3578
41498f4d
JM
3579 [BZ #13787]
3580 [BZ #13922]
3581 [BZ #14036]
3582 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3583 (__ieee754_expl): Allow for and saturate large arguments.
3584 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3585 (u_threshold): Likewise.
3586 (__exp): Call __ieee754_exp before checking for overflow and
3587 underflow.
3588 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3589 (u_threshold): Likewise.
3590 (__expf): Call __ieee754_expf before checking for overflow and
3591 underflow.
3592 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3593 (u_threshold): Likewise.
3594 (__expl): Call __ieee754_expl before checking for overflow and
3595 underflow.
3596 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3597 (__ieee754_expl): Allow for and saturate large arguments.
3598 * math/libm-test.inc (exp_test): Add another test. Do not allow
3599 missing overflow exception on overflow.
3600 (expm1_test): Do not allow missing overflow exception on overflow.
3601
6698b8bf
JM
3602 * sysdeps/i386/fpu/e_expl.c: Move to ...
3603 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3604 rather than using inline asm.
3605 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3606 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3607 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3608
7b17aeda
JM
3609 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3610 (nice): Likewise.
3611 (poll): Likewise.
3612 (signal): Likewise.
3613 (time): Likewise.
3614 (times): Likewise.
3615
f7c85819
JM
36162012-05-04 Joseph Myers <joseph@codesourcery.com>
3617
3618 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3619 sysdeps/unix/common/syscalls.list.
3620 (fchmod): Likewise.
3621 (fchown): Likewise.
3622 (ftruncate): Likewise.
3623 (getrusage): Likewise.
3624 (gettimeofday): Likewise.
3625 (setpgid): Likewise.
3626 (setregid): Likewise.
3627 (setreuid): Likewise.
3628 (sigaction): Likewise.
3629 (truncate): Likewise.
3630 (vhangup): Likewise.
3631 * sysdeps/unix/common/syscalls.list: Remove file.
3632 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3633 * sysdeps/unix/sysv/linux/Implies: Likewise.
3634
336270d0
L
36352012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3636
3637 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3639 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3640 Moved to ...
3641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3642 Here.
3643 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3644 to ...
3645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3646 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3647 to ...
3648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3649 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3650 to ...
3651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3652 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3653 to ...
3654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3655 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3656 to ...
3657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3658 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3659 to ...
3660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3661 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3662 to ...
3663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3664 Here.
3665 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3666 to ...
3667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3668 Here.
3669 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3670 to ...
3671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3672 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3673 Moved to ...
3674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3675 Here.
3676 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3677 to ...
3678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3679
d128e450
JM
36802012-05-04 Joseph Myers <joseph@codesourcery.com>
3681
fa8ee516
JM
3682 * sysdeps/unix/common/bits/dirent.h: Remove file.
3683 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3684
d128e450
JM
3685 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3686 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3687 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3688 * sysdeps/unix/bsd/isatty.c: Likewise.
3689 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3690 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3691 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3692
ff8faaf0 36932012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3694
62881be4 3695 [BZ #13563]
31dc8730
AZ
3696 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3697 long double comparison inaccuracies.
3698 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3700
6fef930c
AS
37012012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3702
3703 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3704 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3705
8f203e6c
JM
37062012-05-04 Joseph Myers <joseph@codesourcery.com>
3707
3708 [BZ #14049]
3709 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3710 nonzero digits before rounding a hex value.
3711 * stdlib/tst-strtod.c (tests): Add another test.
3712
5197d9c2
AK
37132012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3714
3715 * sysdeps/s390/fpu/libm-test-ulps: Update.
3716
f0c1dedf
AJ
37172012-05-03 Andreas Jaeger <aj@suse.de>
3718
3719 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3720 does not get optimized out.
3721 (malloc_opt_barrier): New.
3722
a65ef2ae 37232012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3724 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3725
2b942cb7 3726 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3727 intermediate file deletion.
2b942cb7 3728 (generated): Add .symlist files.
a65ef2ae 3729
54b71e02
JM
37302012-05-03 Joseph Myers <joseph@codesourcery.com>
3731
3732 [BZ #13775]
3733 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3734 Redirect under this condition.
3735 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3736 [__USE_GNU] (__dprintf_chk): Not under this condition.
3737 [__USE_GNU] (__vdprintf_chk): Likewise.
3738 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3739 under this condition.
3740 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3741 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3742 [__USE_XOPEN2K8] (vdprintf): Likewise.
3743 [__USE_GNU] (__dprintf_chk): Not under this condition.
3744 [__USE_GNU] (__vdprintf_chk): Likewise.
3745 [__USE_GNU] (dprintf): Likewise.
3746 [__USE_GNU] (vdprintf): Likewise.
3747
d3dfcc41
RM
37482012-05-03 Roland McGrath <roland@hack.frob.com>
3749
3750 * elf/Makefile (common-generated): Set this instead of generated for
3751 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3752 $(all-built-dso)-derived lists.
3753
7ac30cc5
AJ
37542012-05-03 Andreas Jaeger <aj@suse.de>
3755
0c51e550
AJ
3756 * sysdeps/i386/fpu/libm-test-ulps: Update.
3757
7ac30cc5
AJ
3758 * FAQ: Removed.
3759 * FAQ.in: Likewise.
3760 * scripts/gen-FAQ.pl: Likewise.
3761 * manual/install.texi (Installation): Point to online location of
3762 FAQ.
3763 * Makefile (files-for-dist): Remove FAQ.
3764 (FAQ): Remove.
3765
d4c2917f
AM
37662012-05-02 Allan McRae <allan@archlinux.org>
3767
3768 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3769 (LDFLAGS-reldepmod5.so): Likewise.
3770 (LDFLAGS-reldep6mod1.so): Likewise.
3771 (LDFLAGS-reldep6mod4.so): Likewise.
3772 (LDFLAGS-reldep8mod3.so): Likewise.
3773 (LDFLAGS-unload4mod1.so): Likewise.
3774 (LDFLAGS-unload4mod2.so): Likewise.
3775 (LDFLAGS-tst-initorder): Likewise.
3776 (LDFLAGS-tst-initordera2.so): Likewise.
3777 (LDFLAGS-tst-initordera3.so): Likewise.
3778 (LDFLAGS-tst-initordera4.so): Likewise.
3779 (LDFLAGS-tst-initorderb2.so): Likewise.
3780 (LDFLAGS-noload): Likewise.
3781 (LDFLAGS-next): Likewise.
3782 (LDFLAGS-order2mod1.so): Likewise.
3783 (LDFLAGS-order2mod2.so): Likewise.
3784 (LDFLAGS-tst-initorder2): Likewise.
3785 (LDFLAGS-tst-initorder2a.so): Likewise.
3786 (LDFLAGS-tst-initorder2b.so): Likewise.
3787 (LDFLAGS-tst-initorder2c.so): Likewise.
3788 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3789
d77f993f
DM
37902012-05-02 David S. Miller <davem@davemloft.net>
3791
3792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3793
171a70b4
PP
37942012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3795
3796 [BZ #14055]
3797 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3798
0be196ad
AJ
37992012-05-02 Andreas Jaeger <aj@suse.de>
3800
3801 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3802 since we manipulate rounding mode.
3803 (CPPFLAGS-test-idouble.c): Likewise.
3804 (CPPFLAGS-test-ifloat.c): Likewise.
3805 (CFLAGS-test-ldouble.c): Likewise.
3806 (CFLAGS-test-double.c): Likewise.
3807 (CFLAGS-test-float.c): Likewise.
3808 (CFLAGS-test-misc.c): Likewise.
3809 (CFLAGS-test-test-fenv.c): Likewise.
3810
4f9d04aa
AZ
38112012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3812
2b942cb7
RM
3813 [BZ #2550]
3814 [BZ #2570]
3815 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3816 comparisons to determine direction to adjust input.
4f9d04aa 3817
82a79e7d
RM
38182012-05-01 Roland McGrath <roland@hack.frob.com>
3819
f5a01ca9
RM
3820 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3821 output to the target.
3822
90fe4186
RM
3823 * scripts/localplt.awk: New file.
3824 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3825 (check-localplt-CFLAGS): Variable removed.
3826 ($(all-built-dso:=.jmprel)): New static pattern rule.
3827 (generated): Add those targets.
3828 (localplt-built-dso): New variable.
3829 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3830
3831 * elf/check-localplt.c: File removed.
3832
82397ed6
RM
3833 * scripts/check-execstack.awk: New file.
3834 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3835 (check-execstack-CFLAGS): Variable removed.
3836 ($(objpfx)check-execstack.h): Target removed.
3837 ($(objpfx)execstack-default): New target.
3838 (generated): Add that instead of check-execstack.h.
3839 ($(all-built-dso:=.phdr)): New static pattern rule.
3840 (generated): Add those targets.
3841 * elf/check-execstack.c: File removed.
3842
82a79e7d
RM
3843 * scripts/check-textrel.awk: New file.
3844 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3845 (check-textrel-CFLAGS): Variable removed.
3846 (all-built-dso): Use := to define.o
3847 ($(all-built-dso:=.dyn)): New static pattern rule.
3848 (generated): Add those targets.
3849 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3850 * config.make.in (READELF): New substituted variable.
3851 * elf/check-textrel.c: File removed.
3852
62fde54f 38532012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3854
615605c9
JM
3855 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3856 allow.
3857 * conform/data/ctype.h-data [C99-based standards] (isblank):
3858 Expect function.
3859 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3860 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3861 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3862 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3863 Specify type. Require positive value.
3864 (EILSEQ): Likewise.
3865 (ERANGE): Likewise.
3866 [ISO || POSIX] (EILSEQ): Do not expect.
3867 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3868 Specify type. Require positive value.
3869 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3870 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3871 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3872 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3873 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3874 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3875 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3876 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3877 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3878 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3879 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3880 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3881 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3882 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3883 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3884 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3885 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3886 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3887 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3888 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3889 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3890 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3891 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3892 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3893 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3894 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3895 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3896 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3897 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3898 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3899 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3900 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3901 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3902 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3903 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3904 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3905 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3906 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3907 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3908 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3909 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3910 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3911 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3912 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3913 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3914 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3915 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3916 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3917 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3918 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3919 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3920 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3921 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3922 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3923 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3924 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3925 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3926 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3927 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3928 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3929 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3930 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3931 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3932 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3933 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3934 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3935 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3936 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3937 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3938 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3939 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3940 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3941 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3942 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3943 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3944 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3945 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3946 Require >= 2.
3947 (FLT_ROUNDS): Expect as macro, not constant.
3948 (FLT_MANT_DIG): Use macro-int-constant.
3949 (DBL_MANT_DIG): Likewise.
3950 (LDBL_MANT_DIG): Likewise.
3951 (FLT_DIG): Likewise.
3952 (DBL_DIG): Likewise.
3953 (LDBL_DIG): Likewise.
3954 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3955 (DBL_MIN_EXP): Likewise.
3956 (LDBL_MIN_EXP): Likewise.
3957 (FLT_MAX_EXP): Use macro-int-constant.
3958 (DBL_MAX_EXP): Likewise.
3959 (LDBL_MAX_EXP): Likewise.
3960 (FLT_MAX_10_EXP): Likewise.
3961 (DBL_MAX_10_EXP): Likewise.
3962 (LDBL_MAX_10_EXP): Likewise.
3963 (FLT_MAX): Use macro-constant.
3964 (DBL_MAX): Likewise.
3965 (LDBL_MAX): Likewise.
3966 (FLT_EPSILON): Use macro-constant. Give upper bound.
3967 (DBL_EPSILON): Likewise.
3968 (LDBL_EPSILON): Likewise.
3969 (FLT_MIN): Likewise.
3970 (DBL_MIN): Likewise.
3971 (LDBL_MIN): Likewise.
3972 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3973 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3974 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3975 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3976 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3977 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3978 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3979 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3980 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3981 [ISO11] (FLT_TRUE_MIN): Likewise.
3982 [ISO11] (LDBL_TRUE_MIN): Likewise.
3983 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3984 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3985 (SCHAR_MIN): Use macro-int-constant. Specify type.
3986 (SCHAR_MAX): Likewise.
3987 (UCHAR_MAX): Likewise.
3988 (CHAR_MIN): Likewise.
3989 (CHAR_MAX): Likewise.
3990 (MB_LEN_MAX): Use macro-int-constant.
3991 (SHRT_MIN): Use macro-int-constant. Specify type.
3992 (SHRT_MAX): Likewise.
3993 (USHRT_MAX): Likewise.
3994 (INT_MAX): Likewise.
3995 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3996 bound negative.
3997 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3998 bound with "U".
3999 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4000 bound with "L".
4001 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4002 bound negative. Suffix upper bound with "L".
4003 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4004 bound with "UL".
4005 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4006 Specify type.
4007 [C99-based standards] (LLONG_MAX): Likewise.
4008 [C99-based standards] (ULLONG_MAX): Likewise.
4009 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4010 == 0.
4011 [ISO11] (max_align_t): Require type.
4012 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4013
c9140a62
JM
4014 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4015 from $CFLAGS, without defining away __attribute__ calls.
4016 (checknamespace): Use $CFLAGS_namespace.
4017
9af0bf29
JM
4018 * conform/conformtest.pl (@keywords): Only include C99 keywords
4019 for standards based on C99 or C11.
4020
343222a2
JM
4021 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4022 Disable tests.
4023 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4024 UNIX98]: Likewise.
4025
661f8cf0
JM
4026 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4027 usability of symbols in #if.
4028
ee74b9cb
JM
4029 * conform/conformtest.pl: If macro or constant types start
4030 "promoted:", expect the symbol to be of the following type
4031 promoted by the integer promotions.
62fde54f 4032
aafc49b3
JM
4033 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4034 in one place. Also handle "macro-constant".
4035
fefdf574
JM
4036 * conform/conformtest.pl: Only accept expected macro values with
4037 "==". Parse all "macro" lines in one place.
4038 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4039
f2d922fe
JM
4040 * conform/conformtest.pl: Handle braced types on "constant" lines
4041 instead of handling "typed-constant".
4042 * conform/data/signal.h-data: Use "constant" instead of
4043 "typed-constant".
4044
d22956c9
JM
4045 * conform/conformtest.pl: Handle "optional-" at start of lines in
4046 one place rather than duplicating several cases. Handle each
4047 format of "macro" line with initial "optional-".
4048
028e2e38
JM
4049 * conform/conformtest.pl: Only accept expected constant or
4050 optional-constant values with "==". Parse all "constant" lines in
4051 one place. Parse all "optional-constant" lines in one place.
4052 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4053 * conform/data/fmtmsg.h-data: Likewise.
4054 * conform/data/netinet/in.h-data: Likewise.
4055 * conform/data/tar.h-data: Likewise.
4056 * conform/data/limits.h-data: Use "==" form on "constant" and
4057 "optional-constant" lines.
4058
1b8f2850
JM
4059 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4060 Use -std=c99 for XOPEN2K.
4061 (@knownproblems): Remove.
4062 (newtoken): Don't check %isknown.
4063
a05a144b
JM
4064 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4065 Do not expect macro.
4066 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4067 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4068 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4069 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4070 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4071 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4072 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4073 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4074 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4075 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4076 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4077 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4078 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4079 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4080 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4081 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4082 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4083 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4084 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4085 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4086 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4087 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4088 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4089 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4090 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4091 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4092 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4093 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4094 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4095 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4096 [XPG3] (acosh): Likewise.
4097 [XPG3] (asinh): Likewise.
4098 [XPG3] (atanh): Likewise.
4099 [XPG3] (cbrt): Likewise.
4100 [XPG3] (expm1): Likewise.
4101 [XPG3] (ilogb): Likewise.
4102 [XPG3] (log1p): Likewise.
4103 [XPG3] (logb): Likewise.
4104 [XPG3] (nextafter): Likewise.
4105 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4106 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4107 [XPG3] (remainder): Likewise.
4108 [XPG3] (rint): Likewise.
4109 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4110 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4111 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4112 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4113 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4114 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4115 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4116 [UNIX98 || XOPEN2K] (scalb): Expect.
4117 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4118 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4119 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4120 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4121 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4122 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4123 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4124 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4125 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4126 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4127 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4128 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4129 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4130 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4131 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4132 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4133 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4134 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4135 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4136 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4137 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4138 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4139 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4140 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4141 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4142 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4143 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4144 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4145 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4146 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4147 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4148 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4149 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4150 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4151 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4152 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4153 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4154 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4155 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4156 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4157 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4158 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4159 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4160 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4161 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4162 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4163 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4164 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4165 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4166 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4167 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4168 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4169 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4170 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4171 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4172 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4173 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4174 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4175 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4176 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4177 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4178 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4179 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4180 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4181 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4182 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4183 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4184 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4185 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4186 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4187 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4188 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4189 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4190 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4191 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4192 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4193 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4194 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4195 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4196 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4197 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4198 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4199 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4200 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4201 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4202 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4203 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4204 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4205 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4206 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4207 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4208 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4209 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4210 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4211 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4212 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4213 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4214 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4215 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4216 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4217 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4218 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4219 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4220 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4221 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4222 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4223 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4224 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4225 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4226 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4227 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4228 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4229 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4230 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4231 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4232 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4233 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4234 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4235 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4236 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4237 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4238 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4239 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4240 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4241 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4242 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4243 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4244 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4245 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4246 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4247 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4248 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4249 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4250 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4251 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4252 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4253 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4254
73c5ebe3
JM
4255 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4256 _XOPEN_SOURCE_EXTENDED for XPG4.
4257
39c33b6c
JM
4258 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4259
62fde54f
JM
4260 * Makeconfig (localtime): Remove variable.
4261 (inst_localtime-file): Likewise.
4262
0741d64c
AS
42632012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4264
4265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4266 Update.
4267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4268 Update.
4269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4270 Update.
4271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4272 Update.
4273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4274 Update.
4275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4276 Update.
4277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4278 Update.
4279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4280 Update.
4281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4282 Update.
4283
7cb029ee
JM
42842012-05-01 Joseph Myers <joseph@codesourcery.com>
4285
4286 [BZ #2550]
4287 [BZ #2570]
4288 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4289 comparisons to determine direction to adjust input.
4290 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4291 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4292 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4293 Likewise.
4294 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4295 Likewise.
4296 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4297 Likewise.
4298 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4299 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4300 Likewise.
4301 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4302 Likewise.
4303 * math/libm-test.inc (nexttoward_test): Add more tests.
4304
412bd966
AS
43052012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4306
4307 [BZ #14040]
4308 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4309 in version GLIBC_2.1, not GLIBC_2.0.
4310 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4311 Likewise.
4312
9568c0c2
JM
43132012-04-30 Joseph Myers <joseph@codesourcery.com>
4314
adfbc8ac
JM
4315 [BZ #13942]
4316 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4317 (1 - x) * (1 + x).
4318 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4319 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4320 * math/libm-test.inc (acos_test): Add more tests.
4321 (asin_test): Likewise.
4322 * sysdeps/i386/fpu/libm-test-ulps: Update.
4323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4324
5ba3cc69
JM
4325 [BZ #14034]
4326 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4327 of square root.
4328 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4329 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4330 * math/libm-test.inc (acos_test_tonearest): New function.
4331 (acos_test_towardzero): Likewise.
4332 (acos_test_downward): Likewise.
4333 (acos_test_upward): Likewise.
4334 (asin_test_tonearest): Likewise.
4335 (asin_test_towardzero): Likewise.
4336 (asin_test_downward): Likewise.
4337 (asin_test_upward): Likewise.
4338 (main): Call the new functions.
4339 * sysdeps/i386/fpu/libm-test-ulps: Update.
4340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4341
9568c0c2
JM
4342 [BZ #13884]
4343 [BZ #13924]
4344 * math/e_exp10.c: Include <float.h>.
4345 (__ieee754_exp10): Handle underflow here rather than multiplying
4346 large negative argument by M_LN10.
4347 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4348 of __ieee754_expf.
4349 * math/e_exp10l.c: Include <float.h>.
4350 (__ieee754_exp10l): Handle underflow here rather than multiplying
4351 large negative argument by M_LN10l.
4352 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4353 spurious overflow exception on underflow.
4354
5ac3ea17
MP
43552012-04-29 Marek Polacek <polacek@redhat.com>
4356
4357 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4358 (__fortify_function): New macro.
4359 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4360 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4361 __extern_always_inline.
4362 * libio/bits/stdio2.h: Likewise.
4363 * libio/bits/stdio.h: Likewise.
4364 * string/string.h: Likewise.
4365 * string/bits/string3.h: Likewise.
4366 * include/stdio.h: Likewise.
4367 * stdlib/bits/stdlib.h: Likewise.
4368 * stdlib/stdlib.h: Likewise.
4369 * rt/bits/mqueue2.h: Likewise.
4370 * rt/mqueue.h: Likewise.
4371 * posix/bits/unistd.h: Likewise.
4372 * posix/unistd.h: Likewise.
4373 * io/bits/poll2.h: Likewise.
4374 * io/bits/fcntl2.h: Likewise.
4375 * io/fcntl.h: Likewise.
4376 * io/sys/poll.h: Likewise.
4377 * misc/bits/syslog.h: Likewise.
4378 * misc/bits/syslog-ldbl.h: Likewise.
4379 * misc/sys/syslog.h: Likewise.
4380 * socket/bits/socket2.h: Likewise.
4381 * socket/sys/socket.h: Likewise.
4382 * debug/tst-chk1.c: Likewise.
4383 * wcsmbs/bits/wchar2.h: Likewise.
4384 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4385 * wcsmbs/wchar.h: Likewise.
4386
ecf0ebfb
AJ
43872012-04-29 Andreas Jaeger <aj@suse.de>
4388
4389 * Makerules (tests): Remove enable-check-abi protection.
4390 (check-abi-warn): Remove.
4391 (check-abi-%): Remove check-abi-warn usage.
4392
4393 * configure.in: Remove check-abi configure option.
4394 * configure: Regenerated.
4395 * config.make.in (enable-check-abi): Remove.
4396
6d5c57fa
AS
43972012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4398
24c5d07e 4399 [BZ #14033]
ded5180a
AS
4400 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4401 double functions to double *_finite functions.
4402
7e0d315d
AS
4403 [BZ #13941]
4404 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4405 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4406 LDBL_MIN_EXP.
4407 * stdio-common/Makefile (tests): Add tst-sprintf3.
4408 * stdio-common/tst-sprintf3.c: New file.
4409
6d5c57fa
AS
4410 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4411 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4412
0749ff8b
JM
44132012-04-28 Joseph Myers <joseph@codesourcery.com>
4414
4415 * conform/conformtest.pl: Remove duplicate typed-constant
4416 handling.
4417
8dbd5d7b
DM
44182012-04-28 David S. Miller <davem@davemloft.net>
4419
4420 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4421 (check-abi-%): Remove AWK script prerequisite and explicit
4422 abilist directory.
4423 (check-abi): Rewrite to just diff the symlist with the abilist.
4424 (config-tls, config-abi-config): Delete, no longer used.
4425 (update-abi-%): Remove AWK script and explicit abilist directory.
4426 (update-abi): Rewrite to simply compare and conditionally copy the
4427 symlist and the sysdep abilist file. Remove update-abi-config
4428 checks.
4429 * abilist/ld.abilist: Remove.
4430 * abilist/libBrokenLocale.abilist: Remove.
4431 * abilist/libanl.abilist: Remove.
4432 * abilist/libcrypt.abilist: Remove.
4433 * abilist/libdl.abilist: Remove.
4434 * abilist/librt.abilist: Remove.
4435 * abilist/libthread_db.abilist: Remove.
4436 * abilist/libutil.abilist: Remove.
4437 * scripts/extract-abilist.awk: Remove.
4438 * scripts/merge-abilist.awk: Remove.
4439 * sysdeps/generic/libcidn.abilist: New file.
4440 * sysdeps/generic/libnss_compat.abilist: New file.
4441 * sysdeps/generic/libnss_db.abilist: New file.
4442 * sysdeps/generic/libnss_dns.abilist: New file.
4443 * sysdeps/generic/libnss_files.abilist: New file.
4444 * sysdeps/generic/libnss_hesiod.abilist: New file.
4445 * sysdeps/generic/libnss_nis.abilist: New file.
4446 * sysdeps/generic/libnss_nisplus.abilist: New file.
4447 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4448 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4449 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4450 file.
4451 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4452 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4453 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4454 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4455 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4456 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4457 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4458 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4459 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4460 file.
4461 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4462 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4463 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4464 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4465 file.
4466 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4467 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4468 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4469 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4470 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4471 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4472 file.
4473 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4474 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4475 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4476 file.
4477 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4479 New file.
4480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4481 New file.
4482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4483 New file.
4484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4485 New file.
4486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4487 New file.
4488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4489 New file.
4490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4491 New file.
4492 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4493 New file.
4494 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4495 New file.
4496 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4497 New file.
4498 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4499 New file.
4500 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4501 New file.
4502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4503 New file.
4504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4505 file.
4506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4507 New file.
4508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4509 New file.
4510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4511 file.
4512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4513 New file.
4514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4515 New file.
4516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4517 file.
4518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4519 New file.
4520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4521 New file.
4522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4523 New file.
4524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4525 New file.
4526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4527 New file.
4528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4529 New file.
4530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4532 file.
4533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4534 New file.
4535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4536 file.
4537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4538 file.
4539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4540 file.
4541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4542 file.
4543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4544 file.
4545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4546 New file.
4547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4548 file.
4549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4550 file.
4551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4552 New file.
4553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4554 file.
4555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4557 file.
4558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4559 New file.
4560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4561 file.
4562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4563 file.
4564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4565 file.
4566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4567 file.
4568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4569 file.
4570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4571 New file.
4572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4573 file.
4574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4575 file.
4576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4577 New file.
4578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4579 file.
4580 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4581 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4582 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4583 file.
4584 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4585 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4586 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4587 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4588 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4589 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4590 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4591 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4592 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4593 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4596 file.
4597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4598 New file.
4599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4600 file.
4601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4602 file.
4603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4604 file.
4605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4606 file.
4607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4608 file.
4609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4610 New file.
4611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4612 New file.
4613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4614 file.
4615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4616 New file.
4617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4618 file.
4619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4621 file.
4622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4623 New file.
4624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4625 file.
4626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4627 file.
4628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4629 file.
4630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4631 file.
4632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4633 file.
4634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4635 New file.
4636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4637 New file.
4638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4639 file.
4640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4641 New file.
4642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4643 file.
4644
41d73a1b
JM
46452012-04-28 Joseph Myers <joseph@codesourcery.com>
4646
4647 * conform/conformtest.pl: Fix typo in handling typed-constant from
4648 allow-header.
4649
28aeeda4
JM
46502012-04-27 Joseph Myers <joseph@codesourcery.com>
4651
adae8f5e
JM
4652 * README: Cut down references to pre-2.6 Linux kernels and
4653 Linuxthreads. Update lists of configurations in libc and ports
4654 and sort alphabetically. Say "or newer" with Linux kernel version
4655 requirements.
4656
28aeeda4
JM
4657 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4658
a462cb63
RA
46592012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4660
4661 [BZ #887]
4662 * math/libm-test.inc (logb_test_downward): New test to expose
4663 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4664 rounding mode.
4665
6ad3493e
JM
46662012-04-27 Joseph Myers <joseph@codesourcery.com>
4667
4668 [BZ #14027]
4669 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4670 to be done.
4671 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4672 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4673
2ce4f015
JM
46742012-04-26 Joseph Myers <joseph@codesourcery.com>
4675
5aeb141a
JM
4676 * sysdeps/unix/i386/brk.S: Remove file.
4677 * sysdeps/unix/i386/dl-brk.S: Likewise.
4678 * sysdeps/unix/i386/pipe.S: Likewise.
4679 * sysdeps/unix/i386/sigreturn.S: Likewise.
4680 * sysdeps/unix/i386/syscall.S: Likewise.
4681 * sysdeps/unix/i386/vfork.S: Likewise.
4682 * sysdeps/unix/i386/wait.S: Likewise.
4683
7143acae
JM
4684 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4685 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4686
2ce4f015
JM
4687 * configure.in (arm*-none*): Do not allow without
4688 --enable-hacker-mode.
4689 (netbsd*): Remove case setting base_os.
4690 (386bsd*): Likewise.
4691 (freebsd*): Likewise.
4692 (bsdi*): Likewise.
4693 (osf*): Likewise.
4694 (sunos*): Likewise.
4695 (ultrix*): Likewise.
4696 (newsos*): Likewise.
4697 (dynix*): Likewise.
4698 (*bsd*): Likewise.
4699 (sysv*): Likewise.
4700 (isc*): Likewise.
4701 (esix*): Likewise.
4702 (sco*): Likewise.
4703 (minix*): Likewise.
4704 (irix4*): Likewise.
4705 (irix6*): Likewise.
4706 (solaris[2-9]*): Likewise.
4707 (none): Likewise.
4708 * configure: Regenerated.
4709
0ac229c8
AZ
47102012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4711
4712 [BZ #11521]
4713 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4714 overflow or cancellation in calculating denominator.
4715 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4716 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4717 down expression to avoid unexpected rounding in newer GCCs.
4718 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4719
33f244f4
DM
47202012-04-26 David S. Miller <davem@davemloft.net>
4721
4722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4723 long-double compat symbols.
4724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4737
cfa1f3e8
DM
47382012-04-25 David S. Miller <davem@davemloft.net>
4739
4740 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4741 HWCAP_* values only after the memory barriers have been defined.
4742 (atomic_full_barrier): Define.
4743 (atomic_read_barrier): Define.
4744 (atomic_write_barrier): Define.
4745
6e236b92
SP
47462012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4747
4748 * shlib-versions: Add libgcc_s version information.
4749 * sysdeps/generic/libgcc_s.h: Remove.
4750 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4751 libgcc_s.h.
4752 * sysdeps/gnu/unwind-resume.c: Likewise.
4753 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4754
aab39a09
DM
47552012-04-25 David S. Miller <davem@davemloft.net>
4756
4757 * sysdeps/unix/sparc/brk.S: Delete.
4758 * sysdeps/unix/sparc/dl-brk.S: Delete.
4759 * sysdeps/unix/sparc/pipe.S: Delete.
4760 * sysdeps/unix/sparc/sysdep.S: Delete.
4761 * sysdeps/unix/sparc/sysdep.h: Delete.
4762 * sysdeps/unix/sparc/vfork.S: Delete.
4763 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4764 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4765 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4766 ret_ERRVAL, r0, r1, MOVE): Define.
4767 (JUMPTARGET): Remove.
4768 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4769 sysdeps/unix/sparc/sysdep.h
4770 (ENTRY, END): Remove.
4771 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4772
a3cc4f48
JM
47732012-04-25 Joseph Myers <joseph@codesourcery.com>
4774
2ed8cda2
JM
4775 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4776 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4777 -DIS_IN_build.
4778
35d76d59
JM
4779 * timezone/README: Update upstream location and email address for
4780 tzcode and tzdata.
4781 * timezone/zdump.c: Update from tzcode 2012b.
4782 * timezone/zic.c: Likewise.
4783
a3cc4f48
JM
4784 * configure.in (libc_cv_as_needed): Remove test.
4785 * configure: Regenerated.
4786 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4787 conditional definition.
4788 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4789 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4790 * config.make.in (have-as-needed): Remove variable.
4791
ceab42c3
SP
47922012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4793 Paul Pluzhnikov <ppluzhnikov@google.com>
4794
4795 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4796 strings correctly.
4797
3ce2865f
CLT
47982012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4799
4800 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4801 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4802 * sysdeps/sh/strlen.S: Likewise.
4803
f37e0d68
JM
48042012-04-24 Joseph Myers <joseph@codesourcery.com>
4805
ae186e9a
JM
4806 * sysdeps/unix/fork.S: Remove file.
4807 * sysdeps/unix/i386/fork.S: Likewise.
4808 * sysdeps/unix/sparc/fork.S: Likewise.
4809
b96914af
JM
4810 * sysdeps/unix/system.c: Remove file.
4811 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4812
f37e0d68
JM
4813 * sysdeps/unix/getegid.S: Remove file.
4814 * sysdeps/unix/geteuid.S: Likewise.
4815
87ef29ca
RM
48162012-04-24 Roland McGrath <roland@hack.frob.com>
4817
83bcd236
RM
4818 * scripts/check-localplt.awk: New file.
4819 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4820 of diff.
4821 * scripts/data/localplt-generic.data: Add a comment.
4822
87ef29ca
RM
4823 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4824 NODE when __dir_mkfile failed.
4825 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4826 Reported by Ludovic Courtès <ludo@gnu.org>.
4827
e5a6e567
AJ
48282012-04-24 Andreas Jaeger <aj@suse.de>
4829
4830 * Makerules (common-clean): Also remove gen-as-const-headers
4831 files.
4832
c1820385
JM
48332012-04-24 Joseph Myers <joseph@codesourcery.com>
4834
4835 * Makerules (native-compile): Do not change working directory for
4836 build. Use $(OUTPUT_OPTION) in command.
4837 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4838
94e02fc4
AZ
48392012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4840
4841 [BZ #13886]
4842 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4843 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4844 * math/libm-test.inc (floor_test): Add more tests.
4845 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4846
3a533ca3
JM
48472012-04-24 Joseph Myers <joseph@codesourcery.com>
4848
940ab4b3
JM
4849 * sysdeps/unix/getdents.c: Remove file.
4850 * sysdeps/unix/sysv/getdents.c: Likewise.
4851 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4852
90e037bd
JM
4853 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4854 sysdeps/unix/mman/syscalls.list.
4855 (mmap): Likewise.
4856 (mprotect): Likewise.
4857 (msync): Likewise.
4858 (munmap): Likewise.
4859 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4860 * sysdeps/unix/mman/syscalls.list: Remove.
4861 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4862
3a533ca3
JM
4863 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4864 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4865 * configure: Regenerated.
4866 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4867 $(libgcc_s_suffix).
4868 * config.make.in (libgcc_s_suffix): Remove variable.
4869
1ad743de
JM
48702012-04-23 Joseph Myers <joseph@codesourcery.com>
4871
4ad451e2
JM
4872 * sysdeps/unix/sysv/gethostname.c: Move to ...
4873 * sysdeps/posix/gethostname.c: ... here.
4874
5e37ce39
JM
4875 * sysdeps/unix/execve.S: Remove file.
4876
1ad743de
JM
4877 * sysdeps/unix/_exit.S: Remove file.
4878
4e681b5b
AJ
48792012-04-23 Andreas Jaeger <aj@suse.de>
4880
4881 [BZ #13739]
4882 * manual/Makefile: Remove make dist support, there's no
4883 need for a stand-alone documentation tar ball.
4884 (TEXI2DVI): Define always, it's not in Makeconfig.
4885 (dist): Removed.
4886 (tar-it): Removed.
4887 (edition): Removed.
4888 (glibc-doc-$(edition).tar): Removed
4889 (%.Z): Removed.
4890 (%.gz): Removed.
4891 (%.uu): Removed.
4892 (ETAGS): Remove, it's in Makeconfig.
4893 (move-if-change): Remove, it's in Makeconfig.
4894
c0baea34
PE
48952013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4896
4897 [BZ #13970]
4898 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4899 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4900 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4901 (strtod_l, strtof_l, strtold_l): Remove __wur.
4902 It is not necessarily an error to ignore strtol's return value.
4903 One can reliably look at the stored endptr to decide whether
4904 the number had valid syntax.
4905
7c0616fa
AJ
49062012-04-21 Andreas Jaeger <aj@suse.de>
4907
803cb6b7 4908 [BZ #13739]
7c0616fa
AJ
4909 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4910
b0fe253f
JM
49112012-04-21 Joseph Myers <joseph@codesourcery.com>
4912
4913 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4914 * sysdeps/unix/sysv/Versions: Remove file.
4915
8280f22d
MT
49162012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4917
4918 [BZ #13927]
4919 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4920
75ce411f 49212012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4922
4923 [BZ #7064]
4924 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4925 version from __vm86.
4926
097d59fa
JM
49272012-04-20 Joseph Myers <joseph@codesourcery.com>
4928
a90f3bcb
JM
4929 * sysdeps/unix/common/lxstat.c: Remove file.
4930 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4931
edc7ea78
JM
4932 * sysdeps/unix/sysv/Makefile: Remove file.
4933
cb78c221
JM
4934 * sysdeps/unix/sysv/direct.h: Remove file.
4935
efa6a45f
JM
4936 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4937 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4938 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4939 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4940 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4941 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4942 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4943
9c9f2d0c
JM
4944 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4945
4541c83b
JM
4946 * sysdeps/unix/xmknod.c: Remove file.
4947 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4948
f5d153a0
JM
4949 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4950
aa746595
JM
4951 * sysdeps/unix/sysv/i386/time.S: Remove file.
4952
cce5905e
JM
4953 * sysdeps/unix/fxstat.c: Remove file.
4954 * sysdeps/unix/xstat.c: Likewise.
4955 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4956
37fa3841
JM
4957 * sysdeps/unix/sysv/sigaction.c: Remove file.
4958
ff1962a3
JM
4959 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4960 (sysdep_headers): Remove variable.
4961 [termio.h not in sysdep_headers] (generated): Likewise.
4962 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4963 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4964 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4965 * sysdeps/unix/sysv/tcflow.c: Likewise.
4966 * sysdeps/unix/sysv/tcflush.c: Likewise.
4967 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4968 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4969 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4970 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4971 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4972
e7740d31
JM
4973 * sysdeps/unix/siglist.c: Remove file.
4974
ee06f18b
JM
4975 * sysdeps/unix/getppid.S: Remove file.
4976
097d59fa
JM
4977 * sysdeps/unix/mkdir.c: Remove file.
4978 * sysdeps/unix/rmdir.c: Likewise.
4979
ff3d51ec
AS
49802012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4981
4982 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4983 ERR_MAX value.
4984 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4985 errlist-compat value.
4986
50f81fd7
DM
49872012-04-18 David S. Miller <davem@davemloft.net>
4988
4989 * sysdeps/generic/memcopy.h (reg_char): Delete.
4990 * debug/strcat_chk.c: Use char, not reg_char.
4991 * debug/strcpy_chk.c: Likewise.
4992 * debug/strncat_chk.c: Likewise.
4993 * debug/strncpy_chk.c: Likewise.
4994 * string/memchr.c: Likewise.
4995 * string/memrchr.c: Likewise.
4996 * string/rawmemchr.c: Likewise.
4997 * string/strcat.c: Likewise.
4998 * string/strchr.c: Likewise.
4999 * string/strchrnul.c: Likewise.
5000 * string/strcmp.c: Likewise.
5001 * string/strcpy.c: Likewise.
5002 * string/strncat.c: Likewise.
5003 * string/strncmp.c: Likewise.
5004 * string/strncpy.c: Likewise.
5005
8ff41c46
WS
50062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5007
5008 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5009 __builtin_memcopy is called when src and dest ranges are known to not
5010 overlap.
5011
6b652f46
WS
50122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5013
5014 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5015 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5016 fwd_align_merge macro call.
5017 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5018 bwd_align_merge macro call.
5019 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5020
b282631e
WS
50212012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5022
5023 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5024 bwd_align_merge macros.
5025 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5026 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5027 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5028
95aa737c
DM
50292012-04-18 David S. Miller <davem@davemloft.net>
5030
5031 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5032
7a99a614
AJ
50332012-04-18 Andreas Jaeger <aj@suse.de>
5034
5035 [BZ# 6794]
5036 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5037 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5038 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5039
5040 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5041 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5042 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5043
5044 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5045 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5046 Adjust for changed ldbl-128 files.
5047
5048 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5049 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5050 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5051
e5270c23
DM
50522012-04-17 David S. Miller <davem@davemloft.net>
5053
5054 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5055
fb5e92c9
AS
50562012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5057
5058 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5059 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5060 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5061 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5062 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5063 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5064
76da7265
AZ
50652012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5066
5067 [BZ #6794]
5068 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5069 * math/libm-test.inc: Add ilogb errno and exception tests.
5070 * math/w_ilogb.c: New file: ilogb wrapper.
5071 * math/w_ilogbf.c: New file: ilogbf wrapper.
5072 * math/w_ilogbl.c: New file: ilogbl wrapper.
5073 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5074 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5075 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5076 exception being thrown with 0.0 as argument.
5077 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5078 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5079 exception being thrown with 0.0 as argument.
5080 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5081 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5082 exception being thrown with 0.0 as argument.
5083 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5084 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5085 exception being thrown with 0.0 as argument.
5086 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5087 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5088 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5089 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5090 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5091 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5092 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5093 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5094 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5095
0396e69d
PB
50962012-04-17 Petr Baudis <pasky@ucw.cz>
5097
5098 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5099 with altivec.
5100
750b5926
MP
51012012-04-16 Marek Polacek <polacek@redhat.com>
5102
5103 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5104
751728a1
MP
51052012-04-16 Marek Polacek <polacek@redhat.com>
5106
5107 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5108 operands of fdivp instruction.
5109
34a27407
L
51102012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5111
5112 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5113 * elf/tst-auditmod3b.c: Likewise.
5114 * elf/tst-auditmod4b.c: Likewise.
5115 * elf/tst-auditmod5b.c: Likewise.
5116 * elf/tst-auditmod6b.c: Likewise.
5117 * elf/tst-auditmod6c.c: Likewise.
5118 * elf/tst-auditmod7b.c: Likewise.
5119 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5120 * sysdeps/x86_64/preconfigure.in: Likewise.
5121 * sysdeps/x86_64/preconfigure: Regenerated.
5122
7e73e17d
L
51232012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5124
5125 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5126 __ILP32__.
5127
c7a6ab72
AB
51282012-04-13 Antoine Balestrat <merkil33@gmail.com>
5129
5130 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5131 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5132
a9e8e0e0
CL
51332012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5134
5135 [BZ #13973]
5136 * locale/iso-639.def: Fix gl language name. Spotted by
5137 Yaron Shahrabani.
5138
ec98af7d
RM
51392012-04-12 Roland McGrath <roland@hack.frob.com>
5140
5141 [BZ #2074]
5142 * libio/libio.h (__io_write_fn): Update comment.
5143
247c3ede
PB
51442012-04-12 Petr Baudis <pasky@ucw.cz>
5145
5146 [BZ #2074]
5147 * stdio.texi (Hook Functions): The user provided writer function
5148 is not allowed to return -1.
5149
55939d6d
DM
51502012-04-11 David S. Miller <davem@davemloft.net>
5151
5152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5153
90020f5a
MF
51542012-04-11 Mike Frysinger <vapier@gentoo.org>
5155
5156 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5157 Add a leading slash to rtkaio.
5158
288f9098
JM
51592012-04-11 Jim Meyering <meyering@redhat.com>
5160
90020f5a
MF
5161 [BZ #11959]
5162 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5163 It is not necessarily an error to ignore fwrite's return
5164 value. One can reliably use ferror to test for errors after
5165 the fact.
288f9098 5166
4be2b570
L
51672012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5168
5169 * bits/types.h (__snseconds_t): New type.
5170 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5171
5172 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5173 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5174 (__SNSECONDS_T_TYPE): Likewise.
5175 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5176 (__SNSECONDS_T_TYPE): Likewise.
5177 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5178 (__SNSECONDS_T_TYPE): Likewise.
5179
288f9098 51802012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5181
5182 [BZ #2636]
5183 * manual/time.texi (Processor Time): Return type of times is
5184 elapsed real time since an arbitrary point in the past.
5185 (CPU Time): Move CLK_TCK from here...
5186 (Processor Time): ...to here. Correct description.
5187 * manual/conf.texi (Constants for Sysconf): Correct description of
5188 _SC_CLK_TCK.
5189
d7dd4413
DM
51902012-04-10 David S. Miller <davem@davemloft.net>
5191
5192 [BZ #13967]
5193 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5194 where the is a gap between DT_REL(A) and DT_JMPREL.
5195
b46068fc
L
51962012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5197
5198 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5199 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5200 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5201
73d65cc3
SP
52022012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5203
5204 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5205 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5206 (dl_main): Handle --inhibit-cache.
5207 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5208 _dl_inhibit_cache.
5209 * elf/dl-load.c (_dl_map_object): Use it.
5210 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5211
bcc8d661
JM
52122012-04-09 Joseph Myers <joseph@codesourcery.com>
5213
8f9a2fae
JM
5214 [BZ #13872]
5215 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5216 (__ieee754_powl): Saturate large exponents rather than testing for
5217 overflow of y*log2(x).
5218 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5219 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5220 exceptions.
5221
bcc8d661
JM
5222 [BZ #11521]
5223 * math/s_ctan.c: Include <float.h>.
5224 (__ctan): Avoid internal overflow or cancellation in calculating
5225 denominator.
5226 * math/s_ctanf.c: Likewise.
5227 * math/s_ctanl.c: Likewise.
5228 * math/s_ctanh.c: Likewise.
5229 * math/s_ctanhf.c: Likewise.
5230 * math/s_ctanhl.c: Likewise.
5231 * math/libm-test.inc (ctan_test): Add more tests.
5232 (ctanh_test): Likewise.
5233 * sysdeps/i386/fpu/libm-test-ulps: Update.
5234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5235
823fbbb4
AJ
52362012-04-09 Andreas Jaeger <aj@suse.de>
5237
03879793
AJ
5238 [BZ #6894]
5239 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5240 is an optional BSD extension.
5241
823fbbb4
AJ
5242 [BZ #10254]
5243 * manual/stdio.texi (Opening Streams): Document additional fopen
5244 parameters.
5245
8de131cb
RM
52462012-04-09 Roland McGrath <roland@hack.frob.com>
5247
5248 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5249 %eax without telling the compiler.
5250
c0ed9d7d
CD
52512012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5252
5253 [BZ # 13963]
5254 * manual/install.texi: Use sourceware.org.
5255
c483f6b4
JM
52562012-04-09 Joseph Myers <joseph@codesourcery.com>
5257
d7dd9453
JM
5258 [BZ #13873]
5259 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5260 (__ieee754_pow): Generate overflow and underflow using huge*huge
5261 and tiny*tiny rather than just returning constant infinity or zero
5262 for large exponents.
5263 * math/libm-test.inc (pow_test): Require overflow exceptions for
5264 applicable cases of large exponents.
5265
c483f6b4
JM
5266 [BZ #706]
5267 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5268 (__ieee754_pow): Use iterative multiplication algorithm only for
5269 integer exponents with absolute value below 1024. Check for odd
5270 integer exponents when using algorithm for real exponents.
5271 * math/libm-test.inc (pow_test): Add more tests.
5272 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5273
d2de7579
JM
52742012-04-08 Joseph Myers <joseph@codesourcery.com>
5275
5276 [BZ #13705]
5277 * math/libm-test.inc (exp_test): Do not allow overflow exception
5278 on underflow test.
5279
f77f1232
AJ
52802012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5281
5282 [BZ #13705]
5283 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5284 instead of __kernel_standard_f.
5285
3884932b
MF
52862012-04-08 Mike Frysinger <vapier@gentoo.org>
5287
5288 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5289 * sysdeps/x86_64/memset_chk.S: Likewise.
5290
54472e9c
AJ
52912012-04-08 Andreas Jaeger <aj@suse.de>
5292
6ab0fbfc
AJ
5293 [BZ #10153]
5294 * manual/startup.texi (Environment Access): Describe return value
5295 for putenv and setenv.
5296
61efba8c
AJ
5297 [BZ #6895]
5298 * manual/filesys.texi (Directory Entries): Add description for
5299 DT_LNK.
5300
95c3f29a
AJ
5301 [BZ #6890]
5302 * manual/filesys.texi (Directory Entries): Clarify that it's file
5303 system not operating system in the description of DT_UNKNOWN.
5304
54472e9c
AJ
5305 [BZ #6578]
5306 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5307
624254b1
SC
53082012-04-08 Stephen Compall <s11@member.fsf.org>
5309
5310 [BZ #6649]
5311 * manual/llio.texi (Opening and Closing Files): Add cross
5312 reference to explain mode argument.
5313
1e4920e0
MF
53142012-04-07 Mike Frysinger <vapier@gentoo.org>
5315
5316 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5317 * sysdeps/x86_64/memset_chk.S: Likewise.
5318
5ed848f3
DM
53192012-04-07 David S. Miller <davem@davemloft.net>
5320
5321 * elf/elf.h (R_SPARC_WDISP10): Define.
5322 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5323 R_SPARC_SIZE32.
5324 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5325 R_SPARC_SIZE64 and R_SPARC_H34.
5326
96154cd8
CD
53272012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5328
5329 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5330 conditions and remove no longer applicable assertion.
5331
9904dc47
L
53322012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5333
5334 * bits/byteswap.h: Include <features.h>.
5335 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5336 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5337
f8887d0a
L
53382012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5339
5340 * bits/byteswap.h (__bswap_16): Removed.
5341 Include <bits/byteswap-16.h> to get __bswap_16.
5342 * sysdeps/i386/bits/byteswap.h: Likewise.
5343 * sysdeps/s390/bits/byteswap.h: Likewise.
5344 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5345 * bits/byteswap-16.h: New file.
5346 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5347 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5348 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5349 * string/Makefile (headers): Add bits/byteswap-16.h.
5350
62470f60
PP
53512012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5352
5353 [BZ #13895]
5354 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5355 extra indirection.
5356 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5357 * nss/tst-nss-static.c: New.
5358
4dad7bab
RM
53592012-04-06 Robert Millan <rmh@gnu.org>
5360
5361 [BZ #6486]
5362 * manual/llio.texi (File Position Primitive): lseek
5363 refers to WHENCE when it really means OFFSET.
5364
e9142a17
AJ
53652012-04-06 Andreas Jaeger <aj@suse.de>
5366
2c040eff
AJ
5367 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5368 strncmp declarations.
5369
e9142a17
AJ
5370 * abilist/libc.abilist: Add __poll and __ppoll.
5371
ff9f1c5f
DM
53722012-04-05 David S. Miller <davem@davemloft.net>
5373
dcd2ae90
DM
5374 * scripts/check-local-headers.sh: Accept a host triplet in the
5375 path matched by the exclude regexp.
5376
993eb054
DM
5377 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5378 definition.
5379 * sysdeps/powerpc/powerpc32/dl-machine.h
5380 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5381 * sysdeps/s390/s390-32/dl-machine.h
5382 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5383 * sysdeps/sparc/sparc32/dl-machine.h
5384 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5385 * sysdeps/sparc/sparc64/dl-machine.h
5386 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5387
ff9f1c5f
DM
5388 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5389 lazy binding.
48e2e132 5390 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5391 undefined symbol errors.
5392
48e2e132 5393 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5394 DT_NEEDED entries.
5395
e80d6f94
MM
53962012-04-05 Michael Matz <matz@suse.de>
5397
5398 [BZ #13592]
5399 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5400
349fa79f
AJ
54012012-04-05 Andreas Jaeger <aj@suse.de>
5402
5403 [BZ #13908]
5404 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5405 comment.
5406
f402708f
KK
54072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5408
5409 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5410 which ROUND is no valid rounding mode.
5411
2ecccfc9
KK
54122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5413
5414 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5415 read again.
5416 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5417
8a53f50f
KK
54182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5419
5420 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5421 an exception using FPU order intentionally.
5422
54232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5424
5425 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5426 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5427 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5428 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5429
d653abb7
SJ
54302012-04-05 Simon Josefsson <simon@josefsson.org>
5431
5432 [BZ #12340]
5433 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5434 EINVAL when BUFLEN is too smal.
5435
c3b1bf7d
TS
54362012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5437
5438 [BZ #13553]
5439 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5440 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5441
b1aa60f3
AJ
54422012-04-03 Andreas Jaeger <aj@suse.de>
5443
c3b1bf7d 5444 [BZ #13938]
67f60a26
AJ
5445 * manual/setjmp.texi (System V contexts): Fix sentence.
5446
b1aa60f3
AJ
5447 [BZ #13926]
5448 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5449 New macro for this case.
5450 [!__GNUC__] (__bswap_64): New inline function for this case.
5451 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5452 * bits/byteswap.h: Likewise.
5453 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5454 ull, guard with __GLIBC_HAVE_LONG_LONG.
5455
5456 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5457 __GLIBC_HAVE_LONG_LONG.
5458
5459 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5460 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5461
39c59c35
TMQMF
54622012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5463
5464 [BZ #13691]
5465 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5466 inptr and inend, rather than using last_ch.
5467
135ffda8
DM
54682012-04-02 David S. Miller <davem@davemloft.net>
5469
5470 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5471 * stdio-common/printf-parse.h (read_int): Change return type to
5472 'int', return -1 on INT_MAX overflow.
5473 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5474 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5475 overflows INT_MAX. Check for overflow of in-format-string precision
5476 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5477 SIZE_MAX not INT_MAX for integer overflow test.
5478 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5479 skip the construct in the format string but do not record anything.
5480 * stdio-common/bug22.c: Adjust to test both width/prevision
5481 INT_MAX overflow as well as total length INT_MAX overflow. Check
5482 explicitly for proper errno values.
5483
228c019e
TS
54842012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5485
302cadd3
TS
5486 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5487 CHAR_MAX.
5488 * string/test-strcmp.c [! WIDE]: Likewise.
5489 * time/tst-mktime2.c: Likewise for INT_MAX.
5490 * string/test-string.h: #include <sys/param.h> for MIN.
5491
228c019e
TS
5492 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5493 * sysdeps/i386/init-first.c (init): Likewise.
5494 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5495 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5496 * sysdeps/sh/init-first.c (init): Likewise.
5497
cfa633f5
UD
54982012-04-01 Ulrich Drepper <drepper@gmail.com>
5499
5500 * po/ru.po: Update from translation team.
d1635ef8 5501 * po/vi.po: Likewise.
cfa633f5 5502
6cd0a5ea
SP
55032012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5504
5505 * resolv/nss_dns/dns-host.c: Merge copyright years.
5506
4b43400f
LD
55072012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5508
5509 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5510 Optimize memcpy with prefetch if
5511 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5512 src, dst pointers have unequal 16 byte alignments.
5513
48c41d04
SP
55142012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5515
5516 [BZ #13928]
5517 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5518 from a CNAME entry and return the minimum ttl for the query.
5519 (gaih_getanswer_slice): Likewise.
5520
b8dc394d
JL
55212012-03-30 Jeff Law <law@redhat.com>
5522
5523 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5524 due to long keys.
5525 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5526 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5527
2f5a5ed0
JL
5528 * resolv/nss_dns/dns-host.c: Update copyright year.
5529
1d39e359
UD
55302012-03-30 Ulrich Drepper <drepper@gmail.com>
5531
c030f70c 5532 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5533 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5534
1d39e359
UD
5535 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5536 comments for sendmmsg.
5537
55382012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5539
5540 [BZ #13691]
5541 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5542 with only 1 character between 0x0041 and 0x01b0.
5543 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5544 * wcsmbs/tst-mbsnrtowcs.c: New file.
5545
20fde227
DM
55462012-03-29 David S. Miller <davem@davemloft.net>
5547
5548 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5549 small copies by hand.
5550
984a4237
JL
55512012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5552
5553 [BZ #13761]
5554 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5555 _nss_compat_initgroups_dyn): Fall back to malloc/free
5556 for large group memberships.
5557
18c9d62b
DM
55582012-03-28 David S. Miller <davem@davemloft.net>
5559
88d85d4f
DM
5560 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5561 that branches into memcpy.
5562 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5563 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5564 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5565 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5566 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5567 bits.
5568 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5569 implementation too.
5570 * sysdeps/sparc/mempcpy.S: New file.
5571
e5aa83e1
DM
5572 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5573 the IFUNC routine in the libc case.
5574 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5575
88570753
DM
5576 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5577 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5578 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5579 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5580 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5581 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5582 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5583 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5584
249d7567
DM
5585 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5586 loop to 256 bytes instead of 64 bytes and fix test signedness.
5587
18c9d62b
DM
5588 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5589 * sysdeps/sparc/sparc32/Makefile: rather than here...
5590 * sysdeps/sparc/sparc64/Makefile: and here.
5591
05f3d1f6
UD
55922012-03-28 Ulrich Drepper <drepper@gmail.com>
5593
5594 * malloc/mallocbug.c: Avoid warnings about unused variables.
5595
86ae07a8
JL
55962012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5597
5598 [BZ #13760]
5599 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5600 in the right place. Discard and retry query if response is
5601 larger than input buffer size.
5602
41bf21a1
JM
56032012-03-28 Joseph Myers <joseph@codesourcery.com>
5604
d6270972
JM
5605 [BZ #369]
5606 [BZ #2678]
5607 [BZ #3866]
5608 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5609 x for large integer exponent.
5610 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5611 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5612 sign of result as needed afterwards.
5613 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5614 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5615 result for underflowing pow the same as for overflow.
5616 (__kernel_standard_l): Handle powl overflow and underflow here
5617 rather than calling __kernel_standard.
5618 * math/libm-test.inc (pow_test): Add more tests.
5619
414fca03 5620 [BZ #3868]
41bf21a1
JM
5621 [BZ #13879]
5622 [BZ #13910]
5623 [BZ #13911]
5624 [BZ #13912]
5625 [BZ #13913]
5626 [BZ #13915]
5627 [BZ #13916]
5628 [BZ #13917]
5629 [BZ #13918]
5630 [BZ #13919]
5631 [BZ #13920]
5632 [BZ #13921]
5633 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5634 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5635 (__kernel_standard_l): New function.
5636 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5637 __kernel_standard.
5638 * math/w_acosl.c (__acosl): Likewise.
5639 * math/w_asinl.c (__asinl): Likewise.
5640 * math/w_atan2l.c (__atan2l): Likewise.
5641 * math/w_atanhl.c (__atanhl): Likewise.
5642 * math/w_coshl.c (__coshl): Likewise.
5643 * math/w_exp10l.c (__exp10l): Likewise.
5644 * math/w_exp2l.c (__exp2l): Likewise.
5645 * math/w_fmodl.c (__fmodl): Likewise.
5646 * math/w_hypotl.c (__hypotl): Likewise.
5647 * math/w_j0l.c (__j0l, __y0l): Likewise.
5648 * math/w_j1l.c (__j1l, __y1l): Likewise.
5649 * math/w_jnl.c (__jnl, __ynl): Likewise.
5650 * math/w_lgammal.c (__lgammal): Likewise.
5651 * math/w_log10l.c (__log10l): Likewise.
5652 * math/w_log2l.c (__log2l): Likewise.
5653 * math/w_logl.c (__logl): Likewise.
5654 * math/w_powl.c (__powl): Likewise.
5655 * math/w_remainderl.c (__remainderl): Likewise.
5656 * math/w_scalbl.c (sysv_scalbl): Likewise.
5657 * math/w_sinhl.c (__sinhl): Likewise.
5658 * math/w_sqrtl.c (__sqrtl): Likewise.
5659 * math/w_tgammal.c (__tgammal): Likewise.
5660 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5661 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5662 * math/libm-test.inc (acos_test): Add more tests.
5663 (acosh_test): Likewise.
5664 (asin_test): Likewise.
5665 (atanh_test): Likewise.
5666 (exp_test): Likewise.
5667 (exp10_test): Likewise.
5668 (exp2_test): Likewise.
5669 (expm1_test): Likewise.
5670 (lgamma_test): Likewise.
5671 (log_test): Likewise.
5672 (log10_test): Likewise.
5673 (log1p_test): Likewise.
5674 (log2_test): Likewise.
5675 (pow_test): Do not allow some spurious overflow exceptions.
5676 (sqrt_test): Add more tests.
5677 (tgamma_test): Likewise.
5678 (y0_test): Likewise.
5679 (y1_test): Likewise.
5680 (yn_test): Likewise.
5681
dd62fda6
AB
56822012-03-27 Anton Blanchard <anton@samba.org>
5683
5684 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5685 MAP_HUGETLB.
5686 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5687 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5688 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5689
1e3cdfda
AJ
56902012-03-27 David S. Miller <davem@davemloft.net>
5691
b855ab85
DM
5692 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5693
1e3cdfda
AJ
5694 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5695 have-as-vis3 check.
5696
56972012-03-27 Andreas Jaeger <aj@suse.de>
5698
5699 * sysdeps/x86_64/elf/configure.in: Moved to ...
5700 * sysdeps/x86_64/configure.in: ... here.
5701 * sysdeps/x86_64/elf/start.S: Moved to ...
5702 * sysdeps/x86_64/start.S: ... here.
5703 * sysdeps/x86_64/elf/configure: Delete.
5704
5705 * sysdeps/x86_64/configure.in: Merge contents from
5706 sysdeps/i386/configure.in (without i686 check).
5707
5708 * sysdeps/i386/elf/Versions: Merge into ...
5709 * sysdeps/i386/Versions: ... this.
5710 * sysdeps/i386/elf/Versions: Delete file.
5711 * sysdeps/i386/elf/start.S: Moved to ...
5712 * sysdeps/i386/start.S: ...here.
5713 * sysdeps/i386/elf/configure.in: Merge into...
5714 * sysdeps/i386/configure.in: ...here.
5715 * sysdeps/i386/elf/configure.in: Delete file.
5716 * sysdeps/i386/elf/configure: Delete file.
5717
5718 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5719 * debug/backtracesyms.c: ... here.
5720 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5721 * debug/backtracesymsfd.c: ... here.
5722 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5723 * sysdeps/generic/ifunc-sel.h: ... here.
5724
5725 * sysdeps/unix/i386/start.c: Delete file.
5726 * sysdeps/unix/sparc/start.c: Delete file.
5727 * sysdeps/unix/start.c: Delete file.
5728
5729 * sysdeps/sh/elf/configure.in: Moved to ...
5730 * sysdeps/sh/configure.in: ... here.
5731 * sysdeps/sh/elf/start.S: Moved to ...
5732 * sysdeps/sh/start.S: ... here.
5733 * sysdeps/sh/elf/configure: Delete file.
5734
5735 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5736 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5737 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5738 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5739 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5740 * sysdeps/powerpc/powerpc64/start.S: here.
5741 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5742 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5743 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5744 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5745 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5746
5747 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5748 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5749 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5750 * sysdeps/powerpc/powerpc32/start.S: ... here.
5751 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5752 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5753 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5754
5755 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5756 * sysdeps/powerpc/ifunc-sel.h: ... here.
5757 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5758 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5759
5760 * sysdeps/sparc/elf/configure.in: Moved to ...
5761 * sysdeps/sparc/configure.in: ... here.
5762 * sysdeps/sparc/elf/configure: Delete file.
5763 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5764 * sysdeps/sparc/sparc32/start.S: ... here.
5765 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5766 * sysdeps/sparc/sparc64/start.S: ... here.
5767 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5768 * sysdeps/sparc/sparc32/Makefile: ... this.
5769 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5770 * sysdeps/sparc/sparc64/Makefile: ... this.
5771
5772 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5773 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5774 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5775 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5776 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5777 * sysdeps/s390/s390-32/setjmp.S: ... here.
5778 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5779 * sysdeps/s390/s390-32/configure.in: ... here.
5780 * sysdeps/s390/s390-32/elf/configure: Delete file.
5781 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5782 * sysdeps/s390/s390-32/start.S: ... here.
5783
5784 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5785 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5786 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5787 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5788 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5789 * sysdeps/s390/s390-64/setjmp.S: ... here.
5790 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5791 * sysdeps/s390/s390-64/configure.in: ... here
5792 * sysdeps/s390/s390-64/elf/configure: Delete file.
5793 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5794 * sysdeps/s390/s390-64/start.S: ... here.
5795 * sysdeps/s390/s390-64/elf/configure: Delete.
5796
5797 * configure.in: Remove support for elf directories in sysdeps.
5798
5799 * configure: Regenerated.
5800 * sysdeps/i386/configure: Regenerated.
5801 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5802 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5803 * sysdeps/s390/s390-32/configure: Regenerated.
5804 * sysdeps/s390/s390-64/configure: Regenerated.
5805 * sysdeps/sh/configure: Regenerated.
5806 * sysdeps/sparc/configure: Regenerated.
5807 * sysdeps/x86_64/configure: Regenerated.
5808
a3f61311
AS
58092012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5810
c876e002
AS
5811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5812
a3f61311
AS
5813 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5814 denormal result into account.
5815
ac4c54f0
RM
58162012-03-25 Roland McGrath <roland@hack.frob.com>
5817
5818 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5819 Reported by Allan McRae <allan@archlinux.org>.
5820
6a9b9c02
JL
58212012-03-23 Jeff Law <law@redhat.com>
5822
5823 * nss/getnssent.c (__nss_getent): Fix typo.
5824
4c42a0c1
DM
58252012-03-23 David S. Miller <davem@davemloft.net>
5826
5827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5828
1532c7ac
L
58292012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5830
5831 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5832 to pad to uint64_t for each field.
5833 (dl_tls_index): Replace unsigned long with uint64_t.
5834
3ff42526
PP
58352012-03-23 Daniel Jacobowitz <dmj@google.com>
5836 Paul Pluzhnikov <ppluzhnikov@google.com>
5837
5838 [BZ #6528]
5839 * grp/Makefile (otherlibs): Don't set it.
5840 * inet/Makefile (otherlibs): Likewise.
5841 * login/Makefile (otherlibs): Likewise.
5842 * nscd/Makefile (otherlibs): Likewise.
5843 * posix/Makefile (otherlibs): Likewise.
5844 * pwd/Makefile (otherlibs): Likewise.
5845 * rt/Makefile (otherlibs): Likewise.
5846 * sunrpc/Makefile (otherlibs): Likewise.
5847 * nss/Makefile (otherlibs): Likewise.
5848 Add libnss_files to routines and static-only-routines.
5849 ($(objpfx)getent): Remove rule.
5850 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5851 static-only-routines.
5852
7c69cd14
JM
58532012-03-22 Joseph Myers <joseph@codesourcery.com>
5854
5855 [BZ #13892]
5856 * math/s_cexp.c: Include <float.h>.
5857 (__cexp): Handle exp result overflowing not necessarily
5858 overflowing both real and imaginary parts of result.
5859 * math/s_cexpf.c: Likewise.
5860 * math/s_cexpl.c: Likewise.
5861 * math/libm-test.inc (cexp_test): Add more tests.
5862 * sysdeps/i386/fpu/libm-test-ulps: Update.
5863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5864
81b035fe
L
58652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5866
5867 * include/link.h (ELFW): New macro.
5868 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5869 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5870
1da7940c
L
58712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5872
5873 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5874 with uint64_t.
5875
b749dbb9
L
58762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5877
5878 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5879 declaration.
5880 (struct La_x32_retval): Likewise.
5881
2ff87f3f
L
58822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5883
5884 * sysdeps/x86_64/preconfigure.in: New file.
5885 * sysdeps/x86_64/preconfigure: New generated file.
5886
c0df8e69
JM
58872012-03-22 Joseph Myers <joseph@codesourcery.com>
5888
48e44791
JM
5889 [BZ #13824]
5890 * math/e_exp2l.c: Include <float.h>.
5891 (__ieee754_exp2l): Handle overflow and underflow cases
5892 separately. Only pass fractional part of argument to
5893 __ieee754_expl.
5894 * math/libm-test.inc (exp2_test): Add more tests.
5895
c0df8e69
JM
5896 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5897 negating x to take absolute value.
5898 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5899 Likewise.
5900 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5901 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5902 Likewise.
5903 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5904 computing low part if x was negated.
5905 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5906
c8e43ba7
L
59072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5908
5909 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5910 la_x32_gnu_pltexit.
5911 (pltexit): Cast int_retval to ptrdiff_t.
5912 * elf/tst-auditmod3b.c: Likewise.
5913 * elf/tst-auditmod4b.c: Likewise.
5914 * elf/tst-auditmod5b.c: Likewise.
5915 * elf/tst-auditmod6b.c: Likewise.
5916 * elf/tst-auditmod6c.c: Likewise.
5917 * elf/tst-auditmod7b.c: Likewise.
5918
5919 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5920 and x32_gnu_pltexit.
5921
5922 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5923 __ELF_NATIVE_CLASS.
5924 (La_x32_regs): New macro.
5925 (La_x32_retval): Likewise.
5926 (la_x32_gnu_pltenter): New function prototype.
5927 (la_x32_gnu_pltexit): Likewise.
5928
7998fa78
AS
59292012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5930
dcb33988
AS
5931 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5932 exponent.
5933
233fc563
AS
5934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5935
7998fa78
AS
5936 * configure.in (libc_cv_cc_nofma): Check for option to disable
5937 generation of FMA instructions.
5938 * configure: Regenerate.
5939 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5940 * sysdeps/ieee754/dbl-64/Makefile: New file.
5941 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5942 Remove brandred-fma4.
5943 (CFLAGS-brandred-fma4.c): Remove.
5944 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5945 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5946 define.
5947 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5948 define.
5949
8e95c99a
L
59502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5951
5952 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5953 LLONG_MAX != LONG_MAX.
5954 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5955 (_fitoa_word): Likewise.
5956 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5957 LLONG_MAX != LONG_MAX.
5958 * stdio-common/_itowa.h: Include <_itoa.h>.
5959 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5960 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5961 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5962 only if not defined.
5963 (_ITOA_WORD_TYPE): Likewise.
5964 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5965 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5966
6f4db457
DM
59672012-03-21 David S. Miller <davem@davemloft.net>
5968
5969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5970
7785fe5a
L
59712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5972
5973 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5974 of x86_64 when setting libc_cv_slibdir, libdir and
5975 libc_cv_localedir.
5976 * sysdeps/unix/sysv/linux/configure: Regenerated.
5977
4535cd55
JM
59782012-03-21 Joseph Myers <joseph@codesourcery.com>
5979
5980 * manual/lang.texi (Old Varargs): Remove section.
5981 (How Variadic): Update menu.
5982 (va_start): Do not mention varargs.h.
5983
17228132
TS
59842012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5985 Joseph Myers <joseph@codesourcery.com>
5986
5987 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5988 link test.
5989 * configure: Regenerated.
5990
8149f976
TS
59912012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5992
05f3d1f6
UD
5993 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5994 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5995 conformtest.pl
8149f976 5996
1a4ac776
JM
59972012-03-21 Joseph Myers <joseph@codesourcery.com>
5998
be22ce65
JM
5999 * NOTES: Remove.
6000 * Makefile (files-for-dist): Remove NOTES.
6001 (NOTES): Remove rule.
6002 * README: Don't refer to NOTES.
6003 * manual/creature.texi: Don't include macros.texi.
6004 * manual/intro.texi (creature.texi): Remove comment referring to
6005 NOTES.
6006
40b601fb
JM
6007 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6008 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6009 * configure: Regenerated.
6010 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6011 LIBC_TRY_CC_OPTION.
6012 (libc_cv_as_i686): Likewise.
6013 (libc_cv_cc_avx): Likewise.
6014 (libc_cv_cc_sse2avx): Likewise.
6015 (libc_cv_cc_fma4): Likewise.
6016 (libc_cv_cc_novzeroupper): Likewise.
6017 * sysdeps/i386/configure: Regenerated.
6018
1a4ac776
JM
6019 [BZ #13883]
6020 * sysdeps/i386/fpu/s_cexp.S: Remove.
6021 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6022 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6023 * math/libm-test.inc (cexp_test): Add more tests.
6024 * sysdeps/i386/fpu/libm-test-ulps: Update.
6025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6026
a458e7fe
AM
60272012-03-21 Allan McRae <allan@archlinux.org>
6028
6029 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6030
0cb7efc5
JM
60312012-03-21 Joseph Myers <joseph@codesourcery.com>
6032
6033 [BZ #13871]
6034 * math/w_exp2.c: Do not include <float.h>.
6035 (o_threshold, u_threshold): Remove.
6036 (__exp2): Calculate result before checking finiteness and calling
6037 __kernel_standard.
6038 * math/w_exp2f.c: Likewise.
6039 * math/w_exp2l.c: Likewise.
6040 * math/libm-test.inc (exp2_test): Require overflow exception for
6041 1e6 input.
2460d3aa
JM
6042
6043 [BZ #3866]
6044 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6045 range of signed 64-bit integers before using fistpll. Remove
6046 checks for whether integers fit in mantissa bits.
6047 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6048 the range of signed 32-bit integers before using fistpl. Remove
6049 checks for whether integers fit in mantissa bits.
6050 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6051 (__ieee754_powl): Test for y outside the range of signed 64-bit
6052 integers before using fistpll. Reduce 64-bit values to 63-bit
6053 ones as needed.
6054 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6055 divide-by-zero is raised for zero to large negative powers.
6056 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6057 (__ieee754_powl): Test for y outside the range of signed 64-bit
6058 integers before using fistpll. Reduce 64-bit values to 63-bit
6059 ones as needed.
6060 * math/libm-test.inc (pow_test): Add more tests.
6061
eb96ffb0
L
60622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6063
6064 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6065 <stdio-common/_itoa.h>.
6066 * debug/segfault.c: Likewise.
6067 * elf/dl-cache.c: Likewise.
6068 * elf/dl-minimal.c: Likewise.
6069 * elf/dl-misc.c: Likewise.
6070 * elf/dl-sysdep.c: Likewise.
6071 * elf/dl-version.c: Likewise.
6072 * elf/rtld.c: Likewise.
6073 * hurd/hurdsock.c: Likewise.
6074 * hurd/lookup-retry.c: Likewise.
6075 * malloc/malloc.c: Likewise.
6076 * malloc/mtrace.c: Likewise.
6077 * nscd/nscd_getgr_r.c: Likewise.
6078 * nscd/nscd_getpw_r.c: Likewise.
6079 * nscd/nscd_getserv_r.c: Likewise.
6080 * posix/getopt_init.c: Likewise.
6081 * posix/wordexp.c: Likewise.
6082 * stdio-common/_itoa.c: Likewise.
6083 * stdio-common/printf_fphex.c: Likewise.
6084 * stdio-common/vfprintf.c: Likewise.
6085 * string/_strerror.c: Likewise.
6086 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6087 * sysdeps/i386/i686/hp-timing.h: Likewise.
6088 * sysdeps/mach/_strerror.c: Likewise.
6089 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6090 * sysdeps/mach/hurd/sethostid.c: Likewise.
6091 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6092 * sysdeps/mach/xpg-strerror.c: Likewise.
6093 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6094 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6095 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6096 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6097 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6098 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6099 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6100 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6101 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6102 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6103 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6104 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6105 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6106 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6107 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6108 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6109 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6110 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6111 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6112 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6113 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6114
6115 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6116
6117 * stdio-common/_itoa.h: Moved to ...
6118 * sysdeps/generic/_itoa.h: Here.
6119
6120 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6121
6122 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6123 instead of "_itoa.h" and "_itowa.h".
6124 * stdio-common/vfprintf.: Likewise.
6125
d1af992d
L
61262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6127
6128 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6129 <bits/wordsize.h>.
6130 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6131 (__signbit): Likwise.
6132 (llrintf): Likwise.
6133 (llrint): Likwise.
6134
114883e0
L
61352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6136
6137 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6138 __WORDSIZE != 64.
6139
c135cc1b
JM
61402012-03-20 Joseph Myers <joseph@codesourcery.com>
6141
6142 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6143 OVERFLOW_EXCEPTION_OK.
6144 * math/libm-test.inc ("Philosophy"): Update comment about
6145 exception testing.
6146 (OVERFLOW_EXCEPTION): Define.
6147 (OVERFLOW_EXCEPTION_OK): Likewise.
6148 (INVALID_EXCEPTION_OK): Renumber.
6149 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6150 (IGNORE_ZERO_INF_SIGN): Likewise.
6151 (test_exceptions): Handle FE_OVERFLOW.
6152 (exp10_test): Expect overflow exceptions.
6153 (exp2_test): Likewise.
6154 (expm1_test): Likewise.
6155 (nextafter_test): Likewise.
6156 (pow_test): Likewise.
6157 (scalbn_test): Likewise.
6158 (scalbln_test): Likewise.
6159
95443d88
L
61602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6161
6162 * sysdeps/x86_64/bits/atomic.h
6163 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6164 64bit integer.
6165 (atomic_exchange_acq): Likewise.
6166 (__arch_exchange_and_add_body): Likewise.
6167 (__arch_add_body): Likewise.
6168 (atomic_add_negative): Likewise.
6169 (atomic_add_zero): Likewise.
6170
490df6c4
L
61712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6172
c2722551 6173 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6174 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6175
5e52b189
L
61762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6177
6178 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6179 Check __x86_64__ instead of __WORDSIZE.
6180
a9879d4c
L
61812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6182
6183 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6184
5df98260
DM
61852012-03-19 David S. Miller <davem@davemloft.net>
6186
e1497744
DM
6187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6188
5df98260
DM
6189 * sysdeps/sparc/fpu/fenv_private.h: New file.
6190 * sysdeps/sparc/fpu/math_private.h: Use it.
6191 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6192 Remove.
6193 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6194 (libc_feholdexcept_setroundl): Remove.
6195 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6196 Remove.
6197 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6198 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6199
b4c35121
L
62002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6201
6202 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6203 int64_t instead of long int.
6204 (INSERT_WORDS64): Likwise.
6205
56965fd7
L
62062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6207
6208 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6209 _Unwind_GetCFA return to _Unwind_Ptr first.
6210
83d1aec8
JM
62112012-03-19 Joseph Myers <joseph@codesourcery.com>
6212
1897ad44
JM
6213 [BZ #13629]
6214 * math/s_clog.c: Include <float.h>.
6215 (__clog): Scale large or subnormal inputs.
6216 * math/s_clogf.c: Likewise.
6217 * math/s_clogl.c: Likewise.
6218 * math/s_clog10.c: Include <float.h>.
6219 (M_LOG10_2): Define.
6220 (__clog10): Scale large or subnormal inputs.
6221 * math/s_clog10f.c: Likewise.
6222 * math/s_clog10l.c: Likewise.
6223 * math/libm-test.inc (clog_test): Add more tests.
6224 (clog10_test): Likewise.
6225 * sysdeps/i386/fpu/libm-test-ulps: Update.
6226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6227
7726d6a9
JM
6228 [BZ #11451]
6229 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6230 x and y.
6231 * math/libm-test.inc (atan2_test): Add another test.
6232
83d1aec8
JM
6233 * Makerules (common-objdir-compile): Remove.
6234 * sysdeps/unix/Makefile (config-generated): Do not add
6235 $(unix-generated) to variable.
6236 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6237 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6238 Remove rule.
6239 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6240 Likewise.
6241 [generic bits/local_lim.h] (before-compile): Do not append to
6242 variable.
6243 [generic bits/local_lim.h] (common-generated): Likewise.
6244 [generic sys/param.h] (before-compile): Do not append to variable.
6245 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6246 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6247 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6248 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6249 include.
6250 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6251 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6252 [generic sys/param.h] ($(addprefix
6253 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6254 [generic sys/param.h] (common-generated): Do not append to
6255 variable.
6256 [generic sys/param.h] (sysdep_headers): Likewise.
6257 [generic bits/errno.h] (before-compile): Do not append to
6258 variable.
6259 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6260 rule.
6261 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6262 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6263 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6264 [generic bits/errno.h] (common-generated): Do not append to
6265 variable.
6266 [generic bits/ioctls.h] (before-compile): Do not append to
6267 variable.
6268 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6269 rule.
6270 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6271 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6272 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6273 rule.
6274 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6275 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6276 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6277 [generic bits/ioctls.h] (common-generated): Do not append to
6278 variable.
6279 [generic sys/syscall.h] (syscall.h): Remove variable.
6280 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6281 rule.
6282 [generic sys/syscall.h] (before-compile): Do not append to
6283 variable.
6284 [generic sys/syscall.h] (common-generated): Likewise.
6285 * sysdeps/unix/errnos-tmpl.c: Remove file.
6286 * sysdeps/unix/errnos.awk: Likewise.
6287 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6288 * sysdeps/unix/ioctls.awk: Likewise.
6289 * sysdeps/unix/mk-local_lim.c: Likewise.
6290 * sysdeps/unix/snarf-ioctls: Likewise.
6291
4851a949
RH
62922012-03-19 Richard Henderson <rth@twiddle.net>
6293
bd37f2ee
RH
6294 * sysdeps/i386/fpu/fenv_private.h: New file.
6295 * sysdeps/i386/fpu/math_private.h: Use it.
6296 (math_opt_barrier, math_force_eval): Remove.
6297 (libc_feholdexcept_setround_53bit): Remove.
6298 (libc_feupdateenv_53bit): Remove.
6299 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6300 (math_opt_barrier, math_force_eval): Remove.
6301 (libc_feholdexcept): Remove.
6302 (libc_feholdexcept_setround): Remove.
6303 (libc_fetestexcept, libc_fesetenv): Remove.
6304 (libc_feupdateenv_test): Remove.
6305 (libc_feupdateenv, libc_feholdsetround): Remove.
6306 (libc_feresetround): Remove.
6307
d0adc922
RH
6308 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6309 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6310
0fe0f1f8
RH
6311 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6312 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6313 (libc_feupdateenv_testl): New.
6314 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6315 (libc_feupdateenv_testf): New.
6316 (libc_feupdateenv): Use libc_feupdateenv_test.
6317 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6318 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6319
eb92c487
RH
6320 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6321 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6322 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6323 (libc_feresetround_noex): New.
6324 (libc_feresetround_noexf): New.
6325 (libc_feresetround_noexl): New.
6326 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6327 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6328 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6329 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6330 SET_RESTORE_ROUND.
6331 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6332 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6333 (__cos): Likewise.
6334 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6335 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6336 SET_RESTORE_ROUND_NOEX.
6337 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6338 SET_RESTORE_ROUND_NOEXF.
6339 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6340 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6341 (libc_feholdsetroundf): New.
6342 (libc_feresetround, libc_feresetroundf): New.
6343
7d2e8012
RH
6344 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6345 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6346 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6347
b4dabbb4
RH
6348 * sysdeps/generic/math_private.h: Include <fenv.h>.
6349 (default_libc_feholdexcept): New.
6350 (default_libc_feholdexcept_setround): New.
6351 (default_libc_fesetenv, default_libc_feupdateenv): New.
6352 (libc_feholdexcept): Only define if undefined.
6353 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6354 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6355 (libc_feholdexcept_setroundl): Likewise.
6356 (libc_feholdexcept_setround_53bit): Likewise.
6357 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6358 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6359 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6360 (libc_feupdateenv_53bit): Likewise.
6361 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6362 (libc_feholdexcept): Convert from macro to inline function.
6363 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6364 (libc_fesetenv, libc_feupdateenv): Likewise.
6365
4851a949
RH
6366 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6367 not previously defined.
6368 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6369 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6370 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6371 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6372 * sysdeps/ieee754/flt-32/math_private.h: New file.
6373 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6374 math_private.h below SET_FLOAT_WORD.
6375 (__isnan, __isinf_ns, __finite): Remove.
6376 (__isnanf, __isinf_nsf, __finitef): Remove.
6377
e79d442e
AS
63782012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6379
6380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6381
90b80344
DM
63822012-03-17 David S. Miller <davem@davemloft.net>
6383
6384 [BZ #6471]
6385 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6386 for 2.16.
6387
edc21804
DM
63882012-03-16 David S. Miller <davem@davemloft.net>
6389
77e927af
DM
6390 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6391 warnings.
6392
374976dd
DM
6393 [BZ #6471]
6394 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6395 properly.
6396 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6397 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6398 sysdep_routines when subdir is sysvipc.
6399 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6400 __getshmlba helper.
6401
edc21804
DM
6402 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6403
473c3ef3
L
64042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6405
6406 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6407 [__LP64__].
6408
eb0f39b6
L
64092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6410
6411 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6412 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6413 (__lround): Renamed to ...
6414 (__llround): This. Replace long int with long long int.
6415 Define lround functions as aliases of llround functions.
6416 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6417
6b6cd74b
L
64182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6419
6420 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6421 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6422 adresses to uintptr_t. Replace "long int" and "unsigned long
6423 int" with "greg_t" on va_arg.
6424
f1a77b01
L
64252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6426
6427 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6428 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6429
6430 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6431 Move e_machine check before EI_CLASS check. Handle x32
6432 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6433 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6434 SKIP_EM_IA_64 and include
6435 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6436
6437 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6438 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6439 (add_system_dir): New macro.
6440
6441 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6442 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6443
11b90b9f
JM
64442012-03-16 Joseph Myers <joseph@codesourcery.com>
6445
c36e1d23
JM
6446 [BZ #2551]
6447 [BZ #2552]
6448 [BZ #2553]
6449 [BZ #2554]
6450 [BZ #2562]
6451 [BZ #2563]
6452 [BZ #2565]
6453 [BZ #2566]
6454 [BZ #2576]
6455 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6456 (y0): Likewise.
6457 * math/w_j0f.c (j0f): Likewise.
6458 (y0f): Likewise.
6459 * math/w_j0l.c (__j0l): Likewise.
6460 (__y0l): Likewise.
6461 * math/w_j1.c (j1): Likewise.
6462 (y1): Likewise.
6463 * math/w_j1f.c (j1f): Likewise.
6464 (y1f): Likewise.
6465 * math/w_j1l.c (__j1l): Likewise.
6466 (__y1l): Likewise.
6467 * math/w_jn.c (jn): Likewise.
6468 (yn): Likewise.
6469 * math/w_jnf.c (jnf): Likewise.
6470 (ynf): Likewise.
6471 * math/w_jnl.c (__jnl): Likewise.
6472 (__ynl): Likewise.
6473 * math/libm-test.inc (j0_test): Add more tests.
6474 (j1_test): Likewise.
6475 (jn_test): Likewise. Add trailing semicolon to existing test.
6476 (y0_test): Likewise.
6477 (y1_test): Likewise.
6478 * sysdeps/i386/fpu/libm-test-ulps: Update.
6479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6480
11b90b9f
JM
6481 [BZ #13851]
6482 [BZ #13854]
6483 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6484 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6485 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6486 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6487 (__tanl): Set errno for infinite argument.
6488 * sysdeps/i386/fpu/mptan.c: Remove.
6489 * sysdeps/i386/fpu/s_tan.S: Likewise.
6490 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6491 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6492 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6493 * math/libm-test.inc (tan_test): Add more tests and enable more
6494 tests for double and long double.
6495 * sysdeps/i386/fpu/libm-test-ulps: Update.
6496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6497
6a1bd2a1
JK
64982012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6499
6500 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6501 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6502
10a803e0
RM
65032012-03-16 Roland McGrath <roland@hack.frob.com>
6504
6505 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6506 * configure.in: Use it for both main tree and add-ons.
6507 * configure: Regenerated.
6508
f196c7f7
L
65092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6510
6511 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6512
8848d99d
JM
65132012-03-16 Joseph Myers <joseph@codesourcery.com>
6514
96cbe7f4
JM
6515 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6516 in comment.
6517
8848d99d
JM
6518 [BZ #13851]
6519 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6520 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6521 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6523 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6524 infinite argument.
6525 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6526 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6527 != 0 for prec == 2.
6528 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6529 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6530 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6531 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6532 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6533 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6534 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6535 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6536 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6537 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6538 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6539 * math/libm-test.inc (cos_test): Add more tests and enable more
6540 tests for long double.
6541 (sin_test): Likewise.
6542 (sincos_test): Likewise.
6543 * sysdeps/i386/fpu/libm-test-ulps: Update.
6544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6545
dd7f4703
DM
65462012-03-16 David S. Miller <davem@davemloft.net>
6547
6548 * sysdeps/sparc/fpu/math_private.h: New file.
6549
006f1daa
DM
65502012-03-15 David S. Miller <davem@davemloft.net>
6551
c0c83bc8
DM
6552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6553 file.
e6a62e18 6554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6556 file.
e6a62e18
DM
6557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6558 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6562 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6563 sysdep routines.
6564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6565
88cb87d9
DM
6566 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6567 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6568
006f1daa 6569 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6571 sparc-ifunc.h
006f1daa 6572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6574 Likewise.
6575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6576 Likewise.
006f1daa
DM
6577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6581 Likewise.
006f1daa
DM
6582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6587 Likewise.
6588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6589 Likewise.
006f1daa
DM
6590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6594 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6595 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6596 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6597 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6598 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6599 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6601 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6602 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6604 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6605 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6606 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6607 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6608 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6609 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6610 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6611 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6612 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6613 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6614
11e0098e
AS
66152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6616
6617 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6618 scaling.
6619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6620
e85b09d0
AJ
66212012-03-15 Andreas Jaeger <aj@suse.de>
6622
6623 [BZ #13852]
6624 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6625 ieee754/flt-32 implementation for sin, cos and sincos.
6626 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6627 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6628 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6629 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6630 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6631 ieee754/flt-32 implementation for tan.
6632
6633 * math/libm-test.inc (cos_test): Enable some large input tests for
6634 float as well
6635 (sin_test): Likewise.
6636 (sincos_test): Likewise.
6637 (tan_test): Add tests for large input.
6638
6639 * sysdeps/i386/fpu/libm-test-ulps: Update.
6640
81c64153
AJ
66412012-03-15 Andreas Jaeger <aj@suse.de>
6642
6643 [BZ #13658]
6644 * math/libm-test.inc (cos_test): Add more test cases.
6645 (sin_test): Likewise.
6646 (sincos_test): Likewise.
6647
7bbfa5c6
AJ
66482012-03-15 Andreas Jaeger <aj@suse.de>
6649
6650 [BZ #13837]
6651 * math/libm-test.inc (cos_test): Add a test case for large input
6652 value.
6653 (sin_test): Likewise.
6654 (sincos_test): Likewise.
6655
66562012-03-15 Andreas Jaeger <aj@suse.de>,
6657 Joseph Myers <joseph@codesourcery.com>
6658
6659 [BZ #13658]
0671f479 6660 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6661 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6662 * sysdeps/i386/fpu/branred.c: Likewise.
6663 * sysdeps/i386/fpu/dosincos.c: Likewise.
6664 * sysdeps/i386/fpu/mpa.c: Likewise.
6665 * sysdeps/i386/fpu/s_cos.S: Likewise.
6666 * sysdeps/i386/fpu/s_sin.S: Likewise.
6667 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6668 * sysdeps/i386/fpu/sincos32.c: Likewise.
6669
6670 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6671 Define.
6672 (libc_feupdateenv_53bit): Define.
6673 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6674 Define.
6675 (libc_feupdateenv_53bit): Define.
6676
6677 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6678 53 bit (without extend i386 double precision).
6679
6680 * math/libm-test.inc (sincos_test): Add tests for large input.
6681 (sin): Likewise.
6682 (cos): Likewise.
6683
6684 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6685
9cad04ea
AS
66862012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6687
6688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6689
f7062b9a
DM
66902012-03-15 David S. Miller <davem@davemloft.net>
6691
6692 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6693 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6694 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6695 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6700 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6701 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6702 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6703 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6705 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6708 file.
f7062b9a 6709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6711 file.
f7062b9a 6712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6714 file.
f7062b9a 6715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6717 file.
f7062b9a
DM
6718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6719 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6720 fmin/fmax sysdep routines.
6721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6722
7bd951ff
DM
67232012-03-14 David S. Miller <davem@davemloft.net>
6724
559398ab
DM
6725 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6726 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6727 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6728 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6729 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6730 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6731 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6732 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6733 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6734 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6735 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6736 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6737 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6738 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6739 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6740 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6741 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6742 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6743 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6744 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6745 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6746 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6747 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6748 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6749 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6750 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6751 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6752 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6753 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6754 routines.
6755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6756 file.
559398ab 6757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6759 file.
559398ab 6760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6762 file.
559398ab 6763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6765 file.
559398ab 6766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6768 file.
559398ab 6769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6771 file.
6772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6773 file.
6774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6775 file.
6776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6777 file.
6778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6779 New file.
6780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6781 file.
6782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6783 file.
559398ab 6784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6786 file.
559398ab 6787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6789 file.
559398ab 6790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6792 file.
559398ab 6793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6795 VIS3 routines.
559398ab
DM
6796
6797 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6798 New file.
6799
5a1c1e32
DM
6800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6801
eae47a36
DM
6802 * sysdeps/sparc/configure.in: New file.
6803 * sysdeps/sparc/configure: Generate.
6804 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6805 * configure: Regenerate.
6806 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6807 * config.make.in (have-as-vis3): New.
6808 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6809 available use -Av9d instead of -Av9a.
6810 * sysdeps/sparc/sparc64/Makefile: Likewise.
6811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6813 New file.
6814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6815 file.
6816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6817 New file.
6818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6819 file.
eae47a36
DM
6820 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6821 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6822 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6823 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6824 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6825
c0c83bc8
DM
6826 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6827 fzeros/fnegs to load 0x80000000 into a float register instead of
6828 using the stack.
7bd951ff
DM
6829 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6830
bd951ccb
JM
68312012-03-14 Joseph Myers <joseph@codesourcery.com>
6832
6833 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6834 bits/syscall.h.
6835 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6836 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6837 ($(inst_includedir)/bits/syscall.h): Remove rule.
6838 ($(objpfx)bits/syscall.d): Include instead of
6839 $(objpfx)syscall-list.d.
6840 (generated): Change syscall-list.h and syscall-list.d to
6841 bits/syscall.h and bits/syscall.d.
6842
bb4e6db2
RM
68432012-03-14 Roland McGrath <roland@hack.frob.com>
6844
6845 [BZ #13846]
6846 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6847
aa4a2ae1
JM
68482012-03-14 Joseph Myers <joseph@codesourcery.com>
6849
e456826d
JM
6850 [BZ #13841]
6851 * math/s_csqrt.c: Include <float.h>.
6852 (__csqrt): Scale large or subnormal inputs.
6853 * math/s_csqrtf.c: Likewise.
6854 * math/s_csqrtl.c: Likewise.
6855 * math/libm-test.inc (csqrt_test): Add more tests.
6856 * sysdeps/i386/fpu/libm-test-ulps: Update.
6857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6858
aa4a2ae1
JM
6859 [BZ #13840]
6860 * math/libm-test.inc (hypot_test): Add more tests.
6861
7c10fd35
DM
68622012-03-13 David S. Miller <davem@davemloft.net>
6863
6864 [BZ #13840]
6865 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6866 double-precision for the calculation instead of scaling.
6867
f453b98b
JM
68682012-03-13 Joseph Myers <joseph@codesourcery.com>
6869
6870 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6871 manipulate bits before adding and subtracting TWO52[sx].
6872 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6873 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6874 Likewise.
6875 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6876
09a3453f
DM
68772012-03-13 David S. Miller <davem@davemloft.net>
6878
8e59da90
DM
6879 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6880 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6881 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6882 rtld-global-offsets.h
6883 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6884
2a8ab7f2
DM
6885 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6886 large parameters.
6887
10f62770
DM
6888 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6889
5f0bdb18
DM
6890 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6891 'err' in the ifdef scope in which it is actually used.
6892
09a3453f
DM
6893 * nss/nss_db/db-init.c: Include string.h
6894
b4b2eb5e
DM
68952012-03-12 David S. Miller <davem@davemloft.net>
6896
98bb2f1c
DM
6897 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6898 masking out of the most significant byte of random value used.
6899 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6900 Fix coding style in previous change.
6901
b4b2eb5e
DM
6902 * sysdeps/unix/sysv/linux/kernel-features.h
6903 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6904 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6905 expression.
6906 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6907 later.
6908
6e226b09
DM
69092012-03-11 David S. Miller <davem@davemloft.net>
6910
a1bcbd40
DM
6911 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6912 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6913 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6914 for 'resultvar' otherwise things get truncated on 64-bit.
6915
cb9d6174
DM
6916 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6917 Fix masking out of the most significant byte of random value used.
6918
6e226b09
DM
6919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6920
058c132d
AS
69212012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6922
6923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6924
2d2cd515
DM
69252012-03-09 David S. Miller <davem@davemloft.net>
6926
6927 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6928 variables with appropriate CPP guards.
6929 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6930 frame pointer, not the stack pointer. Correct layout comments. Fix test
6931 on resulting framesize and the management of the outregs buffer for pltexit.
6932 Preserve floating point return values across _dl_call_pltexit call.
6933 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6934 framesize and the management of the outregs buffer for pltexit.
6935 Preserve floating point return values across _dl_call_pltexit
6936 call.
6937 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6938 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6939 (print_exit): Fix format string for return register value.
6940
9a07f9d0
JM
69412012-03-10 Joseph Myers <joseph@codesourcery.com>
6942
6943 * sunrpc/Makefile (others): Add rpcgen.
6944 ($(objpfx)rpcgen): Remove special build rule and dependency on
6945 libc.
6946 * sunrpc/rpcgen.c: New file.
6947
547b5e30
PE
69482012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6949
c524201a
PE
6950 [BZ #13673]
6951 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6952 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6953 * sysdeps/i386/crti.S: Likewise.
6954 * sysdeps/i386/crtn.S: Likewise.
6955 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6956 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6957 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6958 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6959 * sysdeps/sh/crti.S: Likewise.
6960 * sysdeps/sh/crtn.S: Likewise.
6961 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6962
7b6235f2
PE
6963 [BZ #13673]
6964 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6965 with URL.
6966 * locale/programs/locfile-kw.gperf: Likewise.
6967 * locale/programs/charmap-kw.h: Regenerated.
6968 * locale/programs/locfile-kw.h: Likewise.
6969
547b5e30
PE
6970 [BZ #13673]
6971 * intl/plural.y: Replace FSF snail mail address with URL.
6972 * intl/plural.c: Regenerated.
6973
5f0a5dae
RH
69742012-03-09 Richard Henderson <rth@twiddle.net>
6975
6976 * include/math_private.h: Remove file.
6977 * math/math_private.h: Move file ...
6978 * sysdeps/generic/math_private.h: ... here.
6979
b8c03620
RH
6980 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6981 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6982 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6983
4e234f5d 6984 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6985 and <math_private.h>.
6986 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6987 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6988 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6989 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6990 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6991 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6992 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6993 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6994 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6995 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6996 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6997 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6998 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6999 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7000 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7001 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7002 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7003 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7004 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7005 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7006 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7007 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7008 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7009 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7010 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7011 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7012 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7013 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7014 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7015 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7016 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7017 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7018 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7019 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7020 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7021 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7022 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7023 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7024 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7025 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7026 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7027 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7028 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7029 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7030 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7031 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7032 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7033 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7034 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7035 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7036 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7037 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7038 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7039 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7040 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7041 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7042 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7043 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7044 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7045 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7046 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7047 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7048 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7049 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7050 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7051 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7052 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7053 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7054 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7055 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7056 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7057 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7058 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7059 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7060 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7061 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7062 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7063 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7064 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7065 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7066 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7067 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7068 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7069 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7070 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7071 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7072 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7073 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7074 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7075 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7076 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7077 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7078 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7079 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7080 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7081 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7082 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7083 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7084 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7085 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7086 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7087 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7088 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7089 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7090 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7091 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7092 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7093 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7094 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7095 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7096 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7097 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7098 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7099 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7100 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7101 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7102 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7103 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7104 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7105 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7106 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7107 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7108 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7109 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7110 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7111 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7112 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7113 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7114 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7115 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7116 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7117 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7118 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7119 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7120 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7121 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7122 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7123 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7124 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7125 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7126 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7127 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7128 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7129 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7130 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7131 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7132 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7133 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7134 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7135 * sysdeps/ieee754/k_standard.c: Likewise.
7136 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7137 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7138 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7139 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7140 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7141 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7142 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7143 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7144 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7145 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7146 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7147 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7148 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7149 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7150 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7151 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7152 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7153 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7154 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7155 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7156 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7157 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7158 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7159 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7160 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7161 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7162 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7163 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7164 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7165 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7166 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7167 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7168 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7169 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7170 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7171 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7172 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7173 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7174 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7175 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7176 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7177 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7178 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7179 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7180 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7181 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7182 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7183 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7184 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7185 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7186 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7187 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7188 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7189 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7190 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7191 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7192 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7193 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7194 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7195 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7196 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7197 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7198 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7199 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7200 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7201 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7202 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7203 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7204 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7205 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7206 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7207 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7208 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7209 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7210 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7211 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7212 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7213 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7214 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7215 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7216 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7217 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7218 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7219 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7220 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7221 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7222 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7223 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7224 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7225 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7226 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7227 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7228 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7229 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7230 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7231 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7232 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7233 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7234 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7235 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7236 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7237 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7238 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7239 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7240 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7241 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7242 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7243 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7244 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7245 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7246 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7247 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7248 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7249 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7250 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7251 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7252 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7253 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7254 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7255 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7256 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7257 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7258 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7259 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7260 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7261 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7262 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7263 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7264 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7265 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7266 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7267 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7268 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7269 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7270 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7271 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7272 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7274 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7275 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7276 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7277 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7278 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7279 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7280 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7281 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7282 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7283 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7284 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7285 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7286 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7287 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7288 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7289 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7290 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7291 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7292 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7293 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7294 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7295 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7296 * sysdeps/ieee754/s_lib_version.c: Likewise.
7297 * sysdeps/ieee754/s_matherr.c: Likewise.
7298 * sysdeps/ieee754/s_signgam.c: Likewise.
7299 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7300 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7301 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7302 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7303 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7304 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7305 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7306 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7307 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7308 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7309 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7310 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7311 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7312 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7313 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7314 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7315 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7316 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7317 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7318 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7319 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7320
1991fa03
JM
73212012-03-09 Joseph Myers <joseph@codesourcery.com>
7322
7323 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7324 * sunrpc/rpc_main.c: Likewise.
7325 * sunrpc/rpc_svcout.c: Likewise.
7326
60d6f5a6
DM
73272012-03-09 David S. Miller <davem@davemloft.net>
7328
7329 * include/math_private.h: New file.
7330
4962050e
JM
73312012-03-09 Joseph Myers <joseph@codesourcery.com>
7332
02a6f887
JM
7333 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7334 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7335 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7336 from <bits/socket_type.h>.
7337 (enum __socket_type): Don't define here.
7338 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7339 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7340 bits/socket_type.h.
7341
c6e013c1
JM
7342 [BZ #13566]
7343 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7344 checking __USE_GNU.
7345
4962050e
JM
7346 * Makerules ($(inst_includedir)/%.h): New rule.
7347 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7348 (install-others): Remove variable setting.
7349 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7350
38842f45
RH
73512012-03-08 Richard Henderson <rth@twiddle.net>
7352
67bb6da6
RH
7353 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7354 from macro to inline function; merge with the
7355 !__LIBC_INTERNAL_MATH_INLINES version.
7356 (__ieee754_sqrtf): Likewise.
7357
15194b4b
RH
7358 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7359 to inline function.
7360 (__rintf, __floor, __floorf): Likewise.
7361
64e21ede
RH
7362 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7363 macro to inline function.
7364 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7365
38842f45
RH
7366 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7367 not <math/math_private.h>.
7368
c64bf5fe
DM
73692012-03-08 David S. Miller <davem@davemloft.net>
7370
7371 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7372 copyright year.
7373 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7374
82d86f28
TS
73752012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7376
7377 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7378 normalization.
7379 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7380 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7381
aea5d727
UD
73822012-03-08 Ulrich Drepper <drepper@gmail.com>
7383
7384 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7385 be defined individually, they must be defined as a block. Define
7386 S for printing a string instead of hidint the different by using a
7387 macro for adding the 'l'.
7388 * stdio-common/tst-fphex-wide.c: Adjust.
7389
70bca0a3
MP
73902012-03-07 Marek Polacek <polacek@redhat.com>
7391
7392 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7393
65b81130
MP
73942012-03-08 Marek Polacek <polacek@redhat.com>
7395
7396 [BZ #13806]
7397 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7398 * stdio-common/tst-fphex.c: Define a few macros to make the
7399 test reusable. Use them.
7400 * stdio-common/tst-fphex-wide.c: New file.
7401
07037eeb
JM
74022012-03-08 Joseph Myers <joseph@codesourcery.com>
7403
a7a93d50
JM
7404 [BZ #6911]
7405 * manual/macros.texi (gnusystems): New macro.
7406 (nongnusystems): Likewise.
7407 (gnulinuxhurdsystems): Likewise.
7408 (gnuhurdsystems): Likewise..
7409 (gnulinuxsystems): Likewise.
7410 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7411 variants of the GNU system, not "GNU system".
7412 * manual/conf.texi: Likewise.
7413 * manual/errno.texi: Likewise. Update example of errno macro
7414 expansion.
7415 * manual/filesys.texi: Likewise.
7416 (getumask): Document as specific to GNU/Hurd.
7417 * manual/install.texi: Likewise. Reword some references to
7418 GNU/Linux.
7419 * manual/intro.texi: Likewise.
7420 * manual/io.texi: Likewise.
7421 (File Name Portability): Detail which constraints are inapplicable
7422 to all GNU systems and which are only inapplicable to GNU/Hurd.
7423 * manual/job.texi: Likewise.
7424 * manual/llio.texi: Likewise.
7425 (O_NOCTTY): Document as present on GNU/Linux.
7426 * manual/maint.texi: Likewise.
7427 * manual/memory.texi: Likewise.
7428 * manual/pattern.texi: Likewise.
7429 * manual/pipe.texi: Likewise.
7430 * manual/process.texi: Likewise.
7431 * manual/resource.texi: Likewise.
7432 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7433 child on GNU/Hurd.
7434 * manual/setjmp.texi: Likewise.
7435 * manual/signal.texi: Likewise.
7436 * manual/startup.texi: Likewise.
7437 * manual/stdio.texi: Likewise.
7438 * manual/terminal.texi: Likewise.
7439 (ONLCR): Document as POSIX.
7440 (OXTABS): Document availability on GNU/Linux as XTABS.
7441 (ONOEOT): Document availability separately from other bits.
7442 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7443 * manual/time.texi: Likewise.
7444 * manual/users.texi: Likewise.
7445 * INSTALL: Regenerated.
7446 * sysdeps/gnu/errlist.c: Regenerated.
7447
07037eeb
JM
7448 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7449 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7450 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7451 puts.
7452 * configure: Regenerated.
7453
d1d3431a
JM
74542012-03-07 Joseph Myers <joseph@codesourcery.com>
7455
af6a1e37
JM
7456 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7457 default includes instead of AC_HEADER_CHECK.
7458 * sysdeps/i386/configure: Regenerated.
7459
d1d3431a
JM
7460 [BZ #10716]
7461 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7462 * math/s_cacoshf.c (__cacoshf): Likewise.
7463 * math/s_cacoshl.c (__cacoshl): Likewise.
7464 * math/s_casinh.c (__casinh): Set signs of result from argument.
7465 * math/s_casinhf.c (__casinhf): Likewise.
7466 * math/s_casinhl.c (__casinhl): Likewise.
7467 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7468 (casinh_test): Add more tests.
7469 * sysdeps/i386/fpu/libm-test-ulps: Update.
7470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7471
482ff4da
UD
74722012-03-07 Ulrich Drepper <drepper@gmail.com>
7473
872fda05
UD
7474 * po/zh_TW.po: Update from translation team.
7475
a4300c7a
UD
7476 * login/Makefile (distribute): Remove variable.
7477 * catgets/Makefile: Likewise.
7478 * mach/Makefile: Likewise.
7479 * malloc/Makefile: Likewise.
7480 * misc/Makefile: Likewise.
7481 * iconv/Makefile: Likewise.
7482 * nscd/Makefile: Likewise.
7483 * hurd/Makefile: Likewise.
7484 * manual/Makefile: Likewise.
7485 * locale/Makefile: Likewise.
7486 * intl/Makefile: Likewise.
7487 * conform/Makefile: Likewise.
7488 * nss/Makefile: Likewise.
7489 * time/Makefile: Likewise.
7490 * soft-fp/Makefile: Likewise.
7491 * dirent/Makefile: Likewise.
7492 * gmon/Makefile: Likewise.
7493 * po/Makefile: Likewise.
7494 * rt/Makefile: Likewise.
7495 * socket/Makefile: Likewise.
7496 * math/Makefile: Likewise.
7497 * signal/Makefile: Likewise.
7498 * debug/Makefile: Likewise.
7499 * elf/Makefile: Likewise.
7500 * timezone/Makefile: Likewise.
7501 * stdlib/Makefile: Likewise.
7502 * iconvdata/Makefile: Likewise.
7503 * sunrpc/Makefile: Likewise.
7504 * io/Makefile: Likewise.
7505 * argp/Makefile: Likewise.
7506 * inet/Makefile: Likewise.
7507 * hesiod/Makefile: Likewise.
7508 * grp/Makefile: Likewise.
7509 * csu/Makefile: Likewise.
7510 * wctype/Makefile: Likewise.
7511 * crypt/Makefile: Likewise.
7512 * libio/Makefile: Likewise.
7513 * string/Makefile: Likewise.
7514 * nis/Makefile: Likewise.
7515 * resolv/Makefile: Likewise.
7516 * stdio-common/Makefile: Likewise.
7517 * wcsmbs/Makefile: Likewise.
7518 * dlfcn/Makefile: Likewise.
7519 * posix/Makefile: Likewise.
7520
3b7c4e74 7521 [BZ #6959]
482ff4da
UD
7522 * timezone/Makefile: Don't install timezone files, just the programs
7523 and scripts.
7524
f72ed77d
UD
75252012-03-06 Ulrich Drepper <drepper@gmail.com>
7526
a000466f
UD
7527 * nss/databases.def: Add missing gshadow entry.
7528
f72ed77d
UD
7529 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7530
a53b7a4e
MP
75312012-03-06 Marek Polacek <polacek@redhat.com>
7532
7533 [BZ #13726]
7534 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7535 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7536 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7537 * stdio-common/tst-long-dbl-fphex.c: New file.
7538
e9258400
DM
75392012-03-06 David S. Miller <davem@davemloft.net>
7540
7541 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7542 (set_obp_int): New function.
7543 (get_obp_int): New function.
7544 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7545 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7546 Avoid unused variable warnings on 'val' and use builtin_expect.
7547 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7548 __builtin_expect.
e9258400
DM
7549 (INLINE_CLONE_SYSCALL): Likewise.
7550
3bd2c723
DM
75512012-03-05 David S. Miller <davem@davemloft.net>
7552
7553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7554
bbb78d03
AS
75552012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7556
884c5db4
AS
7557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7558
bbb78d03
AS
7559 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7560 only for |x| >= 40.
7561 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7562
1c9f702a 75632012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7564
7565 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7566 Replace gettimeofday with __vdso_gettimeofday.
7567
7be16f82
RM
7568 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7569 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7570 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7571
7572 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7573 time with __vdso_time.
7574
ed58a00f
JM
75752012-03-05 Joseph Myers <joseph@codesourcery.com>
7576
7577 * manual/lang.texi (size_t): Note types to which size_t may be
7578 equivalent with the GNU C Library, but do not describe when
7579 differences between them are significant.
7580
30ee4ced
AJ
75812012-03-05 Andreas Jaeger <aj@suse.de>
7582
7583 * sysdeps/i386/fpu/libm-test-ulps: Update.
7584
b7cd39e8
JM
75852012-03-05 Joseph Myers <joseph@codesourcery.com>
7586
7587 [BZ #3976]
7588 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7589 (__ieee754_pow): Save and restore rounding mode and use
7590 round-to-nearest for main computations.
7591 * math/libm-test.inc (pow_test_tonearest): New function.
7592 (pow_test_towardzero): Likewise.
7593 (pow_test_downward): Likewise.
7594 (pow_test_upward): Likewise.
7595 (main): Call the new functions.
7596 * sysdeps/i386/fpu/libm-test-ulps: Update.
7597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7598
7599 [BZ #3976]
7600 * math/libm-test.inc (cosh_test_tonearest): New function.
7601 (cosh_test_towardzero): Likewise.
7602 (cosh_test_downward): Likewise.
7603 (cosh_test_upward): Likewise.
7604 (sinh_test_tonearest): Likewise.
7605 (sinh_test_towardzero): Likewise.
7606 (sinh_test_downward): Likewise.
7607 (sinh_test_upward): Likewise.
7608 (main): Call the new functions.
7609 * sysdeps/i386/fpu/libm-test-ulps: Update.
7610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7611
6c6a98c9
TV
76122012-03-05 Tom de Vries <tom@codesourcery.com>
7613
7614 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7615 default stack guard is set in last bytes.
7616 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7617
21bb2d2e 76182012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7619
21bb2d2e 7620 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7621
21bb2d2e
AJ
7622 [BZ #13656]
7623 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7624 possibly allocate from heap instead of stack.
7625 * stdio-common/bug-vfprintf-nargs.c: New file.
7626 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7627
c6922934
AS
76282012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7629
7630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7631
bc957d53
MP
76322012-03-03 Marek Polacek <polacek@redhat.com>
7633
7634 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7635 * math/math_private.h: Likewise.
7636 * stdlib/tst-strtod.c: Likewise.
7637 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7638 * sysdeps/x86_64/bits/atomic.h: Likewise.
7639
6358490d
DM
76402012-03-02 David S. Miller <davem@davemloft.net>
7641
7642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7646 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7647 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7648 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7649 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7650
01ae168d
RM
76512012-03-02 Roland McGrath <roland@hack.frob.com>
7652
d9a17c07
RM
7653 [BZ #13792]
7654 * manual/examples/README: New file, says the example source files
7655 can be used under GPL>=2.
7656 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7657 line containing just "*/".
7658 * manual/examples/add.c: Add copyright header (GPL>=2).
7659 * manual/examples/argp-ex1.c: Likewise.
7660 * manual/examples/argp-ex2.c: Likewise.
7661 * manual/examples/argp-ex3.c: Likewise.
7662 * manual/examples/argp-ex4.c: Likewise.
7663 * manual/examples/atexit.c: Likewise.
7664 * manual/examples/db.c: Likewise.
7665 * manual/examples/dir.c: Likewise.
7666 * manual/examples/dir2.c: Likewise.
7667 * manual/examples/execinfo.c: Likewise.
7668 * manual/examples/filecli.c: Likewise.
7669 * manual/examples/filesrv.c: Likewise.
7670 * manual/examples/fmtmsgexpl.c: Likewise.
7671 * manual/examples/genpass.c: Likewise.
7672 * manual/examples/inetcli.c: Likewise.
7673 * manual/examples/inetsrv.c: Likewise.
7674 * manual/examples/isockad.c: Likewise.
7675 * manual/examples/longopt.c: Likewise.
7676 * manual/examples/memopen.c: Likewise.
7677 * manual/examples/memstrm.c: Likewise.
7678 * manual/examples/mkfsock.c: Likewise.
7679 * manual/examples/mkisock.c: Likewise.
7680 * manual/examples/mygetpass.c: Likewise.
7681 * manual/examples/pipe.c: Likewise.
7682 * manual/examples/popen.c: Likewise.
7683 * manual/examples/rprintf.c: Likewise.
7684 * manual/examples/search.c: Likewise.
7685 * manual/examples/select.c: Likewise.
7686 * manual/examples/setjmp.c: Likewise.
7687 * manual/examples/sigh1.c: Likewise.
7688 * manual/examples/sigusr.c: Likewise.
7689 * manual/examples/stpcpy.c: Likewise.
7690 * manual/examples/strdupa.c: Likewise.
7691 * manual/examples/strftim.c: Likewise.
7692 * manual/examples/strncat.c: Likewise.
7693 * manual/examples/subopt.c: Likewise.
7694 * manual/examples/swapcontext.c: Likewise.
7695 * manual/examples/termios.c: Likewise.
7696 * manual/examples/testopt.c: Likewise.
7697 * manual/examples/testpass.c: Likewise.
7698 * manual/examples/timeval_subtract.c: Likewise.
7699
01ae168d
RM
7700 [BZ #13792]
7701 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7702 function to ...
7703 * manual/timeval_subtract.c.texi: ... here, new file.
7704
49efa33d
DM
77052012-03-02 David S. Miller <davem@davemloft.net>
7706
7707 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7708
28afd92d
JM
77092012-03-02 Joseph Myers <joseph@codesourcery.com>
7710
804360ed
JM
7711 [BZ #3976]
7712 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7713 (__sin): Save and restore rounding mode and use round-to-nearest
7714 for all computations.
7715 (__cos): Save and restore rounding mode and use round-to-nearest
7716 for all computations.
7717 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7718 <fenv.h>.
7719 (tan): Save and restore rounding mode and use round-to-nearest for
7720 all computations.
7721 * math/libm-test.inc (cos_test_tonearest): New function.
7722 (cos_test_towardzero): Likewise.
7723 (cos_test_downward): Likewise.
7724 (cos_test_upward): Likewise.
7725 (sin_test_tonearest): Likewise.
7726 (sin_test_towardzero): Likewise.
7727 (sin_test_downward): Likewise.
7728 (sin_test_upward): Likewise.
7729 (tan_test_tonearest): Likewise.
7730 (tan_test_towardzero): Likewise.
7731 (tan_test_downward): Likewise.
7732 (tan_test_upward): Likewise.
7733 (main): Call the new functions.
7734 * sysdeps/i386/fpu/libm-test-ulps: Update.
7735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7736
a6d06d7b
JM
7737 [BZ #10135]
7738 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7739 small n, then large n, before computing and testing k+n.
7740 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7741 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7742 Likewise.
7743 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7744 Likewise.
7745 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7746 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7747 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7748 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7749 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7750 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7751 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7752 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7753 * math/libm-test.inc (scalbn_test): Add more tests.
7754 (scalbln_test): Likewise.
7755
07e12bb3
JM
7756 * manual/filesys.texi (mode_t): Describe constraints on size and
7757 signedness, not exact equivalence to a particular type.
7758 (ino_t): Likewise.
7759 (ino64_t): Likewise.
7760 (dev_t): Likewise.
7761 (nlink_t): Likewise.
7762 (blkcnt_t): Likewise.
7763 (blkcnt64_t): Likewise.
7764 * manual/llio.texi (off_t): Likewise.
7765
28afd92d
JM
7766 [BZ #3976]
7767 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7768 (__ieee754_exp): Save and restore rounding mode and use
7769 round-to-nearest for all computations.
7770 * math/libm-test.inc (exp_test_tonearest): New function.
7771 (exp_test_towardzero): Likewise.
7772 (exp_test_downward): Likewise.
7773 (exp_test_upward): Likewise.
7774 (main): Call the new functions.
7775 * sysdeps/i386/fpu/libm-test-ulps: Update.
7776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7777
b1eeb65d
CD
77782012-03-01 Chris Demetriou <cgd@google.com>
7779
7780 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7781 have predictable order.
7782
53362a4b
DM
77832012-03-01 David S. Miller <davem@davemloft.net>
7784
3c969083
DM
7785 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7786
759707de
DM
7787 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7788 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7789 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7790 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7791
dfdb8ff2
DM
7792 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7793 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7794 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7796 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7797 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7798 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7799 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7800 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7801
ead89f96
DM
7802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7803
7f66bd07
DM
7804 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7805 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7806 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7807
53362a4b
DM
7808 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7809 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7810 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7811 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7812 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7813 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7814 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7815 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7816 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7817 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7818 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7819 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7820 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7821 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7822 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7823 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7824 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7825 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7826 * sysdeps/sparc/elf/configure: Regenerated.
7827
7b1902cb
JM
78282012-03-01 Joseph Myers <joseph@codesourcery.com>
7829
bec039bc
JM
7830 * configure.in (AS, LD): Require binutils 2.20 or later.
7831 * configure: Regenerated.
7832 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7833 as required minimum version.
7834 * INSTALL: Regenerated.
7835
7b1902cb
JM
7836 [BZ #2541]
7837 [BZ #4108]
7838 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7839 before squaring exponent.
7840 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7841 bottom long double and 27 bits of top long double before squaring
7842 exponent.
7843 * math/libm-test.inc (erfc_test): Add more tests.
7844 * sysdeps/i386/fpu/libm-test-ulps: Update.
7845 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7847
f775c276
KT
78482012-03-01 Kai Tietz <ktietz@redhat.com>
7849
7850 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7851 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7852 containing bit-fields.
7853 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7854 * soft-fp/single.h (_FP_UNION_S): Likewise.
7855 * soft-fp/double.h (_FP_UNION_D): Likewise.
7856
5b8a4d4a
JM
78572012-02-29 Joseph Myers <joseph@codesourcery.com>
7858
0bab47b6
JM
7859 [BZ #13786]
7860 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7861 not include ../strcmp.S.
7862 [USE_AS_STRNCASECMP_L]: Likewise.
7863 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7864 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7865 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7866 (__strncasecmp_l_ia32): Define as alias to
7867 __strncasecmp_l_nonascii.
7868
0fcad3e2
JM
7869 [BZ #5794]
7870 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7871 * sysdeps/i386/fpu/libm-test-ulps: Update.
7872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7873
5b8a4d4a
JM
7874 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7876
8fdceb2e
JL
78772012-02-29 Jeff Law <law@redhat.com>
7878
7879 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7880 out of bounds read.
7881
1f393a11
MP
78822012-02-29 Marek Polacek <polacek@redhat.com>
7883
7884 [BZ #13706]
7885 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7886 * elf/Makefile: Add rules to run tst-unused-dep.out.
7887
8847f037
DM
78882012-02-28 David S. Miller <davem@davemloft.net>
7889
7890 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7891 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7892 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7893 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7894 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7895 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7896
169d7f11
JM
78972012-02-29 Joseph Myers <joseph@codesourcery.com>
7898
7899 * math/libm-test.inc (llround_test): Move one test from
7900 lround_test. Use TEST_f_L in moved test.
7901 (lround_test): Move misplaced test to llround_test. Add testcase
7902 from bug 2561.
7903
39adf059
UD
79042012-02-28 Ulrich Drepper <drepper@gmail.com>
7905
7906 * sysdeps/x86_64/fpu/e_expf.S: New file.
7907 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7908
71b5d1c5
SB
79092012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7910
7911 [BZ #13637]
7912 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7913 of remain_len that may cause incomplete multi-byte character and
7914 false match.
7915 * posix/bug-regex33.c: New file.
7916 * posix/Makefile (tests): Add bug-regex33.
7917
1f77f049
JM
79182012-02-28 Joseph Myers <joseph@codesourcery.com>
7919
7920 * manual/macros.texi: New file.
7921 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7922 * manual/libc.texinfo: Include macros.texi.
7923 * manual/creatute.texi: Likewise.
7924 * manual/install.texi: Likewise.
7925 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7926 @glibcadj{} in references to the GNU C Library.
7927 * manual/charset.texi: Likewise.
7928 * manual/conf.texi: Likewise.
7929 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7930 when not using those macros.
7931 * manual/creature.texi: Likewise.
7932 * manual/crypt.texi: Likewise.
7933 * manual/errno.texi: Likewise.
7934 * manual/filesys.texi: Likewise.
7935 * manual/header.texi: Likewise.
7936 * manual/install.texi: Likewise.
7937 * manual/intro.texi: Likewise.
7938 * manual/io.texi: Likewise.
7939 * manual/job.texi: Likewise.
7940 * manual/lang.texi: Likewise.
7941 * manual/libc.texiinfo: Likewise.
7942 * manual/llio.texi: Likewise.
7943 * manual/locale.texi: Likewise.
7944 * manual/maint.texi: Likewise.
7945 * manual/math.texi: Likewise.
7946 * manual/memory.texi: Likewise.
7947 * manual/message.texi: Likewise.
7948 * manual/nss.texi: Likewise.
7949 * manual/pattern.texi: Likewise.
7950 * manual/process.texi: Likewise.
7951 * manual/resource.texi: Likewise.
7952 * manual/search.texi: Likewise.
7953 * manual/setjmp.texi: Likewise.
7954 * manual/signal.texi: Likewise.
7955 * manual/socket.texi: Likewise.
7956 * manual/startup.texi: Likewise.
7957 * manual/stdio.texi: Likewise.
7958 * manual/string.texi: Likewise.
7959 * manual/sysinfo.texi: Likewise.
7960 * manual/syslog.texi: Likewise.
7961 * manual/terminal.texi: Likewise.
7962 * manual/time.texi: Likewise.
7963 * manual/users.texi: Likewise.
7964 * INSTALL: Regenerated.
7965 * NOTES: Regenerated.
d40c5d54 7966 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7967
450bf206
AS
79682012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7969
7970 * include/dirent.h: Include <dirstream.h> before
7971 <dirent/dirent.h>.
7972
741a235b
DM
79732012-02-28 David S. Miller <davem@davemloft.net>
7974
7975 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7976 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7977 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7978 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7979
d6b5aa58
DM
79802012-02-27 David S. Miller <davem@davemloft.net>
7981
1aff59a3
DM
7982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7984 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7985 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7986
d6b5aa58
DM
7987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7988 frame pointer instead of stack pointer relative arg slot.
7989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7990 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7991 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7992
433f48bf
CD
79932012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7994
7995 [BZ #3992]
7996 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7997
d674b76d
DM
79982012-02-27 David S. Miller <davem@davemloft.net>
7999
8000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8004 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8005 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8006 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8007 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8008
0e7727f7
JM
80092012-02-27 Joseph Myers <joseph@codesourcery.com>
8010
8011 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8012 later. Allow versions 5-9.
43be4ca2 8013 * configure: Regenerated.
0e7727f7
JM
8014 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8015 required minimum version and 4.6 as recommended version. Do not
8016 mention bugs in GCC 2.7 and 2.8.
43be4ca2 8017 * INSTALL: Regenerated.
0e7727f7 8018
a78bc654
DM
80192012-02-27 David S. Miller <davem@davemloft.net>
8020
428d5830
DM
8021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8025 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8026 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8027 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8028 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8029
a78bc654
DM
8030 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8031 manipulate bits before adding and subtracting TWO112[sx].
8032 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8033
4579f81c
RM
80342012-02-27 Roland McGrath <roland@hack.frob.com>
8035
36c8acb4
RM
8036 [BZ #13775]
8037 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8038 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8039 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8040 being in POSIX, because they are in 1003.1-2008.
8041
84ad622b
RM
8042 * rt/tst-aio.c: Include <fcntl.h>.
8043 * rt/tst-aio7.c: Likewise.
8044 * rt/tst-aio64.c: Likewise.
8045
4579f81c
RM
8046 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8047
abd923db
JM
80482012-02-27 Joseph Myers <joseph@codesourcery.com>
8049
8050 * manual/install.texi (--with-headers): Describe headers as
8051 interface headers, not private headers.
8052 (Specific advice for GNU/Linux systems): Describe use of headers
8053 from "make headers_install", not private headers from older
8054 kernels.
43be4ca2 8055 * INSTALL: Regenerated.
abd923db
JM
8056 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8057 Change to 2.6.19.
8058 * sysdeps/unix/sysv/linux/configure: Regenerated.
8059
6664049b
JM
8060 * manual/llio.texi (fclean): Remove documentation.
8061
bb8b6697
JM
8062 * manual/Makefile (libc-texi-generated): New variable. Include
8063 version.texi.
8064 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8065 $(libc-texi-generated), not duplicated list of files.
8066 (version.texi, stamp-version): New rules.
8067 (realclean): Remove $(libc-texi-generated), not individual files
8068 from that list. Do not remove dir-add.texinfo.
8069 * manual/libc.texinfo: Comment out uses of edition numbers and
8070 references to printed manual. Remove last-updated dates.
8071 (EDITION): Comment out.
8072 (ISBN): Likewise.
8073 (VERSION, UPDATED): Remove.
8074 (version.texi): Include.
8075
12e5c3b9
AS
80762012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8077
8078 * sysdeps/posix/spawni.c: Include <signal.h>.
8079 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8080 * sysdeps/pthread/aio_fsync.c: Likewise.
8081
4efeffc1 80822012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8083
ba63ba08
UD
8084 * conform/Makefile (tests): Run only when not cross-compiling and
8085 when fast-check is not defined.
8086
d94a4670
UD
8087 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8088 * conform/data/limits.h-data: Fixes for POSIX2008.
8089 * conform/run-conformtest.sh: Run all tests.
8090 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8091 headers.
8092 * include/bits/dlfcn.h: Likewise.
8093 * include/langinfo.h: Likewise.
8094 * include/monetary.h: Likewise.
8095 * include/sys/poll.h: Likewise.
8096
8097 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8098 for __USE_GNU.
8099 * posix/spawn.h: Define __need_sigset_t.
8100 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8101 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8102 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8103 to get sigevent_t only.
8104 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8105 only for __USE_GNU.
8106 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8107 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8108 process_vm_writev only for __USE_GNU.
8109 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8110
8111 * conform/Makefile: For now ignore errors from run-conformtest.
8112 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8113 POSIX to avoid namespace pollution. Don't prepend headers.
8114 * conform/data/aio.h-data: Fixes for POSIX testing.
8115 * conform/data/fcntl.h-data: Likewise.
8116 * conform/data/glob.h-data: Likewise.
8117 * conform/data/grp.h-data: Likewise.
8118 * conform/data/pthread.h-data: Likewise.
8119 * conform/data/pwd.h-data: Likewise.
8120 * conform/data/signal.h-data: Likewise.
8121 * conform/data/spawn.h-data: Likewise.
8122 * conform/data/stdio.h-data: Likewise.
8123 * conform/data/stdlib.h-data: Likewise.
8124 * conform/data/stropts.h-data: Likewise.
8125 * conform/data/sys/mman.h-data: Likewise.
8126 * conform/data/sys/stat.h-data: Likewise.
8127 * conform/data/sys/types.h-data: Likewise.
8128 * conform/data/sys/wait.h-data: Likewise.
8129 * conform/data/time.h-data: Likewise.
8130 * conform/data/unistd.h-data: Likewise.
8131 * conform/data/utime.h-data: Likewise.
8132
8133 * io/sys/stat.h: fchmod was always in POSIX.
8134 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8135 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8136 * rt/aio.h: Define __need_timespec before including <time.h>.
8137 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8138 struct. Add forward declaration of pthread_attr_t and use it in
8139 sigevent.
8140 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8141 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8142 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8143 always remove CLK_TCK definition.
8144
c20105c3
AS
81452012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8146
8147 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8148
7a270350
UD
81492012-02-25 Ulrich Drepper <drepper@gmail.com>
8150
31341567
UD
8151 * conform/run-conformtest.sh: New file.
8152 * conform/Makefile: Run run-conformtest for tests.
8153 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8154 support.
8155
8156 * conform/data/uchar.h-data: New file.
8157 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8158 * conform/data/arpa/inet.h-data: Likewise.
8159 * conform/data/assert.h-data: Likewise.
8160 * conform/data/complex.h-data: Likewise.
8161 * conform/data/cpio.h-data: Likewise.
8162 * conform/data/ctype.h-data: Likewise.
8163 * conform/data/dirent.h-data: Likewise.
8164 * conform/data/dlfcn.h-data: Likewise.
8165 * conform/data/errno.h-data: Likewise.
8166 * conform/data/fcntl.h-data: Likewise.
8167 * conform/data/float.h-data: Likewise.
8168 * conform/data/fmtmsg.h-data: Likewise.
8169 * conform/data/fnmatch.h-data: Likewise.
8170 * conform/data/ftw.h-data: Likewise.
8171 * conform/data/glob.h-data: Likewise.
8172 * conform/data/grp.h-data: Likewise.
8173 * conform/data/iconv.h-data: Likewise.
8174 * conform/data/inttypes.h-data: Likewise.
8175 * conform/data/langinfo.h-data: Likewise.
8176 * conform/data/libgen.h-data: Likewise.
8177 * conform/data/limits.h-data: Likewise.
8178 * conform/data/locale.h-data: Likewise.
8179 * conform/data/math.h-data: Likewise.
8180 * conform/data/monetary.h-data: Likewise.
8181 * conform/data/mqueue.h-data: Likewise.
8182 * conform/data/ndbm.h-data: Likewise.
8183 * conform/data/net/if.h-data: Likewise.
8184 * conform/data/netdb.h-data: Likewise.
8185 * conform/data/netinet/in.h-data: Likewise.
8186 * conform/data/nl_types.h-data: Likewise.
8187 * conform/data/poll.h-data: Likewise.
8188 * conform/data/pthread.h-data: Likewise.
8189 * conform/data/pwd.h-data: Likewise.
8190 * conform/data/regex.h-data: Likewise.
8191 * conform/data/sched.h-data: Likewise.
8192 * conform/data/search.h-data: Likewise.
8193 * conform/data/semaphore.h-data: Likewise.
8194 * conform/data/setjmp.h-data: Likewise.
8195 * conform/data/signal.h-data: Likewise.
8196 * conform/data/spawn.h-data: Likewise.
8197 * conform/data/stdarg.h-data: Likewise.
8198 * conform/data/stdio.h-data: Likewise.
8199 * conform/data/stdlib.h-data: Likewise.
8200 * conform/data/string.h-data: Likewise.
8201 * conform/data/strings.h-data: Likewise.
8202 * conform/data/stropts.h-data: Likewise.
8203 * conform/data/sys/ipc.h-data: Likewise.
8204 * conform/data/sys/mman.h-data: Likewise.
8205 * conform/data/sys/msg.h-data: Likewise.
8206 * conform/data/sys/resource.h-data: Likewise.
8207 * conform/data/sys/select.h-data: Likewise.
8208 * conform/data/sys/sem.h-data: Likewise.
8209 * conform/data/sys/shm.h-data: Likewise.
8210 * conform/data/sys/socket.h-data: Likewise.
8211 * conform/data/sys/stat.h-data: Likewise.
8212 * conform/data/sys/statvfs.h-data: Likewise.
8213 * conform/data/sys/time.h-data: Likewise.
8214 * conform/data/sys/timeb.h-data: Likewise.
8215 * conform/data/sys/times.h-data: Likewise.
8216 * conform/data/sys/types.h-data: Likewise.
8217 * conform/data/sys/uio.h-data: Likewise.
8218 * conform/data/sys/un.h-data: Likewise.
8219 * conform/data/sys/utsname.h-data: Likewise.
8220 * conform/data/sys/wait.h-data: Likewise.
8221 * conform/data/syslog.h-data: Likewise.
8222 * conform/data/tar.h-data: Likewise.
8223 * conform/data/termios.h-data: Likewise.
8224 * conform/data/utime.h-data: Likewise.
8225 * conform/data/utmpx.h-data: Likewise.
8226 * conform/data/varargs.h-data: Likewise.
8227 * conform/data/wchar.h-data: Likewise.
8228 * conform/data/wctype.h-data: Likewise.
8229 * conform/data/wordexp.h-data: Likewise.
8230
8231 * include/stropts.h: New file.
8232 * include/uchar.h: New file.
8233 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8234 * include/assert.h: Likewise.
8235 * include/ctype.h: Likewise.
8236 * include/dirent.h: Likewise.
8237 * include/dlfcn.h: Likewise.
8238 * include/fcntl.h: Likewise.
8239 * include/fnmatch.h: Likewise.
8240 * include/glob.h: Likewise.
8241 * include/grp.h: Likewise.
8242 * include/libio.h: Likewise.
8243 * include/locale.h: Likewise.
8244 * include/math.h: Likewise.
8245 * include/net/if.h: Likewise.
8246 * include/netdb.h: Likewise.
8247 * include/netinet/in.h: Likewise.
8248 * include/pthread.h: Likewise.
8249 * include/pwd.h: Likewise.
8250 * include/regex.h: Likewise.
8251 * include/sched.h: Likewise.
8252 * include/search.h: Likewise.
8253 * include/setjmp.h: Likewise.
8254 * include/signal.h: Likewise.
8255 * include/stdio.h: Likewise.
8256 * include/stdlib.h: Likewise.
8257 * include/string.h: Likewise.
8258 * include/sys/cdefs.h: Likewise.
8259 * include/sys/mman.h: Likewise.
8260 * include/sys/msg.h: Likewise.
8261 * include/sys/resource.h: Likewise.
8262 * include/sys/select.h: Likewise.
8263 * include/sys/socket.h: Likewise.
8264 * include/sys/stat.h: Likewise.
8265 * include/sys/statvfs.h: Likewise.
8266 * include/sys/time.h: Likewise.
8267 * include/sys/times.h: Likewise.
8268 * include/sys/uio.h: Likewise.
8269 * include/sys/utsname.h: Likewise.
8270 * include/sys/wait.h: Likewise.
8271 * include/termios.h: Likewise.
8272 * include/time.h: Likewise.
8273 * include/ulimit.h: Likewise.
8274 * include/unistd.h: Likewise.
8275 * include/utime.h: Likewise.
8276 * include/wchar.h: Likewise.
8277 * include/wctype.h: Likewise.
8278 * include/wordexp.h: Likewise.
8279
8280 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8281
7a270350
UD
8282 * time/time.h: TIME_UTC must be a macro.
8283 Make timespec_get available for ISO C11 only as well.
8284
7724defc
UD
82852012-02-24 Ulrich Drepper <drepper@gmail.com>
8286
8287 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8288 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8289
6b1d1d46
JM
82902012-02-24 Joseph Myers <joseph@codesourcery.com>
8291
8292 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8293
0f8bbd69
JM
82942012-02-24 Joseph Myers <joseph@codesourcery.com>
8295
8296 * manual/texinfo.tex: Update to version 2012-01-19.16.
8297
66ab80bc
JM
82982012-02-24 Joseph Myers <joseph@codesourcery.com>
8299
8300 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8301
74981cc5
RM
83022012-02-24 Roland McGrath <roland@hack.frob.com>
8303
ee968201
RM
8304 [BZ #13738]
8305 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8306 * manual/fdl-1.3.texi: New file.
8307 * manual/fdl-1.1.texi: File removed.
8308
74981cc5
RM
8309 [BZ #13738]
8310 * manual/libc.texinfo (FDL_VERSION): New @set.
8311 Use it for mention of FDL in cover text.
8312 (Documentation License): Use it in @include file name.
8313
7bb764bc
JM
83142012-02-22 Joseph Myers <joseph@codesourcery.com>
8315 Roland McGrath <roland@hack.frob.com>
8316
8317 [BZ #5461]
8318 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8319 not LONG_LONG_MAX and LONG_LONG_MIN.
8320 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8321 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8322 name.
8323 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8324
6cbeae47
JM
83252012-02-22 Joseph Myers <joseph@codesourcery.com>
8326
8327 [BZ #2547]
8328 [BZ #11365]
8329 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8330 manipulate bits before adding and subtracting TWO23[sx].
8331 * math/libm-test.inc (nearbyint_test): Add more tests.
8332
fe45ce09
JM
83332012-02-22 Joseph Myers <joseph@codesourcery.com>
8334
8335 [BZ #2548]
8336 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8337 bits before adding and subtracting TWO23[sx].
8338 * math/libm-test.inc (rint_test): Add more tests.
8339 (rint_test_tonearest): Likewise.
8340 (rint_test_towardzero): Likewise.
8341 (rint_test_downward): Likewise.
8342 (rint_test_upward: Likewise.
8343
ff3b3d82
JM
83442012-02-22 Joseph Myers <joseph@codesourcery.com>
8345
8346 [BZ #10110]
8347 * include/stdc-predef.h: New file. Extracted from features.h.
8348 * include/features.h: Include stdc-predef.h.
8349 * Makefile (headers): Add stdc-predef.h.
8350 * CONFORMANCE (Compiler limitations): Update.
8351
ef0aab35
JM
83522012-02-22 Joseph Myers <joseph@codesourcery.com>
8353
8354 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8355
58639409
DM
83562012-02-21 David S. Miller <davem@davemloft.net>
8357
8358 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8359 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8360
c0e70b25
DM
83612012-02-20 David S. Miller <davem@davemloft.net>
8362
8363 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8364 using a normal save/restore sequence, rather than allocating a
8365 dummy stack frame just to store a frame pointer and restore.
8366 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8367
fb06851d
JM
83682012-02-21 Joseph Myers <joseph@codesourcery.com>
8369
8370 * manual/install.texi: Fix stray word in line-wrapped comment.
8371
7a8b71c3
DM
83722012-02-20 David S. Miller <davem@davemloft.net>
8373
d510c123
DM
8374 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8375 both binutils and gcc support GOTDATA.
8376
0722d7c2
DM
8377 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8378 "rd %pc" in the PIC register setup sequences.
8379
3d2b3019
DM
8380 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8381 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8382 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8383 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8384 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8385 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8386 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8387 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8388 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8389 (SYSCALL_ERROR_HANDLER): Likewise.
8390 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8391 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8392 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8393 (SYSCALL_ERROR_HANDLER): Likewise.
8394
c80098a9
DM
8395 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8396 (HAVE_GCC_GOTDATA): New.
8397 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8398 relocation support in both binutils and gcc.
8399 * sysdeps/sparc/elf/configure: Regenerate.
8400
3a2545a0
DM
8401 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8402 * sysdeps/sparc/sparc32/elf/configure: Delete.
8403 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8404 * sysdeps/sparc/sparc64/elf/configure: Delete.
8405 * sysdeps/sparc/elf/configure.in: New file.
8406 * sysdeps/sparc/elf/configure: Generate.
8407
7a8b71c3
DM
8408 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8409 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8410 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8411 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8412 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8413
f1e86fca
JM
84142012-02-21 Joseph Myers <joseph@codesourcery.com>
8415
8416 * manual/install.texi: Do not mention specific glibc version
8417 numbers.
8418 * manual/libc.texinfo (VERSION, UPDATED): Update.
8419 (@copying): Use @copyright{} and range of years.
8420
0e7dfaef
JM
84212012-02-21 Joseph Myers <joseph@codesourcery.com>
8422
8423 [BZ #13695]
8424 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8425 [crti.S not in sysdirs] (generated): Do not append.
8426 [crti.S not in sysdirs] (omit-deps): Likewise.
8427 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8428 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8429 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8430 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8431 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8432 Likewise.
8433 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8434 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8435 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8436 * csu/defs.awk: Remove file.
8437 * sysdeps/generic/initfini.c: Likewise.
8438 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8439 variable.
8440 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8441 Likewise.
8442
599af3ca
JM
84432012-02-20 Joseph Myers <joseph@codesourcery.com>
8444
8445 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8446 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8447 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8448 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8449 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8450 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8451 <bits/epoll.h>.
8452 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8453 (__EPOLL_PACKED): Define to empty if not defined by
8454 <bits/epoll.h>.
8455 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8457 bits/epoll.h.
8458
0e499750
JM
84592012-02-20 Joseph Myers <joseph@codesourcery.com>
8460
8461 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8462 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8463 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8464 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8465 <bits/timerfd.h>.
8466 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8468 bits/timerfd.h.
8469
5ad91f6e
JM
84702012-02-20 Joseph Myers <joseph@codesourcery.com>
8471
8472 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8473 in C locale.
8474 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8475 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8476 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8478
06b99b02
AJ
84792012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8480
8481 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8482 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8483
7638c0fd
AS
84842012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8485
8486 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8487 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8488 defined.
8489 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8490 Likewise.
8491 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8492 entry for 2.16.
8493
92221550
AJ
84942012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8495
8496 * math/w_acos.c: Use non-signaling floating-point comparisons.
8497 * math/w_acosf.c: Likewise.
8498 * math/w_acosh.c: Likewise.
8499 * math/w_acoshf.c: Likewise.
8500 * math/w_acoshl.c: Likewise.
8501 * math/w_acosl.c: Likewise.
8502 * math/w_asin.c: Likewise.
8503 * math/w_asinf.c: Likewise.
8504 * math/w_asinl.c: Likewise.
8505 * math/w_atanh.c: Likewise.
8506 * math/w_atanhf.c: Likewise.
8507 * math/w_atanhl.c: Likewise.
8508 * math/w_exp2.c: Likewise.
8509 * math/w_exp2f.c: Likewise.
8510 * math/w_exp2l.c: Likewise.
8511 * math/w_j0.c: Likewise.
8512 * math/w_j0f.c: Likewise.
8513 * math/w_j0l.c: Likewise.
8514 * math/w_j1.c: Likewise.
8515 * math/w_j1f.c: Likewise.
8516 * math/w_j1l.c: Likewise.
8517 * math/w_jn.c: Likewise.
8518 * math/w_jnf.c: Likewise.
8519 * math/w_log.c: Likewise.
8520 * math/w_log10.c: Likewise.
8521 * math/w_log10f.c: Likewise.
8522 * math/w_log10l.c: Likewise.
8523 * math/w_log2.c: Likewise.
8524 * math/w_log2f.c: Likewise.
8525 * math/w_log2l.c: Likewise.
8526 * math/w_logf.c: Likewise.
8527 * math/w_logl.c: Likewise.
8528 * math/w_sqrt.c: Likewise.
8529 * math/w_sqrtf.c: Likewise.
8530 * math/w_sqrtl.c: Likewise.
8531 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8532 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8533 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8534 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8535 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8536
ebaf36eb
JM
85372012-02-19 Joseph Myers <joseph@codesourcery.com>
8538
8539 [BZ #9739]
8540 * manual/string.texi (strnlen): Use correct parameter name in
8541 equivalent expression.
8542
71c254a6
JM
85432012-02-19 Joseph Myers <joseph@codesourcery.com>
8544
8545 [BZ #11174]
8546 * manual/users.texi (seteuid): Consistently use neweuid for
8547 argument name.
8548
16d2c631
JM
85492012-02-19 Joseph Myers <joseph@codesourcery.com>
8550
8551 [BZ #13704]
8552 * manual/nss.texi (Services in the NSS configuration): Correct
8553 list of services in example configuration file.
8554
cd837b09
NB
85552012-02-19 Nick Bowler <nbowler@draconx.ca>
8556
8557 [BZ #11322]
8558 * manual/arith.texi: Remove statements about negative zero
8559 behaving identically to zero.
8560
02c4bbad
JM
85612012-02-18 Joseph Myers <joseph@codesourcery.com>
8562
8563 [BZ #5993]
8564 * manual/install.texi: Do not document upgrading from libc5.
8565
366842e7
JM
85662012-02-18 Joseph Myers <joseph@codesourcery.com>
8567
8568 [BZ #4596]
8569 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8570
dd54084d
DM
85712012-02-18 David S. Miller <davem@davemloft.net>
8572
8573 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8574 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8575 %o7 across the call.
8576 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8577 instead.
8578 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8579 SETUP_PIC_REG_LEAF.
8580 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8581 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8582 * sysdeps/sparc/crtn.S: Likewise.
8583
2bcc53a3
UD
85842012-02-17 Ulrich Drepper <drepper@gmail.com>
8585
8586 * aout/Makefile: Remove.
8587
09c093b5
RK
85882012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8589
8590 [BZ #13058]
8591 * manual/examples/argp-ex1.c (main): Format definition in GNU
8592 style.
8593 * manual/examples/argp-ex2.c (main): Likewise.
8594 * manual/examples/argp-ex3.c (main): Likewise.
8595 * manual/examples/argp-ex4.c (main): Likewise.
8596 * manual/examples/longopt.c (main): Use new-style prototype
8597 definition.
8598 * manual/examples/strncat.c (main): Specify return type and use
8599 (void) for arguments.
8600 * manual/examples/subopt.c (main): Use char **argv argument.
8601
2ee633a2
JM
86022012-02-17 Joseph Myers <joseph@codesourcery.com>
8603
8604 [BZ #5077]
8605 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8606 rounding modes.
8607
0520adde
FB
86082012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8609
8610 [BZ #6907]
8611 * manual/string.texi (strchr): Change when strchrnul is
8612 recommended.
8613
3f4081cd
DGM
86142012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8615
8616 [BZ #174]
8617 * manual/locale.texi (setlocale): Document LOCPATH.
8618
d1b10e78
JM
86192012-02-17 Joseph Myers <joseph@codesourcery.com>
8620
8621 [BZ #10210]
8622 * manual/process.texi (execle): Move @dots{} before last argument.
8623
79c6869c
PB
86242012-02-17 Paul Bolle <pebolle@tiscali.nl>
8625
8626 [BZ #12047]
8627 * manual/charset.texi (Generic Charset Conversion): Fix typo
8628 (LC_TYPE -> LC_CTYPE).
8629
cc6e48bc
NB
86302012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8631
8632 [BZ #5805]
8633 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8634 (scalbnf): Likewise.
8635 (scalbnl): Likewise.
8636 (scalbln): Likewise.
8637 (scalblnf): Likewise.
8638 (scalblnl): Likewise.
8639 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8640 (vwarnx): Likewise.
8641 (verr): Likewise.
8642 (verrx): Likewise.
8643 * manual/filesys.texi (telldir): Use braces around return type.
8644 * manual/llio.texi (mmap): Add space after comma.
8645 (mmap64): Likewise.
8646 * manual/math.texi (jn): Use @var{} on parameter names.
8647 (jnf): Likewise.
8648 (jnl): Likewise.
8649 (yn): Likewise.
8650 (ynf): Likewise.
8651 (ynl): Likewise.
8652 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8653 line.
8654 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8655 "...".
8656 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8657 (sched_get_priority_max): Likewise.
8658 * manual/signal.texi (sigvec): Add space after comma.
8659 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8660 names.
8661 (if_indextoname): Likewise.
8662 (if_freenameindex): Likewise.
8663 (sendto): Use ',' instead of '.' in prototype.
8664 * manual/startup.texi (syscall): Use @dots{} instead of literal
8665 "...".
8666 * manual/stdio.texi (__fpending): Separate initial words of
8667 paragraph from @deftypefun line.
8668 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8669 "...".
8670 (vsyslog): Use @var{} on parameter names.
8671 * manual/terminal.texi (stty): Use @var{} on parameter names.
8672 * manual/users.texi (getutmp): Use @var{} on parameter names.
8673 (getutmpx): Likewise.
8674
5b23062f
JM
86752012-02-17 Joseph Myers <joseph@codesourcery.com>
8676
8677 [BZ #6884]
8678 * manual/stdio.texi (fopen): Fix typos in description of
8679 ",ccs=STRING".
8680
8dee4833
AJ
86812012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8682
8683 [BZ #4026]
8684 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8685 get clock_id definition.
8686
9078ce93
TS
86872012-02-17 Thomas Schwinge <thomas@schwinge.name>
8688
8689 [BZ #4822]
8690 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8691 (madvise): Cast every argument to void on its own.
8692
3835c55f
JM
86932012-02-17 Joseph Myers <joseph@codesourcery.com>
8694
8695 [BZ #9902]
8696 * manual/startup.texi (Exit Status): Fix typo.
8697
35c47e37
JM
86982012-02-17 Joseph Myers <joseph@codesourcery.com>
8699
8700 [BZ #10140]
8701 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8702 * manual/examples/argp-ex2.c: Likewise.
8703 * manual/examples/argp-ex3.c: Likewise.
8704
e3b69ca7
RH
87052012-02-16 Richard Henderson <rth@redhat.com>
8706
8707 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8708 * sysdeps/s390/s390-32/initfini.c: Remove.
8709 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8710 * sysdeps/s390/s390-64/initfini.c: Remove.
8711
df83af67
KK
87122012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8713
8714 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8715 compiler output for sysdeps/generic/initfini.c.
8716 * sysdeps/sh/elf/initfini.c: Remove file.
8717
f63f3380
DM
87182012-02-16 David S. Miller <davem@davemloft.net>
8719
fb59b3a4
DM
8720 [BZ #11494]
8721 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8722
f63f3380
DM
8723 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8724 * sysdeps/sparc/crti.S: New file.
8725 * sysdeps/sparc/crtn.S: New file.
8726 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8727 * sysdeps/sparc/sparc64/Makefile: Likewise.
8728
df6a4a4a
MF
87292012-02-15 Mike Frysinger <vapier@gentoo.org>
8730
6dd8f3dc 8731 [BZ #3335]
df6a4a4a
MF
8732 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8733
1cac7236
RM
87342012-02-15 Roland McGrath <roland@hack.frob.com>
8735
d2c736f8
RM
8736 [BZ #4822]
8737 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8738
1cac7236
RM
8739 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8740 (write, read, close): Likewise.
8741 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8742
8e475601
JM
87432012-02-15 Joseph Myers <joseph@codesourcery.com>
8744
8745 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8746 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8747 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8748 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8749 <bits/signalfd.h>.
8750 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8751 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8752 bits/signalfd.h.
8753
ed656b40
MP
87542012-02-14 Marek Polacek <polacek@redhat.com>
8755
8756 * sysdeps/x86_64/crti.S: New file.
8757 * sysdeps/x86_64/crtn.S: New file.
8758 * sysdeps/x86_64/elf/initfini.c: Remove file.
8759
2a979d3a
JM
87602012-02-13 Joseph Myers <joseph@codesourcery.com>
8761
8762 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8763 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8764 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8765 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8766 <bits/inotify.h>.
8767 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8769 bits/inotify.h.
8770
2a418ac3
JM
87712012-02-13 Joseph Myers <joseph@codesourcery.com>
8772
8773 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8774 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8775 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8776 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8777 <bits/eventfd.h>.
8778 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8779 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8780 bits/eventfd.h.
8781
fb779be7
TS
87822012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8783
e19e83c5
RM
8784 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8785 __feraiseexcept instead of feraiseexcept.
7c35ffed 8786
fb779be7
TS
8787 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8788 nanosleep invocations.
8789 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8790 strings, and add error checking for a nanosleep invocations.
8791
59ba27a6
PE
87922012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8793
8794 Replace FSF snail mail address with URLs, as per GNU coding standards.
8795 Most of the snail mail addresses were wrong anyway, and omitting
8796 them makes the source code easier to maintain. Almost all of the
8797 changes are to license notices and to locale LC_IDENTIFICATION
8798 addresses, except for this one:
8799 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8800 not its snail mail address.
8801
57b957eb
RH
88022012-02-09 Richard Henderson <rth@twiddle.net>
8803
af850b1c
RH
8804 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8805 of kernel-features.h.
8806
57b957eb
RH
8807 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8808
6b73181a
MP
88092012-02-08 Marek Polacek <polacek@redhat.com>
8810
8811 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8812 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8813 * sysdeps/gnu/_G_config.h: Likewise.
8814 * sysdeps/generic/_G_config.h: Likewise.
8815
26ecc33a
AS
88162012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8817
6c6dbc63
AS
8818 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8819 tests.
8820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8821
e216c012
AS
8822 * sysdeps/powerpc/powerpc32/crti.S: New file.
8823 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8824 * sysdeps/powerpc/powerpc64/crti.S: New file.
8825 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8826
26ecc33a
AS
8827 * Makeconfig (have-initfini): Don't set.
8828 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8829 * configure.in (nopic_initfini): Don't substitute.
8830 * config.h.in (HAVE_INITFINI): Don't #undef.
8831 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8832 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8833
3add8e13
JM
88342012-02-08 Joseph Myers <joseph@codesourcery.com>
8835
8836 Support crti.S and crtn.S provided directly by architectures.
8837 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8838 [crti.S in sysdirs] (omit-deps): Likewise.
8839 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8840 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8841 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8842 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8843 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8844 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8845 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8846 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8847 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8848 compiler output for sysdeps/generic/initfini.c.
8849 * sysdeps/i386/elf/Makefile: Remove file.
8850 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8851
a22f12b4
MP
88522012-02-07 Marek Polacek <polacek@redhat.com>
8853
8854 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8855 * sysdeps/gnu/_G_config.h: Likewise.
8856 * sysdeps/mach/hurd/_G_config.h: Likewise.
8857
148cf100
MP
88582012-02-07 Marek Polacek <polacek@redhat.com>
8859
8860 * math/Makefile (tests): Add tst-CMPLX2.
8861 * math/tst-CMPLX2.c: New file.
8862
cfdc0dd7
AS
88632012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8864
84ba42c4
AS
8865 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8866
cfdc0dd7
AS
8867 * math/libm-test.inc (jn_test): Add missing L suffix.
8868
622c86f4
MP
88692012-02-06 Marek Polacek <polacek@redhat.com>
8870
8871 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8872 * sysdeps/i386/fpu/e_powf.S: Likewise.
8873 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8874 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8875 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8876 * sysdeps/i386/fpu/e_pow.S: Likewise.
8877 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8878 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8879 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8880 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8881 * sysdeps/i386/fpu/e_log2.S: Likewise.
8882 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8883 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8884 * sysdeps/i386/fpu/e_powl.S: Likewise.
8885 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8886 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8887 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8888 * sysdeps/i386/fpu/e_logl.S: Likewise.
8889 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8890 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8891 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8892 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8893 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8894 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8895 * sysdeps/i386/fpu/e_log.S: Likewise.
8896 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8897 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8898 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8899 * sysdeps/i386/fpu/e_logf.S: Likewise.
8900 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8901 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8902 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8903 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8904 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8905 * sysdeps/i386/fpu/e_log10.S: Likewise.
8906 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8907 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8908 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8909 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8910 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8911 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8912 * sysdeps/i386/asm-syntax.h: Likewise.
8913 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8914 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8915 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8916 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8917 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8918 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8919 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8920 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8921 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8922 * sysdeps/powerpc/sysdep.h: Likewise.
8923 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8924 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8925
d4a54ac6
JM
89262012-02-06 Joseph Myers <joseph@codesourcery.com>
8927
8928 [BZ #411]
8929 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8930
314054ea
JM
89312012-02-06 Joseph Myers <joseph@codesourcery.com>
8932
8933 * sysdeps/i386/sysdep.h: Include <features.h>.
8934 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8935 version.
8936
d8e0ca50
JM
89372012-02-05 Joseph Myers <joseph@codesourcery.com>
8938
8939 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8940 Define.
8941 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8942 LOAD_PIC_REG_STR.
8943
b1da7dd9
JM
89442012-02-03 Joseph Myers <joseph@codesourcery.com>
8945
8946 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8947 (SETUP_PIC_REG): Use GET_PC_THUNK.
8948 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8949 macro.
8950
9a1d9254
JM
89512012-02-03 Joseph Myers <joseph@codesourcery.com>
8952
8953 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8954 for non-PIC compilation.
8955 (SETUP_PIC_REG): Add .p2align directive.
8956 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8957 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8958 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8959 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8960 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8961 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8962 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8963 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8964 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8965 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8966 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8967 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8968 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8969 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8970 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8971 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8972 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8973 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8974 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8975 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8976 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8977 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8978 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8979 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8980 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8981 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8982 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8983 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8984 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8985 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8986 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8987 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8988 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8989 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8990 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8991 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8992 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8993 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8994 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8995 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8996 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8997
65dc3b75
JM
89982012-02-03 Joseph Myers <joseph@codesourcery.com>
8999
9000 * math/tst-CMPLX.c: Include <stdio.h>.
9001
d55bf177
JM
90022012-01-31 Joseph Myers <joseph@codesourcery.com>
9003
9004 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9005 float.
9006 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9007 * sysdeps/sparc/bits/mathdef.h: Likewise.
9008
69db4f8f
MP
90092012-01-31 Marek Polacek <polacek@redhat.com>
9010
9011 * libio/libio.h: Don't define _PARAMS.
9012 * locale/programs/config.h: Don't define PARAMS.
9013 * stdlib/strtol_l.c: Likewise.
9014 (__strtol_l): Remove PARAMS from the prototype.
9015
41b81892
UD
90162012-01-31 Ulrich Drepper <drepper@gmail.com>
9017
3b49edc0
UD
9018 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9019 names. Just use the correct names. Remove unnecessary wrapper
9020 functions.
9021 * malloc/arena.c: Likewise.
9022 * malloc/hooks.c: Likewise.
9023
41b81892
UD
9024 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9025 ARENA_TEST says not to. Simplify test for creation of a new arena.
9026 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9027
27a25b6e
UD
90282012-01-30 Ulrich Drepper <drepper@gmail.com>
9029
9030 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9031 into tail calls.
9032 (update_get_addr): New function.
9033 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9034 GET_ADDR_MODULE parameter.
9035
c8a89e7d
JM
90362012-01-30 Joseph Myers <joseph@codesourcery.com>
9037
9038 * crypt/cert.c: Remove __STDC__ conditionals.
9039 * crypt/crypt-entry.c: Likewise.
9040 * crypt/crypt_util.c: Likewise.
9041 * libio/filedoalloc.c: Likewise.
9042 * libio/fileops.c: Likewise.
9043 * libio/genops.c: Likewise.
9044 * libio/iofclose.c: Likewise.
9045 * libio/iofdopen.c: Likewise.
9046 * libio/iofopen.c: Likewise.
9047 * libio/iofopen64.c: Likewise.
9048 * libio/iogetdelim.c: Likewise.
9049 * libio/iopopen.c: Likewise.
9050 * libio/obprintf.c: Likewise.
9051 * libio/oldfileops.c: Likewise.
9052 * libio/oldiofclose.c: Likewise.
9053 * libio/oldiofdopen.c: Likewise.
9054 * libio/oldiofopen.c: Likewise.
9055 * libio/oldiopopen.c: Likewise.
9056 * libio/wfiledoalloc.c: Likewise.
9057 * libio/wgenops.c: Likewise.
9058 * locale/programs/xmalloc.c: Likewise.
9059 * misc/syslog.c: Likewise.
9060 * stdio-common/xbug.c: Likewise.
9061 * string/memchr.c: Likewise.
9062 * string/memcmp.c: Likewise.
9063 * string/memrchr.c: Likewise.
9064 * string/rawmemchr.c: Likewise.
9065 * sysdeps/posix/getcwd.c: Likewise.
9066 * time/strftime_l.c: Likewise.
9067
3b100462
JM
90682012-01-30 Joseph Myers <joseph@codesourcery.com>
9069
9070 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9071 * config.make.in (config-cflags-sse2avx): Define.
9072 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9073 Fix typo.
9074
607998af
CM
90752012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9076
9077 * scripts/config.guess: Update from upstream config git repository.
9078 * scripts/config.sub: Likewise.
9079
3601428f
CM
90802012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9081
3ac8b282
CM
9082 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9083 (EM_NUM): Update.
9084 (R_TILEPRO_*, R_TILEGX_*): New macros.
9085
e034841e
CM
9086 * scripts/firstversions.awk: Fix bug in version range handling.
9087
540d7568
CM
9088 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9089
3601428f
CM
9090 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9091
463de862
CM
9092 * include/sys/epoll.h: New file.
9093 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9094 libc_hidden_def.
9095
73139a76
UD
90962012-01-28 Ulrich Drepper <drepper@gmail.com>
9097
96bc5b45
UD
9098 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9099 Avoid unnecessary __WORDSIZE == 64 test.
9100 (fmaxf): Use VEX format if possible.
9101 (fmax): Likewise.
9102 (fminf): Likewise.
9103 (fmin): Likewise.
9104
56f6f6a2
UD
9105 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9106 * math/math_private.h: Remove libc_fegetround* and
9107 libc_fesetround*.
9108 * sysdeps/i386/configure.in: Check for -msse2avx.
9109 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9110 also if SSE2AVX is defined.
9111 Remove libc_fegetround* and libc_fesetround*.
9112 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9113 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9114 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9115 of HAS_YMM_USABLE.
9116 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9117 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9118 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9119 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9120 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9121
73139a76
UD
9122 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9123
d73f93a4
AZ
91242012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9125
9126 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9127 size is not set.
9128 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9129
6ee65ed6
UD
91302012-01-27 Ulrich Drepper <drepper@gmail.com>
9131
9132 [BZ #13618]
9133 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9134 relocation.
9135 * Makeconfig (libm): Define.
9136 * elf/Makefile: Add rules to build and run tst-relsort1.
9137 * elf/tst-relsort1.c: New file.
9138 * elf/tst-relsort1mod1.c: New file.
9139 * elf/tst-relsort1mod2.c: New file.
9140
8db21882
JM
91412012-01-27 Joseph Myers <joseph@codesourcery.com>
9142
9143 * math/s_ldexp.c: Remove __STDC__ conditionals.
9144 * math/s_ldexpf.c: Likewise.
9145 * math/s_ldexpl.c: Likewise.
9146 * math/s_nextafter.c: Likewise.
9147 * math/s_nexttowardf.c: Likewise.
9148 * math/s_significand.c: Likewise.
9149 * math/s_significandf.c: Likewise.
9150 * math/s_significandl.c: Likewise.
9151 * math/w_jnl.c: Likewise.
9152 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9153 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9154 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9155 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9156 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9157 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9158 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9159 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9160 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9161 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9162 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9163 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9164 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9165 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9166 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9167 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9168 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9169 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9170 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9171 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9172 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9173 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9174 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9175 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9176 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9177 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9178 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9179 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9180 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9181 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9182 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9183 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9184 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9185 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9186 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9187 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9188 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9189 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9190 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9191 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9192 * sysdeps/ieee754/k_standard.c: Likewise.
9193 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9194 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9195 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9196 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9197 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9198 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9199 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9200 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9201 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9202 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9203 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9204 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9205 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9207 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9208 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9209 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9210 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9211 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9212 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9213 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9214 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9215 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9216 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9217 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9218 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9219 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9220 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9221 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9222 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9223 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9224 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9225 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9226 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9227 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9228 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9229 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9230 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9231 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9232 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9233 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9234 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9235 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9236 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9237 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9238 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9239 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9240 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9241 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9242 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9243 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9244 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9245 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9246 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9247 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9248 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9249 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9250 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9251 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9252 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9253 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9254 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9255 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9256 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9257 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9258 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9259 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9260 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9261 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9262 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9263 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9264 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9265 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9266 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9267 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9268 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9269 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9270 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9271 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9272 * sysdeps/ieee754/s_matherr.c: Likewise.
9273 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9274 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9275 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9276 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9277
965a54a4
JM
92782012-01-26 Joseph Myers <joseph@codesourcery.com>
9279
9280 * crypt/md5.h: Remove __STDC__ conditionals.
9281 * libio/libioP.h: Likewise.
9282 * locale/programs/config.h: Likewise.
9283 * sysdeps/generic/sysdep.h: Likewise.
9284 * sysdeps/i386/asm-syntax.h: Likewise.
9285 * sysdeps/s390/asm-syntax.h: Likewise.
9286 * sysdeps/unix/sysdep.h: Likewise.
9287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9289
7071ad79
JM
92902012-01-26 Joseph Myers <joseph@codesourcery.com>
9291
9292 * libio/libio.h: Remove __STDC__ conditionals.
9293 * malloc/obstack.h: Likewise.
9294 * math/complex.h: Likewise.
9295 * math/math.h: Likewise.
9296 * sysdeps/generic/_G_config.h: Likewise.
9297 * sysdeps/gnu/_G_config.h: Likewise.
9298 * sysdeps/mach/hurd/_G_config.h: Likewise.
9299 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9300 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9301 * sysdeps/sparc/bits/mathdef.h: Likewise.
9302
afc5ed09
UD
93032012-01-26 Ulrich Drepper <drepper@gmail.com>
9304
9305 [BZ #13583]
9306 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9307 Clean up HAS_* macros.
afc5ed09 9308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9309 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9310 possible.
9311 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9312 HAS_AVX.
9313 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9314 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9315 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9316 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9317 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9318
bdb6de1d
JM
93192012-01-25 Joseph Myers <joseph@codesourcery.com>
9320
9321 * elf/tst-unique3.cc (gets): Remove declaration.
9322 * elf/tst-unique3lib.cc (gets): Likewise.
9323 * elf/tst-unique3lib2.cc (gets): Likewise.
9324 * elf/tst-unique4.cc (gets): Likewise.
9325
b15549e6
UD
93262012-01-24 Ulrich Drepper <drepper@gmail.com>
9327
9328 * include/stdio.h: Add C++ protection. Add gets declarations and
9329 definitions.
9330 * debug/tst-chk1.c: Don't declare gets here.
9331 * stdio-common/tst-gets.c: Likewise.
9332
a037381f
JM
93332012-01-24 Joseph Myers <joseph@codesourcery.com>
9334
9335 * posix/glob: Remove directory.
9336
f1d4aa75
JM
93372012-01-24 Joseph Myers <joseph@codesourcery.com>
9338
9339 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9340
81c0c964
PT
93412012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9342
9343 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9344 of the non-standard EPFNOSUPPORT.
9345
0ea698ae
ST
93462011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9347
9348 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9349 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9350 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9351
d220b117
UD
93522012-01-21 Ulrich Drepper <drepper@gmail.com>
9353
9354 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9355
3e1aa84e
UD
93562012-01-20 Ulrich Drepper <drepper@gmail.com>
9357
9358 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9359 transient errors.
9360 * nscd/grpcache.c (cache_addgr): Likewise.
9361 * nscd/hstcache.c (cache_addhst): Likewise.
9362 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9363 * nscd/pwdcache.c (cache_addpw): Likewise.
9364 * nscd/servicescache.c (cache_addserv): Likewise.
9365
400aa020
UD
93662012-01-16 Ulrich Drepper <drepper@gmail.com>
9367
d77e7869
UD
9368 * malloc/malloc.c: Various cleanups.
9369 * malloc/hooks.c: Likewise.
9370
400aa020
UD
9371 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9372 * stdlib/bug-fmtmsg1.c: New file.
9373
9374 * stdlib/fmtmsg.c (init): Add missing unlock.
9375 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9376
e0a309cf
MP
93772012-01-12 Marek Polacek <polacek@redhat.com>
9378
9379 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9380 and _GNU_SOURCE.
9381
929d11c7
WS
93822012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9383
9384 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9385 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9386 macro to ensure uniqueness of label name.
9387 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9388 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9389
41d0e869
UD
93902012-01-11 Ulrich Drepper <drepper@gmail.com>
9391
0cc5ed3b
UD
9392 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9393
41d0e869
UD
9394 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9395 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9396 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9397 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9398
a47a831a
UD
93992012-01-10 Ulrich Drepper <drepper@gmail.com>
9400
daa891c0
UD
9401 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9402
9403 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9404 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9405 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9406
e58ef0f2
UD
9407 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9408
a47a831a 9409 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9410 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9411 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9412 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9413
9414 * math/bits/math-finite.h: Add ldexp support.
9415
a0bfc9c7
MP
94162012-01-10 Marek Polacek <polacek@redhat.com>
9417
9418 * locale/programs/localedef.h (show_archive_content): Add noreturn
9419 attribute.
9420
d6e97a1d
UD
94212012-01-09 Ulrich Drepper <drepper@gmail.com>
9422
9423 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9424
d5835c26
UD
94252012-01-08 Ulrich Drepper <drepper@gmail.com>
9426
e5f484c6
UD
9427 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9428
d5835c26
UD
9429 * io/Makefile (headers): Add bits/poll2.h.
9430
d1f741e9
WS
94312011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9432
9433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9434 typo #include statement.
9435
ec09c1c4
UD
94362012-01-08 Ulrich Drepper <drepper@gmail.com>
9437
9438 * include/sys/cdefs.h: Define __attribute_alloc_size.
9439 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9440 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9441 * elf/pldd.c: Likewise.
9442 * iconv/iconv_charmap.c: Likewise.
9443 * iconv/iconvconfig.c: Likewise.
9444 * iconv/strtab.c: Likewise.
9445 * locale/programs/locale.c: Likewise.
9446 * locale/programs/localedef.h: Likewise.
9447 * locale/programs/simple-hash.c: Likewise.
9448 * nscd/nscd.h: Likewise.
9449 * nss/makedb.c: Likewise.
9450 * sysdeps/generic/ldconfig.h: Likewise.
9451 * locale/programs/localedef.c: Remove xmalloc prototype.
9452 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9453
20b38e03
PP
94542012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9455
9456 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9457 appropriate.
9458
a0da5fe1
UD
94592012-01-08 Ulrich Drepper <drepper@gmail.com>
9460
1d5a644a 9461 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9462 * math/tst-CMPLX.c: New file.
1d5a644a 9463
8784a6db
UD
9464 * math/complex.h (CMPLXL): Fix typo.
9465
d9a216c0
UD
9466 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9467 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9468 GLIBC_2.16.
9469 * debug/tst-chk1.c: Add poll and ppoll tests.
9470 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9471 * include/sys/poll.h: Add hidden proto for ppoll.
9472 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9473 * sysdeps/mach/hurd/ppoll.c: Likewise.
9474 * io/ppoll.c: Likewise.
9475 * debug/poll_chk.c: New file.
9476 * debug/ppoll_chk.c: New file.
9477 * include/bits/poll2.h: New file.
9478 * io/bits/poll2.h: New file.
9479
ac097f5c
UD
9480 [BZ #1350]
9481 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9482
2119dcfa
UD
9483 * configure.in: static is always set to yes. Remove.
9484 * config.make.in: Don't set build-static.
9485 * Makeconfig: Remove use of build-static.
9486 * dlfcn/Makefile: Likewise.
9487 * elf/Makefile: Likewise.
9488 * math/Makefile: Likewise.
9489 * misc/Makefile: Likewise.
9490 * nptl/Makefile: Likewise.
9491 * sysdeps/mach/hurd/Makefile: Likewise.
9492
121766a9
UD
9493 * configure.in: PWD_P is not used anymore.
9494 * config.make.in: Remove PWD_P entry.
9495
51a1d39c 9496 * configure.in: Remove last remnants of RANLIB.
8720d066 9497 No need to check for signed size_t anymore.
215f4bdc
UD
9498 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9499 and IA-64.
3857022a 9500 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9501 * aclocal.m4: Likewise.
9502
d3ed7225
UD
9503 * wcsmbs/mbrtoc16.c: Implement using towc function.
9504 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9505 * wcsmbs/wcsmbsload.c: Likewise.
9506 * iconv/gconv_simple.c: Likewise.
9507 * iconv/gconv_int.h: Likewise.
9508 * iconv/gconv_builtin.h: Likewise.
9509 * iconv/iconv_prog.c: Remove CHAR16 handling.
9510
9511 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9512
9513 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9514
a0da5fe1
UD
9515 * configure.in: Remove --with-elf and --enable-bounded options.
9516 Dont set base_machine for ia64. More non-ELF conditions removed.
9517 Remove testing and setting of leading underscore information.
9518 * config.make.in (build-bounded): Set to no.
9519 * config.h.in: Remove NO_UNDERSCORES entry.
9520 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9521 them.
9522 * csu/start.c: Remove !NO_UNDERSCORE code.
9523 * locale/localeinfo.h: Likewise.
9524 * sysdeps/generic/machine-gmon.h: Likewise.
9525 * sysdeps/generic/sysdep.h: Likewise.
9526 * sysdeps/i386/sysdep.h: Likewise.
9527 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9528 * sysdeps/mach/sysdep.h: Likewise.
9529 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9530 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9531 * sysdeps/sh/sysdep.h: Likewise.
9532 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9533 * sysdeps/unix/i386/sysdep.S: Likewise.
9534 * sysdeps/unix/sparc/start.c: Likewise.
9535 * sysdeps/unix/sparc/sysdep.S: Likewise.
9536 * sysdeps/unix/sparc/sysdep.h: Likewise.
9537 * sysdeps/unix/start.c: Likewise.
9538 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9539 * sysdeps/x86_64/sysdep.h: Likewise.
9540
df78418a
UD
95412012-01-07 Ulrich Drepper <drepper@gmail.com>
9542
a784e502
UD
9543 [BZ #13553]
9544 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9545 for non-gcc.
9546 * argp/argp-fmtstream.h: Use const instead __const.
9547 * argp/argp.h: Likewise.
9548 * assert/assert.h: Likewise.
9549 * bits/fenv.h: Likewise.
9550 * bits/sched.h: Likewise.
9551 * bits/sigset.h: Likewise.
9552 * bits/sigthread.h: Likewise.
9553 * catgets/nl_types.h: Likewise.
9554 * conform/data/pthread.h-data: Likewise.
9555 * crypt/crypt-private.h: Likewise.
9556 * crypt/crypt.h: Likewise.
9557 * crypt/crypt_util.c: Likewise.
9558 * ctype/ctype.h: Likewise.
9559 * debug/execinfo.h: Likewise.
9560 * debug/mbsnrtowcs_chk.c: Likewise.
9561 * debug/mbsrtowcs_chk.c: Likewise.
9562 * debug/wcsnrtombs_chk.c: Likewise.
9563 * debug/wcsrtombs_chk.c: Likewise.
9564 * debug/wcstombs_chk.c: Likewise.
9565 * dirent/dirent.h: Likewise.
9566 * dlfcn/dlfcn.h: Likewise.
9567 * elf/neededtest4.c: Likewise.
9568 * grp/grp.h: Likewise.
9569 * gshadow/gshadow.h: Likewise.
9570 * iconv/gconv.h: Likewise.
9571 * iconv/gconv_int.h: Likewise.
9572 * iconv/gconv_simple.c: Likewise.
9573 * iconv/iconv.h: Likewise.
9574 * iconv/loop.c: Likewise.
9575 * iconv/skeleton.c: Likewise.
9576 * include/aio.h: Likewise.
9577 * include/aliases.h: Likewise.
9578 * include/argz.h: Likewise.
9579 * include/arpa/inet.h: Likewise.
9580 * include/assert.h: Likewise.
9581 * include/dirent.h: Likewise.
9582 * include/dlfcn.h: Likewise.
9583 * include/execinfo.h: Likewise.
9584 * include/fcntl.h: Likewise.
9585 * include/fenv.h: Likewise.
9586 * include/glob.h: Likewise.
9587 * include/grp.h: Likewise.
9588 * include/libintl.h: Likewise.
9589 * include/mntent.h: Likewise.
9590 * include/netdb.h: Likewise.
9591 * include/pwd.h: Likewise.
9592 * include/rpc/netdb.h: Likewise.
9593 * include/sched.h: Likewise.
9594 * include/search.h: Likewise.
9595 * include/shadow.h: Likewise.
9596 * include/signal.h: Likewise.
9597 * include/stdio.h: Likewise.
9598 * include/stdlib.h: Likewise.
9599 * include/string.h: Likewise.
9600 * include/sys/socket.h: Likewise.
9601 * include/sys/stat.h: Likewise.
9602 * include/sys/statfs.h: Likewise.
9603 * include/sys/statvfs.h: Likewise.
9604 * include/sys/syslog.h: Likewise.
9605 * include/sys/time.h: Likewise.
9606 * include/sys/uio.h: Likewise.
9607 * include/time.h: Likewise.
9608 * include/unistd.h: Likewise.
9609 * include/utmp.h: Likewise.
9610 * include/wchar.h: Likewise.
9611 * include/wctype.h: Likewise.
9612 * inet/aliases.h: Likewise.
9613 * inet/arpa/inet.h: Likewise.
9614 * inet/netinet/ether.h: Likewise.
9615 * inet/netinet/in.h: Likewise.
9616 * intl/libintl.h: Likewise.
9617 * io/bits/fcntl2.h: Likewise.
9618 * io/fcntl.h: Likewise.
9619 * io/ftw.h: Likewise.
9620 * io/sys/poll.h: Likewise.
9621 * io/sys/stat.h: Likewise.
9622 * io/sys/statfs.h: Likewise.
9623 * io/sys/statvfs.h: Likewise.
9624 * io/utime.h: Likewise.
9625 * libio/bits/stdio.h: Likewise.
9626 * libio/bits/stdio2.h: Likewise.
9627 * libio/libio.h: Likewise.
9628 * libio/libioP.h: Likewise.
9629 * libio/stdio.h: Likewise.
9630 * locale/lc-ctype.c: Likewise.
9631 * locale/locale.h: Likewise.
9632 * login/utmp.h: Likewise.
9633 * malloc/arena.c: Likewise.
9634 * malloc/malloc.c: Likewise.
9635 * malloc/malloc.h: Likewise.
9636 * malloc/mcheck.c: Likewise.
9637 * malloc/mtrace.c: Likewise.
9638 * math/bits/mathcalls.h: Likewise.
9639 * math/fenv.h: Likewise.
9640 * math/math_private.h: Likewise.
9641 * misc/bits/error.h: Likewise.
9642 * misc/bits/syslog.h: Likewise.
9643 * misc/err.h: Likewise.
9644 * misc/error.h: Likewise.
9645 * misc/fstab.h: Likewise.
9646 * misc/mntent.h: Likewise.
9647 * misc/regexp.h: Likewise.
9648 * misc/search.h: Likewise.
9649 * misc/sgtty.h: Likewise.
9650 * misc/sys/mman.h: Likewise.
9651 * misc/sys/syslog.h: Likewise.
9652 * misc/sys/uio.h: Likewise.
9653 * misc/sys/xattr.h: Likewise.
9654 * misc/ttyent.h: Likewise.
9655 * nis/rpcsvc/ypclnt.h: Likewise.
9656 * nss/nss.h: Likewise.
9657 * posix/bits/unistd.h: Likewise.
9658 * posix/fnmatch.h: Likewise.
9659 * posix/glob.h: Likewise.
9660 * posix/sched.h: Likewise.
9661 * posix/spawn.h: Likewise.
9662 * posix/sys/wait.h: Likewise.
9663 * posix/unistd.h: Likewise.
9664 * posix/wordexp.h: Likewise.
9665 * pwd/pwd.h: Likewise.
9666 * resolv/netdb.h: Likewise.
9667 * resource/sys/resource.h: Likewise.
9668 * rt/aio.h: Likewise.
9669 * rt/bits/mqueue2.h: Likewise.
9670 * rt/mqueue.h: Likewise.
9671 * shadow/shadow.h: Likewise.
9672 * signal/signal.h: Likewise.
9673 * socket/send.c: Likewise.
9674 * socket/sendto.c: Likewise.
9675 * socket/sys/socket.h: Likewise.
9676 * stdio-common/printf.h: Likewise.
9677 * stdlib/bits/stdlib.h: Likewise.
9678 * stdlib/fmtmsg.h: Likewise.
9679 * stdlib/monetary.h: Likewise.
9680 * stdlib/stdlib.h: Likewise.
9681 * stdlib/ucontext.h: Likewise.
9682 * streams/stropts.h: Likewise.
9683 * string/argz.h: Likewise.
9684 * string/bits/string2.h: Likewise.
9685 * string/string.h: Likewise.
9686 * string/strings.h: Likewise.
9687 * sunrpc/rpc/auth.h: Likewise.
9688 * sunrpc/rpc/auth_des.h: Likewise.
9689 * sunrpc/rpc/clnt.h: Likewise.
9690 * sunrpc/rpc/netdb.h: Likewise.
9691 * sunrpc/rpc/pmap_clnt.h: Likewise.
9692 * sunrpc/rpc/xdr.h: Likewise.
9693 * sysdeps/generic/inttypes.h: Likewise.
9694 * sysdeps/generic/net/if.h: Likewise.
9695 * sysdeps/generic/sys/swap.h: Likewise.
9696 * sysdeps/gnu/net/if.h: Likewise.
9697 * sysdeps/gnu/utmpx.h: Likewise.
9698 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9699 * sysdeps/i386/i486/bits/string.h: Likewise.
9700 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9701 * sysdeps/s390/bits/string.h: Likewise.
9702 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9703 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9704 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9705 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9706 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9707 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9708 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9709 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9710 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9711 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9712 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9713 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9714 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9715 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9716 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9717 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9718 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9719 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9720 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9721 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9722 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9723 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9724 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9725 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9726 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9727 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9728 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9729 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9730 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9731 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9732 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9733 * sysvipc/sys/ipc.h: Likewise.
9734 * sysvipc/sys/msg.h: Likewise.
9735 * sysvipc/sys/sem.h: Likewise.
9736 * sysvipc/sys/shm.h: Likewise.
9737 * termios/termios.h: Likewise.
9738 * time/sys/time.h: Likewise.
9739 * time/time.h: Likewise.
9740 * wcsmbs/bits/wchar2.h: Likewise.
9741 * wcsmbs/uchar.h: Likewise.
9742 * wcsmbs/wchar.h: Likewise.
9743 * wctype/wctype.h: Likewise.
9744
0269750c
UD
9745 [BZ #13551]
9746 * Makeconfig: Remove all but ELF support including AIX support.
9747 * Makerules: Likewise.
9748 * config.h.in: Likewise.
9749 * config.make.in: Likewise.
9750 * configure: Likewise.
9751 * configure.in: Likewise.
9752 * csu/Makefile: Likewise.
9753 * csu/version.c: Likewise.
9754 * debug/Makefile: Likewise.
9755 * dlfcn/Makefile: Likewise.
9756 * elf/Makefile: Likewise.
9757 * extra-lib.mk: Likewise.
9758 * iconv/Makefile: Likewise.
9759 * include/libc-symbols.h: Likewise.
9760 * include/shlib-compat.h: Likewise.
9761 * resolv/Makefile: Likewise.
9762 * resolv/res_libc.c: Likewise.
9763 * rt/Makefile: Likewise.
9764 * sysdeps/i386/asm-syntax.h: Likewise.
9765 * sysdeps/i386/sysdep.h: Likewise.
9766 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9767 * sysdeps/mach/sysdep.h: Likewise.
9768 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9769 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9770 * sysdeps/s390/asm-syntax.h: Likewise.
9771 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9772 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9773 * sysdeps/sh/sysdep.h: Likewise.
9774 * sysdeps/unix/sparc/sysdep.h: Likewise.
9775 * sysdeps/wordsize-32/divdi3.c: Likewise.
9776 * sysdeps/x86_64/sysdep.h: Likewise.
9777
00bbd29b
UD
9778 * argp/Versions: Remove _argp_unlock_xxx.
9779
9780 [BZ #13559]
9781 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9782 * abilist/libBrokenLocale.abilist: Likewise.
9783 * abilist/libanl.abilist: Likewise.
9784 * abilist/libc.abilist: Likewise.
9785 * abilist/libcrypt.abilist: Likewise.
9786 * abilist/libdl.abilist: Likewise.
9787 * abilist/libm.abilist: Likewise.
9788 * abilist/libnsl.abilist: Likewise.
9789 * abilist/libpthread.abilist: Likewise.
9790 * abilist/libresolv.abilist: Likewise.
9791 * abilist/librt.abilist: Likewise.
9792 * abilist/libthread_db.abilist: Likewise.
9793 * abilist/libutil.abilist: Likewise.
9794 * abilist/libnss_db.abilist: New file.
9795
9796 * scripts/abilist.awk: Add support for indirect functions.
9797
a2693a0e
UD
9798 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9799
3f05895f
UD
9800 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9801
ecb6fb48
UD
9802 * shlib-versions: Remove entries for ports architectures.
9803
664f8cb9
UD
9804 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9805 files in ports.
9806 * elf/stackguard-macros.h: Remove support for IA-64.
9807 * elf/tst-auditmod1.c: Likewise.
9808 * sysdeps/generic/ldsodefs.h: Likewise.
9809
7ae81d88
UD
9810 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9811 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9812 configure files.
9813
bdeba135
UD
9814 [BZ #13552]
9815 * configure.in: Remove --enable-omitfp support.
9816 * FAQ.in: Adjust.
9817 * config.make.in: Likewise.
9818 * Makeconfig: Likewise.
9819 * manual/install.texi: Likewise.
9820
d75a0a62
UD
9821 In case anyone cares, the IA-64 architecture could move to ports.
9822 * sysdeps/ia64/*: Removed.
9823 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9824 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9825
dcc9756b
UD
9826 [BZ #13555]
9827 * configure.in: Remove entries for unsupported architectures.
9828
d3761ebc 9829 [BZ #13533]
9954432e
UD
9830 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9831 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9832 routines.
9833 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9834 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9835 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9836 fall back to using wcrtomb.
9837 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9838 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9839 renaming.
9840 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9841 * wcsmbs/tst-c16c32-1.c: New file.
9842
9843 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9844 local variable.
9845
c3a87236
UD
9846 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9847
28926a1b
UD
9848 * elf/tst-unique3.cc: Add explicit declaration of gets.
9849 * elf/tst-unique3lib.cc: Likewise.
9850 * elf/tst-unique3lib2.cc: Likewise.
9851 * elf/tst-unique4.cc: Likewise.
9852
df78418a
UD
9853 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9854
8ecd6b2a
JM
98552012-01-06 Joseph Myers <joseph@codesourcery.com>
9856
9857 [BZ #13566]
9858 * assert/assert.h (static_assert): Don't define for C++.
9859 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9860 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9861
9f115170
UD
98622012-01-03 Ulrich Drepper <drepper@gmail.com>
9863
5e0d0300
UD
9864 * iconv/loop.c (single loop): Fix assertion in storing of
9865 remaining bytes.
9866
9f115170
UD
9867 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9868
81fb02b0
UD
98692012-01-01 Ulrich Drepper <drepper@gmail.com>
9870
9871 * posix/getconf.c: Update copyright year.
9872 * nss/getent.c: Likewise.
a316c1f6 9873 * nss/makedb.c: Likewise.
81fb02b0
UD
9874 * iconv/iconvconfig.c: Likewise.
9875 * iconv/iconv_prog.c: Likewise.
9876 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9877 * elf/pldd.c: Likewise.
9878 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9879 * catgets/gencat.c: Likewise.
9880 * csu/version.c: Likewise.
9881 * elf/ldd.bash.in: Likewise.
9882 * elf/sprof.c (print_version): Likewise.
9883 * locale/programs/locale.c: Likewise.
9884 * locale/programs/localedef.c: Likewise.
a316c1f6 9885 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9886 * nscd/nscd.c (print_version): Likewise.
9887 * debug/xtrace.sh: Likewise.
9888 * malloc/memusage.sh: Likewise.
9889 * malloc/mtrace.pl: Likewise.
9890 * debug/catchsegv.sh: Likewise.
9891
2ba92745
JJ
98922011-12-30 Jakub Jelinek <jakub@redhat.com>
9893
9894 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9895 pure attribute.
9896
dadebdae
UD
98972011-12-24 Ulrich Drepper <drepper@gmail.com>
9898
d3761ebc 9899 [BZ #13533]
db6af3eb
UD
9900 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9901 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9902 transformations.
9903 * iconv/gconv_int.h: Likewise.
9904 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9905 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9906 from libc for GLIBC_2.16.
9907 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9908 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9909 * wcsmbs/uchar.h: Really define mbstate_t.
9910 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9911 * wcsmbs/c16rtomb.c: New file.
9912 * wcsmbs/mbrtoc16.c: New file.
9913 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9914 for C/POSIX locale.
9915 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9916 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9917
dadebdae
UD
9918 * wcsmbs/wchar.h: Add missing __restrict.
9919
67371b56
UD
99202011-12-23 Ulrich Drepper <drepper@gmail.com>
9921
74033a25
UD
9922 [BZ #13532]
9923 * time/Makefile (routines): Add timespec_get.
9924 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9925 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9926 timespec for ISO C11.
9927 * time/timespec_get.c: New file.
9928 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9929 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9930
380d7e87
UD
9931 [BZ #13531]
9932 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9933 * stdlib/stdlib.h: Declare aligned_alloc.
9934 * Versions.def: Add GLIBC_2.16 for libc.
9935 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9936
4e9e7a35
UD
9937 [BZ 13527]
9938 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9939 ISO C11.
9940
380d7e87 9941 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9942 code.
9943
03a71829
UD
9944 [BZ #13528]
9945 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9946
839e283e
UD
9947 [BZ #13529]
9948 * assert/assert.h (static_assert): Define.
9949
ce5294e2 9950 * version.h: Update for 2.16 development version.
90fa7312 9951
8d44e150 9952 [BZ #13526]
d7809905
UD
9953 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9954 _ISOC11_SOURCE.
9955
c0da14cd
UD
9956 * version.h (RELEASE): Bump for 2.15 release.
9957 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9958
530a3249
MP
9959 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9960 Patch by Marek Polacek <mpolacek@redhat.com>.
9961
67371b56
UD
9962 * bits/byteswap.h: Protect long long constants with __extension__.
9963 * sysdeps/i386/bits/byteswap.h: Likewise.
9964 * sysdeps/ia64/bits/byteswap.h: Likewise.
9965 * sysdeps/s390/bits/byteswap.h: Likewise.
9966 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9967
15db4de1
LD
99682011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9969
9970 [BZ #13540]
bbe315ea
LD
9971 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9972 destination buffer.
15db4de1
LD
9973 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9974
2b2596b1
MP
99752011-12-23 Marek Polacek <polacek@redhat.com>
9976
9977 * elf/dl-addr.c (determine_info): Add inline keyword.
9978 * elf/tst-auditmod4b.c (check_avx): Likewise.
9979 * elf/tst-auditmod6b.c (check_avx): Likewise.
9980 * elf/tst-auditmod6c.c (check_avx): Likewise.
9981 * elf/tst-auditmod7b.c (check_avx): Likewise.
9982
70c6c246
UD
99832011-12-23 Ulrich Drepper <drepper@gmail.com>
9984
9985 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9986 !__SSE_MATH__.
9987
c044cf14
LD
99882011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9989
15db4de1 9990 [BZ #13540]
c044cf14
LD
9991 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9992 processing for last bytes.
9993
6b13d9d9
BH
99942011-08-06 Bruno Haible <bruno@clisp.org>
9995
d455f537
BH
9996 [BZ #13061]
9997 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9998 U+0385, not to U+1FEE.
9999
6b13d9d9
BH
10000 [BZ #13062]
10001 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10002 entry for U+00A5 U+0301.
10003
db910efd
UD
100042011-12-22 Ulrich Drepper <drepper@gmail.com>
10005
27deeafc
UD
10006 [BZ #13166]
10007 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10008 buffer for the output is too small.
10009
aed9d171
UD
10010 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10011 optimization.
10012
db910efd
UD
10013 [BZ #13185]
10014 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10015 SSE flags if possible.
10016
2bd779ae
LD
100172011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10018
e7f9dac3 10019 [BZ #13540]
2bd779ae
LD
10020 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10021 processing for last bytes.
10022
154bfc16
JM
100232011-12-22 Joseph Myers <joseph@codesourcery.com>
10024
10025 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10026 (syscall-list-default-options, syscall-list-default-condition)
10027 (syscall-list-includes): Define.
10028 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10029 list of ABIs and options and #if conditions for each ABI. Do not
10030 handle common syscalls between ABIs specially.
10031 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10032 Remove.
10033 (syscall-list-variants, syscall-list-32bit-options)
10034 (syscall-list-32bit-condition, syscall-list-64bit-options)
10035 (syscall-list-64bit-condition): Define.
10036 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10037 (syscall-list-variants, syscall-list-32bit-options)
10038 (syscall-list-32bit-condition, syscall-list-64bit-options)
10039 (syscall-list-64bit-condition): Define.
10040 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10041 Remove.
10042 (syscall-list-variants, syscall-list-32bit-options)
10043 (syscall-list-32bit-condition, syscall-list-64bit-options)
10044 (syscall-list-64bit-condition): Define.
10045 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10046 Remove.
10047 (syscall-list-variants, syscall-list-32bit-options)
10048 (syscall-list-32bit-condition, syscall-list-64bit-options)
10049 (syscall-list-64bit-condition): Define.
10050
21eaf3a5
UD
100512011-12-22 Ulrich Drepper <drepper@gmail.com>
10052
16c6f992
UD
10053 * locale/iso-639.def: Add brx entry.
10054
41043168
UD
10055 [BZ #13328]
10056 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10057 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10058
21eaf3a5
UD
10059 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10060 __feraiseexcept_renamed.
10061
e3a851a2
UD
100622011-12-21 Ulrich Drepper <drepper@gmail.com>
10063
4920765e
UD
10064 [BZ #13538]
10065 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10066 EPOLLET with unsigned values.
10067 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10068 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10069
e3a851a2
UD
10070 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10071 to large cancellation.
10072 * math/s_cacoshf.c: Likewise.
10073 * math/s_cacoshl.c: Likewise.
10074
b27e24b8
RK
100752011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10076
10077 [BZ #13305]
aebefeee 10078 [BZ #12786]
b27e24b8
RK
10079 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10080 * math/s_cacoshf.c: Likewise.
10081 * math/s_cacoshl.c: Likewise.
10082
ee190f67
UD
100832011-12-21 Ulrich Drepper <drepper@gmail.com>
10084
10085 [BZ #13439]
10086 * iconv/gconv.h: Define __GCONV_SWAP.
10087 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10088 * iconvdata/utf-16.c: Likewise.
10089 * iconvdata/utf-32.c: Likewise.
10090
707f25df
AS
100912011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10092
10093 [BZ #13524]
10094 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10095 numerator after shifting it by one limb.
10096
d2daaa1e
RÁE
100972011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10098
10099 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10100 under [__USE_EXTERN_INLINES].
10101
a4647e72
UD
101022011-12-17 Ulrich Drepper <drepper@gmail.com>
10103
10104 [BZ #13446]
10105 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10106
f0b264f1
AZ
101072011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10108
10109 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10110 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10111 optimized code.
10112 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10113 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10114 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10115 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10116 for strncasecmp/strncasecmp_l compilation.
10117 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10118 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10119
8ef4f244
MP
101202011-12-08 Marek Polacek <mpolacek@redhat.com>
10121
10122 [BZ #13484]
10123 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10124 of __asm__.
10125
97ac2654
UD
101262011-12-17 Ulrich Drepper <drepper@gmail.com>
10127
10128 [BZ #13506]
10129 * time/tzfile.c (__tzfile_read): Check values from file header.
10130
91d2a845
WS
101312011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10132
10133 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10134 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10135 * powerpc/powerpc32/dl-start.S: Likewise.
10136 * powerpc/powerpc32/elf/start.S: Likewise.
10137 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10138 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10139 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10140 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10141 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10142 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10143 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10144 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10145 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10146 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10147 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10148 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10149 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10150 * powerpc/powerpc32/memset.S: Likewise.
10151 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10152 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10153 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10154 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10155 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10156 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10157 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10158 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10159 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10160 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10161 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10162 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10163 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10164
a1267ba1
AZ
101652011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10166
10167 * math/libm-test.inc: Added more nearbyint tests.
10168 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10169 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10170 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10171 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10172
ad8ac1bd
RL
101732011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10174
10175 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10176 FD_CLOEXEC.
10177
1d3e4b61
UD
101782011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10179
10180 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10181 Add wcscpy-ssse3 wcscpy-c.
10182 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10183 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10184 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10185 * sysdeps/x86_64/wcschr.S: New file.
10186 * sysdeps/x86_64/wcsrchr.S: New file.
10187 * string/test-strcmp.c: Remove checking of wcscmp function for
10188 wrong alignments.
10189 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10190 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10191 wcsrchr-sse2 wcsrchr-c.
10192 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10193 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10194 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10195 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10196 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10197 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10198 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10199 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10200 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10201 * wcsmbc/wcschr.c (WCSCHR): New macro.
10202
5b330a2d
UD
102032011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10204
10205 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10206 * wcsmbs/test-wcsrchr.c: New file.
10207 * string/test-strrchr.c: Add wcsrchr support.
10208 (WIDE): New macro.
10209 * wcsmbs/test-wcscpy.c: New file.
10210 * string/test-strcpy.c: Add wcscpy support.
10211 (WIDE): New macro.
26428b7c 10212
f039c043
UD
102132011-12-10 Ulrich Drepper <drepper@gmail.com>
10214
10215 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10216 the inner loop.
10217
850fb039
AS
102182011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10219
10220 [BZ #13472]
10221 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10222
4efbd5cb
UD
102232011-12-04 Ulrich Drepper <drepper@gmail.com>
10224
52ff5dd0 10225 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10226 Minor optimizations.
52ff5dd0 10227
4efbd5cb
UD
10228 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10229 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10230 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10231
8a426e12
UD
102322011-12-03 Ulrich Drepper <drepper@gmail.com>
10233
aff2453d
UD
10234 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10235 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10236 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10237 for gcc to avoid warnings.
10238 * inet/Makefile (tests): Add tst-checks.
10239 * inet/tst-checks.c: New file.
10240
10241 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10242 warning.
10243
10244 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10245 __wmemcmp_sse2.
10246
10247 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10248 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10249
8a426e12
UD
10250 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10251
9bea3473
UD
102522011-12-02 Ulrich Drepper <drepper@gmail.com>
10253
3a965496
UD
10254 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10255 problem.
10256
9bea3473
UD
10257 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10258
f101631b
UD
102592011-11-29 Joseph Myers <joseph@codesourcery.com>
10260
10261 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10262 conditional on GCC version.
10263 (__arch_compare_and_exchange_val_8_acq)
10264 (__arch_compare_and_exchange_val_16_acq)
10265 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10266 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10267 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10268
a98275aa
UD
102692011-12-02 Joseph Myers <joseph@codesourcery.com>
10270
10271 * sysdeps/sh/backtrace.c: New file.
10272
d4cc29a2
AS
102732011-12-02 Andreas Schwab <schwab@redhat.com>
10274
10275 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10276 parenthesis.
10277
6257af2d
AS
102782011-12-01 Andreas Schwab <schwab@redhat.com>
10279
10280 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10281 falling back to utime.
10282
b5f44c1a
AS
102832011-11-30 Andreas Schwab <schwab@redhat.com>
10284
10285 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10286 expectations for float.
10287
f3a6cc0a
AS
102882011-11-29 Andreas Schwab <schwab@redhat.com>
10289
10290 * locale/weight.h (findidx): Add parameter len.
10291 * locale/weightwc.h (findidx): Likewise.
10292 * posix/fnmatch_loop.c (FCT): Adjust caller.
10293 * posix/regcomp.c (build_equiv_class): Likewise.
10294 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10295 * posix/regexec.c (check_node_accept_bytes): Likewise.
10296 * string/strcoll_l.c (STRCOLL): Likewise.
10297 * string/strxfrm_l.c (STRXFRM): Likewise.
10298
9d65ea3a
UD
102992011-11-17 Ulrich Drepper <drepper@gmail.com>
10300
10301 * Makefile.in: Remove CVSOPT handling.
10302 * configure.in: Remove use of AC_REVISION.
10303 * iconvdata/Makefile (distribute): No need to filter out CVS.
10304 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10305 handling.
10306
5583a086
AS
103072011-11-16 Andreas Schwab <schwab@redhat.com>
10308
10309 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10310 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10311 [USE_AS_STRNCASECMP_L]: Likewise.
10312 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10313 NO_TLS_DIRECT_SEG_REFS.
10314 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10315 Fix argument offsets for non-PIC.
10316 [USE_AS_STRNCASECMP_L]: Likewise.
10317 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10318 NO_TLS_DIRECT_SEG_REFS.
10319
d62a8200
UD
103202011-11-15 Ulrich Drepper <drepper@gmail.com>
10321
9d65ea3a 10322 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10323 O_CLOEXEC.
10324 * locale/loadlocale.c (_nl_load_locale): Likewise.
10325
09f93bd3
AS
103262011-11-15 Andreas Schwab <schwab@redhat.com>
10327
446514f9
AS
10328 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10329 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10330 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10331 (SYSCALL_GETTIME): Set errno on error.
10332
09f93bd3
AS
10333 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10334 count references to noai6ai_cached.
10335
312be3f9
UD
103362011-11-15 Ulrich Drepper <drepper@gmail.com>
10337
10338 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10339
10340 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10341 FD_CLOEXEC for /proc/self/maps.
10342
10343 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10344 FD_CLOEXEC for /proc/meminfo.
10345
10346 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10347 gai.conf.
10348
10349 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10350 FD_CLOEXEC for given file.
10351
10352 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10353
10354 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10355 FD_CLOEXEC for /etc/hosts.
10356 (_gethtent): Likewise.
10357
10358 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10359
10360 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10361 cancellation and set FD_CLOEXEC for /etc/netgroup.
10362
10363 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10364 reading /etc/publickey.
10365
10366 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10367 allow cancellation when reading /etc/group.
10368
10369 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10370 cancellation.
10371 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10372
10373 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10374 when using data file.
10375
10376 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10377
10378 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10379 (write_nis_obj): Use "c" and "e" in fopen.
10380
10381 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10382
10383 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10384
10385 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10386
10387 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10388
10389 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10390 locale.alias.
10391
10392 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10393
10394 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10395
10396 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10397
10398 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10399 file parsing and set FD_CLOEXEC.
10400
82af0fa8
UD
104012011-11-14 Ulrich Drepper <drepper@gmail.com>
10402
10403 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10404
a5fb313c
AS
104052011-11-14 Andreas Schwab <schwab@redhat.com>
10406
10407 * malloc/arena.c (arena_get2): Don't call reused_arena when
10408 _int_new_arena failed.
10409
6abf3465
UD
104102011-11-14 Ulrich Drepper <drepper@gmail.com>
10411
10412 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10413 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10414 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10415 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10416 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10417 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10418 to compile strcasecmp and strncasecmp.
10419 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10420 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10421
10422 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10423
76e3966e
UD
104242011-11-13 Ulrich Drepper <drepper@gmail.com>
10425
10426 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10427 locale-defines.sym to gen-as-const-headers.
10428 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10429 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10430 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10431 to compile strcasecmp and strncasecmp.
10432 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10433 strcasecmp_l and strncasecmp_l.
10434 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10435 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10436 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10437 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10438 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10439 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10440 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10441 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10442 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10443 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10444 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10445
ab26144e
UD
104462011-11-12 Ulrich Drepper <drepper@gmail.com>
10447
7edb22ef
UD
10448 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10449 result of SYSDEP_GETTIME_CPU to retval.
10450 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10451 parameter list to macro. Remove trailing semicolon. Adjust users.
10452
9694fc44
UD
10453 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10454 variable.
10455
8ad89ef8
UD
10456 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10457 mantissa words.
10458 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10459
0c822ef9
UD
10460 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10461 from unused variable.
10462
874e0564
UD
10463 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10464 DWARF definitions.
10465 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10466 for assembling.
10467
3a2edc79
UD
10468 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10469 over namespaces.
10470
f3c2577f
UD
10471 * sunrpc/rpc_prot.c (rejected): Fix case value.
10472
294ce126
UD
10473 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10474 unsigned long long int to avoid warnings in shift.
10475
5e2b63c6
UD
10476 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10477 of use of trans.
10478 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10479 variable tmp.
10480
e7f4b08e
UD
10481 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10482 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10483 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10484
ab26144e
UD
10485 * nis/nis_table.c (nis_list): Use variable of correct type for
10486 result of __follow_path call.
10487
8a6d5255
AZ
104882011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10489
10490 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10491 of math functions ceil, trunc, floor, round, and sqrt, when
10492 avaliable on the platform.
10493 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10494 name clash.
10495 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10496 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10497 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10498
aaddc98c
MP
104992011-10-30 Marek Polacek <mpolacek@redhat.com>
10500
10501 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10502 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10503
95b7042b
RM
105042011-11-11 Roland McGrath <roland@hack.frob.com>
10505
10506 * include/unistd.h: Fix __readlink return type.
10507 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10508
57769839
UD
105092011-11-11 Ulrich Drepper <drepper@gmail.com>
10510
10511 * stdlib/ucontext.h: Undo last change for makecontext.
10512
edc5984d
AS
105132011-11-11 Andreas Schwab <schwab@redhat.com>
10514
98591e58
AS
10515 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10516
edc5984d
AS
10517 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10518 * setjmp/setjmp.h: Mark functions as non-leaf.
10519 * setjmp/bits/setjmp2.h: Likewise.
10520 * stdlib/ucontext.h: Likewise.
10521
77cdc054
AS
105222011-11-10 Andreas Schwab <schwab@redhat.com>
10523
10524 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10525 (reused_arena): Don't check arena limit.
10526 (arena_get2): Atomically check arena limit.
10527
fe72eebd
UD
105282011-11-08 Ulrich Drepper <drepper@gmail.com>
10529
5f078c32
UD
10530 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10531 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10532
fe72eebd
UD
10533 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10534 instructions.
10535
ae1bc2fa
AS
105362011-11-07 Andreas Schwab <schwab@redhat.com>
10537
7583a88d
AS
10538 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10539 handler when locking.
10540
ae1bc2fa
AS
10541 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10542 Fix size of allocated buffer.
10543
10fb0bfa
AS
105442011-11-04 Andreas Schwab <schwab@redhat.com>
10545
998832a4
AS
10546 [BZ #10103]
10547 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10548 declarations for long double functions.
10549 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10550
10fb0bfa
AS
10551 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10552
3d7ba52b
AS
105532011-11-03 Andreas Schwab <schwab@redhat.com>
10554
a9ae54a1
AS
10555 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10556 installed.
10557
3d7ba52b
AS
10558 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10559 is disabled.
10560
bc8db248
ST
105612011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10562
10563 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10564
45b96dd6
AS
105652011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10566
647776f6
AS
10567 * include/alloca.h (stackinfo_alloca_round): Define.
10568 (extend_alloca): Use it.
10569 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10570 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10571 here.
10572
d91a8b93
AS
10573 * scripts/check-local-headers.sh: Ignore libaudit.h.
10574
45b96dd6
AS
10575 * nscd/Makefile (extra-objs): Make recursively expanded.
10576
432d41ce
UD
105772011-11-01 Ulrich Drepper <drepper@gmail.com>
10578
34372fc6
UD
10579 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10580 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10581
fadb59f8
UD
10582 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10583 * posix/tst-rfc3484-2.c: Likewise.
10584 * posix/tst-rfc3484-3.c: Likewise.
10585
78239589
UD
10586 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10587 process_vm_writev.
10588 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10589 process_vm_writev.
10590 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10591 process_vm_writev from libc using GLIBC_2.15 version.
10592
432d41ce
UD
10593 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10594
02f9c6cf
PP
105952011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10596
10597 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10598 stack usage.
10599
3a2c0242
UD
106002011-10-31 Ulrich Drepper <drepper@gmail.com>
10601
f4ec4833
UD
10602 [BZ #13367]
10603 * nss/getent.c (initgroups_keys): Show error message in case no group
10604 names are given.
10605
3a2c0242
UD
10606 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10607 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10608 __bump_nl_timestamp.
10609 * nscd/connections (nscd_init): When host database is served open
10610 netlink socket and request notification about configuration changes.
10611 (main_loop_poll): Track netlink file descriptor and bump timestamp
10612 in case data becomes available.
10613 (main_loop_epoll): Likewise.
10614 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10615 (database_pers_head): Add extra_data fileds.
10616 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10617 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10618 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10619 Adjust caller.
10620 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10621 in6ai data, call __free_in6ai.
10622 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10623 Add -DHAVE_NETLINK.
10624 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10625 interface information. Reuse previous data if netlink timestamp
10626 is not changed.
10627 (__bump_nl_timestamp): New function.
10628 (__free_in6ai): New function.
10629
636064eb
UD
106302011-10-30 Ulrich Drepper <drepper@gmail.com>
10631
10632 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10633 close_not_cancel_no_status here.
10634 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10635
9beb2334
UD
106362011-10-29 Ulrich Drepper <drepper@gmail.com>
10637
6ef76f3b
UD
10638 [BZ #13276]
10639 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10640 return value.
10641
0ffc4f3e 10642 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10643 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10644 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10645
cb95113e
UD
106462011-07-03 Andreas Jaeger <aj@suse.de>
10647
10648 [BZ #10709]
10649 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10650 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10651 * math/libm-test.inc (sin_test): Add test case.
10652
a1b560ff
UD
106532011-10-29 Ulrich Drepper <drepper@gmail.com>
10654
c9aaface
UD
10655 [BZ #13337]
10656 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10657 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10658
d272e7f1
UD
10659 * elf/chroot_canon.c (chroot_canon): Cleanups.
10660
1bc33071
UD
10661 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10662
1760874d
TJ
10663 [BZ #13335]
10664 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10665 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10666
51d91b18
UD
10667 * string/test-strchr.c: Make usable for strchrnul testing.
10668 * string/test-strchrnul.c: New file.
10669 * string/Makefile (strop-tests): Add strchrnul.
10670
a1b560ff 10671 * po/it.po: Update from translation team.
b611fb81 10672 * po/es.po: Likewise.
a1b560ff 10673
a5b81e1f
UD
106742011-10-28 Ulrich Drepper <drepper@gmail.com>
10675
fd52bc6d
UD
10676 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10677 the three constants needed as parameters. Drop the others.
10678 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10679 __m128i_strloadu_tolower.
52e4b9eb
UD
10680 Create and initialize variable zero and use it in all the places
10681 where _mm_setzero_si128 was used.
fd52bc6d 10682
a5b81e1f
UD
10683 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10684 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10685 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10686 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10687 anymore.
10688 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10689 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10690 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10691 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10692 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10693 __mpranred, __mptan.
10694 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10695 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10696 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10697 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10698 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10699 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10700 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10701 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10702 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10703
b4343346
AS
107042011-10-28 Andreas Schwab <schwab@redhat.com>
10705
0c92d8a8
AS
10706 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10707 redefine if SHARED.
10708 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10709
b4343346
AS
10710 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10711 wide char related routines to wcsmbs subdir.
10712
3871f58f
AS
107132011-10-27 Andreas Schwab <schwab@redhat.com>
10714
10715 [BZ #13344]
10716 * misc/sys/cdefs.h (__THROWNL): Define.
10717 * posix/unistd.h: Use __THREADNL instead of __THREAD
10718 for memory synchronization functions.
10719
94d44d9f
RM
107202011-10-26 Roland McGrath <roland@hack.frob.com>
10721
21b64b15 10722 [BZ #13349]
94d44d9f
RM
10723 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10724 doesn't exist.
10725 * manual/stdio.texi (Obstack Streams): Node removed.
10726
f6ce9294
AS
107272011-10-26 Andreas Schwab <schwab@redhat.com>
10728
80479147
AS
10729 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10730 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10731 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10732
f6ce9294
AS
10733 * math/math_private.h (math_force_eval): Allow non-addressable
10734 arguments.
10735 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10736
618280a1
UD
107372011-10-25 Ulrich Drepper <drepper@gmail.com>
10738
e0016b11
UD
10739 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10740 file is not needed.
10741
10742 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10743 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10744 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10745 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10746 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10747 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10748 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10749 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10750 Add AVX variants.
10751 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10752 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10753 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10754 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10755 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10756 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10757 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10758 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10759 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10760 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10761 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10762 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10763 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10764 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10765 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10766 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10767 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10768 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10769 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10770
10771 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10772 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10773
618280a1
UD
10774 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10775 place. Use VEX encoding when compiling for AVX.
10776
37822576
AS
107772011-10-25 Andreas Schwab <schwab@redhat.com>
10778
1f1e1947
AS
10779 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10780 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10781
37822576
AS
10782 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10783
31ea014d
UD
107842011-10-25 Ulrich Drepper <drepper@gmail.com>
10785
d7826aa1 10786 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10787 useless if() expression.
d7826aa1
UD
10788 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10789 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10790 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10791 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10792 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10793 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10794 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10795 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10796 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10797 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10798 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10799 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10800 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10801 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10802 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10803 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10804 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10805 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10806 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10807
31ea014d
UD
10808 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10809
16437fec
AS
108102011-10-25 Andreas Schwab <schwab@redhat.com>
10811
10812 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10813 condition.
10814 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10815
31d3cc00
UD
108162011-10-25 Ulrich Drepper <drepper@gmail.com>
10817
10818 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10819 .text section. Avoid duplicate constants.
10820 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10821 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10822 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10823 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10824 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10827 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10828 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10829 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10830 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10831 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10832 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10833 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10834 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10835 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10836 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10837 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10838 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10839 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10840 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10841 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10842 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10843 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10844 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10845 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10846 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10847 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10848 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10849 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10850 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10851 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10852 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10853 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10854 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10855 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10856 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10857 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10858 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10859 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10860 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10861 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10862 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10863 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10864 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10865
58985aa9
UD
108662011-10-24 Ulrich Drepper <drepper@gmail.com>
10867
202c9deb
UD
10868 * sysdeps/x86_64/dla.h: Move to ...
10869 * sysdeps/x86_64/fpu/dla.h: ...here.
10870 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10871 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10872
af968f62
UD
10873 * config.make.in: Add have-mfma4 entry.
10874 * configure.in: Substitute libc_cv_cc_fma4.
10875 * math/Makefile (dbl-only-routines): Add sincostab.
10876 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10877 Use __sincostab not sincos.
10878 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10879 name is a macro.
10880 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10881 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10882 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10883 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10884 using __copysign.
10885 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10886 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10887 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10888 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10889 and __inv.
10890 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10891 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10892 __copysign.
10893 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10894 define aliases when function name is a macro.
10895 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10896 sysdeps/ieee754/dbl-64/sincos.tbl.
10897 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10898 fma4-enabled routines.
10899 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10900 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10901 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10902 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10903 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10904 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10905 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10906 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10907 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10908 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10909 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10910 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10911 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10912 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10913 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10914 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10915 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10916 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10917 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10918 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10919 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10920 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10921 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10922 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10923 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10924 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10925 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10926 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10927 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10928 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10929
58985aa9
UD
10930 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10931 rename.
10932 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10933 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10934 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10935 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10936 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10937 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10938 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10939 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10940
a201fbcf
AS
109412011-10-24 Andreas Schwab <schwab@redhat.com>
10942
10943 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10944
fc2ee42a
LD
109452011-10-23 Ulrich Drepper <drepper@gmail.com>
10946
bb3129bd
UD
10947 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10948
0275fff8
UD
10949 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10950 prediction.
10951 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10952
2fa2ae85
UD
10953 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10954 Remove unused variable magic_bits.
10955 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10956
fc2ee42a
LD
10957 * string/strnlen.c: Define and use STRNLEN macro.
10958 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10959 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10960 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10961 * wcsmbs/wcslen.c: Define and use WCSLEN.
10962 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10963 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10964 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10965 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10966 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10967 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10968 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10969
ce7dd29f
LD
109702011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10971
10972 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10973 strnlen-sse2-no-bsf.
10974 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10975 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10976 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10977 Add strnlen support.
10978 (USE_AS_STRNLEN): New macro.
10979 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10980 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10981 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10982 * sysdeps/x86_64/wcslen.S: New file.
10983
979c70a3
MZ
109842011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10985
10986 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10987 XMM-moves are used for copying on small sizes.
10988
2d09f82f
LD
109892011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10990
10991 * wcsmbs/Makefile (strop-tests): Add wcschr.
10992 * wcsmbs/test-wcschr.c: New file.
10993 * string/test-strchr.c: Update.
10994 Add wcschr support.
10995 (WIDE): New macro.
10996
619fccca
LD
109972011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10998
2d09f82f 10999 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
11000 * wcsmbs/test-wcslen.c: New file.
11001 * string/test-strlen.c: Update.
11002 Add wcslen support.
11003 (WIDE): New macro.
11004
09f699ea
UD
110052011-10-23 Ulrich Drepper <drepper@gmail.com>
11006
11007 * po/it.po: Update from translation team.
11008
95584d3b
LD
110092011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11010
11011 * sysdeps/x86_64/wcscmp.S: Update.
11012 Fix wrong comparison semantics.
11013 wcscmp shall use signed comparison not unsigned.
11014 Don't use substraction to avoid overflow bug.
11015 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11016 * wcsmbc/wcscmp.c: Likewise.
11017 * string/test-strcmp.c: Likewise.
11018 Add new tests to check cases with negative values.
11019
c8b3296b
UD
110202011-10-23 Ulrich Drepper <drepper@gmail.com>
11021
11022 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11023 * sysdeps/x86_64/dla.h: ...here. New file.
11024 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11025 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11026 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11027 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11028 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11029 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11030 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11031 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11032 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11033
246ad57a
AS
110342011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11035
11036 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11037 __ynl_finite aliases.
11038
a1a87169
UD
110392011-10-22 Ulrich Drepper <drepper@gmail.com>
11040
0d355eb7
UD
11041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11042
a1a87169
UD
11043 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11044 define DLA_FMA.
11045 [DLA_FMA] (EMULV): Use DLA_FMA.
11046 [DLA_FMA] (MUL12): Use EMULV.
11047 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11048 that are not needed.
11049 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11050 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11051 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11052 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11053 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11054 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11055 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11056
ee2aafe0
AS
110572011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11058
11059 * math/s_nan.c: Undef __nan.
11060 * math/s_nanf.c: Undef __nanf.
11061 * math/s_nanl.c: Undef __nanl.
11062 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11063 "math_private.h".
11064
bc62c2fb
UD
110652011-10-22 Ulrich Drepper <drepper@gmail.com>
11066
77425c63
UD
11067 * math/s_catan.c: Add branch predictions.
11068 * math/s_catanf.c: Likewise.
11069 * math/s_catanh.c: Likewise.
11070 * math/s_catanhf.c: Likewise.
11071 * math/s_catanhl.c: Likewise.
11072 * math/s_catanl.c: Likewise.
11073 * math/s_cexp.c: Likewise.
11074 * math/s_cexpf.c: Likewise.
11075 * math/s_cexpl.c: Likewise.
11076 * math/s_clog.c: Likewise.
11077 * math/s_clog10.c: Likewise.
11078 * math/s_clog10f.c: Likewise.
11079 * math/s_clog10l.c: Likewise.
11080 * math/s_clogf.c: Likewise.
11081 * math/s_clogl.c: Likewise.
11082 * math/s_csqrt.c: Likewise.
11083 * math/s_csqrtf.c: Likewise.
11084 * math/s_csqrtl.c: Likewise.
11085 * math/s_ctanf.c: Likewise.
11086 * math/s_ctanh.c: Likewise.
11087 * math/s_ctanhf.c: Likewise.
11088 * math/s_ctanhl.c: Likewise.
11089 * math/s_ctanl.c: Likewise.
11090
bc62c2fb
UD
11091 * math/math_private.h: Define __nan, __nanf, __nanl.
11092 * math/s_cacosh.c: Include <math_private.h>.
11093 * math/s_cacoshl.c: Likewise.
11094 * math/s_casinh.c: Likewise.
11095 * math/s_casinhf.c: Likewise.
11096 * math/s_casinhl.c: Likewise.
11097 * math/s_ccos.c: Rely entire on ccosh.
11098 * math/s_ccosf.c: Rely entire on ccoshf.
11099 * math/s_ccosl.c: Rely entirely on ccoshl.
11100 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11101 Remove tests for FE_INVALID.
11102 * math/s_ccoshf.c: Likewise.
11103 * math/s_ccoshl.c: Likewise.
11104 * math/s_csin.c: Likewise.
11105 * math/s_csinf.c: Likewise.
11106 * math/s_csinh.c Likewise.
11107 * math/s_csinhf.c: Likewise.
11108 * math/s_csinhl.c: Likewise.
11109 * math/s_csinl.c: Likewise.
11110 * math/s_ctan.c: Likewise.
11111 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11112 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11113 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11114
8ec250a4
UD
111152011-10-21 Ulrich Drepper <drepper@gmail.com>
11116
c196fed8
UD
11117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11118 compilation problems.
11119
8ec250a4
UD
11120 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11121 __builtin_expect.
11122
8d4f46c6
UD
111232011-10-20 Ulrich Drepper <drepper@gmail.com>
11124
ed72b654
UD
11125 * sysdeps/i386/configure.in: Test for -mfma4 option.
11126 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11127 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11128 COMMON_CPUID_INDEX_80000001.
11129 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11130 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11131 use it if FMA3 is not supported.
11132 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11133
8d4f46c6
UD
11134 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11135 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11136
d45c60c2
AS
111372011-10-20 Andreas Schwab <schwab@redhat.com>
11138
11139 [BZ #12892]
11140 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11141 it would create a cycle with a link time dependency.
11142
d9a4d2ab
UD
111432011-10-19 Ulrich Drepper <drepper@gmail.com>
11144
855d1560
UD
11145 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11146 instruction.
11147 * string/Makefile (strop-tests): Add rawmemchr.
11148 * string/test-rawmemchr.c: New file.
11149
d9a4d2ab
UD
11150 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11151 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11152 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11153 when compiling str{,n}casecmp and when AVX is available. Hook up
11154 new optimized code in initializers.
11155
8f3b1ffe
AS
111562011-10-19 Andreas Schwab <schwab@redhat.com>
11157
11158 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11159 __feraiseexcept instead of feraiseexcept.
11160
d38f1dba
UD
111612011-10-18 Ulrich Drepper <drepper@gmail.com>
11162
d9a8d0ab
UD
11163 * math/math_private.h: Define defaults for libc_fetestexcept and
11164 libc_feupdateenv.
11165 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11166 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11167 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11168 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11169 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11170 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11171 libc_fetestexcept and libc_feupdateenv.
11172
4855e3dd
UD
11173 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11174 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11175 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11176 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11177 libc_feholdexcept_setround.
11178
581d30e3
UD
11179 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11180 Add s_nearbyint-c and s_nearbyintf-c.
11181 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11182 nearbyintf inlines.
11183 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11184 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11185 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11186 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11187
d38f1dba
UD
11188 * math/math_private.h: Define defaults for libc_fegetround,
11189 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11190 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11191 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11192 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11193 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11194 standard functions.
11195 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11196 Remove comments and hacks for old compiler versions.
11197 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11198 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11199 libc_feholdexceptl.
11200
caa6c9d8
AS
112012011-10-18 Andreas Schwab <schwab@redhat.com>
11202
11203 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11204 (__feraiseexcept_renamed): Add __NTH.
11205 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11206 namespace violations.
11207
97c066e6
UD
112082011-10-17 Ulrich Drepper <drepper@gmail.com>
11209
99ce7b04
UD
11210 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11211
1004d182
UD
11212 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11213
228a984d
UD
11214 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11215 recently added interfaces.
11216 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11217
c8553a6a
UD
11218 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11219 about macro parameter expansion.
11220
ed22dcf6
UD
11221 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11222 __NO_MATH_INLINES is defined. Cleanups.
11223
11224 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11225 and __floorf is target has SSE4.1.
11226 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11227 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11228 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11229 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11230
b171c137
UD
11231 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11232 name.
11233 (floorf): Likewise.
11234
97c066e6
UD
11235 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11236
629f62ef
AS
112372011-10-17 Andreas Schwab <schwab@redhat.com>
11238
49a43d80
AS
11239 * misc/sys/cdefs.h: Fix last change.
11240
629f62ef
AS
11241 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11242 database lookup.
11243
e453f6cd
UD
112442011-10-16 Ulrich Drepper <drepper@gmail.com>
11245
aa78043a
UD
11246 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11247
ad0f5cad
UD
11248 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11249 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11250 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11251 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11252 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11253 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11254 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11255 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11256 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11257 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11258 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11259 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11260 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11261 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11262 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11263 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11264 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11265 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11266 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11267 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11268 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11269 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11270
11271 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11272 ceil, ceilf, floor, floorf.
11273
11274 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11275 Perform IRELATIVE relocations last.
11276
e453f6cd
UD
11277 * elf/do-rel.h: Add another parameter nrelative, replacing the
11278 local variable with the same name. Change name of the function
11279 to end in Rel or Rela (uppercase).
11280 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11281 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11282 elf_dynamic_do_##reloc function.
11283
fd5bdc09
UD
112842011-10-15 Ulrich Drepper <drepper@gmail.com>
11285
79b195b5
UD
11286 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11287 is sufficient, at least on modern CPUs.
11288
d4a28569
UD
11289 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11290
b61099b5
UD
11291 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11292 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11293
bcf01e6d
UD
11294 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11295 __expl_finite.
11296 * math/bits/math-finite.h: Add entries for exp.
11297 * math/e_expl.c: Add __*_finite alias.
11298 * sysdeps/i386/fpu/e_exp.S: Likewise.
11299 * sysdeps/i386/fpu/e_expf.S: Likewise.
11300 * sysdeps/i386/fpu/e_expl.c: Likewise.
11301 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11302 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11303 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11304 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11305 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11306 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11307 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11308
ba1a0d59
UD
11309 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11310 is sufficient, at least on modern CPUs.
11311
fd5bdc09
UD
11312 * ctype/ctype-info.c (__ctype_init): Define.
11313 * include/ctype.h (__ctype_init): Declare.
11314 (__ctype_b_loc): The variable is always initialized.
11315 (__ctype_toupper_loc): Likewise.
11316 (__ctype_tolower_loc): Likewise.
11317 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11318 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11319
7872cfb0
AS
113202011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11321
b468825a
AS
11322 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11323
7872cfb0
AS
11324 * configure.in: Also look in $cxxmachine/include for C++ system
11325 headers.
11326
be13f7bf
LD
113272011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11328
11329 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11330 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11331 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11332 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11333 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11334 (USE_AS_WMEMCMP): New macro.
11335 Fixing indents.
11336 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11337 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11338 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11339 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11340 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11341 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11342 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11343 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11344 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11345 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11346 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11347 (USE_AS_WMEMCMP): New macro.
11348 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11349 * sysdeps/string/test-memcmp.c: Update.
11350 Fix simple_wmemcmp.
11351 Add new tests.
11352 * wcsmbs/wmemcmp.c: Update.
11353 (WMEMCMP): New macro.
11354 Fix overflow bug.
11355
556a2007
AJ
113562011-10-12 Andreas Jaeger <aj@suse.de>
11357
11358 [BZ #13268]
11359 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11360
538faaa7
UD
113612011-10-15 Ulrich Drepper <drepper@gmail.com>
11362
ab6737ff
UD
11363 * libio/iofwide.c (do_length): Avoid warning.
11364
538faaa7
UD
11365 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11366
396a21b1
UD
113672011-10-14 Ulrich Drepper <drepper@gmail.com>
11368
cdf2901f
UD
11369 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11370
38ad40ce
UD
11371 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11372 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11373 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11374 * sysdeps/i386/i686/fpu/e_log.S: New file.
11375 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11376 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11377
396a21b1
UD
11378 * ctype/ctype.h: Add support for inlined isXXX functions when
11379 compiling C++ code.
11380
6b1f68c9
AS
113812011-10-14 Andreas Schwab <schwab@redhat.com>
11382
349290c0
AS
11383 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11384
6b1f68c9
AS
11385 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11386
f2282d42
RM
113872011-10-13 Roland McGrath <roland@hack.frob.com>
11388
11389 [BZ #13291]
11390 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11391
5298ffa8
AS
113922011-10-13 Andreas Schwab <schwab@redhat.com>
11393
714fad23
AS
11394 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11395 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11396 feraiseexcept.
11397
81dcc7fb
AS
11398 * sysdeps/x86_64/memrchr.S: Check for zero size.
11399
5298ffa8
AS
11400 * string/stratcliff.c: Add memrchr tests.
11401
951fbcec
LD
114022011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11403
11404 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11405 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11406 rawmemchr-sse2 rawmemchr-sse2-bsf.
11407 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11408 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11409 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11410 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11411 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11412 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11413 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11414 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11415 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11416 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11417 * string/memrchr.c (MEMRCHR): New macro.
11418
0ac5ae23
UD
114192011-10-12 Ulrich Drepper <drepper@gmail.com>
11420
11421 Add integration with gcc's -ffinite-math-only and optimize wrapper
11422 functions in libm.
11423 * Versions.def: Define GLIBC_2.15 version for libm.
11424 * math/Makefile (headers): Add bits/math-finite.h.
11425 * math/bits/math-finite.h: New file.
11426 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11427 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11428 * math/e_acoshl.c: Add __*_finite alias.
11429 * math/e_acosl.c: Likewise.
11430 * math/e_asinl.c: Likewise.
11431 * math/e_atan2l.c: Likewise.
11432 * math/e_atanhl.c: Likewise.
11433 * math/e_coshl.c: Likewise.
11434 * math/e_exp10.c: Likewise.
11435 * math/e_exp10f.c: Likewise.
11436 * math/e_exp10l.c: Likewise.
11437 * math/e_exp2l.c: Likewise.
11438 * math/e_fmodl.c: Likewise.
11439 * math/e_gammal_r.c: Likewise.
11440 * math/e_hypotl.c: Likewise.
11441 * math/e_j0l.c: Likewise.
11442 * math/e_j1l.c: Likewise.
11443 * math/e_jnl.c: Likewise.
11444 * math/e_lgammal_r.c: Likewise.
11445 * math/e_log10l.c: Likewise.
11446 * math/e_log2l.c: Likewise.
11447 * math/e_logl.c: Likewise.
11448 * math/e_powl.c: Likewise.
11449 * math/e_sinhl.c: Likewise.
11450 * math/e_sqrtl.c: Likewise.
11451 * math/e_scalb.c: Completely rewritten and optimized.
11452 * math/e_scalbf.c: Likewise.
11453 * math/e_scalbl.c: Likewise.
11454 * math/w_acos.c: Likewise.
11455 * math/w_acosf.c: Likewise.
11456 * math/w_acosl.c: Likewise.
11457 * math/w_acosh.c: Likewise.
11458 * math/w_acoshf.c: Likewise.
11459 * math/w_acoshl.c: Likewise.
11460 * math/w_asin.c: Likewise.
11461 * math/w_asinf.c: Likewise.
11462 * math/w_asinl.c: Likewise.
11463 * math/w_atan2.c: Likewise.
11464 * math/w_atan2f.c: Likewise.
11465 * math/w_atan2l.c: Likewise.
11466 * math/w_atanh.c: Likewise.
11467 * math/w_atanhf.c: Likewise.
11468 * math/w_atanhl.c: Likewise.
11469 * math/w_exp10.c: Likewise.
11470 * math/w_exp10f.c: Likewise.
11471 * math/w_exp10l.c: Likewise.
11472 * math/w_fmod.c: Likewise.
11473 * math/w_fmodf.c: Likewise.
11474 * math/w_fmodl.c: Likewise.
11475 * math/w_j0.c: Likewise.
11476 * math/w_j0f.c: Likewise.
11477 * math/w_j0l.c: Likewise.
11478 * math/w_j1.c: Likewise.
11479 * math/w_j1f.c: Likewise.
11480 * math/w_j1l.c: Likewise.
11481 * math/w_jn.c: Likewise.
11482 * math/w_jnf.c: Likewise.
11483 * math/w_log.c: Likewise.
11484 * math/w_logf.c: Likewise.
11485 * math/w_logl.c: Likewise.
11486 * math/w_log10.c: Likewise.
11487 * math/w_log10f.c: Likewise.
11488 * math/w_log10l.c: Likewise.
11489 * math/w_log2.c: Likewise.
11490 * math/w_log2f.c: Likewise.
11491 * math/w_log2l.c: Likewise.
11492 * math/w_pow.c: Likewise.
11493 * math/w_powf.c: Likewise.
11494 * math/w_powl.c: Likewise.
11495 * math/w_remainder.c: Likewise.
11496 * math/w_remainderf.c: Likewise.
11497 * math/w_remainderl.c: Likewise.
11498 * math/w_scalb.c: Likewise.
11499 * math/w_scalbf.c: Likewise.
11500 * math/w_scalbl.c: Likewise.
11501 * math/w_sqrt.c: Likewise.
11502 * math/w_sqrtf.c: Likewise.
11503 * math/w_sqrtl.c: Likewise.
11504 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11505 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11506 used.
11507 * math/math_private.h: Declare __kernel_standard_f.
11508 * math/w_cosh.c: Remove cruft and optimize a bit.
11509 * math/w_coshf.c: Likewise.
11510 * math/w_coshl.c: Likewise.
11511 * math/w_exp2.c: Likewise.
11512 * math/w_exp2f.c: Likewise.
11513 * math/w_exp2l.c: Likewise.
11514 * math/w_hypot.c: Likewise.
11515 * math/w_hypotf.c: Likewise.
11516 * math/w_hypotl.c: Likewise.
11517 * math/w_lgamma.c: Likewise.
11518 * math/w_lgamma_r.c: Likewise.
11519 * math/w_lgammaf.c: Likewise.
11520 * math/w_lgammaf_r.c: Likewise.
11521 * math/w_lgammal.c: Likewise.
11522 * math/w_lgammal_r.c: Likewise.
11523 * math/w_sinh.c: Likewise.
11524 * math/w_sinhf.c: Likewise.
11525 * math/w_sinhl.c: Likewise.
11526 * math/w_tgamma.c: Likewise.
11527 * math/w_tgammaf.c: Likewise.
11528 * math/w_tgammal.c: Likewise.
11529 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11530 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11531 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11532 Minor optimizations. Pretty printing. Remove cruft.
11533 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11534 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11535 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11536 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11537 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11538 * sysdeps/i386/fpu/e_asin.S: Likewise.
11539 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11540 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11541 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11542 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11543 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11544 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11545 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11546 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11547 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11548 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11549 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11550 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11551 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11552 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11553 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11554 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11555 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11556 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11557 * sysdeps/i386/fpu/e_log.S: Likewise.
11558 * sysdeps/i386/fpu/e_log10.S: Likewise.
11559 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11560 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11561 * sysdeps/i386/fpu/e_log2.S: Likewise.
11562 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11563 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11564 * sysdeps/i386/fpu/e_logf.S: Likewise.
11565 * sysdeps/i386/fpu/e_logl.S: Likewise.
11566 * sysdeps/i386/fpu/e_pow.S: Likewise.
11567 * sysdeps/i386/fpu/e_powf.S: Likewise.
11568 * sysdeps/i386/fpu/e_powl.S: Likewise.
11569 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11570 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11571 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11572 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11573 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11574 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11575 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11576 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11577 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11578 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11579 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11580 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11581 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11582 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11583 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11584 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11585 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11586 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11587 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11588 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11589 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11590 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11591 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11592 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11593 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11594 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11595 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11596 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11597 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11598 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11599 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11600 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11601 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11602 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11603 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11604 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11605 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11606 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11607 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11608 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11609 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11610 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11611 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11612 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11613 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11614 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11615 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11616 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11617 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11618 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11619 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11620 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11621 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11622 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11623 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11624 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11625 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11626 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11627 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11628 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11629 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11630 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11631 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11632 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11633 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11634 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11635 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11636 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11637 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11638 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11639 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11640 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11641 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11642 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11643 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11644 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11645 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11646 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11647 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11648 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11649 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11650 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11651 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11652 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11653 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11654 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11655 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11656 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11657 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11658 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11659 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11660 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11661 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11662 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11663 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11664 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11665 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11666 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11667 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11668 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11669 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11670 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11671 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11672 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11673 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11674 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11675 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11676 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11677 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11678 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11679 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11680 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11681 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11682 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11683 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11684 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11685 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11686 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11687 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11688 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11689 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11690 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11691 (__isnanf): Likewise.
11692 (__isinf_ns): Likewise.
11693 (__isinf_nsf): Likewise.
11694 (__finite): Likewise.
11695 (__finitef): Likewise.
11696 (__ieee754_sqrt): Define as macro.
11697 (__ieee754_sqrtf): Define as macro.
11698 (__ieee754_sqrtl): Define as macro.
11699 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11700 inlined copy.
11701 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11702 __FINITE_MATH_ONLY__ consistent.
11703 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11704
12cc2fcd
AS
117052011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11706
a843a204
AS
11707 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11708 of rawmemchr.
11709
12cc2fcd
AS
11710 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11711
c853acd5
UD
117122011-10-09 Ulrich Drepper <drepper@gmail.com>
11713
11714 * po/ja.po: Update from translation team.
11715
c658d255
RM
117162011-10-08 Roland McGrath <roland@hack.frob.com>
11717
110946e4
RM
11718 * locale/programs/locarchive.c (prepare_address_space): New function.
11719 (create_archive, enlarge_archive, open_archive): Use it.
11720
50604220
RM
11721 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11722 inside [SHARED], where it is used.
11723
c658d255
RM
11724 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11725
11726 * nss/getent.c (netgroup_keys): Remove unused variable.
11727 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11728
6a621eb7
UD
117292011-10-08 Ulrich Drepper <drepper@gmail.com>
11730
7edb55ce
UD
11731 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11732 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11733 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11734 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11735 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11736 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11737 * math/Makefile (libm-calls): Add s_isinf_ns.
11738 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11739 * math/multc3.c: Likewise.
11740 * math/s_casin.c: Likewise.
11741 * math/s_casinf.c: Likewise.
11742 * math/s_casinl.c: Likewise.
11743 * math/s_ccos.c: Likewise.
11744 * math/s_ccosf.c: Likewise.
11745 * math/s_ccosl.c: Likewise.
11746 * math/s_ctan.c: Likewise.
11747 * math/s_ctanf.c: Likewise.
11748 * math/s_ctanh.c: Likewise.
11749 * math/s_ctanhf.c: Likewise.
11750 * math/s_ctanhl.c: Likewise.
11751 * math/s_ctanl.c: Likewise.
11752 * math/w_fmod.c: Likewise.
11753 * math/w_fmodf.c: Likewise.
11754 * math/w_fmodl.c: Likewise.
11755 * math/w_remainder.c: Likewise.
11756 * math/w_remainderf.c: Likewise.
11757 * math/w_remainderl.c: Likewise.
11758 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11759 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11760 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11761 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11762 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11763 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11764 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11765 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11766
187da0ae
UD
11767 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11768 of the number.
11769 * stdio-common/printf_fphex.c: Likewise.
11770 * stdio-common/printf_size.c: Likewise.
11771
9277c064
UD
11772 * math/e_exp10.c: Include math_private.h using <...> not "...".
11773 * math/e_exp10f.c: Likewise.
11774 * math/e_exp10l.c: Likewise.
11775 * math/e_exp2l.c: Likewise.
11776 * math/e_j0l.c: Likewise.
11777 * math/e_j1l.c: Likewise.
11778 * math/e_jnl.c: Likewise.
11779 * math/e_lgammal_r.c: Likewise.
11780 * math/e_rem_pio2l.c: Likewise.
11781 * math/e_scalb.c: Likewise.
11782 * math/e_scalbf.c: Likewise.
11783 * math/e_scalbl.c: Likewise.
11784 * math/k_cosl.c: Likewise.
11785 * math/k_sinl.c: Likewise.
11786 * math/k_tanl.c: Likewise.
11787 * math/s_cacoshf.c: Likewise.
11788 * math/s_catan.c: Likewise.
11789 * math/s_catanf.c: Likewise.
11790 * math/s_catanh.c: Likewise.
11791 * math/s_catanhf.c: Likewise.
11792 * math/s_catanhl.c: Likewise.
11793 * math/s_catanl.c: Likewise.
11794 * math/s_ccosh.c: Likewise.
11795 * math/s_ccoshf.c: Likewise.
11796 * math/s_ccoshl.c: Likewise.
11797 * math/s_cexp.c: Likewise.
11798 * math/s_cexpf.c: Likewise.
11799 * math/s_cexpl.c: Likewise.
11800 * math/s_clog.c: Likewise.
11801 * math/s_clog10.c: Likewise.
11802 * math/s_clog10f.c: Likewise.
11803 * math/s_clog10l.c: Likewise.
11804 * math/s_clogf.c: Likewise.
11805 * math/s_clogl.c: Likewise.
11806 * math/s_csin.c: Likewise.
11807 * math/s_csinf.c: Likewise.
11808 * math/s_csinh.c: Likewise.
11809 * math/s_csinhf.c: Likewise.
11810 * math/s_csinhl.c: Likewise.
11811 * math/s_csinl.c: Likewise.
11812 * math/s_csqrt.c: Likewise.
11813 * math/s_csqrtf.c: Likewise.
11814 * math/s_csqrtl.c: Likewise.
11815 * math/s_ctan.c: Likewise.
11816 * math/s_ctanf.c: Likewise.
11817 * math/s_ctanh.c: Likewise.
11818 * math/s_ctanhf.c: Likewise.
11819 * math/s_ctanhl.c: Likewise.
11820 * math/s_ctanl.c: Likewise.
11821 * math/s_ldexp.c: Likewise.
11822 * math/s_ldexpf.c: Likewise.
11823 * math/s_ldexpl.c: Likewise.
11824 * math/s_significand.c: Likewise.
11825 * math/s_significandf.c: Likewise.
11826 * math/s_significandl.c: Likewise.
11827 * math/w_acos.c: Likewise.
11828 * math/w_acosf.c: Likewise.
11829 * math/w_acosh.c: Likewise.
11830 * math/w_acoshf.c: Likewise.
11831 * math/w_acoshl.c: Likewise.
11832 * math/w_acosl.c: Likewise.
11833 * math/w_asin.c: Likewise.
11834 * math/w_asinf.c: Likewise.
11835 * math/w_asinl.c: Likewise.
11836 * math/w_atan2.c: Likewise.
11837 * math/w_atan2f.c: Likewise.
11838 * math/w_atan2l.c: Likewise.
11839 * math/w_atanh.c: Likewise.
11840 * math/w_atanhf.c: Likewise.
11841 * math/w_atanhl.c: Likewise.
11842 * math/w_cosh.c: Likewise.
11843 * math/w_coshf.c: Likewise.
11844 * math/w_coshl.c: Likewise.
11845 * math/w_dremf.c: Likewise.
11846 * math/w_exp10.c: Likewise.
11847 * math/w_exp10f.c: Likewise.
11848 * math/w_exp10l.c: Likewise.
11849 * math/w_exp2.c: Likewise.
11850 * math/w_exp2f.c: Likewise.
11851 * math/w_fmod.c: Likewise.
11852 * math/w_fmodf.c: Likewise.
11853 * math/w_fmodl.c: Likewise.
11854 * math/w_hypot.c: Likewise.
11855 * math/w_hypotf.c: Likewise.
11856 * math/w_hypotl.c: Likewise.
11857 * math/w_j0.c: Likewise.
11858 * math/w_j0f.c: Likewise.
11859 * math/w_j0l.c: Likewise.
11860 * math/w_j1.c: Likewise.
11861 * math/w_j1f.c: Likewise.
11862 * math/w_j1l.c: Likewise.
11863 * math/w_jn.c: Likewise.
11864 * math/w_jnf.c: Likewise.
11865 * math/w_jnl.c: Likewise.
11866 * math/w_lgamma.c: Likewise.
11867 * math/w_lgamma_r.c: Likewise.
11868 * math/w_lgammaf.c: Likewise.
11869 * math/w_lgammaf_r.c: Likewise.
11870 * math/w_lgammal.c: Likewise.
11871 * math/w_lgammal_r.c: Likewise.
11872 * math/w_log.c: Likewise.
11873 * math/w_log10.c: Likewise.
11874 * math/w_log10f.c: Likewise.
11875 * math/w_log10l.c: Likewise.
11876 * math/w_log2.c: Likewise.
11877 * math/w_log2f.c: Likewise.
11878 * math/w_log2l.c: Likewise.
11879 * math/w_logf.c: Likewise.
11880 * math/w_logl.c: Likewise.
11881 * math/w_pow.c: Likewise.
11882 * math/w_powf.c: Likewise.
11883 * math/w_powl.c: Likewise.
11884 * math/w_remainder.c: Likewise.
11885 * math/w_remainderf.c: Likewise.
11886 * math/w_remainderl.c: Likewise.
11887 * math/w_scalb.c: Likewise.
11888 * math/w_scalbf.c: Likewise.
11889 * math/w_scalbl.c: Likewise.
11890 * math/w_sinh.c: Likewise.
11891 * math/w_sinhf.c: Likewise.
11892 * math/w_sinhl.c: Likewise.
11893 * math/w_sqrt.c: Likewise.
11894 * math/w_sqrtf.c: Likewise.
11895 * math/w_sqrtl.c: Likewise.
11896 * math/w_tgamma.c: Likewise.
11897 * math/w_tgammaf.c: Likewise.
11898 * math/w_tgammal.c: Likewise.
11899
6a621eb7
UD
11900 * po/ja.po: Update from translation team.
11901
bf582445
AJ
119022011-09-29 Andreas Jaeger <aj@suse.de>
11903
f9efbf3a
AJ
11904 [BZ #13179]
11905 * sunrpc/netname.c (netname2host): Fix logic.
11906
bf582445
AJ
11907 [BZ #6779]
11908 [BZ #6783]
11909 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11910 correctly.
11911 * math/w_remainder.c (__remainder): Likewise.
11912 * math/w_remainderf.c (__remainderf): Likewise.
11913 * math/libm-test.inc (remainder_test): Add test cases.
11914
48693bea
AK
119152011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11916
11917 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11918 sdiv_qrnnd.
11919
42622229
LD
119202011-10-07 Ulrich Drepper <drepper@gmail.com>
11921
11922 * string/test-memcmp.c: Avoid unncessary #defines.
11923 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11924
093ecf92
LD
119252011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11926
11927 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11928 Use new sse2 version for core i3 - i7 as it's faster
11929 than sse42 version.
11930 (bit_Prefer_PMINUB_for_stringop): New.
11931 * sysdeps/x86_64/rawmemchr.S: Update.
11932 Replace with faster SSE2 version.
11933 * sysdeps/x86_64/memrchr.S: New file.
11934 * sysdeps/x86_64/memchr.S: Update.
11935 Replace with faster SSE2 version.
11936
fde56e5c
MP
119372011-09-12 Marek Polacek <mpolacek@redhat.com>
11938
11939 * elf/dl-load.c (lose): Add cast to avoid warning.
11940
21fd49a9
UD
119412011-10-07 Ulrich Drepper <drepper@gmail.com>
11942
5a06e643
UD
11943 * po/ca.po: Update from translation team.
11944
684ae515
UD
11945 * inet/getnetgrent_r.c: Hook up nscd.
11946 * nscd/Makefile (routines): Add nscd_netgroup.
11947 (nscd-modules): Add netgroupcache.
11948 (CFLAGS-netgroupcache.c): Define.
11949 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11950 (cache_search): Add const to second parameter.
11951 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11952 INNETGR.
11953 (dbs): Add netgrdb entry.
11954 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11955 (verify_persistent_db): Handle netgrdb.
11956 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11957 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11958 GETFDNETGR.
11959 (netgroup_response_header): Define.
11960 (innetgroup_response_header): Define.
11961 (datahead): Add netgroup_response_header and innetgroup_response_header
11962 elements.
11963 * nscd/nscd.conf: Add entries for netgroup cache.
11964 * nscd/nscd.h (dbtype): Add netgrdb.
11965 (_PATH_NSCD_NETGROUP_DB): Define.
11966 (netgroup_iov_disabled): Declare.
11967 (xmalloc, xcalloc, xrealloc): Move declarations here.
11968 (cache_search): Adjust prototype.
11969 Add netgroup-related prototypes.
11970 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11971 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11972 (__nscd_innetgr): Declare.
11973 * nscd/selinux.c (perms): Use access_vector_t as element type and
11974 add netgroup-related initializers.
11975 * nscd/netgroupcache.c: New file.
11976 * nscd/nscd_netgroup.c: New file.
11977 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11978 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11979 For four parameters use innetgr.
11980 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11981 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11982 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11983 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11984
21fd49a9
UD
11985 * nscd/connections.c (register_traced_file): Don't register file
11986 for disabled databases.
11987
054c0457
UD
119882011-10-06 Ulrich Drepper <drepper@gmail.com>
11989
32b63198
UD
11990 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11991
054c0457
UD
11992 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11993 from tree and freeing node.
11994
64031225
JO
119952011-09-25 Jiri Olsa <jolsa@redhat.com>
11996
11997 * nss/nsswitch.c (__nss_database_lookup): Handle
11998 nss_parse_service_list out of memory case.
11999
0490345c
JO
120002011-09-15 Jiri Olsa <jolsa@redhat.com>
12001
12002 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12003 out of memory case.
12004
3a62d00d
AS
120052011-10-04 Andreas Schwab <schwab@redhat.com>
12006
12007 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12008 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12009 pass it down.
12010 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12011 elf_machine_rela, elf_machine_lazy_rel.
12012 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12013 (ELF_DYNAMIC_DO_REL): Likewise.
12014 (ELF_DYNAMIC_DO_RELA): Likewise.
12015 (ELF_DYNAMIC_RELOCATE): Likewise.
12016 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12017 to ELF_DYNAMIC_DO_REL.
12018 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12019 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12020 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12021 elf_machine_rela.
12022 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12023 skip_ifunc, don't call ifunc function if non-zero.
12024 (elf_machine_rela): Likewise.
12025 (elf_machine_lazy_rel): Likewise.
12026 (elf_machine_lazy_rela): Likewise.
12027 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12028 (elf_machine_lazy_rel): Likewise.
12029 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12030 Likewise.
12031 (elf_machine_lazy_rel): Likewise.
12032 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12033 Likewise.
12034 (elf_machine_lazy_rel): Likewise.
12035 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12036 (elf_machine_lazy_rel): Likewise.
12037 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12038 (elf_machine_lazy_rel): Likewise.
12039 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12040 (elf_machine_lazy_rel): Likewise.
12041 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12042 (elf_machine_lazy_rel): Likewise.
12043 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12044 (elf_machine_lazy_rel): Likewise.
12045 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12046 (elf_machine_lazy_rel): Likewise.
12047
68577918
UD
120482011-09-28 Ulrich Drepper <drepper@gmail.com>
12049
12050 * nss/nss_files/files-init.c (_nss_files_init): Use static
12051 initialization for all the *_traced_file variables.
12052
68822d74
AS
120532011-09-28 Andreas Schwab <schwab@redhat.com>
12054
12055 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12056
2056100b
RM
120572011-09-27 Roland McGrath <roland@hack.frob.com>
12058
12059 [BZ #13226]
12060 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12061
32c76b63
AS
120622011-09-27 Andreas Schwab <schwab@redhat.com>
12063
12064 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12065 Reread the line before reparsing it.
12066
bf972c9d
AS
120672011-09-26 Andreas Schwab <schwab@redhat.com>
12068
12069 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12070
e057a1b5
JM
120712011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12072 Maxim Kuvyrkov <maxim@codesourcery.com>
12073 Joseph Myers <joseph@codesourcery.com>
12074
12075 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12076 if needed for __stack_chk_guard.
12077
bc7e1c36
RM
120782011-09-19 Roland McGrath <roland@hack.frob.com>
12079
ecb1482f
RM
12080 * sysdeps/posix/spawni.c (script_execute): Always define it.
12081 It will be optimized away if unused.
12082 (maybe_script_execute): New function.
12083 (__spawni): Call it.
12084
bc7e1c36
RM
12085 * Makerules: Don't include tls.make.
12086 (config-tls): Always set to thread.
12087 * tls.make.c: File removed.
12088
1c3b002b
MF
120892011-09-19 Mike Frysinger <vapier@gentoo.org>
12090
12091 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12092 * config.make.in (CPPFLAGS-config): New substituted variable.
12093
2840865d
UD
120942011-09-15 Ulrich Drepper <drepper@gmail.com>
12095
88738eb6
UD
12096 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12097
cbf645a6 12098 [BZ #13192]
2840865d
UD
12099 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12100 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12101
b402e91a
RM
121022011-09-15 Roland McGrath <roland@hack.frob.com>
12103
12104 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12105 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12106 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12107 (CALL_FAIL): Likewise.
12108 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12109 (CALL_FAIL): Macro removed.
12110 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12111
4c1a1f71
UD
121122011-09-15 Ulrich Drepper <drepper@gmail.com>
12113
12114 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12115 for __FINITE_MATH_ONLY__ == 1.
12116
edc121be
AS
121172011-09-15 Andreas Schwab <schwab@redhat.com>
12118
12119 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12120 __ieee754_sqrt instead of sqrt.
12121 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12122 __ieee754_sqrtf instead of sqrtf.
12123 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12124 __floorf instead of floorf.
12125 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12126 __floorf, __truncf instead of floorf, truncf.
12127
cd205654
UD
121282011-09-14 Ulrich Drepper <drepper@gmail.com>
12129
ee4d0315
UD
12130 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12131
cd205654
UD
12132 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12133 __extern_always_inline.
12134 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12135 32-bit.
12136
48b67d71
AS
121372011-09-14 Andreas Schwab <schwab@redhat.com>
12138
12139 * elf/rtld.c (dl_main): Also relocate in dependency order when
12140 doing symbol dependency testing.
12141
1ae12c75
AS
121422011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12143
12144 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12145 Always define `refsym'.
12146
995a80df
AS
121472011-09-13 Andreas Schwab <schwab@redhat.com>
12148
e529793b
AS
12149 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12150 (__FD_ELT): Renamed from __FDELT.
12151 * misc/bits/select2.h (__FD_ELT): Likewise.
12152 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12153 __FD_MASK instead of __FDELT, __FDMASK.
12154 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12155 Likewise.
12156 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12157 Likewise.
12158
52d4fef8
AS
12159 * elf/Makefile (gen-ldd): Fix pattern.
12160
995a80df
AS
12161 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12162 (init_tls): Likewise.
12163
8682f8b0
UD
121642011-09-12 Ulrich Drepper <drepper@gmail.com>
12165
12166 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12167
de82006d
AS
121682011-09-12 Andreas Schwab <schwab@redhat.com>
12169
a7c8e6a1
AS
12170 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12171 `struct cmsghdr *' instead of `void *'.
12172 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12173 Likewise.
12174
0f31fe77
AS
121752011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12176
12177 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12178 if non-absolute.
12179 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12180 ldd_rewrite_script.
0f31fe77 12181
32b4c839
UD
121822011-09-11 Ulrich Drepper <drepper@gmail.com>
12183
83cd1420
UD
12184 * configure.in: Remove --with-tls option.
12185 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12186 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12187 out in case it is missing.
12188 * sysdeps/ia64/elf/configure.in: Likewise.
12189 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12190 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12191 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12192 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12193 * sysdeps/sh/elf/configure.in: Likewise.
12194 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12195 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12196 * sysdeps/x86_64/elf/configure.in: Likewise.
12197 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12198 * sysdeps/mach/hurd/tls.h: Likewise.
12199
633f745d
UD
12200 [BZ #13067]
12201 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12202
f318beb8
UD
12203 [BZ #13090]
12204 * configure.in: Fix use of AC_INIT.
12205
32b4c839
UD
12206 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12207
3ce1f295
UD
122082011-09-10 Ulrich Drepper <drepper@gmail.com>
12209
bb016596
UD
12210 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12211 __set_errno.
8e58439c
UD
12212 * malloc/hooks.c: Likewise.
12213
aebae053 12214 [BZ #11929]
02d46fc4
UD
12215 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12216 variables statically.
12217 (narenas): Initialize.
12218 (list_lock): Initialize.
bb016596
UD
12219 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12220 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12221 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12222 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12223 Add initializers to main_arena and mp_.
12224 (malloc_state): Remove pagesize member. Change all users to use
12225 GLRO(dl_pagesize).
12226
12227 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12228 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12229 is always initialized.
12230
22a89187
UD
12231 * malloc/malloc.c: Removed unused configurations and dead code.
12232 * malloc/arena.c: Likewise.
12233 * malloc/hooks.c: Likewise.
02d46fc4 12234 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12235
d063d164
UD
12236 * include/tls.h: Removed. USE___THREAD must always be defined.
12237 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12238 * elf/dl-libc.c: Likewise.
12239 * elf/dl-tsd.c: Likewise.
12240 * include/errno.h: Likewise.
12241 * include/netdb.h: Likewise.
12242 * include/resolv.h: Likewise.
12243 * inet/herrno-loc.c: Likewise.
12244 * inet/herrno.c: Likewise.
12245 * malloc/arena.c: Likewise.
12246 * malloc/hooks.c: Likewise.
12247 * malloc/malloc.c: Likewise.
12248 * resolv/res-state.c: Likewise.
12249 * resolv/res_libc.c: Likewise.
12250 * sysdeps/i386/dl-machine.h: Likewise.
12251 * sysdeps/ia64/dl-machine.h: Likewise.
12252 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12253 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12254 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12255 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12256 * sysdeps/sh/dl-machine.h: Likewise.
12257 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12258 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12259 * sysdeps/unix/i386/sysdep.S: Likewise.
12260 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12261 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12262 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12263 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12264 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12265 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12266 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12267 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12268 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12269 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12270 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12271 * sysdeps/x86_64/dl-machine.h: Likewise.
12272 * tls.make.c: Likewise.
12273
3ce1f295
UD
12274 * configure.in: Remove --with-__thread option. Make tests for
12275 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12276 tls_model attribute fail if no support is available. Remove
12277 USE_IN_LIBIO.
12278 * Makeconfig: Adjust for dropped configure option. All features are
12279 now mandatory.
12280 * Makerules: Likewise.
12281 * Versions.def: Likewise.
12282 * argp/argp-fmtstream.c: Likewise.
12283 * argp/argp-fmtstream.h: Likewise.
12284 * argp/argp-help.c: Likewise.
12285 * assert/assert.c: Likewise.
12286 * config.h.in: Likewise.
12287 * config.make.in: Likewise.
12288 * configure: Likewise.
12289 * configure.in: Likewise.
12290 * csu/Versions: Likewise.
12291 * csu/init.c: Likewise.
12292 * elf/tst-audit2.c: Likewise.
12293 * elf/tst-tls10.c: Likewise.
12294 * elf/tst-tls10.h: Likewise.
12295 * elf/tst-tls11.c: Likewise.
12296 * elf/tst-tls12.c: Likewise.
12297 * elf/tst-tls14.c: Likewise.
12298 * elf/tst-tlsmod11.c: Likewise.
12299 * elf/tst-tlsmod12.c: Likewise.
12300 * elf/tst-tlsmod13.c: Likewise.
12301 * elf/tst-tlsmod13a.c: Likewise.
12302 * elf/tst-tlsmod14a.c: Likewise.
12303 * elf/tst-tlsmod15b.c: Likewise.
12304 * elf/tst-tlsmod16a.c: Likewise.
12305 * elf/tst-tlsmod16b.c: Likewise.
12306 * elf/tst-tlsmod7.c: Likewise.
12307 * elf/tst-tlsmod8.c: Likewise.
12308 * elf/tst-tlsmod9.c: Likewise.
12309 * gmon/gmon.c: Likewise.
12310 * grp/fgetgrent_r.c: Likewise.
12311 * grp/putgrent.c: Likewise.
12312 * hurd/fopenport.c: Likewise.
12313 * include/libc-symbols.h: Likewise.
12314 * include/tls.h: Likewise.
12315 * intl/gettextP.h: Likewise.
12316 * intl/loadinfo.h: Likewise.
12317 * locale/global-locale.c: Likewise.
12318 * locale/localeinfo.h: Likewise.
12319 * mach/devstream.c: Likewise.
12320 * malloc/arena.c: Likewise.
12321 * malloc/set-freeres.c: Likewise.
12322 * misc/err.c: Likewise.
12323 * misc/getttyent.c: Likewise.
12324 * misc/mntent_r.c: Likewise.
12325 * posix/getopt.c: Likewise.
12326 * posix/wordexp.c: Likewise.
12327 * pwd/fgetpwent_r.c: Likewise.
12328 * resolv/Versions: Likewise.
12329 * resolv/res_hconf.c: Likewise.
12330 * shadow/fgetspent_r.c: Likewise.
12331 * shadow/putspent.c: Likewise.
12332 * stdio-common/printf_fphex.c: Likewise.
12333 * stdio-common/tmpfile.c: Likewise.
12334 * stdlib/abort.c: Likewise.
12335 * stdlib/fmtmsg.c: Likewise.
12336 * sunrpc/auth_unix.c: Likewise.
12337 * sunrpc/clnt_perr.c: Likewise.
12338 * sunrpc/clnt_tcp.c: Likewise.
12339 * sunrpc/clnt_udp.c: Likewise.
12340 * sunrpc/clnt_unix.c: Likewise.
12341 * sunrpc/openchild.c: Likewise.
12342 * sunrpc/svc_simple.c: Likewise.
12343 * sunrpc/svc_tcp.c: Likewise.
12344 * sunrpc/svc_udp.c: Likewise.
12345 * sunrpc/svc_unix.c: Likewise.
12346 * sunrpc/xdr.c: Likewise.
12347 * sunrpc/xdr_array.c: Likewise.
12348 * sunrpc/xdr_rec.c: Likewise.
12349 * sunrpc/xdr_ref.c: Likewise.
12350 * sunrpc/xdr_stdio.c: Likewise.
12351
1248c1c4
PB
123522011-09-09 Ulrich Drepper <drepper@gmail.com>
12353
12354 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12355
123562011-07-03 Andreas Jaeger <aj@suse.de>
12357
12358 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12359 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12360 regenerate with gen-libm-tests.pl.
12361
123622010-05-12 Petr Baudis <pasky@suse.cz>
12363
12364 [BZ #11589]
12365 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12366 around j0() zero points by switching to j1().
12367 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12368 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12369 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12370 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12371
f22e1074
UD
123722011-09-09 Ulrich Drepper <drepper@gmail.com>
12373
f19009c1
UD
12374 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12375 instead of 0.
12376 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12377 instead of 0. .
12378 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12379 Patch in part by Pavel Roskin <proski@gnu.org>.
12380
3f8cc204
UD
12381 [BZ #13138]
12382 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12383 realloc.
12384 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12385 Free memory block if necessary.
12386
f22e1074
UD
12387 [BZ #12847]
12388 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12389 be NULL. Don't lock in this case.
12390
0a2349f9
RM
123912011-09-09 Roland McGrath <roland@hack.frob.com>
12392
12393 * elf/elf.h (ELFOSABI_GNU): New macro.
12394 (ELFOSABI_LINUX): Define to that.
12395
f3cdd467
DZ
123962011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12397
12398 * string/strncat.c (strncat): Undef the symbol in case it has been
12399 defined in bits/string.h.
12400
74718d13
UD
124012011-09-09 Ulrich Drepper <drepper@gmail.com>
12402
633e9e0f
UD
12403 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12404
0a2349f9 12405 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12406 link map.
12407
f9924780
AJ
124082011-08-17 Andreas Jaeger <aj@suse.de>
12409
12410 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12411
7f5517aa
PP
124122011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12413 Ian Lance Taylor <iant@google.com>
12414
12415 * math/libm-test.inc (lround_test): New testcase.
12416 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12417
762011fe
UD
124182011-09-08 Ulrich Drepper <drepper@gmail.com>
12419
92963737
UD
12420 * Makefile: Remove support for automatic cvs check-ins.
12421 * Makerules: Likewise.
12422 * config.make.in: Likewise.
12423 * configure.in: Likewise.
12424 * intl/Makefile: Likewise.
12425 * locale/Makefile: Likewise.
12426 * po/Makefile: Likewise.
12427 * posix/Makefile: Likewise.
12428 * sysdeps/gnu/Makefile: Likewise.
12429 * sysdeps/mach/hurd/Makefile: Likewise.
12430 * sysdeps/sparc/sparc32/Makefile: Likewise.
12431
b0727fd8
JS
12432 [BZ #13118]
12433 * posix/Makefile (bug-regex32-ENV): Define.
12434 Patch by John Stanley <jpsinthemix@verizon.net>.
12435
a0f33f99
UD
12436 * misc/Makefile (headers): Add bits/select2.h.
12437 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12438 * misc/bits/select2.h: New file.
12439 * include/bits/select2.h: New file.
12440 * debug/Makefile (routines): Add fdelt_chk.
12441 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12442 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12443 FD_ISSET.
12444 * debug/fdelt_chk.c: New file.
12445
762011fe
UD
12446 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12447 * wcsmbs/test-wmemcmp.c: Likewise.
12448 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12449 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12450
124512011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12452
12453 * string/Makefile (strop-tests): Add memcmp.
12454 * string/test-wmemcmp.c: New file.
12455 * string/test-memcmp.c: Add wmemcmp support.
12456
7f513ec8
RM
124572011-09-08 Roland McGrath <roland@hack.frob.com>
12458
0442afb4
RM
12459 [BZ #13153]
12460 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12461 2011-07-19 change.
12462
7f513ec8
RM
12463 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12464 garbage value in a __mach_port_mod_refs call in the cases of the
12465 task-self and thread-self ports.
12466
a12b2239
ST
124672011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12468
12469 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12470
610f9ab4
AS
124712011-09-08 Andreas Schwab <schwab@redhat.com>
12472
7f513ec8 12473 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12474
48882a1a
LD
124752011-09-07 Ulrich Drepper <drepper@gmail.com>
12476
b49865be
UD
12477 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12478
fdc86bc9
UD
12479 * elf/dl-libc.c (dlerror_run): Pass back error code from
12480 dl_catch_error.
12481
c966526a
UD
12482 [BZ #13123]
12483 * elf/dl-load.c (lose): Free l_origin if it is valid.
12484
48882a1a
LD
12485 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12486 names.
12487 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12488 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12489 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12490 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12491 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12492 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12493
77a2a8b4
AZ
124942011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12495
12496 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12497 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12498 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12499 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12500 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12501 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12502 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12503 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12504 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12505 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12506
24f579d8
AM
125072011-08-15 Alan Modra <amodra@gmail.com>
12508
12509 [BZ #13092]
12510 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12511 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12512 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12513 ppc_mcount to static-only-routines.
12514 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12515 __mcount_internal.
12516 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12517 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12518
3d4837df
UD
125192011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12520
12521 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12522 for finite and infinity parameters.
12523
22700377
WS
125242011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12525
12526 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12527 and add nop instructions for throughput optimization.
12528 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12529
5025581e
WS
125302011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12531
12532 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12533 aligned copy for power7 with vector-scalar instructions.
12534 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12535
08a300c9
L
125362011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12537
12538 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12539 AVX check.
12540
59178ef9
AS
125412011-09-07 Andreas Schwab <schwab@redhat.com>
12542
12543 [BZ #13144]
12544 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12545 last change.
12546
e38ba7ab
UD
125472011-09-07 Ulrich Drepper <drepper@gmail.com>
12548
12549 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12550 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12551 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12552 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12553 clock_gettime.
12554
d53a73ac
UD
125552011-09-06 Ulrich Drepper <drepper@gmail.com>
12556
fc8bffcc
UD
12557 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12558 Forgot to demangle the pointer.
12559
ceaa0c5d
UD
12560 * sysdeps/i386/sysdep.h: Define atom_text_section.
12561 * sysdeps/x86_64/sysdep.h: Likewise.
12562 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12563 section with atom_text_section.
12564 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12565 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12566 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12567 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12568 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12569
a77d3c17
UD
12570 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12571 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12572 already be defined. Change to take two parameters and don't assign
12573 result to variable. Adjust all users.
12574 Define INTERNAL_GETTIME if not already defined.
12575 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12576 call.
12577 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12578 HAVE_CLOCK_GETTIME_VSYSCALL.
12579 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12580
d53a73ac
UD
12581 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12582 gettimeofday vsyscall, just use time.
12583
a8f84144
AS
125842011-09-06 Andreas Schwab <schwab@redhat.com>
12585
12586 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12587 <errno.h>.
12588
ef606249
UD
125892011-09-06 Ulrich Drepper <drepper@gmail.com>
12590
12591 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12592 syscall on x86-64.
12593 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12594 syscall.
12595 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12596 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12597 syscall if possible.
12598
6585cb60
UD
125992011-09-05 Ulrich Drepper <drepper@gmail.com>
12600
12601 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12602 e_ident. Don't pass to find_mapsXX.
12603 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12604
a5f524e4
LD
126052011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12606
12607 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12608 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12609 * sysdeps/x86_64/multiarch/strchr.S: Update.
12610 Check bit_slow_BSF bit.
12611 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12612 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12613 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12614
554881ef
UD
126152011-09-05 Ulrich Drepper <drepper@gmail.com>
12616
d96de963
UD
12617 [BZ #13134]
12618 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12619 before glibc 2.15.
12620 (tryshell): Define.
12621 (__spawni): Change last parameter to be flag. Test
12622 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12623 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12624 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12625 * posix/spawni.c: Likewise.
12626 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12627 * posix/spawnp.c: Likewise. Change normal version to use
12628 SPAWN_XFLAGS_USE_PATH.
12629 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12630 SPAWN_XFLAGS_TRY_SHELL.
12631
d48e5868
UD
12632 [BZ #13150]
12633 * posix/glob.h: Remove gcc 1.x support.
12634
554881ef
UD
12635 [BZ #13068]
12636 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12637
693fb948
LD
126382011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12639
12640 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12641 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12642 strrchr-sse2-bsf
12643 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12644 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12645 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12646 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12647 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12648 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12649
1b48c537
UD
126502011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12651
49d42c37
UD
12652 * sysdeps/x86_64/wcscmp.S: New file.
12653
1b48c537
UD
12654 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12655 wcscmp-c wcscmp-sse2
12656 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12657 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12658 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12659 * wcsmbs/wcscmp.c: Allow renaming.
12660
15c95c5d
DM
126612011-09-05 David S. Miller <davem@davemloft.net>
12662
12663 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12664 stack slot, rather than the struct return pointer slot.
12665 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12666 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12668 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12669
2f0ad8f3
UD
126702011-09-05 Ulrich Drepper <drepper@gmail.com>
12671
d88ae418
UD
12672 * po/ja.po: Update from translation team.
12673
2f0ad8f3
UD
12674 [BZ #13144]
12675 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12676 kernel in 64-bit binaries.
12677
5f4318d1
DM
126782011-09-01 David S. Miller <davem@davemloft.net>
12679
12680 * elf/elf.h (HWCAP_SPARC_*): Move to..
12681 * sysdeps/sparc/sysdep.h: this new file and add new values.
12682 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12683 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12684 _DL_HWCAP_COUNT to 24.
12685 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12686 entries.
12687 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12688 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12689 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12690 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12691 instead of magic constants.
12692 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12693
3ba57516
DM
126942011-08-31 David S. Miller <davem@davemloft.net>
12695
12696 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12697 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12698 Reimplement to do errno handling inline.
12699 (SYSCALL_ERROR_HANDLER): New macro.
12700 (__SYSCALL_STRING): Do not do errno handling in asm.
12701 (__CLONE_SYSCALL_STRING): Delete.
12702 (__INTERNAL_SYSCALL_STRING): Delete.
12703 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12704 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12705 (PSEUDO): Reimplement to do errno handling inline.
12706 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12707 (SYSCALL_ERROR_HANDLER): New macro.
12708 (__SYSCALL_STRING): Do not do errno handling in asm.
12709 (__CLONE_SYSCALL_STRING): Delete.
12710 (__INTERNAL_SYSCALL_STRING): Delete.
12711 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12712 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12713 i386.
12714 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12715 (inline_syscall*): Add 'err' argument.
12716 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12717 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12718 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12719 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12720
12721 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12722 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12723
2bc17433
AS
127242011-08-30 Andreas Schwab <schwab@redhat.com>
12725
12726 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12727
fbeb5f4d
JO
127282011-08-29 Jiri Olsa <jolsa@redhat.com>
12729
12730 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12731 directive.
12732
ad69cc26
DM
127332011-08-24 David S. Miller <davem@davemloft.net>
12734
12735 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12736
39dd69df
AS
127372011-08-24 Andreas Schwab <schwab@redhat.com>
12738
12739 * elf/Makefile: Add rules to build and run unload8 test.
12740 * elf/unload8.c: New file.
12741 * elf/unload8mod1.c: New file.
12742 * elf/unload8mod1x.c: New file.
12743 * elf/unload8mod2.c: New file.
12744 * elf/unload8mod3.c: New file.
12745
12746 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12747 it wasn't used.
12748
2c0b250a
DM
127492011-08-23 David S. Miller <davem@davemloft.net>
12750
12751 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12752 subtract stack bias.
12753 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12754 %sp not %fp in calculations.
12755 (_JMPBUF_UNWINDS_ADJ): Likewise.
12756
22044b48
DM
12757 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12758 (aio_suspend): Call it to force an exception region around the
12759 AIO_MISC_WAIT() invocation.
12760
2cae4995
AS
127612011-08-23 Andreas Schwab <schwab@redhat.com>
12762
12763 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12764 backslash.
12765
873a772e
AJ
127662011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12767
12768 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12769 protection macro.
12770 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12771 and <dl-machine.h>.
12772 (Elf64_FuncDesc): Remove.
12773
25ad0df1
DM
127742011-08-22 David S. Miller <davem@davemloft.net>
12775
12776 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12777 sigaltstack check, add missing cfi directives.
12778 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12779 missing cfi directives, and sigaltstack handling.
12780
e888bcbe
AS
127812011-08-16 Andreas Schwab <schwab@redhat.com>
12782
12783 [BZ #11724]
12784 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12785 object is seen twice.
12786 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12787
12788 * elf/Makefile (distribute): Add tst-initorder2.c.
12789 (tests): Add tst-initorder2.
12790 (modules-names): Add tst-initorder2a tst-initorder2b
12791 tst-initorder2c tst-initorder2d. Add rules to build them.
12792 ($(objpfx)tst-initorder2.out): New rule.
12793 * elf/tst-initorder2.c: New file.
12794 * elf/tst-initorder2.exp: New file.
12795
87162f46
AS
127962011-08-22 Andreas Schwab <schwab@redhat.com>
12797
70538b7f
AS
12798 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12799
f55ffe58
AS
12800 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12801 dependencies back to end of function.
12802
87162f46
AS
12803 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12804 $(elfobjdir)/ld.so.
12805
91b392a4
UD
128062011-08-21 Ulrich Drepper <drepper@gmail.com>
12807
12808 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12809 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12810 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12811 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12812 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12813 of __vdso_gettimeofday.
12814 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12815 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12816 attribute_hidden.
12817 (_libc_vdso_platform_setup): Remove initialization of
12818 __vdso_gettimeofday and __vdso_time.
12819
5c43483f
UD
128202011-08-20 Ulrich Drepper <drepper@gmail.com>
12821
775a77e7
UD
12822 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12823 and fgetc_unlocked.
12824 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12825 getc_unlocked.
89f447ed 12826
49c74ba9
UD
12827 * elf/dl-open.c (add_to_global): Report additions to the global scope
12828 for LD_DEBUG=scopes.
12829 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12830 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12831
5c43483f
UD
12832 [BZ #13114]
12833 * stdio-common/Makefile (tests): Add bug24.
12834 * stdio-common/bug24.c: New file.
12835
a101b025
AJ
128362011-08-19 Andreas Jaeger <aj@suse.de>
12837
12838 [BZ #13114]
12839 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12840 non-existant file when using close-on-exec mode.
12841
c88f1766
UD
128422011-08-20 Ulrich Drepper <drepper@gmail.com>
12843
0276a718
UD
12844 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12845 the very first instruction.
12846
c88f1766
UD
12847 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12848 the CFI state in the end.
12849 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12850 inclusion of dl-trampoline.h.
12851 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12852
51ccffa0
AS
128532011-08-19 Andreas Schwab <schwab@redhat.com>
12854
94d7165f
AS
12855 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12856 expectations for long double.
12857
51ccffa0
AS
12858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12859 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12860
fd708658 128612011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12862
12863 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12864 artificual limit depends upon the system page size.
12865
44f0a71e
UD
128662011-08-17 Ulrich Drepper <drepper@gmail.com>
12867
12868 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12869 * resolv/Makefile: Define CFLAGS-libresolv.
12870
8de79a24
AS
128712011-08-17 Andreas Schwab <schwab@redhat.com>
12872
12873 * nss/makedb.c (compute_tables): Make variables used in nested
12874 function static.
12875
27724598
UD
128762011-08-17 Ulrich Drepper <drepper@gmail.com>
12877
c5305d88
UD
12878 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12879 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12880 if buffer was too small.
12881
27724598
UD
12882 * elf/pldd.c (main): Attach to all threads in the process.
12883 Rewrite /proc handling to use *at functions.
12884
076fe015
UD
128852011-08-16 Ulrich Drepper <drepper@gmail.com>
12886
174baab3
UD
12887 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12888 specifies first scope to show.
12889 (dl_open_worker): Update callers. Move printing scope of new
12890 object to before the relocation.
44f0a71e 12891 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12892 * sysdeps/generic/ldsodefs.h: Update declaration.
12893
076fe015
UD
12894 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12895 string for the scope number.
12896
a60df2c3
UD
128972011-08-14 Ulrich Drepper <drepper@gmail.com>
12898
12899 * nscd/servicescache.c (cache_addserv): Make sure written is always
12900 initialized.
12901
5e4287d1
RM
129022011-08-14 Roland McGrath <roland@hack.frob.com>
12903
85ae0589
RM
12904 * sysdeps/i386/i486/bits/atomic.h
12905 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12906 statement expression, so as to suppress "set but not used" warning.
12907 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12908
69f63097
RM
12909 * string/strncat.c (STRNCAT): Use prototype definition.
12910
675456ef
RM
12911 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12912 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12913 -Iprograms here.
12914 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12915 (localedef-modules): Add localedef.
12916 (locale-modules): Add locale.
12917
5e4287d1
RM
12918 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12919 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12920 to avoid a warning.
12921
9c96ff23
DM
129222011-08-14 David S. Miller <davem@davemloft.net>
12923
12924 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12925 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12926
f9ddf089
UD
129272011-08-13 Ulrich Drepper <drepper@gmail.com>
12928
44f0a71e 12929 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12930 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12931 * elf/rtld.c (dl_main): Set l_name of vDSO.
12932 Call _dl_show_scope when DL_DEBUG_SCOPES.
12933 (process_dl_debug): Recognize scopes flag and also set it for all.
12934 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12935 Declare _dl_show_scope.
12936
1dc27704
UD
12937 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12938 (do_dlopen): Pass caller_dlopen to dl_open.
12939 (__libc_dlopen_mode): Initialize caller_dlopen.
12940
f9ddf089
UD
12941 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12942 of libc. Make tolower call locale-independent. Optimize a bit by
12943 using isdigit instead of isalnum.
12944 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12945
9ac533d3
UD
129462011-08-12 Ulrich Drepper <drepper@gmail.com>
12947
12948 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12949 was a dependency or dynamically loaded.
12950
89edf2e9
UD
129512011-08-11 Ulrich Drepper <drepper@gmail.com>
12952
8e999d29
UD
12953 * intl/l10nflist.c: Allow architecture-specific pop function.
12954 * sysdeps/x86_64/l10nflist.c: New file.
12955
89edf2e9
UD
12956 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12957 classification.
12958
14d96785
AS
129592011-08-10 Andreas Schwab <schwab@redhat.com>
12960
12961 * include/dirent.h: Add libc_hidden_proto for scandirat and
12962 scandirat64. Don't declare __scandirat64.
12963 * dirent/scandirat.c: Add libc_hidden_def.
12964 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12965 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12966
6761ac04
DM
129672011-08-10 David S. Miller <davem@davemloft.net>
12968
12969 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12970 enum.
12971 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12972 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12973 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12974
c55fbd1e
UD
129752011-08-09 Ulrich Drepper <drepper@gmail.com>
12976
12977 * Versions.def [libc]: Add GLIBC_2.15.
12978 * dirent/Makefile (routines): Add scandirat and scandirat64.
12979 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12980 GLIBC_2.15.
12981 * dirent/dirent.h: Declare scandirat and scandirat64.
12982 * dirent/scandirat.c: New file.
12983 * dirent/scandirat64.c: New file.
12984 * sysdeps/wordsize-64/scandirat.c: New file.
12985 * sysdeps/wordsize-64/scandirat64.c: New file.
12986 * dirent/opendir.c: Define opendirat.
12987 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12988 using scandirat.
12989 * dirent/scandir64.c: Adjust for scandir.c change.
12990 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12991 __scandirat64, and __scandir_cancel_handler.
12992 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12993 additional parameter and use openat instead of open (outside of ld.so).
12994 Add new __opendir as wrapper around __opendirat.
12995 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12996 here without requiring old scandirat implementation.
12997
879165f2
UD
129982011-08-08 Ulrich Drepper <drepper@gmail.com>
12999
13000 * dirent/scandir.c (cancel_handler): Renamed to
13001 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13002 defined. Adjust users.
13003 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13004 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13005
cb7e923b
UD
130062011-08-04 Ulrich Drepper <drepper@gmail.com>
13007
16292edd
UD
13008 * string/test-string.h (IMPL): Use __STRING to expand name and then
13009 stringify it.
13010
cb7e923b
UD
13011 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13012 of cleanups.
13013
cff82933
LD
130142011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13015
13016 * string/Makefile: Update.
13017 (strop-tests): Append strncat.
13018 * string/test-wcscmp.c: New file.
13019 New comprehensive test for wcscmp.
13020 * string/test-strcmp.c: Update.
13021 (WIDE): New define.
13022
9be9bfcc
AS
130232011-07-22 Andreas Schwab <schwab@redhat.com>
13024
13025 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13026 line.
13027
2e96f1c7
AS
130282011-07-26 Andreas Schwab <schwab@redhat.com>
13029
13030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13031 encoding to ACE if AI_IDN.
13032
85188888
JJ
130332011-08-01 Jakub Jelinek <jakub@redhat.com>
13034
13035 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13036 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13037
5fa16e9b
LD
130382011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13039
13040 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13041 Fix overflow bug in strncat.
13042 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13043
13044 * string/test-strncat.c: Update.
13045 Add new tests for checking overflow bugs.
13046
130472011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13048
13049 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13050 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13051 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13052 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13053 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13054 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13055 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13056 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13057 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13058
13059 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13060 (USE_AS_STRCAT): Define.
13061 Add strcat and strncat support.
13062 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13063
8c1a459f
AS
130642011-07-25 Andreas Schwab <schwab@redhat.com>
13065
13066 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13067 __n bigger than INT_MAX+1.
13068 (__strncmp_g): Likewise.
13069
bba33c28
UD
130702011-07-23 Ulrich Drepper <drepper@gmail.com>
13071
798be72d
UD
13072 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13073 * libio/stido.h: Likewise.
13074
8accd4dc
UD
13075 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13076 (AF_NFC): Define.
13077 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13078 (AF_NFC): Define.
13079
cbff0d96
UD
13080 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13081 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13082 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13083 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13084 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13085
9191c04a
UD
13086 [BZ #13021]
13087 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13088 installed.
13089
bba33c28
UD
13090 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13091 typo.
13092 (_dl_x86_64_save_sse): Likewise.
13093
90f139dd
UD
130942011-07-22 Ulrich Drepper <drepper@gmail.com>
13095
1aae088a
UD
13096 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13097 OSXSAVE.
13098 (_dl_x86_64_save_sse): Likewise.
13099
8e2045f5
UD
13100 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13101
90f139dd
UD
13102 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13103
1d002f25
AS
131042011-07-21 Andreas Schwab <schwab@redhat.com>
13105
13106 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13107 change.
13108 (_dl_x86_64_save_sse): Use correct AVX check.
13109
21137f89
UD
131102011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13111
13112 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13113 bug in strncpy/strncat.
13114 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13115
a65c0b7a
UD
131162011-07-21 Ulrich Drepper <drepper@gmail.com>
13117
13118 * string/tester.c (test_strcat): Add tests for different alignments
13119 of source and destination.
13120 (test_strncat): Likewise.
13121
6986b98a
UD
131222011-07-20 Ulrich Drepper <drepper@gmail.com>
13123
90bb2039
UD
13124 [BZ #12852]
13125 * posix/glob.c (glob): Check passed in values before using them in
13126 expressions to avoid some overflows.
13127 (glob_in_dir): Likewise.
13128
5644ef54
UD
13129 [BZ #13007]
13130 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13131 check for AVX enablement so that we don't crash with old kernels and
13132 new hardware.
13133 * elf/tst-audit4.c: Add same checks here.
13134 * elf/tst-audit6.c: Likewise.
13135
13136 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13137
bfc9dc9b
AS
131382011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13139
13140 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13141
702e64bb
UD
131422011-07-20 Ulrich Drepper <drepper@gmail.com>
13143
13144 * po/cs.po: Update from translation team.
13145 * po/bg.po: Likewise.
13146
295e904f
MP
131472011-07-12 Marek Polacek <mpolacek@redhat.com>
13148
13149 * misc/sys/cdefs.h: Add support for const attribute.
13150 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13151 to gnu_dev_{major,minor,makedev} functions.
13152
3ff94596
MP
131532011-07-20 Marek Polacek <mpolacek@redhat.com>
13154
13155 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13156
28b59fca
AS
131572011-07-20 Andreas Schwab <schwab@redhat.com>
13158
13159 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13160 strlen results.
13161
19df733e
AK
131622011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13163
13164 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13165 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13166 register in order to avoid conflicts with the soft frame pointer
13167 being held in r11 when necessary.
13168 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13169 (INTERNAL_VSYSCALL_NCS): Likewise.
13170
c8835729
MP
131712011-07-14 Marek Polacek <mpolacek@redhat.com>
13172
13173 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13174 * elf/dl-fini.c (_dl_fini): Adjust caller.
13175 * elf/dl-close.c (_dl_close_worker): Likewise.
13176 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13177
b902330c
MP
131782011-07-15 Marek Polacek <mpolacek@redhat.com>
13179
8991e135
MP
13180 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13181 "aux_cache->nlibs < 0".
13182
b902330c
MP
13183 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13184 in the reload-count case.
13185
99710781
LD
131862011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13187
13188 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13189 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13190 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13191 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13192 * sysdeps/x86_64/multiarch/strcat.S: New file.
13193 * sysdeps/x86_64/multiarch/strncat.S: New file.
13194 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13195 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13196 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13197 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13198 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13199 (USE_AS_STRCAT): Define.
13200 Add strcat and strncat support.
13201 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13202 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13203 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13204 * string/strncat.c: Update.
13205 (USE_AS_STRNCAT): Define.
13206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13207 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13208 and i7.
13209 * sysdeps/x86_64/multiarch/init-arch.h
13210 (bit_Prefer_PMINUB_for_stringop): New.
13211 (index_Prefer_PMINUB_for_stringop): Likewise.
13212 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13213 bit_Prefer_PMINUB_for_stringop.
13214
7dc6bd90
UD
132152011-07-19 Ulrich Drepper <drepper@gmail.com>
13216
13217 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13218 buffer64.
13219 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13220 of casting of buffer.
13221 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13222 buffer32 and buffer64.
13223 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13224 writes instead of casting of buffer.
13225 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13226 buffer32.
13227 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13228 casting of buffer.
13229
e0e72284
AS
132302011-07-19 Andreas Schwab <schwab@redhat.com>
13231
13232 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13233
feb1eb0b
UD
132342011-07-19 Ulrich Drepper <drepper@gmail.com>
13235
13236 * nscd/nscd.c (termination_handler): Don't do anything for a database
13237 if it has not yet been initialized.
13238
298711ff
UD
132392011-07-18 Ulrich Drepper <drepper@gmail.com>
13240
13241 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13242
132432011-07-15 Marek Polacek <mpolacek@redhat.com>
13244
13245 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13246
f9d68389
UD
132472011-07-18 Ulrich Drepper <drepper@gmail.com>
13248
13249 * po/nl.po: Update from translation team.
13250 * po/sv.po: Likewise.
13251
db290cf5
RM
132522011-07-16 Roland McGrath <roland@hack.frob.com>
13253
13254 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13255 now disallowed by GCC.
5c550700 13256
fd5e21c7
RM
13257 * configure.in (use-default-link): Default to yes if a test -shared
13258 link meets our qualifications.
13259 * configure: Regenerated.
13260
5c550700
RM
13261 * config.make.in (output-format): New variable.
13262 * configure.in: Check for ld --print-output-format support.
13263 * configure: Regenerated.
13264 * Makerules ($(common-objpfx)format.lds)
13265 [$(output-format) != unknown]: Just use $(output-format),
13266 instead of the linker-script munging.
13267
9fa2c032
RM
132682011-07-14 Roland McGrath <roland@hack.frob.com>
13269
a6928d51
RM
13270 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13271 of $(common-objpfx)shlib.lds.
13272 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13273
661607b3
RM
13274 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13275 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13276
9fa2c032
RM
13277 * configure.in (-z relro check): Adjust test code to add a large
13278 writable data section after it.
13279 * configure: Regenerated.
13280
defe9061
RM
132812011-07-11 Roland McGrath <roland@hack.frob.com>
13282
13283 * configure.in (-z relro check): Fix test code to make the variable
13284 truly const.
13285 * configure: Regenerated.
13286
319b9ad4
UD
132872011-07-11 Ulrich Drepper <drepper@gmail.com>
13288
13289 * nscd/nscd.h (struct traced_file): Define.
13290 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13291 elements. Add traced_files.
13292 (inotify_fd): Declare.
13293 (register_traced_file): Declare.
13294 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13295 (inotify_fd): Export.
13296 (resolv_conf_descr): Remove.
13297 (nscd_init): Move inotify descriptor creation to main.
13298 Don't register files for notification here.
13299 (register_traced_file): New function.
13300 (invalidate_cache): Don't use reset_res to determine whether to call
13301 res_init, go through the list of registered files.
13302 (main_loop_poll): The inotify descriptors are now stored in the
13303 structures for the traced files.
13304 (main_loop_epoll): Likewise
13305 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13306 to __nss_disable_nscd.
13307 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13308 for a database anymore. Check the records for all the registered
13309 files instead.
13310 * nss/Makefile (libnss_files-routines): Add files-init.
13311 (libnss_db-routines): Add db-init.
13312 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13313 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13314 * nss/nss_db/db-init.c: New file.
13315 * nss/nss_files/files-init.c: New file.
13316 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13317 __nss_lookup_function.
13318 (__nss_lookup_function): Call nss_load_library.
13319 (nss_load_all_libraries): New function.
13320 (__nss_disable_nscd): Take parameter with callback function for files
13321 to register. Set is_nscd. Load all the DSOs for the NSS modules
13322 used for the cached services.
13323 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13324 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13325 options for features to all the files in nscd.
13326
13327 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13328
23bee3e8
RM
133292011-07-10 Roland McGrath <roland@hack.frob.com>
13330
13331 * csu/elf-init.c (__libc_csu_init): Comment typo.
13332
46a5b7f0
UD
133332011-07-09 Ulrich Drepper <drepper@gmail.com>
13334
13335 * po/pl.po: Update from translation team.
13336 * po/ja.po: Likewise.
13337 * po/ru.po: Likewise.
13338 * po/ko.po: Likewise.
13339 * po/fr.po: Likewise.
13340
d30cf5bb
RM
133412011-07-09 Roland McGrath <roland@hack.frob.com>
13342
113ddea4
RM
13343 * configure.in (.ctors/.dtors header and trailer check):
13344 Use an empirical test on a built program.
13345 * configure: Regenerated.
13346
574920b4
RM
13347 * configure.in (-z relro check): Use an empirical test on a built DSO.
13348 Detect, but do not require, on ia64.
13349 * configure: Regenerated.
13350
d30cf5bb
RM
13351 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13352 Update tests that use readelf to use $READELF instead.
13353 * configure: Regenerated.
13354
8538fdb3
UD
133552011-07-08 Ulrich Drepper <drepper@gmail.com>
13356
13357 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13358 if the result is not used.
13359
04d08991
AJ
133602011-07-05 Andreas Jaeger <aj@suse.de>
13361
13362 [BZ#9696]
13363 * stdlib/tst-strtod.c: Add testcase.
13364
de283087
AD
133652011-07-07 Ulrich Drepper <drepper@gmail.com>
13366
4e5f31c8 13367 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13368 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13369 The latter has a higher limit. Take additional parameter to pass to
13370 the new function.
13371 (__pathconf): Pass file to __statfs_link_max.
13372 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13373 __statfs_link_max.
13374 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13375 __statfs_link_max.
13376
de283087
AD
13377 [BZ #12868]
13378 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13379 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13380 Handle Lustre.
13381 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13382 (__statfs_filesize_max): Likewise.
13383 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13384
c75fa153
AJ
133852011-07-05 Andreas Jaeger <aj@suse.de>
13386
13387 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13388
1a544854
UD
133892011-07-06 Marek Polacek <mpolacek@redhat.com>
13390
13391 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13392 `status' variable.
13393 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13394 Likewise.
13395
6f0eec67
UD
133962011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13397
13398 * Makefile (strop-tests): Add strncat.
13399 * string/test-strncat.c: New file.
13400
aae30307
UD
134012011-06-30 Marek Polacek <mpolacek@redhat.com>
13402
13403 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13404
c0cfb5eb
UD
134052011-06-21 Andreas Jaeger <aj@suse.de>
13406
13407 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13408 Copy rule from iconvdata/Makefile.
13409
01636b21
UD
134102011-07-06 Ulrich Drepper <drepper@gmail.com>
13411
13412 [BZ #12922]
13413 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13414 but no long options are defined, just return 'W'.
13415
9895c8bc
UD
134162011-06-22 Marek Polacek <mpolacek@redhat.com>
13417
13418 [BZ #9696]
13419 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13420
5d4cf042
UD
134212011-07-06 Ulrich Drepper <drepper@gmail.com>
13422
13423 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13424 netgroups to read.
960e5535 13425 (innetgr): Likewise.
5d4cf042 13426
751eb97e
RM
134272011-07-05 Roland McGrath <roland@hack.frob.com>
13428
13429 * config.make.in (install_root): Default to $(DESTDIR).
13430
f15f1e45
UD
134312011-07-05 Ulrich Drepper <drepper@gmail.com>
13432
13433 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13434
4e34ac6a
RM
134352011-07-02 Roland McGrath <roland@hack.frob.com>
13436
5e9b6af4
RM
13437 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13438
84f9ea0f
RM
13439 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13440 containing directory rather than embedding absolute directory names.
13441
ea5ee9f7
RM
13442 * scripts/check-local-headers.sh: Rewritten using awk.
13443 Match by word, not by line. Print error messages for matches.
13444 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13445
1b74661a
RM
13446 * Makerules [shlib-lds-flags empty]:
13447 ($(common-objpfx)libc_pic.opts): New target.
13448 ($(common-objpfx)libc_pic.os.clean): New target.
13449 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13450
13451 * config.make.in (OBJCOPY): New variable.
13452 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13453 * configure: Regenerated.
13454
f781ef40
RM
13455 * config.make.in (use-default-link): New variable.
13456 * configure.in (use_default_link): Grok --with-default-link to set it.
13457 * configure: Regenerated.
13458 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13459 (shlib-lds, shlib-lds-flags): Define to empty.
13460
2d4fa81e
RM
13461 * Makerules (shlib-lds): New variable.
13462 (shlib-lds-flags): New variable.
13463 (build-shlib, build-moduile, build-module-asneeded): Use it.
13464 ($(common-objpfx)libc.so): Use $(shlib-lds).
13465 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13466 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13467
31fffa6b
RM
13468 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13469 DT_FLAGS/DT_FLAGS_1 with zero flags.
13470
4e34ac6a
RM
13471 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13472 linker script munging.
13473
fcfc776b
UD
134742011-07-02 Ulrich Drepper <drepper@gmail.com>
13475
13476 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13477 as 128-bit value.
13478 * crypt/sha512.c (sha512_process_block): Perform total addition using
13479 128-bit if possible.
13480 (__sha512_finish_ctx): Likewise.
13481 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13482 as 64-bit value.
13483 * crypt/sha256.c (SWAP64): Define.
13484 (sha256_process_block): Perform total addition using 64-bit if
13485 possible.
13486 (__sha256_finish_ctx): Likewise.
13487
99231d9a
UD
134882011-07-01 Ulrich Drepper <drepper@gmail.com>
13489
13490 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13491 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13492 * nscd/hstcache.c (cache_addhst): Likewise.
13493 * nscd/grpcache.c (cache_addgr): Likewise.
13494 * nscd/aicache.c (addhstaiX): Likewise
13495 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13496
445b4a53
TK
134972011-07-01 Thorsten Kukuk <kukuk@suse.de>
13498
13499 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13500 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13501 * nscd/hstcache.c (cache_addhst): Likewise.
13502 * nscd/grpcache.c (cache_addgr): Likewise.
13503 * nscd/aicache.c (addhstaiX): Likewise
13504
6d4d8e8e
AS
135052011-07-01 Andreas Schwab <schwab@redhat.com>
13506
13507 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13508 domain only when needed.
13509
89f654c5
AS
135102011-06-30 Andreas Schwab <schwab@redhat.com>
13511
13512 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13513 is always restored.
13514
cf3b23ff
UD
135152011-06-29 Ulrich Drepper <drepper@gmail.com>
13516
13517 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13518 are re-adding the entry.
13519 * nscd/servicescache.c (cache_addserv): Likewise.
13520
751626f9
AJ
135212011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13522
13523 * sysdeps/generic/dl-irel.h: fix protection against multiple
13524 inclusions.
13525 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13526
9113ea1f
UD
135272011-06-28 Ulrich Drepper <drepper@gmail.com>
13528
5c0b8d90
UD
13529 [BZ #12935]
13530 * malloc/memusage.sh: Fix quoting in message.
13531 * debug/xtrace.sh: Likewise.
13532
9113ea1f
UD
13533 * configure.in: Remove support for --experimental-malloc option, make
13534 it the default.
13535 * config.make.in: Likewise.
13536 * malloc/Makefile: Likewise.
13537
a4172181
AS
135382011-06-27 Andreas Schwab <schwab@redhat.com>
13539
13540 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13541 two-byte characters.
13542
78a7eee7
RM
135432011-06-27 Roland McGrath <roland@hack.frob.com>
13544
62bede13
RM
13545 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13546 AC_CACHE_CHECK invocation.
13547 * configure: Regenerated.
13548
78a7eee7
RM
13549 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13550
5ce33a62
UD
135512011-06-27 Ulrich Drepper <drepper@gmail.com>
13552
034807a9
UD
13553 [BZ #12350]
13554 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13555 bit from old_res_options.
13556
4902da17
UD
13557 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13558
5ce33a62
UD
13559 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13560 value type for setfct.
13561
c2344f56
L
135622011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13563
13564 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13565 __gettimeofday instead of gettimeofday.
13566
68468076
UD
135672011-06-26 Ulrich Drepper <drepper@gmail.com>
13568
13569 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13570
acb0d739
L
135712011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13572
13573 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13574
13575 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13576 info.
13577
8912479f
L
135782011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13579
13580 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13581 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13582 strcpy-sse2-unaligned strncpy-sse2-unaligned
13583 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13584 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13585 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13586 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13587 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13588 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13589 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13590 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13591 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13592 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13593 (STRCPY): Support SSE2 and SSSE3 versions.
13594
d5495a11
UD
135952011-06-24 Ulrich Drepper <drepper@gmail.com>
13596
13597 [BZ #12874]
13598 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13599 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13600 kernels which artificially limit size of requests.
13601
0b1cbaae
L
136022011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13603
13604 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13605 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13606 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13607 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13608 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13609 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13610 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13611 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13612 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13613 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13614 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13615 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13616 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13617 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13618 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13620 Enable unaligned load optimization for Intel Core i3, i5 and i7
13621 processors.
13622 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13623 Define.
13624 (index_Fast_Unaligned_Load): Define.
13625 (HAS_FAST_UNALIGNED_LOAD): Define.
13626
07f494a0
MP
136272011-06-23 Marek Polacek <mpolacek@redhat.com>
13628
13629 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13630
fa3fc0fe
UD
136312011-06-22 Ulrich Drepper <drepper@gmail.com>
13632
13633 [BZ #12907]
13634 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13635 until it is clear that the information is realy needed.
13636 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13637
e12df166
AS
136382011-06-22 Andreas Schwab <schwab@redhat.com>
13639
13640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13641
852eb34d
UD
136422011-06-22 Ulrich Drepper <drepper@gmail.com>
13643
84e2a551
UD
13644 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13645 /sys/devices/system/cpu/online if it is usable.
13646
852eb34d
UD
13647 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13648 reading the information from the /proc filesystem to once a second.
13649
6e502e19
UD
136502011-06-21 Andreas Jaeger <aj@suse.de>
13651
13652 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13653 NULL after inclusion of kernel headers.
13654
75d39ff2
UD
136552011-06-21 Ulrich Drepper <drepper@gmail.com>
13656
51f9aa6a
UD
13657 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13658 calls to internal_setent.
13659
c0244a9d
UD
13660 [BZ #12885]
13661 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13662 addresses using gethostbyname4_r ignore IPv4 addresses.
13663
c5e3c2ae
UD
13664 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13665 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13666
75d39ff2
UD
13667 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13668
42675c6f
DM
136692011-06-20 David S. Miller <davem@davemloft.net>
13670
13671 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13672 inclusions.
13673 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13674
13675 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13676 (elf_irel): Use it.
13677 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13678 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13679 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13680 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13681 * sysdeps/x86_64/dl-irel.h: Likewise.
13682
13683 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13684 * elf/dl-sym.c: Likewise.
13685
57912a71
UD
136862011-06-15 Ulrich Drepper <drepper@gmail.com>
13687
13688 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13689 need to dereference resplen2.
13690
ee22793d
AS
136912011-06-14 Andreas Schwab <schwab@redhat.com>
13692
13693 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13694
a9e836b0
UD
136952011-06-15 Ulrich Drepper <drepper@gmail.com>
13696
77fb9117
UD
13697 * Makeconfig: Define vardbdir and inst_vardbdir.
13698 * nss/Makefile: Add rules to install db-Makefile.
13699
40c1b22c
UD
13700 * nss/nss_db/db-XXX.c: Cleanup.
13701
9f2da732
UD
13702 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13703 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13704 GLIBC_PRIVATE.
13705 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13706 * nss/makedb.c: Implement -g option to specify that value strings
13707 are generated and should not be added to table iterated over for
13708 get*ent calls.
13709 * nss/nss_db/db-initgroups.c: New file.
13710
82e9a1f7
UD
13711 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13712 interface.
13713
c41af17e
UD
13714 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13715 (internal_getgrouplist): Adjust to name change.
13716 Update use_initgroups_entry if this is not the first call.
13717 * nss/databases.def: Add initgroups entry.
13718
a9e836b0
UD
13719 * nss/makedb.c (compute_tables): Check result of multiple hash table
13720 sizes to minimize maximum chain length.
13721
2666d441
UD
137222011-06-14 Ulrich Drepper <drepper@gmail.com>
13723
13724 * Versions.def: Add entry for libnss_db.
13725 * shlib-versions: Likewise.
13726 * nss/Makefile: Add rules to build libnss_db.
13727 * nss/Versions: Add libnss_db information. Organize libnss_files
13728 entries better.
13729 * nss/db-Makefile: Add gshadow support. Change rules for the new
13730 makedb progra. Some minor improvements to generate smaller files.
13731 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13732 here from...
13733 * nss/makedb.c: ...here.
13734 Improve database format to be smaller and require less memory at
13735 runtime.
13736 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13737 db anymore.
13738 * nss/nss_db/db-netgrp.c: Likewise.
13739 * nss/nss_db/db-open.c: Likewise.
13740 * nss/nss_files/flies-XXX.x: Adjust comments.
13741 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13742 * nss/nss_files/files-grp.c: Likewise.
13743 * nss/nss_files/files-hosts.c: Likewise.
13744 * nss/nss_files/files-network.c: Likewise.
13745 * nss/nss_files/files-proto.c: Likewise.
13746 * nss/nss_files/files-pwd.c: Likewise.
13747 * nss/nss_files/files-rpc.c: Likewise.
13748 * nss/nss_files/files-service.c: Likewise.
13749 * nss/nss_files/files-sgrp.c: Likewise.
13750 * nss/nss_files/files-spwd.c: Likewise.
13751 * nss/nss_db/db-alias.c: Removed.
13752 * nss/nss_db/dummy-db.h: Removed.
13753
9ee76b5a
UD
137542011-06-02 Ulrich Drepper <drepper@gmail.com>
13755
13756 * nss/makedb.c: Rewritten to not use database library.
13757 * nss/Makefile: Update to build new makedb program.
13758
c71ca1f8
AJ
137592011-06-14 Andreas Jaeger <aj@suse.de>
13760
13761 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13762 memset declaration.
13763
3154bfb8
UD
137642011-06-10 Andreas Schwab <schwab@redhat.com>
13765
13766 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13767 tmpbuf.
13768
b350afab
RM
137692011-06-10 Roland McGrath <roland@hack.frob.com>
13770
decd4e50
RM
13771 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13772 * elf/Makefile ($(objpfx)ld.so): Likewise.
13773
5615eaf2
RM
13774 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13775 Don't list ld.so twice in dependencies.
13776
13777 * posix/bug-regex31.c: Include <stdlib.h>.
13778
13779 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13780
13781 * nis/nss_compat/compat-spwd.c
13782 (getspent_next_nss_netgr): Remove unused variable.
13783 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13784
13785 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13786 nonmembers" output to use the right array.
13787
13788 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13789
13790 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13791
13792 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13793 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13794 * catgets/gencat.c (read_input_file): Likewise.
13795 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13796
13797 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13798 variable definition inside #if's controlling its use.
13799
13800 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13801
13802 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13803
13804 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13805
13806 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13807 unreachable code.
13808
13809 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13810
b68e08db
RM
13811 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13812 * configure: Regenerated.
13813
b350afab
RM
13814 * Makerules: Revert last change.
13815 * elf/Makefile: Likewise.
13816
28368601
RM
138172011-06-09 Roland McGrath <roland@hack.frob.com>
13818
13819 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13820 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13821 (reloc-link): Likewise.
13822
11988f8f
UD
138232011-06-09 Ulrich Drepper <drepper@gmail.com>
13824
13825 * elf/Makefile: Add rules to build pldd.
13826 * elf/pldd.c: New file.
13827 * elf/pldd-xx.c: New file.
13828
e80fab37
UD
138292011-06-07 Ulrich Drepper <drepper@gmail.com>
13830
13831 * version.h: Update for 2.15 development version.
13832
9b849836
DM
138332011-06-07 David S. Miller <davem@davemloft.net>
13834
13835 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13836 ifuncs.
13837 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13838 elf_machine_lazy_rel): Likewise.
13839 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13840 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13841 elf_machine_lazy_rel): Likewise.
13842 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13843 dl_hwcap via passed in argument.
13844 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13845 Likewise.
13846
5a31b283
AK
138472011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13848
13849 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13850
069e52f8
RM
138512011-06-06 Roland McGrath <roland@hack.frob.com>
13852
13853 [BZ #12849]
13854 * manual/fdl-1.1.texi: New file, verbatim from:
13855 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13856 * manual/lgpl-2.1.texi: New file, verbatim from:
13857 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13858 * manual/Makefile (licenses): New variable, list those new file names.
13859 (texis): Use it.
13860 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13861
13862 * manual/fdl.texi: File removed.
13863 * manual/lesser.texi: File removed.
13864 * manual/libc.texinfo (Copying, Documentation License):
13865 Use new @include file names, put @appendix directive before @include.
13866
f16846a5
JJ
138672011-06-04 Jakub Jelinek <jakub@redhat.com>
13868
13869 [BZ #12841]
13870 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13871 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13872 (mq_open): Add __NTH.
13873
3d29045b
L
138742011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13875
13876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13877 Assume Intel Core i3/i5/i7 processor if AVX is available.
13878
8c297311
UD
138792011-05-31 Ulrich Drepper <drepper@gmail.com>
13880
13881 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13882 typo.
13883
c8fc0c91
UD
138842011-05-31 Andreas Schwab <schwab@redhat.com>
13885
13886 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13887 memory. Use alloca_account. Fix memory leak when retrying.
13888
5b27a807
UD
138892011-05-31 Ulrich Drepper <drepper@gmail.com>
13890
356f8bc6
UD
13891 * version.h (RELEASE): Bump for 2.14 release.
13892 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13893
5b27a807
UD
13894 * config.make.in (RANLIB): Remove entry.
13895
01f16ab0
UD
138962011-05-30 Ulrich Drepper <drepper@gmail.com>
13897
41fce8bd
UD
13898 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13899 (libc.pot): Work around missing support for .ksh extension in xgettext.
13900
4769ae77
UD
13901 [BZ #12684]
13902 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13903 if both request failed.
13904 (send_dg): In case of server errors clear resplen or *resplen2.
13905
6b1e7d19
UD
13906 [BZ #12454]
13907 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13908 when there are multiple maps.
13909 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13910 (_dl_fini): Remove test here.
13911
01f16ab0
UD
13912 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13913
b1ebd700
UD
139142011-05-29 Ulrich Drepper <drepper@gmail.com>
13915
7ae22829
UD
13916 [BZ #12350]
13917 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13918 bit from old_res_options.
13919 (gaih_inet): Likewise.
13920
553149f6 13921 [BZ #11099]
18a84741 13922 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13923 as signed.
13924
652ffab1
UD
13925 * resolv/res_init.c (res_setoptions): Make the code more compact.
13926
16985fd0
UD
13927 [BZ #11558]
13928 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13929 set RES_USEVC.
13930
0464f746
UD
13931 [BZ #11634]
13932 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13933
7d17596c
UD
13934 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13935
cf6bbbd7
UD
13936 [BZ #11781]
13937 * malloc/malloc.h: Declare malloc hook variables as volatile.
13938
13f1ab36
UD
13939 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13940 in last patch.
13941
b1ebd700
UD
13942 [BZ #11799]
13943 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13944 raise in the comment.
80e2212d
UD
13945 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13946 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13947 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13948
ce67228d
UD
139492011-05-28 Ulrich Drepper <drepper@gmail.com>
13950
8887a920
UD
13951 [BZ #12811]
13952 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13953 grow the buffers more if it already has to be sufficient.
13954 (build_wcs_upper_buffer): Likewise.
13955 * posix/regexec.c (check_matching): Likewise.
13956 (clean_state_log_if_needed): Likewise.
13957 (extend_buffers): Don't enlarge buffers beyond size of the input
13958 buffer.
13959 Patches mostly by Emil Wojak <emil@wojak.eu>.
13960 * posix/bug-regex32.c: New file.
13961 * posix/Makefile (tests): Add bug-regex32.
13962
4f031072
UD
13963 * locale/findlocale.c (_nl_find_locale): Return right away if
13964 _nl_explode_name failed.
13965 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13966
d0478f0c
UD
13967 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13968
de81b246
UD
13969 * debug/xtrace.sh: Unify messages.
13970 * malloc/memusage.sh: Likewise.
13971
c738465a
UD
13972 [BZ #12813]
13973 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13974 time symbol from vDSO. Substitute with vsyscall if not available.
13975 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13976 __vdso_time.
13977
f1f929d7
UD
13978 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13979 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13980 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13981 Add sendmmsg and internal_sendmmsg.
13982 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13983 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13984 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13985
ce67228d
UD
13986 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13987 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13988 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13989
e57420c6
UD
139902011-05-27 Ulrich Drepper <drepper@gmail.com>
13991
a8509ca5
UD
13992 [BZ #12813]
13993 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13994 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13995 available.
13996 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13997 __vdso_getcpu.
13998
e57420c6
UD
13999 [BZ #12814]
14000 * iconvdata/Makefile (tests): Add bug-iconv9.
14001 * iconvdata/bug-iconv9.c: New file.
14002
4d07db15
AS
140032011-05-27 Andreas Schwab <schwab@redhat.com>
14004
14005 [BZ #12814]
14006 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14007
ea486f69
JJ
140082011-05-25 Jakub Jelinek <jakub@redhat.com>
14009
14010 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14011 (struct user_regs_struct): Change intcs field back to cs.
14012
6f038433
UD
140132011-05-25 Ulrich Drepper <drepper@gmail.com>
14014
14015 * po/ja.po: Update from translation team.
14016
67f86a25
UD
140172011-05-23 Ulrich Drepper <drepper@gmail.com>
14018
14019 [BZ #12795]
14020 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14021 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14022
def7fbd6
AS
140232011-05-20 Andreas Schwab <schwab@redhat.com>
14024
14025 * stdlib/longlong.h: Update from GCC.
14026
f50ef8f1
AS
140272011-05-23 Andreas Schwab <schwab@redhat.com>
14028
14029 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14030 parameter name.
14031 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14032 Add parameter name.
14033 (__sysconf): Pass it down.
14034
de7ce8f1
UD
140352011-05-22 Ulrich Drepper <drepper@gmail.com>
14036
f2962a71
UD
14037 [BZ #12671]
14038 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14039 some situations.
14040 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14041 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14042 add in in __libc_use_alloca calls. Adjust callers.
14043 (glob): Use malloc in some situations.
14044
de7ce8f1
UD
14045 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14046 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14047 pltexit.
14048
aec84f53
UD
140492011-05-21 Ulrich Drepper <drepper@gmail.com>
14050
05bb4a68
UD
14051 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14052 and CLOCK_BOOTTIME_ALARM.
14053
7ea72f99
UD
14054 [BZ #12782]
14055 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14056 is returned.
14057
7e4afad5
UD
14058 * string/_strerror.c (__strerror_r): Print negative errors as signed
14059 numbers.
14060
8e211fec
UD
14061 [BZ #12777]
14062 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14063 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14064 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14065
f7d82dc9
UD
14066 * configure.in: Fix typo in redirection and correct removal of test
14067 files in two cases.
14068
cc9e536d
UD
14069 [BZ #12788]
14070 * locale/setlocale.c (new_composite_name): Fix test to check for
14071 identical name of all categories.
14072
aec84f53
UD
14073 [BZ #12792]
14074 * libio/filedoalloc.c (local_isatty): New function.
14075 (_IO_file_doallocate): Use local_isatty.
14076 * stdio-common/perror.c (perror): In case a new stream is used
14077 forward the stream error.
14078 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14079 error flag.
14080
78e64fdc
RT
140812011-05-20 Ulrich Drepper <drepper@gmail.com>
14082
34a9094f
UD
14083 [BZ #11869]
14084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14085 alloca.
14086 * include/alloca.h (extend_alloca_account): Define.
14087
78e64fdc
RT
14088 [BZ #11857]
14089 * posix/regex.h: Fix comments with documentation of user-accessible
14090 fields after compilation and describe correct free'ing of pattern
14091 after re_compile_pattern.
14092 Patch by Reuben Thomas <rrt@sc3d.org>.
14093
457bddfc
RA
140942011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14095
14096 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14097 and -mno-altivec to prevent the compiler from using Altivec and/or
14098 VSX instructions when the corresponding registers are not available.
14099
a4527b51
AS
141002011-05-19 Andreas Schwab <schwab@redhat.com>
14101
14102 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14103
ed690b2f
UD
141042011-05-19 Ulrich Drepper <drepper@gmail.com>
14105
14106 * libio/freopen.c (freopen): Use __dup2, not dup2.
14107 * libio/freopen64.c (freopen64): Likewise.
14108
8db73634
L
141092011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14110
14111 [BZ #12775]
14112 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14113 * math/Makefile (tests): Add test-powl.
14114 (CFLAGS-test-powl.c): Define.
14115 * math/test-powl.c: New file.
14116
0a197a9d
L
141172011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14118
14119 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14120
ee30c380
UD
141212011-05-17 Ulrich Drepper <drepper@gmail.com>
14122
14123 [BZ #11837]
14124 * iconvdata/gb18030.c: Update to GB18020-2005.
14125
6ce75379
UD
141262011-05-16 Ulrich Drepper <drepper@gmail.com>
14127
a4b89fd8
AR
14128 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14129 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14130 Patch by Aharon Robbins <arnold@skeeve.com>.
14131
ea389b12
UD
14132 [BZ #11892]
14133 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14134 on the stack.
14135
68a3f91f
UD
14136 [BZ #11895]
14137 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14138 through underflows.
14139
15cc7dd1
UD
14140 [BZ #12766]
14141 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14142 point to strings before performing equality test for error_one_per_line
14143 mode.
14144
f3799213
UD
14145 [BZ #11697]
14146 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14147
d79a9c94
UD
14148 [BZ #11820]
14149 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14150 (struct user_fpregs_struct): Avoid __uint*_t types.
14151
56e5eb46
UD
14152 [BZ #6420]
14153 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14154 symbol info. Use it instead of calling _dl_addr locally.
14155 (lock_and_info): New function.
14156 (tr_freehook): Call lock_and_info and pass symbol info as additional
14157 parameter to tr_where.
14158 (tr_mallochook): Likewise.
14159 (tr_reallochook): Likewise.
14160 (tr_memalignhook): Likewise.
14161
6ce75379
UD
14162 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14163 used and couldn't be at all thread-safe.
14164
f8a3b5bf
UD
141652011-05-15 Ulrich Drepper <drepper@gmail.com>
14166
94b7cc37
UD
14167 * libio/freopen.c (freopen): Don't close old file descriptor
14168 before the new one is opened. Instead dup the new file descriptor
14169 to the old one after the new stream is created.
14170 * libio/freopen64.c (freopen64): Likewise.
14171 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14172 * libio/fileops.c (_IO_new_file_close_it): Handle new
14173 _IO_FLAGS2_NOCLOSE flag.
14174 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14175 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14176 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14177 _IO_FLAGS2_NOCLOSE flag.
14178 * include/unistd.h: Add hidden_proto for dup3.
14179 Define __have_dup3.
14180 * io/dup3.c: Define hidden symbol.
14181 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14182
bd25564e
UD
14183 [BZ #7101]
14184 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14185 when an incomplete long option is used.
14186 * posix/tst-getopt_long1.c: New file.
14187 * posix/Makefile (tests): Add tst-getopt_long1.
14188
c84cfef4
UD
14189 [BZ #10138]
14190 * scripts/config.guess: Update from autoconf-2.68.
14191 * scripts/config.sub: Likewise.
14192
3b85df27
UD
14193 [BZ #10157]
14194 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14195 tests into ...
14196 (has_cpuclock): ...this. New function.
14197 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14198 macro here based on has_cpuclock code.
14199
15a856b1
UD
14200 [BZ #10149]
14201 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14202 First byte (not low byte) is now always NUL.
14203 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14204
05f399e6
UD
14205 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14206 Use non-cancelable interfaces.
14207
10a52685 14208 [BZ #9809]
94ecc67d
UD
14209 * locale/iso-639.def: Add entry for Sorani.
14210
f8a3b5bf
UD
14211 [BZ #11901]
14212 * include/stdlib.h: Move include protection to the right place.
14213 Define abort_msg_s. Declare __abort_msg with it.
14214 * stdlib/abort.c (__abort_msg): Adjust type.
14215 * assert/assert.c (__assert_fail_base): New function. Majority
14216 of code from __assert_fail. Allocate memory for __abort_msg with
14217 mmap.
14218 (__assert_fail): Now call __assert_fail_base.
14219 * assert/assert-perr.c: Remove bulk of implementation. Use
14220 __assert_fail_base.
14221 * include/assert.hL Declare __assert_fail_base.
14222 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14223 mmap.
14224 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14225
1af4e298
UD
142262011-05-14 Ulrich Drepper <drepper@gmail.com>
14227
f8a3b5bf 14228 [BZ #11952]
d26dfc60
MG
14229 [BZ #12453]
14230 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14231 until all modules are registered in the DTV.
14232 * elf/Makefile: Add rules to build and run tst-tls19.
14233 * elf/tst-tls19.c: New file.
14234 * elf/tst-tls19mod1.c: New file.
14235 * elf/tst-tls19mod2.c: New file.
14236 * elf/tst-tls19mod3.c: New file.
14237 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14238
2fc54d6f
UD
14239 [BZ #12083]
14240 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14241 correctly.
14242
98d76b46
UD
14243 [BZ #12601]
14244 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14245 two-byte sequence errors.
14246 * iconvdata/Makefile (tests): Add bug-iconv8.
14247 * iconvdata/bug-iconv8.c: New file.
14248
da3c19ef
UD
14249 [BZ #12626]
14250 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14251 buf2 definition.
14252
ca408c15
UD
14253 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14254
d6f67f7d
UD
14255 [BZ #12432]
14256 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14257 (dummy_getcfa): New function.
14258 (init): Get _Unwind_GetCFA address, use dummy if not found.
14259 (backtrace_helper): In recursion check, also check whether CFA changes.
14260 (__backtrace): Completely initialize arg.
14261
1af4e298 14262 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14263 storing incomplete byte sequence in state object. Avoid testing for
14264 guaranteed too small input if we know there is enough data available.
1af4e298 14265
da62f81b
AS
142662011-05-11 Andreas Schwab <schwab@redhat.com>
14267
14268 * Makeconfig (+link-pie): Indent.
14269 * Rules (binaries-pie): Define if $(have-fpie) and
14270 $(build-shared).
14271 (binaries-shared): Also filter out $(binaries-pie).
14272 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14273 * nscd/Makefile (others-pie): Add nscd.
14274 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14275 ($(objpfx)nscd): Remove command override.
14276 * login/Makefile (others-pie): Add pt_chown.
14277 ($(objpfx)pt_chown): Remove command override.
14278 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14279 remove command overrides.
14280
fcabc0f8
UD
142812011-05-13 Ulrich Drepper <drepper@gmail.com>
14282
20030ae6
UD
14283 * libio/tst_putwc.c: Fix error messages.
14284
fcabc0f8
UD
14285 [BZ #12724]
14286 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14287 currently writing and seek to current position when not.
14288 * libio/Makefile (tests): Add bug-fclose1.
14289 * libio/bug-fclose1.c: New file.
14290
320a5dc0
PB
142912011-05-12 Ulrich Drepper <drepper@gmail.com>
14292
14293 [BZ #12511]
14294 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14295 don't set DF_1_NODELETE here.
14296 (do_lookup_x): When entering new entry test for copy relocation
14297 and if necessary set DF_1_NODELETE flag.
14298 * elf/tst-unique4.cc: New file.
14299 * elf/tst-unique4.h: New file.
14300 * elf/tst-unique4lib.cc: New file.
14301 * elf/Makefile: Add rules to build and run tst-unique4.
14302 Patch by Piotr Bury <pbury@goahead.com>.
14303
22836f52
UD
143042011-05-11 Ulrich Drepper <drepper@gmail.com>
14305
f574184a
UD
14306 [BZ #12052]
14307 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14308
e1fb097f
UD
14309 [BZ #12625]
14310 * misc/mntent_r.c (addmntent): Flush the stream after the output
14311
22836f52
UD
14312 [BZ #12393]
14313 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14314 (is_trusted_path_normalize): Skip initial colon. Append slash
14315 to empty buffer. Duplicate is_trusted_path code but allow
14316 constructed patch to be prefix.
14317 (is_dst): Allow $ORIGIN followed by /.
14318 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14319 Correct testing of result of is_trusted_path_normalize
14320 (decompose_rpath): Fix warning.
14321
7b3b0b2a
UD
143222011-05-10 Ulrich Drepper <drepper@gmail.com>
14323
14324 [BZ #11257]
14325 * grp/initgroups.c (internal_getgrouplist): When we found the service
14326 list through the initgroups entry in nsswitch.conf do not always
14327 continue on a successful lookup. Don't always use the
eac80ce2 14328 __nss_group_database value if it is set.
7b3b0b2a
UD
14329 * nss/nsswitch.conf (initgroups): Change action for successful db
14330 lookup to continue for compatibility.
14331
2a81eaa5
UD
143322011-05-09 Ulrich Drepper <drepper@gmail.com>
14333
be97a69e
UD
14334 [BZ #11532]
14335 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14336 and CP774 modules.
14337 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14338 and CP774 modules.
14339 * iconvdata/tst-tables.sh: Likewise.
14340 * iconvdata/cp770.c: New file.
14341 * iconvdata/cp771.c: New file.
14342 * iconvdata/cp772.c: New file.
14343 * iconvdata/cp773.c: New file.
14344 * iconvdata/cp774.c: New file.
14345 * iconvdata/testdata/CP770: New file.
14346 * iconvdata/testdata/CP770..UTF8: New file.
14347 * iconvdata/testdata/CP771: New file.
14348 * iconvdata/testdata/CP771..UTF8: New file.
14349 * iconvdata/testdata/CP772: New file.
14350 * iconvdata/testdata/CP772..UTF8: New file.
14351 * iconvdata/testdata/CP773: New file.
14352 * iconvdata/testdata/CP773..UTF8: New file.
14353 * iconvdata/testdata/CP774: New file.
14354 * iconvdata/testdata/CP774..UTF8: New file.
14355
14356 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14357 END CHARMAP line.
14358 * iconvdata/gen-8bit-gap.sh: Likewise.
14359 * iconvdata/gen-8bit.sh: Likewise.
14360
c1e9e399
UD
14361 * locale/iso-639.def: Add ary entry.
14362
24c55fb3 14363 [BZ #11258]
96b4b1b0
UD
14364 * locale/C-translit.h.in: Add U20A1 transliteration.
14365
bdc2f971
KB
14366 [BZ #12178]
14367 * locale/iso-639.def: Add wae entry.
14368 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14369
2952b117
UD
14370 [BZ #12545]
14371 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14372 for n.
14373
2a81eaa5
UD
14374 [BZ #12711]
14375 * locale/C-translit.h.in: Add entry for U20B9.
14376 Patch by pravin.d.s@gmail.com.
14377
28377d1b
UD
143782011-05-08 Ulrich Drepper <drepper@gmail.com>
14379
7fb90fb8
UD
14380 [BZ #12713]
14381 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14382 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14383 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14384 in rtld. Use *stat64.
7fb90fb8 14385 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14386 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14387 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14388 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14389 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14390 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14391 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14392 __fstatat64 macros.
7fb90fb8
UD
14393 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14394 * dirent/rewinddir.c: Add libc_hidden_def.
14395 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14396 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14397
28377d1b
UD
14398 * include/dirent.h (__alloc_dir): Add flags parameter.
14399 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14400 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14401 __alloc_dir.
14402 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14403 from fdopendir if O_CLOEXEC is already set.
14404
66bdbaa4
AM
144052011-03-15 Alan Modra <amodra@gmail.com>
14406
14407 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14408 l_tls_firstbyte_offset non-zero. Save padding offset in
14409 l_tls_firstbyte_offset for later use.
14410 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14411 freeing static tls block.
14412
95721191
JN
144132011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14414
14415 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14416 where #ifdef was intended. The intent is to prevent ARG_MAX from
14417 being defined by the kernel headers.
14418
f87dfb1f
UD
144192011-05-07 Ulrich Drepper <drepper@gmail.com>
14420
14421 [BZ #12734]
14422 * resolv/resolv.h: Define RES_NOTLDQUERY.
14423 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14424 no-tld-query and set RES_NOTLDQUERY.
14425 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14426 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14427 modern BIND to search name as TLD unless forbidden.
14428
47c3cd7a
UD
144292011-05-07 Petr Baudis <pasky@suse.cz>
14430 Ulrich Drepper <drepper@gmail.com>
14431
14432 [BZ #12393]
14433 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14434 (is_trusted_path): ...to here.
c1e9ea35 14435 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14436 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14437 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14438
8a35c912
PP
144392011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14440
14441 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14442 __BEGIN/__END_DECLS.
14443
acd41f47
UD
144442011-05-06 Ulrich Drepper <drepper@gmail.com>
14445
14446 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14447 NSS_STATUS_NOTFOUND if no record was found.
14448
597df647
AS
144492011-05-05 Andreas Schwab <schwab@redhat.com>
14450
14451 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14452 (headers-not-in-tirpc): Remove rpc/netdb.h
14453 * resolv/netdb.h: Revert last change.
14454
b9af1301
PP
144552011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14456
14457 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14458 circular dependency between libgcc.a and libc.a.
14459
4e34d5f5
AS
144602011-05-05 Andreas Schwab <schwab@redhat.com>
14461
14462 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14463 * nis/Makefile: Don't install rpcsvc/*.
14464 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14465 instead of <rpc/types.h>.
14466 (MAXHOSTNAMELEN): Define.
14467
00ee369c
AS
144682011-05-03 Andreas Schwab <schwab@redhat.com>
14469
14470 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14471
0b592a30
MB
144722011-04-28 Maciej Babinski <mbabinski@google.com>
14473
14474 [BZ #12714]
14475 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14476 gethostbyname4_r when IPv6 results are possible.
14477
6e04cbbe
UD
144782011-05-02 Ulrich Drepper <drepper@gmail.com>
14479
14480 [BZ #12723]
14481 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14482 _PC_PIPE_BUF handling.
14483
e4ecafe0
BH
144842011-04-30 Bruno Haible <bruno@clisp.org>
14485
14486 [BZ #12717]
14487 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14488 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14489 to 'int'.
14490 * inet/getnameinfo.c (getnameinfo): Likewise.
14491
125ee683
UD
144922011-04-29 Ulrich Drepper <drepper@gmail.com>
14493
14494 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14495 to groups setting in database lookup.
14496 * nss/nsswitch.conf: Add initgroups entry.
14497
b722481a
EB
144982011-04-22 Ulrich Drepper <drepper@gmail.com>
14499
14500 [BZ #12685]
14501 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14502 mode string.
14503 Patch by Eric Blake <eblake@redhat.com>.
14504
4df46dbd
L
145052011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14506
14507 * sunrpc/Makefile (need-export-routines): Add svc_run.
14508 (routines): Remove svc_run.
14509 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14510 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14511 * sunrpc/svc_run.c (svc_run): Likewise.
14512 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14513
e84142d2
UD
145142011-04-21 Ulrich Drepper <drepper@gmail.com>
14515
14516 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14517 problem in reallocation in last patch.
14518
877175d8
UD
145192011-04-20 Ulrich Drepper <drepper@gmail.com>
14520
14521 * sunrpc/Makefile: Move inclusion of Rules.
14522
ab8eed78
UD
145232011-04-19 Ulrich Drepper <drepper@gmail.com>
14524
14525 * nss/nss_files/files-initgroups.c: New file.
14526 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14527 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14528 _nss_files_initgroups_dyn.
14529
e3d8f584
RS
145302011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14531
14532 * elf/elf.h (R_ARM_IRELATIVE): Define.
14533
af190f45
UD
145342011-04-19 Ulrich Drepper <drepper@gmail.com>
14535
14536 * po/ru.po: Update from translation team.
14537
53cf59ef
UD
145382011-04-17 Ulrich Drepper <drepper@gmail.com>
14539
14540 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14541 dependencies.
14542
4c559bcd
MF
145432011-02-06 Mike Frysinger <vapier@gentoo.org>
14544
14545 [BZ #12653]
14546 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14547 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14548 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14549 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14550 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14551
4420675c
AS
145522011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14553
14554 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14555 differing bytes.
14556 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14557 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14558 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14559
75ea32ab
UD
145602011-04-17 Ulrich Drepper <drepper@gmail.com>
14561
14562 [BZ #12420]
14563 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14564 storing it.
14565 * stdlib/bug-getcontext.c: New file.
14566 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14567
27390476
AK
145682011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14569
14570 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14571 instructions into .machine "z9-109".
14572 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14573 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14574
10442705
AK
145752011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14576
14577 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14578 between environment variables and auxiliary vector.
14579
7b57bfe5
UD
145802011-04-16 Ulrich Drepper <drepper@gmail.com>
14581
14582 * Makefile: Add rules to build linkobj/libc.so.
14583 * include/libc-symbols.h: Define libc_hidden_nolink.
14584 * include/rpc/auth.h: Mark functions which are to be hidden.
14585 * include/rpc/auth_des.h: Likewise.
14586 * include/rpc/auth_unix.h: Likewise.
14587 * include/rpc/clnt.h: Likewise.
14588 * include/rpc/des_crypt.h: Likewise.
14589 * include/rpc/key_prot.h: Likewise.
14590 * include/rpc/pmap_clnt.h: Likewise.
14591 * include/rpc/pmap_prot.h: Likewise.
14592 * include/rpc/pmap_rmt.h: Likewise.
14593 * include/rpc/rpc_msg.h: Likewise.
14594 * include/rpc/svc.h: Likewise.
14595 * include/rpc/svc_auth.h: Likewise.
14596 * include/rpc/xdr.h: Likewise.
14597 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14598 * nss/Makefile: Likewise.
14599 * sunrpc/Makefile: Don't install headers. Build library with normal
14600 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14601 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14602 for the compat linking library. Remove use of INTDEF/INTUSE.
14603 * sunrpc/auth_none.c: Likewise.
14604 * sunrpc/auth_unix.c: Likewise.
14605 * sunrpc/authdes_prot.c: Likewise.
14606 * sunrpc/authuxprot.c: Likewise.
14607 * sunrpc/clnt_gen.c: Likewise.
14608 * sunrpc/clnt_perr.c: Likewise.
14609 * sunrpc/clnt_raw.c: Likewise.
14610 * sunrpc/clnt_simp.c: Likewise.
14611 * sunrpc/clnt_tcp.c: Likewise.
14612 * sunrpc/clnt_udp.c: Likewise.
14613 * sunrpc/clnt_unix.c: Likewise.
14614 * sunrpc/des_crypt.c: Likewise.
14615 * sunrpc/des_soft.c: Likewise.
14616 * sunrpc/get_myaddr.c: Likewise.
14617 * sunrpc/key_call.c: Likewise.
14618 * sunrpc/key_prot.c: Likewise.
14619 * sunrpc/netname.c: Likewise.
14620 * sunrpc/pm_getmaps.c: Likewise.
14621 * sunrpc/pm_getport.c: Likewise.
14622 * sunrpc/pmap_clnt.c: Likewise.
14623 * sunrpc/pmap_prot.c: Likewise.
14624 * sunrpc/pmap_prot2.c: Likewise.
14625 * sunrpc/pmap_rmt.c: Likewise.
14626 * sunrpc/publickey.c: Likewise.
14627 * sunrpc/rpc_cmsg.c: Likewise.
14628 * sunrpc/rpc_common.c: Likewise.
14629 * sunrpc/rpc_dtable.c: Likewise.
14630 * sunrpc/rpc_prot.c: Likewise.
14631 * sunrpc/rpc_thread.c: Likewise.
14632 * sunrpc/rtime.c: Likewise.
14633 * sunrpc/svc.c: Likewise.
14634 * sunrpc/svc_auth.c: Likewise.
14635 * sunrpc/svc_authux.c: Likewise.
14636 * sunrpc/svc_raw.c: Likewise.
14637 * sunrpc/svc_run.c: Likewise.
14638 * sunrpc/svc_simple.c: Likewise.
14639 * sunrpc/svc_tcp.c: Likewise.
14640 * sunrpc/svc_udp.c: Likewise.
14641 * sunrpc/svc_unix.c: Likewise.
14642 * sunrpc/svcauth_des.c: Likewise.
14643 * sunrpc/xcrypt.c: Likewise.
14644 * sunrpc/xdr.c: Likewise.
14645 * sunrpc/xdr_array.c: Likewise.
14646 * sunrpc/xdr_float.c: Likewise.
14647 * sunrpc/xdr_intXX_t.c: Likewise.
14648 * sunrpc/xdr_mem.c: Likewise.
14649 * sunrpc/xdr_rec.c: Likewise.
14650 * sunrpc/xdr_ref.c: Likewise.
14651 * sunrpc/xdr_sizeof.c: Likewise.
14652 * sunrpc/xdr_stdio.c: Likewise.
14653
e6c61494
UD
146542011-04-10 Ulrich Drepper <drepper@gmail.com>
14655
14656 [BZ #12650]
14657 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14658 * sysdeps/ia64/dl-tls.h: Likewise.
14659 * sysdeps/powerpc/dl-tls.h: Likewise.
14660 * sysdeps/s390/dl-tls.h: Likewise.
14661 * sysdeps/sh/dl-tls.h: Likewise.
14662 * sysdeps/sparc/dl-tls.h: Likewise.
14663 * sysdeps/x86_64/dl-tls.h: Likewise.
14664 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14665
34fe483e
AS
146662011-03-14 Andreas Schwab <schwab@redhat.com>
14667
14668 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14669 rpath element also skip the following colon.
14670 (expand_dynamic_string_token): Add is_path parameter and pass
14671 down to DL_DST_REQUIRED and _dl_dst_substitute.
14672 (decompose_rpath): Call expand_dynamic_string_token with
14673 non-zero is_path. Ignore empty rpaths.
14674 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14675 with zero is_path.
14676
f12a32e6
AS
146772011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14678
14679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14680 Make cancelable.
14681
38a7d692
UD
146822011-04-09 Ulrich Drepper <drepper@gmail.com>
14683
14684 [BZ #12655]
14685 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14686 Patch by Filipe David Manana <fdmanana@apache.org>.
14687
e451d22b
AS
146882011-04-07 Andreas Schwab <schwab@redhat.com>
14689
14690 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14691 Maintain aligned stack.
14692 (CHECK_RSP): Remove unused macro.
14693
dedc7c7b
UD
146942011-04-03 Ulrich Drepper <drepper@gmail.com>
14695
14696 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14697 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14698
94521213
UD
146992011-04-02 Ulrich Drepper <drepper@gmail.com>
14700
14701 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14702
8cb700c0 14703 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14704
0354e355
L
147052011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14706
14707 [BZ #12518]
14708 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14709 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14710 * sysdeps/x86_64/memmove.c: New file.
14711 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14712 (memcpy): Renamed to ...
14713 (__new_memcpy): This.
14714 (memcpy): Provide GLIBC_2_14 memcpy.
14715 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14716 (memcpy): Provide GLIBC_2_2_5 memcpy.
14717
8593482f
UD
147182011-04-01 Ulrich Drepper <drepper@gmail.com>
14719
14720 [BZ #12631]
14721 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14722
81a5726b
AS
147232011-03-30 Andreas Schwab <schwab@redhat.com>
14724
14725 * misc/syncfs.c: New file.
14726 * misc/Makefile (routines): Add syncfs.
14727 * posix/unistd.h: Declare syncfs.
14728 * sysdeps/unix/syscalls.list: Add syncfs.
14729
00e5419f
AS
147302011-04-01 Andreas Schwab <schwab@redhat.com>
14731
14732 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14733 open_by_handle_at.
14734 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14735 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14736 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14737 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14739 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14740 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14741
748876bf
UD
147422011-04-01 Ulrich Drepper <drepper@gmail.com>
14743
658e451d
UD
14744 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14745 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14746 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14747 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14748 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14749 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14750 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14751
748876bf
UD
14752 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14753 sync_file_range.c with -fexceptions.
14754 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14755 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14756 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14757 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14758 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14759 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14760 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14761 sync_file_range as cancellation point
14762 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14763 now a wrapper around __call_sync_file_range with cancellation handling.
14764 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14765 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14766 function name to __call_sync_file_range.
14767 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14768 Add call_sync_file_range.
748876bf 14769
6e63d5e1
AS
147702011-04-01 Andreas Schwab <schwab@redhat.com>
14771
14772 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14773 bits/timex.h.
6e63d5e1 14774
46998f74
UD
147752011-04-01 Ulrich Drepper <drepper@gmail.com>
14776
4c1423ed
UD
14777 * iconv/iconv.h: Fix typo in comment.
14778 * io/fcntl.h: Likewise.
14779 * libio/stdio.h: Likewise.
14780 * posix/spawn.h: Likewise.
14781 * posix/unistd.h: Likewise.
14782 * stdlib/stdlib.h: Likewise.
14783 * time/time.h: Likewise.
14784 * wcsmbs/wchar.h: Likewise.
14785
158648c0
UD
14786 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14787 open_by_handle): Add.
14788 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14789 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14790 Augment a few comments.
14791 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14792 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14793 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14794 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14795 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14796 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14797 open_by_handle.
14798
46998f74
UD
14799 * io/fcntl.h (AT_EMPTY_PATH): Define.
14800
83fe108b
UD
148012011-03-30 Ulrich Drepper <drepper@gmail.com>
14802
14803 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14804 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14805 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14806 to...
14807 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14808 * Versions.def: Add GLIBC_2.14.
14809 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14810 Export.
83fe108b 14811
bb242059
UD
148122011-03-22 Ulrich Drepper <drepper@gmail.com>
14813
14814 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14815 round counter.
14816 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14817
c97a1282
L
148182011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14819
14820 [BZ #12597]
14821 * string/test-strncmp.c (do_page_test): New function.
14822 (check2): Likewise.
14823 (test_main): Call check2.
14824 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14825
2a115601
UD
148262011-03-20 Ulrich Drepper <drepper@gmail.com>
14827
14828 [BZ #12587]
14829 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14830 Handle cache information in CPU leaf 4.
14831 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14832
8126d904
UD
148332011-03-18 Ulrich Drepper <drepper@gmail.com>
14834
042c49c6 14835 [BZ #12583]
8126d904
UD
14836 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14837 character representation.
14838 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14839
ccfe366e
RA
148402011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14841
14842 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14843 END(__isnan) to END(__isnanf) to match function entry point/label
14844 EALIGN(__isnanf,...).
14845
c6e13027
JJ
148462011-03-10 Jakub Jelinek <jakub@redhat.com>
14847
14848 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14849
33f85a3f
UD
148502011-03-10 Ulrich Drepper <drepper@gmail.com>
14851
028478fa
UD
14852 [BZ #12510]
14853 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14854 copy from the symbol referenced in the relocation to initialize the
14855 used variable.
14856 Patch by Piotr Bury <pbury@goahead.com>.
14857 * elf/Makefile: Add rules to build and tst-unique3.
14858 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14859 * elf/tst-unique3.cc: New file.
14860 * elf/tst-unique3.h: New file.
14861 * elf/tst-unique3lib.cc: New file.
14862 * elf/tst-unique3lib2.cc: New file.
14863
33f85a3f
UD
14864 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14865
03592fc7
MF
148662011-03-10 Mike Frysinger <vapier@gentoo.org>
14867
14868 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14869 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14870 to _start.
03592fc7 14871
6a5ee102
UD
148722011-03-06 Ulrich Drepper <drepper@gmail.com>
14873
14874 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14875 to-be-loaded object along a path to loader is ld.so.
14876
7e4ba49c
HJ
148772011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14878 Ulrich Drepper <drepper@gmail.com>
14879
14880 * sysdeps/x86_64/memset.S: After aligning destination, code
14881 branches to different locations depending on the value of
14882 misalignment, when multiarch is enabled. Fix this.
14883
148842011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14885
14886 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14887 Set _x86_64_preferred_memory_instruction for AMD processsors.
14888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14889 Set bit_Prefer_SSE_for_memop for AMD processors.
14890
13a804de
UD
148912011-03-04 Ulrich Drepper <drepper@gmail.com>
14892
14893 * libio/fmemopen.c (fmemopen): Optimize a bit.
14894
9d25c392
AS
148952011-03-03 Andreas Schwab <schwab@redhat.com>
14896
14897 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14898
a5543c6a
RM
148992011-03-03 Roland McGrath <roland@redhat.com>
14900
14901 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14902
012d35f7
DM
149032011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14904
7e4ba49c 14905 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14906 __bzero_ultra1 instead of __memset_ultra1.
14907
4bff6e01
AS
149082011-02-23 Andreas Schwab <schwab@redhat.com>
14909 Ulrich Drepper <drepper@gmail.com>
14910
14911 [BZ #12509]
14912 * include/link.h (struct link_map): Add l_orig_initfini.
14913 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14914 returning unsuccessfully.
14915 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14916 close of a file loaded at startup, restore the original l_initfini
14917 list.
14918 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14919 list, store the pointer.
14920 * elf/Makefile ($(objpfx)noload-mem): New rule.
14921 (noload-ENV): Define.
14922 (tests): Add $(objpfx)noload-mem.
14923 * elf/noload.c: Include <memcheck.h>.
14924 (main): Call mtrace. Close all opened handles.
14925
f2092faf
AS
149262011-02-17 Andreas Schwab <schwab@redhat.com>
14927
14928 [BZ #12454]
14929 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14930 dependencies are missing.
14931
6c8a2e88
ST
149322011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14933
f2092faf 14934 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14935 Hurd needs munmap.
14936 * sysdeps/mach/hurd/ifreq.h: New file.
14937
84a42118
PB
149382011-01-27 Petr Baudis <pasky@suse.cz>
14939 Ulrich Drepper <drepper@gmail.com>
14940
071f805e 14941 [BZ 12445]#
84a42118
PB
14942 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14943 to extend_alloca().
14944 * stdio-common/bug23.c: New file.
14945 * stdio-common/Makefile (tests): Add bug23.
14946
e23fe25b
AS
149472010-09-28 Andreas Schwab <schwab@redhat.com>
14948 Ulrich Drepper <drepper@gmail.com>
14949
14950 [BZ #12489]
14951 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14952 before performing relro protection. At old place add assertion
14953 to make sure nothing changed.
14954
d3f02e10
NS
149552011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14956 Glauber de Oliveira Costa <glommer@gmail.com>
14957
14958 * elf/elf.h: Add new ARM TLS relocs.
14959
d55fd7a5
RA
149602011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14961
14962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14963 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14964 cast from r3.
14965 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14966 'tests' variable.
14967 * sysdeps/wordsize-64/tst-writev.c: New file.
14968
2206397e
RA
149692011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14970
14971 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14972 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14973 insns in _dl_start to prevent a TOC reference before relocs are
14974 resolved.
14975
e9433893
UD
149762011-02-15 Ulrich Drepper <drepper@gmail.com>
14977
14978 [BZ #12469]
14979 * Makeconfig: Remove RANLIB definition.
14980 * Makerules: Don't use RANLIB.
14981 * aclocal.m4: Remove ranlib test.
14982 * configure.in: No need to check for ranlib.
14983 * elf/rtld-Rules: Don't use RANLIB.
14984
f75286c6
ST
149852011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14986
8e31c82d
ST
14987 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14988 protection macro.
14989 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14990 inclusion protection macro.
14991
f75286c6
ST
14992 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14993 SIGRTMIN and SIGRTMAX and print information in that case only when
14994 SIGRTMIN is defined.
14995
c1d0e639
JJ
149962011-02-11 Jakub Jelinek <jakub@redhat.com>
14997
14998 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14999 arginfo fn returning -1.
15000
15001 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15002 and thousands string is zero terminated.
15003
edf9294e
AS
150042011-02-03 Andreas Schwab <schwab@redhat.com>
15005
15006 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15007 sysdeps/unix/sysv/linux/bits/socket.h.
15008
2b7e92df
ST
150092011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15010
edf9294e
AS
15011 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15012 (__CPU_COUNT): Remove old macros.
15013 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15014 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15015 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
15016 (__sched_cpualloc, __sched_cpufree): Add declarations.
15017
a4c7ea7b
UD
150182011-02-05 Ulrich Drepper <drepper@gmail.com>
15019
15020 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15021 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15022 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15023 (readdhstai): Return value of addhstaiX call.
15024 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15025 (addgrbyX): Return value returned by cache_addgr.
15026 (readdgrbyname): Return value returned by addgrbyX.
15027 (readdgrbygid): Likewise.
15028 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15029 (addpwbyX): Return value returned by cache_addpw.
15030 (readdpwbyname): Return value returned by addhstbyX.
15031 (readdpwbyuid): Likewise.
15032 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15033 (addservbyX): Return value returned by cache_addserv.
15034 (readdservbyname): Return value returned by addservbyX:
15035 (readdservbyport): Likewise.
15036 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15037 (addhstbyX): Return value returned by cache_addhst.
15038 (readdhstbyname): Return value returned by addhstbyX.
15039 (readdhstbyaddr): Likewise.
15040 (readdhstbynamev6): Likewise.
15041 (readdhstbyaddrv6): Likewise.
15042 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15043 (readdinitgroups): Return value returned by addinitgroupsX.
15044 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15045 (prune_cache): Keep track of timeout value of re-added entries.
15046 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15047 * nscd/nscd.h: Adjust prototypes of readd* functions.
15048
a0bf67cc
RM
150492011-02-04 Roland McGrath <roland@redhat.com>
15050
15051 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15052 (nis_stats): Likewise.
15053 * nis/nis_modify.c (nis_modify): Likewise.
15054 * nis/nis_remove.c (nis_remove): Likewise.
15055 * nis/nis_add.c (nis_add): Likewise.
15056
15057 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15058
15059 * posix/fnmatch_loop.c: Add some consts.
15060
15061 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15062
435b95eb
L
150632011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15064
15065 [BZ #12460]
15066 * config.make.in (config-cflags-novzeroupper): Define.
15067 * configure.in: Substitute libc_cv_cc_novzeroupper.
15068 * elf/Makefile (AVX-CFLAGS): Define.
15069 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15070 (CFLAGS-tst-auditmod4a.c): Likewise.
15071 (CFLAGS-tst-auditmod4b.c): Likewise.
15072 (CFLAGS-tst-auditmod6b.c): Likewise.
15073 (CFLAGS-tst-auditmod6c.c): Likewise.
15074 (CFLAGS-tst-auditmod7b.c): Likewise.
15075 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15076
8517b15e
UD
150772011-02-02 Ulrich Drepper <drepper@gmail.com>
15078
15079 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15080 function to the callback.
15081 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15082
10a656fe
AS
150832011-02-02 Andreas Schwab <schwab@redhat.com>
15084
15085 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15086 of errno.
15087
968dad0a
UD
150882011-01-19 Ulrich Drepper <drepper@gmail.com>
15089
9f94d2ea 15090 [BZ #11724]
968dad0a
UD
15091 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15092 of constructors.
15093 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15094 of destructors.
15095 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15096
15097 [BZ #11724]
15098 * elf/Makefile: Add rules to build and run new test.
15099 * elf/tst-initorder.c: New file.
15100 * elf/tst-initorder.exp: New file.
15101 * elf/tst-initordera1.c: New file.
15102 * elf/tst-initordera2.c: New file.
15103 * elf/tst-initordera3.c: New file.
15104 * elf/tst-initordera4.c: New file.
15105 * elf/tst-initorderb1.c: New file.
15106 * elf/tst-initorderb2.c: New file.
15107 * elf/tst-order-a1.c: New file.
15108 * elf/tst-order-a2.c: New file.
15109 * elf/tst-order-a3.c: New file.
15110 * elf/tst-order-a4.c: New file.
15111 * elf/tst-order-b1.c: New file.
15112 * elf/tst-order-b2.c: New file.
15113 * elf/tst-order-main.c: New file.
15114 New test case by George Gensure <werkt0@gmail.com>.
15115
86e92359
UD
151162010-10-01 Andreas Schwab <schwab@redhat.com>
15117
15118 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15119 decoding ACE if AI_CANONIDN.
15120
5d5732b0
UD
151212011-01-18 Ulrich Drepper <drepper@gmail.com>
15122
15123 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15124
a77e8cbc
UD
151252011-01-17 Ulrich Drepper <drepper@gmail.com>
15126
6392473f
UD
15127 * version.h (RELEASE): Bump for 2.13 release.
15128 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15129
620a0529
UD
15130 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15131
18ba70a5
UD
15132 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15133 MADV_NOHUGEPAGE.
32465c3e
UD
15134 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15135 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15136 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15137 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15138 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15139 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15140
c0dafcf1
UD
15141 * posix/getconf.c: Update copyright year.
15142 * catgets/gencat.c: Likewise.
15143 * csu/version.c: Likewise.
15144 * debug/catchsegv.sh: Likewise.
15145 * debug/xtrace.sh: Likewise.
15146 * elf/ldconfig.c: Likewise.
15147 * elf/ldd.bash.in: Likewise.
15148 * elf/sprof.c (print_version): Likewise.
15149 * iconv/iconv_prog.c: Likewise.
15150 * iconv/iconvconfig.c: Likewise.
15151 * locale/programs/locale.c: Likewise.
15152 * locale/programs/localedef.c: Likewise.
15153 * malloc/memusage.sh: Likewise.
15154 * malloc/mtrace.pl: Likewise.
15155 * nscd/nscd.c (print_version): Likewise.
15156 * nss/getent.c: Likewise.
15157
a77e8cbc
UD
15158 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15159 PF_CAIF, and PF_ALG.
15160 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15161
77e8bddf
AS
151622011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15163
1f20b93a
AS
15164 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15165 (modules-names): Use them.
15166 (ifunc-test-modules, ifunc-pie-tests): Define.
15167 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15168 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15169 (test-extras): Likewise.
15170 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15171 $(compile-command.c).
15172 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15173 (all-built-dso): Define.
15174 (check-textrel.out, check-execstack.out): Depend on it.
15175
77e8bddf
AS
15176 * configure.in: Don't override --enable-multi-arch.
15177
bc425b33
UD
151782011-01-15 Ulrich Drepper <drepper@gmail.com>
15179
15180 [BZ #6812]
15181 * nscd/hstcache.c (tryagain): Define.
15182 (cache_addhst): Return tryagain not notfound for temporary errors.
15183 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15184 failed.
15185
794c3ad3
UD
151862011-01-14 Ulrich Drepper <drepper@gmail.com>
15187
70181fdd
UD
15188 [BZ #10563]
15189 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15190 to make the syscall.
15191 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15192
794c3ad3
UD
15193 [BZ #12378]
15194 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15195 and fall back to matching as normal character if the string ends before
15196 the matching ']' is found. This is what POSIX requires.
15197 * posix/testfnm.c: Adjust test result.
15198 * posix/globtest.sh: Adjust test result. Add new test.
15199 * posix/tst-fnmatch.input: Likewise.
15200 * posix/tst-fnmatch2.c: Add new test.
15201
68dc9497
AS
152022010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15203
15204 * elf/Makefile (check-execstack): Revert last change. Depend on
15205 check-execstack.h.
15206 (check-execstack.h): New target.
15207 (generated): Add check-execstack.h.
15208 * elf/check-execstack.c: Include "check-execstack.h".
15209 (main): Revert last change.
15210 (handle_file): Return zero if GNU_STACK is absent and
15211 DEFAULT_STACK_PERMS doesn't include PF_X.
15212
451f001b
UD
152132011-01-13 Ulrich Drepper <drepper@gmail.com>
15214
cfa28e56
UD
15215 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15216 in child fails because the descriptor is already closed.
8cf8ce17
UD
15217 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15218 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15219 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15220
1086d70d
UD
15221 [BZ #12397]
15222 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15223 syscall.
15224
451f001b
UD
15225 [BZ #10484]
15226 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15227 temporary buffer used to handle multi lookups locally.
a85b5cb4 15228 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15229
08769175
UD
152302011-01-12 Ulrich Drepper <drepper@gmail.com>
15231
15232 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15233 loader is ld.so.
15234
5e49c52e
UD
152352011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15236
15237 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15238 alignment for SSE2.
15239
60522a5f
UD
152402011-01-12 Ulrich Drepper <drepper@gmail.com>
15241
15242 [BZ #12394]
15243 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15244 characters. When rounding increased number of integer digits recompute
15245 number of groups.
15246 * stdio-common/tst-grouping.c: New file.
15247 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15248
f257bbd7
UD
152492011-01-09 Ulrich Drepper <drepper@gmail.com>
15250
15251 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15252 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15253
15254 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15255 void.
15256 * bits/select.h: Likewise.
15257
fa9c15cb
UD
152582011-01-08 Ulrich Drepper <drepper@gmail.com>
15259
15260 * po/ja.po: Update from translation team.
15261
16c2895f
DM
152622011-01-04 David S. Miller <davem@sunset.davemloft.net>
15263
15264 [BZ #11155]
15265 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15266 implementation just like for lxstat, fxstatat, et al.
15267
2543fef2
JM
152682010-12-27 Jim Meyering <meyering@redhat.com>
15269
15270 [BZ #12348]
15271 * posix/regexec.c (build_trtable): Return failure indication upon
15272 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15273
98727dbe
UD
152742010-12-25 Ulrich Drepper <drepper@gmail.com>
15275
5bd6dc5c
UD
15276 [BZ #12201]
15277 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15278 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15279 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15280 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15281
97983464
UD
15282 [BZ #12207]
15283 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15284
98727dbe
UD
15285 [BZ #12204]
15286 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15287 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15288
4a531bb0
L
152892010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15290
15291 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15292 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15293 script has SORT_BY_INIT_PRIORITY.
15294 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15295 NO_CTORS_DTORS_SECTIONS is defined.
15296 * elf/soinit.c: Likewise.
15297 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15298 NO_CTORS_DTORS_SECTIONS is defined.
15299 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15300 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15301 * sysdeps/sh/init-first.c: Likewise.
15302 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15303
07eb4b71
UD
153042010-12-24 Ulrich Drepper <drepper@gmail.com>
15305
15306 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15307 always use the slow path.
15308
30950a5f
RA
153092010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15310
15311 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15312 similar rule which adds the sysdep directories to the header search in
15313 order to pick up the correct platform stackinfo.h.
15314 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15315 perform test if it is, otherwise return successfully without testing.
15316 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15317 DEFAULT_STACK_PERMS define in stackinfo.h.
15318 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15319 defined in stackinfo.h.
15320 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15321 DEFAULT_STACK_PERMS defined in stackinfo.h.
15322 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15323 * sysdeps/ia64/stackinfo.h: Likewise.
15324 * sysdeps/s390/stackinfo.h: Likewise.
15325 * sysdeps/sh/stackinfo.h: Likewise.
15326 * sysdeps/sparc/stackinfo.h: Likewise.
15327 * sysdeps/x86_64/stackinfo.h: Likewise.
15328 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15329 PF_X for powerpc64. Retain PF_X for powerpc32.
15330
db753e2c
UD
153312010-12-19 Ulrich Drepper <drepper@gmail.com>
15332
14b697f7
UD
15333 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15334 accurately.
db753e2c
UD
15335 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15336 GETDENTS_64BIT_ALIGNED.
15337
28300719
UD
153382010-12-14 Ulrich Drepper <dreper@gmail.com>
15339
14b697f7 15340 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15341
4f197237
AS
153422010-12-10 Andreas Schwab <schwab@redhat.com>
15343
dbb0472f
AS
15344 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15345 _GNU_SOURCE.
15346
4f197237
AS
15347 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15348 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15349 Remove __restrict.
15350 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15351 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15352
fb88ac72
UD
153532010-12-09 Ulrich Drepper <drepper@gmail.com>
15354
15355 [BZ #11655]
15356 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15357 are initialized.
15358
42acbb92
JJ
153592010-12-09 Jakub Jelinek <jakub@redhat.com>
15360
15361 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15362
c038d98d
UD
153632010-12-03 Ulrich Drepper <drepper@gmail.com>
15364
15365 * po/it.po: Update from translation team.
15366
3a4a2499
L
153672010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15368
15369 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15370 unused codes.
15371
1e24cf6e
UD
153722010-11-30 Ulrich Drepper <drepper@gmail.com>
15373
15374 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15375
a7690819
AS
153762010-11-24 Andreas Schwab <schwab@redhat.com>
15377
15378 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15379 specially.
15380 (gaih_getanswer_slice): Likewise.
15381
3bf8d1b1
JJ
153822010-10-20 Jakub Jelinek <jakub@redhat.com>
15383
15384 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15385
6db52fbb
PB
153862010-05-31 Petr Baudis <pasky@suse.cz>
15387
15388 [BZ #11149]
15389 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15390 silently even in the chroot mode.
15391
eaca7569
UD
153922010-11-22 Ulrich Drepper <drepper@gmail.com>
15393
15394 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15395 last patch a bit. Pretty printing
15396
3056dcdb
UD
153972010-05-31 Petr Baudis <pasky@suse.cz>
15398
15399 [BZ #10085]
15400 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15401 initialization of skip_initgroups_dyn.
15402
cf7c9078
UD
154032010-11-19 Ulrich Drepper <drepper@gmail.com>
15404
15405 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15406 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15407
a1fb5e3e
UD
154082010-11-16 Ulrich Drepper <drepper@gmail.com>
15409
15410 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15411
3540d66b
AS
154122010-11-11 Andreas Schwab <schwab@redhat.com>
15413
15414 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15415 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15416 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15417 ($(objpfx)tst-fnmatch-mem): New rule.
15418 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15419 * posix/tst-fnmatch.c (main): Call mtrace.
15420
13b69574
L
154212010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15422
15423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15424 Support Intel processor model 6 and model 0x2c.
15425
da93d214
LM
154262010-11-10 Luis Machado <luisgpm@br.ibm.com>
15427
15428 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15429 signed comparison.
15430
8ca52c6e
L
154312010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15432
15433 [BZ #12205]
15434 * string/test-strncasecmp.c (check_result): New function.
15435 (do_one_test): Use it.
15436 (check1): New function.
15437 (test_main): Use it.
15438 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15439 Support strcasecmp and strncasecmp.
15440
69da074d
UD
154412010-11-08 Ulrich Drepper <drepper@gmail.com>
15442
15443 [BZ #12194]
15444 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15445 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15446
ff02d528
L
154472010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15448
15449 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15450 IFUNC support.
15451 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15452 memset-x86-64.
15453 * sysdeps/x86_64/multiarch/bzero.S: New file.
15454 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15455 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15456 * sysdeps/x86_64/multiarch/memset.S: New file.
15457 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15459 Set bit_Prefer_SSE_for_memop for Intel processors.
15460 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15461 Define.
15462 (index_Prefer_SSE_for_memop): Define.
15463 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15464
344d0b54
LM
154652010-11-04 Luis Machado <luisgpm@br.ibm.com>
15466
15467 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15468 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15469
c0dde15b
UD
154702010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15471
15472 [BZ #12191]
15473 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15474 (__x86_64_raw_data_cache_size_half): Likewise.
15475 (__x86_64_raw_shared_cache_size): Likewise.
15476 (__x86_64_raw_shared_cache_size_half): Likewise.
15477
15478 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15479 (__x86_64_raw_data_cache_size_half): Likewise.
15480 (__x86_64_raw_shared_cache_size): Likewise.
15481 (__x86_64_raw_shared_cache_size_half): Likewise.
15482 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15483 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15484 and __x86_64_raw_shared_cache_size_half. Round
15485 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15486 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15487 to multiple of 256 bytes.
15488
0e516e0e
MS
154892010-11-03 Ulrich Drepper <drepper@gmail.com>
15490
15491 [BZ #12167]
15492 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15493 of inacessible symlinks. Verify result of symlink before returning it.
15494 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15495 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15496
0e012e87
ER
154972010-10-28 Erich Ritz <erichritz@gmail.com>
15498
15499 * math/math.h (isinf): Fix typo in comment.
15500
de0ff7bc
UD
155012010-11-01 Ulrich Drepper <drepper@gmail.com>
15502
15503 * po/da.po: Update from translation team.
15504
fa41c84d
UD
155052010-10-26 Ulrich Drepper <drepper@gmail.com>
15506
15507 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15508 is added to the list.
15509
f0967738
AK
155102010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15511 Ulrich Drepper <drepper@gmail.com>
15512
15513 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15514 the global list here. Move code to...
15515 (_dl_add_to_namespace_list): ...here. New function.
15516 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15517 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15518 * elf/dl-load.c (lose): Don't remove the element from the list.
15519 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15520 (_dl_map_object): Likewise.
15521
155222010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15523
15524 [BZ #12159]
15525 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15526 into all bytes of SSE register.
15527 Patch by Richard Li <richardpku@gmail.com>.
15528
f0967738 155292010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15530
15531 [BZ #12140]
15532 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15533 perturbing.
15534
d0b9e94f
MB
155352010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15536
15537 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15538 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15539 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15540 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15542 submachine.
15543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15544
8e9f92e9
AS
155452010-10-22 Andreas Schwab <schwab@redhat.com>
15546
15547 * include/dlfcn.h (__RTLD_SECURE): Define.
15548 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15549 mode & __RTLD_SECURE instead.
15550 (open_path): Rename preloaded parameter to secure.
15551 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15552 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15553 * elf/dl-deps.c (openaux): Likewise.
15554 * elf/rtld.c (struct map_args): Remove is_preloaded.
15555 (map_doit): Don't use it.
15556 (dl_main): Likewise.
15557 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15558 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15559
bc96fbda
AS
155602010-09-09 Andreas Schwab <schwab@redhat.com>
15561
15562 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15563 (sysd-rules-targets): Remove duplicates.
15564 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15565 rtld-%.$o dependency.
15566
22cd1c9b
AS
155672010-10-18 Andreas Schwab <schwab@redhat.com>
15568
15569 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15570 _dl_map_object do it.
15571
18edac48
UD
155722010-10-19 Ulrich Drepper <drepper@gmail.com>
15573
15574 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15575 fast fma builtins, define the macros in the C99 standard.
15576 (FP_FAST_FMAF): Likewise.
15577 (FP_FAST_FMAL): Likewise.
15578 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15579
15580 * bits/mathdef.h: Update copyright year.
15581 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15582
d2050124
MM
155832010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15584
15585 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15586 builtins, define the macros in the C99 standard.
15587 (FP_FAST_FMAF): Likewise.
15588 (FP_FAST_FMAL): Likewise.
15589 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15590 multiply/add.
15591 (FP_FAST_FMAF): Likewise.
15592
475facd1
JJ
155932010-10-15 Jakub Jelinek <jakub@redhat.com>
15594
15595 [BZ #3268]
15596 * math/libm-test.inc (fma_test): Some new testcases.
15597 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15598 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15599 y and infinite z. Do multiplication by C already in long double.
15600 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15601 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15602 y and infinite z. Do bitwise or of inexact bit into u.d.
15603 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15604 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15605 * sysdeps/i386/fpu/s_fma.S: Removed.
15606 * sysdeps/i386/fpu/s_fmal.S: Removed.
15607
7c08a05c
JJ
156082010-10-16 Jakub Jelinek <jakub@redhat.com>
15609
15610 [BZ #3268]
15611 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15612 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15613 computation is not scheduled after fetestexcept. Fix value
15614 of minimum denormal long double.
15615
f3f7372d
JJ
156162010-10-14 Jakub Jelinek <jakub@redhat.com>
15617
15618 [BZ #3268]
15619 * math/libm-test.inc (fma_test): Add some more tests.
15620 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15621 correctly.
15622
14d43591
AS
156232010-10-15 Andreas Schwab <schwab@redhat.com>
15624
15625 * scripts/data/localplt-s390-linux-gnu.data: New file.
15626 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15627
5e908464
JJ
156282010-10-13 Jakub Jelinek <jakub@redhat.com>
15629
15630 [BZ #3268]
15631 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15632 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15633 instead of dbl-64.
15634 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15635 inlines.
15636 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15637 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15638 if one of x and y is very large and the other is subnormal.
15639 * sysdeps/s390/fpu/s_fmaf.c: New file.
15640 * sysdeps/s390/fpu/s_fma.c: New file.
15641 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15642 * sysdeps/powerpc/fpu/s_fma.S: New file.
15643 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15644 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15645 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15646
156472010-10-12 Jakub Jelinek <jakub@redhat.com>
15648
15649 [BZ #3268]
15650 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15651 fma tests.
15652 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15653 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15654 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15655 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15656 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15657 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15658 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15659
b833d51f
UD
156602010-10-12 Ulrich Drepper <drepper@redhat.com>
15661
15662 [BZ #12078]
15663 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15664 * posix/bug-regex31.input: Add test case.
15665
1751705d
UD
156662010-10-11 Ulrich Drepper <drepper@gmail.com>
15667
e9b9cbf5
UD
15668 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15669 * posix/bug-regex31.input: New file.
15670
15671 [BZ #12078]
15672 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15673 (parse_sub_exp): Fix last change, use postorder.
15674
ef06edbe
UD
15675 * posix/bug-regex31.c: New file.
15676 * posix/Makefile: Add rules to build and run bug-regex31.
15677
a129c80d
UD
15678 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15679
15680 [BZ #12078]
15681 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15682
b76b818e
UD
15683 [BZ #12108]
15684 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15685 to have entries in sys_siglist.
15686
1751705d
UD
15687 [BZ #12093]
15688 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15689 be NULL.
15690
9ff8d36f
JJ
156912010-10-07 Jakub Jelinek <jakub@redhat.com>
15692
15693 [BZ #3268]
15694 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15695 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15696 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15697 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15698 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15699 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15700 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15701 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15702 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15703 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15704 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15705 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15706 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15707 * math/ftestexcept.c (fetestexcept): Likewise.
15708 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15709 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15710 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15711 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15712 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15713 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15714 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15715
af325969
UD
157162010-10-11 Ulrich Drepper <drepper@gmail.com>
15717
c579b202 15718 [BZ #12107]
af325969
UD
15719 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15720 newline.
15721
67a67b95
UD
157222010-10-06 Ulrich Drepper <drepper@gmail.com>
15723
15724 * string/bug-strstr1.c: New file.
15725 * string/Makefile: Add rules to build and run bug-strstr1.
15726
5fb308bc
EB
157272010-10-05 Eric Blake <eblake@redhat.com>
15728
15729 [BZ #12092]
15730 * string/str-two-way.h (two_way_long_needle): Always clear memory
15731 when skipping input due to the shift table.
15732
45db99c7
UD
157332010-10-03 Ulrich Drepper <drepper@gmail.com>
15734
3b111893
UD
15735 [BZ #12005]
15736 * malloc/mcheck.c: Handle large requests.
15737
45db99c7
UD
15738 [BZ #12077]
15739 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15740 for strncmp and strncasecmp.
15741 * string/stratcliff.c: Add tests for strcmp and strncmp.
15742 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15743
cf7a1eb8
NI
157442010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15745
15746 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15747 __set_fpscr.
15748
6484ba5e
AJ
157492010-09-30 Andreas Jaeger <aj@suse.de>
15750
15751 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15752 (CGROUP_SUPER_MAGIC): Define.
15753 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15754 Handle btrfs and cgroup file systems.
15755 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15756 Likewise.
15757
91c42559
LM
157582010-09-27 Luis Machado <luisgpm@br.ibm.com>
15759
15760 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15761 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15762
87a97932
AK
157632010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15764
15765 [BZ #12067]
15766 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15767 trying to locate the ELF header.
15768
c21cc9bc
AS
157692010-09-27 Andreas Schwab <schwab@redhat.com>
15770
15771 [BZ #11611]
15772 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15773 Mask out sign-bit copies when constructing f_fsid.
15774
315970f6
PB
157752010-09-24 Petr Baudis <pasky@suse.cz>
15776
15777 * debug/stack_chk_fail_local.c: Add missing licence exception.
15778 * debug/warning-nop.c: Likewise.
15779
1ac7a2c7
JM
157802010-09-15 Joseph Myers <joseph@codesourcery.com>
15781
15782 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15783 implementing getdents64 using getdents syscall, set d_type if
15784 __ASSUME_GETDENTS32_D_TYPE.
15785
56801c50
AS
157862010-09-16 Andreas Schwab <schwab@redhat.com>
15787
15788 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15789 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15790
dda51327
UD
157912010-09-21 Ulrich Drepper <drepper@redhat.com>
15792
15793 [BZ #12037]
15794 * posix/unistd.h: Undo change of feature selection for ftruncate from
15795 2010-01-11.
15796
8ffcee4a
UD
157972010-09-20 Ulrich Drepper <drepper@redhat.com>
15798
a545ecd9 15799 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15800 detection.
15801
e24f0a8b
AS
158022010-09-20 Andreas Schwab <schwab@redhat.com>
15803
15804 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15805 fanotify_mark.
15806 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15807
7291c56f
AS
158082010-09-14 Andreas Schwab <schwab@redhat.com>
15809
15810 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15811 variables after CHECK_SP call.
15812 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15813
bc5fb037
AS
158142010-09-13 Andreas Schwab <schwab@redhat.com>
15815 Ulrich Drepper <drepper@redhat.com>
15816
15817 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15818 re-relocationg ld.so.
15819 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15820 _dl_init_paths call.
15821 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15822 here anymore.
15823
e66e7419
UD
158242010-09-14 Ulrich Drepper <drepper@redhat.com>
15825
15826 * resolv/res_init.c (__res_vinit): Count the default server we added.
15827
c044aa75
CLT
158282010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15829 Ulrich Drepper <drepper@redhat.com>
15830
15831 [BZ #11968]
15832 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15833 (____longjmp_chk): Use %ebx for saving value across system call.
15834 Add unwind info.
15835
32cf4069
AS
158362010-09-06 Andreas Schwab <schwab@redhat.com>
15837
15838 * manual/Makefile: Don't mix pattern rules with normal rules.
15839
817328ee
AS
158402010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15841
15842 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15843 operation.
15844 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15845 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15846 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15847 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15848 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15849 Likewise.
15850
29fddf61
UD
158512010-09-04 Ulrich Drepper <drepper@redhat.com>
15852
15853 [BZ #11979]
15854 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15855 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15856
0959ffc9
UD
158572010-09-02 Ulrich Drepper <drepper@redhat.com>
15858
15859 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15860 * sysdeps/x86_64/addmul_1.S: Likewise.
15861 * sysdeps/x86_64/lshift.S: Likewise.
15862 * sysdeps/x86_64/mul_1.S: Likewise.
15863 * sysdeps/x86_64/rshift.S: Likewise.
15864 * sysdeps/x86_64/sub_n.S: Likewise.
15865 * sysdeps/x86_64/submul_1.S: Likewise.
15866
ece29840
ST
158672010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15868
0959ffc9
UD
15869 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15870 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15871 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15872 * bits/sched.h [__need_schedparam]
ece29840 15873 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15874 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15875 (__defined_schedparam): Define to 1.
ece29840
ST
15876 (__sched_param): New structure, identical to sched_param.
15877 (__need_schedparam): Undefine.
15878
e53a31fe
MF
158792010-08-31 Mike Frysinger <vapier@gentoo.org>
15880
fdc0c10d
MF
15881 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15882 (epoll_create1): Declare.
15883
e53a31fe
MF
15884 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15885
a726d796
AS
158862010-08-31 Andreas Schwab <schwab@redhat.com>
15887
15888 [BZ #7066]
15889 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15890 shifting retval into place.
15891
2f3e3dc7
UD
158922010-09-01 Ulrich Drepper <drepper@redhat.com>
15893
f2933da9
UD
15894 * nis/rpcsvc/nis.h: Update copyright notice.
15895 * nis/rpcsvc/nis.x: Likewise.
15896 * nis/rpcsvc/nis_callback.h: Likewise.
15897 * nis/rpcsvc/nis_callback.x: Likewise.
15898 * nis/rpcsvc/nis_object.x: Likewise.
15899 * nis/rpcsvc/nis_tags.h: Likewise.
15900 * nis/rpcsvc/yp.h: Likewise.
15901 * nis/rpcsvc/yp.x: Likewise.
15902 * nis/rpcsvc/ypupd.h: Likewise.
15903 * nis/yp_xdr.c: Likewise.
15904 * nis/ypupdate_xdr.c: Likewise.
15905
2f3e3dc7
UD
15906 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15907 mainly the body of pmap_getport. Add parameters to specify timeouts.
15908 (pmap_getport): Use __libc_rpc_getport.
15909 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15910 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15911 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15912
f3dcc2f9
AS
159132010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15914
15915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15916 fanotify_mark.
15917
6d34eb5b
RM
159182010-08-27 Roland McGrath <roland@redhat.com>
15919
15920 * sysdeps/i386/i686/multiarch/Makefile
15921 (CFLAGS-varshift.c): New variable.
15922
9ea3de11
UD
159232010-08-27 Ulrich Drepper <drepper@redhat.com>
15924
c96d23fc
UD
15925 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15926 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15927
9ea3de11
UD
15928 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15929
15930 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15931
623aac7f
L
159322010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15933
15934 * sysdeps/x86_64/strlen.S: Unroll the loop.
15935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15936 strlen-sse2 strlen-sse2-bsf.
15937 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15938 __strlen_no_bsf if bit_Slow_BSF is set.
15939 (__strlen_sse42): Removed.
15940 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15941 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15942
8b2b7715
RM
159432010-08-25 Roland McGrath <roland@redhat.com>
15944
15945 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15946 * sysdeps/x86_64/multiarch/varshift.c: New file.
15947 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15948 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15949 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15950 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15951
e73015f2
L
159522010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15953
15954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15955 strlen-sse2 strlen-sse2-bsf.
15956 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15957 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15958 (__strlen_sse2): Removed.
15959 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15960 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15962 bit_Slow_BSF for Atom.
15963 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15964 (index_Slow_BSF): Define.
15965 (HAS_SLOW_BSF): Define.
15966
df24a73e
UD
159672010-08-25 Ulrich Drepper <drepper@redhat.com>
15968
15969 [BZ #10851]
15970 * resolv/res_init.c (__res_vinit): When no server address at all
15971 is given default to loopback.
15972
f2ac4868
RM
159732010-08-24 Roland McGrath <roland@redhat.com>
15974
09055553
RM
15975 * configure.in: Remove config-name.h generation.
15976 * configure: Regenerated.
15977 * config-name.in: File removed.
15978 * scripts/config-uname.sh: New file.
15979 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15980 ($(objdir)config-name.h): New target.
15981
f2ac4868
RM
15982 * sunrpc/rpc_parse.h: Avoid nested comment.
15983
73f27d5e
RH
159842010-08-24 Richard Henderson <rth@redhat.com>
15985 Ulrich Drepper <drepper@redhat.com>
15986 H.J. Lu <hongjiu.lu@intel.com>
15987
15988 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15990 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15991 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15992 _mm_alignr_epi8 with _mm_loadu_si128.
15993 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15994 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15995 (__m128i_shift_right): Removed.
15996 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15997 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15998 * sysdeps/x86_64/multiarch/varshift.h: New file.
15999 * sysdeps/x86_64/multiarch/varshift.S: New file.
16000
84b9230c
MF
160012010-08-21 Mike Frysinger <vapier@gentoo.org>
16002
16003 * configure.in: Move assembler checks to before sysdep dir checking.
16004
9bbd0ddc
PB
160052010-08-20 Petr Baudis <pasky@suse.cz>
16006
16007 * LICENSES: Sync the sunrpc license.
16008
9da4bb31
UD
160092010-08-19 Ulrich Drepper <drepper@redhat.com>
16010
a7ab6ec8
UD
16011 * sunrpc/auth_des.c: Update copyright notice once again.
16012 * sunrpc/auth_none.c: Likewise.
16013 * sunrpc/auth_unix.c: Likewise.
16014 * sunrpc/authdes_prot.c: Likewise.
16015 * sunrpc/authuxprot.c: Likewise.
16016 * sunrpc/bindrsvprt.c: Likewise.
16017 * sunrpc/clnt_gen.c: Likewise.
16018 * sunrpc/clnt_perr.c: Likewise.
16019 * sunrpc/clnt_raw.c: Likewise.
16020 * sunrpc/clnt_simp.c: Likewise.
16021 * sunrpc/clnt_tcp.c: Likewise.
16022 * sunrpc/clnt_udp.c: Likewise.
16023 * sunrpc/clnt_unix.c: Likewise.
16024 * sunrpc/des_crypt.c: Likewise.
16025 * sunrpc/des_soft.c: Likewise.
16026 * sunrpc/get_myaddr.c: Likewise.
16027 * sunrpc/getrpcport.c: Likewise.
16028 * sunrpc/key_call.c: Likewise.
16029 * sunrpc/key_prot.c: Likewise.
16030 * sunrpc/openchild.c: Likewise.
16031 * sunrpc/pm_getmaps.c: Likewise.
16032 * sunrpc/pm_getport.c: Likewise.
16033 * sunrpc/pmap_clnt.c: Likewise.
16034 * sunrpc/pmap_prot.c: Likewise.
16035 * sunrpc/pmap_prot2.c: Likewise.
16036 * sunrpc/pmap_rmt.c: Likewise.
16037 * sunrpc/rpc/auth.h: Likewise.
16038 * sunrpc/rpc/auth_unix.h: Likewise.
16039 * sunrpc/rpc/clnt.h: Likewise.
16040 * sunrpc/rpc/des_crypt.h: Likewise.
16041 * sunrpc/rpc/key_prot.h: Likewise.
16042 * sunrpc/rpc/netdb.h: Likewise.
16043 * sunrpc/rpc/pmap_clnt.h: Likewise.
16044 * sunrpc/rpc/pmap_prot.h: Likewise.
16045 * sunrpc/rpc/pmap_rmt.h: Likewise.
16046 * sunrpc/rpc/rpc.h: Likewise.
16047 * sunrpc/rpc/rpc_des.h: Likewise.
16048 * sunrpc/rpc/rpc_msg.h: Likewise.
16049 * sunrpc/rpc/svc.h: Likewise.
16050 * sunrpc/rpc/svc_auth.h: Likewise.
16051 * sunrpc/rpc/types.h: Likewise.
16052 * sunrpc/rpc/xdr.h: Likewise.
16053 * sunrpc/rpc_clntout.c: Likewise.
16054 * sunrpc/rpc_cmsg.c: Likewise.
16055 * sunrpc/rpc_common.c: Likewise.
16056 * sunrpc/rpc_cout.c: Likewise.
16057 * sunrpc/rpc_dtable.c: Likewise.
16058 * sunrpc/rpc_hout.c: Likewise.
16059 * sunrpc/rpc_main.c: Likewise.
16060 * sunrpc/rpc_parse.c: Likewise.
16061 * sunrpc/rpc_parse.h: Likewise.
16062 * sunrpc/rpc_prot.c: Likewise.
16063 * sunrpc/rpc_sample.c: Likewise.
16064 * sunrpc/rpc_scan.c: Likewise.
16065 * sunrpc/rpc_scan.h: Likewise.
16066 * sunrpc/rpc_svcout.c: Likewise.
16067 * sunrpc/rpc_tblout.c: Likewise.
16068 * sunrpc/rpc_util.c: Likewise.
16069 * sunrpc/rpc_util.h: Likewise.
16070 * sunrpc/rpcinfo.c: Likewise.
16071 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16072 * sunrpc/rpcsvc/key_prot.x: Likewise.
16073 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16074 * sunrpc/rpcsvc/mount.x: Likewise.
16075 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16076 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16077 * sunrpc/rpcsvc/rex.x: Likewise.
16078 * sunrpc/rpcsvc/rstat.x: Likewise.
16079 * sunrpc/rpcsvc/rusers.x: Likewise.
16080 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16081 * sunrpc/rpcsvc/spray.x: Likewise.
16082 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16083 * sunrpc/rtime.c: Likewise.
16084 * sunrpc/svc.c: Likewise.
16085 * sunrpc/svc_auth.c: Likewise.
16086 * sunrpc/svc_authux.c: Likewise.
16087 * sunrpc/svc_raw.c: Likewise.
16088 * sunrpc/svc_run.c: Likewise.
16089 * sunrpc/svc_simple.c: Likewise.
16090 * sunrpc/svc_tcp.c: Likewise.
16091 * sunrpc/svc_udp.c: Likewise.
16092 * sunrpc/svc_unix.c: Likewise.
16093 * sunrpc/svcauth_des.c: Likewise.
16094 * sunrpc/xcrypt.c: Likewise.
16095 * sunrpc/xdr.c: Likewise.
16096 * sunrpc/xdr_array.c: Likewise.
16097 * sunrpc/xdr_float.c: Likewise.
16098 * sunrpc/xdr_mem.c: Likewise.
16099 * sunrpc/xdr_rec.c: Likewise.
16100 * sunrpc/xdr_ref.c: Likewise.
16101 * sunrpc/xdr_sizeof.c: Likewise.
16102 * sunrpc/xdr_stdio.c: Likewise.
16103
9da4bb31
UD
16104 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16105 handling.
16106
bdaa77bc
AS
161072010-08-19 Andreas Schwab <schwab@redhat.com>
16108
16109 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16110
fe2f79db
LM
161112010-08-19 Luis Machado <luisgpm@br.ibm.com>
16112
16113 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16114 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16115 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16116 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16117 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16118 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16119 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16120 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16121 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16122 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16123 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16124 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16125 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16126 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16127
b9b42ee0
AB
161282010-07-26 Anton Blanchard <anton@samba.org>
16129
16130 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16131 * malloc/arena.c (heap_trim): Likewise.
16132
1c06ba31
UD
161332010-08-16 Ulrich Drepper <drepper@redhat.com>
16134
16135 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16136 here. Not...
16137 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16138 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16139
f8392f40
L
161402010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16141
16142 * sysdeps/i386/elf/Makefile: New file.
16143
3162f12e
AS
161442010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16145
16146 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16147 from fanotify_init.
16148 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16149 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16150
28c90b2c
UD
161512010-08-15 Ulrich Drepper <drepper@redhat.com>
16152
16153 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16154 of strncasecmp_l.
1feccb6c 16155 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16156
ca6bb004
UD
161572010-08-14 Ulrich Drepper <drepper@redhat.com>
16158
e9f82e0d
UD
16159 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16160 strncase_l-nonascii.
16161 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16162 Add strncase_l-ssse3.
16163 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16164 * sysdeps/x86_64/strcmp.S: Likewise.
16165 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16166 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16167 * sysdeps/x86_64/strncase.S: New file.
16168 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16169 * sysdeps/x86_64/strncase_l.S: New file.
16170 * string/Makefile (strop-tests): Add strncasecmp.
16171 * string/test-strncasecmp.c: New file.
16172
16173 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16174 warning.
16175
ca6bb004
UD
16176 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16177 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16178
052fa7b3
AS
161792010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16180
16181 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16182
962dba78
UD
161832010-08-12 Ulrich Drepper <drepper@redhat.com>
16184
16185 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16186 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16187 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16188
bebff237
AM
161892010-05-01 Alan Modra <amodra@gmail.com>
16190
16191 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16192 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16193 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16194 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16195 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16196 tidying. Don't tail-call __sigjmp_save for static lib.
16197 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16198 save location.
16199 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16200 (CALL_MCOUNT): Add eh info, and nop after bl.
16201 (TAIL_CALL_SYSCALL_ERROR): New macro.
16202 (PSEUDO_RET): Use it.
16203 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16204 Correct save location of integer regs and cr.
16205 (_dl_profile_resolve): Correct cr save location. Delete nops
16206 after bl when SHARED. Reduce cfi size a little by better
16207 placement of cfi directives.
16208 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16209 make a stack frame. Instead use parm save area as a temp.
16210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16211 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16213 Don't make a stack frame for parent, use parm save area.
16214 Increase child stack frame to 112 bytes. Don't save unused reg,
16215 and adjust reg usage. Set up cfi on error recovery and
16216 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16218 (__makecontext): Add dummy nop after jump to exit.
16219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16220 Use correct parm save area and cr save, reduce stack frame.
16221 Correct cfi for possible PSEUDO_RET frame setup.
16222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16223 Branch to local label emitted by PSEUDO_RET rather than
16224 __syscall_error.
16225
02637374
AS
162262010-08-12 Andreas Schwab <schwab@redhat.com>
16227
16228 [BZ #11904]
16229 * locale/programs/locale.c (print_assignment): New function.
16230 (show_locale_vars): Use it.
16231
c3e2f19b
UD
162322010-08-11 Ulrich Drepper <drepper@redhat.com>
16233
3cdaa6ad
UD
16234 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16235 field.
16236 (struct statfs64): Likewise.
16237 (_STATFS_F_FLAGS): Define.
16238 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16239 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16240 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16241 (ST_VALID): Define locally.
16242 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16243 __statvfs_getflags, use the provided value.
16244 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16245 __ASSUME_STATFS_F_FLAGS.
16246
754f7da3
UD
16247 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16248
10b3bedc
UD
16249 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16250 Add sys/fanotify.h.
16251 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16252 fanotify_mask for GLIBC_2.13.
16253 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16254 fanotify_init and fanotify_mark.
16255 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16256 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16257
c08fb0d7
UD
16258 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16259 Add prlimit.
16260 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16261 prlimit64 for GLIBC_2.13.
16262 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16263 prlimit64.
16264 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16265 syscall.
16266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16267 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16268 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16269 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16270 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16271 add prlimit alias.
16272 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16273
15bac72b
UD
16274 [BZ #11903]
16275 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16276 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16277
c3e2f19b
UD
16278 * nss/Makefile: Add rules to build and run tst-nss-test1.
16279 * shlib-versions: Add entry for libnss_test1.
16280 * nss/nss_test1.c: New file.
16281 * nss/tst-nss-test1.c: New file.
16282
16283 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16284 (__nss_configure_lookup): Set appropriate entry in
16285 __nss_configure_lookup to true.
16286 * nss/nsswitch.h: Define enum with indeces of databases in
16287 databases and __nss_database_custom arrays. Declare
16288 __nss_database_custom.
16289 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16290 to avoid using nscd when custom rules are installed.
16291 * nss/getXXbyYY_r.c: Likewise.
16292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16293
16294 * nss/nss_files/files-parse.c: Whitespace fixes.
16295
f15ce4d8
UD
162962010-08-09 Ulrich Drepper <drepper@redhat.com>
16297
16298 [BZ #11883]
16299 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16300 * posix/fnmatch_loop.c: Likewise.
16301
d22e4cc9
AK
163022010-07-17 Andi Kleen <ak@linux.intel.com>
16303
16304 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16305 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16306 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16307 * Versions.def [GLIBC_2.13]: Add.
16308
805bc17d
UD
163092010-08-06 Ulrich Drepper <drepper@redhat.com>
16310
16311 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16312 Also fail if tpwd after pwuid call is NULL.
16313
5a42321d
ST
163142010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16315
16316 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16317 when converting to ms.
16318
fd3ebeda
ST
163192010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16320
16321 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16322 EOPNOTSUPP errors with ENOTTY.
16323 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16324 EOPNOTSUPP errors with ENOTTY.
16325
73507d3a
UD
163262010-07-31 Ulrich Drepper <drepper@redhat.com>
16327
16328 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16329 Add strcasecmp_l-ssse3.
16330 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16331 strcasecmp.
16332 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16333 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16334 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16335
fe36dd02
UD
163362010-07-30 Ulrich Drepper <drepper@redhat.com>
16337
66f6765a
UD
16338 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16339
42e08a54
UD
16340 * string/Makefile (strop-tests): Add strcasecmp.
16341 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16342 strcasecmp_l-nonascii.
16343 (gen-as-const-headers): Add locale-defines.sym.
16344 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16345 * sysdeps/x86_64/strcasecmp.S: New file.
16346 * sysdeps/x86_64/strcasecmp_l.S: New file.
16347 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16348 * sysdeps/x86_64/locale-defines.sym: New file.
16349 * string/test-strcasecmp.c: New file.
16350
fe36dd02
UD
16351 * string/test-strcasestr.c: Test both ends of the range of characters.
16352 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16353
48cbc0d6
RM
163542010-07-29 Roland McGrath <roland@redhat.com>
16355
76e6d6bc 16356 [BZ #11856]
48cbc0d6
RM
16357 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16358
880113d9
UD
163592010-07-27 Ulrich Drepper <drepper@redhat.com>
16360
16361 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16362 for ld.so.
16363
deb9cabb
AS
163642010-07-27 Andreas Schwab <schwab@redhat.com>
16365
16366 * manual/memory.texi (Malloc Tunable Parameters): Document
16367 M_PERTURB.
16368
1c7570ff
RM
163692010-07-26 Roland McGrath <roland@redhat.com>
16370
16371 [BZ #11840]
16372 * configure.in (-fgnu89-inline check): Set and substitute
16373 gnu89_inline, not libc_cv_gnu89_inline.
16374 * configure: Regenerated.
16375 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16376
24fb0f88
UD
163772010-07-26 Ulrich Drepper <drepper@redhat.com>
16378
16379 * string/test-strnlen.c: New file.
16380 * string/Makefile (strop-tests): Add strnlen.
16381 * string/tester.c (test_strnlen): Add a few more test cases.
16382 * string/tst-strlen.c: Better error reporting.
16383
16384 * sysdeps/x86_64/strnlen.S: New file.
16385
8e96b93a
UD
163862010-07-24 Ulrich Drepper <drepper@redhat.com>
16387
16388 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16389 lower-latency instructions.
16390
dbc676d4
UD
163912010-07-23 Ulrich Drepper <drepper@redhat.com>
16392
16393 * string/test-strcasestr.c: New file.
16394 * string/test-strstr.c: New file.
16395 * string/Makefile (strop-tests): Add strstr and strcasestr.
16396 * string/str-two-way.h: Don't undefine MAX.
16397 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16398
f6a31e0e
AS
163992010-07-21 Andreas Schwab <schwab@redhat.com>
16400
16401 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16402 strcasestr-nonascii.
16403 (CFLAGS-strcasestr-nonascii.c): Define.
16404 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16405 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16406 Remove unused attribute.
16407
5dbc3b6c
RM
164082010-07-20 Roland McGrath <roland@redhat.com>
16409
16410 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16411 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16412 ld.so.cache was broken. With it, there is no way to disable dsocaps
16413 like LD_HWCAP_MASK can disable hwcaps.
16414
23d101d8
EPM
164152010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16416
16417 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16418
cc9f2e47
UD
164192010-07-16 Ulrich Drepper <drepper@redhat.com>
16420
16421 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16422 call in strcasestr.
16423 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16424 __strcasestr_sse42_nonascii.
16425 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16426 strcasestr-nonascii.c.
16427 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16428
77c1b069
LM
164292010-06-15 Luis Machado <luisgpm@br.ibm.com>
16430
16431 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16432 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16433 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16434 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16435
440566c3
UD
164362010-07-09 Ulrich Drepper <drepper@redhat.com>
16437
16438 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16439 fcntl.
16440
5be9d05d
AS
164412010-07-06 Andreas Schwab <schwab@redhat.com>
16442
c30b7ee2 16443 [BZ #11577]
5be9d05d
AS
16444 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16445 dl_signal_cerror.
16446
8a492a67
UD
164472010-07-06 Ulrich Drepper <drepper@redhat.com>
16448
16449 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16450 _PC_PIPE_BUF using F_GETPIPE_SZ.
16451
713df3d5
RM
164522010-07-05 Roland McGrath <roland@redhat.com>
16453
16454 * manual/arith.texi (Rounding Functions): Fix rint description
16455 implicit in round description.
16456
702e8f14
UD
164572010-07-02 Ulrich Drepper <drepper@redhat.com>
16458
16459 * elf/Makefile: Fix linking for a few tests to make recent linker
16460 happy.
16461
52ed8be9
AS
164622010-06-30 Andreas Schwab <schwab@redhat.com>
16463
16464 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16465 $(common-objpfx)libc_nonshared.a.
16466
f47c9a11
LM
164672010-06-21 Luis Machado <luisgpm@br.ibm.com>
16468
16469 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16470 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16471 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16472 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16473 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16474 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16475 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16476 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16491 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16492 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16493 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16494 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16495 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16496 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16497 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16498 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16499 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16500 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16501 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16502 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16517
6fb8cbcb
L
165182010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16519
16520 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16521 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16522 * string/memmove.c (memmove): Renamed to ...
16523 (MEMMOVE): ...this. Default to memmove.
16524 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16525 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16526 (END_CHK): Define.
16527 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16528 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16529 mempcpy-ssse3-back memmove-ssse3-back.
16530 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16531 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16532 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16533 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16534 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16535 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16536 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16537 * sysdeps/x86_64/multiarch/memmove.c: New file.
16538 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16539 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16540 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16541 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16542 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16543 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16544 Define.
16545 (index_Fast_Copy_Backward): Define.
16546 (HAS_ARCH_FEATURE): Define.
16547 (HAS_FAST_REP_STRING): Define.
16548 (HAS_FAST_COPY_BACKWARD): Define.
16549
4e733bac 165502010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16551
16552 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16553 Restore proper fallback handling.
16554
63c4ed22
UD
165552010-06-19 Ulrich Drepper <drepper@redhat.com>
16556
ac2b484c
UD
16557 [BZ #11701]
16558 * posix/group_member.c (__group_member): Correct checking loop.
16559
63c4ed22
UD
16560 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16561 OOM in getpwuid_r correctly. Return error number when the caller
16562 should return, otherwise -1.
16563 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16564 call returning > 0 value.
16565 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16566
765ade4b
AS
165672010-06-07 Andreas Schwab <schwab@redhat.com>
16568
16569 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16570 libc_nonshared.a from targets in modules-names.
16571
80da2e09
KS
165722010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16573
16574 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16575 requires it.
16576
158db122
LM
165772010-06-10 Luis Machado <luisgpm@br.ibm.com>
16578
16579 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16580 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16581 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16582 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16583
caa78cf8
AS
165842010-06-02 Andreas Schwab <schwab@redhat.com>
16585
16586 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16587
b2ef2c01
UD
165882010-06-14 Ulrich Drepper <drepper@redhat.com>
16589
16590 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16591 and F_GETPIPE_SZ.
16592 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16593 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16594 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16595 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16596 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16597 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16598
fbd643b6
RM
165992010-06-14 Roland McGrath <roland@redhat.com>
16600
16601 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16602
f32f2869
JJ
166032010-06-07 Jakub Jelinek <jakub@redhat.com>
16604
16605 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16606 __REDIRECT followed by __THROW.
16607 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16608 * posix/getopt.h (getopt): Likewise.
16609
2a50c078
EPM
166102010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16611
16612 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16613 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16614 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16615 in AT_FLAGS.
16616 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16617 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16618
eb5ad2eb
LM
166192010-05-28 Luis Machado <luisgpm@br.ibm.com>
16620
16621 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16622
3c88fe1e
L
166232010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16624
16625 [BZ #11640]
16626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16627 Properly check family and model.
16628
d2f73151
TY
166292010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16630
16631 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16632
ebd2e13d
LM
166332010-05-24 Luis Machado <luisgpm@br.ibm.com>
16634
16635 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16636
b32b8b45
UD
166372010-05-21 Ulrich Drepper <drepper@redhat.com>
16638
16639 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16640 symbol reference.
16641
9acbe24d
AS
166422010-05-19 Andreas Schwab <schwab@redhat.com>
16643
16644 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16645 symbol reference.
16646
f0ccf6ea
AS
166472010-05-21 Andreas Schwab <schwab@redhat.com>
16648
3d04ff3a
AS
16649 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16650 and internal_recvmmsg.
16651 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16652 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16653 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16654 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16655
f0ccf6ea
AS
16656 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16657 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16658 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16659
5b08ac57
AS
166602010-05-20 Andreas Schwab <schwab@redhat.com>
16661
16662 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16663
4828935d
LM
166642010-05-17 Luis Machado <luisgpm@br.ibm.com>
16665
16666 POWER7 optimizations.
16667 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16668 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16669
373d545e
UD
166702010-05-19 Ulrich Drepper <drepper@redhat.com>
16671
16672 * version.h: Update for 2.13 development version.
16673
21a2b1ae
AS
166742010-05-12 Andrew Stubbs <ams@codesourcery.com>
16675
16676 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16677 exceptions. Return 0.
16678
3f7dcb2b
RM
166792010-05-07 Roland McGrath <roland@redhat.com>
16680
16681 * elf/ldconfig.c (main): Add a const.
16682
5f24d53a 166832010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16684
a160f8d8
UD
16685 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16686 (args_options): Add no-idn option.
16687 (ahosts_keys_int): Add idn_flags to ai_flags.
16688 (parse_option): Handle 'i' option to clear idn_flags.
16689
5f24d53a
UD
16690 * malloc/malloc.c (_int_free): Possible race in the most recently
16691 added check. Only act on the data if no current modification
16692 happened.
265bb1ce
UD
16693
16694See ChangeLog.17 for earlier changes.