]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add Samuel Thibault to manual/contrib.texi
[thirdparty/glibc.git] / ChangeLog
CommitLineData
aac78a43
AJ
12012-06-27 Andreas Jaeger <aj@suse.de>
2
3 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4
ed3dbfad
AJ
52012-06-25 Andreas Jaeger <aj@suse.de>
6
7 * sysdeps/s390/fpu/libm-test-ulps: Update.
8
4d0ee855
AS
92012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10 Thomas Schwinge <thomas@codesourcery.com>
11
12 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
13 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15 fanotify_mark.
16
af1bce34
TS
172012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18
a9fa33ba
TS
19 * sysdeps/mach/start.c: Remove file.
20 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22 * sysdeps/sh/init-first.c: Likewise.
23
58f902b8
TS
24 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25 registers for frame unwinding purposes, add CFI directives.
26 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29 Likewise.
30
1518f58b
TS
31 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32 __fortify_fail returning.
33 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34
db9b5059
TS
35 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36 sysdeps/sh/____longjmp_chk.S.
37 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41
967705fe
TS
42 * sysdeps/sh/abort-instr.h: New file.
43 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
44 process in case exit returns.
45
a9def8c4
TS
46 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47 initialize the GOT register before use.
48
2a649725
TS
49 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
50 calculation of ARGC > 4.
51
af1bce34
TS
52 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
53 meaningful names to some local labels.
54
d230f50a
KK
552012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57
58 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
59 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
60 (__arch_compare_and_exchange_val_16_acq): Likewise.
61 (__arch_compare_and_exchange_val_32_acq): Likewise.
62 (atomic_exchange_and_add): Fix gUSA sequence.
63 (atomic_add): Likewise.
64 (atomic_add_negative): Likewise.
65 (atomic_add_zero): Likewise.
66 (atomic_bit_test_set): Likewise.
67
0479b305
AS
682012-06-22 Andreas Schwab <schwab@redhat.com>
69
70 [BZ #13579]
71 * include/link.h (struct link_map): Add l_free_initfini.
72 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
73 l_initfini.
74 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
75 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
76 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
77 set.
78
0e3933b9
CD
792012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
80
81 * configure.in: Use AC_LANG_SOURCE.
82 * configure: Regenerate.
83
4248b1b1
RM
842012-06-22 Roland McGrath <roland@hack.frob.com>
85
86 * configure.in (libc_cv_localstatedir): New substituted variable.
87 * configure: Regenerated.
88 * config.make.in (localstatedir): New variable, substituted from
89 libc_cv_localstatedir.
90 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
91 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
92 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
93 * sysdeps/gnu/configure: Regenerated.
94
006dd861
JL
952012-06-21 Jeff Law <law@redhat.com>
96
97 [BZ #14277]
98 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
99 free. Simplify list management for _LIBC case.
100
79662d42
JM
1012012-06-21 Joseph Myers <joseph@codesourcery.com>
102
b7abb4bf
JM
103 [BZ #14273]
104 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
105 Clear sign bit of 64-bit integer value before comparing against
106 overflow value.
107
79662d42
JM
108 * sysdeps/mach/configure: Regenerated.
109
1f150908
L
1102012-06-21 H.J. Lu <hongjiu.lu@intel.com>
111
112 [BZ #14278]
113 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
114
28363bbf
JL
1152012-06-21 Jeff Law <law@redhat.com>
116
117 [BZ #13882]
118 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
119 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 120 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
121 * elf/dl-open.c (dl_open_worker): Likewise.
122
09615db4
CD
1232012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
124
125 * scripts/list-sources.sh: Scan PORTS for translations.
126 * po/libc.pot: Regenerated.
127
2174c6dd
AJ
1282012-06-21 Andreas Jaeger <aj@suse.de>
129
130 [BZ #12194]
131 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
132 warning.
133 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
134 * bits/byteswap-16.h (__bswap_16): Likewise.
135 * bits/byteswap.h (__bswap_constant_16): Likewise.
136
3ee947b1
L
1372012-06-18 H.J. Lu <hongjiu.lu@intel.com>
138
139 [BZ #14117]
a2f34833
L
140 * sysdeps/i386/fpu_control.h: Removed.
141 * sysdeps/x86_64/fpu_control.h: Moved to ...
142 * sysdeps/x86/fpu_control.h: Here.
143
3ee947b1
L
144 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
145 (_FPU_SETCW): Likewise.
146
ed1825f8
L
1472012-06-15 H.J. Lu <hongjiu.lu@intel.com>
148
25f1282a
L
149 [BZ #14117]
150 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
151 * sysdeps/x86/fpu/bits/mathinline.h: This.
152 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
153
ed1825f8
L
154 [BZ #14050]
155 [BZ #14117]
156 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
157 functions if __x86_64__ is defined.
158
36d54b74
CLT
1592012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
160
161 * string/endian.h: Add !__ASSEMBLER__ condition for including
162 conversion interfaces.
163
10285c21
JM
1642012-06-15 Joseph Myers <joseph@codesourcery.com>
165
166 [BZ #14241]
167 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
168 of ABS(x) in calculating zero to negative powers other than odd
169 integers.
170 * math/libm-test.inc (pow_test): Add more tests.
171
06c5abbd
AJ
1722012-06-15 Andreas Jaeger <aj@suse.de>
173
174 * manual/contrib.texi (Contributors): Update entry of Liubov
175 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
176 Machado Filho.
177
a3aeac40
CH
1782012-06-15 Cyril Hrubis <metan@ucw.cz>
179
180 * string/string.h: Add __wur to GNU version of strerror_r.
181
49bdf4c1
L
1822012-06-14 H.J. Lu <hongjiu.lu@intel.com>
183
184 [BZ #14229]
185 * string/Makefile (tests): Add tst-strtok_r.
186 * string/tst-strtok_r.c: New file.
187 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
188 RAX_LP/RDX_LP on SAVE_PTR.
189
834f9b8d
RM
1902012-06-14 Roland McGrath <roland@hack.frob.com>
191
192 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
193
75fa1921
JM
1942012-06-14 Joseph Myers <joseph@codesourcery.com>
195
196 * libm_test.inc (csqrt_test): Allow more spurious underflow
197 exceptions.
198 (j0_test): Likewise.
199 (j1_test): Likewise.
200 (y0_test): Likewise.
201 (y1_test): Likewise.
202
771766df
CD
2032012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
204
205 * po/Makefile (libc.pot): Use UTF-8 charset.
206
ceb9e56b
PP
2072012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
208
209 [BZ #14210]
210 Suppress sign-conversion warning from FD_SET.
211 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
212 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
213 not unsigned long int.
214 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
215
ddb28975
L
2162012-06-12 H.J. Lu <hongjiu.lu@intel.com>
217
218 [BZ #14050]
219 [BZ #14117]
220 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
221 __extern_always_inline instead of __extern_inline.
222 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
223 (__signbit): Likewise.
224 (__signbitl): Support C++ namespace.
225 (lrintf): New inline function.
226 (lrint): Likewise.
227 (llrintf): Likewise.
228 (llrint): Likewise.
229 (fmaxf): Likewise.
230 (fmax): Likewise.
231 (fminf): Likewise.
232 (fmin): Likewise.
233 (rint): Likewise.
234 (rintf): Likewise.
235 (ceil): Likewise.
236 (ceilf): Likewise.
237 (floor): Likewise.
238 (floorf): Likewise.
239 (nearbyint): Likewise.
240 (nearbyintf): Likewise.
241
d7b4fb26
TS
2422012-06-12 Thomas Schwinge <thomas@codesourcery.com>
243
244 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
245 non-default versions.
246
eb55f5c2
RM
2472012-06-11 Roland McGrath <roland@hack.frob.com>
248
249 [BZ #14218]
250 * manual/argp.texi (Argp): Reword argp_parse description slightly.
251
366af02c
TS
2522012-06-09 Thomas Schwinge <thomas@codesourcery.com>
253
99ff6e5c
TS
254 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
255 (FE_UPWARD, FE_DOWNWARD): Don't define.
256 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
257 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
258
366af02c
TS
259 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
260 reading it.
261 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
262 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
263
793ea851
KK
2642012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
265
266 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
267 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
268 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
269 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
270
a728a38f
L
2712012-06-06 H.J. Lu <hongjiu.lu@intel.com>
272
273 [BZ #14117]
c08010c7
L
274 * sysdeps/i386/fpu/bits/fenv.h: Removed.
275 * sysdeps/i386/fpu/Implies: New file.
276 * sysdeps/x86_64/fpu/Implies: Likewise.
277 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
278 * sysdeps/x86/fpu/bits/fenv.h: This.
279
a728a38f
L
280 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
281 __SSE_MATH__.
282
6e230d11
SP
2832012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
284
285 [BZ #14134]
286 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
287 character 0xffff that matches the last element of the
288 conversion table.
289
1b671feb
AZ
2902012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
291
292 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
293 fmodl commit.
294
6043738b
AZ
2952012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
296
297 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
298 values higher than 25.6283.
299
34ae0b32
AZ
3002012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
301
302 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
303 subnormal exponent extraction and add some __builtin_expect.
304 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
305 Fix for subnormal mantissa calculation.
306
1214ec8f
MF
3072012-06-04 Mike Frysinger <vapier@gentoo.org>
308
309 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
310 cpu2 is -1 and errno is not ENOSYS.
311
f3d1f93c
L
3122012-06-04 H.J. Lu <hongjiu.lu@intel.com>
313
314 [BZ #14117]
0e4a3cd7
L
315 * sysdeps/i386/i486/bits/string.h: Renamed to ...
316 * sysdeps/x86/bits/string.h: This.
317 * sysdeps/x86_64/bits/string.h: Removed.
318
6704c645
L
319 * sysdeps/i386/i486/bits/string.h: Define inline functions only
320 if not compiling for x86-64, but compiling for >= i486.
321
48495318
L
322 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
323 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
324
14adcbfc
L
325 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
326 New macro from Linux kernel 3.4.0.
327 (FP_XSTATE_MAGIC2): Likewise.
328 (FP_XSTATE_MAGIC2_SIZE): Likewise.
329 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
330 (struct _fpx_sw_bytes): New struct.
331 (struct _xsave_hdr): Likewise.
332 (struct _ymmh_state): Likewise.
333 (struct _xstate): Likewise.
334
68e408ab
L
335 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
336 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
337 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
338 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
339 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
340 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
341
f3d1f93c
L
342 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
343 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
344 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
345 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
346 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
347 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
348
d9dc34cd
TMQMF
3492012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
350
351 [BZ #13743]
352 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
353 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
354 (sysdep_headers): Include sys/platform/ppc.h.
355 * sysdeps/powerpc/test-gettimebase.c: Test for
356 __ppc_get_timebase() to catch future ISA opcode/insn changes.
357 * manual/Makefile (appendices): Include platform.texi.
358 * manual/contrib.texi (Contributors): Update @node pointers.
359 * manual/maint.texi (Maintenance): Likewise.
360 (Platform): New node.
361 * manual/platform.texi: New file. Document the new features.
362
4af3879c
SP
3632012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
364 Jakub Jelinek <jakub@redhat.com>
365
366 [BZ #14188]
367 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
368 where __builtin_expect is unavailable.
369
2fd6ff13
DM
3702012-06-03 David S. Miller <davem@davemloft.net>
371
372 * stdlib/longlong.h: Updated from GCC.
373
173f7220
AS
3742012-06-02 Andreas Schwab <schwab@linux-m68k.org>
375
376 [BZ #14042]
377 * sysdeps/powerpc/powerpc32/mcount.c: New file.
378 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
379 __mcount_internal.
380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
381 (GLIBC_2.16): Likewise.
382
f34a1c6f
L
3832012-06-01 H.J. Lu <hongjiu.lu@intel.com>
384
385 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
386
88a4576f
JM
3872012-06-01 Joseph Myers <joseph@codesourcery.com>
388
ea32bcdd
JM
389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
390 (default-abi): New variable.
391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
392 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
393 variable.
394 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
395 Likewise.
396 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
397 Likewise.
398 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
399 Likewise.
400
88a4576f
JM
401 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
402 definition. Document in comment.
403
402fe938
DM
4042012-06-01 David S. Miller <davem@davemloft.net>
405
406 * stdlib/longlong.h: Updated from GCC.
407
3553723f
L
4082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
409
410 [BZ #14117]
3bd872c4
L
411 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
412 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
413 sys/debugreg.h sys/io.h here.
414 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
415 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
416 sys/io.h.
417 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
418 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
419 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
420 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
421 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
422 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
423
3553723f
L
424 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
425 Define only if __x86_64__ is defined.
426
4842e4fe
JM
4272012-06-01 Joseph Myers <joseph@codesourcery.com>
428
c5bfe3d5
JM
429 [BZ #14048]
430 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
431 Use int64_t for variable i.
432 * math/libm-test.inc (fmod_test): Add more tests.
433
4842e4fe
JM
434 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
435 z computation is not scheduled after fetestexcept.
436 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
437 Use math_force_eval instead of asm to ensure calculation scheduled
438 before exception test.
439 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
440 Ensure a1 + u.d computation is not scheduled after fetestexcept.
441
efb73488
AJ
4422012-06-01 Aurelien Jarno <aurelien@aurel32.net>
443
444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
445 computation is not scheduled after fetestexcept.
446
29bcce7c
L
4472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
448
449 [BZ #14117]
450 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
451 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
452
73a68f94
AZ
4532012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
454
455 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
456 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
457
67b6df78
L
4582012-05-31 H.J. Lu <hongjiu.lu@intel.com>
459
edf2933a 460 [BZ #14117]
ebc64a18
L
461 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
462 <bits/wordsize.h>.
463 (__WCHAR_MIN): Support __WORDSIZE == 64.
464 (__WCHAR_MAX): Likewise.
465
edf2933a
L
466 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
467 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
468
57c6cf40
L
469 [BZ #14183]
470 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
471 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
472
67b6df78 473 [BZ #14117]
8eb6281e
L
474 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
475 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
476
aac639f4
L
477 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
478 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
479
67b6df78
L
480 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
481 Defined to 1 if __x86_64__ isn't defined.
482 (_STAT_VER_LINUX_OLD): New.
483 (st_atime): Remove duplicate.
484 (st_mtime): Likewise.
485 (st_ctime): Likewise.
486
1c2cfe81
DM
4872012-05-31 David S. Miller <davem@davemloft.net>
488
489 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
490 entries.
491
5be8418c
AS
4922012-06-01 Andreas Schwab <schwab@linux-m68k.org>
493
e7725326
AS
494 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
495 gen-libm-test.pl.
496
5be8418c
AS
497 [BZ #14132]
498 * elf/dl-reloc.c: Include <_itoa.h>.
499 (_dl_reloc_bad_type): Remove use of INTUSE.
500 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
501 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
502 * stdio-common/psiginfo.c (psiginfo): Likewise.
503 * stdio-common/psignal.c (psignal): Likewise.
504 * string/strsignal.c (strsignal): Likewise.
505 * include/signal.h (_sys_siglist): Declare hidden proto.
506 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
507 INTVARDEF with libc_hidden_data_def.
508 * stdio-common/itoa-udigits.c: Likewise.
509 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
510 (_itoa_lower_digits_internal): Remove declaration.
511 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
512 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
513 (_sys_sigabbrev_internal): Remove aliases.
514 (_sys_siglist): Define hidden alias.
515
507352f1
MT
5162012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
517
518 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
519 bits/sysctl.h.
520
42bbb1c3
L
5212012-05-31 H.J. Lu <hongjiu.lu@intel.com>
522
523 [BZ #14117]
6bd784b6
L
524 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
525 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
526
8bca20f0
L
527 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
528 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
529 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
530 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
531 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
532 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
533
f9e890a9
L
534 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
535 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
536 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
537
471101a1
L
538 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
539 with __addr.
540 (insw): Likewise.
541 (insl): Likewise.
542 (outsb): Likewise.
543 (outsw): Likewise.
544 (outsl): Likewise.
545
6451c862
L
546 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
547 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
548 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
549
a254b8c9
L
550 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
551 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
552 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
553 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
554 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
555 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
556
b8dfdd92
L
557 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
558 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
559
578cd270
L
560 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
561 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
562
de662f5f
L
563 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
564 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
565 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
566
25653439
L
567 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
568 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
569 to ...
570 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
571
6bad24a0
L
572 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
573 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
574 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
575
42bbb1c3
L
576 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
577 for x86-64.
578 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
579
2d10d547
JM
5802012-05-31 Joseph Myers <joseph@codesourcery.com>
581
582 * math/math.h (M_El): Use two more decimal places.
583 (M_LOG2El): Likewise.
584 (M_LOG10El): Likewise.
585 (M_LN2l): Likewise.
586 (M_LN10l): Likewise.
587 (M_PIl): Likewise.
588 (M_PI_2l): Likewise.
589 (M_PI_4l): Likewise.
590 (M_1_PIl): Likewise.
591 (M_2_PIl): Likewise.
592 (M_2_SQRTPIl): Likewise.
593 (M_SQRT2l): Likewise.
594 (M_SQRT1_2l): Likewise.
595
f230c29b
DM
5962012-05-31 David S. Miller <davem@davemloft.net>
597
598 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
599 values between float registers.
600 * sysdeps/sparc/sparc64/memset.S: Likewise.
601 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
602
fed806c3
MF
6032012-05-31 Mike Frysinger <vapier@gentoo.org>
604
605 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
606 -D_FORTIFY_SOURCE=1.
607 (CPPFLAGS-tst-longjmp_chk.c): Define.
608 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
609 (CPPFLAGS-tst-longjmp_chk2.c): Define.
610 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
611 CFLAGS-tst-wchar-h.c.
612
30917259
MP
6132012-05-31 Marek Polacek <polacek@redhat.com>
614
615 [BZ #14132]
616 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
617 __endmntent_internal): Remove declaration.
618 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
619 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
620 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
621
1c58d5dc
DM
6222012-05-30 David S. Miller <davem@davemloft.net>
623
624 * sysdeps/sparc/sparc32/soft-fp/q_util.c
625 (___Q_simulate_exceptions): Use real FP ops rather than writing
626 into the %fsr.
627 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
628 Likewise.
629
7dc00e0d
L
6302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
631
632 [BZ #14117]
0bd53985
L
633 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
634 * sysdeps/x86/bits/xtitypes.h: This.
635
3a257e66
L
636 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
637 * sysdeps/x86/bits/wordsize.h: This.
638
62f62904
L
639 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
640 * sysdeps/x86/bits/huge_vall.h: This.
641
404fe9d9
L
642 * sysdeps/i386/bits/select.h: Removed.
643 * sysdeps/x86_64/bits/select.h: Renamed to ...
644 * sysdeps/x86/bits/select.h: This.
645
d48d0446
L
646 * sysdeps/i386/bits/setjmp.h: Removed.
647 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
648 * sysdeps/x86/bits/setjmp.h: This.
649
7dc00e0d
L
650 * sysdeps/i386/bits/mathdef.h: Removed.
651 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
652 * sysdeps/x86/bits/mathdef.h: This.
653
03277f8f
AS
6542012-05-30 Andreas Schwab <schwab@linux-m68k.org>
655
656 [BZ #14132]
657 * include/sys/socket.h (__connect_internal)
658 (__libc_sa_len_internal): Remove declaration.
659 (__connect, __libc_sa_len): Declare hidden_proto.
660 (SA_LEN): Remove use of INTUSE.
661 * socket/connect.c: Add libc_hidden_def.
662 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
663 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
664 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
665 alias.
666 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
667 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
668 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
669 of adding _internal alias.
670
13764867
L
6712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
672
673 [BZ #14117]
6bd97696
L
674 * sysdeps/i386/bits/link.h: Removed.
675 * sysdeps/i386/bits/linkmap.h: Likewise.
676 * sysdeps/x86_64/bits/link.h: Renamed to ...
677 * sysdeps/x86/bits/link.h: This.
678 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
679 * sysdeps/x86/bits/linkmap.h: This.
680
f726f0bb
L
681 * sysdeps/i386/bits/endian.h: Removed.
682 * sysdeps/x86_64/bits/endian.h: Renamed to ...
683 * sysdeps/x86/bits/endian.h: This.
684
13764867
L
685 * sysdeps/i386/bits/byteswap.h: Removed.
686 * sysdeps/i386/bits/byteswap-16.h: Likewise.
687 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
688 * sysdeps/x86/bits/byteswap.h: This.
689 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
690 * sysdeps/x86/bits/byteswap-16.h: This.
691 * sysdeps/i386/Implies: Add x86.
692 * sysdeps/x86_64/Implies: Likewise.
693
ae251b0b
DM
6942012-05-30 David S. Miller <davem@davemloft.net>
695
696 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
697 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
698 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
699 (FP_TRAPPING_EXCEPTIONS): Define.
700 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
701 (FP_TRAPPING_EXCEPTIONS): Define.
702 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
703 subnormals only when inexact has been signalled or underflow
704 exceptions are enabled.
705 (_FP_PACK_CANONICAL): Likewise.
706
d5c90867
L
7072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
708
709 [BZ #14183]
710 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
711 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
712
63f1549e
RH
7132012-05-30 Richard Henderson <rth@twiddle.net>
714
8d8f2279
RH
715 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
716 with #ifndef NOT_IN_libc.
717
63f1549e
RH
718 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
719 marked to avoid plt entry.
720
0ab0291b
L
7212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
722
723 [BZ #14112]
724 * Makeconfig (default-abi): New macro.
725 (abi-includes): Likewise.
726 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
727 $(abi-$(default-abi)-lib-soname) for soname if defined.
728 ($(common-objpfx)gnu/lib-names.stmp): Generate from
729 abi-variants.
730 * Makefile (installed-stubs): Likewise.
731 * include/stubs-biarch.h: Removed.
732 * scripts/lib-names.awk: Only handle one library at a time.
733 * scripts/soversions.awk: Remove WORDSIZE support.
734 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
735 entries.
736 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
737 Removed.
738 (syscall-list-default-condition): Likewise.
739 (syscall-list-default-condition): Likewise.
740 (syscall-list-includes): Likewise.
741 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
742 syscall-list-* with abi-*. Handle undefined abi-variants.
743 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
744 * sysdeps/unix/sysv/linux/i386/Implies: New file.
745 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
746 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
747 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
748 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
749 Removed.
750 (syscall-list-32-options): Likewise.
751 (syscall-list-32-condition): Likewise.
752 (syscall-list-64-options): Likewise.
753 (syscall-list-64-condition): Likewise.
754 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
755 macro.
756 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
757 Renamed to ...
758 (abi-*): This.
759 (abi-64-ld-soname): New macro.
760 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
761 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
762 Renamed to ...
763 (abi-*): This.
764 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
765 * sysdeps/x86_64/x32/shlib-versions: Likewise.
766
4da0431d
JM
7672012-05-30 Joseph Myers <joseph@codesourcery.com>
768
3a85279c
JM
769 * sysdeps/unix/sysv/linux/kernel-features.h
770 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
771 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
772 include <kernel-features.h>.
773 [!__NR_ftruncate64]: Remove conditional code.
774 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
775 [__NR_ftruncate64]: Make code unconditional.
776 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
777 * sysdeps/unix/sysv/linux/truncate64.c: Do not
778 include <kernel-features.h>.
779 [!__NR_ftruncate64]: Remove conditional code.
780 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
781 [__NR_ftruncate64]: Make code unconditional.
782 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
784 include <kernel-features.h>.
785 [!__NR_ftruncate64]: Remove conditional code.
786 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
787 [__NR_ftruncate64]: Make code unconditional.
788 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
790 include <kernel-features.h>.
791 [!__NR_ftruncate64]: Remove conditional code.
792 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
793 [__NR_ftruncate64]: Make code unconditional.
794 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
795
4da0431d
JM
796 * configure.in (libc_cv_fpie): Weaken to a compile test using
797 LIBC_TRY_CC_OPTION.
798 * configure: Regenerated.
799
11ef492c
AK
8002012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
801
802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
806 Refreshed.
807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
813 Refreshed.
814
d66ef399
DM
8152012-05-27 David S. Miller <davem@davemloft.net>
816
817 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
818 (___Q_zero): New.
819 (__Q_simulate_exceptions): Return void. Change to simulate
820 exceptions by writing into the %fsr.
821 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
822 (__Qp_handle_exceptions): Likewise.
823 (numbers): Delete.
824 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
825 __Qp_handle_exceptions.
826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
827 __Qp_handle_exceptions.
828 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
829 as unused and give dummy FP_RND_NEAREST initializer.
830 (FP_INHIBIT_RESULTS): Define.
831 (___Q_simulate_exceptions): Update declaration.
832 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
833 formatting.
834 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
835 as unused and give dummy FP_RND_NEAREST initializer.
836 (__Qp_handle_exceptions): Update declaration.
837 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
838 formatting.
839
04fb54b5
TS
8402012-05-27 Thomas Schwinge <thomas@codesourcery.com>
841
842 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
843 the temporary FPU control word.
844 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
845 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
846 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
847 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
848 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
849 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
850 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
851 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
852 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
853 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
854 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
855
3f99608f
KK
8562012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
857
858 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
859 fields.
860
65a4de4e
CLT
8612012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
862
863 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
864 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
865 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
866 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
867 Likewise.
868 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
869 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
870 Likewise.
871
15749d40
UD
8722012-05-27 Ulrich Drepper <drepper@gmail.com>
873
874 * po/h.po: Update from translation team.
875
25dbcb27
AS
8762012-05-26 Andreas Schwab <schwab@linux-m68k.org>
877
3d3f8e55
AS
878 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
879
25dbcb27
AS
880 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
881 handling of denormals.
882 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
883 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
884 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
885 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
886 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
887 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
888 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
889 Likewise.
890
7ad47a80 8912012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
892
893 [BZ #14152]
894 * math/libm-test.inc (fma_test): Don't always expect underflow
895 exception.
896
9c6ea9fa
SP
8972012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
898
899 [BZ #12416]
900 * elf/tst-execstack.c: Include stackinfo.h.
901 (do_test): Adjust test case to ensure that pthread_getattr_np
902 behaviour remains the same after marking stack executable.
903
a8239222
JM
9042012-05-25 Joseph Myers <joseph@codesourcery.com>
905
906 * sysdeps/unix/sysv/linux/kernel-features.h
907 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
908 * sysdeps/unix/sysv/linux/i386/getrlimit.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 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
913 kernel-features.h.
914 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
915 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
916
918b5606
L
9172012-05-25 H.J. Lu <hongjiu.lu@intel.com>
918
919 * configure.in: Define the default includes to being none.
920 * configure: Regenerated.
921
3a097cc7
RM
9222012-05-25 Roland McGrath <roland@hack.frob.com>
923
8422c9a5
RM
924 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
925 * sysdeps/x86_64/setjmp.S: Likewise.
926 * sysdeps/i386/bsd-setjmp.S: Likewise.
927 * sysdeps/i386/bsd-_setjmp.S: Likewise.
928 * sysdeps/i386/setjmp.S: Likewise.
929 * sysdeps/i386/__longjmp.S: Likewise.
930 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
931 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
932
3a097cc7
RM
933 * include/stap-probe.h: New file.
934 * configure.in: Handle --enable-systemtap.
935 * configure: Regenerated.
936 * config.h.in (USE_STAP_PROBE): New #undef.
937 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
938 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
939 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
940
21708942
JM
9412012-05-25 Joseph Myers <joseph@codesourcery.com>
942
943 [BZ #13717]
944 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
945 to 2.4.0 where earlier.
946 * sysdeps/unix/sysv/linux/configure: Regenerated.
947 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.c: Do not include
952 <kernel-features.h>.
953 [__ASSUME_32BITUIDS]: Make code unconditional.
954 [!__ASSUME_32BITUIDS]: Remove conditional code.
955 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
956 [__ASSUME_32BITUIDS]: Make code unconditional.
957 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
958 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.c: Do not include
995 <kernel-features.h>.
996 [__ASSUME_32BITUIDS]: Make code unconditional.
997 [!__ASSUME_32BITUIDS]: Remove conditional code.
998 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
999 <kernel-features.h>.
1000 [__NR_setresgid] (__setresgid): Do not declare.
1001 [__ASSUME_32BITUIDS]: Make code unconditional.
1002 [!__ASSUME_32BITUIDS]: Remove conditional code.
1003 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1004 <kernel-features.h>.
1005 [__NR_setresuid] (__setresuid): Do not declare.
1006 [__ASSUME_32BITUIDS]: Make code unconditional.
1007 [!__ASSUME_32BITUIDS]: Remove conditional code.
1008 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/i386/shmctl.c: Do not include
1045 <kernel-features.h>.
1046 [__ASSUME_32BITUIDS]: Make code unconditional.
1047 [!__ASSUME_32BITUIDS]: Remove conditional code.
1048 * sysdeps/unix/sysv/linux/kernel-features.h
1049 (__ASSUME_SETRESUID_SYSCALL): Remove.
1050 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1051 (__ASSUME_32BITUIDS): Likewise.
1052 (__ASSUME_LDT_WORKS): Likewise.
1053 (__ASSUME_O_DIRECTORY): Likewise.
1054 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1055 architecture but not kernel version.
1056 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1057 (__ASSUME_MMAP2_SYSCALL): Likewise.
1058 (__ASSUME_STAT64_SYSCALL): Likewise.
1059 (__ASSUME_IPC64): Likewise.
1060 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1061 <kernel-features.h>.
1062 [__ASSUME_32BITUIDS]: Make code unconditional.
1063 [!__ASSUME_32BITUIDS]: Remove conditional code.
1064 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1065 <kernel-features.h>.
1066 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1067 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1068 132096]: Remove conditional code.
1069 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1070 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
1075 <kernel-features.h>.
1076 [__ASSUME_32BITUIDS]: Make code unconditional.
1077 [!__ASSUME_32BITUIDS]: Remove conditional code.
1078 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1079 <kernel-features.h>.
1080 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1081 unconditional.
1082 (__setresgid): Do not declare.
1083 [__ASSUME_32BITUIDS]: Make code unconditional.
1084 [!__ASSUME_32BITUIDS]: Remove conditional code.
1085 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1086 <kernel-features.h>.
1087 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1088 unconditional.
1089 (__setresuid): Do not declare.
1090 [__ASSUME_32BITUIDS]: Make code unconditional.
1091 [!__ASSUME_32BITUIDS]: Remove conditional code.
1092 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1093 <kernel-features.h>.
1094 [__ASSUME_32BITUIDS]: Make code unconditional.
1095 [!__ASSUME_32BITUIDS]: Remove conditional code.
1096 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1097 <kernel-features.h>.
1098 [__ASSUME_32BITUIDS]: Make code unconditional.
1099 [!__ASSUME_32BITUIDS]: Remove conditional code.
1100
a386f1cc
RH
11012012-05-25 Richard Henderson <rth@twiddle.net>
1102
1103 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1104 dl_hwcap to ifunc resolver.
1105 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1106 elf_ifunc_invoke.
1107 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1108 dl_hwcap to ifunc resolver.
1109 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1110
b6550497
JM
11112012-05-24 Joseph Myers <joseph@codesourcery.com>
1112
1113 [BZ #14153]
1114 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1115 for |x| <= 2**-26, not 2**-57.
1116 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1117 exception.
1118
b0bc23a1
JL
11192012-05-24 Jeff Law <law@redhat.com>
1120
1121 * stdio-common/Makefile (tests): Add bug25.
1122 * stdio-common/bug25.c: New test.
1123
347c92e9
L
11242012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1125
1126 [BZ #13576]
1127 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1128 multiple of MALLOC_ALIGNMENT in size.
1129 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1130
6bcc8b3f
JM
11312012-05-24 Joseph Myers <joseph@codesourcery.com>
1132
1133 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1134 Require >= 256.
1135 (FILENAME_MAX): Use macro-int-constant.
1136 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1137 (_IOFBF): Use macro-int-constant.
1138 (_IOLBF): Likewise.
1139 (_IONBF): Likewise.
1140 (SEEK_CUR): Likewise.
1141 (SEEK_END): Likewise.
1142 (SEEK_SET): Likewise.
1143 (TMP_MAX): Likewise.
1144 (EOF): Use macro-int-constant. Require < 0.
1145 (NULL): Use macro-constant. Require == 0.
1146 (stdin): Require type to be FILE *.
1147 (stdout): Likewise.
1148 (stderr): Likewise.
1149 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1150 macro-int-constant.
1151 (EXIT_SUCCESS): Likewise.
1152 (NULL): Use macro-constant. Require == 0.
1153 (RAND_MAX): Use macro-int-constant.
1154 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1155 [C99-based standards] (strtof): Require function.
1156 [C99-based standards] (strtold): Likewise.
1157 [C99-based standards] (strtoll): Likewise.
1158 [C99-based standards] (strtoull): Likewise.
1159 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1160 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1161 [ISO || ISO99 || ISO11] (math.h): Likewise.
1162 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1163 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1164 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1165
d18ea0c5
AS
11662012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1167
1168 [BZ #14132]
56d25bb8
AS
1169 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1170 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1171 * intl/dgettext.c (DCGETTEXT): Likewise.
1172 * intl/gettext.c (DCGETTEXT): Likewise.
1173 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1174 * posix/regex_internal.h (gettext): Likewise.
1175 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1176 Remove declaration.
1177 * include/argz.h (__argz_count_internal)
1178 (__argz_stringify_internal): Remove declaration.
1179 (__argz_count, __argz_stringify): Declare hidden proto.
1180 * intl/dcgettext.c: Remove use of INTDEF.
1181 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1182 * string/argz-stringify.c: Likewise.
1183 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1184 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1185 Declare hidden proto.
d18ea0c5
AS
1186 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1187 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1188 Declare hidden proto.
1189 * include/stdio.h (__asprintf_internal): Don't declare.
1190 (__asprintf): Don't define as macro. Declare hidden proto.
1191 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1192 (__fsetlocking): Declare hidden proto.
1193 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1194 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1195 hidden proto.
1196 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1197 (_IO_setlinebuf): Remove use of INTUSE.
1198 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1199 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1200 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1201 Remove declaration.
1202 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1203 (_IO_do_flush): Remove use of INTUSE.
1204 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1205 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1206 (_IO_adjust_column, _IO_least_wmarker)
1207 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1208 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1209 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1210 (_IO_default_doallocate, _IO_wdefault_doallocate)
1211 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1212 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1213 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1214 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1215 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1216 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1217 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1218 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1219 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1220 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1221 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1222 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1223 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1224 proto.
1225 (_IO_flush_all_internal, _IO_adjust_column_internal)
1226 (_IO_default_uflow_internal, _IO_default_finish_internal)
1227 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1228 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1229 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1230 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1231 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1232 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1233 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1234 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1235 (_IO_file_close_internal, _IO_file_close_it_internal)
1236 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1237 (_IO_file_init_internal, _IO_file_attach_internal)
1238 (_IO_file_fopen_internal, _IO_file_read_internal)
1239 (_IO_file_sync_internal, _IO_file_seek_internal)
1240 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1241 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1242 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1243 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1244 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1245 (_IO_list_all_internal, _IO_link_in_internal)
1246 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1247 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1248 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1249 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1250 (_IO_do_write_internal, _IO_padn_internal)
1251 (_IO_getline_info_internal, _IO_getline_internal)
1252 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1253 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1254 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1255 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1256 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1257 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1258 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1259 with libc_hidden_ver, remove use of INTUSE.
1260 * libio/genops.c: Likewise.
1261 * libio/freopen.c: Likewise.
1262 * libio/freopen64.c: Likewise.
1263 * libio/iofclose.c: Likewise.
1264 * libio/iofdopen.c: Likewise.
1265 * libio/iofflush.c: Likewise.
1266 * libio/iofflush_u.c: Likewise.
1267 * libio/iofgets.c: Likewise.
1268 * libio/iofgets_u.c: Likewise.
1269 * libio/iofopen.c: Likewise.
1270 * libio/iofopncook.c: Likewise.
1271 * libio/iofread.c: Likewise.
1272 * libio/iofread_u.c: Likewise.
1273 * libio/ioftell.c: Likewise.
1274 * libio/iofwrite.c: Likewise.
1275 * libio/iogetline.c: Likewise.
1276 * libio/iogets.c: Likewise.
1277 * libio/iogetwline.c: Likewise.
1278 * libio/iopadn.c: Likewise.
1279 * libio/iopopen.c: Likewise.
1280 * libio/ioseekoff.c: Likewise.
1281 * libio/ioseekpos.c: Likewise.
1282 * libio/iosetbuffer.c: Likewise.
1283 * libio/iosetvbuf.c: Likewise.
1284 * libio/ioungetc.c: Likewise.
1285 * libio/ioungetwc.c: Likewise.
1286 * libio/iovdprintf.c: Likewise.
1287 * libio/iovsprintf.c: Likewise.
1288 * libio/iovsscanf.c: Likewise.
1289 * libio/memstream.c: Likewise.
1290 * libio/obprintf.c: Likewise.
1291 * libio/oldfileops.c: Likewise.
1292 * libio/oldiofclose.c: Likewise.
1293 * libio/oldiofdopen.c: Likewise.
1294 * libio/oldiofopen.c: Likewise.
1295 * libio/oldiopopen.c: Likewise.
1296 * libio/oldstdfiles.c: Likewise.
1297 * libio/putc.c: Likewise.
1298 * libio/setbuf.c: Likewise.
1299 * libio/setlinebuf.c: Likewise.
1300 * libio/stdfiles.c: Likewise.
1301 * libio/strops.c: Likewise.
1302 * libio/vasprintf.c: Likewise.
1303 * libio/vscanf.c: Likewise.
1304 * libio/vsnprintf.c: Likewise.
1305 * libio/vswprintf.c: Likewise.
1306 * libio/wfiledoalloc.c: Likewise.
1307 * libio/wfileops.c: Likewise.
1308 * libio/wgenops.c: Likewise.
1309 * libio/wmemstream.c: Likewise.
1310 * libio/wstrops.c: Likewise.
1311 * libio/__fpurge.c: Likewise.
1312 * libio/__fsetlocking.c: Likewise.
1313 * assert/assert.c: Likewise.
1314 * debug/fgets_chk.c: Likewise.
1315 * debug/fgets_u_chk.c: Likewise.
1316 * debug/fread_chk.c: Likewise.
1317 * debug/fread_u_chk.c: Likewise.
1318 * debug/gets_chk.c: Likewise.
1319 * debug/obprintf_chk.c: Likewise.
1320 * debug/vasprintf_chk.c: Likewise.
1321 * debug/vdprintf_chk.c: Likewise.
1322 * debug/vsnprintf_chk.c: Likewise.
1323 * debug/vsprintf_chk.c: Likewise.
1324 * malloc/mtrace.c: Likewise.
1325 * misc/error.c: Likewise.
1326 * misc/syslog.c: Likewise.
1327 * stdio-common/asprintf.c: Likewise.
1328 * stdio-common/fxprintf.c: Likewise.
1329 * stdio-common/getw.c: Likewise.
1330 * stdio-common/isoc99_fscanf.c: Likewise.
1331 * stdio-common/isoc99_scanf.c: Likewise.
1332 * stdio-common/isoc99_vfscanf.c: Likewise.
1333 * stdio-common/isoc99_vscanf.c: Likewise.
1334 * stdio-common/isoc99_vsscanf.c: Likewise.
1335 * stdio-common/printf-prs.c: Likewise.
1336 * stdio-common/printf_fp.c: Likewise.
1337 * stdio-common/printf_fphex.c: Likewise.
1338 * stdio-common/printf_size.c: Likewise.
1339 * stdio-common/putw.c: Likewise.
1340 * stdio-common/scanf.c: Likewise.
1341 * stdio-common/sprintf.c: Likewise.
1342 * stdio-common/tmpfile.c: Likewise.
1343 * stdio-common/vfprintf.c: Likewise.
1344 * stdio-common/vfscanf.c: Likewise.
1345 * stdlib/strfmon_l.c: Likewise.
1346 * sunrpc/openchild.c: Likewise.
1347 * sunrpc/xdr_stdio.c: Likewise.
1348 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1349 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1350
d6c33fda
RM
13512012-05-24 Roland McGrath <roland@hack.frob.com>
1352
c1487492
RM
1353 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1354
1355 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1356 in the third column, to generate for the shared library an IFUNC
1357 that uses _dl_vdso_vsym.
1358 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1359 * Makeconfig (object-suffixes-noshared): New variable.
1360
1361 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1362 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1363 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1364 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1365
d6c33fda
RM
1366 [BZ #14132]
1367 * include/sys/time.h (__gettimeofday): Remove macro.
1368 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1369 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1370 Remove INTDEF.
1371 (__gettimeofday): Add libc_hidden_def.
1372 (gettimeofday): Add libc_hidden_weak.
1373 * sysdeps/mach/gettimeofday.c: Likewise.
1374 * sysdeps/posix/gettimeofday.c: Likewise.
1375 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1376 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1377 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1378 (__gettimeofday_internal): Remove strong_alias.
1379 (__gettimeofday): Add libc_hidden_def.
1380 (gettimeofday): Add libc_hidden_weak.
1381 * sysdeps/unix/syscalls.list (gettimeofday):
1382 Remove __gettimeofday_internal alias.
1383
b5a2bbe6
L
13842012-05-24 Daniel Jacobowitz <drow@false.org>
1385 H.J. Lu <hongjiu.lu@intel.com>
1386
1387 [BZ #12495]
1388 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1389 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1390 (largebin_index_32_big): New.
1391 (largebin_index): Use it for 16-byte alignment.
1392 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1393 correction with front_misalign.
1394
cfba4fda
L
13952012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1396
7f907421
L
1397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1399 Likewise.
1400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1401 Likewise.
1402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1403 Likewise.
1404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1405 Likewise.
1406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1407 Likewise.
1408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1409 Likewise.
1410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1411 Likewise.
1412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1413 Likewise.
1414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1415 Likewise.
1416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1417 Likewise.
1418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1419 Likewise.
1420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1421 Likewise.
1422
cfba4fda
L
1423 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1424 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1425
80bad0cc
JM
14262012-05-24 Joseph Myers <joseph@codesourcery.com>
1427
7a25eb06
JM
1428 [BZ #10846]
1429 [BZ #14036]
1430 * math/libm-test.inc (exp_test): Add test from bug 14036.
1431 (pow_test): Add test from bug 10846.
1432
795405f9
JM
1433 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1434 and other flags.
1435 (special_function): Do not include flags in test name.
1436 (parse_args): Likewise.
1437 * sysdeps/i386/fpu/libm-test-ulps: Update.
1438 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1439 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1440 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1442
80bad0cc
JM
1443 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1444 exceptions.
1445 * math/libm-test.inc ("Philosophy"): Update comment about
1446 exception testing.
1447 (UNDERFLOW_EXCEPTION): New macro.
1448 (UNDERFLOW_EXCEPTION_OK): Likewise.
1449 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1450 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1451 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1452 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1453 (INVALID_EXCEPTION_OK): Update value.
1454 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1455 (OVERFLOW_EXCEPTION_OK): Likewise.
1456 (IGNORE_ZERO_INF_SIGN): Likewise.
1457 (test_exceptions): Handle underflow exceptions.
1458 (acos_test): Update for underflow exception expectations.
1459 (cexp_test): Likewise.
1460 (clog_test): Likewise.
1461 (clog10_test): Likewise.
1462 (csqrt_test): Likewise.
1463 (ctan_test): Likewise.
1464 (ctanh_test): Likewise.
1465 (exp_test): Likewise.
1466 (exp10_test): Likewise.
1467 (exp2_test): Likewise.
1468 (expm1_test): Likewise.
1469 (fma_test): Likewise.
1470 (j0_test): Likewise.
1471 (jn_test): Likewise.
1472 (nexttoward_test): Likewise.
1473 (pow_test): Likewise.
1474 (scalbn_test): Likewise.
1475 (scalbln_test): Likewise.
1476 (tan_test): Likewise.
1477 (y1_test): Likewise.
1478 * sysdeps/i386/fpu/libm-test-ulps: Update.
1479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1480
9e0e3d0b
DM
14812012-05-23 David S. Miller <davem@davemloft.net>
1482
1483 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1484 (__libc_sigaction): Remove unused local variables.
1485
ccd0a08f
L
14862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1487
1488 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1489
62bdf9a6
PE
14902012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1491
f8591f80
PE
1492 mktime: avoid signed integer overflow
1493 * time/mktime.c (__mktime_internal): Do not mishandle the case
1494 where diff == INT_MIN.
1495
94c7d826
PE
1496 mktime: simplify computation of average
1497 * time/mktime.c (ranged_convert): Use new time_t_avg function
1498 instead of rolling our own (probably-slower) code.
1499
ce73d683
PE
1500 mktime: do not assume signed right shift propagates sign bit
1501 * time/mktime.c (isdst_differ): New static function.
1502 (__mktime_internal): No need to normalize tm_isdst now.
1503 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1504 tm_isdst values.
1505
72a22e59
PE
1506 mktime: merge another wrapv change from gnulib
1507 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1508 from some compilers.
1509
68605433
PE
1510 mktime: remove incorrect attempt at unusual arithmetics
1511 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1512 The code didn't really work on such machines anyway.
1513 (TYPE_MINIMUM): Assume two's complement.
1514 (twos_complement_arithmetic): Verify that long_int and time_t
1515 are two's complement (or unsigned, in the latter case).
1516
03cf7fe3
PE
1517 mktime: check signed shifts on long_int and time_t, too
1518 * time/mktime.c (SHR): Check that shifts work as desired
1519 on the types long_int and time_t too, as SHR is used on
1520 such types.
1521
f04dfbc2
PE
1522 mktime: do not assume 'long' is wide enough
1523 * time/mktime.c (verify): Move decl up.
1524 (long_int): New type.
1525 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1526 to remove assumption in the code that 'long' is wide enough to
1527 store year values. This assumption is not true on x32 and on
1528 some non-glibc platforms.
1529
62bdf9a6
PE
1530 mktime: merge wrapv change from gnulib
1531 * time/mktime.c (WRAPV): New macro.
1532 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1533 (guess_time_tm, __mktime_internal): Do not assume that signed
1534 integer overflow wraps around; modern compilers generate code
1535 where this assumption is no longer valid.
1536
5e292e4f
L
15372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1538
1539 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1540 Replace "jmp L(pseudo_end)" with "ret".
1541 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1542 Likewise.
1543
8caf8c87
AJ
15442012-05-23 Andreas Jaeger <aj@suse.de>
1545
1546 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1547 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1548
1a09dc56
AJ
15492012-05-23 Andreas Jaeger <aj@suse.de>
1550 Maximilian Attems <max@stro.at>
1551
1552 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1553 New macros.
1554
1c87aba0
L
15552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1556
1557 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1558 code so that pseudo_end is just ret and the stack pointer is
1559 correct also for static library in error case.
1560
40e45bd5
JM
15612012-05-23 Joseph Myers <joseph@codesourcery.com>
1562
c2670533
JM
1563 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1564 move to syscalls.list.
1565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1569
40e45bd5
JM
1570 * manual/install.texi (Running make install): Do not mention Linux
1571 kernel version for which pt_chown is not needed.
1572 (Linux): Do not mention problems with nscd with 2.0 kernels.
1573 * INSTALL: Regenerated.
1574
be08eda5
AJ
15752012-05-23 Andreas Jaeger <aj@suse.de>
1576
1577 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1578 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1579 macro.
1580 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1581 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1582 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1583 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1584 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1585 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1586 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1587 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1588 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1589 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1590 * sysdeps/unix/sysv/linux/bits/in.h
1591 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1592
a6a056bb
RM
15932012-05-22 Roland McGrath <roland@hack.frob.com>
1594
1595 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1596 (PREPARE_VERSION): Just use assert instead, it will be elided
1597 under [NDEBUG] anyway.
1598
c9009328
L
15992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1600
1601 * sysdeps/unix/sysv/linux/Makefile: Include
1602 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1603 (sysdep_routines): Remove sysctl.
c9009328
L
1604 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1605 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1606 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1607 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1608 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1609
73338355
AJ
16102012-05-22 Andreas Jaeger <aj@suse.de>
1611
1612 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1613 that pseudo_end is just ret and the stack pointer is correct also
1614 for static library in error case.
1615
d44638b0
PP
16162012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1617
1618 [BZ #14122]
1619 * nss/nsswitch.c (defconfig_entries): New variable.
1620 (__nss_database_lookup): Don't leak defconfig entries.
1621 (nss_parse_service_list): Don't leak on error paths.
1622 (free_database_entries): New function.
1623 (free_defconfig): New function.
1624 (free_mem): Move common code to free_database_entries.
1625
31a39bd8
L
16262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1627
da0331a8
L
1628 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1629 Add arch_prctl.
1630 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1631
31a39bd8
L
1632 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1633 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1634 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1635 New macro.
1636 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1637 (INTERNAL_SYSCALL_TYPES): Likewise.
1638 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1639 (LOAD_REGS_TYPES_[1-6]): Likewise.
1640 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1641 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1642
45470df3
AZ
16432012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1644
1645 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1646 copysignl for GLIBC_2_0.
1647 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1648 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1649 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1650 logbl for GLIBC_2_0.
1651 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1652 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1653
98a61bcb
L
16542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1655
a4f6e481
L
1656 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1657 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1658
f63d5db6
L
1659 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1660 Use "neg %eax".
1661
98a61bcb
L
1662 * time/mktime.c: Update copyright years.
1663
95770f14
PE
16642012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1665
6226efbd
PE
1666 mktime: merge comment-quoting-style change from gnulib
1667 * time/mktime.c: Quote 'like this' in comments.
1668 The GNU coding standards suggest that we no longer quote `like this',
1669 as "`" and "'" are typically rendered asymmetrically nowadays.
1670 The typical gnulib style is to quote 'like this' when quoting
1671 code, and "like this" when quoting English.
1672
b99e4f78
PE
1673 * time/mktime.c (compile-command): Add "-I.".
1674
643e01e6
PE
1675 mktime: merge mktime-internal.h change from gnulib
1676 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1677
2554247d
PE
1678 mktime: merge time_r change from gnulib
1679 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1680
826dd0ab
PE
1681 mktime: merge DEBUG change from gnulib
1682 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1683 case system <time.h> has a #define.
1684
bd83aabe
PE
1685 mktime: merge <sys/types.h> change from gnulib
1686 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1687 since <time.t> is now guaranteed to define time_t.
1688
95770f14
PE
1689 mktime: merge HAVE_CONFIG_H change from gnulib
1690 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1691
5e1a27a9
L
16922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1693
0e44a77e
L
1694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1695 Use "neg %eax".
1696
5e1a27a9
L
1697 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1698 __rlim_t cast.
1699 (struct rusage): Use anonymous union to pad each field to
1700 __syscall_slong_t.
1701
46259bec
DM
17022012-05-21 David S. Miller <davem@davemloft.net>
1703
1704 * Makefules (o-iterator): Remove .s cases.
1705 (compile-command.s): Delete.
1706 (COMPILE.s): Delete.
1707 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1708
59f0c22e
JM
17092012-05-21 Joseph Myers <joseph@codesourcery.com>
1710
1711 * configure.in (libc_cv_predef_stack_protector): Only consider
1712 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1713 * configure: Regenerated.
1714
20c07380
L
17152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1716
bbb3154b
L
1717 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1718 New macro. Use R*LP on int and pointer.
1719 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1720 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1721 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1722 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1723
20c07380
L
1724 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1725 [__WORDSIZE_TIME64_COMPAT32] instead of
1726 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1727 (struct utmp): Likewise.
1728 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1729 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1730 Renamed to ...
1731 (__WORDSIZE_TIME64_COMPAT32): This.
1732 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1733 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1734 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1735 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1736 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1737 (__WORDSIZE_TIME64_COMPAT32): New macro.
1738
d8d1017e
AJ
17392012-05-21 Andreas Jaeger <aj@suse.de>
1740
1741 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1742 only if [SHARED]. Add prototype for __wcschr_ia32.
1743
6c7fb145
RM
17442012-05-21 Roland McGrath <roland@hack.frob.com>
1745
1746 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1747 of %rbp unmolested in the jmp_buf while mangling the low bits.
1748 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1749 unmolested high bits of %rbp while demangling the low bits.
1750 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1751
66274218
AJ
17522012-05-21 Andreas Jaeger <aj@suse.de>
1753
07c58f8f
AJ
1754 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1755 * sunrpc/svc_simple.c: Use it for registerrpc.
1756 * sunrpc/xcrypt.c: Use it for passwd2des.
1757
66274218
AJ
1758 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1759
61f65140
L
17602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1761
1762 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1763 Don't define if [__SYSCALL_WORDSIZE != 32].
1764 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1765 New macro.
1766
5fefb436
AJ
17672012-05-21 Bruno Haible <bruno@clisp.org>
1768 Andreas Jaeger <aj@suse.de>
1769
1770 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1771 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1772 inptr and inend for must_buffer_ch.
1773 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1774 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1775 * stdio-common/Makefile (tests): Remove bug15.
1776 (bug15-ENV): Remove macro.
1777 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1778 anymore.
1779
d8e272ab
AJ
17802012-05-19 Andreas Jaeger <aj@suse.de>
1781 Roland McGrath <roland@hack.frob.com>
1782
1783 * manual/contrib.texi: Completely rewritten. It contains now an
1784 alphabetical list of contributors and their contributions.
1785
4a56a162
RH
17862012-05-21 Richard Henderson <rth@twiddle.net>
1787
1788 * misc/getauxval.c (__getauxval): Use unsigned long int.
1789 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1790 (getauxval): Use unsigned long int.
1791
d024d23c
L
17922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1793
1794 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1795
cbc00a03
RM
17962012-05-21 Roland McGrath <roland@hack.frob.com>
1797
1798 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1799 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1800 __alignof__ (long double).
1801
478143fa
AZ
18022012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1803
1804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1805
c7683a6d
RH
18062012-05-20 Richard Henderson <rth@twiddle.net>
1807
1808 * misc/getauxval.c: New file.
1809 * misc/sys/auxv.h: New file.
1810 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1811 (routines): Add getauxval.
1812 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1813 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1814 * elf/dl-sysdep.c (_dl_auxv): Remove.
1815 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1816 * elf/dl-support.c (_dl_auxv): New variable.
1817 (_dl_aux_init): Initialize it.
1818 * manual/startup.texi (Auxiliary Vector): New node.
1819 * sysdeps/generic/bits/hwcap.h: New file.
1820 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1821 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1822 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1823 * sysdeps/sparc/sysdep.h: ... here. Include it.
1824 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1825 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1827 Update.
c7683a6d
RH
1828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1831 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1836
a6f1845d
AZ
18372012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1838
1839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1840
cbcbe830
DM
18412012-05-19 David S. Miller <davem@davemloft.net>
1842
1843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1844
e0b16cc2
JM
18452012-05-19 Joseph Myers <joseph@codesourcery.com>
1846
1847 [BZ #14123]
1848 * math/s_ccosh.c: Include <float.h>
1849 (__ccosh): Avoid internal overflow calculating sinh and cosh
1850 values before multiplying by sin and cos values.
1851 * math/s_ccoshf.c: Likewise.
1852 * math/s_ccoshl.c: Likewise.
1853 * math/s_csin.c: Likewise.
1854 * math/s_csinf.c: Likewise.
1855 * math/s_csinl.c: Likewise.
1856 * math/s_csinh.c: Likewise.
1857 * math/s_csinhf.c: Likewise.
1858 * math/s_csinhl.c: Likewise.
1859 * math/libm-test.inc (ccos_test): Add more tests.
1860 (ccosh_test): Likewise.
1861 (csin_test): Likewise.
1862 (csinh_test): Likewise.
1863 * sysdeps/i386/fpu/libm-test-ulps: Update.
1864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1865
6ad13e08
L
18662012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1867
f66f0ce8
L
1868 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1869 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1870
6ad13e08
L
1871 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1872
b1d072a7
JM
18732012-05-19 Joseph Myers <joseph@codesourcery.com>
1874
1875 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1876 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1877 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1878 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1879 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1880 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1881 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1882 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1883 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1884 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1885 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1886 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1887 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1888 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1889 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1890 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1891 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1892 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1893 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1894 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1895 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1896 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1897 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1898 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1899 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1900 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1901 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1902 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1903 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1904 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1905 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1906
9eae47cb
AJ
19072012-05-18 Andreas Jaeger <aj@suse.de>
1908
1909 * csu/.gitignore: Delete.
1910
bb07f69f
L
19112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1912
1913 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1914 (timex): Use __syscall_slong_t.
1915
e6bdb741
AJ
19162012-05-18 Andreas Jaeger <aj@suse.de>
1917 Carlos O'Donell <carlos_odonell@mentor.com>
1918
1919 * manual/install.texi (Configuring and compiling): Update
1920 description about files modified in the source directory.
d6c33fda 1921 * INSTALL: Regenerated.
e6bdb741 1922
1b74487e
L
19232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1924
1925 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1926 value. Use "or" to set return value to -1.
1927 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1928 negate return value.
1929
a88b64b9
TMQMF
19302012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1931
1932 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1933 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1934 failure if the compiler has Graphite support disabled.
1935 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1936 Likewise.
1937 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1938 CFLAGS-memmove.c): Likewise.
1939 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1940 Likewise.
1941
3707636e
L
19422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1943
610b8622
L
1944 * sysdeps/x86_64/x32/_itoa.h: New file.
1945
7cd195df
L
1946 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1947 getdents system call only if kernel and user dirents have the
1948 same d_ino and d_off.
1949
94b07d20
L
1950 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1951 LLONG_MAX != LONG_MAX.
1952 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1953 (_fitoa_word): Likewise.
1954
18298070
L
1955 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1956 years.
1957 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1958 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1959 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1960
553c7ea4
L
1961 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1962 include <bits/wordsize.h>. Check __x86_64__ instead of
1963 __WORDSIZE.
1964 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1965 if __x86_64__ is defined. Use anonymous union on fpstate.
1966
3707636e
L
1967 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1968 anonymous union.
1969
b53ef01a
AS
19702012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1971
37fb1dc0
AS
1972 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1973 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1974 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1975 Refer to _rtld_local_ro instead of _rtld_global_ro.
1976 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1977 Likewise.
1978 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1979 Likewise.
1980 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1981 Likewise.
1982 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1983 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1984 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1985
b53ef01a
AS
1986 * sysdeps/powerpc/powerpc32/dl-machine.c
1987 (__elf_machine_runtime_setup) [PROF]: Don't reference
1988 _dl_prof_resolve.
1989
7a185db2
AJ
19902012-05-18 Andreas Jaeger <aj@suse.de>
1991
1992 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1993 function only available for GCCs before 3.4 since GCC 3.4
1994 introduced a builtin.
1995 (lrint): Likewise.
1996 (llrintf): Likewise.
1997 (llrint): Likewise.
1998 (fmaxf): Likewise.
1999 (fmax): Likewise.
2000 (fminf): Likewise.
2001 (fmin): Likewise.
2002 (rint): Likewise.
2003 (rintf): Likewise.
2004 (nearbyint): Likewise.
2005 (nearbyintf): Likewise.
2006 (ceil): Likewise.
2007 (ceilf): Likewise.
2008 (floor): Likewise.
2009 (floorf): Likewise.
2010
3e5aef87
L
20112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2012
428bd707
L
2013 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2014 on both fields and cast pointer to __syscall_ulong_t.
2015
3e5aef87
L
2016 * bits/types.h (__fsword_t): New type.
2017 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2018 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2019 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2020 (__FSWORD_T_TYPE): Likewise.
2021 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2022 (__FSWORD_T_TYPE): Likewise.
2023 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2024 (__FSWORD_T_TYPE): Likewise.
2025 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2026 (__FSWORD_T_TYPE): Likewise.
2027 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2028 __SWORD_TYPE with __fsword_t.
2029 (statfs64): Likewise.
2030
1ba7c3dc
DM
20312012-05-17 David S. Miller <davem@davemloft.net>
2032
2033 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2034
59910343
AJ
20352012-05-17 Andreas Jaeger <aj@suse.de>
2036
2037 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2038 warning.
2039
2e4c1e9e
L
20402012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2041
2042 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2043
de7f5ce7
AJ
20442012-05-17 Andreas Jaeger <aj@suse.de>
2045
2046 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2047 when it is used.
2048
286abc3d
CM
20492012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2050
2051 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2052
477cc68e
L
20532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2054
2055 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2056 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2057
1a0994f5
CD
20582012-05-17 Andreas Jaeger <aj@suse.de>
2059 Carlos O'Donell <carlos_odonell@mentor.com>
2060
2061 [BZ #14059]
2062 * sysdeps/x86_64/multiarch/init-arch.h
2063 (bit_YMM_Usable): Rename to...
2064 (bit_AVX_Usable): ... this.
2065 (bit_FMA4_Usable): New macro.
2066 (bit_XMM_state): New macro.
2067 (bit_YMM_state): New macro.
2068 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2069 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2070 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2071 (CPUID_OSXSAVE): New macro.
2072 (CPUID_AVX): New macro.
2073 (CPUID_FMA4): New macro.
2074 (index_YMM_Usable): Rename to...
2075 (index_AVX_Usable): ... this.
2076 (HAS_AVX): Use HAS_ARCH_FEATURE.
2077 (HAS_FMA4): Likewise.
2078 (HAS_YMM_USABLE): Remove.
2079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2080 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2081 are present.
2082 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2083 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2084 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2085 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2086 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2087
0af797de
CM
20882012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2089
2090 * math/libm-test.c: Support platforms without multiple rounding modes.
2091 * math/bug-nextafter.c: Support platforms without FP exceptions.
2092 * math/bug-nexttoward.c: Likewise.
2093 * math/test-fenv.c: Likewise.
2094 * math/test-misc.c: Likewise.
2095 * stdlib/bug-getcontext.c: Likewise.
2096
e39745ff
AJ
20972012-05-17 Andreas Jaeger <aj@suse.de>
2098
2099 * manual/examples/search.c (critter_cmp): Change signature to
2100 avoid warnings.
2101 * manual/string.texi (Collation Functions): Likewise.
2102
48970aba
L
21032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2104
2105 * bits/types.h: Fold copyright years.
2106 * bits/typesizes.h: Likewise.
2107 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2108 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2109 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2110 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2111 * time/time.h: Likewise.
2112
bedee953
PP
21132012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2114
2115 [BZ #208]
2116 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2117 in instead of returning them. Return void.
2118 (__libc_mallinfo): Accumulate over all arenas.
2119 (__malloc_stats): Adjust for change in int_mallinfo interface.
2120
61653dfb
RM
21212012-05-16 Roland McGrath <roland@hack.frob.com>
2122
30b99d79
RM
2123 [BZ #10375]
2124 * configure.in (NM): Add AC_CHECK_TOOL for it.
2125 (libc_extra_cflags): New substituted variable.
2126 Check for -fstack-protector being used implicitly.
2127 * configure: Regenerated.
2128 * config.make.in (config-extra-cflags): New variable,
2129 gets @libc_extra_cflags@.
2130 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2131
61653dfb
RM
2132 [BZ #10375]
2133 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2134 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2135 * configure: Regenerated.
2136 * config.make.in (CPPUNDEFS): New substituted variable.
2137 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2138 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2139 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2140
661768bb
L
21412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2142
2143 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2144 (mq_attr): Use __syscall_slong_t.
2145
d4261567
L
21462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2147
2148 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2149 Check __x86_64__ instead of __WORDSIZE.
2150 (_STAT_VER_LINUX): Likewise.
2151 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2152 __syscall_ulong_t and __syscall_slong_t.
2153 (stat64): Likewise.
2154
cf3ff365
L
21552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2156
2157 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2158
76cf3e4d
L
21592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2160
2161 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2162
a637753a
L
21632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2164
2165 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2166 __syscall_ulong_t.
2167
d5e05119
L
2168 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2169 include <bits/wordsize.h>. Check __x86_64__ instead of
2170 __WORDSIZE.
2171 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2172 defined.
2173 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2174
f62ee380
L
2175 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2176 include <bits/wordsize.h>. Check __x86_64__ instead of
2177 __WORDSIZE.
2178 (user_regs_struct): Use "__extension__ unsigned long long"
2179 instead of "unsigned long" if __x86_64__ is defined.
2180 (user): Likewise. Pad after pointer field if __ILP32__ is
2181 defined.
2182
4e124ced
JM
21832012-05-16 Joseph Myers <joseph@codesourcery.com>
2184
6a3951a0
JM
2185 * configure.in (makeinfo): Require version 4.5 or later. Allow
2186 versions 5 to 9.
2187 * configure: Regenerated.
2188 * manual/install.texi (texinfo): Increase version requirement to
2189 4.5 or later.
2190 * INSTALL: Regenerated.
2191
4e124ced
JM
2192 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2193
953ca31a
L
21942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2195
2196 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2197
617aca05
L
2198 * sysdeps/x86_64/x32/ffs.c: New file.
2199
5762f7ae
L
2200 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2201 __syscall_ulong_t.
2202 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2203 defined. Use __syscall_ulong_t.
2204 (shminfo): Use __syscall_ulong_t.
2205 (shm_info): Likewise.
2206
a26b6856
L
2207 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2208 __syscall_ulong_t.
2209
cb2b9ef7
L
2210 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2211 <bits/wordsize.h>.
2212 (msgqnum_t): Use __syscall_ulong_t.
2213 (msglen_t): Likewise.
2214 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2215 __syscall_ulong_t.
2216
34683bb0
L
2217 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2218 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2219
84a68786
L
2220 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2221
48baa5f1
L
2222 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2223 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2224
180be88b
L
2225 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2226 __syscall_slong_t.
2227
5e90c8ad
L
2228 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2229 include <bits/wordsize.h>. Check __x86_64__ instead of
2230 __WORDSIZE.
2231
23dfb58b
L
2232 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2233 "unsigned long long int" if __x86_64__ is defined.
2234 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2235
ce5d54b0
L
2236 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2237 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2238 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2239
13dc9eac
L
2240 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2241 <stdint.h>.
2242 (GET_PC): Cast to uintptr_t first.
2243 (GET_FRAME): Likewise.
2244 (GET_STACK): Likewise.
2245
a7895d15
L
2246 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2247 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2248 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2249 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2250 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2251 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2252 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2253 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2254 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2255 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2256 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2257 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2258 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2259 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2260 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2261 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2262 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2263 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2264 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2265 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2266 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2267 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2268 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2269 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2270 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2271 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2272 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2273 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2274 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2275
656416c9
AS
22762012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2277
5bd66283
AS
2278 * Makerules (+depfiles): Also collect depfiles from .oS in
2279 $(extra-objs).
2280 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2281 .oS, $(libnldbl-routines)).
2282
656416c9
AS
2283 * Makerules (native-compile-mkdep-flags): Define.
2284 * sunrpc/Makefile (extra-objs): Add $(addprefix
2285 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2286 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2287 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2288 calling $(make-target-directory).
2289
a46f2169
L
22902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2291
2292 * bits/types.h (__snseconds_t): Removed.
2293 * time/time.h (struct timespec): Replace __snseconds_t with
2294 __syscall_slong_t.
2295 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2296 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2297 Likewise.
2298 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2299 (__SNSECONDS_T_TYPE): Likewise.
2300 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2301 (__SNSECONDS_T_TYPE): Likewise.
2302 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2303 (__SNSECONDS_T_TYPE): Likewise.
2304
6af6528b
L
23052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2306
2307 * sysdeps/mach/hurd/bits/typesizes.h
2308 (__SYSCALL_SLONG_TYPE): New macro.
2309 (__SYSCALL_ULONG_TYPE): Likewise.
2310
de986b56
L
23112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2312
2313 * bits/types.h (__syscall_slong_t): New type.
2314 (__syscall_ulong_t): Likewise.
2315
2316 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2317 (__SYSCALL_ULONG_TYPE): Likewise.
2318 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2319 (__SYSCALL_SLONG_TYPE): Likewise.
2320 (__SYSCALL_ULONG_TYPE): Likewise.
2321 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2322 (__SYSCALL_SLONG_TYPE): Likewise.
2323 (__SYSCALL_ULONG_TYPE): Likewise.
2324 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2325 (__SYSCALL_SLONG_TYPE): Likewise.
2326 (__SYSCALL_ULONG_TYPE): Likewise.
2327
85736dc7
L
23282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2329
2330 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2331 Add sigaltstack-offsets.sym.
2332 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2333 <sigaltstack-offsets.h>.
2334 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2335 longjmp_msg pointer.
2336 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2337 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2338 signal stack.
2339 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2340
cc03b296
JM
23412012-05-15 Joseph Myers <joseph@codesourcery.com>
2342
a9538892
JM
2343 * elf/stackguard-macros.h: Remove file.
2344 * sysdeps/generic/stackguard-macros.h: New file.
2345 * sysdeps/i386/stackguard-macros.h: Likewise.
2346 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2347 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2348 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2349 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2350 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2351 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2352 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2353 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2354 <elf/stackguard-macros.h>.
2355
cc03b296
JM
2356 [BZ #14109]
2357 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2358 __aligned__ in attribute.
2359 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2360 (gregset_t): Likewise.
2361
93171016
L
23622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2363
2364 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2365 * sysdeps/x86_64/64/Implies-after: Here. New file.
2366 * sysdeps/x86_64/x32/Implies-after: New file.
2367
d86813a0
L
23682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2369
2370 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2371 and access return value for _dl_profile_fixup. Use R10_LP to
2372 load frame size.
2373
2953ec75
L
23742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2375
2376 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2377
3b550e9e
L
23782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2379
2380 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2381 * sysdeps/x86_64/x32/sysdep.h: New file.
2382
eda41706
L
23832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2384
2385 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2386 * sysdeps/x86_64/setjmp.S: Likewise.
2387
9ea01d93
AZ
23882012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2389
2390 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2391 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2392 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2393 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2394 remove unused global constant.
2395
02a91938
CM
23962012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2397
2398 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2399 include of <not-cancel.h>.
2400
6540185f
RM
24012012-05-15 Roland McGrath <roland@hack.frob.com>
2402
2403 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2404
509072a0
AJ
24052012-05-15 Jeff Law <law@redhat.com>
2406 Andreas Jaeger <aj@suse.de>
2407
2408 [BZ #13594]
2409 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2410 out from...
2411 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2412 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2413 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2414 code changing __hst_map_handle.map.
2415
ba75122d
RM
24162012-05-15 Roland McGrath <roland@hack.frob.com>
2417
2418 * configure.in (sysnames): Look for Implies-before and Implies-after
2419 files.
2420 * configure: Regenerated.
2421
890d8bd8
L
24222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2423
2424 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2425 8-byte data alignment with LP_SIZE alignment.
2426
f6ee6623
L
24272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2428
2429 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2430 into R10_LP.
2431
ea2626f6
L
24322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2433
2434 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2435
085f715e
L
24362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2437
2438 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2439 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2440 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2441 Likewise.
2442 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2443
be8498fc
L
24442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2445
2446 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2447 (stackinfo_sub_sp): Likewise.
2448
70bc83b9
L
24492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2450
2451 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2452 RAX_LP.
2453
9bc0b730
L
24542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2455
2456 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2457 into R*_LP.
2458
6d2850e7
L
24592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2460
2461 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2462 sizes into R*_LP.
2463
3cb84561
L
24642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2465
2466 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2467
54e2ed81
L
24682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2469
2470 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2471 into R11_LP and load __x86_64_shared_cache_size_half into
2472 R8_LP.
2473
8a17f349
L
24742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2475
2476 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2477 R8_LP.
2478
777b1eea
AZ
24792012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2480
2481 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2482 logb for POWER7.
2483 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2484 logbf for POWER7.
2485 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2486 logbl for POWER7.
2487 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2488 powerpc32/power7/fpu/s_logb.c via #include.
2489 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2490 powerpc32/power7/fpu/s_logbf.c via #include.
2491 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2492 powerpc32/power7/fpu/s_logbl.c via #include.
2493
d20d4ac2
JM
24942012-05-15 Joseph Myers <joseph@codesourcery.com>
2495
2496 * README.libm: Remove file.
2497
6cdef1ab
L
24982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2499
2500 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2501 count for x32. Use R*_LP and omit operand-size suffix.
2502
0b254d8f
L
25032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2504
2505 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2506 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2507 * sysdeps/x86_64/x32/shlib-versions: New file.
2508
ceb809dc
RM
25092012-05-14 Roland McGrath <roland@hack.frob.com>
2510
2511 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2512 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2513 Use _dl_fatal_printf instead.
2514
37f1abd4
JM
25152012-05-14 Joseph Myers <joseph@codesourcery.com>
2516
2517 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2518 set if not set by the user. Do not allow for being unset.
2519 * sysdeps/unix/sysv/linux/configure: Regenerated.
2520
11de3a33
L
25212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2522
2523 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2524 the `q' suffix from lea and replace .quad with ASM_ADDR.
2525
e02f153a
L
25262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2527
2528 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2529 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2530 instead of $17.
2531 (PTR_DEMANGLE): Likewise.
2532
520ae0fd
L
25332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2534
2535 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2536 (LP_OP): Likewise.
2537 (ASM_ADDR): Likewise.
2538 (RAX_LP): Likewise.
2539 (RBP_LP): Likewise.
2540 (RBX_LP): Likewise.
2541 (RCX_LP): Likewise.
2542 (RDI_LP): Likewise.
2543 (RSI_LP): Likewise.
2544 (RSP_LP): Likewise.
2545 (R8_LP): Likewise.
2546 (R9_LP): Likewise.
2547 (R10_LP): Likewise.
2548 (R10_LP): Likewise.
2549 (R11_LP): Likewise.
2550 (R12_LP): Likewise.
2551 (R13_LP): Likewise.
2552 (R14_LP): Likewise.
2553 (R15_LP): Likewise.
2554
b985be81
L
25552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2556
2557 * sysdeps/x86_64/x32/dl-machine.h: New file.
2558
6a4888ff
AJ
25592012-05-14 Andreas Jaeger <aj@suse.de>
2560
2561 * manual/Makefile (subdir): Remove export of subdir.
2562 (all): Remove target.
2563 (.PHONY): Remove all from list.
2564 (mkinstalldirs): Remove.
2565 (.PHONY): Remove installdirs from list.
2566 ($(inst_infodir)/libc.info): Use make-target-directory.
2567 (installdirs): Remove.
2568 (subdir_%): Remove.
2569 (glibc-targets): Remove.
2570 (lib): Remove.
2571 (stubs): Remove.
2572 ($(objpfx)stubs ../po/manual.pot): Remove.
2573 ($(objpfx)stamp%): Remove.
2574 (make-target-directory): Remove.
2575 (subdir_install): Remove.
2576 (routines): Remove.
2577 (aux): Remove.
2578 (sources): Remove.
2579 (objects): Remove.
2580 (headers): Remove.
2581
2582 [BZ #13750]
2583 * manual/.gitignore: Remove, it's not needed anymore.
2584 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2585 all files in it.
2586 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2587 directory.
2588 (texis): Renamed to $(objpfx)texis.
2589 (texis-path): New, contains path to generated files.
2590 (chapters.%): Use texis-path for complete path, add extra argument
2591 libc-texinfo.sh.
2592 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2593 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2594 (summary,texi, stamp-summary): Use complete path of
2595 files. Generate files in build dir.
2596 (dir-add.texi): Build in build dir.
2597 (libm-err.texi,stamp-libm-err): Likewise.
2598 (version.texi, stamp-version): Likewise.
2599 (.%c.texi): Likewise.
2600 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2601 (mostlyclean): Remove target.
2602 (realclean): Remove target.
2603 (generated): Add new variable with contents from mostlyclean and
2604 realclean, remove entries duplicated in common-mostlyclean, add
2605 stamp-libm-err and stamp-version.
2606 (generated-dirs): Add libc directory.
2607 ($(inst_infodir)/libc.info): Install files from build dir.
2608
2609 * manual/install.texi (Configuring and compiling): Adjust since
2610 the info files are not part of the tar ball anymore.
2611
7ac77294
AJ
26122012-05-14 Andreas Jaeger <aj@suse.de>
2613
2614 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2615 variable.
2616
ffb7875d
JM
26172012-05-14 Joseph Myers <joseph@codesourcery.com>
2618
2619 [BZ #13717]
2620 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2621 to 2.2.0 where earlier.
2622 * sysdeps/unix/sysv/linux/configure: Regenerated.
2623 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2624 Remove conditional code.
2625 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2626 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2627 Remove conditional code.
2628 [!__NR_lchown]: Likewise.
2629 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2630 [__NR_lchown]: Likewise.
2631 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2632 comment referencing __ASSUME_LCHOWN_SYSCALL.
2633 * sysdeps/unix/sysv/linux/i386/sigaction.c
2634 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2635 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2636 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2637 Remove conditional code.
2638 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2639 (__protocol_available): Remove #if 0 code.
2640 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2641 conditional code.
2642 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2643 * sysdeps/unix/sysv/linux/kernel-features.h
2644 (__ASSUME_GETCWD_SYSCALL): Don't define.
2645 (__ASSUME_REALTIME_SIGNALS): Likewise.
2646 (__ASSUME_PREAD_SYSCALL): Likewise.
2647 (__ASSUME_PWRITE_SYSCALL): Likewise.
2648 (__ASSUME_POLL_SYSCALL): Likewise.
2649 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2650 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2651 non-SPARC.
2652 (__ASSUME_SIOCGIFNAME): Don't define.
2653 (__ASSUME_MSG_NOSIGNAL): Likewise.
2654 (__ASSUME_SENDFILE): Define unconditionally.
2655 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2656 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2657 conditional code.
2658 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2659 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2660 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2661 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2662 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2663 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2664 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2666 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2667 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2669 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2670 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2672 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2673 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2675 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2676 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2678 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2679 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2681 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2682 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2684 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2685 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2687 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2688 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2689 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2690 Remove conditional code.
2691 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2692 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2693 Remove conditional code.
2694 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2695 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2696 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2697 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2698 Remove conditional code.
2699 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2700 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2701 Remove conditional code.
2702 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2703 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2704 Remove conditional code.
2705 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2706 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2707 Remove conditional code.
2708 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2709 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2710 Remove conditional code.
2711 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2712 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2713 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2714 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2715 * sysdeps/unix/sysv/linux/sigaction.c
2716 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2717 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2718 * sysdeps/unix/sysv/linux/sigpending.c
2719 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2720 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2721 * sysdeps/unix/sysv/linux/sigprocmask.c
2722 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2723 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2724 * sysdeps/unix/sysv/linux/sigsuspend.c
2725 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2726 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2727 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2728 (__libc_missing_rt_sigs): Remove.
2729 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2730 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2731 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2732 Remove conditional code.
2733 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2734 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2735 return 1.
2736 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2737 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2738 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2739 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2740
1bfb7291
AJ
27412012-05-14 Andreas Jaeger <aj@suse.de>
2742
caae5a81
AJ
2743 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2744 it's not used in glibc.
2745 (__coshm1): Likewise.
2746 (__acosh1p): Likewise.
2747 (__sgn): Likewise.
2748
1bfb7291
AJ
2749 * manual/string.texi (Copying and Concatenation): Add missing
2750 variable in concat example.
2751 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2752
c044d724
L
27532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2754
144c5467 2755 [BZ #14103]
c044d724
L
2756 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2757 __builtin_clzl with __builtin_clzll.
2758
2523c62b
L
27592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2760
2761 [BZ #14104]
2762 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2763 libc_freeres_ptr.
2764
d7bb4c42
LD
27652012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2766
2767 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2768 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2769 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2770 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2771
9dc4e1fb
MF
27722012-05-14 Mike Frysinger <vapier@gentoo.org>
2773
2774 * NEWS: Update ia64 info.
2775
c7df0112
AS
27762012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2777
2778 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2779 used as bcopy.
2780
dc70356c
TS
27812012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2782
2783 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2784 * sysdeps/unix/syscalls.list (dup3): Likewise.
2785 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2786 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2787
9fb1a21f
L
27882012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2789
2790 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2791 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2792
4822a2a5
L
27932012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2794
2795 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2796 thread pointer.
2797 (TLS_IE): Use mov/add instead of movq/addq to load thread
2798 pointer.
2799 (TLS_GD_PREFIX): New.
2800 (TLS_GD): Use it.
2801
842b81d6
DM
28022012-05-11 David S. Miller <davem@davemloft.net>
2803
2804 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2805 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2806 (_FPU_SETCW): Likewise.
2807
1cf463cd
L
28082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2809
2810 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2811 is 32-byte aligned.
2812
60cc4a18
AS
28132012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2814
2815 [BZ #11837]
2816 * iconvdata/gb18030.c: Update tables.
2817 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2818 characters specially.
2819 (BODY for TO_LOOP): Add encoding of missing ranges.
2820
febb44a4
TS
28212012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2822
2823 [BZ #13673]
2824 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2825 * sysdeps/mach/hurd/dup3.c: Likewise.
2826 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2827 * sysdeps/powerpc/memmove.c:: Likewise.
2828
0a10fb9e
L
28292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2830
2831 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2832 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2833
df8a552f
L
28342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2835
2836 * elf/elf.h (R_X86_64_RELATIVE64): New.
2837 (R_X86_64_NUM): Updated.
2838 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2839 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2840 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2841 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2842 tst-quad1pie tst-quad2pie
2843 (modules-names): Add tst-quadmod1 tst-quadmod2.
2844 ($(objpfx)tst-quad1): New dependency.
2845 ($(objpfx)tst-quad2): Likewise.
2846 ($(objpfx)tst-quad1pie): Likewise.
2847 ($(objpfx)tst-quad2pie): Likewise.
2848 * sysdeps/x86_64/tst-quad1.c: New file.
2849 * sysdeps/x86_64/tst-quad1pie.c: New file.
2850 * sysdeps/x86_64/tst-quad2.c: Likewise.
2851 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2852 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2853 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2854 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2855 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2856
f34d6f84
ST
28572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2858
f42d41d1
ST
2859 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2860 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2861 * streams/stropts.h (t_scalar_t): Define type.
2862
3c3571fc
ST
2863 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2864 (_PATH_PRESERVE): Set to "/var/lib".
2865 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2866
61f06bd3
ST
2867 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2868 instead of int.
2869
918d4d71
ST
2870 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2871 if __dir_mkfile succeeded.
2872
f34d6f84
ST
2873 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2874 checking for _hurd_dtablesize. Unlock it right after having
2875 finished _hurd_dtable allocation.
2876
10589b4a
TS
28772012-05-10 Thomas Schwinge <thomas@schwinge.name>
2878
674cdbc7
TS
2879 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2880 * sysdeps/mach/hurd/configure: Regenerated.
2881 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2882 special-casing to...
2883 * sysdeps/gnu/configure.in: ... this new file.
2884 * sysdeps/unix/sysv/linux/configure: Regenerated.
2885 * sysdeps/gnu/configure: New generated file.
2886
8e41b99f
TS
2887 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2888 for Linux: use nsec instead of usec, as well as:
2889 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2890 members of type struct timespec.
2891 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2892 New macros.
2893 (struct stat64): Likewise.
2894 (_STATBUF_ST_NSEC): New macro.
2895 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2896
10589b4a
TS
2897 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2898 __strtoul_internal rather than strtoul.
2899
63643c85
PT
29002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2901
2902 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2903 and reject them.
2904
3faebe6a
ST
29052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2906
2907 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2908 which preserves existing values.
2909 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2910
c6474b07
PT
29112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2912
2913 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2914 TIMEOUT values. Return EINVAL for NFDS values either negative or
2915 greater than FD_SETSIZE.
2916
1043890b
ST
29172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2918
2919 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2920 allocated, call __vm_protect to finish enabling the existing space, and
2921 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2922 allocate the remainder.
2923
37ed8b9b
PT
29242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2925
2926 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2927 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2928
db653660
ST
29292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2930
37ed8b9b
PT
2931 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2932 sysdeps/mach/hurd/readlink.c.
b29d4053 2933
db653660
ST
2934 * posix/tst-sysconf.c (posix_options): Only use
2935 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2936 _POSIX_SYNCHRONIZED_IO when they are defined
2937 * sysdeps/mach/hurd/bits/posix_opt.h:
2938 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2939 (_XOPEN_REALTIME): Undefine macro.
2940 (_XOPEN_REALTIME_THREADS): Undefine macro.
2941 (_XOPEN_SHM): Undefine macro.
2942 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2943 macro to -1.
2944 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2945 macro to -1.
2946 (_POSIX_ASYNC_IO): Undefine macro.
2947 (_POSIX_PRIORITIZED_IO): Undefine macro.
2948 (_POSIX_SPIN_LOCKS): Define macro to -1.
2949
ee16e894
ST
2950 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2951 SA_NODEFER, SA_RESETHAND.
2952 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2953 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2954 F_DUPFD_CLOEXEC.
2955
6103ae3b
TS
29562012-05-10 Thomas Schwinge <thomas@schwinge.name>
2957
2958 * elf/Makefile (pldd-modules): Define unconditionally.
2959
80b4e5f3
TS
29602012-05-10 Thomas Schwinge <thomas@schwinge.name>
2961
2962 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2963
edadcbd6
ST
29642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2965
2966 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2967 Return ENOENT when name is empty.
2968 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2969
80694780
TS
29702012-05-10 Thomas Schwinge <thomas@schwinge.name>
2971
1792c087
TS
2972 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2973
80694780
TS
2974 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2975
6b645f0d
ST
29762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2977
80694780
TS
2978 Fix mlock in all cases except non-readable pages.
2979 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2980 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2981
6b645f0d
ST
2982 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2983 (__mkdir): When path is `/', just fail with EEXIST.
2984 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2985
e468f8a3
TS
29862012-05-10 Thomas Schwinge <thomas@schwinge.name>
2987
2988 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2989 <sys/uio.h> (for writev).
2990 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2991 and <sys/param.h> (for MIN).
2992
a4186cff
PT
29932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2994
2995 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2996 REQUESTED_TIME. Properly set the remaining time and return EINTR
2997 if interrupted.
2998
510bbf14
TS
29992012-05-10 Thomas Schwinge <thomas@schwinge.name>
3000
3001 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3002 Depend on against $(link-rpcuserlibs).
3003
5d5722e8
ST
30042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3005
a4186cff
PT
3006 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3007 (__libc_stack_end): Do not use attribute_relro.
3008 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3009 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 3010 to libthread-provided value.
a4186cff
PT
3011 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3012 attribute_relro.
5d5722e8 3013
37233df9
TS
30142012-05-10 Thomas Schwinge <thomas@schwinge.name>
3015
be971a2b
TS
3016 [BZ #3748]
3017 * bits/libc-lock.h (__libc_once_get): New macro.
3018 * sysdeps/mach/bits/libc-lock.h: Likewise.
3019 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3020 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3021 instead of using implementation details.
3022
37233df9
TS
3023 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3024 * libio/freopen.c: Likewise.
3025 * libio/freopen64.c: Likewise.
3026 * misc/syslog.c: Likewise.
3027 * nscd/connections.c: Likewise.
3028 * nscd/netgroupcache.c: Likewise.
3029 * sysdeps/posix/getcwd.c: Likewise.
3030
38de94a5
RM
30312012-05-10 Roland McGrath <roland@hack.frob.com>
3032
3033 * math/w_ilogbf.c: Add #include <limits.h>.
3034
67530489
ST
30352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3036
a4186cff 3037 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
3038 path instead of returning without unlocking.
3039
67530489
ST
3040 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3041 immediate-write ioctls.
3042 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3043
5aa3a74a
TS
30442012-05-10 Thomas Schwinge <thomas@schwinge.name>
3045
18bad2ae
TS
3046 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3047 __builtin_frame_address instead of making assumptions about the
3048 location of the return address relative to DATA. Force early load of
3049 the return address.
3050 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3051 __builtin_frame_address.
3052
5aa3a74a
TS
3053 dup3 for GNU Hurd.
3054 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3055 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3056 implement dup3 and do some further code clean-ups.
3057 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3058 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3059
ecd0de9a
ST
30602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3061
cd9fa985
ST
3062 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3063
a4186cff
PT
3064 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3065 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3066 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3067 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3068 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3069 d->port.lock.
802ca5a5 3070
a4186cff
PT
3071 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3072 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3073 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3074
bcf55240
TS
30752012-05-10 Thomas Schwinge <thomas@schwinge.name>
3076
6960eb42
TS
3077 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3078 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3079 definitions.
3080
eb43375f
TS
3081 accept4 for GNU Hurd.
3082 * include/sys/socket.h (__libc_accept4): New prototype.
3083 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3084 to implement __libc_accept4.
3085 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3086 __libc_accept4.
3087 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3088
bcf55240
TS
3089 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3090 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3091 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3092 signal-defines.sym.
3093
6178c55b
ST
30942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3095
a4186cff 3096 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3097
6f080c2f
TS
30982012-05-10 Thomas Schwinge <thomas@schwinge.name>
3099
3100 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3101 assertion on O_CLOEXEC flag.
3102 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3103 * hurd/intern-fd.c: Likewise.
3104 * hurd/port2fd.c: Likewise.
3105
bcfe3a54
ST
31062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3107
3108 [BZ #3906]
3109 * bits/in.h (IPV6_PKTINFO): Define new macro.
3110 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3111
89c9aa49
AZ
31122012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3113
3114 [BZ #13954]
3115 [BZ #13955]
3116 [BZ #13956]
3117 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3118 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3119 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3120 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3121 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3122 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3123 * math/libm-test.inc (logb_test) : Additional logb tests.
3124
021db4be
AJ
31252012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3126 Andreas Jaeger <aj@suse.de>
3127
3128 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3129 * configure: Regenerated.
3130 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3131 * config.make.in (link-obsolete-rpc): New substituted variable.
3132 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3133 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3134 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3135 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3136 so that libc.a contains the symbols.
3137 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3138 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3139 * sunrpc/auth_none.c: Likewise.
3140 * sunrpc/auth_unix.c: Likewise.
3141 * sunrpc/authdes_prot.c: Likewise.
3142 * sunrpc/authuxprot.c: Likewise.
3143 * sunrpc/clnt_gen.c: Likewise.
3144 * sunrpc/clnt_perr.c: Likewise.
3145 * sunrpc/clnt_raw.c: Likewise.
3146 * sunrpc/clnt_simp.c: Likewise.
3147 * sunrpc/clnt_tcp.c: Likewise.
3148 * sunrpc/clnt_udp.c: Likewise.
3149 * sunrpc/clnt_unix.c: Likewise.
3150 * sunrpc/des_crypt.c: Likewise.
3151 * sunrpc/des_soft.c: Likewise.
3152 * sunrpc/get_myaddr.c: Likewise.
3153 * sunrpc/key_call.c: Likewise.
3154 * sunrpc/key_prot.c: Likewise.
3155 * sunrpc/netname.c: Likewise.
3156 * sunrpc/pm_getmaps.c: Likewise.
3157 * sunrpc/pm_getport.c: Likewise.
3158 * sunrpc/pmap_clnt.c: Likewise.
3159 * sunrpc/pmap_prot.c: Likewise.
3160 * sunrpc/pmap_prot2.c: Likewise.
3161 * sunrpc/pmap_rmt.c: Likewise.
3162 * sunrpc/publickey.c: Likewise.
3163 * sunrpc/rpc_cmsg.c: Likewise.
3164 * sunrpc/rpc_common.c: Likewise.
3165 * sunrpc/rpc_dtable.c: Likewise.
3166 * sunrpc/rpc_prot.c: Likewise.
3167 * sunrpc/rpc_thread.c: Likewise.
3168 * sunrpc/rtime.c: Likewise.
3169 * sunrpc/svc.c: Likewise.
3170 * sunrpc/svc_auth.c: Likewise.
3171 * sunrpc/svc_raw.c: Likewise.
3172 * sunrpc/svc_run.c: Likewise.
3173 * sunrpc/svc_tcp.c: Likewise.
3174 * sunrpc/svc_udp.c: Likewise.
3175 * sunrpc/svc_unix.c: Likewise.
3176 * sunrpc/svcauth_des.c: Likewise.
3177 * sunrpc/xcrypt.c: Likewise.
3178 * sunrpc/xdr.c: Likewise.
3179 * sunrpc/xdr_array.c: Likewise.
3180 * sunrpc/xdr_float.c: Likewise.
3181 * sunrpc/xdr_intXX_t.c: Likewise.
3182 * sunrpc/xdr_mem.c: Likewise.
3183 * sunrpc/xdr_rec.c: Likewise.
3184 * sunrpc/xdr_ref.c: Likewise.
3185 * sunrpc/xdr_sizeof.c: Likewise.
3186 * sunrpc/xdr_stdio.c: Likewise.
3187
b5c086a2
RM
31882012-05-10 Roland McGrath <roland@hack.frob.com>
3189
3190 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3191 change. Update copyright years.
3192
6d74dd09
JM
31932012-05-10 Joseph Myers <joseph@codesourcery.com>
3194
3195 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3196
28e72501
MK
31972012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3198 Joseph Myers <joseph@codesourcery.com>
3199 Paul Pluzhnikov <ppluzhnikov@google.com>
3200
3201 [BZ #14012]
3202 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3203 requiring rpcgen.
3204 [cross-compiling] (extra-libs): Likewise.
3205 [cross-compiling] (extra-libs-others): Likewise.
3206 [cross-compiling] (librpcsvc-routines): Likewise.
3207 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3208 [cross-compiling] (omit-deps): Likewise.
3209 (sunrpc-CPPFLAGS): New variable.
3210 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3211 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3212 (cross-rpcgen-objs): New variable.
3213 (extra-objs): Append $(cross-rpcgen-objs).
3214 ($(cross-rpcgen-objs)): New rule.
3215 ($(objpfx)cross-rpcgen): Likewise.
3216 (rpcgen-cmd): Define to use $(built-program-file). Expand
3217 comment.
3218 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3219 ($(objpfx)x%.stmp): Likewise.
3220 * sunrpc/proto.h [IS_IN_build] (_): Define.
3221 [IS_IN_build] (_libc_intl_domainname): Likewise.
3222
c8c59454
L
32232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3224
3225 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3226 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3227 and R_X86_64_TPOFF64.
3228
6f27cd16
JM
32292012-05-10 Joseph Myers <joseph@codesourcery.com>
3230
3231 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3232 sysdeps/unix/sysv/syscalls.list.
3233 (stime): Likewise.
3234 (utime): Likewise.
3235 * sysdeps/unix/sysv/syscalls.list: Remove file.
3236
02467e1c
PE
32372012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3238
3239 [BZ #3440]
3240 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3241 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3242 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3243 (__LC_IDENTIFICATION): Make these macros useful in #if
3244 expressions, as required by C99.
3245
da392631
AS
32462012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3247
3248 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3249 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3250 after this.
3251
8115f29b
L
32522012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3253
3254 * stdlib/longlong.h: Updated from GCC.
3255
bdd74070
AJ
32562012-05-09 Andreas Jaeger <aj@suse.de>
3257
edfe0dbe
AJ
3258 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3259 default is first entry.
3260 (run_mode): Set type.
3261 (main): Remove informal message about syslog.
3262 (options): Fix typo.
3263
bcfe3a54
ST
3264 [BZ #14053]
3265 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3266 to asm.
bcfe3a54
ST
3267 (lrint): Likewise.
3268 (llrintf): Likewise.
3269 (llrint): Likewise.
3270 (rint): Likewise.
3271 (rintf): Likewise.
3272 (nearbyint): Likewise.
3273 (nearbyintf): Likewise.
bdd74070 3274
91d8d69e
AJ
32752012-05-09 Andreas Jaeger <aj@suse.de>
3276 Pedro Alves <palves@redhat.com>
3277
3278 * nscd/nscd.c (run_mode): Use enum.
3279 (main): Cleanup coding style issue.
3280
bb90b80b
AJ
32812012-05-09 Alexandre Oliva <aoliva@redhat.com>
3282 Andreas Jaeger <aj@suse.de>
3283
bcfe3a54
ST
3284 * nscd/nscd.c (go_background): Replaced with...
3285 (run_mode): ... this.
bb90b80b 3286 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3287 (options): Add -F --foreground.
3288 (main): Implement it.
3289 (parse_opt): Parse it.
bb90b80b 3290
1a4b75a1
AJ
32912012-05-09 Andreas Jaeger <aj@suse.de>
3292
3293 [BZ #14083]
3294 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3295 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3296 -Wconversion warning.
3297 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3298 Likewise.
3299
b1cc2472
JM
33002012-05-09 Joseph Myers <joseph@codesourcery.com>
3301
3302 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3303 == 0.
3304 (LC_ALL): Use macro-int-constant.
3305 (LC_COLLATE): Likewise.
3306 (LC_CTYPE): Likewise.
3307 (LC_MESSAGES): Likewise.
3308 (LC_MONETARY): Likewise.
3309 (LC_NUMERIC): Likewise.
3310 (LC_TIME): Likewise.
3311 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3312 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3313 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3314 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3315 Specify type.
3316 [C99-based standards] (float_t): Expect type.
3317 [C99-based standards] (double_t): Expect type.
3318 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3319 type.
3320 [C99-based standards] (HUGE_VALL): Likewise.
3321 [C99-based standards] (INFINITY): Likewise.
3322 [C99-based standards] (NAN): Likewise.
3323 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3324 [C99-based standards] (FP_NAN): Likewise.
3325 [C99-based standards] (FP_NORMAL): Likewise.
3326 [C99-based standards] (FP_SUBNORMAL): Likewise.
3327 [C99-based standards] (FP_ZERO): Likewise.
3328 [C99-based standards] (FP_FAST_FMA): Use
3329 optional-macro-int-constant. Specify type. Require == 1.
3330 [C99-based standards] (FP_FAST_FMAF): Likewise.
3331 [C99-based standards] (FP_FAST_FMAL): Likewise.
3332 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3333 [C99-based standards] (FP_ILOGBNAN): Likewise.
3334 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3335 Specify type.
3336 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3337 [C99-based standards] (math_errhandling): Specify type.
3338 [ISO99 || ISO11] (signgam): Do not allow.
3339 [non-C99-based standards] (copysignf): Do not allow.
3340 [non-C99-based standards] (exp2f): Likewise.
3341 [non-C99-based standards] (log2f): Likewise.
3342 [non-C99-based standards] (modff): Allow.
3343 [non-C99-based standards] (erff): Do not allow.
3344 [non-C99-based standards] (erfcf): Likewise.
3345 [non-C99-based standards] (gammaf): Likewise.
3346 [non-C99-based standards] (hypotf): Likewise.
3347 [non-C99-based standards] (j0f): Likewise.
3348 [non-C99-based standards] (j1f): Likewise.
3349 [non-C99-based standards] (jnf): Likewise.
3350 [non-C99-based standards] (lgammaf): Likewise.
3351 [non-C99-based standards] (tgammaf): Likewise.
3352 [non-C99-based standards] (y0f): Likewise.
3353 [non-C99-based standards] (y1f): Likewise.
3354 [non-C99-based standards] (ynf): Likewise.
3355 [non-C99-based standards] (isnanf): Likewise.
3356 [non-C99-based standards] (acoshf): Likewise.
3357 [non-C99-based standards] (asinhf): Likewise.
3358 [non-C99-based standards] (atanhf): Likewise.
3359 [non-C99-based standards] (cbrtf): Likewise.
3360 [non-C99-based standards] (expm1f): Likewise.
3361 [non-C99-based standards] (ilogbf): Likewise.
3362 [non-C99-based standards] (log1pf): Likewise.
3363 [non-C99-based standards] (logbf): Likewise.
3364 [non-C99-based standards] (nextafterf): Likewise.
3365 [non-C99-based standards] (remainderf): Likewise.
3366 [non-C99-based standards] (rintf): Likewise.
3367 [non-C99-based standards] (scalbf): Likewise.
3368 [non-C99-based standards] (copysignl): Likewise.
3369 [non-C99-based standards] (exp2l): Likewise.
3370 [non-C99-based standards] (log2l): Likewise.
3371 [non-C99-based standards] (modfl): Allow.
3372 [non-C99-based standards] (erfl): Do not allow.
3373 [non-C99-based standards] (erfcl): Likewise.
3374 [non-C99-based standards] (gammal): Likewise.
3375 [non-C99-based standards] (hypotl): Likewise.
3376 [non-C99-based standards] (j0l): Likewise.
3377 [non-C99-based standards] (j1l): Likewise.
3378 [non-C99-based standards] (jnl): Likewise.
3379 [non-C99-based standards] (lgammal): Likewise.
3380 [non-C99-based standards] (tgammal): Likewise.
3381 [non-C99-based standards] (y0l): Likewise.
3382 [non-C99-based standards] (y1l): Likewise.
3383 [non-C99-based standards] (ynl): Likewise.
3384 [non-C99-based standards] (isnanl): Likewise.
3385 [non-C99-based standards] (acoshl): Likewise.
3386 [non-C99-based standards] (asinhl): Likewise.
3387 [non-C99-based standards] (atanhl): Likewise.
3388 [non-C99-based standards] (cbrtl): Likewise.
3389 [non-C99-based standards] (expm1l): Likewise.
3390 [non-C99-based standards] (ilogbl): Likewise.
3391 [non-C99-based standards] (log1pl): Likewise.
3392 [non-C99-based standards] (logbl): Likewise.
3393 [non-C99-based standards] (nextafterl): Likewise.
3394 [non-C99-based standards] (remainderl): Likewise.
3395 [non-C99-based standards] (rintl): Likewise.
3396 [non-C99-based standards] (scalbl): Likewise.
3397 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3398 [non-C99-based standards] (FP_*): Do not allow.
3399 [C99-based standards] (FP_*): Change to
3400 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3401 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3402 allow.
3403 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3404 (SIG_ERR): Likewise.
3405 [X/Open-based standards] (SIG_HOLD): Likewise.
3406 (SIG_IGN): Likewise.
3407 (SIGABRT): Use macro-int-constant. Specify type. Require
3408 positive value.
3409 (SIGFPE): Likewise.
3410 (SIGILL): Likewise.
3411 (SIGINT): Likewise.
3412 (SIGSEGV): Likewise.
3413 (SIGTER): Likewise.
3414 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3415 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3416 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3417 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3418 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3419 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3420 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3421 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3422 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3423 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3424 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3425 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3426 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3427 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3428 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3429 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3430 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3431 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3432 [X/Open-based standards] (SIGTRAP): Likewise.
3433 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3434 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3435 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3436 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3437 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3438 allow.
3439
b9f1922d
IW
34402012-05-08 Ian Wienand <ianw@vmware.com>
3441
3442 [BZ #14080]
3443 * time/tzset.c (__tzset_parse_tz): Update default rules for
3444 daylight time changes in the Energy Policy Act of 2005.
3445
1db86e88
AJ
34462012-05-09 Andreas Jaeger <aj@suse.de>
3447
3448 [BZ #13983]
3449 * elf/ldconfig.c (parse_conf): Change string to make clear that
3450 ldconfig only issued a warning if ld.so.conf does not exist.
3451
dee4a4e3
DM
34522012-05-08 David S. Miller <davem@davemloft.net>
3453
ee0db190
DM
3454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3455 movxtod instead of popping the value on the stack.
3456
dee4a4e3
DM
3457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3458
6a43ec98
CD
34592012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3460
3461 * config.h.in: Add HAVE_ARM_PCS_VFP.
3462
05c2c961
RMG
34632012-05-08 Roland Mc Grath <roland@hack.frob.com>
3464
bcfe3a54
ST
3465 [BZ #13979]
3466 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3467 checking but the checks are disabled for any reason.
05c2c961 3468
4b30f61a
L
34692012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3470
3471 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3472 and ELF64_R_TYPE with ELFW(R_TYPE).
3473
eee2bc67
JM
34742012-05-08 Joseph Myers <joseph@codesourcery.com>
3475
7ea5391a
JM
3476 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3477 (ulimit): Likewise.
3478
eee2bc67
JM
3479 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3480 (settimeofday): Likewise.
3481
abb66a67
MF
34822012-05-08 Mike Frysinger <vapier@gentoo.org>
3483
3484 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3485 a struct th_u2 inside the union, and move tu_block/tu_code into
3486 a new th_u3 union of tu_block/tu_code inside of that. Move
3487 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3488 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3489 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3490 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3491 (th_stuff): Change to th_u1.tu_stuff.
3492 (th_data): Define.
3493 (th_msg): Change to th_u1.th_u2.tu_data.
3494
7f18b530
DM
34952012-05-07 David S. Miller <davem@davemloft.net>
3496
05760585
DM
3497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3498
7f18b530
DM
3499 [BZ #14074]
3500 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3501 (SETUP_PIC_REG): Use it.
3502 (SETUP_PIC_REG_LEAF): Use it.
3503
495fd99f
JM
35042012-05-07 Joseph Myers <joseph@codesourcery.com>
3505
3506 [BZ #13885]
3507 [BZ #13923]
3508 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3509 USE_AS_EXPM1L.
3510 (EXPL_FINITE): Likewise.
3511 (FLDLOG): Likewise.
3512 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3513 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3514 e_expl.S.
3515 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3516 USE_AS_EXPM1L.
3517 (EXPL_FINITE): Likewise.
3518 (FLDLOG): Likewise.
3519 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3520 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3521 e_expl.S.
3522 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3523 test of -max_value argument for long double.
3524 * sysdeps/i386/fpu/libm-test-ulps: Update.
3525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3526
6693d694
DM
35272012-05-06 David S. Miller <davem@davemloft.net>
3528
3529 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3530 quad soft-float symbols whose references which are compiler
3531 generated.
3532 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3533
6c23e11c
JM
35342012-05-06 Joseph Myers <joseph@codesourcery.com>
3535
d8b82cad
JM
3536 [BZ #13884]
3537 [BZ #13914]
3538 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3539 USE_AS_EXP10L.
3540 (EXPL_FINITE): Likewise.
3541 (FLDLOG): Likewise.
3542 (c0): Likewise.
3543 (c1): Likewise.
3544 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3545 Adjust comments for base varying.
3546 (__expl_finite): Change alias to EXPL_FINITE.
3547 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3548 e_expl.S.
3549 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3550 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3551 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3552 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3553 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3554 USE_AS_EXP10L.
3555 (EXPL_FINITE): Likewise.
3556 (FLDLOG): Likewise.
3557 (c0): Likewise.
3558 (c1): Likewise.
3559 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3560 Adjust comments for base varying.
3561 (__expl_finite): Change alias to EXPL_FINITE.
3562 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3563 tests for bugs.
3564 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3565
6c23e11c
JM
3566 [BZ #14064]
3567 * math/libm-test.inc (check_float_internal): Correct ulp
3568 calculation for subnormal expected results.
3569
29ba805c
AJ
35702012-05-06 Andreas Jaeger <aj@suse.de>
3571
3572 * Makeconfig (+math-flags): New, set to -frounding-math.
3573 (+cflags): Add +math-flags so that all of glibc gets compiled with
3574 it.
3575
3576 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3577
7b17aeda
JM
35782012-05-05 Joseph Myers <joseph@codesourcery.com>
3579
5779f134
JM
3580 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3581 Disable one test.
3582
41498f4d
JM
3583 [BZ #13787]
3584 [BZ #13922]
3585 [BZ #14036]
3586 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3587 (__ieee754_expl): Allow for and saturate large arguments.
3588 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3589 (u_threshold): Likewise.
3590 (__exp): Call __ieee754_exp before checking for overflow and
3591 underflow.
3592 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3593 (u_threshold): Likewise.
3594 (__expf): Call __ieee754_expf before checking for overflow and
3595 underflow.
3596 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3597 (u_threshold): Likewise.
3598 (__expl): Call __ieee754_expl before checking for overflow and
3599 underflow.
3600 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3601 (__ieee754_expl): Allow for and saturate large arguments.
3602 * math/libm-test.inc (exp_test): Add another test. Do not allow
3603 missing overflow exception on overflow.
3604 (expm1_test): Do not allow missing overflow exception on overflow.
3605
6698b8bf
JM
3606 * sysdeps/i386/fpu/e_expl.c: Move to ...
3607 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3608 rather than using inline asm.
3609 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3610 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3611 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3612
7b17aeda
JM
3613 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3614 (nice): Likewise.
3615 (poll): Likewise.
3616 (signal): Likewise.
3617 (time): Likewise.
3618 (times): Likewise.
3619
f7c85819
JM
36202012-05-04 Joseph Myers <joseph@codesourcery.com>
3621
3622 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3623 sysdeps/unix/common/syscalls.list.
3624 (fchmod): Likewise.
3625 (fchown): Likewise.
3626 (ftruncate): Likewise.
3627 (getrusage): Likewise.
3628 (gettimeofday): Likewise.
3629 (setpgid): Likewise.
3630 (setregid): Likewise.
3631 (setreuid): Likewise.
3632 (sigaction): Likewise.
3633 (truncate): Likewise.
3634 (vhangup): Likewise.
3635 * sysdeps/unix/common/syscalls.list: Remove file.
3636 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3637 * sysdeps/unix/sysv/linux/Implies: Likewise.
3638
336270d0
L
36392012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3640
3641 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3643 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3644 Moved to ...
3645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3646 Here.
3647 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3648 to ...
3649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3650 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3651 to ...
3652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3653 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3654 to ...
3655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3656 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3657 to ...
3658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3659 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3660 to ...
3661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3662 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3663 to ...
3664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3665 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3666 to ...
3667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3668 Here.
3669 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3670 to ...
3671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3672 Here.
3673 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3674 to ...
3675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3676 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3677 Moved to ...
3678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3679 Here.
3680 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3681 to ...
3682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3683
d128e450
JM
36842012-05-04 Joseph Myers <joseph@codesourcery.com>
3685
fa8ee516
JM
3686 * sysdeps/unix/common/bits/dirent.h: Remove file.
3687 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3688
d128e450
JM
3689 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3690 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3691 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3692 * sysdeps/unix/bsd/isatty.c: Likewise.
3693 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3694 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3695 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3696
ff8faaf0 36972012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3698
62881be4 3699 [BZ #13563]
31dc8730
AZ
3700 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3701 long double comparison inaccuracies.
3702 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3704
6fef930c
AS
37052012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3706
3707 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3708 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3709
8f203e6c
JM
37102012-05-04 Joseph Myers <joseph@codesourcery.com>
3711
3712 [BZ #14049]
3713 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3714 nonzero digits before rounding a hex value.
3715 * stdlib/tst-strtod.c (tests): Add another test.
3716
5197d9c2
AK
37172012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3718
3719 * sysdeps/s390/fpu/libm-test-ulps: Update.
3720
f0c1dedf
AJ
37212012-05-03 Andreas Jaeger <aj@suse.de>
3722
3723 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3724 does not get optimized out.
3725 (malloc_opt_barrier): New.
3726
a65ef2ae 37272012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3728 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3729
2b942cb7 3730 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3731 intermediate file deletion.
2b942cb7 3732 (generated): Add .symlist files.
a65ef2ae 3733
54b71e02
JM
37342012-05-03 Joseph Myers <joseph@codesourcery.com>
3735
3736 [BZ #13775]
3737 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3738 Redirect under this condition.
3739 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3740 [__USE_GNU] (__dprintf_chk): Not under this condition.
3741 [__USE_GNU] (__vdprintf_chk): Likewise.
3742 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3743 under this condition.
3744 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3745 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3746 [__USE_XOPEN2K8] (vdprintf): Likewise.
3747 [__USE_GNU] (__dprintf_chk): Not under this condition.
3748 [__USE_GNU] (__vdprintf_chk): Likewise.
3749 [__USE_GNU] (dprintf): Likewise.
3750 [__USE_GNU] (vdprintf): Likewise.
3751
d3dfcc41
RM
37522012-05-03 Roland McGrath <roland@hack.frob.com>
3753
3754 * elf/Makefile (common-generated): Set this instead of generated for
3755 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3756 $(all-built-dso)-derived lists.
3757
7ac30cc5
AJ
37582012-05-03 Andreas Jaeger <aj@suse.de>
3759
0c51e550
AJ
3760 * sysdeps/i386/fpu/libm-test-ulps: Update.
3761
7ac30cc5
AJ
3762 * FAQ: Removed.
3763 * FAQ.in: Likewise.
3764 * scripts/gen-FAQ.pl: Likewise.
3765 * manual/install.texi (Installation): Point to online location of
3766 FAQ.
3767 * Makefile (files-for-dist): Remove FAQ.
3768 (FAQ): Remove.
3769
d4c2917f
AM
37702012-05-02 Allan McRae <allan@archlinux.org>
3771
3772 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3773 (LDFLAGS-reldepmod5.so): Likewise.
3774 (LDFLAGS-reldep6mod1.so): Likewise.
3775 (LDFLAGS-reldep6mod4.so): Likewise.
3776 (LDFLAGS-reldep8mod3.so): Likewise.
3777 (LDFLAGS-unload4mod1.so): Likewise.
3778 (LDFLAGS-unload4mod2.so): Likewise.
3779 (LDFLAGS-tst-initorder): Likewise.
3780 (LDFLAGS-tst-initordera2.so): Likewise.
3781 (LDFLAGS-tst-initordera3.so): Likewise.
3782 (LDFLAGS-tst-initordera4.so): Likewise.
3783 (LDFLAGS-tst-initorderb2.so): Likewise.
3784 (LDFLAGS-noload): Likewise.
3785 (LDFLAGS-next): Likewise.
3786 (LDFLAGS-order2mod1.so): Likewise.
3787 (LDFLAGS-order2mod2.so): Likewise.
3788 (LDFLAGS-tst-initorder2): Likewise.
3789 (LDFLAGS-tst-initorder2a.so): Likewise.
3790 (LDFLAGS-tst-initorder2b.so): Likewise.
3791 (LDFLAGS-tst-initorder2c.so): Likewise.
3792 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3793
d77f993f
DM
37942012-05-02 David S. Miller <davem@davemloft.net>
3795
3796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3797
171a70b4
PP
37982012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3799
3800 [BZ #14055]
3801 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3802
0be196ad
AJ
38032012-05-02 Andreas Jaeger <aj@suse.de>
3804
3805 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3806 since we manipulate rounding mode.
3807 (CPPFLAGS-test-idouble.c): Likewise.
3808 (CPPFLAGS-test-ifloat.c): Likewise.
3809 (CFLAGS-test-ldouble.c): Likewise.
3810 (CFLAGS-test-double.c): Likewise.
3811 (CFLAGS-test-float.c): Likewise.
3812 (CFLAGS-test-misc.c): Likewise.
3813 (CFLAGS-test-test-fenv.c): Likewise.
3814
4f9d04aa
AZ
38152012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3816
2b942cb7
RM
3817 [BZ #2550]
3818 [BZ #2570]
3819 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3820 comparisons to determine direction to adjust input.
4f9d04aa 3821
82a79e7d
RM
38222012-05-01 Roland McGrath <roland@hack.frob.com>
3823
f5a01ca9
RM
3824 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3825 output to the target.
3826
90fe4186
RM
3827 * scripts/localplt.awk: New file.
3828 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3829 (check-localplt-CFLAGS): Variable removed.
3830 ($(all-built-dso:=.jmprel)): New static pattern rule.
3831 (generated): Add those targets.
3832 (localplt-built-dso): New variable.
3833 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3834
3835 * elf/check-localplt.c: File removed.
3836
82397ed6
RM
3837 * scripts/check-execstack.awk: New file.
3838 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3839 (check-execstack-CFLAGS): Variable removed.
3840 ($(objpfx)check-execstack.h): Target removed.
3841 ($(objpfx)execstack-default): New target.
3842 (generated): Add that instead of check-execstack.h.
3843 ($(all-built-dso:=.phdr)): New static pattern rule.
3844 (generated): Add those targets.
3845 * elf/check-execstack.c: File removed.
3846
82a79e7d
RM
3847 * scripts/check-textrel.awk: New file.
3848 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3849 (check-textrel-CFLAGS): Variable removed.
3850 (all-built-dso): Use := to define.o
3851 ($(all-built-dso:=.dyn)): New static pattern rule.
3852 (generated): Add those targets.
3853 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3854 * config.make.in (READELF): New substituted variable.
3855 * elf/check-textrel.c: File removed.
3856
62fde54f 38572012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3858
615605c9
JM
3859 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3860 allow.
3861 * conform/data/ctype.h-data [C99-based standards] (isblank):
3862 Expect function.
3863 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3864 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3865 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3866 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3867 Specify type. Require positive value.
3868 (EILSEQ): Likewise.
3869 (ERANGE): Likewise.
3870 [ISO || POSIX] (EILSEQ): Do not expect.
3871 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3872 Specify type. Require positive value.
3873 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3874 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3875 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3876 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3877 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3878 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3879 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3880 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3881 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3882 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3883 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3884 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3885 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3886 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3887 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3888 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3889 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3890 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3891 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3892 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3893 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3894 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3895 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3896 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3897 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3898 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3899 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3900 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3901 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3902 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3903 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3904 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3905 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3906 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3907 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3908 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3909 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3910 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3911 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3912 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3913 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3914 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3915 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3916 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3917 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3918 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3919 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3920 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3921 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3922 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3923 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3924 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3925 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3926 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3927 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3928 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3929 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3930 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3931 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3932 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3933 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3934 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3935 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3936 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3937 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3938 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3939 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3940 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3941 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3942 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3943 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3944 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3945 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3946 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3947 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3948 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3949 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3950 Require >= 2.
3951 (FLT_ROUNDS): Expect as macro, not constant.
3952 (FLT_MANT_DIG): Use macro-int-constant.
3953 (DBL_MANT_DIG): Likewise.
3954 (LDBL_MANT_DIG): Likewise.
3955 (FLT_DIG): Likewise.
3956 (DBL_DIG): Likewise.
3957 (LDBL_DIG): Likewise.
3958 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3959 (DBL_MIN_EXP): Likewise.
3960 (LDBL_MIN_EXP): Likewise.
3961 (FLT_MAX_EXP): Use macro-int-constant.
3962 (DBL_MAX_EXP): Likewise.
3963 (LDBL_MAX_EXP): Likewise.
3964 (FLT_MAX_10_EXP): Likewise.
3965 (DBL_MAX_10_EXP): Likewise.
3966 (LDBL_MAX_10_EXP): Likewise.
3967 (FLT_MAX): Use macro-constant.
3968 (DBL_MAX): Likewise.
3969 (LDBL_MAX): Likewise.
3970 (FLT_EPSILON): Use macro-constant. Give upper bound.
3971 (DBL_EPSILON): Likewise.
3972 (LDBL_EPSILON): Likewise.
3973 (FLT_MIN): Likewise.
3974 (DBL_MIN): Likewise.
3975 (LDBL_MIN): Likewise.
3976 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3977 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3978 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3979 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3980 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3981 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3982 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3983 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3984 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3985 [ISO11] (FLT_TRUE_MIN): Likewise.
3986 [ISO11] (LDBL_TRUE_MIN): Likewise.
3987 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3988 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3989 (SCHAR_MIN): Use macro-int-constant. Specify type.
3990 (SCHAR_MAX): Likewise.
3991 (UCHAR_MAX): Likewise.
3992 (CHAR_MIN): Likewise.
3993 (CHAR_MAX): Likewise.
3994 (MB_LEN_MAX): Use macro-int-constant.
3995 (SHRT_MIN): Use macro-int-constant. Specify type.
3996 (SHRT_MAX): Likewise.
3997 (USHRT_MAX): Likewise.
3998 (INT_MAX): Likewise.
3999 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4000 bound negative.
4001 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4002 bound with "U".
4003 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4004 bound with "L".
4005 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4006 bound negative. Suffix upper bound with "L".
4007 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4008 bound with "UL".
4009 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4010 Specify type.
4011 [C99-based standards] (LLONG_MAX): Likewise.
4012 [C99-based standards] (ULLONG_MAX): Likewise.
4013 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4014 == 0.
4015 [ISO11] (max_align_t): Require type.
4016 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4017
c9140a62
JM
4018 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4019 from $CFLAGS, without defining away __attribute__ calls.
4020 (checknamespace): Use $CFLAGS_namespace.
4021
9af0bf29
JM
4022 * conform/conformtest.pl (@keywords): Only include C99 keywords
4023 for standards based on C99 or C11.
4024
343222a2
JM
4025 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4026 Disable tests.
4027 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4028 UNIX98]: Likewise.
4029
661f8cf0
JM
4030 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4031 usability of symbols in #if.
4032
ee74b9cb
JM
4033 * conform/conformtest.pl: If macro or constant types start
4034 "promoted:", expect the symbol to be of the following type
4035 promoted by the integer promotions.
62fde54f 4036
aafc49b3
JM
4037 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4038 in one place. Also handle "macro-constant".
4039
fefdf574
JM
4040 * conform/conformtest.pl: Only accept expected macro values with
4041 "==". Parse all "macro" lines in one place.
4042 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4043
f2d922fe
JM
4044 * conform/conformtest.pl: Handle braced types on "constant" lines
4045 instead of handling "typed-constant".
4046 * conform/data/signal.h-data: Use "constant" instead of
4047 "typed-constant".
4048
d22956c9
JM
4049 * conform/conformtest.pl: Handle "optional-" at start of lines in
4050 one place rather than duplicating several cases. Handle each
4051 format of "macro" line with initial "optional-".
4052
028e2e38
JM
4053 * conform/conformtest.pl: Only accept expected constant or
4054 optional-constant values with "==". Parse all "constant" lines in
4055 one place. Parse all "optional-constant" lines in one place.
4056 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4057 * conform/data/fmtmsg.h-data: Likewise.
4058 * conform/data/netinet/in.h-data: Likewise.
4059 * conform/data/tar.h-data: Likewise.
4060 * conform/data/limits.h-data: Use "==" form on "constant" and
4061 "optional-constant" lines.
4062
1b8f2850
JM
4063 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4064 Use -std=c99 for XOPEN2K.
4065 (@knownproblems): Remove.
4066 (newtoken): Don't check %isknown.
4067
a05a144b
JM
4068 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4069 Do not expect macro.
4070 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4071 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4072 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4073 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4074 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4075 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4076 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4077 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4078 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4079 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4080 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4081 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4082 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4083 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4084 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4085 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4086 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4087 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4088 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4089 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4090 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4091 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4092 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4093 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4094 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4095 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4096 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4097 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4098 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4099 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4100 [XPG3] (acosh): Likewise.
4101 [XPG3] (asinh): Likewise.
4102 [XPG3] (atanh): Likewise.
4103 [XPG3] (cbrt): Likewise.
4104 [XPG3] (expm1): Likewise.
4105 [XPG3] (ilogb): Likewise.
4106 [XPG3] (log1p): Likewise.
4107 [XPG3] (logb): Likewise.
4108 [XPG3] (nextafter): Likewise.
4109 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4110 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4111 [XPG3] (remainder): Likewise.
4112 [XPG3] (rint): Likewise.
4113 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4114 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4115 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4116 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4117 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4118 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4119 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4120 [UNIX98 || XOPEN2K] (scalb): Expect.
4121 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4122 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4123 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4124 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4125 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4126 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4127 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4128 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4129 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4130 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4131 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4132 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4133 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4134 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4135 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4136 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4137 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4138 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4139 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4140 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4141 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4142 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4143 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4144 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4145 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4146 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4147 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4148 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4149 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4150 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4151 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4152 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4153 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4154 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4155 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4156 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4157 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4158 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4159 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4160 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4161 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4162 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4163 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4164 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4165 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4166 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4167 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4168 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4169 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4170 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4171 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4172 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4173 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4174 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4175 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4176 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4177 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4178 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4179 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4180 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4181 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4182 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4183 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4184 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4185 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4186 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4187 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4188 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4189 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4190 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4191 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4192 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4193 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4194 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4195 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4196 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4197 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4198 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4199 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4200 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4201 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4202 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4203 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4204 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4205 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4206 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4207 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4208 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4209 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4210 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4211 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4212 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4213 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4214 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4215 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4216 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4217 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4218 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4219 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4220 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4221 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4222 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4223 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4224 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4225 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4226 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4227 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4228 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4229 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4230 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4231 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4232 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4233 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4234 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4235 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4236 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4237 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4238 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4239 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4240 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4241 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4242 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4243 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4244 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4245 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4246 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4247 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4248 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4249 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4250 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4251 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4252 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4253 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4254 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4255 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4256 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4257 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4258
73c5ebe3
JM
4259 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4260 _XOPEN_SOURCE_EXTENDED for XPG4.
4261
39c33b6c
JM
4262 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4263
62fde54f
JM
4264 * Makeconfig (localtime): Remove variable.
4265 (inst_localtime-file): Likewise.
4266
0741d64c
AS
42672012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4268
4269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4270 Update.
4271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4272 Update.
4273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4274 Update.
4275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4276 Update.
4277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4278 Update.
4279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4280 Update.
4281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4282 Update.
4283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4284 Update.
4285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4286 Update.
4287
7cb029ee
JM
42882012-05-01 Joseph Myers <joseph@codesourcery.com>
4289
4290 [BZ #2550]
4291 [BZ #2570]
4292 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4293 comparisons to determine direction to adjust input.
4294 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4295 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4296 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4297 Likewise.
4298 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4299 Likewise.
4300 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4301 Likewise.
4302 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4303 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4304 Likewise.
4305 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4306 Likewise.
4307 * math/libm-test.inc (nexttoward_test): Add more tests.
4308
412bd966
AS
43092012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4310
4311 [BZ #14040]
4312 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4313 in version GLIBC_2.1, not GLIBC_2.0.
4314 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4315 Likewise.
4316
9568c0c2
JM
43172012-04-30 Joseph Myers <joseph@codesourcery.com>
4318
adfbc8ac
JM
4319 [BZ #13942]
4320 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4321 (1 - x) * (1 + x).
4322 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4323 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4324 * math/libm-test.inc (acos_test): Add more tests.
4325 (asin_test): Likewise.
4326 * sysdeps/i386/fpu/libm-test-ulps: Update.
4327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4328
5ba3cc69
JM
4329 [BZ #14034]
4330 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4331 of square root.
4332 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4333 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4334 * math/libm-test.inc (acos_test_tonearest): New function.
4335 (acos_test_towardzero): Likewise.
4336 (acos_test_downward): Likewise.
4337 (acos_test_upward): Likewise.
4338 (asin_test_tonearest): Likewise.
4339 (asin_test_towardzero): Likewise.
4340 (asin_test_downward): Likewise.
4341 (asin_test_upward): Likewise.
4342 (main): Call the new functions.
4343 * sysdeps/i386/fpu/libm-test-ulps: Update.
4344 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4345
9568c0c2
JM
4346 [BZ #13884]
4347 [BZ #13924]
4348 * math/e_exp10.c: Include <float.h>.
4349 (__ieee754_exp10): Handle underflow here rather than multiplying
4350 large negative argument by M_LN10.
4351 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4352 of __ieee754_expf.
4353 * math/e_exp10l.c: Include <float.h>.
4354 (__ieee754_exp10l): Handle underflow here rather than multiplying
4355 large negative argument by M_LN10l.
4356 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4357 spurious overflow exception on underflow.
4358
5ac3ea17
MP
43592012-04-29 Marek Polacek <polacek@redhat.com>
4360
4361 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4362 (__fortify_function): New macro.
4363 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4364 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4365 __extern_always_inline.
4366 * libio/bits/stdio2.h: Likewise.
4367 * libio/bits/stdio.h: Likewise.
4368 * string/string.h: Likewise.
4369 * string/bits/string3.h: Likewise.
4370 * include/stdio.h: Likewise.
4371 * stdlib/bits/stdlib.h: Likewise.
4372 * stdlib/stdlib.h: Likewise.
4373 * rt/bits/mqueue2.h: Likewise.
4374 * rt/mqueue.h: Likewise.
4375 * posix/bits/unistd.h: Likewise.
4376 * posix/unistd.h: Likewise.
4377 * io/bits/poll2.h: Likewise.
4378 * io/bits/fcntl2.h: Likewise.
4379 * io/fcntl.h: Likewise.
4380 * io/sys/poll.h: Likewise.
4381 * misc/bits/syslog.h: Likewise.
4382 * misc/bits/syslog-ldbl.h: Likewise.
4383 * misc/sys/syslog.h: Likewise.
4384 * socket/bits/socket2.h: Likewise.
4385 * socket/sys/socket.h: Likewise.
4386 * debug/tst-chk1.c: Likewise.
4387 * wcsmbs/bits/wchar2.h: Likewise.
4388 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4389 * wcsmbs/wchar.h: Likewise.
4390
ecf0ebfb
AJ
43912012-04-29 Andreas Jaeger <aj@suse.de>
4392
4393 * Makerules (tests): Remove enable-check-abi protection.
4394 (check-abi-warn): Remove.
4395 (check-abi-%): Remove check-abi-warn usage.
4396
4397 * configure.in: Remove check-abi configure option.
4398 * configure: Regenerated.
4399 * config.make.in (enable-check-abi): Remove.
4400
6d5c57fa
AS
44012012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4402
24c5d07e 4403 [BZ #14033]
ded5180a
AS
4404 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4405 double functions to double *_finite functions.
4406
7e0d315d
AS
4407 [BZ #13941]
4408 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4409 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4410 LDBL_MIN_EXP.
4411 * stdio-common/Makefile (tests): Add tst-sprintf3.
4412 * stdio-common/tst-sprintf3.c: New file.
4413
6d5c57fa
AS
4414 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4415 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4416
0749ff8b
JM
44172012-04-28 Joseph Myers <joseph@codesourcery.com>
4418
4419 * conform/conformtest.pl: Remove duplicate typed-constant
4420 handling.
4421
8dbd5d7b
DM
44222012-04-28 David S. Miller <davem@davemloft.net>
4423
4424 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4425 (check-abi-%): Remove AWK script prerequisite and explicit
4426 abilist directory.
4427 (check-abi): Rewrite to just diff the symlist with the abilist.
4428 (config-tls, config-abi-config): Delete, no longer used.
4429 (update-abi-%): Remove AWK script and explicit abilist directory.
4430 (update-abi): Rewrite to simply compare and conditionally copy the
4431 symlist and the sysdep abilist file. Remove update-abi-config
4432 checks.
4433 * abilist/ld.abilist: Remove.
4434 * abilist/libBrokenLocale.abilist: Remove.
4435 * abilist/libanl.abilist: Remove.
4436 * abilist/libcrypt.abilist: Remove.
4437 * abilist/libdl.abilist: Remove.
4438 * abilist/librt.abilist: Remove.
4439 * abilist/libthread_db.abilist: Remove.
4440 * abilist/libutil.abilist: Remove.
4441 * scripts/extract-abilist.awk: Remove.
4442 * scripts/merge-abilist.awk: Remove.
4443 * sysdeps/generic/libcidn.abilist: New file.
4444 * sysdeps/generic/libnss_compat.abilist: New file.
4445 * sysdeps/generic/libnss_db.abilist: New file.
4446 * sysdeps/generic/libnss_dns.abilist: New file.
4447 * sysdeps/generic/libnss_files.abilist: New file.
4448 * sysdeps/generic/libnss_hesiod.abilist: New file.
4449 * sysdeps/generic/libnss_nis.abilist: New file.
4450 * sysdeps/generic/libnss_nisplus.abilist: New file.
4451 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4452 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4453 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4454 file.
4455 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4456 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4457 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4458 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4459 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4460 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4461 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4462 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4463 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4464 file.
4465 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4466 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4467 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4468 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4469 file.
4470 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4471 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4472 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4473 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4474 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4475 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4476 file.
4477 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4478 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4479 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4480 file.
4481 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4483 New file.
4484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4485 New file.
4486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4487 New file.
4488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4489 New file.
4490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4491 New file.
4492 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4493 New file.
4494 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4495 New file.
4496 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4497 New file.
4498 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4499 New file.
4500 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4501 New file.
4502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4503 New file.
4504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4505 New file.
4506 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4507 New file.
4508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4509 file.
4510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4511 New file.
4512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4513 New file.
4514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4515 file.
4516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4517 New file.
4518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4519 New file.
4520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4521 file.
4522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4523 New file.
4524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4525 New file.
4526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4527 New file.
4528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4529 New file.
4530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4531 New file.
4532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4533 New file.
4534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4536 file.
4537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4538 New file.
4539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4540 file.
4541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4542 file.
4543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4544 file.
4545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4546 file.
4547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4548 file.
4549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4550 New file.
4551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4552 file.
4553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4554 file.
4555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4556 New file.
4557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4558 file.
4559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4561 file.
4562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4563 New file.
4564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4565 file.
4566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4567 file.
4568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4569 file.
4570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4571 file.
4572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4573 file.
4574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4575 New file.
4576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4577 file.
4578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4579 file.
4580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4581 New file.
4582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4583 file.
4584 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4585 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4586 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4587 file.
4588 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4589 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4590 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4591 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4592 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4593 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4594 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4595 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4596 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4597 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4600 file.
4601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4602 New file.
4603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4604 file.
4605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4606 file.
4607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4608 file.
4609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4610 file.
4611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4612 file.
4613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4614 New file.
4615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4616 New file.
4617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4618 file.
4619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4620 New file.
4621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4622 file.
4623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4625 file.
4626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4627 New file.
4628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4629 file.
4630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4631 file.
4632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4633 file.
4634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4635 file.
4636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4637 file.
4638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4639 New file.
4640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4641 New file.
4642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4643 file.
4644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4645 New file.
4646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4647 file.
4648
41d73a1b
JM
46492012-04-28 Joseph Myers <joseph@codesourcery.com>
4650
4651 * conform/conformtest.pl: Fix typo in handling typed-constant from
4652 allow-header.
4653
28aeeda4
JM
46542012-04-27 Joseph Myers <joseph@codesourcery.com>
4655
adae8f5e
JM
4656 * README: Cut down references to pre-2.6 Linux kernels and
4657 Linuxthreads. Update lists of configurations in libc and ports
4658 and sort alphabetically. Say "or newer" with Linux kernel version
4659 requirements.
4660
28aeeda4
JM
4661 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4662
a462cb63
RA
46632012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4664
4665 [BZ #887]
4666 * math/libm-test.inc (logb_test_downward): New test to expose
4667 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4668 rounding mode.
4669
6ad3493e
JM
46702012-04-27 Joseph Myers <joseph@codesourcery.com>
4671
4672 [BZ #14027]
4673 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4674 to be done.
4675 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4676 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4677
2ce4f015
JM
46782012-04-26 Joseph Myers <joseph@codesourcery.com>
4679
5aeb141a
JM
4680 * sysdeps/unix/i386/brk.S: Remove file.
4681 * sysdeps/unix/i386/dl-brk.S: Likewise.
4682 * sysdeps/unix/i386/pipe.S: Likewise.
4683 * sysdeps/unix/i386/sigreturn.S: Likewise.
4684 * sysdeps/unix/i386/syscall.S: Likewise.
4685 * sysdeps/unix/i386/vfork.S: Likewise.
4686 * sysdeps/unix/i386/wait.S: Likewise.
4687
7143acae
JM
4688 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4689 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4690
2ce4f015
JM
4691 * configure.in (arm*-none*): Do not allow without
4692 --enable-hacker-mode.
4693 (netbsd*): Remove case setting base_os.
4694 (386bsd*): Likewise.
4695 (freebsd*): Likewise.
4696 (bsdi*): Likewise.
4697 (osf*): Likewise.
4698 (sunos*): Likewise.
4699 (ultrix*): Likewise.
4700 (newsos*): Likewise.
4701 (dynix*): Likewise.
4702 (*bsd*): Likewise.
4703 (sysv*): Likewise.
4704 (isc*): Likewise.
4705 (esix*): Likewise.
4706 (sco*): Likewise.
4707 (minix*): Likewise.
4708 (irix4*): Likewise.
4709 (irix6*): Likewise.
4710 (solaris[2-9]*): Likewise.
4711 (none): Likewise.
4712 * configure: Regenerated.
4713
0ac229c8
AZ
47142012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4715
4716 [BZ #11521]
4717 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4718 overflow or cancellation in calculating denominator.
4719 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4720 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4721 down expression to avoid unexpected rounding in newer GCCs.
4722 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4723
33f244f4
DM
47242012-04-26 David S. Miller <davem@davemloft.net>
4725
4726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4727 long-double compat symbols.
4728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4741
cfa1f3e8
DM
47422012-04-25 David S. Miller <davem@davemloft.net>
4743
4744 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4745 HWCAP_* values only after the memory barriers have been defined.
4746 (atomic_full_barrier): Define.
4747 (atomic_read_barrier): Define.
4748 (atomic_write_barrier): Define.
4749
6e236b92
SP
47502012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4751
4752 * shlib-versions: Add libgcc_s version information.
4753 * sysdeps/generic/libgcc_s.h: Remove.
4754 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4755 libgcc_s.h.
4756 * sysdeps/gnu/unwind-resume.c: Likewise.
4757 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4758
aab39a09
DM
47592012-04-25 David S. Miller <davem@davemloft.net>
4760
4761 * sysdeps/unix/sparc/brk.S: Delete.
4762 * sysdeps/unix/sparc/dl-brk.S: Delete.
4763 * sysdeps/unix/sparc/pipe.S: Delete.
4764 * sysdeps/unix/sparc/sysdep.S: Delete.
4765 * sysdeps/unix/sparc/sysdep.h: Delete.
4766 * sysdeps/unix/sparc/vfork.S: Delete.
4767 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4768 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4769 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4770 ret_ERRVAL, r0, r1, MOVE): Define.
4771 (JUMPTARGET): Remove.
4772 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4773 sysdeps/unix/sparc/sysdep.h
4774 (ENTRY, END): Remove.
4775 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4776
a3cc4f48
JM
47772012-04-25 Joseph Myers <joseph@codesourcery.com>
4778
2ed8cda2
JM
4779 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4780 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4781 -DIS_IN_build.
4782
35d76d59
JM
4783 * timezone/README: Update upstream location and email address for
4784 tzcode and tzdata.
4785 * timezone/zdump.c: Update from tzcode 2012b.
4786 * timezone/zic.c: Likewise.
4787
a3cc4f48
JM
4788 * configure.in (libc_cv_as_needed): Remove test.
4789 * configure: Regenerated.
4790 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4791 conditional definition.
4792 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4793 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4794 * config.make.in (have-as-needed): Remove variable.
4795
ceab42c3
SP
47962012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4797 Paul Pluzhnikov <ppluzhnikov@google.com>
4798
4799 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4800 strings correctly.
4801
3ce2865f
CLT
48022012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4803
4804 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4805 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4806 * sysdeps/sh/strlen.S: Likewise.
4807
f37e0d68
JM
48082012-04-24 Joseph Myers <joseph@codesourcery.com>
4809
ae186e9a
JM
4810 * sysdeps/unix/fork.S: Remove file.
4811 * sysdeps/unix/i386/fork.S: Likewise.
4812 * sysdeps/unix/sparc/fork.S: Likewise.
4813
b96914af
JM
4814 * sysdeps/unix/system.c: Remove file.
4815 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4816
f37e0d68
JM
4817 * sysdeps/unix/getegid.S: Remove file.
4818 * sysdeps/unix/geteuid.S: Likewise.
4819
87ef29ca
RM
48202012-04-24 Roland McGrath <roland@hack.frob.com>
4821
83bcd236
RM
4822 * scripts/check-localplt.awk: New file.
4823 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4824 of diff.
4825 * scripts/data/localplt-generic.data: Add a comment.
4826
87ef29ca
RM
4827 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4828 NODE when __dir_mkfile failed.
4829 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4830 Reported by Ludovic Courtès <ludo@gnu.org>.
4831
e5a6e567
AJ
48322012-04-24 Andreas Jaeger <aj@suse.de>
4833
4834 * Makerules (common-clean): Also remove gen-as-const-headers
4835 files.
4836
c1820385
JM
48372012-04-24 Joseph Myers <joseph@codesourcery.com>
4838
4839 * Makerules (native-compile): Do not change working directory for
4840 build. Use $(OUTPUT_OPTION) in command.
4841 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4842
94e02fc4
AZ
48432012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4844
4845 [BZ #13886]
4846 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4847 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4848 * math/libm-test.inc (floor_test): Add more tests.
4849 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4850
3a533ca3
JM
48512012-04-24 Joseph Myers <joseph@codesourcery.com>
4852
940ab4b3
JM
4853 * sysdeps/unix/getdents.c: Remove file.
4854 * sysdeps/unix/sysv/getdents.c: Likewise.
4855 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4856
90e037bd
JM
4857 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4858 sysdeps/unix/mman/syscalls.list.
4859 (mmap): Likewise.
4860 (mprotect): Likewise.
4861 (msync): Likewise.
4862 (munmap): Likewise.
4863 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4864 * sysdeps/unix/mman/syscalls.list: Remove.
4865 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4866
3a533ca3
JM
4867 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4868 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4869 * configure: Regenerated.
4870 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4871 $(libgcc_s_suffix).
4872 * config.make.in (libgcc_s_suffix): Remove variable.
4873
1ad743de
JM
48742012-04-23 Joseph Myers <joseph@codesourcery.com>
4875
4ad451e2
JM
4876 * sysdeps/unix/sysv/gethostname.c: Move to ...
4877 * sysdeps/posix/gethostname.c: ... here.
4878
5e37ce39
JM
4879 * sysdeps/unix/execve.S: Remove file.
4880
1ad743de
JM
4881 * sysdeps/unix/_exit.S: Remove file.
4882
4e681b5b
AJ
48832012-04-23 Andreas Jaeger <aj@suse.de>
4884
4885 [BZ #13739]
4886 * manual/Makefile: Remove make dist support, there's no
4887 need for a stand-alone documentation tar ball.
4888 (TEXI2DVI): Define always, it's not in Makeconfig.
4889 (dist): Removed.
4890 (tar-it): Removed.
4891 (edition): Removed.
4892 (glibc-doc-$(edition).tar): Removed
4893 (%.Z): Removed.
4894 (%.gz): Removed.
4895 (%.uu): Removed.
4896 (ETAGS): Remove, it's in Makeconfig.
4897 (move-if-change): Remove, it's in Makeconfig.
4898
c0baea34
PE
48992013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4900
4901 [BZ #13970]
4902 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4903 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4904 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4905 (strtod_l, strtof_l, strtold_l): Remove __wur.
4906 It is not necessarily an error to ignore strtol's return value.
4907 One can reliably look at the stored endptr to decide whether
4908 the number had valid syntax.
4909
7c0616fa
AJ
49102012-04-21 Andreas Jaeger <aj@suse.de>
4911
803cb6b7 4912 [BZ #13739]
7c0616fa
AJ
4913 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4914
b0fe253f
JM
49152012-04-21 Joseph Myers <joseph@codesourcery.com>
4916
4917 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4918 * sysdeps/unix/sysv/Versions: Remove file.
4919
8280f22d
MT
49202012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4921
4922 [BZ #13927]
4923 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4924
75ce411f 49252012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4926
4927 [BZ #7064]
4928 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4929 version from __vm86.
4930
097d59fa
JM
49312012-04-20 Joseph Myers <joseph@codesourcery.com>
4932
a90f3bcb
JM
4933 * sysdeps/unix/common/lxstat.c: Remove file.
4934 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4935
edc7ea78
JM
4936 * sysdeps/unix/sysv/Makefile: Remove file.
4937
cb78c221
JM
4938 * sysdeps/unix/sysv/direct.h: Remove file.
4939
efa6a45f
JM
4940 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4941 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4942 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4943 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4944 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4945 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4946 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4947
9c9f2d0c
JM
4948 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4949
4541c83b
JM
4950 * sysdeps/unix/xmknod.c: Remove file.
4951 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4952
f5d153a0
JM
4953 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4954
aa746595
JM
4955 * sysdeps/unix/sysv/i386/time.S: Remove file.
4956
cce5905e
JM
4957 * sysdeps/unix/fxstat.c: Remove file.
4958 * sysdeps/unix/xstat.c: Likewise.
4959 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4960
37fa3841
JM
4961 * sysdeps/unix/sysv/sigaction.c: Remove file.
4962
ff1962a3
JM
4963 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4964 (sysdep_headers): Remove variable.
4965 [termio.h not in sysdep_headers] (generated): Likewise.
4966 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4967 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4968 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4969 * sysdeps/unix/sysv/tcflow.c: Likewise.
4970 * sysdeps/unix/sysv/tcflush.c: Likewise.
4971 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4972 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4973 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4974 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4975 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4976
e7740d31
JM
4977 * sysdeps/unix/siglist.c: Remove file.
4978
ee06f18b
JM
4979 * sysdeps/unix/getppid.S: Remove file.
4980
097d59fa
JM
4981 * sysdeps/unix/mkdir.c: Remove file.
4982 * sysdeps/unix/rmdir.c: Likewise.
4983
ff3d51ec
AS
49842012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4985
4986 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4987 ERR_MAX value.
4988 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4989 errlist-compat value.
4990
50f81fd7
DM
49912012-04-18 David S. Miller <davem@davemloft.net>
4992
4993 * sysdeps/generic/memcopy.h (reg_char): Delete.
4994 * debug/strcat_chk.c: Use char, not reg_char.
4995 * debug/strcpy_chk.c: Likewise.
4996 * debug/strncat_chk.c: Likewise.
4997 * debug/strncpy_chk.c: Likewise.
4998 * string/memchr.c: Likewise.
4999 * string/memrchr.c: Likewise.
5000 * string/rawmemchr.c: Likewise.
5001 * string/strcat.c: Likewise.
5002 * string/strchr.c: Likewise.
5003 * string/strchrnul.c: Likewise.
5004 * string/strcmp.c: Likewise.
5005 * string/strcpy.c: Likewise.
5006 * string/strncat.c: Likewise.
5007 * string/strncmp.c: Likewise.
5008 * string/strncpy.c: Likewise.
5009
8ff41c46
WS
50102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5011
5012 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5013 __builtin_memcopy is called when src and dest ranges are known to not
5014 overlap.
5015
6b652f46
WS
50162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5017
5018 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5019 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5020 fwd_align_merge macro call.
5021 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5022 bwd_align_merge macro call.
5023 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5024
b282631e
WS
50252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5026
5027 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5028 bwd_align_merge macros.
5029 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5030 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5031 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5032
95aa737c
DM
50332012-04-18 David S. Miller <davem@davemloft.net>
5034
5035 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5036
7a99a614
AJ
50372012-04-18 Andreas Jaeger <aj@suse.de>
5038
5039 [BZ# 6794]
5040 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5041 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5042 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5043
5044 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5045 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5046 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5047
5048 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5049 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5050 Adjust for changed ldbl-128 files.
5051
5052 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5053 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5054 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5055
e5270c23
DM
50562012-04-17 David S. Miller <davem@davemloft.net>
5057
5058 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5059
fb5e92c9
AS
50602012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5061
5062 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5063 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5064 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5065 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5066 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5067 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5068
76da7265
AZ
50692012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5070
5071 [BZ #6794]
5072 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5073 * math/libm-test.inc: Add ilogb errno and exception tests.
5074 * math/w_ilogb.c: New file: ilogb wrapper.
5075 * math/w_ilogbf.c: New file: ilogbf wrapper.
5076 * math/w_ilogbl.c: New file: ilogbl wrapper.
5077 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5078 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5079 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5080 exception being thrown with 0.0 as argument.
5081 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5082 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5083 exception being thrown with 0.0 as argument.
5084 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5085 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5086 exception being thrown with 0.0 as argument.
5087 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5088 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5089 exception being thrown with 0.0 as argument.
5090 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5091 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5092 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5093 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5094 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5095 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5096 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5097 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5098 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5099
0396e69d
PB
51002012-04-17 Petr Baudis <pasky@ucw.cz>
5101
5102 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5103 with altivec.
5104
750b5926
MP
51052012-04-16 Marek Polacek <polacek@redhat.com>
5106
5107 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5108
751728a1
MP
51092012-04-16 Marek Polacek <polacek@redhat.com>
5110
5111 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5112 operands of fdivp instruction.
5113
34a27407
L
51142012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5115
5116 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5117 * elf/tst-auditmod3b.c: Likewise.
5118 * elf/tst-auditmod4b.c: Likewise.
5119 * elf/tst-auditmod5b.c: Likewise.
5120 * elf/tst-auditmod6b.c: Likewise.
5121 * elf/tst-auditmod6c.c: Likewise.
5122 * elf/tst-auditmod7b.c: Likewise.
5123 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5124 * sysdeps/x86_64/preconfigure.in: Likewise.
5125 * sysdeps/x86_64/preconfigure: Regenerated.
5126
7e73e17d
L
51272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5128
5129 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5130 __ILP32__.
5131
c7a6ab72
AB
51322012-04-13 Antoine Balestrat <merkil33@gmail.com>
5133
5134 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5135 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5136
a9e8e0e0
CL
51372012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5138
5139 [BZ #13973]
5140 * locale/iso-639.def: Fix gl language name. Spotted by
5141 Yaron Shahrabani.
5142
ec98af7d
RM
51432012-04-12 Roland McGrath <roland@hack.frob.com>
5144
5145 [BZ #2074]
5146 * libio/libio.h (__io_write_fn): Update comment.
5147
247c3ede
PB
51482012-04-12 Petr Baudis <pasky@ucw.cz>
5149
5150 [BZ #2074]
5151 * stdio.texi (Hook Functions): The user provided writer function
5152 is not allowed to return -1.
5153
55939d6d
DM
51542012-04-11 David S. Miller <davem@davemloft.net>
5155
5156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5157
90020f5a
MF
51582012-04-11 Mike Frysinger <vapier@gentoo.org>
5159
5160 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5161 Add a leading slash to rtkaio.
5162
288f9098
JM
51632012-04-11 Jim Meyering <meyering@redhat.com>
5164
90020f5a
MF
5165 [BZ #11959]
5166 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5167 It is not necessarily an error to ignore fwrite's return
5168 value. One can reliably use ferror to test for errors after
5169 the fact.
288f9098 5170
4be2b570
L
51712012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5172
5173 * bits/types.h (__snseconds_t): New type.
5174 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5175
5176 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5177 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5178 (__SNSECONDS_T_TYPE): Likewise.
5179 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5180 (__SNSECONDS_T_TYPE): Likewise.
5181 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5182 (__SNSECONDS_T_TYPE): Likewise.
5183
288f9098 51842012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5185
5186 [BZ #2636]
5187 * manual/time.texi (Processor Time): Return type of times is
5188 elapsed real time since an arbitrary point in the past.
5189 (CPU Time): Move CLK_TCK from here...
5190 (Processor Time): ...to here. Correct description.
5191 * manual/conf.texi (Constants for Sysconf): Correct description of
5192 _SC_CLK_TCK.
5193
d7dd4413
DM
51942012-04-10 David S. Miller <davem@davemloft.net>
5195
5196 [BZ #13967]
5197 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5198 where the is a gap between DT_REL(A) and DT_JMPREL.
5199
b46068fc
L
52002012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5201
5202 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5203 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5204 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5205
73d65cc3
SP
52062012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5207
5208 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5209 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5210 (dl_main): Handle --inhibit-cache.
5211 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5212 _dl_inhibit_cache.
5213 * elf/dl-load.c (_dl_map_object): Use it.
5214 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5215
bcc8d661
JM
52162012-04-09 Joseph Myers <joseph@codesourcery.com>
5217
8f9a2fae
JM
5218 [BZ #13872]
5219 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5220 (__ieee754_powl): Saturate large exponents rather than testing for
5221 overflow of y*log2(x).
5222 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5223 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5224 exceptions.
5225
bcc8d661
JM
5226 [BZ #11521]
5227 * math/s_ctan.c: Include <float.h>.
5228 (__ctan): Avoid internal overflow or cancellation in calculating
5229 denominator.
5230 * math/s_ctanf.c: Likewise.
5231 * math/s_ctanl.c: Likewise.
5232 * math/s_ctanh.c: Likewise.
5233 * math/s_ctanhf.c: Likewise.
5234 * math/s_ctanhl.c: Likewise.
5235 * math/libm-test.inc (ctan_test): Add more tests.
5236 (ctanh_test): Likewise.
5237 * sysdeps/i386/fpu/libm-test-ulps: Update.
5238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5239
823fbbb4
AJ
52402012-04-09 Andreas Jaeger <aj@suse.de>
5241
03879793
AJ
5242 [BZ #6894]
5243 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5244 is an optional BSD extension.
5245
823fbbb4
AJ
5246 [BZ #10254]
5247 * manual/stdio.texi (Opening Streams): Document additional fopen
5248 parameters.
5249
8de131cb
RM
52502012-04-09 Roland McGrath <roland@hack.frob.com>
5251
5252 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5253 %eax without telling the compiler.
5254
c0ed9d7d
CD
52552012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5256
5257 [BZ # 13963]
5258 * manual/install.texi: Use sourceware.org.
5259
c483f6b4
JM
52602012-04-09 Joseph Myers <joseph@codesourcery.com>
5261
d7dd9453
JM
5262 [BZ #13873]
5263 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5264 (__ieee754_pow): Generate overflow and underflow using huge*huge
5265 and tiny*tiny rather than just returning constant infinity or zero
5266 for large exponents.
5267 * math/libm-test.inc (pow_test): Require overflow exceptions for
5268 applicable cases of large exponents.
5269
c483f6b4
JM
5270 [BZ #706]
5271 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5272 (__ieee754_pow): Use iterative multiplication algorithm only for
5273 integer exponents with absolute value below 1024. Check for odd
5274 integer exponents when using algorithm for real exponents.
5275 * math/libm-test.inc (pow_test): Add more tests.
5276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5277
d2de7579
JM
52782012-04-08 Joseph Myers <joseph@codesourcery.com>
5279
5280 [BZ #13705]
5281 * math/libm-test.inc (exp_test): Do not allow overflow exception
5282 on underflow test.
5283
f77f1232
AJ
52842012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5285
5286 [BZ #13705]
5287 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5288 instead of __kernel_standard_f.
5289
3884932b
MF
52902012-04-08 Mike Frysinger <vapier@gentoo.org>
5291
5292 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5293 * sysdeps/x86_64/memset_chk.S: Likewise.
5294
54472e9c
AJ
52952012-04-08 Andreas Jaeger <aj@suse.de>
5296
6ab0fbfc
AJ
5297 [BZ #10153]
5298 * manual/startup.texi (Environment Access): Describe return value
5299 for putenv and setenv.
5300
61efba8c
AJ
5301 [BZ #6895]
5302 * manual/filesys.texi (Directory Entries): Add description for
5303 DT_LNK.
5304
95c3f29a
AJ
5305 [BZ #6890]
5306 * manual/filesys.texi (Directory Entries): Clarify that it's file
5307 system not operating system in the description of DT_UNKNOWN.
5308
54472e9c
AJ
5309 [BZ #6578]
5310 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5311
624254b1
SC
53122012-04-08 Stephen Compall <s11@member.fsf.org>
5313
5314 [BZ #6649]
5315 * manual/llio.texi (Opening and Closing Files): Add cross
5316 reference to explain mode argument.
5317
1e4920e0
MF
53182012-04-07 Mike Frysinger <vapier@gentoo.org>
5319
5320 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5321 * sysdeps/x86_64/memset_chk.S: Likewise.
5322
5ed848f3
DM
53232012-04-07 David S. Miller <davem@davemloft.net>
5324
5325 * elf/elf.h (R_SPARC_WDISP10): Define.
5326 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5327 R_SPARC_SIZE32.
5328 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5329 R_SPARC_SIZE64 and R_SPARC_H34.
5330
96154cd8
CD
53312012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5332
5333 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5334 conditions and remove no longer applicable assertion.
5335
9904dc47
L
53362012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5337
5338 * bits/byteswap.h: Include <features.h>.
5339 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5340 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5341
f8887d0a
L
53422012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5343
5344 * bits/byteswap.h (__bswap_16): Removed.
5345 Include <bits/byteswap-16.h> to get __bswap_16.
5346 * sysdeps/i386/bits/byteswap.h: Likewise.
5347 * sysdeps/s390/bits/byteswap.h: Likewise.
5348 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5349 * bits/byteswap-16.h: New file.
5350 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5351 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5352 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5353 * string/Makefile (headers): Add bits/byteswap-16.h.
5354
62470f60
PP
53552012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5356
5357 [BZ #13895]
5358 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5359 extra indirection.
5360 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5361 * nss/tst-nss-static.c: New.
5362
4dad7bab
RM
53632012-04-06 Robert Millan <rmh@gnu.org>
5364
5365 [BZ #6486]
5366 * manual/llio.texi (File Position Primitive): lseek
5367 refers to WHENCE when it really means OFFSET.
5368
e9142a17
AJ
53692012-04-06 Andreas Jaeger <aj@suse.de>
5370
2c040eff
AJ
5371 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5372 strncmp declarations.
5373
e9142a17
AJ
5374 * abilist/libc.abilist: Add __poll and __ppoll.
5375
ff9f1c5f
DM
53762012-04-05 David S. Miller <davem@davemloft.net>
5377
dcd2ae90
DM
5378 * scripts/check-local-headers.sh: Accept a host triplet in the
5379 path matched by the exclude regexp.
5380
993eb054
DM
5381 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5382 definition.
5383 * sysdeps/powerpc/powerpc32/dl-machine.h
5384 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5385 * sysdeps/s390/s390-32/dl-machine.h
5386 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5387 * sysdeps/sparc/sparc32/dl-machine.h
5388 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5389 * sysdeps/sparc/sparc64/dl-machine.h
5390 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5391
ff9f1c5f
DM
5392 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5393 lazy binding.
48e2e132 5394 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5395 undefined symbol errors.
5396
48e2e132 5397 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5398 DT_NEEDED entries.
5399
e80d6f94
MM
54002012-04-05 Michael Matz <matz@suse.de>
5401
5402 [BZ #13592]
5403 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5404
349fa79f
AJ
54052012-04-05 Andreas Jaeger <aj@suse.de>
5406
5407 [BZ #13908]
5408 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5409 comment.
5410
f402708f
KK
54112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5412
5413 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5414 which ROUND is no valid rounding mode.
5415
2ecccfc9
KK
54162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5417
5418 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5419 read again.
5420 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5421
8a53f50f
KK
54222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5423
5424 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5425 an exception using FPU order intentionally.
5426
54272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5428
5429 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5430 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5431 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5432 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5433
d653abb7
SJ
54342012-04-05 Simon Josefsson <simon@josefsson.org>
5435
5436 [BZ #12340]
5437 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5438 EINVAL when BUFLEN is too smal.
5439
c3b1bf7d
TS
54402012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5441
5442 [BZ #13553]
5443 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5444 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5445
b1aa60f3
AJ
54462012-04-03 Andreas Jaeger <aj@suse.de>
5447
c3b1bf7d 5448 [BZ #13938]
67f60a26
AJ
5449 * manual/setjmp.texi (System V contexts): Fix sentence.
5450
b1aa60f3
AJ
5451 [BZ #13926]
5452 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5453 New macro for this case.
5454 [!__GNUC__] (__bswap_64): New inline function for this case.
5455 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5456 * bits/byteswap.h: Likewise.
5457 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5458 ull, guard with __GLIBC_HAVE_LONG_LONG.
5459
5460 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5461 __GLIBC_HAVE_LONG_LONG.
5462
5463 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5464 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5465
39c59c35
TMQMF
54662012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5467
5468 [BZ #13691]
5469 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5470 inptr and inend, rather than using last_ch.
5471
135ffda8
DM
54722012-04-02 David S. Miller <davem@davemloft.net>
5473
5474 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5475 * stdio-common/printf-parse.h (read_int): Change return type to
5476 'int', return -1 on INT_MAX overflow.
5477 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5478 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5479 overflows INT_MAX. Check for overflow of in-format-string precision
5480 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5481 SIZE_MAX not INT_MAX for integer overflow test.
5482 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5483 skip the construct in the format string but do not record anything.
5484 * stdio-common/bug22.c: Adjust to test both width/prevision
5485 INT_MAX overflow as well as total length INT_MAX overflow. Check
5486 explicitly for proper errno values.
5487
228c019e
TS
54882012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5489
302cadd3
TS
5490 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5491 CHAR_MAX.
5492 * string/test-strcmp.c [! WIDE]: Likewise.
5493 * time/tst-mktime2.c: Likewise for INT_MAX.
5494 * string/test-string.h: #include <sys/param.h> for MIN.
5495
228c019e
TS
5496 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5497 * sysdeps/i386/init-first.c (init): Likewise.
5498 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5499 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5500 * sysdeps/sh/init-first.c (init): Likewise.
5501
cfa633f5
UD
55022012-04-01 Ulrich Drepper <drepper@gmail.com>
5503
5504 * po/ru.po: Update from translation team.
d1635ef8 5505 * po/vi.po: Likewise.
cfa633f5 5506
6cd0a5ea
SP
55072012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5508
5509 * resolv/nss_dns/dns-host.c: Merge copyright years.
5510
4b43400f
LD
55112012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5512
5513 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5514 Optimize memcpy with prefetch if
5515 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5516 src, dst pointers have unequal 16 byte alignments.
5517
48c41d04
SP
55182012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5519
5520 [BZ #13928]
5521 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5522 from a CNAME entry and return the minimum ttl for the query.
5523 (gaih_getanswer_slice): Likewise.
5524
b8dc394d
JL
55252012-03-30 Jeff Law <law@redhat.com>
5526
5527 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5528 due to long keys.
5529 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5530 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5531
2f5a5ed0
JL
5532 * resolv/nss_dns/dns-host.c: Update copyright year.
5533
1d39e359
UD
55342012-03-30 Ulrich Drepper <drepper@gmail.com>
5535
c030f70c 5536 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5537 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5538
1d39e359
UD
5539 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5540 comments for sendmmsg.
5541
55422012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5543
5544 [BZ #13691]
5545 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5546 with only 1 character between 0x0041 and 0x01b0.
5547 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5548 * wcsmbs/tst-mbsnrtowcs.c: New file.
5549
20fde227
DM
55502012-03-29 David S. Miller <davem@davemloft.net>
5551
5552 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5553 small copies by hand.
5554
984a4237
JL
55552012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5556
5557 [BZ #13761]
5558 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5559 _nss_compat_initgroups_dyn): Fall back to malloc/free
5560 for large group memberships.
5561
18c9d62b
DM
55622012-03-28 David S. Miller <davem@davemloft.net>
5563
88d85d4f
DM
5564 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5565 that branches into memcpy.
5566 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5567 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5568 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5569 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5570 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5571 bits.
5572 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5573 implementation too.
5574 * sysdeps/sparc/mempcpy.S: New file.
5575
e5aa83e1
DM
5576 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5577 the IFUNC routine in the libc case.
5578 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5579
88570753
DM
5580 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5581 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5582 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5583 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5584 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5585 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5586 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5587 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5588
249d7567
DM
5589 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5590 loop to 256 bytes instead of 64 bytes and fix test signedness.
5591
18c9d62b
DM
5592 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5593 * sysdeps/sparc/sparc32/Makefile: rather than here...
5594 * sysdeps/sparc/sparc64/Makefile: and here.
5595
05f3d1f6
UD
55962012-03-28 Ulrich Drepper <drepper@gmail.com>
5597
5598 * malloc/mallocbug.c: Avoid warnings about unused variables.
5599
86ae07a8
JL
56002012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5601
5602 [BZ #13760]
5603 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5604 in the right place. Discard and retry query if response is
5605 larger than input buffer size.
5606
41bf21a1
JM
56072012-03-28 Joseph Myers <joseph@codesourcery.com>
5608
d6270972
JM
5609 [BZ #369]
5610 [BZ #2678]
5611 [BZ #3866]
5612 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5613 x for large integer exponent.
5614 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5615 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5616 sign of result as needed afterwards.
5617 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5618 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5619 result for underflowing pow the same as for overflow.
5620 (__kernel_standard_l): Handle powl overflow and underflow here
5621 rather than calling __kernel_standard.
5622 * math/libm-test.inc (pow_test): Add more tests.
5623
414fca03 5624 [BZ #3868]
41bf21a1
JM
5625 [BZ #13879]
5626 [BZ #13910]
5627 [BZ #13911]
5628 [BZ #13912]
5629 [BZ #13913]
5630 [BZ #13915]
5631 [BZ #13916]
5632 [BZ #13917]
5633 [BZ #13918]
5634 [BZ #13919]
5635 [BZ #13920]
5636 [BZ #13921]
5637 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5638 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5639 (__kernel_standard_l): New function.
5640 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5641 __kernel_standard.
5642 * math/w_acosl.c (__acosl): Likewise.
5643 * math/w_asinl.c (__asinl): Likewise.
5644 * math/w_atan2l.c (__atan2l): Likewise.
5645 * math/w_atanhl.c (__atanhl): Likewise.
5646 * math/w_coshl.c (__coshl): Likewise.
5647 * math/w_exp10l.c (__exp10l): Likewise.
5648 * math/w_exp2l.c (__exp2l): Likewise.
5649 * math/w_fmodl.c (__fmodl): Likewise.
5650 * math/w_hypotl.c (__hypotl): Likewise.
5651 * math/w_j0l.c (__j0l, __y0l): Likewise.
5652 * math/w_j1l.c (__j1l, __y1l): Likewise.
5653 * math/w_jnl.c (__jnl, __ynl): Likewise.
5654 * math/w_lgammal.c (__lgammal): Likewise.
5655 * math/w_log10l.c (__log10l): Likewise.
5656 * math/w_log2l.c (__log2l): Likewise.
5657 * math/w_logl.c (__logl): Likewise.
5658 * math/w_powl.c (__powl): Likewise.
5659 * math/w_remainderl.c (__remainderl): Likewise.
5660 * math/w_scalbl.c (sysv_scalbl): Likewise.
5661 * math/w_sinhl.c (__sinhl): Likewise.
5662 * math/w_sqrtl.c (__sqrtl): Likewise.
5663 * math/w_tgammal.c (__tgammal): Likewise.
5664 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5665 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5666 * math/libm-test.inc (acos_test): Add more tests.
5667 (acosh_test): Likewise.
5668 (asin_test): Likewise.
5669 (atanh_test): Likewise.
5670 (exp_test): Likewise.
5671 (exp10_test): Likewise.
5672 (exp2_test): Likewise.
5673 (expm1_test): Likewise.
5674 (lgamma_test): Likewise.
5675 (log_test): Likewise.
5676 (log10_test): Likewise.
5677 (log1p_test): Likewise.
5678 (log2_test): Likewise.
5679 (pow_test): Do not allow some spurious overflow exceptions.
5680 (sqrt_test): Add more tests.
5681 (tgamma_test): Likewise.
5682 (y0_test): Likewise.
5683 (y1_test): Likewise.
5684 (yn_test): Likewise.
5685
dd62fda6
AB
56862012-03-27 Anton Blanchard <anton@samba.org>
5687
5688 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5689 MAP_HUGETLB.
5690 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5691 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5692 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5693
1e3cdfda
AJ
56942012-03-27 David S. Miller <davem@davemloft.net>
5695
b855ab85
DM
5696 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5697
1e3cdfda
AJ
5698 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5699 have-as-vis3 check.
5700
57012012-03-27 Andreas Jaeger <aj@suse.de>
5702
5703 * sysdeps/x86_64/elf/configure.in: Moved to ...
5704 * sysdeps/x86_64/configure.in: ... here.
5705 * sysdeps/x86_64/elf/start.S: Moved to ...
5706 * sysdeps/x86_64/start.S: ... here.
5707 * sysdeps/x86_64/elf/configure: Delete.
5708
5709 * sysdeps/x86_64/configure.in: Merge contents from
5710 sysdeps/i386/configure.in (without i686 check).
5711
5712 * sysdeps/i386/elf/Versions: Merge into ...
5713 * sysdeps/i386/Versions: ... this.
5714 * sysdeps/i386/elf/Versions: Delete file.
5715 * sysdeps/i386/elf/start.S: Moved to ...
5716 * sysdeps/i386/start.S: ...here.
5717 * sysdeps/i386/elf/configure.in: Merge into...
5718 * sysdeps/i386/configure.in: ...here.
5719 * sysdeps/i386/elf/configure.in: Delete file.
5720 * sysdeps/i386/elf/configure: Delete file.
5721
5722 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5723 * debug/backtracesyms.c: ... here.
5724 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5725 * debug/backtracesymsfd.c: ... here.
5726 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5727 * sysdeps/generic/ifunc-sel.h: ... here.
5728
5729 * sysdeps/unix/i386/start.c: Delete file.
5730 * sysdeps/unix/sparc/start.c: Delete file.
5731 * sysdeps/unix/start.c: Delete file.
5732
5733 * sysdeps/sh/elf/configure.in: Moved to ...
5734 * sysdeps/sh/configure.in: ... here.
5735 * sysdeps/sh/elf/start.S: Moved to ...
5736 * sysdeps/sh/start.S: ... here.
5737 * sysdeps/sh/elf/configure: Delete file.
5738
5739 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5740 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5741 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5742 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5743 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5744 * sysdeps/powerpc/powerpc64/start.S: here.
5745 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5746 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5747 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5748 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5749 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5750
5751 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5752 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5753 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5754 * sysdeps/powerpc/powerpc32/start.S: ... here.
5755 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5756 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5757 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5758
5759 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5760 * sysdeps/powerpc/ifunc-sel.h: ... here.
5761 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5762 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5763
5764 * sysdeps/sparc/elf/configure.in: Moved to ...
5765 * sysdeps/sparc/configure.in: ... here.
5766 * sysdeps/sparc/elf/configure: Delete file.
5767 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5768 * sysdeps/sparc/sparc32/start.S: ... here.
5769 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5770 * sysdeps/sparc/sparc64/start.S: ... here.
5771 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5772 * sysdeps/sparc/sparc32/Makefile: ... this.
5773 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5774 * sysdeps/sparc/sparc64/Makefile: ... this.
5775
5776 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5777 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5778 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5779 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5780 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5781 * sysdeps/s390/s390-32/setjmp.S: ... here.
5782 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5783 * sysdeps/s390/s390-32/configure.in: ... here.
5784 * sysdeps/s390/s390-32/elf/configure: Delete file.
5785 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5786 * sysdeps/s390/s390-32/start.S: ... here.
5787
5788 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5789 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5790 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5791 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5792 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5793 * sysdeps/s390/s390-64/setjmp.S: ... here.
5794 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5795 * sysdeps/s390/s390-64/configure.in: ... here
5796 * sysdeps/s390/s390-64/elf/configure: Delete file.
5797 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5798 * sysdeps/s390/s390-64/start.S: ... here.
5799 * sysdeps/s390/s390-64/elf/configure: Delete.
5800
5801 * configure.in: Remove support for elf directories in sysdeps.
5802
5803 * configure: Regenerated.
5804 * sysdeps/i386/configure: Regenerated.
5805 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5806 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5807 * sysdeps/s390/s390-32/configure: Regenerated.
5808 * sysdeps/s390/s390-64/configure: Regenerated.
5809 * sysdeps/sh/configure: Regenerated.
5810 * sysdeps/sparc/configure: Regenerated.
5811 * sysdeps/x86_64/configure: Regenerated.
5812
a3f61311
AS
58132012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5814
c876e002
AS
5815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5816
a3f61311
AS
5817 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5818 denormal result into account.
5819
ac4c54f0
RM
58202012-03-25 Roland McGrath <roland@hack.frob.com>
5821
5822 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5823 Reported by Allan McRae <allan@archlinux.org>.
5824
6a9b9c02
JL
58252012-03-23 Jeff Law <law@redhat.com>
5826
5827 * nss/getnssent.c (__nss_getent): Fix typo.
5828
4c42a0c1
DM
58292012-03-23 David S. Miller <davem@davemloft.net>
5830
5831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5832
1532c7ac
L
58332012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5834
5835 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5836 to pad to uint64_t for each field.
5837 (dl_tls_index): Replace unsigned long with uint64_t.
5838
3ff42526
PP
58392012-03-23 Daniel Jacobowitz <dmj@google.com>
5840 Paul Pluzhnikov <ppluzhnikov@google.com>
5841
5842 [BZ #6528]
5843 * grp/Makefile (otherlibs): Don't set it.
5844 * inet/Makefile (otherlibs): Likewise.
5845 * login/Makefile (otherlibs): Likewise.
5846 * nscd/Makefile (otherlibs): Likewise.
5847 * posix/Makefile (otherlibs): Likewise.
5848 * pwd/Makefile (otherlibs): Likewise.
5849 * rt/Makefile (otherlibs): Likewise.
5850 * sunrpc/Makefile (otherlibs): Likewise.
5851 * nss/Makefile (otherlibs): Likewise.
5852 Add libnss_files to routines and static-only-routines.
5853 ($(objpfx)getent): Remove rule.
5854 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5855 static-only-routines.
5856
7c69cd14
JM
58572012-03-22 Joseph Myers <joseph@codesourcery.com>
5858
5859 [BZ #13892]
5860 * math/s_cexp.c: Include <float.h>.
5861 (__cexp): Handle exp result overflowing not necessarily
5862 overflowing both real and imaginary parts of result.
5863 * math/s_cexpf.c: Likewise.
5864 * math/s_cexpl.c: Likewise.
5865 * math/libm-test.inc (cexp_test): Add more tests.
5866 * sysdeps/i386/fpu/libm-test-ulps: Update.
5867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5868
81b035fe
L
58692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5870
5871 * include/link.h (ELFW): New macro.
5872 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5873 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5874
1da7940c
L
58752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5876
5877 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5878 with uint64_t.
5879
b749dbb9
L
58802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5881
5882 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5883 declaration.
5884 (struct La_x32_retval): Likewise.
5885
2ff87f3f
L
58862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5887
5888 * sysdeps/x86_64/preconfigure.in: New file.
5889 * sysdeps/x86_64/preconfigure: New generated file.
5890
c0df8e69
JM
58912012-03-22 Joseph Myers <joseph@codesourcery.com>
5892
48e44791
JM
5893 [BZ #13824]
5894 * math/e_exp2l.c: Include <float.h>.
5895 (__ieee754_exp2l): Handle overflow and underflow cases
5896 separately. Only pass fractional part of argument to
5897 __ieee754_expl.
5898 * math/libm-test.inc (exp2_test): Add more tests.
5899
c0df8e69
JM
5900 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5901 negating x to take absolute value.
5902 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5903 Likewise.
5904 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5905 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5906 Likewise.
5907 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5908 computing low part if x was negated.
5909 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5910
c8e43ba7
L
59112012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5912
5913 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5914 la_x32_gnu_pltexit.
5915 (pltexit): Cast int_retval to ptrdiff_t.
5916 * elf/tst-auditmod3b.c: Likewise.
5917 * elf/tst-auditmod4b.c: Likewise.
5918 * elf/tst-auditmod5b.c: Likewise.
5919 * elf/tst-auditmod6b.c: Likewise.
5920 * elf/tst-auditmod6c.c: Likewise.
5921 * elf/tst-auditmod7b.c: Likewise.
5922
5923 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5924 and x32_gnu_pltexit.
5925
5926 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5927 __ELF_NATIVE_CLASS.
5928 (La_x32_regs): New macro.
5929 (La_x32_retval): Likewise.
5930 (la_x32_gnu_pltenter): New function prototype.
5931 (la_x32_gnu_pltexit): Likewise.
5932
7998fa78
AS
59332012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5934
dcb33988
AS
5935 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5936 exponent.
5937
233fc563
AS
5938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5939
7998fa78
AS
5940 * configure.in (libc_cv_cc_nofma): Check for option to disable
5941 generation of FMA instructions.
5942 * configure: Regenerate.
5943 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5944 * sysdeps/ieee754/dbl-64/Makefile: New file.
5945 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5946 Remove brandred-fma4.
5947 (CFLAGS-brandred-fma4.c): Remove.
5948 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5949 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5950 define.
5951 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5952 define.
5953
8e95c99a
L
59542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5955
5956 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5957 LLONG_MAX != LONG_MAX.
5958 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5959 (_fitoa_word): Likewise.
5960 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5961 LLONG_MAX != LONG_MAX.
5962 * stdio-common/_itowa.h: Include <_itoa.h>.
5963 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5964 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5965 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5966 only if not defined.
5967 (_ITOA_WORD_TYPE): Likewise.
5968 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5969 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5970
6f4db457
DM
59712012-03-21 David S. Miller <davem@davemloft.net>
5972
5973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5974
7785fe5a
L
59752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5976
5977 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5978 of x86_64 when setting libc_cv_slibdir, libdir and
5979 libc_cv_localedir.
5980 * sysdeps/unix/sysv/linux/configure: Regenerated.
5981
4535cd55
JM
59822012-03-21 Joseph Myers <joseph@codesourcery.com>
5983
5984 * manual/lang.texi (Old Varargs): Remove section.
5985 (How Variadic): Update menu.
5986 (va_start): Do not mention varargs.h.
5987
17228132
TS
59882012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5989 Joseph Myers <joseph@codesourcery.com>
5990
5991 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5992 link test.
5993 * configure: Regenerated.
5994
8149f976
TS
59952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5996
05f3d1f6
UD
5997 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5998 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5999 conformtest.pl
8149f976 6000
1a4ac776
JM
60012012-03-21 Joseph Myers <joseph@codesourcery.com>
6002
be22ce65
JM
6003 * NOTES: Remove.
6004 * Makefile (files-for-dist): Remove NOTES.
6005 (NOTES): Remove rule.
6006 * README: Don't refer to NOTES.
6007 * manual/creature.texi: Don't include macros.texi.
6008 * manual/intro.texi (creature.texi): Remove comment referring to
6009 NOTES.
6010
40b601fb
JM
6011 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6012 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6013 * configure: Regenerated.
6014 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6015 LIBC_TRY_CC_OPTION.
6016 (libc_cv_as_i686): Likewise.
6017 (libc_cv_cc_avx): Likewise.
6018 (libc_cv_cc_sse2avx): Likewise.
6019 (libc_cv_cc_fma4): Likewise.
6020 (libc_cv_cc_novzeroupper): Likewise.
6021 * sysdeps/i386/configure: Regenerated.
6022
1a4ac776
JM
6023 [BZ #13883]
6024 * sysdeps/i386/fpu/s_cexp.S: Remove.
6025 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6026 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6027 * math/libm-test.inc (cexp_test): Add more tests.
6028 * sysdeps/i386/fpu/libm-test-ulps: Update.
6029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6030
a458e7fe
AM
60312012-03-21 Allan McRae <allan@archlinux.org>
6032
6033 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6034
0cb7efc5
JM
60352012-03-21 Joseph Myers <joseph@codesourcery.com>
6036
6037 [BZ #13871]
6038 * math/w_exp2.c: Do not include <float.h>.
6039 (o_threshold, u_threshold): Remove.
6040 (__exp2): Calculate result before checking finiteness and calling
6041 __kernel_standard.
6042 * math/w_exp2f.c: Likewise.
6043 * math/w_exp2l.c: Likewise.
6044 * math/libm-test.inc (exp2_test): Require overflow exception for
6045 1e6 input.
2460d3aa
JM
6046
6047 [BZ #3866]
6048 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6049 range of signed 64-bit integers before using fistpll. Remove
6050 checks for whether integers fit in mantissa bits.
6051 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6052 the range of signed 32-bit integers before using fistpl. Remove
6053 checks for whether integers fit in mantissa bits.
6054 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6055 (__ieee754_powl): Test for y outside the range of signed 64-bit
6056 integers before using fistpll. Reduce 64-bit values to 63-bit
6057 ones as needed.
6058 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6059 divide-by-zero is raised for zero to large negative powers.
6060 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6061 (__ieee754_powl): Test for y outside the range of signed 64-bit
6062 integers before using fistpll. Reduce 64-bit values to 63-bit
6063 ones as needed.
6064 * math/libm-test.inc (pow_test): Add more tests.
6065
eb96ffb0
L
60662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6067
6068 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6069 <stdio-common/_itoa.h>.
6070 * debug/segfault.c: Likewise.
6071 * elf/dl-cache.c: Likewise.
6072 * elf/dl-minimal.c: Likewise.
6073 * elf/dl-misc.c: Likewise.
6074 * elf/dl-sysdep.c: Likewise.
6075 * elf/dl-version.c: Likewise.
6076 * elf/rtld.c: Likewise.
6077 * hurd/hurdsock.c: Likewise.
6078 * hurd/lookup-retry.c: Likewise.
6079 * malloc/malloc.c: Likewise.
6080 * malloc/mtrace.c: Likewise.
6081 * nscd/nscd_getgr_r.c: Likewise.
6082 * nscd/nscd_getpw_r.c: Likewise.
6083 * nscd/nscd_getserv_r.c: Likewise.
6084 * posix/getopt_init.c: Likewise.
6085 * posix/wordexp.c: Likewise.
6086 * stdio-common/_itoa.c: Likewise.
6087 * stdio-common/printf_fphex.c: Likewise.
6088 * stdio-common/vfprintf.c: Likewise.
6089 * string/_strerror.c: Likewise.
6090 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6091 * sysdeps/i386/i686/hp-timing.h: Likewise.
6092 * sysdeps/mach/_strerror.c: Likewise.
6093 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6094 * sysdeps/mach/hurd/sethostid.c: Likewise.
6095 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6096 * sysdeps/mach/xpg-strerror.c: Likewise.
6097 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6098 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6099 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6100 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6101 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6102 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6103 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6104 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6105 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6106 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6107 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6108 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6109 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6110 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6111 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6112 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6113 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6114 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6115 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6116 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6117 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6118
6119 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6120
6121 * stdio-common/_itoa.h: Moved to ...
6122 * sysdeps/generic/_itoa.h: Here.
6123
6124 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6125
6126 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6127 instead of "_itoa.h" and "_itowa.h".
6128 * stdio-common/vfprintf.: Likewise.
6129
d1af992d
L
61302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6131
6132 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6133 <bits/wordsize.h>.
6134 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6135 (__signbit): Likwise.
6136 (llrintf): Likwise.
6137 (llrint): Likwise.
6138
114883e0
L
61392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6140
6141 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6142 __WORDSIZE != 64.
6143
c135cc1b
JM
61442012-03-20 Joseph Myers <joseph@codesourcery.com>
6145
6146 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6147 OVERFLOW_EXCEPTION_OK.
6148 * math/libm-test.inc ("Philosophy"): Update comment about
6149 exception testing.
6150 (OVERFLOW_EXCEPTION): Define.
6151 (OVERFLOW_EXCEPTION_OK): Likewise.
6152 (INVALID_EXCEPTION_OK): Renumber.
6153 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6154 (IGNORE_ZERO_INF_SIGN): Likewise.
6155 (test_exceptions): Handle FE_OVERFLOW.
6156 (exp10_test): Expect overflow exceptions.
6157 (exp2_test): Likewise.
6158 (expm1_test): Likewise.
6159 (nextafter_test): Likewise.
6160 (pow_test): Likewise.
6161 (scalbn_test): Likewise.
6162 (scalbln_test): Likewise.
6163
95443d88
L
61642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6165
6166 * sysdeps/x86_64/bits/atomic.h
6167 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6168 64bit integer.
6169 (atomic_exchange_acq): Likewise.
6170 (__arch_exchange_and_add_body): Likewise.
6171 (__arch_add_body): Likewise.
6172 (atomic_add_negative): Likewise.
6173 (atomic_add_zero): Likewise.
6174
490df6c4
L
61752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6176
c2722551 6177 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6178 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6179
5e52b189
L
61802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6181
6182 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6183 Check __x86_64__ instead of __WORDSIZE.
6184
a9879d4c
L
61852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6186
6187 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6188
5df98260
DM
61892012-03-19 David S. Miller <davem@davemloft.net>
6190
e1497744
DM
6191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6192
5df98260
DM
6193 * sysdeps/sparc/fpu/fenv_private.h: New file.
6194 * sysdeps/sparc/fpu/math_private.h: Use it.
6195 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6196 Remove.
6197 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6198 (libc_feholdexcept_setroundl): Remove.
6199 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6200 Remove.
6201 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6202 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6203
b4c35121
L
62042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6205
6206 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6207 int64_t instead of long int.
6208 (INSERT_WORDS64): Likwise.
6209
56965fd7
L
62102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6211
6212 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6213 _Unwind_GetCFA return to _Unwind_Ptr first.
6214
83d1aec8
JM
62152012-03-19 Joseph Myers <joseph@codesourcery.com>
6216
1897ad44
JM
6217 [BZ #13629]
6218 * math/s_clog.c: Include <float.h>.
6219 (__clog): Scale large or subnormal inputs.
6220 * math/s_clogf.c: Likewise.
6221 * math/s_clogl.c: Likewise.
6222 * math/s_clog10.c: Include <float.h>.
6223 (M_LOG10_2): Define.
6224 (__clog10): Scale large or subnormal inputs.
6225 * math/s_clog10f.c: Likewise.
6226 * math/s_clog10l.c: Likewise.
6227 * math/libm-test.inc (clog_test): Add more tests.
6228 (clog10_test): Likewise.
6229 * sysdeps/i386/fpu/libm-test-ulps: Update.
6230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6231
7726d6a9
JM
6232 [BZ #11451]
6233 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6234 x and y.
6235 * math/libm-test.inc (atan2_test): Add another test.
6236
83d1aec8
JM
6237 * Makerules (common-objdir-compile): Remove.
6238 * sysdeps/unix/Makefile (config-generated): Do not add
6239 $(unix-generated) to variable.
6240 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6241 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6242 Remove rule.
6243 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6244 Likewise.
6245 [generic bits/local_lim.h] (before-compile): Do not append to
6246 variable.
6247 [generic bits/local_lim.h] (common-generated): Likewise.
6248 [generic sys/param.h] (before-compile): Do not append to variable.
6249 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6250 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6251 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6252 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6253 include.
6254 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6255 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6256 [generic sys/param.h] ($(addprefix
6257 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6258 [generic sys/param.h] (common-generated): Do not append to
6259 variable.
6260 [generic sys/param.h] (sysdep_headers): Likewise.
6261 [generic bits/errno.h] (before-compile): Do not append to
6262 variable.
6263 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6264 rule.
6265 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6266 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6267 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6268 [generic bits/errno.h] (common-generated): Do not append to
6269 variable.
6270 [generic bits/ioctls.h] (before-compile): Do not append to
6271 variable.
6272 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6273 rule.
6274 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6275 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6276 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6277 rule.
6278 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6279 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6280 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6281 [generic bits/ioctls.h] (common-generated): Do not append to
6282 variable.
6283 [generic sys/syscall.h] (syscall.h): Remove variable.
6284 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6285 rule.
6286 [generic sys/syscall.h] (before-compile): Do not append to
6287 variable.
6288 [generic sys/syscall.h] (common-generated): Likewise.
6289 * sysdeps/unix/errnos-tmpl.c: Remove file.
6290 * sysdeps/unix/errnos.awk: Likewise.
6291 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6292 * sysdeps/unix/ioctls.awk: Likewise.
6293 * sysdeps/unix/mk-local_lim.c: Likewise.
6294 * sysdeps/unix/snarf-ioctls: Likewise.
6295
4851a949
RH
62962012-03-19 Richard Henderson <rth@twiddle.net>
6297
bd37f2ee
RH
6298 * sysdeps/i386/fpu/fenv_private.h: New file.
6299 * sysdeps/i386/fpu/math_private.h: Use it.
6300 (math_opt_barrier, math_force_eval): Remove.
6301 (libc_feholdexcept_setround_53bit): Remove.
6302 (libc_feupdateenv_53bit): Remove.
6303 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6304 (math_opt_barrier, math_force_eval): Remove.
6305 (libc_feholdexcept): Remove.
6306 (libc_feholdexcept_setround): Remove.
6307 (libc_fetestexcept, libc_fesetenv): Remove.
6308 (libc_feupdateenv_test): Remove.
6309 (libc_feupdateenv, libc_feholdsetround): Remove.
6310 (libc_feresetround): Remove.
6311
d0adc922
RH
6312 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6313 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6314
0fe0f1f8
RH
6315 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6316 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6317 (libc_feupdateenv_testl): New.
6318 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6319 (libc_feupdateenv_testf): New.
6320 (libc_feupdateenv): Use libc_feupdateenv_test.
6321 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6322 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6323
eb92c487
RH
6324 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6325 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6326 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6327 (libc_feresetround_noex): New.
6328 (libc_feresetround_noexf): New.
6329 (libc_feresetround_noexl): New.
6330 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6331 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6332 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6333 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6334 SET_RESTORE_ROUND.
6335 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6336 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6337 (__cos): Likewise.
6338 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6339 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6340 SET_RESTORE_ROUND_NOEX.
6341 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6342 SET_RESTORE_ROUND_NOEXF.
6343 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6344 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6345 (libc_feholdsetroundf): New.
6346 (libc_feresetround, libc_feresetroundf): New.
6347
7d2e8012
RH
6348 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6349 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6350 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6351
b4dabbb4
RH
6352 * sysdeps/generic/math_private.h: Include <fenv.h>.
6353 (default_libc_feholdexcept): New.
6354 (default_libc_feholdexcept_setround): New.
6355 (default_libc_fesetenv, default_libc_feupdateenv): New.
6356 (libc_feholdexcept): Only define if undefined.
6357 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6358 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6359 (libc_feholdexcept_setroundl): Likewise.
6360 (libc_feholdexcept_setround_53bit): Likewise.
6361 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6362 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6363 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6364 (libc_feupdateenv_53bit): Likewise.
6365 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6366 (libc_feholdexcept): Convert from macro to inline function.
6367 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6368 (libc_fesetenv, libc_feupdateenv): Likewise.
6369
4851a949
RH
6370 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6371 not previously defined.
6372 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6373 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6374 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6375 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6376 * sysdeps/ieee754/flt-32/math_private.h: New file.
6377 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6378 math_private.h below SET_FLOAT_WORD.
6379 (__isnan, __isinf_ns, __finite): Remove.
6380 (__isnanf, __isinf_nsf, __finitef): Remove.
6381
e79d442e
AS
63822012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6383
6384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6385
90b80344
DM
63862012-03-17 David S. Miller <davem@davemloft.net>
6387
6388 [BZ #6471]
6389 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6390 for 2.16.
6391
edc21804
DM
63922012-03-16 David S. Miller <davem@davemloft.net>
6393
77e927af
DM
6394 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6395 warnings.
6396
374976dd
DM
6397 [BZ #6471]
6398 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6399 properly.
6400 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6401 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6402 sysdep_routines when subdir is sysvipc.
6403 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6404 __getshmlba helper.
6405
edc21804
DM
6406 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6407
473c3ef3
L
64082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6409
6410 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6411 [__LP64__].
6412
eb0f39b6
L
64132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6414
6415 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6416 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6417 (__lround): Renamed to ...
6418 (__llround): This. Replace long int with long long int.
6419 Define lround functions as aliases of llround functions.
6420 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6421
6b6cd74b
L
64222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6423
6424 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6425 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6426 adresses to uintptr_t. Replace "long int" and "unsigned long
6427 int" with "greg_t" on va_arg.
6428
f1a77b01
L
64292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6430
6431 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6432 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6433
6434 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6435 Move e_machine check before EI_CLASS check. Handle x32
6436 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6437 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6438 SKIP_EM_IA_64 and include
6439 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6440
6441 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6442 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6443 (add_system_dir): New macro.
6444
6445 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6446 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6447
11b90b9f
JM
64482012-03-16 Joseph Myers <joseph@codesourcery.com>
6449
c36e1d23
JM
6450 [BZ #2551]
6451 [BZ #2552]
6452 [BZ #2553]
6453 [BZ #2554]
6454 [BZ #2562]
6455 [BZ #2563]
6456 [BZ #2565]
6457 [BZ #2566]
6458 [BZ #2576]
6459 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6460 (y0): Likewise.
6461 * math/w_j0f.c (j0f): Likewise.
6462 (y0f): Likewise.
6463 * math/w_j0l.c (__j0l): Likewise.
6464 (__y0l): Likewise.
6465 * math/w_j1.c (j1): Likewise.
6466 (y1): Likewise.
6467 * math/w_j1f.c (j1f): Likewise.
6468 (y1f): Likewise.
6469 * math/w_j1l.c (__j1l): Likewise.
6470 (__y1l): Likewise.
6471 * math/w_jn.c (jn): Likewise.
6472 (yn): Likewise.
6473 * math/w_jnf.c (jnf): Likewise.
6474 (ynf): Likewise.
6475 * math/w_jnl.c (__jnl): Likewise.
6476 (__ynl): Likewise.
6477 * math/libm-test.inc (j0_test): Add more tests.
6478 (j1_test): Likewise.
6479 (jn_test): Likewise. Add trailing semicolon to existing test.
6480 (y0_test): Likewise.
6481 (y1_test): Likewise.
6482 * sysdeps/i386/fpu/libm-test-ulps: Update.
6483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6484
11b90b9f
JM
6485 [BZ #13851]
6486 [BZ #13854]
6487 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6488 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6489 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6490 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6491 (__tanl): Set errno for infinite argument.
6492 * sysdeps/i386/fpu/mptan.c: Remove.
6493 * sysdeps/i386/fpu/s_tan.S: Likewise.
6494 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6495 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6496 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6497 * math/libm-test.inc (tan_test): Add more tests and enable more
6498 tests for double and long double.
6499 * sysdeps/i386/fpu/libm-test-ulps: Update.
6500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6501
6a1bd2a1
JK
65022012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6503
6504 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6505 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6506
10a803e0
RM
65072012-03-16 Roland McGrath <roland@hack.frob.com>
6508
6509 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6510 * configure.in: Use it for both main tree and add-ons.
6511 * configure: Regenerated.
6512
f196c7f7
L
65132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6514
6515 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6516
8848d99d
JM
65172012-03-16 Joseph Myers <joseph@codesourcery.com>
6518
96cbe7f4
JM
6519 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6520 in comment.
6521
8848d99d
JM
6522 [BZ #13851]
6523 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6524 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6525 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6526 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6527 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6528 infinite argument.
6529 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6530 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6531 != 0 for prec == 2.
6532 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6533 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6534 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6535 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6536 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6537 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6538 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6539 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6540 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6541 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6542 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6543 * math/libm-test.inc (cos_test): Add more tests and enable more
6544 tests for long double.
6545 (sin_test): Likewise.
6546 (sincos_test): Likewise.
6547 * sysdeps/i386/fpu/libm-test-ulps: Update.
6548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6549
dd7f4703
DM
65502012-03-16 David S. Miller <davem@davemloft.net>
6551
6552 * sysdeps/sparc/fpu/math_private.h: New file.
6553
006f1daa
DM
65542012-03-15 David S. Miller <davem@davemloft.net>
6555
c0c83bc8
DM
6556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6557 file.
e6a62e18 6558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6560 file.
e6a62e18
DM
6561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6563 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6565 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6566 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6567 sysdep routines.
6568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6569
88cb87d9
DM
6570 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6571 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6572
006f1daa 6573 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6575 sparc-ifunc.h
006f1daa 6576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6578 Likewise.
6579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6580 Likewise.
006f1daa
DM
6581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6585 Likewise.
006f1daa
DM
6586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6591 Likewise.
6592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6593 Likewise.
006f1daa
DM
6594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6599 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6600 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6601 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6602 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6611 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6612 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6613 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6614 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6615 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6616 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6617 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6618
11e0098e
AS
66192012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6620
6621 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6622 scaling.
6623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6624
e85b09d0
AJ
66252012-03-15 Andreas Jaeger <aj@suse.de>
6626
6627 [BZ #13852]
6628 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6629 ieee754/flt-32 implementation for sin, cos and sincos.
6630 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6631 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6632 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6633 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6634 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6635 ieee754/flt-32 implementation for tan.
6636
6637 * math/libm-test.inc (cos_test): Enable some large input tests for
6638 float as well
6639 (sin_test): Likewise.
6640 (sincos_test): Likewise.
6641 (tan_test): Add tests for large input.
6642
6643 * sysdeps/i386/fpu/libm-test-ulps: Update.
6644
81c64153
AJ
66452012-03-15 Andreas Jaeger <aj@suse.de>
6646
6647 [BZ #13658]
6648 * math/libm-test.inc (cos_test): Add more test cases.
6649 (sin_test): Likewise.
6650 (sincos_test): Likewise.
6651
7bbfa5c6
AJ
66522012-03-15 Andreas Jaeger <aj@suse.de>
6653
6654 [BZ #13837]
6655 * math/libm-test.inc (cos_test): Add a test case for large input
6656 value.
6657 (sin_test): Likewise.
6658 (sincos_test): Likewise.
6659
66602012-03-15 Andreas Jaeger <aj@suse.de>,
6661 Joseph Myers <joseph@codesourcery.com>
6662
6663 [BZ #13658]
0671f479 6664 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6665 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6666 * sysdeps/i386/fpu/branred.c: Likewise.
6667 * sysdeps/i386/fpu/dosincos.c: Likewise.
6668 * sysdeps/i386/fpu/mpa.c: Likewise.
6669 * sysdeps/i386/fpu/s_cos.S: Likewise.
6670 * sysdeps/i386/fpu/s_sin.S: Likewise.
6671 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6672 * sysdeps/i386/fpu/sincos32.c: Likewise.
6673
6674 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6675 Define.
6676 (libc_feupdateenv_53bit): Define.
6677 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6678 Define.
6679 (libc_feupdateenv_53bit): Define.
6680
6681 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6682 53 bit (without extend i386 double precision).
6683
6684 * math/libm-test.inc (sincos_test): Add tests for large input.
6685 (sin): Likewise.
6686 (cos): Likewise.
6687
6688 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6689
9cad04ea
AS
66902012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6691
6692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6693
f7062b9a
DM
66942012-03-15 David S. Miller <davem@davemloft.net>
6695
6696 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6697 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6698 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6699 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6705 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6707 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6712 file.
f7062b9a 6713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6715 file.
f7062b9a 6716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6718 file.
f7062b9a 6719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6721 file.
f7062b9a
DM
6722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6723 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6724 fmin/fmax sysdep routines.
6725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6726
7bd951ff
DM
67272012-03-14 David S. Miller <davem@davemloft.net>
6728
559398ab
DM
6729 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6730 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6731 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6732 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6733 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6734 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6735 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6736 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6737 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6738 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6739 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6740 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6741 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6742 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6743 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6744 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6745 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6746 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6747 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6748 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6749 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6750 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6751 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6752 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6753 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6754 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6755 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6756 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6757 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6758 routines.
6759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6760 file.
559398ab 6761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6763 file.
559398ab 6764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6766 file.
559398ab 6767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6769 file.
559398ab 6770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6772 file.
559398ab 6773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6775 file.
6776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6777 file.
6778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6779 file.
6780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6781 file.
6782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6783 New file.
6784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6785 file.
6786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6787 file.
559398ab 6788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6790 file.
559398ab 6791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6793 file.
559398ab 6794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6796 file.
559398ab 6797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6799 VIS3 routines.
559398ab
DM
6800
6801 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6802 New file.
6803
5a1c1e32
DM
6804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6805
eae47a36
DM
6806 * sysdeps/sparc/configure.in: New file.
6807 * sysdeps/sparc/configure: Generate.
6808 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6809 * configure: Regenerate.
6810 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6811 * config.make.in (have-as-vis3): New.
6812 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6813 available use -Av9d instead of -Av9a.
6814 * sysdeps/sparc/sparc64/Makefile: Likewise.
6815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6817 New file.
6818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6819 file.
6820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6821 New file.
6822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6823 file.
eae47a36
DM
6824 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6825 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6826 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6827 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6828 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6829
c0c83bc8
DM
6830 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6831 fzeros/fnegs to load 0x80000000 into a float register instead of
6832 using the stack.
7bd951ff
DM
6833 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6834
bd951ccb
JM
68352012-03-14 Joseph Myers <joseph@codesourcery.com>
6836
6837 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6838 bits/syscall.h.
6839 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6840 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6841 ($(inst_includedir)/bits/syscall.h): Remove rule.
6842 ($(objpfx)bits/syscall.d): Include instead of
6843 $(objpfx)syscall-list.d.
6844 (generated): Change syscall-list.h and syscall-list.d to
6845 bits/syscall.h and bits/syscall.d.
6846
bb4e6db2
RM
68472012-03-14 Roland McGrath <roland@hack.frob.com>
6848
6849 [BZ #13846]
6850 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6851
aa4a2ae1
JM
68522012-03-14 Joseph Myers <joseph@codesourcery.com>
6853
e456826d
JM
6854 [BZ #13841]
6855 * math/s_csqrt.c: Include <float.h>.
6856 (__csqrt): Scale large or subnormal inputs.
6857 * math/s_csqrtf.c: Likewise.
6858 * math/s_csqrtl.c: Likewise.
6859 * math/libm-test.inc (csqrt_test): Add more tests.
6860 * sysdeps/i386/fpu/libm-test-ulps: Update.
6861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6862
aa4a2ae1
JM
6863 [BZ #13840]
6864 * math/libm-test.inc (hypot_test): Add more tests.
6865
7c10fd35
DM
68662012-03-13 David S. Miller <davem@davemloft.net>
6867
6868 [BZ #13840]
6869 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6870 double-precision for the calculation instead of scaling.
6871
f453b98b
JM
68722012-03-13 Joseph Myers <joseph@codesourcery.com>
6873
6874 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6875 manipulate bits before adding and subtracting TWO52[sx].
6876 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6877 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6878 Likewise.
6879 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6880
09a3453f
DM
68812012-03-13 David S. Miller <davem@davemloft.net>
6882
8e59da90
DM
6883 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6884 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6885 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6886 rtld-global-offsets.h
6887 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6888
2a8ab7f2
DM
6889 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6890 large parameters.
6891
10f62770
DM
6892 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6893
5f0bdb18
DM
6894 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6895 'err' in the ifdef scope in which it is actually used.
6896
09a3453f
DM
6897 * nss/nss_db/db-init.c: Include string.h
6898
b4b2eb5e
DM
68992012-03-12 David S. Miller <davem@davemloft.net>
6900
98bb2f1c
DM
6901 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6902 masking out of the most significant byte of random value used.
6903 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6904 Fix coding style in previous change.
6905
b4b2eb5e
DM
6906 * sysdeps/unix/sysv/linux/kernel-features.h
6907 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6908 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6909 expression.
6910 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6911 later.
6912
6e226b09
DM
69132012-03-11 David S. Miller <davem@davemloft.net>
6914
a1bcbd40
DM
6915 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6916 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6917 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6918 for 'resultvar' otherwise things get truncated on 64-bit.
6919
cb9d6174
DM
6920 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6921 Fix masking out of the most significant byte of random value used.
6922
6e226b09
DM
6923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6924
058c132d
AS
69252012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6926
6927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6928
2d2cd515
DM
69292012-03-09 David S. Miller <davem@davemloft.net>
6930
6931 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6932 variables with appropriate CPP guards.
6933 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6934 frame pointer, not the stack pointer. Correct layout comments. Fix test
6935 on resulting framesize and the management of the outregs buffer for pltexit.
6936 Preserve floating point return values across _dl_call_pltexit call.
6937 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6938 framesize and the management of the outregs buffer for pltexit.
6939 Preserve floating point return values across _dl_call_pltexit
6940 call.
6941 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6942 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6943 (print_exit): Fix format string for return register value.
6944
9a07f9d0
JM
69452012-03-10 Joseph Myers <joseph@codesourcery.com>
6946
6947 * sunrpc/Makefile (others): Add rpcgen.
6948 ($(objpfx)rpcgen): Remove special build rule and dependency on
6949 libc.
6950 * sunrpc/rpcgen.c: New file.
6951
547b5e30
PE
69522012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6953
c524201a
PE
6954 [BZ #13673]
6955 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6956 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6957 * sysdeps/i386/crti.S: Likewise.
6958 * sysdeps/i386/crtn.S: Likewise.
6959 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6960 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6961 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6962 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6963 * sysdeps/sh/crti.S: Likewise.
6964 * sysdeps/sh/crtn.S: Likewise.
6965 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6966
7b6235f2
PE
6967 [BZ #13673]
6968 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6969 with URL.
6970 * locale/programs/locfile-kw.gperf: Likewise.
6971 * locale/programs/charmap-kw.h: Regenerated.
6972 * locale/programs/locfile-kw.h: Likewise.
6973
547b5e30
PE
6974 [BZ #13673]
6975 * intl/plural.y: Replace FSF snail mail address with URL.
6976 * intl/plural.c: Regenerated.
6977
5f0a5dae
RH
69782012-03-09 Richard Henderson <rth@twiddle.net>
6979
6980 * include/math_private.h: Remove file.
6981 * math/math_private.h: Move file ...
6982 * sysdeps/generic/math_private.h: ... here.
6983
b8c03620
RH
6984 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6985 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6986 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6987
4e234f5d 6988 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6989 and <math_private.h>.
6990 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6991 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6992 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6993 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6994 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6995 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6996 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6997 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6998 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6999 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7001 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7002 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7003 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7004 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7005 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7006 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7007 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7008 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7009 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7010 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7011 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7012 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7013 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7014 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7015 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7016 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7017 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7018 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7019 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7020 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7021 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7022 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7023 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7024 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7025 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7026 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7027 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7028 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7029 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7030 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7031 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7032 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7033 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7034 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7035 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7036 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7037 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7038 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7039 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7040 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7041 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7042 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7043 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7044 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7045 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7046 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7047 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7048 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7049 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7050 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7051 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7052 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7053 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7054 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7055 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7056 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7057 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7058 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7059 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7060 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7061 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7062 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7063 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7064 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7065 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7066 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7067 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7068 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7069 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7070 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7071 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7072 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7073 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7074 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7075 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7076 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7077 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7078 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7079 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7080 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7081 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7082 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7083 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7084 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7085 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7086 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7087 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7088 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7089 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7090 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7091 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7092 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7093 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7094 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7095 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7096 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7097 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7098 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7099 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7100 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7101 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7102 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7103 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7104 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7105 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7106 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7107 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7108 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7109 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7110 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7111 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7112 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7113 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7114 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7115 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7116 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7117 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7118 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7119 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7120 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7121 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7122 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7123 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7124 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7125 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7126 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7127 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7128 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7129 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7130 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7131 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7132 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7133 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7134 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7135 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7136 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7137 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7138 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7139 * sysdeps/ieee754/k_standard.c: Likewise.
7140 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7141 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7142 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7143 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7144 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7145 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7146 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7147 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7148 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7149 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7150 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7151 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7152 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7153 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7154 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7155 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7156 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7157 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7158 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7159 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7160 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7161 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7162 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7163 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7164 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7165 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7166 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7167 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7168 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7169 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7170 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7171 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7172 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7173 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7174 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7175 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7176 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7177 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7178 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7179 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7180 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7181 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7182 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7183 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7184 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7185 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7186 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7187 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7188 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7189 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7190 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7191 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7192 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7193 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7194 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7195 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7196 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7197 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7198 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7199 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7200 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7201 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7202 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7203 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7204 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7205 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7206 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7207 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7208 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7209 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7210 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7211 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7212 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7213 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7214 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7215 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7216 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7217 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7218 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7219 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7220 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7221 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7222 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7223 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7224 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7225 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7226 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7227 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7228 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7229 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7230 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7231 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7232 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7233 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7234 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7235 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7236 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7237 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7238 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7239 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7240 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7241 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7242 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7243 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7244 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7245 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7246 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7247 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7248 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7249 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7250 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7251 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7252 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7253 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7254 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7255 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7256 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7257 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7258 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7259 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7260 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7261 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7262 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7263 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7264 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7265 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7266 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7267 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7268 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7269 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7270 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7271 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7272 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7274 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7275 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7276 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7277 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7278 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7279 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7280 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7281 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7282 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7283 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7284 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7285 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7286 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7287 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7288 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7289 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7290 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7291 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7292 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7293 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7294 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7295 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7296 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7297 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7298 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7299 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7300 * sysdeps/ieee754/s_lib_version.c: Likewise.
7301 * sysdeps/ieee754/s_matherr.c: Likewise.
7302 * sysdeps/ieee754/s_signgam.c: Likewise.
7303 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7304 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7305 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7306 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7307 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7308 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7309 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7310 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7311 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7312 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7313 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7314 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7315 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7316 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7317 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7318 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7319 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7320 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7321 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7322 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7323 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7324
1991fa03
JM
73252012-03-09 Joseph Myers <joseph@codesourcery.com>
7326
7327 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7328 * sunrpc/rpc_main.c: Likewise.
7329 * sunrpc/rpc_svcout.c: Likewise.
7330
60d6f5a6
DM
73312012-03-09 David S. Miller <davem@davemloft.net>
7332
7333 * include/math_private.h: New file.
7334
4962050e
JM
73352012-03-09 Joseph Myers <joseph@codesourcery.com>
7336
02a6f887
JM
7337 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7338 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7339 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7340 from <bits/socket_type.h>.
7341 (enum __socket_type): Don't define here.
7342 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7343 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7344 bits/socket_type.h.
7345
c6e013c1
JM
7346 [BZ #13566]
7347 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7348 checking __USE_GNU.
7349
4962050e
JM
7350 * Makerules ($(inst_includedir)/%.h): New rule.
7351 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7352 (install-others): Remove variable setting.
7353 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7354
38842f45
RH
73552012-03-08 Richard Henderson <rth@twiddle.net>
7356
67bb6da6
RH
7357 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7358 from macro to inline function; merge with the
7359 !__LIBC_INTERNAL_MATH_INLINES version.
7360 (__ieee754_sqrtf): Likewise.
7361
15194b4b
RH
7362 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7363 to inline function.
7364 (__rintf, __floor, __floorf): Likewise.
7365
64e21ede
RH
7366 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7367 macro to inline function.
7368 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7369
38842f45
RH
7370 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7371 not <math/math_private.h>.
7372
c64bf5fe
DM
73732012-03-08 David S. Miller <davem@davemloft.net>
7374
7375 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7376 copyright year.
7377 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7378
82d86f28
TS
73792012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7380
7381 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7382 normalization.
7383 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7384 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7385
aea5d727
UD
73862012-03-08 Ulrich Drepper <drepper@gmail.com>
7387
7388 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7389 be defined individually, they must be defined as a block. Define
7390 S for printing a string instead of hidint the different by using a
7391 macro for adding the 'l'.
7392 * stdio-common/tst-fphex-wide.c: Adjust.
7393
70bca0a3
MP
73942012-03-07 Marek Polacek <polacek@redhat.com>
7395
7396 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7397
65b81130
MP
73982012-03-08 Marek Polacek <polacek@redhat.com>
7399
7400 [BZ #13806]
7401 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7402 * stdio-common/tst-fphex.c: Define a few macros to make the
7403 test reusable. Use them.
7404 * stdio-common/tst-fphex-wide.c: New file.
7405
07037eeb
JM
74062012-03-08 Joseph Myers <joseph@codesourcery.com>
7407
a7a93d50
JM
7408 [BZ #6911]
7409 * manual/macros.texi (gnusystems): New macro.
7410 (nongnusystems): Likewise.
7411 (gnulinuxhurdsystems): Likewise.
7412 (gnuhurdsystems): Likewise..
7413 (gnulinuxsystems): Likewise.
7414 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7415 variants of the GNU system, not "GNU system".
7416 * manual/conf.texi: Likewise.
7417 * manual/errno.texi: Likewise. Update example of errno macro
7418 expansion.
7419 * manual/filesys.texi: Likewise.
7420 (getumask): Document as specific to GNU/Hurd.
7421 * manual/install.texi: Likewise. Reword some references to
7422 GNU/Linux.
7423 * manual/intro.texi: Likewise.
7424 * manual/io.texi: Likewise.
7425 (File Name Portability): Detail which constraints are inapplicable
7426 to all GNU systems and which are only inapplicable to GNU/Hurd.
7427 * manual/job.texi: Likewise.
7428 * manual/llio.texi: Likewise.
7429 (O_NOCTTY): Document as present on GNU/Linux.
7430 * manual/maint.texi: Likewise.
7431 * manual/memory.texi: Likewise.
7432 * manual/pattern.texi: Likewise.
7433 * manual/pipe.texi: Likewise.
7434 * manual/process.texi: Likewise.
7435 * manual/resource.texi: Likewise.
7436 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7437 child on GNU/Hurd.
7438 * manual/setjmp.texi: Likewise.
7439 * manual/signal.texi: Likewise.
7440 * manual/startup.texi: Likewise.
7441 * manual/stdio.texi: Likewise.
7442 * manual/terminal.texi: Likewise.
7443 (ONLCR): Document as POSIX.
7444 (OXTABS): Document availability on GNU/Linux as XTABS.
7445 (ONOEOT): Document availability separately from other bits.
7446 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7447 * manual/time.texi: Likewise.
7448 * manual/users.texi: Likewise.
7449 * INSTALL: Regenerated.
7450 * sysdeps/gnu/errlist.c: Regenerated.
7451
07037eeb
JM
7452 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7453 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7454 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7455 puts.
7456 * configure: Regenerated.
7457
d1d3431a
JM
74582012-03-07 Joseph Myers <joseph@codesourcery.com>
7459
af6a1e37
JM
7460 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7461 default includes instead of AC_HEADER_CHECK.
7462 * sysdeps/i386/configure: Regenerated.
7463
d1d3431a
JM
7464 [BZ #10716]
7465 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7466 * math/s_cacoshf.c (__cacoshf): Likewise.
7467 * math/s_cacoshl.c (__cacoshl): Likewise.
7468 * math/s_casinh.c (__casinh): Set signs of result from argument.
7469 * math/s_casinhf.c (__casinhf): Likewise.
7470 * math/s_casinhl.c (__casinhl): Likewise.
7471 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7472 (casinh_test): Add more tests.
7473 * sysdeps/i386/fpu/libm-test-ulps: Update.
7474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7475
482ff4da
UD
74762012-03-07 Ulrich Drepper <drepper@gmail.com>
7477
872fda05
UD
7478 * po/zh_TW.po: Update from translation team.
7479
a4300c7a
UD
7480 * login/Makefile (distribute): Remove variable.
7481 * catgets/Makefile: Likewise.
7482 * mach/Makefile: Likewise.
7483 * malloc/Makefile: Likewise.
7484 * misc/Makefile: Likewise.
7485 * iconv/Makefile: Likewise.
7486 * nscd/Makefile: Likewise.
7487 * hurd/Makefile: Likewise.
7488 * manual/Makefile: Likewise.
7489 * locale/Makefile: Likewise.
7490 * intl/Makefile: Likewise.
7491 * conform/Makefile: Likewise.
7492 * nss/Makefile: Likewise.
7493 * time/Makefile: Likewise.
7494 * soft-fp/Makefile: Likewise.
7495 * dirent/Makefile: Likewise.
7496 * gmon/Makefile: Likewise.
7497 * po/Makefile: Likewise.
7498 * rt/Makefile: Likewise.
7499 * socket/Makefile: Likewise.
7500 * math/Makefile: Likewise.
7501 * signal/Makefile: Likewise.
7502 * debug/Makefile: Likewise.
7503 * elf/Makefile: Likewise.
7504 * timezone/Makefile: Likewise.
7505 * stdlib/Makefile: Likewise.
7506 * iconvdata/Makefile: Likewise.
7507 * sunrpc/Makefile: Likewise.
7508 * io/Makefile: Likewise.
7509 * argp/Makefile: Likewise.
7510 * inet/Makefile: Likewise.
7511 * hesiod/Makefile: Likewise.
7512 * grp/Makefile: Likewise.
7513 * csu/Makefile: Likewise.
7514 * wctype/Makefile: Likewise.
7515 * crypt/Makefile: Likewise.
7516 * libio/Makefile: Likewise.
7517 * string/Makefile: Likewise.
7518 * nis/Makefile: Likewise.
7519 * resolv/Makefile: Likewise.
7520 * stdio-common/Makefile: Likewise.
7521 * wcsmbs/Makefile: Likewise.
7522 * dlfcn/Makefile: Likewise.
7523 * posix/Makefile: Likewise.
7524
3b7c4e74 7525 [BZ #6959]
482ff4da
UD
7526 * timezone/Makefile: Don't install timezone files, just the programs
7527 and scripts.
7528
f72ed77d
UD
75292012-03-06 Ulrich Drepper <drepper@gmail.com>
7530
a000466f
UD
7531 * nss/databases.def: Add missing gshadow entry.
7532
f72ed77d
UD
7533 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7534
a53b7a4e
MP
75352012-03-06 Marek Polacek <polacek@redhat.com>
7536
7537 [BZ #13726]
7538 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7539 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7540 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7541 * stdio-common/tst-long-dbl-fphex.c: New file.
7542
e9258400
DM
75432012-03-06 David S. Miller <davem@davemloft.net>
7544
7545 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7546 (set_obp_int): New function.
7547 (get_obp_int): New function.
7548 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7549 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7550 Avoid unused variable warnings on 'val' and use builtin_expect.
7551 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7552 __builtin_expect.
e9258400
DM
7553 (INLINE_CLONE_SYSCALL): Likewise.
7554
3bd2c723
DM
75552012-03-05 David S. Miller <davem@davemloft.net>
7556
7557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7558
bbb78d03
AS
75592012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7560
884c5db4
AS
7561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7562
bbb78d03
AS
7563 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7564 only for |x| >= 40.
7565 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7566
1c9f702a 75672012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7568
7569 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7570 Replace gettimeofday with __vdso_gettimeofday.
7571
7be16f82
RM
7572 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7573 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7574 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7575
7576 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7577 time with __vdso_time.
7578
ed58a00f
JM
75792012-03-05 Joseph Myers <joseph@codesourcery.com>
7580
7581 * manual/lang.texi (size_t): Note types to which size_t may be
7582 equivalent with the GNU C Library, but do not describe when
7583 differences between them are significant.
7584
30ee4ced
AJ
75852012-03-05 Andreas Jaeger <aj@suse.de>
7586
7587 * sysdeps/i386/fpu/libm-test-ulps: Update.
7588
b7cd39e8
JM
75892012-03-05 Joseph Myers <joseph@codesourcery.com>
7590
7591 [BZ #3976]
7592 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7593 (__ieee754_pow): Save and restore rounding mode and use
7594 round-to-nearest for main computations.
7595 * math/libm-test.inc (pow_test_tonearest): New function.
7596 (pow_test_towardzero): Likewise.
7597 (pow_test_downward): Likewise.
7598 (pow_test_upward): Likewise.
7599 (main): Call the new functions.
7600 * sysdeps/i386/fpu/libm-test-ulps: Update.
7601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7602
7603 [BZ #3976]
7604 * math/libm-test.inc (cosh_test_tonearest): New function.
7605 (cosh_test_towardzero): Likewise.
7606 (cosh_test_downward): Likewise.
7607 (cosh_test_upward): Likewise.
7608 (sinh_test_tonearest): Likewise.
7609 (sinh_test_towardzero): Likewise.
7610 (sinh_test_downward): Likewise.
7611 (sinh_test_upward): Likewise.
7612 (main): Call the new functions.
7613 * sysdeps/i386/fpu/libm-test-ulps: Update.
7614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7615
6c6a98c9
TV
76162012-03-05 Tom de Vries <tom@codesourcery.com>
7617
7618 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7619 default stack guard is set in last bytes.
7620 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7621
21bb2d2e 76222012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7623
21bb2d2e 7624 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7625
21bb2d2e
AJ
7626 [BZ #13656]
7627 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7628 possibly allocate from heap instead of stack.
7629 * stdio-common/bug-vfprintf-nargs.c: New file.
7630 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7631
c6922934
AS
76322012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7633
7634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7635
bc957d53
MP
76362012-03-03 Marek Polacek <polacek@redhat.com>
7637
7638 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7639 * math/math_private.h: Likewise.
7640 * stdlib/tst-strtod.c: Likewise.
7641 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7642 * sysdeps/x86_64/bits/atomic.h: Likewise.
7643
6358490d
DM
76442012-03-02 David S. Miller <davem@davemloft.net>
7645
7646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7650 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7651 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7652 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7653 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7654
01ae168d
RM
76552012-03-02 Roland McGrath <roland@hack.frob.com>
7656
d9a17c07
RM
7657 [BZ #13792]
7658 * manual/examples/README: New file, says the example source files
7659 can be used under GPL>=2.
7660 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7661 line containing just "*/".
7662 * manual/examples/add.c: Add copyright header (GPL>=2).
7663 * manual/examples/argp-ex1.c: Likewise.
7664 * manual/examples/argp-ex2.c: Likewise.
7665 * manual/examples/argp-ex3.c: Likewise.
7666 * manual/examples/argp-ex4.c: Likewise.
7667 * manual/examples/atexit.c: Likewise.
7668 * manual/examples/db.c: Likewise.
7669 * manual/examples/dir.c: Likewise.
7670 * manual/examples/dir2.c: Likewise.
7671 * manual/examples/execinfo.c: Likewise.
7672 * manual/examples/filecli.c: Likewise.
7673 * manual/examples/filesrv.c: Likewise.
7674 * manual/examples/fmtmsgexpl.c: Likewise.
7675 * manual/examples/genpass.c: Likewise.
7676 * manual/examples/inetcli.c: Likewise.
7677 * manual/examples/inetsrv.c: Likewise.
7678 * manual/examples/isockad.c: Likewise.
7679 * manual/examples/longopt.c: Likewise.
7680 * manual/examples/memopen.c: Likewise.
7681 * manual/examples/memstrm.c: Likewise.
7682 * manual/examples/mkfsock.c: Likewise.
7683 * manual/examples/mkisock.c: Likewise.
7684 * manual/examples/mygetpass.c: Likewise.
7685 * manual/examples/pipe.c: Likewise.
7686 * manual/examples/popen.c: Likewise.
7687 * manual/examples/rprintf.c: Likewise.
7688 * manual/examples/search.c: Likewise.
7689 * manual/examples/select.c: Likewise.
7690 * manual/examples/setjmp.c: Likewise.
7691 * manual/examples/sigh1.c: Likewise.
7692 * manual/examples/sigusr.c: Likewise.
7693 * manual/examples/stpcpy.c: Likewise.
7694 * manual/examples/strdupa.c: Likewise.
7695 * manual/examples/strftim.c: Likewise.
7696 * manual/examples/strncat.c: Likewise.
7697 * manual/examples/subopt.c: Likewise.
7698 * manual/examples/swapcontext.c: Likewise.
7699 * manual/examples/termios.c: Likewise.
7700 * manual/examples/testopt.c: Likewise.
7701 * manual/examples/testpass.c: Likewise.
7702 * manual/examples/timeval_subtract.c: Likewise.
7703
01ae168d
RM
7704 [BZ #13792]
7705 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7706 function to ...
7707 * manual/timeval_subtract.c.texi: ... here, new file.
7708
49efa33d
DM
77092012-03-02 David S. Miller <davem@davemloft.net>
7710
7711 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7712
28afd92d
JM
77132012-03-02 Joseph Myers <joseph@codesourcery.com>
7714
804360ed
JM
7715 [BZ #3976]
7716 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7717 (__sin): Save and restore rounding mode and use round-to-nearest
7718 for all computations.
7719 (__cos): Save and restore rounding mode and use round-to-nearest
7720 for all computations.
7721 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7722 <fenv.h>.
7723 (tan): Save and restore rounding mode and use round-to-nearest for
7724 all computations.
7725 * math/libm-test.inc (cos_test_tonearest): New function.
7726 (cos_test_towardzero): Likewise.
7727 (cos_test_downward): Likewise.
7728 (cos_test_upward): Likewise.
7729 (sin_test_tonearest): Likewise.
7730 (sin_test_towardzero): Likewise.
7731 (sin_test_downward): Likewise.
7732 (sin_test_upward): Likewise.
7733 (tan_test_tonearest): Likewise.
7734 (tan_test_towardzero): Likewise.
7735 (tan_test_downward): Likewise.
7736 (tan_test_upward): Likewise.
7737 (main): Call the new functions.
7738 * sysdeps/i386/fpu/libm-test-ulps: Update.
7739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7740
a6d06d7b
JM
7741 [BZ #10135]
7742 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7743 small n, then large n, before computing and testing k+n.
7744 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7745 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7746 Likewise.
7747 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7748 Likewise.
7749 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7750 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7751 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7752 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7753 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7754 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7755 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7756 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7757 * math/libm-test.inc (scalbn_test): Add more tests.
7758 (scalbln_test): Likewise.
7759
07e12bb3
JM
7760 * manual/filesys.texi (mode_t): Describe constraints on size and
7761 signedness, not exact equivalence to a particular type.
7762 (ino_t): Likewise.
7763 (ino64_t): Likewise.
7764 (dev_t): Likewise.
7765 (nlink_t): Likewise.
7766 (blkcnt_t): Likewise.
7767 (blkcnt64_t): Likewise.
7768 * manual/llio.texi (off_t): Likewise.
7769
28afd92d
JM
7770 [BZ #3976]
7771 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7772 (__ieee754_exp): Save and restore rounding mode and use
7773 round-to-nearest for all computations.
7774 * math/libm-test.inc (exp_test_tonearest): New function.
7775 (exp_test_towardzero): Likewise.
7776 (exp_test_downward): Likewise.
7777 (exp_test_upward): Likewise.
7778 (main): Call the new functions.
7779 * sysdeps/i386/fpu/libm-test-ulps: Update.
7780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7781
b1eeb65d
CD
77822012-03-01 Chris Demetriou <cgd@google.com>
7783
7784 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7785 have predictable order.
7786
53362a4b
DM
77872012-03-01 David S. Miller <davem@davemloft.net>
7788
3c969083
DM
7789 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7790
759707de
DM
7791 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7792 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7793 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7794 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7795
dfdb8ff2
DM
7796 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7797 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7798 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7800 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7801 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7802 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7803 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7804 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7805
ead89f96
DM
7806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7807
7f66bd07
DM
7808 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7809 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7810 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7811
53362a4b
DM
7812 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7813 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7814 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7815 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7816 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7817 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7818 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7819 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7820 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7821 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7822 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7823 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7824 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7825 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7826 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7827 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7828 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7829 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7830 * sysdeps/sparc/elf/configure: Regenerated.
7831
7b1902cb
JM
78322012-03-01 Joseph Myers <joseph@codesourcery.com>
7833
bec039bc
JM
7834 * configure.in (AS, LD): Require binutils 2.20 or later.
7835 * configure: Regenerated.
7836 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7837 as required minimum version.
7838 * INSTALL: Regenerated.
7839
7b1902cb
JM
7840 [BZ #2541]
7841 [BZ #4108]
7842 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7843 before squaring exponent.
7844 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7845 bottom long double and 27 bits of top long double before squaring
7846 exponent.
7847 * math/libm-test.inc (erfc_test): Add more tests.
7848 * sysdeps/i386/fpu/libm-test-ulps: Update.
7849 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7851
f775c276
KT
78522012-03-01 Kai Tietz <ktietz@redhat.com>
7853
7854 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7855 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7856 containing bit-fields.
7857 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7858 * soft-fp/single.h (_FP_UNION_S): Likewise.
7859 * soft-fp/double.h (_FP_UNION_D): Likewise.
7860
5b8a4d4a
JM
78612012-02-29 Joseph Myers <joseph@codesourcery.com>
7862
0bab47b6
JM
7863 [BZ #13786]
7864 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7865 not include ../strcmp.S.
7866 [USE_AS_STRNCASECMP_L]: Likewise.
7867 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7868 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7869 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7870 (__strncasecmp_l_ia32): Define as alias to
7871 __strncasecmp_l_nonascii.
7872
0fcad3e2
JM
7873 [BZ #5794]
7874 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7875 * sysdeps/i386/fpu/libm-test-ulps: Update.
7876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7877
5b8a4d4a
JM
7878 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7880
8fdceb2e
JL
78812012-02-29 Jeff Law <law@redhat.com>
7882
7883 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7884 out of bounds read.
7885
1f393a11
MP
78862012-02-29 Marek Polacek <polacek@redhat.com>
7887
7888 [BZ #13706]
7889 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7890 * elf/Makefile: Add rules to run tst-unused-dep.out.
7891
8847f037
DM
78922012-02-28 David S. Miller <davem@davemloft.net>
7893
7894 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7895 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7896 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7897 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7898 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7899 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7900
169d7f11
JM
79012012-02-29 Joseph Myers <joseph@codesourcery.com>
7902
7903 * math/libm-test.inc (llround_test): Move one test from
7904 lround_test. Use TEST_f_L in moved test.
7905 (lround_test): Move misplaced test to llround_test. Add testcase
7906 from bug 2561.
7907
39adf059
UD
79082012-02-28 Ulrich Drepper <drepper@gmail.com>
7909
7910 * sysdeps/x86_64/fpu/e_expf.S: New file.
7911 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7912
71b5d1c5
SB
79132012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7914
7915 [BZ #13637]
7916 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7917 of remain_len that may cause incomplete multi-byte character and
7918 false match.
7919 * posix/bug-regex33.c: New file.
7920 * posix/Makefile (tests): Add bug-regex33.
7921
1f77f049
JM
79222012-02-28 Joseph Myers <joseph@codesourcery.com>
7923
7924 * manual/macros.texi: New file.
7925 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7926 * manual/libc.texinfo: Include macros.texi.
7927 * manual/creatute.texi: Likewise.
7928 * manual/install.texi: Likewise.
7929 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7930 @glibcadj{} in references to the GNU C Library.
7931 * manual/charset.texi: Likewise.
7932 * manual/conf.texi: Likewise.
7933 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7934 when not using those macros.
7935 * manual/creature.texi: Likewise.
7936 * manual/crypt.texi: Likewise.
7937 * manual/errno.texi: Likewise.
7938 * manual/filesys.texi: Likewise.
7939 * manual/header.texi: Likewise.
7940 * manual/install.texi: Likewise.
7941 * manual/intro.texi: Likewise.
7942 * manual/io.texi: Likewise.
7943 * manual/job.texi: Likewise.
7944 * manual/lang.texi: Likewise.
7945 * manual/libc.texiinfo: Likewise.
7946 * manual/llio.texi: Likewise.
7947 * manual/locale.texi: Likewise.
7948 * manual/maint.texi: Likewise.
7949 * manual/math.texi: Likewise.
7950 * manual/memory.texi: Likewise.
7951 * manual/message.texi: Likewise.
7952 * manual/nss.texi: Likewise.
7953 * manual/pattern.texi: Likewise.
7954 * manual/process.texi: Likewise.
7955 * manual/resource.texi: Likewise.
7956 * manual/search.texi: Likewise.
7957 * manual/setjmp.texi: Likewise.
7958 * manual/signal.texi: Likewise.
7959 * manual/socket.texi: Likewise.
7960 * manual/startup.texi: Likewise.
7961 * manual/stdio.texi: Likewise.
7962 * manual/string.texi: Likewise.
7963 * manual/sysinfo.texi: Likewise.
7964 * manual/syslog.texi: Likewise.
7965 * manual/terminal.texi: Likewise.
7966 * manual/time.texi: Likewise.
7967 * manual/users.texi: Likewise.
7968 * INSTALL: Regenerated.
7969 * NOTES: Regenerated.
d40c5d54 7970 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7971
450bf206
AS
79722012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7973
7974 * include/dirent.h: Include <dirstream.h> before
7975 <dirent/dirent.h>.
7976
741a235b
DM
79772012-02-28 David S. Miller <davem@davemloft.net>
7978
7979 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7980 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7981 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7982 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7983
d6b5aa58
DM
79842012-02-27 David S. Miller <davem@davemloft.net>
7985
1aff59a3
DM
7986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7988 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7989 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7990
d6b5aa58
DM
7991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7992 frame pointer instead of stack pointer relative arg slot.
7993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7994 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7995 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7996
433f48bf
CD
79972012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7998
7999 [BZ #3992]
8000 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8001
d674b76d
DM
80022012-02-27 David S. Miller <davem@davemloft.net>
8003
8004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8008 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8009 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8010 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8011 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8012
0e7727f7
JM
80132012-02-27 Joseph Myers <joseph@codesourcery.com>
8014
8015 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8016 later. Allow versions 5-9.
43be4ca2 8017 * configure: Regenerated.
0e7727f7
JM
8018 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8019 required minimum version and 4.6 as recommended version. Do not
8020 mention bugs in GCC 2.7 and 2.8.
43be4ca2 8021 * INSTALL: Regenerated.
0e7727f7 8022
a78bc654
DM
80232012-02-27 David S. Miller <davem@davemloft.net>
8024
428d5830
DM
8025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8029 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8030 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8031 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8032 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8033
a78bc654
DM
8034 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8035 manipulate bits before adding and subtracting TWO112[sx].
8036 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8037
4579f81c
RM
80382012-02-27 Roland McGrath <roland@hack.frob.com>
8039
36c8acb4
RM
8040 [BZ #13775]
8041 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8042 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8043 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8044 being in POSIX, because they are in 1003.1-2008.
8045
84ad622b
RM
8046 * rt/tst-aio.c: Include <fcntl.h>.
8047 * rt/tst-aio7.c: Likewise.
8048 * rt/tst-aio64.c: Likewise.
8049
4579f81c
RM
8050 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8051
abd923db
JM
80522012-02-27 Joseph Myers <joseph@codesourcery.com>
8053
8054 * manual/install.texi (--with-headers): Describe headers as
8055 interface headers, not private headers.
8056 (Specific advice for GNU/Linux systems): Describe use of headers
8057 from "make headers_install", not private headers from older
8058 kernels.
43be4ca2 8059 * INSTALL: Regenerated.
abd923db
JM
8060 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8061 Change to 2.6.19.
8062 * sysdeps/unix/sysv/linux/configure: Regenerated.
8063
6664049b
JM
8064 * manual/llio.texi (fclean): Remove documentation.
8065
bb8b6697
JM
8066 * manual/Makefile (libc-texi-generated): New variable. Include
8067 version.texi.
8068 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8069 $(libc-texi-generated), not duplicated list of files.
8070 (version.texi, stamp-version): New rules.
8071 (realclean): Remove $(libc-texi-generated), not individual files
8072 from that list. Do not remove dir-add.texinfo.
8073 * manual/libc.texinfo: Comment out uses of edition numbers and
8074 references to printed manual. Remove last-updated dates.
8075 (EDITION): Comment out.
8076 (ISBN): Likewise.
8077 (VERSION, UPDATED): Remove.
8078 (version.texi): Include.
8079
12e5c3b9
AS
80802012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8081
8082 * sysdeps/posix/spawni.c: Include <signal.h>.
8083 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8084 * sysdeps/pthread/aio_fsync.c: Likewise.
8085
4efeffc1 80862012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8087
ba63ba08
UD
8088 * conform/Makefile (tests): Run only when not cross-compiling and
8089 when fast-check is not defined.
8090
d94a4670
UD
8091 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8092 * conform/data/limits.h-data: Fixes for POSIX2008.
8093 * conform/run-conformtest.sh: Run all tests.
8094 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8095 headers.
8096 * include/bits/dlfcn.h: Likewise.
8097 * include/langinfo.h: Likewise.
8098 * include/monetary.h: Likewise.
8099 * include/sys/poll.h: Likewise.
8100
8101 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8102 for __USE_GNU.
8103 * posix/spawn.h: Define __need_sigset_t.
8104 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8105 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8106 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8107 to get sigevent_t only.
8108 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8109 only for __USE_GNU.
8110 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8111 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8112 process_vm_writev only for __USE_GNU.
8113 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8114
8115 * conform/Makefile: For now ignore errors from run-conformtest.
8116 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8117 POSIX to avoid namespace pollution. Don't prepend headers.
8118 * conform/data/aio.h-data: Fixes for POSIX testing.
8119 * conform/data/fcntl.h-data: Likewise.
8120 * conform/data/glob.h-data: Likewise.
8121 * conform/data/grp.h-data: Likewise.
8122 * conform/data/pthread.h-data: Likewise.
8123 * conform/data/pwd.h-data: Likewise.
8124 * conform/data/signal.h-data: Likewise.
8125 * conform/data/spawn.h-data: Likewise.
8126 * conform/data/stdio.h-data: Likewise.
8127 * conform/data/stdlib.h-data: Likewise.
8128 * conform/data/stropts.h-data: Likewise.
8129 * conform/data/sys/mman.h-data: Likewise.
8130 * conform/data/sys/stat.h-data: Likewise.
8131 * conform/data/sys/types.h-data: Likewise.
8132 * conform/data/sys/wait.h-data: Likewise.
8133 * conform/data/time.h-data: Likewise.
8134 * conform/data/unistd.h-data: Likewise.
8135 * conform/data/utime.h-data: Likewise.
8136
8137 * io/sys/stat.h: fchmod was always in POSIX.
8138 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8139 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8140 * rt/aio.h: Define __need_timespec before including <time.h>.
8141 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8142 struct. Add forward declaration of pthread_attr_t and use it in
8143 sigevent.
8144 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8145 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8146 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8147 always remove CLK_TCK definition.
8148
c20105c3
AS
81492012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8150
8151 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8152
7a270350
UD
81532012-02-25 Ulrich Drepper <drepper@gmail.com>
8154
31341567
UD
8155 * conform/run-conformtest.sh: New file.
8156 * conform/Makefile: Run run-conformtest for tests.
8157 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8158 support.
8159
8160 * conform/data/uchar.h-data: New file.
8161 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8162 * conform/data/arpa/inet.h-data: Likewise.
8163 * conform/data/assert.h-data: Likewise.
8164 * conform/data/complex.h-data: Likewise.
8165 * conform/data/cpio.h-data: Likewise.
8166 * conform/data/ctype.h-data: Likewise.
8167 * conform/data/dirent.h-data: Likewise.
8168 * conform/data/dlfcn.h-data: Likewise.
8169 * conform/data/errno.h-data: Likewise.
8170 * conform/data/fcntl.h-data: Likewise.
8171 * conform/data/float.h-data: Likewise.
8172 * conform/data/fmtmsg.h-data: Likewise.
8173 * conform/data/fnmatch.h-data: Likewise.
8174 * conform/data/ftw.h-data: Likewise.
8175 * conform/data/glob.h-data: Likewise.
8176 * conform/data/grp.h-data: Likewise.
8177 * conform/data/iconv.h-data: Likewise.
8178 * conform/data/inttypes.h-data: Likewise.
8179 * conform/data/langinfo.h-data: Likewise.
8180 * conform/data/libgen.h-data: Likewise.
8181 * conform/data/limits.h-data: Likewise.
8182 * conform/data/locale.h-data: Likewise.
8183 * conform/data/math.h-data: Likewise.
8184 * conform/data/monetary.h-data: Likewise.
8185 * conform/data/mqueue.h-data: Likewise.
8186 * conform/data/ndbm.h-data: Likewise.
8187 * conform/data/net/if.h-data: Likewise.
8188 * conform/data/netdb.h-data: Likewise.
8189 * conform/data/netinet/in.h-data: Likewise.
8190 * conform/data/nl_types.h-data: Likewise.
8191 * conform/data/poll.h-data: Likewise.
8192 * conform/data/pthread.h-data: Likewise.
8193 * conform/data/pwd.h-data: Likewise.
8194 * conform/data/regex.h-data: Likewise.
8195 * conform/data/sched.h-data: Likewise.
8196 * conform/data/search.h-data: Likewise.
8197 * conform/data/semaphore.h-data: Likewise.
8198 * conform/data/setjmp.h-data: Likewise.
8199 * conform/data/signal.h-data: Likewise.
8200 * conform/data/spawn.h-data: Likewise.
8201 * conform/data/stdarg.h-data: Likewise.
8202 * conform/data/stdio.h-data: Likewise.
8203 * conform/data/stdlib.h-data: Likewise.
8204 * conform/data/string.h-data: Likewise.
8205 * conform/data/strings.h-data: Likewise.
8206 * conform/data/stropts.h-data: Likewise.
8207 * conform/data/sys/ipc.h-data: Likewise.
8208 * conform/data/sys/mman.h-data: Likewise.
8209 * conform/data/sys/msg.h-data: Likewise.
8210 * conform/data/sys/resource.h-data: Likewise.
8211 * conform/data/sys/select.h-data: Likewise.
8212 * conform/data/sys/sem.h-data: Likewise.
8213 * conform/data/sys/shm.h-data: Likewise.
8214 * conform/data/sys/socket.h-data: Likewise.
8215 * conform/data/sys/stat.h-data: Likewise.
8216 * conform/data/sys/statvfs.h-data: Likewise.
8217 * conform/data/sys/time.h-data: Likewise.
8218 * conform/data/sys/timeb.h-data: Likewise.
8219 * conform/data/sys/times.h-data: Likewise.
8220 * conform/data/sys/types.h-data: Likewise.
8221 * conform/data/sys/uio.h-data: Likewise.
8222 * conform/data/sys/un.h-data: Likewise.
8223 * conform/data/sys/utsname.h-data: Likewise.
8224 * conform/data/sys/wait.h-data: Likewise.
8225 * conform/data/syslog.h-data: Likewise.
8226 * conform/data/tar.h-data: Likewise.
8227 * conform/data/termios.h-data: Likewise.
8228 * conform/data/utime.h-data: Likewise.
8229 * conform/data/utmpx.h-data: Likewise.
8230 * conform/data/varargs.h-data: Likewise.
8231 * conform/data/wchar.h-data: Likewise.
8232 * conform/data/wctype.h-data: Likewise.
8233 * conform/data/wordexp.h-data: Likewise.
8234
8235 * include/stropts.h: New file.
8236 * include/uchar.h: New file.
8237 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8238 * include/assert.h: Likewise.
8239 * include/ctype.h: Likewise.
8240 * include/dirent.h: Likewise.
8241 * include/dlfcn.h: Likewise.
8242 * include/fcntl.h: Likewise.
8243 * include/fnmatch.h: Likewise.
8244 * include/glob.h: Likewise.
8245 * include/grp.h: Likewise.
8246 * include/libio.h: Likewise.
8247 * include/locale.h: Likewise.
8248 * include/math.h: Likewise.
8249 * include/net/if.h: Likewise.
8250 * include/netdb.h: Likewise.
8251 * include/netinet/in.h: Likewise.
8252 * include/pthread.h: Likewise.
8253 * include/pwd.h: Likewise.
8254 * include/regex.h: Likewise.
8255 * include/sched.h: Likewise.
8256 * include/search.h: Likewise.
8257 * include/setjmp.h: Likewise.
8258 * include/signal.h: Likewise.
8259 * include/stdio.h: Likewise.
8260 * include/stdlib.h: Likewise.
8261 * include/string.h: Likewise.
8262 * include/sys/cdefs.h: Likewise.
8263 * include/sys/mman.h: Likewise.
8264 * include/sys/msg.h: Likewise.
8265 * include/sys/resource.h: Likewise.
8266 * include/sys/select.h: Likewise.
8267 * include/sys/socket.h: Likewise.
8268 * include/sys/stat.h: Likewise.
8269 * include/sys/statvfs.h: Likewise.
8270 * include/sys/time.h: Likewise.
8271 * include/sys/times.h: Likewise.
8272 * include/sys/uio.h: Likewise.
8273 * include/sys/utsname.h: Likewise.
8274 * include/sys/wait.h: Likewise.
8275 * include/termios.h: Likewise.
8276 * include/time.h: Likewise.
8277 * include/ulimit.h: Likewise.
8278 * include/unistd.h: Likewise.
8279 * include/utime.h: Likewise.
8280 * include/wchar.h: Likewise.
8281 * include/wctype.h: Likewise.
8282 * include/wordexp.h: Likewise.
8283
8284 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8285
7a270350
UD
8286 * time/time.h: TIME_UTC must be a macro.
8287 Make timespec_get available for ISO C11 only as well.
8288
7724defc
UD
82892012-02-24 Ulrich Drepper <drepper@gmail.com>
8290
8291 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8292 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8293
6b1d1d46
JM
82942012-02-24 Joseph Myers <joseph@codesourcery.com>
8295
8296 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8297
0f8bbd69
JM
82982012-02-24 Joseph Myers <joseph@codesourcery.com>
8299
8300 * manual/texinfo.tex: Update to version 2012-01-19.16.
8301
66ab80bc
JM
83022012-02-24 Joseph Myers <joseph@codesourcery.com>
8303
8304 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8305
74981cc5
RM
83062012-02-24 Roland McGrath <roland@hack.frob.com>
8307
ee968201
RM
8308 [BZ #13738]
8309 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8310 * manual/fdl-1.3.texi: New file.
8311 * manual/fdl-1.1.texi: File removed.
8312
74981cc5
RM
8313 [BZ #13738]
8314 * manual/libc.texinfo (FDL_VERSION): New @set.
8315 Use it for mention of FDL in cover text.
8316 (Documentation License): Use it in @include file name.
8317
7bb764bc
JM
83182012-02-22 Joseph Myers <joseph@codesourcery.com>
8319 Roland McGrath <roland@hack.frob.com>
8320
8321 [BZ #5461]
8322 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8323 not LONG_LONG_MAX and LONG_LONG_MIN.
8324 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8325 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8326 name.
8327 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8328
6cbeae47
JM
83292012-02-22 Joseph Myers <joseph@codesourcery.com>
8330
8331 [BZ #2547]
8332 [BZ #11365]
8333 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8334 manipulate bits before adding and subtracting TWO23[sx].
8335 * math/libm-test.inc (nearbyint_test): Add more tests.
8336
fe45ce09
JM
83372012-02-22 Joseph Myers <joseph@codesourcery.com>
8338
8339 [BZ #2548]
8340 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8341 bits before adding and subtracting TWO23[sx].
8342 * math/libm-test.inc (rint_test): Add more tests.
8343 (rint_test_tonearest): Likewise.
8344 (rint_test_towardzero): Likewise.
8345 (rint_test_downward): Likewise.
8346 (rint_test_upward: Likewise.
8347
ff3b3d82
JM
83482012-02-22 Joseph Myers <joseph@codesourcery.com>
8349
8350 [BZ #10110]
8351 * include/stdc-predef.h: New file. Extracted from features.h.
8352 * include/features.h: Include stdc-predef.h.
8353 * Makefile (headers): Add stdc-predef.h.
8354 * CONFORMANCE (Compiler limitations): Update.
8355
ef0aab35
JM
83562012-02-22 Joseph Myers <joseph@codesourcery.com>
8357
8358 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8359
58639409
DM
83602012-02-21 David S. Miller <davem@davemloft.net>
8361
8362 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8363 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8364
c0e70b25
DM
83652012-02-20 David S. Miller <davem@davemloft.net>
8366
8367 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8368 using a normal save/restore sequence, rather than allocating a
8369 dummy stack frame just to store a frame pointer and restore.
8370 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8371
fb06851d
JM
83722012-02-21 Joseph Myers <joseph@codesourcery.com>
8373
8374 * manual/install.texi: Fix stray word in line-wrapped comment.
8375
7a8b71c3
DM
83762012-02-20 David S. Miller <davem@davemloft.net>
8377
d510c123
DM
8378 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8379 both binutils and gcc support GOTDATA.
8380
0722d7c2
DM
8381 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8382 "rd %pc" in the PIC register setup sequences.
8383
3d2b3019
DM
8384 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8385 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8386 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8387 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8388 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8390 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8391 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8392 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8393 (SYSCALL_ERROR_HANDLER): Likewise.
8394 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8395 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8396 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8397 (SYSCALL_ERROR_HANDLER): Likewise.
8398
c80098a9
DM
8399 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8400 (HAVE_GCC_GOTDATA): New.
8401 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8402 relocation support in both binutils and gcc.
8403 * sysdeps/sparc/elf/configure: Regenerate.
8404
3a2545a0
DM
8405 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8406 * sysdeps/sparc/sparc32/elf/configure: Delete.
8407 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8408 * sysdeps/sparc/sparc64/elf/configure: Delete.
8409 * sysdeps/sparc/elf/configure.in: New file.
8410 * sysdeps/sparc/elf/configure: Generate.
8411
7a8b71c3
DM
8412 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8413 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8414 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8415 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8416 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8417
f1e86fca
JM
84182012-02-21 Joseph Myers <joseph@codesourcery.com>
8419
8420 * manual/install.texi: Do not mention specific glibc version
8421 numbers.
8422 * manual/libc.texinfo (VERSION, UPDATED): Update.
8423 (@copying): Use @copyright{} and range of years.
8424
0e7dfaef
JM
84252012-02-21 Joseph Myers <joseph@codesourcery.com>
8426
8427 [BZ #13695]
8428 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8429 [crti.S not in sysdirs] (generated): Do not append.
8430 [crti.S not in sysdirs] (omit-deps): Likewise.
8431 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8432 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8433 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8434 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8435 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8436 Likewise.
8437 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8438 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8439 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8440 * csu/defs.awk: Remove file.
8441 * sysdeps/generic/initfini.c: Likewise.
8442 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8443 variable.
8444 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8445 Likewise.
8446
599af3ca
JM
84472012-02-20 Joseph Myers <joseph@codesourcery.com>
8448
8449 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8450 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8451 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8452 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8453 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8454 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8455 <bits/epoll.h>.
8456 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8457 (__EPOLL_PACKED): Define to empty if not defined by
8458 <bits/epoll.h>.
8459 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8460 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8461 bits/epoll.h.
8462
0e499750
JM
84632012-02-20 Joseph Myers <joseph@codesourcery.com>
8464
8465 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8466 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8467 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8468 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8469 <bits/timerfd.h>.
8470 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8472 bits/timerfd.h.
8473
5ad91f6e
JM
84742012-02-20 Joseph Myers <joseph@codesourcery.com>
8475
8476 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8477 in C locale.
8478 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8479 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8480 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8482
06b99b02
AJ
84832012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8484
8485 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8486 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8487
7638c0fd
AS
84882012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8489
8490 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8491 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8492 defined.
8493 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8494 Likewise.
8495 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8496 entry for 2.16.
8497
92221550
AJ
84982012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8499
8500 * math/w_acos.c: Use non-signaling floating-point comparisons.
8501 * math/w_acosf.c: Likewise.
8502 * math/w_acosh.c: Likewise.
8503 * math/w_acoshf.c: Likewise.
8504 * math/w_acoshl.c: Likewise.
8505 * math/w_acosl.c: Likewise.
8506 * math/w_asin.c: Likewise.
8507 * math/w_asinf.c: Likewise.
8508 * math/w_asinl.c: Likewise.
8509 * math/w_atanh.c: Likewise.
8510 * math/w_atanhf.c: Likewise.
8511 * math/w_atanhl.c: Likewise.
8512 * math/w_exp2.c: Likewise.
8513 * math/w_exp2f.c: Likewise.
8514 * math/w_exp2l.c: Likewise.
8515 * math/w_j0.c: Likewise.
8516 * math/w_j0f.c: Likewise.
8517 * math/w_j0l.c: Likewise.
8518 * math/w_j1.c: Likewise.
8519 * math/w_j1f.c: Likewise.
8520 * math/w_j1l.c: Likewise.
8521 * math/w_jn.c: Likewise.
8522 * math/w_jnf.c: Likewise.
8523 * math/w_log.c: Likewise.
8524 * math/w_log10.c: Likewise.
8525 * math/w_log10f.c: Likewise.
8526 * math/w_log10l.c: Likewise.
8527 * math/w_log2.c: Likewise.
8528 * math/w_log2f.c: Likewise.
8529 * math/w_log2l.c: Likewise.
8530 * math/w_logf.c: Likewise.
8531 * math/w_logl.c: Likewise.
8532 * math/w_sqrt.c: Likewise.
8533 * math/w_sqrtf.c: Likewise.
8534 * math/w_sqrtl.c: Likewise.
8535 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8536 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8537 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8538 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8539 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8540
ebaf36eb
JM
85412012-02-19 Joseph Myers <joseph@codesourcery.com>
8542
8543 [BZ #9739]
8544 * manual/string.texi (strnlen): Use correct parameter name in
8545 equivalent expression.
8546
71c254a6
JM
85472012-02-19 Joseph Myers <joseph@codesourcery.com>
8548
8549 [BZ #11174]
8550 * manual/users.texi (seteuid): Consistently use neweuid for
8551 argument name.
8552
16d2c631
JM
85532012-02-19 Joseph Myers <joseph@codesourcery.com>
8554
8555 [BZ #13704]
8556 * manual/nss.texi (Services in the NSS configuration): Correct
8557 list of services in example configuration file.
8558
cd837b09
NB
85592012-02-19 Nick Bowler <nbowler@draconx.ca>
8560
8561 [BZ #11322]
8562 * manual/arith.texi: Remove statements about negative zero
8563 behaving identically to zero.
8564
02c4bbad
JM
85652012-02-18 Joseph Myers <joseph@codesourcery.com>
8566
8567 [BZ #5993]
8568 * manual/install.texi: Do not document upgrading from libc5.
8569
366842e7
JM
85702012-02-18 Joseph Myers <joseph@codesourcery.com>
8571
8572 [BZ #4596]
8573 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8574
dd54084d
DM
85752012-02-18 David S. Miller <davem@davemloft.net>
8576
8577 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8578 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8579 %o7 across the call.
8580 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8581 instead.
8582 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8583 SETUP_PIC_REG_LEAF.
8584 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8585 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8586 * sysdeps/sparc/crtn.S: Likewise.
8587
2bcc53a3
UD
85882012-02-17 Ulrich Drepper <drepper@gmail.com>
8589
8590 * aout/Makefile: Remove.
8591
09c093b5
RK
85922012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8593
8594 [BZ #13058]
8595 * manual/examples/argp-ex1.c (main): Format definition in GNU
8596 style.
8597 * manual/examples/argp-ex2.c (main): Likewise.
8598 * manual/examples/argp-ex3.c (main): Likewise.
8599 * manual/examples/argp-ex4.c (main): Likewise.
8600 * manual/examples/longopt.c (main): Use new-style prototype
8601 definition.
8602 * manual/examples/strncat.c (main): Specify return type and use
8603 (void) for arguments.
8604 * manual/examples/subopt.c (main): Use char **argv argument.
8605
2ee633a2
JM
86062012-02-17 Joseph Myers <joseph@codesourcery.com>
8607
8608 [BZ #5077]
8609 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8610 rounding modes.
8611
0520adde
FB
86122012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8613
8614 [BZ #6907]
8615 * manual/string.texi (strchr): Change when strchrnul is
8616 recommended.
8617
3f4081cd
DGM
86182012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8619
8620 [BZ #174]
8621 * manual/locale.texi (setlocale): Document LOCPATH.
8622
d1b10e78
JM
86232012-02-17 Joseph Myers <joseph@codesourcery.com>
8624
8625 [BZ #10210]
8626 * manual/process.texi (execle): Move @dots{} before last argument.
8627
79c6869c
PB
86282012-02-17 Paul Bolle <pebolle@tiscali.nl>
8629
8630 [BZ #12047]
8631 * manual/charset.texi (Generic Charset Conversion): Fix typo
8632 (LC_TYPE -> LC_CTYPE).
8633
cc6e48bc
NB
86342012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8635
8636 [BZ #5805]
8637 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8638 (scalbnf): Likewise.
8639 (scalbnl): Likewise.
8640 (scalbln): Likewise.
8641 (scalblnf): Likewise.
8642 (scalblnl): Likewise.
8643 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8644 (vwarnx): Likewise.
8645 (verr): Likewise.
8646 (verrx): Likewise.
8647 * manual/filesys.texi (telldir): Use braces around return type.
8648 * manual/llio.texi (mmap): Add space after comma.
8649 (mmap64): Likewise.
8650 * manual/math.texi (jn): Use @var{} on parameter names.
8651 (jnf): Likewise.
8652 (jnl): Likewise.
8653 (yn): Likewise.
8654 (ynf): Likewise.
8655 (ynl): Likewise.
8656 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8657 line.
8658 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8659 "...".
8660 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8661 (sched_get_priority_max): Likewise.
8662 * manual/signal.texi (sigvec): Add space after comma.
8663 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8664 names.
8665 (if_indextoname): Likewise.
8666 (if_freenameindex): Likewise.
8667 (sendto): Use ',' instead of '.' in prototype.
8668 * manual/startup.texi (syscall): Use @dots{} instead of literal
8669 "...".
8670 * manual/stdio.texi (__fpending): Separate initial words of
8671 paragraph from @deftypefun line.
8672 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8673 "...".
8674 (vsyslog): Use @var{} on parameter names.
8675 * manual/terminal.texi (stty): Use @var{} on parameter names.
8676 * manual/users.texi (getutmp): Use @var{} on parameter names.
8677 (getutmpx): Likewise.
8678
5b23062f
JM
86792012-02-17 Joseph Myers <joseph@codesourcery.com>
8680
8681 [BZ #6884]
8682 * manual/stdio.texi (fopen): Fix typos in description of
8683 ",ccs=STRING".
8684
8dee4833
AJ
86852012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8686
8687 [BZ #4026]
8688 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8689 get clock_id definition.
8690
9078ce93
TS
86912012-02-17 Thomas Schwinge <thomas@schwinge.name>
8692
8693 [BZ #4822]
8694 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8695 (madvise): Cast every argument to void on its own.
8696
3835c55f
JM
86972012-02-17 Joseph Myers <joseph@codesourcery.com>
8698
8699 [BZ #9902]
8700 * manual/startup.texi (Exit Status): Fix typo.
8701
35c47e37
JM
87022012-02-17 Joseph Myers <joseph@codesourcery.com>
8703
8704 [BZ #10140]
8705 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8706 * manual/examples/argp-ex2.c: Likewise.
8707 * manual/examples/argp-ex3.c: Likewise.
8708
e3b69ca7
RH
87092012-02-16 Richard Henderson <rth@redhat.com>
8710
8711 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8712 * sysdeps/s390/s390-32/initfini.c: Remove.
8713 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8714 * sysdeps/s390/s390-64/initfini.c: Remove.
8715
df83af67
KK
87162012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8717
8718 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8719 compiler output for sysdeps/generic/initfini.c.
8720 * sysdeps/sh/elf/initfini.c: Remove file.
8721
f63f3380
DM
87222012-02-16 David S. Miller <davem@davemloft.net>
8723
fb59b3a4
DM
8724 [BZ #11494]
8725 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8726
f63f3380
DM
8727 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8728 * sysdeps/sparc/crti.S: New file.
8729 * sysdeps/sparc/crtn.S: New file.
8730 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8731 * sysdeps/sparc/sparc64/Makefile: Likewise.
8732
df6a4a4a
MF
87332012-02-15 Mike Frysinger <vapier@gentoo.org>
8734
6dd8f3dc 8735 [BZ #3335]
df6a4a4a
MF
8736 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8737
1cac7236
RM
87382012-02-15 Roland McGrath <roland@hack.frob.com>
8739
d2c736f8
RM
8740 [BZ #4822]
8741 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8742
1cac7236
RM
8743 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8744 (write, read, close): Likewise.
8745 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8746
8e475601
JM
87472012-02-15 Joseph Myers <joseph@codesourcery.com>
8748
8749 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8750 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8751 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8752 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8753 <bits/signalfd.h>.
8754 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8755 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8756 bits/signalfd.h.
8757
ed656b40
MP
87582012-02-14 Marek Polacek <polacek@redhat.com>
8759
8760 * sysdeps/x86_64/crti.S: New file.
8761 * sysdeps/x86_64/crtn.S: New file.
8762 * sysdeps/x86_64/elf/initfini.c: Remove file.
8763
2a979d3a
JM
87642012-02-13 Joseph Myers <joseph@codesourcery.com>
8765
8766 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8767 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8768 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8769 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8770 <bits/inotify.h>.
8771 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8772 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8773 bits/inotify.h.
8774
2a418ac3
JM
87752012-02-13 Joseph Myers <joseph@codesourcery.com>
8776
8777 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8778 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8779 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8780 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8781 <bits/eventfd.h>.
8782 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8783 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8784 bits/eventfd.h.
8785
fb779be7
TS
87862012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8787
e19e83c5
RM
8788 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8789 __feraiseexcept instead of feraiseexcept.
7c35ffed 8790
fb779be7
TS
8791 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8792 nanosleep invocations.
8793 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8794 strings, and add error checking for a nanosleep invocations.
8795
59ba27a6
PE
87962012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8797
8798 Replace FSF snail mail address with URLs, as per GNU coding standards.
8799 Most of the snail mail addresses were wrong anyway, and omitting
8800 them makes the source code easier to maintain. Almost all of the
8801 changes are to license notices and to locale LC_IDENTIFICATION
8802 addresses, except for this one:
8803 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8804 not its snail mail address.
8805
57b957eb
RH
88062012-02-09 Richard Henderson <rth@twiddle.net>
8807
af850b1c
RH
8808 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8809 of kernel-features.h.
8810
57b957eb
RH
8811 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8812
6b73181a
MP
88132012-02-08 Marek Polacek <polacek@redhat.com>
8814
8815 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8816 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8817 * sysdeps/gnu/_G_config.h: Likewise.
8818 * sysdeps/generic/_G_config.h: Likewise.
8819
26ecc33a
AS
88202012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8821
6c6dbc63
AS
8822 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8823 tests.
8824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8825
e216c012
AS
8826 * sysdeps/powerpc/powerpc32/crti.S: New file.
8827 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8828 * sysdeps/powerpc/powerpc64/crti.S: New file.
8829 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8830
26ecc33a
AS
8831 * Makeconfig (have-initfini): Don't set.
8832 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8833 * configure.in (nopic_initfini): Don't substitute.
8834 * config.h.in (HAVE_INITFINI): Don't #undef.
8835 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8836 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8837
3add8e13
JM
88382012-02-08 Joseph Myers <joseph@codesourcery.com>
8839
8840 Support crti.S and crtn.S provided directly by architectures.
8841 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8842 [crti.S in sysdirs] (omit-deps): Likewise.
8843 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8844 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8845 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8846 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8847 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8848 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8849 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8850 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8851 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8852 compiler output for sysdeps/generic/initfini.c.
8853 * sysdeps/i386/elf/Makefile: Remove file.
8854 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8855
a22f12b4
MP
88562012-02-07 Marek Polacek <polacek@redhat.com>
8857
8858 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8859 * sysdeps/gnu/_G_config.h: Likewise.
8860 * sysdeps/mach/hurd/_G_config.h: Likewise.
8861
148cf100
MP
88622012-02-07 Marek Polacek <polacek@redhat.com>
8863
8864 * math/Makefile (tests): Add tst-CMPLX2.
8865 * math/tst-CMPLX2.c: New file.
8866
cfdc0dd7
AS
88672012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8868
84ba42c4
AS
8869 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8870
cfdc0dd7
AS
8871 * math/libm-test.inc (jn_test): Add missing L suffix.
8872
622c86f4
MP
88732012-02-06 Marek Polacek <polacek@redhat.com>
8874
8875 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8876 * sysdeps/i386/fpu/e_powf.S: Likewise.
8877 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8878 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8879 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8880 * sysdeps/i386/fpu/e_pow.S: Likewise.
8881 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8882 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8883 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8884 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8885 * sysdeps/i386/fpu/e_log2.S: Likewise.
8886 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8887 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8888 * sysdeps/i386/fpu/e_powl.S: Likewise.
8889 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8890 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8891 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8892 * sysdeps/i386/fpu/e_logl.S: Likewise.
8893 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8894 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8895 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8896 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8897 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8898 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8899 * sysdeps/i386/fpu/e_log.S: Likewise.
8900 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8901 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8902 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8903 * sysdeps/i386/fpu/e_logf.S: Likewise.
8904 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8905 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8906 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8907 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8908 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8909 * sysdeps/i386/fpu/e_log10.S: Likewise.
8910 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8911 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8912 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8913 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8914 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8915 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8916 * sysdeps/i386/asm-syntax.h: Likewise.
8917 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8918 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8919 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8920 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8921 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8922 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8923 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8924 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8925 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8926 * sysdeps/powerpc/sysdep.h: Likewise.
8927 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8928 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8929
d4a54ac6
JM
89302012-02-06 Joseph Myers <joseph@codesourcery.com>
8931
8932 [BZ #411]
8933 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8934
314054ea
JM
89352012-02-06 Joseph Myers <joseph@codesourcery.com>
8936
8937 * sysdeps/i386/sysdep.h: Include <features.h>.
8938 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8939 version.
8940
d8e0ca50
JM
89412012-02-05 Joseph Myers <joseph@codesourcery.com>
8942
8943 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8944 Define.
8945 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8946 LOAD_PIC_REG_STR.
8947
b1da7dd9
JM
89482012-02-03 Joseph Myers <joseph@codesourcery.com>
8949
8950 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8951 (SETUP_PIC_REG): Use GET_PC_THUNK.
8952 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8953 macro.
8954
9a1d9254
JM
89552012-02-03 Joseph Myers <joseph@codesourcery.com>
8956
8957 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8958 for non-PIC compilation.
8959 (SETUP_PIC_REG): Add .p2align directive.
8960 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8961 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8962 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8963 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8964 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8965 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8966 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8967 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8968 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8969 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8970 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8971 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8972 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8973 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8974 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8975 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8976 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8977 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8978 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8979 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8980 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8981 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8982 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8983 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8984 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8985 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8986 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8987 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8988 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8989 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8990 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8991 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8992 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8993 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8994 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8995 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8996 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8997 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8998 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8999 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9000 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9001
65dc3b75
JM
90022012-02-03 Joseph Myers <joseph@codesourcery.com>
9003
9004 * math/tst-CMPLX.c: Include <stdio.h>.
9005
d55bf177
JM
90062012-01-31 Joseph Myers <joseph@codesourcery.com>
9007
9008 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9009 float.
9010 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9011 * sysdeps/sparc/bits/mathdef.h: Likewise.
9012
69db4f8f
MP
90132012-01-31 Marek Polacek <polacek@redhat.com>
9014
9015 * libio/libio.h: Don't define _PARAMS.
9016 * locale/programs/config.h: Don't define PARAMS.
9017 * stdlib/strtol_l.c: Likewise.
9018 (__strtol_l): Remove PARAMS from the prototype.
9019
41b81892
UD
90202012-01-31 Ulrich Drepper <drepper@gmail.com>
9021
3b49edc0
UD
9022 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9023 names. Just use the correct names. Remove unnecessary wrapper
9024 functions.
9025 * malloc/arena.c: Likewise.
9026 * malloc/hooks.c: Likewise.
9027
41b81892
UD
9028 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9029 ARENA_TEST says not to. Simplify test for creation of a new arena.
9030 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9031
27a25b6e
UD
90322012-01-30 Ulrich Drepper <drepper@gmail.com>
9033
9034 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9035 into tail calls.
9036 (update_get_addr): New function.
9037 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9038 GET_ADDR_MODULE parameter.
9039
c8a89e7d
JM
90402012-01-30 Joseph Myers <joseph@codesourcery.com>
9041
9042 * crypt/cert.c: Remove __STDC__ conditionals.
9043 * crypt/crypt-entry.c: Likewise.
9044 * crypt/crypt_util.c: Likewise.
9045 * libio/filedoalloc.c: Likewise.
9046 * libio/fileops.c: Likewise.
9047 * libio/genops.c: Likewise.
9048 * libio/iofclose.c: Likewise.
9049 * libio/iofdopen.c: Likewise.
9050 * libio/iofopen.c: Likewise.
9051 * libio/iofopen64.c: Likewise.
9052 * libio/iogetdelim.c: Likewise.
9053 * libio/iopopen.c: Likewise.
9054 * libio/obprintf.c: Likewise.
9055 * libio/oldfileops.c: Likewise.
9056 * libio/oldiofclose.c: Likewise.
9057 * libio/oldiofdopen.c: Likewise.
9058 * libio/oldiofopen.c: Likewise.
9059 * libio/oldiopopen.c: Likewise.
9060 * libio/wfiledoalloc.c: Likewise.
9061 * libio/wgenops.c: Likewise.
9062 * locale/programs/xmalloc.c: Likewise.
9063 * misc/syslog.c: Likewise.
9064 * stdio-common/xbug.c: Likewise.
9065 * string/memchr.c: Likewise.
9066 * string/memcmp.c: Likewise.
9067 * string/memrchr.c: Likewise.
9068 * string/rawmemchr.c: Likewise.
9069 * sysdeps/posix/getcwd.c: Likewise.
9070 * time/strftime_l.c: Likewise.
9071
3b100462
JM
90722012-01-30 Joseph Myers <joseph@codesourcery.com>
9073
9074 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9075 * config.make.in (config-cflags-sse2avx): Define.
9076 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9077 Fix typo.
9078
607998af
CM
90792012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9080
9081 * scripts/config.guess: Update from upstream config git repository.
9082 * scripts/config.sub: Likewise.
9083
3601428f
CM
90842012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9085
3ac8b282
CM
9086 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9087 (EM_NUM): Update.
9088 (R_TILEPRO_*, R_TILEGX_*): New macros.
9089
e034841e
CM
9090 * scripts/firstversions.awk: Fix bug in version range handling.
9091
540d7568
CM
9092 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9093
3601428f
CM
9094 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9095
463de862
CM
9096 * include/sys/epoll.h: New file.
9097 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9098 libc_hidden_def.
9099
73139a76
UD
91002012-01-28 Ulrich Drepper <drepper@gmail.com>
9101
96bc5b45
UD
9102 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9103 Avoid unnecessary __WORDSIZE == 64 test.
9104 (fmaxf): Use VEX format if possible.
9105 (fmax): Likewise.
9106 (fminf): Likewise.
9107 (fmin): Likewise.
9108
56f6f6a2
UD
9109 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9110 * math/math_private.h: Remove libc_fegetround* and
9111 libc_fesetround*.
9112 * sysdeps/i386/configure.in: Check for -msse2avx.
9113 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9114 also if SSE2AVX is defined.
9115 Remove libc_fegetround* and libc_fesetround*.
9116 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9117 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9118 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9119 of HAS_YMM_USABLE.
9120 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9121 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9122 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9123 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9124 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9125
73139a76
UD
9126 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9127
d73f93a4
AZ
91282012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9129
9130 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9131 size is not set.
9132 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9133
6ee65ed6
UD
91342012-01-27 Ulrich Drepper <drepper@gmail.com>
9135
9136 [BZ #13618]
9137 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9138 relocation.
9139 * Makeconfig (libm): Define.
9140 * elf/Makefile: Add rules to build and run tst-relsort1.
9141 * elf/tst-relsort1.c: New file.
9142 * elf/tst-relsort1mod1.c: New file.
9143 * elf/tst-relsort1mod2.c: New file.
9144
8db21882
JM
91452012-01-27 Joseph Myers <joseph@codesourcery.com>
9146
9147 * math/s_ldexp.c: Remove __STDC__ conditionals.
9148 * math/s_ldexpf.c: Likewise.
9149 * math/s_ldexpl.c: Likewise.
9150 * math/s_nextafter.c: Likewise.
9151 * math/s_nexttowardf.c: Likewise.
9152 * math/s_significand.c: Likewise.
9153 * math/s_significandf.c: Likewise.
9154 * math/s_significandl.c: Likewise.
9155 * math/w_jnl.c: Likewise.
9156 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9157 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9158 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9159 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9160 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9161 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9162 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9163 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9164 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9165 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9166 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9167 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9168 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9169 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9170 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9171 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9172 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9173 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9174 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9175 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9176 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9177 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9178 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9179 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9180 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9181 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9182 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9183 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9184 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9185 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9186 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9187 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9188 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9189 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9190 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9191 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9192 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9193 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9194 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9195 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9196 * sysdeps/ieee754/k_standard.c: Likewise.
9197 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9198 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9199 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9200 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9201 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9202 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9203 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9204 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9205 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9206 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9207 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9208 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9209 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9210 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9211 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9212 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9213 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9214 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9215 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9216 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9217 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9218 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9219 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9220 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9221 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9222 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9223 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9224 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9225 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9226 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9227 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9228 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9229 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9230 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9231 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9232 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9233 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9234 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9235 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9236 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9237 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9238 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9239 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9240 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9241 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9242 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9243 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9244 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9245 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9246 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9247 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9248 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9249 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9250 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9251 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9252 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9253 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9254 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9255 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9256 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9257 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9258 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9259 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9260 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9261 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9262 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9263 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9264 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9265 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9266 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9267 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9268 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9269 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9270 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9271 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9272 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9273 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9274 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9275 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9276 * sysdeps/ieee754/s_matherr.c: Likewise.
9277 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9278 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9279 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9280 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9281
965a54a4
JM
92822012-01-26 Joseph Myers <joseph@codesourcery.com>
9283
9284 * crypt/md5.h: Remove __STDC__ conditionals.
9285 * libio/libioP.h: Likewise.
9286 * locale/programs/config.h: Likewise.
9287 * sysdeps/generic/sysdep.h: Likewise.
9288 * sysdeps/i386/asm-syntax.h: Likewise.
9289 * sysdeps/s390/asm-syntax.h: Likewise.
9290 * sysdeps/unix/sysdep.h: Likewise.
9291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9293
7071ad79
JM
92942012-01-26 Joseph Myers <joseph@codesourcery.com>
9295
9296 * libio/libio.h: Remove __STDC__ conditionals.
9297 * malloc/obstack.h: Likewise.
9298 * math/complex.h: Likewise.
9299 * math/math.h: Likewise.
9300 * sysdeps/generic/_G_config.h: Likewise.
9301 * sysdeps/gnu/_G_config.h: Likewise.
9302 * sysdeps/mach/hurd/_G_config.h: Likewise.
9303 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9304 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9305 * sysdeps/sparc/bits/mathdef.h: Likewise.
9306
afc5ed09
UD
93072012-01-26 Ulrich Drepper <drepper@gmail.com>
9308
9309 [BZ #13583]
9310 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9311 Clean up HAS_* macros.
afc5ed09 9312 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9313 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9314 possible.
9315 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9316 HAS_AVX.
9317 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9318 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9319 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9320 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9321 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9322
bdb6de1d
JM
93232012-01-25 Joseph Myers <joseph@codesourcery.com>
9324
9325 * elf/tst-unique3.cc (gets): Remove declaration.
9326 * elf/tst-unique3lib.cc (gets): Likewise.
9327 * elf/tst-unique3lib2.cc (gets): Likewise.
9328 * elf/tst-unique4.cc (gets): Likewise.
9329
b15549e6
UD
93302012-01-24 Ulrich Drepper <drepper@gmail.com>
9331
9332 * include/stdio.h: Add C++ protection. Add gets declarations and
9333 definitions.
9334 * debug/tst-chk1.c: Don't declare gets here.
9335 * stdio-common/tst-gets.c: Likewise.
9336
a037381f
JM
93372012-01-24 Joseph Myers <joseph@codesourcery.com>
9338
9339 * posix/glob: Remove directory.
9340
f1d4aa75
JM
93412012-01-24 Joseph Myers <joseph@codesourcery.com>
9342
9343 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9344
81c0c964
PT
93452012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9346
9347 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9348 of the non-standard EPFNOSUPPORT.
9349
0ea698ae
ST
93502011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9351
9352 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9353 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9354 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9355
d220b117
UD
93562012-01-21 Ulrich Drepper <drepper@gmail.com>
9357
9358 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9359
3e1aa84e
UD
93602012-01-20 Ulrich Drepper <drepper@gmail.com>
9361
9362 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9363 transient errors.
9364 * nscd/grpcache.c (cache_addgr): Likewise.
9365 * nscd/hstcache.c (cache_addhst): Likewise.
9366 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9367 * nscd/pwdcache.c (cache_addpw): Likewise.
9368 * nscd/servicescache.c (cache_addserv): Likewise.
9369
400aa020
UD
93702012-01-16 Ulrich Drepper <drepper@gmail.com>
9371
d77e7869
UD
9372 * malloc/malloc.c: Various cleanups.
9373 * malloc/hooks.c: Likewise.
9374
400aa020
UD
9375 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9376 * stdlib/bug-fmtmsg1.c: New file.
9377
9378 * stdlib/fmtmsg.c (init): Add missing unlock.
9379 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9380
e0a309cf
MP
93812012-01-12 Marek Polacek <polacek@redhat.com>
9382
9383 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9384 and _GNU_SOURCE.
9385
929d11c7
WS
93862012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9387
9388 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9389 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9390 macro to ensure uniqueness of label name.
9391 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9392 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9393
41d0e869
UD
93942012-01-11 Ulrich Drepper <drepper@gmail.com>
9395
0cc5ed3b
UD
9396 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9397
41d0e869
UD
9398 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9399 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9400 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9401 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9402
a47a831a
UD
94032012-01-10 Ulrich Drepper <drepper@gmail.com>
9404
daa891c0
UD
9405 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9406
9407 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9408 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9409 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9410
e58ef0f2
UD
9411 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9412
a47a831a 9413 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9414 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9415 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9416 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9417
9418 * math/bits/math-finite.h: Add ldexp support.
9419
a0bfc9c7
MP
94202012-01-10 Marek Polacek <polacek@redhat.com>
9421
9422 * locale/programs/localedef.h (show_archive_content): Add noreturn
9423 attribute.
9424
d6e97a1d
UD
94252012-01-09 Ulrich Drepper <drepper@gmail.com>
9426
9427 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9428
d5835c26
UD
94292012-01-08 Ulrich Drepper <drepper@gmail.com>
9430
e5f484c6
UD
9431 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9432
d5835c26
UD
9433 * io/Makefile (headers): Add bits/poll2.h.
9434
d1f741e9
WS
94352011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9436
9437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9438 typo #include statement.
9439
ec09c1c4
UD
94402012-01-08 Ulrich Drepper <drepper@gmail.com>
9441
9442 * include/sys/cdefs.h: Define __attribute_alloc_size.
9443 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9444 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9445 * elf/pldd.c: Likewise.
9446 * iconv/iconv_charmap.c: Likewise.
9447 * iconv/iconvconfig.c: Likewise.
9448 * iconv/strtab.c: Likewise.
9449 * locale/programs/locale.c: Likewise.
9450 * locale/programs/localedef.h: Likewise.
9451 * locale/programs/simple-hash.c: Likewise.
9452 * nscd/nscd.h: Likewise.
9453 * nss/makedb.c: Likewise.
9454 * sysdeps/generic/ldconfig.h: Likewise.
9455 * locale/programs/localedef.c: Remove xmalloc prototype.
9456 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9457
20b38e03
PP
94582012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9459
9460 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9461 appropriate.
9462
a0da5fe1
UD
94632012-01-08 Ulrich Drepper <drepper@gmail.com>
9464
1d5a644a 9465 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9466 * math/tst-CMPLX.c: New file.
1d5a644a 9467
8784a6db
UD
9468 * math/complex.h (CMPLXL): Fix typo.
9469
d9a216c0
UD
9470 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9471 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9472 GLIBC_2.16.
9473 * debug/tst-chk1.c: Add poll and ppoll tests.
9474 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9475 * include/sys/poll.h: Add hidden proto for ppoll.
9476 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9477 * sysdeps/mach/hurd/ppoll.c: Likewise.
9478 * io/ppoll.c: Likewise.
9479 * debug/poll_chk.c: New file.
9480 * debug/ppoll_chk.c: New file.
9481 * include/bits/poll2.h: New file.
9482 * io/bits/poll2.h: New file.
9483
ac097f5c
UD
9484 [BZ #1350]
9485 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9486
2119dcfa
UD
9487 * configure.in: static is always set to yes. Remove.
9488 * config.make.in: Don't set build-static.
9489 * Makeconfig: Remove use of build-static.
9490 * dlfcn/Makefile: Likewise.
9491 * elf/Makefile: Likewise.
9492 * math/Makefile: Likewise.
9493 * misc/Makefile: Likewise.
9494 * nptl/Makefile: Likewise.
9495 * sysdeps/mach/hurd/Makefile: Likewise.
9496
121766a9
UD
9497 * configure.in: PWD_P is not used anymore.
9498 * config.make.in: Remove PWD_P entry.
9499
51a1d39c 9500 * configure.in: Remove last remnants of RANLIB.
8720d066 9501 No need to check for signed size_t anymore.
215f4bdc
UD
9502 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9503 and IA-64.
3857022a 9504 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9505 * aclocal.m4: Likewise.
9506
d3ed7225
UD
9507 * wcsmbs/mbrtoc16.c: Implement using towc function.
9508 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9509 * wcsmbs/wcsmbsload.c: Likewise.
9510 * iconv/gconv_simple.c: Likewise.
9511 * iconv/gconv_int.h: Likewise.
9512 * iconv/gconv_builtin.h: Likewise.
9513 * iconv/iconv_prog.c: Remove CHAR16 handling.
9514
9515 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9516
9517 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9518
a0da5fe1
UD
9519 * configure.in: Remove --with-elf and --enable-bounded options.
9520 Dont set base_machine for ia64. More non-ELF conditions removed.
9521 Remove testing and setting of leading underscore information.
9522 * config.make.in (build-bounded): Set to no.
9523 * config.h.in: Remove NO_UNDERSCORES entry.
9524 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9525 them.
9526 * csu/start.c: Remove !NO_UNDERSCORE code.
9527 * locale/localeinfo.h: Likewise.
9528 * sysdeps/generic/machine-gmon.h: Likewise.
9529 * sysdeps/generic/sysdep.h: Likewise.
9530 * sysdeps/i386/sysdep.h: Likewise.
9531 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9532 * sysdeps/mach/sysdep.h: Likewise.
9533 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9534 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9535 * sysdeps/sh/sysdep.h: Likewise.
9536 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9537 * sysdeps/unix/i386/sysdep.S: Likewise.
9538 * sysdeps/unix/sparc/start.c: Likewise.
9539 * sysdeps/unix/sparc/sysdep.S: Likewise.
9540 * sysdeps/unix/sparc/sysdep.h: Likewise.
9541 * sysdeps/unix/start.c: Likewise.
9542 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9543 * sysdeps/x86_64/sysdep.h: Likewise.
9544
df78418a
UD
95452012-01-07 Ulrich Drepper <drepper@gmail.com>
9546
a784e502
UD
9547 [BZ #13553]
9548 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9549 for non-gcc.
9550 * argp/argp-fmtstream.h: Use const instead __const.
9551 * argp/argp.h: Likewise.
9552 * assert/assert.h: Likewise.
9553 * bits/fenv.h: Likewise.
9554 * bits/sched.h: Likewise.
9555 * bits/sigset.h: Likewise.
9556 * bits/sigthread.h: Likewise.
9557 * catgets/nl_types.h: Likewise.
9558 * conform/data/pthread.h-data: Likewise.
9559 * crypt/crypt-private.h: Likewise.
9560 * crypt/crypt.h: Likewise.
9561 * crypt/crypt_util.c: Likewise.
9562 * ctype/ctype.h: Likewise.
9563 * debug/execinfo.h: Likewise.
9564 * debug/mbsnrtowcs_chk.c: Likewise.
9565 * debug/mbsrtowcs_chk.c: Likewise.
9566 * debug/wcsnrtombs_chk.c: Likewise.
9567 * debug/wcsrtombs_chk.c: Likewise.
9568 * debug/wcstombs_chk.c: Likewise.
9569 * dirent/dirent.h: Likewise.
9570 * dlfcn/dlfcn.h: Likewise.
9571 * elf/neededtest4.c: Likewise.
9572 * grp/grp.h: Likewise.
9573 * gshadow/gshadow.h: Likewise.
9574 * iconv/gconv.h: Likewise.
9575 * iconv/gconv_int.h: Likewise.
9576 * iconv/gconv_simple.c: Likewise.
9577 * iconv/iconv.h: Likewise.
9578 * iconv/loop.c: Likewise.
9579 * iconv/skeleton.c: Likewise.
9580 * include/aio.h: Likewise.
9581 * include/aliases.h: Likewise.
9582 * include/argz.h: Likewise.
9583 * include/arpa/inet.h: Likewise.
9584 * include/assert.h: Likewise.
9585 * include/dirent.h: Likewise.
9586 * include/dlfcn.h: Likewise.
9587 * include/execinfo.h: Likewise.
9588 * include/fcntl.h: Likewise.
9589 * include/fenv.h: Likewise.
9590 * include/glob.h: Likewise.
9591 * include/grp.h: Likewise.
9592 * include/libintl.h: Likewise.
9593 * include/mntent.h: Likewise.
9594 * include/netdb.h: Likewise.
9595 * include/pwd.h: Likewise.
9596 * include/rpc/netdb.h: Likewise.
9597 * include/sched.h: Likewise.
9598 * include/search.h: Likewise.
9599 * include/shadow.h: Likewise.
9600 * include/signal.h: Likewise.
9601 * include/stdio.h: Likewise.
9602 * include/stdlib.h: Likewise.
9603 * include/string.h: Likewise.
9604 * include/sys/socket.h: Likewise.
9605 * include/sys/stat.h: Likewise.
9606 * include/sys/statfs.h: Likewise.
9607 * include/sys/statvfs.h: Likewise.
9608 * include/sys/syslog.h: Likewise.
9609 * include/sys/time.h: Likewise.
9610 * include/sys/uio.h: Likewise.
9611 * include/time.h: Likewise.
9612 * include/unistd.h: Likewise.
9613 * include/utmp.h: Likewise.
9614 * include/wchar.h: Likewise.
9615 * include/wctype.h: Likewise.
9616 * inet/aliases.h: Likewise.
9617 * inet/arpa/inet.h: Likewise.
9618 * inet/netinet/ether.h: Likewise.
9619 * inet/netinet/in.h: Likewise.
9620 * intl/libintl.h: Likewise.
9621 * io/bits/fcntl2.h: Likewise.
9622 * io/fcntl.h: Likewise.
9623 * io/ftw.h: Likewise.
9624 * io/sys/poll.h: Likewise.
9625 * io/sys/stat.h: Likewise.
9626 * io/sys/statfs.h: Likewise.
9627 * io/sys/statvfs.h: Likewise.
9628 * io/utime.h: Likewise.
9629 * libio/bits/stdio.h: Likewise.
9630 * libio/bits/stdio2.h: Likewise.
9631 * libio/libio.h: Likewise.
9632 * libio/libioP.h: Likewise.
9633 * libio/stdio.h: Likewise.
9634 * locale/lc-ctype.c: Likewise.
9635 * locale/locale.h: Likewise.
9636 * login/utmp.h: Likewise.
9637 * malloc/arena.c: Likewise.
9638 * malloc/malloc.c: Likewise.
9639 * malloc/malloc.h: Likewise.
9640 * malloc/mcheck.c: Likewise.
9641 * malloc/mtrace.c: Likewise.
9642 * math/bits/mathcalls.h: Likewise.
9643 * math/fenv.h: Likewise.
9644 * math/math_private.h: Likewise.
9645 * misc/bits/error.h: Likewise.
9646 * misc/bits/syslog.h: Likewise.
9647 * misc/err.h: Likewise.
9648 * misc/error.h: Likewise.
9649 * misc/fstab.h: Likewise.
9650 * misc/mntent.h: Likewise.
9651 * misc/regexp.h: Likewise.
9652 * misc/search.h: Likewise.
9653 * misc/sgtty.h: Likewise.
9654 * misc/sys/mman.h: Likewise.
9655 * misc/sys/syslog.h: Likewise.
9656 * misc/sys/uio.h: Likewise.
9657 * misc/sys/xattr.h: Likewise.
9658 * misc/ttyent.h: Likewise.
9659 * nis/rpcsvc/ypclnt.h: Likewise.
9660 * nss/nss.h: Likewise.
9661 * posix/bits/unistd.h: Likewise.
9662 * posix/fnmatch.h: Likewise.
9663 * posix/glob.h: Likewise.
9664 * posix/sched.h: Likewise.
9665 * posix/spawn.h: Likewise.
9666 * posix/sys/wait.h: Likewise.
9667 * posix/unistd.h: Likewise.
9668 * posix/wordexp.h: Likewise.
9669 * pwd/pwd.h: Likewise.
9670 * resolv/netdb.h: Likewise.
9671 * resource/sys/resource.h: Likewise.
9672 * rt/aio.h: Likewise.
9673 * rt/bits/mqueue2.h: Likewise.
9674 * rt/mqueue.h: Likewise.
9675 * shadow/shadow.h: Likewise.
9676 * signal/signal.h: Likewise.
9677 * socket/send.c: Likewise.
9678 * socket/sendto.c: Likewise.
9679 * socket/sys/socket.h: Likewise.
9680 * stdio-common/printf.h: Likewise.
9681 * stdlib/bits/stdlib.h: Likewise.
9682 * stdlib/fmtmsg.h: Likewise.
9683 * stdlib/monetary.h: Likewise.
9684 * stdlib/stdlib.h: Likewise.
9685 * stdlib/ucontext.h: Likewise.
9686 * streams/stropts.h: Likewise.
9687 * string/argz.h: Likewise.
9688 * string/bits/string2.h: Likewise.
9689 * string/string.h: Likewise.
9690 * string/strings.h: Likewise.
9691 * sunrpc/rpc/auth.h: Likewise.
9692 * sunrpc/rpc/auth_des.h: Likewise.
9693 * sunrpc/rpc/clnt.h: Likewise.
9694 * sunrpc/rpc/netdb.h: Likewise.
9695 * sunrpc/rpc/pmap_clnt.h: Likewise.
9696 * sunrpc/rpc/xdr.h: Likewise.
9697 * sysdeps/generic/inttypes.h: Likewise.
9698 * sysdeps/generic/net/if.h: Likewise.
9699 * sysdeps/generic/sys/swap.h: Likewise.
9700 * sysdeps/gnu/net/if.h: Likewise.
9701 * sysdeps/gnu/utmpx.h: Likewise.
9702 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9703 * sysdeps/i386/i486/bits/string.h: Likewise.
9704 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9705 * sysdeps/s390/bits/string.h: Likewise.
9706 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9707 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9708 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9709 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9710 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9711 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9712 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9713 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9714 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9715 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9716 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9717 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9718 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9719 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9720 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9721 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9722 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9724 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9725 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9726 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9727 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9728 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9729 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9730 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9731 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9732 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9733 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9734 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9735 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9736 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9737 * sysvipc/sys/ipc.h: Likewise.
9738 * sysvipc/sys/msg.h: Likewise.
9739 * sysvipc/sys/sem.h: Likewise.
9740 * sysvipc/sys/shm.h: Likewise.
9741 * termios/termios.h: Likewise.
9742 * time/sys/time.h: Likewise.
9743 * time/time.h: Likewise.
9744 * wcsmbs/bits/wchar2.h: Likewise.
9745 * wcsmbs/uchar.h: Likewise.
9746 * wcsmbs/wchar.h: Likewise.
9747 * wctype/wctype.h: Likewise.
9748
0269750c
UD
9749 [BZ #13551]
9750 * Makeconfig: Remove all but ELF support including AIX support.
9751 * Makerules: Likewise.
9752 * config.h.in: Likewise.
9753 * config.make.in: Likewise.
9754 * configure: Likewise.
9755 * configure.in: Likewise.
9756 * csu/Makefile: Likewise.
9757 * csu/version.c: Likewise.
9758 * debug/Makefile: Likewise.
9759 * dlfcn/Makefile: Likewise.
9760 * elf/Makefile: Likewise.
9761 * extra-lib.mk: Likewise.
9762 * iconv/Makefile: Likewise.
9763 * include/libc-symbols.h: Likewise.
9764 * include/shlib-compat.h: Likewise.
9765 * resolv/Makefile: Likewise.
9766 * resolv/res_libc.c: Likewise.
9767 * rt/Makefile: Likewise.
9768 * sysdeps/i386/asm-syntax.h: Likewise.
9769 * sysdeps/i386/sysdep.h: Likewise.
9770 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9771 * sysdeps/mach/sysdep.h: Likewise.
9772 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9773 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9774 * sysdeps/s390/asm-syntax.h: Likewise.
9775 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9776 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9777 * sysdeps/sh/sysdep.h: Likewise.
9778 * sysdeps/unix/sparc/sysdep.h: Likewise.
9779 * sysdeps/wordsize-32/divdi3.c: Likewise.
9780 * sysdeps/x86_64/sysdep.h: Likewise.
9781
00bbd29b
UD
9782 * argp/Versions: Remove _argp_unlock_xxx.
9783
9784 [BZ #13559]
9785 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9786 * abilist/libBrokenLocale.abilist: Likewise.
9787 * abilist/libanl.abilist: Likewise.
9788 * abilist/libc.abilist: Likewise.
9789 * abilist/libcrypt.abilist: Likewise.
9790 * abilist/libdl.abilist: Likewise.
9791 * abilist/libm.abilist: Likewise.
9792 * abilist/libnsl.abilist: Likewise.
9793 * abilist/libpthread.abilist: Likewise.
9794 * abilist/libresolv.abilist: Likewise.
9795 * abilist/librt.abilist: Likewise.
9796 * abilist/libthread_db.abilist: Likewise.
9797 * abilist/libutil.abilist: Likewise.
9798 * abilist/libnss_db.abilist: New file.
9799
9800 * scripts/abilist.awk: Add support for indirect functions.
9801
a2693a0e
UD
9802 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9803
3f05895f
UD
9804 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9805
ecb6fb48
UD
9806 * shlib-versions: Remove entries for ports architectures.
9807
664f8cb9
UD
9808 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9809 files in ports.
9810 * elf/stackguard-macros.h: Remove support for IA-64.
9811 * elf/tst-auditmod1.c: Likewise.
9812 * sysdeps/generic/ldsodefs.h: Likewise.
9813
7ae81d88
UD
9814 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9815 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9816 configure files.
9817
bdeba135
UD
9818 [BZ #13552]
9819 * configure.in: Remove --enable-omitfp support.
9820 * FAQ.in: Adjust.
9821 * config.make.in: Likewise.
9822 * Makeconfig: Likewise.
9823 * manual/install.texi: Likewise.
9824
d75a0a62
UD
9825 In case anyone cares, the IA-64 architecture could move to ports.
9826 * sysdeps/ia64/*: Removed.
9827 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9828 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9829
dcc9756b
UD
9830 [BZ #13555]
9831 * configure.in: Remove entries for unsupported architectures.
9832
d3761ebc 9833 [BZ #13533]
9954432e
UD
9834 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9835 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9836 routines.
9837 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9838 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9839 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9840 fall back to using wcrtomb.
9841 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9842 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9843 renaming.
9844 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9845 * wcsmbs/tst-c16c32-1.c: New file.
9846
9847 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9848 local variable.
9849
c3a87236
UD
9850 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9851
28926a1b
UD
9852 * elf/tst-unique3.cc: Add explicit declaration of gets.
9853 * elf/tst-unique3lib.cc: Likewise.
9854 * elf/tst-unique3lib2.cc: Likewise.
9855 * elf/tst-unique4.cc: Likewise.
9856
df78418a
UD
9857 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9858
8ecd6b2a
JM
98592012-01-06 Joseph Myers <joseph@codesourcery.com>
9860
9861 [BZ #13566]
9862 * assert/assert.h (static_assert): Don't define for C++.
9863 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9864 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9865
9f115170
UD
98662012-01-03 Ulrich Drepper <drepper@gmail.com>
9867
5e0d0300
UD
9868 * iconv/loop.c (single loop): Fix assertion in storing of
9869 remaining bytes.
9870
9f115170
UD
9871 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9872
81fb02b0
UD
98732012-01-01 Ulrich Drepper <drepper@gmail.com>
9874
9875 * posix/getconf.c: Update copyright year.
9876 * nss/getent.c: Likewise.
a316c1f6 9877 * nss/makedb.c: Likewise.
81fb02b0
UD
9878 * iconv/iconvconfig.c: Likewise.
9879 * iconv/iconv_prog.c: Likewise.
9880 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9881 * elf/pldd.c: Likewise.
9882 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9883 * catgets/gencat.c: Likewise.
9884 * csu/version.c: Likewise.
9885 * elf/ldd.bash.in: Likewise.
9886 * elf/sprof.c (print_version): Likewise.
9887 * locale/programs/locale.c: Likewise.
9888 * locale/programs/localedef.c: Likewise.
a316c1f6 9889 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9890 * nscd/nscd.c (print_version): Likewise.
9891 * debug/xtrace.sh: Likewise.
9892 * malloc/memusage.sh: Likewise.
9893 * malloc/mtrace.pl: Likewise.
9894 * debug/catchsegv.sh: Likewise.
9895
2ba92745
JJ
98962011-12-30 Jakub Jelinek <jakub@redhat.com>
9897
9898 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9899 pure attribute.
9900
dadebdae
UD
99012011-12-24 Ulrich Drepper <drepper@gmail.com>
9902
d3761ebc 9903 [BZ #13533]
db6af3eb
UD
9904 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9905 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9906 transformations.
9907 * iconv/gconv_int.h: Likewise.
9908 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9909 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9910 from libc for GLIBC_2.16.
9911 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9912 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9913 * wcsmbs/uchar.h: Really define mbstate_t.
9914 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9915 * wcsmbs/c16rtomb.c: New file.
9916 * wcsmbs/mbrtoc16.c: New file.
9917 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9918 for C/POSIX locale.
9919 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9920 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9921
dadebdae
UD
9922 * wcsmbs/wchar.h: Add missing __restrict.
9923
67371b56
UD
99242011-12-23 Ulrich Drepper <drepper@gmail.com>
9925
74033a25
UD
9926 [BZ #13532]
9927 * time/Makefile (routines): Add timespec_get.
9928 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9929 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9930 timespec for ISO C11.
9931 * time/timespec_get.c: New file.
9932 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9933 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9934
380d7e87
UD
9935 [BZ #13531]
9936 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9937 * stdlib/stdlib.h: Declare aligned_alloc.
9938 * Versions.def: Add GLIBC_2.16 for libc.
9939 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9940
4e9e7a35
UD
9941 [BZ 13527]
9942 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9943 ISO C11.
9944
380d7e87 9945 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9946 code.
9947
03a71829
UD
9948 [BZ #13528]
9949 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9950
839e283e
UD
9951 [BZ #13529]
9952 * assert/assert.h (static_assert): Define.
9953
ce5294e2 9954 * version.h: Update for 2.16 development version.
90fa7312 9955
8d44e150 9956 [BZ #13526]
d7809905
UD
9957 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9958 _ISOC11_SOURCE.
9959
c0da14cd
UD
9960 * version.h (RELEASE): Bump for 2.15 release.
9961 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9962
530a3249
MP
9963 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9964 Patch by Marek Polacek <mpolacek@redhat.com>.
9965
67371b56
UD
9966 * bits/byteswap.h: Protect long long constants with __extension__.
9967 * sysdeps/i386/bits/byteswap.h: Likewise.
9968 * sysdeps/ia64/bits/byteswap.h: Likewise.
9969 * sysdeps/s390/bits/byteswap.h: Likewise.
9970 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9971
15db4de1
LD
99722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9973
9974 [BZ #13540]
bbe315ea
LD
9975 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9976 destination buffer.
15db4de1
LD
9977 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9978
2b2596b1
MP
99792011-12-23 Marek Polacek <polacek@redhat.com>
9980
9981 * elf/dl-addr.c (determine_info): Add inline keyword.
9982 * elf/tst-auditmod4b.c (check_avx): Likewise.
9983 * elf/tst-auditmod6b.c (check_avx): Likewise.
9984 * elf/tst-auditmod6c.c (check_avx): Likewise.
9985 * elf/tst-auditmod7b.c (check_avx): Likewise.
9986
70c6c246
UD
99872011-12-23 Ulrich Drepper <drepper@gmail.com>
9988
9989 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9990 !__SSE_MATH__.
9991
c044cf14
LD
99922011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9993
15db4de1 9994 [BZ #13540]
c044cf14
LD
9995 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9996 processing for last bytes.
9997
6b13d9d9
BH
99982011-08-06 Bruno Haible <bruno@clisp.org>
9999
d455f537
BH
10000 [BZ #13061]
10001 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10002 U+0385, not to U+1FEE.
10003
6b13d9d9
BH
10004 [BZ #13062]
10005 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10006 entry for U+00A5 U+0301.
10007
db910efd
UD
100082011-12-22 Ulrich Drepper <drepper@gmail.com>
10009
27deeafc
UD
10010 [BZ #13166]
10011 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10012 buffer for the output is too small.
10013
aed9d171
UD
10014 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10015 optimization.
10016
db910efd
UD
10017 [BZ #13185]
10018 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10019 SSE flags if possible.
10020
2bd779ae
LD
100212011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10022
e7f9dac3 10023 [BZ #13540]
2bd779ae
LD
10024 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10025 processing for last bytes.
10026
154bfc16
JM
100272011-12-22 Joseph Myers <joseph@codesourcery.com>
10028
10029 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10030 (syscall-list-default-options, syscall-list-default-condition)
10031 (syscall-list-includes): Define.
10032 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10033 list of ABIs and options and #if conditions for each ABI. Do not
10034 handle common syscalls between ABIs specially.
10035 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10036 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/s390/Makefile (64bit-predefine): Remove.
10041 (syscall-list-variants, syscall-list-32bit-options)
10042 (syscall-list-32bit-condition, syscall-list-64bit-options)
10043 (syscall-list-64bit-condition): Define.
10044 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10045 Remove.
10046 (syscall-list-variants, syscall-list-32bit-options)
10047 (syscall-list-32bit-condition, syscall-list-64bit-options)
10048 (syscall-list-64bit-condition): Define.
10049 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10050 Remove.
10051 (syscall-list-variants, syscall-list-32bit-options)
10052 (syscall-list-32bit-condition, syscall-list-64bit-options)
10053 (syscall-list-64bit-condition): Define.
10054
21eaf3a5
UD
100552011-12-22 Ulrich Drepper <drepper@gmail.com>
10056
16c6f992
UD
10057 * locale/iso-639.def: Add brx entry.
10058
41043168
UD
10059 [BZ #13328]
10060 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10061 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10062
21eaf3a5
UD
10063 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10064 __feraiseexcept_renamed.
10065
e3a851a2
UD
100662011-12-21 Ulrich Drepper <drepper@gmail.com>
10067
4920765e
UD
10068 [BZ #13538]
10069 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10070 EPOLLET with unsigned values.
10071 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10072 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10073
e3a851a2
UD
10074 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10075 to large cancellation.
10076 * math/s_cacoshf.c: Likewise.
10077 * math/s_cacoshl.c: Likewise.
10078
b27e24b8
RK
100792011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10080
10081 [BZ #13305]
aebefeee 10082 [BZ #12786]
b27e24b8
RK
10083 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10084 * math/s_cacoshf.c: Likewise.
10085 * math/s_cacoshl.c: Likewise.
10086
ee190f67
UD
100872011-12-21 Ulrich Drepper <drepper@gmail.com>
10088
10089 [BZ #13439]
10090 * iconv/gconv.h: Define __GCONV_SWAP.
10091 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10092 * iconvdata/utf-16.c: Likewise.
10093 * iconvdata/utf-32.c: Likewise.
10094
707f25df
AS
100952011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10096
10097 [BZ #13524]
10098 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10099 numerator after shifting it by one limb.
10100
d2daaa1e
RÁE
101012011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10102
10103 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10104 under [__USE_EXTERN_INLINES].
10105
a4647e72
UD
101062011-12-17 Ulrich Drepper <drepper@gmail.com>
10107
10108 [BZ #13446]
10109 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10110
f0b264f1
AZ
101112011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10112
10113 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10114 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10115 optimized code.
10116 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10117 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10118 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10119 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10120 for strncasecmp/strncasecmp_l compilation.
10121 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10122 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10123
8ef4f244
MP
101242011-12-08 Marek Polacek <mpolacek@redhat.com>
10125
10126 [BZ #13484]
10127 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10128 of __asm__.
10129
97ac2654
UD
101302011-12-17 Ulrich Drepper <drepper@gmail.com>
10131
10132 [BZ #13506]
10133 * time/tzfile.c (__tzfile_read): Check values from file header.
10134
91d2a845
WS
101352011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10136
10137 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10138 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10139 * powerpc/powerpc32/dl-start.S: Likewise.
10140 * powerpc/powerpc32/elf/start.S: Likewise.
10141 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10142 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10143 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10144 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10145 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10146 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10147 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10148 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10149 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10150 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10151 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10152 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10153 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10154 * powerpc/powerpc32/memset.S: Likewise.
10155 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10156 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10157 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10158 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10159 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10160 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10161 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10162 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10163 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10164 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10165 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10166 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10167 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10168
a1267ba1
AZ
101692011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10170
10171 * math/libm-test.inc: Added more nearbyint tests.
10172 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10173 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10174 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10175 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10176
ad8ac1bd
RL
101772011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10178
10179 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10180 FD_CLOEXEC.
10181
1d3e4b61
UD
101822011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10183
10184 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10185 Add wcscpy-ssse3 wcscpy-c.
10186 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10187 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10188 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10189 * sysdeps/x86_64/wcschr.S: New file.
10190 * sysdeps/x86_64/wcsrchr.S: New file.
10191 * string/test-strcmp.c: Remove checking of wcscmp function for
10192 wrong alignments.
10193 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10194 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10195 wcsrchr-sse2 wcsrchr-c.
10196 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10197 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10198 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10199 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10200 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10201 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10202 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10203 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10204 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10205 * wcsmbc/wcschr.c (WCSCHR): New macro.
10206
5b330a2d
UD
102072011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10208
10209 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10210 * wcsmbs/test-wcsrchr.c: New file.
10211 * string/test-strrchr.c: Add wcsrchr support.
10212 (WIDE): New macro.
10213 * wcsmbs/test-wcscpy.c: New file.
10214 * string/test-strcpy.c: Add wcscpy support.
10215 (WIDE): New macro.
26428b7c 10216
f039c043
UD
102172011-12-10 Ulrich Drepper <drepper@gmail.com>
10218
10219 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10220 the inner loop.
10221
850fb039
AS
102222011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10223
10224 [BZ #13472]
10225 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10226
4efbd5cb
UD
102272011-12-04 Ulrich Drepper <drepper@gmail.com>
10228
52ff5dd0 10229 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10230 Minor optimizations.
52ff5dd0 10231
4efbd5cb
UD
10232 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10233 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10234 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10235
8a426e12
UD
102362011-12-03 Ulrich Drepper <drepper@gmail.com>
10237
aff2453d
UD
10238 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10239 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10240 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10241 for gcc to avoid warnings.
10242 * inet/Makefile (tests): Add tst-checks.
10243 * inet/tst-checks.c: New file.
10244
10245 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10246 warning.
10247
10248 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10249 __wmemcmp_sse2.
10250
10251 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10252 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10253
8a426e12
UD
10254 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10255
9bea3473
UD
102562011-12-02 Ulrich Drepper <drepper@gmail.com>
10257
3a965496
UD
10258 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10259 problem.
10260
9bea3473
UD
10261 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10262
f101631b
UD
102632011-11-29 Joseph Myers <joseph@codesourcery.com>
10264
10265 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10266 conditional on GCC version.
10267 (__arch_compare_and_exchange_val_8_acq)
10268 (__arch_compare_and_exchange_val_16_acq)
10269 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10270 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10271 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10272
a98275aa
UD
102732011-12-02 Joseph Myers <joseph@codesourcery.com>
10274
10275 * sysdeps/sh/backtrace.c: New file.
10276
d4cc29a2
AS
102772011-12-02 Andreas Schwab <schwab@redhat.com>
10278
10279 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10280 parenthesis.
10281
6257af2d
AS
102822011-12-01 Andreas Schwab <schwab@redhat.com>
10283
10284 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10285 falling back to utime.
10286
b5f44c1a
AS
102872011-11-30 Andreas Schwab <schwab@redhat.com>
10288
10289 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10290 expectations for float.
10291
f3a6cc0a
AS
102922011-11-29 Andreas Schwab <schwab@redhat.com>
10293
10294 * locale/weight.h (findidx): Add parameter len.
10295 * locale/weightwc.h (findidx): Likewise.
10296 * posix/fnmatch_loop.c (FCT): Adjust caller.
10297 * posix/regcomp.c (build_equiv_class): Likewise.
10298 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10299 * posix/regexec.c (check_node_accept_bytes): Likewise.
10300 * string/strcoll_l.c (STRCOLL): Likewise.
10301 * string/strxfrm_l.c (STRXFRM): Likewise.
10302
9d65ea3a
UD
103032011-11-17 Ulrich Drepper <drepper@gmail.com>
10304
10305 * Makefile.in: Remove CVSOPT handling.
10306 * configure.in: Remove use of AC_REVISION.
10307 * iconvdata/Makefile (distribute): No need to filter out CVS.
10308 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10309 handling.
10310
5583a086
AS
103112011-11-16 Andreas Schwab <schwab@redhat.com>
10312
10313 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10314 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10315 [USE_AS_STRNCASECMP_L]: Likewise.
10316 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10317 NO_TLS_DIRECT_SEG_REFS.
10318 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10319 Fix argument offsets for non-PIC.
10320 [USE_AS_STRNCASECMP_L]: Likewise.
10321 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10322 NO_TLS_DIRECT_SEG_REFS.
10323
d62a8200
UD
103242011-11-15 Ulrich Drepper <drepper@gmail.com>
10325
9d65ea3a 10326 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10327 O_CLOEXEC.
10328 * locale/loadlocale.c (_nl_load_locale): Likewise.
10329
09f93bd3
AS
103302011-11-15 Andreas Schwab <schwab@redhat.com>
10331
446514f9
AS
10332 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10333 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10334 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10335 (SYSCALL_GETTIME): Set errno on error.
10336
09f93bd3
AS
10337 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10338 count references to noai6ai_cached.
10339
312be3f9
UD
103402011-11-15 Ulrich Drepper <drepper@gmail.com>
10341
10342 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10343
10344 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10345 FD_CLOEXEC for /proc/self/maps.
10346
10347 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10348 FD_CLOEXEC for /proc/meminfo.
10349
10350 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10351 gai.conf.
10352
10353 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10354 FD_CLOEXEC for given file.
10355
10356 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10357
10358 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10359 FD_CLOEXEC for /etc/hosts.
10360 (_gethtent): Likewise.
10361
10362 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10363
10364 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10365 cancellation and set FD_CLOEXEC for /etc/netgroup.
10366
10367 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10368 reading /etc/publickey.
10369
10370 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10371 allow cancellation when reading /etc/group.
10372
10373 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10374 cancellation.
10375 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10376
10377 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10378 when using data file.
10379
10380 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10381
10382 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10383 (write_nis_obj): Use "c" and "e" in fopen.
10384
10385 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10386
10387 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10388
10389 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10390
10391 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10392
10393 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10394 locale.alias.
10395
10396 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10397
10398 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10399
10400 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10401
10402 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10403 file parsing and set FD_CLOEXEC.
10404
82af0fa8
UD
104052011-11-14 Ulrich Drepper <drepper@gmail.com>
10406
10407 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10408
a5fb313c
AS
104092011-11-14 Andreas Schwab <schwab@redhat.com>
10410
10411 * malloc/arena.c (arena_get2): Don't call reused_arena when
10412 _int_new_arena failed.
10413
6abf3465
UD
104142011-11-14 Ulrich Drepper <drepper@gmail.com>
10415
10416 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10417 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10418 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10419 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10420 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10421 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10422 to compile strcasecmp and strncasecmp.
10423 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10424 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10425
10426 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10427
76e3966e
UD
104282011-11-13 Ulrich Drepper <drepper@gmail.com>
10429
10430 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10431 locale-defines.sym to gen-as-const-headers.
10432 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10433 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10434 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10435 to compile strcasecmp and strncasecmp.
10436 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10437 strcasecmp_l and strncasecmp_l.
10438 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10439 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10440 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10441 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10442 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10443 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10444 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10445 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10446 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10447 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10448 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10449
ab26144e
UD
104502011-11-12 Ulrich Drepper <drepper@gmail.com>
10451
7edb22ef
UD
10452 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10453 result of SYSDEP_GETTIME_CPU to retval.
10454 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10455 parameter list to macro. Remove trailing semicolon. Adjust users.
10456
9694fc44
UD
10457 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10458 variable.
10459
8ad89ef8
UD
10460 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10461 mantissa words.
10462 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10463
0c822ef9
UD
10464 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10465 from unused variable.
10466
874e0564
UD
10467 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10468 DWARF definitions.
10469 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10470 for assembling.
10471
3a2edc79
UD
10472 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10473 over namespaces.
10474
f3c2577f
UD
10475 * sunrpc/rpc_prot.c (rejected): Fix case value.
10476
294ce126
UD
10477 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10478 unsigned long long int to avoid warnings in shift.
10479
5e2b63c6
UD
10480 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10481 of use of trans.
10482 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10483 variable tmp.
10484
e7f4b08e
UD
10485 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10486 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10487 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10488
ab26144e
UD
10489 * nis/nis_table.c (nis_list): Use variable of correct type for
10490 result of __follow_path call.
10491
8a6d5255
AZ
104922011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10493
10494 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10495 of math functions ceil, trunc, floor, round, and sqrt, when
10496 avaliable on the platform.
10497 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10498 name clash.
10499 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10500 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10501 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10502
aaddc98c
MP
105032011-10-30 Marek Polacek <mpolacek@redhat.com>
10504
10505 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10506 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10507
95b7042b
RM
105082011-11-11 Roland McGrath <roland@hack.frob.com>
10509
10510 * include/unistd.h: Fix __readlink return type.
10511 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10512
57769839
UD
105132011-11-11 Ulrich Drepper <drepper@gmail.com>
10514
10515 * stdlib/ucontext.h: Undo last change for makecontext.
10516
edc5984d
AS
105172011-11-11 Andreas Schwab <schwab@redhat.com>
10518
98591e58
AS
10519 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10520
edc5984d
AS
10521 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10522 * setjmp/setjmp.h: Mark functions as non-leaf.
10523 * setjmp/bits/setjmp2.h: Likewise.
10524 * stdlib/ucontext.h: Likewise.
10525
77cdc054
AS
105262011-11-10 Andreas Schwab <schwab@redhat.com>
10527
10528 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10529 (reused_arena): Don't check arena limit.
10530 (arena_get2): Atomically check arena limit.
10531
fe72eebd
UD
105322011-11-08 Ulrich Drepper <drepper@gmail.com>
10533
5f078c32
UD
10534 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10535 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10536
fe72eebd
UD
10537 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10538 instructions.
10539
ae1bc2fa
AS
105402011-11-07 Andreas Schwab <schwab@redhat.com>
10541
7583a88d
AS
10542 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10543 handler when locking.
10544
ae1bc2fa
AS
10545 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10546 Fix size of allocated buffer.
10547
10fb0bfa
AS
105482011-11-04 Andreas Schwab <schwab@redhat.com>
10549
998832a4
AS
10550 [BZ #10103]
10551 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10552 declarations for long double functions.
10553 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10554
10fb0bfa
AS
10555 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10556
3d7ba52b
AS
105572011-11-03 Andreas Schwab <schwab@redhat.com>
10558
a9ae54a1
AS
10559 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10560 installed.
10561
3d7ba52b
AS
10562 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10563 is disabled.
10564
bc8db248
ST
105652011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10566
10567 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10568
45b96dd6
AS
105692011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10570
647776f6
AS
10571 * include/alloca.h (stackinfo_alloca_round): Define.
10572 (extend_alloca): Use it.
10573 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10574 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10575 here.
10576
d91a8b93
AS
10577 * scripts/check-local-headers.sh: Ignore libaudit.h.
10578
45b96dd6
AS
10579 * nscd/Makefile (extra-objs): Make recursively expanded.
10580
432d41ce
UD
105812011-11-01 Ulrich Drepper <drepper@gmail.com>
10582
34372fc6
UD
10583 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10584 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10585
fadb59f8
UD
10586 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10587 * posix/tst-rfc3484-2.c: Likewise.
10588 * posix/tst-rfc3484-3.c: Likewise.
10589
78239589
UD
10590 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10591 process_vm_writev.
10592 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10593 process_vm_writev.
10594 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10595 process_vm_writev from libc using GLIBC_2.15 version.
10596
432d41ce
UD
10597 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10598
02f9c6cf
PP
105992011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10600
10601 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10602 stack usage.
10603
3a2c0242
UD
106042011-10-31 Ulrich Drepper <drepper@gmail.com>
10605
f4ec4833
UD
10606 [BZ #13367]
10607 * nss/getent.c (initgroups_keys): Show error message in case no group
10608 names are given.
10609
3a2c0242
UD
10610 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10611 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10612 __bump_nl_timestamp.
10613 * nscd/connections (nscd_init): When host database is served open
10614 netlink socket and request notification about configuration changes.
10615 (main_loop_poll): Track netlink file descriptor and bump timestamp
10616 in case data becomes available.
10617 (main_loop_epoll): Likewise.
10618 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10619 (database_pers_head): Add extra_data fileds.
10620 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10621 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10622 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10623 Adjust caller.
10624 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10625 in6ai data, call __free_in6ai.
10626 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10627 Add -DHAVE_NETLINK.
10628 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10629 interface information. Reuse previous data if netlink timestamp
10630 is not changed.
10631 (__bump_nl_timestamp): New function.
10632 (__free_in6ai): New function.
10633
636064eb
UD
106342011-10-30 Ulrich Drepper <drepper@gmail.com>
10635
10636 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10637 close_not_cancel_no_status here.
10638 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10639
9beb2334
UD
106402011-10-29 Ulrich Drepper <drepper@gmail.com>
10641
6ef76f3b
UD
10642 [BZ #13276]
10643 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10644 return value.
10645
0ffc4f3e 10646 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10647 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10648 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10649
cb95113e
UD
106502011-07-03 Andreas Jaeger <aj@suse.de>
10651
10652 [BZ #10709]
10653 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10654 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10655 * math/libm-test.inc (sin_test): Add test case.
10656
a1b560ff
UD
106572011-10-29 Ulrich Drepper <drepper@gmail.com>
10658
c9aaface
UD
10659 [BZ #13337]
10660 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10661 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10662
d272e7f1
UD
10663 * elf/chroot_canon.c (chroot_canon): Cleanups.
10664
1bc33071
UD
10665 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10666
1760874d
TJ
10667 [BZ #13335]
10668 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10669 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10670
51d91b18
UD
10671 * string/test-strchr.c: Make usable for strchrnul testing.
10672 * string/test-strchrnul.c: New file.
10673 * string/Makefile (strop-tests): Add strchrnul.
10674
a1b560ff 10675 * po/it.po: Update from translation team.
b611fb81 10676 * po/es.po: Likewise.
a1b560ff 10677
a5b81e1f
UD
106782011-10-28 Ulrich Drepper <drepper@gmail.com>
10679
fd52bc6d
UD
10680 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10681 the three constants needed as parameters. Drop the others.
10682 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10683 __m128i_strloadu_tolower.
52e4b9eb
UD
10684 Create and initialize variable zero and use it in all the places
10685 where _mm_setzero_si128 was used.
fd52bc6d 10686
a5b81e1f
UD
10687 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10688 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10689 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10690 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10691 anymore.
10692 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10693 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10694 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10695 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10696 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10697 __mpranred, __mptan.
10698 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10699 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10700 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10701 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10702 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10703 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10704 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10705 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10706 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10707
b4343346
AS
107082011-10-28 Andreas Schwab <schwab@redhat.com>
10709
0c92d8a8
AS
10710 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10711 redefine if SHARED.
10712 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10713
b4343346
AS
10714 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10715 wide char related routines to wcsmbs subdir.
10716
3871f58f
AS
107172011-10-27 Andreas Schwab <schwab@redhat.com>
10718
10719 [BZ #13344]
10720 * misc/sys/cdefs.h (__THROWNL): Define.
10721 * posix/unistd.h: Use __THREADNL instead of __THREAD
10722 for memory synchronization functions.
10723
94d44d9f
RM
107242011-10-26 Roland McGrath <roland@hack.frob.com>
10725
21b64b15 10726 [BZ #13349]
94d44d9f
RM
10727 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10728 doesn't exist.
10729 * manual/stdio.texi (Obstack Streams): Node removed.
10730
f6ce9294
AS
107312011-10-26 Andreas Schwab <schwab@redhat.com>
10732
80479147
AS
10733 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10734 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10735 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10736
f6ce9294
AS
10737 * math/math_private.h (math_force_eval): Allow non-addressable
10738 arguments.
10739 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10740
618280a1
UD
107412011-10-25 Ulrich Drepper <drepper@gmail.com>
10742
e0016b11
UD
10743 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10744 file is not needed.
10745
10746 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10747 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10748 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10749 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10750 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10751 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10752 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10753 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10754 Add AVX variants.
10755 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10756 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10757 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10758 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10759 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10760 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10761 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10762 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10763 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10764 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10765 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10766 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10767 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10768 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10769 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10770 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10771 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10772 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10773 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10774
10775 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10776 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10777
618280a1
UD
10778 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10779 place. Use VEX encoding when compiling for AVX.
10780
37822576
AS
107812011-10-25 Andreas Schwab <schwab@redhat.com>
10782
1f1e1947
AS
10783 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10784 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10785
37822576
AS
10786 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10787
31ea014d
UD
107882011-10-25 Ulrich Drepper <drepper@gmail.com>
10789
d7826aa1 10790 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10791 useless if() expression.
d7826aa1
UD
10792 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10793 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10794 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10795 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10796 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10797 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10798 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10799 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10800 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10801 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10802 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10803 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10804 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10805 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10806 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10807 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10808 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10809 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10810 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10811
31ea014d
UD
10812 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10813
16437fec
AS
108142011-10-25 Andreas Schwab <schwab@redhat.com>
10815
10816 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10817 condition.
10818 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10819
31d3cc00
UD
108202011-10-25 Ulrich Drepper <drepper@gmail.com>
10821
10822 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10823 .text section. Avoid duplicate constants.
10824 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10825 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10826 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10827 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10828 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10829 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10830 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10831 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10832 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10833 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10834 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10835 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10836 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10837 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10838 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10839 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10840 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10841 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10842 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10843 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10844 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10845 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10846 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10847 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10848 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10849 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10850 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10851 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10852 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10853 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10854 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10855 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10856 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10857 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10858 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10859 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10860 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10861 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10862 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10863 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10864 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10865 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10866 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10867 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10868 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10869
58985aa9
UD
108702011-10-24 Ulrich Drepper <drepper@gmail.com>
10871
202c9deb
UD
10872 * sysdeps/x86_64/dla.h: Move to ...
10873 * sysdeps/x86_64/fpu/dla.h: ...here.
10874 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10875 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10876
af968f62
UD
10877 * config.make.in: Add have-mfma4 entry.
10878 * configure.in: Substitute libc_cv_cc_fma4.
10879 * math/Makefile (dbl-only-routines): Add sincostab.
10880 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10881 Use __sincostab not sincos.
10882 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10883 name is a macro.
10884 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10885 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10886 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10887 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10888 using __copysign.
10889 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10890 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10891 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10892 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10893 and __inv.
10894 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10895 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10896 __copysign.
10897 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10898 define aliases when function name is a macro.
10899 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10900 sysdeps/ieee754/dbl-64/sincos.tbl.
10901 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10902 fma4-enabled routines.
10903 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10904 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10905 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10906 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10907 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10908 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10909 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10910 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10911 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10912 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10913 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10914 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10915 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10916 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10917 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10918 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10919 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10920 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10921 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10922 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10923 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10924 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10925 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10926 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10927 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10928 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10929 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10930 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10931 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10932 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10933
58985aa9
UD
10934 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10935 rename.
10936 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10937 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10938 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10939 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10940 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10941 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10942 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10943 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10944
a201fbcf
AS
109452011-10-24 Andreas Schwab <schwab@redhat.com>
10946
10947 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10948
fc2ee42a
LD
109492011-10-23 Ulrich Drepper <drepper@gmail.com>
10950
bb3129bd
UD
10951 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10952
0275fff8
UD
10953 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10954 prediction.
10955 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10956
2fa2ae85
UD
10957 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10958 Remove unused variable magic_bits.
10959 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10960
fc2ee42a
LD
10961 * string/strnlen.c: Define and use STRNLEN macro.
10962 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10963 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10964 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10965 * wcsmbs/wcslen.c: Define and use WCSLEN.
10966 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10967 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10968 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10969 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10970 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10971 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10972 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10973
ce7dd29f
LD
109742011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10975
10976 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10977 strnlen-sse2-no-bsf.
10978 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10979 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10980 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10981 Add strnlen support.
10982 (USE_AS_STRNLEN): New macro.
10983 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10984 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10985 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10986 * sysdeps/x86_64/wcslen.S: New file.
10987
979c70a3
MZ
109882011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10989
10990 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10991 XMM-moves are used for copying on small sizes.
10992
2d09f82f
LD
109932011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10994
10995 * wcsmbs/Makefile (strop-tests): Add wcschr.
10996 * wcsmbs/test-wcschr.c: New file.
10997 * string/test-strchr.c: Update.
10998 Add wcschr support.
10999 (WIDE): New macro.
11000
619fccca
LD
110012011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11002
2d09f82f 11003 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
11004 * wcsmbs/test-wcslen.c: New file.
11005 * string/test-strlen.c: Update.
11006 Add wcslen support.
11007 (WIDE): New macro.
11008
09f699ea
UD
110092011-10-23 Ulrich Drepper <drepper@gmail.com>
11010
11011 * po/it.po: Update from translation team.
11012
95584d3b
LD
110132011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11014
11015 * sysdeps/x86_64/wcscmp.S: Update.
11016 Fix wrong comparison semantics.
11017 wcscmp shall use signed comparison not unsigned.
11018 Don't use substraction to avoid overflow bug.
11019 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11020 * wcsmbc/wcscmp.c: Likewise.
11021 * string/test-strcmp.c: Likewise.
11022 Add new tests to check cases with negative values.
11023
c8b3296b
UD
110242011-10-23 Ulrich Drepper <drepper@gmail.com>
11025
11026 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11027 * sysdeps/x86_64/dla.h: ...here. New file.
11028 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11029 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11031 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11032 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11033 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11034 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11035 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11036 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11037
246ad57a
AS
110382011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11039
11040 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11041 __ynl_finite aliases.
11042
a1a87169
UD
110432011-10-22 Ulrich Drepper <drepper@gmail.com>
11044
0d355eb7
UD
11045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11046
a1a87169
UD
11047 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11048 define DLA_FMA.
11049 [DLA_FMA] (EMULV): Use DLA_FMA.
11050 [DLA_FMA] (MUL12): Use EMULV.
11051 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11052 that are not needed.
11053 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11054 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11056 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11057 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11058 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11059 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11060
ee2aafe0
AS
110612011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11062
11063 * math/s_nan.c: Undef __nan.
11064 * math/s_nanf.c: Undef __nanf.
11065 * math/s_nanl.c: Undef __nanl.
11066 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11067 "math_private.h".
11068
bc62c2fb
UD
110692011-10-22 Ulrich Drepper <drepper@gmail.com>
11070
77425c63
UD
11071 * math/s_catan.c: Add branch predictions.
11072 * math/s_catanf.c: Likewise.
11073 * math/s_catanh.c: Likewise.
11074 * math/s_catanhf.c: Likewise.
11075 * math/s_catanhl.c: Likewise.
11076 * math/s_catanl.c: Likewise.
11077 * math/s_cexp.c: Likewise.
11078 * math/s_cexpf.c: Likewise.
11079 * math/s_cexpl.c: Likewise.
11080 * math/s_clog.c: Likewise.
11081 * math/s_clog10.c: Likewise.
11082 * math/s_clog10f.c: Likewise.
11083 * math/s_clog10l.c: Likewise.
11084 * math/s_clogf.c: Likewise.
11085 * math/s_clogl.c: Likewise.
11086 * math/s_csqrt.c: Likewise.
11087 * math/s_csqrtf.c: Likewise.
11088 * math/s_csqrtl.c: Likewise.
11089 * math/s_ctanf.c: Likewise.
11090 * math/s_ctanh.c: Likewise.
11091 * math/s_ctanhf.c: Likewise.
11092 * math/s_ctanhl.c: Likewise.
11093 * math/s_ctanl.c: Likewise.
11094
bc62c2fb
UD
11095 * math/math_private.h: Define __nan, __nanf, __nanl.
11096 * math/s_cacosh.c: Include <math_private.h>.
11097 * math/s_cacoshl.c: Likewise.
11098 * math/s_casinh.c: Likewise.
11099 * math/s_casinhf.c: Likewise.
11100 * math/s_casinhl.c: Likewise.
11101 * math/s_ccos.c: Rely entire on ccosh.
11102 * math/s_ccosf.c: Rely entire on ccoshf.
11103 * math/s_ccosl.c: Rely entirely on ccoshl.
11104 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11105 Remove tests for FE_INVALID.
11106 * math/s_ccoshf.c: Likewise.
11107 * math/s_ccoshl.c: Likewise.
11108 * math/s_csin.c: Likewise.
11109 * math/s_csinf.c: Likewise.
11110 * math/s_csinh.c Likewise.
11111 * math/s_csinhf.c: Likewise.
11112 * math/s_csinhl.c: Likewise.
11113 * math/s_csinl.c: Likewise.
11114 * math/s_ctan.c: Likewise.
11115 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11116 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11117 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11118
8ec250a4
UD
111192011-10-21 Ulrich Drepper <drepper@gmail.com>
11120
c196fed8
UD
11121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11122 compilation problems.
11123
8ec250a4
UD
11124 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11125 __builtin_expect.
11126
8d4f46c6
UD
111272011-10-20 Ulrich Drepper <drepper@gmail.com>
11128
ed72b654
UD
11129 * sysdeps/i386/configure.in: Test for -mfma4 option.
11130 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11131 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11132 COMMON_CPUID_INDEX_80000001.
11133 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11134 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11135 use it if FMA3 is not supported.
11136 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11137
8d4f46c6
UD
11138 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11139 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11140
d45c60c2
AS
111412011-10-20 Andreas Schwab <schwab@redhat.com>
11142
11143 [BZ #12892]
11144 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11145 it would create a cycle with a link time dependency.
11146
d9a4d2ab
UD
111472011-10-19 Ulrich Drepper <drepper@gmail.com>
11148
855d1560
UD
11149 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11150 instruction.
11151 * string/Makefile (strop-tests): Add rawmemchr.
11152 * string/test-rawmemchr.c: New file.
11153
d9a4d2ab
UD
11154 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11155 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11156 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11157 when compiling str{,n}casecmp and when AVX is available. Hook up
11158 new optimized code in initializers.
11159
8f3b1ffe
AS
111602011-10-19 Andreas Schwab <schwab@redhat.com>
11161
11162 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11163 __feraiseexcept instead of feraiseexcept.
11164
d38f1dba
UD
111652011-10-18 Ulrich Drepper <drepper@gmail.com>
11166
d9a8d0ab
UD
11167 * math/math_private.h: Define defaults for libc_fetestexcept and
11168 libc_feupdateenv.
11169 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11170 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11171 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11172 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11173 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11174 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11175 libc_fetestexcept and libc_feupdateenv.
11176
4855e3dd
UD
11177 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11178 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11179 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11180 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11181 libc_feholdexcept_setround.
11182
581d30e3
UD
11183 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11184 Add s_nearbyint-c and s_nearbyintf-c.
11185 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11186 nearbyintf inlines.
11187 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11188 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11189 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11190 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11191
d38f1dba
UD
11192 * math/math_private.h: Define defaults for libc_fegetround,
11193 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11194 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11195 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11196 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11197 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11198 standard functions.
11199 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11200 Remove comments and hacks for old compiler versions.
11201 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11202 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11203 libc_feholdexceptl.
11204
caa6c9d8
AS
112052011-10-18 Andreas Schwab <schwab@redhat.com>
11206
11207 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11208 (__feraiseexcept_renamed): Add __NTH.
11209 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11210 namespace violations.
11211
97c066e6
UD
112122011-10-17 Ulrich Drepper <drepper@gmail.com>
11213
99ce7b04
UD
11214 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11215
1004d182
UD
11216 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11217
228a984d
UD
11218 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11219 recently added interfaces.
11220 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11221
c8553a6a
UD
11222 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11223 about macro parameter expansion.
11224
ed22dcf6
UD
11225 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11226 __NO_MATH_INLINES is defined. Cleanups.
11227
11228 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11229 and __floorf is target has SSE4.1.
11230 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11231 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11232 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11233 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11234
b171c137
UD
11235 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11236 name.
11237 (floorf): Likewise.
11238
97c066e6
UD
11239 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11240
629f62ef
AS
112412011-10-17 Andreas Schwab <schwab@redhat.com>
11242
49a43d80
AS
11243 * misc/sys/cdefs.h: Fix last change.
11244
629f62ef
AS
11245 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11246 database lookup.
11247
e453f6cd
UD
112482011-10-16 Ulrich Drepper <drepper@gmail.com>
11249
aa78043a
UD
11250 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11251
ad0f5cad
UD
11252 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11253 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11254 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11255 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11256 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11257 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11258 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11259 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11260 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11261 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11262 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11263 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11264 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11265 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11266 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11267 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11268 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11269 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11270 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11271 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11272 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11273 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11274
11275 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11276 ceil, ceilf, floor, floorf.
11277
11278 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11279 Perform IRELATIVE relocations last.
11280
e453f6cd
UD
11281 * elf/do-rel.h: Add another parameter nrelative, replacing the
11282 local variable with the same name. Change name of the function
11283 to end in Rel or Rela (uppercase).
11284 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11285 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11286 elf_dynamic_do_##reloc function.
11287
fd5bdc09
UD
112882011-10-15 Ulrich Drepper <drepper@gmail.com>
11289
79b195b5
UD
11290 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11291 is sufficient, at least on modern CPUs.
11292
d4a28569
UD
11293 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11294
b61099b5
UD
11295 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11296 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11297
bcf01e6d
UD
11298 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11299 __expl_finite.
11300 * math/bits/math-finite.h: Add entries for exp.
11301 * math/e_expl.c: Add __*_finite alias.
11302 * sysdeps/i386/fpu/e_exp.S: Likewise.
11303 * sysdeps/i386/fpu/e_expf.S: Likewise.
11304 * sysdeps/i386/fpu/e_expl.c: Likewise.
11305 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11306 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11307 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11308 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11309 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11310 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11311 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11312
ba1a0d59
UD
11313 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11314 is sufficient, at least on modern CPUs.
11315
fd5bdc09
UD
11316 * ctype/ctype-info.c (__ctype_init): Define.
11317 * include/ctype.h (__ctype_init): Declare.
11318 (__ctype_b_loc): The variable is always initialized.
11319 (__ctype_toupper_loc): Likewise.
11320 (__ctype_tolower_loc): Likewise.
11321 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11322 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11323
7872cfb0
AS
113242011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11325
b468825a
AS
11326 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11327
7872cfb0
AS
11328 * configure.in: Also look in $cxxmachine/include for C++ system
11329 headers.
11330
be13f7bf
LD
113312011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11332
11333 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11334 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11335 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11336 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11337 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11338 (USE_AS_WMEMCMP): New macro.
11339 Fixing indents.
11340 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11341 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11342 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11343 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11344 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11345 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11346 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11347 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11348 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11349 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11350 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11351 (USE_AS_WMEMCMP): New macro.
11352 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11353 * sysdeps/string/test-memcmp.c: Update.
11354 Fix simple_wmemcmp.
11355 Add new tests.
11356 * wcsmbs/wmemcmp.c: Update.
11357 (WMEMCMP): New macro.
11358 Fix overflow bug.
11359
556a2007
AJ
113602011-10-12 Andreas Jaeger <aj@suse.de>
11361
11362 [BZ #13268]
11363 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11364
538faaa7
UD
113652011-10-15 Ulrich Drepper <drepper@gmail.com>
11366
ab6737ff
UD
11367 * libio/iofwide.c (do_length): Avoid warning.
11368
538faaa7
UD
11369 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11370
396a21b1
UD
113712011-10-14 Ulrich Drepper <drepper@gmail.com>
11372
cdf2901f
UD
11373 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11374
38ad40ce
UD
11375 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11376 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11377 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11378 * sysdeps/i386/i686/fpu/e_log.S: New file.
11379 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11380 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11381
396a21b1
UD
11382 * ctype/ctype.h: Add support for inlined isXXX functions when
11383 compiling C++ code.
11384
6b1f68c9
AS
113852011-10-14 Andreas Schwab <schwab@redhat.com>
11386
349290c0
AS
11387 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11388
6b1f68c9
AS
11389 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11390
f2282d42
RM
113912011-10-13 Roland McGrath <roland@hack.frob.com>
11392
11393 [BZ #13291]
11394 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11395
5298ffa8
AS
113962011-10-13 Andreas Schwab <schwab@redhat.com>
11397
714fad23
AS
11398 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11399 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11400 feraiseexcept.
11401
81dcc7fb
AS
11402 * sysdeps/x86_64/memrchr.S: Check for zero size.
11403
5298ffa8
AS
11404 * string/stratcliff.c: Add memrchr tests.
11405
951fbcec
LD
114062011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11407
11408 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11409 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11410 rawmemchr-sse2 rawmemchr-sse2-bsf.
11411 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11412 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11413 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11414 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11415 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11416 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11417 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11418 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11419 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11420 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11421 * string/memrchr.c (MEMRCHR): New macro.
11422
0ac5ae23
UD
114232011-10-12 Ulrich Drepper <drepper@gmail.com>
11424
11425 Add integration with gcc's -ffinite-math-only and optimize wrapper
11426 functions in libm.
11427 * Versions.def: Define GLIBC_2.15 version for libm.
11428 * math/Makefile (headers): Add bits/math-finite.h.
11429 * math/bits/math-finite.h: New file.
11430 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11431 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11432 * math/e_acoshl.c: Add __*_finite alias.
11433 * math/e_acosl.c: Likewise.
11434 * math/e_asinl.c: Likewise.
11435 * math/e_atan2l.c: Likewise.
11436 * math/e_atanhl.c: Likewise.
11437 * math/e_coshl.c: Likewise.
11438 * math/e_exp10.c: Likewise.
11439 * math/e_exp10f.c: Likewise.
11440 * math/e_exp10l.c: Likewise.
11441 * math/e_exp2l.c: Likewise.
11442 * math/e_fmodl.c: Likewise.
11443 * math/e_gammal_r.c: Likewise.
11444 * math/e_hypotl.c: Likewise.
11445 * math/e_j0l.c: Likewise.
11446 * math/e_j1l.c: Likewise.
11447 * math/e_jnl.c: Likewise.
11448 * math/e_lgammal_r.c: Likewise.
11449 * math/e_log10l.c: Likewise.
11450 * math/e_log2l.c: Likewise.
11451 * math/e_logl.c: Likewise.
11452 * math/e_powl.c: Likewise.
11453 * math/e_sinhl.c: Likewise.
11454 * math/e_sqrtl.c: Likewise.
11455 * math/e_scalb.c: Completely rewritten and optimized.
11456 * math/e_scalbf.c: Likewise.
11457 * math/e_scalbl.c: Likewise.
11458 * math/w_acos.c: Likewise.
11459 * math/w_acosf.c: Likewise.
11460 * math/w_acosl.c: Likewise.
11461 * math/w_acosh.c: Likewise.
11462 * math/w_acoshf.c: Likewise.
11463 * math/w_acoshl.c: Likewise.
11464 * math/w_asin.c: Likewise.
11465 * math/w_asinf.c: Likewise.
11466 * math/w_asinl.c: Likewise.
11467 * math/w_atan2.c: Likewise.
11468 * math/w_atan2f.c: Likewise.
11469 * math/w_atan2l.c: Likewise.
11470 * math/w_atanh.c: Likewise.
11471 * math/w_atanhf.c: Likewise.
11472 * math/w_atanhl.c: Likewise.
11473 * math/w_exp10.c: Likewise.
11474 * math/w_exp10f.c: Likewise.
11475 * math/w_exp10l.c: Likewise.
11476 * math/w_fmod.c: Likewise.
11477 * math/w_fmodf.c: Likewise.
11478 * math/w_fmodl.c: Likewise.
11479 * math/w_j0.c: Likewise.
11480 * math/w_j0f.c: Likewise.
11481 * math/w_j0l.c: Likewise.
11482 * math/w_j1.c: Likewise.
11483 * math/w_j1f.c: Likewise.
11484 * math/w_j1l.c: Likewise.
11485 * math/w_jn.c: Likewise.
11486 * math/w_jnf.c: Likewise.
11487 * math/w_log.c: Likewise.
11488 * math/w_logf.c: Likewise.
11489 * math/w_logl.c: Likewise.
11490 * math/w_log10.c: Likewise.
11491 * math/w_log10f.c: Likewise.
11492 * math/w_log10l.c: Likewise.
11493 * math/w_log2.c: Likewise.
11494 * math/w_log2f.c: Likewise.
11495 * math/w_log2l.c: Likewise.
11496 * math/w_pow.c: Likewise.
11497 * math/w_powf.c: Likewise.
11498 * math/w_powl.c: Likewise.
11499 * math/w_remainder.c: Likewise.
11500 * math/w_remainderf.c: Likewise.
11501 * math/w_remainderl.c: Likewise.
11502 * math/w_scalb.c: Likewise.
11503 * math/w_scalbf.c: Likewise.
11504 * math/w_scalbl.c: Likewise.
11505 * math/w_sqrt.c: Likewise.
11506 * math/w_sqrtf.c: Likewise.
11507 * math/w_sqrtl.c: Likewise.
11508 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11509 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11510 used.
11511 * math/math_private.h: Declare __kernel_standard_f.
11512 * math/w_cosh.c: Remove cruft and optimize a bit.
11513 * math/w_coshf.c: Likewise.
11514 * math/w_coshl.c: Likewise.
11515 * math/w_exp2.c: Likewise.
11516 * math/w_exp2f.c: Likewise.
11517 * math/w_exp2l.c: Likewise.
11518 * math/w_hypot.c: Likewise.
11519 * math/w_hypotf.c: Likewise.
11520 * math/w_hypotl.c: Likewise.
11521 * math/w_lgamma.c: Likewise.
11522 * math/w_lgamma_r.c: Likewise.
11523 * math/w_lgammaf.c: Likewise.
11524 * math/w_lgammaf_r.c: Likewise.
11525 * math/w_lgammal.c: Likewise.
11526 * math/w_lgammal_r.c: Likewise.
11527 * math/w_sinh.c: Likewise.
11528 * math/w_sinhf.c: Likewise.
11529 * math/w_sinhl.c: Likewise.
11530 * math/w_tgamma.c: Likewise.
11531 * math/w_tgammaf.c: Likewise.
11532 * math/w_tgammal.c: Likewise.
11533 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11534 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11535 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11536 Minor optimizations. Pretty printing. Remove cruft.
11537 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11538 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11539 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11540 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11541 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11542 * sysdeps/i386/fpu/e_asin.S: Likewise.
11543 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11544 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11545 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11546 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11547 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11548 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11549 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11550 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11551 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11552 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11553 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11554 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11555 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11556 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11557 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11558 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11559 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11560 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11561 * sysdeps/i386/fpu/e_log.S: Likewise.
11562 * sysdeps/i386/fpu/e_log10.S: Likewise.
11563 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11564 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11565 * sysdeps/i386/fpu/e_log2.S: Likewise.
11566 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11567 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11568 * sysdeps/i386/fpu/e_logf.S: Likewise.
11569 * sysdeps/i386/fpu/e_logl.S: Likewise.
11570 * sysdeps/i386/fpu/e_pow.S: Likewise.
11571 * sysdeps/i386/fpu/e_powf.S: Likewise.
11572 * sysdeps/i386/fpu/e_powl.S: Likewise.
11573 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11574 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11575 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11576 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11577 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11578 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11579 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11580 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11581 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11582 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11583 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11584 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11585 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11586 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11587 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11588 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11589 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11590 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11591 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11592 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11593 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11594 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11595 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11596 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11597 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11598 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11599 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11600 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11601 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11602 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11603 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11604 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11605 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11606 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11607 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11608 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11609 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11610 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11611 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11612 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11613 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11614 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11615 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11616 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11617 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11618 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11619 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11620 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11621 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11622 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11623 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11624 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11625 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11626 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11627 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11628 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11629 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11630 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11631 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11632 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11633 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11634 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11635 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11636 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11637 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11638 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11639 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11640 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11641 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11642 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11643 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11644 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11645 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11646 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11647 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11648 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11649 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11650 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11651 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11652 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11653 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11654 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11655 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11656 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11657 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11658 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11659 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11660 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11661 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11662 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11663 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11664 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11665 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11666 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11667 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11668 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11669 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11670 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11671 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11672 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11673 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11674 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11675 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11676 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11677 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11678 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11679 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11680 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11681 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11682 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11683 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11684 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11685 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11686 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11687 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11688 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11689 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11690 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11691 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11692 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11693 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11694 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11695 (__isnanf): Likewise.
11696 (__isinf_ns): Likewise.
11697 (__isinf_nsf): Likewise.
11698 (__finite): Likewise.
11699 (__finitef): Likewise.
11700 (__ieee754_sqrt): Define as macro.
11701 (__ieee754_sqrtf): Define as macro.
11702 (__ieee754_sqrtl): Define as macro.
11703 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11704 inlined copy.
11705 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11706 __FINITE_MATH_ONLY__ consistent.
11707 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11708
12cc2fcd
AS
117092011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11710
a843a204
AS
11711 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11712 of rawmemchr.
11713
12cc2fcd
AS
11714 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11715
c853acd5
UD
117162011-10-09 Ulrich Drepper <drepper@gmail.com>
11717
11718 * po/ja.po: Update from translation team.
11719
c658d255
RM
117202011-10-08 Roland McGrath <roland@hack.frob.com>
11721
110946e4
RM
11722 * locale/programs/locarchive.c (prepare_address_space): New function.
11723 (create_archive, enlarge_archive, open_archive): Use it.
11724
50604220
RM
11725 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11726 inside [SHARED], where it is used.
11727
c658d255
RM
11728 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11729
11730 * nss/getent.c (netgroup_keys): Remove unused variable.
11731 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11732
6a621eb7
UD
117332011-10-08 Ulrich Drepper <drepper@gmail.com>
11734
7edb55ce
UD
11735 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11736 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11737 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11738 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11739 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11740 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11741 * math/Makefile (libm-calls): Add s_isinf_ns.
11742 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11743 * math/multc3.c: Likewise.
11744 * math/s_casin.c: Likewise.
11745 * math/s_casinf.c: Likewise.
11746 * math/s_casinl.c: Likewise.
11747 * math/s_ccos.c: Likewise.
11748 * math/s_ccosf.c: Likewise.
11749 * math/s_ccosl.c: Likewise.
11750 * math/s_ctan.c: Likewise.
11751 * math/s_ctanf.c: Likewise.
11752 * math/s_ctanh.c: Likewise.
11753 * math/s_ctanhf.c: Likewise.
11754 * math/s_ctanhl.c: Likewise.
11755 * math/s_ctanl.c: Likewise.
11756 * math/w_fmod.c: Likewise.
11757 * math/w_fmodf.c: Likewise.
11758 * math/w_fmodl.c: Likewise.
11759 * math/w_remainder.c: Likewise.
11760 * math/w_remainderf.c: Likewise.
11761 * math/w_remainderl.c: Likewise.
11762 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11763 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11764 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11765 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11766 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11767 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11768 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11769 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11770
187da0ae
UD
11771 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11772 of the number.
11773 * stdio-common/printf_fphex.c: Likewise.
11774 * stdio-common/printf_size.c: Likewise.
11775
9277c064
UD
11776 * math/e_exp10.c: Include math_private.h using <...> not "...".
11777 * math/e_exp10f.c: Likewise.
11778 * math/e_exp10l.c: Likewise.
11779 * math/e_exp2l.c: Likewise.
11780 * math/e_j0l.c: Likewise.
11781 * math/e_j1l.c: Likewise.
11782 * math/e_jnl.c: Likewise.
11783 * math/e_lgammal_r.c: Likewise.
11784 * math/e_rem_pio2l.c: Likewise.
11785 * math/e_scalb.c: Likewise.
11786 * math/e_scalbf.c: Likewise.
11787 * math/e_scalbl.c: Likewise.
11788 * math/k_cosl.c: Likewise.
11789 * math/k_sinl.c: Likewise.
11790 * math/k_tanl.c: Likewise.
11791 * math/s_cacoshf.c: Likewise.
11792 * math/s_catan.c: Likewise.
11793 * math/s_catanf.c: Likewise.
11794 * math/s_catanh.c: Likewise.
11795 * math/s_catanhf.c: Likewise.
11796 * math/s_catanhl.c: Likewise.
11797 * math/s_catanl.c: Likewise.
11798 * math/s_ccosh.c: Likewise.
11799 * math/s_ccoshf.c: Likewise.
11800 * math/s_ccoshl.c: Likewise.
11801 * math/s_cexp.c: Likewise.
11802 * math/s_cexpf.c: Likewise.
11803 * math/s_cexpl.c: Likewise.
11804 * math/s_clog.c: Likewise.
11805 * math/s_clog10.c: Likewise.
11806 * math/s_clog10f.c: Likewise.
11807 * math/s_clog10l.c: Likewise.
11808 * math/s_clogf.c: Likewise.
11809 * math/s_clogl.c: Likewise.
11810 * math/s_csin.c: Likewise.
11811 * math/s_csinf.c: Likewise.
11812 * math/s_csinh.c: Likewise.
11813 * math/s_csinhf.c: Likewise.
11814 * math/s_csinhl.c: Likewise.
11815 * math/s_csinl.c: Likewise.
11816 * math/s_csqrt.c: Likewise.
11817 * math/s_csqrtf.c: Likewise.
11818 * math/s_csqrtl.c: Likewise.
11819 * math/s_ctan.c: Likewise.
11820 * math/s_ctanf.c: Likewise.
11821 * math/s_ctanh.c: Likewise.
11822 * math/s_ctanhf.c: Likewise.
11823 * math/s_ctanhl.c: Likewise.
11824 * math/s_ctanl.c: Likewise.
11825 * math/s_ldexp.c: Likewise.
11826 * math/s_ldexpf.c: Likewise.
11827 * math/s_ldexpl.c: Likewise.
11828 * math/s_significand.c: Likewise.
11829 * math/s_significandf.c: Likewise.
11830 * math/s_significandl.c: Likewise.
11831 * math/w_acos.c: Likewise.
11832 * math/w_acosf.c: Likewise.
11833 * math/w_acosh.c: Likewise.
11834 * math/w_acoshf.c: Likewise.
11835 * math/w_acoshl.c: Likewise.
11836 * math/w_acosl.c: Likewise.
11837 * math/w_asin.c: Likewise.
11838 * math/w_asinf.c: Likewise.
11839 * math/w_asinl.c: Likewise.
11840 * math/w_atan2.c: Likewise.
11841 * math/w_atan2f.c: Likewise.
11842 * math/w_atan2l.c: Likewise.
11843 * math/w_atanh.c: Likewise.
11844 * math/w_atanhf.c: Likewise.
11845 * math/w_atanhl.c: Likewise.
11846 * math/w_cosh.c: Likewise.
11847 * math/w_coshf.c: Likewise.
11848 * math/w_coshl.c: Likewise.
11849 * math/w_dremf.c: Likewise.
11850 * math/w_exp10.c: Likewise.
11851 * math/w_exp10f.c: Likewise.
11852 * math/w_exp10l.c: Likewise.
11853 * math/w_exp2.c: Likewise.
11854 * math/w_exp2f.c: Likewise.
11855 * math/w_fmod.c: Likewise.
11856 * math/w_fmodf.c: Likewise.
11857 * math/w_fmodl.c: Likewise.
11858 * math/w_hypot.c: Likewise.
11859 * math/w_hypotf.c: Likewise.
11860 * math/w_hypotl.c: Likewise.
11861 * math/w_j0.c: Likewise.
11862 * math/w_j0f.c: Likewise.
11863 * math/w_j0l.c: Likewise.
11864 * math/w_j1.c: Likewise.
11865 * math/w_j1f.c: Likewise.
11866 * math/w_j1l.c: Likewise.
11867 * math/w_jn.c: Likewise.
11868 * math/w_jnf.c: Likewise.
11869 * math/w_jnl.c: Likewise.
11870 * math/w_lgamma.c: Likewise.
11871 * math/w_lgamma_r.c: Likewise.
11872 * math/w_lgammaf.c: Likewise.
11873 * math/w_lgammaf_r.c: Likewise.
11874 * math/w_lgammal.c: Likewise.
11875 * math/w_lgammal_r.c: Likewise.
11876 * math/w_log.c: Likewise.
11877 * math/w_log10.c: Likewise.
11878 * math/w_log10f.c: Likewise.
11879 * math/w_log10l.c: Likewise.
11880 * math/w_log2.c: Likewise.
11881 * math/w_log2f.c: Likewise.
11882 * math/w_log2l.c: Likewise.
11883 * math/w_logf.c: Likewise.
11884 * math/w_logl.c: Likewise.
11885 * math/w_pow.c: Likewise.
11886 * math/w_powf.c: Likewise.
11887 * math/w_powl.c: Likewise.
11888 * math/w_remainder.c: Likewise.
11889 * math/w_remainderf.c: Likewise.
11890 * math/w_remainderl.c: Likewise.
11891 * math/w_scalb.c: Likewise.
11892 * math/w_scalbf.c: Likewise.
11893 * math/w_scalbl.c: Likewise.
11894 * math/w_sinh.c: Likewise.
11895 * math/w_sinhf.c: Likewise.
11896 * math/w_sinhl.c: Likewise.
11897 * math/w_sqrt.c: Likewise.
11898 * math/w_sqrtf.c: Likewise.
11899 * math/w_sqrtl.c: Likewise.
11900 * math/w_tgamma.c: Likewise.
11901 * math/w_tgammaf.c: Likewise.
11902 * math/w_tgammal.c: Likewise.
11903
6a621eb7
UD
11904 * po/ja.po: Update from translation team.
11905
bf582445
AJ
119062011-09-29 Andreas Jaeger <aj@suse.de>
11907
f9efbf3a
AJ
11908 [BZ #13179]
11909 * sunrpc/netname.c (netname2host): Fix logic.
11910
bf582445
AJ
11911 [BZ #6779]
11912 [BZ #6783]
11913 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11914 correctly.
11915 * math/w_remainder.c (__remainder): Likewise.
11916 * math/w_remainderf.c (__remainderf): Likewise.
11917 * math/libm-test.inc (remainder_test): Add test cases.
11918
48693bea
AK
119192011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11920
11921 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11922 sdiv_qrnnd.
11923
42622229
LD
119242011-10-07 Ulrich Drepper <drepper@gmail.com>
11925
11926 * string/test-memcmp.c: Avoid unncessary #defines.
11927 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11928
093ecf92
LD
119292011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11930
11931 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11932 Use new sse2 version for core i3 - i7 as it's faster
11933 than sse42 version.
11934 (bit_Prefer_PMINUB_for_stringop): New.
11935 * sysdeps/x86_64/rawmemchr.S: Update.
11936 Replace with faster SSE2 version.
11937 * sysdeps/x86_64/memrchr.S: New file.
11938 * sysdeps/x86_64/memchr.S: Update.
11939 Replace with faster SSE2 version.
11940
fde56e5c
MP
119412011-09-12 Marek Polacek <mpolacek@redhat.com>
11942
11943 * elf/dl-load.c (lose): Add cast to avoid warning.
11944
21fd49a9
UD
119452011-10-07 Ulrich Drepper <drepper@gmail.com>
11946
5a06e643
UD
11947 * po/ca.po: Update from translation team.
11948
684ae515
UD
11949 * inet/getnetgrent_r.c: Hook up nscd.
11950 * nscd/Makefile (routines): Add nscd_netgroup.
11951 (nscd-modules): Add netgroupcache.
11952 (CFLAGS-netgroupcache.c): Define.
11953 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11954 (cache_search): Add const to second parameter.
11955 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11956 INNETGR.
11957 (dbs): Add netgrdb entry.
11958 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11959 (verify_persistent_db): Handle netgrdb.
11960 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11961 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11962 GETFDNETGR.
11963 (netgroup_response_header): Define.
11964 (innetgroup_response_header): Define.
11965 (datahead): Add netgroup_response_header and innetgroup_response_header
11966 elements.
11967 * nscd/nscd.conf: Add entries for netgroup cache.
11968 * nscd/nscd.h (dbtype): Add netgrdb.
11969 (_PATH_NSCD_NETGROUP_DB): Define.
11970 (netgroup_iov_disabled): Declare.
11971 (xmalloc, xcalloc, xrealloc): Move declarations here.
11972 (cache_search): Adjust prototype.
11973 Add netgroup-related prototypes.
11974 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11975 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11976 (__nscd_innetgr): Declare.
11977 * nscd/selinux.c (perms): Use access_vector_t as element type and
11978 add netgroup-related initializers.
11979 * nscd/netgroupcache.c: New file.
11980 * nscd/nscd_netgroup.c: New file.
11981 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11982 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11983 For four parameters use innetgr.
11984 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11985 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11986 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11987 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11988
21fd49a9
UD
11989 * nscd/connections.c (register_traced_file): Don't register file
11990 for disabled databases.
11991
054c0457
UD
119922011-10-06 Ulrich Drepper <drepper@gmail.com>
11993
32b63198
UD
11994 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11995
054c0457
UD
11996 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11997 from tree and freeing node.
11998
64031225
JO
119992011-09-25 Jiri Olsa <jolsa@redhat.com>
12000
12001 * nss/nsswitch.c (__nss_database_lookup): Handle
12002 nss_parse_service_list out of memory case.
12003
0490345c
JO
120042011-09-15 Jiri Olsa <jolsa@redhat.com>
12005
12006 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12007 out of memory case.
12008
3a62d00d
AS
120092011-10-04 Andreas Schwab <schwab@redhat.com>
12010
12011 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12012 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12013 pass it down.
12014 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12015 elf_machine_rela, elf_machine_lazy_rel.
12016 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12017 (ELF_DYNAMIC_DO_REL): Likewise.
12018 (ELF_DYNAMIC_DO_RELA): Likewise.
12019 (ELF_DYNAMIC_RELOCATE): Likewise.
12020 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12021 to ELF_DYNAMIC_DO_REL.
12022 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12023 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12024 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12025 elf_machine_rela.
12026 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12027 skip_ifunc, don't call ifunc function if non-zero.
12028 (elf_machine_rela): Likewise.
12029 (elf_machine_lazy_rel): Likewise.
12030 (elf_machine_lazy_rela): Likewise.
12031 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12032 (elf_machine_lazy_rel): Likewise.
12033 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12034 Likewise.
12035 (elf_machine_lazy_rel): Likewise.
12036 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12037 Likewise.
12038 (elf_machine_lazy_rel): Likewise.
12039 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12040 (elf_machine_lazy_rel): Likewise.
12041 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12042 (elf_machine_lazy_rel): Likewise.
12043 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12044 (elf_machine_lazy_rel): Likewise.
12045 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12046 (elf_machine_lazy_rel): Likewise.
12047 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12048 (elf_machine_lazy_rel): Likewise.
12049 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12050 (elf_machine_lazy_rel): Likewise.
12051
68577918
UD
120522011-09-28 Ulrich Drepper <drepper@gmail.com>
12053
12054 * nss/nss_files/files-init.c (_nss_files_init): Use static
12055 initialization for all the *_traced_file variables.
12056
68822d74
AS
120572011-09-28 Andreas Schwab <schwab@redhat.com>
12058
12059 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12060
2056100b
RM
120612011-09-27 Roland McGrath <roland@hack.frob.com>
12062
12063 [BZ #13226]
12064 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12065
32c76b63
AS
120662011-09-27 Andreas Schwab <schwab@redhat.com>
12067
12068 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12069 Reread the line before reparsing it.
12070
bf972c9d
AS
120712011-09-26 Andreas Schwab <schwab@redhat.com>
12072
12073 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12074
e057a1b5
JM
120752011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12076 Maxim Kuvyrkov <maxim@codesourcery.com>
12077 Joseph Myers <joseph@codesourcery.com>
12078
12079 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12080 if needed for __stack_chk_guard.
12081
bc7e1c36
RM
120822011-09-19 Roland McGrath <roland@hack.frob.com>
12083
ecb1482f
RM
12084 * sysdeps/posix/spawni.c (script_execute): Always define it.
12085 It will be optimized away if unused.
12086 (maybe_script_execute): New function.
12087 (__spawni): Call it.
12088
bc7e1c36
RM
12089 * Makerules: Don't include tls.make.
12090 (config-tls): Always set to thread.
12091 * tls.make.c: File removed.
12092
1c3b002b
MF
120932011-09-19 Mike Frysinger <vapier@gentoo.org>
12094
12095 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12096 * config.make.in (CPPFLAGS-config): New substituted variable.
12097
2840865d
UD
120982011-09-15 Ulrich Drepper <drepper@gmail.com>
12099
88738eb6
UD
12100 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12101
cbf645a6 12102 [BZ #13192]
2840865d
UD
12103 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12104 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12105
b402e91a
RM
121062011-09-15 Roland McGrath <roland@hack.frob.com>
12107
12108 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12109 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12110 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12111 (CALL_FAIL): Likewise.
12112 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12113 (CALL_FAIL): Macro removed.
12114 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12115
4c1a1f71
UD
121162011-09-15 Ulrich Drepper <drepper@gmail.com>
12117
12118 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12119 for __FINITE_MATH_ONLY__ == 1.
12120
edc121be
AS
121212011-09-15 Andreas Schwab <schwab@redhat.com>
12122
12123 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12124 __ieee754_sqrt instead of sqrt.
12125 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12126 __ieee754_sqrtf instead of sqrtf.
12127 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12128 __floorf instead of floorf.
12129 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12130 __floorf, __truncf instead of floorf, truncf.
12131
cd205654
UD
121322011-09-14 Ulrich Drepper <drepper@gmail.com>
12133
ee4d0315
UD
12134 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12135
cd205654
UD
12136 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12137 __extern_always_inline.
12138 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12139 32-bit.
12140
48b67d71
AS
121412011-09-14 Andreas Schwab <schwab@redhat.com>
12142
12143 * elf/rtld.c (dl_main): Also relocate in dependency order when
12144 doing symbol dependency testing.
12145
1ae12c75
AS
121462011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12147
12148 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12149 Always define `refsym'.
12150
995a80df
AS
121512011-09-13 Andreas Schwab <schwab@redhat.com>
12152
e529793b
AS
12153 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12154 (__FD_ELT): Renamed from __FDELT.
12155 * misc/bits/select2.h (__FD_ELT): Likewise.
12156 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12157 __FD_MASK instead of __FDELT, __FDMASK.
12158 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12159 Likewise.
12160 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12161 Likewise.
12162
52d4fef8
AS
12163 * elf/Makefile (gen-ldd): Fix pattern.
12164
995a80df
AS
12165 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12166 (init_tls): Likewise.
12167
8682f8b0
UD
121682011-09-12 Ulrich Drepper <drepper@gmail.com>
12169
12170 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12171
de82006d
AS
121722011-09-12 Andreas Schwab <schwab@redhat.com>
12173
a7c8e6a1
AS
12174 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12175 `struct cmsghdr *' instead of `void *'.
12176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12177 Likewise.
12178
0f31fe77
AS
121792011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12180
12181 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12182 if non-absolute.
12183 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12184 ldd_rewrite_script.
0f31fe77 12185
32b4c839
UD
121862011-09-11 Ulrich Drepper <drepper@gmail.com>
12187
83cd1420
UD
12188 * configure.in: Remove --with-tls option.
12189 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12190 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12191 out in case it is missing.
12192 * sysdeps/ia64/elf/configure.in: Likewise.
12193 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12194 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12195 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12196 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12197 * sysdeps/sh/elf/configure.in: Likewise.
12198 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12199 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12200 * sysdeps/x86_64/elf/configure.in: Likewise.
12201 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12202 * sysdeps/mach/hurd/tls.h: Likewise.
12203
633f745d
UD
12204 [BZ #13067]
12205 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12206
f318beb8
UD
12207 [BZ #13090]
12208 * configure.in: Fix use of AC_INIT.
12209
32b4c839
UD
12210 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12211
3ce1f295
UD
122122011-09-10 Ulrich Drepper <drepper@gmail.com>
12213
bb016596
UD
12214 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12215 __set_errno.
8e58439c
UD
12216 * malloc/hooks.c: Likewise.
12217
aebae053 12218 [BZ #11929]
02d46fc4
UD
12219 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12220 variables statically.
12221 (narenas): Initialize.
12222 (list_lock): Initialize.
bb016596
UD
12223 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12224 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12225 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12226 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12227 Add initializers to main_arena and mp_.
12228 (malloc_state): Remove pagesize member. Change all users to use
12229 GLRO(dl_pagesize).
12230
12231 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12232 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12233 is always initialized.
12234
22a89187
UD
12235 * malloc/malloc.c: Removed unused configurations and dead code.
12236 * malloc/arena.c: Likewise.
12237 * malloc/hooks.c: Likewise.
02d46fc4 12238 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12239
d063d164
UD
12240 * include/tls.h: Removed. USE___THREAD must always be defined.
12241 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12242 * elf/dl-libc.c: Likewise.
12243 * elf/dl-tsd.c: Likewise.
12244 * include/errno.h: Likewise.
12245 * include/netdb.h: Likewise.
12246 * include/resolv.h: Likewise.
12247 * inet/herrno-loc.c: Likewise.
12248 * inet/herrno.c: Likewise.
12249 * malloc/arena.c: Likewise.
12250 * malloc/hooks.c: Likewise.
12251 * malloc/malloc.c: Likewise.
12252 * resolv/res-state.c: Likewise.
12253 * resolv/res_libc.c: Likewise.
12254 * sysdeps/i386/dl-machine.h: Likewise.
12255 * sysdeps/ia64/dl-machine.h: Likewise.
12256 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12257 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12258 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12259 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12260 * sysdeps/sh/dl-machine.h: Likewise.
12261 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12262 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12263 * sysdeps/unix/i386/sysdep.S: Likewise.
12264 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12265 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12266 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12267 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12268 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12269 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12270 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12271 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12272 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12273 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12274 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12275 * sysdeps/x86_64/dl-machine.h: Likewise.
12276 * tls.make.c: Likewise.
12277
3ce1f295
UD
12278 * configure.in: Remove --with-__thread option. Make tests for
12279 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12280 tls_model attribute fail if no support is available. Remove
12281 USE_IN_LIBIO.
12282 * Makeconfig: Adjust for dropped configure option. All features are
12283 now mandatory.
12284 * Makerules: Likewise.
12285 * Versions.def: Likewise.
12286 * argp/argp-fmtstream.c: Likewise.
12287 * argp/argp-fmtstream.h: Likewise.
12288 * argp/argp-help.c: Likewise.
12289 * assert/assert.c: Likewise.
12290 * config.h.in: Likewise.
12291 * config.make.in: Likewise.
12292 * configure: Likewise.
12293 * configure.in: Likewise.
12294 * csu/Versions: Likewise.
12295 * csu/init.c: Likewise.
12296 * elf/tst-audit2.c: Likewise.
12297 * elf/tst-tls10.c: Likewise.
12298 * elf/tst-tls10.h: Likewise.
12299 * elf/tst-tls11.c: Likewise.
12300 * elf/tst-tls12.c: Likewise.
12301 * elf/tst-tls14.c: Likewise.
12302 * elf/tst-tlsmod11.c: Likewise.
12303 * elf/tst-tlsmod12.c: Likewise.
12304 * elf/tst-tlsmod13.c: Likewise.
12305 * elf/tst-tlsmod13a.c: Likewise.
12306 * elf/tst-tlsmod14a.c: Likewise.
12307 * elf/tst-tlsmod15b.c: Likewise.
12308 * elf/tst-tlsmod16a.c: Likewise.
12309 * elf/tst-tlsmod16b.c: Likewise.
12310 * elf/tst-tlsmod7.c: Likewise.
12311 * elf/tst-tlsmod8.c: Likewise.
12312 * elf/tst-tlsmod9.c: Likewise.
12313 * gmon/gmon.c: Likewise.
12314 * grp/fgetgrent_r.c: Likewise.
12315 * grp/putgrent.c: Likewise.
12316 * hurd/fopenport.c: Likewise.
12317 * include/libc-symbols.h: Likewise.
12318 * include/tls.h: Likewise.
12319 * intl/gettextP.h: Likewise.
12320 * intl/loadinfo.h: Likewise.
12321 * locale/global-locale.c: Likewise.
12322 * locale/localeinfo.h: Likewise.
12323 * mach/devstream.c: Likewise.
12324 * malloc/arena.c: Likewise.
12325 * malloc/set-freeres.c: Likewise.
12326 * misc/err.c: Likewise.
12327 * misc/getttyent.c: Likewise.
12328 * misc/mntent_r.c: Likewise.
12329 * posix/getopt.c: Likewise.
12330 * posix/wordexp.c: Likewise.
12331 * pwd/fgetpwent_r.c: Likewise.
12332 * resolv/Versions: Likewise.
12333 * resolv/res_hconf.c: Likewise.
12334 * shadow/fgetspent_r.c: Likewise.
12335 * shadow/putspent.c: Likewise.
12336 * stdio-common/printf_fphex.c: Likewise.
12337 * stdio-common/tmpfile.c: Likewise.
12338 * stdlib/abort.c: Likewise.
12339 * stdlib/fmtmsg.c: Likewise.
12340 * sunrpc/auth_unix.c: Likewise.
12341 * sunrpc/clnt_perr.c: Likewise.
12342 * sunrpc/clnt_tcp.c: Likewise.
12343 * sunrpc/clnt_udp.c: Likewise.
12344 * sunrpc/clnt_unix.c: Likewise.
12345 * sunrpc/openchild.c: Likewise.
12346 * sunrpc/svc_simple.c: Likewise.
12347 * sunrpc/svc_tcp.c: Likewise.
12348 * sunrpc/svc_udp.c: Likewise.
12349 * sunrpc/svc_unix.c: Likewise.
12350 * sunrpc/xdr.c: Likewise.
12351 * sunrpc/xdr_array.c: Likewise.
12352 * sunrpc/xdr_rec.c: Likewise.
12353 * sunrpc/xdr_ref.c: Likewise.
12354 * sunrpc/xdr_stdio.c: Likewise.
12355
1248c1c4
PB
123562011-09-09 Ulrich Drepper <drepper@gmail.com>
12357
12358 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12359
123602011-07-03 Andreas Jaeger <aj@suse.de>
12361
12362 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12363 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12364 regenerate with gen-libm-tests.pl.
12365
123662010-05-12 Petr Baudis <pasky@suse.cz>
12367
12368 [BZ #11589]
12369 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12370 around j0() zero points by switching to j1().
12371 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12372 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12373 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12374 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12375
f22e1074
UD
123762011-09-09 Ulrich Drepper <drepper@gmail.com>
12377
f19009c1
UD
12378 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12379 instead of 0.
12380 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12381 instead of 0. .
12382 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12383 Patch in part by Pavel Roskin <proski@gnu.org>.
12384
3f8cc204
UD
12385 [BZ #13138]
12386 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12387 realloc.
12388 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12389 Free memory block if necessary.
12390
f22e1074
UD
12391 [BZ #12847]
12392 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12393 be NULL. Don't lock in this case.
12394
0a2349f9
RM
123952011-09-09 Roland McGrath <roland@hack.frob.com>
12396
12397 * elf/elf.h (ELFOSABI_GNU): New macro.
12398 (ELFOSABI_LINUX): Define to that.
12399
f3cdd467
DZ
124002011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12401
12402 * string/strncat.c (strncat): Undef the symbol in case it has been
12403 defined in bits/string.h.
12404
74718d13
UD
124052011-09-09 Ulrich Drepper <drepper@gmail.com>
12406
633e9e0f
UD
12407 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12408
0a2349f9 12409 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12410 link map.
12411
f9924780
AJ
124122011-08-17 Andreas Jaeger <aj@suse.de>
12413
12414 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12415
7f5517aa
PP
124162011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12417 Ian Lance Taylor <iant@google.com>
12418
12419 * math/libm-test.inc (lround_test): New testcase.
12420 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12421
762011fe
UD
124222011-09-08 Ulrich Drepper <drepper@gmail.com>
12423
92963737
UD
12424 * Makefile: Remove support for automatic cvs check-ins.
12425 * Makerules: Likewise.
12426 * config.make.in: Likewise.
12427 * configure.in: Likewise.
12428 * intl/Makefile: Likewise.
12429 * locale/Makefile: Likewise.
12430 * po/Makefile: Likewise.
12431 * posix/Makefile: Likewise.
12432 * sysdeps/gnu/Makefile: Likewise.
12433 * sysdeps/mach/hurd/Makefile: Likewise.
12434 * sysdeps/sparc/sparc32/Makefile: Likewise.
12435
b0727fd8
JS
12436 [BZ #13118]
12437 * posix/Makefile (bug-regex32-ENV): Define.
12438 Patch by John Stanley <jpsinthemix@verizon.net>.
12439
a0f33f99
UD
12440 * misc/Makefile (headers): Add bits/select2.h.
12441 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12442 * misc/bits/select2.h: New file.
12443 * include/bits/select2.h: New file.
12444 * debug/Makefile (routines): Add fdelt_chk.
12445 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12446 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12447 FD_ISSET.
12448 * debug/fdelt_chk.c: New file.
12449
762011fe
UD
12450 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12451 * wcsmbs/test-wmemcmp.c: Likewise.
12452 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12453 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12454
124552011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12456
12457 * string/Makefile (strop-tests): Add memcmp.
12458 * string/test-wmemcmp.c: New file.
12459 * string/test-memcmp.c: Add wmemcmp support.
12460
7f513ec8
RM
124612011-09-08 Roland McGrath <roland@hack.frob.com>
12462
0442afb4
RM
12463 [BZ #13153]
12464 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12465 2011-07-19 change.
12466
7f513ec8
RM
12467 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12468 garbage value in a __mach_port_mod_refs call in the cases of the
12469 task-self and thread-self ports.
12470
a12b2239
ST
124712011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12472
12473 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12474
610f9ab4
AS
124752011-09-08 Andreas Schwab <schwab@redhat.com>
12476
7f513ec8 12477 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12478
48882a1a
LD
124792011-09-07 Ulrich Drepper <drepper@gmail.com>
12480
b49865be
UD
12481 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12482
fdc86bc9
UD
12483 * elf/dl-libc.c (dlerror_run): Pass back error code from
12484 dl_catch_error.
12485
c966526a
UD
12486 [BZ #13123]
12487 * elf/dl-load.c (lose): Free l_origin if it is valid.
12488
48882a1a
LD
12489 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12490 names.
12491 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12492 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12493 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12494 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12495 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12496 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12497
77a2a8b4
AZ
124982011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12499
12500 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12501 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12502 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12503 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12504 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12505 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12506 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12507 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12508 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12509 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12510
24f579d8
AM
125112011-08-15 Alan Modra <amodra@gmail.com>
12512
12513 [BZ #13092]
12514 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12515 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12516 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12517 ppc_mcount to static-only-routines.
12518 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12519 __mcount_internal.
12520 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12521 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12522
3d4837df
UD
125232011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12524
12525 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12526 for finite and infinity parameters.
12527
22700377
WS
125282011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12529
12530 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12531 and add nop instructions for throughput optimization.
12532 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12533
5025581e
WS
125342011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12535
12536 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12537 aligned copy for power7 with vector-scalar instructions.
12538 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12539
08a300c9
L
125402011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12541
12542 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12543 AVX check.
12544
59178ef9
AS
125452011-09-07 Andreas Schwab <schwab@redhat.com>
12546
12547 [BZ #13144]
12548 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12549 last change.
12550
e38ba7ab
UD
125512011-09-07 Ulrich Drepper <drepper@gmail.com>
12552
12553 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12554 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12555 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12556 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12557 clock_gettime.
12558
d53a73ac
UD
125592011-09-06 Ulrich Drepper <drepper@gmail.com>
12560
fc8bffcc
UD
12561 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12562 Forgot to demangle the pointer.
12563
ceaa0c5d
UD
12564 * sysdeps/i386/sysdep.h: Define atom_text_section.
12565 * sysdeps/x86_64/sysdep.h: Likewise.
12566 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12567 section with atom_text_section.
12568 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12569 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12570 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12571 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12572 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12573
a77d3c17
UD
12574 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12575 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12576 already be defined. Change to take two parameters and don't assign
12577 result to variable. Adjust all users.
12578 Define INTERNAL_GETTIME if not already defined.
12579 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12580 call.
12581 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12582 HAVE_CLOCK_GETTIME_VSYSCALL.
12583 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12584
d53a73ac
UD
12585 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12586 gettimeofday vsyscall, just use time.
12587
a8f84144
AS
125882011-09-06 Andreas Schwab <schwab@redhat.com>
12589
12590 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12591 <errno.h>.
12592
ef606249
UD
125932011-09-06 Ulrich Drepper <drepper@gmail.com>
12594
12595 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12596 syscall on x86-64.
12597 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12598 syscall.
12599 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12600 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12601 syscall if possible.
12602
6585cb60
UD
126032011-09-05 Ulrich Drepper <drepper@gmail.com>
12604
12605 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12606 e_ident. Don't pass to find_mapsXX.
12607 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12608
a5f524e4
LD
126092011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12610
12611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12612 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12613 * sysdeps/x86_64/multiarch/strchr.S: Update.
12614 Check bit_slow_BSF bit.
12615 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12616 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12617 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12618
554881ef
UD
126192011-09-05 Ulrich Drepper <drepper@gmail.com>
12620
d96de963
UD
12621 [BZ #13134]
12622 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12623 before glibc 2.15.
12624 (tryshell): Define.
12625 (__spawni): Change last parameter to be flag. Test
12626 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12627 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12628 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12629 * posix/spawni.c: Likewise.
12630 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12631 * posix/spawnp.c: Likewise. Change normal version to use
12632 SPAWN_XFLAGS_USE_PATH.
12633 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12634 SPAWN_XFLAGS_TRY_SHELL.
12635
d48e5868
UD
12636 [BZ #13150]
12637 * posix/glob.h: Remove gcc 1.x support.
12638
554881ef
UD
12639 [BZ #13068]
12640 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12641
693fb948
LD
126422011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12643
12644 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12645 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12646 strrchr-sse2-bsf
12647 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12648 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12649 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12650 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12651 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12652 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12653
1b48c537
UD
126542011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12655
49d42c37
UD
12656 * sysdeps/x86_64/wcscmp.S: New file.
12657
1b48c537
UD
12658 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12659 wcscmp-c wcscmp-sse2
12660 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12661 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12662 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12663 * wcsmbs/wcscmp.c: Allow renaming.
12664
15c95c5d
DM
126652011-09-05 David S. Miller <davem@davemloft.net>
12666
12667 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12668 stack slot, rather than the struct return pointer slot.
12669 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12670 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12672 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12673
2f0ad8f3
UD
126742011-09-05 Ulrich Drepper <drepper@gmail.com>
12675
d88ae418
UD
12676 * po/ja.po: Update from translation team.
12677
2f0ad8f3
UD
12678 [BZ #13144]
12679 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12680 kernel in 64-bit binaries.
12681
5f4318d1
DM
126822011-09-01 David S. Miller <davem@davemloft.net>
12683
12684 * elf/elf.h (HWCAP_SPARC_*): Move to..
12685 * sysdeps/sparc/sysdep.h: this new file and add new values.
12686 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12687 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12688 _DL_HWCAP_COUNT to 24.
12689 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12690 entries.
12691 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12692 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12693 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12694 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12695 instead of magic constants.
12696 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12697
3ba57516
DM
126982011-08-31 David S. Miller <davem@davemloft.net>
12699
12700 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12701 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12702 Reimplement to do errno handling inline.
12703 (SYSCALL_ERROR_HANDLER): New macro.
12704 (__SYSCALL_STRING): Do not do errno handling in asm.
12705 (__CLONE_SYSCALL_STRING): Delete.
12706 (__INTERNAL_SYSCALL_STRING): Delete.
12707 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12708 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12709 (PSEUDO): Reimplement to do errno handling inline.
12710 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12711 (SYSCALL_ERROR_HANDLER): New macro.
12712 (__SYSCALL_STRING): Do not do errno handling in asm.
12713 (__CLONE_SYSCALL_STRING): Delete.
12714 (__INTERNAL_SYSCALL_STRING): Delete.
12715 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12716 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12717 i386.
12718 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12719 (inline_syscall*): Add 'err' argument.
12720 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12721 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12722 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12723 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12724
12725 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12726 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12727
2bc17433
AS
127282011-08-30 Andreas Schwab <schwab@redhat.com>
12729
12730 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12731
fbeb5f4d
JO
127322011-08-29 Jiri Olsa <jolsa@redhat.com>
12733
12734 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12735 directive.
12736
ad69cc26
DM
127372011-08-24 David S. Miller <davem@davemloft.net>
12738
12739 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12740
39dd69df
AS
127412011-08-24 Andreas Schwab <schwab@redhat.com>
12742
12743 * elf/Makefile: Add rules to build and run unload8 test.
12744 * elf/unload8.c: New file.
12745 * elf/unload8mod1.c: New file.
12746 * elf/unload8mod1x.c: New file.
12747 * elf/unload8mod2.c: New file.
12748 * elf/unload8mod3.c: New file.
12749
12750 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12751 it wasn't used.
12752
2c0b250a
DM
127532011-08-23 David S. Miller <davem@davemloft.net>
12754
12755 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12756 subtract stack bias.
12757 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12758 %sp not %fp in calculations.
12759 (_JMPBUF_UNWINDS_ADJ): Likewise.
12760
22044b48
DM
12761 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12762 (aio_suspend): Call it to force an exception region around the
12763 AIO_MISC_WAIT() invocation.
12764
2cae4995
AS
127652011-08-23 Andreas Schwab <schwab@redhat.com>
12766
12767 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12768 backslash.
12769
873a772e
AJ
127702011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12771
12772 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12773 protection macro.
12774 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12775 and <dl-machine.h>.
12776 (Elf64_FuncDesc): Remove.
12777
25ad0df1
DM
127782011-08-22 David S. Miller <davem@davemloft.net>
12779
12780 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12781 sigaltstack check, add missing cfi directives.
12782 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12783 missing cfi directives, and sigaltstack handling.
12784
e888bcbe
AS
127852011-08-16 Andreas Schwab <schwab@redhat.com>
12786
12787 [BZ #11724]
12788 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12789 object is seen twice.
12790 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12791
12792 * elf/Makefile (distribute): Add tst-initorder2.c.
12793 (tests): Add tst-initorder2.
12794 (modules-names): Add tst-initorder2a tst-initorder2b
12795 tst-initorder2c tst-initorder2d. Add rules to build them.
12796 ($(objpfx)tst-initorder2.out): New rule.
12797 * elf/tst-initorder2.c: New file.
12798 * elf/tst-initorder2.exp: New file.
12799
87162f46
AS
128002011-08-22 Andreas Schwab <schwab@redhat.com>
12801
70538b7f
AS
12802 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12803
f55ffe58
AS
12804 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12805 dependencies back to end of function.
12806
87162f46
AS
12807 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12808 $(elfobjdir)/ld.so.
12809
91b392a4
UD
128102011-08-21 Ulrich Drepper <drepper@gmail.com>
12811
12812 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12813 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12814 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12815 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12816 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12817 of __vdso_gettimeofday.
12818 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12819 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12820 attribute_hidden.
12821 (_libc_vdso_platform_setup): Remove initialization of
12822 __vdso_gettimeofday and __vdso_time.
12823
5c43483f
UD
128242011-08-20 Ulrich Drepper <drepper@gmail.com>
12825
775a77e7
UD
12826 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12827 and fgetc_unlocked.
12828 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12829 getc_unlocked.
89f447ed 12830
49c74ba9
UD
12831 * elf/dl-open.c (add_to_global): Report additions to the global scope
12832 for LD_DEBUG=scopes.
12833 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12834 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12835
5c43483f
UD
12836 [BZ #13114]
12837 * stdio-common/Makefile (tests): Add bug24.
12838 * stdio-common/bug24.c: New file.
12839
a101b025
AJ
128402011-08-19 Andreas Jaeger <aj@suse.de>
12841
12842 [BZ #13114]
12843 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12844 non-existant file when using close-on-exec mode.
12845
c88f1766
UD
128462011-08-20 Ulrich Drepper <drepper@gmail.com>
12847
0276a718
UD
12848 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12849 the very first instruction.
12850
c88f1766
UD
12851 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12852 the CFI state in the end.
12853 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12854 inclusion of dl-trampoline.h.
12855 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12856
51ccffa0
AS
128572011-08-19 Andreas Schwab <schwab@redhat.com>
12858
94d7165f
AS
12859 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12860 expectations for long double.
12861
51ccffa0
AS
12862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12863 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12864
fd708658 128652011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12866
12867 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12868 artificual limit depends upon the system page size.
12869
44f0a71e
UD
128702011-08-17 Ulrich Drepper <drepper@gmail.com>
12871
12872 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12873 * resolv/Makefile: Define CFLAGS-libresolv.
12874
8de79a24
AS
128752011-08-17 Andreas Schwab <schwab@redhat.com>
12876
12877 * nss/makedb.c (compute_tables): Make variables used in nested
12878 function static.
12879
27724598
UD
128802011-08-17 Ulrich Drepper <drepper@gmail.com>
12881
c5305d88
UD
12882 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12883 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12884 if buffer was too small.
12885
27724598
UD
12886 * elf/pldd.c (main): Attach to all threads in the process.
12887 Rewrite /proc handling to use *at functions.
12888
076fe015
UD
128892011-08-16 Ulrich Drepper <drepper@gmail.com>
12890
174baab3
UD
12891 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12892 specifies first scope to show.
12893 (dl_open_worker): Update callers. Move printing scope of new
12894 object to before the relocation.
44f0a71e 12895 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12896 * sysdeps/generic/ldsodefs.h: Update declaration.
12897
076fe015
UD
12898 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12899 string for the scope number.
12900
a60df2c3
UD
129012011-08-14 Ulrich Drepper <drepper@gmail.com>
12902
12903 * nscd/servicescache.c (cache_addserv): Make sure written is always
12904 initialized.
12905
5e4287d1
RM
129062011-08-14 Roland McGrath <roland@hack.frob.com>
12907
85ae0589
RM
12908 * sysdeps/i386/i486/bits/atomic.h
12909 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12910 statement expression, so as to suppress "set but not used" warning.
12911 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12912
69f63097
RM
12913 * string/strncat.c (STRNCAT): Use prototype definition.
12914
675456ef
RM
12915 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12916 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12917 -Iprograms here.
12918 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12919 (localedef-modules): Add localedef.
12920 (locale-modules): Add locale.
12921
5e4287d1
RM
12922 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12923 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12924 to avoid a warning.
12925
9c96ff23
DM
129262011-08-14 David S. Miller <davem@davemloft.net>
12927
12928 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12929 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12930
f9ddf089
UD
129312011-08-13 Ulrich Drepper <drepper@gmail.com>
12932
44f0a71e 12933 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12934 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12935 * elf/rtld.c (dl_main): Set l_name of vDSO.
12936 Call _dl_show_scope when DL_DEBUG_SCOPES.
12937 (process_dl_debug): Recognize scopes flag and also set it for all.
12938 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12939 Declare _dl_show_scope.
12940
1dc27704
UD
12941 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12942 (do_dlopen): Pass caller_dlopen to dl_open.
12943 (__libc_dlopen_mode): Initialize caller_dlopen.
12944
f9ddf089
UD
12945 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12946 of libc. Make tolower call locale-independent. Optimize a bit by
12947 using isdigit instead of isalnum.
12948 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12949
9ac533d3
UD
129502011-08-12 Ulrich Drepper <drepper@gmail.com>
12951
12952 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12953 was a dependency or dynamically loaded.
12954
89edf2e9
UD
129552011-08-11 Ulrich Drepper <drepper@gmail.com>
12956
8e999d29
UD
12957 * intl/l10nflist.c: Allow architecture-specific pop function.
12958 * sysdeps/x86_64/l10nflist.c: New file.
12959
89edf2e9
UD
12960 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12961 classification.
12962
14d96785
AS
129632011-08-10 Andreas Schwab <schwab@redhat.com>
12964
12965 * include/dirent.h: Add libc_hidden_proto for scandirat and
12966 scandirat64. Don't declare __scandirat64.
12967 * dirent/scandirat.c: Add libc_hidden_def.
12968 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12969 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12970
6761ac04
DM
129712011-08-10 David S. Miller <davem@davemloft.net>
12972
12973 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12974 enum.
12975 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12976 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12977 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12978
c55fbd1e
UD
129792011-08-09 Ulrich Drepper <drepper@gmail.com>
12980
12981 * Versions.def [libc]: Add GLIBC_2.15.
12982 * dirent/Makefile (routines): Add scandirat and scandirat64.
12983 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12984 GLIBC_2.15.
12985 * dirent/dirent.h: Declare scandirat and scandirat64.
12986 * dirent/scandirat.c: New file.
12987 * dirent/scandirat64.c: New file.
12988 * sysdeps/wordsize-64/scandirat.c: New file.
12989 * sysdeps/wordsize-64/scandirat64.c: New file.
12990 * dirent/opendir.c: Define opendirat.
12991 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12992 using scandirat.
12993 * dirent/scandir64.c: Adjust for scandir.c change.
12994 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12995 __scandirat64, and __scandir_cancel_handler.
12996 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12997 additional parameter and use openat instead of open (outside of ld.so).
12998 Add new __opendir as wrapper around __opendirat.
12999 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13000 here without requiring old scandirat implementation.
13001
879165f2
UD
130022011-08-08 Ulrich Drepper <drepper@gmail.com>
13003
13004 * dirent/scandir.c (cancel_handler): Renamed to
13005 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13006 defined. Adjust users.
13007 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13008 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13009
cb7e923b
UD
130102011-08-04 Ulrich Drepper <drepper@gmail.com>
13011
16292edd
UD
13012 * string/test-string.h (IMPL): Use __STRING to expand name and then
13013 stringify it.
13014
cb7e923b
UD
13015 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13016 of cleanups.
13017
cff82933
LD
130182011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13019
13020 * string/Makefile: Update.
13021 (strop-tests): Append strncat.
13022 * string/test-wcscmp.c: New file.
13023 New comprehensive test for wcscmp.
13024 * string/test-strcmp.c: Update.
13025 (WIDE): New define.
13026
9be9bfcc
AS
130272011-07-22 Andreas Schwab <schwab@redhat.com>
13028
13029 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13030 line.
13031
2e96f1c7
AS
130322011-07-26 Andreas Schwab <schwab@redhat.com>
13033
13034 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13035 encoding to ACE if AI_IDN.
13036
85188888
JJ
130372011-08-01 Jakub Jelinek <jakub@redhat.com>
13038
13039 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13040 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13041
5fa16e9b
LD
130422011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13043
13044 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13045 Fix overflow bug in strncat.
13046 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13047
13048 * string/test-strncat.c: Update.
13049 Add new tests for checking overflow bugs.
13050
130512011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13052
13053 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13054 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13055 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13056 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13057 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13058 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13059 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13060 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13061 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13062
13063 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13064 (USE_AS_STRCAT): Define.
13065 Add strcat and strncat support.
13066 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13067
8c1a459f
AS
130682011-07-25 Andreas Schwab <schwab@redhat.com>
13069
13070 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13071 __n bigger than INT_MAX+1.
13072 (__strncmp_g): Likewise.
13073
bba33c28
UD
130742011-07-23 Ulrich Drepper <drepper@gmail.com>
13075
798be72d
UD
13076 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13077 * libio/stido.h: Likewise.
13078
8accd4dc
UD
13079 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13080 (AF_NFC): Define.
13081 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13082 (AF_NFC): Define.
13083
cbff0d96
UD
13084 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13085 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13086 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13087 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13088 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13089
9191c04a
UD
13090 [BZ #13021]
13091 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13092 installed.
13093
bba33c28
UD
13094 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13095 typo.
13096 (_dl_x86_64_save_sse): Likewise.
13097
90f139dd
UD
130982011-07-22 Ulrich Drepper <drepper@gmail.com>
13099
1aae088a
UD
13100 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13101 OSXSAVE.
13102 (_dl_x86_64_save_sse): Likewise.
13103
8e2045f5
UD
13104 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13105
90f139dd
UD
13106 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13107
1d002f25
AS
131082011-07-21 Andreas Schwab <schwab@redhat.com>
13109
13110 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13111 change.
13112 (_dl_x86_64_save_sse): Use correct AVX check.
13113
21137f89
UD
131142011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13115
13116 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13117 bug in strncpy/strncat.
13118 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13119
a65c0b7a
UD
131202011-07-21 Ulrich Drepper <drepper@gmail.com>
13121
13122 * string/tester.c (test_strcat): Add tests for different alignments
13123 of source and destination.
13124 (test_strncat): Likewise.
13125
6986b98a
UD
131262011-07-20 Ulrich Drepper <drepper@gmail.com>
13127
90bb2039
UD
13128 [BZ #12852]
13129 * posix/glob.c (glob): Check passed in values before using them in
13130 expressions to avoid some overflows.
13131 (glob_in_dir): Likewise.
13132
5644ef54
UD
13133 [BZ #13007]
13134 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13135 check for AVX enablement so that we don't crash with old kernels and
13136 new hardware.
13137 * elf/tst-audit4.c: Add same checks here.
13138 * elf/tst-audit6.c: Likewise.
13139
13140 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13141
bfc9dc9b
AS
131422011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13143
13144 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13145
702e64bb
UD
131462011-07-20 Ulrich Drepper <drepper@gmail.com>
13147
13148 * po/cs.po: Update from translation team.
13149 * po/bg.po: Likewise.
13150
295e904f
MP
131512011-07-12 Marek Polacek <mpolacek@redhat.com>
13152
13153 * misc/sys/cdefs.h: Add support for const attribute.
13154 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13155 to gnu_dev_{major,minor,makedev} functions.
13156
3ff94596
MP
131572011-07-20 Marek Polacek <mpolacek@redhat.com>
13158
13159 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13160
28b59fca
AS
131612011-07-20 Andreas Schwab <schwab@redhat.com>
13162
13163 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13164 strlen results.
13165
19df733e
AK
131662011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13167
13168 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13169 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13170 register in order to avoid conflicts with the soft frame pointer
13171 being held in r11 when necessary.
13172 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13173 (INTERNAL_VSYSCALL_NCS): Likewise.
13174
c8835729
MP
131752011-07-14 Marek Polacek <mpolacek@redhat.com>
13176
13177 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13178 * elf/dl-fini.c (_dl_fini): Adjust caller.
13179 * elf/dl-close.c (_dl_close_worker): Likewise.
13180 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13181
b902330c
MP
131822011-07-15 Marek Polacek <mpolacek@redhat.com>
13183
8991e135
MP
13184 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13185 "aux_cache->nlibs < 0".
13186
b902330c
MP
13187 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13188 in the reload-count case.
13189
99710781
LD
131902011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13191
13192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13193 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13194 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13195 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13196 * sysdeps/x86_64/multiarch/strcat.S: New file.
13197 * sysdeps/x86_64/multiarch/strncat.S: New file.
13198 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13199 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13200 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13201 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13202 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13203 (USE_AS_STRCAT): Define.
13204 Add strcat and strncat support.
13205 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13206 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13207 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13208 * string/strncat.c: Update.
13209 (USE_AS_STRNCAT): Define.
13210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13211 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13212 and i7.
13213 * sysdeps/x86_64/multiarch/init-arch.h
13214 (bit_Prefer_PMINUB_for_stringop): New.
13215 (index_Prefer_PMINUB_for_stringop): Likewise.
13216 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13217 bit_Prefer_PMINUB_for_stringop.
13218
7dc6bd90
UD
132192011-07-19 Ulrich Drepper <drepper@gmail.com>
13220
13221 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13222 buffer64.
13223 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13224 of casting of buffer.
13225 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13226 buffer32 and buffer64.
13227 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13228 writes instead of casting of buffer.
13229 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13230 buffer32.
13231 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13232 casting of buffer.
13233
e0e72284
AS
132342011-07-19 Andreas Schwab <schwab@redhat.com>
13235
13236 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13237
feb1eb0b
UD
132382011-07-19 Ulrich Drepper <drepper@gmail.com>
13239
13240 * nscd/nscd.c (termination_handler): Don't do anything for a database
13241 if it has not yet been initialized.
13242
298711ff
UD
132432011-07-18 Ulrich Drepper <drepper@gmail.com>
13244
13245 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13246
132472011-07-15 Marek Polacek <mpolacek@redhat.com>
13248
13249 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13250
f9d68389
UD
132512011-07-18 Ulrich Drepper <drepper@gmail.com>
13252
13253 * po/nl.po: Update from translation team.
13254 * po/sv.po: Likewise.
13255
db290cf5
RM
132562011-07-16 Roland McGrath <roland@hack.frob.com>
13257
13258 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13259 now disallowed by GCC.
5c550700 13260
fd5e21c7
RM
13261 * configure.in (use-default-link): Default to yes if a test -shared
13262 link meets our qualifications.
13263 * configure: Regenerated.
13264
5c550700
RM
13265 * config.make.in (output-format): New variable.
13266 * configure.in: Check for ld --print-output-format support.
13267 * configure: Regenerated.
13268 * Makerules ($(common-objpfx)format.lds)
13269 [$(output-format) != unknown]: Just use $(output-format),
13270 instead of the linker-script munging.
13271
9fa2c032
RM
132722011-07-14 Roland McGrath <roland@hack.frob.com>
13273
a6928d51
RM
13274 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13275 of $(common-objpfx)shlib.lds.
13276 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13277
661607b3
RM
13278 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13279 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13280
9fa2c032
RM
13281 * configure.in (-z relro check): Adjust test code to add a large
13282 writable data section after it.
13283 * configure: Regenerated.
13284
defe9061
RM
132852011-07-11 Roland McGrath <roland@hack.frob.com>
13286
13287 * configure.in (-z relro check): Fix test code to make the variable
13288 truly const.
13289 * configure: Regenerated.
13290
319b9ad4
UD
132912011-07-11 Ulrich Drepper <drepper@gmail.com>
13292
13293 * nscd/nscd.h (struct traced_file): Define.
13294 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13295 elements. Add traced_files.
13296 (inotify_fd): Declare.
13297 (register_traced_file): Declare.
13298 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13299 (inotify_fd): Export.
13300 (resolv_conf_descr): Remove.
13301 (nscd_init): Move inotify descriptor creation to main.
13302 Don't register files for notification here.
13303 (register_traced_file): New function.
13304 (invalidate_cache): Don't use reset_res to determine whether to call
13305 res_init, go through the list of registered files.
13306 (main_loop_poll): The inotify descriptors are now stored in the
13307 structures for the traced files.
13308 (main_loop_epoll): Likewise
13309 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13310 to __nss_disable_nscd.
13311 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13312 for a database anymore. Check the records for all the registered
13313 files instead.
13314 * nss/Makefile (libnss_files-routines): Add files-init.
13315 (libnss_db-routines): Add db-init.
13316 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13317 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13318 * nss/nss_db/db-init.c: New file.
13319 * nss/nss_files/files-init.c: New file.
13320 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13321 __nss_lookup_function.
13322 (__nss_lookup_function): Call nss_load_library.
13323 (nss_load_all_libraries): New function.
13324 (__nss_disable_nscd): Take parameter with callback function for files
13325 to register. Set is_nscd. Load all the DSOs for the NSS modules
13326 used for the cached services.
13327 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13328 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13329 options for features to all the files in nscd.
13330
13331 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13332
23bee3e8
RM
133332011-07-10 Roland McGrath <roland@hack.frob.com>
13334
13335 * csu/elf-init.c (__libc_csu_init): Comment typo.
13336
46a5b7f0
UD
133372011-07-09 Ulrich Drepper <drepper@gmail.com>
13338
13339 * po/pl.po: Update from translation team.
13340 * po/ja.po: Likewise.
13341 * po/ru.po: Likewise.
13342 * po/ko.po: Likewise.
13343 * po/fr.po: Likewise.
13344
d30cf5bb
RM
133452011-07-09 Roland McGrath <roland@hack.frob.com>
13346
113ddea4
RM
13347 * configure.in (.ctors/.dtors header and trailer check):
13348 Use an empirical test on a built program.
13349 * configure: Regenerated.
13350
574920b4
RM
13351 * configure.in (-z relro check): Use an empirical test on a built DSO.
13352 Detect, but do not require, on ia64.
13353 * configure: Regenerated.
13354
d30cf5bb
RM
13355 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13356 Update tests that use readelf to use $READELF instead.
13357 * configure: Regenerated.
13358
8538fdb3
UD
133592011-07-08 Ulrich Drepper <drepper@gmail.com>
13360
13361 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13362 if the result is not used.
13363
04d08991
AJ
133642011-07-05 Andreas Jaeger <aj@suse.de>
13365
13366 [BZ#9696]
13367 * stdlib/tst-strtod.c: Add testcase.
13368
de283087
AD
133692011-07-07 Ulrich Drepper <drepper@gmail.com>
13370
4e5f31c8 13371 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13372 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13373 The latter has a higher limit. Take additional parameter to pass to
13374 the new function.
13375 (__pathconf): Pass file to __statfs_link_max.
13376 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13377 __statfs_link_max.
13378 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13379 __statfs_link_max.
13380
de283087
AD
13381 [BZ #12868]
13382 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13383 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13384 Handle Lustre.
13385 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13386 (__statfs_filesize_max): Likewise.
13387 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13388
c75fa153
AJ
133892011-07-05 Andreas Jaeger <aj@suse.de>
13390
13391 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13392
1a544854
UD
133932011-07-06 Marek Polacek <mpolacek@redhat.com>
13394
13395 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13396 `status' variable.
13397 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13398 Likewise.
13399
6f0eec67
UD
134002011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13401
13402 * Makefile (strop-tests): Add strncat.
13403 * string/test-strncat.c: New file.
13404
aae30307
UD
134052011-06-30 Marek Polacek <mpolacek@redhat.com>
13406
13407 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13408
c0cfb5eb
UD
134092011-06-21 Andreas Jaeger <aj@suse.de>
13410
13411 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13412 Copy rule from iconvdata/Makefile.
13413
01636b21
UD
134142011-07-06 Ulrich Drepper <drepper@gmail.com>
13415
13416 [BZ #12922]
13417 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13418 but no long options are defined, just return 'W'.
13419
9895c8bc
UD
134202011-06-22 Marek Polacek <mpolacek@redhat.com>
13421
13422 [BZ #9696]
13423 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13424
5d4cf042
UD
134252011-07-06 Ulrich Drepper <drepper@gmail.com>
13426
13427 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13428 netgroups to read.
960e5535 13429 (innetgr): Likewise.
5d4cf042 13430
751eb97e
RM
134312011-07-05 Roland McGrath <roland@hack.frob.com>
13432
13433 * config.make.in (install_root): Default to $(DESTDIR).
13434
f15f1e45
UD
134352011-07-05 Ulrich Drepper <drepper@gmail.com>
13436
13437 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13438
4e34ac6a
RM
134392011-07-02 Roland McGrath <roland@hack.frob.com>
13440
5e9b6af4
RM
13441 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13442
84f9ea0f
RM
13443 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13444 containing directory rather than embedding absolute directory names.
13445
ea5ee9f7
RM
13446 * scripts/check-local-headers.sh: Rewritten using awk.
13447 Match by word, not by line. Print error messages for matches.
13448 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13449
1b74661a
RM
13450 * Makerules [shlib-lds-flags empty]:
13451 ($(common-objpfx)libc_pic.opts): New target.
13452 ($(common-objpfx)libc_pic.os.clean): New target.
13453 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13454
13455 * config.make.in (OBJCOPY): New variable.
13456 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13457 * configure: Regenerated.
13458
f781ef40
RM
13459 * config.make.in (use-default-link): New variable.
13460 * configure.in (use_default_link): Grok --with-default-link to set it.
13461 * configure: Regenerated.
13462 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13463 (shlib-lds, shlib-lds-flags): Define to empty.
13464
2d4fa81e
RM
13465 * Makerules (shlib-lds): New variable.
13466 (shlib-lds-flags): New variable.
13467 (build-shlib, build-moduile, build-module-asneeded): Use it.
13468 ($(common-objpfx)libc.so): Use $(shlib-lds).
13469 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13470 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13471
31fffa6b
RM
13472 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13473 DT_FLAGS/DT_FLAGS_1 with zero flags.
13474
4e34ac6a
RM
13475 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13476 linker script munging.
13477
fcfc776b
UD
134782011-07-02 Ulrich Drepper <drepper@gmail.com>
13479
13480 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13481 as 128-bit value.
13482 * crypt/sha512.c (sha512_process_block): Perform total addition using
13483 128-bit if possible.
13484 (__sha512_finish_ctx): Likewise.
13485 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13486 as 64-bit value.
13487 * crypt/sha256.c (SWAP64): Define.
13488 (sha256_process_block): Perform total addition using 64-bit if
13489 possible.
13490 (__sha256_finish_ctx): Likewise.
13491
99231d9a
UD
134922011-07-01 Ulrich Drepper <drepper@gmail.com>
13493
13494 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13495 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13496 * nscd/hstcache.c (cache_addhst): Likewise.
13497 * nscd/grpcache.c (cache_addgr): Likewise.
13498 * nscd/aicache.c (addhstaiX): Likewise
13499 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13500
445b4a53
TK
135012011-07-01 Thorsten Kukuk <kukuk@suse.de>
13502
13503 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13504 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13505 * nscd/hstcache.c (cache_addhst): Likewise.
13506 * nscd/grpcache.c (cache_addgr): Likewise.
13507 * nscd/aicache.c (addhstaiX): Likewise
13508
6d4d8e8e
AS
135092011-07-01 Andreas Schwab <schwab@redhat.com>
13510
13511 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13512 domain only when needed.
13513
89f654c5
AS
135142011-06-30 Andreas Schwab <schwab@redhat.com>
13515
13516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13517 is always restored.
13518
cf3b23ff
UD
135192011-06-29 Ulrich Drepper <drepper@gmail.com>
13520
13521 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13522 are re-adding the entry.
13523 * nscd/servicescache.c (cache_addserv): Likewise.
13524
751626f9
AJ
135252011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13526
13527 * sysdeps/generic/dl-irel.h: fix protection against multiple
13528 inclusions.
13529 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13530
9113ea1f
UD
135312011-06-28 Ulrich Drepper <drepper@gmail.com>
13532
5c0b8d90
UD
13533 [BZ #12935]
13534 * malloc/memusage.sh: Fix quoting in message.
13535 * debug/xtrace.sh: Likewise.
13536
9113ea1f
UD
13537 * configure.in: Remove support for --experimental-malloc option, make
13538 it the default.
13539 * config.make.in: Likewise.
13540 * malloc/Makefile: Likewise.
13541
a4172181
AS
135422011-06-27 Andreas Schwab <schwab@redhat.com>
13543
13544 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13545 two-byte characters.
13546
78a7eee7
RM
135472011-06-27 Roland McGrath <roland@hack.frob.com>
13548
62bede13
RM
13549 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13550 AC_CACHE_CHECK invocation.
13551 * configure: Regenerated.
13552
78a7eee7
RM
13553 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13554
5ce33a62
UD
135552011-06-27 Ulrich Drepper <drepper@gmail.com>
13556
034807a9
UD
13557 [BZ #12350]
13558 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13559 bit from old_res_options.
13560
4902da17
UD
13561 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13562
5ce33a62
UD
13563 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13564 value type for setfct.
13565
c2344f56
L
135662011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13567
13568 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13569 __gettimeofday instead of gettimeofday.
13570
68468076
UD
135712011-06-26 Ulrich Drepper <drepper@gmail.com>
13572
13573 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13574
acb0d739
L
135752011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13576
13577 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13578
13579 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13580 info.
13581
8912479f
L
135822011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13583
13584 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13585 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13586 strcpy-sse2-unaligned strncpy-sse2-unaligned
13587 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13588 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13589 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13590 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13591 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13592 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13593 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13594 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13595 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13596 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13597 (STRCPY): Support SSE2 and SSSE3 versions.
13598
d5495a11
UD
135992011-06-24 Ulrich Drepper <drepper@gmail.com>
13600
13601 [BZ #12874]
13602 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13603 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13604 kernels which artificially limit size of requests.
13605
0b1cbaae
L
136062011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13607
13608 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13609 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13610 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13611 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13612 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13613 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13614 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13615 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13616 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13617 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13618 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13619 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13620 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13621 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13622 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13624 Enable unaligned load optimization for Intel Core i3, i5 and i7
13625 processors.
13626 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13627 Define.
13628 (index_Fast_Unaligned_Load): Define.
13629 (HAS_FAST_UNALIGNED_LOAD): Define.
13630
07f494a0
MP
136312011-06-23 Marek Polacek <mpolacek@redhat.com>
13632
13633 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13634
fa3fc0fe
UD
136352011-06-22 Ulrich Drepper <drepper@gmail.com>
13636
13637 [BZ #12907]
13638 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13639 until it is clear that the information is realy needed.
13640 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13641
e12df166
AS
136422011-06-22 Andreas Schwab <schwab@redhat.com>
13643
13644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13645
852eb34d
UD
136462011-06-22 Ulrich Drepper <drepper@gmail.com>
13647
84e2a551
UD
13648 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13649 /sys/devices/system/cpu/online if it is usable.
13650
852eb34d
UD
13651 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13652 reading the information from the /proc filesystem to once a second.
13653
6e502e19
UD
136542011-06-21 Andreas Jaeger <aj@suse.de>
13655
13656 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13657 NULL after inclusion of kernel headers.
13658
75d39ff2
UD
136592011-06-21 Ulrich Drepper <drepper@gmail.com>
13660
51f9aa6a
UD
13661 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13662 calls to internal_setent.
13663
c0244a9d
UD
13664 [BZ #12885]
13665 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13666 addresses using gethostbyname4_r ignore IPv4 addresses.
13667
c5e3c2ae
UD
13668 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13669 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13670
75d39ff2
UD
13671 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13672
42675c6f
DM
136732011-06-20 David S. Miller <davem@davemloft.net>
13674
13675 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13676 inclusions.
13677 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13678
13679 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13680 (elf_irel): Use it.
13681 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13682 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13683 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13684 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13685 * sysdeps/x86_64/dl-irel.h: Likewise.
13686
13687 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13688 * elf/dl-sym.c: Likewise.
13689
57912a71
UD
136902011-06-15 Ulrich Drepper <drepper@gmail.com>
13691
13692 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13693 need to dereference resplen2.
13694
ee22793d
AS
136952011-06-14 Andreas Schwab <schwab@redhat.com>
13696
13697 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13698
a9e836b0
UD
136992011-06-15 Ulrich Drepper <drepper@gmail.com>
13700
77fb9117
UD
13701 * Makeconfig: Define vardbdir and inst_vardbdir.
13702 * nss/Makefile: Add rules to install db-Makefile.
13703
40c1b22c
UD
13704 * nss/nss_db/db-XXX.c: Cleanup.
13705
9f2da732
UD
13706 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13707 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13708 GLIBC_PRIVATE.
13709 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13710 * nss/makedb.c: Implement -g option to specify that value strings
13711 are generated and should not be added to table iterated over for
13712 get*ent calls.
13713 * nss/nss_db/db-initgroups.c: New file.
13714
82e9a1f7
UD
13715 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13716 interface.
13717
c41af17e
UD
13718 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13719 (internal_getgrouplist): Adjust to name change.
13720 Update use_initgroups_entry if this is not the first call.
13721 * nss/databases.def: Add initgroups entry.
13722
a9e836b0
UD
13723 * nss/makedb.c (compute_tables): Check result of multiple hash table
13724 sizes to minimize maximum chain length.
13725
2666d441
UD
137262011-06-14 Ulrich Drepper <drepper@gmail.com>
13727
13728 * Versions.def: Add entry for libnss_db.
13729 * shlib-versions: Likewise.
13730 * nss/Makefile: Add rules to build libnss_db.
13731 * nss/Versions: Add libnss_db information. Organize libnss_files
13732 entries better.
13733 * nss/db-Makefile: Add gshadow support. Change rules for the new
13734 makedb progra. Some minor improvements to generate smaller files.
13735 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13736 here from...
13737 * nss/makedb.c: ...here.
13738 Improve database format to be smaller and require less memory at
13739 runtime.
13740 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13741 db anymore.
13742 * nss/nss_db/db-netgrp.c: Likewise.
13743 * nss/nss_db/db-open.c: Likewise.
13744 * nss/nss_files/flies-XXX.x: Adjust comments.
13745 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13746 * nss/nss_files/files-grp.c: Likewise.
13747 * nss/nss_files/files-hosts.c: Likewise.
13748 * nss/nss_files/files-network.c: Likewise.
13749 * nss/nss_files/files-proto.c: Likewise.
13750 * nss/nss_files/files-pwd.c: Likewise.
13751 * nss/nss_files/files-rpc.c: Likewise.
13752 * nss/nss_files/files-service.c: Likewise.
13753 * nss/nss_files/files-sgrp.c: Likewise.
13754 * nss/nss_files/files-spwd.c: Likewise.
13755 * nss/nss_db/db-alias.c: Removed.
13756 * nss/nss_db/dummy-db.h: Removed.
13757
9ee76b5a
UD
137582011-06-02 Ulrich Drepper <drepper@gmail.com>
13759
13760 * nss/makedb.c: Rewritten to not use database library.
13761 * nss/Makefile: Update to build new makedb program.
13762
c71ca1f8
AJ
137632011-06-14 Andreas Jaeger <aj@suse.de>
13764
13765 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13766 memset declaration.
13767
3154bfb8
UD
137682011-06-10 Andreas Schwab <schwab@redhat.com>
13769
13770 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13771 tmpbuf.
13772
b350afab
RM
137732011-06-10 Roland McGrath <roland@hack.frob.com>
13774
decd4e50
RM
13775 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13776 * elf/Makefile ($(objpfx)ld.so): Likewise.
13777
5615eaf2
RM
13778 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13779 Don't list ld.so twice in dependencies.
13780
13781 * posix/bug-regex31.c: Include <stdlib.h>.
13782
13783 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13784
13785 * nis/nss_compat/compat-spwd.c
13786 (getspent_next_nss_netgr): Remove unused variable.
13787 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13788
13789 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13790 nonmembers" output to use the right array.
13791
13792 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13793
13794 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13795
13796 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13797 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13798 * catgets/gencat.c (read_input_file): Likewise.
13799 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13800
13801 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13802 variable definition inside #if's controlling its use.
13803
13804 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13805
13806 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13807
13808 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13809
13810 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13811 unreachable code.
13812
13813 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13814
b68e08db
RM
13815 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13816 * configure: Regenerated.
13817
b350afab
RM
13818 * Makerules: Revert last change.
13819 * elf/Makefile: Likewise.
13820
28368601
RM
138212011-06-09 Roland McGrath <roland@hack.frob.com>
13822
13823 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13824 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13825 (reloc-link): Likewise.
13826
11988f8f
UD
138272011-06-09 Ulrich Drepper <drepper@gmail.com>
13828
13829 * elf/Makefile: Add rules to build pldd.
13830 * elf/pldd.c: New file.
13831 * elf/pldd-xx.c: New file.
13832
e80fab37
UD
138332011-06-07 Ulrich Drepper <drepper@gmail.com>
13834
13835 * version.h: Update for 2.15 development version.
13836
9b849836
DM
138372011-06-07 David S. Miller <davem@davemloft.net>
13838
13839 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13840 ifuncs.
13841 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13842 elf_machine_lazy_rel): Likewise.
13843 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13844 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13845 elf_machine_lazy_rel): Likewise.
13846 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13847 dl_hwcap via passed in argument.
13848 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13849 Likewise.
13850
5a31b283
AK
138512011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13852
13853 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13854
069e52f8
RM
138552011-06-06 Roland McGrath <roland@hack.frob.com>
13856
13857 [BZ #12849]
13858 * manual/fdl-1.1.texi: New file, verbatim from:
13859 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13860 * manual/lgpl-2.1.texi: New file, verbatim from:
13861 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13862 * manual/Makefile (licenses): New variable, list those new file names.
13863 (texis): Use it.
13864 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13865
13866 * manual/fdl.texi: File removed.
13867 * manual/lesser.texi: File removed.
13868 * manual/libc.texinfo (Copying, Documentation License):
13869 Use new @include file names, put @appendix directive before @include.
13870
f16846a5
JJ
138712011-06-04 Jakub Jelinek <jakub@redhat.com>
13872
13873 [BZ #12841]
13874 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13875 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13876 (mq_open): Add __NTH.
13877
3d29045b
L
138782011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13879
13880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13881 Assume Intel Core i3/i5/i7 processor if AVX is available.
13882
8c297311
UD
138832011-05-31 Ulrich Drepper <drepper@gmail.com>
13884
13885 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13886 typo.
13887
c8fc0c91
UD
138882011-05-31 Andreas Schwab <schwab@redhat.com>
13889
13890 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13891 memory. Use alloca_account. Fix memory leak when retrying.
13892
5b27a807
UD
138932011-05-31 Ulrich Drepper <drepper@gmail.com>
13894
356f8bc6
UD
13895 * version.h (RELEASE): Bump for 2.14 release.
13896 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13897
5b27a807
UD
13898 * config.make.in (RANLIB): Remove entry.
13899
01f16ab0
UD
139002011-05-30 Ulrich Drepper <drepper@gmail.com>
13901
41fce8bd
UD
13902 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13903 (libc.pot): Work around missing support for .ksh extension in xgettext.
13904
4769ae77
UD
13905 [BZ #12684]
13906 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13907 if both request failed.
13908 (send_dg): In case of server errors clear resplen or *resplen2.
13909
6b1e7d19
UD
13910 [BZ #12454]
13911 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13912 when there are multiple maps.
13913 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13914 (_dl_fini): Remove test here.
13915
01f16ab0
UD
13916 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13917
b1ebd700
UD
139182011-05-29 Ulrich Drepper <drepper@gmail.com>
13919
7ae22829
UD
13920 [BZ #12350]
13921 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13922 bit from old_res_options.
13923 (gaih_inet): Likewise.
13924
553149f6 13925 [BZ #11099]
18a84741 13926 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13927 as signed.
13928
652ffab1
UD
13929 * resolv/res_init.c (res_setoptions): Make the code more compact.
13930
16985fd0
UD
13931 [BZ #11558]
13932 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13933 set RES_USEVC.
13934
0464f746
UD
13935 [BZ #11634]
13936 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13937
7d17596c
UD
13938 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13939
cf6bbbd7
UD
13940 [BZ #11781]
13941 * malloc/malloc.h: Declare malloc hook variables as volatile.
13942
13f1ab36
UD
13943 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13944 in last patch.
13945
b1ebd700
UD
13946 [BZ #11799]
13947 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13948 raise in the comment.
80e2212d
UD
13949 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13950 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13951 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13952
ce67228d
UD
139532011-05-28 Ulrich Drepper <drepper@gmail.com>
13954
8887a920
UD
13955 [BZ #12811]
13956 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13957 grow the buffers more if it already has to be sufficient.
13958 (build_wcs_upper_buffer): Likewise.
13959 * posix/regexec.c (check_matching): Likewise.
13960 (clean_state_log_if_needed): Likewise.
13961 (extend_buffers): Don't enlarge buffers beyond size of the input
13962 buffer.
13963 Patches mostly by Emil Wojak <emil@wojak.eu>.
13964 * posix/bug-regex32.c: New file.
13965 * posix/Makefile (tests): Add bug-regex32.
13966
4f031072
UD
13967 * locale/findlocale.c (_nl_find_locale): Return right away if
13968 _nl_explode_name failed.
13969 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13970
d0478f0c
UD
13971 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13972
de81b246
UD
13973 * debug/xtrace.sh: Unify messages.
13974 * malloc/memusage.sh: Likewise.
13975
c738465a
UD
13976 [BZ #12813]
13977 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13978 time symbol from vDSO. Substitute with vsyscall if not available.
13979 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13980 __vdso_time.
13981
f1f929d7
UD
13982 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13983 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13984 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13985 Add sendmmsg and internal_sendmmsg.
13986 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13987 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13988 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13989
ce67228d
UD
13990 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13991 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13992 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13993
e57420c6
UD
139942011-05-27 Ulrich Drepper <drepper@gmail.com>
13995
a8509ca5
UD
13996 [BZ #12813]
13997 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13998 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13999 available.
14000 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14001 __vdso_getcpu.
14002
e57420c6
UD
14003 [BZ #12814]
14004 * iconvdata/Makefile (tests): Add bug-iconv9.
14005 * iconvdata/bug-iconv9.c: New file.
14006
4d07db15
AS
140072011-05-27 Andreas Schwab <schwab@redhat.com>
14008
14009 [BZ #12814]
14010 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14011
ea486f69
JJ
140122011-05-25 Jakub Jelinek <jakub@redhat.com>
14013
14014 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14015 (struct user_regs_struct): Change intcs field back to cs.
14016
6f038433
UD
140172011-05-25 Ulrich Drepper <drepper@gmail.com>
14018
14019 * po/ja.po: Update from translation team.
14020
67f86a25
UD
140212011-05-23 Ulrich Drepper <drepper@gmail.com>
14022
14023 [BZ #12795]
14024 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14025 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14026
def7fbd6
AS
140272011-05-20 Andreas Schwab <schwab@redhat.com>
14028
14029 * stdlib/longlong.h: Update from GCC.
14030
f50ef8f1
AS
140312011-05-23 Andreas Schwab <schwab@redhat.com>
14032
14033 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14034 parameter name.
14035 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14036 Add parameter name.
14037 (__sysconf): Pass it down.
14038
de7ce8f1
UD
140392011-05-22 Ulrich Drepper <drepper@gmail.com>
14040
f2962a71
UD
14041 [BZ #12671]
14042 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14043 some situations.
14044 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14045 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14046 add in in __libc_use_alloca calls. Adjust callers.
14047 (glob): Use malloc in some situations.
14048
de7ce8f1
UD
14049 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14050 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14051 pltexit.
14052
aec84f53
UD
140532011-05-21 Ulrich Drepper <drepper@gmail.com>
14054
05bb4a68
UD
14055 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14056 and CLOCK_BOOTTIME_ALARM.
14057
7ea72f99
UD
14058 [BZ #12782]
14059 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14060 is returned.
14061
7e4afad5
UD
14062 * string/_strerror.c (__strerror_r): Print negative errors as signed
14063 numbers.
14064
8e211fec
UD
14065 [BZ #12777]
14066 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14067 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14068 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14069
f7d82dc9
UD
14070 * configure.in: Fix typo in redirection and correct removal of test
14071 files in two cases.
14072
cc9e536d
UD
14073 [BZ #12788]
14074 * locale/setlocale.c (new_composite_name): Fix test to check for
14075 identical name of all categories.
14076
aec84f53
UD
14077 [BZ #12792]
14078 * libio/filedoalloc.c (local_isatty): New function.
14079 (_IO_file_doallocate): Use local_isatty.
14080 * stdio-common/perror.c (perror): In case a new stream is used
14081 forward the stream error.
14082 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14083 error flag.
14084
78e64fdc
RT
140852011-05-20 Ulrich Drepper <drepper@gmail.com>
14086
34a9094f
UD
14087 [BZ #11869]
14088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14089 alloca.
14090 * include/alloca.h (extend_alloca_account): Define.
14091
78e64fdc
RT
14092 [BZ #11857]
14093 * posix/regex.h: Fix comments with documentation of user-accessible
14094 fields after compilation and describe correct free'ing of pattern
14095 after re_compile_pattern.
14096 Patch by Reuben Thomas <rrt@sc3d.org>.
14097
457bddfc
RA
140982011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14099
14100 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14101 and -mno-altivec to prevent the compiler from using Altivec and/or
14102 VSX instructions when the corresponding registers are not available.
14103
a4527b51
AS
141042011-05-19 Andreas Schwab <schwab@redhat.com>
14105
14106 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14107
ed690b2f
UD
141082011-05-19 Ulrich Drepper <drepper@gmail.com>
14109
14110 * libio/freopen.c (freopen): Use __dup2, not dup2.
14111 * libio/freopen64.c (freopen64): Likewise.
14112
8db73634
L
141132011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14114
14115 [BZ #12775]
14116 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14117 * math/Makefile (tests): Add test-powl.
14118 (CFLAGS-test-powl.c): Define.
14119 * math/test-powl.c: New file.
14120
0a197a9d
L
141212011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14122
14123 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14124
ee30c380
UD
141252011-05-17 Ulrich Drepper <drepper@gmail.com>
14126
14127 [BZ #11837]
14128 * iconvdata/gb18030.c: Update to GB18020-2005.
14129
6ce75379
UD
141302011-05-16 Ulrich Drepper <drepper@gmail.com>
14131
a4b89fd8
AR
14132 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14133 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14134 Patch by Aharon Robbins <arnold@skeeve.com>.
14135
ea389b12
UD
14136 [BZ #11892]
14137 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14138 on the stack.
14139
68a3f91f
UD
14140 [BZ #11895]
14141 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14142 through underflows.
14143
15cc7dd1
UD
14144 [BZ #12766]
14145 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14146 point to strings before performing equality test for error_one_per_line
14147 mode.
14148
f3799213
UD
14149 [BZ #11697]
14150 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14151
d79a9c94
UD
14152 [BZ #11820]
14153 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14154 (struct user_fpregs_struct): Avoid __uint*_t types.
14155
56e5eb46
UD
14156 [BZ #6420]
14157 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14158 symbol info. Use it instead of calling _dl_addr locally.
14159 (lock_and_info): New function.
14160 (tr_freehook): Call lock_and_info and pass symbol info as additional
14161 parameter to tr_where.
14162 (tr_mallochook): Likewise.
14163 (tr_reallochook): Likewise.
14164 (tr_memalignhook): Likewise.
14165
6ce75379
UD
14166 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14167 used and couldn't be at all thread-safe.
14168
f8a3b5bf
UD
141692011-05-15 Ulrich Drepper <drepper@gmail.com>
14170
94b7cc37
UD
14171 * libio/freopen.c (freopen): Don't close old file descriptor
14172 before the new one is opened. Instead dup the new file descriptor
14173 to the old one after the new stream is created.
14174 * libio/freopen64.c (freopen64): Likewise.
14175 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14176 * libio/fileops.c (_IO_new_file_close_it): Handle new
14177 _IO_FLAGS2_NOCLOSE flag.
14178 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14179 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14180 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14181 _IO_FLAGS2_NOCLOSE flag.
14182 * include/unistd.h: Add hidden_proto for dup3.
14183 Define __have_dup3.
14184 * io/dup3.c: Define hidden symbol.
14185 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14186
bd25564e
UD
14187 [BZ #7101]
14188 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14189 when an incomplete long option is used.
14190 * posix/tst-getopt_long1.c: New file.
14191 * posix/Makefile (tests): Add tst-getopt_long1.
14192
c84cfef4
UD
14193 [BZ #10138]
14194 * scripts/config.guess: Update from autoconf-2.68.
14195 * scripts/config.sub: Likewise.
14196
3b85df27
UD
14197 [BZ #10157]
14198 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14199 tests into ...
14200 (has_cpuclock): ...this. New function.
14201 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14202 macro here based on has_cpuclock code.
14203
15a856b1
UD
14204 [BZ #10149]
14205 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14206 First byte (not low byte) is now always NUL.
14207 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14208
05f399e6
UD
14209 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14210 Use non-cancelable interfaces.
14211
10a52685 14212 [BZ #9809]
94ecc67d
UD
14213 * locale/iso-639.def: Add entry for Sorani.
14214
f8a3b5bf
UD
14215 [BZ #11901]
14216 * include/stdlib.h: Move include protection to the right place.
14217 Define abort_msg_s. Declare __abort_msg with it.
14218 * stdlib/abort.c (__abort_msg): Adjust type.
14219 * assert/assert.c (__assert_fail_base): New function. Majority
14220 of code from __assert_fail. Allocate memory for __abort_msg with
14221 mmap.
14222 (__assert_fail): Now call __assert_fail_base.
14223 * assert/assert-perr.c: Remove bulk of implementation. Use
14224 __assert_fail_base.
14225 * include/assert.hL Declare __assert_fail_base.
14226 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14227 mmap.
14228 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14229
1af4e298
UD
142302011-05-14 Ulrich Drepper <drepper@gmail.com>
14231
f8a3b5bf 14232 [BZ #11952]
d26dfc60
MG
14233 [BZ #12453]
14234 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14235 until all modules are registered in the DTV.
14236 * elf/Makefile: Add rules to build and run tst-tls19.
14237 * elf/tst-tls19.c: New file.
14238 * elf/tst-tls19mod1.c: New file.
14239 * elf/tst-tls19mod2.c: New file.
14240 * elf/tst-tls19mod3.c: New file.
14241 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14242
2fc54d6f
UD
14243 [BZ #12083]
14244 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14245 correctly.
14246
98d76b46
UD
14247 [BZ #12601]
14248 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14249 two-byte sequence errors.
14250 * iconvdata/Makefile (tests): Add bug-iconv8.
14251 * iconvdata/bug-iconv8.c: New file.
14252
da3c19ef
UD
14253 [BZ #12626]
14254 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14255 buf2 definition.
14256
ca408c15
UD
14257 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14258
d6f67f7d
UD
14259 [BZ #12432]
14260 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14261 (dummy_getcfa): New function.
14262 (init): Get _Unwind_GetCFA address, use dummy if not found.
14263 (backtrace_helper): In recursion check, also check whether CFA changes.
14264 (__backtrace): Completely initialize arg.
14265
1af4e298 14266 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14267 storing incomplete byte sequence in state object. Avoid testing for
14268 guaranteed too small input if we know there is enough data available.
1af4e298 14269
da62f81b
AS
142702011-05-11 Andreas Schwab <schwab@redhat.com>
14271
14272 * Makeconfig (+link-pie): Indent.
14273 * Rules (binaries-pie): Define if $(have-fpie) and
14274 $(build-shared).
14275 (binaries-shared): Also filter out $(binaries-pie).
14276 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14277 * nscd/Makefile (others-pie): Add nscd.
14278 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14279 ($(objpfx)nscd): Remove command override.
14280 * login/Makefile (others-pie): Add pt_chown.
14281 ($(objpfx)pt_chown): Remove command override.
14282 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14283 remove command overrides.
14284
fcabc0f8
UD
142852011-05-13 Ulrich Drepper <drepper@gmail.com>
14286
20030ae6
UD
14287 * libio/tst_putwc.c: Fix error messages.
14288
fcabc0f8
UD
14289 [BZ #12724]
14290 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14291 currently writing and seek to current position when not.
14292 * libio/Makefile (tests): Add bug-fclose1.
14293 * libio/bug-fclose1.c: New file.
14294
320a5dc0
PB
142952011-05-12 Ulrich Drepper <drepper@gmail.com>
14296
14297 [BZ #12511]
14298 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14299 don't set DF_1_NODELETE here.
14300 (do_lookup_x): When entering new entry test for copy relocation
14301 and if necessary set DF_1_NODELETE flag.
14302 * elf/tst-unique4.cc: New file.
14303 * elf/tst-unique4.h: New file.
14304 * elf/tst-unique4lib.cc: New file.
14305 * elf/Makefile: Add rules to build and run tst-unique4.
14306 Patch by Piotr Bury <pbury@goahead.com>.
14307
22836f52
UD
143082011-05-11 Ulrich Drepper <drepper@gmail.com>
14309
f574184a
UD
14310 [BZ #12052]
14311 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14312
e1fb097f
UD
14313 [BZ #12625]
14314 * misc/mntent_r.c (addmntent): Flush the stream after the output
14315
22836f52
UD
14316 [BZ #12393]
14317 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14318 (is_trusted_path_normalize): Skip initial colon. Append slash
14319 to empty buffer. Duplicate is_trusted_path code but allow
14320 constructed patch to be prefix.
14321 (is_dst): Allow $ORIGIN followed by /.
14322 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14323 Correct testing of result of is_trusted_path_normalize
14324 (decompose_rpath): Fix warning.
14325
7b3b0b2a
UD
143262011-05-10 Ulrich Drepper <drepper@gmail.com>
14327
14328 [BZ #11257]
14329 * grp/initgroups.c (internal_getgrouplist): When we found the service
14330 list through the initgroups entry in nsswitch.conf do not always
14331 continue on a successful lookup. Don't always use the
eac80ce2 14332 __nss_group_database value if it is set.
7b3b0b2a
UD
14333 * nss/nsswitch.conf (initgroups): Change action for successful db
14334 lookup to continue for compatibility.
14335
2a81eaa5
UD
143362011-05-09 Ulrich Drepper <drepper@gmail.com>
14337
be97a69e
UD
14338 [BZ #11532]
14339 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14340 and CP774 modules.
14341 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14342 and CP774 modules.
14343 * iconvdata/tst-tables.sh: Likewise.
14344 * iconvdata/cp770.c: New file.
14345 * iconvdata/cp771.c: New file.
14346 * iconvdata/cp772.c: New file.
14347 * iconvdata/cp773.c: New file.
14348 * iconvdata/cp774.c: New file.
14349 * iconvdata/testdata/CP770: New file.
14350 * iconvdata/testdata/CP770..UTF8: New file.
14351 * iconvdata/testdata/CP771: New file.
14352 * iconvdata/testdata/CP771..UTF8: New file.
14353 * iconvdata/testdata/CP772: New file.
14354 * iconvdata/testdata/CP772..UTF8: New file.
14355 * iconvdata/testdata/CP773: New file.
14356 * iconvdata/testdata/CP773..UTF8: New file.
14357 * iconvdata/testdata/CP774: New file.
14358 * iconvdata/testdata/CP774..UTF8: New file.
14359
14360 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14361 END CHARMAP line.
14362 * iconvdata/gen-8bit-gap.sh: Likewise.
14363 * iconvdata/gen-8bit.sh: Likewise.
14364
c1e9e399
UD
14365 * locale/iso-639.def: Add ary entry.
14366
24c55fb3 14367 [BZ #11258]
96b4b1b0
UD
14368 * locale/C-translit.h.in: Add U20A1 transliteration.
14369
bdc2f971
KB
14370 [BZ #12178]
14371 * locale/iso-639.def: Add wae entry.
14372 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14373
2952b117
UD
14374 [BZ #12545]
14375 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14376 for n.
14377
2a81eaa5
UD
14378 [BZ #12711]
14379 * locale/C-translit.h.in: Add entry for U20B9.
14380 Patch by pravin.d.s@gmail.com.
14381
28377d1b
UD
143822011-05-08 Ulrich Drepper <drepper@gmail.com>
14383
7fb90fb8
UD
14384 [BZ #12713]
14385 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14386 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14387 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14388 in rtld. Use *stat64.
7fb90fb8 14389 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14390 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14391 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14392 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14393 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14394 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14395 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14396 __fstatat64 macros.
7fb90fb8
UD
14397 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14398 * dirent/rewinddir.c: Add libc_hidden_def.
14399 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14400 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14401
28377d1b
UD
14402 * include/dirent.h (__alloc_dir): Add flags parameter.
14403 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14404 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14405 __alloc_dir.
14406 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14407 from fdopendir if O_CLOEXEC is already set.
14408
66bdbaa4
AM
144092011-03-15 Alan Modra <amodra@gmail.com>
14410
14411 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14412 l_tls_firstbyte_offset non-zero. Save padding offset in
14413 l_tls_firstbyte_offset for later use.
14414 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14415 freeing static tls block.
14416
95721191
JN
144172011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14418
14419 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14420 where #ifdef was intended. The intent is to prevent ARG_MAX from
14421 being defined by the kernel headers.
14422
f87dfb1f
UD
144232011-05-07 Ulrich Drepper <drepper@gmail.com>
14424
14425 [BZ #12734]
14426 * resolv/resolv.h: Define RES_NOTLDQUERY.
14427 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14428 no-tld-query and set RES_NOTLDQUERY.
14429 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14430 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14431 modern BIND to search name as TLD unless forbidden.
14432
47c3cd7a
UD
144332011-05-07 Petr Baudis <pasky@suse.cz>
14434 Ulrich Drepper <drepper@gmail.com>
14435
14436 [BZ #12393]
14437 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14438 (is_trusted_path): ...to here.
c1e9ea35 14439 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14440 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14441 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14442
8a35c912
PP
144432011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14444
14445 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14446 __BEGIN/__END_DECLS.
14447
acd41f47
UD
144482011-05-06 Ulrich Drepper <drepper@gmail.com>
14449
14450 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14451 NSS_STATUS_NOTFOUND if no record was found.
14452
597df647
AS
144532011-05-05 Andreas Schwab <schwab@redhat.com>
14454
14455 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14456 (headers-not-in-tirpc): Remove rpc/netdb.h
14457 * resolv/netdb.h: Revert last change.
14458
b9af1301
PP
144592011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14460
14461 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14462 circular dependency between libgcc.a and libc.a.
14463
4e34d5f5
AS
144642011-05-05 Andreas Schwab <schwab@redhat.com>
14465
14466 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14467 * nis/Makefile: Don't install rpcsvc/*.
14468 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14469 instead of <rpc/types.h>.
14470 (MAXHOSTNAMELEN): Define.
14471
00ee369c
AS
144722011-05-03 Andreas Schwab <schwab@redhat.com>
14473
14474 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14475
0b592a30
MB
144762011-04-28 Maciej Babinski <mbabinski@google.com>
14477
14478 [BZ #12714]
14479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14480 gethostbyname4_r when IPv6 results are possible.
14481
6e04cbbe
UD
144822011-05-02 Ulrich Drepper <drepper@gmail.com>
14483
14484 [BZ #12723]
14485 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14486 _PC_PIPE_BUF handling.
14487
e4ecafe0
BH
144882011-04-30 Bruno Haible <bruno@clisp.org>
14489
14490 [BZ #12717]
14491 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14492 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14493 to 'int'.
14494 * inet/getnameinfo.c (getnameinfo): Likewise.
14495
125ee683
UD
144962011-04-29 Ulrich Drepper <drepper@gmail.com>
14497
14498 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14499 to groups setting in database lookup.
14500 * nss/nsswitch.conf: Add initgroups entry.
14501
b722481a
EB
145022011-04-22 Ulrich Drepper <drepper@gmail.com>
14503
14504 [BZ #12685]
14505 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14506 mode string.
14507 Patch by Eric Blake <eblake@redhat.com>.
14508
4df46dbd
L
145092011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14510
14511 * sunrpc/Makefile (need-export-routines): Add svc_run.
14512 (routines): Remove svc_run.
14513 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14514 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14515 * sunrpc/svc_run.c (svc_run): Likewise.
14516 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14517
e84142d2
UD
145182011-04-21 Ulrich Drepper <drepper@gmail.com>
14519
14520 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14521 problem in reallocation in last patch.
14522
877175d8
UD
145232011-04-20 Ulrich Drepper <drepper@gmail.com>
14524
14525 * sunrpc/Makefile: Move inclusion of Rules.
14526
ab8eed78
UD
145272011-04-19 Ulrich Drepper <drepper@gmail.com>
14528
14529 * nss/nss_files/files-initgroups.c: New file.
14530 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14531 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14532 _nss_files_initgroups_dyn.
14533
e3d8f584
RS
145342011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14535
14536 * elf/elf.h (R_ARM_IRELATIVE): Define.
14537
af190f45
UD
145382011-04-19 Ulrich Drepper <drepper@gmail.com>
14539
14540 * po/ru.po: Update from translation team.
14541
53cf59ef
UD
145422011-04-17 Ulrich Drepper <drepper@gmail.com>
14543
14544 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14545 dependencies.
14546
4c559bcd
MF
145472011-02-06 Mike Frysinger <vapier@gentoo.org>
14548
14549 [BZ #12653]
14550 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14551 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14552 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14553 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14554 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14555
4420675c
AS
145562011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14557
14558 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14559 differing bytes.
14560 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14561 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14562 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14563
75ea32ab
UD
145642011-04-17 Ulrich Drepper <drepper@gmail.com>
14565
14566 [BZ #12420]
14567 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14568 storing it.
14569 * stdlib/bug-getcontext.c: New file.
14570 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14571
27390476
AK
145722011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14573
14574 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14575 instructions into .machine "z9-109".
14576 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14577 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14578
10442705
AK
145792011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14580
14581 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14582 between environment variables and auxiliary vector.
14583
7b57bfe5
UD
145842011-04-16 Ulrich Drepper <drepper@gmail.com>
14585
14586 * Makefile: Add rules to build linkobj/libc.so.
14587 * include/libc-symbols.h: Define libc_hidden_nolink.
14588 * include/rpc/auth.h: Mark functions which are to be hidden.
14589 * include/rpc/auth_des.h: Likewise.
14590 * include/rpc/auth_unix.h: Likewise.
14591 * include/rpc/clnt.h: Likewise.
14592 * include/rpc/des_crypt.h: Likewise.
14593 * include/rpc/key_prot.h: Likewise.
14594 * include/rpc/pmap_clnt.h: Likewise.
14595 * include/rpc/pmap_prot.h: Likewise.
14596 * include/rpc/pmap_rmt.h: Likewise.
14597 * include/rpc/rpc_msg.h: Likewise.
14598 * include/rpc/svc.h: Likewise.
14599 * include/rpc/svc_auth.h: Likewise.
14600 * include/rpc/xdr.h: Likewise.
14601 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14602 * nss/Makefile: Likewise.
14603 * sunrpc/Makefile: Don't install headers. Build library with normal
14604 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14605 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14606 for the compat linking library. Remove use of INTDEF/INTUSE.
14607 * sunrpc/auth_none.c: Likewise.
14608 * sunrpc/auth_unix.c: Likewise.
14609 * sunrpc/authdes_prot.c: Likewise.
14610 * sunrpc/authuxprot.c: Likewise.
14611 * sunrpc/clnt_gen.c: Likewise.
14612 * sunrpc/clnt_perr.c: Likewise.
14613 * sunrpc/clnt_raw.c: Likewise.
14614 * sunrpc/clnt_simp.c: Likewise.
14615 * sunrpc/clnt_tcp.c: Likewise.
14616 * sunrpc/clnt_udp.c: Likewise.
14617 * sunrpc/clnt_unix.c: Likewise.
14618 * sunrpc/des_crypt.c: Likewise.
14619 * sunrpc/des_soft.c: Likewise.
14620 * sunrpc/get_myaddr.c: Likewise.
14621 * sunrpc/key_call.c: Likewise.
14622 * sunrpc/key_prot.c: Likewise.
14623 * sunrpc/netname.c: Likewise.
14624 * sunrpc/pm_getmaps.c: Likewise.
14625 * sunrpc/pm_getport.c: Likewise.
14626 * sunrpc/pmap_clnt.c: Likewise.
14627 * sunrpc/pmap_prot.c: Likewise.
14628 * sunrpc/pmap_prot2.c: Likewise.
14629 * sunrpc/pmap_rmt.c: Likewise.
14630 * sunrpc/publickey.c: Likewise.
14631 * sunrpc/rpc_cmsg.c: Likewise.
14632 * sunrpc/rpc_common.c: Likewise.
14633 * sunrpc/rpc_dtable.c: Likewise.
14634 * sunrpc/rpc_prot.c: Likewise.
14635 * sunrpc/rpc_thread.c: Likewise.
14636 * sunrpc/rtime.c: Likewise.
14637 * sunrpc/svc.c: Likewise.
14638 * sunrpc/svc_auth.c: Likewise.
14639 * sunrpc/svc_authux.c: Likewise.
14640 * sunrpc/svc_raw.c: Likewise.
14641 * sunrpc/svc_run.c: Likewise.
14642 * sunrpc/svc_simple.c: Likewise.
14643 * sunrpc/svc_tcp.c: Likewise.
14644 * sunrpc/svc_udp.c: Likewise.
14645 * sunrpc/svc_unix.c: Likewise.
14646 * sunrpc/svcauth_des.c: Likewise.
14647 * sunrpc/xcrypt.c: Likewise.
14648 * sunrpc/xdr.c: Likewise.
14649 * sunrpc/xdr_array.c: Likewise.
14650 * sunrpc/xdr_float.c: Likewise.
14651 * sunrpc/xdr_intXX_t.c: Likewise.
14652 * sunrpc/xdr_mem.c: Likewise.
14653 * sunrpc/xdr_rec.c: Likewise.
14654 * sunrpc/xdr_ref.c: Likewise.
14655 * sunrpc/xdr_sizeof.c: Likewise.
14656 * sunrpc/xdr_stdio.c: Likewise.
14657
e6c61494
UD
146582011-04-10 Ulrich Drepper <drepper@gmail.com>
14659
14660 [BZ #12650]
14661 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14662 * sysdeps/ia64/dl-tls.h: Likewise.
14663 * sysdeps/powerpc/dl-tls.h: Likewise.
14664 * sysdeps/s390/dl-tls.h: Likewise.
14665 * sysdeps/sh/dl-tls.h: Likewise.
14666 * sysdeps/sparc/dl-tls.h: Likewise.
14667 * sysdeps/x86_64/dl-tls.h: Likewise.
14668 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14669
34fe483e
AS
146702011-03-14 Andreas Schwab <schwab@redhat.com>
14671
14672 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14673 rpath element also skip the following colon.
14674 (expand_dynamic_string_token): Add is_path parameter and pass
14675 down to DL_DST_REQUIRED and _dl_dst_substitute.
14676 (decompose_rpath): Call expand_dynamic_string_token with
14677 non-zero is_path. Ignore empty rpaths.
14678 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14679 with zero is_path.
14680
f12a32e6
AS
146812011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14682
14683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14684 Make cancelable.
14685
38a7d692
UD
146862011-04-09 Ulrich Drepper <drepper@gmail.com>
14687
14688 [BZ #12655]
14689 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14690 Patch by Filipe David Manana <fdmanana@apache.org>.
14691
e451d22b
AS
146922011-04-07 Andreas Schwab <schwab@redhat.com>
14693
14694 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14695 Maintain aligned stack.
14696 (CHECK_RSP): Remove unused macro.
14697
dedc7c7b
UD
146982011-04-03 Ulrich Drepper <drepper@gmail.com>
14699
14700 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14701 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14702
94521213
UD
147032011-04-02 Ulrich Drepper <drepper@gmail.com>
14704
14705 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14706
8cb700c0 14707 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14708
0354e355
L
147092011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14710
14711 [BZ #12518]
14712 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14713 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14714 * sysdeps/x86_64/memmove.c: New file.
14715 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14716 (memcpy): Renamed to ...
14717 (__new_memcpy): This.
14718 (memcpy): Provide GLIBC_2_14 memcpy.
14719 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14720 (memcpy): Provide GLIBC_2_2_5 memcpy.
14721
8593482f
UD
147222011-04-01 Ulrich Drepper <drepper@gmail.com>
14723
14724 [BZ #12631]
14725 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14726
81a5726b
AS
147272011-03-30 Andreas Schwab <schwab@redhat.com>
14728
14729 * misc/syncfs.c: New file.
14730 * misc/Makefile (routines): Add syncfs.
14731 * posix/unistd.h: Declare syncfs.
14732 * sysdeps/unix/syscalls.list: Add syncfs.
14733
00e5419f
AS
147342011-04-01 Andreas Schwab <schwab@redhat.com>
14735
14736 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14737 open_by_handle_at.
14738 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14739 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14740 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14741 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14742 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14743 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14744 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14745
748876bf
UD
147462011-04-01 Ulrich Drepper <drepper@gmail.com>
14747
658e451d
UD
14748 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14749 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14750 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14751 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14752 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14753 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14754 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14755
748876bf
UD
14756 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14757 sync_file_range.c with -fexceptions.
14758 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14759 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14760 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14761 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14762 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14763 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14764 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14765 sync_file_range as cancellation point
14766 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14767 now a wrapper around __call_sync_file_range with cancellation handling.
14768 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14769 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14770 function name to __call_sync_file_range.
14771 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14772 Add call_sync_file_range.
748876bf 14773
6e63d5e1
AS
147742011-04-01 Andreas Schwab <schwab@redhat.com>
14775
14776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14777 bits/timex.h.
6e63d5e1 14778
46998f74
UD
147792011-04-01 Ulrich Drepper <drepper@gmail.com>
14780
4c1423ed
UD
14781 * iconv/iconv.h: Fix typo in comment.
14782 * io/fcntl.h: Likewise.
14783 * libio/stdio.h: Likewise.
14784 * posix/spawn.h: Likewise.
14785 * posix/unistd.h: Likewise.
14786 * stdlib/stdlib.h: Likewise.
14787 * time/time.h: Likewise.
14788 * wcsmbs/wchar.h: Likewise.
14789
158648c0
UD
14790 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14791 open_by_handle): Add.
14792 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14793 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14794 Augment a few comments.
14795 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14796 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14797 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14798 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14799 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14800 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14801 open_by_handle.
14802
46998f74
UD
14803 * io/fcntl.h (AT_EMPTY_PATH): Define.
14804
83fe108b
UD
148052011-03-30 Ulrich Drepper <drepper@gmail.com>
14806
14807 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14808 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14809 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14810 to...
14811 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14812 * Versions.def: Add GLIBC_2.14.
14813 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14814 Export.
83fe108b 14815
bb242059
UD
148162011-03-22 Ulrich Drepper <drepper@gmail.com>
14817
14818 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14819 round counter.
14820 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14821
c97a1282
L
148222011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14823
14824 [BZ #12597]
14825 * string/test-strncmp.c (do_page_test): New function.
14826 (check2): Likewise.
14827 (test_main): Call check2.
14828 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14829
2a115601
UD
148302011-03-20 Ulrich Drepper <drepper@gmail.com>
14831
14832 [BZ #12587]
14833 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14834 Handle cache information in CPU leaf 4.
14835 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14836
8126d904
UD
148372011-03-18 Ulrich Drepper <drepper@gmail.com>
14838
042c49c6 14839 [BZ #12583]
8126d904
UD
14840 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14841 character representation.
14842 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14843
ccfe366e
RA
148442011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14845
14846 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14847 END(__isnan) to END(__isnanf) to match function entry point/label
14848 EALIGN(__isnanf,...).
14849
c6e13027
JJ
148502011-03-10 Jakub Jelinek <jakub@redhat.com>
14851
14852 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14853
33f85a3f
UD
148542011-03-10 Ulrich Drepper <drepper@gmail.com>
14855
028478fa
UD
14856 [BZ #12510]
14857 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14858 copy from the symbol referenced in the relocation to initialize the
14859 used variable.
14860 Patch by Piotr Bury <pbury@goahead.com>.
14861 * elf/Makefile: Add rules to build and tst-unique3.
14862 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14863 * elf/tst-unique3.cc: New file.
14864 * elf/tst-unique3.h: New file.
14865 * elf/tst-unique3lib.cc: New file.
14866 * elf/tst-unique3lib2.cc: New file.
14867
33f85a3f
UD
14868 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14869
03592fc7
MF
148702011-03-10 Mike Frysinger <vapier@gentoo.org>
14871
14872 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14873 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14874 to _start.
03592fc7 14875
6a5ee102
UD
148762011-03-06 Ulrich Drepper <drepper@gmail.com>
14877
14878 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14879 to-be-loaded object along a path to loader is ld.so.
14880
7e4ba49c
HJ
148812011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14882 Ulrich Drepper <drepper@gmail.com>
14883
14884 * sysdeps/x86_64/memset.S: After aligning destination, code
14885 branches to different locations depending on the value of
14886 misalignment, when multiarch is enabled. Fix this.
14887
148882011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14889
14890 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14891 Set _x86_64_preferred_memory_instruction for AMD processsors.
14892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14893 Set bit_Prefer_SSE_for_memop for AMD processors.
14894
13a804de
UD
148952011-03-04 Ulrich Drepper <drepper@gmail.com>
14896
14897 * libio/fmemopen.c (fmemopen): Optimize a bit.
14898
9d25c392
AS
148992011-03-03 Andreas Schwab <schwab@redhat.com>
14900
14901 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14902
a5543c6a
RM
149032011-03-03 Roland McGrath <roland@redhat.com>
14904
14905 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14906
012d35f7
DM
149072011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14908
7e4ba49c 14909 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14910 __bzero_ultra1 instead of __memset_ultra1.
14911
4bff6e01
AS
149122011-02-23 Andreas Schwab <schwab@redhat.com>
14913 Ulrich Drepper <drepper@gmail.com>
14914
14915 [BZ #12509]
14916 * include/link.h (struct link_map): Add l_orig_initfini.
14917 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14918 returning unsuccessfully.
14919 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14920 close of a file loaded at startup, restore the original l_initfini
14921 list.
14922 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14923 list, store the pointer.
14924 * elf/Makefile ($(objpfx)noload-mem): New rule.
14925 (noload-ENV): Define.
14926 (tests): Add $(objpfx)noload-mem.
14927 * elf/noload.c: Include <memcheck.h>.
14928 (main): Call mtrace. Close all opened handles.
14929
f2092faf
AS
149302011-02-17 Andreas Schwab <schwab@redhat.com>
14931
14932 [BZ #12454]
14933 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14934 dependencies are missing.
14935
6c8a2e88
ST
149362011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14937
f2092faf 14938 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14939 Hurd needs munmap.
14940 * sysdeps/mach/hurd/ifreq.h: New file.
14941
84a42118
PB
149422011-01-27 Petr Baudis <pasky@suse.cz>
14943 Ulrich Drepper <drepper@gmail.com>
14944
071f805e 14945 [BZ 12445]#
84a42118
PB
14946 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14947 to extend_alloca().
14948 * stdio-common/bug23.c: New file.
14949 * stdio-common/Makefile (tests): Add bug23.
14950
e23fe25b
AS
149512010-09-28 Andreas Schwab <schwab@redhat.com>
14952 Ulrich Drepper <drepper@gmail.com>
14953
14954 [BZ #12489]
14955 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14956 before performing relro protection. At old place add assertion
14957 to make sure nothing changed.
14958
d3f02e10
NS
149592011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14960 Glauber de Oliveira Costa <glommer@gmail.com>
14961
14962 * elf/elf.h: Add new ARM TLS relocs.
14963
d55fd7a5
RA
149642011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14965
14966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14967 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14968 cast from r3.
14969 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14970 'tests' variable.
14971 * sysdeps/wordsize-64/tst-writev.c: New file.
14972
2206397e
RA
149732011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14974
14975 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14976 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14977 insns in _dl_start to prevent a TOC reference before relocs are
14978 resolved.
14979
e9433893
UD
149802011-02-15 Ulrich Drepper <drepper@gmail.com>
14981
14982 [BZ #12469]
14983 * Makeconfig: Remove RANLIB definition.
14984 * Makerules: Don't use RANLIB.
14985 * aclocal.m4: Remove ranlib test.
14986 * configure.in: No need to check for ranlib.
14987 * elf/rtld-Rules: Don't use RANLIB.
14988
f75286c6
ST
149892011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14990
8e31c82d
ST
14991 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14992 protection macro.
14993 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14994 inclusion protection macro.
14995
f75286c6
ST
14996 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14997 SIGRTMIN and SIGRTMAX and print information in that case only when
14998 SIGRTMIN is defined.
14999
c1d0e639
JJ
150002011-02-11 Jakub Jelinek <jakub@redhat.com>
15001
15002 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15003 arginfo fn returning -1.
15004
15005 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15006 and thousands string is zero terminated.
15007
edf9294e
AS
150082011-02-03 Andreas Schwab <schwab@redhat.com>
15009
15010 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15011 sysdeps/unix/sysv/linux/bits/socket.h.
15012
2b7e92df
ST
150132011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15014
edf9294e
AS
15015 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15016 (__CPU_COUNT): Remove old macros.
15017 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15018 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15019 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
15020 (__sched_cpualloc, __sched_cpufree): Add declarations.
15021
a4c7ea7b
UD
150222011-02-05 Ulrich Drepper <drepper@gmail.com>
15023
15024 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15025 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15026 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15027 (readdhstai): Return value of addhstaiX call.
15028 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15029 (addgrbyX): Return value returned by cache_addgr.
15030 (readdgrbyname): Return value returned by addgrbyX.
15031 (readdgrbygid): Likewise.
15032 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15033 (addpwbyX): Return value returned by cache_addpw.
15034 (readdpwbyname): Return value returned by addhstbyX.
15035 (readdpwbyuid): Likewise.
15036 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15037 (addservbyX): Return value returned by cache_addserv.
15038 (readdservbyname): Return value returned by addservbyX:
15039 (readdservbyport): Likewise.
15040 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15041 (addhstbyX): Return value returned by cache_addhst.
15042 (readdhstbyname): Return value returned by addhstbyX.
15043 (readdhstbyaddr): Likewise.
15044 (readdhstbynamev6): Likewise.
15045 (readdhstbyaddrv6): Likewise.
15046 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15047 (readdinitgroups): Return value returned by addinitgroupsX.
15048 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15049 (prune_cache): Keep track of timeout value of re-added entries.
15050 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15051 * nscd/nscd.h: Adjust prototypes of readd* functions.
15052
a0bf67cc
RM
150532011-02-04 Roland McGrath <roland@redhat.com>
15054
15055 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15056 (nis_stats): Likewise.
15057 * nis/nis_modify.c (nis_modify): Likewise.
15058 * nis/nis_remove.c (nis_remove): Likewise.
15059 * nis/nis_add.c (nis_add): Likewise.
15060
15061 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15062
15063 * posix/fnmatch_loop.c: Add some consts.
15064
15065 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15066
435b95eb
L
150672011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15068
15069 [BZ #12460]
15070 * config.make.in (config-cflags-novzeroupper): Define.
15071 * configure.in: Substitute libc_cv_cc_novzeroupper.
15072 * elf/Makefile (AVX-CFLAGS): Define.
15073 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15074 (CFLAGS-tst-auditmod4a.c): Likewise.
15075 (CFLAGS-tst-auditmod4b.c): Likewise.
15076 (CFLAGS-tst-auditmod6b.c): Likewise.
15077 (CFLAGS-tst-auditmod6c.c): Likewise.
15078 (CFLAGS-tst-auditmod7b.c): Likewise.
15079 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15080
8517b15e
UD
150812011-02-02 Ulrich Drepper <drepper@gmail.com>
15082
15083 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15084 function to the callback.
15085 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15086
10a656fe
AS
150872011-02-02 Andreas Schwab <schwab@redhat.com>
15088
15089 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15090 of errno.
15091
968dad0a
UD
150922011-01-19 Ulrich Drepper <drepper@gmail.com>
15093
9f94d2ea 15094 [BZ #11724]
968dad0a
UD
15095 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15096 of constructors.
15097 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15098 of destructors.
15099 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15100
15101 [BZ #11724]
15102 * elf/Makefile: Add rules to build and run new test.
15103 * elf/tst-initorder.c: New file.
15104 * elf/tst-initorder.exp: New file.
15105 * elf/tst-initordera1.c: New file.
15106 * elf/tst-initordera2.c: New file.
15107 * elf/tst-initordera3.c: New file.
15108 * elf/tst-initordera4.c: New file.
15109 * elf/tst-initorderb1.c: New file.
15110 * elf/tst-initorderb2.c: New file.
15111 * elf/tst-order-a1.c: New file.
15112 * elf/tst-order-a2.c: New file.
15113 * elf/tst-order-a3.c: New file.
15114 * elf/tst-order-a4.c: New file.
15115 * elf/tst-order-b1.c: New file.
15116 * elf/tst-order-b2.c: New file.
15117 * elf/tst-order-main.c: New file.
15118 New test case by George Gensure <werkt0@gmail.com>.
15119
86e92359
UD
151202010-10-01 Andreas Schwab <schwab@redhat.com>
15121
15122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15123 decoding ACE if AI_CANONIDN.
15124
5d5732b0
UD
151252011-01-18 Ulrich Drepper <drepper@gmail.com>
15126
15127 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15128
a77e8cbc
UD
151292011-01-17 Ulrich Drepper <drepper@gmail.com>
15130
6392473f
UD
15131 * version.h (RELEASE): Bump for 2.13 release.
15132 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15133
620a0529
UD
15134 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15135
18ba70a5
UD
15136 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15137 MADV_NOHUGEPAGE.
32465c3e
UD
15138 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15139 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15140 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15141 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15142 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15143 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15144
c0dafcf1
UD
15145 * posix/getconf.c: Update copyright year.
15146 * catgets/gencat.c: Likewise.
15147 * csu/version.c: Likewise.
15148 * debug/catchsegv.sh: Likewise.
15149 * debug/xtrace.sh: Likewise.
15150 * elf/ldconfig.c: Likewise.
15151 * elf/ldd.bash.in: Likewise.
15152 * elf/sprof.c (print_version): Likewise.
15153 * iconv/iconv_prog.c: Likewise.
15154 * iconv/iconvconfig.c: Likewise.
15155 * locale/programs/locale.c: Likewise.
15156 * locale/programs/localedef.c: Likewise.
15157 * malloc/memusage.sh: Likewise.
15158 * malloc/mtrace.pl: Likewise.
15159 * nscd/nscd.c (print_version): Likewise.
15160 * nss/getent.c: Likewise.
15161
a77e8cbc
UD
15162 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15163 PF_CAIF, and PF_ALG.
15164 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15165
77e8bddf
AS
151662011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15167
1f20b93a
AS
15168 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15169 (modules-names): Use them.
15170 (ifunc-test-modules, ifunc-pie-tests): Define.
15171 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15172 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15173 (test-extras): Likewise.
15174 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15175 $(compile-command.c).
15176 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15177 (all-built-dso): Define.
15178 (check-textrel.out, check-execstack.out): Depend on it.
15179
77e8bddf
AS
15180 * configure.in: Don't override --enable-multi-arch.
15181
bc425b33
UD
151822011-01-15 Ulrich Drepper <drepper@gmail.com>
15183
15184 [BZ #6812]
15185 * nscd/hstcache.c (tryagain): Define.
15186 (cache_addhst): Return tryagain not notfound for temporary errors.
15187 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15188 failed.
15189
794c3ad3
UD
151902011-01-14 Ulrich Drepper <drepper@gmail.com>
15191
70181fdd
UD
15192 [BZ #10563]
15193 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15194 to make the syscall.
15195 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15196
794c3ad3
UD
15197 [BZ #12378]
15198 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15199 and fall back to matching as normal character if the string ends before
15200 the matching ']' is found. This is what POSIX requires.
15201 * posix/testfnm.c: Adjust test result.
15202 * posix/globtest.sh: Adjust test result. Add new test.
15203 * posix/tst-fnmatch.input: Likewise.
15204 * posix/tst-fnmatch2.c: Add new test.
15205
68dc9497
AS
152062010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15207
15208 * elf/Makefile (check-execstack): Revert last change. Depend on
15209 check-execstack.h.
15210 (check-execstack.h): New target.
15211 (generated): Add check-execstack.h.
15212 * elf/check-execstack.c: Include "check-execstack.h".
15213 (main): Revert last change.
15214 (handle_file): Return zero if GNU_STACK is absent and
15215 DEFAULT_STACK_PERMS doesn't include PF_X.
15216
451f001b
UD
152172011-01-13 Ulrich Drepper <drepper@gmail.com>
15218
cfa28e56
UD
15219 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15220 in child fails because the descriptor is already closed.
8cf8ce17
UD
15221 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15222 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15223 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15224
1086d70d
UD
15225 [BZ #12397]
15226 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15227 syscall.
15228
451f001b
UD
15229 [BZ #10484]
15230 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15231 temporary buffer used to handle multi lookups locally.
a85b5cb4 15232 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15233
08769175
UD
152342011-01-12 Ulrich Drepper <drepper@gmail.com>
15235
15236 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15237 loader is ld.so.
15238
5e49c52e
UD
152392011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15240
15241 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15242 alignment for SSE2.
15243
60522a5f
UD
152442011-01-12 Ulrich Drepper <drepper@gmail.com>
15245
15246 [BZ #12394]
15247 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15248 characters. When rounding increased number of integer digits recompute
15249 number of groups.
15250 * stdio-common/tst-grouping.c: New file.
15251 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15252
f257bbd7
UD
152532011-01-09 Ulrich Drepper <drepper@gmail.com>
15254
15255 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15256 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15257
15258 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15259 void.
15260 * bits/select.h: Likewise.
15261
fa9c15cb
UD
152622011-01-08 Ulrich Drepper <drepper@gmail.com>
15263
15264 * po/ja.po: Update from translation team.
15265
16c2895f
DM
152662011-01-04 David S. Miller <davem@sunset.davemloft.net>
15267
15268 [BZ #11155]
15269 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15270 implementation just like for lxstat, fxstatat, et al.
15271
2543fef2
JM
152722010-12-27 Jim Meyering <meyering@redhat.com>
15273
15274 [BZ #12348]
15275 * posix/regexec.c (build_trtable): Return failure indication upon
15276 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15277
98727dbe
UD
152782010-12-25 Ulrich Drepper <drepper@gmail.com>
15279
5bd6dc5c
UD
15280 [BZ #12201]
15281 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15282 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15283 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15284 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15285
97983464
UD
15286 [BZ #12207]
15287 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15288
98727dbe
UD
15289 [BZ #12204]
15290 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15291 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15292
4a531bb0
L
152932010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15294
15295 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15296 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15297 script has SORT_BY_INIT_PRIORITY.
15298 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15299 NO_CTORS_DTORS_SECTIONS is defined.
15300 * elf/soinit.c: Likewise.
15301 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15302 NO_CTORS_DTORS_SECTIONS is defined.
15303 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15304 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15305 * sysdeps/sh/init-first.c: Likewise.
15306 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15307
07eb4b71
UD
153082010-12-24 Ulrich Drepper <drepper@gmail.com>
15309
15310 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15311 always use the slow path.
15312
30950a5f
RA
153132010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15314
15315 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15316 similar rule which adds the sysdep directories to the header search in
15317 order to pick up the correct platform stackinfo.h.
15318 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15319 perform test if it is, otherwise return successfully without testing.
15320 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15321 DEFAULT_STACK_PERMS define in stackinfo.h.
15322 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15323 defined in stackinfo.h.
15324 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15325 DEFAULT_STACK_PERMS defined in stackinfo.h.
15326 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15327 * sysdeps/ia64/stackinfo.h: Likewise.
15328 * sysdeps/s390/stackinfo.h: Likewise.
15329 * sysdeps/sh/stackinfo.h: Likewise.
15330 * sysdeps/sparc/stackinfo.h: Likewise.
15331 * sysdeps/x86_64/stackinfo.h: Likewise.
15332 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15333 PF_X for powerpc64. Retain PF_X for powerpc32.
15334
db753e2c
UD
153352010-12-19 Ulrich Drepper <drepper@gmail.com>
15336
14b697f7
UD
15337 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15338 accurately.
db753e2c
UD
15339 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15340 GETDENTS_64BIT_ALIGNED.
15341
28300719
UD
153422010-12-14 Ulrich Drepper <dreper@gmail.com>
15343
14b697f7 15344 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15345
4f197237
AS
153462010-12-10 Andreas Schwab <schwab@redhat.com>
15347
dbb0472f
AS
15348 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15349 _GNU_SOURCE.
15350
4f197237
AS
15351 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15352 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15353 Remove __restrict.
15354 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15355 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15356
fb88ac72
UD
153572010-12-09 Ulrich Drepper <drepper@gmail.com>
15358
15359 [BZ #11655]
15360 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15361 are initialized.
15362
42acbb92
JJ
153632010-12-09 Jakub Jelinek <jakub@redhat.com>
15364
15365 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15366
c038d98d
UD
153672010-12-03 Ulrich Drepper <drepper@gmail.com>
15368
15369 * po/it.po: Update from translation team.
15370
3a4a2499
L
153712010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15372
15373 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15374 unused codes.
15375
1e24cf6e
UD
153762010-11-30 Ulrich Drepper <drepper@gmail.com>
15377
15378 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15379
a7690819
AS
153802010-11-24 Andreas Schwab <schwab@redhat.com>
15381
15382 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15383 specially.
15384 (gaih_getanswer_slice): Likewise.
15385
3bf8d1b1
JJ
153862010-10-20 Jakub Jelinek <jakub@redhat.com>
15387
15388 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15389
6db52fbb
PB
153902010-05-31 Petr Baudis <pasky@suse.cz>
15391
15392 [BZ #11149]
15393 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15394 silently even in the chroot mode.
15395
eaca7569
UD
153962010-11-22 Ulrich Drepper <drepper@gmail.com>
15397
15398 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15399 last patch a bit. Pretty printing
15400
3056dcdb
UD
154012010-05-31 Petr Baudis <pasky@suse.cz>
15402
15403 [BZ #10085]
15404 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15405 initialization of skip_initgroups_dyn.
15406
cf7c9078
UD
154072010-11-19 Ulrich Drepper <drepper@gmail.com>
15408
15409 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15410 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15411
a1fb5e3e
UD
154122010-11-16 Ulrich Drepper <drepper@gmail.com>
15413
15414 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15415
3540d66b
AS
154162010-11-11 Andreas Schwab <schwab@redhat.com>
15417
15418 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15419 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15420 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15421 ($(objpfx)tst-fnmatch-mem): New rule.
15422 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15423 * posix/tst-fnmatch.c (main): Call mtrace.
15424
13b69574
L
154252010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15426
15427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15428 Support Intel processor model 6 and model 0x2c.
15429
da93d214
LM
154302010-11-10 Luis Machado <luisgpm@br.ibm.com>
15431
15432 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15433 signed comparison.
15434
8ca52c6e
L
154352010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15436
15437 [BZ #12205]
15438 * string/test-strncasecmp.c (check_result): New function.
15439 (do_one_test): Use it.
15440 (check1): New function.
15441 (test_main): Use it.
15442 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15443 Support strcasecmp and strncasecmp.
15444
69da074d
UD
154452010-11-08 Ulrich Drepper <drepper@gmail.com>
15446
15447 [BZ #12194]
15448 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15449 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15450
ff02d528
L
154512010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15452
15453 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15454 IFUNC support.
15455 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15456 memset-x86-64.
15457 * sysdeps/x86_64/multiarch/bzero.S: New file.
15458 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15459 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15460 * sysdeps/x86_64/multiarch/memset.S: New file.
15461 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15463 Set bit_Prefer_SSE_for_memop for Intel processors.
15464 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15465 Define.
15466 (index_Prefer_SSE_for_memop): Define.
15467 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15468
344d0b54
LM
154692010-11-04 Luis Machado <luisgpm@br.ibm.com>
15470
15471 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15472 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15473
c0dde15b
UD
154742010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15475
15476 [BZ #12191]
15477 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15478 (__x86_64_raw_data_cache_size_half): Likewise.
15479 (__x86_64_raw_shared_cache_size): Likewise.
15480 (__x86_64_raw_shared_cache_size_half): Likewise.
15481
15482 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15483 (__x86_64_raw_data_cache_size_half): Likewise.
15484 (__x86_64_raw_shared_cache_size): Likewise.
15485 (__x86_64_raw_shared_cache_size_half): Likewise.
15486 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15487 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15488 and __x86_64_raw_shared_cache_size_half. Round
15489 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15490 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15491 to multiple of 256 bytes.
15492
0e516e0e
MS
154932010-11-03 Ulrich Drepper <drepper@gmail.com>
15494
15495 [BZ #12167]
15496 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15497 of inacessible symlinks. Verify result of symlink before returning it.
15498 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15499 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15500
0e012e87
ER
155012010-10-28 Erich Ritz <erichritz@gmail.com>
15502
15503 * math/math.h (isinf): Fix typo in comment.
15504
de0ff7bc
UD
155052010-11-01 Ulrich Drepper <drepper@gmail.com>
15506
15507 * po/da.po: Update from translation team.
15508
fa41c84d
UD
155092010-10-26 Ulrich Drepper <drepper@gmail.com>
15510
15511 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15512 is added to the list.
15513
f0967738
AK
155142010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15515 Ulrich Drepper <drepper@gmail.com>
15516
15517 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15518 the global list here. Move code to...
15519 (_dl_add_to_namespace_list): ...here. New function.
15520 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15521 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15522 * elf/dl-load.c (lose): Don't remove the element from the list.
15523 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15524 (_dl_map_object): Likewise.
15525
155262010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15527
15528 [BZ #12159]
15529 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15530 into all bytes of SSE register.
15531 Patch by Richard Li <richardpku@gmail.com>.
15532
f0967738 155332010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15534
15535 [BZ #12140]
15536 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15537 perturbing.
15538
d0b9e94f
MB
155392010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15540
15541 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15542 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15543 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15544 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15546 submachine.
15547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15548
8e9f92e9
AS
155492010-10-22 Andreas Schwab <schwab@redhat.com>
15550
15551 * include/dlfcn.h (__RTLD_SECURE): Define.
15552 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15553 mode & __RTLD_SECURE instead.
15554 (open_path): Rename preloaded parameter to secure.
15555 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15556 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15557 * elf/dl-deps.c (openaux): Likewise.
15558 * elf/rtld.c (struct map_args): Remove is_preloaded.
15559 (map_doit): Don't use it.
15560 (dl_main): Likewise.
15561 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15562 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15563
bc96fbda
AS
155642010-09-09 Andreas Schwab <schwab@redhat.com>
15565
15566 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15567 (sysd-rules-targets): Remove duplicates.
15568 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15569 rtld-%.$o dependency.
15570
22cd1c9b
AS
155712010-10-18 Andreas Schwab <schwab@redhat.com>
15572
15573 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15574 _dl_map_object do it.
15575
18edac48
UD
155762010-10-19 Ulrich Drepper <drepper@gmail.com>
15577
15578 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15579 fast fma builtins, define the macros in the C99 standard.
15580 (FP_FAST_FMAF): Likewise.
15581 (FP_FAST_FMAL): Likewise.
15582 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15583
15584 * bits/mathdef.h: Update copyright year.
15585 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15586
d2050124
MM
155872010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15588
15589 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15590 builtins, define the macros in the C99 standard.
15591 (FP_FAST_FMAF): Likewise.
15592 (FP_FAST_FMAL): Likewise.
15593 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15594 multiply/add.
15595 (FP_FAST_FMAF): Likewise.
15596
475facd1
JJ
155972010-10-15 Jakub Jelinek <jakub@redhat.com>
15598
15599 [BZ #3268]
15600 * math/libm-test.inc (fma_test): Some new testcases.
15601 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15602 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15603 y and infinite z. Do multiplication by C already in long double.
15604 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15606 y and infinite z. Do bitwise or of inexact bit into u.d.
15607 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15608 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15609 * sysdeps/i386/fpu/s_fma.S: Removed.
15610 * sysdeps/i386/fpu/s_fmal.S: Removed.
15611
7c08a05c
JJ
156122010-10-16 Jakub Jelinek <jakub@redhat.com>
15613
15614 [BZ #3268]
15615 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15616 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15617 computation is not scheduled after fetestexcept. Fix value
15618 of minimum denormal long double.
15619
f3f7372d
JJ
156202010-10-14 Jakub Jelinek <jakub@redhat.com>
15621
15622 [BZ #3268]
15623 * math/libm-test.inc (fma_test): Add some more tests.
15624 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15625 correctly.
15626
14d43591
AS
156272010-10-15 Andreas Schwab <schwab@redhat.com>
15628
15629 * scripts/data/localplt-s390-linux-gnu.data: New file.
15630 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15631
5e908464
JJ
156322010-10-13 Jakub Jelinek <jakub@redhat.com>
15633
15634 [BZ #3268]
15635 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15636 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15637 instead of dbl-64.
15638 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15639 inlines.
15640 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15641 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15642 if one of x and y is very large and the other is subnormal.
15643 * sysdeps/s390/fpu/s_fmaf.c: New file.
15644 * sysdeps/s390/fpu/s_fma.c: New file.
15645 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15646 * sysdeps/powerpc/fpu/s_fma.S: New file.
15647 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15648 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15649 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15650
156512010-10-12 Jakub Jelinek <jakub@redhat.com>
15652
15653 [BZ #3268]
15654 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15655 fma tests.
15656 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15657 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15658 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15659 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15660 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15661 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15662 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15663
b833d51f
UD
156642010-10-12 Ulrich Drepper <drepper@redhat.com>
15665
15666 [BZ #12078]
15667 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15668 * posix/bug-regex31.input: Add test case.
15669
1751705d
UD
156702010-10-11 Ulrich Drepper <drepper@gmail.com>
15671
e9b9cbf5
UD
15672 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15673 * posix/bug-regex31.input: New file.
15674
15675 [BZ #12078]
15676 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15677 (parse_sub_exp): Fix last change, use postorder.
15678
ef06edbe
UD
15679 * posix/bug-regex31.c: New file.
15680 * posix/Makefile: Add rules to build and run bug-regex31.
15681
a129c80d
UD
15682 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15683
15684 [BZ #12078]
15685 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15686
b76b818e
UD
15687 [BZ #12108]
15688 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15689 to have entries in sys_siglist.
15690
1751705d
UD
15691 [BZ #12093]
15692 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15693 be NULL.
15694
9ff8d36f
JJ
156952010-10-07 Jakub Jelinek <jakub@redhat.com>
15696
15697 [BZ #3268]
15698 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15699 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15700 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15701 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15702 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15703 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15704 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15705 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15706 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15707 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15708 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15709 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15710 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15711 * math/ftestexcept.c (fetestexcept): Likewise.
15712 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15713 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15714 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15715 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15716 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15717 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15718 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15719
af325969
UD
157202010-10-11 Ulrich Drepper <drepper@gmail.com>
15721
c579b202 15722 [BZ #12107]
af325969
UD
15723 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15724 newline.
15725
67a67b95
UD
157262010-10-06 Ulrich Drepper <drepper@gmail.com>
15727
15728 * string/bug-strstr1.c: New file.
15729 * string/Makefile: Add rules to build and run bug-strstr1.
15730
5fb308bc
EB
157312010-10-05 Eric Blake <eblake@redhat.com>
15732
15733 [BZ #12092]
15734 * string/str-two-way.h (two_way_long_needle): Always clear memory
15735 when skipping input due to the shift table.
15736
45db99c7
UD
157372010-10-03 Ulrich Drepper <drepper@gmail.com>
15738
3b111893
UD
15739 [BZ #12005]
15740 * malloc/mcheck.c: Handle large requests.
15741
45db99c7
UD
15742 [BZ #12077]
15743 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15744 for strncmp and strncasecmp.
15745 * string/stratcliff.c: Add tests for strcmp and strncmp.
15746 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15747
cf7a1eb8
NI
157482010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15749
15750 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15751 __set_fpscr.
15752
6484ba5e
AJ
157532010-09-30 Andreas Jaeger <aj@suse.de>
15754
15755 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15756 (CGROUP_SUPER_MAGIC): Define.
15757 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15758 Handle btrfs and cgroup file systems.
15759 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15760 Likewise.
15761
91c42559
LM
157622010-09-27 Luis Machado <luisgpm@br.ibm.com>
15763
15764 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15765 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15766
87a97932
AK
157672010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15768
15769 [BZ #12067]
15770 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15771 trying to locate the ELF header.
15772
c21cc9bc
AS
157732010-09-27 Andreas Schwab <schwab@redhat.com>
15774
15775 [BZ #11611]
15776 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15777 Mask out sign-bit copies when constructing f_fsid.
15778
315970f6
PB
157792010-09-24 Petr Baudis <pasky@suse.cz>
15780
15781 * debug/stack_chk_fail_local.c: Add missing licence exception.
15782 * debug/warning-nop.c: Likewise.
15783
1ac7a2c7
JM
157842010-09-15 Joseph Myers <joseph@codesourcery.com>
15785
15786 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15787 implementing getdents64 using getdents syscall, set d_type if
15788 __ASSUME_GETDENTS32_D_TYPE.
15789
56801c50
AS
157902010-09-16 Andreas Schwab <schwab@redhat.com>
15791
15792 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15793 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15794
dda51327
UD
157952010-09-21 Ulrich Drepper <drepper@redhat.com>
15796
15797 [BZ #12037]
15798 * posix/unistd.h: Undo change of feature selection for ftruncate from
15799 2010-01-11.
15800
8ffcee4a
UD
158012010-09-20 Ulrich Drepper <drepper@redhat.com>
15802
a545ecd9 15803 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15804 detection.
15805
e24f0a8b
AS
158062010-09-20 Andreas Schwab <schwab@redhat.com>
15807
15808 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15809 fanotify_mark.
15810 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15811
7291c56f
AS
158122010-09-14 Andreas Schwab <schwab@redhat.com>
15813
15814 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15815 variables after CHECK_SP call.
15816 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15817
bc5fb037
AS
158182010-09-13 Andreas Schwab <schwab@redhat.com>
15819 Ulrich Drepper <drepper@redhat.com>
15820
15821 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15822 re-relocationg ld.so.
15823 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15824 _dl_init_paths call.
15825 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15826 here anymore.
15827
e66e7419
UD
158282010-09-14 Ulrich Drepper <drepper@redhat.com>
15829
15830 * resolv/res_init.c (__res_vinit): Count the default server we added.
15831
c044aa75
CLT
158322010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15833 Ulrich Drepper <drepper@redhat.com>
15834
15835 [BZ #11968]
15836 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15837 (____longjmp_chk): Use %ebx for saving value across system call.
15838 Add unwind info.
15839
32cf4069
AS
158402010-09-06 Andreas Schwab <schwab@redhat.com>
15841
15842 * manual/Makefile: Don't mix pattern rules with normal rules.
15843
817328ee
AS
158442010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15845
15846 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15847 operation.
15848 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15849 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15850 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15851 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15852 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15853 Likewise.
15854
29fddf61
UD
158552010-09-04 Ulrich Drepper <drepper@redhat.com>
15856
15857 [BZ #11979]
15858 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15859 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15860
0959ffc9
UD
158612010-09-02 Ulrich Drepper <drepper@redhat.com>
15862
15863 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15864 * sysdeps/x86_64/addmul_1.S: Likewise.
15865 * sysdeps/x86_64/lshift.S: Likewise.
15866 * sysdeps/x86_64/mul_1.S: Likewise.
15867 * sysdeps/x86_64/rshift.S: Likewise.
15868 * sysdeps/x86_64/sub_n.S: Likewise.
15869 * sysdeps/x86_64/submul_1.S: Likewise.
15870
ece29840
ST
158712010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15872
0959ffc9
UD
15873 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15874 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15875 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15876 * bits/sched.h [__need_schedparam]
ece29840 15877 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15878 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15879 (__defined_schedparam): Define to 1.
ece29840
ST
15880 (__sched_param): New structure, identical to sched_param.
15881 (__need_schedparam): Undefine.
15882
e53a31fe
MF
158832010-08-31 Mike Frysinger <vapier@gentoo.org>
15884
fdc0c10d
MF
15885 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15886 (epoll_create1): Declare.
15887
e53a31fe
MF
15888 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15889
a726d796
AS
158902010-08-31 Andreas Schwab <schwab@redhat.com>
15891
15892 [BZ #7066]
15893 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15894 shifting retval into place.
15895
2f3e3dc7
UD
158962010-09-01 Ulrich Drepper <drepper@redhat.com>
15897
f2933da9
UD
15898 * nis/rpcsvc/nis.h: Update copyright notice.
15899 * nis/rpcsvc/nis.x: Likewise.
15900 * nis/rpcsvc/nis_callback.h: Likewise.
15901 * nis/rpcsvc/nis_callback.x: Likewise.
15902 * nis/rpcsvc/nis_object.x: Likewise.
15903 * nis/rpcsvc/nis_tags.h: Likewise.
15904 * nis/rpcsvc/yp.h: Likewise.
15905 * nis/rpcsvc/yp.x: Likewise.
15906 * nis/rpcsvc/ypupd.h: Likewise.
15907 * nis/yp_xdr.c: Likewise.
15908 * nis/ypupdate_xdr.c: Likewise.
15909
2f3e3dc7
UD
15910 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15911 mainly the body of pmap_getport. Add parameters to specify timeouts.
15912 (pmap_getport): Use __libc_rpc_getport.
15913 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15914 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15915 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15916
f3dcc2f9
AS
159172010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15918
15919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15920 fanotify_mark.
15921
6d34eb5b
RM
159222010-08-27 Roland McGrath <roland@redhat.com>
15923
15924 * sysdeps/i386/i686/multiarch/Makefile
15925 (CFLAGS-varshift.c): New variable.
15926
9ea3de11
UD
159272010-08-27 Ulrich Drepper <drepper@redhat.com>
15928
c96d23fc
UD
15929 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15930 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15931
9ea3de11
UD
15932 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15933
15934 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15935
623aac7f
L
159362010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15937
15938 * sysdeps/x86_64/strlen.S: Unroll the loop.
15939 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15940 strlen-sse2 strlen-sse2-bsf.
15941 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15942 __strlen_no_bsf if bit_Slow_BSF is set.
15943 (__strlen_sse42): Removed.
15944 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15945 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15946
8b2b7715
RM
159472010-08-25 Roland McGrath <roland@redhat.com>
15948
15949 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15950 * sysdeps/x86_64/multiarch/varshift.c: New file.
15951 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15952 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15953 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15954 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15955
e73015f2
L
159562010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15957
15958 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15959 strlen-sse2 strlen-sse2-bsf.
15960 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15961 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15962 (__strlen_sse2): Removed.
15963 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15964 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15966 bit_Slow_BSF for Atom.
15967 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15968 (index_Slow_BSF): Define.
15969 (HAS_SLOW_BSF): Define.
15970
df24a73e
UD
159712010-08-25 Ulrich Drepper <drepper@redhat.com>
15972
15973 [BZ #10851]
15974 * resolv/res_init.c (__res_vinit): When no server address at all
15975 is given default to loopback.
15976
f2ac4868
RM
159772010-08-24 Roland McGrath <roland@redhat.com>
15978
09055553
RM
15979 * configure.in: Remove config-name.h generation.
15980 * configure: Regenerated.
15981 * config-name.in: File removed.
15982 * scripts/config-uname.sh: New file.
15983 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15984 ($(objdir)config-name.h): New target.
15985
f2ac4868
RM
15986 * sunrpc/rpc_parse.h: Avoid nested comment.
15987
73f27d5e
RH
159882010-08-24 Richard Henderson <rth@redhat.com>
15989 Ulrich Drepper <drepper@redhat.com>
15990 H.J. Lu <hongjiu.lu@intel.com>
15991
15992 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15994 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15995 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15996 _mm_alignr_epi8 with _mm_loadu_si128.
15997 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15998 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15999 (__m128i_shift_right): Removed.
16000 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16001 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16002 * sysdeps/x86_64/multiarch/varshift.h: New file.
16003 * sysdeps/x86_64/multiarch/varshift.S: New file.
16004
84b9230c
MF
160052010-08-21 Mike Frysinger <vapier@gentoo.org>
16006
16007 * configure.in: Move assembler checks to before sysdep dir checking.
16008
9bbd0ddc
PB
160092010-08-20 Petr Baudis <pasky@suse.cz>
16010
16011 * LICENSES: Sync the sunrpc license.
16012
9da4bb31
UD
160132010-08-19 Ulrich Drepper <drepper@redhat.com>
16014
a7ab6ec8
UD
16015 * sunrpc/auth_des.c: Update copyright notice once again.
16016 * sunrpc/auth_none.c: Likewise.
16017 * sunrpc/auth_unix.c: Likewise.
16018 * sunrpc/authdes_prot.c: Likewise.
16019 * sunrpc/authuxprot.c: Likewise.
16020 * sunrpc/bindrsvprt.c: Likewise.
16021 * sunrpc/clnt_gen.c: Likewise.
16022 * sunrpc/clnt_perr.c: Likewise.
16023 * sunrpc/clnt_raw.c: Likewise.
16024 * sunrpc/clnt_simp.c: Likewise.
16025 * sunrpc/clnt_tcp.c: Likewise.
16026 * sunrpc/clnt_udp.c: Likewise.
16027 * sunrpc/clnt_unix.c: Likewise.
16028 * sunrpc/des_crypt.c: Likewise.
16029 * sunrpc/des_soft.c: Likewise.
16030 * sunrpc/get_myaddr.c: Likewise.
16031 * sunrpc/getrpcport.c: Likewise.
16032 * sunrpc/key_call.c: Likewise.
16033 * sunrpc/key_prot.c: Likewise.
16034 * sunrpc/openchild.c: Likewise.
16035 * sunrpc/pm_getmaps.c: Likewise.
16036 * sunrpc/pm_getport.c: Likewise.
16037 * sunrpc/pmap_clnt.c: Likewise.
16038 * sunrpc/pmap_prot.c: Likewise.
16039 * sunrpc/pmap_prot2.c: Likewise.
16040 * sunrpc/pmap_rmt.c: Likewise.
16041 * sunrpc/rpc/auth.h: Likewise.
16042 * sunrpc/rpc/auth_unix.h: Likewise.
16043 * sunrpc/rpc/clnt.h: Likewise.
16044 * sunrpc/rpc/des_crypt.h: Likewise.
16045 * sunrpc/rpc/key_prot.h: Likewise.
16046 * sunrpc/rpc/netdb.h: Likewise.
16047 * sunrpc/rpc/pmap_clnt.h: Likewise.
16048 * sunrpc/rpc/pmap_prot.h: Likewise.
16049 * sunrpc/rpc/pmap_rmt.h: Likewise.
16050 * sunrpc/rpc/rpc.h: Likewise.
16051 * sunrpc/rpc/rpc_des.h: Likewise.
16052 * sunrpc/rpc/rpc_msg.h: Likewise.
16053 * sunrpc/rpc/svc.h: Likewise.
16054 * sunrpc/rpc/svc_auth.h: Likewise.
16055 * sunrpc/rpc/types.h: Likewise.
16056 * sunrpc/rpc/xdr.h: Likewise.
16057 * sunrpc/rpc_clntout.c: Likewise.
16058 * sunrpc/rpc_cmsg.c: Likewise.
16059 * sunrpc/rpc_common.c: Likewise.
16060 * sunrpc/rpc_cout.c: Likewise.
16061 * sunrpc/rpc_dtable.c: Likewise.
16062 * sunrpc/rpc_hout.c: Likewise.
16063 * sunrpc/rpc_main.c: Likewise.
16064 * sunrpc/rpc_parse.c: Likewise.
16065 * sunrpc/rpc_parse.h: Likewise.
16066 * sunrpc/rpc_prot.c: Likewise.
16067 * sunrpc/rpc_sample.c: Likewise.
16068 * sunrpc/rpc_scan.c: Likewise.
16069 * sunrpc/rpc_scan.h: Likewise.
16070 * sunrpc/rpc_svcout.c: Likewise.
16071 * sunrpc/rpc_tblout.c: Likewise.
16072 * sunrpc/rpc_util.c: Likewise.
16073 * sunrpc/rpc_util.h: Likewise.
16074 * sunrpc/rpcinfo.c: Likewise.
16075 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16076 * sunrpc/rpcsvc/key_prot.x: Likewise.
16077 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16078 * sunrpc/rpcsvc/mount.x: Likewise.
16079 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16080 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16081 * sunrpc/rpcsvc/rex.x: Likewise.
16082 * sunrpc/rpcsvc/rstat.x: Likewise.
16083 * sunrpc/rpcsvc/rusers.x: Likewise.
16084 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16085 * sunrpc/rpcsvc/spray.x: Likewise.
16086 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16087 * sunrpc/rtime.c: Likewise.
16088 * sunrpc/svc.c: Likewise.
16089 * sunrpc/svc_auth.c: Likewise.
16090 * sunrpc/svc_authux.c: Likewise.
16091 * sunrpc/svc_raw.c: Likewise.
16092 * sunrpc/svc_run.c: Likewise.
16093 * sunrpc/svc_simple.c: Likewise.
16094 * sunrpc/svc_tcp.c: Likewise.
16095 * sunrpc/svc_udp.c: Likewise.
16096 * sunrpc/svc_unix.c: Likewise.
16097 * sunrpc/svcauth_des.c: Likewise.
16098 * sunrpc/xcrypt.c: Likewise.
16099 * sunrpc/xdr.c: Likewise.
16100 * sunrpc/xdr_array.c: Likewise.
16101 * sunrpc/xdr_float.c: Likewise.
16102 * sunrpc/xdr_mem.c: Likewise.
16103 * sunrpc/xdr_rec.c: Likewise.
16104 * sunrpc/xdr_ref.c: Likewise.
16105 * sunrpc/xdr_sizeof.c: Likewise.
16106 * sunrpc/xdr_stdio.c: Likewise.
16107
9da4bb31
UD
16108 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16109 handling.
16110
bdaa77bc
AS
161112010-08-19 Andreas Schwab <schwab@redhat.com>
16112
16113 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16114
fe2f79db
LM
161152010-08-19 Luis Machado <luisgpm@br.ibm.com>
16116
16117 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16118 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16119 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16120 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16121 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16122 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16123 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16124 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16125 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16126 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16127 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16128 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16129 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16130 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16131
b9b42ee0
AB
161322010-07-26 Anton Blanchard <anton@samba.org>
16133
16134 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16135 * malloc/arena.c (heap_trim): Likewise.
16136
1c06ba31
UD
161372010-08-16 Ulrich Drepper <drepper@redhat.com>
16138
16139 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16140 here. Not...
16141 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16142 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16143
f8392f40
L
161442010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16145
16146 * sysdeps/i386/elf/Makefile: New file.
16147
3162f12e
AS
161482010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16149
16150 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16151 from fanotify_init.
16152 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16153 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16154
28c90b2c
UD
161552010-08-15 Ulrich Drepper <drepper@redhat.com>
16156
16157 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16158 of strncasecmp_l.
1feccb6c 16159 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16160
ca6bb004
UD
161612010-08-14 Ulrich Drepper <drepper@redhat.com>
16162
e9f82e0d
UD
16163 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16164 strncase_l-nonascii.
16165 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16166 Add strncase_l-ssse3.
16167 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16168 * sysdeps/x86_64/strcmp.S: Likewise.
16169 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16170 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16171 * sysdeps/x86_64/strncase.S: New file.
16172 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16173 * sysdeps/x86_64/strncase_l.S: New file.
16174 * string/Makefile (strop-tests): Add strncasecmp.
16175 * string/test-strncasecmp.c: New file.
16176
16177 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16178 warning.
16179
ca6bb004
UD
16180 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16181 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16182
052fa7b3
AS
161832010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16184
16185 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16186
962dba78
UD
161872010-08-12 Ulrich Drepper <drepper@redhat.com>
16188
16189 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16190 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16191 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16192
bebff237
AM
161932010-05-01 Alan Modra <amodra@gmail.com>
16194
16195 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16196 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16197 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16198 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16199 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16200 tidying. Don't tail-call __sigjmp_save for static lib.
16201 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16202 save location.
16203 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16204 (CALL_MCOUNT): Add eh info, and nop after bl.
16205 (TAIL_CALL_SYSCALL_ERROR): New macro.
16206 (PSEUDO_RET): Use it.
16207 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16208 Correct save location of integer regs and cr.
16209 (_dl_profile_resolve): Correct cr save location. Delete nops
16210 after bl when SHARED. Reduce cfi size a little by better
16211 placement of cfi directives.
16212 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16213 make a stack frame. Instead use parm save area as a temp.
16214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16215 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16217 Don't make a stack frame for parent, use parm save area.
16218 Increase child stack frame to 112 bytes. Don't save unused reg,
16219 and adjust reg usage. Set up cfi on error recovery and
16220 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16222 (__makecontext): Add dummy nop after jump to exit.
16223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16224 Use correct parm save area and cr save, reduce stack frame.
16225 Correct cfi for possible PSEUDO_RET frame setup.
16226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16227 Branch to local label emitted by PSEUDO_RET rather than
16228 __syscall_error.
16229
02637374
AS
162302010-08-12 Andreas Schwab <schwab@redhat.com>
16231
16232 [BZ #11904]
16233 * locale/programs/locale.c (print_assignment): New function.
16234 (show_locale_vars): Use it.
16235
c3e2f19b
UD
162362010-08-11 Ulrich Drepper <drepper@redhat.com>
16237
3cdaa6ad
UD
16238 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16239 field.
16240 (struct statfs64): Likewise.
16241 (_STATFS_F_FLAGS): Define.
16242 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16243 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16244 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16245 (ST_VALID): Define locally.
16246 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16247 __statvfs_getflags, use the provided value.
16248 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16249 __ASSUME_STATFS_F_FLAGS.
16250
754f7da3
UD
16251 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16252
10b3bedc
UD
16253 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16254 Add sys/fanotify.h.
16255 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16256 fanotify_mask for GLIBC_2.13.
16257 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16258 fanotify_init and fanotify_mark.
16259 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16260 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16261
c08fb0d7
UD
16262 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16263 Add prlimit.
16264 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16265 prlimit64 for GLIBC_2.13.
16266 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16267 prlimit64.
16268 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16269 syscall.
16270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16271 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16272 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16273 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16274 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16275 add prlimit alias.
16276 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16277
15bac72b
UD
16278 [BZ #11903]
16279 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16280 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16281
c3e2f19b
UD
16282 * nss/Makefile: Add rules to build and run tst-nss-test1.
16283 * shlib-versions: Add entry for libnss_test1.
16284 * nss/nss_test1.c: New file.
16285 * nss/tst-nss-test1.c: New file.
16286
16287 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16288 (__nss_configure_lookup): Set appropriate entry in
16289 __nss_configure_lookup to true.
16290 * nss/nsswitch.h: Define enum with indeces of databases in
16291 databases and __nss_database_custom arrays. Declare
16292 __nss_database_custom.
16293 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16294 to avoid using nscd when custom rules are installed.
16295 * nss/getXXbyYY_r.c: Likewise.
16296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16297
16298 * nss/nss_files/files-parse.c: Whitespace fixes.
16299
f15ce4d8
UD
163002010-08-09 Ulrich Drepper <drepper@redhat.com>
16301
16302 [BZ #11883]
16303 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16304 * posix/fnmatch_loop.c: Likewise.
16305
d22e4cc9
AK
163062010-07-17 Andi Kleen <ak@linux.intel.com>
16307
16308 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16309 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16310 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16311 * Versions.def [GLIBC_2.13]: Add.
16312
805bc17d
UD
163132010-08-06 Ulrich Drepper <drepper@redhat.com>
16314
16315 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16316 Also fail if tpwd after pwuid call is NULL.
16317
5a42321d
ST
163182010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16319
16320 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16321 when converting to ms.
16322
fd3ebeda
ST
163232010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16324
16325 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16326 EOPNOTSUPP errors with ENOTTY.
16327 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16328 EOPNOTSUPP errors with ENOTTY.
16329
73507d3a
UD
163302010-07-31 Ulrich Drepper <drepper@redhat.com>
16331
16332 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16333 Add strcasecmp_l-ssse3.
16334 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16335 strcasecmp.
16336 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16337 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16338 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16339
fe36dd02
UD
163402010-07-30 Ulrich Drepper <drepper@redhat.com>
16341
66f6765a
UD
16342 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16343
42e08a54
UD
16344 * string/Makefile (strop-tests): Add strcasecmp.
16345 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16346 strcasecmp_l-nonascii.
16347 (gen-as-const-headers): Add locale-defines.sym.
16348 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16349 * sysdeps/x86_64/strcasecmp.S: New file.
16350 * sysdeps/x86_64/strcasecmp_l.S: New file.
16351 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16352 * sysdeps/x86_64/locale-defines.sym: New file.
16353 * string/test-strcasecmp.c: New file.
16354
fe36dd02
UD
16355 * string/test-strcasestr.c: Test both ends of the range of characters.
16356 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16357
48cbc0d6
RM
163582010-07-29 Roland McGrath <roland@redhat.com>
16359
76e6d6bc 16360 [BZ #11856]
48cbc0d6
RM
16361 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16362
880113d9
UD
163632010-07-27 Ulrich Drepper <drepper@redhat.com>
16364
16365 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16366 for ld.so.
16367
deb9cabb
AS
163682010-07-27 Andreas Schwab <schwab@redhat.com>
16369
16370 * manual/memory.texi (Malloc Tunable Parameters): Document
16371 M_PERTURB.
16372
1c7570ff
RM
163732010-07-26 Roland McGrath <roland@redhat.com>
16374
16375 [BZ #11840]
16376 * configure.in (-fgnu89-inline check): Set and substitute
16377 gnu89_inline, not libc_cv_gnu89_inline.
16378 * configure: Regenerated.
16379 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16380
24fb0f88
UD
163812010-07-26 Ulrich Drepper <drepper@redhat.com>
16382
16383 * string/test-strnlen.c: New file.
16384 * string/Makefile (strop-tests): Add strnlen.
16385 * string/tester.c (test_strnlen): Add a few more test cases.
16386 * string/tst-strlen.c: Better error reporting.
16387
16388 * sysdeps/x86_64/strnlen.S: New file.
16389
8e96b93a
UD
163902010-07-24 Ulrich Drepper <drepper@redhat.com>
16391
16392 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16393 lower-latency instructions.
16394
dbc676d4
UD
163952010-07-23 Ulrich Drepper <drepper@redhat.com>
16396
16397 * string/test-strcasestr.c: New file.
16398 * string/test-strstr.c: New file.
16399 * string/Makefile (strop-tests): Add strstr and strcasestr.
16400 * string/str-two-way.h: Don't undefine MAX.
16401 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16402
f6a31e0e
AS
164032010-07-21 Andreas Schwab <schwab@redhat.com>
16404
16405 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16406 strcasestr-nonascii.
16407 (CFLAGS-strcasestr-nonascii.c): Define.
16408 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16409 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16410 Remove unused attribute.
16411
5dbc3b6c
RM
164122010-07-20 Roland McGrath <roland@redhat.com>
16413
16414 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16415 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16416 ld.so.cache was broken. With it, there is no way to disable dsocaps
16417 like LD_HWCAP_MASK can disable hwcaps.
16418
23d101d8
EPM
164192010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16420
16421 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16422
cc9f2e47
UD
164232010-07-16 Ulrich Drepper <drepper@redhat.com>
16424
16425 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16426 call in strcasestr.
16427 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16428 __strcasestr_sse42_nonascii.
16429 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16430 strcasestr-nonascii.c.
16431 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16432
77c1b069
LM
164332010-06-15 Luis Machado <luisgpm@br.ibm.com>
16434
16435 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16436 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16437 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16438 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16439
440566c3
UD
164402010-07-09 Ulrich Drepper <drepper@redhat.com>
16441
16442 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16443 fcntl.
16444
5be9d05d
AS
164452010-07-06 Andreas Schwab <schwab@redhat.com>
16446
c30b7ee2 16447 [BZ #11577]
5be9d05d
AS
16448 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16449 dl_signal_cerror.
16450
8a492a67
UD
164512010-07-06 Ulrich Drepper <drepper@redhat.com>
16452
16453 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16454 _PC_PIPE_BUF using F_GETPIPE_SZ.
16455
713df3d5
RM
164562010-07-05 Roland McGrath <roland@redhat.com>
16457
16458 * manual/arith.texi (Rounding Functions): Fix rint description
16459 implicit in round description.
16460
702e8f14
UD
164612010-07-02 Ulrich Drepper <drepper@redhat.com>
16462
16463 * elf/Makefile: Fix linking for a few tests to make recent linker
16464 happy.
16465
52ed8be9
AS
164662010-06-30 Andreas Schwab <schwab@redhat.com>
16467
16468 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16469 $(common-objpfx)libc_nonshared.a.
16470
f47c9a11
LM
164712010-06-21 Luis Machado <luisgpm@br.ibm.com>
16472
16473 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16474 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16475 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16476 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16477 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16478 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16479 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16480 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16495 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16496 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16497 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16498 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16499 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16500 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16501 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16502 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16503 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16504 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16505 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16506 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16521
6fb8cbcb
L
165222010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16523
16524 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16525 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16526 * string/memmove.c (memmove): Renamed to ...
16527 (MEMMOVE): ...this. Default to memmove.
16528 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16529 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16530 (END_CHK): Define.
16531 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16532 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16533 mempcpy-ssse3-back memmove-ssse3-back.
16534 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16535 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16536 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16537 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16538 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16539 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16540 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16541 * sysdeps/x86_64/multiarch/memmove.c: New file.
16542 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16543 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16544 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16545 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16546 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16547 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16548 Define.
16549 (index_Fast_Copy_Backward): Define.
16550 (HAS_ARCH_FEATURE): Define.
16551 (HAS_FAST_REP_STRING): Define.
16552 (HAS_FAST_COPY_BACKWARD): Define.
16553
4e733bac 165542010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16555
16556 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16557 Restore proper fallback handling.
16558
63c4ed22
UD
165592010-06-19 Ulrich Drepper <drepper@redhat.com>
16560
ac2b484c
UD
16561 [BZ #11701]
16562 * posix/group_member.c (__group_member): Correct checking loop.
16563
63c4ed22
UD
16564 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16565 OOM in getpwuid_r correctly. Return error number when the caller
16566 should return, otherwise -1.
16567 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16568 call returning > 0 value.
16569 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16570
765ade4b
AS
165712010-06-07 Andreas Schwab <schwab@redhat.com>
16572
16573 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16574 libc_nonshared.a from targets in modules-names.
16575
80da2e09
KS
165762010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16577
16578 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16579 requires it.
16580
158db122
LM
165812010-06-10 Luis Machado <luisgpm@br.ibm.com>
16582
16583 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16584 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16585 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16586 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16587
caa78cf8
AS
165882010-06-02 Andreas Schwab <schwab@redhat.com>
16589
16590 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16591
b2ef2c01
UD
165922010-06-14 Ulrich Drepper <drepper@redhat.com>
16593
16594 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16595 and F_GETPIPE_SZ.
16596 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16597 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16598 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16600 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16601 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16602
fbd643b6
RM
166032010-06-14 Roland McGrath <roland@redhat.com>
16604
16605 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16606
f32f2869
JJ
166072010-06-07 Jakub Jelinek <jakub@redhat.com>
16608
16609 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16610 __REDIRECT followed by __THROW.
16611 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16612 * posix/getopt.h (getopt): Likewise.
16613
2a50c078
EPM
166142010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16615
16616 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16617 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16618 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16619 in AT_FLAGS.
16620 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16621 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16622
eb5ad2eb
LM
166232010-05-28 Luis Machado <luisgpm@br.ibm.com>
16624
16625 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16626
3c88fe1e
L
166272010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16628
16629 [BZ #11640]
16630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16631 Properly check family and model.
16632
d2f73151
TY
166332010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16634
16635 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16636
ebd2e13d
LM
166372010-05-24 Luis Machado <luisgpm@br.ibm.com>
16638
16639 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16640
b32b8b45
UD
166412010-05-21 Ulrich Drepper <drepper@redhat.com>
16642
16643 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16644 symbol reference.
16645
9acbe24d
AS
166462010-05-19 Andreas Schwab <schwab@redhat.com>
16647
16648 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16649 symbol reference.
16650
f0ccf6ea
AS
166512010-05-21 Andreas Schwab <schwab@redhat.com>
16652
3d04ff3a
AS
16653 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16654 and internal_recvmmsg.
16655 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16656 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16657 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16658 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16659
f0ccf6ea
AS
16660 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16661 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16662 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16663
5b08ac57
AS
166642010-05-20 Andreas Schwab <schwab@redhat.com>
16665
16666 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16667
4828935d
LM
166682010-05-17 Luis Machado <luisgpm@br.ibm.com>
16669
16670 POWER7 optimizations.
16671 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16672 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16673
373d545e
UD
166742010-05-19 Ulrich Drepper <drepper@redhat.com>
16675
16676 * version.h: Update for 2.13 development version.
16677
21a2b1ae
AS
166782010-05-12 Andrew Stubbs <ams@codesourcery.com>
16679
16680 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16681 exceptions. Return 0.
16682
3f7dcb2b
RM
166832010-05-07 Roland McGrath <roland@redhat.com>
16684
16685 * elf/ldconfig.c (main): Add a const.
16686
5f24d53a 166872010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16688
a160f8d8
UD
16689 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16690 (args_options): Add no-idn option.
16691 (ahosts_keys_int): Add idn_flags to ai_flags.
16692 (parse_option): Handle 'i' option to clear idn_flags.
16693
5f24d53a
UD
16694 * malloc/malloc.c (_int_free): Possible race in the most recently
16695 added check. Only act on the data if no current modification
16696 happened.
265bb1ce
UD
16697
16698See ChangeLog.17 for earlier changes.