]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add cosh tests for bug 14273.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
370ca3d2
JM
12012-07-03 Joseph Myers <joseph@codesourcery.com>
2
e2283f38
JM
3 [BZ #14273]
4 * math/libm-test.inc (cosh_test): Add more tests.
5
370ca3d2
JM
6 * version.h (RELEASE): Set to "development".
7 (VERSION): Set to "2.16.90".
8
ee9247c3
CD
92012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10
11 * NEWS: Update copyright. Remove last-updated date.
12 Mention math library bug fixes and timezone data changes.
13 * README: Mention GNU/Hurd, x32, and HPPA support status.
14
4648c381
TS
152012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16
17 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18
aac78a43
AJ
192012-06-27 Andreas Jaeger <aj@suse.de>
20
21 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22
ed3dbfad
AJ
232012-06-25 Andreas Jaeger <aj@suse.de>
24
25 * sysdeps/s390/fpu/libm-test-ulps: Update.
26
4d0ee855
AS
272012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28 Thomas Schwinge <thomas@codesourcery.com>
29
30 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33 fanotify_mark.
34
af1bce34
TS
352012-06-23 Thomas Schwinge <thomas@codesourcery.com>
36
a9fa33ba
TS
37 * sysdeps/mach/start.c: Remove file.
38 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40 * sysdeps/sh/init-first.c: Likewise.
41
58f902b8
TS
42 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
43 registers for frame unwinding purposes, add CFI directives.
44 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47 Likewise.
48
1518f58b
TS
49 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
50 __fortify_fail returning.
51 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
52
db9b5059
TS
53 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
54 sysdeps/sh/____longjmp_chk.S.
55 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
56 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
57 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
58 (gen-as-const-headers): Append sigaltstack-offsets.sym.
59
967705fe
TS
60 * sysdeps/sh/abort-instr.h: New file.
61 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
62 process in case exit returns.
63
a9def8c4
TS
64 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
65 initialize the GOT register before use.
66
2a649725
TS
67 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
68 calculation of ARGC > 4.
69
af1bce34
TS
70 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
71 meaningful names to some local labels.
72
d230f50a
KK
732012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74 Kaz Kojima <kkojima@rr.iij4u.or.jp>
75
76 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
77 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
78 (__arch_compare_and_exchange_val_16_acq): Likewise.
79 (__arch_compare_and_exchange_val_32_acq): Likewise.
80 (atomic_exchange_and_add): Fix gUSA sequence.
81 (atomic_add): Likewise.
82 (atomic_add_negative): Likewise.
83 (atomic_add_zero): Likewise.
84 (atomic_bit_test_set): Likewise.
85
0479b305
AS
862012-06-22 Andreas Schwab <schwab@redhat.com>
87
88 [BZ #13579]
89 * include/link.h (struct link_map): Add l_free_initfini.
90 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
91 l_initfini.
92 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
93 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
94 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
95 set.
96
0e3933b9
CD
972012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
98
99 * configure.in: Use AC_LANG_SOURCE.
100 * configure: Regenerate.
101
4248b1b1
RM
1022012-06-22 Roland McGrath <roland@hack.frob.com>
103
104 * configure.in (libc_cv_localstatedir): New substituted variable.
105 * configure: Regenerated.
106 * config.make.in (localstatedir): New variable, substituted from
107 libc_cv_localstatedir.
108 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
109 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
110 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
111 * sysdeps/gnu/configure: Regenerated.
112
006dd861
JL
1132012-06-21 Jeff Law <law@redhat.com>
114
115 [BZ #14277]
116 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
117 free. Simplify list management for _LIBC case.
118
79662d42
JM
1192012-06-21 Joseph Myers <joseph@codesourcery.com>
120
b7abb4bf
JM
121 [BZ #14273]
122 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
123 Clear sign bit of 64-bit integer value before comparing against
124 overflow value.
125
79662d42
JM
126 * sysdeps/mach/configure: Regenerated.
127
1f150908
L
1282012-06-21 H.J. Lu <hongjiu.lu@intel.com>
129
130 [BZ #14278]
131 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
132
28363bbf
JL
1332012-06-21 Jeff Law <law@redhat.com>
134
135 [BZ #13882]
136 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
137 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 138 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
139 * elf/dl-open.c (dl_open_worker): Likewise.
140
09615db4
CD
1412012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
142
143 * scripts/list-sources.sh: Scan PORTS for translations.
144 * po/libc.pot: Regenerated.
145
2174c6dd
AJ
1462012-06-21 Andreas Jaeger <aj@suse.de>
147
148 [BZ #12194]
149 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
150 warning.
151 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
152 * bits/byteswap-16.h (__bswap_16): Likewise.
153 * bits/byteswap.h (__bswap_constant_16): Likewise.
154
3ee947b1
L
1552012-06-18 H.J. Lu <hongjiu.lu@intel.com>
156
157 [BZ #14117]
a2f34833
L
158 * sysdeps/i386/fpu_control.h: Removed.
159 * sysdeps/x86_64/fpu_control.h: Moved to ...
160 * sysdeps/x86/fpu_control.h: Here.
161
3ee947b1
L
162 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
163 (_FPU_SETCW): Likewise.
164
ed1825f8
L
1652012-06-15 H.J. Lu <hongjiu.lu@intel.com>
166
25f1282a
L
167 [BZ #14117]
168 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
169 * sysdeps/x86/fpu/bits/mathinline.h: This.
170 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
171
ed1825f8
L
172 [BZ #14050]
173 [BZ #14117]
174 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
175 functions if __x86_64__ is defined.
176
36d54b74
CLT
1772012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
178
179 * string/endian.h: Add !__ASSEMBLER__ condition for including
180 conversion interfaces.
181
10285c21
JM
1822012-06-15 Joseph Myers <joseph@codesourcery.com>
183
184 [BZ #14241]
185 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
186 of ABS(x) in calculating zero to negative powers other than odd
187 integers.
188 * math/libm-test.inc (pow_test): Add more tests.
189
06c5abbd
AJ
1902012-06-15 Andreas Jaeger <aj@suse.de>
191
192 * manual/contrib.texi (Contributors): Update entry of Liubov
193 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
194 Machado Filho.
195
a3aeac40
CH
1962012-06-15 Cyril Hrubis <metan@ucw.cz>
197
198 * string/string.h: Add __wur to GNU version of strerror_r.
199
49bdf4c1
L
2002012-06-14 H.J. Lu <hongjiu.lu@intel.com>
201
202 [BZ #14229]
203 * string/Makefile (tests): Add tst-strtok_r.
204 * string/tst-strtok_r.c: New file.
205 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
206 RAX_LP/RDX_LP on SAVE_PTR.
207
834f9b8d
RM
2082012-06-14 Roland McGrath <roland@hack.frob.com>
209
210 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
211
75fa1921
JM
2122012-06-14 Joseph Myers <joseph@codesourcery.com>
213
214 * libm_test.inc (csqrt_test): Allow more spurious underflow
215 exceptions.
216 (j0_test): Likewise.
217 (j1_test): Likewise.
218 (y0_test): Likewise.
219 (y1_test): Likewise.
220
771766df
CD
2212012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
222
223 * po/Makefile (libc.pot): Use UTF-8 charset.
224
ceb9e56b
PP
2252012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
226
227 [BZ #14210]
228 Suppress sign-conversion warning from FD_SET.
229 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
230 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
231 not unsigned long int.
232 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
233
ddb28975
L
2342012-06-12 H.J. Lu <hongjiu.lu@intel.com>
235
236 [BZ #14050]
237 [BZ #14117]
238 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
239 __extern_always_inline instead of __extern_inline.
240 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
241 (__signbit): Likewise.
242 (__signbitl): Support C++ namespace.
243 (lrintf): New inline function.
244 (lrint): Likewise.
245 (llrintf): Likewise.
246 (llrint): Likewise.
247 (fmaxf): Likewise.
248 (fmax): Likewise.
249 (fminf): Likewise.
250 (fmin): Likewise.
251 (rint): Likewise.
252 (rintf): Likewise.
253 (ceil): Likewise.
254 (ceilf): Likewise.
255 (floor): Likewise.
256 (floorf): Likewise.
257 (nearbyint): Likewise.
258 (nearbyintf): Likewise.
259
d7b4fb26
TS
2602012-06-12 Thomas Schwinge <thomas@codesourcery.com>
261
262 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
263 non-default versions.
264
eb55f5c2
RM
2652012-06-11 Roland McGrath <roland@hack.frob.com>
266
267 [BZ #14218]
268 * manual/argp.texi (Argp): Reword argp_parse description slightly.
269
366af02c
TS
2702012-06-09 Thomas Schwinge <thomas@codesourcery.com>
271
99ff6e5c
TS
272 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
273 (FE_UPWARD, FE_DOWNWARD): Don't define.
274 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
275 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
276
366af02c
TS
277 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
278 reading it.
279 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
280 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
281
793ea851
KK
2822012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
283
284 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
285 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
286 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
287 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
288
a728a38f
L
2892012-06-06 H.J. Lu <hongjiu.lu@intel.com>
290
291 [BZ #14117]
c08010c7
L
292 * sysdeps/i386/fpu/bits/fenv.h: Removed.
293 * sysdeps/i386/fpu/Implies: New file.
294 * sysdeps/x86_64/fpu/Implies: Likewise.
295 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
296 * sysdeps/x86/fpu/bits/fenv.h: This.
297
a728a38f
L
298 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
299 __SSE_MATH__.
300
6e230d11
SP
3012012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
302
303 [BZ #14134]
304 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
305 character 0xffff that matches the last element of the
306 conversion table.
307
1b671feb
AZ
3082012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
309
310 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
311 fmodl commit.
312
6043738b
AZ
3132012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
314
315 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
316 values higher than 25.6283.
317
34ae0b32
AZ
3182012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
319
320 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
321 subnormal exponent extraction and add some __builtin_expect.
322 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
323 Fix for subnormal mantissa calculation.
324
1214ec8f
MF
3252012-06-04 Mike Frysinger <vapier@gentoo.org>
326
327 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
328 cpu2 is -1 and errno is not ENOSYS.
329
f3d1f93c
L
3302012-06-04 H.J. Lu <hongjiu.lu@intel.com>
331
332 [BZ #14117]
0e4a3cd7
L
333 * sysdeps/i386/i486/bits/string.h: Renamed to ...
334 * sysdeps/x86/bits/string.h: This.
335 * sysdeps/x86_64/bits/string.h: Removed.
336
6704c645
L
337 * sysdeps/i386/i486/bits/string.h: Define inline functions only
338 if not compiling for x86-64, but compiling for >= i486.
339
48495318
L
340 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
341 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
342
14adcbfc
L
343 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
344 New macro from Linux kernel 3.4.0.
345 (FP_XSTATE_MAGIC2): Likewise.
346 (FP_XSTATE_MAGIC2_SIZE): Likewise.
347 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
348 (struct _fpx_sw_bytes): New struct.
349 (struct _xsave_hdr): Likewise.
350 (struct _ymmh_state): Likewise.
351 (struct _xstate): Likewise.
352
68e408ab
L
353 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
354 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
355 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
356 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
357 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
358 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
359
f3d1f93c
L
360 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
361 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
362 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
363 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
364 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
365 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
366
d9dc34cd
TMQMF
3672012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
368
369 [BZ #13743]
370 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
371 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
372 (sysdep_headers): Include sys/platform/ppc.h.
373 * sysdeps/powerpc/test-gettimebase.c: Test for
374 __ppc_get_timebase() to catch future ISA opcode/insn changes.
375 * manual/Makefile (appendices): Include platform.texi.
376 * manual/contrib.texi (Contributors): Update @node pointers.
377 * manual/maint.texi (Maintenance): Likewise.
378 (Platform): New node.
379 * manual/platform.texi: New file. Document the new features.
380
4af3879c
SP
3812012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
382 Jakub Jelinek <jakub@redhat.com>
383
384 [BZ #14188]
385 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
386 where __builtin_expect is unavailable.
387
2fd6ff13
DM
3882012-06-03 David S. Miller <davem@davemloft.net>
389
390 * stdlib/longlong.h: Updated from GCC.
391
173f7220
AS
3922012-06-02 Andreas Schwab <schwab@linux-m68k.org>
393
394 [BZ #14042]
395 * sysdeps/powerpc/powerpc32/mcount.c: New file.
396 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
397 __mcount_internal.
398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
399 (GLIBC_2.16): Likewise.
400
f34a1c6f
L
4012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
402
403 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
404
88a4576f
JM
4052012-06-01 Joseph Myers <joseph@codesourcery.com>
406
ea32bcdd
JM
407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
408 (default-abi): New variable.
409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
410 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
411 variable.
412 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
413 Likewise.
414 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
415 Likewise.
416 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
417 Likewise.
418
88a4576f
JM
419 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
420 definition. Document in comment.
421
402fe938
DM
4222012-06-01 David S. Miller <davem@davemloft.net>
423
424 * stdlib/longlong.h: Updated from GCC.
425
3553723f
L
4262012-06-01 H.J. Lu <hongjiu.lu@intel.com>
427
428 [BZ #14117]
3bd872c4
L
429 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
430 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
431 sys/debugreg.h sys/io.h here.
432 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
433 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
434 sys/io.h.
435 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
436 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
437 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
438 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
439 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
440 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
441
3553723f
L
442 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
443 Define only if __x86_64__ is defined.
444
4842e4fe
JM
4452012-06-01 Joseph Myers <joseph@codesourcery.com>
446
c5bfe3d5
JM
447 [BZ #14048]
448 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
449 Use int64_t for variable i.
450 * math/libm-test.inc (fmod_test): Add more tests.
451
4842e4fe
JM
452 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
453 z computation is not scheduled after fetestexcept.
454 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
455 Use math_force_eval instead of asm to ensure calculation scheduled
456 before exception test.
457 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
458 Ensure a1 + u.d computation is not scheduled after fetestexcept.
459
efb73488
AJ
4602012-06-01 Aurelien Jarno <aurelien@aurel32.net>
461
462 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
463 computation is not scheduled after fetestexcept.
464
29bcce7c
L
4652012-06-01 H.J. Lu <hongjiu.lu@intel.com>
466
467 [BZ #14117]
468 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
469 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
470
73a68f94
AZ
4712012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
472
473 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
474 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
475
67b6df78
L
4762012-05-31 H.J. Lu <hongjiu.lu@intel.com>
477
edf2933a 478 [BZ #14117]
ebc64a18
L
479 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
480 <bits/wordsize.h>.
481 (__WCHAR_MIN): Support __WORDSIZE == 64.
482 (__WCHAR_MAX): Likewise.
483
edf2933a
L
484 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
485 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
486
57c6cf40
L
487 [BZ #14183]
488 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
489 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
490
67b6df78 491 [BZ #14117]
8eb6281e
L
492 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
493 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
494
aac639f4
L
495 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
496 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
497
67b6df78
L
498 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
499 Defined to 1 if __x86_64__ isn't defined.
500 (_STAT_VER_LINUX_OLD): New.
501 (st_atime): Remove duplicate.
502 (st_mtime): Likewise.
503 (st_ctime): Likewise.
504
1c2cfe81
DM
5052012-05-31 David S. Miller <davem@davemloft.net>
506
507 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
508 entries.
509
5be8418c
AS
5102012-06-01 Andreas Schwab <schwab@linux-m68k.org>
511
e7725326
AS
512 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
513 gen-libm-test.pl.
514
5be8418c
AS
515 [BZ #14132]
516 * elf/dl-reloc.c: Include <_itoa.h>.
517 (_dl_reloc_bad_type): Remove use of INTUSE.
518 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
519 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
520 * stdio-common/psiginfo.c (psiginfo): Likewise.
521 * stdio-common/psignal.c (psignal): Likewise.
522 * string/strsignal.c (strsignal): Likewise.
523 * include/signal.h (_sys_siglist): Declare hidden proto.
524 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
525 INTVARDEF with libc_hidden_data_def.
526 * stdio-common/itoa-udigits.c: Likewise.
527 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
528 (_itoa_lower_digits_internal): Remove declaration.
529 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
530 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
531 (_sys_sigabbrev_internal): Remove aliases.
532 (_sys_siglist): Define hidden alias.
533
507352f1
MT
5342012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
535
536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
537 bits/sysctl.h.
538
42bbb1c3
L
5392012-05-31 H.J. Lu <hongjiu.lu@intel.com>
540
541 [BZ #14117]
6bd784b6
L
542 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
543 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
544
8bca20f0
L
545 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
546 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
547 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
548 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
549 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
550 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
551
f9e890a9
L
552 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
553 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
554 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
555
471101a1
L
556 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
557 with __addr.
558 (insw): Likewise.
559 (insl): Likewise.
560 (outsb): Likewise.
561 (outsw): Likewise.
562 (outsl): Likewise.
563
6451c862
L
564 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
565 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
566 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
567
a254b8c9
L
568 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
569 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
570 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
571 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
572 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
573 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
574
b8dfdd92
L
575 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
576 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
577
578cd270
L
578 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
579 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
580
de662f5f
L
581 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
582 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
583 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
584
25653439
L
585 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
586 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
587 to ...
588 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
589
6bad24a0
L
590 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
591 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
592 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
593
42bbb1c3
L
594 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
595 for x86-64.
596 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
597
2d10d547
JM
5982012-05-31 Joseph Myers <joseph@codesourcery.com>
599
600 * math/math.h (M_El): Use two more decimal places.
601 (M_LOG2El): Likewise.
602 (M_LOG10El): Likewise.
603 (M_LN2l): Likewise.
604 (M_LN10l): Likewise.
605 (M_PIl): Likewise.
606 (M_PI_2l): Likewise.
607 (M_PI_4l): Likewise.
608 (M_1_PIl): Likewise.
609 (M_2_PIl): Likewise.
610 (M_2_SQRTPIl): Likewise.
611 (M_SQRT2l): Likewise.
612 (M_SQRT1_2l): Likewise.
613
f230c29b
DM
6142012-05-31 David S. Miller <davem@davemloft.net>
615
616 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
617 values between float registers.
618 * sysdeps/sparc/sparc64/memset.S: Likewise.
619 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
620
fed806c3
MF
6212012-05-31 Mike Frysinger <vapier@gentoo.org>
622
623 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
624 -D_FORTIFY_SOURCE=1.
625 (CPPFLAGS-tst-longjmp_chk.c): Define.
626 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
627 (CPPFLAGS-tst-longjmp_chk2.c): Define.
628 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
629 CFLAGS-tst-wchar-h.c.
630
30917259
MP
6312012-05-31 Marek Polacek <polacek@redhat.com>
632
633 [BZ #14132]
634 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
635 __endmntent_internal): Remove declaration.
636 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
637 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
638 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
639
1c58d5dc
DM
6402012-05-30 David S. Miller <davem@davemloft.net>
641
642 * sysdeps/sparc/sparc32/soft-fp/q_util.c
643 (___Q_simulate_exceptions): Use real FP ops rather than writing
644 into the %fsr.
645 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
646 Likewise.
647
7dc00e0d
L
6482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
649
650 [BZ #14117]
0bd53985
L
651 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
652 * sysdeps/x86/bits/xtitypes.h: This.
653
3a257e66
L
654 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
655 * sysdeps/x86/bits/wordsize.h: This.
656
62f62904
L
657 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
658 * sysdeps/x86/bits/huge_vall.h: This.
659
404fe9d9
L
660 * sysdeps/i386/bits/select.h: Removed.
661 * sysdeps/x86_64/bits/select.h: Renamed to ...
662 * sysdeps/x86/bits/select.h: This.
663
d48d0446
L
664 * sysdeps/i386/bits/setjmp.h: Removed.
665 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
666 * sysdeps/x86/bits/setjmp.h: This.
667
7dc00e0d
L
668 * sysdeps/i386/bits/mathdef.h: Removed.
669 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
670 * sysdeps/x86/bits/mathdef.h: This.
671
03277f8f
AS
6722012-05-30 Andreas Schwab <schwab@linux-m68k.org>
673
674 [BZ #14132]
675 * include/sys/socket.h (__connect_internal)
676 (__libc_sa_len_internal): Remove declaration.
677 (__connect, __libc_sa_len): Declare hidden_proto.
678 (SA_LEN): Remove use of INTUSE.
679 * socket/connect.c: Add libc_hidden_def.
680 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
681 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
682 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
683 alias.
684 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
685 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
686 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
687 of adding _internal alias.
688
13764867
L
6892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
690
691 [BZ #14117]
6bd97696
L
692 * sysdeps/i386/bits/link.h: Removed.
693 * sysdeps/i386/bits/linkmap.h: Likewise.
694 * sysdeps/x86_64/bits/link.h: Renamed to ...
695 * sysdeps/x86/bits/link.h: This.
696 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
697 * sysdeps/x86/bits/linkmap.h: This.
698
f726f0bb
L
699 * sysdeps/i386/bits/endian.h: Removed.
700 * sysdeps/x86_64/bits/endian.h: Renamed to ...
701 * sysdeps/x86/bits/endian.h: This.
702
13764867
L
703 * sysdeps/i386/bits/byteswap.h: Removed.
704 * sysdeps/i386/bits/byteswap-16.h: Likewise.
705 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
706 * sysdeps/x86/bits/byteswap.h: This.
707 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
708 * sysdeps/x86/bits/byteswap-16.h: This.
709 * sysdeps/i386/Implies: Add x86.
710 * sysdeps/x86_64/Implies: Likewise.
711
ae251b0b
DM
7122012-05-30 David S. Miller <davem@davemloft.net>
713
714 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
715 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
716 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
717 (FP_TRAPPING_EXCEPTIONS): Define.
718 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
719 (FP_TRAPPING_EXCEPTIONS): Define.
720 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
721 subnormals only when inexact has been signalled or underflow
722 exceptions are enabled.
723 (_FP_PACK_CANONICAL): Likewise.
724
d5c90867
L
7252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
726
727 [BZ #14183]
728 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
729 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
730
63f1549e
RH
7312012-05-30 Richard Henderson <rth@twiddle.net>
732
8d8f2279
RH
733 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
734 with #ifndef NOT_IN_libc.
735
63f1549e
RH
736 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
737 marked to avoid plt entry.
738
0ab0291b
L
7392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
740
741 [BZ #14112]
742 * Makeconfig (default-abi): New macro.
743 (abi-includes): Likewise.
744 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
745 $(abi-$(default-abi)-lib-soname) for soname if defined.
746 ($(common-objpfx)gnu/lib-names.stmp): Generate from
747 abi-variants.
748 * Makefile (installed-stubs): Likewise.
749 * include/stubs-biarch.h: Removed.
750 * scripts/lib-names.awk: Only handle one library at a time.
751 * scripts/soversions.awk: Remove WORDSIZE support.
752 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
753 entries.
754 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
755 Removed.
756 (syscall-list-default-condition): Likewise.
757 (syscall-list-default-condition): Likewise.
758 (syscall-list-includes): Likewise.
759 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
760 syscall-list-* with abi-*. Handle undefined abi-variants.
761 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
762 * sysdeps/unix/sysv/linux/i386/Implies: New file.
763 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
764 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
765 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
766 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
767 Removed.
768 (syscall-list-32-options): Likewise.
769 (syscall-list-32-condition): Likewise.
770 (syscall-list-64-options): Likewise.
771 (syscall-list-64-condition): Likewise.
772 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
773 macro.
774 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
775 Renamed to ...
776 (abi-*): This.
777 (abi-64-ld-soname): New macro.
778 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
779 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
780 Renamed to ...
781 (abi-*): This.
782 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
783 * sysdeps/x86_64/x32/shlib-versions: Likewise.
784
4da0431d
JM
7852012-05-30 Joseph Myers <joseph@codesourcery.com>
786
3a85279c
JM
787 * sysdeps/unix/sysv/linux/kernel-features.h
788 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
789 * sysdeps/unix/sysv/linux/ftruncate64.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 * sysdeps/unix/sysv/linux/truncate64.c: Do not
796 include <kernel-features.h>.
797 [!__NR_ftruncate64]: Remove conditional code.
798 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
799 [__NR_ftruncate64]: Make code unconditional.
800 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
802 include <kernel-features.h>.
803 [!__NR_ftruncate64]: Remove conditional code.
804 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
805 [__NR_ftruncate64]: Make code unconditional.
806 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
808 include <kernel-features.h>.
809 [!__NR_ftruncate64]: Remove conditional code.
810 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
811 [__NR_ftruncate64]: Make code unconditional.
812 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
813
4da0431d
JM
814 * configure.in (libc_cv_fpie): Weaken to a compile test using
815 LIBC_TRY_CC_OPTION.
816 * configure: Regenerated.
817
11ef492c
AK
8182012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
819
820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
824 Refreshed.
825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
831 Refreshed.
832
d66ef399
DM
8332012-05-27 David S. Miller <davem@davemloft.net>
834
835 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
836 (___Q_zero): New.
837 (__Q_simulate_exceptions): Return void. Change to simulate
838 exceptions by writing into the %fsr.
839 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
840 (__Qp_handle_exceptions): Likewise.
841 (numbers): Delete.
842 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
843 __Qp_handle_exceptions.
844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
845 __Qp_handle_exceptions.
846 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
847 as unused and give dummy FP_RND_NEAREST initializer.
848 (FP_INHIBIT_RESULTS): Define.
849 (___Q_simulate_exceptions): Update declaration.
850 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
851 formatting.
852 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
853 as unused and give dummy FP_RND_NEAREST initializer.
854 (__Qp_handle_exceptions): Update declaration.
855 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
856 formatting.
857
04fb54b5
TS
8582012-05-27 Thomas Schwinge <thomas@codesourcery.com>
859
860 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
861 the temporary FPU control word.
862 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
863 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
864 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
865 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
866 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
867 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
868 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
869 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
870 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
871 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
872 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
873
3f99608f
KK
8742012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
875
876 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
877 fields.
878
65a4de4e
CLT
8792012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
880
881 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
882 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
883 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
884 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
885 Likewise.
886 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
887 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
888 Likewise.
889
15749d40
UD
8902012-05-27 Ulrich Drepper <drepper@gmail.com>
891
892 * po/h.po: Update from translation team.
893
25dbcb27
AS
8942012-05-26 Andreas Schwab <schwab@linux-m68k.org>
895
3d3f8e55
AS
896 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
897
25dbcb27
AS
898 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
899 handling of denormals.
900 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
901 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
902 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
903 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
904 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
905 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
906 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
907 Likewise.
908
7ad47a80 9092012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
910
911 [BZ #14152]
912 * math/libm-test.inc (fma_test): Don't always expect underflow
913 exception.
914
9c6ea9fa
SP
9152012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
916
917 [BZ #12416]
918 * elf/tst-execstack.c: Include stackinfo.h.
919 (do_test): Adjust test case to ensure that pthread_getattr_np
920 behaviour remains the same after marking stack executable.
921
a8239222
JM
9222012-05-25 Joseph Myers <joseph@codesourcery.com>
923
924 * sysdeps/unix/sysv/linux/kernel-features.h
925 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
926 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
927 kernel-features.h.
928 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
929 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
930 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
931 kernel-features.h.
932 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
933 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
934
918b5606
L
9352012-05-25 H.J. Lu <hongjiu.lu@intel.com>
936
937 * configure.in: Define the default includes to being none.
938 * configure: Regenerated.
939
3a097cc7
RM
9402012-05-25 Roland McGrath <roland@hack.frob.com>
941
8422c9a5
RM
942 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
943 * sysdeps/x86_64/setjmp.S: Likewise.
944 * sysdeps/i386/bsd-setjmp.S: Likewise.
945 * sysdeps/i386/bsd-_setjmp.S: Likewise.
946 * sysdeps/i386/setjmp.S: Likewise.
947 * sysdeps/i386/__longjmp.S: Likewise.
948 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
949 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
950
3a097cc7
RM
951 * include/stap-probe.h: New file.
952 * configure.in: Handle --enable-systemtap.
953 * configure: Regenerated.
954 * config.h.in (USE_STAP_PROBE): New #undef.
955 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
956 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
957 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
958
21708942
JM
9592012-05-25 Joseph Myers <joseph@codesourcery.com>
960
961 [BZ #13717]
962 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
963 to 2.4.0 where earlier.
964 * sysdeps/unix/sysv/linux/configure: Regenerated.
965 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
966 <kernel-features.h>.
967 [__ASSUME_32BITUIDS]: Make code unconditional.
968 [!__ASSUME_32BITUIDS]: Remove conditional code.
969 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
970 <kernel-features.h>.
971 [__ASSUME_32BITUIDS]: Make code unconditional.
972 [!__ASSUME_32BITUIDS]: Remove conditional code.
973 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
974 [__ASSUME_32BITUIDS]: Make code unconditional.
975 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
976 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
977 <kernel-features.h>.
978 [__ASSUME_32BITUIDS]: Make code unconditional.
979 [!__ASSUME_32BITUIDS]: Remove conditional code.
980 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
981 <kernel-features.h>.
982 [__ASSUME_32BITUIDS]: Make code unconditional.
983 [!__ASSUME_32BITUIDS]: Remove conditional code.
984 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
985 <kernel-features.h>.
986 [__ASSUME_32BITUIDS]: Make code unconditional.
987 [!__ASSUME_32BITUIDS]: Remove conditional code.
988 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
989 <kernel-features.h>.
990 [__ASSUME_32BITUIDS]: Make code unconditional.
991 [!__ASSUME_32BITUIDS]: Remove conditional code.
992 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
993 <kernel-features.h>.
994 [__ASSUME_32BITUIDS]: Make code unconditional.
995 [!__ASSUME_32BITUIDS]: Remove conditional code.
996 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
997 <kernel-features.h>.
998 [__ASSUME_32BITUIDS]: Make code unconditional.
999 [!__ASSUME_32BITUIDS]: Remove conditional code.
1000 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1001 <kernel-features.h>.
1002 [__ASSUME_32BITUIDS]: Make code unconditional.
1003 [!__ASSUME_32BITUIDS]: Remove conditional code.
1004 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1005 <kernel-features.h>.
1006 [__ASSUME_32BITUIDS]: Make code unconditional.
1007 [!__ASSUME_32BITUIDS]: Remove conditional code.
1008 * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
1017 <kernel-features.h>.
1018 [__NR_setresgid] (__setresgid): Do not declare.
1019 [__ASSUME_32BITUIDS]: Make code unconditional.
1020 [!__ASSUME_32BITUIDS]: Remove conditional code.
1021 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1022 <kernel-features.h>.
1023 [__NR_setresuid] (__setresuid): Do not declare.
1024 [__ASSUME_32BITUIDS]: Make code unconditional.
1025 [!__ASSUME_32BITUIDS]: Remove conditional code.
1026 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1027 <kernel-features.h>.
1028 [__ASSUME_32BITUIDS]: Make code unconditional.
1029 [!__ASSUME_32BITUIDS]: Remove conditional code.
1030 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1031 <kernel-features.h>.
1032 [__ASSUME_32BITUIDS]: Make code unconditional.
1033 [!__ASSUME_32BITUIDS]: Remove conditional code.
1034 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1035 <kernel-features.h>.
1036 [__ASSUME_32BITUIDS]: Make code unconditional.
1037 [!__ASSUME_32BITUIDS]: Remove conditional code.
1038 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1039 <kernel-features.h>.
1040 [__ASSUME_32BITUIDS]: Make code unconditional.
1041 [!__ASSUME_32BITUIDS]: Remove conditional code.
1042 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1043 <kernel-features.h>.
1044 [__ASSUME_32BITUIDS]: Make code unconditional.
1045 [!__ASSUME_32BITUIDS]: Remove conditional code.
1046 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1047 <kernel-features.h>.
1048 [__ASSUME_32BITUIDS]: Make code unconditional.
1049 [!__ASSUME_32BITUIDS]: Remove conditional code.
1050 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1051 <kernel-features.h>.
1052 [__ASSUME_32BITUIDS]: Make code unconditional.
1053 [!__ASSUME_32BITUIDS]: Remove conditional code.
1054 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1055 <kernel-features.h>.
1056 [__ASSUME_32BITUIDS]: Make code unconditional.
1057 [!__ASSUME_32BITUIDS]: Remove conditional code.
1058 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1059 <kernel-features.h>.
1060 [__ASSUME_32BITUIDS]: Make code unconditional.
1061 [!__ASSUME_32BITUIDS]: Remove conditional code.
1062 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1063 <kernel-features.h>.
1064 [__ASSUME_32BITUIDS]: Make code unconditional.
1065 [!__ASSUME_32BITUIDS]: Remove conditional code.
1066 * sysdeps/unix/sysv/linux/kernel-features.h
1067 (__ASSUME_SETRESUID_SYSCALL): Remove.
1068 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1069 (__ASSUME_32BITUIDS): Likewise.
1070 (__ASSUME_LDT_WORKS): Likewise.
1071 (__ASSUME_O_DIRECTORY): Likewise.
1072 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1073 architecture but not kernel version.
1074 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1075 (__ASSUME_MMAP2_SYSCALL): Likewise.
1076 (__ASSUME_STAT64_SYSCALL): Likewise.
1077 (__ASSUME_IPC64): Likewise.
1078 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1079 <kernel-features.h>.
1080 [__ASSUME_32BITUIDS]: Make code unconditional.
1081 [!__ASSUME_32BITUIDS]: Remove conditional code.
1082 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1083 <kernel-features.h>.
1084 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1085 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1086 132096]: Remove conditional code.
1087 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1088 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1089 <kernel-features.h>.
1090 [__ASSUME_32BITUIDS]: Make code unconditional.
1091 [!__ASSUME_32BITUIDS]: Remove conditional code.
1092 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
1097 <kernel-features.h>.
1098 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1099 unconditional.
1100 (__setresgid): Do not declare.
1101 [__ASSUME_32BITUIDS]: Make code unconditional.
1102 [!__ASSUME_32BITUIDS]: Remove conditional code.
1103 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1104 <kernel-features.h>.
1105 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1106 unconditional.
1107 (__setresuid): Do not declare.
1108 [__ASSUME_32BITUIDS]: Make code unconditional.
1109 [!__ASSUME_32BITUIDS]: Remove conditional code.
1110 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1111 <kernel-features.h>.
1112 [__ASSUME_32BITUIDS]: Make code unconditional.
1113 [!__ASSUME_32BITUIDS]: Remove conditional code.
1114 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1115 <kernel-features.h>.
1116 [__ASSUME_32BITUIDS]: Make code unconditional.
1117 [!__ASSUME_32BITUIDS]: Remove conditional code.
1118
a386f1cc
RH
11192012-05-25 Richard Henderson <rth@twiddle.net>
1120
1121 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1122 dl_hwcap to ifunc resolver.
1123 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1124 elf_ifunc_invoke.
1125 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1126 dl_hwcap to ifunc resolver.
1127 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1128
b6550497
JM
11292012-05-24 Joseph Myers <joseph@codesourcery.com>
1130
1131 [BZ #14153]
1132 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1133 for |x| <= 2**-26, not 2**-57.
1134 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1135 exception.
1136
b0bc23a1
JL
11372012-05-24 Jeff Law <law@redhat.com>
1138
1139 * stdio-common/Makefile (tests): Add bug25.
1140 * stdio-common/bug25.c: New test.
1141
347c92e9
L
11422012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1143
1144 [BZ #13576]
1145 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1146 multiple of MALLOC_ALIGNMENT in size.
1147 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1148
6bcc8b3f
JM
11492012-05-24 Joseph Myers <joseph@codesourcery.com>
1150
1151 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1152 Require >= 256.
1153 (FILENAME_MAX): Use macro-int-constant.
1154 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1155 (_IOFBF): Use macro-int-constant.
1156 (_IOLBF): Likewise.
1157 (_IONBF): Likewise.
1158 (SEEK_CUR): Likewise.
1159 (SEEK_END): Likewise.
1160 (SEEK_SET): Likewise.
1161 (TMP_MAX): Likewise.
1162 (EOF): Use macro-int-constant. Require < 0.
1163 (NULL): Use macro-constant. Require == 0.
1164 (stdin): Require type to be FILE *.
1165 (stdout): Likewise.
1166 (stderr): Likewise.
1167 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1168 macro-int-constant.
1169 (EXIT_SUCCESS): Likewise.
1170 (NULL): Use macro-constant. Require == 0.
1171 (RAND_MAX): Use macro-int-constant.
1172 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1173 [C99-based standards] (strtof): Require function.
1174 [C99-based standards] (strtold): Likewise.
1175 [C99-based standards] (strtoll): Likewise.
1176 [C99-based standards] (strtoull): Likewise.
1177 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1178 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1179 [ISO || ISO99 || ISO11] (math.h): Likewise.
1180 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1181 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1182 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1183
d18ea0c5
AS
11842012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1185
1186 [BZ #14132]
56d25bb8
AS
1187 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1188 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1189 * intl/dgettext.c (DCGETTEXT): Likewise.
1190 * intl/gettext.c (DCGETTEXT): Likewise.
1191 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1192 * posix/regex_internal.h (gettext): Likewise.
1193 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1194 Remove declaration.
1195 * include/argz.h (__argz_count_internal)
1196 (__argz_stringify_internal): Remove declaration.
1197 (__argz_count, __argz_stringify): Declare hidden proto.
1198 * intl/dcgettext.c: Remove use of INTDEF.
1199 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1200 * string/argz-stringify.c: Likewise.
1201 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1202 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1203 Declare hidden proto.
d18ea0c5
AS
1204 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1205 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1206 Declare hidden proto.
1207 * include/stdio.h (__asprintf_internal): Don't declare.
1208 (__asprintf): Don't define as macro. Declare hidden proto.
1209 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1210 (__fsetlocking): Declare hidden proto.
1211 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1212 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1213 hidden proto.
1214 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1215 (_IO_setlinebuf): Remove use of INTUSE.
1216 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1217 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1218 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1219 Remove declaration.
1220 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1221 (_IO_do_flush): Remove use of INTUSE.
1222 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1223 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1224 (_IO_adjust_column, _IO_least_wmarker)
1225 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1226 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1227 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1228 (_IO_default_doallocate, _IO_wdefault_doallocate)
1229 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1230 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1231 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1232 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1233 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1234 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1235 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1236 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1237 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1238 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1239 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1240 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1241 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1242 proto.
1243 (_IO_flush_all_internal, _IO_adjust_column_internal)
1244 (_IO_default_uflow_internal, _IO_default_finish_internal)
1245 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1246 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1247 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1248 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1249 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1250 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1251 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1252 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1253 (_IO_file_close_internal, _IO_file_close_it_internal)
1254 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1255 (_IO_file_init_internal, _IO_file_attach_internal)
1256 (_IO_file_fopen_internal, _IO_file_read_internal)
1257 (_IO_file_sync_internal, _IO_file_seek_internal)
1258 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1259 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1260 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1261 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1262 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1263 (_IO_list_all_internal, _IO_link_in_internal)
1264 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1265 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1266 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1267 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1268 (_IO_do_write_internal, _IO_padn_internal)
1269 (_IO_getline_info_internal, _IO_getline_internal)
1270 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1271 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1272 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1273 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1274 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1275 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1276 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1277 with libc_hidden_ver, remove use of INTUSE.
1278 * libio/genops.c: Likewise.
1279 * libio/freopen.c: Likewise.
1280 * libio/freopen64.c: Likewise.
1281 * libio/iofclose.c: Likewise.
1282 * libio/iofdopen.c: Likewise.
1283 * libio/iofflush.c: Likewise.
1284 * libio/iofflush_u.c: Likewise.
1285 * libio/iofgets.c: Likewise.
1286 * libio/iofgets_u.c: Likewise.
1287 * libio/iofopen.c: Likewise.
1288 * libio/iofopncook.c: Likewise.
1289 * libio/iofread.c: Likewise.
1290 * libio/iofread_u.c: Likewise.
1291 * libio/ioftell.c: Likewise.
1292 * libio/iofwrite.c: Likewise.
1293 * libio/iogetline.c: Likewise.
1294 * libio/iogets.c: Likewise.
1295 * libio/iogetwline.c: Likewise.
1296 * libio/iopadn.c: Likewise.
1297 * libio/iopopen.c: Likewise.
1298 * libio/ioseekoff.c: Likewise.
1299 * libio/ioseekpos.c: Likewise.
1300 * libio/iosetbuffer.c: Likewise.
1301 * libio/iosetvbuf.c: Likewise.
1302 * libio/ioungetc.c: Likewise.
1303 * libio/ioungetwc.c: Likewise.
1304 * libio/iovdprintf.c: Likewise.
1305 * libio/iovsprintf.c: Likewise.
1306 * libio/iovsscanf.c: Likewise.
1307 * libio/memstream.c: Likewise.
1308 * libio/obprintf.c: Likewise.
1309 * libio/oldfileops.c: Likewise.
1310 * libio/oldiofclose.c: Likewise.
1311 * libio/oldiofdopen.c: Likewise.
1312 * libio/oldiofopen.c: Likewise.
1313 * libio/oldiopopen.c: Likewise.
1314 * libio/oldstdfiles.c: Likewise.
1315 * libio/putc.c: Likewise.
1316 * libio/setbuf.c: Likewise.
1317 * libio/setlinebuf.c: Likewise.
1318 * libio/stdfiles.c: Likewise.
1319 * libio/strops.c: Likewise.
1320 * libio/vasprintf.c: Likewise.
1321 * libio/vscanf.c: Likewise.
1322 * libio/vsnprintf.c: Likewise.
1323 * libio/vswprintf.c: Likewise.
1324 * libio/wfiledoalloc.c: Likewise.
1325 * libio/wfileops.c: Likewise.
1326 * libio/wgenops.c: Likewise.
1327 * libio/wmemstream.c: Likewise.
1328 * libio/wstrops.c: Likewise.
1329 * libio/__fpurge.c: Likewise.
1330 * libio/__fsetlocking.c: Likewise.
1331 * assert/assert.c: Likewise.
1332 * debug/fgets_chk.c: Likewise.
1333 * debug/fgets_u_chk.c: Likewise.
1334 * debug/fread_chk.c: Likewise.
1335 * debug/fread_u_chk.c: Likewise.
1336 * debug/gets_chk.c: Likewise.
1337 * debug/obprintf_chk.c: Likewise.
1338 * debug/vasprintf_chk.c: Likewise.
1339 * debug/vdprintf_chk.c: Likewise.
1340 * debug/vsnprintf_chk.c: Likewise.
1341 * debug/vsprintf_chk.c: Likewise.
1342 * malloc/mtrace.c: Likewise.
1343 * misc/error.c: Likewise.
1344 * misc/syslog.c: Likewise.
1345 * stdio-common/asprintf.c: Likewise.
1346 * stdio-common/fxprintf.c: Likewise.
1347 * stdio-common/getw.c: Likewise.
1348 * stdio-common/isoc99_fscanf.c: Likewise.
1349 * stdio-common/isoc99_scanf.c: Likewise.
1350 * stdio-common/isoc99_vfscanf.c: Likewise.
1351 * stdio-common/isoc99_vscanf.c: Likewise.
1352 * stdio-common/isoc99_vsscanf.c: Likewise.
1353 * stdio-common/printf-prs.c: Likewise.
1354 * stdio-common/printf_fp.c: Likewise.
1355 * stdio-common/printf_fphex.c: Likewise.
1356 * stdio-common/printf_size.c: Likewise.
1357 * stdio-common/putw.c: Likewise.
1358 * stdio-common/scanf.c: Likewise.
1359 * stdio-common/sprintf.c: Likewise.
1360 * stdio-common/tmpfile.c: Likewise.
1361 * stdio-common/vfprintf.c: Likewise.
1362 * stdio-common/vfscanf.c: Likewise.
1363 * stdlib/strfmon_l.c: Likewise.
1364 * sunrpc/openchild.c: Likewise.
1365 * sunrpc/xdr_stdio.c: Likewise.
1366 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1367 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1368
d6c33fda
RM
13692012-05-24 Roland McGrath <roland@hack.frob.com>
1370
c1487492
RM
1371 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1372
1373 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1374 in the third column, to generate for the shared library an IFUNC
1375 that uses _dl_vdso_vsym.
1376 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1377 * Makeconfig (object-suffixes-noshared): New variable.
1378
1379 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1380 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1381 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1382 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1383
d6c33fda
RM
1384 [BZ #14132]
1385 * include/sys/time.h (__gettimeofday): Remove macro.
1386 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1387 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1388 Remove INTDEF.
1389 (__gettimeofday): Add libc_hidden_def.
1390 (gettimeofday): Add libc_hidden_weak.
1391 * sysdeps/mach/gettimeofday.c: Likewise.
1392 * sysdeps/posix/gettimeofday.c: Likewise.
1393 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1394 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1395 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1396 (__gettimeofday_internal): Remove strong_alias.
1397 (__gettimeofday): Add libc_hidden_def.
1398 (gettimeofday): Add libc_hidden_weak.
1399 * sysdeps/unix/syscalls.list (gettimeofday):
1400 Remove __gettimeofday_internal alias.
1401
b5a2bbe6
L
14022012-05-24 Daniel Jacobowitz <drow@false.org>
1403 H.J. Lu <hongjiu.lu@intel.com>
1404
1405 [BZ #12495]
1406 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1407 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1408 (largebin_index_32_big): New.
1409 (largebin_index): Use it for 16-byte alignment.
1410 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1411 correction with front_misalign.
1412
cfba4fda
L
14132012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1414
7f907421
L
1415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1417 Likewise.
1418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1419 Likewise.
1420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1421 Likewise.
1422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1423 Likewise.
1424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1425 Likewise.
1426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1427 Likewise.
1428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1429 Likewise.
1430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1431 Likewise.
1432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1433 Likewise.
1434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1435 Likewise.
1436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1437 Likewise.
1438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1439 Likewise.
1440
cfba4fda
L
1441 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1442 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1443
80bad0cc
JM
14442012-05-24 Joseph Myers <joseph@codesourcery.com>
1445
7a25eb06
JM
1446 [BZ #10846]
1447 [BZ #14036]
1448 * math/libm-test.inc (exp_test): Add test from bug 14036.
1449 (pow_test): Add test from bug 10846.
1450
795405f9
JM
1451 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1452 and other flags.
1453 (special_function): Do not include flags in test name.
1454 (parse_args): Likewise.
1455 * sysdeps/i386/fpu/libm-test-ulps: Update.
1456 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1457 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1458 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1460
80bad0cc
JM
1461 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1462 exceptions.
1463 * math/libm-test.inc ("Philosophy"): Update comment about
1464 exception testing.
1465 (UNDERFLOW_EXCEPTION): New macro.
1466 (UNDERFLOW_EXCEPTION_OK): Likewise.
1467 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1468 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1469 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1470 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1471 (INVALID_EXCEPTION_OK): Update value.
1472 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1473 (OVERFLOW_EXCEPTION_OK): Likewise.
1474 (IGNORE_ZERO_INF_SIGN): Likewise.
1475 (test_exceptions): Handle underflow exceptions.
1476 (acos_test): Update for underflow exception expectations.
1477 (cexp_test): Likewise.
1478 (clog_test): Likewise.
1479 (clog10_test): Likewise.
1480 (csqrt_test): Likewise.
1481 (ctan_test): Likewise.
1482 (ctanh_test): Likewise.
1483 (exp_test): Likewise.
1484 (exp10_test): Likewise.
1485 (exp2_test): Likewise.
1486 (expm1_test): Likewise.
1487 (fma_test): Likewise.
1488 (j0_test): Likewise.
1489 (jn_test): Likewise.
1490 (nexttoward_test): Likewise.
1491 (pow_test): Likewise.
1492 (scalbn_test): Likewise.
1493 (scalbln_test): Likewise.
1494 (tan_test): Likewise.
1495 (y1_test): Likewise.
1496 * sysdeps/i386/fpu/libm-test-ulps: Update.
1497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1498
9e0e3d0b
DM
14992012-05-23 David S. Miller <davem@davemloft.net>
1500
1501 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1502 (__libc_sigaction): Remove unused local variables.
1503
ccd0a08f
L
15042012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1505
1506 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1507
62bdf9a6
PE
15082012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1509
f8591f80
PE
1510 mktime: avoid signed integer overflow
1511 * time/mktime.c (__mktime_internal): Do not mishandle the case
1512 where diff == INT_MIN.
1513
94c7d826
PE
1514 mktime: simplify computation of average
1515 * time/mktime.c (ranged_convert): Use new time_t_avg function
1516 instead of rolling our own (probably-slower) code.
1517
ce73d683
PE
1518 mktime: do not assume signed right shift propagates sign bit
1519 * time/mktime.c (isdst_differ): New static function.
1520 (__mktime_internal): No need to normalize tm_isdst now.
1521 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1522 tm_isdst values.
1523
72a22e59
PE
1524 mktime: merge another wrapv change from gnulib
1525 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1526 from some compilers.
1527
68605433
PE
1528 mktime: remove incorrect attempt at unusual arithmetics
1529 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1530 The code didn't really work on such machines anyway.
1531 (TYPE_MINIMUM): Assume two's complement.
1532 (twos_complement_arithmetic): Verify that long_int and time_t
1533 are two's complement (or unsigned, in the latter case).
1534
03cf7fe3
PE
1535 mktime: check signed shifts on long_int and time_t, too
1536 * time/mktime.c (SHR): Check that shifts work as desired
1537 on the types long_int and time_t too, as SHR is used on
1538 such types.
1539
f04dfbc2
PE
1540 mktime: do not assume 'long' is wide enough
1541 * time/mktime.c (verify): Move decl up.
1542 (long_int): New type.
1543 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1544 to remove assumption in the code that 'long' is wide enough to
1545 store year values. This assumption is not true on x32 and on
1546 some non-glibc platforms.
1547
62bdf9a6
PE
1548 mktime: merge wrapv change from gnulib
1549 * time/mktime.c (WRAPV): New macro.
1550 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1551 (guess_time_tm, __mktime_internal): Do not assume that signed
1552 integer overflow wraps around; modern compilers generate code
1553 where this assumption is no longer valid.
1554
5e292e4f
L
15552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1556
1557 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1558 Replace "jmp L(pseudo_end)" with "ret".
1559 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1560 Likewise.
1561
8caf8c87
AJ
15622012-05-23 Andreas Jaeger <aj@suse.de>
1563
1564 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1565 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1566
1a09dc56
AJ
15672012-05-23 Andreas Jaeger <aj@suse.de>
1568 Maximilian Attems <max@stro.at>
1569
1570 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1571 New macros.
1572
1c87aba0
L
15732012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1574
1575 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1576 code so that pseudo_end is just ret and the stack pointer is
1577 correct also for static library in error case.
1578
40e45bd5
JM
15792012-05-23 Joseph Myers <joseph@codesourcery.com>
1580
c2670533
JM
1581 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1582 move to syscalls.list.
1583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1587
40e45bd5
JM
1588 * manual/install.texi (Running make install): Do not mention Linux
1589 kernel version for which pt_chown is not needed.
1590 (Linux): Do not mention problems with nscd with 2.0 kernels.
1591 * INSTALL: Regenerated.
1592
be08eda5
AJ
15932012-05-23 Andreas Jaeger <aj@suse.de>
1594
1595 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1596 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1597 macro.
1598 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1599 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1600 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1601 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1602 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1603 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1604 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1605 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1606 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1607 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1608 * sysdeps/unix/sysv/linux/bits/in.h
1609 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1610
a6a056bb
RM
16112012-05-22 Roland McGrath <roland@hack.frob.com>
1612
1613 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1614 (PREPARE_VERSION): Just use assert instead, it will be elided
1615 under [NDEBUG] anyway.
1616
c9009328
L
16172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1618
1619 * sysdeps/unix/sysv/linux/Makefile: Include
1620 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1621 (sysdep_routines): Remove sysctl.
c9009328
L
1622 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1623 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1624 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1625 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1626 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1627
73338355
AJ
16282012-05-22 Andreas Jaeger <aj@suse.de>
1629
1630 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1631 that pseudo_end is just ret and the stack pointer is correct also
1632 for static library in error case.
1633
d44638b0
PP
16342012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1635
1636 [BZ #14122]
1637 * nss/nsswitch.c (defconfig_entries): New variable.
1638 (__nss_database_lookup): Don't leak defconfig entries.
1639 (nss_parse_service_list): Don't leak on error paths.
1640 (free_database_entries): New function.
1641 (free_defconfig): New function.
1642 (free_mem): Move common code to free_database_entries.
1643
31a39bd8
L
16442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1645
da0331a8
L
1646 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1647 Add arch_prctl.
1648 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1649
31a39bd8
L
1650 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1651 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1652 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1653 New macro.
1654 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1655 (INTERNAL_SYSCALL_TYPES): Likewise.
1656 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1657 (LOAD_REGS_TYPES_[1-6]): Likewise.
1658 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1659 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1660
45470df3
AZ
16612012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1662
1663 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1664 copysignl for GLIBC_2_0.
1665 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1666 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1667 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1668 logbl for GLIBC_2_0.
1669 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1670 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1671
98a61bcb
L
16722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1673
a4f6e481
L
1674 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1675 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1676
f63d5db6
L
1677 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1678 Use "neg %eax".
1679
98a61bcb
L
1680 * time/mktime.c: Update copyright years.
1681
95770f14
PE
16822012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1683
6226efbd
PE
1684 mktime: merge comment-quoting-style change from gnulib
1685 * time/mktime.c: Quote 'like this' in comments.
1686 The GNU coding standards suggest that we no longer quote `like this',
1687 as "`" and "'" are typically rendered asymmetrically nowadays.
1688 The typical gnulib style is to quote 'like this' when quoting
1689 code, and "like this" when quoting English.
1690
b99e4f78
PE
1691 * time/mktime.c (compile-command): Add "-I.".
1692
643e01e6
PE
1693 mktime: merge mktime-internal.h change from gnulib
1694 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1695
2554247d
PE
1696 mktime: merge time_r change from gnulib
1697 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1698
826dd0ab
PE
1699 mktime: merge DEBUG change from gnulib
1700 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1701 case system <time.h> has a #define.
1702
bd83aabe
PE
1703 mktime: merge <sys/types.h> change from gnulib
1704 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1705 since <time.t> is now guaranteed to define time_t.
1706
95770f14
PE
1707 mktime: merge HAVE_CONFIG_H change from gnulib
1708 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1709
5e1a27a9
L
17102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1711
0e44a77e
L
1712 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1713 Use "neg %eax".
1714
5e1a27a9
L
1715 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1716 __rlim_t cast.
1717 (struct rusage): Use anonymous union to pad each field to
1718 __syscall_slong_t.
1719
46259bec
DM
17202012-05-21 David S. Miller <davem@davemloft.net>
1721
1722 * Makefules (o-iterator): Remove .s cases.
1723 (compile-command.s): Delete.
1724 (COMPILE.s): Delete.
1725 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1726
59f0c22e
JM
17272012-05-21 Joseph Myers <joseph@codesourcery.com>
1728
1729 * configure.in (libc_cv_predef_stack_protector): Only consider
1730 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1731 * configure: Regenerated.
1732
20c07380
L
17332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1734
bbb3154b
L
1735 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1736 New macro. Use R*LP on int and pointer.
1737 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1738 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1739 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1740 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1741
20c07380
L
1742 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1743 [__WORDSIZE_TIME64_COMPAT32] instead of
1744 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1745 (struct utmp): Likewise.
1746 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1747 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1748 Renamed to ...
1749 (__WORDSIZE_TIME64_COMPAT32): This.
1750 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1751 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1752 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1753 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1754 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1755 (__WORDSIZE_TIME64_COMPAT32): New macro.
1756
d8d1017e
AJ
17572012-05-21 Andreas Jaeger <aj@suse.de>
1758
1759 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1760 only if [SHARED]. Add prototype for __wcschr_ia32.
1761
6c7fb145
RM
17622012-05-21 Roland McGrath <roland@hack.frob.com>
1763
1764 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1765 of %rbp unmolested in the jmp_buf while mangling the low bits.
1766 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1767 unmolested high bits of %rbp while demangling the low bits.
1768 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1769
66274218
AJ
17702012-05-21 Andreas Jaeger <aj@suse.de>
1771
07c58f8f
AJ
1772 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1773 * sunrpc/svc_simple.c: Use it for registerrpc.
1774 * sunrpc/xcrypt.c: Use it for passwd2des.
1775
66274218
AJ
1776 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1777
61f65140
L
17782012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1779
1780 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1781 Don't define if [__SYSCALL_WORDSIZE != 32].
1782 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1783 New macro.
1784
5fefb436
AJ
17852012-05-21 Bruno Haible <bruno@clisp.org>
1786 Andreas Jaeger <aj@suse.de>
1787
1788 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1789 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1790 inptr and inend for must_buffer_ch.
1791 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1792 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1793 * stdio-common/Makefile (tests): Remove bug15.
1794 (bug15-ENV): Remove macro.
1795 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1796 anymore.
1797
d8e272ab
AJ
17982012-05-19 Andreas Jaeger <aj@suse.de>
1799 Roland McGrath <roland@hack.frob.com>
1800
1801 * manual/contrib.texi: Completely rewritten. It contains now an
1802 alphabetical list of contributors and their contributions.
1803
4a56a162
RH
18042012-05-21 Richard Henderson <rth@twiddle.net>
1805
1806 * misc/getauxval.c (__getauxval): Use unsigned long int.
1807 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1808 (getauxval): Use unsigned long int.
1809
d024d23c
L
18102012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1811
1812 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1813
cbc00a03
RM
18142012-05-21 Roland McGrath <roland@hack.frob.com>
1815
1816 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1817 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1818 __alignof__ (long double).
1819
478143fa
AZ
18202012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1821
1822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1823
c7683a6d
RH
18242012-05-20 Richard Henderson <rth@twiddle.net>
1825
1826 * misc/getauxval.c: New file.
1827 * misc/sys/auxv.h: New file.
1828 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1829 (routines): Add getauxval.
1830 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1831 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1832 * elf/dl-sysdep.c (_dl_auxv): Remove.
1833 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1834 * elf/dl-support.c (_dl_auxv): New variable.
1835 (_dl_aux_init): Initialize it.
1836 * manual/startup.texi (Auxiliary Vector): New node.
1837 * sysdeps/generic/bits/hwcap.h: New file.
1838 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1839 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1840 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1841 * sysdeps/sparc/sysdep.h: ... here. Include it.
1842 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1843 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1845 Update.
c7683a6d
RH
1846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1849 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1854
a6f1845d
AZ
18552012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1856
1857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1858
cbcbe830
DM
18592012-05-19 David S. Miller <davem@davemloft.net>
1860
1861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1862
e0b16cc2
JM
18632012-05-19 Joseph Myers <joseph@codesourcery.com>
1864
1865 [BZ #14123]
1866 * math/s_ccosh.c: Include <float.h>
1867 (__ccosh): Avoid internal overflow calculating sinh and cosh
1868 values before multiplying by sin and cos values.
1869 * math/s_ccoshf.c: Likewise.
1870 * math/s_ccoshl.c: Likewise.
1871 * math/s_csin.c: Likewise.
1872 * math/s_csinf.c: Likewise.
1873 * math/s_csinl.c: Likewise.
1874 * math/s_csinh.c: Likewise.
1875 * math/s_csinhf.c: Likewise.
1876 * math/s_csinhl.c: Likewise.
1877 * math/libm-test.inc (ccos_test): Add more tests.
1878 (ccosh_test): Likewise.
1879 (csin_test): Likewise.
1880 (csinh_test): Likewise.
1881 * sysdeps/i386/fpu/libm-test-ulps: Update.
1882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1883
6ad13e08
L
18842012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1885
f66f0ce8
L
1886 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1887 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1888
6ad13e08
L
1889 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1890
b1d072a7
JM
18912012-05-19 Joseph Myers <joseph@codesourcery.com>
1892
1893 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1894 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1895 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1896 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1897 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1898 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1899 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1900 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1901 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1902 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1903 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1904 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1905 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1906 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1907 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1908 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1909 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1910 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1911 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1912 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1913 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1914 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1915 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1916 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1917 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1918 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1919 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1920 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1921 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1922 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1923 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1924
9eae47cb
AJ
19252012-05-18 Andreas Jaeger <aj@suse.de>
1926
1927 * csu/.gitignore: Delete.
1928
bb07f69f
L
19292012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1930
1931 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1932 (timex): Use __syscall_slong_t.
1933
e6bdb741
AJ
19342012-05-18 Andreas Jaeger <aj@suse.de>
1935 Carlos O'Donell <carlos_odonell@mentor.com>
1936
1937 * manual/install.texi (Configuring and compiling): Update
1938 description about files modified in the source directory.
d6c33fda 1939 * INSTALL: Regenerated.
e6bdb741 1940
1b74487e
L
19412012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1942
1943 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1944 value. Use "or" to set return value to -1.
1945 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1946 negate return value.
1947
a88b64b9
TMQMF
19482012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1949
1950 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1951 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1952 failure if the compiler has Graphite support disabled.
1953 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1954 Likewise.
1955 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1956 CFLAGS-memmove.c): Likewise.
1957 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1958 Likewise.
1959
3707636e
L
19602012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1961
610b8622
L
1962 * sysdeps/x86_64/x32/_itoa.h: New file.
1963
7cd195df
L
1964 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1965 getdents system call only if kernel and user dirents have the
1966 same d_ino and d_off.
1967
94b07d20
L
1968 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1969 LLONG_MAX != LONG_MAX.
1970 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1971 (_fitoa_word): Likewise.
1972
18298070
L
1973 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1974 years.
1975 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1976 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1977 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1978
553c7ea4
L
1979 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1980 include <bits/wordsize.h>. Check __x86_64__ instead of
1981 __WORDSIZE.
1982 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1983 if __x86_64__ is defined. Use anonymous union on fpstate.
1984
3707636e
L
1985 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1986 anonymous union.
1987
b53ef01a
AS
19882012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1989
37fb1dc0
AS
1990 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1991 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1992 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1993 Refer to _rtld_local_ro instead of _rtld_global_ro.
1994 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1995 Likewise.
1996 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1997 Likewise.
1998 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1999 Likewise.
2000 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2001 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2002 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2003
b53ef01a
AS
2004 * sysdeps/powerpc/powerpc32/dl-machine.c
2005 (__elf_machine_runtime_setup) [PROF]: Don't reference
2006 _dl_prof_resolve.
2007
7a185db2
AJ
20082012-05-18 Andreas Jaeger <aj@suse.de>
2009
2010 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2011 function only available for GCCs before 3.4 since GCC 3.4
2012 introduced a builtin.
2013 (lrint): Likewise.
2014 (llrintf): Likewise.
2015 (llrint): Likewise.
2016 (fmaxf): Likewise.
2017 (fmax): Likewise.
2018 (fminf): Likewise.
2019 (fmin): Likewise.
2020 (rint): Likewise.
2021 (rintf): Likewise.
2022 (nearbyint): Likewise.
2023 (nearbyintf): Likewise.
2024 (ceil): Likewise.
2025 (ceilf): Likewise.
2026 (floor): Likewise.
2027 (floorf): Likewise.
2028
3e5aef87
L
20292012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2030
428bd707
L
2031 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2032 on both fields and cast pointer to __syscall_ulong_t.
2033
3e5aef87
L
2034 * bits/types.h (__fsword_t): New type.
2035 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2036 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2037 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2038 (__FSWORD_T_TYPE): Likewise.
2039 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2040 (__FSWORD_T_TYPE): Likewise.
2041 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2042 (__FSWORD_T_TYPE): Likewise.
2043 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2044 (__FSWORD_T_TYPE): Likewise.
2045 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2046 __SWORD_TYPE with __fsword_t.
2047 (statfs64): Likewise.
2048
1ba7c3dc
DM
20492012-05-17 David S. Miller <davem@davemloft.net>
2050
2051 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2052
59910343
AJ
20532012-05-17 Andreas Jaeger <aj@suse.de>
2054
2055 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2056 warning.
2057
2e4c1e9e
L
20582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2059
2060 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2061
de7f5ce7
AJ
20622012-05-17 Andreas Jaeger <aj@suse.de>
2063
2064 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2065 when it is used.
2066
286abc3d
CM
20672012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2068
2069 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2070
477cc68e
L
20712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2072
2073 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2074 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2075
1a0994f5
CD
20762012-05-17 Andreas Jaeger <aj@suse.de>
2077 Carlos O'Donell <carlos_odonell@mentor.com>
2078
2079 [BZ #14059]
2080 * sysdeps/x86_64/multiarch/init-arch.h
2081 (bit_YMM_Usable): Rename to...
2082 (bit_AVX_Usable): ... this.
2083 (bit_FMA4_Usable): New macro.
2084 (bit_XMM_state): New macro.
2085 (bit_YMM_state): New macro.
2086 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2087 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2088 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2089 (CPUID_OSXSAVE): New macro.
2090 (CPUID_AVX): New macro.
2091 (CPUID_FMA4): New macro.
2092 (index_YMM_Usable): Rename to...
2093 (index_AVX_Usable): ... this.
2094 (HAS_AVX): Use HAS_ARCH_FEATURE.
2095 (HAS_FMA4): Likewise.
2096 (HAS_YMM_USABLE): Remove.
2097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2098 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2099 are present.
2100 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2101 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2102 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2103 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2104 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2105
0af797de
CM
21062012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2107
2108 * math/libm-test.c: Support platforms without multiple rounding modes.
2109 * math/bug-nextafter.c: Support platforms without FP exceptions.
2110 * math/bug-nexttoward.c: Likewise.
2111 * math/test-fenv.c: Likewise.
2112 * math/test-misc.c: Likewise.
2113 * stdlib/bug-getcontext.c: Likewise.
2114
e39745ff
AJ
21152012-05-17 Andreas Jaeger <aj@suse.de>
2116
2117 * manual/examples/search.c (critter_cmp): Change signature to
2118 avoid warnings.
2119 * manual/string.texi (Collation Functions): Likewise.
2120
48970aba
L
21212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2122
2123 * bits/types.h: Fold copyright years.
2124 * bits/typesizes.h: Likewise.
2125 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2126 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2127 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2128 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2129 * time/time.h: Likewise.
2130
bedee953
PP
21312012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2132
2133 [BZ #208]
2134 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2135 in instead of returning them. Return void.
2136 (__libc_mallinfo): Accumulate over all arenas.
2137 (__malloc_stats): Adjust for change in int_mallinfo interface.
2138
61653dfb
RM
21392012-05-16 Roland McGrath <roland@hack.frob.com>
2140
30b99d79
RM
2141 [BZ #10375]
2142 * configure.in (NM): Add AC_CHECK_TOOL for it.
2143 (libc_extra_cflags): New substituted variable.
2144 Check for -fstack-protector being used implicitly.
2145 * configure: Regenerated.
2146 * config.make.in (config-extra-cflags): New variable,
2147 gets @libc_extra_cflags@.
2148 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2149
61653dfb
RM
2150 [BZ #10375]
2151 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2152 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2153 * configure: Regenerated.
2154 * config.make.in (CPPUNDEFS): New substituted variable.
2155 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2156 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2157 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2158
661768bb
L
21592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2160
2161 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2162 (mq_attr): Use __syscall_slong_t.
2163
d4261567
L
21642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2165
2166 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2167 Check __x86_64__ instead of __WORDSIZE.
2168 (_STAT_VER_LINUX): Likewise.
2169 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2170 __syscall_ulong_t and __syscall_slong_t.
2171 (stat64): Likewise.
2172
cf3ff365
L
21732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2174
2175 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2176
76cf3e4d
L
21772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2178
2179 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2180
a637753a
L
21812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2182
2183 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2184 __syscall_ulong_t.
2185
d5e05119
L
2186 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2187 include <bits/wordsize.h>. Check __x86_64__ instead of
2188 __WORDSIZE.
2189 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2190 defined.
2191 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2192
f62ee380
L
2193 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2194 include <bits/wordsize.h>. Check __x86_64__ instead of
2195 __WORDSIZE.
2196 (user_regs_struct): Use "__extension__ unsigned long long"
2197 instead of "unsigned long" if __x86_64__ is defined.
2198 (user): Likewise. Pad after pointer field if __ILP32__ is
2199 defined.
2200
4e124ced
JM
22012012-05-16 Joseph Myers <joseph@codesourcery.com>
2202
6a3951a0
JM
2203 * configure.in (makeinfo): Require version 4.5 or later. Allow
2204 versions 5 to 9.
2205 * configure: Regenerated.
2206 * manual/install.texi (texinfo): Increase version requirement to
2207 4.5 or later.
2208 * INSTALL: Regenerated.
2209
4e124ced
JM
2210 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2211
953ca31a
L
22122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2213
2214 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2215
617aca05
L
2216 * sysdeps/x86_64/x32/ffs.c: New file.
2217
5762f7ae
L
2218 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2219 __syscall_ulong_t.
2220 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2221 defined. Use __syscall_ulong_t.
2222 (shminfo): Use __syscall_ulong_t.
2223 (shm_info): Likewise.
2224
a26b6856
L
2225 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2226 __syscall_ulong_t.
2227
cb2b9ef7
L
2228 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2229 <bits/wordsize.h>.
2230 (msgqnum_t): Use __syscall_ulong_t.
2231 (msglen_t): Likewise.
2232 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2233 __syscall_ulong_t.
2234
34683bb0
L
2235 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2236 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2237
84a68786
L
2238 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2239
48baa5f1
L
2240 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2241 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2242
180be88b
L
2243 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2244 __syscall_slong_t.
2245
5e90c8ad
L
2246 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2247 include <bits/wordsize.h>. Check __x86_64__ instead of
2248 __WORDSIZE.
2249
23dfb58b
L
2250 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2251 "unsigned long long int" if __x86_64__ is defined.
2252 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2253
ce5d54b0
L
2254 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2255 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2256 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2257
13dc9eac
L
2258 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2259 <stdint.h>.
2260 (GET_PC): Cast to uintptr_t first.
2261 (GET_FRAME): Likewise.
2262 (GET_STACK): Likewise.
2263
a7895d15
L
2264 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2265 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2266 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2267 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2268 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2269 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2270 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2271 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2272 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2273 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2274 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2275 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2276 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2277 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2278 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2279 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2280 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2281 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2282 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2283 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2284 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2285 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2286 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2287 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2288 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2289 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2290 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2291 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2292 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2293
656416c9
AS
22942012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2295
5bd66283
AS
2296 * Makerules (+depfiles): Also collect depfiles from .oS in
2297 $(extra-objs).
2298 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2299 .oS, $(libnldbl-routines)).
2300
656416c9
AS
2301 * Makerules (native-compile-mkdep-flags): Define.
2302 * sunrpc/Makefile (extra-objs): Add $(addprefix
2303 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2304 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2305 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2306 calling $(make-target-directory).
2307
a46f2169
L
23082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2309
2310 * bits/types.h (__snseconds_t): Removed.
2311 * time/time.h (struct timespec): Replace __snseconds_t with
2312 __syscall_slong_t.
2313 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2314 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2315 Likewise.
2316 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2317 (__SNSECONDS_T_TYPE): Likewise.
2318 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2319 (__SNSECONDS_T_TYPE): Likewise.
2320 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2321 (__SNSECONDS_T_TYPE): Likewise.
2322
6af6528b
L
23232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2324
2325 * sysdeps/mach/hurd/bits/typesizes.h
2326 (__SYSCALL_SLONG_TYPE): New macro.
2327 (__SYSCALL_ULONG_TYPE): Likewise.
2328
de986b56
L
23292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2330
2331 * bits/types.h (__syscall_slong_t): New type.
2332 (__syscall_ulong_t): Likewise.
2333
2334 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2335 (__SYSCALL_ULONG_TYPE): Likewise.
2336 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2337 (__SYSCALL_SLONG_TYPE): Likewise.
2338 (__SYSCALL_ULONG_TYPE): Likewise.
2339 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2340 (__SYSCALL_SLONG_TYPE): Likewise.
2341 (__SYSCALL_ULONG_TYPE): Likewise.
2342 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2343 (__SYSCALL_SLONG_TYPE): Likewise.
2344 (__SYSCALL_ULONG_TYPE): Likewise.
2345
85736dc7
L
23462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2347
2348 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2349 Add sigaltstack-offsets.sym.
2350 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2351 <sigaltstack-offsets.h>.
2352 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2353 longjmp_msg pointer.
2354 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2355 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2356 signal stack.
2357 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2358
cc03b296
JM
23592012-05-15 Joseph Myers <joseph@codesourcery.com>
2360
a9538892
JM
2361 * elf/stackguard-macros.h: Remove file.
2362 * sysdeps/generic/stackguard-macros.h: New file.
2363 * sysdeps/i386/stackguard-macros.h: Likewise.
2364 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2365 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2366 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2367 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2368 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2369 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2370 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2371 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2372 <elf/stackguard-macros.h>.
2373
cc03b296
JM
2374 [BZ #14109]
2375 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2376 __aligned__ in attribute.
2377 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2378 (gregset_t): Likewise.
2379
93171016
L
23802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2381
2382 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2383 * sysdeps/x86_64/64/Implies-after: Here. New file.
2384 * sysdeps/x86_64/x32/Implies-after: New file.
2385
d86813a0
L
23862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2387
2388 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2389 and access return value for _dl_profile_fixup. Use R10_LP to
2390 load frame size.
2391
2953ec75
L
23922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2393
2394 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2395
3b550e9e
L
23962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2397
2398 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2399 * sysdeps/x86_64/x32/sysdep.h: New file.
2400
eda41706
L
24012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2402
2403 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2404 * sysdeps/x86_64/setjmp.S: Likewise.
2405
9ea01d93
AZ
24062012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2407
2408 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2409 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2410 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2411 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2412 remove unused global constant.
2413
02a91938
CM
24142012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2415
2416 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2417 include of <not-cancel.h>.
2418
6540185f
RM
24192012-05-15 Roland McGrath <roland@hack.frob.com>
2420
2421 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2422
509072a0
AJ
24232012-05-15 Jeff Law <law@redhat.com>
2424 Andreas Jaeger <aj@suse.de>
2425
2426 [BZ #13594]
2427 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2428 out from...
2429 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2430 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2431 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2432 code changing __hst_map_handle.map.
2433
ba75122d
RM
24342012-05-15 Roland McGrath <roland@hack.frob.com>
2435
2436 * configure.in (sysnames): Look for Implies-before and Implies-after
2437 files.
2438 * configure: Regenerated.
2439
890d8bd8
L
24402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2441
2442 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2443 8-byte data alignment with LP_SIZE alignment.
2444
f6ee6623
L
24452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2446
2447 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2448 into R10_LP.
2449
ea2626f6
L
24502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2451
2452 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2453
085f715e
L
24542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2455
2456 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2457 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2458 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2459 Likewise.
2460 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2461
be8498fc
L
24622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2463
2464 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2465 (stackinfo_sub_sp): Likewise.
2466
70bc83b9
L
24672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2468
2469 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2470 RAX_LP.
2471
9bc0b730
L
24722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2473
2474 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2475 into R*_LP.
2476
6d2850e7
L
24772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2478
2479 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2480 sizes into R*_LP.
2481
3cb84561
L
24822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2483
2484 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2485
54e2ed81
L
24862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2487
2488 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2489 into R11_LP and load __x86_64_shared_cache_size_half into
2490 R8_LP.
2491
8a17f349
L
24922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2493
2494 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2495 R8_LP.
2496
777b1eea
AZ
24972012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2498
2499 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2500 logb for POWER7.
2501 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2502 logbf for POWER7.
2503 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2504 logbl for POWER7.
2505 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2506 powerpc32/power7/fpu/s_logb.c via #include.
2507 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2508 powerpc32/power7/fpu/s_logbf.c via #include.
2509 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2510 powerpc32/power7/fpu/s_logbl.c via #include.
2511
d20d4ac2
JM
25122012-05-15 Joseph Myers <joseph@codesourcery.com>
2513
2514 * README.libm: Remove file.
2515
6cdef1ab
L
25162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2517
2518 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2519 count for x32. Use R*_LP and omit operand-size suffix.
2520
0b254d8f
L
25212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2522
2523 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2524 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2525 * sysdeps/x86_64/x32/shlib-versions: New file.
2526
ceb809dc
RM
25272012-05-14 Roland McGrath <roland@hack.frob.com>
2528
2529 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2530 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2531 Use _dl_fatal_printf instead.
2532
37f1abd4
JM
25332012-05-14 Joseph Myers <joseph@codesourcery.com>
2534
2535 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2536 set if not set by the user. Do not allow for being unset.
2537 * sysdeps/unix/sysv/linux/configure: Regenerated.
2538
11de3a33
L
25392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2540
2541 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2542 the `q' suffix from lea and replace .quad with ASM_ADDR.
2543
e02f153a
L
25442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2545
2546 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2547 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2548 instead of $17.
2549 (PTR_DEMANGLE): Likewise.
2550
520ae0fd
L
25512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2552
2553 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2554 (LP_OP): Likewise.
2555 (ASM_ADDR): Likewise.
2556 (RAX_LP): Likewise.
2557 (RBP_LP): Likewise.
2558 (RBX_LP): Likewise.
2559 (RCX_LP): Likewise.
2560 (RDI_LP): Likewise.
2561 (RSI_LP): Likewise.
2562 (RSP_LP): Likewise.
2563 (R8_LP): Likewise.
2564 (R9_LP): Likewise.
2565 (R10_LP): Likewise.
2566 (R10_LP): Likewise.
2567 (R11_LP): Likewise.
2568 (R12_LP): Likewise.
2569 (R13_LP): Likewise.
2570 (R14_LP): Likewise.
2571 (R15_LP): Likewise.
2572
b985be81
L
25732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2574
2575 * sysdeps/x86_64/x32/dl-machine.h: New file.
2576
6a4888ff
AJ
25772012-05-14 Andreas Jaeger <aj@suse.de>
2578
2579 * manual/Makefile (subdir): Remove export of subdir.
2580 (all): Remove target.
2581 (.PHONY): Remove all from list.
2582 (mkinstalldirs): Remove.
2583 (.PHONY): Remove installdirs from list.
2584 ($(inst_infodir)/libc.info): Use make-target-directory.
2585 (installdirs): Remove.
2586 (subdir_%): Remove.
2587 (glibc-targets): Remove.
2588 (lib): Remove.
2589 (stubs): Remove.
2590 ($(objpfx)stubs ../po/manual.pot): Remove.
2591 ($(objpfx)stamp%): Remove.
2592 (make-target-directory): Remove.
2593 (subdir_install): Remove.
2594 (routines): Remove.
2595 (aux): Remove.
2596 (sources): Remove.
2597 (objects): Remove.
2598 (headers): Remove.
2599
2600 [BZ #13750]
2601 * manual/.gitignore: Remove, it's not needed anymore.
2602 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2603 all files in it.
2604 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2605 directory.
2606 (texis): Renamed to $(objpfx)texis.
2607 (texis-path): New, contains path to generated files.
2608 (chapters.%): Use texis-path for complete path, add extra argument
2609 libc-texinfo.sh.
2610 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2611 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2612 (summary,texi, stamp-summary): Use complete path of
2613 files. Generate files in build dir.
2614 (dir-add.texi): Build in build dir.
2615 (libm-err.texi,stamp-libm-err): Likewise.
2616 (version.texi, stamp-version): Likewise.
2617 (.%c.texi): Likewise.
2618 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2619 (mostlyclean): Remove target.
2620 (realclean): Remove target.
2621 (generated): Add new variable with contents from mostlyclean and
2622 realclean, remove entries duplicated in common-mostlyclean, add
2623 stamp-libm-err and stamp-version.
2624 (generated-dirs): Add libc directory.
2625 ($(inst_infodir)/libc.info): Install files from build dir.
2626
2627 * manual/install.texi (Configuring and compiling): Adjust since
2628 the info files are not part of the tar ball anymore.
2629
7ac77294
AJ
26302012-05-14 Andreas Jaeger <aj@suse.de>
2631
2632 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2633 variable.
2634
ffb7875d
JM
26352012-05-14 Joseph Myers <joseph@codesourcery.com>
2636
2637 [BZ #13717]
2638 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2639 to 2.2.0 where earlier.
2640 * sysdeps/unix/sysv/linux/configure: Regenerated.
2641 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2642 Remove conditional code.
2643 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2644 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2645 Remove conditional code.
2646 [!__NR_lchown]: Likewise.
2647 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2648 [__NR_lchown]: Likewise.
2649 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2650 comment referencing __ASSUME_LCHOWN_SYSCALL.
2651 * sysdeps/unix/sysv/linux/i386/sigaction.c
2652 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2653 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2654 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2655 Remove conditional code.
2656 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2657 (__protocol_available): Remove #if 0 code.
2658 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2659 conditional code.
2660 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2661 * sysdeps/unix/sysv/linux/kernel-features.h
2662 (__ASSUME_GETCWD_SYSCALL): Don't define.
2663 (__ASSUME_REALTIME_SIGNALS): Likewise.
2664 (__ASSUME_PREAD_SYSCALL): Likewise.
2665 (__ASSUME_PWRITE_SYSCALL): Likewise.
2666 (__ASSUME_POLL_SYSCALL): Likewise.
2667 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2668 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2669 non-SPARC.
2670 (__ASSUME_SIOCGIFNAME): Don't define.
2671 (__ASSUME_MSG_NOSIGNAL): Likewise.
2672 (__ASSUME_SENDFILE): Define unconditionally.
2673 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2674 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2675 conditional code.
2676 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2677 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2678 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2679 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2680 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2681 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2682 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2684 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2685 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2687 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2688 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2690 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2691 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2693 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2694 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2696 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2697 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2699 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2700 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2702 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2703 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2705 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2706 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2707 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2708 Remove conditional code.
2709 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2710 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2711 Remove conditional code.
2712 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2713 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2714 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2715 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2716 Remove conditional code.
2717 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2718 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2719 Remove conditional code.
2720 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2721 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2722 Remove conditional code.
2723 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2724 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2725 Remove conditional code.
2726 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2727 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2728 Remove conditional code.
2729 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2730 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2731 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2732 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2733 * sysdeps/unix/sysv/linux/sigaction.c
2734 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2735 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2736 * sysdeps/unix/sysv/linux/sigpending.c
2737 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2738 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2739 * sysdeps/unix/sysv/linux/sigprocmask.c
2740 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2741 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2742 * sysdeps/unix/sysv/linux/sigsuspend.c
2743 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2744 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2745 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2746 (__libc_missing_rt_sigs): Remove.
2747 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2748 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2749 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2750 Remove conditional code.
2751 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2752 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2753 return 1.
2754 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2755 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2756 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2757 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2758
1bfb7291
AJ
27592012-05-14 Andreas Jaeger <aj@suse.de>
2760
caae5a81
AJ
2761 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2762 it's not used in glibc.
2763 (__coshm1): Likewise.
2764 (__acosh1p): Likewise.
2765 (__sgn): Likewise.
2766
1bfb7291
AJ
2767 * manual/string.texi (Copying and Concatenation): Add missing
2768 variable in concat example.
2769 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2770
c044d724
L
27712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2772
144c5467 2773 [BZ #14103]
c044d724
L
2774 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2775 __builtin_clzl with __builtin_clzll.
2776
2523c62b
L
27772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2778
2779 [BZ #14104]
2780 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2781 libc_freeres_ptr.
2782
d7bb4c42
LD
27832012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2784
2785 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2786 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2787 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2788 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2789
9dc4e1fb
MF
27902012-05-14 Mike Frysinger <vapier@gentoo.org>
2791
2792 * NEWS: Update ia64 info.
2793
c7df0112
AS
27942012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2795
2796 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2797 used as bcopy.
2798
dc70356c
TS
27992012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2800
2801 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2802 * sysdeps/unix/syscalls.list (dup3): Likewise.
2803 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2804 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2805
9fb1a21f
L
28062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2807
2808 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2809 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2810
4822a2a5
L
28112012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2812
2813 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2814 thread pointer.
2815 (TLS_IE): Use mov/add instead of movq/addq to load thread
2816 pointer.
2817 (TLS_GD_PREFIX): New.
2818 (TLS_GD): Use it.
2819
842b81d6
DM
28202012-05-11 David S. Miller <davem@davemloft.net>
2821
2822 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2823 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2824 (_FPU_SETCW): Likewise.
2825
1cf463cd
L
28262012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2827
2828 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2829 is 32-byte aligned.
2830
60cc4a18
AS
28312012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2832
2833 [BZ #11837]
2834 * iconvdata/gb18030.c: Update tables.
2835 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2836 characters specially.
2837 (BODY for TO_LOOP): Add encoding of missing ranges.
2838
febb44a4
TS
28392012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2840
2841 [BZ #13673]
2842 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2843 * sysdeps/mach/hurd/dup3.c: Likewise.
2844 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2845 * sysdeps/powerpc/memmove.c:: Likewise.
2846
0a10fb9e
L
28472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2848
2849 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2850 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2851
df8a552f
L
28522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2853
2854 * elf/elf.h (R_X86_64_RELATIVE64): New.
2855 (R_X86_64_NUM): Updated.
2856 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2857 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2858 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2859 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2860 tst-quad1pie tst-quad2pie
2861 (modules-names): Add tst-quadmod1 tst-quadmod2.
2862 ($(objpfx)tst-quad1): New dependency.
2863 ($(objpfx)tst-quad2): Likewise.
2864 ($(objpfx)tst-quad1pie): Likewise.
2865 ($(objpfx)tst-quad2pie): Likewise.
2866 * sysdeps/x86_64/tst-quad1.c: New file.
2867 * sysdeps/x86_64/tst-quad1pie.c: New file.
2868 * sysdeps/x86_64/tst-quad2.c: Likewise.
2869 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2870 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2871 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2872 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2873 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2874
f34d6f84
ST
28752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2876
f42d41d1
ST
2877 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2878 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2879 * streams/stropts.h (t_scalar_t): Define type.
2880
3c3571fc
ST
2881 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2882 (_PATH_PRESERVE): Set to "/var/lib".
2883 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2884
61f06bd3
ST
2885 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2886 instead of int.
2887
918d4d71
ST
2888 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2889 if __dir_mkfile succeeded.
2890
f34d6f84
ST
2891 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2892 checking for _hurd_dtablesize. Unlock it right after having
2893 finished _hurd_dtable allocation.
2894
10589b4a
TS
28952012-05-10 Thomas Schwinge <thomas@schwinge.name>
2896
674cdbc7
TS
2897 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2898 * sysdeps/mach/hurd/configure: Regenerated.
2899 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2900 special-casing to...
2901 * sysdeps/gnu/configure.in: ... this new file.
2902 * sysdeps/unix/sysv/linux/configure: Regenerated.
2903 * sysdeps/gnu/configure: New generated file.
2904
8e41b99f
TS
2905 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2906 for Linux: use nsec instead of usec, as well as:
2907 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2908 members of type struct timespec.
2909 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2910 New macros.
2911 (struct stat64): Likewise.
2912 (_STATBUF_ST_NSEC): New macro.
2913 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2914
10589b4a
TS
2915 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2916 __strtoul_internal rather than strtoul.
2917
63643c85
PT
29182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2919
2920 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2921 and reject them.
2922
3faebe6a
ST
29232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2924
2925 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2926 which preserves existing values.
2927 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2928
c6474b07
PT
29292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2930
2931 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2932 TIMEOUT values. Return EINVAL for NFDS values either negative or
2933 greater than FD_SETSIZE.
2934
1043890b
ST
29352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2936
2937 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2938 allocated, call __vm_protect to finish enabling the existing space, and
2939 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2940 allocate the remainder.
2941
37ed8b9b
PT
29422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2943
2944 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2945 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2946
db653660
ST
29472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2948
37ed8b9b
PT
2949 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2950 sysdeps/mach/hurd/readlink.c.
b29d4053 2951
db653660
ST
2952 * posix/tst-sysconf.c (posix_options): Only use
2953 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2954 _POSIX_SYNCHRONIZED_IO when they are defined
2955 * sysdeps/mach/hurd/bits/posix_opt.h:
2956 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2957 (_XOPEN_REALTIME): Undefine macro.
2958 (_XOPEN_REALTIME_THREADS): Undefine macro.
2959 (_XOPEN_SHM): Undefine macro.
2960 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2961 macro to -1.
2962 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2963 macro to -1.
2964 (_POSIX_ASYNC_IO): Undefine macro.
2965 (_POSIX_PRIORITIZED_IO): Undefine macro.
2966 (_POSIX_SPIN_LOCKS): Define macro to -1.
2967
ee16e894
ST
2968 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2969 SA_NODEFER, SA_RESETHAND.
2970 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2971 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2972 F_DUPFD_CLOEXEC.
2973
6103ae3b
TS
29742012-05-10 Thomas Schwinge <thomas@schwinge.name>
2975
2976 * elf/Makefile (pldd-modules): Define unconditionally.
2977
80b4e5f3
TS
29782012-05-10 Thomas Schwinge <thomas@schwinge.name>
2979
2980 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2981
edadcbd6
ST
29822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2983
2984 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2985 Return ENOENT when name is empty.
2986 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2987
80694780
TS
29882012-05-10 Thomas Schwinge <thomas@schwinge.name>
2989
1792c087
TS
2990 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2991
80694780
TS
2992 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2993
6b645f0d
ST
29942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2995
80694780
TS
2996 Fix mlock in all cases except non-readable pages.
2997 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2998 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2999
6b645f0d
ST
3000 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3001 (__mkdir): When path is `/', just fail with EEXIST.
3002 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3003
e468f8a3
TS
30042012-05-10 Thomas Schwinge <thomas@schwinge.name>
3005
3006 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3007 <sys/uio.h> (for writev).
3008 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3009 and <sys/param.h> (for MIN).
3010
a4186cff
PT
30112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3012
3013 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3014 REQUESTED_TIME. Properly set the remaining time and return EINTR
3015 if interrupted.
3016
510bbf14
TS
30172012-05-10 Thomas Schwinge <thomas@schwinge.name>
3018
3019 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3020 Depend on against $(link-rpcuserlibs).
3021
5d5722e8
ST
30222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3023
a4186cff
PT
3024 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3025 (__libc_stack_end): Do not use attribute_relro.
3026 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3027 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 3028 to libthread-provided value.
a4186cff
PT
3029 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3030 attribute_relro.
5d5722e8 3031
37233df9
TS
30322012-05-10 Thomas Schwinge <thomas@schwinge.name>
3033
be971a2b
TS
3034 [BZ #3748]
3035 * bits/libc-lock.h (__libc_once_get): New macro.
3036 * sysdeps/mach/bits/libc-lock.h: Likewise.
3037 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3038 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3039 instead of using implementation details.
3040
37233df9
TS
3041 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3042 * libio/freopen.c: Likewise.
3043 * libio/freopen64.c: Likewise.
3044 * misc/syslog.c: Likewise.
3045 * nscd/connections.c: Likewise.
3046 * nscd/netgroupcache.c: Likewise.
3047 * sysdeps/posix/getcwd.c: Likewise.
3048
38de94a5
RM
30492012-05-10 Roland McGrath <roland@hack.frob.com>
3050
3051 * math/w_ilogbf.c: Add #include <limits.h>.
3052
67530489
ST
30532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3054
a4186cff 3055 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
3056 path instead of returning without unlocking.
3057
67530489
ST
3058 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3059 immediate-write ioctls.
3060 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3061
5aa3a74a
TS
30622012-05-10 Thomas Schwinge <thomas@schwinge.name>
3063
18bad2ae
TS
3064 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3065 __builtin_frame_address instead of making assumptions about the
3066 location of the return address relative to DATA. Force early load of
3067 the return address.
3068 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3069 __builtin_frame_address.
3070
5aa3a74a
TS
3071 dup3 for GNU Hurd.
3072 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3073 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3074 implement dup3 and do some further code clean-ups.
3075 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3076 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3077
ecd0de9a
ST
30782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3079
cd9fa985
ST
3080 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3081
a4186cff
PT
3082 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3083 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3084 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3085 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3086 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3087 d->port.lock.
802ca5a5 3088
a4186cff
PT
3089 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3090 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3091 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3092
bcf55240
TS
30932012-05-10 Thomas Schwinge <thomas@schwinge.name>
3094
6960eb42
TS
3095 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3096 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3097 definitions.
3098
eb43375f
TS
3099 accept4 for GNU Hurd.
3100 * include/sys/socket.h (__libc_accept4): New prototype.
3101 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3102 to implement __libc_accept4.
3103 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3104 __libc_accept4.
3105 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3106
bcf55240
TS
3107 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3108 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3109 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3110 signal-defines.sym.
3111
6178c55b
ST
31122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3113
a4186cff 3114 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3115
6f080c2f
TS
31162012-05-10 Thomas Schwinge <thomas@schwinge.name>
3117
3118 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3119 assertion on O_CLOEXEC flag.
3120 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3121 * hurd/intern-fd.c: Likewise.
3122 * hurd/port2fd.c: Likewise.
3123
bcfe3a54
ST
31242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3125
3126 [BZ #3906]
3127 * bits/in.h (IPV6_PKTINFO): Define new macro.
3128 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3129
89c9aa49
AZ
31302012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3131
3132 [BZ #13954]
3133 [BZ #13955]
3134 [BZ #13956]
3135 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3136 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3137 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3138 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3139 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3140 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3141 * math/libm-test.inc (logb_test) : Additional logb tests.
3142
021db4be
AJ
31432012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3144 Andreas Jaeger <aj@suse.de>
3145
3146 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3147 * configure: Regenerated.
3148 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3149 * config.make.in (link-obsolete-rpc): New substituted variable.
3150 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3151 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3152 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3153 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3154 so that libc.a contains the symbols.
3155 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3156 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3157 * sunrpc/auth_none.c: Likewise.
3158 * sunrpc/auth_unix.c: Likewise.
3159 * sunrpc/authdes_prot.c: Likewise.
3160 * sunrpc/authuxprot.c: Likewise.
3161 * sunrpc/clnt_gen.c: Likewise.
3162 * sunrpc/clnt_perr.c: Likewise.
3163 * sunrpc/clnt_raw.c: Likewise.
3164 * sunrpc/clnt_simp.c: Likewise.
3165 * sunrpc/clnt_tcp.c: Likewise.
3166 * sunrpc/clnt_udp.c: Likewise.
3167 * sunrpc/clnt_unix.c: Likewise.
3168 * sunrpc/des_crypt.c: Likewise.
3169 * sunrpc/des_soft.c: Likewise.
3170 * sunrpc/get_myaddr.c: Likewise.
3171 * sunrpc/key_call.c: Likewise.
3172 * sunrpc/key_prot.c: Likewise.
3173 * sunrpc/netname.c: Likewise.
3174 * sunrpc/pm_getmaps.c: Likewise.
3175 * sunrpc/pm_getport.c: Likewise.
3176 * sunrpc/pmap_clnt.c: Likewise.
3177 * sunrpc/pmap_prot.c: Likewise.
3178 * sunrpc/pmap_prot2.c: Likewise.
3179 * sunrpc/pmap_rmt.c: Likewise.
3180 * sunrpc/publickey.c: Likewise.
3181 * sunrpc/rpc_cmsg.c: Likewise.
3182 * sunrpc/rpc_common.c: Likewise.
3183 * sunrpc/rpc_dtable.c: Likewise.
3184 * sunrpc/rpc_prot.c: Likewise.
3185 * sunrpc/rpc_thread.c: Likewise.
3186 * sunrpc/rtime.c: Likewise.
3187 * sunrpc/svc.c: Likewise.
3188 * sunrpc/svc_auth.c: Likewise.
3189 * sunrpc/svc_raw.c: Likewise.
3190 * sunrpc/svc_run.c: Likewise.
3191 * sunrpc/svc_tcp.c: Likewise.
3192 * sunrpc/svc_udp.c: Likewise.
3193 * sunrpc/svc_unix.c: Likewise.
3194 * sunrpc/svcauth_des.c: Likewise.
3195 * sunrpc/xcrypt.c: Likewise.
3196 * sunrpc/xdr.c: Likewise.
3197 * sunrpc/xdr_array.c: Likewise.
3198 * sunrpc/xdr_float.c: Likewise.
3199 * sunrpc/xdr_intXX_t.c: Likewise.
3200 * sunrpc/xdr_mem.c: Likewise.
3201 * sunrpc/xdr_rec.c: Likewise.
3202 * sunrpc/xdr_ref.c: Likewise.
3203 * sunrpc/xdr_sizeof.c: Likewise.
3204 * sunrpc/xdr_stdio.c: Likewise.
3205
b5c086a2
RM
32062012-05-10 Roland McGrath <roland@hack.frob.com>
3207
3208 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3209 change. Update copyright years.
3210
6d74dd09
JM
32112012-05-10 Joseph Myers <joseph@codesourcery.com>
3212
3213 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3214
28e72501
MK
32152012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3216 Joseph Myers <joseph@codesourcery.com>
3217 Paul Pluzhnikov <ppluzhnikov@google.com>
3218
3219 [BZ #14012]
3220 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3221 requiring rpcgen.
3222 [cross-compiling] (extra-libs): Likewise.
3223 [cross-compiling] (extra-libs-others): Likewise.
3224 [cross-compiling] (librpcsvc-routines): Likewise.
3225 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3226 [cross-compiling] (omit-deps): Likewise.
3227 (sunrpc-CPPFLAGS): New variable.
3228 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3229 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3230 (cross-rpcgen-objs): New variable.
3231 (extra-objs): Append $(cross-rpcgen-objs).
3232 ($(cross-rpcgen-objs)): New rule.
3233 ($(objpfx)cross-rpcgen): Likewise.
3234 (rpcgen-cmd): Define to use $(built-program-file). Expand
3235 comment.
3236 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3237 ($(objpfx)x%.stmp): Likewise.
3238 * sunrpc/proto.h [IS_IN_build] (_): Define.
3239 [IS_IN_build] (_libc_intl_domainname): Likewise.
3240
c8c59454
L
32412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3242
3243 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3244 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3245 and R_X86_64_TPOFF64.
3246
6f27cd16
JM
32472012-05-10 Joseph Myers <joseph@codesourcery.com>
3248
3249 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3250 sysdeps/unix/sysv/syscalls.list.
3251 (stime): Likewise.
3252 (utime): Likewise.
3253 * sysdeps/unix/sysv/syscalls.list: Remove file.
3254
02467e1c
PE
32552012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3256
3257 [BZ #3440]
3258 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3259 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3260 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3261 (__LC_IDENTIFICATION): Make these macros useful in #if
3262 expressions, as required by C99.
3263
da392631
AS
32642012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3265
3266 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3267 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3268 after this.
3269
8115f29b
L
32702012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3271
3272 * stdlib/longlong.h: Updated from GCC.
3273
bdd74070
AJ
32742012-05-09 Andreas Jaeger <aj@suse.de>
3275
edfe0dbe
AJ
3276 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3277 default is first entry.
3278 (run_mode): Set type.
3279 (main): Remove informal message about syslog.
3280 (options): Fix typo.
3281
bcfe3a54
ST
3282 [BZ #14053]
3283 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3284 to asm.
bcfe3a54
ST
3285 (lrint): Likewise.
3286 (llrintf): Likewise.
3287 (llrint): Likewise.
3288 (rint): Likewise.
3289 (rintf): Likewise.
3290 (nearbyint): Likewise.
3291 (nearbyintf): Likewise.
bdd74070 3292
91d8d69e
AJ
32932012-05-09 Andreas Jaeger <aj@suse.de>
3294 Pedro Alves <palves@redhat.com>
3295
3296 * nscd/nscd.c (run_mode): Use enum.
3297 (main): Cleanup coding style issue.
3298
bb90b80b
AJ
32992012-05-09 Alexandre Oliva <aoliva@redhat.com>
3300 Andreas Jaeger <aj@suse.de>
3301
bcfe3a54
ST
3302 * nscd/nscd.c (go_background): Replaced with...
3303 (run_mode): ... this.
bb90b80b 3304 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3305 (options): Add -F --foreground.
3306 (main): Implement it.
3307 (parse_opt): Parse it.
bb90b80b 3308
1a4b75a1
AJ
33092012-05-09 Andreas Jaeger <aj@suse.de>
3310
3311 [BZ #14083]
3312 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3313 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3314 -Wconversion warning.
3315 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3316 Likewise.
3317
b1cc2472
JM
33182012-05-09 Joseph Myers <joseph@codesourcery.com>
3319
3320 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3321 == 0.
3322 (LC_ALL): Use macro-int-constant.
3323 (LC_COLLATE): Likewise.
3324 (LC_CTYPE): Likewise.
3325 (LC_MESSAGES): Likewise.
3326 (LC_MONETARY): Likewise.
3327 (LC_NUMERIC): Likewise.
3328 (LC_TIME): Likewise.
3329 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3330 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3331 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3332 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3333 Specify type.
3334 [C99-based standards] (float_t): Expect type.
3335 [C99-based standards] (double_t): Expect type.
3336 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3337 type.
3338 [C99-based standards] (HUGE_VALL): Likewise.
3339 [C99-based standards] (INFINITY): Likewise.
3340 [C99-based standards] (NAN): Likewise.
3341 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3342 [C99-based standards] (FP_NAN): Likewise.
3343 [C99-based standards] (FP_NORMAL): Likewise.
3344 [C99-based standards] (FP_SUBNORMAL): Likewise.
3345 [C99-based standards] (FP_ZERO): Likewise.
3346 [C99-based standards] (FP_FAST_FMA): Use
3347 optional-macro-int-constant. Specify type. Require == 1.
3348 [C99-based standards] (FP_FAST_FMAF): Likewise.
3349 [C99-based standards] (FP_FAST_FMAL): Likewise.
3350 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3351 [C99-based standards] (FP_ILOGBNAN): Likewise.
3352 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3353 Specify type.
3354 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3355 [C99-based standards] (math_errhandling): Specify type.
3356 [ISO99 || ISO11] (signgam): Do not allow.
3357 [non-C99-based standards] (copysignf): Do not allow.
3358 [non-C99-based standards] (exp2f): Likewise.
3359 [non-C99-based standards] (log2f): Likewise.
3360 [non-C99-based standards] (modff): Allow.
3361 [non-C99-based standards] (erff): Do not allow.
3362 [non-C99-based standards] (erfcf): Likewise.
3363 [non-C99-based standards] (gammaf): Likewise.
3364 [non-C99-based standards] (hypotf): Likewise.
3365 [non-C99-based standards] (j0f): Likewise.
3366 [non-C99-based standards] (j1f): Likewise.
3367 [non-C99-based standards] (jnf): Likewise.
3368 [non-C99-based standards] (lgammaf): Likewise.
3369 [non-C99-based standards] (tgammaf): Likewise.
3370 [non-C99-based standards] (y0f): Likewise.
3371 [non-C99-based standards] (y1f): Likewise.
3372 [non-C99-based standards] (ynf): Likewise.
3373 [non-C99-based standards] (isnanf): Likewise.
3374 [non-C99-based standards] (acoshf): Likewise.
3375 [non-C99-based standards] (asinhf): Likewise.
3376 [non-C99-based standards] (atanhf): Likewise.
3377 [non-C99-based standards] (cbrtf): Likewise.
3378 [non-C99-based standards] (expm1f): Likewise.
3379 [non-C99-based standards] (ilogbf): Likewise.
3380 [non-C99-based standards] (log1pf): Likewise.
3381 [non-C99-based standards] (logbf): Likewise.
3382 [non-C99-based standards] (nextafterf): Likewise.
3383 [non-C99-based standards] (remainderf): Likewise.
3384 [non-C99-based standards] (rintf): Likewise.
3385 [non-C99-based standards] (scalbf): Likewise.
3386 [non-C99-based standards] (copysignl): Likewise.
3387 [non-C99-based standards] (exp2l): Likewise.
3388 [non-C99-based standards] (log2l): Likewise.
3389 [non-C99-based standards] (modfl): Allow.
3390 [non-C99-based standards] (erfl): Do not allow.
3391 [non-C99-based standards] (erfcl): Likewise.
3392 [non-C99-based standards] (gammal): Likewise.
3393 [non-C99-based standards] (hypotl): Likewise.
3394 [non-C99-based standards] (j0l): Likewise.
3395 [non-C99-based standards] (j1l): Likewise.
3396 [non-C99-based standards] (jnl): Likewise.
3397 [non-C99-based standards] (lgammal): Likewise.
3398 [non-C99-based standards] (tgammal): Likewise.
3399 [non-C99-based standards] (y0l): Likewise.
3400 [non-C99-based standards] (y1l): Likewise.
3401 [non-C99-based standards] (ynl): Likewise.
3402 [non-C99-based standards] (isnanl): Likewise.
3403 [non-C99-based standards] (acoshl): Likewise.
3404 [non-C99-based standards] (asinhl): Likewise.
3405 [non-C99-based standards] (atanhl): Likewise.
3406 [non-C99-based standards] (cbrtl): Likewise.
3407 [non-C99-based standards] (expm1l): Likewise.
3408 [non-C99-based standards] (ilogbl): Likewise.
3409 [non-C99-based standards] (log1pl): Likewise.
3410 [non-C99-based standards] (logbl): Likewise.
3411 [non-C99-based standards] (nextafterl): Likewise.
3412 [non-C99-based standards] (remainderl): Likewise.
3413 [non-C99-based standards] (rintl): Likewise.
3414 [non-C99-based standards] (scalbl): Likewise.
3415 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3416 [non-C99-based standards] (FP_*): Do not allow.
3417 [C99-based standards] (FP_*): Change to
3418 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3419 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3420 allow.
3421 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3422 (SIG_ERR): Likewise.
3423 [X/Open-based standards] (SIG_HOLD): Likewise.
3424 (SIG_IGN): Likewise.
3425 (SIGABRT): Use macro-int-constant. Specify type. Require
3426 positive value.
3427 (SIGFPE): Likewise.
3428 (SIGILL): Likewise.
3429 (SIGINT): Likewise.
3430 (SIGSEGV): Likewise.
3431 (SIGTER): Likewise.
3432 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3433 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3434 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3435 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3436 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3437 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3438 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3439 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3440 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3441 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3442 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3443 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3444 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3445 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3446 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3447 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3448 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3449 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3450 [X/Open-based standards] (SIGTRAP): Likewise.
3451 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3452 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3453 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3454 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3455 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3456 allow.
3457
b9f1922d
IW
34582012-05-08 Ian Wienand <ianw@vmware.com>
3459
3460 [BZ #14080]
3461 * time/tzset.c (__tzset_parse_tz): Update default rules for
3462 daylight time changes in the Energy Policy Act of 2005.
3463
1db86e88
AJ
34642012-05-09 Andreas Jaeger <aj@suse.de>
3465
3466 [BZ #13983]
3467 * elf/ldconfig.c (parse_conf): Change string to make clear that
3468 ldconfig only issued a warning if ld.so.conf does not exist.
3469
dee4a4e3
DM
34702012-05-08 David S. Miller <davem@davemloft.net>
3471
ee0db190
DM
3472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3473 movxtod instead of popping the value on the stack.
3474
dee4a4e3
DM
3475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3476
6a43ec98
CD
34772012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3478
3479 * config.h.in: Add HAVE_ARM_PCS_VFP.
3480
05c2c961
RMG
34812012-05-08 Roland Mc Grath <roland@hack.frob.com>
3482
bcfe3a54
ST
3483 [BZ #13979]
3484 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3485 checking but the checks are disabled for any reason.
05c2c961 3486
4b30f61a
L
34872012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3488
3489 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3490 and ELF64_R_TYPE with ELFW(R_TYPE).
3491
eee2bc67
JM
34922012-05-08 Joseph Myers <joseph@codesourcery.com>
3493
7ea5391a
JM
3494 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3495 (ulimit): Likewise.
3496
eee2bc67
JM
3497 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3498 (settimeofday): Likewise.
3499
abb66a67
MF
35002012-05-08 Mike Frysinger <vapier@gentoo.org>
3501
3502 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3503 a struct th_u2 inside the union, and move tu_block/tu_code into
3504 a new th_u3 union of tu_block/tu_code inside of that. Move
3505 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3506 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3507 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3508 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3509 (th_stuff): Change to th_u1.tu_stuff.
3510 (th_data): Define.
3511 (th_msg): Change to th_u1.th_u2.tu_data.
3512
7f18b530
DM
35132012-05-07 David S. Miller <davem@davemloft.net>
3514
05760585
DM
3515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3516
7f18b530
DM
3517 [BZ #14074]
3518 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3519 (SETUP_PIC_REG): Use it.
3520 (SETUP_PIC_REG_LEAF): Use it.
3521
495fd99f
JM
35222012-05-07 Joseph Myers <joseph@codesourcery.com>
3523
3524 [BZ #13885]
3525 [BZ #13923]
3526 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3527 USE_AS_EXPM1L.
3528 (EXPL_FINITE): Likewise.
3529 (FLDLOG): Likewise.
3530 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3531 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3532 e_expl.S.
3533 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3534 USE_AS_EXPM1L.
3535 (EXPL_FINITE): Likewise.
3536 (FLDLOG): Likewise.
3537 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3538 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3539 e_expl.S.
3540 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3541 test of -max_value argument for long double.
3542 * sysdeps/i386/fpu/libm-test-ulps: Update.
3543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3544
6693d694
DM
35452012-05-06 David S. Miller <davem@davemloft.net>
3546
3547 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3548 quad soft-float symbols whose references which are compiler
3549 generated.
3550 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3551
6c23e11c
JM
35522012-05-06 Joseph Myers <joseph@codesourcery.com>
3553
d8b82cad
JM
3554 [BZ #13884]
3555 [BZ #13914]
3556 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3557 USE_AS_EXP10L.
3558 (EXPL_FINITE): Likewise.
3559 (FLDLOG): Likewise.
3560 (c0): Likewise.
3561 (c1): Likewise.
3562 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3563 Adjust comments for base varying.
3564 (__expl_finite): Change alias to EXPL_FINITE.
3565 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3566 e_expl.S.
3567 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3568 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3569 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3570 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3571 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3572 USE_AS_EXP10L.
3573 (EXPL_FINITE): Likewise.
3574 (FLDLOG): Likewise.
3575 (c0): Likewise.
3576 (c1): Likewise.
3577 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3578 Adjust comments for base varying.
3579 (__expl_finite): Change alias to EXPL_FINITE.
3580 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3581 tests for bugs.
3582 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3583
6c23e11c
JM
3584 [BZ #14064]
3585 * math/libm-test.inc (check_float_internal): Correct ulp
3586 calculation for subnormal expected results.
3587
29ba805c
AJ
35882012-05-06 Andreas Jaeger <aj@suse.de>
3589
3590 * Makeconfig (+math-flags): New, set to -frounding-math.
3591 (+cflags): Add +math-flags so that all of glibc gets compiled with
3592 it.
3593
3594 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3595
7b17aeda
JM
35962012-05-05 Joseph Myers <joseph@codesourcery.com>
3597
5779f134
JM
3598 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3599 Disable one test.
3600
41498f4d
JM
3601 [BZ #13787]
3602 [BZ #13922]
3603 [BZ #14036]
3604 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3605 (__ieee754_expl): Allow for and saturate large arguments.
3606 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3607 (u_threshold): Likewise.
3608 (__exp): Call __ieee754_exp before checking for overflow and
3609 underflow.
3610 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3611 (u_threshold): Likewise.
3612 (__expf): Call __ieee754_expf before checking for overflow and
3613 underflow.
3614 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3615 (u_threshold): Likewise.
3616 (__expl): Call __ieee754_expl before checking for overflow and
3617 underflow.
3618 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3619 (__ieee754_expl): Allow for and saturate large arguments.
3620 * math/libm-test.inc (exp_test): Add another test. Do not allow
3621 missing overflow exception on overflow.
3622 (expm1_test): Do not allow missing overflow exception on overflow.
3623
6698b8bf
JM
3624 * sysdeps/i386/fpu/e_expl.c: Move to ...
3625 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3626 rather than using inline asm.
3627 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3628 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3629 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3630
7b17aeda
JM
3631 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3632 (nice): Likewise.
3633 (poll): Likewise.
3634 (signal): Likewise.
3635 (time): Likewise.
3636 (times): Likewise.
3637
f7c85819
JM
36382012-05-04 Joseph Myers <joseph@codesourcery.com>
3639
3640 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3641 sysdeps/unix/common/syscalls.list.
3642 (fchmod): Likewise.
3643 (fchown): Likewise.
3644 (ftruncate): Likewise.
3645 (getrusage): Likewise.
3646 (gettimeofday): Likewise.
3647 (setpgid): Likewise.
3648 (setregid): Likewise.
3649 (setreuid): Likewise.
3650 (sigaction): Likewise.
3651 (truncate): Likewise.
3652 (vhangup): Likewise.
3653 * sysdeps/unix/common/syscalls.list: Remove file.
3654 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3655 * sysdeps/unix/sysv/linux/Implies: Likewise.
3656
336270d0
L
36572012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3658
3659 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3661 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3662 Moved to ...
3663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3664 Here.
3665 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3666 to ...
3667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3668 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3669 to ...
3670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3671 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3672 to ...
3673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3674 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3675 to ...
3676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3677 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3678 to ...
3679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3680 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3681 to ...
3682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3683 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3684 to ...
3685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3686 Here.
3687 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3688 to ...
3689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3690 Here.
3691 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3692 to ...
3693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3694 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3695 Moved to ...
3696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3697 Here.
3698 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3699 to ...
3700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3701
d128e450
JM
37022012-05-04 Joseph Myers <joseph@codesourcery.com>
3703
fa8ee516
JM
3704 * sysdeps/unix/common/bits/dirent.h: Remove file.
3705 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3706
d128e450
JM
3707 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3708 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3709 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3710 * sysdeps/unix/bsd/isatty.c: Likewise.
3711 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3712 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3713 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3714
ff8faaf0 37152012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3716
62881be4 3717 [BZ #13563]
31dc8730
AZ
3718 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3719 long double comparison inaccuracies.
3720 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3722
6fef930c
AS
37232012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3724
3725 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3726 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3727
8f203e6c
JM
37282012-05-04 Joseph Myers <joseph@codesourcery.com>
3729
3730 [BZ #14049]
3731 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3732 nonzero digits before rounding a hex value.
3733 * stdlib/tst-strtod.c (tests): Add another test.
3734
5197d9c2
AK
37352012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3736
3737 * sysdeps/s390/fpu/libm-test-ulps: Update.
3738
f0c1dedf
AJ
37392012-05-03 Andreas Jaeger <aj@suse.de>
3740
3741 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3742 does not get optimized out.
3743 (malloc_opt_barrier): New.
3744
a65ef2ae 37452012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3746 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3747
2b942cb7 3748 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3749 intermediate file deletion.
2b942cb7 3750 (generated): Add .symlist files.
a65ef2ae 3751
54b71e02
JM
37522012-05-03 Joseph Myers <joseph@codesourcery.com>
3753
3754 [BZ #13775]
3755 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3756 Redirect under this condition.
3757 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3758 [__USE_GNU] (__dprintf_chk): Not under this condition.
3759 [__USE_GNU] (__vdprintf_chk): Likewise.
3760 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3761 under this condition.
3762 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3763 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3764 [__USE_XOPEN2K8] (vdprintf): Likewise.
3765 [__USE_GNU] (__dprintf_chk): Not under this condition.
3766 [__USE_GNU] (__vdprintf_chk): Likewise.
3767 [__USE_GNU] (dprintf): Likewise.
3768 [__USE_GNU] (vdprintf): Likewise.
3769
d3dfcc41
RM
37702012-05-03 Roland McGrath <roland@hack.frob.com>
3771
3772 * elf/Makefile (common-generated): Set this instead of generated for
3773 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3774 $(all-built-dso)-derived lists.
3775
7ac30cc5
AJ
37762012-05-03 Andreas Jaeger <aj@suse.de>
3777
0c51e550
AJ
3778 * sysdeps/i386/fpu/libm-test-ulps: Update.
3779
7ac30cc5
AJ
3780 * FAQ: Removed.
3781 * FAQ.in: Likewise.
3782 * scripts/gen-FAQ.pl: Likewise.
3783 * manual/install.texi (Installation): Point to online location of
3784 FAQ.
3785 * Makefile (files-for-dist): Remove FAQ.
3786 (FAQ): Remove.
3787
d4c2917f
AM
37882012-05-02 Allan McRae <allan@archlinux.org>
3789
3790 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3791 (LDFLAGS-reldepmod5.so): Likewise.
3792 (LDFLAGS-reldep6mod1.so): Likewise.
3793 (LDFLAGS-reldep6mod4.so): Likewise.
3794 (LDFLAGS-reldep8mod3.so): Likewise.
3795 (LDFLAGS-unload4mod1.so): Likewise.
3796 (LDFLAGS-unload4mod2.so): Likewise.
3797 (LDFLAGS-tst-initorder): Likewise.
3798 (LDFLAGS-tst-initordera2.so): Likewise.
3799 (LDFLAGS-tst-initordera3.so): Likewise.
3800 (LDFLAGS-tst-initordera4.so): Likewise.
3801 (LDFLAGS-tst-initorderb2.so): Likewise.
3802 (LDFLAGS-noload): Likewise.
3803 (LDFLAGS-next): Likewise.
3804 (LDFLAGS-order2mod1.so): Likewise.
3805 (LDFLAGS-order2mod2.so): Likewise.
3806 (LDFLAGS-tst-initorder2): Likewise.
3807 (LDFLAGS-tst-initorder2a.so): Likewise.
3808 (LDFLAGS-tst-initorder2b.so): Likewise.
3809 (LDFLAGS-tst-initorder2c.so): Likewise.
3810 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3811
d77f993f
DM
38122012-05-02 David S. Miller <davem@davemloft.net>
3813
3814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3815
171a70b4
PP
38162012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3817
3818 [BZ #14055]
3819 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3820
0be196ad
AJ
38212012-05-02 Andreas Jaeger <aj@suse.de>
3822
3823 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3824 since we manipulate rounding mode.
3825 (CPPFLAGS-test-idouble.c): Likewise.
3826 (CPPFLAGS-test-ifloat.c): Likewise.
3827 (CFLAGS-test-ldouble.c): Likewise.
3828 (CFLAGS-test-double.c): Likewise.
3829 (CFLAGS-test-float.c): Likewise.
3830 (CFLAGS-test-misc.c): Likewise.
3831 (CFLAGS-test-test-fenv.c): Likewise.
3832
4f9d04aa
AZ
38332012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3834
2b942cb7
RM
3835 [BZ #2550]
3836 [BZ #2570]
3837 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3838 comparisons to determine direction to adjust input.
4f9d04aa 3839
82a79e7d
RM
38402012-05-01 Roland McGrath <roland@hack.frob.com>
3841
f5a01ca9
RM
3842 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3843 output to the target.
3844
90fe4186
RM
3845 * scripts/localplt.awk: New file.
3846 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3847 (check-localplt-CFLAGS): Variable removed.
3848 ($(all-built-dso:=.jmprel)): New static pattern rule.
3849 (generated): Add those targets.
3850 (localplt-built-dso): New variable.
3851 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3852
3853 * elf/check-localplt.c: File removed.
3854
82397ed6
RM
3855 * scripts/check-execstack.awk: New file.
3856 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3857 (check-execstack-CFLAGS): Variable removed.
3858 ($(objpfx)check-execstack.h): Target removed.
3859 ($(objpfx)execstack-default): New target.
3860 (generated): Add that instead of check-execstack.h.
3861 ($(all-built-dso:=.phdr)): New static pattern rule.
3862 (generated): Add those targets.
3863 * elf/check-execstack.c: File removed.
3864
82a79e7d
RM
3865 * scripts/check-textrel.awk: New file.
3866 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3867 (check-textrel-CFLAGS): Variable removed.
3868 (all-built-dso): Use := to define.o
3869 ($(all-built-dso:=.dyn)): New static pattern rule.
3870 (generated): Add those targets.
3871 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3872 * config.make.in (READELF): New substituted variable.
3873 * elf/check-textrel.c: File removed.
3874
62fde54f 38752012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3876
615605c9
JM
3877 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3878 allow.
3879 * conform/data/ctype.h-data [C99-based standards] (isblank):
3880 Expect function.
3881 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3882 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3883 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3884 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3885 Specify type. Require positive value.
3886 (EILSEQ): Likewise.
3887 (ERANGE): Likewise.
3888 [ISO || POSIX] (EILSEQ): Do not expect.
3889 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3890 Specify type. Require positive value.
3891 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3892 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3893 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3894 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3895 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3896 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3897 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3898 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3899 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3900 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3901 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3902 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3903 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3904 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3905 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3906 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3907 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3908 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3909 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3910 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3911 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3912 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3913 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3914 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3915 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3916 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3917 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3918 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3919 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3920 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3921 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3922 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3923 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3924 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3925 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3926 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3927 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3928 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3929 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3930 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3931 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3932 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3933 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3934 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3935 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3936 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3937 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3938 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3939 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3940 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3941 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3942 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3943 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3944 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3945 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3946 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3947 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3948 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3949 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3950 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3951 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3952 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3953 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3954 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3955 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3956 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3957 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3958 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3959 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3960 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3961 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3962 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3963 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3964 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3965 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3966 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3967 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3968 Require >= 2.
3969 (FLT_ROUNDS): Expect as macro, not constant.
3970 (FLT_MANT_DIG): Use macro-int-constant.
3971 (DBL_MANT_DIG): Likewise.
3972 (LDBL_MANT_DIG): Likewise.
3973 (FLT_DIG): Likewise.
3974 (DBL_DIG): Likewise.
3975 (LDBL_DIG): Likewise.
3976 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3977 (DBL_MIN_EXP): Likewise.
3978 (LDBL_MIN_EXP): Likewise.
3979 (FLT_MAX_EXP): Use macro-int-constant.
3980 (DBL_MAX_EXP): Likewise.
3981 (LDBL_MAX_EXP): Likewise.
3982 (FLT_MAX_10_EXP): Likewise.
3983 (DBL_MAX_10_EXP): Likewise.
3984 (LDBL_MAX_10_EXP): Likewise.
3985 (FLT_MAX): Use macro-constant.
3986 (DBL_MAX): Likewise.
3987 (LDBL_MAX): Likewise.
3988 (FLT_EPSILON): Use macro-constant. Give upper bound.
3989 (DBL_EPSILON): Likewise.
3990 (LDBL_EPSILON): Likewise.
3991 (FLT_MIN): Likewise.
3992 (DBL_MIN): Likewise.
3993 (LDBL_MIN): Likewise.
3994 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3995 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3996 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3997 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3998 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3999 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4000 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4001 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4002 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4003 [ISO11] (FLT_TRUE_MIN): Likewise.
4004 [ISO11] (LDBL_TRUE_MIN): Likewise.
4005 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4006 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4007 (SCHAR_MIN): Use macro-int-constant. Specify type.
4008 (SCHAR_MAX): Likewise.
4009 (UCHAR_MAX): Likewise.
4010 (CHAR_MIN): Likewise.
4011 (CHAR_MAX): Likewise.
4012 (MB_LEN_MAX): Use macro-int-constant.
4013 (SHRT_MIN): Use macro-int-constant. Specify type.
4014 (SHRT_MAX): Likewise.
4015 (USHRT_MAX): Likewise.
4016 (INT_MAX): Likewise.
4017 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4018 bound negative.
4019 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4020 bound with "U".
4021 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4022 bound with "L".
4023 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4024 bound negative. Suffix upper bound with "L".
4025 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4026 bound with "UL".
4027 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4028 Specify type.
4029 [C99-based standards] (LLONG_MAX): Likewise.
4030 [C99-based standards] (ULLONG_MAX): Likewise.
4031 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4032 == 0.
4033 [ISO11] (max_align_t): Require type.
4034 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4035
c9140a62
JM
4036 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4037 from $CFLAGS, without defining away __attribute__ calls.
4038 (checknamespace): Use $CFLAGS_namespace.
4039
9af0bf29
JM
4040 * conform/conformtest.pl (@keywords): Only include C99 keywords
4041 for standards based on C99 or C11.
4042
343222a2
JM
4043 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4044 Disable tests.
4045 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4046 UNIX98]: Likewise.
4047
661f8cf0
JM
4048 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4049 usability of symbols in #if.
4050
ee74b9cb
JM
4051 * conform/conformtest.pl: If macro or constant types start
4052 "promoted:", expect the symbol to be of the following type
4053 promoted by the integer promotions.
62fde54f 4054
aafc49b3
JM
4055 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4056 in one place. Also handle "macro-constant".
4057
fefdf574
JM
4058 * conform/conformtest.pl: Only accept expected macro values with
4059 "==". Parse all "macro" lines in one place.
4060 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4061
f2d922fe
JM
4062 * conform/conformtest.pl: Handle braced types on "constant" lines
4063 instead of handling "typed-constant".
4064 * conform/data/signal.h-data: Use "constant" instead of
4065 "typed-constant".
4066
d22956c9
JM
4067 * conform/conformtest.pl: Handle "optional-" at start of lines in
4068 one place rather than duplicating several cases. Handle each
4069 format of "macro" line with initial "optional-".
4070
028e2e38
JM
4071 * conform/conformtest.pl: Only accept expected constant or
4072 optional-constant values with "==". Parse all "constant" lines in
4073 one place. Parse all "optional-constant" lines in one place.
4074 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4075 * conform/data/fmtmsg.h-data: Likewise.
4076 * conform/data/netinet/in.h-data: Likewise.
4077 * conform/data/tar.h-data: Likewise.
4078 * conform/data/limits.h-data: Use "==" form on "constant" and
4079 "optional-constant" lines.
4080
1b8f2850
JM
4081 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4082 Use -std=c99 for XOPEN2K.
4083 (@knownproblems): Remove.
4084 (newtoken): Don't check %isknown.
4085
a05a144b
JM
4086 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4087 Do not expect macro.
4088 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4089 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4090 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4091 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4092 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4093 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4094 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4095 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4096 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4097 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4098 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4099 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4100 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4101 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4102 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4103 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4104 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4105 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4106 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4107 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4108 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4109 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4110 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4111 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4112 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4113 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4114 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4115 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4116 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4117 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4118 [XPG3] (acosh): Likewise.
4119 [XPG3] (asinh): Likewise.
4120 [XPG3] (atanh): Likewise.
4121 [XPG3] (cbrt): Likewise.
4122 [XPG3] (expm1): Likewise.
4123 [XPG3] (ilogb): Likewise.
4124 [XPG3] (log1p): Likewise.
4125 [XPG3] (logb): Likewise.
4126 [XPG3] (nextafter): Likewise.
4127 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4128 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4129 [XPG3] (remainder): Likewise.
4130 [XPG3] (rint): Likewise.
4131 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4132 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4133 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4134 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4135 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4136 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4137 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4138 [UNIX98 || XOPEN2K] (scalb): Expect.
4139 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4140 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4141 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4142 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4143 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4144 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4145 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4146 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4147 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4148 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4149 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4150 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4151 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4152 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4153 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4154 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4155 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4156 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4157 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4158 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4159 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4160 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4161 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4162 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4163 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4164 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4165 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4166 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4167 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4168 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4169 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4170 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4171 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4172 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4173 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4174 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4175 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4176 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4177 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4178 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4179 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4180 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4181 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4182 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4183 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4184 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4185 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4186 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4187 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4188 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4189 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4190 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4191 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4192 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4193 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4194 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4195 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4196 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4197 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4198 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4199 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4200 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4201 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4202 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4203 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4204 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4205 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4206 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4207 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4208 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4209 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4210 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4211 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4212 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4213 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4214 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4215 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4216 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4217 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4218 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4219 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4220 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4221 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4222 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4223 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4224 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4225 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4226 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4227 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4228 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4229 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4230 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4231 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4232 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4233 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4234 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4235 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4236 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4237 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4238 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4239 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4240 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4241 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4242 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4243 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4244 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4245 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4246 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4247 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4248 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4249 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4250 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4251 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4252 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4253 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4254 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4255 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4256 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4257 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4258 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4259 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4260 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4261 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4262 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4263 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4264 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4265 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4266 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4267 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4268 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4269 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4270 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4271 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4272 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4273 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4274 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4275 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4276
73c5ebe3
JM
4277 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4278 _XOPEN_SOURCE_EXTENDED for XPG4.
4279
39c33b6c
JM
4280 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4281
62fde54f
JM
4282 * Makeconfig (localtime): Remove variable.
4283 (inst_localtime-file): Likewise.
4284
0741d64c
AS
42852012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4286
4287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4288 Update.
4289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4290 Update.
4291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4292 Update.
4293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4294 Update.
4295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4296 Update.
4297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4298 Update.
4299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4300 Update.
4301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4302 Update.
4303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4304 Update.
4305
7cb029ee
JM
43062012-05-01 Joseph Myers <joseph@codesourcery.com>
4307
4308 [BZ #2550]
4309 [BZ #2570]
4310 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4311 comparisons to determine direction to adjust input.
4312 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4313 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4314 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4315 Likewise.
4316 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4317 Likewise.
4318 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4319 Likewise.
4320 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4321 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4322 Likewise.
4323 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4324 Likewise.
4325 * math/libm-test.inc (nexttoward_test): Add more tests.
4326
412bd966
AS
43272012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4328
4329 [BZ #14040]
4330 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4331 in version GLIBC_2.1, not GLIBC_2.0.
4332 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4333 Likewise.
4334
9568c0c2
JM
43352012-04-30 Joseph Myers <joseph@codesourcery.com>
4336
adfbc8ac
JM
4337 [BZ #13942]
4338 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4339 (1 - x) * (1 + x).
4340 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4341 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4342 * math/libm-test.inc (acos_test): Add more tests.
4343 (asin_test): Likewise.
4344 * sysdeps/i386/fpu/libm-test-ulps: Update.
4345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4346
5ba3cc69
JM
4347 [BZ #14034]
4348 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4349 of square root.
4350 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4351 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4352 * math/libm-test.inc (acos_test_tonearest): New function.
4353 (acos_test_towardzero): Likewise.
4354 (acos_test_downward): Likewise.
4355 (acos_test_upward): Likewise.
4356 (asin_test_tonearest): Likewise.
4357 (asin_test_towardzero): Likewise.
4358 (asin_test_downward): Likewise.
4359 (asin_test_upward): Likewise.
4360 (main): Call the new functions.
4361 * sysdeps/i386/fpu/libm-test-ulps: Update.
4362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4363
9568c0c2
JM
4364 [BZ #13884]
4365 [BZ #13924]
4366 * math/e_exp10.c: Include <float.h>.
4367 (__ieee754_exp10): Handle underflow here rather than multiplying
4368 large negative argument by M_LN10.
4369 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4370 of __ieee754_expf.
4371 * math/e_exp10l.c: Include <float.h>.
4372 (__ieee754_exp10l): Handle underflow here rather than multiplying
4373 large negative argument by M_LN10l.
4374 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4375 spurious overflow exception on underflow.
4376
5ac3ea17
MP
43772012-04-29 Marek Polacek <polacek@redhat.com>
4378
4379 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4380 (__fortify_function): New macro.
4381 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4382 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4383 __extern_always_inline.
4384 * libio/bits/stdio2.h: Likewise.
4385 * libio/bits/stdio.h: Likewise.
4386 * string/string.h: Likewise.
4387 * string/bits/string3.h: Likewise.
4388 * include/stdio.h: Likewise.
4389 * stdlib/bits/stdlib.h: Likewise.
4390 * stdlib/stdlib.h: Likewise.
4391 * rt/bits/mqueue2.h: Likewise.
4392 * rt/mqueue.h: Likewise.
4393 * posix/bits/unistd.h: Likewise.
4394 * posix/unistd.h: Likewise.
4395 * io/bits/poll2.h: Likewise.
4396 * io/bits/fcntl2.h: Likewise.
4397 * io/fcntl.h: Likewise.
4398 * io/sys/poll.h: Likewise.
4399 * misc/bits/syslog.h: Likewise.
4400 * misc/bits/syslog-ldbl.h: Likewise.
4401 * misc/sys/syslog.h: Likewise.
4402 * socket/bits/socket2.h: Likewise.
4403 * socket/sys/socket.h: Likewise.
4404 * debug/tst-chk1.c: Likewise.
4405 * wcsmbs/bits/wchar2.h: Likewise.
4406 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4407 * wcsmbs/wchar.h: Likewise.
4408
ecf0ebfb
AJ
44092012-04-29 Andreas Jaeger <aj@suse.de>
4410
4411 * Makerules (tests): Remove enable-check-abi protection.
4412 (check-abi-warn): Remove.
4413 (check-abi-%): Remove check-abi-warn usage.
4414
4415 * configure.in: Remove check-abi configure option.
4416 * configure: Regenerated.
4417 * config.make.in (enable-check-abi): Remove.
4418
6d5c57fa
AS
44192012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4420
24c5d07e 4421 [BZ #14033]
ded5180a
AS
4422 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4423 double functions to double *_finite functions.
4424
7e0d315d
AS
4425 [BZ #13941]
4426 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4427 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4428 LDBL_MIN_EXP.
4429 * stdio-common/Makefile (tests): Add tst-sprintf3.
4430 * stdio-common/tst-sprintf3.c: New file.
4431
6d5c57fa
AS
4432 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4433 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4434
0749ff8b
JM
44352012-04-28 Joseph Myers <joseph@codesourcery.com>
4436
4437 * conform/conformtest.pl: Remove duplicate typed-constant
4438 handling.
4439
8dbd5d7b
DM
44402012-04-28 David S. Miller <davem@davemloft.net>
4441
4442 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4443 (check-abi-%): Remove AWK script prerequisite and explicit
4444 abilist directory.
4445 (check-abi): Rewrite to just diff the symlist with the abilist.
4446 (config-tls, config-abi-config): Delete, no longer used.
4447 (update-abi-%): Remove AWK script and explicit abilist directory.
4448 (update-abi): Rewrite to simply compare and conditionally copy the
4449 symlist and the sysdep abilist file. Remove update-abi-config
4450 checks.
4451 * abilist/ld.abilist: Remove.
4452 * abilist/libBrokenLocale.abilist: Remove.
4453 * abilist/libanl.abilist: Remove.
4454 * abilist/libcrypt.abilist: Remove.
4455 * abilist/libdl.abilist: Remove.
4456 * abilist/librt.abilist: Remove.
4457 * abilist/libthread_db.abilist: Remove.
4458 * abilist/libutil.abilist: Remove.
4459 * scripts/extract-abilist.awk: Remove.
4460 * scripts/merge-abilist.awk: Remove.
4461 * sysdeps/generic/libcidn.abilist: New file.
4462 * sysdeps/generic/libnss_compat.abilist: New file.
4463 * sysdeps/generic/libnss_db.abilist: New file.
4464 * sysdeps/generic/libnss_dns.abilist: New file.
4465 * sysdeps/generic/libnss_files.abilist: New file.
4466 * sysdeps/generic/libnss_hesiod.abilist: New file.
4467 * sysdeps/generic/libnss_nis.abilist: New file.
4468 * sysdeps/generic/libnss_nisplus.abilist: New file.
4469 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4470 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4471 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4472 file.
4473 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4474 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4475 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4476 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4477 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4478 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4479 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4480 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4481 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4482 file.
4483 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4484 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4485 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4486 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4487 file.
4488 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4489 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4490 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4491 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4492 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4493 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4494 file.
4495 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4496 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4497 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4498 file.
4499 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4500 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4501 New file.
4502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4503 New file.
4504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4505 New file.
4506 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4507 New file.
4508 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4509 New file.
4510 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4511 New file.
4512 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4513 New file.
4514 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4515 New file.
4516 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4517 New file.
4518 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4519 New file.
4520 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4521 New file.
4522 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4523 New file.
4524 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4525 New file.
4526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4527 file.
4528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4529 New file.
4530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4531 New file.
4532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4533 file.
4534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4535 New file.
4536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4537 New file.
4538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4539 file.
4540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4541 New file.
4542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4543 New file.
4544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4545 New file.
4546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4547 New file.
4548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4549 New file.
4550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4551 New file.
4552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4554 file.
4555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4556 New file.
4557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4558 file.
4559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4560 file.
4561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4562 file.
4563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4564 file.
4565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4566 file.
4567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4568 New file.
4569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4570 file.
4571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4572 file.
4573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4574 New file.
4575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4576 file.
4577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4579 file.
4580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4581 New file.
4582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4583 file.
4584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4585 file.
4586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4587 file.
4588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4589 file.
4590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4591 file.
4592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4593 New file.
4594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4595 file.
4596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4597 file.
4598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4599 New file.
4600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4601 file.
4602 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4603 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4604 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4605 file.
4606 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4607 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4608 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4609 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4610 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4611 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4612 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4613 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4614 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4615 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4618 file.
4619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4620 New file.
4621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4622 file.
4623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4624 file.
4625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4626 file.
4627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4628 file.
4629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4630 file.
4631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4632 New file.
4633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4634 New file.
4635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4636 file.
4637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4638 New file.
4639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4640 file.
4641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4643 file.
4644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4645 New file.
4646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4647 file.
4648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4649 file.
4650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4651 file.
4652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4653 file.
4654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4655 file.
4656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4657 New file.
4658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4659 New file.
4660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4661 file.
4662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4663 New file.
4664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4665 file.
4666
41d73a1b
JM
46672012-04-28 Joseph Myers <joseph@codesourcery.com>
4668
4669 * conform/conformtest.pl: Fix typo in handling typed-constant from
4670 allow-header.
4671
28aeeda4
JM
46722012-04-27 Joseph Myers <joseph@codesourcery.com>
4673
adae8f5e
JM
4674 * README: Cut down references to pre-2.6 Linux kernels and
4675 Linuxthreads. Update lists of configurations in libc and ports
4676 and sort alphabetically. Say "or newer" with Linux kernel version
4677 requirements.
4678
28aeeda4
JM
4679 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4680
a462cb63
RA
46812012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4682
4683 [BZ #887]
4684 * math/libm-test.inc (logb_test_downward): New test to expose
4685 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4686 rounding mode.
4687
6ad3493e
JM
46882012-04-27 Joseph Myers <joseph@codesourcery.com>
4689
4690 [BZ #14027]
4691 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4692 to be done.
4693 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4694 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4695
2ce4f015
JM
46962012-04-26 Joseph Myers <joseph@codesourcery.com>
4697
5aeb141a
JM
4698 * sysdeps/unix/i386/brk.S: Remove file.
4699 * sysdeps/unix/i386/dl-brk.S: Likewise.
4700 * sysdeps/unix/i386/pipe.S: Likewise.
4701 * sysdeps/unix/i386/sigreturn.S: Likewise.
4702 * sysdeps/unix/i386/syscall.S: Likewise.
4703 * sysdeps/unix/i386/vfork.S: Likewise.
4704 * sysdeps/unix/i386/wait.S: Likewise.
4705
7143acae
JM
4706 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4707 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4708
2ce4f015
JM
4709 * configure.in (arm*-none*): Do not allow without
4710 --enable-hacker-mode.
4711 (netbsd*): Remove case setting base_os.
4712 (386bsd*): Likewise.
4713 (freebsd*): Likewise.
4714 (bsdi*): Likewise.
4715 (osf*): Likewise.
4716 (sunos*): Likewise.
4717 (ultrix*): Likewise.
4718 (newsos*): Likewise.
4719 (dynix*): Likewise.
4720 (*bsd*): Likewise.
4721 (sysv*): Likewise.
4722 (isc*): Likewise.
4723 (esix*): Likewise.
4724 (sco*): Likewise.
4725 (minix*): Likewise.
4726 (irix4*): Likewise.
4727 (irix6*): Likewise.
4728 (solaris[2-9]*): Likewise.
4729 (none): Likewise.
4730 * configure: Regenerated.
4731
0ac229c8
AZ
47322012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4733
4734 [BZ #11521]
4735 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4736 overflow or cancellation in calculating denominator.
4737 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4738 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4739 down expression to avoid unexpected rounding in newer GCCs.
4740 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4741
33f244f4
DM
47422012-04-26 David S. Miller <davem@davemloft.net>
4743
4744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4745 long-double compat symbols.
4746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4759
cfa1f3e8
DM
47602012-04-25 David S. Miller <davem@davemloft.net>
4761
4762 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4763 HWCAP_* values only after the memory barriers have been defined.
4764 (atomic_full_barrier): Define.
4765 (atomic_read_barrier): Define.
4766 (atomic_write_barrier): Define.
4767
6e236b92
SP
47682012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4769
4770 * shlib-versions: Add libgcc_s version information.
4771 * sysdeps/generic/libgcc_s.h: Remove.
4772 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4773 libgcc_s.h.
4774 * sysdeps/gnu/unwind-resume.c: Likewise.
4775 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4776
aab39a09
DM
47772012-04-25 David S. Miller <davem@davemloft.net>
4778
4779 * sysdeps/unix/sparc/brk.S: Delete.
4780 * sysdeps/unix/sparc/dl-brk.S: Delete.
4781 * sysdeps/unix/sparc/pipe.S: Delete.
4782 * sysdeps/unix/sparc/sysdep.S: Delete.
4783 * sysdeps/unix/sparc/sysdep.h: Delete.
4784 * sysdeps/unix/sparc/vfork.S: Delete.
4785 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4786 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4787 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4788 ret_ERRVAL, r0, r1, MOVE): Define.
4789 (JUMPTARGET): Remove.
4790 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4791 sysdeps/unix/sparc/sysdep.h
4792 (ENTRY, END): Remove.
4793 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4794
a3cc4f48
JM
47952012-04-25 Joseph Myers <joseph@codesourcery.com>
4796
2ed8cda2
JM
4797 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4798 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4799 -DIS_IN_build.
4800
35d76d59
JM
4801 * timezone/README: Update upstream location and email address for
4802 tzcode and tzdata.
4803 * timezone/zdump.c: Update from tzcode 2012b.
4804 * timezone/zic.c: Likewise.
4805
a3cc4f48
JM
4806 * configure.in (libc_cv_as_needed): Remove test.
4807 * configure: Regenerated.
4808 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4809 conditional definition.
4810 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4811 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4812 * config.make.in (have-as-needed): Remove variable.
4813
ceab42c3
SP
48142012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4815 Paul Pluzhnikov <ppluzhnikov@google.com>
4816
4817 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4818 strings correctly.
4819
3ce2865f
CLT
48202012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4821
4822 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4823 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4824 * sysdeps/sh/strlen.S: Likewise.
4825
f37e0d68
JM
48262012-04-24 Joseph Myers <joseph@codesourcery.com>
4827
ae186e9a
JM
4828 * sysdeps/unix/fork.S: Remove file.
4829 * sysdeps/unix/i386/fork.S: Likewise.
4830 * sysdeps/unix/sparc/fork.S: Likewise.
4831
b96914af
JM
4832 * sysdeps/unix/system.c: Remove file.
4833 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4834
f37e0d68
JM
4835 * sysdeps/unix/getegid.S: Remove file.
4836 * sysdeps/unix/geteuid.S: Likewise.
4837
87ef29ca
RM
48382012-04-24 Roland McGrath <roland@hack.frob.com>
4839
83bcd236
RM
4840 * scripts/check-localplt.awk: New file.
4841 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4842 of diff.
4843 * scripts/data/localplt-generic.data: Add a comment.
4844
87ef29ca
RM
4845 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4846 NODE when __dir_mkfile failed.
4847 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4848 Reported by Ludovic Courtès <ludo@gnu.org>.
4849
e5a6e567
AJ
48502012-04-24 Andreas Jaeger <aj@suse.de>
4851
4852 * Makerules (common-clean): Also remove gen-as-const-headers
4853 files.
4854
c1820385
JM
48552012-04-24 Joseph Myers <joseph@codesourcery.com>
4856
4857 * Makerules (native-compile): Do not change working directory for
4858 build. Use $(OUTPUT_OPTION) in command.
4859 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4860
94e02fc4
AZ
48612012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4862
4863 [BZ #13886]
4864 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4865 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4866 * math/libm-test.inc (floor_test): Add more tests.
4867 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4868
3a533ca3
JM
48692012-04-24 Joseph Myers <joseph@codesourcery.com>
4870
940ab4b3
JM
4871 * sysdeps/unix/getdents.c: Remove file.
4872 * sysdeps/unix/sysv/getdents.c: Likewise.
4873 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4874
90e037bd
JM
4875 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4876 sysdeps/unix/mman/syscalls.list.
4877 (mmap): Likewise.
4878 (mprotect): Likewise.
4879 (msync): Likewise.
4880 (munmap): Likewise.
4881 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4882 * sysdeps/unix/mman/syscalls.list: Remove.
4883 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4884
3a533ca3
JM
4885 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4886 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4887 * configure: Regenerated.
4888 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4889 $(libgcc_s_suffix).
4890 * config.make.in (libgcc_s_suffix): Remove variable.
4891
1ad743de
JM
48922012-04-23 Joseph Myers <joseph@codesourcery.com>
4893
4ad451e2
JM
4894 * sysdeps/unix/sysv/gethostname.c: Move to ...
4895 * sysdeps/posix/gethostname.c: ... here.
4896
5e37ce39
JM
4897 * sysdeps/unix/execve.S: Remove file.
4898
1ad743de
JM
4899 * sysdeps/unix/_exit.S: Remove file.
4900
4e681b5b
AJ
49012012-04-23 Andreas Jaeger <aj@suse.de>
4902
4903 [BZ #13739]
4904 * manual/Makefile: Remove make dist support, there's no
4905 need for a stand-alone documentation tar ball.
4906 (TEXI2DVI): Define always, it's not in Makeconfig.
4907 (dist): Removed.
4908 (tar-it): Removed.
4909 (edition): Removed.
4910 (glibc-doc-$(edition).tar): Removed
4911 (%.Z): Removed.
4912 (%.gz): Removed.
4913 (%.uu): Removed.
4914 (ETAGS): Remove, it's in Makeconfig.
4915 (move-if-change): Remove, it's in Makeconfig.
4916
c0baea34
PE
49172013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4918
4919 [BZ #13970]
4920 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4921 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4922 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4923 (strtod_l, strtof_l, strtold_l): Remove __wur.
4924 It is not necessarily an error to ignore strtol's return value.
4925 One can reliably look at the stored endptr to decide whether
4926 the number had valid syntax.
4927
7c0616fa
AJ
49282012-04-21 Andreas Jaeger <aj@suse.de>
4929
803cb6b7 4930 [BZ #13739]
7c0616fa
AJ
4931 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4932
b0fe253f
JM
49332012-04-21 Joseph Myers <joseph@codesourcery.com>
4934
4935 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4936 * sysdeps/unix/sysv/Versions: Remove file.
4937
8280f22d
MT
49382012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4939
4940 [BZ #13927]
4941 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4942
75ce411f 49432012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4944
4945 [BZ #7064]
4946 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4947 version from __vm86.
4948
097d59fa
JM
49492012-04-20 Joseph Myers <joseph@codesourcery.com>
4950
a90f3bcb
JM
4951 * sysdeps/unix/common/lxstat.c: Remove file.
4952 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4953
edc7ea78
JM
4954 * sysdeps/unix/sysv/Makefile: Remove file.
4955
cb78c221
JM
4956 * sysdeps/unix/sysv/direct.h: Remove file.
4957
efa6a45f
JM
4958 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4959 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4960 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4961 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4962 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4963 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4964 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4965
9c9f2d0c
JM
4966 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4967
4541c83b
JM
4968 * sysdeps/unix/xmknod.c: Remove file.
4969 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4970
f5d153a0
JM
4971 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4972
aa746595
JM
4973 * sysdeps/unix/sysv/i386/time.S: Remove file.
4974
cce5905e
JM
4975 * sysdeps/unix/fxstat.c: Remove file.
4976 * sysdeps/unix/xstat.c: Likewise.
4977 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4978
37fa3841
JM
4979 * sysdeps/unix/sysv/sigaction.c: Remove file.
4980
ff1962a3
JM
4981 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4982 (sysdep_headers): Remove variable.
4983 [termio.h not in sysdep_headers] (generated): Likewise.
4984 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4985 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4986 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4987 * sysdeps/unix/sysv/tcflow.c: Likewise.
4988 * sysdeps/unix/sysv/tcflush.c: Likewise.
4989 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4990 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4991 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4992 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4993 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4994
e7740d31
JM
4995 * sysdeps/unix/siglist.c: Remove file.
4996
ee06f18b
JM
4997 * sysdeps/unix/getppid.S: Remove file.
4998
097d59fa
JM
4999 * sysdeps/unix/mkdir.c: Remove file.
5000 * sysdeps/unix/rmdir.c: Likewise.
5001
ff3d51ec
AS
50022012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5003
5004 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5005 ERR_MAX value.
5006 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5007 errlist-compat value.
5008
50f81fd7
DM
50092012-04-18 David S. Miller <davem@davemloft.net>
5010
5011 * sysdeps/generic/memcopy.h (reg_char): Delete.
5012 * debug/strcat_chk.c: Use char, not reg_char.
5013 * debug/strcpy_chk.c: Likewise.
5014 * debug/strncat_chk.c: Likewise.
5015 * debug/strncpy_chk.c: Likewise.
5016 * string/memchr.c: Likewise.
5017 * string/memrchr.c: Likewise.
5018 * string/rawmemchr.c: Likewise.
5019 * string/strcat.c: Likewise.
5020 * string/strchr.c: Likewise.
5021 * string/strchrnul.c: Likewise.
5022 * string/strcmp.c: Likewise.
5023 * string/strcpy.c: Likewise.
5024 * string/strncat.c: Likewise.
5025 * string/strncmp.c: Likewise.
5026 * string/strncpy.c: Likewise.
5027
8ff41c46
WS
50282012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5029
5030 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5031 __builtin_memcopy is called when src and dest ranges are known to not
5032 overlap.
5033
6b652f46
WS
50342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5035
5036 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5037 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5038 fwd_align_merge macro call.
5039 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5040 bwd_align_merge macro call.
5041 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5042
b282631e
WS
50432012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5044
5045 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5046 bwd_align_merge macros.
5047 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5048 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5049 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5050
95aa737c
DM
50512012-04-18 David S. Miller <davem@davemloft.net>
5052
5053 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5054
7a99a614
AJ
50552012-04-18 Andreas Jaeger <aj@suse.de>
5056
5057 [BZ# 6794]
5058 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5059 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5060 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5061
5062 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5063 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5064 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5065
5066 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5067 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5068 Adjust for changed ldbl-128 files.
5069
5070 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5071 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5072 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5073
e5270c23
DM
50742012-04-17 David S. Miller <davem@davemloft.net>
5075
5076 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5077
fb5e92c9
AS
50782012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5079
5080 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5081 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5082 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5083 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5084 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5085 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5086
76da7265
AZ
50872012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5088
5089 [BZ #6794]
5090 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5091 * math/libm-test.inc: Add ilogb errno and exception tests.
5092 * math/w_ilogb.c: New file: ilogb wrapper.
5093 * math/w_ilogbf.c: New file: ilogbf wrapper.
5094 * math/w_ilogbl.c: New file: ilogbl wrapper.
5095 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5096 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5097 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5098 exception being thrown with 0.0 as argument.
5099 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5100 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5101 exception being thrown with 0.0 as argument.
5102 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5103 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5104 exception being thrown with 0.0 as argument.
5105 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5106 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5107 exception being thrown with 0.0 as argument.
5108 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5109 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5110 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5111 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5112 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5113 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5114 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5115 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5116 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5117
0396e69d
PB
51182012-04-17 Petr Baudis <pasky@ucw.cz>
5119
5120 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5121 with altivec.
5122
750b5926
MP
51232012-04-16 Marek Polacek <polacek@redhat.com>
5124
5125 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5126
751728a1
MP
51272012-04-16 Marek Polacek <polacek@redhat.com>
5128
5129 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5130 operands of fdivp instruction.
5131
34a27407
L
51322012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5133
5134 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5135 * elf/tst-auditmod3b.c: Likewise.
5136 * elf/tst-auditmod4b.c: Likewise.
5137 * elf/tst-auditmod5b.c: Likewise.
5138 * elf/tst-auditmod6b.c: Likewise.
5139 * elf/tst-auditmod6c.c: Likewise.
5140 * elf/tst-auditmod7b.c: Likewise.
5141 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5142 * sysdeps/x86_64/preconfigure.in: Likewise.
5143 * sysdeps/x86_64/preconfigure: Regenerated.
5144
7e73e17d
L
51452012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5146
5147 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5148 __ILP32__.
5149
c7a6ab72
AB
51502012-04-13 Antoine Balestrat <merkil33@gmail.com>
5151
5152 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5153 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5154
a9e8e0e0
CL
51552012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5156
5157 [BZ #13973]
5158 * locale/iso-639.def: Fix gl language name. Spotted by
5159 Yaron Shahrabani.
5160
ec98af7d
RM
51612012-04-12 Roland McGrath <roland@hack.frob.com>
5162
5163 [BZ #2074]
5164 * libio/libio.h (__io_write_fn): Update comment.
5165
247c3ede
PB
51662012-04-12 Petr Baudis <pasky@ucw.cz>
5167
5168 [BZ #2074]
5169 * stdio.texi (Hook Functions): The user provided writer function
5170 is not allowed to return -1.
5171
55939d6d
DM
51722012-04-11 David S. Miller <davem@davemloft.net>
5173
5174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5175
90020f5a
MF
51762012-04-11 Mike Frysinger <vapier@gentoo.org>
5177
5178 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5179 Add a leading slash to rtkaio.
5180
288f9098
JM
51812012-04-11 Jim Meyering <meyering@redhat.com>
5182
90020f5a
MF
5183 [BZ #11959]
5184 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5185 It is not necessarily an error to ignore fwrite's return
5186 value. One can reliably use ferror to test for errors after
5187 the fact.
288f9098 5188
4be2b570
L
51892012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5190
5191 * bits/types.h (__snseconds_t): New type.
5192 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5193
5194 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5195 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5196 (__SNSECONDS_T_TYPE): Likewise.
5197 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5198 (__SNSECONDS_T_TYPE): Likewise.
5199 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5200 (__SNSECONDS_T_TYPE): Likewise.
5201
288f9098 52022012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5203
5204 [BZ #2636]
5205 * manual/time.texi (Processor Time): Return type of times is
5206 elapsed real time since an arbitrary point in the past.
5207 (CPU Time): Move CLK_TCK from here...
5208 (Processor Time): ...to here. Correct description.
5209 * manual/conf.texi (Constants for Sysconf): Correct description of
5210 _SC_CLK_TCK.
5211
d7dd4413
DM
52122012-04-10 David S. Miller <davem@davemloft.net>
5213
5214 [BZ #13967]
5215 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5216 where the is a gap between DT_REL(A) and DT_JMPREL.
5217
b46068fc
L
52182012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5219
5220 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5221 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5222 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5223
73d65cc3
SP
52242012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5225
5226 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5227 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5228 (dl_main): Handle --inhibit-cache.
5229 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5230 _dl_inhibit_cache.
5231 * elf/dl-load.c (_dl_map_object): Use it.
5232 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5233
bcc8d661
JM
52342012-04-09 Joseph Myers <joseph@codesourcery.com>
5235
8f9a2fae
JM
5236 [BZ #13872]
5237 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5238 (__ieee754_powl): Saturate large exponents rather than testing for
5239 overflow of y*log2(x).
5240 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5241 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5242 exceptions.
5243
bcc8d661
JM
5244 [BZ #11521]
5245 * math/s_ctan.c: Include <float.h>.
5246 (__ctan): Avoid internal overflow or cancellation in calculating
5247 denominator.
5248 * math/s_ctanf.c: Likewise.
5249 * math/s_ctanl.c: Likewise.
5250 * math/s_ctanh.c: Likewise.
5251 * math/s_ctanhf.c: Likewise.
5252 * math/s_ctanhl.c: Likewise.
5253 * math/libm-test.inc (ctan_test): Add more tests.
5254 (ctanh_test): Likewise.
5255 * sysdeps/i386/fpu/libm-test-ulps: Update.
5256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5257
823fbbb4
AJ
52582012-04-09 Andreas Jaeger <aj@suse.de>
5259
03879793
AJ
5260 [BZ #6894]
5261 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5262 is an optional BSD extension.
5263
823fbbb4
AJ
5264 [BZ #10254]
5265 * manual/stdio.texi (Opening Streams): Document additional fopen
5266 parameters.
5267
8de131cb
RM
52682012-04-09 Roland McGrath <roland@hack.frob.com>
5269
5270 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5271 %eax without telling the compiler.
5272
c0ed9d7d
CD
52732012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5274
5275 [BZ # 13963]
5276 * manual/install.texi: Use sourceware.org.
5277
c483f6b4
JM
52782012-04-09 Joseph Myers <joseph@codesourcery.com>
5279
d7dd9453
JM
5280 [BZ #13873]
5281 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5282 (__ieee754_pow): Generate overflow and underflow using huge*huge
5283 and tiny*tiny rather than just returning constant infinity or zero
5284 for large exponents.
5285 * math/libm-test.inc (pow_test): Require overflow exceptions for
5286 applicable cases of large exponents.
5287
c483f6b4
JM
5288 [BZ #706]
5289 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5290 (__ieee754_pow): Use iterative multiplication algorithm only for
5291 integer exponents with absolute value below 1024. Check for odd
5292 integer exponents when using algorithm for real exponents.
5293 * math/libm-test.inc (pow_test): Add more tests.
5294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5295
d2de7579
JM
52962012-04-08 Joseph Myers <joseph@codesourcery.com>
5297
5298 [BZ #13705]
5299 * math/libm-test.inc (exp_test): Do not allow overflow exception
5300 on underflow test.
5301
f77f1232
AJ
53022012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5303
5304 [BZ #13705]
5305 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5306 instead of __kernel_standard_f.
5307
3884932b
MF
53082012-04-08 Mike Frysinger <vapier@gentoo.org>
5309
5310 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5311 * sysdeps/x86_64/memset_chk.S: Likewise.
5312
54472e9c
AJ
53132012-04-08 Andreas Jaeger <aj@suse.de>
5314
6ab0fbfc
AJ
5315 [BZ #10153]
5316 * manual/startup.texi (Environment Access): Describe return value
5317 for putenv and setenv.
5318
61efba8c
AJ
5319 [BZ #6895]
5320 * manual/filesys.texi (Directory Entries): Add description for
5321 DT_LNK.
5322
95c3f29a
AJ
5323 [BZ #6890]
5324 * manual/filesys.texi (Directory Entries): Clarify that it's file
5325 system not operating system in the description of DT_UNKNOWN.
5326
54472e9c
AJ
5327 [BZ #6578]
5328 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5329
624254b1
SC
53302012-04-08 Stephen Compall <s11@member.fsf.org>
5331
5332 [BZ #6649]
5333 * manual/llio.texi (Opening and Closing Files): Add cross
5334 reference to explain mode argument.
5335
1e4920e0
MF
53362012-04-07 Mike Frysinger <vapier@gentoo.org>
5337
5338 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5339 * sysdeps/x86_64/memset_chk.S: Likewise.
5340
5ed848f3
DM
53412012-04-07 David S. Miller <davem@davemloft.net>
5342
5343 * elf/elf.h (R_SPARC_WDISP10): Define.
5344 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5345 R_SPARC_SIZE32.
5346 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5347 R_SPARC_SIZE64 and R_SPARC_H34.
5348
96154cd8
CD
53492012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5350
5351 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5352 conditions and remove no longer applicable assertion.
5353
9904dc47
L
53542012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5355
5356 * bits/byteswap.h: Include <features.h>.
5357 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5358 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5359
f8887d0a
L
53602012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5361
5362 * bits/byteswap.h (__bswap_16): Removed.
5363 Include <bits/byteswap-16.h> to get __bswap_16.
5364 * sysdeps/i386/bits/byteswap.h: Likewise.
5365 * sysdeps/s390/bits/byteswap.h: Likewise.
5366 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5367 * bits/byteswap-16.h: New file.
5368 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5369 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5370 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5371 * string/Makefile (headers): Add bits/byteswap-16.h.
5372
62470f60
PP
53732012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5374
5375 [BZ #13895]
5376 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5377 extra indirection.
5378 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5379 * nss/tst-nss-static.c: New.
5380
4dad7bab
RM
53812012-04-06 Robert Millan <rmh@gnu.org>
5382
5383 [BZ #6486]
5384 * manual/llio.texi (File Position Primitive): lseek
5385 refers to WHENCE when it really means OFFSET.
5386
e9142a17
AJ
53872012-04-06 Andreas Jaeger <aj@suse.de>
5388
2c040eff
AJ
5389 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5390 strncmp declarations.
5391
e9142a17
AJ
5392 * abilist/libc.abilist: Add __poll and __ppoll.
5393
ff9f1c5f
DM
53942012-04-05 David S. Miller <davem@davemloft.net>
5395
dcd2ae90
DM
5396 * scripts/check-local-headers.sh: Accept a host triplet in the
5397 path matched by the exclude regexp.
5398
993eb054
DM
5399 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5400 definition.
5401 * sysdeps/powerpc/powerpc32/dl-machine.h
5402 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5403 * sysdeps/s390/s390-32/dl-machine.h
5404 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5405 * sysdeps/sparc/sparc32/dl-machine.h
5406 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5407 * sysdeps/sparc/sparc64/dl-machine.h
5408 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5409
ff9f1c5f
DM
5410 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5411 lazy binding.
48e2e132 5412 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5413 undefined symbol errors.
5414
48e2e132 5415 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5416 DT_NEEDED entries.
5417
e80d6f94
MM
54182012-04-05 Michael Matz <matz@suse.de>
5419
5420 [BZ #13592]
5421 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5422
349fa79f
AJ
54232012-04-05 Andreas Jaeger <aj@suse.de>
5424
5425 [BZ #13908]
5426 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5427 comment.
5428
f402708f
KK
54292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5430
5431 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5432 which ROUND is no valid rounding mode.
5433
2ecccfc9
KK
54342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5435
5436 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5437 read again.
5438 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5439
8a53f50f
KK
54402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5441
5442 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5443 an exception using FPU order intentionally.
5444
54452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5446
5447 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5448 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5449 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5450 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5451
d653abb7
SJ
54522012-04-05 Simon Josefsson <simon@josefsson.org>
5453
5454 [BZ #12340]
5455 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5456 EINVAL when BUFLEN is too smal.
5457
c3b1bf7d
TS
54582012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5459
5460 [BZ #13553]
5461 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5462 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5463
b1aa60f3
AJ
54642012-04-03 Andreas Jaeger <aj@suse.de>
5465
c3b1bf7d 5466 [BZ #13938]
67f60a26
AJ
5467 * manual/setjmp.texi (System V contexts): Fix sentence.
5468
b1aa60f3
AJ
5469 [BZ #13926]
5470 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5471 New macro for this case.
5472 [!__GNUC__] (__bswap_64): New inline function for this case.
5473 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5474 * bits/byteswap.h: Likewise.
5475 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5476 ull, guard with __GLIBC_HAVE_LONG_LONG.
5477
5478 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5479 __GLIBC_HAVE_LONG_LONG.
5480
5481 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5482 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5483
39c59c35
TMQMF
54842012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5485
5486 [BZ #13691]
5487 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5488 inptr and inend, rather than using last_ch.
5489
135ffda8
DM
54902012-04-02 David S. Miller <davem@davemloft.net>
5491
5492 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5493 * stdio-common/printf-parse.h (read_int): Change return type to
5494 'int', return -1 on INT_MAX overflow.
5495 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5496 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5497 overflows INT_MAX. Check for overflow of in-format-string precision
5498 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5499 SIZE_MAX not INT_MAX for integer overflow test.
5500 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5501 skip the construct in the format string but do not record anything.
5502 * stdio-common/bug22.c: Adjust to test both width/prevision
5503 INT_MAX overflow as well as total length INT_MAX overflow. Check
5504 explicitly for proper errno values.
5505
228c019e
TS
55062012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5507
302cadd3
TS
5508 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5509 CHAR_MAX.
5510 * string/test-strcmp.c [! WIDE]: Likewise.
5511 * time/tst-mktime2.c: Likewise for INT_MAX.
5512 * string/test-string.h: #include <sys/param.h> for MIN.
5513
228c019e
TS
5514 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5515 * sysdeps/i386/init-first.c (init): Likewise.
5516 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5517 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5518 * sysdeps/sh/init-first.c (init): Likewise.
5519
cfa633f5
UD
55202012-04-01 Ulrich Drepper <drepper@gmail.com>
5521
5522 * po/ru.po: Update from translation team.
d1635ef8 5523 * po/vi.po: Likewise.
cfa633f5 5524
6cd0a5ea
SP
55252012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5526
5527 * resolv/nss_dns/dns-host.c: Merge copyright years.
5528
4b43400f
LD
55292012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5530
5531 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5532 Optimize memcpy with prefetch if
5533 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5534 src, dst pointers have unequal 16 byte alignments.
5535
48c41d04
SP
55362012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5537
5538 [BZ #13928]
5539 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5540 from a CNAME entry and return the minimum ttl for the query.
5541 (gaih_getanswer_slice): Likewise.
5542
b8dc394d
JL
55432012-03-30 Jeff Law <law@redhat.com>
5544
5545 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5546 due to long keys.
5547 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5548 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5549
2f5a5ed0
JL
5550 * resolv/nss_dns/dns-host.c: Update copyright year.
5551
1d39e359
UD
55522012-03-30 Ulrich Drepper <drepper@gmail.com>
5553
c030f70c 5554 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5555 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5556
1d39e359
UD
5557 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5558 comments for sendmmsg.
5559
55602012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5561
5562 [BZ #13691]
5563 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5564 with only 1 character between 0x0041 and 0x01b0.
5565 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5566 * wcsmbs/tst-mbsnrtowcs.c: New file.
5567
20fde227
DM
55682012-03-29 David S. Miller <davem@davemloft.net>
5569
5570 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5571 small copies by hand.
5572
984a4237
JL
55732012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5574
5575 [BZ #13761]
5576 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5577 _nss_compat_initgroups_dyn): Fall back to malloc/free
5578 for large group memberships.
5579
18c9d62b
DM
55802012-03-28 David S. Miller <davem@davemloft.net>
5581
88d85d4f
DM
5582 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5583 that branches into memcpy.
5584 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5585 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5586 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5587 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5588 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5589 bits.
5590 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5591 implementation too.
5592 * sysdeps/sparc/mempcpy.S: New file.
5593
e5aa83e1
DM
5594 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5595 the IFUNC routine in the libc case.
5596 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5597
88570753
DM
5598 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5599 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5600 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5601 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5602 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5603 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5604 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5605 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5606
249d7567
DM
5607 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5608 loop to 256 bytes instead of 64 bytes and fix test signedness.
5609
18c9d62b
DM
5610 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5611 * sysdeps/sparc/sparc32/Makefile: rather than here...
5612 * sysdeps/sparc/sparc64/Makefile: and here.
5613
05f3d1f6
UD
56142012-03-28 Ulrich Drepper <drepper@gmail.com>
5615
5616 * malloc/mallocbug.c: Avoid warnings about unused variables.
5617
86ae07a8
JL
56182012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5619
5620 [BZ #13760]
5621 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5622 in the right place. Discard and retry query if response is
5623 larger than input buffer size.
5624
41bf21a1
JM
56252012-03-28 Joseph Myers <joseph@codesourcery.com>
5626
d6270972
JM
5627 [BZ #369]
5628 [BZ #2678]
5629 [BZ #3866]
5630 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5631 x for large integer exponent.
5632 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5633 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5634 sign of result as needed afterwards.
5635 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5636 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5637 result for underflowing pow the same as for overflow.
5638 (__kernel_standard_l): Handle powl overflow and underflow here
5639 rather than calling __kernel_standard.
5640 * math/libm-test.inc (pow_test): Add more tests.
5641
414fca03 5642 [BZ #3868]
41bf21a1
JM
5643 [BZ #13879]
5644 [BZ #13910]
5645 [BZ #13911]
5646 [BZ #13912]
5647 [BZ #13913]
5648 [BZ #13915]
5649 [BZ #13916]
5650 [BZ #13917]
5651 [BZ #13918]
5652 [BZ #13919]
5653 [BZ #13920]
5654 [BZ #13921]
5655 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5656 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5657 (__kernel_standard_l): New function.
5658 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5659 __kernel_standard.
5660 * math/w_acosl.c (__acosl): Likewise.
5661 * math/w_asinl.c (__asinl): Likewise.
5662 * math/w_atan2l.c (__atan2l): Likewise.
5663 * math/w_atanhl.c (__atanhl): Likewise.
5664 * math/w_coshl.c (__coshl): Likewise.
5665 * math/w_exp10l.c (__exp10l): Likewise.
5666 * math/w_exp2l.c (__exp2l): Likewise.
5667 * math/w_fmodl.c (__fmodl): Likewise.
5668 * math/w_hypotl.c (__hypotl): Likewise.
5669 * math/w_j0l.c (__j0l, __y0l): Likewise.
5670 * math/w_j1l.c (__j1l, __y1l): Likewise.
5671 * math/w_jnl.c (__jnl, __ynl): Likewise.
5672 * math/w_lgammal.c (__lgammal): Likewise.
5673 * math/w_log10l.c (__log10l): Likewise.
5674 * math/w_log2l.c (__log2l): Likewise.
5675 * math/w_logl.c (__logl): Likewise.
5676 * math/w_powl.c (__powl): Likewise.
5677 * math/w_remainderl.c (__remainderl): Likewise.
5678 * math/w_scalbl.c (sysv_scalbl): Likewise.
5679 * math/w_sinhl.c (__sinhl): Likewise.
5680 * math/w_sqrtl.c (__sqrtl): Likewise.
5681 * math/w_tgammal.c (__tgammal): Likewise.
5682 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5683 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5684 * math/libm-test.inc (acos_test): Add more tests.
5685 (acosh_test): Likewise.
5686 (asin_test): Likewise.
5687 (atanh_test): Likewise.
5688 (exp_test): Likewise.
5689 (exp10_test): Likewise.
5690 (exp2_test): Likewise.
5691 (expm1_test): Likewise.
5692 (lgamma_test): Likewise.
5693 (log_test): Likewise.
5694 (log10_test): Likewise.
5695 (log1p_test): Likewise.
5696 (log2_test): Likewise.
5697 (pow_test): Do not allow some spurious overflow exceptions.
5698 (sqrt_test): Add more tests.
5699 (tgamma_test): Likewise.
5700 (y0_test): Likewise.
5701 (y1_test): Likewise.
5702 (yn_test): Likewise.
5703
dd62fda6
AB
57042012-03-27 Anton Blanchard <anton@samba.org>
5705
5706 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5707 MAP_HUGETLB.
5708 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5709 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5710 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5711
1e3cdfda
AJ
57122012-03-27 David S. Miller <davem@davemloft.net>
5713
b855ab85
DM
5714 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5715
1e3cdfda
AJ
5716 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5717 have-as-vis3 check.
5718
57192012-03-27 Andreas Jaeger <aj@suse.de>
5720
5721 * sysdeps/x86_64/elf/configure.in: Moved to ...
5722 * sysdeps/x86_64/configure.in: ... here.
5723 * sysdeps/x86_64/elf/start.S: Moved to ...
5724 * sysdeps/x86_64/start.S: ... here.
5725 * sysdeps/x86_64/elf/configure: Delete.
5726
5727 * sysdeps/x86_64/configure.in: Merge contents from
5728 sysdeps/i386/configure.in (without i686 check).
5729
5730 * sysdeps/i386/elf/Versions: Merge into ...
5731 * sysdeps/i386/Versions: ... this.
5732 * sysdeps/i386/elf/Versions: Delete file.
5733 * sysdeps/i386/elf/start.S: Moved to ...
5734 * sysdeps/i386/start.S: ...here.
5735 * sysdeps/i386/elf/configure.in: Merge into...
5736 * sysdeps/i386/configure.in: ...here.
5737 * sysdeps/i386/elf/configure.in: Delete file.
5738 * sysdeps/i386/elf/configure: Delete file.
5739
5740 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5741 * debug/backtracesyms.c: ... here.
5742 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5743 * debug/backtracesymsfd.c: ... here.
5744 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5745 * sysdeps/generic/ifunc-sel.h: ... here.
5746
5747 * sysdeps/unix/i386/start.c: Delete file.
5748 * sysdeps/unix/sparc/start.c: Delete file.
5749 * sysdeps/unix/start.c: Delete file.
5750
5751 * sysdeps/sh/elf/configure.in: Moved to ...
5752 * sysdeps/sh/configure.in: ... here.
5753 * sysdeps/sh/elf/start.S: Moved to ...
5754 * sysdeps/sh/start.S: ... here.
5755 * sysdeps/sh/elf/configure: Delete file.
5756
5757 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5758 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5759 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5760 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5761 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5762 * sysdeps/powerpc/powerpc64/start.S: here.
5763 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5764 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5765 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5766 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5767 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5768
5769 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5770 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5771 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5772 * sysdeps/powerpc/powerpc32/start.S: ... here.
5773 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5774 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5775 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5776
5777 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5778 * sysdeps/powerpc/ifunc-sel.h: ... here.
5779 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5780 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5781
5782 * sysdeps/sparc/elf/configure.in: Moved to ...
5783 * sysdeps/sparc/configure.in: ... here.
5784 * sysdeps/sparc/elf/configure: Delete file.
5785 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5786 * sysdeps/sparc/sparc32/start.S: ... here.
5787 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5788 * sysdeps/sparc/sparc64/start.S: ... here.
5789 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5790 * sysdeps/sparc/sparc32/Makefile: ... this.
5791 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5792 * sysdeps/sparc/sparc64/Makefile: ... this.
5793
5794 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5795 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5796 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5797 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5798 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5799 * sysdeps/s390/s390-32/setjmp.S: ... here.
5800 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5801 * sysdeps/s390/s390-32/configure.in: ... here.
5802 * sysdeps/s390/s390-32/elf/configure: Delete file.
5803 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5804 * sysdeps/s390/s390-32/start.S: ... here.
5805
5806 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5807 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5808 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5809 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5810 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5811 * sysdeps/s390/s390-64/setjmp.S: ... here.
5812 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5813 * sysdeps/s390/s390-64/configure.in: ... here
5814 * sysdeps/s390/s390-64/elf/configure: Delete file.
5815 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5816 * sysdeps/s390/s390-64/start.S: ... here.
5817 * sysdeps/s390/s390-64/elf/configure: Delete.
5818
5819 * configure.in: Remove support for elf directories in sysdeps.
5820
5821 * configure: Regenerated.
5822 * sysdeps/i386/configure: Regenerated.
5823 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5824 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5825 * sysdeps/s390/s390-32/configure: Regenerated.
5826 * sysdeps/s390/s390-64/configure: Regenerated.
5827 * sysdeps/sh/configure: Regenerated.
5828 * sysdeps/sparc/configure: Regenerated.
5829 * sysdeps/x86_64/configure: Regenerated.
5830
a3f61311
AS
58312012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5832
c876e002
AS
5833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5834
a3f61311
AS
5835 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5836 denormal result into account.
5837
ac4c54f0
RM
58382012-03-25 Roland McGrath <roland@hack.frob.com>
5839
5840 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5841 Reported by Allan McRae <allan@archlinux.org>.
5842
6a9b9c02
JL
58432012-03-23 Jeff Law <law@redhat.com>
5844
5845 * nss/getnssent.c (__nss_getent): Fix typo.
5846
4c42a0c1
DM
58472012-03-23 David S. Miller <davem@davemloft.net>
5848
5849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5850
1532c7ac
L
58512012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5852
5853 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5854 to pad to uint64_t for each field.
5855 (dl_tls_index): Replace unsigned long with uint64_t.
5856
3ff42526
PP
58572012-03-23 Daniel Jacobowitz <dmj@google.com>
5858 Paul Pluzhnikov <ppluzhnikov@google.com>
5859
5860 [BZ #6528]
5861 * grp/Makefile (otherlibs): Don't set it.
5862 * inet/Makefile (otherlibs): Likewise.
5863 * login/Makefile (otherlibs): Likewise.
5864 * nscd/Makefile (otherlibs): Likewise.
5865 * posix/Makefile (otherlibs): Likewise.
5866 * pwd/Makefile (otherlibs): Likewise.
5867 * rt/Makefile (otherlibs): Likewise.
5868 * sunrpc/Makefile (otherlibs): Likewise.
5869 * nss/Makefile (otherlibs): Likewise.
5870 Add libnss_files to routines and static-only-routines.
5871 ($(objpfx)getent): Remove rule.
5872 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5873 static-only-routines.
5874
7c69cd14
JM
58752012-03-22 Joseph Myers <joseph@codesourcery.com>
5876
5877 [BZ #13892]
5878 * math/s_cexp.c: Include <float.h>.
5879 (__cexp): Handle exp result overflowing not necessarily
5880 overflowing both real and imaginary parts of result.
5881 * math/s_cexpf.c: Likewise.
5882 * math/s_cexpl.c: Likewise.
5883 * math/libm-test.inc (cexp_test): Add more tests.
5884 * sysdeps/i386/fpu/libm-test-ulps: Update.
5885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5886
81b035fe
L
58872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5888
5889 * include/link.h (ELFW): New macro.
5890 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5891 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5892
1da7940c
L
58932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5894
5895 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5896 with uint64_t.
5897
b749dbb9
L
58982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5899
5900 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5901 declaration.
5902 (struct La_x32_retval): Likewise.
5903
2ff87f3f
L
59042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5905
5906 * sysdeps/x86_64/preconfigure.in: New file.
5907 * sysdeps/x86_64/preconfigure: New generated file.
5908
c0df8e69
JM
59092012-03-22 Joseph Myers <joseph@codesourcery.com>
5910
48e44791
JM
5911 [BZ #13824]
5912 * math/e_exp2l.c: Include <float.h>.
5913 (__ieee754_exp2l): Handle overflow and underflow cases
5914 separately. Only pass fractional part of argument to
5915 __ieee754_expl.
5916 * math/libm-test.inc (exp2_test): Add more tests.
5917
c0df8e69
JM
5918 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5919 negating x to take absolute value.
5920 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5921 Likewise.
5922 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5923 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5924 Likewise.
5925 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5926 computing low part if x was negated.
5927 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5928
c8e43ba7
L
59292012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5930
5931 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5932 la_x32_gnu_pltexit.
5933 (pltexit): Cast int_retval to ptrdiff_t.
5934 * elf/tst-auditmod3b.c: Likewise.
5935 * elf/tst-auditmod4b.c: Likewise.
5936 * elf/tst-auditmod5b.c: Likewise.
5937 * elf/tst-auditmod6b.c: Likewise.
5938 * elf/tst-auditmod6c.c: Likewise.
5939 * elf/tst-auditmod7b.c: Likewise.
5940
5941 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5942 and x32_gnu_pltexit.
5943
5944 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5945 __ELF_NATIVE_CLASS.
5946 (La_x32_regs): New macro.
5947 (La_x32_retval): Likewise.
5948 (la_x32_gnu_pltenter): New function prototype.
5949 (la_x32_gnu_pltexit): Likewise.
5950
7998fa78
AS
59512012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5952
dcb33988
AS
5953 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5954 exponent.
5955
233fc563
AS
5956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5957
7998fa78
AS
5958 * configure.in (libc_cv_cc_nofma): Check for option to disable
5959 generation of FMA instructions.
5960 * configure: Regenerate.
5961 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5962 * sysdeps/ieee754/dbl-64/Makefile: New file.
5963 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5964 Remove brandred-fma4.
5965 (CFLAGS-brandred-fma4.c): Remove.
5966 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5967 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5968 define.
5969 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5970 define.
5971
8e95c99a
L
59722012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5973
5974 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5975 LLONG_MAX != LONG_MAX.
5976 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5977 (_fitoa_word): Likewise.
5978 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5979 LLONG_MAX != LONG_MAX.
5980 * stdio-common/_itowa.h: Include <_itoa.h>.
5981 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5982 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5983 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5984 only if not defined.
5985 (_ITOA_WORD_TYPE): Likewise.
5986 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5987 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5988
6f4db457
DM
59892012-03-21 David S. Miller <davem@davemloft.net>
5990
5991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5992
7785fe5a
L
59932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5994
5995 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5996 of x86_64 when setting libc_cv_slibdir, libdir and
5997 libc_cv_localedir.
5998 * sysdeps/unix/sysv/linux/configure: Regenerated.
5999
4535cd55
JM
60002012-03-21 Joseph Myers <joseph@codesourcery.com>
6001
6002 * manual/lang.texi (Old Varargs): Remove section.
6003 (How Variadic): Update menu.
6004 (va_start): Do not mention varargs.h.
6005
17228132
TS
60062012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6007 Joseph Myers <joseph@codesourcery.com>
6008
6009 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6010 link test.
6011 * configure: Regenerated.
6012
8149f976
TS
60132012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6014
05f3d1f6
UD
6015 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6016 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6017 conformtest.pl
8149f976 6018
1a4ac776
JM
60192012-03-21 Joseph Myers <joseph@codesourcery.com>
6020
be22ce65
JM
6021 * NOTES: Remove.
6022 * Makefile (files-for-dist): Remove NOTES.
6023 (NOTES): Remove rule.
6024 * README: Don't refer to NOTES.
6025 * manual/creature.texi: Don't include macros.texi.
6026 * manual/intro.texi (creature.texi): Remove comment referring to
6027 NOTES.
6028
40b601fb
JM
6029 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6030 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6031 * configure: Regenerated.
6032 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6033 LIBC_TRY_CC_OPTION.
6034 (libc_cv_as_i686): Likewise.
6035 (libc_cv_cc_avx): Likewise.
6036 (libc_cv_cc_sse2avx): Likewise.
6037 (libc_cv_cc_fma4): Likewise.
6038 (libc_cv_cc_novzeroupper): Likewise.
6039 * sysdeps/i386/configure: Regenerated.
6040
1a4ac776
JM
6041 [BZ #13883]
6042 * sysdeps/i386/fpu/s_cexp.S: Remove.
6043 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6044 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6045 * math/libm-test.inc (cexp_test): Add more tests.
6046 * sysdeps/i386/fpu/libm-test-ulps: Update.
6047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6048
a458e7fe
AM
60492012-03-21 Allan McRae <allan@archlinux.org>
6050
6051 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6052
0cb7efc5
JM
60532012-03-21 Joseph Myers <joseph@codesourcery.com>
6054
6055 [BZ #13871]
6056 * math/w_exp2.c: Do not include <float.h>.
6057 (o_threshold, u_threshold): Remove.
6058 (__exp2): Calculate result before checking finiteness and calling
6059 __kernel_standard.
6060 * math/w_exp2f.c: Likewise.
6061 * math/w_exp2l.c: Likewise.
6062 * math/libm-test.inc (exp2_test): Require overflow exception for
6063 1e6 input.
2460d3aa
JM
6064
6065 [BZ #3866]
6066 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6067 range of signed 64-bit integers before using fistpll. Remove
6068 checks for whether integers fit in mantissa bits.
6069 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6070 the range of signed 32-bit integers before using fistpl. Remove
6071 checks for whether integers fit in mantissa bits.
6072 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6073 (__ieee754_powl): Test for y outside the range of signed 64-bit
6074 integers before using fistpll. Reduce 64-bit values to 63-bit
6075 ones as needed.
6076 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6077 divide-by-zero is raised for zero to large negative powers.
6078 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6079 (__ieee754_powl): Test for y outside the range of signed 64-bit
6080 integers before using fistpll. Reduce 64-bit values to 63-bit
6081 ones as needed.
6082 * math/libm-test.inc (pow_test): Add more tests.
6083
eb96ffb0
L
60842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6085
6086 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6087 <stdio-common/_itoa.h>.
6088 * debug/segfault.c: Likewise.
6089 * elf/dl-cache.c: Likewise.
6090 * elf/dl-minimal.c: Likewise.
6091 * elf/dl-misc.c: Likewise.
6092 * elf/dl-sysdep.c: Likewise.
6093 * elf/dl-version.c: Likewise.
6094 * elf/rtld.c: Likewise.
6095 * hurd/hurdsock.c: Likewise.
6096 * hurd/lookup-retry.c: Likewise.
6097 * malloc/malloc.c: Likewise.
6098 * malloc/mtrace.c: Likewise.
6099 * nscd/nscd_getgr_r.c: Likewise.
6100 * nscd/nscd_getpw_r.c: Likewise.
6101 * nscd/nscd_getserv_r.c: Likewise.
6102 * posix/getopt_init.c: Likewise.
6103 * posix/wordexp.c: Likewise.
6104 * stdio-common/_itoa.c: Likewise.
6105 * stdio-common/printf_fphex.c: Likewise.
6106 * stdio-common/vfprintf.c: Likewise.
6107 * string/_strerror.c: Likewise.
6108 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6109 * sysdeps/i386/i686/hp-timing.h: Likewise.
6110 * sysdeps/mach/_strerror.c: Likewise.
6111 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6112 * sysdeps/mach/hurd/sethostid.c: Likewise.
6113 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6114 * sysdeps/mach/xpg-strerror.c: Likewise.
6115 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6116 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6117 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6118 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6119 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6120 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6121 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6122 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6123 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6124 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6125 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6126 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6127 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6128 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6129 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6130 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6131 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6132 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6133 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6134 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6135 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6136
6137 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6138
6139 * stdio-common/_itoa.h: Moved to ...
6140 * sysdeps/generic/_itoa.h: Here.
6141
6142 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6143
6144 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6145 instead of "_itoa.h" and "_itowa.h".
6146 * stdio-common/vfprintf.: Likewise.
6147
d1af992d
L
61482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6149
6150 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6151 <bits/wordsize.h>.
6152 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6153 (__signbit): Likwise.
6154 (llrintf): Likwise.
6155 (llrint): Likwise.
6156
114883e0
L
61572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6158
6159 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6160 __WORDSIZE != 64.
6161
c135cc1b
JM
61622012-03-20 Joseph Myers <joseph@codesourcery.com>
6163
6164 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6165 OVERFLOW_EXCEPTION_OK.
6166 * math/libm-test.inc ("Philosophy"): Update comment about
6167 exception testing.
6168 (OVERFLOW_EXCEPTION): Define.
6169 (OVERFLOW_EXCEPTION_OK): Likewise.
6170 (INVALID_EXCEPTION_OK): Renumber.
6171 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6172 (IGNORE_ZERO_INF_SIGN): Likewise.
6173 (test_exceptions): Handle FE_OVERFLOW.
6174 (exp10_test): Expect overflow exceptions.
6175 (exp2_test): Likewise.
6176 (expm1_test): Likewise.
6177 (nextafter_test): Likewise.
6178 (pow_test): Likewise.
6179 (scalbn_test): Likewise.
6180 (scalbln_test): Likewise.
6181
95443d88
L
61822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6183
6184 * sysdeps/x86_64/bits/atomic.h
6185 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6186 64bit integer.
6187 (atomic_exchange_acq): Likewise.
6188 (__arch_exchange_and_add_body): Likewise.
6189 (__arch_add_body): Likewise.
6190 (atomic_add_negative): Likewise.
6191 (atomic_add_zero): Likewise.
6192
490df6c4
L
61932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6194
c2722551 6195 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6196 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6197
5e52b189
L
61982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6199
6200 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6201 Check __x86_64__ instead of __WORDSIZE.
6202
a9879d4c
L
62032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6204
6205 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6206
5df98260
DM
62072012-03-19 David S. Miller <davem@davemloft.net>
6208
e1497744
DM
6209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6210
5df98260
DM
6211 * sysdeps/sparc/fpu/fenv_private.h: New file.
6212 * sysdeps/sparc/fpu/math_private.h: Use it.
6213 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6214 Remove.
6215 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6216 (libc_feholdexcept_setroundl): Remove.
6217 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6218 Remove.
6219 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6220 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6221
b4c35121
L
62222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6223
6224 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6225 int64_t instead of long int.
6226 (INSERT_WORDS64): Likwise.
6227
56965fd7
L
62282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6229
6230 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6231 _Unwind_GetCFA return to _Unwind_Ptr first.
6232
83d1aec8
JM
62332012-03-19 Joseph Myers <joseph@codesourcery.com>
6234
1897ad44
JM
6235 [BZ #13629]
6236 * math/s_clog.c: Include <float.h>.
6237 (__clog): Scale large or subnormal inputs.
6238 * math/s_clogf.c: Likewise.
6239 * math/s_clogl.c: Likewise.
6240 * math/s_clog10.c: Include <float.h>.
6241 (M_LOG10_2): Define.
6242 (__clog10): Scale large or subnormal inputs.
6243 * math/s_clog10f.c: Likewise.
6244 * math/s_clog10l.c: Likewise.
6245 * math/libm-test.inc (clog_test): Add more tests.
6246 (clog10_test): Likewise.
6247 * sysdeps/i386/fpu/libm-test-ulps: Update.
6248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6249
7726d6a9
JM
6250 [BZ #11451]
6251 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6252 x and y.
6253 * math/libm-test.inc (atan2_test): Add another test.
6254
83d1aec8
JM
6255 * Makerules (common-objdir-compile): Remove.
6256 * sysdeps/unix/Makefile (config-generated): Do not add
6257 $(unix-generated) to variable.
6258 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6259 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6260 Remove rule.
6261 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6262 Likewise.
6263 [generic bits/local_lim.h] (before-compile): Do not append to
6264 variable.
6265 [generic bits/local_lim.h] (common-generated): Likewise.
6266 [generic sys/param.h] (before-compile): Do not append to variable.
6267 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6268 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6269 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6270 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6271 include.
6272 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6273 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6274 [generic sys/param.h] ($(addprefix
6275 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6276 [generic sys/param.h] (common-generated): Do not append to
6277 variable.
6278 [generic sys/param.h] (sysdep_headers): Likewise.
6279 [generic bits/errno.h] (before-compile): Do not append to
6280 variable.
6281 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6282 rule.
6283 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6284 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6285 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6286 [generic bits/errno.h] (common-generated): Do not append to
6287 variable.
6288 [generic bits/ioctls.h] (before-compile): Do not append to
6289 variable.
6290 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6291 rule.
6292 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6293 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6294 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6295 rule.
6296 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6297 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6298 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6299 [generic bits/ioctls.h] (common-generated): Do not append to
6300 variable.
6301 [generic sys/syscall.h] (syscall.h): Remove variable.
6302 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6303 rule.
6304 [generic sys/syscall.h] (before-compile): Do not append to
6305 variable.
6306 [generic sys/syscall.h] (common-generated): Likewise.
6307 * sysdeps/unix/errnos-tmpl.c: Remove file.
6308 * sysdeps/unix/errnos.awk: Likewise.
6309 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6310 * sysdeps/unix/ioctls.awk: Likewise.
6311 * sysdeps/unix/mk-local_lim.c: Likewise.
6312 * sysdeps/unix/snarf-ioctls: Likewise.
6313
4851a949
RH
63142012-03-19 Richard Henderson <rth@twiddle.net>
6315
bd37f2ee
RH
6316 * sysdeps/i386/fpu/fenv_private.h: New file.
6317 * sysdeps/i386/fpu/math_private.h: Use it.
6318 (math_opt_barrier, math_force_eval): Remove.
6319 (libc_feholdexcept_setround_53bit): Remove.
6320 (libc_feupdateenv_53bit): Remove.
6321 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6322 (math_opt_barrier, math_force_eval): Remove.
6323 (libc_feholdexcept): Remove.
6324 (libc_feholdexcept_setround): Remove.
6325 (libc_fetestexcept, libc_fesetenv): Remove.
6326 (libc_feupdateenv_test): Remove.
6327 (libc_feupdateenv, libc_feholdsetround): Remove.
6328 (libc_feresetround): Remove.
6329
d0adc922
RH
6330 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6331 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6332
0fe0f1f8
RH
6333 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6334 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6335 (libc_feupdateenv_testl): New.
6336 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6337 (libc_feupdateenv_testf): New.
6338 (libc_feupdateenv): Use libc_feupdateenv_test.
6339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6340 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6341
eb92c487
RH
6342 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6343 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6344 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6345 (libc_feresetround_noex): New.
6346 (libc_feresetround_noexf): New.
6347 (libc_feresetround_noexl): New.
6348 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6349 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6350 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6351 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6352 SET_RESTORE_ROUND.
6353 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6354 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6355 (__cos): Likewise.
6356 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6357 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6358 SET_RESTORE_ROUND_NOEX.
6359 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6360 SET_RESTORE_ROUND_NOEXF.
6361 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6362 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6363 (libc_feholdsetroundf): New.
6364 (libc_feresetround, libc_feresetroundf): New.
6365
7d2e8012
RH
6366 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6367 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6368 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6369
b4dabbb4
RH
6370 * sysdeps/generic/math_private.h: Include <fenv.h>.
6371 (default_libc_feholdexcept): New.
6372 (default_libc_feholdexcept_setround): New.
6373 (default_libc_fesetenv, default_libc_feupdateenv): New.
6374 (libc_feholdexcept): Only define if undefined.
6375 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6376 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6377 (libc_feholdexcept_setroundl): Likewise.
6378 (libc_feholdexcept_setround_53bit): Likewise.
6379 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6380 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6381 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6382 (libc_feupdateenv_53bit): Likewise.
6383 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6384 (libc_feholdexcept): Convert from macro to inline function.
6385 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6386 (libc_fesetenv, libc_feupdateenv): Likewise.
6387
4851a949
RH
6388 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6389 not previously defined.
6390 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6391 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6392 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6393 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6394 * sysdeps/ieee754/flt-32/math_private.h: New file.
6395 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6396 math_private.h below SET_FLOAT_WORD.
6397 (__isnan, __isinf_ns, __finite): Remove.
6398 (__isnanf, __isinf_nsf, __finitef): Remove.
6399
e79d442e
AS
64002012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6401
6402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6403
90b80344
DM
64042012-03-17 David S. Miller <davem@davemloft.net>
6405
6406 [BZ #6471]
6407 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6408 for 2.16.
6409
edc21804
DM
64102012-03-16 David S. Miller <davem@davemloft.net>
6411
77e927af
DM
6412 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6413 warnings.
6414
374976dd
DM
6415 [BZ #6471]
6416 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6417 properly.
6418 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6419 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6420 sysdep_routines when subdir is sysvipc.
6421 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6422 __getshmlba helper.
6423
edc21804
DM
6424 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6425
473c3ef3
L
64262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6427
6428 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6429 [__LP64__].
6430
eb0f39b6
L
64312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6432
6433 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6434 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6435 (__lround): Renamed to ...
6436 (__llround): This. Replace long int with long long int.
6437 Define lround functions as aliases of llround functions.
6438 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6439
6b6cd74b
L
64402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6441
6442 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6443 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6444 adresses to uintptr_t. Replace "long int" and "unsigned long
6445 int" with "greg_t" on va_arg.
6446
f1a77b01
L
64472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6448
6449 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6450 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6451
6452 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6453 Move e_machine check before EI_CLASS check. Handle x32
6454 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6455 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6456 SKIP_EM_IA_64 and include
6457 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6458
6459 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6460 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6461 (add_system_dir): New macro.
6462
6463 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6464 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6465
11b90b9f
JM
64662012-03-16 Joseph Myers <joseph@codesourcery.com>
6467
c36e1d23
JM
6468 [BZ #2551]
6469 [BZ #2552]
6470 [BZ #2553]
6471 [BZ #2554]
6472 [BZ #2562]
6473 [BZ #2563]
6474 [BZ #2565]
6475 [BZ #2566]
6476 [BZ #2576]
6477 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6478 (y0): Likewise.
6479 * math/w_j0f.c (j0f): Likewise.
6480 (y0f): Likewise.
6481 * math/w_j0l.c (__j0l): Likewise.
6482 (__y0l): Likewise.
6483 * math/w_j1.c (j1): Likewise.
6484 (y1): Likewise.
6485 * math/w_j1f.c (j1f): Likewise.
6486 (y1f): Likewise.
6487 * math/w_j1l.c (__j1l): Likewise.
6488 (__y1l): Likewise.
6489 * math/w_jn.c (jn): Likewise.
6490 (yn): Likewise.
6491 * math/w_jnf.c (jnf): Likewise.
6492 (ynf): Likewise.
6493 * math/w_jnl.c (__jnl): Likewise.
6494 (__ynl): Likewise.
6495 * math/libm-test.inc (j0_test): Add more tests.
6496 (j1_test): Likewise.
6497 (jn_test): Likewise. Add trailing semicolon to existing test.
6498 (y0_test): Likewise.
6499 (y1_test): Likewise.
6500 * sysdeps/i386/fpu/libm-test-ulps: Update.
6501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6502
11b90b9f
JM
6503 [BZ #13851]
6504 [BZ #13854]
6505 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6506 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6507 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6508 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6509 (__tanl): Set errno for infinite argument.
6510 * sysdeps/i386/fpu/mptan.c: Remove.
6511 * sysdeps/i386/fpu/s_tan.S: Likewise.
6512 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6513 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6514 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6515 * math/libm-test.inc (tan_test): Add more tests and enable more
6516 tests for double and long double.
6517 * sysdeps/i386/fpu/libm-test-ulps: Update.
6518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6519
6a1bd2a1
JK
65202012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6521
6522 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6523 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6524
10a803e0
RM
65252012-03-16 Roland McGrath <roland@hack.frob.com>
6526
6527 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6528 * configure.in: Use it for both main tree and add-ons.
6529 * configure: Regenerated.
6530
f196c7f7
L
65312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6532
6533 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6534
8848d99d
JM
65352012-03-16 Joseph Myers <joseph@codesourcery.com>
6536
96cbe7f4
JM
6537 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6538 in comment.
6539
8848d99d
JM
6540 [BZ #13851]
6541 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6542 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6543 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6544 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6545 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6546 infinite argument.
6547 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6548 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6549 != 0 for prec == 2.
6550 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6551 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6552 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6553 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6554 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6555 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6556 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6557 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6558 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6559 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6560 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6561 * math/libm-test.inc (cos_test): Add more tests and enable more
6562 tests for long double.
6563 (sin_test): Likewise.
6564 (sincos_test): Likewise.
6565 * sysdeps/i386/fpu/libm-test-ulps: Update.
6566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6567
dd7f4703
DM
65682012-03-16 David S. Miller <davem@davemloft.net>
6569
6570 * sysdeps/sparc/fpu/math_private.h: New file.
6571
006f1daa
DM
65722012-03-15 David S. Miller <davem@davemloft.net>
6573
c0c83bc8
DM
6574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6575 file.
e6a62e18 6576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6578 file.
e6a62e18
DM
6579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6584 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6585 sysdep routines.
6586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6587
88cb87d9
DM
6588 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6589 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6590
006f1daa 6591 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6593 sparc-ifunc.h
006f1daa 6594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6596 Likewise.
6597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6598 Likewise.
006f1daa
DM
6599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6603 Likewise.
006f1daa
DM
6604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6609 Likewise.
6610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6611 Likewise.
006f1daa
DM
6612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6618 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6619 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6620 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6621 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6630 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6631 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6632 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6633 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6634 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6635 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6636
11e0098e
AS
66372012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6638
6639 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6640 scaling.
6641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6642
e85b09d0
AJ
66432012-03-15 Andreas Jaeger <aj@suse.de>
6644
6645 [BZ #13852]
6646 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6647 ieee754/flt-32 implementation for sin, cos and sincos.
6648 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6649 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6650 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6651 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6652 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6653 ieee754/flt-32 implementation for tan.
6654
6655 * math/libm-test.inc (cos_test): Enable some large input tests for
6656 float as well
6657 (sin_test): Likewise.
6658 (sincos_test): Likewise.
6659 (tan_test): Add tests for large input.
6660
6661 * sysdeps/i386/fpu/libm-test-ulps: Update.
6662
81c64153
AJ
66632012-03-15 Andreas Jaeger <aj@suse.de>
6664
6665 [BZ #13658]
6666 * math/libm-test.inc (cos_test): Add more test cases.
6667 (sin_test): Likewise.
6668 (sincos_test): Likewise.
6669
7bbfa5c6
AJ
66702012-03-15 Andreas Jaeger <aj@suse.de>
6671
6672 [BZ #13837]
6673 * math/libm-test.inc (cos_test): Add a test case for large input
6674 value.
6675 (sin_test): Likewise.
6676 (sincos_test): Likewise.
6677
66782012-03-15 Andreas Jaeger <aj@suse.de>,
6679 Joseph Myers <joseph@codesourcery.com>
6680
6681 [BZ #13658]
0671f479 6682 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6683 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6684 * sysdeps/i386/fpu/branred.c: Likewise.
6685 * sysdeps/i386/fpu/dosincos.c: Likewise.
6686 * sysdeps/i386/fpu/mpa.c: Likewise.
6687 * sysdeps/i386/fpu/s_cos.S: Likewise.
6688 * sysdeps/i386/fpu/s_sin.S: Likewise.
6689 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6690 * sysdeps/i386/fpu/sincos32.c: Likewise.
6691
6692 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6693 Define.
6694 (libc_feupdateenv_53bit): Define.
6695 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6696 Define.
6697 (libc_feupdateenv_53bit): Define.
6698
6699 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6700 53 bit (without extend i386 double precision).
6701
6702 * math/libm-test.inc (sincos_test): Add tests for large input.
6703 (sin): Likewise.
6704 (cos): Likewise.
6705
6706 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6707
9cad04ea
AS
67082012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6709
6710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6711
f7062b9a
DM
67122012-03-15 David S. Miller <davem@davemloft.net>
6713
6714 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6715 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6716 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6717 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6730 file.
f7062b9a 6731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6733 file.
f7062b9a 6734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6736 file.
f7062b9a 6737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6739 file.
f7062b9a
DM
6740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6741 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6742 fmin/fmax sysdep routines.
6743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6744
7bd951ff
DM
67452012-03-14 David S. Miller <davem@davemloft.net>
6746
559398ab
DM
6747 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6748 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6751 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6752 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6753 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6754 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6758 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6765 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6766 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6767 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6768 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6769 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6770 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6771 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6772 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6773 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6774 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6775 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6776 routines.
6777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6778 file.
559398ab 6779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6781 file.
559398ab 6782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6784 file.
559398ab 6785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6787 file.
559398ab 6788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6790 file.
559398ab 6791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6793 file.
6794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6795 file.
6796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6797 file.
6798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6799 file.
6800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6801 New file.
6802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6803 file.
6804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6805 file.
559398ab 6806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6808 file.
559398ab 6809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6811 file.
559398ab 6812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6814 file.
559398ab 6815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6817 VIS3 routines.
559398ab
DM
6818
6819 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6820 New file.
6821
5a1c1e32
DM
6822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6823
eae47a36
DM
6824 * sysdeps/sparc/configure.in: New file.
6825 * sysdeps/sparc/configure: Generate.
6826 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6827 * configure: Regenerate.
6828 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6829 * config.make.in (have-as-vis3): New.
6830 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6831 available use -Av9d instead of -Av9a.
6832 * sysdeps/sparc/sparc64/Makefile: Likewise.
6833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6835 New file.
6836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6837 file.
6838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6839 New file.
6840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6841 file.
eae47a36
DM
6842 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6843 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6844 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6845 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6846 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6847
c0c83bc8
DM
6848 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6849 fzeros/fnegs to load 0x80000000 into a float register instead of
6850 using the stack.
7bd951ff
DM
6851 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6852
bd951ccb
JM
68532012-03-14 Joseph Myers <joseph@codesourcery.com>
6854
6855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6856 bits/syscall.h.
6857 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6858 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6859 ($(inst_includedir)/bits/syscall.h): Remove rule.
6860 ($(objpfx)bits/syscall.d): Include instead of
6861 $(objpfx)syscall-list.d.
6862 (generated): Change syscall-list.h and syscall-list.d to
6863 bits/syscall.h and bits/syscall.d.
6864
bb4e6db2
RM
68652012-03-14 Roland McGrath <roland@hack.frob.com>
6866
6867 [BZ #13846]
6868 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6869
aa4a2ae1
JM
68702012-03-14 Joseph Myers <joseph@codesourcery.com>
6871
e456826d
JM
6872 [BZ #13841]
6873 * math/s_csqrt.c: Include <float.h>.
6874 (__csqrt): Scale large or subnormal inputs.
6875 * math/s_csqrtf.c: Likewise.
6876 * math/s_csqrtl.c: Likewise.
6877 * math/libm-test.inc (csqrt_test): Add more tests.
6878 * sysdeps/i386/fpu/libm-test-ulps: Update.
6879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6880
aa4a2ae1
JM
6881 [BZ #13840]
6882 * math/libm-test.inc (hypot_test): Add more tests.
6883
7c10fd35
DM
68842012-03-13 David S. Miller <davem@davemloft.net>
6885
6886 [BZ #13840]
6887 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6888 double-precision for the calculation instead of scaling.
6889
f453b98b
JM
68902012-03-13 Joseph Myers <joseph@codesourcery.com>
6891
6892 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6893 manipulate bits before adding and subtracting TWO52[sx].
6894 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6895 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6896 Likewise.
6897 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6898
09a3453f
DM
68992012-03-13 David S. Miller <davem@davemloft.net>
6900
8e59da90
DM
6901 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6902 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6903 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6904 rtld-global-offsets.h
6905 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6906
2a8ab7f2
DM
6907 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6908 large parameters.
6909
10f62770
DM
6910 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6911
5f0bdb18
DM
6912 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6913 'err' in the ifdef scope in which it is actually used.
6914
09a3453f
DM
6915 * nss/nss_db/db-init.c: Include string.h
6916
b4b2eb5e
DM
69172012-03-12 David S. Miller <davem@davemloft.net>
6918
98bb2f1c
DM
6919 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6920 masking out of the most significant byte of random value used.
6921 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6922 Fix coding style in previous change.
6923
b4b2eb5e
DM
6924 * sysdeps/unix/sysv/linux/kernel-features.h
6925 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6926 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6927 expression.
6928 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6929 later.
6930
6e226b09
DM
69312012-03-11 David S. Miller <davem@davemloft.net>
6932
a1bcbd40
DM
6933 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6934 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6935 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6936 for 'resultvar' otherwise things get truncated on 64-bit.
6937
cb9d6174
DM
6938 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6939 Fix masking out of the most significant byte of random value used.
6940
6e226b09
DM
6941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6942
058c132d
AS
69432012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6944
6945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6946
2d2cd515
DM
69472012-03-09 David S. Miller <davem@davemloft.net>
6948
6949 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6950 variables with appropriate CPP guards.
6951 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6952 frame pointer, not the stack pointer. Correct layout comments. Fix test
6953 on resulting framesize and the management of the outregs buffer for pltexit.
6954 Preserve floating point return values across _dl_call_pltexit call.
6955 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6956 framesize and the management of the outregs buffer for pltexit.
6957 Preserve floating point return values across _dl_call_pltexit
6958 call.
6959 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6960 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6961 (print_exit): Fix format string for return register value.
6962
9a07f9d0
JM
69632012-03-10 Joseph Myers <joseph@codesourcery.com>
6964
6965 * sunrpc/Makefile (others): Add rpcgen.
6966 ($(objpfx)rpcgen): Remove special build rule and dependency on
6967 libc.
6968 * sunrpc/rpcgen.c: New file.
6969
547b5e30
PE
69702012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6971
c524201a
PE
6972 [BZ #13673]
6973 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6974 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6975 * sysdeps/i386/crti.S: Likewise.
6976 * sysdeps/i386/crtn.S: Likewise.
6977 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6978 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6979 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6980 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6981 * sysdeps/sh/crti.S: Likewise.
6982 * sysdeps/sh/crtn.S: Likewise.
6983 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6984
7b6235f2
PE
6985 [BZ #13673]
6986 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6987 with URL.
6988 * locale/programs/locfile-kw.gperf: Likewise.
6989 * locale/programs/charmap-kw.h: Regenerated.
6990 * locale/programs/locfile-kw.h: Likewise.
6991
547b5e30
PE
6992 [BZ #13673]
6993 * intl/plural.y: Replace FSF snail mail address with URL.
6994 * intl/plural.c: Regenerated.
6995
5f0a5dae
RH
69962012-03-09 Richard Henderson <rth@twiddle.net>
6997
6998 * include/math_private.h: Remove file.
6999 * math/math_private.h: Move file ...
7000 * sysdeps/generic/math_private.h: ... here.
7001
b8c03620
RH
7002 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7003 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7004 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7005
4e234f5d 7006 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
7007 and <math_private.h>.
7008 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7009 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7010 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7011 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7012 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7013 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7014 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7015 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7016 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7017 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7018 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7019 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7020 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7021 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7022 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7023 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7024 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7025 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7026 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7027 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7028 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7029 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7030 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7031 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7032 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7033 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7034 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7035 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7036 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7037 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7038 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7039 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7040 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7041 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7042 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7043 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7044 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7045 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7046 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7047 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7048 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7049 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7050 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7051 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7052 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7053 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7054 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7055 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7056 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7057 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7058 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7059 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7060 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7061 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7062 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7063 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7064 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7065 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7066 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7067 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7068 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7069 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7070 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7071 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7072 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7073 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7074 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7075 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7076 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7077 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7078 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7079 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7080 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7081 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7082 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7083 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7084 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7085 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7086 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7087 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7088 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7089 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7090 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7091 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7092 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7093 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7094 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7095 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7096 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7097 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7098 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7099 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7100 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7101 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7102 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7103 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7104 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7105 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7106 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7107 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7108 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7109 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7110 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7111 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7112 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7113 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7114 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7115 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7116 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7117 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7118 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7119 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7120 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7121 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7122 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7123 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7124 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7125 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7126 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7127 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7128 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7129 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7130 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7131 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7132 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7133 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7134 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7135 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7136 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7137 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7138 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7139 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7140 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7141 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7142 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7143 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7144 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7145 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7146 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7147 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7148 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7149 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7150 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7151 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7152 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7153 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7154 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7155 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7156 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7157 * sysdeps/ieee754/k_standard.c: Likewise.
7158 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7159 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7160 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7161 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7162 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7163 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7164 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7165 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7166 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7167 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7168 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7169 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7170 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7171 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7172 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7173 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7174 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7175 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7176 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7177 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7178 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7179 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7180 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7181 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7182 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7183 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7184 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7185 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7186 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7187 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7188 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7189 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7190 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7191 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7192 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7193 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7194 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7195 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7196 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7197 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7198 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7199 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7200 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7201 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7202 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7203 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7204 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7205 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7206 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7207 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7208 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7209 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7210 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7211 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7212 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7213 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7214 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7215 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7216 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7217 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7218 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7219 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7220 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7221 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7222 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7223 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7224 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7225 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7226 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7227 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7228 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7229 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7230 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7231 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7232 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7233 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7234 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7235 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7236 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7237 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7238 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7239 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7240 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7241 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7242 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7243 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7244 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7245 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7246 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7247 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7248 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7249 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7250 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7251 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7252 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7253 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7254 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7255 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7256 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7257 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7258 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7259 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7260 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7261 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7262 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7263 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7264 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7265 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7266 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7267 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7268 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7269 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7270 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7271 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7272 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7273 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7274 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7275 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7276 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7277 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7278 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7279 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7280 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7281 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7282 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7283 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7284 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7285 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7286 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7287 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7288 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7289 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7290 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7291 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7292 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7293 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7294 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7295 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7296 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7297 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7298 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7299 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7300 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7301 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7302 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7303 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7304 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7305 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7306 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7307 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7308 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7309 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7310 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7311 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7312 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7313 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7314 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7315 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7316 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7317 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7318 * sysdeps/ieee754/s_lib_version.c: Likewise.
7319 * sysdeps/ieee754/s_matherr.c: Likewise.
7320 * sysdeps/ieee754/s_signgam.c: Likewise.
7321 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7322 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7323 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7324 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7325 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7326 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7327 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7328 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7329 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7330 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7331 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7332 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7333 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7334 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7335 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7336 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7337 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7338 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7339 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7340 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7341 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7342
1991fa03
JM
73432012-03-09 Joseph Myers <joseph@codesourcery.com>
7344
7345 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7346 * sunrpc/rpc_main.c: Likewise.
7347 * sunrpc/rpc_svcout.c: Likewise.
7348
60d6f5a6
DM
73492012-03-09 David S. Miller <davem@davemloft.net>
7350
7351 * include/math_private.h: New file.
7352
4962050e
JM
73532012-03-09 Joseph Myers <joseph@codesourcery.com>
7354
02a6f887
JM
7355 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7356 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7357 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7358 from <bits/socket_type.h>.
7359 (enum __socket_type): Don't define here.
7360 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7362 bits/socket_type.h.
7363
c6e013c1
JM
7364 [BZ #13566]
7365 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7366 checking __USE_GNU.
7367
4962050e
JM
7368 * Makerules ($(inst_includedir)/%.h): New rule.
7369 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7370 (install-others): Remove variable setting.
7371 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7372
38842f45
RH
73732012-03-08 Richard Henderson <rth@twiddle.net>
7374
67bb6da6
RH
7375 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7376 from macro to inline function; merge with the
7377 !__LIBC_INTERNAL_MATH_INLINES version.
7378 (__ieee754_sqrtf): Likewise.
7379
15194b4b
RH
7380 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7381 to inline function.
7382 (__rintf, __floor, __floorf): Likewise.
7383
64e21ede
RH
7384 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7385 macro to inline function.
7386 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7387
38842f45
RH
7388 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7389 not <math/math_private.h>.
7390
c64bf5fe
DM
73912012-03-08 David S. Miller <davem@davemloft.net>
7392
7393 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7394 copyright year.
7395 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7396
82d86f28
TS
73972012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7398
7399 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7400 normalization.
7401 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7402 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7403
aea5d727
UD
74042012-03-08 Ulrich Drepper <drepper@gmail.com>
7405
7406 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7407 be defined individually, they must be defined as a block. Define
7408 S for printing a string instead of hidint the different by using a
7409 macro for adding the 'l'.
7410 * stdio-common/tst-fphex-wide.c: Adjust.
7411
70bca0a3
MP
74122012-03-07 Marek Polacek <polacek@redhat.com>
7413
7414 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7415
65b81130
MP
74162012-03-08 Marek Polacek <polacek@redhat.com>
7417
7418 [BZ #13806]
7419 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7420 * stdio-common/tst-fphex.c: Define a few macros to make the
7421 test reusable. Use them.
7422 * stdio-common/tst-fphex-wide.c: New file.
7423
07037eeb
JM
74242012-03-08 Joseph Myers <joseph@codesourcery.com>
7425
a7a93d50
JM
7426 [BZ #6911]
7427 * manual/macros.texi (gnusystems): New macro.
7428 (nongnusystems): Likewise.
7429 (gnulinuxhurdsystems): Likewise.
7430 (gnuhurdsystems): Likewise..
7431 (gnulinuxsystems): Likewise.
7432 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7433 variants of the GNU system, not "GNU system".
7434 * manual/conf.texi: Likewise.
7435 * manual/errno.texi: Likewise. Update example of errno macro
7436 expansion.
7437 * manual/filesys.texi: Likewise.
7438 (getumask): Document as specific to GNU/Hurd.
7439 * manual/install.texi: Likewise. Reword some references to
7440 GNU/Linux.
7441 * manual/intro.texi: Likewise.
7442 * manual/io.texi: Likewise.
7443 (File Name Portability): Detail which constraints are inapplicable
7444 to all GNU systems and which are only inapplicable to GNU/Hurd.
7445 * manual/job.texi: Likewise.
7446 * manual/llio.texi: Likewise.
7447 (O_NOCTTY): Document as present on GNU/Linux.
7448 * manual/maint.texi: Likewise.
7449 * manual/memory.texi: Likewise.
7450 * manual/pattern.texi: Likewise.
7451 * manual/pipe.texi: Likewise.
7452 * manual/process.texi: Likewise.
7453 * manual/resource.texi: Likewise.
7454 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7455 child on GNU/Hurd.
7456 * manual/setjmp.texi: Likewise.
7457 * manual/signal.texi: Likewise.
7458 * manual/startup.texi: Likewise.
7459 * manual/stdio.texi: Likewise.
7460 * manual/terminal.texi: Likewise.
7461 (ONLCR): Document as POSIX.
7462 (OXTABS): Document availability on GNU/Linux as XTABS.
7463 (ONOEOT): Document availability separately from other bits.
7464 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7465 * manual/time.texi: Likewise.
7466 * manual/users.texi: Likewise.
7467 * INSTALL: Regenerated.
7468 * sysdeps/gnu/errlist.c: Regenerated.
7469
07037eeb
JM
7470 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7471 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7472 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7473 puts.
7474 * configure: Regenerated.
7475
d1d3431a
JM
74762012-03-07 Joseph Myers <joseph@codesourcery.com>
7477
af6a1e37
JM
7478 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7479 default includes instead of AC_HEADER_CHECK.
7480 * sysdeps/i386/configure: Regenerated.
7481
d1d3431a
JM
7482 [BZ #10716]
7483 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7484 * math/s_cacoshf.c (__cacoshf): Likewise.
7485 * math/s_cacoshl.c (__cacoshl): Likewise.
7486 * math/s_casinh.c (__casinh): Set signs of result from argument.
7487 * math/s_casinhf.c (__casinhf): Likewise.
7488 * math/s_casinhl.c (__casinhl): Likewise.
7489 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7490 (casinh_test): Add more tests.
7491 * sysdeps/i386/fpu/libm-test-ulps: Update.
7492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7493
482ff4da
UD
74942012-03-07 Ulrich Drepper <drepper@gmail.com>
7495
872fda05
UD
7496 * po/zh_TW.po: Update from translation team.
7497
a4300c7a
UD
7498 * login/Makefile (distribute): Remove variable.
7499 * catgets/Makefile: Likewise.
7500 * mach/Makefile: Likewise.
7501 * malloc/Makefile: Likewise.
7502 * misc/Makefile: Likewise.
7503 * iconv/Makefile: Likewise.
7504 * nscd/Makefile: Likewise.
7505 * hurd/Makefile: Likewise.
7506 * manual/Makefile: Likewise.
7507 * locale/Makefile: Likewise.
7508 * intl/Makefile: Likewise.
7509 * conform/Makefile: Likewise.
7510 * nss/Makefile: Likewise.
7511 * time/Makefile: Likewise.
7512 * soft-fp/Makefile: Likewise.
7513 * dirent/Makefile: Likewise.
7514 * gmon/Makefile: Likewise.
7515 * po/Makefile: Likewise.
7516 * rt/Makefile: Likewise.
7517 * socket/Makefile: Likewise.
7518 * math/Makefile: Likewise.
7519 * signal/Makefile: Likewise.
7520 * debug/Makefile: Likewise.
7521 * elf/Makefile: Likewise.
7522 * timezone/Makefile: Likewise.
7523 * stdlib/Makefile: Likewise.
7524 * iconvdata/Makefile: Likewise.
7525 * sunrpc/Makefile: Likewise.
7526 * io/Makefile: Likewise.
7527 * argp/Makefile: Likewise.
7528 * inet/Makefile: Likewise.
7529 * hesiod/Makefile: Likewise.
7530 * grp/Makefile: Likewise.
7531 * csu/Makefile: Likewise.
7532 * wctype/Makefile: Likewise.
7533 * crypt/Makefile: Likewise.
7534 * libio/Makefile: Likewise.
7535 * string/Makefile: Likewise.
7536 * nis/Makefile: Likewise.
7537 * resolv/Makefile: Likewise.
7538 * stdio-common/Makefile: Likewise.
7539 * wcsmbs/Makefile: Likewise.
7540 * dlfcn/Makefile: Likewise.
7541 * posix/Makefile: Likewise.
7542
3b7c4e74 7543 [BZ #6959]
482ff4da
UD
7544 * timezone/Makefile: Don't install timezone files, just the programs
7545 and scripts.
7546
f72ed77d
UD
75472012-03-06 Ulrich Drepper <drepper@gmail.com>
7548
a000466f
UD
7549 * nss/databases.def: Add missing gshadow entry.
7550
f72ed77d
UD
7551 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7552
a53b7a4e
MP
75532012-03-06 Marek Polacek <polacek@redhat.com>
7554
7555 [BZ #13726]
7556 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7557 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7558 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7559 * stdio-common/tst-long-dbl-fphex.c: New file.
7560
e9258400
DM
75612012-03-06 David S. Miller <davem@davemloft.net>
7562
7563 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7564 (set_obp_int): New function.
7565 (get_obp_int): New function.
7566 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7567 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7568 Avoid unused variable warnings on 'val' and use builtin_expect.
7569 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7570 __builtin_expect.
e9258400
DM
7571 (INLINE_CLONE_SYSCALL): Likewise.
7572
3bd2c723
DM
75732012-03-05 David S. Miller <davem@davemloft.net>
7574
7575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7576
bbb78d03
AS
75772012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7578
884c5db4
AS
7579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7580
bbb78d03
AS
7581 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7582 only for |x| >= 40.
7583 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7584
1c9f702a 75852012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7586
7587 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7588 Replace gettimeofday with __vdso_gettimeofday.
7589
7be16f82
RM
7590 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7591 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7592 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7593
7594 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7595 time with __vdso_time.
7596
ed58a00f
JM
75972012-03-05 Joseph Myers <joseph@codesourcery.com>
7598
7599 * manual/lang.texi (size_t): Note types to which size_t may be
7600 equivalent with the GNU C Library, but do not describe when
7601 differences between them are significant.
7602
30ee4ced
AJ
76032012-03-05 Andreas Jaeger <aj@suse.de>
7604
7605 * sysdeps/i386/fpu/libm-test-ulps: Update.
7606
b7cd39e8
JM
76072012-03-05 Joseph Myers <joseph@codesourcery.com>
7608
7609 [BZ #3976]
7610 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7611 (__ieee754_pow): Save and restore rounding mode and use
7612 round-to-nearest for main computations.
7613 * math/libm-test.inc (pow_test_tonearest): New function.
7614 (pow_test_towardzero): Likewise.
7615 (pow_test_downward): Likewise.
7616 (pow_test_upward): Likewise.
7617 (main): Call the new functions.
7618 * sysdeps/i386/fpu/libm-test-ulps: Update.
7619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7620
7621 [BZ #3976]
7622 * math/libm-test.inc (cosh_test_tonearest): New function.
7623 (cosh_test_towardzero): Likewise.
7624 (cosh_test_downward): Likewise.
7625 (cosh_test_upward): Likewise.
7626 (sinh_test_tonearest): Likewise.
7627 (sinh_test_towardzero): Likewise.
7628 (sinh_test_downward): Likewise.
7629 (sinh_test_upward): Likewise.
7630 (main): Call the new functions.
7631 * sysdeps/i386/fpu/libm-test-ulps: Update.
7632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7633
6c6a98c9
TV
76342012-03-05 Tom de Vries <tom@codesourcery.com>
7635
7636 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7637 default stack guard is set in last bytes.
7638 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7639
21bb2d2e 76402012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7641
21bb2d2e 7642 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7643
21bb2d2e
AJ
7644 [BZ #13656]
7645 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7646 possibly allocate from heap instead of stack.
7647 * stdio-common/bug-vfprintf-nargs.c: New file.
7648 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7649
c6922934
AS
76502012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7651
7652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7653
bc957d53
MP
76542012-03-03 Marek Polacek <polacek@redhat.com>
7655
7656 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7657 * math/math_private.h: Likewise.
7658 * stdlib/tst-strtod.c: Likewise.
7659 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7660 * sysdeps/x86_64/bits/atomic.h: Likewise.
7661
6358490d
DM
76622012-03-02 David S. Miller <davem@davemloft.net>
7663
7664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7668 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7669 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7670 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7671 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7672
01ae168d
RM
76732012-03-02 Roland McGrath <roland@hack.frob.com>
7674
d9a17c07
RM
7675 [BZ #13792]
7676 * manual/examples/README: New file, says the example source files
7677 can be used under GPL>=2.
7678 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7679 line containing just "*/".
7680 * manual/examples/add.c: Add copyright header (GPL>=2).
7681 * manual/examples/argp-ex1.c: Likewise.
7682 * manual/examples/argp-ex2.c: Likewise.
7683 * manual/examples/argp-ex3.c: Likewise.
7684 * manual/examples/argp-ex4.c: Likewise.
7685 * manual/examples/atexit.c: Likewise.
7686 * manual/examples/db.c: Likewise.
7687 * manual/examples/dir.c: Likewise.
7688 * manual/examples/dir2.c: Likewise.
7689 * manual/examples/execinfo.c: Likewise.
7690 * manual/examples/filecli.c: Likewise.
7691 * manual/examples/filesrv.c: Likewise.
7692 * manual/examples/fmtmsgexpl.c: Likewise.
7693 * manual/examples/genpass.c: Likewise.
7694 * manual/examples/inetcli.c: Likewise.
7695 * manual/examples/inetsrv.c: Likewise.
7696 * manual/examples/isockad.c: Likewise.
7697 * manual/examples/longopt.c: Likewise.
7698 * manual/examples/memopen.c: Likewise.
7699 * manual/examples/memstrm.c: Likewise.
7700 * manual/examples/mkfsock.c: Likewise.
7701 * manual/examples/mkisock.c: Likewise.
7702 * manual/examples/mygetpass.c: Likewise.
7703 * manual/examples/pipe.c: Likewise.
7704 * manual/examples/popen.c: Likewise.
7705 * manual/examples/rprintf.c: Likewise.
7706 * manual/examples/search.c: Likewise.
7707 * manual/examples/select.c: Likewise.
7708 * manual/examples/setjmp.c: Likewise.
7709 * manual/examples/sigh1.c: Likewise.
7710 * manual/examples/sigusr.c: Likewise.
7711 * manual/examples/stpcpy.c: Likewise.
7712 * manual/examples/strdupa.c: Likewise.
7713 * manual/examples/strftim.c: Likewise.
7714 * manual/examples/strncat.c: Likewise.
7715 * manual/examples/subopt.c: Likewise.
7716 * manual/examples/swapcontext.c: Likewise.
7717 * manual/examples/termios.c: Likewise.
7718 * manual/examples/testopt.c: Likewise.
7719 * manual/examples/testpass.c: Likewise.
7720 * manual/examples/timeval_subtract.c: Likewise.
7721
01ae168d
RM
7722 [BZ #13792]
7723 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7724 function to ...
7725 * manual/timeval_subtract.c.texi: ... here, new file.
7726
49efa33d
DM
77272012-03-02 David S. Miller <davem@davemloft.net>
7728
7729 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7730
28afd92d
JM
77312012-03-02 Joseph Myers <joseph@codesourcery.com>
7732
804360ed
JM
7733 [BZ #3976]
7734 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7735 (__sin): Save and restore rounding mode and use round-to-nearest
7736 for all computations.
7737 (__cos): Save and restore rounding mode and use round-to-nearest
7738 for all computations.
7739 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7740 <fenv.h>.
7741 (tan): Save and restore rounding mode and use round-to-nearest for
7742 all computations.
7743 * math/libm-test.inc (cos_test_tonearest): New function.
7744 (cos_test_towardzero): Likewise.
7745 (cos_test_downward): Likewise.
7746 (cos_test_upward): Likewise.
7747 (sin_test_tonearest): Likewise.
7748 (sin_test_towardzero): Likewise.
7749 (sin_test_downward): Likewise.
7750 (sin_test_upward): Likewise.
7751 (tan_test_tonearest): Likewise.
7752 (tan_test_towardzero): Likewise.
7753 (tan_test_downward): Likewise.
7754 (tan_test_upward): Likewise.
7755 (main): Call the new functions.
7756 * sysdeps/i386/fpu/libm-test-ulps: Update.
7757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7758
a6d06d7b
JM
7759 [BZ #10135]
7760 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7761 small n, then large n, before computing and testing k+n.
7762 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7763 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7764 Likewise.
7765 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7766 Likewise.
7767 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7768 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7769 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7770 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7771 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7772 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7773 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7774 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7775 * math/libm-test.inc (scalbn_test): Add more tests.
7776 (scalbln_test): Likewise.
7777
07e12bb3
JM
7778 * manual/filesys.texi (mode_t): Describe constraints on size and
7779 signedness, not exact equivalence to a particular type.
7780 (ino_t): Likewise.
7781 (ino64_t): Likewise.
7782 (dev_t): Likewise.
7783 (nlink_t): Likewise.
7784 (blkcnt_t): Likewise.
7785 (blkcnt64_t): Likewise.
7786 * manual/llio.texi (off_t): Likewise.
7787
28afd92d
JM
7788 [BZ #3976]
7789 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7790 (__ieee754_exp): Save and restore rounding mode and use
7791 round-to-nearest for all computations.
7792 * math/libm-test.inc (exp_test_tonearest): New function.
7793 (exp_test_towardzero): Likewise.
7794 (exp_test_downward): Likewise.
7795 (exp_test_upward): Likewise.
7796 (main): Call the new functions.
7797 * sysdeps/i386/fpu/libm-test-ulps: Update.
7798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7799
b1eeb65d
CD
78002012-03-01 Chris Demetriou <cgd@google.com>
7801
7802 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7803 have predictable order.
7804
53362a4b
DM
78052012-03-01 David S. Miller <davem@davemloft.net>
7806
3c969083
DM
7807 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7808
759707de
DM
7809 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7810 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7811 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7812 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7813
dfdb8ff2
DM
7814 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7815 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7816 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7818 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7819 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7820 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7821 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7822 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7823
ead89f96
DM
7824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7825
7f66bd07
DM
7826 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7827 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7828 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7829
53362a4b
DM
7830 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7831 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7832 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7833 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7834 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7835 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7836 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7837 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7838 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7839 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7840 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7841 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7842 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7843 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7844 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7845 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7846 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7847 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7848 * sysdeps/sparc/elf/configure: Regenerated.
7849
7b1902cb
JM
78502012-03-01 Joseph Myers <joseph@codesourcery.com>
7851
bec039bc
JM
7852 * configure.in (AS, LD): Require binutils 2.20 or later.
7853 * configure: Regenerated.
7854 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7855 as required minimum version.
7856 * INSTALL: Regenerated.
7857
7b1902cb
JM
7858 [BZ #2541]
7859 [BZ #4108]
7860 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7861 before squaring exponent.
7862 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7863 bottom long double and 27 bits of top long double before squaring
7864 exponent.
7865 * math/libm-test.inc (erfc_test): Add more tests.
7866 * sysdeps/i386/fpu/libm-test-ulps: Update.
7867 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7869
f775c276
KT
78702012-03-01 Kai Tietz <ktietz@redhat.com>
7871
7872 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7873 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7874 containing bit-fields.
7875 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7876 * soft-fp/single.h (_FP_UNION_S): Likewise.
7877 * soft-fp/double.h (_FP_UNION_D): Likewise.
7878
5b8a4d4a
JM
78792012-02-29 Joseph Myers <joseph@codesourcery.com>
7880
0bab47b6
JM
7881 [BZ #13786]
7882 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7883 not include ../strcmp.S.
7884 [USE_AS_STRNCASECMP_L]: Likewise.
7885 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7886 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7887 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7888 (__strncasecmp_l_ia32): Define as alias to
7889 __strncasecmp_l_nonascii.
7890
0fcad3e2
JM
7891 [BZ #5794]
7892 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7893 * sysdeps/i386/fpu/libm-test-ulps: Update.
7894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7895
5b8a4d4a
JM
7896 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7898
8fdceb2e
JL
78992012-02-29 Jeff Law <law@redhat.com>
7900
7901 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7902 out of bounds read.
7903
1f393a11
MP
79042012-02-29 Marek Polacek <polacek@redhat.com>
7905
7906 [BZ #13706]
7907 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7908 * elf/Makefile: Add rules to run tst-unused-dep.out.
7909
8847f037
DM
79102012-02-28 David S. Miller <davem@davemloft.net>
7911
7912 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7913 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7914 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7915 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7916 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7917 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7918
169d7f11
JM
79192012-02-29 Joseph Myers <joseph@codesourcery.com>
7920
7921 * math/libm-test.inc (llround_test): Move one test from
7922 lround_test. Use TEST_f_L in moved test.
7923 (lround_test): Move misplaced test to llround_test. Add testcase
7924 from bug 2561.
7925
39adf059
UD
79262012-02-28 Ulrich Drepper <drepper@gmail.com>
7927
7928 * sysdeps/x86_64/fpu/e_expf.S: New file.
7929 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7930
71b5d1c5
SB
79312012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7932
7933 [BZ #13637]
7934 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7935 of remain_len that may cause incomplete multi-byte character and
7936 false match.
7937 * posix/bug-regex33.c: New file.
7938 * posix/Makefile (tests): Add bug-regex33.
7939
1f77f049
JM
79402012-02-28 Joseph Myers <joseph@codesourcery.com>
7941
7942 * manual/macros.texi: New file.
7943 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7944 * manual/libc.texinfo: Include macros.texi.
7945 * manual/creatute.texi: Likewise.
7946 * manual/install.texi: Likewise.
7947 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7948 @glibcadj{} in references to the GNU C Library.
7949 * manual/charset.texi: Likewise.
7950 * manual/conf.texi: Likewise.
7951 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7952 when not using those macros.
7953 * manual/creature.texi: Likewise.
7954 * manual/crypt.texi: Likewise.
7955 * manual/errno.texi: Likewise.
7956 * manual/filesys.texi: Likewise.
7957 * manual/header.texi: Likewise.
7958 * manual/install.texi: Likewise.
7959 * manual/intro.texi: Likewise.
7960 * manual/io.texi: Likewise.
7961 * manual/job.texi: Likewise.
7962 * manual/lang.texi: Likewise.
7963 * manual/libc.texiinfo: Likewise.
7964 * manual/llio.texi: Likewise.
7965 * manual/locale.texi: Likewise.
7966 * manual/maint.texi: Likewise.
7967 * manual/math.texi: Likewise.
7968 * manual/memory.texi: Likewise.
7969 * manual/message.texi: Likewise.
7970 * manual/nss.texi: Likewise.
7971 * manual/pattern.texi: Likewise.
7972 * manual/process.texi: Likewise.
7973 * manual/resource.texi: Likewise.
7974 * manual/search.texi: Likewise.
7975 * manual/setjmp.texi: Likewise.
7976 * manual/signal.texi: Likewise.
7977 * manual/socket.texi: Likewise.
7978 * manual/startup.texi: Likewise.
7979 * manual/stdio.texi: Likewise.
7980 * manual/string.texi: Likewise.
7981 * manual/sysinfo.texi: Likewise.
7982 * manual/syslog.texi: Likewise.
7983 * manual/terminal.texi: Likewise.
7984 * manual/time.texi: Likewise.
7985 * manual/users.texi: Likewise.
7986 * INSTALL: Regenerated.
7987 * NOTES: Regenerated.
d40c5d54 7988 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7989
450bf206
AS
79902012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7991
7992 * include/dirent.h: Include <dirstream.h> before
7993 <dirent/dirent.h>.
7994
741a235b
DM
79952012-02-28 David S. Miller <davem@davemloft.net>
7996
7997 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7998 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7999 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8000 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8001
d6b5aa58
DM
80022012-02-27 David S. Miller <davem@davemloft.net>
8003
1aff59a3
DM
8004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8006 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8007 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8008
d6b5aa58
DM
8009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8010 frame pointer instead of stack pointer relative arg slot.
8011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8012 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8013 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8014
433f48bf
CD
80152012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8016
8017 [BZ #3992]
8018 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8019
d674b76d
DM
80202012-02-27 David S. Miller <davem@davemloft.net>
8021
8022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8026 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8027 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8028 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8029 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8030
0e7727f7
JM
80312012-02-27 Joseph Myers <joseph@codesourcery.com>
8032
8033 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8034 later. Allow versions 5-9.
43be4ca2 8035 * configure: Regenerated.
0e7727f7
JM
8036 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8037 required minimum version and 4.6 as recommended version. Do not
8038 mention bugs in GCC 2.7 and 2.8.
43be4ca2 8039 * INSTALL: Regenerated.
0e7727f7 8040
a78bc654
DM
80412012-02-27 David S. Miller <davem@davemloft.net>
8042
428d5830
DM
8043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8047 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8048 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8049 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8050 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8051
a78bc654
DM
8052 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8053 manipulate bits before adding and subtracting TWO112[sx].
8054 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8055
4579f81c
RM
80562012-02-27 Roland McGrath <roland@hack.frob.com>
8057
36c8acb4
RM
8058 [BZ #13775]
8059 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8060 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8061 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8062 being in POSIX, because they are in 1003.1-2008.
8063
84ad622b
RM
8064 * rt/tst-aio.c: Include <fcntl.h>.
8065 * rt/tst-aio7.c: Likewise.
8066 * rt/tst-aio64.c: Likewise.
8067
4579f81c
RM
8068 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8069
abd923db
JM
80702012-02-27 Joseph Myers <joseph@codesourcery.com>
8071
8072 * manual/install.texi (--with-headers): Describe headers as
8073 interface headers, not private headers.
8074 (Specific advice for GNU/Linux systems): Describe use of headers
8075 from "make headers_install", not private headers from older
8076 kernels.
43be4ca2 8077 * INSTALL: Regenerated.
abd923db
JM
8078 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8079 Change to 2.6.19.
8080 * sysdeps/unix/sysv/linux/configure: Regenerated.
8081
6664049b
JM
8082 * manual/llio.texi (fclean): Remove documentation.
8083
bb8b6697
JM
8084 * manual/Makefile (libc-texi-generated): New variable. Include
8085 version.texi.
8086 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8087 $(libc-texi-generated), not duplicated list of files.
8088 (version.texi, stamp-version): New rules.
8089 (realclean): Remove $(libc-texi-generated), not individual files
8090 from that list. Do not remove dir-add.texinfo.
8091 * manual/libc.texinfo: Comment out uses of edition numbers and
8092 references to printed manual. Remove last-updated dates.
8093 (EDITION): Comment out.
8094 (ISBN): Likewise.
8095 (VERSION, UPDATED): Remove.
8096 (version.texi): Include.
8097
12e5c3b9
AS
80982012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8099
8100 * sysdeps/posix/spawni.c: Include <signal.h>.
8101 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8102 * sysdeps/pthread/aio_fsync.c: Likewise.
8103
4efeffc1 81042012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8105
ba63ba08
UD
8106 * conform/Makefile (tests): Run only when not cross-compiling and
8107 when fast-check is not defined.
8108
d94a4670
UD
8109 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8110 * conform/data/limits.h-data: Fixes for POSIX2008.
8111 * conform/run-conformtest.sh: Run all tests.
8112 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8113 headers.
8114 * include/bits/dlfcn.h: Likewise.
8115 * include/langinfo.h: Likewise.
8116 * include/monetary.h: Likewise.
8117 * include/sys/poll.h: Likewise.
8118
8119 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8120 for __USE_GNU.
8121 * posix/spawn.h: Define __need_sigset_t.
8122 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8123 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8124 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8125 to get sigevent_t only.
8126 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8127 only for __USE_GNU.
8128 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8129 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8130 process_vm_writev only for __USE_GNU.
8131 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8132
8133 * conform/Makefile: For now ignore errors from run-conformtest.
8134 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8135 POSIX to avoid namespace pollution. Don't prepend headers.
8136 * conform/data/aio.h-data: Fixes for POSIX testing.
8137 * conform/data/fcntl.h-data: Likewise.
8138 * conform/data/glob.h-data: Likewise.
8139 * conform/data/grp.h-data: Likewise.
8140 * conform/data/pthread.h-data: Likewise.
8141 * conform/data/pwd.h-data: Likewise.
8142 * conform/data/signal.h-data: Likewise.
8143 * conform/data/spawn.h-data: Likewise.
8144 * conform/data/stdio.h-data: Likewise.
8145 * conform/data/stdlib.h-data: Likewise.
8146 * conform/data/stropts.h-data: Likewise.
8147 * conform/data/sys/mman.h-data: Likewise.
8148 * conform/data/sys/stat.h-data: Likewise.
8149 * conform/data/sys/types.h-data: Likewise.
8150 * conform/data/sys/wait.h-data: Likewise.
8151 * conform/data/time.h-data: Likewise.
8152 * conform/data/unistd.h-data: Likewise.
8153 * conform/data/utime.h-data: Likewise.
8154
8155 * io/sys/stat.h: fchmod was always in POSIX.
8156 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8157 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8158 * rt/aio.h: Define __need_timespec before including <time.h>.
8159 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8160 struct. Add forward declaration of pthread_attr_t and use it in
8161 sigevent.
8162 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8163 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8164 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8165 always remove CLK_TCK definition.
8166
c20105c3
AS
81672012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8168
8169 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8170
7a270350
UD
81712012-02-25 Ulrich Drepper <drepper@gmail.com>
8172
31341567
UD
8173 * conform/run-conformtest.sh: New file.
8174 * conform/Makefile: Run run-conformtest for tests.
8175 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8176 support.
8177
8178 * conform/data/uchar.h-data: New file.
8179 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8180 * conform/data/arpa/inet.h-data: Likewise.
8181 * conform/data/assert.h-data: Likewise.
8182 * conform/data/complex.h-data: Likewise.
8183 * conform/data/cpio.h-data: Likewise.
8184 * conform/data/ctype.h-data: Likewise.
8185 * conform/data/dirent.h-data: Likewise.
8186 * conform/data/dlfcn.h-data: Likewise.
8187 * conform/data/errno.h-data: Likewise.
8188 * conform/data/fcntl.h-data: Likewise.
8189 * conform/data/float.h-data: Likewise.
8190 * conform/data/fmtmsg.h-data: Likewise.
8191 * conform/data/fnmatch.h-data: Likewise.
8192 * conform/data/ftw.h-data: Likewise.
8193 * conform/data/glob.h-data: Likewise.
8194 * conform/data/grp.h-data: Likewise.
8195 * conform/data/iconv.h-data: Likewise.
8196 * conform/data/inttypes.h-data: Likewise.
8197 * conform/data/langinfo.h-data: Likewise.
8198 * conform/data/libgen.h-data: Likewise.
8199 * conform/data/limits.h-data: Likewise.
8200 * conform/data/locale.h-data: Likewise.
8201 * conform/data/math.h-data: Likewise.
8202 * conform/data/monetary.h-data: Likewise.
8203 * conform/data/mqueue.h-data: Likewise.
8204 * conform/data/ndbm.h-data: Likewise.
8205 * conform/data/net/if.h-data: Likewise.
8206 * conform/data/netdb.h-data: Likewise.
8207 * conform/data/netinet/in.h-data: Likewise.
8208 * conform/data/nl_types.h-data: Likewise.
8209 * conform/data/poll.h-data: Likewise.
8210 * conform/data/pthread.h-data: Likewise.
8211 * conform/data/pwd.h-data: Likewise.
8212 * conform/data/regex.h-data: Likewise.
8213 * conform/data/sched.h-data: Likewise.
8214 * conform/data/search.h-data: Likewise.
8215 * conform/data/semaphore.h-data: Likewise.
8216 * conform/data/setjmp.h-data: Likewise.
8217 * conform/data/signal.h-data: Likewise.
8218 * conform/data/spawn.h-data: Likewise.
8219 * conform/data/stdarg.h-data: Likewise.
8220 * conform/data/stdio.h-data: Likewise.
8221 * conform/data/stdlib.h-data: Likewise.
8222 * conform/data/string.h-data: Likewise.
8223 * conform/data/strings.h-data: Likewise.
8224 * conform/data/stropts.h-data: Likewise.
8225 * conform/data/sys/ipc.h-data: Likewise.
8226 * conform/data/sys/mman.h-data: Likewise.
8227 * conform/data/sys/msg.h-data: Likewise.
8228 * conform/data/sys/resource.h-data: Likewise.
8229 * conform/data/sys/select.h-data: Likewise.
8230 * conform/data/sys/sem.h-data: Likewise.
8231 * conform/data/sys/shm.h-data: Likewise.
8232 * conform/data/sys/socket.h-data: Likewise.
8233 * conform/data/sys/stat.h-data: Likewise.
8234 * conform/data/sys/statvfs.h-data: Likewise.
8235 * conform/data/sys/time.h-data: Likewise.
8236 * conform/data/sys/timeb.h-data: Likewise.
8237 * conform/data/sys/times.h-data: Likewise.
8238 * conform/data/sys/types.h-data: Likewise.
8239 * conform/data/sys/uio.h-data: Likewise.
8240 * conform/data/sys/un.h-data: Likewise.
8241 * conform/data/sys/utsname.h-data: Likewise.
8242 * conform/data/sys/wait.h-data: Likewise.
8243 * conform/data/syslog.h-data: Likewise.
8244 * conform/data/tar.h-data: Likewise.
8245 * conform/data/termios.h-data: Likewise.
8246 * conform/data/utime.h-data: Likewise.
8247 * conform/data/utmpx.h-data: Likewise.
8248 * conform/data/varargs.h-data: Likewise.
8249 * conform/data/wchar.h-data: Likewise.
8250 * conform/data/wctype.h-data: Likewise.
8251 * conform/data/wordexp.h-data: Likewise.
8252
8253 * include/stropts.h: New file.
8254 * include/uchar.h: New file.
8255 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8256 * include/assert.h: Likewise.
8257 * include/ctype.h: Likewise.
8258 * include/dirent.h: Likewise.
8259 * include/dlfcn.h: Likewise.
8260 * include/fcntl.h: Likewise.
8261 * include/fnmatch.h: Likewise.
8262 * include/glob.h: Likewise.
8263 * include/grp.h: Likewise.
8264 * include/libio.h: Likewise.
8265 * include/locale.h: Likewise.
8266 * include/math.h: Likewise.
8267 * include/net/if.h: Likewise.
8268 * include/netdb.h: Likewise.
8269 * include/netinet/in.h: Likewise.
8270 * include/pthread.h: Likewise.
8271 * include/pwd.h: Likewise.
8272 * include/regex.h: Likewise.
8273 * include/sched.h: Likewise.
8274 * include/search.h: Likewise.
8275 * include/setjmp.h: Likewise.
8276 * include/signal.h: Likewise.
8277 * include/stdio.h: Likewise.
8278 * include/stdlib.h: Likewise.
8279 * include/string.h: Likewise.
8280 * include/sys/cdefs.h: Likewise.
8281 * include/sys/mman.h: Likewise.
8282 * include/sys/msg.h: Likewise.
8283 * include/sys/resource.h: Likewise.
8284 * include/sys/select.h: Likewise.
8285 * include/sys/socket.h: Likewise.
8286 * include/sys/stat.h: Likewise.
8287 * include/sys/statvfs.h: Likewise.
8288 * include/sys/time.h: Likewise.
8289 * include/sys/times.h: Likewise.
8290 * include/sys/uio.h: Likewise.
8291 * include/sys/utsname.h: Likewise.
8292 * include/sys/wait.h: Likewise.
8293 * include/termios.h: Likewise.
8294 * include/time.h: Likewise.
8295 * include/ulimit.h: Likewise.
8296 * include/unistd.h: Likewise.
8297 * include/utime.h: Likewise.
8298 * include/wchar.h: Likewise.
8299 * include/wctype.h: Likewise.
8300 * include/wordexp.h: Likewise.
8301
8302 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8303
7a270350
UD
8304 * time/time.h: TIME_UTC must be a macro.
8305 Make timespec_get available for ISO C11 only as well.
8306
7724defc
UD
83072012-02-24 Ulrich Drepper <drepper@gmail.com>
8308
8309 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8310 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8311
6b1d1d46
JM
83122012-02-24 Joseph Myers <joseph@codesourcery.com>
8313
8314 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8315
0f8bbd69
JM
83162012-02-24 Joseph Myers <joseph@codesourcery.com>
8317
8318 * manual/texinfo.tex: Update to version 2012-01-19.16.
8319
66ab80bc
JM
83202012-02-24 Joseph Myers <joseph@codesourcery.com>
8321
8322 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8323
74981cc5
RM
83242012-02-24 Roland McGrath <roland@hack.frob.com>
8325
ee968201
RM
8326 [BZ #13738]
8327 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8328 * manual/fdl-1.3.texi: New file.
8329 * manual/fdl-1.1.texi: File removed.
8330
74981cc5
RM
8331 [BZ #13738]
8332 * manual/libc.texinfo (FDL_VERSION): New @set.
8333 Use it for mention of FDL in cover text.
8334 (Documentation License): Use it in @include file name.
8335
7bb764bc
JM
83362012-02-22 Joseph Myers <joseph@codesourcery.com>
8337 Roland McGrath <roland@hack.frob.com>
8338
8339 [BZ #5461]
8340 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8341 not LONG_LONG_MAX and LONG_LONG_MIN.
8342 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8343 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8344 name.
8345 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8346
6cbeae47
JM
83472012-02-22 Joseph Myers <joseph@codesourcery.com>
8348
8349 [BZ #2547]
8350 [BZ #11365]
8351 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8352 manipulate bits before adding and subtracting TWO23[sx].
8353 * math/libm-test.inc (nearbyint_test): Add more tests.
8354
fe45ce09
JM
83552012-02-22 Joseph Myers <joseph@codesourcery.com>
8356
8357 [BZ #2548]
8358 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8359 bits before adding and subtracting TWO23[sx].
8360 * math/libm-test.inc (rint_test): Add more tests.
8361 (rint_test_tonearest): Likewise.
8362 (rint_test_towardzero): Likewise.
8363 (rint_test_downward): Likewise.
8364 (rint_test_upward: Likewise.
8365
ff3b3d82
JM
83662012-02-22 Joseph Myers <joseph@codesourcery.com>
8367
8368 [BZ #10110]
8369 * include/stdc-predef.h: New file. Extracted from features.h.
8370 * include/features.h: Include stdc-predef.h.
8371 * Makefile (headers): Add stdc-predef.h.
8372 * CONFORMANCE (Compiler limitations): Update.
8373
ef0aab35
JM
83742012-02-22 Joseph Myers <joseph@codesourcery.com>
8375
8376 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8377
58639409
DM
83782012-02-21 David S. Miller <davem@davemloft.net>
8379
8380 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8381 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8382
c0e70b25
DM
83832012-02-20 David S. Miller <davem@davemloft.net>
8384
8385 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8386 using a normal save/restore sequence, rather than allocating a
8387 dummy stack frame just to store a frame pointer and restore.
8388 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8389
fb06851d
JM
83902012-02-21 Joseph Myers <joseph@codesourcery.com>
8391
8392 * manual/install.texi: Fix stray word in line-wrapped comment.
8393
7a8b71c3
DM
83942012-02-20 David S. Miller <davem@davemloft.net>
8395
d510c123
DM
8396 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8397 both binutils and gcc support GOTDATA.
8398
0722d7c2
DM
8399 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8400 "rd %pc" in the PIC register setup sequences.
8401
3d2b3019
DM
8402 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8403 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8404 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8405 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8406 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8408 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8409 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8410 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8411 (SYSCALL_ERROR_HANDLER): Likewise.
8412 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8413 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8414 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8415 (SYSCALL_ERROR_HANDLER): Likewise.
8416
c80098a9
DM
8417 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8418 (HAVE_GCC_GOTDATA): New.
8419 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8420 relocation support in both binutils and gcc.
8421 * sysdeps/sparc/elf/configure: Regenerate.
8422
3a2545a0
DM
8423 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8424 * sysdeps/sparc/sparc32/elf/configure: Delete.
8425 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8426 * sysdeps/sparc/sparc64/elf/configure: Delete.
8427 * sysdeps/sparc/elf/configure.in: New file.
8428 * sysdeps/sparc/elf/configure: Generate.
8429
7a8b71c3
DM
8430 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8431 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8432 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8433 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8434 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8435
f1e86fca
JM
84362012-02-21 Joseph Myers <joseph@codesourcery.com>
8437
8438 * manual/install.texi: Do not mention specific glibc version
8439 numbers.
8440 * manual/libc.texinfo (VERSION, UPDATED): Update.
8441 (@copying): Use @copyright{} and range of years.
8442
0e7dfaef
JM
84432012-02-21 Joseph Myers <joseph@codesourcery.com>
8444
8445 [BZ #13695]
8446 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8447 [crti.S not in sysdirs] (generated): Do not append.
8448 [crti.S not in sysdirs] (omit-deps): Likewise.
8449 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8450 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8451 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8452 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8453 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8454 Likewise.
8455 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8456 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8457 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8458 * csu/defs.awk: Remove file.
8459 * sysdeps/generic/initfini.c: Likewise.
8460 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8461 variable.
8462 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8463 Likewise.
8464
599af3ca
JM
84652012-02-20 Joseph Myers <joseph@codesourcery.com>
8466
8467 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8468 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8469 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8470 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8471 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8472 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8473 <bits/epoll.h>.
8474 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8475 (__EPOLL_PACKED): Define to empty if not defined by
8476 <bits/epoll.h>.
8477 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8479 bits/epoll.h.
8480
0e499750
JM
84812012-02-20 Joseph Myers <joseph@codesourcery.com>
8482
8483 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8484 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8485 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8486 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8487 <bits/timerfd.h>.
8488 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8490 bits/timerfd.h.
8491
5ad91f6e
JM
84922012-02-20 Joseph Myers <joseph@codesourcery.com>
8493
8494 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8495 in C locale.
8496 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8497 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8498 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8500
06b99b02
AJ
85012012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8502
8503 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8504 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8505
7638c0fd
AS
85062012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8507
8508 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8509 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8510 defined.
8511 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8512 Likewise.
8513 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8514 entry for 2.16.
8515
92221550
AJ
85162012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8517
8518 * math/w_acos.c: Use non-signaling floating-point comparisons.
8519 * math/w_acosf.c: Likewise.
8520 * math/w_acosh.c: Likewise.
8521 * math/w_acoshf.c: Likewise.
8522 * math/w_acoshl.c: Likewise.
8523 * math/w_acosl.c: Likewise.
8524 * math/w_asin.c: Likewise.
8525 * math/w_asinf.c: Likewise.
8526 * math/w_asinl.c: Likewise.
8527 * math/w_atanh.c: Likewise.
8528 * math/w_atanhf.c: Likewise.
8529 * math/w_atanhl.c: Likewise.
8530 * math/w_exp2.c: Likewise.
8531 * math/w_exp2f.c: Likewise.
8532 * math/w_exp2l.c: Likewise.
8533 * math/w_j0.c: Likewise.
8534 * math/w_j0f.c: Likewise.
8535 * math/w_j0l.c: Likewise.
8536 * math/w_j1.c: Likewise.
8537 * math/w_j1f.c: Likewise.
8538 * math/w_j1l.c: Likewise.
8539 * math/w_jn.c: Likewise.
8540 * math/w_jnf.c: Likewise.
8541 * math/w_log.c: Likewise.
8542 * math/w_log10.c: Likewise.
8543 * math/w_log10f.c: Likewise.
8544 * math/w_log10l.c: Likewise.
8545 * math/w_log2.c: Likewise.
8546 * math/w_log2f.c: Likewise.
8547 * math/w_log2l.c: Likewise.
8548 * math/w_logf.c: Likewise.
8549 * math/w_logl.c: Likewise.
8550 * math/w_sqrt.c: Likewise.
8551 * math/w_sqrtf.c: Likewise.
8552 * math/w_sqrtl.c: Likewise.
8553 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8554 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8555 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8556 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8557 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8558
ebaf36eb
JM
85592012-02-19 Joseph Myers <joseph@codesourcery.com>
8560
8561 [BZ #9739]
8562 * manual/string.texi (strnlen): Use correct parameter name in
8563 equivalent expression.
8564
71c254a6
JM
85652012-02-19 Joseph Myers <joseph@codesourcery.com>
8566
8567 [BZ #11174]
8568 * manual/users.texi (seteuid): Consistently use neweuid for
8569 argument name.
8570
16d2c631
JM
85712012-02-19 Joseph Myers <joseph@codesourcery.com>
8572
8573 [BZ #13704]
8574 * manual/nss.texi (Services in the NSS configuration): Correct
8575 list of services in example configuration file.
8576
cd837b09
NB
85772012-02-19 Nick Bowler <nbowler@draconx.ca>
8578
8579 [BZ #11322]
8580 * manual/arith.texi: Remove statements about negative zero
8581 behaving identically to zero.
8582
02c4bbad
JM
85832012-02-18 Joseph Myers <joseph@codesourcery.com>
8584
8585 [BZ #5993]
8586 * manual/install.texi: Do not document upgrading from libc5.
8587
366842e7
JM
85882012-02-18 Joseph Myers <joseph@codesourcery.com>
8589
8590 [BZ #4596]
8591 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8592
dd54084d
DM
85932012-02-18 David S. Miller <davem@davemloft.net>
8594
8595 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8596 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8597 %o7 across the call.
8598 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8599 instead.
8600 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8601 SETUP_PIC_REG_LEAF.
8602 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8603 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8604 * sysdeps/sparc/crtn.S: Likewise.
8605
2bcc53a3
UD
86062012-02-17 Ulrich Drepper <drepper@gmail.com>
8607
8608 * aout/Makefile: Remove.
8609
09c093b5
RK
86102012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8611
8612 [BZ #13058]
8613 * manual/examples/argp-ex1.c (main): Format definition in GNU
8614 style.
8615 * manual/examples/argp-ex2.c (main): Likewise.
8616 * manual/examples/argp-ex3.c (main): Likewise.
8617 * manual/examples/argp-ex4.c (main): Likewise.
8618 * manual/examples/longopt.c (main): Use new-style prototype
8619 definition.
8620 * manual/examples/strncat.c (main): Specify return type and use
8621 (void) for arguments.
8622 * manual/examples/subopt.c (main): Use char **argv argument.
8623
2ee633a2
JM
86242012-02-17 Joseph Myers <joseph@codesourcery.com>
8625
8626 [BZ #5077]
8627 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8628 rounding modes.
8629
0520adde
FB
86302012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8631
8632 [BZ #6907]
8633 * manual/string.texi (strchr): Change when strchrnul is
8634 recommended.
8635
3f4081cd
DGM
86362012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8637
8638 [BZ #174]
8639 * manual/locale.texi (setlocale): Document LOCPATH.
8640
d1b10e78
JM
86412012-02-17 Joseph Myers <joseph@codesourcery.com>
8642
8643 [BZ #10210]
8644 * manual/process.texi (execle): Move @dots{} before last argument.
8645
79c6869c
PB
86462012-02-17 Paul Bolle <pebolle@tiscali.nl>
8647
8648 [BZ #12047]
8649 * manual/charset.texi (Generic Charset Conversion): Fix typo
8650 (LC_TYPE -> LC_CTYPE).
8651
cc6e48bc
NB
86522012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8653
8654 [BZ #5805]
8655 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8656 (scalbnf): Likewise.
8657 (scalbnl): Likewise.
8658 (scalbln): Likewise.
8659 (scalblnf): Likewise.
8660 (scalblnl): Likewise.
8661 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8662 (vwarnx): Likewise.
8663 (verr): Likewise.
8664 (verrx): Likewise.
8665 * manual/filesys.texi (telldir): Use braces around return type.
8666 * manual/llio.texi (mmap): Add space after comma.
8667 (mmap64): Likewise.
8668 * manual/math.texi (jn): Use @var{} on parameter names.
8669 (jnf): Likewise.
8670 (jnl): Likewise.
8671 (yn): Likewise.
8672 (ynf): Likewise.
8673 (ynl): Likewise.
8674 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8675 line.
8676 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8677 "...".
8678 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8679 (sched_get_priority_max): Likewise.
8680 * manual/signal.texi (sigvec): Add space after comma.
8681 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8682 names.
8683 (if_indextoname): Likewise.
8684 (if_freenameindex): Likewise.
8685 (sendto): Use ',' instead of '.' in prototype.
8686 * manual/startup.texi (syscall): Use @dots{} instead of literal
8687 "...".
8688 * manual/stdio.texi (__fpending): Separate initial words of
8689 paragraph from @deftypefun line.
8690 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8691 "...".
8692 (vsyslog): Use @var{} on parameter names.
8693 * manual/terminal.texi (stty): Use @var{} on parameter names.
8694 * manual/users.texi (getutmp): Use @var{} on parameter names.
8695 (getutmpx): Likewise.
8696
5b23062f
JM
86972012-02-17 Joseph Myers <joseph@codesourcery.com>
8698
8699 [BZ #6884]
8700 * manual/stdio.texi (fopen): Fix typos in description of
8701 ",ccs=STRING".
8702
8dee4833
AJ
87032012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8704
8705 [BZ #4026]
8706 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8707 get clock_id definition.
8708
9078ce93
TS
87092012-02-17 Thomas Schwinge <thomas@schwinge.name>
8710
8711 [BZ #4822]
8712 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8713 (madvise): Cast every argument to void on its own.
8714
3835c55f
JM
87152012-02-17 Joseph Myers <joseph@codesourcery.com>
8716
8717 [BZ #9902]
8718 * manual/startup.texi (Exit Status): Fix typo.
8719
35c47e37
JM
87202012-02-17 Joseph Myers <joseph@codesourcery.com>
8721
8722 [BZ #10140]
8723 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8724 * manual/examples/argp-ex2.c: Likewise.
8725 * manual/examples/argp-ex3.c: Likewise.
8726
e3b69ca7
RH
87272012-02-16 Richard Henderson <rth@redhat.com>
8728
8729 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8730 * sysdeps/s390/s390-32/initfini.c: Remove.
8731 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8732 * sysdeps/s390/s390-64/initfini.c: Remove.
8733
df83af67
KK
87342012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8735
8736 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8737 compiler output for sysdeps/generic/initfini.c.
8738 * sysdeps/sh/elf/initfini.c: Remove file.
8739
f63f3380
DM
87402012-02-16 David S. Miller <davem@davemloft.net>
8741
fb59b3a4
DM
8742 [BZ #11494]
8743 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8744
f63f3380
DM
8745 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8746 * sysdeps/sparc/crti.S: New file.
8747 * sysdeps/sparc/crtn.S: New file.
8748 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8749 * sysdeps/sparc/sparc64/Makefile: Likewise.
8750
df6a4a4a
MF
87512012-02-15 Mike Frysinger <vapier@gentoo.org>
8752
6dd8f3dc 8753 [BZ #3335]
df6a4a4a
MF
8754 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8755
1cac7236
RM
87562012-02-15 Roland McGrath <roland@hack.frob.com>
8757
d2c736f8
RM
8758 [BZ #4822]
8759 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8760
1cac7236
RM
8761 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8762 (write, read, close): Likewise.
8763 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8764
8e475601
JM
87652012-02-15 Joseph Myers <joseph@codesourcery.com>
8766
8767 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8768 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8769 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8770 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8771 <bits/signalfd.h>.
8772 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8773 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8774 bits/signalfd.h.
8775
ed656b40
MP
87762012-02-14 Marek Polacek <polacek@redhat.com>
8777
8778 * sysdeps/x86_64/crti.S: New file.
8779 * sysdeps/x86_64/crtn.S: New file.
8780 * sysdeps/x86_64/elf/initfini.c: Remove file.
8781
2a979d3a
JM
87822012-02-13 Joseph Myers <joseph@codesourcery.com>
8783
8784 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8785 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8786 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8787 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8788 <bits/inotify.h>.
8789 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8790 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8791 bits/inotify.h.
8792
2a418ac3
JM
87932012-02-13 Joseph Myers <joseph@codesourcery.com>
8794
8795 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8796 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8797 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8798 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8799 <bits/eventfd.h>.
8800 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8802 bits/eventfd.h.
8803
fb779be7
TS
88042012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8805
e19e83c5
RM
8806 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8807 __feraiseexcept instead of feraiseexcept.
7c35ffed 8808
fb779be7
TS
8809 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8810 nanosleep invocations.
8811 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8812 strings, and add error checking for a nanosleep invocations.
8813
59ba27a6
PE
88142012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8815
8816 Replace FSF snail mail address with URLs, as per GNU coding standards.
8817 Most of the snail mail addresses were wrong anyway, and omitting
8818 them makes the source code easier to maintain. Almost all of the
8819 changes are to license notices and to locale LC_IDENTIFICATION
8820 addresses, except for this one:
8821 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8822 not its snail mail address.
8823
57b957eb
RH
88242012-02-09 Richard Henderson <rth@twiddle.net>
8825
af850b1c
RH
8826 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8827 of kernel-features.h.
8828
57b957eb
RH
8829 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8830
6b73181a
MP
88312012-02-08 Marek Polacek <polacek@redhat.com>
8832
8833 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8834 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8835 * sysdeps/gnu/_G_config.h: Likewise.
8836 * sysdeps/generic/_G_config.h: Likewise.
8837
26ecc33a
AS
88382012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8839
6c6dbc63
AS
8840 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8841 tests.
8842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8843
e216c012
AS
8844 * sysdeps/powerpc/powerpc32/crti.S: New file.
8845 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8846 * sysdeps/powerpc/powerpc64/crti.S: New file.
8847 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8848
26ecc33a
AS
8849 * Makeconfig (have-initfini): Don't set.
8850 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8851 * configure.in (nopic_initfini): Don't substitute.
8852 * config.h.in (HAVE_INITFINI): Don't #undef.
8853 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8854 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8855
3add8e13
JM
88562012-02-08 Joseph Myers <joseph@codesourcery.com>
8857
8858 Support crti.S and crtn.S provided directly by architectures.
8859 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8860 [crti.S in sysdirs] (omit-deps): Likewise.
8861 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8862 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8863 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8864 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8865 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8866 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8867 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8868 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8869 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8870 compiler output for sysdeps/generic/initfini.c.
8871 * sysdeps/i386/elf/Makefile: Remove file.
8872 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8873
a22f12b4
MP
88742012-02-07 Marek Polacek <polacek@redhat.com>
8875
8876 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8877 * sysdeps/gnu/_G_config.h: Likewise.
8878 * sysdeps/mach/hurd/_G_config.h: Likewise.
8879
148cf100
MP
88802012-02-07 Marek Polacek <polacek@redhat.com>
8881
8882 * math/Makefile (tests): Add tst-CMPLX2.
8883 * math/tst-CMPLX2.c: New file.
8884
cfdc0dd7
AS
88852012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8886
84ba42c4
AS
8887 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8888
cfdc0dd7
AS
8889 * math/libm-test.inc (jn_test): Add missing L suffix.
8890
622c86f4
MP
88912012-02-06 Marek Polacek <polacek@redhat.com>
8892
8893 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8894 * sysdeps/i386/fpu/e_powf.S: Likewise.
8895 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8896 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8897 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8898 * sysdeps/i386/fpu/e_pow.S: Likewise.
8899 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8900 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8901 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8902 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8903 * sysdeps/i386/fpu/e_log2.S: Likewise.
8904 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8905 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8906 * sysdeps/i386/fpu/e_powl.S: Likewise.
8907 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8908 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8909 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8910 * sysdeps/i386/fpu/e_logl.S: Likewise.
8911 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8912 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8913 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8914 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8915 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8916 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8917 * sysdeps/i386/fpu/e_log.S: Likewise.
8918 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8919 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8920 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8921 * sysdeps/i386/fpu/e_logf.S: Likewise.
8922 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8923 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8924 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8925 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8926 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8927 * sysdeps/i386/fpu/e_log10.S: Likewise.
8928 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8929 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8930 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8931 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8932 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8933 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8934 * sysdeps/i386/asm-syntax.h: Likewise.
8935 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8936 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8937 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8938 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8939 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8940 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8941 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8942 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8943 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8944 * sysdeps/powerpc/sysdep.h: Likewise.
8945 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8946 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8947
d4a54ac6
JM
89482012-02-06 Joseph Myers <joseph@codesourcery.com>
8949
8950 [BZ #411]
8951 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8952
314054ea
JM
89532012-02-06 Joseph Myers <joseph@codesourcery.com>
8954
8955 * sysdeps/i386/sysdep.h: Include <features.h>.
8956 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8957 version.
8958
d8e0ca50
JM
89592012-02-05 Joseph Myers <joseph@codesourcery.com>
8960
8961 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8962 Define.
8963 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8964 LOAD_PIC_REG_STR.
8965
b1da7dd9
JM
89662012-02-03 Joseph Myers <joseph@codesourcery.com>
8967
8968 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8969 (SETUP_PIC_REG): Use GET_PC_THUNK.
8970 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8971 macro.
8972
9a1d9254
JM
89732012-02-03 Joseph Myers <joseph@codesourcery.com>
8974
8975 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8976 for non-PIC compilation.
8977 (SETUP_PIC_REG): Add .p2align directive.
8978 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8979 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8980 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8981 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8982 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8983 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8984 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8985 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8986 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8987 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8988 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8989 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8990 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8991 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8992 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8993 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8994 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8995 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8996 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8997 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8998 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8999 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9000 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9001 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9002 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9003 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9004 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9005 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9006 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9007 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9008 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9009 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9010 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9011 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9012 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9013 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9014 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9015 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9016 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9017 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9018 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9019
65dc3b75
JM
90202012-02-03 Joseph Myers <joseph@codesourcery.com>
9021
9022 * math/tst-CMPLX.c: Include <stdio.h>.
9023
d55bf177
JM
90242012-01-31 Joseph Myers <joseph@codesourcery.com>
9025
9026 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9027 float.
9028 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9029 * sysdeps/sparc/bits/mathdef.h: Likewise.
9030
69db4f8f
MP
90312012-01-31 Marek Polacek <polacek@redhat.com>
9032
9033 * libio/libio.h: Don't define _PARAMS.
9034 * locale/programs/config.h: Don't define PARAMS.
9035 * stdlib/strtol_l.c: Likewise.
9036 (__strtol_l): Remove PARAMS from the prototype.
9037
41b81892
UD
90382012-01-31 Ulrich Drepper <drepper@gmail.com>
9039
3b49edc0
UD
9040 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9041 names. Just use the correct names. Remove unnecessary wrapper
9042 functions.
9043 * malloc/arena.c: Likewise.
9044 * malloc/hooks.c: Likewise.
9045
41b81892
UD
9046 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9047 ARENA_TEST says not to. Simplify test for creation of a new arena.
9048 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9049
27a25b6e
UD
90502012-01-30 Ulrich Drepper <drepper@gmail.com>
9051
9052 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9053 into tail calls.
9054 (update_get_addr): New function.
9055 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9056 GET_ADDR_MODULE parameter.
9057
c8a89e7d
JM
90582012-01-30 Joseph Myers <joseph@codesourcery.com>
9059
9060 * crypt/cert.c: Remove __STDC__ conditionals.
9061 * crypt/crypt-entry.c: Likewise.
9062 * crypt/crypt_util.c: Likewise.
9063 * libio/filedoalloc.c: Likewise.
9064 * libio/fileops.c: Likewise.
9065 * libio/genops.c: Likewise.
9066 * libio/iofclose.c: Likewise.
9067 * libio/iofdopen.c: Likewise.
9068 * libio/iofopen.c: Likewise.
9069 * libio/iofopen64.c: Likewise.
9070 * libio/iogetdelim.c: Likewise.
9071 * libio/iopopen.c: Likewise.
9072 * libio/obprintf.c: Likewise.
9073 * libio/oldfileops.c: Likewise.
9074 * libio/oldiofclose.c: Likewise.
9075 * libio/oldiofdopen.c: Likewise.
9076 * libio/oldiofopen.c: Likewise.
9077 * libio/oldiopopen.c: Likewise.
9078 * libio/wfiledoalloc.c: Likewise.
9079 * libio/wgenops.c: Likewise.
9080 * locale/programs/xmalloc.c: Likewise.
9081 * misc/syslog.c: Likewise.
9082 * stdio-common/xbug.c: Likewise.
9083 * string/memchr.c: Likewise.
9084 * string/memcmp.c: Likewise.
9085 * string/memrchr.c: Likewise.
9086 * string/rawmemchr.c: Likewise.
9087 * sysdeps/posix/getcwd.c: Likewise.
9088 * time/strftime_l.c: Likewise.
9089
3b100462
JM
90902012-01-30 Joseph Myers <joseph@codesourcery.com>
9091
9092 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9093 * config.make.in (config-cflags-sse2avx): Define.
9094 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9095 Fix typo.
9096
607998af
CM
90972012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9098
9099 * scripts/config.guess: Update from upstream config git repository.
9100 * scripts/config.sub: Likewise.
9101
3601428f
CM
91022012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9103
3ac8b282
CM
9104 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9105 (EM_NUM): Update.
9106 (R_TILEPRO_*, R_TILEGX_*): New macros.
9107
e034841e
CM
9108 * scripts/firstversions.awk: Fix bug in version range handling.
9109
540d7568
CM
9110 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9111
3601428f
CM
9112 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9113
463de862
CM
9114 * include/sys/epoll.h: New file.
9115 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9116 libc_hidden_def.
9117
73139a76
UD
91182012-01-28 Ulrich Drepper <drepper@gmail.com>
9119
96bc5b45
UD
9120 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9121 Avoid unnecessary __WORDSIZE == 64 test.
9122 (fmaxf): Use VEX format if possible.
9123 (fmax): Likewise.
9124 (fminf): Likewise.
9125 (fmin): Likewise.
9126
56f6f6a2
UD
9127 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9128 * math/math_private.h: Remove libc_fegetround* and
9129 libc_fesetround*.
9130 * sysdeps/i386/configure.in: Check for -msse2avx.
9131 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9132 also if SSE2AVX is defined.
9133 Remove libc_fegetround* and libc_fesetround*.
9134 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9135 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9136 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9137 of HAS_YMM_USABLE.
9138 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9139 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9140 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9141 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9142 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9143
73139a76
UD
9144 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9145
d73f93a4
AZ
91462012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9147
9148 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9149 size is not set.
9150 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9151
6ee65ed6
UD
91522012-01-27 Ulrich Drepper <drepper@gmail.com>
9153
9154 [BZ #13618]
9155 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9156 relocation.
9157 * Makeconfig (libm): Define.
9158 * elf/Makefile: Add rules to build and run tst-relsort1.
9159 * elf/tst-relsort1.c: New file.
9160 * elf/tst-relsort1mod1.c: New file.
9161 * elf/tst-relsort1mod2.c: New file.
9162
8db21882
JM
91632012-01-27 Joseph Myers <joseph@codesourcery.com>
9164
9165 * math/s_ldexp.c: Remove __STDC__ conditionals.
9166 * math/s_ldexpf.c: Likewise.
9167 * math/s_ldexpl.c: Likewise.
9168 * math/s_nextafter.c: Likewise.
9169 * math/s_nexttowardf.c: Likewise.
9170 * math/s_significand.c: Likewise.
9171 * math/s_significandf.c: Likewise.
9172 * math/s_significandl.c: Likewise.
9173 * math/w_jnl.c: Likewise.
9174 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9175 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9176 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9177 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9178 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9179 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9180 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9181 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9182 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9183 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9184 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9185 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9186 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9187 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9188 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9189 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9190 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9191 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9192 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9193 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9194 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9195 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9196 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9197 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9198 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9199 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9200 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9201 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9202 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9203 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9204 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9205 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9206 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9207 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9208 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9209 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9210 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9211 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9212 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9213 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9214 * sysdeps/ieee754/k_standard.c: Likewise.
9215 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9216 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9217 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9218 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9219 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9220 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9221 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9222 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9223 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9224 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9225 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9226 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9227 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9228 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9229 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9230 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9231 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9232 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9233 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9234 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9235 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9236 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9237 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9238 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9239 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9240 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9241 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9242 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9243 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9244 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9245 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9246 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9247 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9248 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9249 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9250 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9251 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9252 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9253 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9254 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9255 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9256 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9257 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9258 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9259 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9260 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9261 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9262 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9263 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9264 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9265 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9266 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9267 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9268 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9269 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9270 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9271 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9272 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9273 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9274 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9275 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9276 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9277 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9278 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9279 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9280 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9281 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9282 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9283 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9284 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9285 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9286 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9287 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9288 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9289 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9290 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9291 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9292 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9293 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9294 * sysdeps/ieee754/s_matherr.c: Likewise.
9295 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9296 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9297 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9298 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9299
965a54a4
JM
93002012-01-26 Joseph Myers <joseph@codesourcery.com>
9301
9302 * crypt/md5.h: Remove __STDC__ conditionals.
9303 * libio/libioP.h: Likewise.
9304 * locale/programs/config.h: Likewise.
9305 * sysdeps/generic/sysdep.h: Likewise.
9306 * sysdeps/i386/asm-syntax.h: Likewise.
9307 * sysdeps/s390/asm-syntax.h: Likewise.
9308 * sysdeps/unix/sysdep.h: Likewise.
9309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9311
7071ad79
JM
93122012-01-26 Joseph Myers <joseph@codesourcery.com>
9313
9314 * libio/libio.h: Remove __STDC__ conditionals.
9315 * malloc/obstack.h: Likewise.
9316 * math/complex.h: Likewise.
9317 * math/math.h: Likewise.
9318 * sysdeps/generic/_G_config.h: Likewise.
9319 * sysdeps/gnu/_G_config.h: Likewise.
9320 * sysdeps/mach/hurd/_G_config.h: Likewise.
9321 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9322 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9323 * sysdeps/sparc/bits/mathdef.h: Likewise.
9324
afc5ed09
UD
93252012-01-26 Ulrich Drepper <drepper@gmail.com>
9326
9327 [BZ #13583]
9328 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9329 Clean up HAS_* macros.
afc5ed09 9330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9331 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9332 possible.
9333 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9334 HAS_AVX.
9335 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9336 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9337 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9338 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9339 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9340
bdb6de1d
JM
93412012-01-25 Joseph Myers <joseph@codesourcery.com>
9342
9343 * elf/tst-unique3.cc (gets): Remove declaration.
9344 * elf/tst-unique3lib.cc (gets): Likewise.
9345 * elf/tst-unique3lib2.cc (gets): Likewise.
9346 * elf/tst-unique4.cc (gets): Likewise.
9347
b15549e6
UD
93482012-01-24 Ulrich Drepper <drepper@gmail.com>
9349
9350 * include/stdio.h: Add C++ protection. Add gets declarations and
9351 definitions.
9352 * debug/tst-chk1.c: Don't declare gets here.
9353 * stdio-common/tst-gets.c: Likewise.
9354
a037381f
JM
93552012-01-24 Joseph Myers <joseph@codesourcery.com>
9356
9357 * posix/glob: Remove directory.
9358
f1d4aa75
JM
93592012-01-24 Joseph Myers <joseph@codesourcery.com>
9360
9361 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9362
81c0c964
PT
93632012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9364
9365 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9366 of the non-standard EPFNOSUPPORT.
9367
0ea698ae
ST
93682011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9369
9370 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9371 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9372 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9373
d220b117
UD
93742012-01-21 Ulrich Drepper <drepper@gmail.com>
9375
9376 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9377
3e1aa84e
UD
93782012-01-20 Ulrich Drepper <drepper@gmail.com>
9379
9380 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9381 transient errors.
9382 * nscd/grpcache.c (cache_addgr): Likewise.
9383 * nscd/hstcache.c (cache_addhst): Likewise.
9384 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9385 * nscd/pwdcache.c (cache_addpw): Likewise.
9386 * nscd/servicescache.c (cache_addserv): Likewise.
9387
400aa020
UD
93882012-01-16 Ulrich Drepper <drepper@gmail.com>
9389
d77e7869
UD
9390 * malloc/malloc.c: Various cleanups.
9391 * malloc/hooks.c: Likewise.
9392
400aa020
UD
9393 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9394 * stdlib/bug-fmtmsg1.c: New file.
9395
9396 * stdlib/fmtmsg.c (init): Add missing unlock.
9397 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9398
e0a309cf
MP
93992012-01-12 Marek Polacek <polacek@redhat.com>
9400
9401 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9402 and _GNU_SOURCE.
9403
929d11c7
WS
94042012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9405
9406 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9407 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9408 macro to ensure uniqueness of label name.
9409 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9410 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9411
41d0e869
UD
94122012-01-11 Ulrich Drepper <drepper@gmail.com>
9413
0cc5ed3b
UD
9414 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9415
41d0e869
UD
9416 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9417 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9418 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9419 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9420
a47a831a
UD
94212012-01-10 Ulrich Drepper <drepper@gmail.com>
9422
daa891c0
UD
9423 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9424
9425 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9426 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9427 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9428
e58ef0f2
UD
9429 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9430
a47a831a 9431 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9432 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9433 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9434 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9435
9436 * math/bits/math-finite.h: Add ldexp support.
9437
a0bfc9c7
MP
94382012-01-10 Marek Polacek <polacek@redhat.com>
9439
9440 * locale/programs/localedef.h (show_archive_content): Add noreturn
9441 attribute.
9442
d6e97a1d
UD
94432012-01-09 Ulrich Drepper <drepper@gmail.com>
9444
9445 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9446
d5835c26
UD
94472012-01-08 Ulrich Drepper <drepper@gmail.com>
9448
e5f484c6
UD
9449 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9450
d5835c26
UD
9451 * io/Makefile (headers): Add bits/poll2.h.
9452
d1f741e9
WS
94532011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9454
9455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9456 typo #include statement.
9457
ec09c1c4
UD
94582012-01-08 Ulrich Drepper <drepper@gmail.com>
9459
9460 * include/sys/cdefs.h: Define __attribute_alloc_size.
9461 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9462 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9463 * elf/pldd.c: Likewise.
9464 * iconv/iconv_charmap.c: Likewise.
9465 * iconv/iconvconfig.c: Likewise.
9466 * iconv/strtab.c: Likewise.
9467 * locale/programs/locale.c: Likewise.
9468 * locale/programs/localedef.h: Likewise.
9469 * locale/programs/simple-hash.c: Likewise.
9470 * nscd/nscd.h: Likewise.
9471 * nss/makedb.c: Likewise.
9472 * sysdeps/generic/ldconfig.h: Likewise.
9473 * locale/programs/localedef.c: Remove xmalloc prototype.
9474 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9475
20b38e03
PP
94762012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9477
9478 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9479 appropriate.
9480
a0da5fe1
UD
94812012-01-08 Ulrich Drepper <drepper@gmail.com>
9482
1d5a644a 9483 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9484 * math/tst-CMPLX.c: New file.
1d5a644a 9485
8784a6db
UD
9486 * math/complex.h (CMPLXL): Fix typo.
9487
d9a216c0
UD
9488 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9489 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9490 GLIBC_2.16.
9491 * debug/tst-chk1.c: Add poll and ppoll tests.
9492 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9493 * include/sys/poll.h: Add hidden proto for ppoll.
9494 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9495 * sysdeps/mach/hurd/ppoll.c: Likewise.
9496 * io/ppoll.c: Likewise.
9497 * debug/poll_chk.c: New file.
9498 * debug/ppoll_chk.c: New file.
9499 * include/bits/poll2.h: New file.
9500 * io/bits/poll2.h: New file.
9501
ac097f5c
UD
9502 [BZ #1350]
9503 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9504
2119dcfa
UD
9505 * configure.in: static is always set to yes. Remove.
9506 * config.make.in: Don't set build-static.
9507 * Makeconfig: Remove use of build-static.
9508 * dlfcn/Makefile: Likewise.
9509 * elf/Makefile: Likewise.
9510 * math/Makefile: Likewise.
9511 * misc/Makefile: Likewise.
9512 * nptl/Makefile: Likewise.
9513 * sysdeps/mach/hurd/Makefile: Likewise.
9514
121766a9
UD
9515 * configure.in: PWD_P is not used anymore.
9516 * config.make.in: Remove PWD_P entry.
9517
51a1d39c 9518 * configure.in: Remove last remnants of RANLIB.
8720d066 9519 No need to check for signed size_t anymore.
215f4bdc
UD
9520 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9521 and IA-64.
3857022a 9522 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9523 * aclocal.m4: Likewise.
9524
d3ed7225
UD
9525 * wcsmbs/mbrtoc16.c: Implement using towc function.
9526 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9527 * wcsmbs/wcsmbsload.c: Likewise.
9528 * iconv/gconv_simple.c: Likewise.
9529 * iconv/gconv_int.h: Likewise.
9530 * iconv/gconv_builtin.h: Likewise.
9531 * iconv/iconv_prog.c: Remove CHAR16 handling.
9532
9533 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9534
9535 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9536
a0da5fe1
UD
9537 * configure.in: Remove --with-elf and --enable-bounded options.
9538 Dont set base_machine for ia64. More non-ELF conditions removed.
9539 Remove testing and setting of leading underscore information.
9540 * config.make.in (build-bounded): Set to no.
9541 * config.h.in: Remove NO_UNDERSCORES entry.
9542 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9543 them.
9544 * csu/start.c: Remove !NO_UNDERSCORE code.
9545 * locale/localeinfo.h: Likewise.
9546 * sysdeps/generic/machine-gmon.h: Likewise.
9547 * sysdeps/generic/sysdep.h: Likewise.
9548 * sysdeps/i386/sysdep.h: Likewise.
9549 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9550 * sysdeps/mach/sysdep.h: Likewise.
9551 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9552 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9553 * sysdeps/sh/sysdep.h: Likewise.
9554 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9555 * sysdeps/unix/i386/sysdep.S: Likewise.
9556 * sysdeps/unix/sparc/start.c: Likewise.
9557 * sysdeps/unix/sparc/sysdep.S: Likewise.
9558 * sysdeps/unix/sparc/sysdep.h: Likewise.
9559 * sysdeps/unix/start.c: Likewise.
9560 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9561 * sysdeps/x86_64/sysdep.h: Likewise.
9562
df78418a
UD
95632012-01-07 Ulrich Drepper <drepper@gmail.com>
9564
a784e502
UD
9565 [BZ #13553]
9566 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9567 for non-gcc.
9568 * argp/argp-fmtstream.h: Use const instead __const.
9569 * argp/argp.h: Likewise.
9570 * assert/assert.h: Likewise.
9571 * bits/fenv.h: Likewise.
9572 * bits/sched.h: Likewise.
9573 * bits/sigset.h: Likewise.
9574 * bits/sigthread.h: Likewise.
9575 * catgets/nl_types.h: Likewise.
9576 * conform/data/pthread.h-data: Likewise.
9577 * crypt/crypt-private.h: Likewise.
9578 * crypt/crypt.h: Likewise.
9579 * crypt/crypt_util.c: Likewise.
9580 * ctype/ctype.h: Likewise.
9581 * debug/execinfo.h: Likewise.
9582 * debug/mbsnrtowcs_chk.c: Likewise.
9583 * debug/mbsrtowcs_chk.c: Likewise.
9584 * debug/wcsnrtombs_chk.c: Likewise.
9585 * debug/wcsrtombs_chk.c: Likewise.
9586 * debug/wcstombs_chk.c: Likewise.
9587 * dirent/dirent.h: Likewise.
9588 * dlfcn/dlfcn.h: Likewise.
9589 * elf/neededtest4.c: Likewise.
9590 * grp/grp.h: Likewise.
9591 * gshadow/gshadow.h: Likewise.
9592 * iconv/gconv.h: Likewise.
9593 * iconv/gconv_int.h: Likewise.
9594 * iconv/gconv_simple.c: Likewise.
9595 * iconv/iconv.h: Likewise.
9596 * iconv/loop.c: Likewise.
9597 * iconv/skeleton.c: Likewise.
9598 * include/aio.h: Likewise.
9599 * include/aliases.h: Likewise.
9600 * include/argz.h: Likewise.
9601 * include/arpa/inet.h: Likewise.
9602 * include/assert.h: Likewise.
9603 * include/dirent.h: Likewise.
9604 * include/dlfcn.h: Likewise.
9605 * include/execinfo.h: Likewise.
9606 * include/fcntl.h: Likewise.
9607 * include/fenv.h: Likewise.
9608 * include/glob.h: Likewise.
9609 * include/grp.h: Likewise.
9610 * include/libintl.h: Likewise.
9611 * include/mntent.h: Likewise.
9612 * include/netdb.h: Likewise.
9613 * include/pwd.h: Likewise.
9614 * include/rpc/netdb.h: Likewise.
9615 * include/sched.h: Likewise.
9616 * include/search.h: Likewise.
9617 * include/shadow.h: Likewise.
9618 * include/signal.h: Likewise.
9619 * include/stdio.h: Likewise.
9620 * include/stdlib.h: Likewise.
9621 * include/string.h: Likewise.
9622 * include/sys/socket.h: Likewise.
9623 * include/sys/stat.h: Likewise.
9624 * include/sys/statfs.h: Likewise.
9625 * include/sys/statvfs.h: Likewise.
9626 * include/sys/syslog.h: Likewise.
9627 * include/sys/time.h: Likewise.
9628 * include/sys/uio.h: Likewise.
9629 * include/time.h: Likewise.
9630 * include/unistd.h: Likewise.
9631 * include/utmp.h: Likewise.
9632 * include/wchar.h: Likewise.
9633 * include/wctype.h: Likewise.
9634 * inet/aliases.h: Likewise.
9635 * inet/arpa/inet.h: Likewise.
9636 * inet/netinet/ether.h: Likewise.
9637 * inet/netinet/in.h: Likewise.
9638 * intl/libintl.h: Likewise.
9639 * io/bits/fcntl2.h: Likewise.
9640 * io/fcntl.h: Likewise.
9641 * io/ftw.h: Likewise.
9642 * io/sys/poll.h: Likewise.
9643 * io/sys/stat.h: Likewise.
9644 * io/sys/statfs.h: Likewise.
9645 * io/sys/statvfs.h: Likewise.
9646 * io/utime.h: Likewise.
9647 * libio/bits/stdio.h: Likewise.
9648 * libio/bits/stdio2.h: Likewise.
9649 * libio/libio.h: Likewise.
9650 * libio/libioP.h: Likewise.
9651 * libio/stdio.h: Likewise.
9652 * locale/lc-ctype.c: Likewise.
9653 * locale/locale.h: Likewise.
9654 * login/utmp.h: Likewise.
9655 * malloc/arena.c: Likewise.
9656 * malloc/malloc.c: Likewise.
9657 * malloc/malloc.h: Likewise.
9658 * malloc/mcheck.c: Likewise.
9659 * malloc/mtrace.c: Likewise.
9660 * math/bits/mathcalls.h: Likewise.
9661 * math/fenv.h: Likewise.
9662 * math/math_private.h: Likewise.
9663 * misc/bits/error.h: Likewise.
9664 * misc/bits/syslog.h: Likewise.
9665 * misc/err.h: Likewise.
9666 * misc/error.h: Likewise.
9667 * misc/fstab.h: Likewise.
9668 * misc/mntent.h: Likewise.
9669 * misc/regexp.h: Likewise.
9670 * misc/search.h: Likewise.
9671 * misc/sgtty.h: Likewise.
9672 * misc/sys/mman.h: Likewise.
9673 * misc/sys/syslog.h: Likewise.
9674 * misc/sys/uio.h: Likewise.
9675 * misc/sys/xattr.h: Likewise.
9676 * misc/ttyent.h: Likewise.
9677 * nis/rpcsvc/ypclnt.h: Likewise.
9678 * nss/nss.h: Likewise.
9679 * posix/bits/unistd.h: Likewise.
9680 * posix/fnmatch.h: Likewise.
9681 * posix/glob.h: Likewise.
9682 * posix/sched.h: Likewise.
9683 * posix/spawn.h: Likewise.
9684 * posix/sys/wait.h: Likewise.
9685 * posix/unistd.h: Likewise.
9686 * posix/wordexp.h: Likewise.
9687 * pwd/pwd.h: Likewise.
9688 * resolv/netdb.h: Likewise.
9689 * resource/sys/resource.h: Likewise.
9690 * rt/aio.h: Likewise.
9691 * rt/bits/mqueue2.h: Likewise.
9692 * rt/mqueue.h: Likewise.
9693 * shadow/shadow.h: Likewise.
9694 * signal/signal.h: Likewise.
9695 * socket/send.c: Likewise.
9696 * socket/sendto.c: Likewise.
9697 * socket/sys/socket.h: Likewise.
9698 * stdio-common/printf.h: Likewise.
9699 * stdlib/bits/stdlib.h: Likewise.
9700 * stdlib/fmtmsg.h: Likewise.
9701 * stdlib/monetary.h: Likewise.
9702 * stdlib/stdlib.h: Likewise.
9703 * stdlib/ucontext.h: Likewise.
9704 * streams/stropts.h: Likewise.
9705 * string/argz.h: Likewise.
9706 * string/bits/string2.h: Likewise.
9707 * string/string.h: Likewise.
9708 * string/strings.h: Likewise.
9709 * sunrpc/rpc/auth.h: Likewise.
9710 * sunrpc/rpc/auth_des.h: Likewise.
9711 * sunrpc/rpc/clnt.h: Likewise.
9712 * sunrpc/rpc/netdb.h: Likewise.
9713 * sunrpc/rpc/pmap_clnt.h: Likewise.
9714 * sunrpc/rpc/xdr.h: Likewise.
9715 * sysdeps/generic/inttypes.h: Likewise.
9716 * sysdeps/generic/net/if.h: Likewise.
9717 * sysdeps/generic/sys/swap.h: Likewise.
9718 * sysdeps/gnu/net/if.h: Likewise.
9719 * sysdeps/gnu/utmpx.h: Likewise.
9720 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9721 * sysdeps/i386/i486/bits/string.h: Likewise.
9722 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9723 * sysdeps/s390/bits/string.h: Likewise.
9724 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9725 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9726 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9727 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9728 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9729 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9730 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9731 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9732 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9733 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9734 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9735 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9736 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9737 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9738 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9739 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9740 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9741 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9742 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9743 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9744 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9745 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9746 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9747 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9748 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9749 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9750 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9751 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9752 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9753 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9754 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9755 * sysvipc/sys/ipc.h: Likewise.
9756 * sysvipc/sys/msg.h: Likewise.
9757 * sysvipc/sys/sem.h: Likewise.
9758 * sysvipc/sys/shm.h: Likewise.
9759 * termios/termios.h: Likewise.
9760 * time/sys/time.h: Likewise.
9761 * time/time.h: Likewise.
9762 * wcsmbs/bits/wchar2.h: Likewise.
9763 * wcsmbs/uchar.h: Likewise.
9764 * wcsmbs/wchar.h: Likewise.
9765 * wctype/wctype.h: Likewise.
9766
0269750c
UD
9767 [BZ #13551]
9768 * Makeconfig: Remove all but ELF support including AIX support.
9769 * Makerules: Likewise.
9770 * config.h.in: Likewise.
9771 * config.make.in: Likewise.
9772 * configure: Likewise.
9773 * configure.in: Likewise.
9774 * csu/Makefile: Likewise.
9775 * csu/version.c: Likewise.
9776 * debug/Makefile: Likewise.
9777 * dlfcn/Makefile: Likewise.
9778 * elf/Makefile: Likewise.
9779 * extra-lib.mk: Likewise.
9780 * iconv/Makefile: Likewise.
9781 * include/libc-symbols.h: Likewise.
9782 * include/shlib-compat.h: Likewise.
9783 * resolv/Makefile: Likewise.
9784 * resolv/res_libc.c: Likewise.
9785 * rt/Makefile: Likewise.
9786 * sysdeps/i386/asm-syntax.h: Likewise.
9787 * sysdeps/i386/sysdep.h: Likewise.
9788 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9789 * sysdeps/mach/sysdep.h: Likewise.
9790 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9791 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9792 * sysdeps/s390/asm-syntax.h: Likewise.
9793 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9794 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9795 * sysdeps/sh/sysdep.h: Likewise.
9796 * sysdeps/unix/sparc/sysdep.h: Likewise.
9797 * sysdeps/wordsize-32/divdi3.c: Likewise.
9798 * sysdeps/x86_64/sysdep.h: Likewise.
9799
00bbd29b
UD
9800 * argp/Versions: Remove _argp_unlock_xxx.
9801
9802 [BZ #13559]
9803 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9804 * abilist/libBrokenLocale.abilist: Likewise.
9805 * abilist/libanl.abilist: Likewise.
9806 * abilist/libc.abilist: Likewise.
9807 * abilist/libcrypt.abilist: Likewise.
9808 * abilist/libdl.abilist: Likewise.
9809 * abilist/libm.abilist: Likewise.
9810 * abilist/libnsl.abilist: Likewise.
9811 * abilist/libpthread.abilist: Likewise.
9812 * abilist/libresolv.abilist: Likewise.
9813 * abilist/librt.abilist: Likewise.
9814 * abilist/libthread_db.abilist: Likewise.
9815 * abilist/libutil.abilist: Likewise.
9816 * abilist/libnss_db.abilist: New file.
9817
9818 * scripts/abilist.awk: Add support for indirect functions.
9819
a2693a0e
UD
9820 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9821
3f05895f
UD
9822 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9823
ecb6fb48
UD
9824 * shlib-versions: Remove entries for ports architectures.
9825
664f8cb9
UD
9826 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9827 files in ports.
9828 * elf/stackguard-macros.h: Remove support for IA-64.
9829 * elf/tst-auditmod1.c: Likewise.
9830 * sysdeps/generic/ldsodefs.h: Likewise.
9831
7ae81d88
UD
9832 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9833 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9834 configure files.
9835
bdeba135
UD
9836 [BZ #13552]
9837 * configure.in: Remove --enable-omitfp support.
9838 * FAQ.in: Adjust.
9839 * config.make.in: Likewise.
9840 * Makeconfig: Likewise.
9841 * manual/install.texi: Likewise.
9842
d75a0a62
UD
9843 In case anyone cares, the IA-64 architecture could move to ports.
9844 * sysdeps/ia64/*: Removed.
9845 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9846 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9847
dcc9756b
UD
9848 [BZ #13555]
9849 * configure.in: Remove entries for unsupported architectures.
9850
d3761ebc 9851 [BZ #13533]
9954432e
UD
9852 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9853 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9854 routines.
9855 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9856 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9857 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9858 fall back to using wcrtomb.
9859 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9860 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9861 renaming.
9862 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9863 * wcsmbs/tst-c16c32-1.c: New file.
9864
9865 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9866 local variable.
9867
c3a87236
UD
9868 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9869
28926a1b
UD
9870 * elf/tst-unique3.cc: Add explicit declaration of gets.
9871 * elf/tst-unique3lib.cc: Likewise.
9872 * elf/tst-unique3lib2.cc: Likewise.
9873 * elf/tst-unique4.cc: Likewise.
9874
df78418a
UD
9875 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9876
8ecd6b2a
JM
98772012-01-06 Joseph Myers <joseph@codesourcery.com>
9878
9879 [BZ #13566]
9880 * assert/assert.h (static_assert): Don't define for C++.
9881 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9882 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9883
9f115170
UD
98842012-01-03 Ulrich Drepper <drepper@gmail.com>
9885
5e0d0300
UD
9886 * iconv/loop.c (single loop): Fix assertion in storing of
9887 remaining bytes.
9888
9f115170
UD
9889 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9890
81fb02b0
UD
98912012-01-01 Ulrich Drepper <drepper@gmail.com>
9892
9893 * posix/getconf.c: Update copyright year.
9894 * nss/getent.c: Likewise.
a316c1f6 9895 * nss/makedb.c: Likewise.
81fb02b0
UD
9896 * iconv/iconvconfig.c: Likewise.
9897 * iconv/iconv_prog.c: Likewise.
9898 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9899 * elf/pldd.c: Likewise.
9900 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9901 * catgets/gencat.c: Likewise.
9902 * csu/version.c: Likewise.
9903 * elf/ldd.bash.in: Likewise.
9904 * elf/sprof.c (print_version): Likewise.
9905 * locale/programs/locale.c: Likewise.
9906 * locale/programs/localedef.c: Likewise.
a316c1f6 9907 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9908 * nscd/nscd.c (print_version): Likewise.
9909 * debug/xtrace.sh: Likewise.
9910 * malloc/memusage.sh: Likewise.
9911 * malloc/mtrace.pl: Likewise.
9912 * debug/catchsegv.sh: Likewise.
9913
2ba92745
JJ
99142011-12-30 Jakub Jelinek <jakub@redhat.com>
9915
9916 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9917 pure attribute.
9918
dadebdae
UD
99192011-12-24 Ulrich Drepper <drepper@gmail.com>
9920
d3761ebc 9921 [BZ #13533]
db6af3eb
UD
9922 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9923 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9924 transformations.
9925 * iconv/gconv_int.h: Likewise.
9926 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9927 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9928 from libc for GLIBC_2.16.
9929 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9930 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9931 * wcsmbs/uchar.h: Really define mbstate_t.
9932 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9933 * wcsmbs/c16rtomb.c: New file.
9934 * wcsmbs/mbrtoc16.c: New file.
9935 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9936 for C/POSIX locale.
9937 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9938 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9939
dadebdae
UD
9940 * wcsmbs/wchar.h: Add missing __restrict.
9941
67371b56
UD
99422011-12-23 Ulrich Drepper <drepper@gmail.com>
9943
74033a25
UD
9944 [BZ #13532]
9945 * time/Makefile (routines): Add timespec_get.
9946 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9947 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9948 timespec for ISO C11.
9949 * time/timespec_get.c: New file.
9950 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9951 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9952
380d7e87
UD
9953 [BZ #13531]
9954 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9955 * stdlib/stdlib.h: Declare aligned_alloc.
9956 * Versions.def: Add GLIBC_2.16 for libc.
9957 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9958
4e9e7a35
UD
9959 [BZ 13527]
9960 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9961 ISO C11.
9962
380d7e87 9963 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9964 code.
9965
03a71829
UD
9966 [BZ #13528]
9967 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9968
839e283e
UD
9969 [BZ #13529]
9970 * assert/assert.h (static_assert): Define.
9971
ce5294e2 9972 * version.h: Update for 2.16 development version.
90fa7312 9973
8d44e150 9974 [BZ #13526]
d7809905
UD
9975 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9976 _ISOC11_SOURCE.
9977
c0da14cd
UD
9978 * version.h (RELEASE): Bump for 2.15 release.
9979 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9980
530a3249
MP
9981 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9982 Patch by Marek Polacek <mpolacek@redhat.com>.
9983
67371b56
UD
9984 * bits/byteswap.h: Protect long long constants with __extension__.
9985 * sysdeps/i386/bits/byteswap.h: Likewise.
9986 * sysdeps/ia64/bits/byteswap.h: Likewise.
9987 * sysdeps/s390/bits/byteswap.h: Likewise.
9988 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9989
15db4de1
LD
99902011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9991
9992 [BZ #13540]
bbe315ea
LD
9993 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9994 destination buffer.
15db4de1
LD
9995 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9996
2b2596b1
MP
99972011-12-23 Marek Polacek <polacek@redhat.com>
9998
9999 * elf/dl-addr.c (determine_info): Add inline keyword.
10000 * elf/tst-auditmod4b.c (check_avx): Likewise.
10001 * elf/tst-auditmod6b.c (check_avx): Likewise.
10002 * elf/tst-auditmod6c.c (check_avx): Likewise.
10003 * elf/tst-auditmod7b.c (check_avx): Likewise.
10004
70c6c246
UD
100052011-12-23 Ulrich Drepper <drepper@gmail.com>
10006
10007 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10008 !__SSE_MATH__.
10009
c044cf14
LD
100102011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10011
15db4de1 10012 [BZ #13540]
c044cf14
LD
10013 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10014 processing for last bytes.
10015
6b13d9d9
BH
100162011-08-06 Bruno Haible <bruno@clisp.org>
10017
d455f537
BH
10018 [BZ #13061]
10019 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10020 U+0385, not to U+1FEE.
10021
6b13d9d9
BH
10022 [BZ #13062]
10023 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10024 entry for U+00A5 U+0301.
10025
db910efd
UD
100262011-12-22 Ulrich Drepper <drepper@gmail.com>
10027
27deeafc
UD
10028 [BZ #13166]
10029 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10030 buffer for the output is too small.
10031
aed9d171
UD
10032 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10033 optimization.
10034
db910efd
UD
10035 [BZ #13185]
10036 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10037 SSE flags if possible.
10038
2bd779ae
LD
100392011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10040
e7f9dac3 10041 [BZ #13540]
2bd779ae
LD
10042 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10043 processing for last bytes.
10044
154bfc16
JM
100452011-12-22 Joseph Myers <joseph@codesourcery.com>
10046
10047 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10048 (syscall-list-default-options, syscall-list-default-condition)
10049 (syscall-list-includes): Define.
10050 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10051 list of ABIs and options and #if conditions for each ABI. Do not
10052 handle common syscalls between ABIs specially.
10053 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10054 Remove.
10055 (syscall-list-variants, syscall-list-32bit-options)
10056 (syscall-list-32bit-condition, syscall-list-64bit-options)
10057 (syscall-list-64bit-condition): Define.
10058 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10059 (syscall-list-variants, syscall-list-32bit-options)
10060 (syscall-list-32bit-condition, syscall-list-64bit-options)
10061 (syscall-list-64bit-condition): Define.
10062 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10063 Remove.
10064 (syscall-list-variants, syscall-list-32bit-options)
10065 (syscall-list-32bit-condition, syscall-list-64bit-options)
10066 (syscall-list-64bit-condition): Define.
10067 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10068 Remove.
10069 (syscall-list-variants, syscall-list-32bit-options)
10070 (syscall-list-32bit-condition, syscall-list-64bit-options)
10071 (syscall-list-64bit-condition): Define.
10072
21eaf3a5
UD
100732011-12-22 Ulrich Drepper <drepper@gmail.com>
10074
16c6f992
UD
10075 * locale/iso-639.def: Add brx entry.
10076
41043168
UD
10077 [BZ #13328]
10078 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10079 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10080
21eaf3a5
UD
10081 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10082 __feraiseexcept_renamed.
10083
e3a851a2
UD
100842011-12-21 Ulrich Drepper <drepper@gmail.com>
10085
4920765e
UD
10086 [BZ #13538]
10087 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10088 EPOLLET with unsigned values.
10089 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10090 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10091
e3a851a2
UD
10092 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10093 to large cancellation.
10094 * math/s_cacoshf.c: Likewise.
10095 * math/s_cacoshl.c: Likewise.
10096
b27e24b8
RK
100972011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10098
10099 [BZ #13305]
aebefeee 10100 [BZ #12786]
b27e24b8
RK
10101 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10102 * math/s_cacoshf.c: Likewise.
10103 * math/s_cacoshl.c: Likewise.
10104
ee190f67
UD
101052011-12-21 Ulrich Drepper <drepper@gmail.com>
10106
10107 [BZ #13439]
10108 * iconv/gconv.h: Define __GCONV_SWAP.
10109 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10110 * iconvdata/utf-16.c: Likewise.
10111 * iconvdata/utf-32.c: Likewise.
10112
707f25df
AS
101132011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10114
10115 [BZ #13524]
10116 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10117 numerator after shifting it by one limb.
10118
d2daaa1e
RÁE
101192011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10120
10121 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10122 under [__USE_EXTERN_INLINES].
10123
a4647e72
UD
101242011-12-17 Ulrich Drepper <drepper@gmail.com>
10125
10126 [BZ #13446]
10127 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10128
f0b264f1
AZ
101292011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10130
10131 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10132 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10133 optimized code.
10134 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10135 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10136 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10137 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10138 for strncasecmp/strncasecmp_l compilation.
10139 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10140 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10141
8ef4f244
MP
101422011-12-08 Marek Polacek <mpolacek@redhat.com>
10143
10144 [BZ #13484]
10145 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10146 of __asm__.
10147
97ac2654
UD
101482011-12-17 Ulrich Drepper <drepper@gmail.com>
10149
10150 [BZ #13506]
10151 * time/tzfile.c (__tzfile_read): Check values from file header.
10152
91d2a845
WS
101532011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10154
10155 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10156 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10157 * powerpc/powerpc32/dl-start.S: Likewise.
10158 * powerpc/powerpc32/elf/start.S: Likewise.
10159 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10160 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10161 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10162 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10163 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10164 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10165 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10166 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10167 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10168 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10169 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10170 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10171 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10172 * powerpc/powerpc32/memset.S: Likewise.
10173 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10174 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10175 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10176 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10177 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10178 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10179 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10180 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10181 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10182 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10183 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10184 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10185 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10186
a1267ba1
AZ
101872011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10188
10189 * math/libm-test.inc: Added more nearbyint tests.
10190 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10191 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10192 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10193 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10194
ad8ac1bd
RL
101952011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10196
10197 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10198 FD_CLOEXEC.
10199
1d3e4b61
UD
102002011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10201
10202 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10203 Add wcscpy-ssse3 wcscpy-c.
10204 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10205 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10206 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10207 * sysdeps/x86_64/wcschr.S: New file.
10208 * sysdeps/x86_64/wcsrchr.S: New file.
10209 * string/test-strcmp.c: Remove checking of wcscmp function for
10210 wrong alignments.
10211 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10212 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10213 wcsrchr-sse2 wcsrchr-c.
10214 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10215 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10216 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10217 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10218 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10219 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10220 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10221 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10222 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10223 * wcsmbc/wcschr.c (WCSCHR): New macro.
10224
5b330a2d
UD
102252011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10226
10227 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10228 * wcsmbs/test-wcsrchr.c: New file.
10229 * string/test-strrchr.c: Add wcsrchr support.
10230 (WIDE): New macro.
10231 * wcsmbs/test-wcscpy.c: New file.
10232 * string/test-strcpy.c: Add wcscpy support.
10233 (WIDE): New macro.
26428b7c 10234
f039c043
UD
102352011-12-10 Ulrich Drepper <drepper@gmail.com>
10236
10237 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10238 the inner loop.
10239
850fb039
AS
102402011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10241
10242 [BZ #13472]
10243 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10244
4efbd5cb
UD
102452011-12-04 Ulrich Drepper <drepper@gmail.com>
10246
52ff5dd0 10247 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10248 Minor optimizations.
52ff5dd0 10249
4efbd5cb
UD
10250 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10251 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10252 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10253
8a426e12
UD
102542011-12-03 Ulrich Drepper <drepper@gmail.com>
10255
aff2453d
UD
10256 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10257 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10258 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10259 for gcc to avoid warnings.
10260 * inet/Makefile (tests): Add tst-checks.
10261 * inet/tst-checks.c: New file.
10262
10263 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10264 warning.
10265
10266 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10267 __wmemcmp_sse2.
10268
10269 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10270 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10271
8a426e12
UD
10272 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10273
9bea3473
UD
102742011-12-02 Ulrich Drepper <drepper@gmail.com>
10275
3a965496
UD
10276 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10277 problem.
10278
9bea3473
UD
10279 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10280
f101631b
UD
102812011-11-29 Joseph Myers <joseph@codesourcery.com>
10282
10283 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10284 conditional on GCC version.
10285 (__arch_compare_and_exchange_val_8_acq)
10286 (__arch_compare_and_exchange_val_16_acq)
10287 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10288 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10289 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10290
a98275aa
UD
102912011-12-02 Joseph Myers <joseph@codesourcery.com>
10292
10293 * sysdeps/sh/backtrace.c: New file.
10294
d4cc29a2
AS
102952011-12-02 Andreas Schwab <schwab@redhat.com>
10296
10297 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10298 parenthesis.
10299
6257af2d
AS
103002011-12-01 Andreas Schwab <schwab@redhat.com>
10301
10302 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10303 falling back to utime.
10304
b5f44c1a
AS
103052011-11-30 Andreas Schwab <schwab@redhat.com>
10306
10307 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10308 expectations for float.
10309
f3a6cc0a
AS
103102011-11-29 Andreas Schwab <schwab@redhat.com>
10311
10312 * locale/weight.h (findidx): Add parameter len.
10313 * locale/weightwc.h (findidx): Likewise.
10314 * posix/fnmatch_loop.c (FCT): Adjust caller.
10315 * posix/regcomp.c (build_equiv_class): Likewise.
10316 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10317 * posix/regexec.c (check_node_accept_bytes): Likewise.
10318 * string/strcoll_l.c (STRCOLL): Likewise.
10319 * string/strxfrm_l.c (STRXFRM): Likewise.
10320
9d65ea3a
UD
103212011-11-17 Ulrich Drepper <drepper@gmail.com>
10322
10323 * Makefile.in: Remove CVSOPT handling.
10324 * configure.in: Remove use of AC_REVISION.
10325 * iconvdata/Makefile (distribute): No need to filter out CVS.
10326 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10327 handling.
10328
5583a086
AS
103292011-11-16 Andreas Schwab <schwab@redhat.com>
10330
10331 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10332 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10333 [USE_AS_STRNCASECMP_L]: Likewise.
10334 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10335 NO_TLS_DIRECT_SEG_REFS.
10336 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10337 Fix argument offsets for non-PIC.
10338 [USE_AS_STRNCASECMP_L]: Likewise.
10339 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10340 NO_TLS_DIRECT_SEG_REFS.
10341
d62a8200
UD
103422011-11-15 Ulrich Drepper <drepper@gmail.com>
10343
9d65ea3a 10344 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10345 O_CLOEXEC.
10346 * locale/loadlocale.c (_nl_load_locale): Likewise.
10347
09f93bd3
AS
103482011-11-15 Andreas Schwab <schwab@redhat.com>
10349
446514f9
AS
10350 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10351 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10352 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10353 (SYSCALL_GETTIME): Set errno on error.
10354
09f93bd3
AS
10355 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10356 count references to noai6ai_cached.
10357
312be3f9
UD
103582011-11-15 Ulrich Drepper <drepper@gmail.com>
10359
10360 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10361
10362 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10363 FD_CLOEXEC for /proc/self/maps.
10364
10365 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10366 FD_CLOEXEC for /proc/meminfo.
10367
10368 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10369 gai.conf.
10370
10371 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10372 FD_CLOEXEC for given file.
10373
10374 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10375
10376 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10377 FD_CLOEXEC for /etc/hosts.
10378 (_gethtent): Likewise.
10379
10380 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10381
10382 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10383 cancellation and set FD_CLOEXEC for /etc/netgroup.
10384
10385 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10386 reading /etc/publickey.
10387
10388 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10389 allow cancellation when reading /etc/group.
10390
10391 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10392 cancellation.
10393 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10394
10395 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10396 when using data file.
10397
10398 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10399
10400 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10401 (write_nis_obj): Use "c" and "e" in fopen.
10402
10403 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10404
10405 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10406
10407 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10408
10409 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10410
10411 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10412 locale.alias.
10413
10414 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10415
10416 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10417
10418 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10419
10420 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10421 file parsing and set FD_CLOEXEC.
10422
82af0fa8
UD
104232011-11-14 Ulrich Drepper <drepper@gmail.com>
10424
10425 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10426
a5fb313c
AS
104272011-11-14 Andreas Schwab <schwab@redhat.com>
10428
10429 * malloc/arena.c (arena_get2): Don't call reused_arena when
10430 _int_new_arena failed.
10431
6abf3465
UD
104322011-11-14 Ulrich Drepper <drepper@gmail.com>
10433
10434 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10435 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10436 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10437 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10438 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10439 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10440 to compile strcasecmp and strncasecmp.
10441 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10442 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10443
10444 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10445
76e3966e
UD
104462011-11-13 Ulrich Drepper <drepper@gmail.com>
10447
10448 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10449 locale-defines.sym to gen-as-const-headers.
10450 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10451 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10452 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10453 to compile strcasecmp and strncasecmp.
10454 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10455 strcasecmp_l and strncasecmp_l.
10456 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10457 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10458 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10459 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10460 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10461 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10462 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10463 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10464 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10465 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10466 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10467
ab26144e
UD
104682011-11-12 Ulrich Drepper <drepper@gmail.com>
10469
7edb22ef
UD
10470 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10471 result of SYSDEP_GETTIME_CPU to retval.
10472 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10473 parameter list to macro. Remove trailing semicolon. Adjust users.
10474
9694fc44
UD
10475 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10476 variable.
10477
8ad89ef8
UD
10478 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10479 mantissa words.
10480 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10481
0c822ef9
UD
10482 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10483 from unused variable.
10484
874e0564
UD
10485 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10486 DWARF definitions.
10487 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10488 for assembling.
10489
3a2edc79
UD
10490 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10491 over namespaces.
10492
f3c2577f
UD
10493 * sunrpc/rpc_prot.c (rejected): Fix case value.
10494
294ce126
UD
10495 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10496 unsigned long long int to avoid warnings in shift.
10497
5e2b63c6
UD
10498 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10499 of use of trans.
10500 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10501 variable tmp.
10502
e7f4b08e
UD
10503 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10504 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10505 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10506
ab26144e
UD
10507 * nis/nis_table.c (nis_list): Use variable of correct type for
10508 result of __follow_path call.
10509
8a6d5255
AZ
105102011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10511
10512 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10513 of math functions ceil, trunc, floor, round, and sqrt, when
10514 avaliable on the platform.
10515 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10516 name clash.
10517 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10518 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10519 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10520
aaddc98c
MP
105212011-10-30 Marek Polacek <mpolacek@redhat.com>
10522
10523 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10524 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10525
95b7042b
RM
105262011-11-11 Roland McGrath <roland@hack.frob.com>
10527
10528 * include/unistd.h: Fix __readlink return type.
10529 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10530
57769839
UD
105312011-11-11 Ulrich Drepper <drepper@gmail.com>
10532
10533 * stdlib/ucontext.h: Undo last change for makecontext.
10534
edc5984d
AS
105352011-11-11 Andreas Schwab <schwab@redhat.com>
10536
98591e58
AS
10537 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10538
edc5984d
AS
10539 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10540 * setjmp/setjmp.h: Mark functions as non-leaf.
10541 * setjmp/bits/setjmp2.h: Likewise.
10542 * stdlib/ucontext.h: Likewise.
10543
77cdc054
AS
105442011-11-10 Andreas Schwab <schwab@redhat.com>
10545
10546 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10547 (reused_arena): Don't check arena limit.
10548 (arena_get2): Atomically check arena limit.
10549
fe72eebd
UD
105502011-11-08 Ulrich Drepper <drepper@gmail.com>
10551
5f078c32
UD
10552 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10553 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10554
fe72eebd
UD
10555 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10556 instructions.
10557
ae1bc2fa
AS
105582011-11-07 Andreas Schwab <schwab@redhat.com>
10559
7583a88d
AS
10560 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10561 handler when locking.
10562
ae1bc2fa
AS
10563 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10564 Fix size of allocated buffer.
10565
10fb0bfa
AS
105662011-11-04 Andreas Schwab <schwab@redhat.com>
10567
998832a4
AS
10568 [BZ #10103]
10569 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10570 declarations for long double functions.
10571 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10572
10fb0bfa
AS
10573 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10574
3d7ba52b
AS
105752011-11-03 Andreas Schwab <schwab@redhat.com>
10576
a9ae54a1
AS
10577 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10578 installed.
10579
3d7ba52b
AS
10580 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10581 is disabled.
10582
bc8db248
ST
105832011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10584
10585 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10586
45b96dd6
AS
105872011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10588
647776f6
AS
10589 * include/alloca.h (stackinfo_alloca_round): Define.
10590 (extend_alloca): Use it.
10591 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10592 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10593 here.
10594
d91a8b93
AS
10595 * scripts/check-local-headers.sh: Ignore libaudit.h.
10596
45b96dd6
AS
10597 * nscd/Makefile (extra-objs): Make recursively expanded.
10598
432d41ce
UD
105992011-11-01 Ulrich Drepper <drepper@gmail.com>
10600
34372fc6
UD
10601 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10602 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10603
fadb59f8
UD
10604 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10605 * posix/tst-rfc3484-2.c: Likewise.
10606 * posix/tst-rfc3484-3.c: Likewise.
10607
78239589
UD
10608 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10609 process_vm_writev.
10610 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10611 process_vm_writev.
10612 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10613 process_vm_writev from libc using GLIBC_2.15 version.
10614
432d41ce
UD
10615 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10616
02f9c6cf
PP
106172011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10618
10619 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10620 stack usage.
10621
3a2c0242
UD
106222011-10-31 Ulrich Drepper <drepper@gmail.com>
10623
f4ec4833
UD
10624 [BZ #13367]
10625 * nss/getent.c (initgroups_keys): Show error message in case no group
10626 names are given.
10627
3a2c0242
UD
10628 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10629 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10630 __bump_nl_timestamp.
10631 * nscd/connections (nscd_init): When host database is served open
10632 netlink socket and request notification about configuration changes.
10633 (main_loop_poll): Track netlink file descriptor and bump timestamp
10634 in case data becomes available.
10635 (main_loop_epoll): Likewise.
10636 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10637 (database_pers_head): Add extra_data fileds.
10638 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10639 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10640 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10641 Adjust caller.
10642 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10643 in6ai data, call __free_in6ai.
10644 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10645 Add -DHAVE_NETLINK.
10646 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10647 interface information. Reuse previous data if netlink timestamp
10648 is not changed.
10649 (__bump_nl_timestamp): New function.
10650 (__free_in6ai): New function.
10651
636064eb
UD
106522011-10-30 Ulrich Drepper <drepper@gmail.com>
10653
10654 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10655 close_not_cancel_no_status here.
10656 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10657
9beb2334
UD
106582011-10-29 Ulrich Drepper <drepper@gmail.com>
10659
6ef76f3b
UD
10660 [BZ #13276]
10661 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10662 return value.
10663
0ffc4f3e 10664 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10665 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10666 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10667
cb95113e
UD
106682011-07-03 Andreas Jaeger <aj@suse.de>
10669
10670 [BZ #10709]
10671 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10672 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10673 * math/libm-test.inc (sin_test): Add test case.
10674
a1b560ff
UD
106752011-10-29 Ulrich Drepper <drepper@gmail.com>
10676
c9aaface
UD
10677 [BZ #13337]
10678 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10679 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10680
d272e7f1
UD
10681 * elf/chroot_canon.c (chroot_canon): Cleanups.
10682
1bc33071
UD
10683 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10684
1760874d
TJ
10685 [BZ #13335]
10686 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10687 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10688
51d91b18
UD
10689 * string/test-strchr.c: Make usable for strchrnul testing.
10690 * string/test-strchrnul.c: New file.
10691 * string/Makefile (strop-tests): Add strchrnul.
10692
a1b560ff 10693 * po/it.po: Update from translation team.
b611fb81 10694 * po/es.po: Likewise.
a1b560ff 10695
a5b81e1f
UD
106962011-10-28 Ulrich Drepper <drepper@gmail.com>
10697
fd52bc6d
UD
10698 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10699 the three constants needed as parameters. Drop the others.
10700 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10701 __m128i_strloadu_tolower.
52e4b9eb
UD
10702 Create and initialize variable zero and use it in all the places
10703 where _mm_setzero_si128 was used.
fd52bc6d 10704
a5b81e1f
UD
10705 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10706 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10707 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10708 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10709 anymore.
10710 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10711 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10712 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10713 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10714 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10715 __mpranred, __mptan.
10716 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10717 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10718 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10719 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10720 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10721 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10722 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10723 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10724 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10725
b4343346
AS
107262011-10-28 Andreas Schwab <schwab@redhat.com>
10727
0c92d8a8
AS
10728 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10729 redefine if SHARED.
10730 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10731
b4343346
AS
10732 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10733 wide char related routines to wcsmbs subdir.
10734
3871f58f
AS
107352011-10-27 Andreas Schwab <schwab@redhat.com>
10736
10737 [BZ #13344]
10738 * misc/sys/cdefs.h (__THROWNL): Define.
10739 * posix/unistd.h: Use __THREADNL instead of __THREAD
10740 for memory synchronization functions.
10741
94d44d9f
RM
107422011-10-26 Roland McGrath <roland@hack.frob.com>
10743
21b64b15 10744 [BZ #13349]
94d44d9f
RM
10745 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10746 doesn't exist.
10747 * manual/stdio.texi (Obstack Streams): Node removed.
10748
f6ce9294
AS
107492011-10-26 Andreas Schwab <schwab@redhat.com>
10750
80479147
AS
10751 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10752 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10753 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10754
f6ce9294
AS
10755 * math/math_private.h (math_force_eval): Allow non-addressable
10756 arguments.
10757 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10758
618280a1
UD
107592011-10-25 Ulrich Drepper <drepper@gmail.com>
10760
e0016b11
UD
10761 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10762 file is not needed.
10763
10764 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10765 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10766 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10767 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10768 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10769 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10770 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10771 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10772 Add AVX variants.
10773 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10774 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10775 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10776 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10777 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10778 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10779 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10780 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10781 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10782 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10783 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10784 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10785 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10786 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10787 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10788 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10789 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10790 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10791 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10792
10793 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10794 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10795
618280a1
UD
10796 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10797 place. Use VEX encoding when compiling for AVX.
10798
37822576
AS
107992011-10-25 Andreas Schwab <schwab@redhat.com>
10800
1f1e1947
AS
10801 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10802 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10803
37822576
AS
10804 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10805
31ea014d
UD
108062011-10-25 Ulrich Drepper <drepper@gmail.com>
10807
d7826aa1 10808 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10809 useless if() expression.
d7826aa1
UD
10810 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10811 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10812 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10813 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10814 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10815 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10816 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10817 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10818 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10819 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10820 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10821 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10822 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10823 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10824 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10825 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10826 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10827 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10828 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10829
31ea014d
UD
10830 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10831
16437fec
AS
108322011-10-25 Andreas Schwab <schwab@redhat.com>
10833
10834 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10835 condition.
10836 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10837
31d3cc00
UD
108382011-10-25 Ulrich Drepper <drepper@gmail.com>
10839
10840 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10841 .text section. Avoid duplicate constants.
10842 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10843 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10844 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10845 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10846 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10848 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10849 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10850 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10851 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10852 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10853 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10854 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10855 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10856 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10857 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10858 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10859 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10860 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10861 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10862 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10863 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10864 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10865 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10866 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10867 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10868 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10869 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10870 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10871 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10872 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10873 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10874 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10875 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10876 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10877 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10878 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10879 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10880 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10881 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10882 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10883 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10884 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10885 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10886 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10887
58985aa9
UD
108882011-10-24 Ulrich Drepper <drepper@gmail.com>
10889
202c9deb
UD
10890 * sysdeps/x86_64/dla.h: Move to ...
10891 * sysdeps/x86_64/fpu/dla.h: ...here.
10892 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10893 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10894
af968f62
UD
10895 * config.make.in: Add have-mfma4 entry.
10896 * configure.in: Substitute libc_cv_cc_fma4.
10897 * math/Makefile (dbl-only-routines): Add sincostab.
10898 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10899 Use __sincostab not sincos.
10900 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10901 name is a macro.
10902 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10903 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10904 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10905 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10906 using __copysign.
10907 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10908 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10909 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10910 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10911 and __inv.
10912 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10913 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10914 __copysign.
10915 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10916 define aliases when function name is a macro.
10917 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10918 sysdeps/ieee754/dbl-64/sincos.tbl.
10919 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10920 fma4-enabled routines.
10921 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10922 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10923 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10924 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10925 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10926 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10927 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10928 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10929 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10930 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10931 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10932 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10933 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10934 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10935 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10936 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10937 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10938 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10939 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10940 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10941 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10942 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10943 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10944 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10945 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10946 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10947 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10948 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10949 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10950 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10951
58985aa9
UD
10952 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10953 rename.
10954 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10955 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10956 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10957 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10958 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10959 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10960 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10961 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10962
a201fbcf
AS
109632011-10-24 Andreas Schwab <schwab@redhat.com>
10964
10965 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10966
fc2ee42a
LD
109672011-10-23 Ulrich Drepper <drepper@gmail.com>
10968
bb3129bd
UD
10969 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10970
0275fff8
UD
10971 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10972 prediction.
10973 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10974
2fa2ae85
UD
10975 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10976 Remove unused variable magic_bits.
10977 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10978
fc2ee42a
LD
10979 * string/strnlen.c: Define and use STRNLEN macro.
10980 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10981 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10982 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10983 * wcsmbs/wcslen.c: Define and use WCSLEN.
10984 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10985 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10986 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10987 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10988 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10989 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10990 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10991
ce7dd29f
LD
109922011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10993
10994 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10995 strnlen-sse2-no-bsf.
10996 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10997 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10998 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10999 Add strnlen support.
11000 (USE_AS_STRNLEN): New macro.
11001 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11002 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11003 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11004 * sysdeps/x86_64/wcslen.S: New file.
11005
979c70a3
MZ
110062011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11007
11008 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11009 XMM-moves are used for copying on small sizes.
11010
2d09f82f
LD
110112011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11012
11013 * wcsmbs/Makefile (strop-tests): Add wcschr.
11014 * wcsmbs/test-wcschr.c: New file.
11015 * string/test-strchr.c: Update.
11016 Add wcschr support.
11017 (WIDE): New macro.
11018
619fccca
LD
110192011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11020
2d09f82f 11021 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
11022 * wcsmbs/test-wcslen.c: New file.
11023 * string/test-strlen.c: Update.
11024 Add wcslen support.
11025 (WIDE): New macro.
11026
09f699ea
UD
110272011-10-23 Ulrich Drepper <drepper@gmail.com>
11028
11029 * po/it.po: Update from translation team.
11030
95584d3b
LD
110312011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11032
11033 * sysdeps/x86_64/wcscmp.S: Update.
11034 Fix wrong comparison semantics.
11035 wcscmp shall use signed comparison not unsigned.
11036 Don't use substraction to avoid overflow bug.
11037 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11038 * wcsmbc/wcscmp.c: Likewise.
11039 * string/test-strcmp.c: Likewise.
11040 Add new tests to check cases with negative values.
11041
c8b3296b
UD
110422011-10-23 Ulrich Drepper <drepper@gmail.com>
11043
11044 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11045 * sysdeps/x86_64/dla.h: ...here. New file.
11046 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11047 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11049 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11050 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11051 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11052 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11053 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11054 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11055
246ad57a
AS
110562011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11057
11058 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11059 __ynl_finite aliases.
11060
a1a87169
UD
110612011-10-22 Ulrich Drepper <drepper@gmail.com>
11062
0d355eb7
UD
11063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11064
a1a87169
UD
11065 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11066 define DLA_FMA.
11067 [DLA_FMA] (EMULV): Use DLA_FMA.
11068 [DLA_FMA] (MUL12): Use EMULV.
11069 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11070 that are not needed.
11071 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11072 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11073 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11074 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11075 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11076 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11077 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11078
ee2aafe0
AS
110792011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11080
11081 * math/s_nan.c: Undef __nan.
11082 * math/s_nanf.c: Undef __nanf.
11083 * math/s_nanl.c: Undef __nanl.
11084 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11085 "math_private.h".
11086
bc62c2fb
UD
110872011-10-22 Ulrich Drepper <drepper@gmail.com>
11088
77425c63
UD
11089 * math/s_catan.c: Add branch predictions.
11090 * math/s_catanf.c: Likewise.
11091 * math/s_catanh.c: Likewise.
11092 * math/s_catanhf.c: Likewise.
11093 * math/s_catanhl.c: Likewise.
11094 * math/s_catanl.c: Likewise.
11095 * math/s_cexp.c: Likewise.
11096 * math/s_cexpf.c: Likewise.
11097 * math/s_cexpl.c: Likewise.
11098 * math/s_clog.c: Likewise.
11099 * math/s_clog10.c: Likewise.
11100 * math/s_clog10f.c: Likewise.
11101 * math/s_clog10l.c: Likewise.
11102 * math/s_clogf.c: Likewise.
11103 * math/s_clogl.c: Likewise.
11104 * math/s_csqrt.c: Likewise.
11105 * math/s_csqrtf.c: Likewise.
11106 * math/s_csqrtl.c: Likewise.
11107 * math/s_ctanf.c: Likewise.
11108 * math/s_ctanh.c: Likewise.
11109 * math/s_ctanhf.c: Likewise.
11110 * math/s_ctanhl.c: Likewise.
11111 * math/s_ctanl.c: Likewise.
11112
bc62c2fb
UD
11113 * math/math_private.h: Define __nan, __nanf, __nanl.
11114 * math/s_cacosh.c: Include <math_private.h>.
11115 * math/s_cacoshl.c: Likewise.
11116 * math/s_casinh.c: Likewise.
11117 * math/s_casinhf.c: Likewise.
11118 * math/s_casinhl.c: Likewise.
11119 * math/s_ccos.c: Rely entire on ccosh.
11120 * math/s_ccosf.c: Rely entire on ccoshf.
11121 * math/s_ccosl.c: Rely entirely on ccoshl.
11122 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11123 Remove tests for FE_INVALID.
11124 * math/s_ccoshf.c: Likewise.
11125 * math/s_ccoshl.c: Likewise.
11126 * math/s_csin.c: Likewise.
11127 * math/s_csinf.c: Likewise.
11128 * math/s_csinh.c Likewise.
11129 * math/s_csinhf.c: Likewise.
11130 * math/s_csinhl.c: Likewise.
11131 * math/s_csinl.c: Likewise.
11132 * math/s_ctan.c: Likewise.
11133 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11134 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11135 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11136
8ec250a4
UD
111372011-10-21 Ulrich Drepper <drepper@gmail.com>
11138
c196fed8
UD
11139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11140 compilation problems.
11141
8ec250a4
UD
11142 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11143 __builtin_expect.
11144
8d4f46c6
UD
111452011-10-20 Ulrich Drepper <drepper@gmail.com>
11146
ed72b654
UD
11147 * sysdeps/i386/configure.in: Test for -mfma4 option.
11148 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11149 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11150 COMMON_CPUID_INDEX_80000001.
11151 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11152 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11153 use it if FMA3 is not supported.
11154 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11155
8d4f46c6
UD
11156 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11157 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11158
d45c60c2
AS
111592011-10-20 Andreas Schwab <schwab@redhat.com>
11160
11161 [BZ #12892]
11162 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11163 it would create a cycle with a link time dependency.
11164
d9a4d2ab
UD
111652011-10-19 Ulrich Drepper <drepper@gmail.com>
11166
855d1560
UD
11167 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11168 instruction.
11169 * string/Makefile (strop-tests): Add rawmemchr.
11170 * string/test-rawmemchr.c: New file.
11171
d9a4d2ab
UD
11172 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11173 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11174 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11175 when compiling str{,n}casecmp and when AVX is available. Hook up
11176 new optimized code in initializers.
11177
8f3b1ffe
AS
111782011-10-19 Andreas Schwab <schwab@redhat.com>
11179
11180 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11181 __feraiseexcept instead of feraiseexcept.
11182
d38f1dba
UD
111832011-10-18 Ulrich Drepper <drepper@gmail.com>
11184
d9a8d0ab
UD
11185 * math/math_private.h: Define defaults for libc_fetestexcept and
11186 libc_feupdateenv.
11187 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11188 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11189 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11190 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11191 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11192 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11193 libc_fetestexcept and libc_feupdateenv.
11194
4855e3dd
UD
11195 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11196 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11197 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11198 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11199 libc_feholdexcept_setround.
11200
581d30e3
UD
11201 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11202 Add s_nearbyint-c and s_nearbyintf-c.
11203 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11204 nearbyintf inlines.
11205 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11206 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11207 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11208 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11209
d38f1dba
UD
11210 * math/math_private.h: Define defaults for libc_fegetround,
11211 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11212 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11213 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11214 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11215 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11216 standard functions.
11217 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11218 Remove comments and hacks for old compiler versions.
11219 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11220 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11221 libc_feholdexceptl.
11222
caa6c9d8
AS
112232011-10-18 Andreas Schwab <schwab@redhat.com>
11224
11225 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11226 (__feraiseexcept_renamed): Add __NTH.
11227 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11228 namespace violations.
11229
97c066e6
UD
112302011-10-17 Ulrich Drepper <drepper@gmail.com>
11231
99ce7b04
UD
11232 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11233
1004d182
UD
11234 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11235
228a984d
UD
11236 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11237 recently added interfaces.
11238 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11239
c8553a6a
UD
11240 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11241 about macro parameter expansion.
11242
ed22dcf6
UD
11243 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11244 __NO_MATH_INLINES is defined. Cleanups.
11245
11246 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11247 and __floorf is target has SSE4.1.
11248 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11249 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11250 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11251 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11252
b171c137
UD
11253 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11254 name.
11255 (floorf): Likewise.
11256
97c066e6
UD
11257 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11258
629f62ef
AS
112592011-10-17 Andreas Schwab <schwab@redhat.com>
11260
49a43d80
AS
11261 * misc/sys/cdefs.h: Fix last change.
11262
629f62ef
AS
11263 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11264 database lookup.
11265
e453f6cd
UD
112662011-10-16 Ulrich Drepper <drepper@gmail.com>
11267
aa78043a
UD
11268 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11269
ad0f5cad
UD
11270 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11271 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11272 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11273 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11274 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11275 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11276 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11277 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11278 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11279 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11280 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11281 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11282 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11283 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11284 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11285 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11286 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11287 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11288 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11289 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11290 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11291 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11292
11293 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11294 ceil, ceilf, floor, floorf.
11295
11296 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11297 Perform IRELATIVE relocations last.
11298
e453f6cd
UD
11299 * elf/do-rel.h: Add another parameter nrelative, replacing the
11300 local variable with the same name. Change name of the function
11301 to end in Rel or Rela (uppercase).
11302 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11303 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11304 elf_dynamic_do_##reloc function.
11305
fd5bdc09
UD
113062011-10-15 Ulrich Drepper <drepper@gmail.com>
11307
79b195b5
UD
11308 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11309 is sufficient, at least on modern CPUs.
11310
d4a28569
UD
11311 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11312
b61099b5
UD
11313 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11314 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11315
bcf01e6d
UD
11316 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11317 __expl_finite.
11318 * math/bits/math-finite.h: Add entries for exp.
11319 * math/e_expl.c: Add __*_finite alias.
11320 * sysdeps/i386/fpu/e_exp.S: Likewise.
11321 * sysdeps/i386/fpu/e_expf.S: Likewise.
11322 * sysdeps/i386/fpu/e_expl.c: Likewise.
11323 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11324 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11325 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11326 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11327 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11328 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11329 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11330
ba1a0d59
UD
11331 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11332 is sufficient, at least on modern CPUs.
11333
fd5bdc09
UD
11334 * ctype/ctype-info.c (__ctype_init): Define.
11335 * include/ctype.h (__ctype_init): Declare.
11336 (__ctype_b_loc): The variable is always initialized.
11337 (__ctype_toupper_loc): Likewise.
11338 (__ctype_tolower_loc): Likewise.
11339 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11340 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11341
7872cfb0
AS
113422011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11343
b468825a
AS
11344 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11345
7872cfb0
AS
11346 * configure.in: Also look in $cxxmachine/include for C++ system
11347 headers.
11348
be13f7bf
LD
113492011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11350
11351 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11352 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11353 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11354 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11355 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11356 (USE_AS_WMEMCMP): New macro.
11357 Fixing indents.
11358 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11359 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11360 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11361 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11363 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11364 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11365 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11366 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11367 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11368 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11369 (USE_AS_WMEMCMP): New macro.
11370 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11371 * sysdeps/string/test-memcmp.c: Update.
11372 Fix simple_wmemcmp.
11373 Add new tests.
11374 * wcsmbs/wmemcmp.c: Update.
11375 (WMEMCMP): New macro.
11376 Fix overflow bug.
11377
556a2007
AJ
113782011-10-12 Andreas Jaeger <aj@suse.de>
11379
11380 [BZ #13268]
11381 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11382
538faaa7
UD
113832011-10-15 Ulrich Drepper <drepper@gmail.com>
11384
ab6737ff
UD
11385 * libio/iofwide.c (do_length): Avoid warning.
11386
538faaa7
UD
11387 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11388
396a21b1
UD
113892011-10-14 Ulrich Drepper <drepper@gmail.com>
11390
cdf2901f
UD
11391 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11392
38ad40ce
UD
11393 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11394 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11395 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11396 * sysdeps/i386/i686/fpu/e_log.S: New file.
11397 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11398 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11399
396a21b1
UD
11400 * ctype/ctype.h: Add support for inlined isXXX functions when
11401 compiling C++ code.
11402
6b1f68c9
AS
114032011-10-14 Andreas Schwab <schwab@redhat.com>
11404
349290c0
AS
11405 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11406
6b1f68c9
AS
11407 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11408
f2282d42
RM
114092011-10-13 Roland McGrath <roland@hack.frob.com>
11410
11411 [BZ #13291]
11412 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11413
5298ffa8
AS
114142011-10-13 Andreas Schwab <schwab@redhat.com>
11415
714fad23
AS
11416 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11417 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11418 feraiseexcept.
11419
81dcc7fb
AS
11420 * sysdeps/x86_64/memrchr.S: Check for zero size.
11421
5298ffa8
AS
11422 * string/stratcliff.c: Add memrchr tests.
11423
951fbcec
LD
114242011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11425
11426 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11427 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11428 rawmemchr-sse2 rawmemchr-sse2-bsf.
11429 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11430 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11431 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11432 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11433 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11434 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11435 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11436 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11437 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11438 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11439 * string/memrchr.c (MEMRCHR): New macro.
11440
0ac5ae23
UD
114412011-10-12 Ulrich Drepper <drepper@gmail.com>
11442
11443 Add integration with gcc's -ffinite-math-only and optimize wrapper
11444 functions in libm.
11445 * Versions.def: Define GLIBC_2.15 version for libm.
11446 * math/Makefile (headers): Add bits/math-finite.h.
11447 * math/bits/math-finite.h: New file.
11448 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11449 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11450 * math/e_acoshl.c: Add __*_finite alias.
11451 * math/e_acosl.c: Likewise.
11452 * math/e_asinl.c: Likewise.
11453 * math/e_atan2l.c: Likewise.
11454 * math/e_atanhl.c: Likewise.
11455 * math/e_coshl.c: Likewise.
11456 * math/e_exp10.c: Likewise.
11457 * math/e_exp10f.c: Likewise.
11458 * math/e_exp10l.c: Likewise.
11459 * math/e_exp2l.c: Likewise.
11460 * math/e_fmodl.c: Likewise.
11461 * math/e_gammal_r.c: Likewise.
11462 * math/e_hypotl.c: Likewise.
11463 * math/e_j0l.c: Likewise.
11464 * math/e_j1l.c: Likewise.
11465 * math/e_jnl.c: Likewise.
11466 * math/e_lgammal_r.c: Likewise.
11467 * math/e_log10l.c: Likewise.
11468 * math/e_log2l.c: Likewise.
11469 * math/e_logl.c: Likewise.
11470 * math/e_powl.c: Likewise.
11471 * math/e_sinhl.c: Likewise.
11472 * math/e_sqrtl.c: Likewise.
11473 * math/e_scalb.c: Completely rewritten and optimized.
11474 * math/e_scalbf.c: Likewise.
11475 * math/e_scalbl.c: Likewise.
11476 * math/w_acos.c: Likewise.
11477 * math/w_acosf.c: Likewise.
11478 * math/w_acosl.c: Likewise.
11479 * math/w_acosh.c: Likewise.
11480 * math/w_acoshf.c: Likewise.
11481 * math/w_acoshl.c: Likewise.
11482 * math/w_asin.c: Likewise.
11483 * math/w_asinf.c: Likewise.
11484 * math/w_asinl.c: Likewise.
11485 * math/w_atan2.c: Likewise.
11486 * math/w_atan2f.c: Likewise.
11487 * math/w_atan2l.c: Likewise.
11488 * math/w_atanh.c: Likewise.
11489 * math/w_atanhf.c: Likewise.
11490 * math/w_atanhl.c: Likewise.
11491 * math/w_exp10.c: Likewise.
11492 * math/w_exp10f.c: Likewise.
11493 * math/w_exp10l.c: Likewise.
11494 * math/w_fmod.c: Likewise.
11495 * math/w_fmodf.c: Likewise.
11496 * math/w_fmodl.c: Likewise.
11497 * math/w_j0.c: Likewise.
11498 * math/w_j0f.c: Likewise.
11499 * math/w_j0l.c: Likewise.
11500 * math/w_j1.c: Likewise.
11501 * math/w_j1f.c: Likewise.
11502 * math/w_j1l.c: Likewise.
11503 * math/w_jn.c: Likewise.
11504 * math/w_jnf.c: Likewise.
11505 * math/w_log.c: Likewise.
11506 * math/w_logf.c: Likewise.
11507 * math/w_logl.c: Likewise.
11508 * math/w_log10.c: Likewise.
11509 * math/w_log10f.c: Likewise.
11510 * math/w_log10l.c: Likewise.
11511 * math/w_log2.c: Likewise.
11512 * math/w_log2f.c: Likewise.
11513 * math/w_log2l.c: Likewise.
11514 * math/w_pow.c: Likewise.
11515 * math/w_powf.c: Likewise.
11516 * math/w_powl.c: Likewise.
11517 * math/w_remainder.c: Likewise.
11518 * math/w_remainderf.c: Likewise.
11519 * math/w_remainderl.c: Likewise.
11520 * math/w_scalb.c: Likewise.
11521 * math/w_scalbf.c: Likewise.
11522 * math/w_scalbl.c: Likewise.
11523 * math/w_sqrt.c: Likewise.
11524 * math/w_sqrtf.c: Likewise.
11525 * math/w_sqrtl.c: Likewise.
11526 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11527 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11528 used.
11529 * math/math_private.h: Declare __kernel_standard_f.
11530 * math/w_cosh.c: Remove cruft and optimize a bit.
11531 * math/w_coshf.c: Likewise.
11532 * math/w_coshl.c: Likewise.
11533 * math/w_exp2.c: Likewise.
11534 * math/w_exp2f.c: Likewise.
11535 * math/w_exp2l.c: Likewise.
11536 * math/w_hypot.c: Likewise.
11537 * math/w_hypotf.c: Likewise.
11538 * math/w_hypotl.c: Likewise.
11539 * math/w_lgamma.c: Likewise.
11540 * math/w_lgamma_r.c: Likewise.
11541 * math/w_lgammaf.c: Likewise.
11542 * math/w_lgammaf_r.c: Likewise.
11543 * math/w_lgammal.c: Likewise.
11544 * math/w_lgammal_r.c: Likewise.
11545 * math/w_sinh.c: Likewise.
11546 * math/w_sinhf.c: Likewise.
11547 * math/w_sinhl.c: Likewise.
11548 * math/w_tgamma.c: Likewise.
11549 * math/w_tgammaf.c: Likewise.
11550 * math/w_tgammal.c: Likewise.
11551 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11552 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11553 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11554 Minor optimizations. Pretty printing. Remove cruft.
11555 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11556 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11557 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11558 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11559 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11560 * sysdeps/i386/fpu/e_asin.S: Likewise.
11561 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11562 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11563 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11564 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11565 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11566 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11567 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11568 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11569 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11570 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11571 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11572 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11573 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11574 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11575 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11576 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11577 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11578 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11579 * sysdeps/i386/fpu/e_log.S: Likewise.
11580 * sysdeps/i386/fpu/e_log10.S: Likewise.
11581 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11582 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11583 * sysdeps/i386/fpu/e_log2.S: Likewise.
11584 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11585 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11586 * sysdeps/i386/fpu/e_logf.S: Likewise.
11587 * sysdeps/i386/fpu/e_logl.S: Likewise.
11588 * sysdeps/i386/fpu/e_pow.S: Likewise.
11589 * sysdeps/i386/fpu/e_powf.S: Likewise.
11590 * sysdeps/i386/fpu/e_powl.S: Likewise.
11591 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11592 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11593 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11594 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11595 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11596 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11597 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11598 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11599 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11600 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11601 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11602 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11603 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11604 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11605 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11606 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11607 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11608 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11609 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11610 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11611 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11612 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11613 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11614 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11615 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11616 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11617 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11618 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11619 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11620 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11621 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11622 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11623 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11624 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11625 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11626 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11627 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11628 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11629 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11630 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11631 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11632 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11633 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11634 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11635 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11636 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11637 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11638 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11639 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11640 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11641 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11642 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11643 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11644 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11645 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11646 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11647 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11648 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11649 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11650 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11651 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11652 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11653 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11654 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11655 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11656 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11657 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11658 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11659 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11660 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11661 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11662 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11663 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11664 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11665 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11666 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11667 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11668 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11669 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11670 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11671 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11672 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11673 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11674 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11675 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11676 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11677 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11678 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11679 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11680 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11681 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11682 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11683 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11684 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11685 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11686 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11687 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11688 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11689 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11690 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11691 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11692 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11693 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11694 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11695 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11696 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11697 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11698 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11699 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11700 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11701 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11702 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11703 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11704 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11705 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11706 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11707 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11708 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11709 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11710 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11711 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11712 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11713 (__isnanf): Likewise.
11714 (__isinf_ns): Likewise.
11715 (__isinf_nsf): Likewise.
11716 (__finite): Likewise.
11717 (__finitef): Likewise.
11718 (__ieee754_sqrt): Define as macro.
11719 (__ieee754_sqrtf): Define as macro.
11720 (__ieee754_sqrtl): Define as macro.
11721 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11722 inlined copy.
11723 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11724 __FINITE_MATH_ONLY__ consistent.
11725 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11726
12cc2fcd
AS
117272011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11728
a843a204
AS
11729 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11730 of rawmemchr.
11731
12cc2fcd
AS
11732 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11733
c853acd5
UD
117342011-10-09 Ulrich Drepper <drepper@gmail.com>
11735
11736 * po/ja.po: Update from translation team.
11737
c658d255
RM
117382011-10-08 Roland McGrath <roland@hack.frob.com>
11739
110946e4
RM
11740 * locale/programs/locarchive.c (prepare_address_space): New function.
11741 (create_archive, enlarge_archive, open_archive): Use it.
11742
50604220
RM
11743 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11744 inside [SHARED], where it is used.
11745
c658d255
RM
11746 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11747
11748 * nss/getent.c (netgroup_keys): Remove unused variable.
11749 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11750
6a621eb7
UD
117512011-10-08 Ulrich Drepper <drepper@gmail.com>
11752
7edb55ce
UD
11753 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11754 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11755 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11756 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11757 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11758 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11759 * math/Makefile (libm-calls): Add s_isinf_ns.
11760 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11761 * math/multc3.c: Likewise.
11762 * math/s_casin.c: Likewise.
11763 * math/s_casinf.c: Likewise.
11764 * math/s_casinl.c: Likewise.
11765 * math/s_ccos.c: Likewise.
11766 * math/s_ccosf.c: Likewise.
11767 * math/s_ccosl.c: Likewise.
11768 * math/s_ctan.c: Likewise.
11769 * math/s_ctanf.c: Likewise.
11770 * math/s_ctanh.c: Likewise.
11771 * math/s_ctanhf.c: Likewise.
11772 * math/s_ctanhl.c: Likewise.
11773 * math/s_ctanl.c: Likewise.
11774 * math/w_fmod.c: Likewise.
11775 * math/w_fmodf.c: Likewise.
11776 * math/w_fmodl.c: Likewise.
11777 * math/w_remainder.c: Likewise.
11778 * math/w_remainderf.c: Likewise.
11779 * math/w_remainderl.c: Likewise.
11780 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11781 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11782 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11783 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11784 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11785 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11786 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11787 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11788
187da0ae
UD
11789 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11790 of the number.
11791 * stdio-common/printf_fphex.c: Likewise.
11792 * stdio-common/printf_size.c: Likewise.
11793
9277c064
UD
11794 * math/e_exp10.c: Include math_private.h using <...> not "...".
11795 * math/e_exp10f.c: Likewise.
11796 * math/e_exp10l.c: Likewise.
11797 * math/e_exp2l.c: Likewise.
11798 * math/e_j0l.c: Likewise.
11799 * math/e_j1l.c: Likewise.
11800 * math/e_jnl.c: Likewise.
11801 * math/e_lgammal_r.c: Likewise.
11802 * math/e_rem_pio2l.c: Likewise.
11803 * math/e_scalb.c: Likewise.
11804 * math/e_scalbf.c: Likewise.
11805 * math/e_scalbl.c: Likewise.
11806 * math/k_cosl.c: Likewise.
11807 * math/k_sinl.c: Likewise.
11808 * math/k_tanl.c: Likewise.
11809 * math/s_cacoshf.c: Likewise.
11810 * math/s_catan.c: Likewise.
11811 * math/s_catanf.c: Likewise.
11812 * math/s_catanh.c: Likewise.
11813 * math/s_catanhf.c: Likewise.
11814 * math/s_catanhl.c: Likewise.
11815 * math/s_catanl.c: Likewise.
11816 * math/s_ccosh.c: Likewise.
11817 * math/s_ccoshf.c: Likewise.
11818 * math/s_ccoshl.c: Likewise.
11819 * math/s_cexp.c: Likewise.
11820 * math/s_cexpf.c: Likewise.
11821 * math/s_cexpl.c: Likewise.
11822 * math/s_clog.c: Likewise.
11823 * math/s_clog10.c: Likewise.
11824 * math/s_clog10f.c: Likewise.
11825 * math/s_clog10l.c: Likewise.
11826 * math/s_clogf.c: Likewise.
11827 * math/s_clogl.c: Likewise.
11828 * math/s_csin.c: Likewise.
11829 * math/s_csinf.c: Likewise.
11830 * math/s_csinh.c: Likewise.
11831 * math/s_csinhf.c: Likewise.
11832 * math/s_csinhl.c: Likewise.
11833 * math/s_csinl.c: Likewise.
11834 * math/s_csqrt.c: Likewise.
11835 * math/s_csqrtf.c: Likewise.
11836 * math/s_csqrtl.c: Likewise.
11837 * math/s_ctan.c: Likewise.
11838 * math/s_ctanf.c: Likewise.
11839 * math/s_ctanh.c: Likewise.
11840 * math/s_ctanhf.c: Likewise.
11841 * math/s_ctanhl.c: Likewise.
11842 * math/s_ctanl.c: Likewise.
11843 * math/s_ldexp.c: Likewise.
11844 * math/s_ldexpf.c: Likewise.
11845 * math/s_ldexpl.c: Likewise.
11846 * math/s_significand.c: Likewise.
11847 * math/s_significandf.c: Likewise.
11848 * math/s_significandl.c: Likewise.
11849 * math/w_acos.c: Likewise.
11850 * math/w_acosf.c: Likewise.
11851 * math/w_acosh.c: Likewise.
11852 * math/w_acoshf.c: Likewise.
11853 * math/w_acoshl.c: Likewise.
11854 * math/w_acosl.c: Likewise.
11855 * math/w_asin.c: Likewise.
11856 * math/w_asinf.c: Likewise.
11857 * math/w_asinl.c: Likewise.
11858 * math/w_atan2.c: Likewise.
11859 * math/w_atan2f.c: Likewise.
11860 * math/w_atan2l.c: Likewise.
11861 * math/w_atanh.c: Likewise.
11862 * math/w_atanhf.c: Likewise.
11863 * math/w_atanhl.c: Likewise.
11864 * math/w_cosh.c: Likewise.
11865 * math/w_coshf.c: Likewise.
11866 * math/w_coshl.c: Likewise.
11867 * math/w_dremf.c: Likewise.
11868 * math/w_exp10.c: Likewise.
11869 * math/w_exp10f.c: Likewise.
11870 * math/w_exp10l.c: Likewise.
11871 * math/w_exp2.c: Likewise.
11872 * math/w_exp2f.c: Likewise.
11873 * math/w_fmod.c: Likewise.
11874 * math/w_fmodf.c: Likewise.
11875 * math/w_fmodl.c: Likewise.
11876 * math/w_hypot.c: Likewise.
11877 * math/w_hypotf.c: Likewise.
11878 * math/w_hypotl.c: Likewise.
11879 * math/w_j0.c: Likewise.
11880 * math/w_j0f.c: Likewise.
11881 * math/w_j0l.c: Likewise.
11882 * math/w_j1.c: Likewise.
11883 * math/w_j1f.c: Likewise.
11884 * math/w_j1l.c: Likewise.
11885 * math/w_jn.c: Likewise.
11886 * math/w_jnf.c: Likewise.
11887 * math/w_jnl.c: Likewise.
11888 * math/w_lgamma.c: Likewise.
11889 * math/w_lgamma_r.c: Likewise.
11890 * math/w_lgammaf.c: Likewise.
11891 * math/w_lgammaf_r.c: Likewise.
11892 * math/w_lgammal.c: Likewise.
11893 * math/w_lgammal_r.c: Likewise.
11894 * math/w_log.c: Likewise.
11895 * math/w_log10.c: Likewise.
11896 * math/w_log10f.c: Likewise.
11897 * math/w_log10l.c: Likewise.
11898 * math/w_log2.c: Likewise.
11899 * math/w_log2f.c: Likewise.
11900 * math/w_log2l.c: Likewise.
11901 * math/w_logf.c: Likewise.
11902 * math/w_logl.c: Likewise.
11903 * math/w_pow.c: Likewise.
11904 * math/w_powf.c: Likewise.
11905 * math/w_powl.c: Likewise.
11906 * math/w_remainder.c: Likewise.
11907 * math/w_remainderf.c: Likewise.
11908 * math/w_remainderl.c: Likewise.
11909 * math/w_scalb.c: Likewise.
11910 * math/w_scalbf.c: Likewise.
11911 * math/w_scalbl.c: Likewise.
11912 * math/w_sinh.c: Likewise.
11913 * math/w_sinhf.c: Likewise.
11914 * math/w_sinhl.c: Likewise.
11915 * math/w_sqrt.c: Likewise.
11916 * math/w_sqrtf.c: Likewise.
11917 * math/w_sqrtl.c: Likewise.
11918 * math/w_tgamma.c: Likewise.
11919 * math/w_tgammaf.c: Likewise.
11920 * math/w_tgammal.c: Likewise.
11921
6a621eb7
UD
11922 * po/ja.po: Update from translation team.
11923
bf582445
AJ
119242011-09-29 Andreas Jaeger <aj@suse.de>
11925
f9efbf3a
AJ
11926 [BZ #13179]
11927 * sunrpc/netname.c (netname2host): Fix logic.
11928
bf582445
AJ
11929 [BZ #6779]
11930 [BZ #6783]
11931 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11932 correctly.
11933 * math/w_remainder.c (__remainder): Likewise.
11934 * math/w_remainderf.c (__remainderf): Likewise.
11935 * math/libm-test.inc (remainder_test): Add test cases.
11936
48693bea
AK
119372011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11938
11939 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11940 sdiv_qrnnd.
11941
42622229
LD
119422011-10-07 Ulrich Drepper <drepper@gmail.com>
11943
11944 * string/test-memcmp.c: Avoid unncessary #defines.
11945 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11946
093ecf92
LD
119472011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11948
11949 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11950 Use new sse2 version for core i3 - i7 as it's faster
11951 than sse42 version.
11952 (bit_Prefer_PMINUB_for_stringop): New.
11953 * sysdeps/x86_64/rawmemchr.S: Update.
11954 Replace with faster SSE2 version.
11955 * sysdeps/x86_64/memrchr.S: New file.
11956 * sysdeps/x86_64/memchr.S: Update.
11957 Replace with faster SSE2 version.
11958
fde56e5c
MP
119592011-09-12 Marek Polacek <mpolacek@redhat.com>
11960
11961 * elf/dl-load.c (lose): Add cast to avoid warning.
11962
21fd49a9
UD
119632011-10-07 Ulrich Drepper <drepper@gmail.com>
11964
5a06e643
UD
11965 * po/ca.po: Update from translation team.
11966
684ae515
UD
11967 * inet/getnetgrent_r.c: Hook up nscd.
11968 * nscd/Makefile (routines): Add nscd_netgroup.
11969 (nscd-modules): Add netgroupcache.
11970 (CFLAGS-netgroupcache.c): Define.
11971 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11972 (cache_search): Add const to second parameter.
11973 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11974 INNETGR.
11975 (dbs): Add netgrdb entry.
11976 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11977 (verify_persistent_db): Handle netgrdb.
11978 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11979 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11980 GETFDNETGR.
11981 (netgroup_response_header): Define.
11982 (innetgroup_response_header): Define.
11983 (datahead): Add netgroup_response_header and innetgroup_response_header
11984 elements.
11985 * nscd/nscd.conf: Add entries for netgroup cache.
11986 * nscd/nscd.h (dbtype): Add netgrdb.
11987 (_PATH_NSCD_NETGROUP_DB): Define.
11988 (netgroup_iov_disabled): Declare.
11989 (xmalloc, xcalloc, xrealloc): Move declarations here.
11990 (cache_search): Adjust prototype.
11991 Add netgroup-related prototypes.
11992 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11993 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11994 (__nscd_innetgr): Declare.
11995 * nscd/selinux.c (perms): Use access_vector_t as element type and
11996 add netgroup-related initializers.
11997 * nscd/netgroupcache.c: New file.
11998 * nscd/nscd_netgroup.c: New file.
11999 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12000 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12001 For four parameters use innetgr.
12002 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12003 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12004 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12005 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12006
21fd49a9
UD
12007 * nscd/connections.c (register_traced_file): Don't register file
12008 for disabled databases.
12009
054c0457
UD
120102011-10-06 Ulrich Drepper <drepper@gmail.com>
12011
32b63198
UD
12012 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12013
054c0457
UD
12014 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12015 from tree and freeing node.
12016
64031225
JO
120172011-09-25 Jiri Olsa <jolsa@redhat.com>
12018
12019 * nss/nsswitch.c (__nss_database_lookup): Handle
12020 nss_parse_service_list out of memory case.
12021
0490345c
JO
120222011-09-15 Jiri Olsa <jolsa@redhat.com>
12023
12024 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12025 out of memory case.
12026
3a62d00d
AS
120272011-10-04 Andreas Schwab <schwab@redhat.com>
12028
12029 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12030 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12031 pass it down.
12032 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12033 elf_machine_rela, elf_machine_lazy_rel.
12034 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12035 (ELF_DYNAMIC_DO_REL): Likewise.
12036 (ELF_DYNAMIC_DO_RELA): Likewise.
12037 (ELF_DYNAMIC_RELOCATE): Likewise.
12038 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12039 to ELF_DYNAMIC_DO_REL.
12040 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12041 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12042 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12043 elf_machine_rela.
12044 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12045 skip_ifunc, don't call ifunc function if non-zero.
12046 (elf_machine_rela): Likewise.
12047 (elf_machine_lazy_rel): Likewise.
12048 (elf_machine_lazy_rela): Likewise.
12049 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12050 (elf_machine_lazy_rel): Likewise.
12051 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12052 Likewise.
12053 (elf_machine_lazy_rel): Likewise.
12054 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12055 Likewise.
12056 (elf_machine_lazy_rel): Likewise.
12057 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12058 (elf_machine_lazy_rel): Likewise.
12059 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12060 (elf_machine_lazy_rel): Likewise.
12061 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12062 (elf_machine_lazy_rel): Likewise.
12063 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12064 (elf_machine_lazy_rel): Likewise.
12065 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12066 (elf_machine_lazy_rel): Likewise.
12067 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12068 (elf_machine_lazy_rel): Likewise.
12069
68577918
UD
120702011-09-28 Ulrich Drepper <drepper@gmail.com>
12071
12072 * nss/nss_files/files-init.c (_nss_files_init): Use static
12073 initialization for all the *_traced_file variables.
12074
68822d74
AS
120752011-09-28 Andreas Schwab <schwab@redhat.com>
12076
12077 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12078
2056100b
RM
120792011-09-27 Roland McGrath <roland@hack.frob.com>
12080
12081 [BZ #13226]
12082 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12083
32c76b63
AS
120842011-09-27 Andreas Schwab <schwab@redhat.com>
12085
12086 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12087 Reread the line before reparsing it.
12088
bf972c9d
AS
120892011-09-26 Andreas Schwab <schwab@redhat.com>
12090
12091 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12092
e057a1b5
JM
120932011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12094 Maxim Kuvyrkov <maxim@codesourcery.com>
12095 Joseph Myers <joseph@codesourcery.com>
12096
12097 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12098 if needed for __stack_chk_guard.
12099
bc7e1c36
RM
121002011-09-19 Roland McGrath <roland@hack.frob.com>
12101
ecb1482f
RM
12102 * sysdeps/posix/spawni.c (script_execute): Always define it.
12103 It will be optimized away if unused.
12104 (maybe_script_execute): New function.
12105 (__spawni): Call it.
12106
bc7e1c36
RM
12107 * Makerules: Don't include tls.make.
12108 (config-tls): Always set to thread.
12109 * tls.make.c: File removed.
12110
1c3b002b
MF
121112011-09-19 Mike Frysinger <vapier@gentoo.org>
12112
12113 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12114 * config.make.in (CPPFLAGS-config): New substituted variable.
12115
2840865d
UD
121162011-09-15 Ulrich Drepper <drepper@gmail.com>
12117
88738eb6
UD
12118 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12119
cbf645a6 12120 [BZ #13192]
2840865d
UD
12121 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12122 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12123
b402e91a
RM
121242011-09-15 Roland McGrath <roland@hack.frob.com>
12125
12126 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12127 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12128 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12129 (CALL_FAIL): Likewise.
12130 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12131 (CALL_FAIL): Macro removed.
12132 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12133
4c1a1f71
UD
121342011-09-15 Ulrich Drepper <drepper@gmail.com>
12135
12136 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12137 for __FINITE_MATH_ONLY__ == 1.
12138
edc121be
AS
121392011-09-15 Andreas Schwab <schwab@redhat.com>
12140
12141 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12142 __ieee754_sqrt instead of sqrt.
12143 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12144 __ieee754_sqrtf instead of sqrtf.
12145 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12146 __floorf instead of floorf.
12147 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12148 __floorf, __truncf instead of floorf, truncf.
12149
cd205654
UD
121502011-09-14 Ulrich Drepper <drepper@gmail.com>
12151
ee4d0315
UD
12152 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12153
cd205654
UD
12154 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12155 __extern_always_inline.
12156 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12157 32-bit.
12158
48b67d71
AS
121592011-09-14 Andreas Schwab <schwab@redhat.com>
12160
12161 * elf/rtld.c (dl_main): Also relocate in dependency order when
12162 doing symbol dependency testing.
12163
1ae12c75
AS
121642011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12165
12166 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12167 Always define `refsym'.
12168
995a80df
AS
121692011-09-13 Andreas Schwab <schwab@redhat.com>
12170
e529793b
AS
12171 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12172 (__FD_ELT): Renamed from __FDELT.
12173 * misc/bits/select2.h (__FD_ELT): Likewise.
12174 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12175 __FD_MASK instead of __FDELT, __FDMASK.
12176 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12177 Likewise.
12178 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12179 Likewise.
12180
52d4fef8
AS
12181 * elf/Makefile (gen-ldd): Fix pattern.
12182
995a80df
AS
12183 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12184 (init_tls): Likewise.
12185
8682f8b0
UD
121862011-09-12 Ulrich Drepper <drepper@gmail.com>
12187
12188 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12189
de82006d
AS
121902011-09-12 Andreas Schwab <schwab@redhat.com>
12191
a7c8e6a1
AS
12192 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12193 `struct cmsghdr *' instead of `void *'.
12194 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12195 Likewise.
12196
0f31fe77
AS
121972011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12198
12199 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12200 if non-absolute.
12201 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12202 ldd_rewrite_script.
0f31fe77 12203
32b4c839
UD
122042011-09-11 Ulrich Drepper <drepper@gmail.com>
12205
83cd1420
UD
12206 * configure.in: Remove --with-tls option.
12207 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12208 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12209 out in case it is missing.
12210 * sysdeps/ia64/elf/configure.in: Likewise.
12211 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12212 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12213 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12214 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12215 * sysdeps/sh/elf/configure.in: Likewise.
12216 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12217 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12218 * sysdeps/x86_64/elf/configure.in: Likewise.
12219 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12220 * sysdeps/mach/hurd/tls.h: Likewise.
12221
633f745d
UD
12222 [BZ #13067]
12223 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12224
f318beb8
UD
12225 [BZ #13090]
12226 * configure.in: Fix use of AC_INIT.
12227
32b4c839
UD
12228 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12229
3ce1f295
UD
122302011-09-10 Ulrich Drepper <drepper@gmail.com>
12231
bb016596
UD
12232 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12233 __set_errno.
8e58439c
UD
12234 * malloc/hooks.c: Likewise.
12235
aebae053 12236 [BZ #11929]
02d46fc4
UD
12237 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12238 variables statically.
12239 (narenas): Initialize.
12240 (list_lock): Initialize.
bb016596
UD
12241 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12242 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12243 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12244 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12245 Add initializers to main_arena and mp_.
12246 (malloc_state): Remove pagesize member. Change all users to use
12247 GLRO(dl_pagesize).
12248
12249 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12250 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12251 is always initialized.
12252
22a89187
UD
12253 * malloc/malloc.c: Removed unused configurations and dead code.
12254 * malloc/arena.c: Likewise.
12255 * malloc/hooks.c: Likewise.
02d46fc4 12256 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12257
d063d164
UD
12258 * include/tls.h: Removed. USE___THREAD must always be defined.
12259 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12260 * elf/dl-libc.c: Likewise.
12261 * elf/dl-tsd.c: Likewise.
12262 * include/errno.h: Likewise.
12263 * include/netdb.h: Likewise.
12264 * include/resolv.h: Likewise.
12265 * inet/herrno-loc.c: Likewise.
12266 * inet/herrno.c: Likewise.
12267 * malloc/arena.c: Likewise.
12268 * malloc/hooks.c: Likewise.
12269 * malloc/malloc.c: Likewise.
12270 * resolv/res-state.c: Likewise.
12271 * resolv/res_libc.c: Likewise.
12272 * sysdeps/i386/dl-machine.h: Likewise.
12273 * sysdeps/ia64/dl-machine.h: Likewise.
12274 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12275 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12276 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12277 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12278 * sysdeps/sh/dl-machine.h: Likewise.
12279 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12280 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12281 * sysdeps/unix/i386/sysdep.S: Likewise.
12282 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12283 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12284 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12285 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12286 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12287 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12288 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12289 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12290 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12291 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12292 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12293 * sysdeps/x86_64/dl-machine.h: Likewise.
12294 * tls.make.c: Likewise.
12295
3ce1f295
UD
12296 * configure.in: Remove --with-__thread option. Make tests for
12297 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12298 tls_model attribute fail if no support is available. Remove
12299 USE_IN_LIBIO.
12300 * Makeconfig: Adjust for dropped configure option. All features are
12301 now mandatory.
12302 * Makerules: Likewise.
12303 * Versions.def: Likewise.
12304 * argp/argp-fmtstream.c: Likewise.
12305 * argp/argp-fmtstream.h: Likewise.
12306 * argp/argp-help.c: Likewise.
12307 * assert/assert.c: Likewise.
12308 * config.h.in: Likewise.
12309 * config.make.in: Likewise.
12310 * configure: Likewise.
12311 * configure.in: Likewise.
12312 * csu/Versions: Likewise.
12313 * csu/init.c: Likewise.
12314 * elf/tst-audit2.c: Likewise.
12315 * elf/tst-tls10.c: Likewise.
12316 * elf/tst-tls10.h: Likewise.
12317 * elf/tst-tls11.c: Likewise.
12318 * elf/tst-tls12.c: Likewise.
12319 * elf/tst-tls14.c: Likewise.
12320 * elf/tst-tlsmod11.c: Likewise.
12321 * elf/tst-tlsmod12.c: Likewise.
12322 * elf/tst-tlsmod13.c: Likewise.
12323 * elf/tst-tlsmod13a.c: Likewise.
12324 * elf/tst-tlsmod14a.c: Likewise.
12325 * elf/tst-tlsmod15b.c: Likewise.
12326 * elf/tst-tlsmod16a.c: Likewise.
12327 * elf/tst-tlsmod16b.c: Likewise.
12328 * elf/tst-tlsmod7.c: Likewise.
12329 * elf/tst-tlsmod8.c: Likewise.
12330 * elf/tst-tlsmod9.c: Likewise.
12331 * gmon/gmon.c: Likewise.
12332 * grp/fgetgrent_r.c: Likewise.
12333 * grp/putgrent.c: Likewise.
12334 * hurd/fopenport.c: Likewise.
12335 * include/libc-symbols.h: Likewise.
12336 * include/tls.h: Likewise.
12337 * intl/gettextP.h: Likewise.
12338 * intl/loadinfo.h: Likewise.
12339 * locale/global-locale.c: Likewise.
12340 * locale/localeinfo.h: Likewise.
12341 * mach/devstream.c: Likewise.
12342 * malloc/arena.c: Likewise.
12343 * malloc/set-freeres.c: Likewise.
12344 * misc/err.c: Likewise.
12345 * misc/getttyent.c: Likewise.
12346 * misc/mntent_r.c: Likewise.
12347 * posix/getopt.c: Likewise.
12348 * posix/wordexp.c: Likewise.
12349 * pwd/fgetpwent_r.c: Likewise.
12350 * resolv/Versions: Likewise.
12351 * resolv/res_hconf.c: Likewise.
12352 * shadow/fgetspent_r.c: Likewise.
12353 * shadow/putspent.c: Likewise.
12354 * stdio-common/printf_fphex.c: Likewise.
12355 * stdio-common/tmpfile.c: Likewise.
12356 * stdlib/abort.c: Likewise.
12357 * stdlib/fmtmsg.c: Likewise.
12358 * sunrpc/auth_unix.c: Likewise.
12359 * sunrpc/clnt_perr.c: Likewise.
12360 * sunrpc/clnt_tcp.c: Likewise.
12361 * sunrpc/clnt_udp.c: Likewise.
12362 * sunrpc/clnt_unix.c: Likewise.
12363 * sunrpc/openchild.c: Likewise.
12364 * sunrpc/svc_simple.c: Likewise.
12365 * sunrpc/svc_tcp.c: Likewise.
12366 * sunrpc/svc_udp.c: Likewise.
12367 * sunrpc/svc_unix.c: Likewise.
12368 * sunrpc/xdr.c: Likewise.
12369 * sunrpc/xdr_array.c: Likewise.
12370 * sunrpc/xdr_rec.c: Likewise.
12371 * sunrpc/xdr_ref.c: Likewise.
12372 * sunrpc/xdr_stdio.c: Likewise.
12373
1248c1c4
PB
123742011-09-09 Ulrich Drepper <drepper@gmail.com>
12375
12376 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12377
123782011-07-03 Andreas Jaeger <aj@suse.de>
12379
12380 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12381 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12382 regenerate with gen-libm-tests.pl.
12383
123842010-05-12 Petr Baudis <pasky@suse.cz>
12385
12386 [BZ #11589]
12387 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12388 around j0() zero points by switching to j1().
12389 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12390 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12391 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12392 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12393
f22e1074
UD
123942011-09-09 Ulrich Drepper <drepper@gmail.com>
12395
f19009c1
UD
12396 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12397 instead of 0.
12398 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12399 instead of 0. .
12400 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12401 Patch in part by Pavel Roskin <proski@gnu.org>.
12402
3f8cc204
UD
12403 [BZ #13138]
12404 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12405 realloc.
12406 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12407 Free memory block if necessary.
12408
f22e1074
UD
12409 [BZ #12847]
12410 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12411 be NULL. Don't lock in this case.
12412
0a2349f9
RM
124132011-09-09 Roland McGrath <roland@hack.frob.com>
12414
12415 * elf/elf.h (ELFOSABI_GNU): New macro.
12416 (ELFOSABI_LINUX): Define to that.
12417
f3cdd467
DZ
124182011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12419
12420 * string/strncat.c (strncat): Undef the symbol in case it has been
12421 defined in bits/string.h.
12422
74718d13
UD
124232011-09-09 Ulrich Drepper <drepper@gmail.com>
12424
633e9e0f
UD
12425 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12426
0a2349f9 12427 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12428 link map.
12429
f9924780
AJ
124302011-08-17 Andreas Jaeger <aj@suse.de>
12431
12432 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12433
7f5517aa
PP
124342011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12435 Ian Lance Taylor <iant@google.com>
12436
12437 * math/libm-test.inc (lround_test): New testcase.
12438 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12439
762011fe
UD
124402011-09-08 Ulrich Drepper <drepper@gmail.com>
12441
92963737
UD
12442 * Makefile: Remove support for automatic cvs check-ins.
12443 * Makerules: Likewise.
12444 * config.make.in: Likewise.
12445 * configure.in: Likewise.
12446 * intl/Makefile: Likewise.
12447 * locale/Makefile: Likewise.
12448 * po/Makefile: Likewise.
12449 * posix/Makefile: Likewise.
12450 * sysdeps/gnu/Makefile: Likewise.
12451 * sysdeps/mach/hurd/Makefile: Likewise.
12452 * sysdeps/sparc/sparc32/Makefile: Likewise.
12453
b0727fd8
JS
12454 [BZ #13118]
12455 * posix/Makefile (bug-regex32-ENV): Define.
12456 Patch by John Stanley <jpsinthemix@verizon.net>.
12457
a0f33f99
UD
12458 * misc/Makefile (headers): Add bits/select2.h.
12459 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12460 * misc/bits/select2.h: New file.
12461 * include/bits/select2.h: New file.
12462 * debug/Makefile (routines): Add fdelt_chk.
12463 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12464 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12465 FD_ISSET.
12466 * debug/fdelt_chk.c: New file.
12467
762011fe
UD
12468 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12469 * wcsmbs/test-wmemcmp.c: Likewise.
12470 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12471 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12472
124732011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12474
12475 * string/Makefile (strop-tests): Add memcmp.
12476 * string/test-wmemcmp.c: New file.
12477 * string/test-memcmp.c: Add wmemcmp support.
12478
7f513ec8
RM
124792011-09-08 Roland McGrath <roland@hack.frob.com>
12480
0442afb4
RM
12481 [BZ #13153]
12482 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12483 2011-07-19 change.
12484
7f513ec8
RM
12485 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12486 garbage value in a __mach_port_mod_refs call in the cases of the
12487 task-self and thread-self ports.
12488
a12b2239
ST
124892011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12490
12491 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12492
610f9ab4
AS
124932011-09-08 Andreas Schwab <schwab@redhat.com>
12494
7f513ec8 12495 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12496
48882a1a
LD
124972011-09-07 Ulrich Drepper <drepper@gmail.com>
12498
b49865be
UD
12499 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12500
fdc86bc9
UD
12501 * elf/dl-libc.c (dlerror_run): Pass back error code from
12502 dl_catch_error.
12503
c966526a
UD
12504 [BZ #13123]
12505 * elf/dl-load.c (lose): Free l_origin if it is valid.
12506
48882a1a
LD
12507 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12508 names.
12509 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12510 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12511 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12512 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12513 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12514 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12515
77a2a8b4
AZ
125162011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12517
12518 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12519 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12520 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12521 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12522 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12523 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12524 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12525 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12526 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12527 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12528
24f579d8
AM
125292011-08-15 Alan Modra <amodra@gmail.com>
12530
12531 [BZ #13092]
12532 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12533 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12534 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12535 ppc_mcount to static-only-routines.
12536 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12537 __mcount_internal.
12538 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12539 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12540
3d4837df
UD
125412011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12542
12543 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12544 for finite and infinity parameters.
12545
22700377
WS
125462011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12547
12548 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12549 and add nop instructions for throughput optimization.
12550 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12551
5025581e
WS
125522011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12553
12554 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12555 aligned copy for power7 with vector-scalar instructions.
12556 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12557
08a300c9
L
125582011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12559
12560 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12561 AVX check.
12562
59178ef9
AS
125632011-09-07 Andreas Schwab <schwab@redhat.com>
12564
12565 [BZ #13144]
12566 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12567 last change.
12568
e38ba7ab
UD
125692011-09-07 Ulrich Drepper <drepper@gmail.com>
12570
12571 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12572 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12573 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12574 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12575 clock_gettime.
12576
d53a73ac
UD
125772011-09-06 Ulrich Drepper <drepper@gmail.com>
12578
fc8bffcc
UD
12579 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12580 Forgot to demangle the pointer.
12581
ceaa0c5d
UD
12582 * sysdeps/i386/sysdep.h: Define atom_text_section.
12583 * sysdeps/x86_64/sysdep.h: Likewise.
12584 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12585 section with atom_text_section.
12586 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12587 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12588 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12589 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12590 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12591
a77d3c17
UD
12592 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12593 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12594 already be defined. Change to take two parameters and don't assign
12595 result to variable. Adjust all users.
12596 Define INTERNAL_GETTIME if not already defined.
12597 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12598 call.
12599 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12600 HAVE_CLOCK_GETTIME_VSYSCALL.
12601 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12602
d53a73ac
UD
12603 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12604 gettimeofday vsyscall, just use time.
12605
a8f84144
AS
126062011-09-06 Andreas Schwab <schwab@redhat.com>
12607
12608 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12609 <errno.h>.
12610
ef606249
UD
126112011-09-06 Ulrich Drepper <drepper@gmail.com>
12612
12613 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12614 syscall on x86-64.
12615 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12616 syscall.
12617 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12618 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12619 syscall if possible.
12620
6585cb60
UD
126212011-09-05 Ulrich Drepper <drepper@gmail.com>
12622
12623 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12624 e_ident. Don't pass to find_mapsXX.
12625 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12626
a5f524e4
LD
126272011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12628
12629 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12630 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12631 * sysdeps/x86_64/multiarch/strchr.S: Update.
12632 Check bit_slow_BSF bit.
12633 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12634 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12635 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12636
554881ef
UD
126372011-09-05 Ulrich Drepper <drepper@gmail.com>
12638
d96de963
UD
12639 [BZ #13134]
12640 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12641 before glibc 2.15.
12642 (tryshell): Define.
12643 (__spawni): Change last parameter to be flag. Test
12644 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12645 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12646 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12647 * posix/spawni.c: Likewise.
12648 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12649 * posix/spawnp.c: Likewise. Change normal version to use
12650 SPAWN_XFLAGS_USE_PATH.
12651 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12652 SPAWN_XFLAGS_TRY_SHELL.
12653
d48e5868
UD
12654 [BZ #13150]
12655 * posix/glob.h: Remove gcc 1.x support.
12656
554881ef
UD
12657 [BZ #13068]
12658 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12659
693fb948
LD
126602011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12661
12662 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12663 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12664 strrchr-sse2-bsf
12665 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12666 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12667 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12668 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12669 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12670 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12671
1b48c537
UD
126722011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12673
49d42c37
UD
12674 * sysdeps/x86_64/wcscmp.S: New file.
12675
1b48c537
UD
12676 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12677 wcscmp-c wcscmp-sse2
12678 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12679 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12680 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12681 * wcsmbs/wcscmp.c: Allow renaming.
12682
15c95c5d
DM
126832011-09-05 David S. Miller <davem@davemloft.net>
12684
12685 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12686 stack slot, rather than the struct return pointer slot.
12687 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12688 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12690 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12691
2f0ad8f3
UD
126922011-09-05 Ulrich Drepper <drepper@gmail.com>
12693
d88ae418
UD
12694 * po/ja.po: Update from translation team.
12695
2f0ad8f3
UD
12696 [BZ #13144]
12697 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12698 kernel in 64-bit binaries.
12699
5f4318d1
DM
127002011-09-01 David S. Miller <davem@davemloft.net>
12701
12702 * elf/elf.h (HWCAP_SPARC_*): Move to..
12703 * sysdeps/sparc/sysdep.h: this new file and add new values.
12704 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12705 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12706 _DL_HWCAP_COUNT to 24.
12707 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12708 entries.
12709 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12710 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12711 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12712 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12713 instead of magic constants.
12714 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12715
3ba57516
DM
127162011-08-31 David S. Miller <davem@davemloft.net>
12717
12718 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12719 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12720 Reimplement to do errno handling inline.
12721 (SYSCALL_ERROR_HANDLER): New macro.
12722 (__SYSCALL_STRING): Do not do errno handling in asm.
12723 (__CLONE_SYSCALL_STRING): Delete.
12724 (__INTERNAL_SYSCALL_STRING): Delete.
12725 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12726 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12727 (PSEUDO): Reimplement to do errno handling inline.
12728 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12729 (SYSCALL_ERROR_HANDLER): New macro.
12730 (__SYSCALL_STRING): Do not do errno handling in asm.
12731 (__CLONE_SYSCALL_STRING): Delete.
12732 (__INTERNAL_SYSCALL_STRING): Delete.
12733 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12734 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12735 i386.
12736 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12737 (inline_syscall*): Add 'err' argument.
12738 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12739 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12740 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12741 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12742
12743 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12744 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12745
2bc17433
AS
127462011-08-30 Andreas Schwab <schwab@redhat.com>
12747
12748 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12749
fbeb5f4d
JO
127502011-08-29 Jiri Olsa <jolsa@redhat.com>
12751
12752 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12753 directive.
12754
ad69cc26
DM
127552011-08-24 David S. Miller <davem@davemloft.net>
12756
12757 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12758
39dd69df
AS
127592011-08-24 Andreas Schwab <schwab@redhat.com>
12760
12761 * elf/Makefile: Add rules to build and run unload8 test.
12762 * elf/unload8.c: New file.
12763 * elf/unload8mod1.c: New file.
12764 * elf/unload8mod1x.c: New file.
12765 * elf/unload8mod2.c: New file.
12766 * elf/unload8mod3.c: New file.
12767
12768 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12769 it wasn't used.
12770
2c0b250a
DM
127712011-08-23 David S. Miller <davem@davemloft.net>
12772
12773 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12774 subtract stack bias.
12775 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12776 %sp not %fp in calculations.
12777 (_JMPBUF_UNWINDS_ADJ): Likewise.
12778
22044b48
DM
12779 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12780 (aio_suspend): Call it to force an exception region around the
12781 AIO_MISC_WAIT() invocation.
12782
2cae4995
AS
127832011-08-23 Andreas Schwab <schwab@redhat.com>
12784
12785 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12786 backslash.
12787
873a772e
AJ
127882011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12789
12790 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12791 protection macro.
12792 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12793 and <dl-machine.h>.
12794 (Elf64_FuncDesc): Remove.
12795
25ad0df1
DM
127962011-08-22 David S. Miller <davem@davemloft.net>
12797
12798 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12799 sigaltstack check, add missing cfi directives.
12800 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12801 missing cfi directives, and sigaltstack handling.
12802
e888bcbe
AS
128032011-08-16 Andreas Schwab <schwab@redhat.com>
12804
12805 [BZ #11724]
12806 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12807 object is seen twice.
12808 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12809
12810 * elf/Makefile (distribute): Add tst-initorder2.c.
12811 (tests): Add tst-initorder2.
12812 (modules-names): Add tst-initorder2a tst-initorder2b
12813 tst-initorder2c tst-initorder2d. Add rules to build them.
12814 ($(objpfx)tst-initorder2.out): New rule.
12815 * elf/tst-initorder2.c: New file.
12816 * elf/tst-initorder2.exp: New file.
12817
87162f46
AS
128182011-08-22 Andreas Schwab <schwab@redhat.com>
12819
70538b7f
AS
12820 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12821
f55ffe58
AS
12822 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12823 dependencies back to end of function.
12824
87162f46
AS
12825 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12826 $(elfobjdir)/ld.so.
12827
91b392a4
UD
128282011-08-21 Ulrich Drepper <drepper@gmail.com>
12829
12830 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12831 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12832 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12833 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12834 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12835 of __vdso_gettimeofday.
12836 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12837 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12838 attribute_hidden.
12839 (_libc_vdso_platform_setup): Remove initialization of
12840 __vdso_gettimeofday and __vdso_time.
12841
5c43483f
UD
128422011-08-20 Ulrich Drepper <drepper@gmail.com>
12843
775a77e7
UD
12844 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12845 and fgetc_unlocked.
12846 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12847 getc_unlocked.
89f447ed 12848
49c74ba9
UD
12849 * elf/dl-open.c (add_to_global): Report additions to the global scope
12850 for LD_DEBUG=scopes.
12851 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12852 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12853
5c43483f
UD
12854 [BZ #13114]
12855 * stdio-common/Makefile (tests): Add bug24.
12856 * stdio-common/bug24.c: New file.
12857
a101b025
AJ
128582011-08-19 Andreas Jaeger <aj@suse.de>
12859
12860 [BZ #13114]
12861 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12862 non-existant file when using close-on-exec mode.
12863
c88f1766
UD
128642011-08-20 Ulrich Drepper <drepper@gmail.com>
12865
0276a718
UD
12866 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12867 the very first instruction.
12868
c88f1766
UD
12869 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12870 the CFI state in the end.
12871 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12872 inclusion of dl-trampoline.h.
12873 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12874
51ccffa0
AS
128752011-08-19 Andreas Schwab <schwab@redhat.com>
12876
94d7165f
AS
12877 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12878 expectations for long double.
12879
51ccffa0
AS
12880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12881 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12882
fd708658 128832011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12884
12885 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12886 artificual limit depends upon the system page size.
12887
44f0a71e
UD
128882011-08-17 Ulrich Drepper <drepper@gmail.com>
12889
12890 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12891 * resolv/Makefile: Define CFLAGS-libresolv.
12892
8de79a24
AS
128932011-08-17 Andreas Schwab <schwab@redhat.com>
12894
12895 * nss/makedb.c (compute_tables): Make variables used in nested
12896 function static.
12897
27724598
UD
128982011-08-17 Ulrich Drepper <drepper@gmail.com>
12899
c5305d88
UD
12900 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12901 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12902 if buffer was too small.
12903
27724598
UD
12904 * elf/pldd.c (main): Attach to all threads in the process.
12905 Rewrite /proc handling to use *at functions.
12906
076fe015
UD
129072011-08-16 Ulrich Drepper <drepper@gmail.com>
12908
174baab3
UD
12909 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12910 specifies first scope to show.
12911 (dl_open_worker): Update callers. Move printing scope of new
12912 object to before the relocation.
44f0a71e 12913 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12914 * sysdeps/generic/ldsodefs.h: Update declaration.
12915
076fe015
UD
12916 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12917 string for the scope number.
12918
a60df2c3
UD
129192011-08-14 Ulrich Drepper <drepper@gmail.com>
12920
12921 * nscd/servicescache.c (cache_addserv): Make sure written is always
12922 initialized.
12923
5e4287d1
RM
129242011-08-14 Roland McGrath <roland@hack.frob.com>
12925
85ae0589
RM
12926 * sysdeps/i386/i486/bits/atomic.h
12927 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12928 statement expression, so as to suppress "set but not used" warning.
12929 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12930
69f63097
RM
12931 * string/strncat.c (STRNCAT): Use prototype definition.
12932
675456ef
RM
12933 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12934 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12935 -Iprograms here.
12936 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12937 (localedef-modules): Add localedef.
12938 (locale-modules): Add locale.
12939
5e4287d1
RM
12940 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12941 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12942 to avoid a warning.
12943
9c96ff23
DM
129442011-08-14 David S. Miller <davem@davemloft.net>
12945
12946 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12947 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12948
f9ddf089
UD
129492011-08-13 Ulrich Drepper <drepper@gmail.com>
12950
44f0a71e 12951 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12952 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12953 * elf/rtld.c (dl_main): Set l_name of vDSO.
12954 Call _dl_show_scope when DL_DEBUG_SCOPES.
12955 (process_dl_debug): Recognize scopes flag and also set it for all.
12956 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12957 Declare _dl_show_scope.
12958
1dc27704
UD
12959 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12960 (do_dlopen): Pass caller_dlopen to dl_open.
12961 (__libc_dlopen_mode): Initialize caller_dlopen.
12962
f9ddf089
UD
12963 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12964 of libc. Make tolower call locale-independent. Optimize a bit by
12965 using isdigit instead of isalnum.
12966 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12967
9ac533d3
UD
129682011-08-12 Ulrich Drepper <drepper@gmail.com>
12969
12970 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12971 was a dependency or dynamically loaded.
12972
89edf2e9
UD
129732011-08-11 Ulrich Drepper <drepper@gmail.com>
12974
8e999d29
UD
12975 * intl/l10nflist.c: Allow architecture-specific pop function.
12976 * sysdeps/x86_64/l10nflist.c: New file.
12977
89edf2e9
UD
12978 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12979 classification.
12980
14d96785
AS
129812011-08-10 Andreas Schwab <schwab@redhat.com>
12982
12983 * include/dirent.h: Add libc_hidden_proto for scandirat and
12984 scandirat64. Don't declare __scandirat64.
12985 * dirent/scandirat.c: Add libc_hidden_def.
12986 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12987 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12988
6761ac04
DM
129892011-08-10 David S. Miller <davem@davemloft.net>
12990
12991 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12992 enum.
12993 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12994 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12995 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12996
c55fbd1e
UD
129972011-08-09 Ulrich Drepper <drepper@gmail.com>
12998
12999 * Versions.def [libc]: Add GLIBC_2.15.
13000 * dirent/Makefile (routines): Add scandirat and scandirat64.
13001 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13002 GLIBC_2.15.
13003 * dirent/dirent.h: Declare scandirat and scandirat64.
13004 * dirent/scandirat.c: New file.
13005 * dirent/scandirat64.c: New file.
13006 * sysdeps/wordsize-64/scandirat.c: New file.
13007 * sysdeps/wordsize-64/scandirat64.c: New file.
13008 * dirent/opendir.c: Define opendirat.
13009 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13010 using scandirat.
13011 * dirent/scandir64.c: Adjust for scandir.c change.
13012 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13013 __scandirat64, and __scandir_cancel_handler.
13014 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13015 additional parameter and use openat instead of open (outside of ld.so).
13016 Add new __opendir as wrapper around __opendirat.
13017 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13018 here without requiring old scandirat implementation.
13019
879165f2
UD
130202011-08-08 Ulrich Drepper <drepper@gmail.com>
13021
13022 * dirent/scandir.c (cancel_handler): Renamed to
13023 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13024 defined. Adjust users.
13025 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13026 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13027
cb7e923b
UD
130282011-08-04 Ulrich Drepper <drepper@gmail.com>
13029
16292edd
UD
13030 * string/test-string.h (IMPL): Use __STRING to expand name and then
13031 stringify it.
13032
cb7e923b
UD
13033 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13034 of cleanups.
13035
cff82933
LD
130362011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13037
13038 * string/Makefile: Update.
13039 (strop-tests): Append strncat.
13040 * string/test-wcscmp.c: New file.
13041 New comprehensive test for wcscmp.
13042 * string/test-strcmp.c: Update.
13043 (WIDE): New define.
13044
9be9bfcc
AS
130452011-07-22 Andreas Schwab <schwab@redhat.com>
13046
13047 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13048 line.
13049
2e96f1c7
AS
130502011-07-26 Andreas Schwab <schwab@redhat.com>
13051
13052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13053 encoding to ACE if AI_IDN.
13054
85188888
JJ
130552011-08-01 Jakub Jelinek <jakub@redhat.com>
13056
13057 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13058 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13059
5fa16e9b
LD
130602011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13061
13062 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13063 Fix overflow bug in strncat.
13064 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13065
13066 * string/test-strncat.c: Update.
13067 Add new tests for checking overflow bugs.
13068
130692011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13070
13071 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13072 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13073 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13074 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13075 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13076 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13077 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13078 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13079 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13080
13081 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13082 (USE_AS_STRCAT): Define.
13083 Add strcat and strncat support.
13084 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13085
8c1a459f
AS
130862011-07-25 Andreas Schwab <schwab@redhat.com>
13087
13088 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13089 __n bigger than INT_MAX+1.
13090 (__strncmp_g): Likewise.
13091
bba33c28
UD
130922011-07-23 Ulrich Drepper <drepper@gmail.com>
13093
798be72d
UD
13094 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13095 * libio/stido.h: Likewise.
13096
8accd4dc
UD
13097 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13098 (AF_NFC): Define.
13099 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13100 (AF_NFC): Define.
13101
cbff0d96
UD
13102 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13103 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13104 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13105 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13106 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13107
9191c04a
UD
13108 [BZ #13021]
13109 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13110 installed.
13111
bba33c28
UD
13112 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13113 typo.
13114 (_dl_x86_64_save_sse): Likewise.
13115
90f139dd
UD
131162011-07-22 Ulrich Drepper <drepper@gmail.com>
13117
1aae088a
UD
13118 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13119 OSXSAVE.
13120 (_dl_x86_64_save_sse): Likewise.
13121
8e2045f5
UD
13122 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13123
90f139dd
UD
13124 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13125
1d002f25
AS
131262011-07-21 Andreas Schwab <schwab@redhat.com>
13127
13128 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13129 change.
13130 (_dl_x86_64_save_sse): Use correct AVX check.
13131
21137f89
UD
131322011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13133
13134 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13135 bug in strncpy/strncat.
13136 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13137
a65c0b7a
UD
131382011-07-21 Ulrich Drepper <drepper@gmail.com>
13139
13140 * string/tester.c (test_strcat): Add tests for different alignments
13141 of source and destination.
13142 (test_strncat): Likewise.
13143
6986b98a
UD
131442011-07-20 Ulrich Drepper <drepper@gmail.com>
13145
90bb2039
UD
13146 [BZ #12852]
13147 * posix/glob.c (glob): Check passed in values before using them in
13148 expressions to avoid some overflows.
13149 (glob_in_dir): Likewise.
13150
5644ef54
UD
13151 [BZ #13007]
13152 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13153 check for AVX enablement so that we don't crash with old kernels and
13154 new hardware.
13155 * elf/tst-audit4.c: Add same checks here.
13156 * elf/tst-audit6.c: Likewise.
13157
13158 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13159
bfc9dc9b
AS
131602011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13161
13162 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13163
702e64bb
UD
131642011-07-20 Ulrich Drepper <drepper@gmail.com>
13165
13166 * po/cs.po: Update from translation team.
13167 * po/bg.po: Likewise.
13168
295e904f
MP
131692011-07-12 Marek Polacek <mpolacek@redhat.com>
13170
13171 * misc/sys/cdefs.h: Add support for const attribute.
13172 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13173 to gnu_dev_{major,minor,makedev} functions.
13174
3ff94596
MP
131752011-07-20 Marek Polacek <mpolacek@redhat.com>
13176
13177 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13178
28b59fca
AS
131792011-07-20 Andreas Schwab <schwab@redhat.com>
13180
13181 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13182 strlen results.
13183
19df733e
AK
131842011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13185
13186 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13187 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13188 register in order to avoid conflicts with the soft frame pointer
13189 being held in r11 when necessary.
13190 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13191 (INTERNAL_VSYSCALL_NCS): Likewise.
13192
c8835729
MP
131932011-07-14 Marek Polacek <mpolacek@redhat.com>
13194
13195 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13196 * elf/dl-fini.c (_dl_fini): Adjust caller.
13197 * elf/dl-close.c (_dl_close_worker): Likewise.
13198 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13199
b902330c
MP
132002011-07-15 Marek Polacek <mpolacek@redhat.com>
13201
8991e135
MP
13202 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13203 "aux_cache->nlibs < 0".
13204
b902330c
MP
13205 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13206 in the reload-count case.
13207
99710781
LD
132082011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13209
13210 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13211 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13212 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13213 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13214 * sysdeps/x86_64/multiarch/strcat.S: New file.
13215 * sysdeps/x86_64/multiarch/strncat.S: New file.
13216 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13217 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13218 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13219 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13220 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13221 (USE_AS_STRCAT): Define.
13222 Add strcat and strncat support.
13223 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13224 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13225 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13226 * string/strncat.c: Update.
13227 (USE_AS_STRNCAT): Define.
13228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13229 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13230 and i7.
13231 * sysdeps/x86_64/multiarch/init-arch.h
13232 (bit_Prefer_PMINUB_for_stringop): New.
13233 (index_Prefer_PMINUB_for_stringop): Likewise.
13234 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13235 bit_Prefer_PMINUB_for_stringop.
13236
7dc6bd90
UD
132372011-07-19 Ulrich Drepper <drepper@gmail.com>
13238
13239 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13240 buffer64.
13241 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13242 of casting of buffer.
13243 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13244 buffer32 and buffer64.
13245 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13246 writes instead of casting of buffer.
13247 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13248 buffer32.
13249 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13250 casting of buffer.
13251
e0e72284
AS
132522011-07-19 Andreas Schwab <schwab@redhat.com>
13253
13254 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13255
feb1eb0b
UD
132562011-07-19 Ulrich Drepper <drepper@gmail.com>
13257
13258 * nscd/nscd.c (termination_handler): Don't do anything for a database
13259 if it has not yet been initialized.
13260
298711ff
UD
132612011-07-18 Ulrich Drepper <drepper@gmail.com>
13262
13263 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13264
132652011-07-15 Marek Polacek <mpolacek@redhat.com>
13266
13267 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13268
f9d68389
UD
132692011-07-18 Ulrich Drepper <drepper@gmail.com>
13270
13271 * po/nl.po: Update from translation team.
13272 * po/sv.po: Likewise.
13273
db290cf5
RM
132742011-07-16 Roland McGrath <roland@hack.frob.com>
13275
13276 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13277 now disallowed by GCC.
5c550700 13278
fd5e21c7
RM
13279 * configure.in (use-default-link): Default to yes if a test -shared
13280 link meets our qualifications.
13281 * configure: Regenerated.
13282
5c550700
RM
13283 * config.make.in (output-format): New variable.
13284 * configure.in: Check for ld --print-output-format support.
13285 * configure: Regenerated.
13286 * Makerules ($(common-objpfx)format.lds)
13287 [$(output-format) != unknown]: Just use $(output-format),
13288 instead of the linker-script munging.
13289
9fa2c032
RM
132902011-07-14 Roland McGrath <roland@hack.frob.com>
13291
a6928d51
RM
13292 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13293 of $(common-objpfx)shlib.lds.
13294 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13295
661607b3
RM
13296 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13297 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13298
9fa2c032
RM
13299 * configure.in (-z relro check): Adjust test code to add a large
13300 writable data section after it.
13301 * configure: Regenerated.
13302
defe9061
RM
133032011-07-11 Roland McGrath <roland@hack.frob.com>
13304
13305 * configure.in (-z relro check): Fix test code to make the variable
13306 truly const.
13307 * configure: Regenerated.
13308
319b9ad4
UD
133092011-07-11 Ulrich Drepper <drepper@gmail.com>
13310
13311 * nscd/nscd.h (struct traced_file): Define.
13312 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13313 elements. Add traced_files.
13314 (inotify_fd): Declare.
13315 (register_traced_file): Declare.
13316 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13317 (inotify_fd): Export.
13318 (resolv_conf_descr): Remove.
13319 (nscd_init): Move inotify descriptor creation to main.
13320 Don't register files for notification here.
13321 (register_traced_file): New function.
13322 (invalidate_cache): Don't use reset_res to determine whether to call
13323 res_init, go through the list of registered files.
13324 (main_loop_poll): The inotify descriptors are now stored in the
13325 structures for the traced files.
13326 (main_loop_epoll): Likewise
13327 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13328 to __nss_disable_nscd.
13329 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13330 for a database anymore. Check the records for all the registered
13331 files instead.
13332 * nss/Makefile (libnss_files-routines): Add files-init.
13333 (libnss_db-routines): Add db-init.
13334 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13335 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13336 * nss/nss_db/db-init.c: New file.
13337 * nss/nss_files/files-init.c: New file.
13338 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13339 __nss_lookup_function.
13340 (__nss_lookup_function): Call nss_load_library.
13341 (nss_load_all_libraries): New function.
13342 (__nss_disable_nscd): Take parameter with callback function for files
13343 to register. Set is_nscd. Load all the DSOs for the NSS modules
13344 used for the cached services.
13345 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13346 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13347 options for features to all the files in nscd.
13348
13349 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13350
23bee3e8
RM
133512011-07-10 Roland McGrath <roland@hack.frob.com>
13352
13353 * csu/elf-init.c (__libc_csu_init): Comment typo.
13354
46a5b7f0
UD
133552011-07-09 Ulrich Drepper <drepper@gmail.com>
13356
13357 * po/pl.po: Update from translation team.
13358 * po/ja.po: Likewise.
13359 * po/ru.po: Likewise.
13360 * po/ko.po: Likewise.
13361 * po/fr.po: Likewise.
13362
d30cf5bb
RM
133632011-07-09 Roland McGrath <roland@hack.frob.com>
13364
113ddea4
RM
13365 * configure.in (.ctors/.dtors header and trailer check):
13366 Use an empirical test on a built program.
13367 * configure: Regenerated.
13368
574920b4
RM
13369 * configure.in (-z relro check): Use an empirical test on a built DSO.
13370 Detect, but do not require, on ia64.
13371 * configure: Regenerated.
13372
d30cf5bb
RM
13373 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13374 Update tests that use readelf to use $READELF instead.
13375 * configure: Regenerated.
13376
8538fdb3
UD
133772011-07-08 Ulrich Drepper <drepper@gmail.com>
13378
13379 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13380 if the result is not used.
13381
04d08991
AJ
133822011-07-05 Andreas Jaeger <aj@suse.de>
13383
13384 [BZ#9696]
13385 * stdlib/tst-strtod.c: Add testcase.
13386
de283087
AD
133872011-07-07 Ulrich Drepper <drepper@gmail.com>
13388
4e5f31c8 13389 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13390 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13391 The latter has a higher limit. Take additional parameter to pass to
13392 the new function.
13393 (__pathconf): Pass file to __statfs_link_max.
13394 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13395 __statfs_link_max.
13396 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13397 __statfs_link_max.
13398
de283087
AD
13399 [BZ #12868]
13400 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13401 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13402 Handle Lustre.
13403 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13404 (__statfs_filesize_max): Likewise.
13405 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13406
c75fa153
AJ
134072011-07-05 Andreas Jaeger <aj@suse.de>
13408
13409 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13410
1a544854
UD
134112011-07-06 Marek Polacek <mpolacek@redhat.com>
13412
13413 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13414 `status' variable.
13415 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13416 Likewise.
13417
6f0eec67
UD
134182011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13419
13420 * Makefile (strop-tests): Add strncat.
13421 * string/test-strncat.c: New file.
13422
aae30307
UD
134232011-06-30 Marek Polacek <mpolacek@redhat.com>
13424
13425 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13426
c0cfb5eb
UD
134272011-06-21 Andreas Jaeger <aj@suse.de>
13428
13429 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13430 Copy rule from iconvdata/Makefile.
13431
01636b21
UD
134322011-07-06 Ulrich Drepper <drepper@gmail.com>
13433
13434 [BZ #12922]
13435 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13436 but no long options are defined, just return 'W'.
13437
9895c8bc
UD
134382011-06-22 Marek Polacek <mpolacek@redhat.com>
13439
13440 [BZ #9696]
13441 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13442
5d4cf042
UD
134432011-07-06 Ulrich Drepper <drepper@gmail.com>
13444
13445 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13446 netgroups to read.
960e5535 13447 (innetgr): Likewise.
5d4cf042 13448
751eb97e
RM
134492011-07-05 Roland McGrath <roland@hack.frob.com>
13450
13451 * config.make.in (install_root): Default to $(DESTDIR).
13452
f15f1e45
UD
134532011-07-05 Ulrich Drepper <drepper@gmail.com>
13454
13455 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13456
4e34ac6a
RM
134572011-07-02 Roland McGrath <roland@hack.frob.com>
13458
5e9b6af4
RM
13459 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13460
84f9ea0f
RM
13461 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13462 containing directory rather than embedding absolute directory names.
13463
ea5ee9f7
RM
13464 * scripts/check-local-headers.sh: Rewritten using awk.
13465 Match by word, not by line. Print error messages for matches.
13466 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13467
1b74661a
RM
13468 * Makerules [shlib-lds-flags empty]:
13469 ($(common-objpfx)libc_pic.opts): New target.
13470 ($(common-objpfx)libc_pic.os.clean): New target.
13471 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13472
13473 * config.make.in (OBJCOPY): New variable.
13474 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13475 * configure: Regenerated.
13476
f781ef40
RM
13477 * config.make.in (use-default-link): New variable.
13478 * configure.in (use_default_link): Grok --with-default-link to set it.
13479 * configure: Regenerated.
13480 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13481 (shlib-lds, shlib-lds-flags): Define to empty.
13482
2d4fa81e
RM
13483 * Makerules (shlib-lds): New variable.
13484 (shlib-lds-flags): New variable.
13485 (build-shlib, build-moduile, build-module-asneeded): Use it.
13486 ($(common-objpfx)libc.so): Use $(shlib-lds).
13487 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13488 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13489
31fffa6b
RM
13490 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13491 DT_FLAGS/DT_FLAGS_1 with zero flags.
13492
4e34ac6a
RM
13493 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13494 linker script munging.
13495
fcfc776b
UD
134962011-07-02 Ulrich Drepper <drepper@gmail.com>
13497
13498 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13499 as 128-bit value.
13500 * crypt/sha512.c (sha512_process_block): Perform total addition using
13501 128-bit if possible.
13502 (__sha512_finish_ctx): Likewise.
13503 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13504 as 64-bit value.
13505 * crypt/sha256.c (SWAP64): Define.
13506 (sha256_process_block): Perform total addition using 64-bit if
13507 possible.
13508 (__sha256_finish_ctx): Likewise.
13509
99231d9a
UD
135102011-07-01 Ulrich Drepper <drepper@gmail.com>
13511
13512 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13513 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13514 * nscd/hstcache.c (cache_addhst): Likewise.
13515 * nscd/grpcache.c (cache_addgr): Likewise.
13516 * nscd/aicache.c (addhstaiX): Likewise
13517 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13518
445b4a53
TK
135192011-07-01 Thorsten Kukuk <kukuk@suse.de>
13520
13521 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13522 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13523 * nscd/hstcache.c (cache_addhst): Likewise.
13524 * nscd/grpcache.c (cache_addgr): Likewise.
13525 * nscd/aicache.c (addhstaiX): Likewise
13526
6d4d8e8e
AS
135272011-07-01 Andreas Schwab <schwab@redhat.com>
13528
13529 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13530 domain only when needed.
13531
89f654c5
AS
135322011-06-30 Andreas Schwab <schwab@redhat.com>
13533
13534 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13535 is always restored.
13536
cf3b23ff
UD
135372011-06-29 Ulrich Drepper <drepper@gmail.com>
13538
13539 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13540 are re-adding the entry.
13541 * nscd/servicescache.c (cache_addserv): Likewise.
13542
751626f9
AJ
135432011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13544
13545 * sysdeps/generic/dl-irel.h: fix protection against multiple
13546 inclusions.
13547 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13548
9113ea1f
UD
135492011-06-28 Ulrich Drepper <drepper@gmail.com>
13550
5c0b8d90
UD
13551 [BZ #12935]
13552 * malloc/memusage.sh: Fix quoting in message.
13553 * debug/xtrace.sh: Likewise.
13554
9113ea1f
UD
13555 * configure.in: Remove support for --experimental-malloc option, make
13556 it the default.
13557 * config.make.in: Likewise.
13558 * malloc/Makefile: Likewise.
13559
a4172181
AS
135602011-06-27 Andreas Schwab <schwab@redhat.com>
13561
13562 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13563 two-byte characters.
13564
78a7eee7
RM
135652011-06-27 Roland McGrath <roland@hack.frob.com>
13566
62bede13
RM
13567 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13568 AC_CACHE_CHECK invocation.
13569 * configure: Regenerated.
13570
78a7eee7
RM
13571 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13572
5ce33a62
UD
135732011-06-27 Ulrich Drepper <drepper@gmail.com>
13574
034807a9
UD
13575 [BZ #12350]
13576 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13577 bit from old_res_options.
13578
4902da17
UD
13579 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13580
5ce33a62
UD
13581 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13582 value type for setfct.
13583
c2344f56
L
135842011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13585
13586 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13587 __gettimeofday instead of gettimeofday.
13588
68468076
UD
135892011-06-26 Ulrich Drepper <drepper@gmail.com>
13590
13591 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13592
acb0d739
L
135932011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13594
13595 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13596
13597 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13598 info.
13599
8912479f
L
136002011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13601
13602 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13603 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13604 strcpy-sse2-unaligned strncpy-sse2-unaligned
13605 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13606 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13607 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13608 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13609 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13610 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13611 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13612 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13613 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13614 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13615 (STRCPY): Support SSE2 and SSSE3 versions.
13616
d5495a11
UD
136172011-06-24 Ulrich Drepper <drepper@gmail.com>
13618
13619 [BZ #12874]
13620 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13621 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13622 kernels which artificially limit size of requests.
13623
0b1cbaae
L
136242011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13625
13626 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13627 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13628 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13629 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13630 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13631 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13632 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13633 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13634 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13635 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13636 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13637 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13638 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13639 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13640 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13642 Enable unaligned load optimization for Intel Core i3, i5 and i7
13643 processors.
13644 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13645 Define.
13646 (index_Fast_Unaligned_Load): Define.
13647 (HAS_FAST_UNALIGNED_LOAD): Define.
13648
07f494a0
MP
136492011-06-23 Marek Polacek <mpolacek@redhat.com>
13650
13651 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13652
fa3fc0fe
UD
136532011-06-22 Ulrich Drepper <drepper@gmail.com>
13654
13655 [BZ #12907]
13656 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13657 until it is clear that the information is realy needed.
13658 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13659
e12df166
AS
136602011-06-22 Andreas Schwab <schwab@redhat.com>
13661
13662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13663
852eb34d
UD
136642011-06-22 Ulrich Drepper <drepper@gmail.com>
13665
84e2a551
UD
13666 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13667 /sys/devices/system/cpu/online if it is usable.
13668
852eb34d
UD
13669 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13670 reading the information from the /proc filesystem to once a second.
13671
6e502e19
UD
136722011-06-21 Andreas Jaeger <aj@suse.de>
13673
13674 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13675 NULL after inclusion of kernel headers.
13676
75d39ff2
UD
136772011-06-21 Ulrich Drepper <drepper@gmail.com>
13678
51f9aa6a
UD
13679 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13680 calls to internal_setent.
13681
c0244a9d
UD
13682 [BZ #12885]
13683 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13684 addresses using gethostbyname4_r ignore IPv4 addresses.
13685
c5e3c2ae
UD
13686 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13687 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13688
75d39ff2
UD
13689 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13690
42675c6f
DM
136912011-06-20 David S. Miller <davem@davemloft.net>
13692
13693 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13694 inclusions.
13695 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13696
13697 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13698 (elf_irel): Use it.
13699 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13700 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13701 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13702 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13703 * sysdeps/x86_64/dl-irel.h: Likewise.
13704
13705 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13706 * elf/dl-sym.c: Likewise.
13707
57912a71
UD
137082011-06-15 Ulrich Drepper <drepper@gmail.com>
13709
13710 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13711 need to dereference resplen2.
13712
ee22793d
AS
137132011-06-14 Andreas Schwab <schwab@redhat.com>
13714
13715 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13716
a9e836b0
UD
137172011-06-15 Ulrich Drepper <drepper@gmail.com>
13718
77fb9117
UD
13719 * Makeconfig: Define vardbdir and inst_vardbdir.
13720 * nss/Makefile: Add rules to install db-Makefile.
13721
40c1b22c
UD
13722 * nss/nss_db/db-XXX.c: Cleanup.
13723
9f2da732
UD
13724 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13725 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13726 GLIBC_PRIVATE.
13727 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13728 * nss/makedb.c: Implement -g option to specify that value strings
13729 are generated and should not be added to table iterated over for
13730 get*ent calls.
13731 * nss/nss_db/db-initgroups.c: New file.
13732
82e9a1f7
UD
13733 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13734 interface.
13735
c41af17e
UD
13736 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13737 (internal_getgrouplist): Adjust to name change.
13738 Update use_initgroups_entry if this is not the first call.
13739 * nss/databases.def: Add initgroups entry.
13740
a9e836b0
UD
13741 * nss/makedb.c (compute_tables): Check result of multiple hash table
13742 sizes to minimize maximum chain length.
13743
2666d441
UD
137442011-06-14 Ulrich Drepper <drepper@gmail.com>
13745
13746 * Versions.def: Add entry for libnss_db.
13747 * shlib-versions: Likewise.
13748 * nss/Makefile: Add rules to build libnss_db.
13749 * nss/Versions: Add libnss_db information. Organize libnss_files
13750 entries better.
13751 * nss/db-Makefile: Add gshadow support. Change rules for the new
13752 makedb progra. Some minor improvements to generate smaller files.
13753 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13754 here from...
13755 * nss/makedb.c: ...here.
13756 Improve database format to be smaller and require less memory at
13757 runtime.
13758 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13759 db anymore.
13760 * nss/nss_db/db-netgrp.c: Likewise.
13761 * nss/nss_db/db-open.c: Likewise.
13762 * nss/nss_files/flies-XXX.x: Adjust comments.
13763 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13764 * nss/nss_files/files-grp.c: Likewise.
13765 * nss/nss_files/files-hosts.c: Likewise.
13766 * nss/nss_files/files-network.c: Likewise.
13767 * nss/nss_files/files-proto.c: Likewise.
13768 * nss/nss_files/files-pwd.c: Likewise.
13769 * nss/nss_files/files-rpc.c: Likewise.
13770 * nss/nss_files/files-service.c: Likewise.
13771 * nss/nss_files/files-sgrp.c: Likewise.
13772 * nss/nss_files/files-spwd.c: Likewise.
13773 * nss/nss_db/db-alias.c: Removed.
13774 * nss/nss_db/dummy-db.h: Removed.
13775
9ee76b5a
UD
137762011-06-02 Ulrich Drepper <drepper@gmail.com>
13777
13778 * nss/makedb.c: Rewritten to not use database library.
13779 * nss/Makefile: Update to build new makedb program.
13780
c71ca1f8
AJ
137812011-06-14 Andreas Jaeger <aj@suse.de>
13782
13783 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13784 memset declaration.
13785
3154bfb8
UD
137862011-06-10 Andreas Schwab <schwab@redhat.com>
13787
13788 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13789 tmpbuf.
13790
b350afab
RM
137912011-06-10 Roland McGrath <roland@hack.frob.com>
13792
decd4e50
RM
13793 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13794 * elf/Makefile ($(objpfx)ld.so): Likewise.
13795
5615eaf2
RM
13796 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13797 Don't list ld.so twice in dependencies.
13798
13799 * posix/bug-regex31.c: Include <stdlib.h>.
13800
13801 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13802
13803 * nis/nss_compat/compat-spwd.c
13804 (getspent_next_nss_netgr): Remove unused variable.
13805 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13806
13807 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13808 nonmembers" output to use the right array.
13809
13810 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13811
13812 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13813
13814 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13815 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13816 * catgets/gencat.c (read_input_file): Likewise.
13817 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13818
13819 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13820 variable definition inside #if's controlling its use.
13821
13822 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13823
13824 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13825
13826 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13827
13828 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13829 unreachable code.
13830
13831 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13832
b68e08db
RM
13833 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13834 * configure: Regenerated.
13835
b350afab
RM
13836 * Makerules: Revert last change.
13837 * elf/Makefile: Likewise.
13838
28368601
RM
138392011-06-09 Roland McGrath <roland@hack.frob.com>
13840
13841 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13842 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13843 (reloc-link): Likewise.
13844
11988f8f
UD
138452011-06-09 Ulrich Drepper <drepper@gmail.com>
13846
13847 * elf/Makefile: Add rules to build pldd.
13848 * elf/pldd.c: New file.
13849 * elf/pldd-xx.c: New file.
13850
e80fab37
UD
138512011-06-07 Ulrich Drepper <drepper@gmail.com>
13852
13853 * version.h: Update for 2.15 development version.
13854
9b849836
DM
138552011-06-07 David S. Miller <davem@davemloft.net>
13856
13857 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13858 ifuncs.
13859 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13860 elf_machine_lazy_rel): Likewise.
13861 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13862 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13863 elf_machine_lazy_rel): Likewise.
13864 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13865 dl_hwcap via passed in argument.
13866 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13867 Likewise.
13868
5a31b283
AK
138692011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13870
13871 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13872
069e52f8
RM
138732011-06-06 Roland McGrath <roland@hack.frob.com>
13874
13875 [BZ #12849]
13876 * manual/fdl-1.1.texi: New file, verbatim from:
13877 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13878 * manual/lgpl-2.1.texi: New file, verbatim from:
13879 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13880 * manual/Makefile (licenses): New variable, list those new file names.
13881 (texis): Use it.
13882 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13883
13884 * manual/fdl.texi: File removed.
13885 * manual/lesser.texi: File removed.
13886 * manual/libc.texinfo (Copying, Documentation License):
13887 Use new @include file names, put @appendix directive before @include.
13888
f16846a5
JJ
138892011-06-04 Jakub Jelinek <jakub@redhat.com>
13890
13891 [BZ #12841]
13892 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13893 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13894 (mq_open): Add __NTH.
13895
3d29045b
L
138962011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13897
13898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13899 Assume Intel Core i3/i5/i7 processor if AVX is available.
13900
8c297311
UD
139012011-05-31 Ulrich Drepper <drepper@gmail.com>
13902
13903 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13904 typo.
13905
c8fc0c91
UD
139062011-05-31 Andreas Schwab <schwab@redhat.com>
13907
13908 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13909 memory. Use alloca_account. Fix memory leak when retrying.
13910
5b27a807
UD
139112011-05-31 Ulrich Drepper <drepper@gmail.com>
13912
356f8bc6
UD
13913 * version.h (RELEASE): Bump for 2.14 release.
13914 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13915
5b27a807
UD
13916 * config.make.in (RANLIB): Remove entry.
13917
01f16ab0
UD
139182011-05-30 Ulrich Drepper <drepper@gmail.com>
13919
41fce8bd
UD
13920 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13921 (libc.pot): Work around missing support for .ksh extension in xgettext.
13922
4769ae77
UD
13923 [BZ #12684]
13924 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13925 if both request failed.
13926 (send_dg): In case of server errors clear resplen or *resplen2.
13927
6b1e7d19
UD
13928 [BZ #12454]
13929 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13930 when there are multiple maps.
13931 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13932 (_dl_fini): Remove test here.
13933
01f16ab0
UD
13934 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13935
b1ebd700
UD
139362011-05-29 Ulrich Drepper <drepper@gmail.com>
13937
7ae22829
UD
13938 [BZ #12350]
13939 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13940 bit from old_res_options.
13941 (gaih_inet): Likewise.
13942
553149f6 13943 [BZ #11099]
18a84741 13944 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13945 as signed.
13946
652ffab1
UD
13947 * resolv/res_init.c (res_setoptions): Make the code more compact.
13948
16985fd0
UD
13949 [BZ #11558]
13950 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13951 set RES_USEVC.
13952
0464f746
UD
13953 [BZ #11634]
13954 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13955
7d17596c
UD
13956 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13957
cf6bbbd7
UD
13958 [BZ #11781]
13959 * malloc/malloc.h: Declare malloc hook variables as volatile.
13960
13f1ab36
UD
13961 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13962 in last patch.
13963
b1ebd700
UD
13964 [BZ #11799]
13965 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13966 raise in the comment.
80e2212d
UD
13967 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13968 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13969 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13970
ce67228d
UD
139712011-05-28 Ulrich Drepper <drepper@gmail.com>
13972
8887a920
UD
13973 [BZ #12811]
13974 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13975 grow the buffers more if it already has to be sufficient.
13976 (build_wcs_upper_buffer): Likewise.
13977 * posix/regexec.c (check_matching): Likewise.
13978 (clean_state_log_if_needed): Likewise.
13979 (extend_buffers): Don't enlarge buffers beyond size of the input
13980 buffer.
13981 Patches mostly by Emil Wojak <emil@wojak.eu>.
13982 * posix/bug-regex32.c: New file.
13983 * posix/Makefile (tests): Add bug-regex32.
13984
4f031072
UD
13985 * locale/findlocale.c (_nl_find_locale): Return right away if
13986 _nl_explode_name failed.
13987 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13988
d0478f0c
UD
13989 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13990
de81b246
UD
13991 * debug/xtrace.sh: Unify messages.
13992 * malloc/memusage.sh: Likewise.
13993
c738465a
UD
13994 [BZ #12813]
13995 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13996 time symbol from vDSO. Substitute with vsyscall if not available.
13997 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13998 __vdso_time.
13999
f1f929d7
UD
14000 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14001 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14002 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14003 Add sendmmsg and internal_sendmmsg.
14004 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14005 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14006 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14007
ce67228d
UD
14008 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14009 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14010 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14011
e57420c6
UD
140122011-05-27 Ulrich Drepper <drepper@gmail.com>
14013
a8509ca5
UD
14014 [BZ #12813]
14015 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14016 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14017 available.
14018 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14019 __vdso_getcpu.
14020
e57420c6
UD
14021 [BZ #12814]
14022 * iconvdata/Makefile (tests): Add bug-iconv9.
14023 * iconvdata/bug-iconv9.c: New file.
14024
4d07db15
AS
140252011-05-27 Andreas Schwab <schwab@redhat.com>
14026
14027 [BZ #12814]
14028 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14029
ea486f69
JJ
140302011-05-25 Jakub Jelinek <jakub@redhat.com>
14031
14032 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14033 (struct user_regs_struct): Change intcs field back to cs.
14034
6f038433
UD
140352011-05-25 Ulrich Drepper <drepper@gmail.com>
14036
14037 * po/ja.po: Update from translation team.
14038
67f86a25
UD
140392011-05-23 Ulrich Drepper <drepper@gmail.com>
14040
14041 [BZ #12795]
14042 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14043 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14044
def7fbd6
AS
140452011-05-20 Andreas Schwab <schwab@redhat.com>
14046
14047 * stdlib/longlong.h: Update from GCC.
14048
f50ef8f1
AS
140492011-05-23 Andreas Schwab <schwab@redhat.com>
14050
14051 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14052 parameter name.
14053 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14054 Add parameter name.
14055 (__sysconf): Pass it down.
14056
de7ce8f1
UD
140572011-05-22 Ulrich Drepper <drepper@gmail.com>
14058
f2962a71
UD
14059 [BZ #12671]
14060 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14061 some situations.
14062 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14063 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14064 add in in __libc_use_alloca calls. Adjust callers.
14065 (glob): Use malloc in some situations.
14066
de7ce8f1
UD
14067 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14068 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14069 pltexit.
14070
aec84f53
UD
140712011-05-21 Ulrich Drepper <drepper@gmail.com>
14072
05bb4a68
UD
14073 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14074 and CLOCK_BOOTTIME_ALARM.
14075
7ea72f99
UD
14076 [BZ #12782]
14077 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14078 is returned.
14079
7e4afad5
UD
14080 * string/_strerror.c (__strerror_r): Print negative errors as signed
14081 numbers.
14082
8e211fec
UD
14083 [BZ #12777]
14084 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14085 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14086 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14087
f7d82dc9
UD
14088 * configure.in: Fix typo in redirection and correct removal of test
14089 files in two cases.
14090
cc9e536d
UD
14091 [BZ #12788]
14092 * locale/setlocale.c (new_composite_name): Fix test to check for
14093 identical name of all categories.
14094
aec84f53
UD
14095 [BZ #12792]
14096 * libio/filedoalloc.c (local_isatty): New function.
14097 (_IO_file_doallocate): Use local_isatty.
14098 * stdio-common/perror.c (perror): In case a new stream is used
14099 forward the stream error.
14100 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14101 error flag.
14102
78e64fdc
RT
141032011-05-20 Ulrich Drepper <drepper@gmail.com>
14104
34a9094f
UD
14105 [BZ #11869]
14106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14107 alloca.
14108 * include/alloca.h (extend_alloca_account): Define.
14109
78e64fdc
RT
14110 [BZ #11857]
14111 * posix/regex.h: Fix comments with documentation of user-accessible
14112 fields after compilation and describe correct free'ing of pattern
14113 after re_compile_pattern.
14114 Patch by Reuben Thomas <rrt@sc3d.org>.
14115
457bddfc
RA
141162011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14117
14118 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14119 and -mno-altivec to prevent the compiler from using Altivec and/or
14120 VSX instructions when the corresponding registers are not available.
14121
a4527b51
AS
141222011-05-19 Andreas Schwab <schwab@redhat.com>
14123
14124 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14125
ed690b2f
UD
141262011-05-19 Ulrich Drepper <drepper@gmail.com>
14127
14128 * libio/freopen.c (freopen): Use __dup2, not dup2.
14129 * libio/freopen64.c (freopen64): Likewise.
14130
8db73634
L
141312011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14132
14133 [BZ #12775]
14134 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14135 * math/Makefile (tests): Add test-powl.
14136 (CFLAGS-test-powl.c): Define.
14137 * math/test-powl.c: New file.
14138
0a197a9d
L
141392011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14140
14141 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14142
ee30c380
UD
141432011-05-17 Ulrich Drepper <drepper@gmail.com>
14144
14145 [BZ #11837]
14146 * iconvdata/gb18030.c: Update to GB18020-2005.
14147
6ce75379
UD
141482011-05-16 Ulrich Drepper <drepper@gmail.com>
14149
a4b89fd8
AR
14150 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14151 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14152 Patch by Aharon Robbins <arnold@skeeve.com>.
14153
ea389b12
UD
14154 [BZ #11892]
14155 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14156 on the stack.
14157
68a3f91f
UD
14158 [BZ #11895]
14159 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14160 through underflows.
14161
15cc7dd1
UD
14162 [BZ #12766]
14163 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14164 point to strings before performing equality test for error_one_per_line
14165 mode.
14166
f3799213
UD
14167 [BZ #11697]
14168 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14169
d79a9c94
UD
14170 [BZ #11820]
14171 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14172 (struct user_fpregs_struct): Avoid __uint*_t types.
14173
56e5eb46
UD
14174 [BZ #6420]
14175 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14176 symbol info. Use it instead of calling _dl_addr locally.
14177 (lock_and_info): New function.
14178 (tr_freehook): Call lock_and_info and pass symbol info as additional
14179 parameter to tr_where.
14180 (tr_mallochook): Likewise.
14181 (tr_reallochook): Likewise.
14182 (tr_memalignhook): Likewise.
14183
6ce75379
UD
14184 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14185 used and couldn't be at all thread-safe.
14186
f8a3b5bf
UD
141872011-05-15 Ulrich Drepper <drepper@gmail.com>
14188
94b7cc37
UD
14189 * libio/freopen.c (freopen): Don't close old file descriptor
14190 before the new one is opened. Instead dup the new file descriptor
14191 to the old one after the new stream is created.
14192 * libio/freopen64.c (freopen64): Likewise.
14193 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14194 * libio/fileops.c (_IO_new_file_close_it): Handle new
14195 _IO_FLAGS2_NOCLOSE flag.
14196 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14197 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14198 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14199 _IO_FLAGS2_NOCLOSE flag.
14200 * include/unistd.h: Add hidden_proto for dup3.
14201 Define __have_dup3.
14202 * io/dup3.c: Define hidden symbol.
14203 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14204
bd25564e
UD
14205 [BZ #7101]
14206 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14207 when an incomplete long option is used.
14208 * posix/tst-getopt_long1.c: New file.
14209 * posix/Makefile (tests): Add tst-getopt_long1.
14210
c84cfef4
UD
14211 [BZ #10138]
14212 * scripts/config.guess: Update from autoconf-2.68.
14213 * scripts/config.sub: Likewise.
14214
3b85df27
UD
14215 [BZ #10157]
14216 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14217 tests into ...
14218 (has_cpuclock): ...this. New function.
14219 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14220 macro here based on has_cpuclock code.
14221
15a856b1
UD
14222 [BZ #10149]
14223 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14224 First byte (not low byte) is now always NUL.
14225 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14226
05f399e6
UD
14227 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14228 Use non-cancelable interfaces.
14229
10a52685 14230 [BZ #9809]
94ecc67d
UD
14231 * locale/iso-639.def: Add entry for Sorani.
14232
f8a3b5bf
UD
14233 [BZ #11901]
14234 * include/stdlib.h: Move include protection to the right place.
14235 Define abort_msg_s. Declare __abort_msg with it.
14236 * stdlib/abort.c (__abort_msg): Adjust type.
14237 * assert/assert.c (__assert_fail_base): New function. Majority
14238 of code from __assert_fail. Allocate memory for __abort_msg with
14239 mmap.
14240 (__assert_fail): Now call __assert_fail_base.
14241 * assert/assert-perr.c: Remove bulk of implementation. Use
14242 __assert_fail_base.
14243 * include/assert.hL Declare __assert_fail_base.
14244 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14245 mmap.
14246 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14247
1af4e298
UD
142482011-05-14 Ulrich Drepper <drepper@gmail.com>
14249
f8a3b5bf 14250 [BZ #11952]
d26dfc60
MG
14251 [BZ #12453]
14252 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14253 until all modules are registered in the DTV.
14254 * elf/Makefile: Add rules to build and run tst-tls19.
14255 * elf/tst-tls19.c: New file.
14256 * elf/tst-tls19mod1.c: New file.
14257 * elf/tst-tls19mod2.c: New file.
14258 * elf/tst-tls19mod3.c: New file.
14259 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14260
2fc54d6f
UD
14261 [BZ #12083]
14262 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14263 correctly.
14264
98d76b46
UD
14265 [BZ #12601]
14266 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14267 two-byte sequence errors.
14268 * iconvdata/Makefile (tests): Add bug-iconv8.
14269 * iconvdata/bug-iconv8.c: New file.
14270
da3c19ef
UD
14271 [BZ #12626]
14272 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14273 buf2 definition.
14274
ca408c15
UD
14275 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14276
d6f67f7d
UD
14277 [BZ #12432]
14278 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14279 (dummy_getcfa): New function.
14280 (init): Get _Unwind_GetCFA address, use dummy if not found.
14281 (backtrace_helper): In recursion check, also check whether CFA changes.
14282 (__backtrace): Completely initialize arg.
14283
1af4e298 14284 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14285 storing incomplete byte sequence in state object. Avoid testing for
14286 guaranteed too small input if we know there is enough data available.
1af4e298 14287
da62f81b
AS
142882011-05-11 Andreas Schwab <schwab@redhat.com>
14289
14290 * Makeconfig (+link-pie): Indent.
14291 * Rules (binaries-pie): Define if $(have-fpie) and
14292 $(build-shared).
14293 (binaries-shared): Also filter out $(binaries-pie).
14294 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14295 * nscd/Makefile (others-pie): Add nscd.
14296 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14297 ($(objpfx)nscd): Remove command override.
14298 * login/Makefile (others-pie): Add pt_chown.
14299 ($(objpfx)pt_chown): Remove command override.
14300 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14301 remove command overrides.
14302
fcabc0f8
UD
143032011-05-13 Ulrich Drepper <drepper@gmail.com>
14304
20030ae6
UD
14305 * libio/tst_putwc.c: Fix error messages.
14306
fcabc0f8
UD
14307 [BZ #12724]
14308 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14309 currently writing and seek to current position when not.
14310 * libio/Makefile (tests): Add bug-fclose1.
14311 * libio/bug-fclose1.c: New file.
14312
320a5dc0
PB
143132011-05-12 Ulrich Drepper <drepper@gmail.com>
14314
14315 [BZ #12511]
14316 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14317 don't set DF_1_NODELETE here.
14318 (do_lookup_x): When entering new entry test for copy relocation
14319 and if necessary set DF_1_NODELETE flag.
14320 * elf/tst-unique4.cc: New file.
14321 * elf/tst-unique4.h: New file.
14322 * elf/tst-unique4lib.cc: New file.
14323 * elf/Makefile: Add rules to build and run tst-unique4.
14324 Patch by Piotr Bury <pbury@goahead.com>.
14325
22836f52
UD
143262011-05-11 Ulrich Drepper <drepper@gmail.com>
14327
f574184a
UD
14328 [BZ #12052]
14329 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14330
e1fb097f
UD
14331 [BZ #12625]
14332 * misc/mntent_r.c (addmntent): Flush the stream after the output
14333
22836f52
UD
14334 [BZ #12393]
14335 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14336 (is_trusted_path_normalize): Skip initial colon. Append slash
14337 to empty buffer. Duplicate is_trusted_path code but allow
14338 constructed patch to be prefix.
14339 (is_dst): Allow $ORIGIN followed by /.
14340 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14341 Correct testing of result of is_trusted_path_normalize
14342 (decompose_rpath): Fix warning.
14343
7b3b0b2a
UD
143442011-05-10 Ulrich Drepper <drepper@gmail.com>
14345
14346 [BZ #11257]
14347 * grp/initgroups.c (internal_getgrouplist): When we found the service
14348 list through the initgroups entry in nsswitch.conf do not always
14349 continue on a successful lookup. Don't always use the
eac80ce2 14350 __nss_group_database value if it is set.
7b3b0b2a
UD
14351 * nss/nsswitch.conf (initgroups): Change action for successful db
14352 lookup to continue for compatibility.
14353
2a81eaa5
UD
143542011-05-09 Ulrich Drepper <drepper@gmail.com>
14355
be97a69e
UD
14356 [BZ #11532]
14357 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14358 and CP774 modules.
14359 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14360 and CP774 modules.
14361 * iconvdata/tst-tables.sh: Likewise.
14362 * iconvdata/cp770.c: New file.
14363 * iconvdata/cp771.c: New file.
14364 * iconvdata/cp772.c: New file.
14365 * iconvdata/cp773.c: New file.
14366 * iconvdata/cp774.c: New file.
14367 * iconvdata/testdata/CP770: New file.
14368 * iconvdata/testdata/CP770..UTF8: New file.
14369 * iconvdata/testdata/CP771: New file.
14370 * iconvdata/testdata/CP771..UTF8: New file.
14371 * iconvdata/testdata/CP772: New file.
14372 * iconvdata/testdata/CP772..UTF8: New file.
14373 * iconvdata/testdata/CP773: New file.
14374 * iconvdata/testdata/CP773..UTF8: New file.
14375 * iconvdata/testdata/CP774: New file.
14376 * iconvdata/testdata/CP774..UTF8: New file.
14377
14378 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14379 END CHARMAP line.
14380 * iconvdata/gen-8bit-gap.sh: Likewise.
14381 * iconvdata/gen-8bit.sh: Likewise.
14382
c1e9e399
UD
14383 * locale/iso-639.def: Add ary entry.
14384
24c55fb3 14385 [BZ #11258]
96b4b1b0
UD
14386 * locale/C-translit.h.in: Add U20A1 transliteration.
14387
bdc2f971
KB
14388 [BZ #12178]
14389 * locale/iso-639.def: Add wae entry.
14390 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14391
2952b117
UD
14392 [BZ #12545]
14393 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14394 for n.
14395
2a81eaa5
UD
14396 [BZ #12711]
14397 * locale/C-translit.h.in: Add entry for U20B9.
14398 Patch by pravin.d.s@gmail.com.
14399
28377d1b
UD
144002011-05-08 Ulrich Drepper <drepper@gmail.com>
14401
7fb90fb8
UD
14402 [BZ #12713]
14403 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14404 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14405 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14406 in rtld. Use *stat64.
7fb90fb8 14407 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14408 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14409 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14410 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14411 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14412 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14413 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14414 __fstatat64 macros.
7fb90fb8
UD
14415 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14416 * dirent/rewinddir.c: Add libc_hidden_def.
14417 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14418 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14419
28377d1b
UD
14420 * include/dirent.h (__alloc_dir): Add flags parameter.
14421 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14422 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14423 __alloc_dir.
14424 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14425 from fdopendir if O_CLOEXEC is already set.
14426
66bdbaa4
AM
144272011-03-15 Alan Modra <amodra@gmail.com>
14428
14429 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14430 l_tls_firstbyte_offset non-zero. Save padding offset in
14431 l_tls_firstbyte_offset for later use.
14432 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14433 freeing static tls block.
14434
95721191
JN
144352011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14436
14437 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14438 where #ifdef was intended. The intent is to prevent ARG_MAX from
14439 being defined by the kernel headers.
14440
f87dfb1f
UD
144412011-05-07 Ulrich Drepper <drepper@gmail.com>
14442
14443 [BZ #12734]
14444 * resolv/resolv.h: Define RES_NOTLDQUERY.
14445 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14446 no-tld-query and set RES_NOTLDQUERY.
14447 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14448 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14449 modern BIND to search name as TLD unless forbidden.
14450
47c3cd7a
UD
144512011-05-07 Petr Baudis <pasky@suse.cz>
14452 Ulrich Drepper <drepper@gmail.com>
14453
14454 [BZ #12393]
14455 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14456 (is_trusted_path): ...to here.
c1e9ea35 14457 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14458 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14459 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14460
8a35c912
PP
144612011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14462
14463 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14464 __BEGIN/__END_DECLS.
14465
acd41f47
UD
144662011-05-06 Ulrich Drepper <drepper@gmail.com>
14467
14468 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14469 NSS_STATUS_NOTFOUND if no record was found.
14470
597df647
AS
144712011-05-05 Andreas Schwab <schwab@redhat.com>
14472
14473 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14474 (headers-not-in-tirpc): Remove rpc/netdb.h
14475 * resolv/netdb.h: Revert last change.
14476
b9af1301
PP
144772011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14478
14479 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14480 circular dependency between libgcc.a and libc.a.
14481
4e34d5f5
AS
144822011-05-05 Andreas Schwab <schwab@redhat.com>
14483
14484 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14485 * nis/Makefile: Don't install rpcsvc/*.
14486 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14487 instead of <rpc/types.h>.
14488 (MAXHOSTNAMELEN): Define.
14489
00ee369c
AS
144902011-05-03 Andreas Schwab <schwab@redhat.com>
14491
14492 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14493
0b592a30
MB
144942011-04-28 Maciej Babinski <mbabinski@google.com>
14495
14496 [BZ #12714]
14497 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14498 gethostbyname4_r when IPv6 results are possible.
14499
6e04cbbe
UD
145002011-05-02 Ulrich Drepper <drepper@gmail.com>
14501
14502 [BZ #12723]
14503 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14504 _PC_PIPE_BUF handling.
14505
e4ecafe0
BH
145062011-04-30 Bruno Haible <bruno@clisp.org>
14507
14508 [BZ #12717]
14509 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14510 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14511 to 'int'.
14512 * inet/getnameinfo.c (getnameinfo): Likewise.
14513
125ee683
UD
145142011-04-29 Ulrich Drepper <drepper@gmail.com>
14515
14516 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14517 to groups setting in database lookup.
14518 * nss/nsswitch.conf: Add initgroups entry.
14519
b722481a
EB
145202011-04-22 Ulrich Drepper <drepper@gmail.com>
14521
14522 [BZ #12685]
14523 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14524 mode string.
14525 Patch by Eric Blake <eblake@redhat.com>.
14526
4df46dbd
L
145272011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14528
14529 * sunrpc/Makefile (need-export-routines): Add svc_run.
14530 (routines): Remove svc_run.
14531 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14532 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14533 * sunrpc/svc_run.c (svc_run): Likewise.
14534 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14535
e84142d2
UD
145362011-04-21 Ulrich Drepper <drepper@gmail.com>
14537
14538 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14539 problem in reallocation in last patch.
14540
877175d8
UD
145412011-04-20 Ulrich Drepper <drepper@gmail.com>
14542
14543 * sunrpc/Makefile: Move inclusion of Rules.
14544
ab8eed78
UD
145452011-04-19 Ulrich Drepper <drepper@gmail.com>
14546
14547 * nss/nss_files/files-initgroups.c: New file.
14548 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14549 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14550 _nss_files_initgroups_dyn.
14551
e3d8f584
RS
145522011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14553
14554 * elf/elf.h (R_ARM_IRELATIVE): Define.
14555
af190f45
UD
145562011-04-19 Ulrich Drepper <drepper@gmail.com>
14557
14558 * po/ru.po: Update from translation team.
14559
53cf59ef
UD
145602011-04-17 Ulrich Drepper <drepper@gmail.com>
14561
14562 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14563 dependencies.
14564
4c559bcd
MF
145652011-02-06 Mike Frysinger <vapier@gentoo.org>
14566
14567 [BZ #12653]
14568 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14569 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14570 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14571 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14572 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14573
4420675c
AS
145742011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14575
14576 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14577 differing bytes.
14578 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14579 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14580 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14581
75ea32ab
UD
145822011-04-17 Ulrich Drepper <drepper@gmail.com>
14583
14584 [BZ #12420]
14585 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14586 storing it.
14587 * stdlib/bug-getcontext.c: New file.
14588 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14589
27390476
AK
145902011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14591
14592 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14593 instructions into .machine "z9-109".
14594 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14595 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14596
10442705
AK
145972011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14598
14599 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14600 between environment variables and auxiliary vector.
14601
7b57bfe5
UD
146022011-04-16 Ulrich Drepper <drepper@gmail.com>
14603
14604 * Makefile: Add rules to build linkobj/libc.so.
14605 * include/libc-symbols.h: Define libc_hidden_nolink.
14606 * include/rpc/auth.h: Mark functions which are to be hidden.
14607 * include/rpc/auth_des.h: Likewise.
14608 * include/rpc/auth_unix.h: Likewise.
14609 * include/rpc/clnt.h: Likewise.
14610 * include/rpc/des_crypt.h: Likewise.
14611 * include/rpc/key_prot.h: Likewise.
14612 * include/rpc/pmap_clnt.h: Likewise.
14613 * include/rpc/pmap_prot.h: Likewise.
14614 * include/rpc/pmap_rmt.h: Likewise.
14615 * include/rpc/rpc_msg.h: Likewise.
14616 * include/rpc/svc.h: Likewise.
14617 * include/rpc/svc_auth.h: Likewise.
14618 * include/rpc/xdr.h: Likewise.
14619 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14620 * nss/Makefile: Likewise.
14621 * sunrpc/Makefile: Don't install headers. Build library with normal
14622 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14623 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14624 for the compat linking library. Remove use of INTDEF/INTUSE.
14625 * sunrpc/auth_none.c: Likewise.
14626 * sunrpc/auth_unix.c: Likewise.
14627 * sunrpc/authdes_prot.c: Likewise.
14628 * sunrpc/authuxprot.c: Likewise.
14629 * sunrpc/clnt_gen.c: Likewise.
14630 * sunrpc/clnt_perr.c: Likewise.
14631 * sunrpc/clnt_raw.c: Likewise.
14632 * sunrpc/clnt_simp.c: Likewise.
14633 * sunrpc/clnt_tcp.c: Likewise.
14634 * sunrpc/clnt_udp.c: Likewise.
14635 * sunrpc/clnt_unix.c: Likewise.
14636 * sunrpc/des_crypt.c: Likewise.
14637 * sunrpc/des_soft.c: Likewise.
14638 * sunrpc/get_myaddr.c: Likewise.
14639 * sunrpc/key_call.c: Likewise.
14640 * sunrpc/key_prot.c: Likewise.
14641 * sunrpc/netname.c: Likewise.
14642 * sunrpc/pm_getmaps.c: Likewise.
14643 * sunrpc/pm_getport.c: Likewise.
14644 * sunrpc/pmap_clnt.c: Likewise.
14645 * sunrpc/pmap_prot.c: Likewise.
14646 * sunrpc/pmap_prot2.c: Likewise.
14647 * sunrpc/pmap_rmt.c: Likewise.
14648 * sunrpc/publickey.c: Likewise.
14649 * sunrpc/rpc_cmsg.c: Likewise.
14650 * sunrpc/rpc_common.c: Likewise.
14651 * sunrpc/rpc_dtable.c: Likewise.
14652 * sunrpc/rpc_prot.c: Likewise.
14653 * sunrpc/rpc_thread.c: Likewise.
14654 * sunrpc/rtime.c: Likewise.
14655 * sunrpc/svc.c: Likewise.
14656 * sunrpc/svc_auth.c: Likewise.
14657 * sunrpc/svc_authux.c: Likewise.
14658 * sunrpc/svc_raw.c: Likewise.
14659 * sunrpc/svc_run.c: Likewise.
14660 * sunrpc/svc_simple.c: Likewise.
14661 * sunrpc/svc_tcp.c: Likewise.
14662 * sunrpc/svc_udp.c: Likewise.
14663 * sunrpc/svc_unix.c: Likewise.
14664 * sunrpc/svcauth_des.c: Likewise.
14665 * sunrpc/xcrypt.c: Likewise.
14666 * sunrpc/xdr.c: Likewise.
14667 * sunrpc/xdr_array.c: Likewise.
14668 * sunrpc/xdr_float.c: Likewise.
14669 * sunrpc/xdr_intXX_t.c: Likewise.
14670 * sunrpc/xdr_mem.c: Likewise.
14671 * sunrpc/xdr_rec.c: Likewise.
14672 * sunrpc/xdr_ref.c: Likewise.
14673 * sunrpc/xdr_sizeof.c: Likewise.
14674 * sunrpc/xdr_stdio.c: Likewise.
14675
e6c61494
UD
146762011-04-10 Ulrich Drepper <drepper@gmail.com>
14677
14678 [BZ #12650]
14679 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14680 * sysdeps/ia64/dl-tls.h: Likewise.
14681 * sysdeps/powerpc/dl-tls.h: Likewise.
14682 * sysdeps/s390/dl-tls.h: Likewise.
14683 * sysdeps/sh/dl-tls.h: Likewise.
14684 * sysdeps/sparc/dl-tls.h: Likewise.
14685 * sysdeps/x86_64/dl-tls.h: Likewise.
14686 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14687
34fe483e
AS
146882011-03-14 Andreas Schwab <schwab@redhat.com>
14689
14690 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14691 rpath element also skip the following colon.
14692 (expand_dynamic_string_token): Add is_path parameter and pass
14693 down to DL_DST_REQUIRED and _dl_dst_substitute.
14694 (decompose_rpath): Call expand_dynamic_string_token with
14695 non-zero is_path. Ignore empty rpaths.
14696 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14697 with zero is_path.
14698
f12a32e6
AS
146992011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14700
14701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14702 Make cancelable.
14703
38a7d692
UD
147042011-04-09 Ulrich Drepper <drepper@gmail.com>
14705
14706 [BZ #12655]
14707 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14708 Patch by Filipe David Manana <fdmanana@apache.org>.
14709
e451d22b
AS
147102011-04-07 Andreas Schwab <schwab@redhat.com>
14711
14712 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14713 Maintain aligned stack.
14714 (CHECK_RSP): Remove unused macro.
14715
dedc7c7b
UD
147162011-04-03 Ulrich Drepper <drepper@gmail.com>
14717
14718 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14719 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14720
94521213
UD
147212011-04-02 Ulrich Drepper <drepper@gmail.com>
14722
14723 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14724
8cb700c0 14725 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14726
0354e355
L
147272011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14728
14729 [BZ #12518]
14730 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14731 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14732 * sysdeps/x86_64/memmove.c: New file.
14733 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14734 (memcpy): Renamed to ...
14735 (__new_memcpy): This.
14736 (memcpy): Provide GLIBC_2_14 memcpy.
14737 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14738 (memcpy): Provide GLIBC_2_2_5 memcpy.
14739
8593482f
UD
147402011-04-01 Ulrich Drepper <drepper@gmail.com>
14741
14742 [BZ #12631]
14743 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14744
81a5726b
AS
147452011-03-30 Andreas Schwab <schwab@redhat.com>
14746
14747 * misc/syncfs.c: New file.
14748 * misc/Makefile (routines): Add syncfs.
14749 * posix/unistd.h: Declare syncfs.
14750 * sysdeps/unix/syscalls.list: Add syncfs.
14751
00e5419f
AS
147522011-04-01 Andreas Schwab <schwab@redhat.com>
14753
14754 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14755 open_by_handle_at.
14756 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14757 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14758 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14759 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14761 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14762 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14763
748876bf
UD
147642011-04-01 Ulrich Drepper <drepper@gmail.com>
14765
658e451d
UD
14766 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14767 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14768 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14769 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14770 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14771 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14772 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14773
748876bf
UD
14774 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14775 sync_file_range.c with -fexceptions.
14776 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14777 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14778 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14779 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14780 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14781 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14782 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14783 sync_file_range as cancellation point
14784 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14785 now a wrapper around __call_sync_file_range with cancellation handling.
14786 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14787 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14788 function name to __call_sync_file_range.
14789 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14790 Add call_sync_file_range.
748876bf 14791
6e63d5e1
AS
147922011-04-01 Andreas Schwab <schwab@redhat.com>
14793
14794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14795 bits/timex.h.
6e63d5e1 14796
46998f74
UD
147972011-04-01 Ulrich Drepper <drepper@gmail.com>
14798
4c1423ed
UD
14799 * iconv/iconv.h: Fix typo in comment.
14800 * io/fcntl.h: Likewise.
14801 * libio/stdio.h: Likewise.
14802 * posix/spawn.h: Likewise.
14803 * posix/unistd.h: Likewise.
14804 * stdlib/stdlib.h: Likewise.
14805 * time/time.h: Likewise.
14806 * wcsmbs/wchar.h: Likewise.
14807
158648c0
UD
14808 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14809 open_by_handle): Add.
14810 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14811 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14812 Augment a few comments.
14813 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14814 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14815 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14816 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14817 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14818 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14819 open_by_handle.
14820
46998f74
UD
14821 * io/fcntl.h (AT_EMPTY_PATH): Define.
14822
83fe108b
UD
148232011-03-30 Ulrich Drepper <drepper@gmail.com>
14824
14825 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14826 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14827 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14828 to...
14829 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14830 * Versions.def: Add GLIBC_2.14.
14831 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14832 Export.
83fe108b 14833
bb242059
UD
148342011-03-22 Ulrich Drepper <drepper@gmail.com>
14835
14836 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14837 round counter.
14838 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14839
c97a1282
L
148402011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14841
14842 [BZ #12597]
14843 * string/test-strncmp.c (do_page_test): New function.
14844 (check2): Likewise.
14845 (test_main): Call check2.
14846 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14847
2a115601
UD
148482011-03-20 Ulrich Drepper <drepper@gmail.com>
14849
14850 [BZ #12587]
14851 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14852 Handle cache information in CPU leaf 4.
14853 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14854
8126d904
UD
148552011-03-18 Ulrich Drepper <drepper@gmail.com>
14856
042c49c6 14857 [BZ #12583]
8126d904
UD
14858 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14859 character representation.
14860 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14861
ccfe366e
RA
148622011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14863
14864 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14865 END(__isnan) to END(__isnanf) to match function entry point/label
14866 EALIGN(__isnanf,...).
14867
c6e13027
JJ
148682011-03-10 Jakub Jelinek <jakub@redhat.com>
14869
14870 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14871
33f85a3f
UD
148722011-03-10 Ulrich Drepper <drepper@gmail.com>
14873
028478fa
UD
14874 [BZ #12510]
14875 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14876 copy from the symbol referenced in the relocation to initialize the
14877 used variable.
14878 Patch by Piotr Bury <pbury@goahead.com>.
14879 * elf/Makefile: Add rules to build and tst-unique3.
14880 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14881 * elf/tst-unique3.cc: New file.
14882 * elf/tst-unique3.h: New file.
14883 * elf/tst-unique3lib.cc: New file.
14884 * elf/tst-unique3lib2.cc: New file.
14885
33f85a3f
UD
14886 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14887
03592fc7
MF
148882011-03-10 Mike Frysinger <vapier@gentoo.org>
14889
14890 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14891 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14892 to _start.
03592fc7 14893
6a5ee102
UD
148942011-03-06 Ulrich Drepper <drepper@gmail.com>
14895
14896 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14897 to-be-loaded object along a path to loader is ld.so.
14898
7e4ba49c
HJ
148992011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14900 Ulrich Drepper <drepper@gmail.com>
14901
14902 * sysdeps/x86_64/memset.S: After aligning destination, code
14903 branches to different locations depending on the value of
14904 misalignment, when multiarch is enabled. Fix this.
14905
149062011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14907
14908 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14909 Set _x86_64_preferred_memory_instruction for AMD processsors.
14910 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14911 Set bit_Prefer_SSE_for_memop for AMD processors.
14912
13a804de
UD
149132011-03-04 Ulrich Drepper <drepper@gmail.com>
14914
14915 * libio/fmemopen.c (fmemopen): Optimize a bit.
14916
9d25c392
AS
149172011-03-03 Andreas Schwab <schwab@redhat.com>
14918
14919 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14920
a5543c6a
RM
149212011-03-03 Roland McGrath <roland@redhat.com>
14922
14923 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14924
012d35f7
DM
149252011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14926
7e4ba49c 14927 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14928 __bzero_ultra1 instead of __memset_ultra1.
14929
4bff6e01
AS
149302011-02-23 Andreas Schwab <schwab@redhat.com>
14931 Ulrich Drepper <drepper@gmail.com>
14932
14933 [BZ #12509]
14934 * include/link.h (struct link_map): Add l_orig_initfini.
14935 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14936 returning unsuccessfully.
14937 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14938 close of a file loaded at startup, restore the original l_initfini
14939 list.
14940 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14941 list, store the pointer.
14942 * elf/Makefile ($(objpfx)noload-mem): New rule.
14943 (noload-ENV): Define.
14944 (tests): Add $(objpfx)noload-mem.
14945 * elf/noload.c: Include <memcheck.h>.
14946 (main): Call mtrace. Close all opened handles.
14947
f2092faf
AS
149482011-02-17 Andreas Schwab <schwab@redhat.com>
14949
14950 [BZ #12454]
14951 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14952 dependencies are missing.
14953
6c8a2e88
ST
149542011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14955
f2092faf 14956 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14957 Hurd needs munmap.
14958 * sysdeps/mach/hurd/ifreq.h: New file.
14959
84a42118
PB
149602011-01-27 Petr Baudis <pasky@suse.cz>
14961 Ulrich Drepper <drepper@gmail.com>
14962
071f805e 14963 [BZ 12445]#
84a42118
PB
14964 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14965 to extend_alloca().
14966 * stdio-common/bug23.c: New file.
14967 * stdio-common/Makefile (tests): Add bug23.
14968
e23fe25b
AS
149692010-09-28 Andreas Schwab <schwab@redhat.com>
14970 Ulrich Drepper <drepper@gmail.com>
14971
14972 [BZ #12489]
14973 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14974 before performing relro protection. At old place add assertion
14975 to make sure nothing changed.
14976
d3f02e10
NS
149772011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14978 Glauber de Oliveira Costa <glommer@gmail.com>
14979
14980 * elf/elf.h: Add new ARM TLS relocs.
14981
d55fd7a5
RA
149822011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14983
14984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14985 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14986 cast from r3.
14987 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14988 'tests' variable.
14989 * sysdeps/wordsize-64/tst-writev.c: New file.
14990
2206397e
RA
149912011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14992
14993 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14994 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14995 insns in _dl_start to prevent a TOC reference before relocs are
14996 resolved.
14997
e9433893
UD
149982011-02-15 Ulrich Drepper <drepper@gmail.com>
14999
15000 [BZ #12469]
15001 * Makeconfig: Remove RANLIB definition.
15002 * Makerules: Don't use RANLIB.
15003 * aclocal.m4: Remove ranlib test.
15004 * configure.in: No need to check for ranlib.
15005 * elf/rtld-Rules: Don't use RANLIB.
15006
f75286c6
ST
150072011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15008
8e31c82d
ST
15009 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15010 protection macro.
15011 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15012 inclusion protection macro.
15013
f75286c6
ST
15014 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15015 SIGRTMIN and SIGRTMAX and print information in that case only when
15016 SIGRTMIN is defined.
15017
c1d0e639
JJ
150182011-02-11 Jakub Jelinek <jakub@redhat.com>
15019
15020 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15021 arginfo fn returning -1.
15022
15023 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15024 and thousands string is zero terminated.
15025
edf9294e
AS
150262011-02-03 Andreas Schwab <schwab@redhat.com>
15027
15028 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15029 sysdeps/unix/sysv/linux/bits/socket.h.
15030
2b7e92df
ST
150312011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15032
edf9294e
AS
15033 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15034 (__CPU_COUNT): Remove old macros.
15035 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15036 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15037 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
15038 (__sched_cpualloc, __sched_cpufree): Add declarations.
15039
a4c7ea7b
UD
150402011-02-05 Ulrich Drepper <drepper@gmail.com>
15041
15042 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15043 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15044 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15045 (readdhstai): Return value of addhstaiX call.
15046 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15047 (addgrbyX): Return value returned by cache_addgr.
15048 (readdgrbyname): Return value returned by addgrbyX.
15049 (readdgrbygid): Likewise.
15050 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15051 (addpwbyX): Return value returned by cache_addpw.
15052 (readdpwbyname): Return value returned by addhstbyX.
15053 (readdpwbyuid): Likewise.
15054 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15055 (addservbyX): Return value returned by cache_addserv.
15056 (readdservbyname): Return value returned by addservbyX:
15057 (readdservbyport): Likewise.
15058 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15059 (addhstbyX): Return value returned by cache_addhst.
15060 (readdhstbyname): Return value returned by addhstbyX.
15061 (readdhstbyaddr): Likewise.
15062 (readdhstbynamev6): Likewise.
15063 (readdhstbyaddrv6): Likewise.
15064 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15065 (readdinitgroups): Return value returned by addinitgroupsX.
15066 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15067 (prune_cache): Keep track of timeout value of re-added entries.
15068 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15069 * nscd/nscd.h: Adjust prototypes of readd* functions.
15070
a0bf67cc
RM
150712011-02-04 Roland McGrath <roland@redhat.com>
15072
15073 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15074 (nis_stats): Likewise.
15075 * nis/nis_modify.c (nis_modify): Likewise.
15076 * nis/nis_remove.c (nis_remove): Likewise.
15077 * nis/nis_add.c (nis_add): Likewise.
15078
15079 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15080
15081 * posix/fnmatch_loop.c: Add some consts.
15082
15083 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15084
435b95eb
L
150852011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15086
15087 [BZ #12460]
15088 * config.make.in (config-cflags-novzeroupper): Define.
15089 * configure.in: Substitute libc_cv_cc_novzeroupper.
15090 * elf/Makefile (AVX-CFLAGS): Define.
15091 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15092 (CFLAGS-tst-auditmod4a.c): Likewise.
15093 (CFLAGS-tst-auditmod4b.c): Likewise.
15094 (CFLAGS-tst-auditmod6b.c): Likewise.
15095 (CFLAGS-tst-auditmod6c.c): Likewise.
15096 (CFLAGS-tst-auditmod7b.c): Likewise.
15097 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15098
8517b15e
UD
150992011-02-02 Ulrich Drepper <drepper@gmail.com>
15100
15101 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15102 function to the callback.
15103 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15104
10a656fe
AS
151052011-02-02 Andreas Schwab <schwab@redhat.com>
15106
15107 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15108 of errno.
15109
968dad0a
UD
151102011-01-19 Ulrich Drepper <drepper@gmail.com>
15111
9f94d2ea 15112 [BZ #11724]
968dad0a
UD
15113 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15114 of constructors.
15115 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15116 of destructors.
15117 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15118
15119 [BZ #11724]
15120 * elf/Makefile: Add rules to build and run new test.
15121 * elf/tst-initorder.c: New file.
15122 * elf/tst-initorder.exp: New file.
15123 * elf/tst-initordera1.c: New file.
15124 * elf/tst-initordera2.c: New file.
15125 * elf/tst-initordera3.c: New file.
15126 * elf/tst-initordera4.c: New file.
15127 * elf/tst-initorderb1.c: New file.
15128 * elf/tst-initorderb2.c: New file.
15129 * elf/tst-order-a1.c: New file.
15130 * elf/tst-order-a2.c: New file.
15131 * elf/tst-order-a3.c: New file.
15132 * elf/tst-order-a4.c: New file.
15133 * elf/tst-order-b1.c: New file.
15134 * elf/tst-order-b2.c: New file.
15135 * elf/tst-order-main.c: New file.
15136 New test case by George Gensure <werkt0@gmail.com>.
15137
86e92359
UD
151382010-10-01 Andreas Schwab <schwab@redhat.com>
15139
15140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15141 decoding ACE if AI_CANONIDN.
15142
5d5732b0
UD
151432011-01-18 Ulrich Drepper <drepper@gmail.com>
15144
15145 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15146
a77e8cbc
UD
151472011-01-17 Ulrich Drepper <drepper@gmail.com>
15148
6392473f
UD
15149 * version.h (RELEASE): Bump for 2.13 release.
15150 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15151
620a0529
UD
15152 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15153
18ba70a5
UD
15154 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15155 MADV_NOHUGEPAGE.
32465c3e
UD
15156 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15157 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15158 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15159 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15160 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15161 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15162
c0dafcf1
UD
15163 * posix/getconf.c: Update copyright year.
15164 * catgets/gencat.c: Likewise.
15165 * csu/version.c: Likewise.
15166 * debug/catchsegv.sh: Likewise.
15167 * debug/xtrace.sh: Likewise.
15168 * elf/ldconfig.c: Likewise.
15169 * elf/ldd.bash.in: Likewise.
15170 * elf/sprof.c (print_version): Likewise.
15171 * iconv/iconv_prog.c: Likewise.
15172 * iconv/iconvconfig.c: Likewise.
15173 * locale/programs/locale.c: Likewise.
15174 * locale/programs/localedef.c: Likewise.
15175 * malloc/memusage.sh: Likewise.
15176 * malloc/mtrace.pl: Likewise.
15177 * nscd/nscd.c (print_version): Likewise.
15178 * nss/getent.c: Likewise.
15179
a77e8cbc
UD
15180 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15181 PF_CAIF, and PF_ALG.
15182 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15183
77e8bddf
AS
151842011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15185
1f20b93a
AS
15186 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15187 (modules-names): Use them.
15188 (ifunc-test-modules, ifunc-pie-tests): Define.
15189 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15190 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15191 (test-extras): Likewise.
15192 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15193 $(compile-command.c).
15194 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15195 (all-built-dso): Define.
15196 (check-textrel.out, check-execstack.out): Depend on it.
15197
77e8bddf
AS
15198 * configure.in: Don't override --enable-multi-arch.
15199
bc425b33
UD
152002011-01-15 Ulrich Drepper <drepper@gmail.com>
15201
15202 [BZ #6812]
15203 * nscd/hstcache.c (tryagain): Define.
15204 (cache_addhst): Return tryagain not notfound for temporary errors.
15205 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15206 failed.
15207
794c3ad3
UD
152082011-01-14 Ulrich Drepper <drepper@gmail.com>
15209
70181fdd
UD
15210 [BZ #10563]
15211 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15212 to make the syscall.
15213 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15214
794c3ad3
UD
15215 [BZ #12378]
15216 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15217 and fall back to matching as normal character if the string ends before
15218 the matching ']' is found. This is what POSIX requires.
15219 * posix/testfnm.c: Adjust test result.
15220 * posix/globtest.sh: Adjust test result. Add new test.
15221 * posix/tst-fnmatch.input: Likewise.
15222 * posix/tst-fnmatch2.c: Add new test.
15223
68dc9497
AS
152242010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15225
15226 * elf/Makefile (check-execstack): Revert last change. Depend on
15227 check-execstack.h.
15228 (check-execstack.h): New target.
15229 (generated): Add check-execstack.h.
15230 * elf/check-execstack.c: Include "check-execstack.h".
15231 (main): Revert last change.
15232 (handle_file): Return zero if GNU_STACK is absent and
15233 DEFAULT_STACK_PERMS doesn't include PF_X.
15234
451f001b
UD
152352011-01-13 Ulrich Drepper <drepper@gmail.com>
15236
cfa28e56
UD
15237 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15238 in child fails because the descriptor is already closed.
8cf8ce17
UD
15239 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15240 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15241 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15242
1086d70d
UD
15243 [BZ #12397]
15244 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15245 syscall.
15246
451f001b
UD
15247 [BZ #10484]
15248 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15249 temporary buffer used to handle multi lookups locally.
a85b5cb4 15250 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15251
08769175
UD
152522011-01-12 Ulrich Drepper <drepper@gmail.com>
15253
15254 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15255 loader is ld.so.
15256
5e49c52e
UD
152572011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15258
15259 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15260 alignment for SSE2.
15261
60522a5f
UD
152622011-01-12 Ulrich Drepper <drepper@gmail.com>
15263
15264 [BZ #12394]
15265 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15266 characters. When rounding increased number of integer digits recompute
15267 number of groups.
15268 * stdio-common/tst-grouping.c: New file.
15269 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15270
f257bbd7
UD
152712011-01-09 Ulrich Drepper <drepper@gmail.com>
15272
15273 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15274 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15275
15276 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15277 void.
15278 * bits/select.h: Likewise.
15279
fa9c15cb
UD
152802011-01-08 Ulrich Drepper <drepper@gmail.com>
15281
15282 * po/ja.po: Update from translation team.
15283
16c2895f
DM
152842011-01-04 David S. Miller <davem@sunset.davemloft.net>
15285
15286 [BZ #11155]
15287 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15288 implementation just like for lxstat, fxstatat, et al.
15289
2543fef2
JM
152902010-12-27 Jim Meyering <meyering@redhat.com>
15291
15292 [BZ #12348]
15293 * posix/regexec.c (build_trtable): Return failure indication upon
15294 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15295
98727dbe
UD
152962010-12-25 Ulrich Drepper <drepper@gmail.com>
15297
5bd6dc5c
UD
15298 [BZ #12201]
15299 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15300 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15301 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15302 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15303
97983464
UD
15304 [BZ #12207]
15305 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15306
98727dbe
UD
15307 [BZ #12204]
15308 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15309 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15310
4a531bb0
L
153112010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15312
15313 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15314 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15315 script has SORT_BY_INIT_PRIORITY.
15316 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15317 NO_CTORS_DTORS_SECTIONS is defined.
15318 * elf/soinit.c: Likewise.
15319 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15320 NO_CTORS_DTORS_SECTIONS is defined.
15321 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15322 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15323 * sysdeps/sh/init-first.c: Likewise.
15324 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15325
07eb4b71
UD
153262010-12-24 Ulrich Drepper <drepper@gmail.com>
15327
15328 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15329 always use the slow path.
15330
30950a5f
RA
153312010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15332
15333 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15334 similar rule which adds the sysdep directories to the header search in
15335 order to pick up the correct platform stackinfo.h.
15336 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15337 perform test if it is, otherwise return successfully without testing.
15338 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15339 DEFAULT_STACK_PERMS define in stackinfo.h.
15340 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15341 defined in stackinfo.h.
15342 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15343 DEFAULT_STACK_PERMS defined in stackinfo.h.
15344 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15345 * sysdeps/ia64/stackinfo.h: Likewise.
15346 * sysdeps/s390/stackinfo.h: Likewise.
15347 * sysdeps/sh/stackinfo.h: Likewise.
15348 * sysdeps/sparc/stackinfo.h: Likewise.
15349 * sysdeps/x86_64/stackinfo.h: Likewise.
15350 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15351 PF_X for powerpc64. Retain PF_X for powerpc32.
15352
db753e2c
UD
153532010-12-19 Ulrich Drepper <drepper@gmail.com>
15354
14b697f7
UD
15355 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15356 accurately.
db753e2c
UD
15357 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15358 GETDENTS_64BIT_ALIGNED.
15359
28300719
UD
153602010-12-14 Ulrich Drepper <dreper@gmail.com>
15361
14b697f7 15362 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15363
4f197237
AS
153642010-12-10 Andreas Schwab <schwab@redhat.com>
15365
dbb0472f
AS
15366 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15367 _GNU_SOURCE.
15368
4f197237
AS
15369 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15370 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15371 Remove __restrict.
15372 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15373 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15374
fb88ac72
UD
153752010-12-09 Ulrich Drepper <drepper@gmail.com>
15376
15377 [BZ #11655]
15378 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15379 are initialized.
15380
42acbb92
JJ
153812010-12-09 Jakub Jelinek <jakub@redhat.com>
15382
15383 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15384
c038d98d
UD
153852010-12-03 Ulrich Drepper <drepper@gmail.com>
15386
15387 * po/it.po: Update from translation team.
15388
3a4a2499
L
153892010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15390
15391 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15392 unused codes.
15393
1e24cf6e
UD
153942010-11-30 Ulrich Drepper <drepper@gmail.com>
15395
15396 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15397
a7690819
AS
153982010-11-24 Andreas Schwab <schwab@redhat.com>
15399
15400 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15401 specially.
15402 (gaih_getanswer_slice): Likewise.
15403
3bf8d1b1
JJ
154042010-10-20 Jakub Jelinek <jakub@redhat.com>
15405
15406 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15407
6db52fbb
PB
154082010-05-31 Petr Baudis <pasky@suse.cz>
15409
15410 [BZ #11149]
15411 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15412 silently even in the chroot mode.
15413
eaca7569
UD
154142010-11-22 Ulrich Drepper <drepper@gmail.com>
15415
15416 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15417 last patch a bit. Pretty printing
15418
3056dcdb
UD
154192010-05-31 Petr Baudis <pasky@suse.cz>
15420
15421 [BZ #10085]
15422 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15423 initialization of skip_initgroups_dyn.
15424
cf7c9078
UD
154252010-11-19 Ulrich Drepper <drepper@gmail.com>
15426
15427 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15428 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15429
a1fb5e3e
UD
154302010-11-16 Ulrich Drepper <drepper@gmail.com>
15431
15432 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15433
3540d66b
AS
154342010-11-11 Andreas Schwab <schwab@redhat.com>
15435
15436 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15437 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15438 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15439 ($(objpfx)tst-fnmatch-mem): New rule.
15440 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15441 * posix/tst-fnmatch.c (main): Call mtrace.
15442
13b69574
L
154432010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15444
15445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15446 Support Intel processor model 6 and model 0x2c.
15447
da93d214
LM
154482010-11-10 Luis Machado <luisgpm@br.ibm.com>
15449
15450 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15451 signed comparison.
15452
8ca52c6e
L
154532010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15454
15455 [BZ #12205]
15456 * string/test-strncasecmp.c (check_result): New function.
15457 (do_one_test): Use it.
15458 (check1): New function.
15459 (test_main): Use it.
15460 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15461 Support strcasecmp and strncasecmp.
15462
69da074d
UD
154632010-11-08 Ulrich Drepper <drepper@gmail.com>
15464
15465 [BZ #12194]
15466 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15467 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15468
ff02d528
L
154692010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15470
15471 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15472 IFUNC support.
15473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15474 memset-x86-64.
15475 * sysdeps/x86_64/multiarch/bzero.S: New file.
15476 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15477 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15478 * sysdeps/x86_64/multiarch/memset.S: New file.
15479 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15480 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15481 Set bit_Prefer_SSE_for_memop for Intel processors.
15482 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15483 Define.
15484 (index_Prefer_SSE_for_memop): Define.
15485 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15486
344d0b54
LM
154872010-11-04 Luis Machado <luisgpm@br.ibm.com>
15488
15489 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15490 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15491
c0dde15b
UD
154922010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15493
15494 [BZ #12191]
15495 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15496 (__x86_64_raw_data_cache_size_half): Likewise.
15497 (__x86_64_raw_shared_cache_size): Likewise.
15498 (__x86_64_raw_shared_cache_size_half): Likewise.
15499
15500 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15501 (__x86_64_raw_data_cache_size_half): Likewise.
15502 (__x86_64_raw_shared_cache_size): Likewise.
15503 (__x86_64_raw_shared_cache_size_half): Likewise.
15504 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15505 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15506 and __x86_64_raw_shared_cache_size_half. Round
15507 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15508 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15509 to multiple of 256 bytes.
15510
0e516e0e
MS
155112010-11-03 Ulrich Drepper <drepper@gmail.com>
15512
15513 [BZ #12167]
15514 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15515 of inacessible symlinks. Verify result of symlink before returning it.
15516 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15517 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15518
0e012e87
ER
155192010-10-28 Erich Ritz <erichritz@gmail.com>
15520
15521 * math/math.h (isinf): Fix typo in comment.
15522
de0ff7bc
UD
155232010-11-01 Ulrich Drepper <drepper@gmail.com>
15524
15525 * po/da.po: Update from translation team.
15526
fa41c84d
UD
155272010-10-26 Ulrich Drepper <drepper@gmail.com>
15528
15529 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15530 is added to the list.
15531
f0967738
AK
155322010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15533 Ulrich Drepper <drepper@gmail.com>
15534
15535 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15536 the global list here. Move code to...
15537 (_dl_add_to_namespace_list): ...here. New function.
15538 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15539 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15540 * elf/dl-load.c (lose): Don't remove the element from the list.
15541 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15542 (_dl_map_object): Likewise.
15543
155442010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15545
15546 [BZ #12159]
15547 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15548 into all bytes of SSE register.
15549 Patch by Richard Li <richardpku@gmail.com>.
15550
f0967738 155512010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15552
15553 [BZ #12140]
15554 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15555 perturbing.
15556
d0b9e94f
MB
155572010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15558
15559 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15560 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15561 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15562 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15564 submachine.
15565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15566
8e9f92e9
AS
155672010-10-22 Andreas Schwab <schwab@redhat.com>
15568
15569 * include/dlfcn.h (__RTLD_SECURE): Define.
15570 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15571 mode & __RTLD_SECURE instead.
15572 (open_path): Rename preloaded parameter to secure.
15573 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15574 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15575 * elf/dl-deps.c (openaux): Likewise.
15576 * elf/rtld.c (struct map_args): Remove is_preloaded.
15577 (map_doit): Don't use it.
15578 (dl_main): Likewise.
15579 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15580 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15581
bc96fbda
AS
155822010-09-09 Andreas Schwab <schwab@redhat.com>
15583
15584 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15585 (sysd-rules-targets): Remove duplicates.
15586 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15587 rtld-%.$o dependency.
15588
22cd1c9b
AS
155892010-10-18 Andreas Schwab <schwab@redhat.com>
15590
15591 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15592 _dl_map_object do it.
15593
18edac48
UD
155942010-10-19 Ulrich Drepper <drepper@gmail.com>
15595
15596 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15597 fast fma builtins, define the macros in the C99 standard.
15598 (FP_FAST_FMAF): Likewise.
15599 (FP_FAST_FMAL): Likewise.
15600 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15601
15602 * bits/mathdef.h: Update copyright year.
15603 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15604
d2050124
MM
156052010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15606
15607 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15608 builtins, define the macros in the C99 standard.
15609 (FP_FAST_FMAF): Likewise.
15610 (FP_FAST_FMAL): Likewise.
15611 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15612 multiply/add.
15613 (FP_FAST_FMAF): Likewise.
15614
475facd1
JJ
156152010-10-15 Jakub Jelinek <jakub@redhat.com>
15616
15617 [BZ #3268]
15618 * math/libm-test.inc (fma_test): Some new testcases.
15619 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15620 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15621 y and infinite z. Do multiplication by C already in long double.
15622 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15623 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15624 y and infinite z. Do bitwise or of inexact bit into u.d.
15625 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15626 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15627 * sysdeps/i386/fpu/s_fma.S: Removed.
15628 * sysdeps/i386/fpu/s_fmal.S: Removed.
15629
7c08a05c
JJ
156302010-10-16 Jakub Jelinek <jakub@redhat.com>
15631
15632 [BZ #3268]
15633 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15634 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15635 computation is not scheduled after fetestexcept. Fix value
15636 of minimum denormal long double.
15637
f3f7372d
JJ
156382010-10-14 Jakub Jelinek <jakub@redhat.com>
15639
15640 [BZ #3268]
15641 * math/libm-test.inc (fma_test): Add some more tests.
15642 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15643 correctly.
15644
14d43591
AS
156452010-10-15 Andreas Schwab <schwab@redhat.com>
15646
15647 * scripts/data/localplt-s390-linux-gnu.data: New file.
15648 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15649
5e908464
JJ
156502010-10-13 Jakub Jelinek <jakub@redhat.com>
15651
15652 [BZ #3268]
15653 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15654 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15655 instead of dbl-64.
15656 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15657 inlines.
15658 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15659 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15660 if one of x and y is very large and the other is subnormal.
15661 * sysdeps/s390/fpu/s_fmaf.c: New file.
15662 * sysdeps/s390/fpu/s_fma.c: New file.
15663 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15664 * sysdeps/powerpc/fpu/s_fma.S: New file.
15665 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15666 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15667 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15668
156692010-10-12 Jakub Jelinek <jakub@redhat.com>
15670
15671 [BZ #3268]
15672 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15673 fma tests.
15674 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15675 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15676 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15677 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15678 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15679 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15680 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15681
b833d51f
UD
156822010-10-12 Ulrich Drepper <drepper@redhat.com>
15683
15684 [BZ #12078]
15685 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15686 * posix/bug-regex31.input: Add test case.
15687
1751705d
UD
156882010-10-11 Ulrich Drepper <drepper@gmail.com>
15689
e9b9cbf5
UD
15690 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15691 * posix/bug-regex31.input: New file.
15692
15693 [BZ #12078]
15694 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15695 (parse_sub_exp): Fix last change, use postorder.
15696
ef06edbe
UD
15697 * posix/bug-regex31.c: New file.
15698 * posix/Makefile: Add rules to build and run bug-regex31.
15699
a129c80d
UD
15700 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15701
15702 [BZ #12078]
15703 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15704
b76b818e
UD
15705 [BZ #12108]
15706 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15707 to have entries in sys_siglist.
15708
1751705d
UD
15709 [BZ #12093]
15710 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15711 be NULL.
15712
9ff8d36f
JJ
157132010-10-07 Jakub Jelinek <jakub@redhat.com>
15714
15715 [BZ #3268]
15716 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15717 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15718 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15719 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15720 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15721 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15722 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15723 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15724 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15725 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15726 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15727 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15728 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15729 * math/ftestexcept.c (fetestexcept): Likewise.
15730 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15731 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15732 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15733 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15734 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15735 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15736 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15737
af325969
UD
157382010-10-11 Ulrich Drepper <drepper@gmail.com>
15739
c579b202 15740 [BZ #12107]
af325969
UD
15741 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15742 newline.
15743
67a67b95
UD
157442010-10-06 Ulrich Drepper <drepper@gmail.com>
15745
15746 * string/bug-strstr1.c: New file.
15747 * string/Makefile: Add rules to build and run bug-strstr1.
15748
5fb308bc
EB
157492010-10-05 Eric Blake <eblake@redhat.com>
15750
15751 [BZ #12092]
15752 * string/str-two-way.h (two_way_long_needle): Always clear memory
15753 when skipping input due to the shift table.
15754
45db99c7
UD
157552010-10-03 Ulrich Drepper <drepper@gmail.com>
15756
3b111893
UD
15757 [BZ #12005]
15758 * malloc/mcheck.c: Handle large requests.
15759
45db99c7
UD
15760 [BZ #12077]
15761 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15762 for strncmp and strncasecmp.
15763 * string/stratcliff.c: Add tests for strcmp and strncmp.
15764 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15765
cf7a1eb8
NI
157662010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15767
15768 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15769 __set_fpscr.
15770
6484ba5e
AJ
157712010-09-30 Andreas Jaeger <aj@suse.de>
15772
15773 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15774 (CGROUP_SUPER_MAGIC): Define.
15775 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15776 Handle btrfs and cgroup file systems.
15777 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15778 Likewise.
15779
91c42559
LM
157802010-09-27 Luis Machado <luisgpm@br.ibm.com>
15781
15782 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15783 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15784
87a97932
AK
157852010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15786
15787 [BZ #12067]
15788 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15789 trying to locate the ELF header.
15790
c21cc9bc
AS
157912010-09-27 Andreas Schwab <schwab@redhat.com>
15792
15793 [BZ #11611]
15794 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15795 Mask out sign-bit copies when constructing f_fsid.
15796
315970f6
PB
157972010-09-24 Petr Baudis <pasky@suse.cz>
15798
15799 * debug/stack_chk_fail_local.c: Add missing licence exception.
15800 * debug/warning-nop.c: Likewise.
15801
1ac7a2c7
JM
158022010-09-15 Joseph Myers <joseph@codesourcery.com>
15803
15804 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15805 implementing getdents64 using getdents syscall, set d_type if
15806 __ASSUME_GETDENTS32_D_TYPE.
15807
56801c50
AS
158082010-09-16 Andreas Schwab <schwab@redhat.com>
15809
15810 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15811 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15812
dda51327
UD
158132010-09-21 Ulrich Drepper <drepper@redhat.com>
15814
15815 [BZ #12037]
15816 * posix/unistd.h: Undo change of feature selection for ftruncate from
15817 2010-01-11.
15818
8ffcee4a
UD
158192010-09-20 Ulrich Drepper <drepper@redhat.com>
15820
a545ecd9 15821 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15822 detection.
15823
e24f0a8b
AS
158242010-09-20 Andreas Schwab <schwab@redhat.com>
15825
15826 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15827 fanotify_mark.
15828 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15829
7291c56f
AS
158302010-09-14 Andreas Schwab <schwab@redhat.com>
15831
15832 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15833 variables after CHECK_SP call.
15834 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15835
bc5fb037
AS
158362010-09-13 Andreas Schwab <schwab@redhat.com>
15837 Ulrich Drepper <drepper@redhat.com>
15838
15839 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15840 re-relocationg ld.so.
15841 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15842 _dl_init_paths call.
15843 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15844 here anymore.
15845
e66e7419
UD
158462010-09-14 Ulrich Drepper <drepper@redhat.com>
15847
15848 * resolv/res_init.c (__res_vinit): Count the default server we added.
15849
c044aa75
CLT
158502010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15851 Ulrich Drepper <drepper@redhat.com>
15852
15853 [BZ #11968]
15854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15855 (____longjmp_chk): Use %ebx for saving value across system call.
15856 Add unwind info.
15857
32cf4069
AS
158582010-09-06 Andreas Schwab <schwab@redhat.com>
15859
15860 * manual/Makefile: Don't mix pattern rules with normal rules.
15861
817328ee
AS
158622010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15863
15864 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15865 operation.
15866 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15867 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15868 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15869 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15870 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15871 Likewise.
15872
29fddf61
UD
158732010-09-04 Ulrich Drepper <drepper@redhat.com>
15874
15875 [BZ #11979]
15876 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15877 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15878
0959ffc9
UD
158792010-09-02 Ulrich Drepper <drepper@redhat.com>
15880
15881 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15882 * sysdeps/x86_64/addmul_1.S: Likewise.
15883 * sysdeps/x86_64/lshift.S: Likewise.
15884 * sysdeps/x86_64/mul_1.S: Likewise.
15885 * sysdeps/x86_64/rshift.S: Likewise.
15886 * sysdeps/x86_64/sub_n.S: Likewise.
15887 * sysdeps/x86_64/submul_1.S: Likewise.
15888
ece29840
ST
158892010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15890
0959ffc9
UD
15891 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15892 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15893 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15894 * bits/sched.h [__need_schedparam]
ece29840 15895 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15896 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15897 (__defined_schedparam): Define to 1.
ece29840
ST
15898 (__sched_param): New structure, identical to sched_param.
15899 (__need_schedparam): Undefine.
15900
e53a31fe
MF
159012010-08-31 Mike Frysinger <vapier@gentoo.org>
15902
fdc0c10d
MF
15903 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15904 (epoll_create1): Declare.
15905
e53a31fe
MF
15906 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15907
a726d796
AS
159082010-08-31 Andreas Schwab <schwab@redhat.com>
15909
15910 [BZ #7066]
15911 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15912 shifting retval into place.
15913
2f3e3dc7
UD
159142010-09-01 Ulrich Drepper <drepper@redhat.com>
15915
f2933da9
UD
15916 * nis/rpcsvc/nis.h: Update copyright notice.
15917 * nis/rpcsvc/nis.x: Likewise.
15918 * nis/rpcsvc/nis_callback.h: Likewise.
15919 * nis/rpcsvc/nis_callback.x: Likewise.
15920 * nis/rpcsvc/nis_object.x: Likewise.
15921 * nis/rpcsvc/nis_tags.h: Likewise.
15922 * nis/rpcsvc/yp.h: Likewise.
15923 * nis/rpcsvc/yp.x: Likewise.
15924 * nis/rpcsvc/ypupd.h: Likewise.
15925 * nis/yp_xdr.c: Likewise.
15926 * nis/ypupdate_xdr.c: Likewise.
15927
2f3e3dc7
UD
15928 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15929 mainly the body of pmap_getport. Add parameters to specify timeouts.
15930 (pmap_getport): Use __libc_rpc_getport.
15931 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15932 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15933 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15934
f3dcc2f9
AS
159352010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15936
15937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15938 fanotify_mark.
15939
6d34eb5b
RM
159402010-08-27 Roland McGrath <roland@redhat.com>
15941
15942 * sysdeps/i386/i686/multiarch/Makefile
15943 (CFLAGS-varshift.c): New variable.
15944
9ea3de11
UD
159452010-08-27 Ulrich Drepper <drepper@redhat.com>
15946
c96d23fc
UD
15947 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15948 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15949
9ea3de11
UD
15950 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15951
15952 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15953
623aac7f
L
159542010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15955
15956 * sysdeps/x86_64/strlen.S: Unroll the loop.
15957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15958 strlen-sse2 strlen-sse2-bsf.
15959 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15960 __strlen_no_bsf if bit_Slow_BSF is set.
15961 (__strlen_sse42): Removed.
15962 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15963 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15964
8b2b7715
RM
159652010-08-25 Roland McGrath <roland@redhat.com>
15966
15967 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15968 * sysdeps/x86_64/multiarch/varshift.c: New file.
15969 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15970 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15971 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15972 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15973
e73015f2
L
159742010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15975
15976 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15977 strlen-sse2 strlen-sse2-bsf.
15978 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15979 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15980 (__strlen_sse2): Removed.
15981 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15982 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15983 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15984 bit_Slow_BSF for Atom.
15985 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15986 (index_Slow_BSF): Define.
15987 (HAS_SLOW_BSF): Define.
15988
df24a73e
UD
159892010-08-25 Ulrich Drepper <drepper@redhat.com>
15990
15991 [BZ #10851]
15992 * resolv/res_init.c (__res_vinit): When no server address at all
15993 is given default to loopback.
15994
f2ac4868
RM
159952010-08-24 Roland McGrath <roland@redhat.com>
15996
09055553
RM
15997 * configure.in: Remove config-name.h generation.
15998 * configure: Regenerated.
15999 * config-name.in: File removed.
16000 * scripts/config-uname.sh: New file.
16001 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16002 ($(objdir)config-name.h): New target.
16003
f2ac4868
RM
16004 * sunrpc/rpc_parse.h: Avoid nested comment.
16005
73f27d5e
RH
160062010-08-24 Richard Henderson <rth@redhat.com>
16007 Ulrich Drepper <drepper@redhat.com>
16008 H.J. Lu <hongjiu.lu@intel.com>
16009
16010 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16012 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16013 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16014 _mm_alignr_epi8 with _mm_loadu_si128.
16015 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16016 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16017 (__m128i_shift_right): Removed.
16018 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16019 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16020 * sysdeps/x86_64/multiarch/varshift.h: New file.
16021 * sysdeps/x86_64/multiarch/varshift.S: New file.
16022
84b9230c
MF
160232010-08-21 Mike Frysinger <vapier@gentoo.org>
16024
16025 * configure.in: Move assembler checks to before sysdep dir checking.
16026
9bbd0ddc
PB
160272010-08-20 Petr Baudis <pasky@suse.cz>
16028
16029 * LICENSES: Sync the sunrpc license.
16030
9da4bb31
UD
160312010-08-19 Ulrich Drepper <drepper@redhat.com>
16032
a7ab6ec8
UD
16033 * sunrpc/auth_des.c: Update copyright notice once again.
16034 * sunrpc/auth_none.c: Likewise.
16035 * sunrpc/auth_unix.c: Likewise.
16036 * sunrpc/authdes_prot.c: Likewise.
16037 * sunrpc/authuxprot.c: Likewise.
16038 * sunrpc/bindrsvprt.c: Likewise.
16039 * sunrpc/clnt_gen.c: Likewise.
16040 * sunrpc/clnt_perr.c: Likewise.
16041 * sunrpc/clnt_raw.c: Likewise.
16042 * sunrpc/clnt_simp.c: Likewise.
16043 * sunrpc/clnt_tcp.c: Likewise.
16044 * sunrpc/clnt_udp.c: Likewise.
16045 * sunrpc/clnt_unix.c: Likewise.
16046 * sunrpc/des_crypt.c: Likewise.
16047 * sunrpc/des_soft.c: Likewise.
16048 * sunrpc/get_myaddr.c: Likewise.
16049 * sunrpc/getrpcport.c: Likewise.
16050 * sunrpc/key_call.c: Likewise.
16051 * sunrpc/key_prot.c: Likewise.
16052 * sunrpc/openchild.c: Likewise.
16053 * sunrpc/pm_getmaps.c: Likewise.
16054 * sunrpc/pm_getport.c: Likewise.
16055 * sunrpc/pmap_clnt.c: Likewise.
16056 * sunrpc/pmap_prot.c: Likewise.
16057 * sunrpc/pmap_prot2.c: Likewise.
16058 * sunrpc/pmap_rmt.c: Likewise.
16059 * sunrpc/rpc/auth.h: Likewise.
16060 * sunrpc/rpc/auth_unix.h: Likewise.
16061 * sunrpc/rpc/clnt.h: Likewise.
16062 * sunrpc/rpc/des_crypt.h: Likewise.
16063 * sunrpc/rpc/key_prot.h: Likewise.
16064 * sunrpc/rpc/netdb.h: Likewise.
16065 * sunrpc/rpc/pmap_clnt.h: Likewise.
16066 * sunrpc/rpc/pmap_prot.h: Likewise.
16067 * sunrpc/rpc/pmap_rmt.h: Likewise.
16068 * sunrpc/rpc/rpc.h: Likewise.
16069 * sunrpc/rpc/rpc_des.h: Likewise.
16070 * sunrpc/rpc/rpc_msg.h: Likewise.
16071 * sunrpc/rpc/svc.h: Likewise.
16072 * sunrpc/rpc/svc_auth.h: Likewise.
16073 * sunrpc/rpc/types.h: Likewise.
16074 * sunrpc/rpc/xdr.h: Likewise.
16075 * sunrpc/rpc_clntout.c: Likewise.
16076 * sunrpc/rpc_cmsg.c: Likewise.
16077 * sunrpc/rpc_common.c: Likewise.
16078 * sunrpc/rpc_cout.c: Likewise.
16079 * sunrpc/rpc_dtable.c: Likewise.
16080 * sunrpc/rpc_hout.c: Likewise.
16081 * sunrpc/rpc_main.c: Likewise.
16082 * sunrpc/rpc_parse.c: Likewise.
16083 * sunrpc/rpc_parse.h: Likewise.
16084 * sunrpc/rpc_prot.c: Likewise.
16085 * sunrpc/rpc_sample.c: Likewise.
16086 * sunrpc/rpc_scan.c: Likewise.
16087 * sunrpc/rpc_scan.h: Likewise.
16088 * sunrpc/rpc_svcout.c: Likewise.
16089 * sunrpc/rpc_tblout.c: Likewise.
16090 * sunrpc/rpc_util.c: Likewise.
16091 * sunrpc/rpc_util.h: Likewise.
16092 * sunrpc/rpcinfo.c: Likewise.
16093 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16094 * sunrpc/rpcsvc/key_prot.x: Likewise.
16095 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16096 * sunrpc/rpcsvc/mount.x: Likewise.
16097 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16098 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16099 * sunrpc/rpcsvc/rex.x: Likewise.
16100 * sunrpc/rpcsvc/rstat.x: Likewise.
16101 * sunrpc/rpcsvc/rusers.x: Likewise.
16102 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16103 * sunrpc/rpcsvc/spray.x: Likewise.
16104 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16105 * sunrpc/rtime.c: Likewise.
16106 * sunrpc/svc.c: Likewise.
16107 * sunrpc/svc_auth.c: Likewise.
16108 * sunrpc/svc_authux.c: Likewise.
16109 * sunrpc/svc_raw.c: Likewise.
16110 * sunrpc/svc_run.c: Likewise.
16111 * sunrpc/svc_simple.c: Likewise.
16112 * sunrpc/svc_tcp.c: Likewise.
16113 * sunrpc/svc_udp.c: Likewise.
16114 * sunrpc/svc_unix.c: Likewise.
16115 * sunrpc/svcauth_des.c: Likewise.
16116 * sunrpc/xcrypt.c: Likewise.
16117 * sunrpc/xdr.c: Likewise.
16118 * sunrpc/xdr_array.c: Likewise.
16119 * sunrpc/xdr_float.c: Likewise.
16120 * sunrpc/xdr_mem.c: Likewise.
16121 * sunrpc/xdr_rec.c: Likewise.
16122 * sunrpc/xdr_ref.c: Likewise.
16123 * sunrpc/xdr_sizeof.c: Likewise.
16124 * sunrpc/xdr_stdio.c: Likewise.
16125
9da4bb31
UD
16126 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16127 handling.
16128
bdaa77bc
AS
161292010-08-19 Andreas Schwab <schwab@redhat.com>
16130
16131 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16132
fe2f79db
LM
161332010-08-19 Luis Machado <luisgpm@br.ibm.com>
16134
16135 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16136 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16137 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16138 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16139 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16140 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16141 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16142 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16143 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16144 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16145 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16146 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16147 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16148 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16149
b9b42ee0
AB
161502010-07-26 Anton Blanchard <anton@samba.org>
16151
16152 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16153 * malloc/arena.c (heap_trim): Likewise.
16154
1c06ba31
UD
161552010-08-16 Ulrich Drepper <drepper@redhat.com>
16156
16157 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16158 here. Not...
16159 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16160 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16161
f8392f40
L
161622010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16163
16164 * sysdeps/i386/elf/Makefile: New file.
16165
3162f12e
AS
161662010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16167
16168 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16169 from fanotify_init.
16170 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16171 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16172
28c90b2c
UD
161732010-08-15 Ulrich Drepper <drepper@redhat.com>
16174
16175 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16176 of strncasecmp_l.
1feccb6c 16177 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16178
ca6bb004
UD
161792010-08-14 Ulrich Drepper <drepper@redhat.com>
16180
e9f82e0d
UD
16181 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16182 strncase_l-nonascii.
16183 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16184 Add strncase_l-ssse3.
16185 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16186 * sysdeps/x86_64/strcmp.S: Likewise.
16187 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16188 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16189 * sysdeps/x86_64/strncase.S: New file.
16190 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16191 * sysdeps/x86_64/strncase_l.S: New file.
16192 * string/Makefile (strop-tests): Add strncasecmp.
16193 * string/test-strncasecmp.c: New file.
16194
16195 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16196 warning.
16197
ca6bb004
UD
16198 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16199 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16200
052fa7b3
AS
162012010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16202
16203 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16204
962dba78
UD
162052010-08-12 Ulrich Drepper <drepper@redhat.com>
16206
16207 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16208 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16209 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16210
bebff237
AM
162112010-05-01 Alan Modra <amodra@gmail.com>
16212
16213 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16214 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16215 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16216 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16217 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16218 tidying. Don't tail-call __sigjmp_save for static lib.
16219 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16220 save location.
16221 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16222 (CALL_MCOUNT): Add eh info, and nop after bl.
16223 (TAIL_CALL_SYSCALL_ERROR): New macro.
16224 (PSEUDO_RET): Use it.
16225 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16226 Correct save location of integer regs and cr.
16227 (_dl_profile_resolve): Correct cr save location. Delete nops
16228 after bl when SHARED. Reduce cfi size a little by better
16229 placement of cfi directives.
16230 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16231 make a stack frame. Instead use parm save area as a temp.
16232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16233 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16235 Don't make a stack frame for parent, use parm save area.
16236 Increase child stack frame to 112 bytes. Don't save unused reg,
16237 and adjust reg usage. Set up cfi on error recovery and
16238 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16240 (__makecontext): Add dummy nop after jump to exit.
16241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16242 Use correct parm save area and cr save, reduce stack frame.
16243 Correct cfi for possible PSEUDO_RET frame setup.
16244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16245 Branch to local label emitted by PSEUDO_RET rather than
16246 __syscall_error.
16247
02637374
AS
162482010-08-12 Andreas Schwab <schwab@redhat.com>
16249
16250 [BZ #11904]
16251 * locale/programs/locale.c (print_assignment): New function.
16252 (show_locale_vars): Use it.
16253
c3e2f19b
UD
162542010-08-11 Ulrich Drepper <drepper@redhat.com>
16255
3cdaa6ad
UD
16256 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16257 field.
16258 (struct statfs64): Likewise.
16259 (_STATFS_F_FLAGS): Define.
16260 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16261 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16262 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16263 (ST_VALID): Define locally.
16264 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16265 __statvfs_getflags, use the provided value.
16266 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16267 __ASSUME_STATFS_F_FLAGS.
16268
754f7da3
UD
16269 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16270
10b3bedc
UD
16271 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16272 Add sys/fanotify.h.
16273 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16274 fanotify_mask for GLIBC_2.13.
16275 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16276 fanotify_init and fanotify_mark.
16277 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16278 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16279
c08fb0d7
UD
16280 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16281 Add prlimit.
16282 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16283 prlimit64 for GLIBC_2.13.
16284 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16285 prlimit64.
16286 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16287 syscall.
16288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16289 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16290 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16291 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16292 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16293 add prlimit alias.
16294 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16295
15bac72b
UD
16296 [BZ #11903]
16297 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16298 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16299
c3e2f19b
UD
16300 * nss/Makefile: Add rules to build and run tst-nss-test1.
16301 * shlib-versions: Add entry for libnss_test1.
16302 * nss/nss_test1.c: New file.
16303 * nss/tst-nss-test1.c: New file.
16304
16305 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16306 (__nss_configure_lookup): Set appropriate entry in
16307 __nss_configure_lookup to true.
16308 * nss/nsswitch.h: Define enum with indeces of databases in
16309 databases and __nss_database_custom arrays. Declare
16310 __nss_database_custom.
16311 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16312 to avoid using nscd when custom rules are installed.
16313 * nss/getXXbyYY_r.c: Likewise.
16314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16315
16316 * nss/nss_files/files-parse.c: Whitespace fixes.
16317
f15ce4d8
UD
163182010-08-09 Ulrich Drepper <drepper@redhat.com>
16319
16320 [BZ #11883]
16321 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16322 * posix/fnmatch_loop.c: Likewise.
16323
d22e4cc9
AK
163242010-07-17 Andi Kleen <ak@linux.intel.com>
16325
16326 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16327 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16328 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16329 * Versions.def [GLIBC_2.13]: Add.
16330
805bc17d
UD
163312010-08-06 Ulrich Drepper <drepper@redhat.com>
16332
16333 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16334 Also fail if tpwd after pwuid call is NULL.
16335
5a42321d
ST
163362010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16337
16338 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16339 when converting to ms.
16340
fd3ebeda
ST
163412010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16342
16343 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16344 EOPNOTSUPP errors with ENOTTY.
16345 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16346 EOPNOTSUPP errors with ENOTTY.
16347
73507d3a
UD
163482010-07-31 Ulrich Drepper <drepper@redhat.com>
16349
16350 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16351 Add strcasecmp_l-ssse3.
16352 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16353 strcasecmp.
16354 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16355 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16356 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16357
fe36dd02
UD
163582010-07-30 Ulrich Drepper <drepper@redhat.com>
16359
66f6765a
UD
16360 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16361
42e08a54
UD
16362 * string/Makefile (strop-tests): Add strcasecmp.
16363 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16364 strcasecmp_l-nonascii.
16365 (gen-as-const-headers): Add locale-defines.sym.
16366 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16367 * sysdeps/x86_64/strcasecmp.S: New file.
16368 * sysdeps/x86_64/strcasecmp_l.S: New file.
16369 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16370 * sysdeps/x86_64/locale-defines.sym: New file.
16371 * string/test-strcasecmp.c: New file.
16372
fe36dd02
UD
16373 * string/test-strcasestr.c: Test both ends of the range of characters.
16374 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16375
48cbc0d6
RM
163762010-07-29 Roland McGrath <roland@redhat.com>
16377
76e6d6bc 16378 [BZ #11856]
48cbc0d6
RM
16379 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16380
880113d9
UD
163812010-07-27 Ulrich Drepper <drepper@redhat.com>
16382
16383 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16384 for ld.so.
16385
deb9cabb
AS
163862010-07-27 Andreas Schwab <schwab@redhat.com>
16387
16388 * manual/memory.texi (Malloc Tunable Parameters): Document
16389 M_PERTURB.
16390
1c7570ff
RM
163912010-07-26 Roland McGrath <roland@redhat.com>
16392
16393 [BZ #11840]
16394 * configure.in (-fgnu89-inline check): Set and substitute
16395 gnu89_inline, not libc_cv_gnu89_inline.
16396 * configure: Regenerated.
16397 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16398
24fb0f88
UD
163992010-07-26 Ulrich Drepper <drepper@redhat.com>
16400
16401 * string/test-strnlen.c: New file.
16402 * string/Makefile (strop-tests): Add strnlen.
16403 * string/tester.c (test_strnlen): Add a few more test cases.
16404 * string/tst-strlen.c: Better error reporting.
16405
16406 * sysdeps/x86_64/strnlen.S: New file.
16407
8e96b93a
UD
164082010-07-24 Ulrich Drepper <drepper@redhat.com>
16409
16410 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16411 lower-latency instructions.
16412
dbc676d4
UD
164132010-07-23 Ulrich Drepper <drepper@redhat.com>
16414
16415 * string/test-strcasestr.c: New file.
16416 * string/test-strstr.c: New file.
16417 * string/Makefile (strop-tests): Add strstr and strcasestr.
16418 * string/str-two-way.h: Don't undefine MAX.
16419 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16420
f6a31e0e
AS
164212010-07-21 Andreas Schwab <schwab@redhat.com>
16422
16423 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16424 strcasestr-nonascii.
16425 (CFLAGS-strcasestr-nonascii.c): Define.
16426 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16427 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16428 Remove unused attribute.
16429
5dbc3b6c
RM
164302010-07-20 Roland McGrath <roland@redhat.com>
16431
16432 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16433 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16434 ld.so.cache was broken. With it, there is no way to disable dsocaps
16435 like LD_HWCAP_MASK can disable hwcaps.
16436
23d101d8
EPM
164372010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16438
16439 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16440
cc9f2e47
UD
164412010-07-16 Ulrich Drepper <drepper@redhat.com>
16442
16443 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16444 call in strcasestr.
16445 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16446 __strcasestr_sse42_nonascii.
16447 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16448 strcasestr-nonascii.c.
16449 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16450
77c1b069
LM
164512010-06-15 Luis Machado <luisgpm@br.ibm.com>
16452
16453 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16454 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16455 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16456 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16457
440566c3
UD
164582010-07-09 Ulrich Drepper <drepper@redhat.com>
16459
16460 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16461 fcntl.
16462
5be9d05d
AS
164632010-07-06 Andreas Schwab <schwab@redhat.com>
16464
c30b7ee2 16465 [BZ #11577]
5be9d05d
AS
16466 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16467 dl_signal_cerror.
16468
8a492a67
UD
164692010-07-06 Ulrich Drepper <drepper@redhat.com>
16470
16471 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16472 _PC_PIPE_BUF using F_GETPIPE_SZ.
16473
713df3d5
RM
164742010-07-05 Roland McGrath <roland@redhat.com>
16475
16476 * manual/arith.texi (Rounding Functions): Fix rint description
16477 implicit in round description.
16478
702e8f14
UD
164792010-07-02 Ulrich Drepper <drepper@redhat.com>
16480
16481 * elf/Makefile: Fix linking for a few tests to make recent linker
16482 happy.
16483
52ed8be9
AS
164842010-06-30 Andreas Schwab <schwab@redhat.com>
16485
16486 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16487 $(common-objpfx)libc_nonshared.a.
16488
f47c9a11
LM
164892010-06-21 Luis Machado <luisgpm@br.ibm.com>
16490
16491 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16492 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16493 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16494 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16495 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16496 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16497 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16498 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16513 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16514 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16515 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16516 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16517 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16518 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16519 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16520 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16521 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16522 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16523 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16524 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16539
6fb8cbcb
L
165402010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16541
16542 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16543 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16544 * string/memmove.c (memmove): Renamed to ...
16545 (MEMMOVE): ...this. Default to memmove.
16546 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16547 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16548 (END_CHK): Define.
16549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16550 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16551 mempcpy-ssse3-back memmove-ssse3-back.
16552 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16553 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16554 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16555 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16556 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16557 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16558 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16559 * sysdeps/x86_64/multiarch/memmove.c: New file.
16560 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16561 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16562 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16563 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16564 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16565 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16566 Define.
16567 (index_Fast_Copy_Backward): Define.
16568 (HAS_ARCH_FEATURE): Define.
16569 (HAS_FAST_REP_STRING): Define.
16570 (HAS_FAST_COPY_BACKWARD): Define.
16571
4e733bac 165722010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16573
16574 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16575 Restore proper fallback handling.
16576
63c4ed22
UD
165772010-06-19 Ulrich Drepper <drepper@redhat.com>
16578
ac2b484c
UD
16579 [BZ #11701]
16580 * posix/group_member.c (__group_member): Correct checking loop.
16581
63c4ed22
UD
16582 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16583 OOM in getpwuid_r correctly. Return error number when the caller
16584 should return, otherwise -1.
16585 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16586 call returning > 0 value.
16587 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16588
765ade4b
AS
165892010-06-07 Andreas Schwab <schwab@redhat.com>
16590
16591 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16592 libc_nonshared.a from targets in modules-names.
16593
80da2e09
KS
165942010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16595
16596 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16597 requires it.
16598
158db122
LM
165992010-06-10 Luis Machado <luisgpm@br.ibm.com>
16600
16601 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16602 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16603 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16604 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16605
caa78cf8
AS
166062010-06-02 Andreas Schwab <schwab@redhat.com>
16607
16608 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16609
b2ef2c01
UD
166102010-06-14 Ulrich Drepper <drepper@redhat.com>
16611
16612 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16613 and F_GETPIPE_SZ.
16614 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16615 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16616 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16617 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16618 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16619 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16620
fbd643b6
RM
166212010-06-14 Roland McGrath <roland@redhat.com>
16622
16623 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16624
f32f2869
JJ
166252010-06-07 Jakub Jelinek <jakub@redhat.com>
16626
16627 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16628 __REDIRECT followed by __THROW.
16629 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16630 * posix/getopt.h (getopt): Likewise.
16631
2a50c078
EPM
166322010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16633
16634 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16635 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16636 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16637 in AT_FLAGS.
16638 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16639 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16640
eb5ad2eb
LM
166412010-05-28 Luis Machado <luisgpm@br.ibm.com>
16642
16643 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16644
3c88fe1e
L
166452010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16646
16647 [BZ #11640]
16648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16649 Properly check family and model.
16650
d2f73151
TY
166512010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16652
16653 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16654
ebd2e13d
LM
166552010-05-24 Luis Machado <luisgpm@br.ibm.com>
16656
16657 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16658
b32b8b45
UD
166592010-05-21 Ulrich Drepper <drepper@redhat.com>
16660
16661 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16662 symbol reference.
16663
9acbe24d
AS
166642010-05-19 Andreas Schwab <schwab@redhat.com>
16665
16666 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16667 symbol reference.
16668
f0ccf6ea
AS
166692010-05-21 Andreas Schwab <schwab@redhat.com>
16670
3d04ff3a
AS
16671 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16672 and internal_recvmmsg.
16673 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16674 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16675 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16676 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16677
f0ccf6ea
AS
16678 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16679 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16680 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16681
5b08ac57
AS
166822010-05-20 Andreas Schwab <schwab@redhat.com>
16683
16684 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16685
4828935d
LM
166862010-05-17 Luis Machado <luisgpm@br.ibm.com>
16687
16688 POWER7 optimizations.
16689 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16690 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16691
373d545e
UD
166922010-05-19 Ulrich Drepper <drepper@redhat.com>
16693
16694 * version.h: Update for 2.13 development version.
16695
21a2b1ae
AS
166962010-05-12 Andrew Stubbs <ams@codesourcery.com>
16697
16698 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16699 exceptions. Return 0.
16700
3f7dcb2b
RM
167012010-05-07 Roland McGrath <roland@redhat.com>
16702
16703 * elf/ldconfig.c (main): Add a const.
16704
5f24d53a 167052010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16706
a160f8d8
UD
16707 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16708 (args_options): Add no-idn option.
16709 (ahosts_keys_int): Add idn_flags to ai_flags.
16710 (parse_option): Handle 'i' option to clear idn_flags.
16711
5f24d53a
UD
16712 * malloc/malloc.c (_int_free): Possible race in the most recently
16713 added check. Only act on the data if no current modification
16714 happened.
265bb1ce
UD
16715
16716See ChangeLog.17 for earlier changes.