]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix tst-gettext test
[thirdparty/glibc.git] / ChangeLog
CommitLineData
70d35b67
AS
12012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2
3 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4 po2text.sed.
5 * intl/po2test.awk: New file.
6 * intl/po2test.sed: Removed.
7
ca61cf32
JM
82012-07-04 Joseph Myers <joseph@codesourcery.com>
9
10 [BZ #14328]
11 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12 or multiply small sinh result by itself.
13 * math/s_ctanf.c (__ctanf): Likewise.
14 * math/s_ctanh.c (__ctanh): Likewise.
15 * math/s_ctanhf.c (__ctanhf): Likewise.
16 * math/s_ctanhl.c (__ctanhl): Likewise.
17 * math/s_ctanl.c (__ctanl): Likewise.
18 * math/libm-test.inc (ctan_test_tonearest): New function.
19 (ctan_test_towardzero): Likewise.
20 (ctan_test_downward): Likewise.
21 (ctan_test_upward): Likewise.
22 (ctanh_test_tonearest): Likewise.
23 (ctanh_test_towardzero): Likewise.
24 (ctanh_test_downward): Likewise.
25 (ctanh_test_upward): Likewise.
26 (main): Call these new functions.
27 * sysdeps/i386/fpu/libm-test-ulps: Update.
28 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29
ca48a46a
MF
302012-07-03 Mike Frysinger <vapier@gentoo.org>
31
32 * .gitignore: Delete /ports entry.
33
9d63d37d
AJ
342012-07-03 Andreas Jaeger <aj@suse.de>
35
36 * po/bg.po: Update from translation team.
37 * po/cs.po: Likewise.
38 * po/de.po: Likewise.
39 * po/hr.po: Likewise.
40 * po/nl.pl: Likewise.
41 * po/pl.po: Likewise.
42 * po/vi.po: Likewise.
43
370ca3d2
JM
442012-07-03 Joseph Myers <joseph@codesourcery.com>
45
95f5a9a8
JM
46 * Makeconfig [!+link] (+link-before-libc): New variable.
47 [!+link] (+link-after-libc): Likewise.
48 [!+link] (+link-tests): Likewise.
49 [!+link] (+link): Define in terms of $(+link-before-libc) and
50 $(+link-after-libc).
51 [!+link-static] (+link-static-before-libc): New variable.
52 [!+link-static] (+link-static-after-libc): Likewise.
53 [!+link-static] (+link-static-tests): Likewise.
54 [!+link-static] (+link-static): Define in terms of
55 $(+link-static-before-libc) and $(+link-static-after-libc).
56 [build-shared] (link-libc-before-gnulib): New variable.
57 [build-shared] (link-libc-tests): Likewise.
58 [build-shared] (link-libc): Define in terms of
59 $(link-libc-before-gnulib).
60 [!build-shared] (link-libc-tests): New variable.
61 (link-libc-static-tests): New variable.
62 [!gnulib] (gnulib-arch): New variable.
63 [!gnulib] (gnulib-tests): Likewise.
64 [!gnulib] (static-gnulib-arch): Likewise.
65 [!gnulib] (static-gnulib-tests): Likewise.
66 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
67 Define with "=" instead of ":=".
68 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
69 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
70 * Rules (binaries-all-notests): New variable.
71 (binaries-all-tests): Likewise.
72 (binaries-static-notests): Likewise.
73 (binaries-static-tests): Likewise.
74 (binaries-all): Define using $(binaries-all-notests) and
75 $(binaries-all-tests).
76 (binaries-static): Define using $(binaries-static-notests) and
77 $(binaries-static-tests).
78 (binaries-shared-tests): New variable.
79 (binaries-shared-notests): Likewise.
80 (binaries-shared): Remove variable.
81 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
82 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
83 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
84 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
85 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
86 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
87 * elf/Makefile (sln-modules): New variable.
88 (extra-objs): Add $(sln-modules:=.o).
89 (ldconfig-modules): Add static-stubs.
90 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
91 * elf/static-stubs.c: New file.
92
7a845b2c
JM
93 [BZ #14283]
94 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
95 by 7 not 8 to examine high bit of fractional part. Use volatile
96 variables when splitting into final array of floats if
97 __FLT_EVAL_METHOD__ != 0.
98 * math/libm-test.inc (cos_test): Add another test.
99 (sin_test): Likewise.
100 * sysdeps/i386/fpu/libm-test-ulps: Update.
101
e2283f38
JM
102 [BZ #14273]
103 * math/libm-test.inc (cosh_test): Add more tests.
104
370ca3d2
JM
105 * version.h (RELEASE): Set to "development".
106 (VERSION): Set to "2.16.90".
107
ee9247c3
CD
1082012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
109
110 * NEWS: Update copyright. Remove last-updated date.
111 Mention math library bug fixes and timezone data changes.
112 * README: Mention GNU/Hurd, x32, and HPPA support status.
113
4648c381
TS
1142012-06-28 Thomas Schwinge <thomas@codesourcery.com>
115
116 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
117
aac78a43
AJ
1182012-06-27 Andreas Jaeger <aj@suse.de>
119
120 * manual/contrib.texi (Contributors): Add Samuel Thibault.
121
ed3dbfad
AJ
1222012-06-25 Andreas Jaeger <aj@suse.de>
123
124 * sysdeps/s390/fpu/libm-test-ulps: Update.
125
4d0ee855
AS
1262012-06-23 Andreas Schwab <schwab@linux-m68k.org>
127 Thomas Schwinge <thomas@codesourcery.com>
128
129 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
130 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
131 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
132 fanotify_mark.
133
af1bce34
TS
1342012-06-23 Thomas Schwinge <thomas@codesourcery.com>
135
a9fa33ba
TS
136 * sysdeps/mach/start.c: Remove file.
137 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
138 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
139 * sysdeps/sh/init-first.c: Likewise.
140
58f902b8
TS
141 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
142 registers for frame unwinding purposes, add CFI directives.
143 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
144 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
145 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
146 Likewise.
147
1518f58b
TS
148 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
149 __fortify_fail returning.
150 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
151
db9b5059
TS
152 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
153 sysdeps/sh/____longjmp_chk.S.
154 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
155 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
156 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
157 (gen-as-const-headers): Append sigaltstack-offsets.sym.
158
967705fe
TS
159 * sysdeps/sh/abort-instr.h: New file.
160 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
161 process in case exit returns.
162
a9def8c4
TS
163 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
164 initialize the GOT register before use.
165
2a649725
TS
166 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
167 calculation of ARGC > 4.
168
af1bce34
TS
169 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
170 meaningful names to some local labels.
171
d230f50a
KK
1722012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
173 Kaz Kojima <kkojima@rr.iij4u.or.jp>
174
175 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
176 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
177 (__arch_compare_and_exchange_val_16_acq): Likewise.
178 (__arch_compare_and_exchange_val_32_acq): Likewise.
179 (atomic_exchange_and_add): Fix gUSA sequence.
180 (atomic_add): Likewise.
181 (atomic_add_negative): Likewise.
182 (atomic_add_zero): Likewise.
183 (atomic_bit_test_set): Likewise.
184
0479b305
AS
1852012-06-22 Andreas Schwab <schwab@redhat.com>
186
187 [BZ #13579]
188 * include/link.h (struct link_map): Add l_free_initfini.
189 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
190 l_initfini.
191 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
192 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
193 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
194 set.
195
0e3933b9
CD
1962012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
197
198 * configure.in: Use AC_LANG_SOURCE.
199 * configure: Regenerate.
200
4248b1b1
RM
2012012-06-22 Roland McGrath <roland@hack.frob.com>
202
203 * configure.in (libc_cv_localstatedir): New substituted variable.
204 * configure: Regenerated.
205 * config.make.in (localstatedir): New variable, substituted from
206 libc_cv_localstatedir.
207 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
208 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
209 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
210 * sysdeps/gnu/configure: Regenerated.
211
006dd861
JL
2122012-06-21 Jeff Law <law@redhat.com>
213
214 [BZ #14277]
215 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
216 free. Simplify list management for _LIBC case.
217
79662d42
JM
2182012-06-21 Joseph Myers <joseph@codesourcery.com>
219
b7abb4bf
JM
220 [BZ #14273]
221 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
222 Clear sign bit of 64-bit integer value before comparing against
223 overflow value.
224
79662d42
JM
225 * sysdeps/mach/configure: Regenerated.
226
1f150908
L
2272012-06-21 H.J. Lu <hongjiu.lu@intel.com>
228
229 [BZ #14278]
230 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
231
28363bbf
JL
2322012-06-21 Jeff Law <law@redhat.com>
233
234 [BZ #13882]
235 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
236 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 237 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
238 * elf/dl-open.c (dl_open_worker): Likewise.
239
09615db4
CD
2402012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
241
242 * scripts/list-sources.sh: Scan PORTS for translations.
243 * po/libc.pot: Regenerated.
244
2174c6dd
AJ
2452012-06-21 Andreas Jaeger <aj@suse.de>
246
247 [BZ #12194]
248 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
249 warning.
250 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
251 * bits/byteswap-16.h (__bswap_16): Likewise.
252 * bits/byteswap.h (__bswap_constant_16): Likewise.
253
3ee947b1
L
2542012-06-18 H.J. Lu <hongjiu.lu@intel.com>
255
256 [BZ #14117]
a2f34833
L
257 * sysdeps/i386/fpu_control.h: Removed.
258 * sysdeps/x86_64/fpu_control.h: Moved to ...
259 * sysdeps/x86/fpu_control.h: Here.
260
3ee947b1
L
261 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
262 (_FPU_SETCW): Likewise.
263
ed1825f8
L
2642012-06-15 H.J. Lu <hongjiu.lu@intel.com>
265
25f1282a
L
266 [BZ #14117]
267 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
268 * sysdeps/x86/fpu/bits/mathinline.h: This.
269 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
270
ed1825f8
L
271 [BZ #14050]
272 [BZ #14117]
273 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
274 functions if __x86_64__ is defined.
275
36d54b74
CLT
2762012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
277
278 * string/endian.h: Add !__ASSEMBLER__ condition for including
279 conversion interfaces.
280
10285c21
JM
2812012-06-15 Joseph Myers <joseph@codesourcery.com>
282
283 [BZ #14241]
284 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
285 of ABS(x) in calculating zero to negative powers other than odd
286 integers.
287 * math/libm-test.inc (pow_test): Add more tests.
288
06c5abbd
AJ
2892012-06-15 Andreas Jaeger <aj@suse.de>
290
291 * manual/contrib.texi (Contributors): Update entry of Liubov
292 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
293 Machado Filho.
294
a3aeac40
CH
2952012-06-15 Cyril Hrubis <metan@ucw.cz>
296
297 * string/string.h: Add __wur to GNU version of strerror_r.
298
49bdf4c1
L
2992012-06-14 H.J. Lu <hongjiu.lu@intel.com>
300
301 [BZ #14229]
302 * string/Makefile (tests): Add tst-strtok_r.
303 * string/tst-strtok_r.c: New file.
304 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
305 RAX_LP/RDX_LP on SAVE_PTR.
306
834f9b8d
RM
3072012-06-14 Roland McGrath <roland@hack.frob.com>
308
309 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
310
75fa1921
JM
3112012-06-14 Joseph Myers <joseph@codesourcery.com>
312
313 * libm_test.inc (csqrt_test): Allow more spurious underflow
314 exceptions.
315 (j0_test): Likewise.
316 (j1_test): Likewise.
317 (y0_test): Likewise.
318 (y1_test): Likewise.
319
771766df
CD
3202012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
321
322 * po/Makefile (libc.pot): Use UTF-8 charset.
323
ceb9e56b
PP
3242012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
325
326 [BZ #14210]
327 Suppress sign-conversion warning from FD_SET.
328 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
329 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
330 not unsigned long int.
331 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
332
ddb28975
L
3332012-06-12 H.J. Lu <hongjiu.lu@intel.com>
334
335 [BZ #14050]
336 [BZ #14117]
337 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
338 __extern_always_inline instead of __extern_inline.
339 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
340 (__signbit): Likewise.
341 (__signbitl): Support C++ namespace.
342 (lrintf): New inline function.
343 (lrint): Likewise.
344 (llrintf): Likewise.
345 (llrint): Likewise.
346 (fmaxf): Likewise.
347 (fmax): Likewise.
348 (fminf): Likewise.
349 (fmin): Likewise.
350 (rint): Likewise.
351 (rintf): Likewise.
352 (ceil): Likewise.
353 (ceilf): Likewise.
354 (floor): Likewise.
355 (floorf): Likewise.
356 (nearbyint): Likewise.
357 (nearbyintf): Likewise.
358
d7b4fb26
TS
3592012-06-12 Thomas Schwinge <thomas@codesourcery.com>
360
361 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
362 non-default versions.
363
eb55f5c2
RM
3642012-06-11 Roland McGrath <roland@hack.frob.com>
365
366 [BZ #14218]
367 * manual/argp.texi (Argp): Reword argp_parse description slightly.
368
366af02c
TS
3692012-06-09 Thomas Schwinge <thomas@codesourcery.com>
370
99ff6e5c
TS
371 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
372 (FE_UPWARD, FE_DOWNWARD): Don't define.
373 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
374 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
375
366af02c
TS
376 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
377 reading it.
378 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
379 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
380
793ea851
KK
3812012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
382
383 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
384 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
385 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
386 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
387
a728a38f
L
3882012-06-06 H.J. Lu <hongjiu.lu@intel.com>
389
390 [BZ #14117]
c08010c7
L
391 * sysdeps/i386/fpu/bits/fenv.h: Removed.
392 * sysdeps/i386/fpu/Implies: New file.
393 * sysdeps/x86_64/fpu/Implies: Likewise.
394 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
395 * sysdeps/x86/fpu/bits/fenv.h: This.
396
a728a38f
L
397 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
398 __SSE_MATH__.
399
6e230d11
SP
4002012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
401
402 [BZ #14134]
403 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
404 character 0xffff that matches the last element of the
405 conversion table.
406
1b671feb
AZ
4072012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
408
409 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
410 fmodl commit.
411
6043738b
AZ
4122012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
413
414 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
415 values higher than 25.6283.
416
34ae0b32
AZ
4172012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
418
419 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
420 subnormal exponent extraction and add some __builtin_expect.
421 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
422 Fix for subnormal mantissa calculation.
423
1214ec8f
MF
4242012-06-04 Mike Frysinger <vapier@gentoo.org>
425
426 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
427 cpu2 is -1 and errno is not ENOSYS.
428
f3d1f93c
L
4292012-06-04 H.J. Lu <hongjiu.lu@intel.com>
430
431 [BZ #14117]
0e4a3cd7
L
432 * sysdeps/i386/i486/bits/string.h: Renamed to ...
433 * sysdeps/x86/bits/string.h: This.
434 * sysdeps/x86_64/bits/string.h: Removed.
435
6704c645
L
436 * sysdeps/i386/i486/bits/string.h: Define inline functions only
437 if not compiling for x86-64, but compiling for >= i486.
438
48495318
L
439 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
440 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
441
14adcbfc
L
442 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
443 New macro from Linux kernel 3.4.0.
444 (FP_XSTATE_MAGIC2): Likewise.
445 (FP_XSTATE_MAGIC2_SIZE): Likewise.
446 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
447 (struct _fpx_sw_bytes): New struct.
448 (struct _xsave_hdr): Likewise.
449 (struct _ymmh_state): Likewise.
450 (struct _xstate): Likewise.
451
68e408ab
L
452 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
453 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
454 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
455 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
456 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
457 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
458
f3d1f93c
L
459 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
460 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
461 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
462 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
463 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
464 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
465
d9dc34cd
TMQMF
4662012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
467
468 [BZ #13743]
469 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
470 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
471 (sysdep_headers): Include sys/platform/ppc.h.
472 * sysdeps/powerpc/test-gettimebase.c: Test for
473 __ppc_get_timebase() to catch future ISA opcode/insn changes.
474 * manual/Makefile (appendices): Include platform.texi.
475 * manual/contrib.texi (Contributors): Update @node pointers.
476 * manual/maint.texi (Maintenance): Likewise.
477 (Platform): New node.
478 * manual/platform.texi: New file. Document the new features.
479
4af3879c
SP
4802012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
481 Jakub Jelinek <jakub@redhat.com>
482
483 [BZ #14188]
484 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
485 where __builtin_expect is unavailable.
486
2fd6ff13
DM
4872012-06-03 David S. Miller <davem@davemloft.net>
488
489 * stdlib/longlong.h: Updated from GCC.
490
173f7220
AS
4912012-06-02 Andreas Schwab <schwab@linux-m68k.org>
492
493 [BZ #14042]
494 * sysdeps/powerpc/powerpc32/mcount.c: New file.
495 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
496 __mcount_internal.
497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
498 (GLIBC_2.16): Likewise.
499
f34a1c6f
L
5002012-06-01 H.J. Lu <hongjiu.lu@intel.com>
501
502 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
503
88a4576f
JM
5042012-06-01 Joseph Myers <joseph@codesourcery.com>
505
ea32bcdd
JM
506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
507 (default-abi): New variable.
508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
509 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
510 variable.
511 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
512 Likewise.
513 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
514 Likewise.
515 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
516 Likewise.
517
88a4576f
JM
518 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
519 definition. Document in comment.
520
402fe938
DM
5212012-06-01 David S. Miller <davem@davemloft.net>
522
523 * stdlib/longlong.h: Updated from GCC.
524
3553723f
L
5252012-06-01 H.J. Lu <hongjiu.lu@intel.com>
526
527 [BZ #14117]
3bd872c4
L
528 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
529 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
530 sys/debugreg.h sys/io.h here.
531 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
532 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
533 sys/io.h.
534 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
535 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
536 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
537 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
538 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
539 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
540
3553723f
L
541 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
542 Define only if __x86_64__ is defined.
543
4842e4fe
JM
5442012-06-01 Joseph Myers <joseph@codesourcery.com>
545
c5bfe3d5
JM
546 [BZ #14048]
547 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
548 Use int64_t for variable i.
549 * math/libm-test.inc (fmod_test): Add more tests.
550
4842e4fe
JM
551 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
552 z computation is not scheduled after fetestexcept.
553 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
554 Use math_force_eval instead of asm to ensure calculation scheduled
555 before exception test.
556 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
557 Ensure a1 + u.d computation is not scheduled after fetestexcept.
558
efb73488
AJ
5592012-06-01 Aurelien Jarno <aurelien@aurel32.net>
560
561 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
562 computation is not scheduled after fetestexcept.
563
29bcce7c
L
5642012-06-01 H.J. Lu <hongjiu.lu@intel.com>
565
566 [BZ #14117]
567 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
568 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
569
73a68f94
AZ
5702012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
571
572 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
573 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
574
67b6df78
L
5752012-05-31 H.J. Lu <hongjiu.lu@intel.com>
576
edf2933a 577 [BZ #14117]
ebc64a18
L
578 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
579 <bits/wordsize.h>.
580 (__WCHAR_MIN): Support __WORDSIZE == 64.
581 (__WCHAR_MAX): Likewise.
582
edf2933a
L
583 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
584 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
585
57c6cf40
L
586 [BZ #14183]
587 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
588 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
589
67b6df78 590 [BZ #14117]
8eb6281e
L
591 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
592 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
593
aac639f4
L
594 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
595 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
596
67b6df78
L
597 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
598 Defined to 1 if __x86_64__ isn't defined.
599 (_STAT_VER_LINUX_OLD): New.
600 (st_atime): Remove duplicate.
601 (st_mtime): Likewise.
602 (st_ctime): Likewise.
603
1c2cfe81
DM
6042012-05-31 David S. Miller <davem@davemloft.net>
605
606 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
607 entries.
608
5be8418c
AS
6092012-06-01 Andreas Schwab <schwab@linux-m68k.org>
610
e7725326
AS
611 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
612 gen-libm-test.pl.
613
5be8418c
AS
614 [BZ #14132]
615 * elf/dl-reloc.c: Include <_itoa.h>.
616 (_dl_reloc_bad_type): Remove use of INTUSE.
617 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
618 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
619 * stdio-common/psiginfo.c (psiginfo): Likewise.
620 * stdio-common/psignal.c (psignal): Likewise.
621 * string/strsignal.c (strsignal): Likewise.
622 * include/signal.h (_sys_siglist): Declare hidden proto.
623 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
624 INTVARDEF with libc_hidden_data_def.
625 * stdio-common/itoa-udigits.c: Likewise.
626 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
627 (_itoa_lower_digits_internal): Remove declaration.
628 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
629 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
630 (_sys_sigabbrev_internal): Remove aliases.
631 (_sys_siglist): Define hidden alias.
632
507352f1
MT
6332012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
634
635 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
636 bits/sysctl.h.
637
42bbb1c3
L
6382012-05-31 H.J. Lu <hongjiu.lu@intel.com>
639
640 [BZ #14117]
6bd784b6
L
641 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
642 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
643
8bca20f0
L
644 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
645 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
646 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
647 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
648 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
649 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
650
f9e890a9
L
651 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
652 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
653 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
654
471101a1
L
655 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
656 with __addr.
657 (insw): Likewise.
658 (insl): Likewise.
659 (outsb): Likewise.
660 (outsw): Likewise.
661 (outsl): Likewise.
662
6451c862
L
663 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
664 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
665 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
666
a254b8c9
L
667 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
668 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
669 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
670 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
671 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
672 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
673
b8dfdd92
L
674 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
675 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
676
578cd270
L
677 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
678 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
679
de662f5f
L
680 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
681 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
682 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
683
25653439
L
684 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
685 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
686 to ...
687 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
688
6bad24a0
L
689 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
690 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
691 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
692
42bbb1c3
L
693 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
694 for x86-64.
695 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
696
2d10d547
JM
6972012-05-31 Joseph Myers <joseph@codesourcery.com>
698
699 * math/math.h (M_El): Use two more decimal places.
700 (M_LOG2El): Likewise.
701 (M_LOG10El): Likewise.
702 (M_LN2l): Likewise.
703 (M_LN10l): Likewise.
704 (M_PIl): Likewise.
705 (M_PI_2l): Likewise.
706 (M_PI_4l): Likewise.
707 (M_1_PIl): Likewise.
708 (M_2_PIl): Likewise.
709 (M_2_SQRTPIl): Likewise.
710 (M_SQRT2l): Likewise.
711 (M_SQRT1_2l): Likewise.
712
f230c29b
DM
7132012-05-31 David S. Miller <davem@davemloft.net>
714
715 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
716 values between float registers.
717 * sysdeps/sparc/sparc64/memset.S: Likewise.
718 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
719
fed806c3
MF
7202012-05-31 Mike Frysinger <vapier@gentoo.org>
721
722 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
723 -D_FORTIFY_SOURCE=1.
724 (CPPFLAGS-tst-longjmp_chk.c): Define.
725 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
726 (CPPFLAGS-tst-longjmp_chk2.c): Define.
727 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
728 CFLAGS-tst-wchar-h.c.
729
30917259
MP
7302012-05-31 Marek Polacek <polacek@redhat.com>
731
732 [BZ #14132]
733 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
734 __endmntent_internal): Remove declaration.
735 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
736 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
737 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
738
1c58d5dc
DM
7392012-05-30 David S. Miller <davem@davemloft.net>
740
741 * sysdeps/sparc/sparc32/soft-fp/q_util.c
742 (___Q_simulate_exceptions): Use real FP ops rather than writing
743 into the %fsr.
744 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
745 Likewise.
746
7dc00e0d
L
7472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
748
749 [BZ #14117]
0bd53985
L
750 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
751 * sysdeps/x86/bits/xtitypes.h: This.
752
3a257e66
L
753 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
754 * sysdeps/x86/bits/wordsize.h: This.
755
62f62904
L
756 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
757 * sysdeps/x86/bits/huge_vall.h: This.
758
404fe9d9
L
759 * sysdeps/i386/bits/select.h: Removed.
760 * sysdeps/x86_64/bits/select.h: Renamed to ...
761 * sysdeps/x86/bits/select.h: This.
762
d48d0446
L
763 * sysdeps/i386/bits/setjmp.h: Removed.
764 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
765 * sysdeps/x86/bits/setjmp.h: This.
766
7dc00e0d
L
767 * sysdeps/i386/bits/mathdef.h: Removed.
768 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
769 * sysdeps/x86/bits/mathdef.h: This.
770
03277f8f
AS
7712012-05-30 Andreas Schwab <schwab@linux-m68k.org>
772
773 [BZ #14132]
774 * include/sys/socket.h (__connect_internal)
775 (__libc_sa_len_internal): Remove declaration.
776 (__connect, __libc_sa_len): Declare hidden_proto.
777 (SA_LEN): Remove use of INTUSE.
778 * socket/connect.c: Add libc_hidden_def.
779 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
780 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
781 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
782 alias.
783 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
784 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
785 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
786 of adding _internal alias.
787
13764867
L
7882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
789
790 [BZ #14117]
6bd97696
L
791 * sysdeps/i386/bits/link.h: Removed.
792 * sysdeps/i386/bits/linkmap.h: Likewise.
793 * sysdeps/x86_64/bits/link.h: Renamed to ...
794 * sysdeps/x86/bits/link.h: This.
795 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
796 * sysdeps/x86/bits/linkmap.h: This.
797
f726f0bb
L
798 * sysdeps/i386/bits/endian.h: Removed.
799 * sysdeps/x86_64/bits/endian.h: Renamed to ...
800 * sysdeps/x86/bits/endian.h: This.
801
13764867
L
802 * sysdeps/i386/bits/byteswap.h: Removed.
803 * sysdeps/i386/bits/byteswap-16.h: Likewise.
804 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
805 * sysdeps/x86/bits/byteswap.h: This.
806 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
807 * sysdeps/x86/bits/byteswap-16.h: This.
808 * sysdeps/i386/Implies: Add x86.
809 * sysdeps/x86_64/Implies: Likewise.
810
ae251b0b
DM
8112012-05-30 David S. Miller <davem@davemloft.net>
812
813 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
814 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
815 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
816 (FP_TRAPPING_EXCEPTIONS): Define.
817 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
818 (FP_TRAPPING_EXCEPTIONS): Define.
819 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
820 subnormals only when inexact has been signalled or underflow
821 exceptions are enabled.
822 (_FP_PACK_CANONICAL): Likewise.
823
d5c90867
L
8242012-05-30 H.J. Lu <hongjiu.lu@intel.com>
825
826 [BZ #14183]
827 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
828 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
829
63f1549e
RH
8302012-05-30 Richard Henderson <rth@twiddle.net>
831
8d8f2279
RH
832 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
833 with #ifndef NOT_IN_libc.
834
63f1549e
RH
835 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
836 marked to avoid plt entry.
837
0ab0291b
L
8382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
839
840 [BZ #14112]
841 * Makeconfig (default-abi): New macro.
842 (abi-includes): Likewise.
843 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
844 $(abi-$(default-abi)-lib-soname) for soname if defined.
845 ($(common-objpfx)gnu/lib-names.stmp): Generate from
846 abi-variants.
847 * Makefile (installed-stubs): Likewise.
848 * include/stubs-biarch.h: Removed.
849 * scripts/lib-names.awk: Only handle one library at a time.
850 * scripts/soversions.awk: Remove WORDSIZE support.
851 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
852 entries.
853 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
854 Removed.
855 (syscall-list-default-condition): Likewise.
856 (syscall-list-default-condition): Likewise.
857 (syscall-list-includes): Likewise.
858 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
859 syscall-list-* with abi-*. Handle undefined abi-variants.
860 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
861 * sysdeps/unix/sysv/linux/i386/Implies: New file.
862 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
863 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
864 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
865 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
866 Removed.
867 (syscall-list-32-options): Likewise.
868 (syscall-list-32-condition): Likewise.
869 (syscall-list-64-options): Likewise.
870 (syscall-list-64-condition): Likewise.
871 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
872 macro.
873 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
874 Renamed to ...
875 (abi-*): This.
876 (abi-64-ld-soname): New macro.
877 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
878 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
879 Renamed to ...
880 (abi-*): This.
881 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
882 * sysdeps/x86_64/x32/shlib-versions: Likewise.
883
4da0431d
JM
8842012-05-30 Joseph Myers <joseph@codesourcery.com>
885
3a85279c
JM
886 * sysdeps/unix/sysv/linux/kernel-features.h
887 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
888 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
889 include <kernel-features.h>.
890 [!__NR_ftruncate64]: Remove conditional code.
891 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
892 [__NR_ftruncate64]: Make code unconditional.
893 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
894 * sysdeps/unix/sysv/linux/truncate64.c: Do not
895 include <kernel-features.h>.
896 [!__NR_ftruncate64]: Remove conditional code.
897 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
898 [__NR_ftruncate64]: Make code unconditional.
899 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
901 include <kernel-features.h>.
902 [!__NR_ftruncate64]: Remove conditional code.
903 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
904 [__NR_ftruncate64]: Make code unconditional.
905 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
907 include <kernel-features.h>.
908 [!__NR_ftruncate64]: Remove conditional code.
909 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
910 [__NR_ftruncate64]: Make code unconditional.
911 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
912
4da0431d
JM
913 * configure.in (libc_cv_fpie): Weaken to a compile test using
914 LIBC_TRY_CC_OPTION.
915 * configure: Regenerated.
916
11ef492c
AK
9172012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
918
919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
923 Refreshed.
924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
930 Refreshed.
931
d66ef399
DM
9322012-05-27 David S. Miller <davem@davemloft.net>
933
934 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
935 (___Q_zero): New.
936 (__Q_simulate_exceptions): Return void. Change to simulate
937 exceptions by writing into the %fsr.
938 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
939 (__Qp_handle_exceptions): Likewise.
940 (numbers): Delete.
941 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
942 __Qp_handle_exceptions.
943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
944 __Qp_handle_exceptions.
945 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
946 as unused and give dummy FP_RND_NEAREST initializer.
947 (FP_INHIBIT_RESULTS): Define.
948 (___Q_simulate_exceptions): Update declaration.
949 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
950 formatting.
951 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
952 as unused and give dummy FP_RND_NEAREST initializer.
953 (__Qp_handle_exceptions): Update declaration.
954 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
955 formatting.
956
04fb54b5
TS
9572012-05-27 Thomas Schwinge <thomas@codesourcery.com>
958
959 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
960 the temporary FPU control word.
961 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
962 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
963 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
964 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
965 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
966 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
967 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
968 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
969 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
970 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
971 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
972
3f99608f
KK
9732012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
974
975 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
976 fields.
977
65a4de4e
CLT
9782012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
979
980 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
981 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
982 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
983 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
984 Likewise.
985 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
986 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
987 Likewise.
988
15749d40
UD
9892012-05-27 Ulrich Drepper <drepper@gmail.com>
990
991 * po/h.po: Update from translation team.
992
25dbcb27
AS
9932012-05-26 Andreas Schwab <schwab@linux-m68k.org>
994
3d3f8e55
AS
995 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
996
25dbcb27
AS
997 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
998 handling of denormals.
999 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1000 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1001 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1002 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1003 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1004 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1005 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1006 Likewise.
1007
7ad47a80 10082012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
1009
1010 [BZ #14152]
1011 * math/libm-test.inc (fma_test): Don't always expect underflow
1012 exception.
1013
9c6ea9fa
SP
10142012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1015
1016 [BZ #12416]
1017 * elf/tst-execstack.c: Include stackinfo.h.
1018 (do_test): Adjust test case to ensure that pthread_getattr_np
1019 behaviour remains the same after marking stack executable.
1020
a8239222
JM
10212012-05-25 Joseph Myers <joseph@codesourcery.com>
1022
1023 * sysdeps/unix/sysv/linux/kernel-features.h
1024 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1025 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1026 kernel-features.h.
1027 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1028 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1029 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1030 kernel-features.h.
1031 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1032 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1033
918b5606
L
10342012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1035
1036 * configure.in: Define the default includes to being none.
1037 * configure: Regenerated.
1038
3a097cc7
RM
10392012-05-25 Roland McGrath <roland@hack.frob.com>
1040
8422c9a5
RM
1041 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1042 * sysdeps/x86_64/setjmp.S: Likewise.
1043 * sysdeps/i386/bsd-setjmp.S: Likewise.
1044 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1045 * sysdeps/i386/setjmp.S: Likewise.
1046 * sysdeps/i386/__longjmp.S: Likewise.
1047 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1048 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1049
3a097cc7
RM
1050 * include/stap-probe.h: New file.
1051 * configure.in: Handle --enable-systemtap.
1052 * configure: Regenerated.
1053 * config.h.in (USE_STAP_PROBE): New #undef.
1054 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1055 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1056 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1057
21708942
JM
10582012-05-25 Joseph Myers <joseph@codesourcery.com>
1059
1060 [BZ #13717]
1061 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1062 to 2.4.0 where earlier.
1063 * sysdeps/unix/sysv/linux/configure: Regenerated.
1064 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1065 <kernel-features.h>.
1066 [__ASSUME_32BITUIDS]: Make code unconditional.
1067 [!__ASSUME_32BITUIDS]: Remove conditional code.
1068 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1069 <kernel-features.h>.
1070 [__ASSUME_32BITUIDS]: Make code unconditional.
1071 [!__ASSUME_32BITUIDS]: Remove conditional code.
1072 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1073 [__ASSUME_32BITUIDS]: Make code unconditional.
1074 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1075 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1076 <kernel-features.h>.
1077 [__ASSUME_32BITUIDS]: Make code unconditional.
1078 [!__ASSUME_32BITUIDS]: Remove conditional code.
1079 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1080 <kernel-features.h>.
1081 [__ASSUME_32BITUIDS]: Make code unconditional.
1082 [!__ASSUME_32BITUIDS]: Remove conditional code.
1083 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1084 <kernel-features.h>.
1085 [__ASSUME_32BITUIDS]: Make code unconditional.
1086 [!__ASSUME_32BITUIDS]: Remove conditional code.
1087 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1088 <kernel-features.h>.
1089 [__ASSUME_32BITUIDS]: Make code unconditional.
1090 [!__ASSUME_32BITUIDS]: Remove conditional code.
1091 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1092 <kernel-features.h>.
1093 [__ASSUME_32BITUIDS]: Make code unconditional.
1094 [!__ASSUME_32BITUIDS]: Remove conditional code.
1095 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1096 <kernel-features.h>.
1097 [__ASSUME_32BITUIDS]: Make code unconditional.
1098 [!__ASSUME_32BITUIDS]: Remove conditional code.
1099 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1100 <kernel-features.h>.
1101 [__ASSUME_32BITUIDS]: Make code unconditional.
1102 [!__ASSUME_32BITUIDS]: Remove conditional code.
1103 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1104 <kernel-features.h>.
1105 [__ASSUME_32BITUIDS]: Make code unconditional.
1106 [!__ASSUME_32BITUIDS]: Remove conditional code.
1107 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1108 <kernel-features.h>.
1109 [__ASSUME_32BITUIDS]: Make code unconditional.
1110 [!__ASSUME_32BITUIDS]: Remove conditional code.
1111 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1112 <kernel-features.h>.
1113 [__ASSUME_32BITUIDS]: Make code unconditional.
1114 [!__ASSUME_32BITUIDS]: Remove conditional code.
1115 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1116 <kernel-features.h>.
1117 [__NR_setresgid] (__setresgid): Do not declare.
1118 [__ASSUME_32BITUIDS]: Make code unconditional.
1119 [!__ASSUME_32BITUIDS]: Remove conditional code.
1120 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1121 <kernel-features.h>.
1122 [__NR_setresuid] (__setresuid): Do not declare.
1123 [__ASSUME_32BITUIDS]: Make code unconditional.
1124 [!__ASSUME_32BITUIDS]: Remove conditional code.
1125 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1126 <kernel-features.h>.
1127 [__ASSUME_32BITUIDS]: Make code unconditional.
1128 [!__ASSUME_32BITUIDS]: Remove conditional code.
1129 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1130 <kernel-features.h>.
1131 [__ASSUME_32BITUIDS]: Make code unconditional.
1132 [!__ASSUME_32BITUIDS]: Remove conditional code.
1133 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1134 <kernel-features.h>.
1135 [__ASSUME_32BITUIDS]: Make code unconditional.
1136 [!__ASSUME_32BITUIDS]: Remove conditional code.
1137 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1138 <kernel-features.h>.
1139 [__ASSUME_32BITUIDS]: Make code unconditional.
1140 [!__ASSUME_32BITUIDS]: Remove conditional code.
1141 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1142 <kernel-features.h>.
1143 [__ASSUME_32BITUIDS]: Make code unconditional.
1144 [!__ASSUME_32BITUIDS]: Remove conditional code.
1145 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1146 <kernel-features.h>.
1147 [__ASSUME_32BITUIDS]: Make code unconditional.
1148 [!__ASSUME_32BITUIDS]: Remove conditional code.
1149 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1150 <kernel-features.h>.
1151 [__ASSUME_32BITUIDS]: Make code unconditional.
1152 [!__ASSUME_32BITUIDS]: Remove conditional code.
1153 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1154 <kernel-features.h>.
1155 [__ASSUME_32BITUIDS]: Make code unconditional.
1156 [!__ASSUME_32BITUIDS]: Remove conditional code.
1157 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1158 <kernel-features.h>.
1159 [__ASSUME_32BITUIDS]: Make code unconditional.
1160 [!__ASSUME_32BITUIDS]: Remove conditional code.
1161 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1162 <kernel-features.h>.
1163 [__ASSUME_32BITUIDS]: Make code unconditional.
1164 [!__ASSUME_32BITUIDS]: Remove conditional code.
1165 * sysdeps/unix/sysv/linux/kernel-features.h
1166 (__ASSUME_SETRESUID_SYSCALL): Remove.
1167 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1168 (__ASSUME_32BITUIDS): Likewise.
1169 (__ASSUME_LDT_WORKS): Likewise.
1170 (__ASSUME_O_DIRECTORY): Likewise.
1171 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1172 architecture but not kernel version.
1173 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1174 (__ASSUME_MMAP2_SYSCALL): Likewise.
1175 (__ASSUME_STAT64_SYSCALL): Likewise.
1176 (__ASSUME_IPC64): Likewise.
1177 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1178 <kernel-features.h>.
1179 [__ASSUME_32BITUIDS]: Make code unconditional.
1180 [!__ASSUME_32BITUIDS]: Remove conditional code.
1181 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1182 <kernel-features.h>.
1183 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1184 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1185 132096]: Remove conditional code.
1186 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1187 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1188 <kernel-features.h>.
1189 [__ASSUME_32BITUIDS]: Make code unconditional.
1190 [!__ASSUME_32BITUIDS]: Remove conditional code.
1191 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1192 <kernel-features.h>.
1193 [__ASSUME_32BITUIDS]: Make code unconditional.
1194 [!__ASSUME_32BITUIDS]: Remove conditional code.
1195 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1196 <kernel-features.h>.
1197 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1198 unconditional.
1199 (__setresgid): Do not declare.
1200 [__ASSUME_32BITUIDS]: Make code unconditional.
1201 [!__ASSUME_32BITUIDS]: Remove conditional code.
1202 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1203 <kernel-features.h>.
1204 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1205 unconditional.
1206 (__setresuid): Do not declare.
1207 [__ASSUME_32BITUIDS]: Make code unconditional.
1208 [!__ASSUME_32BITUIDS]: Remove conditional code.
1209 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1210 <kernel-features.h>.
1211 [__ASSUME_32BITUIDS]: Make code unconditional.
1212 [!__ASSUME_32BITUIDS]: Remove conditional code.
1213 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1214 <kernel-features.h>.
1215 [__ASSUME_32BITUIDS]: Make code unconditional.
1216 [!__ASSUME_32BITUIDS]: Remove conditional code.
1217
a386f1cc
RH
12182012-05-25 Richard Henderson <rth@twiddle.net>
1219
1220 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1221 dl_hwcap to ifunc resolver.
1222 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1223 elf_ifunc_invoke.
1224 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1225 dl_hwcap to ifunc resolver.
1226 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1227
b6550497
JM
12282012-05-24 Joseph Myers <joseph@codesourcery.com>
1229
1230 [BZ #14153]
1231 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1232 for |x| <= 2**-26, not 2**-57.
1233 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1234 exception.
1235
b0bc23a1
JL
12362012-05-24 Jeff Law <law@redhat.com>
1237
1238 * stdio-common/Makefile (tests): Add bug25.
1239 * stdio-common/bug25.c: New test.
1240
347c92e9
L
12412012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1242
1243 [BZ #13576]
1244 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1245 multiple of MALLOC_ALIGNMENT in size.
1246 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1247
6bcc8b3f
JM
12482012-05-24 Joseph Myers <joseph@codesourcery.com>
1249
1250 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1251 Require >= 256.
1252 (FILENAME_MAX): Use macro-int-constant.
1253 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1254 (_IOFBF): Use macro-int-constant.
1255 (_IOLBF): Likewise.
1256 (_IONBF): Likewise.
1257 (SEEK_CUR): Likewise.
1258 (SEEK_END): Likewise.
1259 (SEEK_SET): Likewise.
1260 (TMP_MAX): Likewise.
1261 (EOF): Use macro-int-constant. Require < 0.
1262 (NULL): Use macro-constant. Require == 0.
1263 (stdin): Require type to be FILE *.
1264 (stdout): Likewise.
1265 (stderr): Likewise.
1266 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1267 macro-int-constant.
1268 (EXIT_SUCCESS): Likewise.
1269 (NULL): Use macro-constant. Require == 0.
1270 (RAND_MAX): Use macro-int-constant.
1271 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1272 [C99-based standards] (strtof): Require function.
1273 [C99-based standards] (strtold): Likewise.
1274 [C99-based standards] (strtoll): Likewise.
1275 [C99-based standards] (strtoull): Likewise.
1276 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1277 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1278 [ISO || ISO99 || ISO11] (math.h): Likewise.
1279 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1280 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1281 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1282
d18ea0c5
AS
12832012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1284
1285 [BZ #14132]
56d25bb8
AS
1286 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1287 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1288 * intl/dgettext.c (DCGETTEXT): Likewise.
1289 * intl/gettext.c (DCGETTEXT): Likewise.
1290 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1291 * posix/regex_internal.h (gettext): Likewise.
1292 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1293 Remove declaration.
1294 * include/argz.h (__argz_count_internal)
1295 (__argz_stringify_internal): Remove declaration.
1296 (__argz_count, __argz_stringify): Declare hidden proto.
1297 * intl/dcgettext.c: Remove use of INTDEF.
1298 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1299 * string/argz-stringify.c: Likewise.
1300 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1301 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1302 Declare hidden proto.
d18ea0c5
AS
1303 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1304 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1305 Declare hidden proto.
1306 * include/stdio.h (__asprintf_internal): Don't declare.
1307 (__asprintf): Don't define as macro. Declare hidden proto.
1308 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1309 (__fsetlocking): Declare hidden proto.
1310 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1311 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1312 hidden proto.
1313 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1314 (_IO_setlinebuf): Remove use of INTUSE.
1315 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1316 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1317 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1318 Remove declaration.
1319 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1320 (_IO_do_flush): Remove use of INTUSE.
1321 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1322 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1323 (_IO_adjust_column, _IO_least_wmarker)
1324 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1325 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1326 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1327 (_IO_default_doallocate, _IO_wdefault_doallocate)
1328 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1329 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1330 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1331 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1332 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1333 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1334 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1335 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1336 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1337 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1338 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1339 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1340 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1341 proto.
1342 (_IO_flush_all_internal, _IO_adjust_column_internal)
1343 (_IO_default_uflow_internal, _IO_default_finish_internal)
1344 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1345 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1346 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1347 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1348 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1349 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1350 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1351 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1352 (_IO_file_close_internal, _IO_file_close_it_internal)
1353 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1354 (_IO_file_init_internal, _IO_file_attach_internal)
1355 (_IO_file_fopen_internal, _IO_file_read_internal)
1356 (_IO_file_sync_internal, _IO_file_seek_internal)
1357 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1358 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1359 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1360 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1361 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1362 (_IO_list_all_internal, _IO_link_in_internal)
1363 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1364 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1365 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1366 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1367 (_IO_do_write_internal, _IO_padn_internal)
1368 (_IO_getline_info_internal, _IO_getline_internal)
1369 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1370 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1371 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1372 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1373 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1374 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1375 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1376 with libc_hidden_ver, remove use of INTUSE.
1377 * libio/genops.c: Likewise.
1378 * libio/freopen.c: Likewise.
1379 * libio/freopen64.c: Likewise.
1380 * libio/iofclose.c: Likewise.
1381 * libio/iofdopen.c: Likewise.
1382 * libio/iofflush.c: Likewise.
1383 * libio/iofflush_u.c: Likewise.
1384 * libio/iofgets.c: Likewise.
1385 * libio/iofgets_u.c: Likewise.
1386 * libio/iofopen.c: Likewise.
1387 * libio/iofopncook.c: Likewise.
1388 * libio/iofread.c: Likewise.
1389 * libio/iofread_u.c: Likewise.
1390 * libio/ioftell.c: Likewise.
1391 * libio/iofwrite.c: Likewise.
1392 * libio/iogetline.c: Likewise.
1393 * libio/iogets.c: Likewise.
1394 * libio/iogetwline.c: Likewise.
1395 * libio/iopadn.c: Likewise.
1396 * libio/iopopen.c: Likewise.
1397 * libio/ioseekoff.c: Likewise.
1398 * libio/ioseekpos.c: Likewise.
1399 * libio/iosetbuffer.c: Likewise.
1400 * libio/iosetvbuf.c: Likewise.
1401 * libio/ioungetc.c: Likewise.
1402 * libio/ioungetwc.c: Likewise.
1403 * libio/iovdprintf.c: Likewise.
1404 * libio/iovsprintf.c: Likewise.
1405 * libio/iovsscanf.c: Likewise.
1406 * libio/memstream.c: Likewise.
1407 * libio/obprintf.c: Likewise.
1408 * libio/oldfileops.c: Likewise.
1409 * libio/oldiofclose.c: Likewise.
1410 * libio/oldiofdopen.c: Likewise.
1411 * libio/oldiofopen.c: Likewise.
1412 * libio/oldiopopen.c: Likewise.
1413 * libio/oldstdfiles.c: Likewise.
1414 * libio/putc.c: Likewise.
1415 * libio/setbuf.c: Likewise.
1416 * libio/setlinebuf.c: Likewise.
1417 * libio/stdfiles.c: Likewise.
1418 * libio/strops.c: Likewise.
1419 * libio/vasprintf.c: Likewise.
1420 * libio/vscanf.c: Likewise.
1421 * libio/vsnprintf.c: Likewise.
1422 * libio/vswprintf.c: Likewise.
1423 * libio/wfiledoalloc.c: Likewise.
1424 * libio/wfileops.c: Likewise.
1425 * libio/wgenops.c: Likewise.
1426 * libio/wmemstream.c: Likewise.
1427 * libio/wstrops.c: Likewise.
1428 * libio/__fpurge.c: Likewise.
1429 * libio/__fsetlocking.c: Likewise.
1430 * assert/assert.c: Likewise.
1431 * debug/fgets_chk.c: Likewise.
1432 * debug/fgets_u_chk.c: Likewise.
1433 * debug/fread_chk.c: Likewise.
1434 * debug/fread_u_chk.c: Likewise.
1435 * debug/gets_chk.c: Likewise.
1436 * debug/obprintf_chk.c: Likewise.
1437 * debug/vasprintf_chk.c: Likewise.
1438 * debug/vdprintf_chk.c: Likewise.
1439 * debug/vsnprintf_chk.c: Likewise.
1440 * debug/vsprintf_chk.c: Likewise.
1441 * malloc/mtrace.c: Likewise.
1442 * misc/error.c: Likewise.
1443 * misc/syslog.c: Likewise.
1444 * stdio-common/asprintf.c: Likewise.
1445 * stdio-common/fxprintf.c: Likewise.
1446 * stdio-common/getw.c: Likewise.
1447 * stdio-common/isoc99_fscanf.c: Likewise.
1448 * stdio-common/isoc99_scanf.c: Likewise.
1449 * stdio-common/isoc99_vfscanf.c: Likewise.
1450 * stdio-common/isoc99_vscanf.c: Likewise.
1451 * stdio-common/isoc99_vsscanf.c: Likewise.
1452 * stdio-common/printf-prs.c: Likewise.
1453 * stdio-common/printf_fp.c: Likewise.
1454 * stdio-common/printf_fphex.c: Likewise.
1455 * stdio-common/printf_size.c: Likewise.
1456 * stdio-common/putw.c: Likewise.
1457 * stdio-common/scanf.c: Likewise.
1458 * stdio-common/sprintf.c: Likewise.
1459 * stdio-common/tmpfile.c: Likewise.
1460 * stdio-common/vfprintf.c: Likewise.
1461 * stdio-common/vfscanf.c: Likewise.
1462 * stdlib/strfmon_l.c: Likewise.
1463 * sunrpc/openchild.c: Likewise.
1464 * sunrpc/xdr_stdio.c: Likewise.
1465 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1466 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1467
d6c33fda
RM
14682012-05-24 Roland McGrath <roland@hack.frob.com>
1469
c1487492
RM
1470 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1471
1472 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1473 in the third column, to generate for the shared library an IFUNC
1474 that uses _dl_vdso_vsym.
1475 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1476 * Makeconfig (object-suffixes-noshared): New variable.
1477
1478 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1479 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1480 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1481 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1482
d6c33fda
RM
1483 [BZ #14132]
1484 * include/sys/time.h (__gettimeofday): Remove macro.
1485 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1486 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1487 Remove INTDEF.
1488 (__gettimeofday): Add libc_hidden_def.
1489 (gettimeofday): Add libc_hidden_weak.
1490 * sysdeps/mach/gettimeofday.c: Likewise.
1491 * sysdeps/posix/gettimeofday.c: Likewise.
1492 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1493 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1494 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1495 (__gettimeofday_internal): Remove strong_alias.
1496 (__gettimeofday): Add libc_hidden_def.
1497 (gettimeofday): Add libc_hidden_weak.
1498 * sysdeps/unix/syscalls.list (gettimeofday):
1499 Remove __gettimeofday_internal alias.
1500
b5a2bbe6
L
15012012-05-24 Daniel Jacobowitz <drow@false.org>
1502 H.J. Lu <hongjiu.lu@intel.com>
1503
1504 [BZ #12495]
1505 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1506 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1507 (largebin_index_32_big): New.
1508 (largebin_index): Use it for 16-byte alignment.
1509 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1510 correction with front_misalign.
1511
cfba4fda
L
15122012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1513
7f907421
L
1514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1516 Likewise.
1517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1518 Likewise.
1519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1520 Likewise.
1521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1522 Likewise.
1523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1524 Likewise.
1525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1526 Likewise.
1527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1528 Likewise.
1529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1530 Likewise.
1531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1532 Likewise.
1533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1534 Likewise.
1535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1536 Likewise.
1537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1538 Likewise.
1539
cfba4fda
L
1540 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1541 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1542
80bad0cc
JM
15432012-05-24 Joseph Myers <joseph@codesourcery.com>
1544
7a25eb06
JM
1545 [BZ #10846]
1546 [BZ #14036]
1547 * math/libm-test.inc (exp_test): Add test from bug 14036.
1548 (pow_test): Add test from bug 10846.
1549
795405f9
JM
1550 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1551 and other flags.
1552 (special_function): Do not include flags in test name.
1553 (parse_args): Likewise.
1554 * sysdeps/i386/fpu/libm-test-ulps: Update.
1555 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1556 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1557 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1559
80bad0cc
JM
1560 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1561 exceptions.
1562 * math/libm-test.inc ("Philosophy"): Update comment about
1563 exception testing.
1564 (UNDERFLOW_EXCEPTION): New macro.
1565 (UNDERFLOW_EXCEPTION_OK): Likewise.
1566 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1567 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1568 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1569 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1570 (INVALID_EXCEPTION_OK): Update value.
1571 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1572 (OVERFLOW_EXCEPTION_OK): Likewise.
1573 (IGNORE_ZERO_INF_SIGN): Likewise.
1574 (test_exceptions): Handle underflow exceptions.
1575 (acos_test): Update for underflow exception expectations.
1576 (cexp_test): Likewise.
1577 (clog_test): Likewise.
1578 (clog10_test): Likewise.
1579 (csqrt_test): Likewise.
1580 (ctan_test): Likewise.
1581 (ctanh_test): Likewise.
1582 (exp_test): Likewise.
1583 (exp10_test): Likewise.
1584 (exp2_test): Likewise.
1585 (expm1_test): Likewise.
1586 (fma_test): Likewise.
1587 (j0_test): Likewise.
1588 (jn_test): Likewise.
1589 (nexttoward_test): Likewise.
1590 (pow_test): Likewise.
1591 (scalbn_test): Likewise.
1592 (scalbln_test): Likewise.
1593 (tan_test): Likewise.
1594 (y1_test): Likewise.
1595 * sysdeps/i386/fpu/libm-test-ulps: Update.
1596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1597
9e0e3d0b
DM
15982012-05-23 David S. Miller <davem@davemloft.net>
1599
1600 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1601 (__libc_sigaction): Remove unused local variables.
1602
ccd0a08f
L
16032012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1604
1605 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1606
62bdf9a6
PE
16072012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1608
f8591f80
PE
1609 mktime: avoid signed integer overflow
1610 * time/mktime.c (__mktime_internal): Do not mishandle the case
1611 where diff == INT_MIN.
1612
94c7d826
PE
1613 mktime: simplify computation of average
1614 * time/mktime.c (ranged_convert): Use new time_t_avg function
1615 instead of rolling our own (probably-slower) code.
1616
ce73d683
PE
1617 mktime: do not assume signed right shift propagates sign bit
1618 * time/mktime.c (isdst_differ): New static function.
1619 (__mktime_internal): No need to normalize tm_isdst now.
1620 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1621 tm_isdst values.
1622
72a22e59
PE
1623 mktime: merge another wrapv change from gnulib
1624 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1625 from some compilers.
1626
68605433
PE
1627 mktime: remove incorrect attempt at unusual arithmetics
1628 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1629 The code didn't really work on such machines anyway.
1630 (TYPE_MINIMUM): Assume two's complement.
1631 (twos_complement_arithmetic): Verify that long_int and time_t
1632 are two's complement (or unsigned, in the latter case).
1633
03cf7fe3
PE
1634 mktime: check signed shifts on long_int and time_t, too
1635 * time/mktime.c (SHR): Check that shifts work as desired
1636 on the types long_int and time_t too, as SHR is used on
1637 such types.
1638
f04dfbc2
PE
1639 mktime: do not assume 'long' is wide enough
1640 * time/mktime.c (verify): Move decl up.
1641 (long_int): New type.
1642 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1643 to remove assumption in the code that 'long' is wide enough to
1644 store year values. This assumption is not true on x32 and on
1645 some non-glibc platforms.
1646
62bdf9a6
PE
1647 mktime: merge wrapv change from gnulib
1648 * time/mktime.c (WRAPV): New macro.
1649 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1650 (guess_time_tm, __mktime_internal): Do not assume that signed
1651 integer overflow wraps around; modern compilers generate code
1652 where this assumption is no longer valid.
1653
5e292e4f
L
16542012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1655
1656 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1657 Replace "jmp L(pseudo_end)" with "ret".
1658 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1659 Likewise.
1660
8caf8c87
AJ
16612012-05-23 Andreas Jaeger <aj@suse.de>
1662
1663 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1664 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1665
1a09dc56
AJ
16662012-05-23 Andreas Jaeger <aj@suse.de>
1667 Maximilian Attems <max@stro.at>
1668
1669 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1670 New macros.
1671
1c87aba0
L
16722012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1673
1674 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1675 code so that pseudo_end is just ret and the stack pointer is
1676 correct also for static library in error case.
1677
40e45bd5
JM
16782012-05-23 Joseph Myers <joseph@codesourcery.com>
1679
c2670533
JM
1680 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1681 move to syscalls.list.
1682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1686
40e45bd5
JM
1687 * manual/install.texi (Running make install): Do not mention Linux
1688 kernel version for which pt_chown is not needed.
1689 (Linux): Do not mention problems with nscd with 2.0 kernels.
1690 * INSTALL: Regenerated.
1691
be08eda5
AJ
16922012-05-23 Andreas Jaeger <aj@suse.de>
1693
1694 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1695 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1696 macro.
1697 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1698 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1699 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1700 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1701 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1702 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1703 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1704 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1705 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1706 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1707 * sysdeps/unix/sysv/linux/bits/in.h
1708 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1709
a6a056bb
RM
17102012-05-22 Roland McGrath <roland@hack.frob.com>
1711
1712 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1713 (PREPARE_VERSION): Just use assert instead, it will be elided
1714 under [NDEBUG] anyway.
1715
c9009328
L
17162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1717
1718 * sysdeps/unix/sysv/linux/Makefile: Include
1719 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1720 (sysdep_routines): Remove sysctl.
c9009328
L
1721 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1722 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1723 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1724 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1725 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1726
73338355
AJ
17272012-05-22 Andreas Jaeger <aj@suse.de>
1728
1729 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1730 that pseudo_end is just ret and the stack pointer is correct also
1731 for static library in error case.
1732
d44638b0
PP
17332012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1734
1735 [BZ #14122]
1736 * nss/nsswitch.c (defconfig_entries): New variable.
1737 (__nss_database_lookup): Don't leak defconfig entries.
1738 (nss_parse_service_list): Don't leak on error paths.
1739 (free_database_entries): New function.
1740 (free_defconfig): New function.
1741 (free_mem): Move common code to free_database_entries.
1742
31a39bd8
L
17432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1744
da0331a8
L
1745 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1746 Add arch_prctl.
1747 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1748
31a39bd8
L
1749 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1750 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1751 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1752 New macro.
1753 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1754 (INTERNAL_SYSCALL_TYPES): Likewise.
1755 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1756 (LOAD_REGS_TYPES_[1-6]): Likewise.
1757 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1758 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1759
45470df3
AZ
17602012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1761
1762 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1763 copysignl for GLIBC_2_0.
1764 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1765 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1766 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1767 logbl for GLIBC_2_0.
1768 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1769 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1770
98a61bcb
L
17712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1772
a4f6e481
L
1773 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1774 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1775
f63d5db6
L
1776 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1777 Use "neg %eax".
1778
98a61bcb
L
1779 * time/mktime.c: Update copyright years.
1780
95770f14
PE
17812012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1782
6226efbd
PE
1783 mktime: merge comment-quoting-style change from gnulib
1784 * time/mktime.c: Quote 'like this' in comments.
1785 The GNU coding standards suggest that we no longer quote `like this',
1786 as "`" and "'" are typically rendered asymmetrically nowadays.
1787 The typical gnulib style is to quote 'like this' when quoting
1788 code, and "like this" when quoting English.
1789
b99e4f78
PE
1790 * time/mktime.c (compile-command): Add "-I.".
1791
643e01e6
PE
1792 mktime: merge mktime-internal.h change from gnulib
1793 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1794
2554247d
PE
1795 mktime: merge time_r change from gnulib
1796 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1797
826dd0ab
PE
1798 mktime: merge DEBUG change from gnulib
1799 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1800 case system <time.h> has a #define.
1801
bd83aabe
PE
1802 mktime: merge <sys/types.h> change from gnulib
1803 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1804 since <time.t> is now guaranteed to define time_t.
1805
95770f14
PE
1806 mktime: merge HAVE_CONFIG_H change from gnulib
1807 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1808
5e1a27a9
L
18092012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1810
0e44a77e
L
1811 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1812 Use "neg %eax".
1813
5e1a27a9
L
1814 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1815 __rlim_t cast.
1816 (struct rusage): Use anonymous union to pad each field to
1817 __syscall_slong_t.
1818
46259bec
DM
18192012-05-21 David S. Miller <davem@davemloft.net>
1820
1821 * Makefules (o-iterator): Remove .s cases.
1822 (compile-command.s): Delete.
1823 (COMPILE.s): Delete.
1824 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1825
59f0c22e
JM
18262012-05-21 Joseph Myers <joseph@codesourcery.com>
1827
1828 * configure.in (libc_cv_predef_stack_protector): Only consider
1829 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1830 * configure: Regenerated.
1831
20c07380
L
18322012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1833
bbb3154b
L
1834 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1835 New macro. Use R*LP on int and pointer.
1836 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1837 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1838 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1839 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1840
20c07380
L
1841 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1842 [__WORDSIZE_TIME64_COMPAT32] instead of
1843 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1844 (struct utmp): Likewise.
1845 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1846 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1847 Renamed to ...
1848 (__WORDSIZE_TIME64_COMPAT32): This.
1849 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1850 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1851 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1852 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1853 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1854 (__WORDSIZE_TIME64_COMPAT32): New macro.
1855
d8d1017e
AJ
18562012-05-21 Andreas Jaeger <aj@suse.de>
1857
1858 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1859 only if [SHARED]. Add prototype for __wcschr_ia32.
1860
6c7fb145
RM
18612012-05-21 Roland McGrath <roland@hack.frob.com>
1862
1863 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1864 of %rbp unmolested in the jmp_buf while mangling the low bits.
1865 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1866 unmolested high bits of %rbp while demangling the low bits.
1867 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1868
66274218
AJ
18692012-05-21 Andreas Jaeger <aj@suse.de>
1870
07c58f8f
AJ
1871 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1872 * sunrpc/svc_simple.c: Use it for registerrpc.
1873 * sunrpc/xcrypt.c: Use it for passwd2des.
1874
66274218
AJ
1875 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1876
61f65140
L
18772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1878
1879 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1880 Don't define if [__SYSCALL_WORDSIZE != 32].
1881 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1882 New macro.
1883
5fefb436
AJ
18842012-05-21 Bruno Haible <bruno@clisp.org>
1885 Andreas Jaeger <aj@suse.de>
1886
1887 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1888 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1889 inptr and inend for must_buffer_ch.
1890 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1891 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1892 * stdio-common/Makefile (tests): Remove bug15.
1893 (bug15-ENV): Remove macro.
1894 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1895 anymore.
1896
d8e272ab
AJ
18972012-05-19 Andreas Jaeger <aj@suse.de>
1898 Roland McGrath <roland@hack.frob.com>
1899
1900 * manual/contrib.texi: Completely rewritten. It contains now an
1901 alphabetical list of contributors and their contributions.
1902
4a56a162
RH
19032012-05-21 Richard Henderson <rth@twiddle.net>
1904
1905 * misc/getauxval.c (__getauxval): Use unsigned long int.
1906 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1907 (getauxval): Use unsigned long int.
1908
d024d23c
L
19092012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1910
1911 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1912
cbc00a03
RM
19132012-05-21 Roland McGrath <roland@hack.frob.com>
1914
1915 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1916 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1917 __alignof__ (long double).
1918
478143fa
AZ
19192012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1920
1921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1922
c7683a6d
RH
19232012-05-20 Richard Henderson <rth@twiddle.net>
1924
1925 * misc/getauxval.c: New file.
1926 * misc/sys/auxv.h: New file.
1927 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1928 (routines): Add getauxval.
1929 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1930 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1931 * elf/dl-sysdep.c (_dl_auxv): Remove.
1932 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1933 * elf/dl-support.c (_dl_auxv): New variable.
1934 (_dl_aux_init): Initialize it.
1935 * manual/startup.texi (Auxiliary Vector): New node.
1936 * sysdeps/generic/bits/hwcap.h: New file.
1937 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1938 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1939 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1940 * sysdeps/sparc/sysdep.h: ... here. Include it.
1941 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1942 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1944 Update.
c7683a6d
RH
1945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1948 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1953
a6f1845d
AZ
19542012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1955
1956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1957
cbcbe830
DM
19582012-05-19 David S. Miller <davem@davemloft.net>
1959
1960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1961
e0b16cc2
JM
19622012-05-19 Joseph Myers <joseph@codesourcery.com>
1963
1964 [BZ #14123]
1965 * math/s_ccosh.c: Include <float.h>
1966 (__ccosh): Avoid internal overflow calculating sinh and cosh
1967 values before multiplying by sin and cos values.
1968 * math/s_ccoshf.c: Likewise.
1969 * math/s_ccoshl.c: Likewise.
1970 * math/s_csin.c: Likewise.
1971 * math/s_csinf.c: Likewise.
1972 * math/s_csinl.c: Likewise.
1973 * math/s_csinh.c: Likewise.
1974 * math/s_csinhf.c: Likewise.
1975 * math/s_csinhl.c: Likewise.
1976 * math/libm-test.inc (ccos_test): Add more tests.
1977 (ccosh_test): Likewise.
1978 (csin_test): Likewise.
1979 (csinh_test): Likewise.
1980 * sysdeps/i386/fpu/libm-test-ulps: Update.
1981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1982
6ad13e08
L
19832012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1984
f66f0ce8
L
1985 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1986 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1987
6ad13e08
L
1988 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1989
b1d072a7
JM
19902012-05-19 Joseph Myers <joseph@codesourcery.com>
1991
1992 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1993 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1994 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1995 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1996 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1997 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1998 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1999 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2000 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2001 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2002 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2003 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2004 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2005 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2006 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2007 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2008 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2009 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2010 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2011 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2012 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2013 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2014 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2015 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2016 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2017 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2018 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2019 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2020 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2021 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2022 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2023
9eae47cb
AJ
20242012-05-18 Andreas Jaeger <aj@suse.de>
2025
2026 * csu/.gitignore: Delete.
2027
bb07f69f
L
20282012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2029
2030 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2031 (timex): Use __syscall_slong_t.
2032
e6bdb741
AJ
20332012-05-18 Andreas Jaeger <aj@suse.de>
2034 Carlos O'Donell <carlos_odonell@mentor.com>
2035
2036 * manual/install.texi (Configuring and compiling): Update
2037 description about files modified in the source directory.
d6c33fda 2038 * INSTALL: Regenerated.
e6bdb741 2039
1b74487e
L
20402012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2041
2042 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2043 value. Use "or" to set return value to -1.
2044 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2045 negate return value.
2046
a88b64b9
TMQMF
20472012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2048
2049 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2050 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2051 failure if the compiler has Graphite support disabled.
2052 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2053 Likewise.
2054 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2055 CFLAGS-memmove.c): Likewise.
2056 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2057 Likewise.
2058
3707636e
L
20592012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2060
610b8622
L
2061 * sysdeps/x86_64/x32/_itoa.h: New file.
2062
7cd195df
L
2063 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2064 getdents system call only if kernel and user dirents have the
2065 same d_ino and d_off.
2066
94b07d20
L
2067 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2068 LLONG_MAX != LONG_MAX.
2069 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2070 (_fitoa_word): Likewise.
2071
18298070
L
2072 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2073 years.
2074 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2075 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2076 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2077
553c7ea4
L
2078 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2079 include <bits/wordsize.h>. Check __x86_64__ instead of
2080 __WORDSIZE.
2081 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2082 if __x86_64__ is defined. Use anonymous union on fpstate.
2083
3707636e
L
2084 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2085 anonymous union.
2086
b53ef01a
AS
20872012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2088
37fb1dc0
AS
2089 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2090 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2091 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2092 Refer to _rtld_local_ro instead of _rtld_global_ro.
2093 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2094 Likewise.
2095 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2096 Likewise.
2097 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2098 Likewise.
2099 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2100 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2101 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2102
b53ef01a
AS
2103 * sysdeps/powerpc/powerpc32/dl-machine.c
2104 (__elf_machine_runtime_setup) [PROF]: Don't reference
2105 _dl_prof_resolve.
2106
7a185db2
AJ
21072012-05-18 Andreas Jaeger <aj@suse.de>
2108
2109 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2110 function only available for GCCs before 3.4 since GCC 3.4
2111 introduced a builtin.
2112 (lrint): Likewise.
2113 (llrintf): Likewise.
2114 (llrint): Likewise.
2115 (fmaxf): Likewise.
2116 (fmax): Likewise.
2117 (fminf): Likewise.
2118 (fmin): Likewise.
2119 (rint): Likewise.
2120 (rintf): Likewise.
2121 (nearbyint): Likewise.
2122 (nearbyintf): Likewise.
2123 (ceil): Likewise.
2124 (ceilf): Likewise.
2125 (floor): Likewise.
2126 (floorf): Likewise.
2127
3e5aef87
L
21282012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2129
428bd707
L
2130 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2131 on both fields and cast pointer to __syscall_ulong_t.
2132
3e5aef87
L
2133 * bits/types.h (__fsword_t): New type.
2134 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2135 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2136 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2137 (__FSWORD_T_TYPE): Likewise.
2138 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2139 (__FSWORD_T_TYPE): Likewise.
2140 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2141 (__FSWORD_T_TYPE): Likewise.
2142 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2143 (__FSWORD_T_TYPE): Likewise.
2144 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2145 __SWORD_TYPE with __fsword_t.
2146 (statfs64): Likewise.
2147
1ba7c3dc
DM
21482012-05-17 David S. Miller <davem@davemloft.net>
2149
2150 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2151
59910343
AJ
21522012-05-17 Andreas Jaeger <aj@suse.de>
2153
2154 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2155 warning.
2156
2e4c1e9e
L
21572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2158
2159 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2160
de7f5ce7
AJ
21612012-05-17 Andreas Jaeger <aj@suse.de>
2162
2163 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2164 when it is used.
2165
286abc3d
CM
21662012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2167
2168 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2169
477cc68e
L
21702012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2171
2172 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2173 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2174
1a0994f5
CD
21752012-05-17 Andreas Jaeger <aj@suse.de>
2176 Carlos O'Donell <carlos_odonell@mentor.com>
2177
2178 [BZ #14059]
2179 * sysdeps/x86_64/multiarch/init-arch.h
2180 (bit_YMM_Usable): Rename to...
2181 (bit_AVX_Usable): ... this.
2182 (bit_FMA4_Usable): New macro.
2183 (bit_XMM_state): New macro.
2184 (bit_YMM_state): New macro.
2185 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2186 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2187 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2188 (CPUID_OSXSAVE): New macro.
2189 (CPUID_AVX): New macro.
2190 (CPUID_FMA4): New macro.
2191 (index_YMM_Usable): Rename to...
2192 (index_AVX_Usable): ... this.
2193 (HAS_AVX): Use HAS_ARCH_FEATURE.
2194 (HAS_FMA4): Likewise.
2195 (HAS_YMM_USABLE): Remove.
2196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2197 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2198 are present.
2199 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2200 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2201 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2202 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2203 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2204
0af797de
CM
22052012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2206
2207 * math/libm-test.c: Support platforms without multiple rounding modes.
2208 * math/bug-nextafter.c: Support platforms without FP exceptions.
2209 * math/bug-nexttoward.c: Likewise.
2210 * math/test-fenv.c: Likewise.
2211 * math/test-misc.c: Likewise.
2212 * stdlib/bug-getcontext.c: Likewise.
2213
e39745ff
AJ
22142012-05-17 Andreas Jaeger <aj@suse.de>
2215
2216 * manual/examples/search.c (critter_cmp): Change signature to
2217 avoid warnings.
2218 * manual/string.texi (Collation Functions): Likewise.
2219
48970aba
L
22202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2221
2222 * bits/types.h: Fold copyright years.
2223 * bits/typesizes.h: Likewise.
2224 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2225 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2226 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2227 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2228 * time/time.h: Likewise.
2229
bedee953
PP
22302012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2231
2232 [BZ #208]
2233 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2234 in instead of returning them. Return void.
2235 (__libc_mallinfo): Accumulate over all arenas.
2236 (__malloc_stats): Adjust for change in int_mallinfo interface.
2237
61653dfb
RM
22382012-05-16 Roland McGrath <roland@hack.frob.com>
2239
30b99d79
RM
2240 [BZ #10375]
2241 * configure.in (NM): Add AC_CHECK_TOOL for it.
2242 (libc_extra_cflags): New substituted variable.
2243 Check for -fstack-protector being used implicitly.
2244 * configure: Regenerated.
2245 * config.make.in (config-extra-cflags): New variable,
2246 gets @libc_extra_cflags@.
2247 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2248
61653dfb
RM
2249 [BZ #10375]
2250 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2251 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2252 * configure: Regenerated.
2253 * config.make.in (CPPUNDEFS): New substituted variable.
2254 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2255 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2256 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2257
661768bb
L
22582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2259
2260 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2261 (mq_attr): Use __syscall_slong_t.
2262
d4261567
L
22632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2264
2265 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2266 Check __x86_64__ instead of __WORDSIZE.
2267 (_STAT_VER_LINUX): Likewise.
2268 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2269 __syscall_ulong_t and __syscall_slong_t.
2270 (stat64): Likewise.
2271
cf3ff365
L
22722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2273
2274 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2275
76cf3e4d
L
22762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2277
2278 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2279
a637753a
L
22802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2281
2282 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2283 __syscall_ulong_t.
2284
d5e05119
L
2285 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2286 include <bits/wordsize.h>. Check __x86_64__ instead of
2287 __WORDSIZE.
2288 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2289 defined.
2290 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2291
f62ee380
L
2292 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2293 include <bits/wordsize.h>. Check __x86_64__ instead of
2294 __WORDSIZE.
2295 (user_regs_struct): Use "__extension__ unsigned long long"
2296 instead of "unsigned long" if __x86_64__ is defined.
2297 (user): Likewise. Pad after pointer field if __ILP32__ is
2298 defined.
2299
4e124ced
JM
23002012-05-16 Joseph Myers <joseph@codesourcery.com>
2301
6a3951a0
JM
2302 * configure.in (makeinfo): Require version 4.5 or later. Allow
2303 versions 5 to 9.
2304 * configure: Regenerated.
2305 * manual/install.texi (texinfo): Increase version requirement to
2306 4.5 or later.
2307 * INSTALL: Regenerated.
2308
4e124ced
JM
2309 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2310
953ca31a
L
23112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2312
2313 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2314
617aca05
L
2315 * sysdeps/x86_64/x32/ffs.c: New file.
2316
5762f7ae
L
2317 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2318 __syscall_ulong_t.
2319 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2320 defined. Use __syscall_ulong_t.
2321 (shminfo): Use __syscall_ulong_t.
2322 (shm_info): Likewise.
2323
a26b6856
L
2324 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2325 __syscall_ulong_t.
2326
cb2b9ef7
L
2327 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2328 <bits/wordsize.h>.
2329 (msgqnum_t): Use __syscall_ulong_t.
2330 (msglen_t): Likewise.
2331 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2332 __syscall_ulong_t.
2333
34683bb0
L
2334 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2335 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2336
84a68786
L
2337 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2338
48baa5f1
L
2339 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2340 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2341
180be88b
L
2342 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2343 __syscall_slong_t.
2344
5e90c8ad
L
2345 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2346 include <bits/wordsize.h>. Check __x86_64__ instead of
2347 __WORDSIZE.
2348
23dfb58b
L
2349 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2350 "unsigned long long int" if __x86_64__ is defined.
2351 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2352
ce5d54b0
L
2353 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2354 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2355 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2356
13dc9eac
L
2357 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2358 <stdint.h>.
2359 (GET_PC): Cast to uintptr_t first.
2360 (GET_FRAME): Likewise.
2361 (GET_STACK): Likewise.
2362
a7895d15
L
2363 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2364 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2365 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2366 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2367 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2368 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2369 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2370 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2371 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2372 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2373 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2374 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2375 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2376 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2377 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2378 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2379 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2380 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2381 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2382 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2383 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2384 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2385 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2386 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2387 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2388 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2389 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2390 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2391 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2392
656416c9
AS
23932012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2394
5bd66283
AS
2395 * Makerules (+depfiles): Also collect depfiles from .oS in
2396 $(extra-objs).
2397 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2398 .oS, $(libnldbl-routines)).
2399
656416c9
AS
2400 * Makerules (native-compile-mkdep-flags): Define.
2401 * sunrpc/Makefile (extra-objs): Add $(addprefix
2402 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2403 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2404 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2405 calling $(make-target-directory).
2406
a46f2169
L
24072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2408
2409 * bits/types.h (__snseconds_t): Removed.
2410 * time/time.h (struct timespec): Replace __snseconds_t with
2411 __syscall_slong_t.
2412 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2413 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2414 Likewise.
2415 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2416 (__SNSECONDS_T_TYPE): Likewise.
2417 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2418 (__SNSECONDS_T_TYPE): Likewise.
2419 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2420 (__SNSECONDS_T_TYPE): Likewise.
2421
6af6528b
L
24222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2423
2424 * sysdeps/mach/hurd/bits/typesizes.h
2425 (__SYSCALL_SLONG_TYPE): New macro.
2426 (__SYSCALL_ULONG_TYPE): Likewise.
2427
de986b56
L
24282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2429
2430 * bits/types.h (__syscall_slong_t): New type.
2431 (__syscall_ulong_t): Likewise.
2432
2433 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2434 (__SYSCALL_ULONG_TYPE): Likewise.
2435 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2436 (__SYSCALL_SLONG_TYPE): Likewise.
2437 (__SYSCALL_ULONG_TYPE): Likewise.
2438 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2439 (__SYSCALL_SLONG_TYPE): Likewise.
2440 (__SYSCALL_ULONG_TYPE): Likewise.
2441 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2442 (__SYSCALL_SLONG_TYPE): Likewise.
2443 (__SYSCALL_ULONG_TYPE): Likewise.
2444
85736dc7
L
24452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2446
2447 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2448 Add sigaltstack-offsets.sym.
2449 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2450 <sigaltstack-offsets.h>.
2451 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2452 longjmp_msg pointer.
2453 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2454 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2455 signal stack.
2456 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2457
cc03b296
JM
24582012-05-15 Joseph Myers <joseph@codesourcery.com>
2459
a9538892
JM
2460 * elf/stackguard-macros.h: Remove file.
2461 * sysdeps/generic/stackguard-macros.h: New file.
2462 * sysdeps/i386/stackguard-macros.h: Likewise.
2463 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2464 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2465 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2466 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2467 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2468 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2469 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2470 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2471 <elf/stackguard-macros.h>.
2472
cc03b296
JM
2473 [BZ #14109]
2474 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2475 __aligned__ in attribute.
2476 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2477 (gregset_t): Likewise.
2478
93171016
L
24792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2480
2481 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2482 * sysdeps/x86_64/64/Implies-after: Here. New file.
2483 * sysdeps/x86_64/x32/Implies-after: New file.
2484
d86813a0
L
24852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2486
2487 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2488 and access return value for _dl_profile_fixup. Use R10_LP to
2489 load frame size.
2490
2953ec75
L
24912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2492
2493 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2494
3b550e9e
L
24952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2496
2497 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2498 * sysdeps/x86_64/x32/sysdep.h: New file.
2499
eda41706
L
25002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2501
2502 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2503 * sysdeps/x86_64/setjmp.S: Likewise.
2504
9ea01d93
AZ
25052012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2506
2507 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2508 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2509 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2510 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2511 remove unused global constant.
2512
02a91938
CM
25132012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2514
2515 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2516 include of <not-cancel.h>.
2517
6540185f
RM
25182012-05-15 Roland McGrath <roland@hack.frob.com>
2519
2520 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2521
509072a0
AJ
25222012-05-15 Jeff Law <law@redhat.com>
2523 Andreas Jaeger <aj@suse.de>
2524
2525 [BZ #13594]
2526 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2527 out from...
2528 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2529 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2530 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2531 code changing __hst_map_handle.map.
2532
ba75122d
RM
25332012-05-15 Roland McGrath <roland@hack.frob.com>
2534
2535 * configure.in (sysnames): Look for Implies-before and Implies-after
2536 files.
2537 * configure: Regenerated.
2538
890d8bd8
L
25392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2540
2541 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2542 8-byte data alignment with LP_SIZE alignment.
2543
f6ee6623
L
25442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2545
2546 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2547 into R10_LP.
2548
ea2626f6
L
25492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2550
2551 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2552
085f715e
L
25532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2554
2555 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2556 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2557 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2558 Likewise.
2559 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2560
be8498fc
L
25612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2562
2563 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2564 (stackinfo_sub_sp): Likewise.
2565
70bc83b9
L
25662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2567
2568 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2569 RAX_LP.
2570
9bc0b730
L
25712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2572
2573 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2574 into R*_LP.
2575
6d2850e7
L
25762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2577
2578 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2579 sizes into R*_LP.
2580
3cb84561
L
25812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2582
2583 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2584
54e2ed81
L
25852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2586
2587 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2588 into R11_LP and load __x86_64_shared_cache_size_half into
2589 R8_LP.
2590
8a17f349
L
25912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2592
2593 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2594 R8_LP.
2595
777b1eea
AZ
25962012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2597
2598 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2599 logb for POWER7.
2600 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2601 logbf for POWER7.
2602 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2603 logbl for POWER7.
2604 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2605 powerpc32/power7/fpu/s_logb.c via #include.
2606 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2607 powerpc32/power7/fpu/s_logbf.c via #include.
2608 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2609 powerpc32/power7/fpu/s_logbl.c via #include.
2610
d20d4ac2
JM
26112012-05-15 Joseph Myers <joseph@codesourcery.com>
2612
2613 * README.libm: Remove file.
2614
6cdef1ab
L
26152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2616
2617 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2618 count for x32. Use R*_LP and omit operand-size suffix.
2619
0b254d8f
L
26202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2621
2622 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2623 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2624 * sysdeps/x86_64/x32/shlib-versions: New file.
2625
ceb809dc
RM
26262012-05-14 Roland McGrath <roland@hack.frob.com>
2627
2628 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2629 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2630 Use _dl_fatal_printf instead.
2631
37f1abd4
JM
26322012-05-14 Joseph Myers <joseph@codesourcery.com>
2633
2634 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2635 set if not set by the user. Do not allow for being unset.
2636 * sysdeps/unix/sysv/linux/configure: Regenerated.
2637
11de3a33
L
26382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2639
2640 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2641 the `q' suffix from lea and replace .quad with ASM_ADDR.
2642
e02f153a
L
26432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2644
2645 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2646 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2647 instead of $17.
2648 (PTR_DEMANGLE): Likewise.
2649
520ae0fd
L
26502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2651
2652 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2653 (LP_OP): Likewise.
2654 (ASM_ADDR): Likewise.
2655 (RAX_LP): Likewise.
2656 (RBP_LP): Likewise.
2657 (RBX_LP): Likewise.
2658 (RCX_LP): Likewise.
2659 (RDI_LP): Likewise.
2660 (RSI_LP): Likewise.
2661 (RSP_LP): Likewise.
2662 (R8_LP): Likewise.
2663 (R9_LP): Likewise.
2664 (R10_LP): Likewise.
2665 (R10_LP): Likewise.
2666 (R11_LP): Likewise.
2667 (R12_LP): Likewise.
2668 (R13_LP): Likewise.
2669 (R14_LP): Likewise.
2670 (R15_LP): Likewise.
2671
b985be81
L
26722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2673
2674 * sysdeps/x86_64/x32/dl-machine.h: New file.
2675
6a4888ff
AJ
26762012-05-14 Andreas Jaeger <aj@suse.de>
2677
2678 * manual/Makefile (subdir): Remove export of subdir.
2679 (all): Remove target.
2680 (.PHONY): Remove all from list.
2681 (mkinstalldirs): Remove.
2682 (.PHONY): Remove installdirs from list.
2683 ($(inst_infodir)/libc.info): Use make-target-directory.
2684 (installdirs): Remove.
2685 (subdir_%): Remove.
2686 (glibc-targets): Remove.
2687 (lib): Remove.
2688 (stubs): Remove.
2689 ($(objpfx)stubs ../po/manual.pot): Remove.
2690 ($(objpfx)stamp%): Remove.
2691 (make-target-directory): Remove.
2692 (subdir_install): Remove.
2693 (routines): Remove.
2694 (aux): Remove.
2695 (sources): Remove.
2696 (objects): Remove.
2697 (headers): Remove.
2698
2699 [BZ #13750]
2700 * manual/.gitignore: Remove, it's not needed anymore.
2701 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2702 all files in it.
2703 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2704 directory.
2705 (texis): Renamed to $(objpfx)texis.
2706 (texis-path): New, contains path to generated files.
2707 (chapters.%): Use texis-path for complete path, add extra argument
2708 libc-texinfo.sh.
2709 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2710 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2711 (summary,texi, stamp-summary): Use complete path of
2712 files. Generate files in build dir.
2713 (dir-add.texi): Build in build dir.
2714 (libm-err.texi,stamp-libm-err): Likewise.
2715 (version.texi, stamp-version): Likewise.
2716 (.%c.texi): Likewise.
2717 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2718 (mostlyclean): Remove target.
2719 (realclean): Remove target.
2720 (generated): Add new variable with contents from mostlyclean and
2721 realclean, remove entries duplicated in common-mostlyclean, add
2722 stamp-libm-err and stamp-version.
2723 (generated-dirs): Add libc directory.
2724 ($(inst_infodir)/libc.info): Install files from build dir.
2725
2726 * manual/install.texi (Configuring and compiling): Adjust since
2727 the info files are not part of the tar ball anymore.
2728
7ac77294
AJ
27292012-05-14 Andreas Jaeger <aj@suse.de>
2730
2731 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2732 variable.
2733
ffb7875d
JM
27342012-05-14 Joseph Myers <joseph@codesourcery.com>
2735
2736 [BZ #13717]
2737 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2738 to 2.2.0 where earlier.
2739 * sysdeps/unix/sysv/linux/configure: Regenerated.
2740 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2741 Remove conditional code.
2742 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2743 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2744 Remove conditional code.
2745 [!__NR_lchown]: Likewise.
2746 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2747 [__NR_lchown]: Likewise.
2748 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2749 comment referencing __ASSUME_LCHOWN_SYSCALL.
2750 * sysdeps/unix/sysv/linux/i386/sigaction.c
2751 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2752 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2753 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2754 Remove conditional code.
2755 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2756 (__protocol_available): Remove #if 0 code.
2757 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2758 conditional code.
2759 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2760 * sysdeps/unix/sysv/linux/kernel-features.h
2761 (__ASSUME_GETCWD_SYSCALL): Don't define.
2762 (__ASSUME_REALTIME_SIGNALS): Likewise.
2763 (__ASSUME_PREAD_SYSCALL): Likewise.
2764 (__ASSUME_PWRITE_SYSCALL): Likewise.
2765 (__ASSUME_POLL_SYSCALL): Likewise.
2766 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2767 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2768 non-SPARC.
2769 (__ASSUME_SIOCGIFNAME): Don't define.
2770 (__ASSUME_MSG_NOSIGNAL): Likewise.
2771 (__ASSUME_SENDFILE): Define unconditionally.
2772 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2773 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2774 conditional code.
2775 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2776 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2777 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2778 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2779 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2780 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2781 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2783 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2784 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2786 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2787 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2789 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2790 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2792 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2793 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2795 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2796 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2798 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2799 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2801 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2802 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2804 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2805 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2806 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2807 Remove conditional code.
2808 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2809 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2810 Remove conditional code.
2811 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2812 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2813 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2814 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2815 Remove conditional code.
2816 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2817 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2818 Remove conditional code.
2819 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2820 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2821 Remove conditional code.
2822 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2823 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2824 Remove conditional code.
2825 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2826 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2827 Remove conditional code.
2828 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2829 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2830 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2831 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2832 * sysdeps/unix/sysv/linux/sigaction.c
2833 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2834 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2835 * sysdeps/unix/sysv/linux/sigpending.c
2836 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2837 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2838 * sysdeps/unix/sysv/linux/sigprocmask.c
2839 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2840 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2841 * sysdeps/unix/sysv/linux/sigsuspend.c
2842 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2843 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2844 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2845 (__libc_missing_rt_sigs): Remove.
2846 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2847 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2848 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2849 Remove conditional code.
2850 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2851 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2852 return 1.
2853 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2854 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2855 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2856 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2857
1bfb7291
AJ
28582012-05-14 Andreas Jaeger <aj@suse.de>
2859
caae5a81
AJ
2860 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2861 it's not used in glibc.
2862 (__coshm1): Likewise.
2863 (__acosh1p): Likewise.
2864 (__sgn): Likewise.
2865
1bfb7291
AJ
2866 * manual/string.texi (Copying and Concatenation): Add missing
2867 variable in concat example.
2868 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2869
c044d724
L
28702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2871
144c5467 2872 [BZ #14103]
c044d724
L
2873 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2874 __builtin_clzl with __builtin_clzll.
2875
2523c62b
L
28762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2877
2878 [BZ #14104]
2879 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2880 libc_freeres_ptr.
2881
d7bb4c42
LD
28822012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2883
2884 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2885 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2886 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2887 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2888
9dc4e1fb
MF
28892012-05-14 Mike Frysinger <vapier@gentoo.org>
2890
2891 * NEWS: Update ia64 info.
2892
c7df0112
AS
28932012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2894
2895 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2896 used as bcopy.
2897
dc70356c
TS
28982012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2899
2900 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2901 * sysdeps/unix/syscalls.list (dup3): Likewise.
2902 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2903 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2904
9fb1a21f
L
29052012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2906
2907 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2908 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2909
4822a2a5
L
29102012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2911
2912 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2913 thread pointer.
2914 (TLS_IE): Use mov/add instead of movq/addq to load thread
2915 pointer.
2916 (TLS_GD_PREFIX): New.
2917 (TLS_GD): Use it.
2918
842b81d6
DM
29192012-05-11 David S. Miller <davem@davemloft.net>
2920
2921 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2922 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2923 (_FPU_SETCW): Likewise.
2924
1cf463cd
L
29252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2926
2927 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2928 is 32-byte aligned.
2929
60cc4a18
AS
29302012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2931
2932 [BZ #11837]
2933 * iconvdata/gb18030.c: Update tables.
2934 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2935 characters specially.
2936 (BODY for TO_LOOP): Add encoding of missing ranges.
2937
febb44a4
TS
29382012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2939
2940 [BZ #13673]
2941 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2942 * sysdeps/mach/hurd/dup3.c: Likewise.
2943 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2944 * sysdeps/powerpc/memmove.c:: Likewise.
2945
0a10fb9e
L
29462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2947
2948 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2949 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2950
df8a552f
L
29512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2952
2953 * elf/elf.h (R_X86_64_RELATIVE64): New.
2954 (R_X86_64_NUM): Updated.
2955 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2956 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2957 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2958 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2959 tst-quad1pie tst-quad2pie
2960 (modules-names): Add tst-quadmod1 tst-quadmod2.
2961 ($(objpfx)tst-quad1): New dependency.
2962 ($(objpfx)tst-quad2): Likewise.
2963 ($(objpfx)tst-quad1pie): Likewise.
2964 ($(objpfx)tst-quad2pie): Likewise.
2965 * sysdeps/x86_64/tst-quad1.c: New file.
2966 * sysdeps/x86_64/tst-quad1pie.c: New file.
2967 * sysdeps/x86_64/tst-quad2.c: Likewise.
2968 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2969 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2970 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2971 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2972 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2973
f34d6f84
ST
29742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2975
f42d41d1
ST
2976 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2977 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2978 * streams/stropts.h (t_scalar_t): Define type.
2979
3c3571fc
ST
2980 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2981 (_PATH_PRESERVE): Set to "/var/lib".
2982 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2983
61f06bd3
ST
2984 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2985 instead of int.
2986
918d4d71
ST
2987 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2988 if __dir_mkfile succeeded.
2989
f34d6f84
ST
2990 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2991 checking for _hurd_dtablesize. Unlock it right after having
2992 finished _hurd_dtable allocation.
2993
10589b4a
TS
29942012-05-10 Thomas Schwinge <thomas@schwinge.name>
2995
674cdbc7
TS
2996 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2997 * sysdeps/mach/hurd/configure: Regenerated.
2998 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2999 special-casing to...
3000 * sysdeps/gnu/configure.in: ... this new file.
3001 * sysdeps/unix/sysv/linux/configure: Regenerated.
3002 * sysdeps/gnu/configure: New generated file.
3003
8e41b99f
TS
3004 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3005 for Linux: use nsec instead of usec, as well as:
3006 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3007 members of type struct timespec.
3008 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3009 New macros.
3010 (struct stat64): Likewise.
3011 (_STATBUF_ST_NSEC): New macro.
3012 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3013
10589b4a
TS
3014 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3015 __strtoul_internal rather than strtoul.
3016
63643c85
PT
30172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3018
3019 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3020 and reject them.
3021
3faebe6a
ST
30222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3023
3024 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3025 which preserves existing values.
3026 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3027
c6474b07
PT
30282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3029
3030 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3031 TIMEOUT values. Return EINVAL for NFDS values either negative or
3032 greater than FD_SETSIZE.
3033
1043890b
ST
30342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3035
3036 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3037 allocated, call __vm_protect to finish enabling the existing space, and
3038 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3039 allocate the remainder.
3040
37ed8b9b
PT
30412012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3042
3043 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3044 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3045
db653660
ST
30462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3047
37ed8b9b
PT
3048 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3049 sysdeps/mach/hurd/readlink.c.
b29d4053 3050
db653660
ST
3051 * posix/tst-sysconf.c (posix_options): Only use
3052 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3053 _POSIX_SYNCHRONIZED_IO when they are defined
3054 * sysdeps/mach/hurd/bits/posix_opt.h:
3055 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3056 (_XOPEN_REALTIME): Undefine macro.
3057 (_XOPEN_REALTIME_THREADS): Undefine macro.
3058 (_XOPEN_SHM): Undefine macro.
3059 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3060 macro to -1.
3061 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3062 macro to -1.
3063 (_POSIX_ASYNC_IO): Undefine macro.
3064 (_POSIX_PRIORITIZED_IO): Undefine macro.
3065 (_POSIX_SPIN_LOCKS): Define macro to -1.
3066
ee16e894
ST
3067 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3068 SA_NODEFER, SA_RESETHAND.
3069 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3070 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3071 F_DUPFD_CLOEXEC.
3072
6103ae3b
TS
30732012-05-10 Thomas Schwinge <thomas@schwinge.name>
3074
3075 * elf/Makefile (pldd-modules): Define unconditionally.
3076
80b4e5f3
TS
30772012-05-10 Thomas Schwinge <thomas@schwinge.name>
3078
3079 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3080
edadcbd6
ST
30812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3082
3083 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3084 Return ENOENT when name is empty.
3085 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3086
80694780
TS
30872012-05-10 Thomas Schwinge <thomas@schwinge.name>
3088
1792c087
TS
3089 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3090
80694780
TS
3091 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3092
6b645f0d
ST
30932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3094
80694780
TS
3095 Fix mlock in all cases except non-readable pages.
3096 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3097 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 3098
6b645f0d
ST
3099 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3100 (__mkdir): When path is `/', just fail with EEXIST.
3101 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3102
e468f8a3
TS
31032012-05-10 Thomas Schwinge <thomas@schwinge.name>
3104
3105 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3106 <sys/uio.h> (for writev).
3107 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3108 and <sys/param.h> (for MIN).
3109
a4186cff
PT
31102012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3111
3112 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3113 REQUESTED_TIME. Properly set the remaining time and return EINTR
3114 if interrupted.
3115
510bbf14
TS
31162012-05-10 Thomas Schwinge <thomas@schwinge.name>
3117
3118 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3119 Depend on against $(link-rpcuserlibs).
3120
5d5722e8
ST
31212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3122
a4186cff
PT
3123 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3124 (__libc_stack_end): Do not use attribute_relro.
3125 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3126 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 3127 to libthread-provided value.
a4186cff
PT
3128 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3129 attribute_relro.
5d5722e8 3130
37233df9
TS
31312012-05-10 Thomas Schwinge <thomas@schwinge.name>
3132
be971a2b
TS
3133 [BZ #3748]
3134 * bits/libc-lock.h (__libc_once_get): New macro.
3135 * sysdeps/mach/bits/libc-lock.h: Likewise.
3136 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3137 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3138 instead of using implementation details.
3139
37233df9
TS
3140 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3141 * libio/freopen.c: Likewise.
3142 * libio/freopen64.c: Likewise.
3143 * misc/syslog.c: Likewise.
3144 * nscd/connections.c: Likewise.
3145 * nscd/netgroupcache.c: Likewise.
3146 * sysdeps/posix/getcwd.c: Likewise.
3147
38de94a5
RM
31482012-05-10 Roland McGrath <roland@hack.frob.com>
3149
3150 * math/w_ilogbf.c: Add #include <limits.h>.
3151
67530489
ST
31522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3153
a4186cff 3154 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
3155 path instead of returning without unlocking.
3156
67530489
ST
3157 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3158 immediate-write ioctls.
3159 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3160
5aa3a74a
TS
31612012-05-10 Thomas Schwinge <thomas@schwinge.name>
3162
18bad2ae
TS
3163 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3164 __builtin_frame_address instead of making assumptions about the
3165 location of the return address relative to DATA. Force early load of
3166 the return address.
3167 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3168 __builtin_frame_address.
3169
5aa3a74a
TS
3170 dup3 for GNU Hurd.
3171 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3172 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3173 implement dup3 and do some further code clean-ups.
3174 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3175 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3176
ecd0de9a
ST
31772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3178
cd9fa985
ST
3179 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3180
a4186cff
PT
3181 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3182 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3183 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3184 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3185 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3186 d->port.lock.
802ca5a5 3187
a4186cff
PT
3188 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3189 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3190 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3191
bcf55240
TS
31922012-05-10 Thomas Schwinge <thomas@schwinge.name>
3193
6960eb42
TS
3194 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3195 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3196 definitions.
3197
eb43375f
TS
3198 accept4 for GNU Hurd.
3199 * include/sys/socket.h (__libc_accept4): New prototype.
3200 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3201 to implement __libc_accept4.
3202 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3203 __libc_accept4.
3204 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3205
bcf55240
TS
3206 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3207 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3208 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3209 signal-defines.sym.
3210
6178c55b
ST
32112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3212
a4186cff 3213 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3214
6f080c2f
TS
32152012-05-10 Thomas Schwinge <thomas@schwinge.name>
3216
3217 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3218 assertion on O_CLOEXEC flag.
3219 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3220 * hurd/intern-fd.c: Likewise.
3221 * hurd/port2fd.c: Likewise.
3222
bcfe3a54
ST
32232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3224
3225 [BZ #3906]
3226 * bits/in.h (IPV6_PKTINFO): Define new macro.
3227 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3228
89c9aa49
AZ
32292012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3230
3231 [BZ #13954]
3232 [BZ #13955]
3233 [BZ #13956]
3234 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3235 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3236 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3237 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3238 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3239 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3240 * math/libm-test.inc (logb_test) : Additional logb tests.
3241
021db4be
AJ
32422012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3243 Andreas Jaeger <aj@suse.de>
3244
3245 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3246 * configure: Regenerated.
3247 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3248 * config.make.in (link-obsolete-rpc): New substituted variable.
3249 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3250 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3251 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3252 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3253 so that libc.a contains the symbols.
3254 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3255 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3256 * sunrpc/auth_none.c: Likewise.
3257 * sunrpc/auth_unix.c: Likewise.
3258 * sunrpc/authdes_prot.c: Likewise.
3259 * sunrpc/authuxprot.c: Likewise.
3260 * sunrpc/clnt_gen.c: Likewise.
3261 * sunrpc/clnt_perr.c: Likewise.
3262 * sunrpc/clnt_raw.c: Likewise.
3263 * sunrpc/clnt_simp.c: Likewise.
3264 * sunrpc/clnt_tcp.c: Likewise.
3265 * sunrpc/clnt_udp.c: Likewise.
3266 * sunrpc/clnt_unix.c: Likewise.
3267 * sunrpc/des_crypt.c: Likewise.
3268 * sunrpc/des_soft.c: Likewise.
3269 * sunrpc/get_myaddr.c: Likewise.
3270 * sunrpc/key_call.c: Likewise.
3271 * sunrpc/key_prot.c: Likewise.
3272 * sunrpc/netname.c: Likewise.
3273 * sunrpc/pm_getmaps.c: Likewise.
3274 * sunrpc/pm_getport.c: Likewise.
3275 * sunrpc/pmap_clnt.c: Likewise.
3276 * sunrpc/pmap_prot.c: Likewise.
3277 * sunrpc/pmap_prot2.c: Likewise.
3278 * sunrpc/pmap_rmt.c: Likewise.
3279 * sunrpc/publickey.c: Likewise.
3280 * sunrpc/rpc_cmsg.c: Likewise.
3281 * sunrpc/rpc_common.c: Likewise.
3282 * sunrpc/rpc_dtable.c: Likewise.
3283 * sunrpc/rpc_prot.c: Likewise.
3284 * sunrpc/rpc_thread.c: Likewise.
3285 * sunrpc/rtime.c: Likewise.
3286 * sunrpc/svc.c: Likewise.
3287 * sunrpc/svc_auth.c: Likewise.
3288 * sunrpc/svc_raw.c: Likewise.
3289 * sunrpc/svc_run.c: Likewise.
3290 * sunrpc/svc_tcp.c: Likewise.
3291 * sunrpc/svc_udp.c: Likewise.
3292 * sunrpc/svc_unix.c: Likewise.
3293 * sunrpc/svcauth_des.c: Likewise.
3294 * sunrpc/xcrypt.c: Likewise.
3295 * sunrpc/xdr.c: Likewise.
3296 * sunrpc/xdr_array.c: Likewise.
3297 * sunrpc/xdr_float.c: Likewise.
3298 * sunrpc/xdr_intXX_t.c: Likewise.
3299 * sunrpc/xdr_mem.c: Likewise.
3300 * sunrpc/xdr_rec.c: Likewise.
3301 * sunrpc/xdr_ref.c: Likewise.
3302 * sunrpc/xdr_sizeof.c: Likewise.
3303 * sunrpc/xdr_stdio.c: Likewise.
3304
b5c086a2
RM
33052012-05-10 Roland McGrath <roland@hack.frob.com>
3306
3307 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3308 change. Update copyright years.
3309
6d74dd09
JM
33102012-05-10 Joseph Myers <joseph@codesourcery.com>
3311
3312 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3313
28e72501
MK
33142012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3315 Joseph Myers <joseph@codesourcery.com>
3316 Paul Pluzhnikov <ppluzhnikov@google.com>
3317
3318 [BZ #14012]
3319 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3320 requiring rpcgen.
3321 [cross-compiling] (extra-libs): Likewise.
3322 [cross-compiling] (extra-libs-others): Likewise.
3323 [cross-compiling] (librpcsvc-routines): Likewise.
3324 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3325 [cross-compiling] (omit-deps): Likewise.
3326 (sunrpc-CPPFLAGS): New variable.
3327 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3328 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3329 (cross-rpcgen-objs): New variable.
3330 (extra-objs): Append $(cross-rpcgen-objs).
3331 ($(cross-rpcgen-objs)): New rule.
3332 ($(objpfx)cross-rpcgen): Likewise.
3333 (rpcgen-cmd): Define to use $(built-program-file). Expand
3334 comment.
3335 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3336 ($(objpfx)x%.stmp): Likewise.
3337 * sunrpc/proto.h [IS_IN_build] (_): Define.
3338 [IS_IN_build] (_libc_intl_domainname): Likewise.
3339
c8c59454
L
33402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3341
3342 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3343 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3344 and R_X86_64_TPOFF64.
3345
6f27cd16
JM
33462012-05-10 Joseph Myers <joseph@codesourcery.com>
3347
3348 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3349 sysdeps/unix/sysv/syscalls.list.
3350 (stime): Likewise.
3351 (utime): Likewise.
3352 * sysdeps/unix/sysv/syscalls.list: Remove file.
3353
02467e1c
PE
33542012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3355
3356 [BZ #3440]
3357 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3358 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3359 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3360 (__LC_IDENTIFICATION): Make these macros useful in #if
3361 expressions, as required by C99.
3362
da392631
AS
33632012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3364
3365 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3366 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3367 after this.
3368
8115f29b
L
33692012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3370
3371 * stdlib/longlong.h: Updated from GCC.
3372
bdd74070
AJ
33732012-05-09 Andreas Jaeger <aj@suse.de>
3374
edfe0dbe
AJ
3375 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3376 default is first entry.
3377 (run_mode): Set type.
3378 (main): Remove informal message about syslog.
3379 (options): Fix typo.
3380
bcfe3a54
ST
3381 [BZ #14053]
3382 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3383 to asm.
bcfe3a54
ST
3384 (lrint): Likewise.
3385 (llrintf): Likewise.
3386 (llrint): Likewise.
3387 (rint): Likewise.
3388 (rintf): Likewise.
3389 (nearbyint): Likewise.
3390 (nearbyintf): Likewise.
bdd74070 3391
91d8d69e
AJ
33922012-05-09 Andreas Jaeger <aj@suse.de>
3393 Pedro Alves <palves@redhat.com>
3394
3395 * nscd/nscd.c (run_mode): Use enum.
3396 (main): Cleanup coding style issue.
3397
bb90b80b
AJ
33982012-05-09 Alexandre Oliva <aoliva@redhat.com>
3399 Andreas Jaeger <aj@suse.de>
3400
bcfe3a54
ST
3401 * nscd/nscd.c (go_background): Replaced with...
3402 (run_mode): ... this.
bb90b80b 3403 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3404 (options): Add -F --foreground.
3405 (main): Implement it.
3406 (parse_opt): Parse it.
bb90b80b 3407
1a4b75a1
AJ
34082012-05-09 Andreas Jaeger <aj@suse.de>
3409
3410 [BZ #14083]
3411 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3412 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3413 -Wconversion warning.
3414 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3415 Likewise.
3416
b1cc2472
JM
34172012-05-09 Joseph Myers <joseph@codesourcery.com>
3418
3419 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3420 == 0.
3421 (LC_ALL): Use macro-int-constant.
3422 (LC_COLLATE): Likewise.
3423 (LC_CTYPE): Likewise.
3424 (LC_MESSAGES): Likewise.
3425 (LC_MONETARY): Likewise.
3426 (LC_NUMERIC): Likewise.
3427 (LC_TIME): Likewise.
3428 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3429 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3430 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3431 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3432 Specify type.
3433 [C99-based standards] (float_t): Expect type.
3434 [C99-based standards] (double_t): Expect type.
3435 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3436 type.
3437 [C99-based standards] (HUGE_VALL): Likewise.
3438 [C99-based standards] (INFINITY): Likewise.
3439 [C99-based standards] (NAN): Likewise.
3440 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3441 [C99-based standards] (FP_NAN): Likewise.
3442 [C99-based standards] (FP_NORMAL): Likewise.
3443 [C99-based standards] (FP_SUBNORMAL): Likewise.
3444 [C99-based standards] (FP_ZERO): Likewise.
3445 [C99-based standards] (FP_FAST_FMA): Use
3446 optional-macro-int-constant. Specify type. Require == 1.
3447 [C99-based standards] (FP_FAST_FMAF): Likewise.
3448 [C99-based standards] (FP_FAST_FMAL): Likewise.
3449 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3450 [C99-based standards] (FP_ILOGBNAN): Likewise.
3451 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3452 Specify type.
3453 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3454 [C99-based standards] (math_errhandling): Specify type.
3455 [ISO99 || ISO11] (signgam): Do not allow.
3456 [non-C99-based standards] (copysignf): Do not allow.
3457 [non-C99-based standards] (exp2f): Likewise.
3458 [non-C99-based standards] (log2f): Likewise.
3459 [non-C99-based standards] (modff): Allow.
3460 [non-C99-based standards] (erff): Do not allow.
3461 [non-C99-based standards] (erfcf): Likewise.
3462 [non-C99-based standards] (gammaf): Likewise.
3463 [non-C99-based standards] (hypotf): Likewise.
3464 [non-C99-based standards] (j0f): Likewise.
3465 [non-C99-based standards] (j1f): Likewise.
3466 [non-C99-based standards] (jnf): Likewise.
3467 [non-C99-based standards] (lgammaf): Likewise.
3468 [non-C99-based standards] (tgammaf): Likewise.
3469 [non-C99-based standards] (y0f): Likewise.
3470 [non-C99-based standards] (y1f): Likewise.
3471 [non-C99-based standards] (ynf): Likewise.
3472 [non-C99-based standards] (isnanf): Likewise.
3473 [non-C99-based standards] (acoshf): Likewise.
3474 [non-C99-based standards] (asinhf): Likewise.
3475 [non-C99-based standards] (atanhf): Likewise.
3476 [non-C99-based standards] (cbrtf): Likewise.
3477 [non-C99-based standards] (expm1f): Likewise.
3478 [non-C99-based standards] (ilogbf): Likewise.
3479 [non-C99-based standards] (log1pf): Likewise.
3480 [non-C99-based standards] (logbf): Likewise.
3481 [non-C99-based standards] (nextafterf): Likewise.
3482 [non-C99-based standards] (remainderf): Likewise.
3483 [non-C99-based standards] (rintf): Likewise.
3484 [non-C99-based standards] (scalbf): Likewise.
3485 [non-C99-based standards] (copysignl): Likewise.
3486 [non-C99-based standards] (exp2l): Likewise.
3487 [non-C99-based standards] (log2l): Likewise.
3488 [non-C99-based standards] (modfl): Allow.
3489 [non-C99-based standards] (erfl): Do not allow.
3490 [non-C99-based standards] (erfcl): Likewise.
3491 [non-C99-based standards] (gammal): Likewise.
3492 [non-C99-based standards] (hypotl): Likewise.
3493 [non-C99-based standards] (j0l): Likewise.
3494 [non-C99-based standards] (j1l): Likewise.
3495 [non-C99-based standards] (jnl): Likewise.
3496 [non-C99-based standards] (lgammal): Likewise.
3497 [non-C99-based standards] (tgammal): Likewise.
3498 [non-C99-based standards] (y0l): Likewise.
3499 [non-C99-based standards] (y1l): Likewise.
3500 [non-C99-based standards] (ynl): Likewise.
3501 [non-C99-based standards] (isnanl): Likewise.
3502 [non-C99-based standards] (acoshl): Likewise.
3503 [non-C99-based standards] (asinhl): Likewise.
3504 [non-C99-based standards] (atanhl): Likewise.
3505 [non-C99-based standards] (cbrtl): Likewise.
3506 [non-C99-based standards] (expm1l): Likewise.
3507 [non-C99-based standards] (ilogbl): Likewise.
3508 [non-C99-based standards] (log1pl): Likewise.
3509 [non-C99-based standards] (logbl): Likewise.
3510 [non-C99-based standards] (nextafterl): Likewise.
3511 [non-C99-based standards] (remainderl): Likewise.
3512 [non-C99-based standards] (rintl): Likewise.
3513 [non-C99-based standards] (scalbl): Likewise.
3514 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3515 [non-C99-based standards] (FP_*): Do not allow.
3516 [C99-based standards] (FP_*): Change to
3517 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3518 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3519 allow.
3520 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3521 (SIG_ERR): Likewise.
3522 [X/Open-based standards] (SIG_HOLD): Likewise.
3523 (SIG_IGN): Likewise.
3524 (SIGABRT): Use macro-int-constant. Specify type. Require
3525 positive value.
3526 (SIGFPE): Likewise.
3527 (SIGILL): Likewise.
3528 (SIGINT): Likewise.
3529 (SIGSEGV): Likewise.
3530 (SIGTER): Likewise.
3531 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3532 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3533 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3534 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3535 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3536 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3537 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3538 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3539 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3540 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3541 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3542 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3543 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3544 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3545 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3546 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3547 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3548 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3549 [X/Open-based standards] (SIGTRAP): Likewise.
3550 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3551 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3552 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3553 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3554 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3555 allow.
3556
b9f1922d
IW
35572012-05-08 Ian Wienand <ianw@vmware.com>
3558
3559 [BZ #14080]
3560 * time/tzset.c (__tzset_parse_tz): Update default rules for
3561 daylight time changes in the Energy Policy Act of 2005.
3562
1db86e88
AJ
35632012-05-09 Andreas Jaeger <aj@suse.de>
3564
3565 [BZ #13983]
3566 * elf/ldconfig.c (parse_conf): Change string to make clear that
3567 ldconfig only issued a warning if ld.so.conf does not exist.
3568
dee4a4e3
DM
35692012-05-08 David S. Miller <davem@davemloft.net>
3570
ee0db190
DM
3571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3572 movxtod instead of popping the value on the stack.
3573
dee4a4e3
DM
3574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3575
6a43ec98
CD
35762012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3577
3578 * config.h.in: Add HAVE_ARM_PCS_VFP.
3579
05c2c961
RMG
35802012-05-08 Roland Mc Grath <roland@hack.frob.com>
3581
bcfe3a54
ST
3582 [BZ #13979]
3583 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3584 checking but the checks are disabled for any reason.
05c2c961 3585
4b30f61a
L
35862012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3587
3588 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3589 and ELF64_R_TYPE with ELFW(R_TYPE).
3590
eee2bc67
JM
35912012-05-08 Joseph Myers <joseph@codesourcery.com>
3592
7ea5391a
JM
3593 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3594 (ulimit): Likewise.
3595
eee2bc67
JM
3596 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3597 (settimeofday): Likewise.
3598
abb66a67
MF
35992012-05-08 Mike Frysinger <vapier@gentoo.org>
3600
3601 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3602 a struct th_u2 inside the union, and move tu_block/tu_code into
3603 a new th_u3 union of tu_block/tu_code inside of that. Move
3604 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3605 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3606 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3607 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3608 (th_stuff): Change to th_u1.tu_stuff.
3609 (th_data): Define.
3610 (th_msg): Change to th_u1.th_u2.tu_data.
3611
7f18b530
DM
36122012-05-07 David S. Miller <davem@davemloft.net>
3613
05760585
DM
3614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3615
7f18b530
DM
3616 [BZ #14074]
3617 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3618 (SETUP_PIC_REG): Use it.
3619 (SETUP_PIC_REG_LEAF): Use it.
3620
495fd99f
JM
36212012-05-07 Joseph Myers <joseph@codesourcery.com>
3622
3623 [BZ #13885]
3624 [BZ #13923]
3625 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3626 USE_AS_EXPM1L.
3627 (EXPL_FINITE): Likewise.
3628 (FLDLOG): Likewise.
3629 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3630 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3631 e_expl.S.
3632 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3633 USE_AS_EXPM1L.
3634 (EXPL_FINITE): Likewise.
3635 (FLDLOG): Likewise.
3636 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3637 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3638 e_expl.S.
3639 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3640 test of -max_value argument for long double.
3641 * sysdeps/i386/fpu/libm-test-ulps: Update.
3642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3643
6693d694
DM
36442012-05-06 David S. Miller <davem@davemloft.net>
3645
3646 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3647 quad soft-float symbols whose references which are compiler
3648 generated.
3649 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3650
6c23e11c
JM
36512012-05-06 Joseph Myers <joseph@codesourcery.com>
3652
d8b82cad
JM
3653 [BZ #13884]
3654 [BZ #13914]
3655 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3656 USE_AS_EXP10L.
3657 (EXPL_FINITE): Likewise.
3658 (FLDLOG): Likewise.
3659 (c0): Likewise.
3660 (c1): Likewise.
3661 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3662 Adjust comments for base varying.
3663 (__expl_finite): Change alias to EXPL_FINITE.
3664 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3665 e_expl.S.
3666 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3667 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3668 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3669 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3670 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3671 USE_AS_EXP10L.
3672 (EXPL_FINITE): Likewise.
3673 (FLDLOG): Likewise.
3674 (c0): Likewise.
3675 (c1): Likewise.
3676 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3677 Adjust comments for base varying.
3678 (__expl_finite): Change alias to EXPL_FINITE.
3679 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3680 tests for bugs.
3681 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3682
6c23e11c
JM
3683 [BZ #14064]
3684 * math/libm-test.inc (check_float_internal): Correct ulp
3685 calculation for subnormal expected results.
3686
29ba805c
AJ
36872012-05-06 Andreas Jaeger <aj@suse.de>
3688
3689 * Makeconfig (+math-flags): New, set to -frounding-math.
3690 (+cflags): Add +math-flags so that all of glibc gets compiled with
3691 it.
3692
3693 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3694
7b17aeda
JM
36952012-05-05 Joseph Myers <joseph@codesourcery.com>
3696
5779f134
JM
3697 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3698 Disable one test.
3699
41498f4d
JM
3700 [BZ #13787]
3701 [BZ #13922]
3702 [BZ #14036]
3703 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3704 (__ieee754_expl): Allow for and saturate large arguments.
3705 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3706 (u_threshold): Likewise.
3707 (__exp): Call __ieee754_exp before checking for overflow and
3708 underflow.
3709 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3710 (u_threshold): Likewise.
3711 (__expf): Call __ieee754_expf before checking for overflow and
3712 underflow.
3713 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3714 (u_threshold): Likewise.
3715 (__expl): Call __ieee754_expl before checking for overflow and
3716 underflow.
3717 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3718 (__ieee754_expl): Allow for and saturate large arguments.
3719 * math/libm-test.inc (exp_test): Add another test. Do not allow
3720 missing overflow exception on overflow.
3721 (expm1_test): Do not allow missing overflow exception on overflow.
3722
6698b8bf
JM
3723 * sysdeps/i386/fpu/e_expl.c: Move to ...
3724 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3725 rather than using inline asm.
3726 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3727 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3728 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3729
7b17aeda
JM
3730 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3731 (nice): Likewise.
3732 (poll): Likewise.
3733 (signal): Likewise.
3734 (time): Likewise.
3735 (times): Likewise.
3736
f7c85819
JM
37372012-05-04 Joseph Myers <joseph@codesourcery.com>
3738
3739 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3740 sysdeps/unix/common/syscalls.list.
3741 (fchmod): Likewise.
3742 (fchown): Likewise.
3743 (ftruncate): Likewise.
3744 (getrusage): Likewise.
3745 (gettimeofday): Likewise.
3746 (setpgid): Likewise.
3747 (setregid): Likewise.
3748 (setreuid): Likewise.
3749 (sigaction): Likewise.
3750 (truncate): Likewise.
3751 (vhangup): Likewise.
3752 * sysdeps/unix/common/syscalls.list: Remove file.
3753 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3754 * sysdeps/unix/sysv/linux/Implies: Likewise.
3755
336270d0
L
37562012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3757
3758 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3760 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3761 Moved to ...
3762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3763 Here.
3764 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3765 to ...
3766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3767 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3768 to ...
3769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3770 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3771 to ...
3772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3773 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3774 to ...
3775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3776 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3777 to ...
3778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3779 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3780 to ...
3781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3782 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3783 to ...
3784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3785 Here.
3786 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3787 to ...
3788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3789 Here.
3790 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3791 to ...
3792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3793 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3794 Moved to ...
3795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3796 Here.
3797 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3798 to ...
3799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3800
d128e450
JM
38012012-05-04 Joseph Myers <joseph@codesourcery.com>
3802
fa8ee516
JM
3803 * sysdeps/unix/common/bits/dirent.h: Remove file.
3804 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3805
d128e450
JM
3806 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3807 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3808 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3809 * sysdeps/unix/bsd/isatty.c: Likewise.
3810 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3811 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3812 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3813
ff8faaf0 38142012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3815
62881be4 3816 [BZ #13563]
31dc8730
AZ
3817 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3818 long double comparison inaccuracies.
3819 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3821
6fef930c
AS
38222012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3823
3824 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3825 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3826
8f203e6c
JM
38272012-05-04 Joseph Myers <joseph@codesourcery.com>
3828
3829 [BZ #14049]
3830 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3831 nonzero digits before rounding a hex value.
3832 * stdlib/tst-strtod.c (tests): Add another test.
3833
5197d9c2
AK
38342012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3835
3836 * sysdeps/s390/fpu/libm-test-ulps: Update.
3837
f0c1dedf
AJ
38382012-05-03 Andreas Jaeger <aj@suse.de>
3839
3840 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3841 does not get optimized out.
3842 (malloc_opt_barrier): New.
3843
a65ef2ae 38442012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3845 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3846
2b942cb7 3847 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3848 intermediate file deletion.
2b942cb7 3849 (generated): Add .symlist files.
a65ef2ae 3850
54b71e02
JM
38512012-05-03 Joseph Myers <joseph@codesourcery.com>
3852
3853 [BZ #13775]
3854 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3855 Redirect under this condition.
3856 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3857 [__USE_GNU] (__dprintf_chk): Not under this condition.
3858 [__USE_GNU] (__vdprintf_chk): Likewise.
3859 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3860 under this condition.
3861 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3862 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3863 [__USE_XOPEN2K8] (vdprintf): Likewise.
3864 [__USE_GNU] (__dprintf_chk): Not under this condition.
3865 [__USE_GNU] (__vdprintf_chk): Likewise.
3866 [__USE_GNU] (dprintf): Likewise.
3867 [__USE_GNU] (vdprintf): Likewise.
3868
d3dfcc41
RM
38692012-05-03 Roland McGrath <roland@hack.frob.com>
3870
3871 * elf/Makefile (common-generated): Set this instead of generated for
3872 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3873 $(all-built-dso)-derived lists.
3874
7ac30cc5
AJ
38752012-05-03 Andreas Jaeger <aj@suse.de>
3876
0c51e550
AJ
3877 * sysdeps/i386/fpu/libm-test-ulps: Update.
3878
7ac30cc5
AJ
3879 * FAQ: Removed.
3880 * FAQ.in: Likewise.
3881 * scripts/gen-FAQ.pl: Likewise.
3882 * manual/install.texi (Installation): Point to online location of
3883 FAQ.
3884 * Makefile (files-for-dist): Remove FAQ.
3885 (FAQ): Remove.
3886
d4c2917f
AM
38872012-05-02 Allan McRae <allan@archlinux.org>
3888
3889 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3890 (LDFLAGS-reldepmod5.so): Likewise.
3891 (LDFLAGS-reldep6mod1.so): Likewise.
3892 (LDFLAGS-reldep6mod4.so): Likewise.
3893 (LDFLAGS-reldep8mod3.so): Likewise.
3894 (LDFLAGS-unload4mod1.so): Likewise.
3895 (LDFLAGS-unload4mod2.so): Likewise.
3896 (LDFLAGS-tst-initorder): Likewise.
3897 (LDFLAGS-tst-initordera2.so): Likewise.
3898 (LDFLAGS-tst-initordera3.so): Likewise.
3899 (LDFLAGS-tst-initordera4.so): Likewise.
3900 (LDFLAGS-tst-initorderb2.so): Likewise.
3901 (LDFLAGS-noload): Likewise.
3902 (LDFLAGS-next): Likewise.
3903 (LDFLAGS-order2mod1.so): Likewise.
3904 (LDFLAGS-order2mod2.so): Likewise.
3905 (LDFLAGS-tst-initorder2): Likewise.
3906 (LDFLAGS-tst-initorder2a.so): Likewise.
3907 (LDFLAGS-tst-initorder2b.so): Likewise.
3908 (LDFLAGS-tst-initorder2c.so): Likewise.
3909 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3910
d77f993f
DM
39112012-05-02 David S. Miller <davem@davemloft.net>
3912
3913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3914
171a70b4
PP
39152012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3916
3917 [BZ #14055]
3918 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3919
0be196ad
AJ
39202012-05-02 Andreas Jaeger <aj@suse.de>
3921
3922 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3923 since we manipulate rounding mode.
3924 (CPPFLAGS-test-idouble.c): Likewise.
3925 (CPPFLAGS-test-ifloat.c): Likewise.
3926 (CFLAGS-test-ldouble.c): Likewise.
3927 (CFLAGS-test-double.c): Likewise.
3928 (CFLAGS-test-float.c): Likewise.
3929 (CFLAGS-test-misc.c): Likewise.
3930 (CFLAGS-test-test-fenv.c): Likewise.
3931
4f9d04aa
AZ
39322012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3933
2b942cb7
RM
3934 [BZ #2550]
3935 [BZ #2570]
3936 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3937 comparisons to determine direction to adjust input.
4f9d04aa 3938
82a79e7d
RM
39392012-05-01 Roland McGrath <roland@hack.frob.com>
3940
f5a01ca9
RM
3941 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3942 output to the target.
3943
90fe4186
RM
3944 * scripts/localplt.awk: New file.
3945 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3946 (check-localplt-CFLAGS): Variable removed.
3947 ($(all-built-dso:=.jmprel)): New static pattern rule.
3948 (generated): Add those targets.
3949 (localplt-built-dso): New variable.
3950 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3951
3952 * elf/check-localplt.c: File removed.
3953
82397ed6
RM
3954 * scripts/check-execstack.awk: New file.
3955 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3956 (check-execstack-CFLAGS): Variable removed.
3957 ($(objpfx)check-execstack.h): Target removed.
3958 ($(objpfx)execstack-default): New target.
3959 (generated): Add that instead of check-execstack.h.
3960 ($(all-built-dso:=.phdr)): New static pattern rule.
3961 (generated): Add those targets.
3962 * elf/check-execstack.c: File removed.
3963
82a79e7d
RM
3964 * scripts/check-textrel.awk: New file.
3965 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3966 (check-textrel-CFLAGS): Variable removed.
3967 (all-built-dso): Use := to define.o
3968 ($(all-built-dso:=.dyn)): New static pattern rule.
3969 (generated): Add those targets.
3970 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3971 * config.make.in (READELF): New substituted variable.
3972 * elf/check-textrel.c: File removed.
3973
62fde54f 39742012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3975
615605c9
JM
3976 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3977 allow.
3978 * conform/data/ctype.h-data [C99-based standards] (isblank):
3979 Expect function.
3980 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3981 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3982 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3983 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3984 Specify type. Require positive value.
3985 (EILSEQ): Likewise.
3986 (ERANGE): Likewise.
3987 [ISO || POSIX] (EILSEQ): Do not expect.
3988 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3989 Specify type. Require positive value.
3990 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3991 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3992 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3993 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3994 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3995 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3996 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3997 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3998 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3999 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4000 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4001 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4002 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4003 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4004 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4005 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4006 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4007 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4008 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4009 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4010 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4011 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4012 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4013 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4014 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4015 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4016 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4017 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4018 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4019 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4020 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4021 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4022 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4023 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4024 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4025 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4026 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4027 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4028 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4029 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4030 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4031 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4032 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4033 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4034 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4035 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4036 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4037 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4038 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4039 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4040 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4041 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4042 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4043 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4044 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4045 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4046 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4047 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4048 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4049 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4050 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4051 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4052 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4053 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4054 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4055 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4056 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4057 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4058 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4059 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4060 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4061 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4062 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4063 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4064 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4065 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4066 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4067 Require >= 2.
4068 (FLT_ROUNDS): Expect as macro, not constant.
4069 (FLT_MANT_DIG): Use macro-int-constant.
4070 (DBL_MANT_DIG): Likewise.
4071 (LDBL_MANT_DIG): Likewise.
4072 (FLT_DIG): Likewise.
4073 (DBL_DIG): Likewise.
4074 (LDBL_DIG): Likewise.
4075 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4076 (DBL_MIN_EXP): Likewise.
4077 (LDBL_MIN_EXP): Likewise.
4078 (FLT_MAX_EXP): Use macro-int-constant.
4079 (DBL_MAX_EXP): Likewise.
4080 (LDBL_MAX_EXP): Likewise.
4081 (FLT_MAX_10_EXP): Likewise.
4082 (DBL_MAX_10_EXP): Likewise.
4083 (LDBL_MAX_10_EXP): Likewise.
4084 (FLT_MAX): Use macro-constant.
4085 (DBL_MAX): Likewise.
4086 (LDBL_MAX): Likewise.
4087 (FLT_EPSILON): Use macro-constant. Give upper bound.
4088 (DBL_EPSILON): Likewise.
4089 (LDBL_EPSILON): Likewise.
4090 (FLT_MIN): Likewise.
4091 (DBL_MIN): Likewise.
4092 (LDBL_MIN): Likewise.
4093 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4094 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4095 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4096 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4097 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4098 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4099 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4100 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4101 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4102 [ISO11] (FLT_TRUE_MIN): Likewise.
4103 [ISO11] (LDBL_TRUE_MIN): Likewise.
4104 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4105 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4106 (SCHAR_MIN): Use macro-int-constant. Specify type.
4107 (SCHAR_MAX): Likewise.
4108 (UCHAR_MAX): Likewise.
4109 (CHAR_MIN): Likewise.
4110 (CHAR_MAX): Likewise.
4111 (MB_LEN_MAX): Use macro-int-constant.
4112 (SHRT_MIN): Use macro-int-constant. Specify type.
4113 (SHRT_MAX): Likewise.
4114 (USHRT_MAX): Likewise.
4115 (INT_MAX): Likewise.
4116 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4117 bound negative.
4118 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4119 bound with "U".
4120 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4121 bound with "L".
4122 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4123 bound negative. Suffix upper bound with "L".
4124 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4125 bound with "UL".
4126 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4127 Specify type.
4128 [C99-based standards] (LLONG_MAX): Likewise.
4129 [C99-based standards] (ULLONG_MAX): Likewise.
4130 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4131 == 0.
4132 [ISO11] (max_align_t): Require type.
4133 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4134
c9140a62
JM
4135 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4136 from $CFLAGS, without defining away __attribute__ calls.
4137 (checknamespace): Use $CFLAGS_namespace.
4138
9af0bf29
JM
4139 * conform/conformtest.pl (@keywords): Only include C99 keywords
4140 for standards based on C99 or C11.
4141
343222a2
JM
4142 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4143 Disable tests.
4144 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4145 UNIX98]: Likewise.
4146
661f8cf0
JM
4147 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4148 usability of symbols in #if.
4149
ee74b9cb
JM
4150 * conform/conformtest.pl: If macro or constant types start
4151 "promoted:", expect the symbol to be of the following type
4152 promoted by the integer promotions.
62fde54f 4153
aafc49b3
JM
4154 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4155 in one place. Also handle "macro-constant".
4156
fefdf574
JM
4157 * conform/conformtest.pl: Only accept expected macro values with
4158 "==". Parse all "macro" lines in one place.
4159 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4160
f2d922fe
JM
4161 * conform/conformtest.pl: Handle braced types on "constant" lines
4162 instead of handling "typed-constant".
4163 * conform/data/signal.h-data: Use "constant" instead of
4164 "typed-constant".
4165
d22956c9
JM
4166 * conform/conformtest.pl: Handle "optional-" at start of lines in
4167 one place rather than duplicating several cases. Handle each
4168 format of "macro" line with initial "optional-".
4169
028e2e38
JM
4170 * conform/conformtest.pl: Only accept expected constant or
4171 optional-constant values with "==". Parse all "constant" lines in
4172 one place. Parse all "optional-constant" lines in one place.
4173 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4174 * conform/data/fmtmsg.h-data: Likewise.
4175 * conform/data/netinet/in.h-data: Likewise.
4176 * conform/data/tar.h-data: Likewise.
4177 * conform/data/limits.h-data: Use "==" form on "constant" and
4178 "optional-constant" lines.
4179
1b8f2850
JM
4180 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4181 Use -std=c99 for XOPEN2K.
4182 (@knownproblems): Remove.
4183 (newtoken): Don't check %isknown.
4184
a05a144b
JM
4185 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4186 Do not expect macro.
4187 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4188 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4189 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4190 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4191 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4192 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4193 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4194 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4195 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4196 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4197 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4198 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4199 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4200 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4201 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4202 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4203 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4204 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4205 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4206 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4207 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4208 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4209 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4210 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4211 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4212 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4213 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4214 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4215 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4216 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4217 [XPG3] (acosh): Likewise.
4218 [XPG3] (asinh): Likewise.
4219 [XPG3] (atanh): Likewise.
4220 [XPG3] (cbrt): Likewise.
4221 [XPG3] (expm1): Likewise.
4222 [XPG3] (ilogb): Likewise.
4223 [XPG3] (log1p): Likewise.
4224 [XPG3] (logb): Likewise.
4225 [XPG3] (nextafter): Likewise.
4226 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4227 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4228 [XPG3] (remainder): Likewise.
4229 [XPG3] (rint): Likewise.
4230 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4231 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4232 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4233 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4234 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4235 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4236 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4237 [UNIX98 || XOPEN2K] (scalb): Expect.
4238 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4239 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4240 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4241 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4242 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4243 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4244 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4245 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4246 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4247 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4248 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4249 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4250 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4251 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4252 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4253 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4254 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4255 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4256 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4257 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4258 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4259 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4260 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4261 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4262 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4263 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4264 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4265 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4266 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4267 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4268 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4269 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4270 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4271 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4272 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4273 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4274 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4275 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4276 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4277 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4278 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4279 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4280 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4281 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4282 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4283 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4284 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4285 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4286 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4287 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4288 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4289 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4290 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4291 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4292 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4293 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4294 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4295 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4296 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4297 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4298 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4299 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4300 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4301 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4302 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4303 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4304 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4305 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4306 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4307 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4308 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4309 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4310 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4311 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4312 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4313 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4314 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4315 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4316 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4317 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4318 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4319 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4320 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4321 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4322 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4323 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4324 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4325 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4326 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4327 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4328 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4329 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4330 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4331 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4332 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4333 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4334 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4335 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4336 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4337 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4338 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4339 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4340 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4341 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4342 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4343 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4344 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4345 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4346 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4347 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4348 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4349 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4350 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4351 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4352 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4353 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4354 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4355 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4356 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4357 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4358 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4359 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4360 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4361 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4362 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4363 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4364 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4365 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4366 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4367 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4368 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4369 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4370 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4371 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4372 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4373 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4374 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4375
73c5ebe3
JM
4376 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4377 _XOPEN_SOURCE_EXTENDED for XPG4.
4378
39c33b6c
JM
4379 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4380
62fde54f
JM
4381 * Makeconfig (localtime): Remove variable.
4382 (inst_localtime-file): Likewise.
4383
0741d64c
AS
43842012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4385
4386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4387 Update.
4388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4389 Update.
4390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4391 Update.
4392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4393 Update.
4394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4395 Update.
4396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4397 Update.
4398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4399 Update.
4400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4401 Update.
4402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4403 Update.
4404
7cb029ee
JM
44052012-05-01 Joseph Myers <joseph@codesourcery.com>
4406
4407 [BZ #2550]
4408 [BZ #2570]
4409 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4410 comparisons to determine direction to adjust input.
4411 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4412 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4413 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4414 Likewise.
4415 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4416 Likewise.
4417 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4418 Likewise.
4419 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4420 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4421 Likewise.
4422 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4423 Likewise.
4424 * math/libm-test.inc (nexttoward_test): Add more tests.
4425
412bd966
AS
44262012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4427
4428 [BZ #14040]
4429 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4430 in version GLIBC_2.1, not GLIBC_2.0.
4431 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4432 Likewise.
4433
9568c0c2
JM
44342012-04-30 Joseph Myers <joseph@codesourcery.com>
4435
adfbc8ac
JM
4436 [BZ #13942]
4437 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4438 (1 - x) * (1 + x).
4439 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4440 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4441 * math/libm-test.inc (acos_test): Add more tests.
4442 (asin_test): Likewise.
4443 * sysdeps/i386/fpu/libm-test-ulps: Update.
4444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4445
5ba3cc69
JM
4446 [BZ #14034]
4447 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4448 of square root.
4449 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4450 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4451 * math/libm-test.inc (acos_test_tonearest): New function.
4452 (acos_test_towardzero): Likewise.
4453 (acos_test_downward): Likewise.
4454 (acos_test_upward): Likewise.
4455 (asin_test_tonearest): Likewise.
4456 (asin_test_towardzero): Likewise.
4457 (asin_test_downward): Likewise.
4458 (asin_test_upward): Likewise.
4459 (main): Call the new functions.
4460 * sysdeps/i386/fpu/libm-test-ulps: Update.
4461 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4462
9568c0c2
JM
4463 [BZ #13884]
4464 [BZ #13924]
4465 * math/e_exp10.c: Include <float.h>.
4466 (__ieee754_exp10): Handle underflow here rather than multiplying
4467 large negative argument by M_LN10.
4468 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4469 of __ieee754_expf.
4470 * math/e_exp10l.c: Include <float.h>.
4471 (__ieee754_exp10l): Handle underflow here rather than multiplying
4472 large negative argument by M_LN10l.
4473 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4474 spurious overflow exception on underflow.
4475
5ac3ea17
MP
44762012-04-29 Marek Polacek <polacek@redhat.com>
4477
4478 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4479 (__fortify_function): New macro.
4480 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4481 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4482 __extern_always_inline.
4483 * libio/bits/stdio2.h: Likewise.
4484 * libio/bits/stdio.h: Likewise.
4485 * string/string.h: Likewise.
4486 * string/bits/string3.h: Likewise.
4487 * include/stdio.h: Likewise.
4488 * stdlib/bits/stdlib.h: Likewise.
4489 * stdlib/stdlib.h: Likewise.
4490 * rt/bits/mqueue2.h: Likewise.
4491 * rt/mqueue.h: Likewise.
4492 * posix/bits/unistd.h: Likewise.
4493 * posix/unistd.h: Likewise.
4494 * io/bits/poll2.h: Likewise.
4495 * io/bits/fcntl2.h: Likewise.
4496 * io/fcntl.h: Likewise.
4497 * io/sys/poll.h: Likewise.
4498 * misc/bits/syslog.h: Likewise.
4499 * misc/bits/syslog-ldbl.h: Likewise.
4500 * misc/sys/syslog.h: Likewise.
4501 * socket/bits/socket2.h: Likewise.
4502 * socket/sys/socket.h: Likewise.
4503 * debug/tst-chk1.c: Likewise.
4504 * wcsmbs/bits/wchar2.h: Likewise.
4505 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4506 * wcsmbs/wchar.h: Likewise.
4507
ecf0ebfb
AJ
45082012-04-29 Andreas Jaeger <aj@suse.de>
4509
4510 * Makerules (tests): Remove enable-check-abi protection.
4511 (check-abi-warn): Remove.
4512 (check-abi-%): Remove check-abi-warn usage.
4513
4514 * configure.in: Remove check-abi configure option.
4515 * configure: Regenerated.
4516 * config.make.in (enable-check-abi): Remove.
4517
6d5c57fa
AS
45182012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4519
24c5d07e 4520 [BZ #14033]
ded5180a
AS
4521 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4522 double functions to double *_finite functions.
4523
7e0d315d
AS
4524 [BZ #13941]
4525 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4526 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4527 LDBL_MIN_EXP.
4528 * stdio-common/Makefile (tests): Add tst-sprintf3.
4529 * stdio-common/tst-sprintf3.c: New file.
4530
6d5c57fa
AS
4531 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4532 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4533
0749ff8b
JM
45342012-04-28 Joseph Myers <joseph@codesourcery.com>
4535
4536 * conform/conformtest.pl: Remove duplicate typed-constant
4537 handling.
4538
8dbd5d7b
DM
45392012-04-28 David S. Miller <davem@davemloft.net>
4540
4541 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4542 (check-abi-%): Remove AWK script prerequisite and explicit
4543 abilist directory.
4544 (check-abi): Rewrite to just diff the symlist with the abilist.
4545 (config-tls, config-abi-config): Delete, no longer used.
4546 (update-abi-%): Remove AWK script and explicit abilist directory.
4547 (update-abi): Rewrite to simply compare and conditionally copy the
4548 symlist and the sysdep abilist file. Remove update-abi-config
4549 checks.
4550 * abilist/ld.abilist: Remove.
4551 * abilist/libBrokenLocale.abilist: Remove.
4552 * abilist/libanl.abilist: Remove.
4553 * abilist/libcrypt.abilist: Remove.
4554 * abilist/libdl.abilist: Remove.
4555 * abilist/librt.abilist: Remove.
4556 * abilist/libthread_db.abilist: Remove.
4557 * abilist/libutil.abilist: Remove.
4558 * scripts/extract-abilist.awk: Remove.
4559 * scripts/merge-abilist.awk: Remove.
4560 * sysdeps/generic/libcidn.abilist: New file.
4561 * sysdeps/generic/libnss_compat.abilist: New file.
4562 * sysdeps/generic/libnss_db.abilist: New file.
4563 * sysdeps/generic/libnss_dns.abilist: New file.
4564 * sysdeps/generic/libnss_files.abilist: New file.
4565 * sysdeps/generic/libnss_hesiod.abilist: New file.
4566 * sysdeps/generic/libnss_nis.abilist: New file.
4567 * sysdeps/generic/libnss_nisplus.abilist: New file.
4568 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4569 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4570 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4571 file.
4572 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4573 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4574 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4575 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4576 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4577 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4578 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4579 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4580 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4581 file.
4582 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4583 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4584 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4585 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4586 file.
4587 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4588 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4589 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4590 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4591 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4592 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4593 file.
4594 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4595 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4596 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4597 file.
4598 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4600 New file.
4601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4602 New file.
4603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4604 New file.
4605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4606 New file.
4607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4608 New file.
4609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4610 New file.
4611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4612 New file.
4613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4614 New file.
4615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4616 New file.
4617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4618 New file.
4619 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4620 New file.
4621 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4622 New file.
4623 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4624 New file.
4625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4626 file.
4627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4628 New file.
4629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4630 New file.
4631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4632 file.
4633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4634 New file.
4635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4636 New file.
4637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4638 file.
4639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4640 New file.
4641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4642 New file.
4643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4644 New file.
4645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4646 New file.
4647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4648 New file.
4649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4650 New file.
4651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4653 file.
4654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4655 New file.
4656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4657 file.
4658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4659 file.
4660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4661 file.
4662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4663 file.
4664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4665 file.
4666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4667 New file.
4668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4669 file.
4670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4671 file.
4672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4673 New file.
4674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4675 file.
4676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4678 file.
4679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4680 New file.
4681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4682 file.
4683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4684 file.
4685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4686 file.
4687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4688 file.
4689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4690 file.
4691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4692 New file.
4693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4694 file.
4695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4696 file.
4697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4698 New file.
4699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4700 file.
4701 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4702 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4703 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4704 file.
4705 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4706 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4707 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4708 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4709 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4710 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4711 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4712 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4713 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4714 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4717 file.
4718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4719 New file.
4720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4721 file.
4722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4723 file.
4724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4725 file.
4726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4727 file.
4728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4729 file.
4730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4731 New file.
4732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4733 New file.
4734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4735 file.
4736 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4737 New file.
4738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4739 file.
4740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4742 file.
4743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4744 New file.
4745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4746 file.
4747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4748 file.
4749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4750 file.
4751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4752 file.
4753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4754 file.
4755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4756 New file.
4757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4758 New file.
4759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4760 file.
4761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4762 New file.
4763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4764 file.
4765
41d73a1b
JM
47662012-04-28 Joseph Myers <joseph@codesourcery.com>
4767
4768 * conform/conformtest.pl: Fix typo in handling typed-constant from
4769 allow-header.
4770
28aeeda4
JM
47712012-04-27 Joseph Myers <joseph@codesourcery.com>
4772
adae8f5e
JM
4773 * README: Cut down references to pre-2.6 Linux kernels and
4774 Linuxthreads. Update lists of configurations in libc and ports
4775 and sort alphabetically. Say "or newer" with Linux kernel version
4776 requirements.
4777
28aeeda4
JM
4778 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4779
a462cb63
RA
47802012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4781
4782 [BZ #887]
4783 * math/libm-test.inc (logb_test_downward): New test to expose
4784 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4785 rounding mode.
4786
6ad3493e
JM
47872012-04-27 Joseph Myers <joseph@codesourcery.com>
4788
4789 [BZ #14027]
4790 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4791 to be done.
4792 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4793 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4794
2ce4f015
JM
47952012-04-26 Joseph Myers <joseph@codesourcery.com>
4796
5aeb141a
JM
4797 * sysdeps/unix/i386/brk.S: Remove file.
4798 * sysdeps/unix/i386/dl-brk.S: Likewise.
4799 * sysdeps/unix/i386/pipe.S: Likewise.
4800 * sysdeps/unix/i386/sigreturn.S: Likewise.
4801 * sysdeps/unix/i386/syscall.S: Likewise.
4802 * sysdeps/unix/i386/vfork.S: Likewise.
4803 * sysdeps/unix/i386/wait.S: Likewise.
4804
7143acae
JM
4805 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4806 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4807
2ce4f015
JM
4808 * configure.in (arm*-none*): Do not allow without
4809 --enable-hacker-mode.
4810 (netbsd*): Remove case setting base_os.
4811 (386bsd*): Likewise.
4812 (freebsd*): Likewise.
4813 (bsdi*): Likewise.
4814 (osf*): Likewise.
4815 (sunos*): Likewise.
4816 (ultrix*): Likewise.
4817 (newsos*): Likewise.
4818 (dynix*): Likewise.
4819 (*bsd*): Likewise.
4820 (sysv*): Likewise.
4821 (isc*): Likewise.
4822 (esix*): Likewise.
4823 (sco*): Likewise.
4824 (minix*): Likewise.
4825 (irix4*): Likewise.
4826 (irix6*): Likewise.
4827 (solaris[2-9]*): Likewise.
4828 (none): Likewise.
4829 * configure: Regenerated.
4830
0ac229c8
AZ
48312012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4832
4833 [BZ #11521]
4834 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4835 overflow or cancellation in calculating denominator.
4836 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4837 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4838 down expression to avoid unexpected rounding in newer GCCs.
4839 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4840
33f244f4
DM
48412012-04-26 David S. Miller <davem@davemloft.net>
4842
4843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4844 long-double compat symbols.
4845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4858
cfa1f3e8
DM
48592012-04-25 David S. Miller <davem@davemloft.net>
4860
4861 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4862 HWCAP_* values only after the memory barriers have been defined.
4863 (atomic_full_barrier): Define.
4864 (atomic_read_barrier): Define.
4865 (atomic_write_barrier): Define.
4866
6e236b92
SP
48672012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4868
4869 * shlib-versions: Add libgcc_s version information.
4870 * sysdeps/generic/libgcc_s.h: Remove.
4871 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4872 libgcc_s.h.
4873 * sysdeps/gnu/unwind-resume.c: Likewise.
4874 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4875
aab39a09
DM
48762012-04-25 David S. Miller <davem@davemloft.net>
4877
4878 * sysdeps/unix/sparc/brk.S: Delete.
4879 * sysdeps/unix/sparc/dl-brk.S: Delete.
4880 * sysdeps/unix/sparc/pipe.S: Delete.
4881 * sysdeps/unix/sparc/sysdep.S: Delete.
4882 * sysdeps/unix/sparc/sysdep.h: Delete.
4883 * sysdeps/unix/sparc/vfork.S: Delete.
4884 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4885 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4886 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4887 ret_ERRVAL, r0, r1, MOVE): Define.
4888 (JUMPTARGET): Remove.
4889 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4890 sysdeps/unix/sparc/sysdep.h
4891 (ENTRY, END): Remove.
4892 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4893
a3cc4f48
JM
48942012-04-25 Joseph Myers <joseph@codesourcery.com>
4895
2ed8cda2
JM
4896 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4897 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4898 -DIS_IN_build.
4899
35d76d59
JM
4900 * timezone/README: Update upstream location and email address for
4901 tzcode and tzdata.
4902 * timezone/zdump.c: Update from tzcode 2012b.
4903 * timezone/zic.c: Likewise.
4904
a3cc4f48
JM
4905 * configure.in (libc_cv_as_needed): Remove test.
4906 * configure: Regenerated.
4907 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4908 conditional definition.
4909 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4910 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4911 * config.make.in (have-as-needed): Remove variable.
4912
ceab42c3
SP
49132012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4914 Paul Pluzhnikov <ppluzhnikov@google.com>
4915
4916 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4917 strings correctly.
4918
3ce2865f
CLT
49192012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4920
4921 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4922 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4923 * sysdeps/sh/strlen.S: Likewise.
4924
f37e0d68
JM
49252012-04-24 Joseph Myers <joseph@codesourcery.com>
4926
ae186e9a
JM
4927 * sysdeps/unix/fork.S: Remove file.
4928 * sysdeps/unix/i386/fork.S: Likewise.
4929 * sysdeps/unix/sparc/fork.S: Likewise.
4930
b96914af
JM
4931 * sysdeps/unix/system.c: Remove file.
4932 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4933
f37e0d68
JM
4934 * sysdeps/unix/getegid.S: Remove file.
4935 * sysdeps/unix/geteuid.S: Likewise.
4936
87ef29ca
RM
49372012-04-24 Roland McGrath <roland@hack.frob.com>
4938
83bcd236
RM
4939 * scripts/check-localplt.awk: New file.
4940 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4941 of diff.
4942 * scripts/data/localplt-generic.data: Add a comment.
4943
87ef29ca
RM
4944 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4945 NODE when __dir_mkfile failed.
4946 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4947 Reported by Ludovic Courtès <ludo@gnu.org>.
4948
e5a6e567
AJ
49492012-04-24 Andreas Jaeger <aj@suse.de>
4950
4951 * Makerules (common-clean): Also remove gen-as-const-headers
4952 files.
4953
c1820385
JM
49542012-04-24 Joseph Myers <joseph@codesourcery.com>
4955
4956 * Makerules (native-compile): Do not change working directory for
4957 build. Use $(OUTPUT_OPTION) in command.
4958 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4959
94e02fc4
AZ
49602012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4961
4962 [BZ #13886]
4963 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4964 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4965 * math/libm-test.inc (floor_test): Add more tests.
4966 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4967
3a533ca3
JM
49682012-04-24 Joseph Myers <joseph@codesourcery.com>
4969
940ab4b3
JM
4970 * sysdeps/unix/getdents.c: Remove file.
4971 * sysdeps/unix/sysv/getdents.c: Likewise.
4972 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4973
90e037bd
JM
4974 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4975 sysdeps/unix/mman/syscalls.list.
4976 (mmap): Likewise.
4977 (mprotect): Likewise.
4978 (msync): Likewise.
4979 (munmap): Likewise.
4980 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4981 * sysdeps/unix/mman/syscalls.list: Remove.
4982 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4983
3a533ca3
JM
4984 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4985 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4986 * configure: Regenerated.
4987 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4988 $(libgcc_s_suffix).
4989 * config.make.in (libgcc_s_suffix): Remove variable.
4990
1ad743de
JM
49912012-04-23 Joseph Myers <joseph@codesourcery.com>
4992
4ad451e2
JM
4993 * sysdeps/unix/sysv/gethostname.c: Move to ...
4994 * sysdeps/posix/gethostname.c: ... here.
4995
5e37ce39
JM
4996 * sysdeps/unix/execve.S: Remove file.
4997
1ad743de
JM
4998 * sysdeps/unix/_exit.S: Remove file.
4999
4e681b5b
AJ
50002012-04-23 Andreas Jaeger <aj@suse.de>
5001
5002 [BZ #13739]
5003 * manual/Makefile: Remove make dist support, there's no
5004 need for a stand-alone documentation tar ball.
5005 (TEXI2DVI): Define always, it's not in Makeconfig.
5006 (dist): Removed.
5007 (tar-it): Removed.
5008 (edition): Removed.
5009 (glibc-doc-$(edition).tar): Removed
5010 (%.Z): Removed.
5011 (%.gz): Removed.
5012 (%.uu): Removed.
5013 (ETAGS): Remove, it's in Makeconfig.
5014 (move-if-change): Remove, it's in Makeconfig.
5015
c0baea34
PE
50162013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5017
5018 [BZ #13970]
5019 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5020 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5021 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5022 (strtod_l, strtof_l, strtold_l): Remove __wur.
5023 It is not necessarily an error to ignore strtol's return value.
5024 One can reliably look at the stored endptr to decide whether
5025 the number had valid syntax.
5026
7c0616fa
AJ
50272012-04-21 Andreas Jaeger <aj@suse.de>
5028
803cb6b7 5029 [BZ #13739]
7c0616fa
AJ
5030 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5031
b0fe253f
JM
50322012-04-21 Joseph Myers <joseph@codesourcery.com>
5033
5034 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5035 * sysdeps/unix/sysv/Versions: Remove file.
5036
8280f22d
MT
50372012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5038
5039 [BZ #13927]
5040 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5041
75ce411f 50422012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
5043
5044 [BZ #7064]
5045 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5046 version from __vm86.
5047
097d59fa
JM
50482012-04-20 Joseph Myers <joseph@codesourcery.com>
5049
a90f3bcb
JM
5050 * sysdeps/unix/common/lxstat.c: Remove file.
5051 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5052
edc7ea78
JM
5053 * sysdeps/unix/sysv/Makefile: Remove file.
5054
cb78c221
JM
5055 * sysdeps/unix/sysv/direct.h: Remove file.
5056
efa6a45f
JM
5057 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5058 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5059 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5060 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5061 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5062 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5063 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5064
9c9f2d0c
JM
5065 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5066
4541c83b
JM
5067 * sysdeps/unix/xmknod.c: Remove file.
5068 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5069
f5d153a0
JM
5070 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5071
aa746595
JM
5072 * sysdeps/unix/sysv/i386/time.S: Remove file.
5073
cce5905e
JM
5074 * sysdeps/unix/fxstat.c: Remove file.
5075 * sysdeps/unix/xstat.c: Likewise.
5076 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5077
37fa3841
JM
5078 * sysdeps/unix/sysv/sigaction.c: Remove file.
5079
ff1962a3
JM
5080 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5081 (sysdep_headers): Remove variable.
5082 [termio.h not in sysdep_headers] (generated): Likewise.
5083 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5084 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5085 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5086 * sysdeps/unix/sysv/tcflow.c: Likewise.
5087 * sysdeps/unix/sysv/tcflush.c: Likewise.
5088 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5089 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5090 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5091 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5092 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5093
e7740d31
JM
5094 * sysdeps/unix/siglist.c: Remove file.
5095
ee06f18b
JM
5096 * sysdeps/unix/getppid.S: Remove file.
5097
097d59fa
JM
5098 * sysdeps/unix/mkdir.c: Remove file.
5099 * sysdeps/unix/rmdir.c: Likewise.
5100
ff3d51ec
AS
51012012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5102
5103 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5104 ERR_MAX value.
5105 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5106 errlist-compat value.
5107
50f81fd7
DM
51082012-04-18 David S. Miller <davem@davemloft.net>
5109
5110 * sysdeps/generic/memcopy.h (reg_char): Delete.
5111 * debug/strcat_chk.c: Use char, not reg_char.
5112 * debug/strcpy_chk.c: Likewise.
5113 * debug/strncat_chk.c: Likewise.
5114 * debug/strncpy_chk.c: Likewise.
5115 * string/memchr.c: Likewise.
5116 * string/memrchr.c: Likewise.
5117 * string/rawmemchr.c: Likewise.
5118 * string/strcat.c: Likewise.
5119 * string/strchr.c: Likewise.
5120 * string/strchrnul.c: Likewise.
5121 * string/strcmp.c: Likewise.
5122 * string/strcpy.c: Likewise.
5123 * string/strncat.c: Likewise.
5124 * string/strncmp.c: Likewise.
5125 * string/strncpy.c: Likewise.
5126
8ff41c46
WS
51272012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5128
5129 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5130 __builtin_memcopy is called when src and dest ranges are known to not
5131 overlap.
5132
6b652f46
WS
51332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5134
5135 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5136 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5137 fwd_align_merge macro call.
5138 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5139 bwd_align_merge macro call.
5140 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5141
b282631e
WS
51422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5143
5144 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5145 bwd_align_merge macros.
5146 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5147 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5148 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5149
95aa737c
DM
51502012-04-18 David S. Miller <davem@davemloft.net>
5151
5152 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5153
7a99a614
AJ
51542012-04-18 Andreas Jaeger <aj@suse.de>
5155
5156 [BZ# 6794]
5157 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5158 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5159 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5160
5161 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5162 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5163 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5164
5165 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5166 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5167 Adjust for changed ldbl-128 files.
5168
5169 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5170 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5171 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5172
e5270c23
DM
51732012-04-17 David S. Miller <davem@davemloft.net>
5174
5175 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5176
fb5e92c9
AS
51772012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5178
5179 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5180 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5181 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5182 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5183 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5184 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5185
76da7265
AZ
51862012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5187
5188 [BZ #6794]
5189 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5190 * math/libm-test.inc: Add ilogb errno and exception tests.
5191 * math/w_ilogb.c: New file: ilogb wrapper.
5192 * math/w_ilogbf.c: New file: ilogbf wrapper.
5193 * math/w_ilogbl.c: New file: ilogbl wrapper.
5194 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5195 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5196 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5197 exception being thrown with 0.0 as argument.
5198 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5199 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5200 exception being thrown with 0.0 as argument.
5201 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5202 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5203 exception being thrown with 0.0 as argument.
5204 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5205 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5206 exception being thrown with 0.0 as argument.
5207 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5208 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5209 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5210 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5211 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5212 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5213 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5214 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5215 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5216
0396e69d
PB
52172012-04-17 Petr Baudis <pasky@ucw.cz>
5218
5219 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5220 with altivec.
5221
750b5926
MP
52222012-04-16 Marek Polacek <polacek@redhat.com>
5223
5224 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5225
751728a1
MP
52262012-04-16 Marek Polacek <polacek@redhat.com>
5227
5228 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5229 operands of fdivp instruction.
5230
34a27407
L
52312012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5232
5233 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5234 * elf/tst-auditmod3b.c: Likewise.
5235 * elf/tst-auditmod4b.c: Likewise.
5236 * elf/tst-auditmod5b.c: Likewise.
5237 * elf/tst-auditmod6b.c: Likewise.
5238 * elf/tst-auditmod6c.c: Likewise.
5239 * elf/tst-auditmod7b.c: Likewise.
5240 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5241 * sysdeps/x86_64/preconfigure.in: Likewise.
5242 * sysdeps/x86_64/preconfigure: Regenerated.
5243
7e73e17d
L
52442012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5245
5246 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5247 __ILP32__.
5248
c7a6ab72
AB
52492012-04-13 Antoine Balestrat <merkil33@gmail.com>
5250
5251 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5252 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5253
a9e8e0e0
CL
52542012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5255
5256 [BZ #13973]
5257 * locale/iso-639.def: Fix gl language name. Spotted by
5258 Yaron Shahrabani.
5259
ec98af7d
RM
52602012-04-12 Roland McGrath <roland@hack.frob.com>
5261
5262 [BZ #2074]
5263 * libio/libio.h (__io_write_fn): Update comment.
5264
247c3ede
PB
52652012-04-12 Petr Baudis <pasky@ucw.cz>
5266
5267 [BZ #2074]
5268 * stdio.texi (Hook Functions): The user provided writer function
5269 is not allowed to return -1.
5270
55939d6d
DM
52712012-04-11 David S. Miller <davem@davemloft.net>
5272
5273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5274
90020f5a
MF
52752012-04-11 Mike Frysinger <vapier@gentoo.org>
5276
5277 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5278 Add a leading slash to rtkaio.
5279
288f9098
JM
52802012-04-11 Jim Meyering <meyering@redhat.com>
5281
90020f5a
MF
5282 [BZ #11959]
5283 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5284 It is not necessarily an error to ignore fwrite's return
5285 value. One can reliably use ferror to test for errors after
5286 the fact.
288f9098 5287
4be2b570
L
52882012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5289
5290 * bits/types.h (__snseconds_t): New type.
5291 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5292
5293 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5294 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5295 (__SNSECONDS_T_TYPE): Likewise.
5296 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5297 (__SNSECONDS_T_TYPE): Likewise.
5298 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5299 (__SNSECONDS_T_TYPE): Likewise.
5300
288f9098 53012012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5302
5303 [BZ #2636]
5304 * manual/time.texi (Processor Time): Return type of times is
5305 elapsed real time since an arbitrary point in the past.
5306 (CPU Time): Move CLK_TCK from here...
5307 (Processor Time): ...to here. Correct description.
5308 * manual/conf.texi (Constants for Sysconf): Correct description of
5309 _SC_CLK_TCK.
5310
d7dd4413
DM
53112012-04-10 David S. Miller <davem@davemloft.net>
5312
5313 [BZ #13967]
5314 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5315 where the is a gap between DT_REL(A) and DT_JMPREL.
5316
b46068fc
L
53172012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5318
5319 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5320 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5321 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5322
73d65cc3
SP
53232012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5324
5325 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5326 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5327 (dl_main): Handle --inhibit-cache.
5328 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5329 _dl_inhibit_cache.
5330 * elf/dl-load.c (_dl_map_object): Use it.
5331 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5332
bcc8d661
JM
53332012-04-09 Joseph Myers <joseph@codesourcery.com>
5334
8f9a2fae
JM
5335 [BZ #13872]
5336 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5337 (__ieee754_powl): Saturate large exponents rather than testing for
5338 overflow of y*log2(x).
5339 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5340 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5341 exceptions.
5342
bcc8d661
JM
5343 [BZ #11521]
5344 * math/s_ctan.c: Include <float.h>.
5345 (__ctan): Avoid internal overflow or cancellation in calculating
5346 denominator.
5347 * math/s_ctanf.c: Likewise.
5348 * math/s_ctanl.c: Likewise.
5349 * math/s_ctanh.c: Likewise.
5350 * math/s_ctanhf.c: Likewise.
5351 * math/s_ctanhl.c: Likewise.
5352 * math/libm-test.inc (ctan_test): Add more tests.
5353 (ctanh_test): Likewise.
5354 * sysdeps/i386/fpu/libm-test-ulps: Update.
5355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5356
823fbbb4
AJ
53572012-04-09 Andreas Jaeger <aj@suse.de>
5358
03879793
AJ
5359 [BZ #6894]
5360 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5361 is an optional BSD extension.
5362
823fbbb4
AJ
5363 [BZ #10254]
5364 * manual/stdio.texi (Opening Streams): Document additional fopen
5365 parameters.
5366
8de131cb
RM
53672012-04-09 Roland McGrath <roland@hack.frob.com>
5368
5369 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5370 %eax without telling the compiler.
5371
c0ed9d7d
CD
53722012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5373
5374 [BZ # 13963]
5375 * manual/install.texi: Use sourceware.org.
5376
c483f6b4
JM
53772012-04-09 Joseph Myers <joseph@codesourcery.com>
5378
d7dd9453
JM
5379 [BZ #13873]
5380 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5381 (__ieee754_pow): Generate overflow and underflow using huge*huge
5382 and tiny*tiny rather than just returning constant infinity or zero
5383 for large exponents.
5384 * math/libm-test.inc (pow_test): Require overflow exceptions for
5385 applicable cases of large exponents.
5386
c483f6b4
JM
5387 [BZ #706]
5388 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5389 (__ieee754_pow): Use iterative multiplication algorithm only for
5390 integer exponents with absolute value below 1024. Check for odd
5391 integer exponents when using algorithm for real exponents.
5392 * math/libm-test.inc (pow_test): Add more tests.
5393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5394
d2de7579
JM
53952012-04-08 Joseph Myers <joseph@codesourcery.com>
5396
5397 [BZ #13705]
5398 * math/libm-test.inc (exp_test): Do not allow overflow exception
5399 on underflow test.
5400
f77f1232
AJ
54012012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5402
5403 [BZ #13705]
5404 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5405 instead of __kernel_standard_f.
5406
3884932b
MF
54072012-04-08 Mike Frysinger <vapier@gentoo.org>
5408
5409 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5410 * sysdeps/x86_64/memset_chk.S: Likewise.
5411
54472e9c
AJ
54122012-04-08 Andreas Jaeger <aj@suse.de>
5413
6ab0fbfc
AJ
5414 [BZ #10153]
5415 * manual/startup.texi (Environment Access): Describe return value
5416 for putenv and setenv.
5417
61efba8c
AJ
5418 [BZ #6895]
5419 * manual/filesys.texi (Directory Entries): Add description for
5420 DT_LNK.
5421
95c3f29a
AJ
5422 [BZ #6890]
5423 * manual/filesys.texi (Directory Entries): Clarify that it's file
5424 system not operating system in the description of DT_UNKNOWN.
5425
54472e9c
AJ
5426 [BZ #6578]
5427 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5428
624254b1
SC
54292012-04-08 Stephen Compall <s11@member.fsf.org>
5430
5431 [BZ #6649]
5432 * manual/llio.texi (Opening and Closing Files): Add cross
5433 reference to explain mode argument.
5434
1e4920e0
MF
54352012-04-07 Mike Frysinger <vapier@gentoo.org>
5436
5437 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5438 * sysdeps/x86_64/memset_chk.S: Likewise.
5439
5ed848f3
DM
54402012-04-07 David S. Miller <davem@davemloft.net>
5441
5442 * elf/elf.h (R_SPARC_WDISP10): Define.
5443 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5444 R_SPARC_SIZE32.
5445 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5446 R_SPARC_SIZE64 and R_SPARC_H34.
5447
96154cd8
CD
54482012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5449
5450 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5451 conditions and remove no longer applicable assertion.
5452
9904dc47
L
54532012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5454
5455 * bits/byteswap.h: Include <features.h>.
5456 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5457 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5458
f8887d0a
L
54592012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5460
5461 * bits/byteswap.h (__bswap_16): Removed.
5462 Include <bits/byteswap-16.h> to get __bswap_16.
5463 * sysdeps/i386/bits/byteswap.h: Likewise.
5464 * sysdeps/s390/bits/byteswap.h: Likewise.
5465 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5466 * bits/byteswap-16.h: New file.
5467 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5468 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5469 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5470 * string/Makefile (headers): Add bits/byteswap-16.h.
5471
62470f60
PP
54722012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5473
5474 [BZ #13895]
5475 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5476 extra indirection.
5477 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5478 * nss/tst-nss-static.c: New.
5479
4dad7bab
RM
54802012-04-06 Robert Millan <rmh@gnu.org>
5481
5482 [BZ #6486]
5483 * manual/llio.texi (File Position Primitive): lseek
5484 refers to WHENCE when it really means OFFSET.
5485
e9142a17
AJ
54862012-04-06 Andreas Jaeger <aj@suse.de>
5487
2c040eff
AJ
5488 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5489 strncmp declarations.
5490
e9142a17
AJ
5491 * abilist/libc.abilist: Add __poll and __ppoll.
5492
ff9f1c5f
DM
54932012-04-05 David S. Miller <davem@davemloft.net>
5494
dcd2ae90
DM
5495 * scripts/check-local-headers.sh: Accept a host triplet in the
5496 path matched by the exclude regexp.
5497
993eb054
DM
5498 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5499 definition.
5500 * sysdeps/powerpc/powerpc32/dl-machine.h
5501 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5502 * sysdeps/s390/s390-32/dl-machine.h
5503 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5504 * sysdeps/sparc/sparc32/dl-machine.h
5505 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5506 * sysdeps/sparc/sparc64/dl-machine.h
5507 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5508
ff9f1c5f
DM
5509 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5510 lazy binding.
48e2e132 5511 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5512 undefined symbol errors.
5513
48e2e132 5514 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5515 DT_NEEDED entries.
5516
e80d6f94
MM
55172012-04-05 Michael Matz <matz@suse.de>
5518
5519 [BZ #13592]
5520 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5521
349fa79f
AJ
55222012-04-05 Andreas Jaeger <aj@suse.de>
5523
5524 [BZ #13908]
5525 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5526 comment.
5527
f402708f
KK
55282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5529
5530 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5531 which ROUND is no valid rounding mode.
5532
2ecccfc9
KK
55332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5534
5535 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5536 read again.
5537 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5538
8a53f50f
KK
55392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5540
5541 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5542 an exception using FPU order intentionally.
5543
55442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5545
5546 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5547 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5548 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5549 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5550
d653abb7
SJ
55512012-04-05 Simon Josefsson <simon@josefsson.org>
5552
5553 [BZ #12340]
5554 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5555 EINVAL when BUFLEN is too smal.
5556
c3b1bf7d
TS
55572012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5558
5559 [BZ #13553]
5560 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5561 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5562
b1aa60f3
AJ
55632012-04-03 Andreas Jaeger <aj@suse.de>
5564
c3b1bf7d 5565 [BZ #13938]
67f60a26
AJ
5566 * manual/setjmp.texi (System V contexts): Fix sentence.
5567
b1aa60f3
AJ
5568 [BZ #13926]
5569 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5570 New macro for this case.
5571 [!__GNUC__] (__bswap_64): New inline function for this case.
5572 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5573 * bits/byteswap.h: Likewise.
5574 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5575 ull, guard with __GLIBC_HAVE_LONG_LONG.
5576
5577 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5578 __GLIBC_HAVE_LONG_LONG.
5579
5580 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5581 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5582
39c59c35
TMQMF
55832012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5584
5585 [BZ #13691]
5586 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5587 inptr and inend, rather than using last_ch.
5588
135ffda8
DM
55892012-04-02 David S. Miller <davem@davemloft.net>
5590
5591 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5592 * stdio-common/printf-parse.h (read_int): Change return type to
5593 'int', return -1 on INT_MAX overflow.
5594 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5595 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5596 overflows INT_MAX. Check for overflow of in-format-string precision
5597 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5598 SIZE_MAX not INT_MAX for integer overflow test.
5599 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5600 skip the construct in the format string but do not record anything.
5601 * stdio-common/bug22.c: Adjust to test both width/prevision
5602 INT_MAX overflow as well as total length INT_MAX overflow. Check
5603 explicitly for proper errno values.
5604
228c019e
TS
56052012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5606
302cadd3
TS
5607 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5608 CHAR_MAX.
5609 * string/test-strcmp.c [! WIDE]: Likewise.
5610 * time/tst-mktime2.c: Likewise for INT_MAX.
5611 * string/test-string.h: #include <sys/param.h> for MIN.
5612
228c019e
TS
5613 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5614 * sysdeps/i386/init-first.c (init): Likewise.
5615 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5616 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5617 * sysdeps/sh/init-first.c (init): Likewise.
5618
cfa633f5
UD
56192012-04-01 Ulrich Drepper <drepper@gmail.com>
5620
5621 * po/ru.po: Update from translation team.
d1635ef8 5622 * po/vi.po: Likewise.
cfa633f5 5623
6cd0a5ea
SP
56242012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5625
5626 * resolv/nss_dns/dns-host.c: Merge copyright years.
5627
4b43400f
LD
56282012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5629
5630 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5631 Optimize memcpy with prefetch if
5632 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5633 src, dst pointers have unequal 16 byte alignments.
5634
48c41d04
SP
56352012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5636
5637 [BZ #13928]
5638 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5639 from a CNAME entry and return the minimum ttl for the query.
5640 (gaih_getanswer_slice): Likewise.
5641
b8dc394d
JL
56422012-03-30 Jeff Law <law@redhat.com>
5643
5644 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5645 due to long keys.
5646 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5647 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5648
2f5a5ed0
JL
5649 * resolv/nss_dns/dns-host.c: Update copyright year.
5650
1d39e359
UD
56512012-03-30 Ulrich Drepper <drepper@gmail.com>
5652
c030f70c 5653 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5654 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5655
1d39e359
UD
5656 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5657 comments for sendmmsg.
5658
56592012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5660
5661 [BZ #13691]
5662 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5663 with only 1 character between 0x0041 and 0x01b0.
5664 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5665 * wcsmbs/tst-mbsnrtowcs.c: New file.
5666
20fde227
DM
56672012-03-29 David S. Miller <davem@davemloft.net>
5668
5669 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5670 small copies by hand.
5671
984a4237
JL
56722012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5673
5674 [BZ #13761]
5675 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5676 _nss_compat_initgroups_dyn): Fall back to malloc/free
5677 for large group memberships.
5678
18c9d62b
DM
56792012-03-28 David S. Miller <davem@davemloft.net>
5680
88d85d4f
DM
5681 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5682 that branches into memcpy.
5683 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5684 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5685 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5686 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5687 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5688 bits.
5689 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5690 implementation too.
5691 * sysdeps/sparc/mempcpy.S: New file.
5692
e5aa83e1
DM
5693 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5694 the IFUNC routine in the libc case.
5695 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5696
88570753
DM
5697 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5698 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5699 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5700 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5701 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5702 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5703 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5704 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5705
249d7567
DM
5706 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5707 loop to 256 bytes instead of 64 bytes and fix test signedness.
5708
18c9d62b
DM
5709 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5710 * sysdeps/sparc/sparc32/Makefile: rather than here...
5711 * sysdeps/sparc/sparc64/Makefile: and here.
5712
05f3d1f6
UD
57132012-03-28 Ulrich Drepper <drepper@gmail.com>
5714
5715 * malloc/mallocbug.c: Avoid warnings about unused variables.
5716
86ae07a8
JL
57172012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5718
5719 [BZ #13760]
5720 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5721 in the right place. Discard and retry query if response is
5722 larger than input buffer size.
5723
41bf21a1
JM
57242012-03-28 Joseph Myers <joseph@codesourcery.com>
5725
d6270972
JM
5726 [BZ #369]
5727 [BZ #2678]
5728 [BZ #3866]
5729 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5730 x for large integer exponent.
5731 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5732 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5733 sign of result as needed afterwards.
5734 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5735 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5736 result for underflowing pow the same as for overflow.
5737 (__kernel_standard_l): Handle powl overflow and underflow here
5738 rather than calling __kernel_standard.
5739 * math/libm-test.inc (pow_test): Add more tests.
5740
414fca03 5741 [BZ #3868]
41bf21a1
JM
5742 [BZ #13879]
5743 [BZ #13910]
5744 [BZ #13911]
5745 [BZ #13912]
5746 [BZ #13913]
5747 [BZ #13915]
5748 [BZ #13916]
5749 [BZ #13917]
5750 [BZ #13918]
5751 [BZ #13919]
5752 [BZ #13920]
5753 [BZ #13921]
5754 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5755 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5756 (__kernel_standard_l): New function.
5757 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5758 __kernel_standard.
5759 * math/w_acosl.c (__acosl): Likewise.
5760 * math/w_asinl.c (__asinl): Likewise.
5761 * math/w_atan2l.c (__atan2l): Likewise.
5762 * math/w_atanhl.c (__atanhl): Likewise.
5763 * math/w_coshl.c (__coshl): Likewise.
5764 * math/w_exp10l.c (__exp10l): Likewise.
5765 * math/w_exp2l.c (__exp2l): Likewise.
5766 * math/w_fmodl.c (__fmodl): Likewise.
5767 * math/w_hypotl.c (__hypotl): Likewise.
5768 * math/w_j0l.c (__j0l, __y0l): Likewise.
5769 * math/w_j1l.c (__j1l, __y1l): Likewise.
5770 * math/w_jnl.c (__jnl, __ynl): Likewise.
5771 * math/w_lgammal.c (__lgammal): Likewise.
5772 * math/w_log10l.c (__log10l): Likewise.
5773 * math/w_log2l.c (__log2l): Likewise.
5774 * math/w_logl.c (__logl): Likewise.
5775 * math/w_powl.c (__powl): Likewise.
5776 * math/w_remainderl.c (__remainderl): Likewise.
5777 * math/w_scalbl.c (sysv_scalbl): Likewise.
5778 * math/w_sinhl.c (__sinhl): Likewise.
5779 * math/w_sqrtl.c (__sqrtl): Likewise.
5780 * math/w_tgammal.c (__tgammal): Likewise.
5781 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5782 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5783 * math/libm-test.inc (acos_test): Add more tests.
5784 (acosh_test): Likewise.
5785 (asin_test): Likewise.
5786 (atanh_test): Likewise.
5787 (exp_test): Likewise.
5788 (exp10_test): Likewise.
5789 (exp2_test): Likewise.
5790 (expm1_test): Likewise.
5791 (lgamma_test): Likewise.
5792 (log_test): Likewise.
5793 (log10_test): Likewise.
5794 (log1p_test): Likewise.
5795 (log2_test): Likewise.
5796 (pow_test): Do not allow some spurious overflow exceptions.
5797 (sqrt_test): Add more tests.
5798 (tgamma_test): Likewise.
5799 (y0_test): Likewise.
5800 (y1_test): Likewise.
5801 (yn_test): Likewise.
5802
dd62fda6
AB
58032012-03-27 Anton Blanchard <anton@samba.org>
5804
5805 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5806 MAP_HUGETLB.
5807 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5808 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5809 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5810
1e3cdfda
AJ
58112012-03-27 David S. Miller <davem@davemloft.net>
5812
b855ab85
DM
5813 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5814
1e3cdfda
AJ
5815 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5816 have-as-vis3 check.
5817
58182012-03-27 Andreas Jaeger <aj@suse.de>
5819
5820 * sysdeps/x86_64/elf/configure.in: Moved to ...
5821 * sysdeps/x86_64/configure.in: ... here.
5822 * sysdeps/x86_64/elf/start.S: Moved to ...
5823 * sysdeps/x86_64/start.S: ... here.
5824 * sysdeps/x86_64/elf/configure: Delete.
5825
5826 * sysdeps/x86_64/configure.in: Merge contents from
5827 sysdeps/i386/configure.in (without i686 check).
5828
5829 * sysdeps/i386/elf/Versions: Merge into ...
5830 * sysdeps/i386/Versions: ... this.
5831 * sysdeps/i386/elf/Versions: Delete file.
5832 * sysdeps/i386/elf/start.S: Moved to ...
5833 * sysdeps/i386/start.S: ...here.
5834 * sysdeps/i386/elf/configure.in: Merge into...
5835 * sysdeps/i386/configure.in: ...here.
5836 * sysdeps/i386/elf/configure.in: Delete file.
5837 * sysdeps/i386/elf/configure: Delete file.
5838
5839 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5840 * debug/backtracesyms.c: ... here.
5841 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5842 * debug/backtracesymsfd.c: ... here.
5843 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5844 * sysdeps/generic/ifunc-sel.h: ... here.
5845
5846 * sysdeps/unix/i386/start.c: Delete file.
5847 * sysdeps/unix/sparc/start.c: Delete file.
5848 * sysdeps/unix/start.c: Delete file.
5849
5850 * sysdeps/sh/elf/configure.in: Moved to ...
5851 * sysdeps/sh/configure.in: ... here.
5852 * sysdeps/sh/elf/start.S: Moved to ...
5853 * sysdeps/sh/start.S: ... here.
5854 * sysdeps/sh/elf/configure: Delete file.
5855
5856 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5857 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5858 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5859 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5860 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5861 * sysdeps/powerpc/powerpc64/start.S: here.
5862 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5863 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5864 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5865 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5866 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5867
5868 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5869 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5870 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5871 * sysdeps/powerpc/powerpc32/start.S: ... here.
5872 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5873 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5874 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5875
5876 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5877 * sysdeps/powerpc/ifunc-sel.h: ... here.
5878 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5879 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5880
5881 * sysdeps/sparc/elf/configure.in: Moved to ...
5882 * sysdeps/sparc/configure.in: ... here.
5883 * sysdeps/sparc/elf/configure: Delete file.
5884 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5885 * sysdeps/sparc/sparc32/start.S: ... here.
5886 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5887 * sysdeps/sparc/sparc64/start.S: ... here.
5888 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5889 * sysdeps/sparc/sparc32/Makefile: ... this.
5890 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5891 * sysdeps/sparc/sparc64/Makefile: ... this.
5892
5893 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5894 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5895 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5896 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5897 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5898 * sysdeps/s390/s390-32/setjmp.S: ... here.
5899 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5900 * sysdeps/s390/s390-32/configure.in: ... here.
5901 * sysdeps/s390/s390-32/elf/configure: Delete file.
5902 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5903 * sysdeps/s390/s390-32/start.S: ... here.
5904
5905 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5906 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5907 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5908 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5909 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5910 * sysdeps/s390/s390-64/setjmp.S: ... here.
5911 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5912 * sysdeps/s390/s390-64/configure.in: ... here
5913 * sysdeps/s390/s390-64/elf/configure: Delete file.
5914 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5915 * sysdeps/s390/s390-64/start.S: ... here.
5916 * sysdeps/s390/s390-64/elf/configure: Delete.
5917
5918 * configure.in: Remove support for elf directories in sysdeps.
5919
5920 * configure: Regenerated.
5921 * sysdeps/i386/configure: Regenerated.
5922 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5923 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5924 * sysdeps/s390/s390-32/configure: Regenerated.
5925 * sysdeps/s390/s390-64/configure: Regenerated.
5926 * sysdeps/sh/configure: Regenerated.
5927 * sysdeps/sparc/configure: Regenerated.
5928 * sysdeps/x86_64/configure: Regenerated.
5929
a3f61311
AS
59302012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5931
c876e002
AS
5932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5933
a3f61311
AS
5934 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5935 denormal result into account.
5936
ac4c54f0
RM
59372012-03-25 Roland McGrath <roland@hack.frob.com>
5938
5939 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5940 Reported by Allan McRae <allan@archlinux.org>.
5941
6a9b9c02
JL
59422012-03-23 Jeff Law <law@redhat.com>
5943
5944 * nss/getnssent.c (__nss_getent): Fix typo.
5945
4c42a0c1
DM
59462012-03-23 David S. Miller <davem@davemloft.net>
5947
5948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5949
1532c7ac
L
59502012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5951
5952 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5953 to pad to uint64_t for each field.
5954 (dl_tls_index): Replace unsigned long with uint64_t.
5955
3ff42526
PP
59562012-03-23 Daniel Jacobowitz <dmj@google.com>
5957 Paul Pluzhnikov <ppluzhnikov@google.com>
5958
5959 [BZ #6528]
5960 * grp/Makefile (otherlibs): Don't set it.
5961 * inet/Makefile (otherlibs): Likewise.
5962 * login/Makefile (otherlibs): Likewise.
5963 * nscd/Makefile (otherlibs): Likewise.
5964 * posix/Makefile (otherlibs): Likewise.
5965 * pwd/Makefile (otherlibs): Likewise.
5966 * rt/Makefile (otherlibs): Likewise.
5967 * sunrpc/Makefile (otherlibs): Likewise.
5968 * nss/Makefile (otherlibs): Likewise.
5969 Add libnss_files to routines and static-only-routines.
5970 ($(objpfx)getent): Remove rule.
5971 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5972 static-only-routines.
5973
7c69cd14
JM
59742012-03-22 Joseph Myers <joseph@codesourcery.com>
5975
5976 [BZ #13892]
5977 * math/s_cexp.c: Include <float.h>.
5978 (__cexp): Handle exp result overflowing not necessarily
5979 overflowing both real and imaginary parts of result.
5980 * math/s_cexpf.c: Likewise.
5981 * math/s_cexpl.c: Likewise.
5982 * math/libm-test.inc (cexp_test): Add more tests.
5983 * sysdeps/i386/fpu/libm-test-ulps: Update.
5984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5985
81b035fe
L
59862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5987
5988 * include/link.h (ELFW): New macro.
5989 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5990 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5991
1da7940c
L
59922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5993
5994 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5995 with uint64_t.
5996
b749dbb9
L
59972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5998
5999 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6000 declaration.
6001 (struct La_x32_retval): Likewise.
6002
2ff87f3f
L
60032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6004
6005 * sysdeps/x86_64/preconfigure.in: New file.
6006 * sysdeps/x86_64/preconfigure: New generated file.
6007
c0df8e69
JM
60082012-03-22 Joseph Myers <joseph@codesourcery.com>
6009
48e44791
JM
6010 [BZ #13824]
6011 * math/e_exp2l.c: Include <float.h>.
6012 (__ieee754_exp2l): Handle overflow and underflow cases
6013 separately. Only pass fractional part of argument to
6014 __ieee754_expl.
6015 * math/libm-test.inc (exp2_test): Add more tests.
6016
c0df8e69
JM
6017 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6018 negating x to take absolute value.
6019 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6020 Likewise.
6021 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6022 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6023 Likewise.
6024 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6025 computing low part if x was negated.
6026 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6027
c8e43ba7
L
60282012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6029
6030 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6031 la_x32_gnu_pltexit.
6032 (pltexit): Cast int_retval to ptrdiff_t.
6033 * elf/tst-auditmod3b.c: Likewise.
6034 * elf/tst-auditmod4b.c: Likewise.
6035 * elf/tst-auditmod5b.c: Likewise.
6036 * elf/tst-auditmod6b.c: Likewise.
6037 * elf/tst-auditmod6c.c: Likewise.
6038 * elf/tst-auditmod7b.c: Likewise.
6039
6040 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6041 and x32_gnu_pltexit.
6042
6043 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6044 __ELF_NATIVE_CLASS.
6045 (La_x32_regs): New macro.
6046 (La_x32_retval): Likewise.
6047 (la_x32_gnu_pltenter): New function prototype.
6048 (la_x32_gnu_pltexit): Likewise.
6049
7998fa78
AS
60502012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6051
dcb33988
AS
6052 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6053 exponent.
6054
233fc563
AS
6055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6056
7998fa78
AS
6057 * configure.in (libc_cv_cc_nofma): Check for option to disable
6058 generation of FMA instructions.
6059 * configure: Regenerate.
6060 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6061 * sysdeps/ieee754/dbl-64/Makefile: New file.
6062 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6063 Remove brandred-fma4.
6064 (CFLAGS-brandred-fma4.c): Remove.
6065 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6066 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6067 define.
6068 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6069 define.
6070
8e95c99a
L
60712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6072
6073 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6074 LLONG_MAX != LONG_MAX.
6075 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6076 (_fitoa_word): Likewise.
6077 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6078 LLONG_MAX != LONG_MAX.
6079 * stdio-common/_itowa.h: Include <_itoa.h>.
6080 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6081 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6082 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6083 only if not defined.
6084 (_ITOA_WORD_TYPE): Likewise.
6085 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6086 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6087
6f4db457
DM
60882012-03-21 David S. Miller <davem@davemloft.net>
6089
6090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6091
7785fe5a
L
60922012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6093
6094 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6095 of x86_64 when setting libc_cv_slibdir, libdir and
6096 libc_cv_localedir.
6097 * sysdeps/unix/sysv/linux/configure: Regenerated.
6098
4535cd55
JM
60992012-03-21 Joseph Myers <joseph@codesourcery.com>
6100
6101 * manual/lang.texi (Old Varargs): Remove section.
6102 (How Variadic): Update menu.
6103 (va_start): Do not mention varargs.h.
6104
17228132
TS
61052012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6106 Joseph Myers <joseph@codesourcery.com>
6107
6108 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6109 link test.
6110 * configure: Regenerated.
6111
8149f976
TS
61122012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6113
05f3d1f6
UD
6114 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6115 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6116 conformtest.pl
8149f976 6117
1a4ac776
JM
61182012-03-21 Joseph Myers <joseph@codesourcery.com>
6119
be22ce65
JM
6120 * NOTES: Remove.
6121 * Makefile (files-for-dist): Remove NOTES.
6122 (NOTES): Remove rule.
6123 * README: Don't refer to NOTES.
6124 * manual/creature.texi: Don't include macros.texi.
6125 * manual/intro.texi (creature.texi): Remove comment referring to
6126 NOTES.
6127
40b601fb
JM
6128 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6129 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6130 * configure: Regenerated.
6131 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6132 LIBC_TRY_CC_OPTION.
6133 (libc_cv_as_i686): Likewise.
6134 (libc_cv_cc_avx): Likewise.
6135 (libc_cv_cc_sse2avx): Likewise.
6136 (libc_cv_cc_fma4): Likewise.
6137 (libc_cv_cc_novzeroupper): Likewise.
6138 * sysdeps/i386/configure: Regenerated.
6139
1a4ac776
JM
6140 [BZ #13883]
6141 * sysdeps/i386/fpu/s_cexp.S: Remove.
6142 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6143 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6144 * math/libm-test.inc (cexp_test): Add more tests.
6145 * sysdeps/i386/fpu/libm-test-ulps: Update.
6146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6147
a458e7fe
AM
61482012-03-21 Allan McRae <allan@archlinux.org>
6149
6150 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6151
0cb7efc5
JM
61522012-03-21 Joseph Myers <joseph@codesourcery.com>
6153
6154 [BZ #13871]
6155 * math/w_exp2.c: Do not include <float.h>.
6156 (o_threshold, u_threshold): Remove.
6157 (__exp2): Calculate result before checking finiteness and calling
6158 __kernel_standard.
6159 * math/w_exp2f.c: Likewise.
6160 * math/w_exp2l.c: Likewise.
6161 * math/libm-test.inc (exp2_test): Require overflow exception for
6162 1e6 input.
2460d3aa
JM
6163
6164 [BZ #3866]
6165 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6166 range of signed 64-bit integers before using fistpll. Remove
6167 checks for whether integers fit in mantissa bits.
6168 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6169 the range of signed 32-bit integers before using fistpl. Remove
6170 checks for whether integers fit in mantissa bits.
6171 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6172 (__ieee754_powl): Test for y outside the range of signed 64-bit
6173 integers before using fistpll. Reduce 64-bit values to 63-bit
6174 ones as needed.
6175 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6176 divide-by-zero is raised for zero to large negative powers.
6177 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6178 (__ieee754_powl): Test for y outside the range of signed 64-bit
6179 integers before using fistpll. Reduce 64-bit values to 63-bit
6180 ones as needed.
6181 * math/libm-test.inc (pow_test): Add more tests.
6182
eb96ffb0
L
61832012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6184
6185 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6186 <stdio-common/_itoa.h>.
6187 * debug/segfault.c: Likewise.
6188 * elf/dl-cache.c: Likewise.
6189 * elf/dl-minimal.c: Likewise.
6190 * elf/dl-misc.c: Likewise.
6191 * elf/dl-sysdep.c: Likewise.
6192 * elf/dl-version.c: Likewise.
6193 * elf/rtld.c: Likewise.
6194 * hurd/hurdsock.c: Likewise.
6195 * hurd/lookup-retry.c: Likewise.
6196 * malloc/malloc.c: Likewise.
6197 * malloc/mtrace.c: Likewise.
6198 * nscd/nscd_getgr_r.c: Likewise.
6199 * nscd/nscd_getpw_r.c: Likewise.
6200 * nscd/nscd_getserv_r.c: Likewise.
6201 * posix/getopt_init.c: Likewise.
6202 * posix/wordexp.c: Likewise.
6203 * stdio-common/_itoa.c: Likewise.
6204 * stdio-common/printf_fphex.c: Likewise.
6205 * stdio-common/vfprintf.c: Likewise.
6206 * string/_strerror.c: Likewise.
6207 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6208 * sysdeps/i386/i686/hp-timing.h: Likewise.
6209 * sysdeps/mach/_strerror.c: Likewise.
6210 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6211 * sysdeps/mach/hurd/sethostid.c: Likewise.
6212 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6213 * sysdeps/mach/xpg-strerror.c: Likewise.
6214 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6215 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6216 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6217 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6218 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6219 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6220 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6221 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6222 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6223 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6224 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6225 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6226 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6227 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6228 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6229 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6230 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6231 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6232 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6233 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6234 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6235
6236 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6237
6238 * stdio-common/_itoa.h: Moved to ...
6239 * sysdeps/generic/_itoa.h: Here.
6240
6241 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6242
6243 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6244 instead of "_itoa.h" and "_itowa.h".
6245 * stdio-common/vfprintf.: Likewise.
6246
d1af992d
L
62472012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6248
6249 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6250 <bits/wordsize.h>.
6251 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6252 (__signbit): Likwise.
6253 (llrintf): Likwise.
6254 (llrint): Likwise.
6255
114883e0
L
62562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6257
6258 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6259 __WORDSIZE != 64.
6260
c135cc1b
JM
62612012-03-20 Joseph Myers <joseph@codesourcery.com>
6262
6263 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6264 OVERFLOW_EXCEPTION_OK.
6265 * math/libm-test.inc ("Philosophy"): Update comment about
6266 exception testing.
6267 (OVERFLOW_EXCEPTION): Define.
6268 (OVERFLOW_EXCEPTION_OK): Likewise.
6269 (INVALID_EXCEPTION_OK): Renumber.
6270 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6271 (IGNORE_ZERO_INF_SIGN): Likewise.
6272 (test_exceptions): Handle FE_OVERFLOW.
6273 (exp10_test): Expect overflow exceptions.
6274 (exp2_test): Likewise.
6275 (expm1_test): Likewise.
6276 (nextafter_test): Likewise.
6277 (pow_test): Likewise.
6278 (scalbn_test): Likewise.
6279 (scalbln_test): Likewise.
6280
95443d88
L
62812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6282
6283 * sysdeps/x86_64/bits/atomic.h
6284 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6285 64bit integer.
6286 (atomic_exchange_acq): Likewise.
6287 (__arch_exchange_and_add_body): Likewise.
6288 (__arch_add_body): Likewise.
6289 (atomic_add_negative): Likewise.
6290 (atomic_add_zero): Likewise.
6291
490df6c4
L
62922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6293
c2722551 6294 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6295 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6296
5e52b189
L
62972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6298
6299 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6300 Check __x86_64__ instead of __WORDSIZE.
6301
a9879d4c
L
63022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6303
6304 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6305
5df98260
DM
63062012-03-19 David S. Miller <davem@davemloft.net>
6307
e1497744
DM
6308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6309
5df98260
DM
6310 * sysdeps/sparc/fpu/fenv_private.h: New file.
6311 * sysdeps/sparc/fpu/math_private.h: Use it.
6312 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6313 Remove.
6314 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6315 (libc_feholdexcept_setroundl): Remove.
6316 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6317 Remove.
6318 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6319 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6320
b4c35121
L
63212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6322
6323 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6324 int64_t instead of long int.
6325 (INSERT_WORDS64): Likwise.
6326
56965fd7
L
63272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6328
6329 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6330 _Unwind_GetCFA return to _Unwind_Ptr first.
6331
83d1aec8
JM
63322012-03-19 Joseph Myers <joseph@codesourcery.com>
6333
1897ad44
JM
6334 [BZ #13629]
6335 * math/s_clog.c: Include <float.h>.
6336 (__clog): Scale large or subnormal inputs.
6337 * math/s_clogf.c: Likewise.
6338 * math/s_clogl.c: Likewise.
6339 * math/s_clog10.c: Include <float.h>.
6340 (M_LOG10_2): Define.
6341 (__clog10): Scale large or subnormal inputs.
6342 * math/s_clog10f.c: Likewise.
6343 * math/s_clog10l.c: Likewise.
6344 * math/libm-test.inc (clog_test): Add more tests.
6345 (clog10_test): Likewise.
6346 * sysdeps/i386/fpu/libm-test-ulps: Update.
6347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6348
7726d6a9
JM
6349 [BZ #11451]
6350 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6351 x and y.
6352 * math/libm-test.inc (atan2_test): Add another test.
6353
83d1aec8
JM
6354 * Makerules (common-objdir-compile): Remove.
6355 * sysdeps/unix/Makefile (config-generated): Do not add
6356 $(unix-generated) to variable.
6357 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6358 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6359 Remove rule.
6360 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6361 Likewise.
6362 [generic bits/local_lim.h] (before-compile): Do not append to
6363 variable.
6364 [generic bits/local_lim.h] (common-generated): Likewise.
6365 [generic sys/param.h] (before-compile): Do not append to variable.
6366 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6367 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6368 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6369 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6370 include.
6371 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6372 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6373 [generic sys/param.h] ($(addprefix
6374 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6375 [generic sys/param.h] (common-generated): Do not append to
6376 variable.
6377 [generic sys/param.h] (sysdep_headers): Likewise.
6378 [generic bits/errno.h] (before-compile): Do not append to
6379 variable.
6380 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6381 rule.
6382 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6383 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6384 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6385 [generic bits/errno.h] (common-generated): Do not append to
6386 variable.
6387 [generic bits/ioctls.h] (before-compile): Do not append to
6388 variable.
6389 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6390 rule.
6391 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6392 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6393 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6394 rule.
6395 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6396 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6397 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6398 [generic bits/ioctls.h] (common-generated): Do not append to
6399 variable.
6400 [generic sys/syscall.h] (syscall.h): Remove variable.
6401 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6402 rule.
6403 [generic sys/syscall.h] (before-compile): Do not append to
6404 variable.
6405 [generic sys/syscall.h] (common-generated): Likewise.
6406 * sysdeps/unix/errnos-tmpl.c: Remove file.
6407 * sysdeps/unix/errnos.awk: Likewise.
6408 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6409 * sysdeps/unix/ioctls.awk: Likewise.
6410 * sysdeps/unix/mk-local_lim.c: Likewise.
6411 * sysdeps/unix/snarf-ioctls: Likewise.
6412
4851a949
RH
64132012-03-19 Richard Henderson <rth@twiddle.net>
6414
bd37f2ee
RH
6415 * sysdeps/i386/fpu/fenv_private.h: New file.
6416 * sysdeps/i386/fpu/math_private.h: Use it.
6417 (math_opt_barrier, math_force_eval): Remove.
6418 (libc_feholdexcept_setround_53bit): Remove.
6419 (libc_feupdateenv_53bit): Remove.
6420 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6421 (math_opt_barrier, math_force_eval): Remove.
6422 (libc_feholdexcept): Remove.
6423 (libc_feholdexcept_setround): Remove.
6424 (libc_fetestexcept, libc_fesetenv): Remove.
6425 (libc_feupdateenv_test): Remove.
6426 (libc_feupdateenv, libc_feholdsetround): Remove.
6427 (libc_feresetround): Remove.
6428
d0adc922
RH
6429 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6430 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6431
0fe0f1f8
RH
6432 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6433 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6434 (libc_feupdateenv_testl): New.
6435 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6436 (libc_feupdateenv_testf): New.
6437 (libc_feupdateenv): Use libc_feupdateenv_test.
6438 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6439 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6440
eb92c487
RH
6441 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6442 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6443 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6444 (libc_feresetround_noex): New.
6445 (libc_feresetround_noexf): New.
6446 (libc_feresetround_noexl): New.
6447 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6448 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6449 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6450 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6451 SET_RESTORE_ROUND.
6452 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6453 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6454 (__cos): Likewise.
6455 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6456 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6457 SET_RESTORE_ROUND_NOEX.
6458 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6459 SET_RESTORE_ROUND_NOEXF.
6460 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6461 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6462 (libc_feholdsetroundf): New.
6463 (libc_feresetround, libc_feresetroundf): New.
6464
7d2e8012
RH
6465 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6466 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6467 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6468
b4dabbb4
RH
6469 * sysdeps/generic/math_private.h: Include <fenv.h>.
6470 (default_libc_feholdexcept): New.
6471 (default_libc_feholdexcept_setround): New.
6472 (default_libc_fesetenv, default_libc_feupdateenv): New.
6473 (libc_feholdexcept): Only define if undefined.
6474 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6475 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6476 (libc_feholdexcept_setroundl): Likewise.
6477 (libc_feholdexcept_setround_53bit): Likewise.
6478 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6479 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6480 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6481 (libc_feupdateenv_53bit): Likewise.
6482 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6483 (libc_feholdexcept): Convert from macro to inline function.
6484 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6485 (libc_fesetenv, libc_feupdateenv): Likewise.
6486
4851a949
RH
6487 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6488 not previously defined.
6489 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6490 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6491 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6492 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6493 * sysdeps/ieee754/flt-32/math_private.h: New file.
6494 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6495 math_private.h below SET_FLOAT_WORD.
6496 (__isnan, __isinf_ns, __finite): Remove.
6497 (__isnanf, __isinf_nsf, __finitef): Remove.
6498
e79d442e
AS
64992012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6500
6501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6502
90b80344
DM
65032012-03-17 David S. Miller <davem@davemloft.net>
6504
6505 [BZ #6471]
6506 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6507 for 2.16.
6508
edc21804
DM
65092012-03-16 David S. Miller <davem@davemloft.net>
6510
77e927af
DM
6511 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6512 warnings.
6513
374976dd
DM
6514 [BZ #6471]
6515 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6516 properly.
6517 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6518 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6519 sysdep_routines when subdir is sysvipc.
6520 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6521 __getshmlba helper.
6522
edc21804
DM
6523 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6524
473c3ef3
L
65252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6526
6527 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6528 [__LP64__].
6529
eb0f39b6
L
65302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6531
6532 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6533 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6534 (__lround): Renamed to ...
6535 (__llround): This. Replace long int with long long int.
6536 Define lround functions as aliases of llround functions.
6537 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6538
6b6cd74b
L
65392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6540
6541 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6542 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6543 adresses to uintptr_t. Replace "long int" and "unsigned long
6544 int" with "greg_t" on va_arg.
6545
f1a77b01
L
65462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6547
6548 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6549 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6550
6551 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6552 Move e_machine check before EI_CLASS check. Handle x32
6553 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6554 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6555 SKIP_EM_IA_64 and include
6556 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6557
6558 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6559 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6560 (add_system_dir): New macro.
6561
6562 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6563 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6564
11b90b9f
JM
65652012-03-16 Joseph Myers <joseph@codesourcery.com>
6566
c36e1d23
JM
6567 [BZ #2551]
6568 [BZ #2552]
6569 [BZ #2553]
6570 [BZ #2554]
6571 [BZ #2562]
6572 [BZ #2563]
6573 [BZ #2565]
6574 [BZ #2566]
6575 [BZ #2576]
6576 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6577 (y0): Likewise.
6578 * math/w_j0f.c (j0f): Likewise.
6579 (y0f): Likewise.
6580 * math/w_j0l.c (__j0l): Likewise.
6581 (__y0l): Likewise.
6582 * math/w_j1.c (j1): Likewise.
6583 (y1): Likewise.
6584 * math/w_j1f.c (j1f): Likewise.
6585 (y1f): Likewise.
6586 * math/w_j1l.c (__j1l): Likewise.
6587 (__y1l): Likewise.
6588 * math/w_jn.c (jn): Likewise.
6589 (yn): Likewise.
6590 * math/w_jnf.c (jnf): Likewise.
6591 (ynf): Likewise.
6592 * math/w_jnl.c (__jnl): Likewise.
6593 (__ynl): Likewise.
6594 * math/libm-test.inc (j0_test): Add more tests.
6595 (j1_test): Likewise.
6596 (jn_test): Likewise. Add trailing semicolon to existing test.
6597 (y0_test): Likewise.
6598 (y1_test): Likewise.
6599 * sysdeps/i386/fpu/libm-test-ulps: Update.
6600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6601
11b90b9f
JM
6602 [BZ #13851]
6603 [BZ #13854]
6604 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6605 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6606 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6607 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6608 (__tanl): Set errno for infinite argument.
6609 * sysdeps/i386/fpu/mptan.c: Remove.
6610 * sysdeps/i386/fpu/s_tan.S: Likewise.
6611 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6612 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6613 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6614 * math/libm-test.inc (tan_test): Add more tests and enable more
6615 tests for double and long double.
6616 * sysdeps/i386/fpu/libm-test-ulps: Update.
6617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6618
6a1bd2a1
JK
66192012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6620
6621 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6622 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6623
10a803e0
RM
66242012-03-16 Roland McGrath <roland@hack.frob.com>
6625
6626 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6627 * configure.in: Use it for both main tree and add-ons.
6628 * configure: Regenerated.
6629
f196c7f7
L
66302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6631
6632 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6633
8848d99d
JM
66342012-03-16 Joseph Myers <joseph@codesourcery.com>
6635
96cbe7f4
JM
6636 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6637 in comment.
6638
8848d99d
JM
6639 [BZ #13851]
6640 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6641 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6642 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6643 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6644 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6645 infinite argument.
6646 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6647 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6648 != 0 for prec == 2.
6649 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6650 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6651 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6652 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6653 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6654 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6655 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6656 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6657 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6658 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6659 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6660 * math/libm-test.inc (cos_test): Add more tests and enable more
6661 tests for long double.
6662 (sin_test): Likewise.
6663 (sincos_test): Likewise.
6664 * sysdeps/i386/fpu/libm-test-ulps: Update.
6665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6666
dd7f4703
DM
66672012-03-16 David S. Miller <davem@davemloft.net>
6668
6669 * sysdeps/sparc/fpu/math_private.h: New file.
6670
006f1daa
DM
66712012-03-15 David S. Miller <davem@davemloft.net>
6672
c0c83bc8
DM
6673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6674 file.
e6a62e18 6675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6677 file.
e6a62e18
DM
6678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6683 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6684 sysdep routines.
6685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6686
88cb87d9
DM
6687 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6688 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6689
006f1daa 6690 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6692 sparc-ifunc.h
006f1daa 6693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6695 Likewise.
6696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6697 Likewise.
006f1daa
DM
6698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6702 Likewise.
006f1daa
DM
6703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6708 Likewise.
6709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6710 Likewise.
006f1daa
DM
6711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6717 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6718 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6719 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6720 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6729 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6730 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6731 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6732 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6733 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6734 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6735
11e0098e
AS
67362012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6737
6738 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6739 scaling.
6740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6741
e85b09d0
AJ
67422012-03-15 Andreas Jaeger <aj@suse.de>
6743
6744 [BZ #13852]
6745 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6746 ieee754/flt-32 implementation for sin, cos and sincos.
6747 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6748 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6749 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6750 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6751 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6752 ieee754/flt-32 implementation for tan.
6753
6754 * math/libm-test.inc (cos_test): Enable some large input tests for
6755 float as well
6756 (sin_test): Likewise.
6757 (sincos_test): Likewise.
6758 (tan_test): Add tests for large input.
6759
6760 * sysdeps/i386/fpu/libm-test-ulps: Update.
6761
81c64153
AJ
67622012-03-15 Andreas Jaeger <aj@suse.de>
6763
6764 [BZ #13658]
6765 * math/libm-test.inc (cos_test): Add more test cases.
6766 (sin_test): Likewise.
6767 (sincos_test): Likewise.
6768
7bbfa5c6
AJ
67692012-03-15 Andreas Jaeger <aj@suse.de>
6770
6771 [BZ #13837]
6772 * math/libm-test.inc (cos_test): Add a test case for large input
6773 value.
6774 (sin_test): Likewise.
6775 (sincos_test): Likewise.
6776
67772012-03-15 Andreas Jaeger <aj@suse.de>,
6778 Joseph Myers <joseph@codesourcery.com>
6779
6780 [BZ #13658]
0671f479 6781 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6782 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6783 * sysdeps/i386/fpu/branred.c: Likewise.
6784 * sysdeps/i386/fpu/dosincos.c: Likewise.
6785 * sysdeps/i386/fpu/mpa.c: Likewise.
6786 * sysdeps/i386/fpu/s_cos.S: Likewise.
6787 * sysdeps/i386/fpu/s_sin.S: Likewise.
6788 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6789 * sysdeps/i386/fpu/sincos32.c: Likewise.
6790
6791 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6792 Define.
6793 (libc_feupdateenv_53bit): Define.
6794 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6795 Define.
6796 (libc_feupdateenv_53bit): Define.
6797
6798 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6799 53 bit (without extend i386 double precision).
6800
6801 * math/libm-test.inc (sincos_test): Add tests for large input.
6802 (sin): Likewise.
6803 (cos): Likewise.
6804
6805 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6806
9cad04ea
AS
68072012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6808
6809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6810
f7062b9a
DM
68112012-03-15 David S. Miller <davem@davemloft.net>
6812
6813 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6814 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6815 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6816 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6825 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6829 file.
f7062b9a 6830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6832 file.
f7062b9a 6833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6835 file.
f7062b9a 6836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6838 file.
f7062b9a
DM
6839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6840 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6841 fmin/fmax sysdep routines.
6842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6843
7bd951ff
DM
68442012-03-14 David S. Miller <davem@davemloft.net>
6845
559398ab
DM
6846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6847 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6848 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6849 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6850 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6851 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6852 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6853 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6856 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6866 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6867 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6868 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6869 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6870 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6871 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6872 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6873 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6874 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6875 routines.
6876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6877 file.
559398ab 6878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6880 file.
559398ab 6881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6883 file.
559398ab 6884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6886 file.
559398ab 6887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6889 file.
559398ab 6890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6892 file.
6893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6894 file.
6895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6896 file.
6897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6898 file.
6899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6900 New file.
6901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6902 file.
6903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6904 file.
559398ab 6905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6907 file.
559398ab 6908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6910 file.
559398ab 6911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6913 file.
559398ab 6914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6916 VIS3 routines.
559398ab
DM
6917
6918 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6919 New file.
6920
5a1c1e32
DM
6921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6922
eae47a36
DM
6923 * sysdeps/sparc/configure.in: New file.
6924 * sysdeps/sparc/configure: Generate.
6925 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6926 * configure: Regenerate.
6927 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6928 * config.make.in (have-as-vis3): New.
6929 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6930 available use -Av9d instead of -Av9a.
6931 * sysdeps/sparc/sparc64/Makefile: Likewise.
6932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6934 New file.
6935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6936 file.
6937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6938 New file.
6939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6940 file.
eae47a36
DM
6941 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6942 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6943 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6944 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6945 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6946
c0c83bc8
DM
6947 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6948 fzeros/fnegs to load 0x80000000 into a float register instead of
6949 using the stack.
7bd951ff
DM
6950 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6951
bd951ccb
JM
69522012-03-14 Joseph Myers <joseph@codesourcery.com>
6953
6954 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6955 bits/syscall.h.
6956 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6957 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6958 ($(inst_includedir)/bits/syscall.h): Remove rule.
6959 ($(objpfx)bits/syscall.d): Include instead of
6960 $(objpfx)syscall-list.d.
6961 (generated): Change syscall-list.h and syscall-list.d to
6962 bits/syscall.h and bits/syscall.d.
6963
bb4e6db2
RM
69642012-03-14 Roland McGrath <roland@hack.frob.com>
6965
6966 [BZ #13846]
6967 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6968
aa4a2ae1
JM
69692012-03-14 Joseph Myers <joseph@codesourcery.com>
6970
e456826d
JM
6971 [BZ #13841]
6972 * math/s_csqrt.c: Include <float.h>.
6973 (__csqrt): Scale large or subnormal inputs.
6974 * math/s_csqrtf.c: Likewise.
6975 * math/s_csqrtl.c: Likewise.
6976 * math/libm-test.inc (csqrt_test): Add more tests.
6977 * sysdeps/i386/fpu/libm-test-ulps: Update.
6978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6979
aa4a2ae1
JM
6980 [BZ #13840]
6981 * math/libm-test.inc (hypot_test): Add more tests.
6982
7c10fd35
DM
69832012-03-13 David S. Miller <davem@davemloft.net>
6984
6985 [BZ #13840]
6986 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6987 double-precision for the calculation instead of scaling.
6988
f453b98b
JM
69892012-03-13 Joseph Myers <joseph@codesourcery.com>
6990
6991 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6992 manipulate bits before adding and subtracting TWO52[sx].
6993 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6994 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6995 Likewise.
6996 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6997
09a3453f
DM
69982012-03-13 David S. Miller <davem@davemloft.net>
6999
8e59da90
DM
7000 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7001 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7002 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7003 rtld-global-offsets.h
7004 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7005
2a8ab7f2
DM
7006 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7007 large parameters.
7008
10f62770
DM
7009 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7010
5f0bdb18
DM
7011 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7012 'err' in the ifdef scope in which it is actually used.
7013
09a3453f
DM
7014 * nss/nss_db/db-init.c: Include string.h
7015
b4b2eb5e
DM
70162012-03-12 David S. Miller <davem@davemloft.net>
7017
98bb2f1c
DM
7018 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7019 masking out of the most significant byte of random value used.
7020 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7021 Fix coding style in previous change.
7022
b4b2eb5e
DM
7023 * sysdeps/unix/sysv/linux/kernel-features.h
7024 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7025 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7026 expression.
7027 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7028 later.
7029
6e226b09
DM
70302012-03-11 David S. Miller <davem@davemloft.net>
7031
a1bcbd40
DM
7032 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7033 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7034 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7035 for 'resultvar' otherwise things get truncated on 64-bit.
7036
cb9d6174
DM
7037 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7038 Fix masking out of the most significant byte of random value used.
7039
6e226b09
DM
7040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7041
058c132d
AS
70422012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7043
7044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7045
2d2cd515
DM
70462012-03-09 David S. Miller <davem@davemloft.net>
7047
7048 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7049 variables with appropriate CPP guards.
7050 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7051 frame pointer, not the stack pointer. Correct layout comments. Fix test
7052 on resulting framesize and the management of the outregs buffer for pltexit.
7053 Preserve floating point return values across _dl_call_pltexit call.
7054 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7055 framesize and the management of the outregs buffer for pltexit.
7056 Preserve floating point return values across _dl_call_pltexit
7057 call.
7058 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7059 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7060 (print_exit): Fix format string for return register value.
7061
9a07f9d0
JM
70622012-03-10 Joseph Myers <joseph@codesourcery.com>
7063
7064 * sunrpc/Makefile (others): Add rpcgen.
7065 ($(objpfx)rpcgen): Remove special build rule and dependency on
7066 libc.
7067 * sunrpc/rpcgen.c: New file.
7068
547b5e30
PE
70692012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7070
c524201a
PE
7071 [BZ #13673]
7072 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7073 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7074 * sysdeps/i386/crti.S: Likewise.
7075 * sysdeps/i386/crtn.S: Likewise.
7076 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7077 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7078 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7079 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7080 * sysdeps/sh/crti.S: Likewise.
7081 * sysdeps/sh/crtn.S: Likewise.
7082 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7083
7b6235f2
PE
7084 [BZ #13673]
7085 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7086 with URL.
7087 * locale/programs/locfile-kw.gperf: Likewise.
7088 * locale/programs/charmap-kw.h: Regenerated.
7089 * locale/programs/locfile-kw.h: Likewise.
7090
547b5e30
PE
7091 [BZ #13673]
7092 * intl/plural.y: Replace FSF snail mail address with URL.
7093 * intl/plural.c: Regenerated.
7094
5f0a5dae
RH
70952012-03-09 Richard Henderson <rth@twiddle.net>
7096
7097 * include/math_private.h: Remove file.
7098 * math/math_private.h: Move file ...
7099 * sysdeps/generic/math_private.h: ... here.
7100
b8c03620
RH
7101 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7102 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7103 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7104
4e234f5d 7105 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
7106 and <math_private.h>.
7107 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7108 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7109 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7110 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7111 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7112 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7113 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7114 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7115 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7116 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7117 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7118 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7119 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7120 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7121 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7122 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7123 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7124 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7125 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7126 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7127 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7128 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7129 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7130 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7131 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7132 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7133 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7134 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7135 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7136 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7137 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7138 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7139 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7140 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7141 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7142 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7143 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7144 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7145 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7146 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7147 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7148 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7149 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7150 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7151 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7152 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7153 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7154 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7155 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7156 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7157 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7158 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7159 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7160 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7161 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7162 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7163 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7164 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7165 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7166 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7167 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7168 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7169 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7170 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7171 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7172 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7173 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7174 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7175 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7176 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7177 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7178 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7179 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7180 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7181 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7182 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7183 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7184 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7185 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7186 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7187 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7188 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7189 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7190 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7191 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7192 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7193 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7194 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7195 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7196 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7197 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7198 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7199 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7200 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7201 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7202 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7203 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7204 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7205 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7206 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7207 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7208 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7209 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7210 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7211 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7212 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7213 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7214 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7215 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7216 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7217 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7218 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7219 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7220 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7221 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7222 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7223 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7224 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7225 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7226 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7227 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7228 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7229 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7230 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7231 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7232 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7233 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7234 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7235 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7236 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7237 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7238 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7239 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7240 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7241 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7242 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7243 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7244 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7245 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7246 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7247 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7248 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7249 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7250 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7251 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7252 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7253 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7254 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7255 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7256 * sysdeps/ieee754/k_standard.c: Likewise.
7257 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7258 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7259 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7260 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7261 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7262 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7263 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7264 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7265 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7266 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7267 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7268 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7269 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7270 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7271 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7272 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7274 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7275 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7276 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7277 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7278 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7279 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7280 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7281 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7282 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7283 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7284 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7285 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7286 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7287 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7288 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7289 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7290 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7291 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7292 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7293 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7294 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7295 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7296 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7297 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7298 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7299 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7300 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7301 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7302 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7303 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7304 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7305 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7306 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7307 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7308 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7309 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7310 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7311 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7312 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7313 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7314 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7315 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7316 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7317 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7318 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7319 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7320 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7321 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7322 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7323 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7324 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7325 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7326 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7327 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7328 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7329 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7330 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7331 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7332 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7333 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7334 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7335 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7336 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7337 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7338 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7339 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7340 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7341 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7342 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7343 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7344 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7345 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7346 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7347 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7348 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7349 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7350 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7351 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7352 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7353 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7354 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7355 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7356 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7357 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7358 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7359 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7360 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7361 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7362 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7363 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7364 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7365 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7366 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7367 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7368 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7369 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7370 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7371 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7372 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7373 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7374 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7375 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7376 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7377 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7378 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7379 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7380 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7381 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7382 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7383 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7384 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7385 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7386 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7387 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7388 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7389 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7390 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7391 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7392 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7393 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7394 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7395 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7396 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7397 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7398 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7399 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7400 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7401 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7402 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7403 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7404 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7405 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7406 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7407 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7408 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7409 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7410 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7411 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7412 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7413 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7414 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7415 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7416 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7417 * sysdeps/ieee754/s_lib_version.c: Likewise.
7418 * sysdeps/ieee754/s_matherr.c: Likewise.
7419 * sysdeps/ieee754/s_signgam.c: Likewise.
7420 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7421 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7422 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7423 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7424 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7425 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7426 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7427 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7428 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7429 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7430 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7431 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7432 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7433 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7434 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7435 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7436 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7437 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7438 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7439 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7440 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7441
1991fa03
JM
74422012-03-09 Joseph Myers <joseph@codesourcery.com>
7443
7444 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7445 * sunrpc/rpc_main.c: Likewise.
7446 * sunrpc/rpc_svcout.c: Likewise.
7447
60d6f5a6
DM
74482012-03-09 David S. Miller <davem@davemloft.net>
7449
7450 * include/math_private.h: New file.
7451
4962050e
JM
74522012-03-09 Joseph Myers <joseph@codesourcery.com>
7453
02a6f887
JM
7454 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7455 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7456 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7457 from <bits/socket_type.h>.
7458 (enum __socket_type): Don't define here.
7459 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7460 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7461 bits/socket_type.h.
7462
c6e013c1
JM
7463 [BZ #13566]
7464 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7465 checking __USE_GNU.
7466
4962050e
JM
7467 * Makerules ($(inst_includedir)/%.h): New rule.
7468 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7469 (install-others): Remove variable setting.
7470 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7471
38842f45
RH
74722012-03-08 Richard Henderson <rth@twiddle.net>
7473
67bb6da6
RH
7474 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7475 from macro to inline function; merge with the
7476 !__LIBC_INTERNAL_MATH_INLINES version.
7477 (__ieee754_sqrtf): Likewise.
7478
15194b4b
RH
7479 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7480 to inline function.
7481 (__rintf, __floor, __floorf): Likewise.
7482
64e21ede
RH
7483 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7484 macro to inline function.
7485 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7486
38842f45
RH
7487 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7488 not <math/math_private.h>.
7489
c64bf5fe
DM
74902012-03-08 David S. Miller <davem@davemloft.net>
7491
7492 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7493 copyright year.
7494 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7495
82d86f28
TS
74962012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7497
7498 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7499 normalization.
7500 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7501 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7502
aea5d727
UD
75032012-03-08 Ulrich Drepper <drepper@gmail.com>
7504
7505 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7506 be defined individually, they must be defined as a block. Define
7507 S for printing a string instead of hidint the different by using a
7508 macro for adding the 'l'.
7509 * stdio-common/tst-fphex-wide.c: Adjust.
7510
70bca0a3
MP
75112012-03-07 Marek Polacek <polacek@redhat.com>
7512
7513 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7514
65b81130
MP
75152012-03-08 Marek Polacek <polacek@redhat.com>
7516
7517 [BZ #13806]
7518 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7519 * stdio-common/tst-fphex.c: Define a few macros to make the
7520 test reusable. Use them.
7521 * stdio-common/tst-fphex-wide.c: New file.
7522
07037eeb
JM
75232012-03-08 Joseph Myers <joseph@codesourcery.com>
7524
a7a93d50
JM
7525 [BZ #6911]
7526 * manual/macros.texi (gnusystems): New macro.
7527 (nongnusystems): Likewise.
7528 (gnulinuxhurdsystems): Likewise.
7529 (gnuhurdsystems): Likewise..
7530 (gnulinuxsystems): Likewise.
7531 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7532 variants of the GNU system, not "GNU system".
7533 * manual/conf.texi: Likewise.
7534 * manual/errno.texi: Likewise. Update example of errno macro
7535 expansion.
7536 * manual/filesys.texi: Likewise.
7537 (getumask): Document as specific to GNU/Hurd.
7538 * manual/install.texi: Likewise. Reword some references to
7539 GNU/Linux.
7540 * manual/intro.texi: Likewise.
7541 * manual/io.texi: Likewise.
7542 (File Name Portability): Detail which constraints are inapplicable
7543 to all GNU systems and which are only inapplicable to GNU/Hurd.
7544 * manual/job.texi: Likewise.
7545 * manual/llio.texi: Likewise.
7546 (O_NOCTTY): Document as present on GNU/Linux.
7547 * manual/maint.texi: Likewise.
7548 * manual/memory.texi: Likewise.
7549 * manual/pattern.texi: Likewise.
7550 * manual/pipe.texi: Likewise.
7551 * manual/process.texi: Likewise.
7552 * manual/resource.texi: Likewise.
7553 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7554 child on GNU/Hurd.
7555 * manual/setjmp.texi: Likewise.
7556 * manual/signal.texi: Likewise.
7557 * manual/startup.texi: Likewise.
7558 * manual/stdio.texi: Likewise.
7559 * manual/terminal.texi: Likewise.
7560 (ONLCR): Document as POSIX.
7561 (OXTABS): Document availability on GNU/Linux as XTABS.
7562 (ONOEOT): Document availability separately from other bits.
7563 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7564 * manual/time.texi: Likewise.
7565 * manual/users.texi: Likewise.
7566 * INSTALL: Regenerated.
7567 * sysdeps/gnu/errlist.c: Regenerated.
7568
07037eeb
JM
7569 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7570 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7571 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7572 puts.
7573 * configure: Regenerated.
7574
d1d3431a
JM
75752012-03-07 Joseph Myers <joseph@codesourcery.com>
7576
af6a1e37
JM
7577 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7578 default includes instead of AC_HEADER_CHECK.
7579 * sysdeps/i386/configure: Regenerated.
7580
d1d3431a
JM
7581 [BZ #10716]
7582 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7583 * math/s_cacoshf.c (__cacoshf): Likewise.
7584 * math/s_cacoshl.c (__cacoshl): Likewise.
7585 * math/s_casinh.c (__casinh): Set signs of result from argument.
7586 * math/s_casinhf.c (__casinhf): Likewise.
7587 * math/s_casinhl.c (__casinhl): Likewise.
7588 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7589 (casinh_test): Add more tests.
7590 * sysdeps/i386/fpu/libm-test-ulps: Update.
7591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7592
482ff4da
UD
75932012-03-07 Ulrich Drepper <drepper@gmail.com>
7594
872fda05
UD
7595 * po/zh_TW.po: Update from translation team.
7596
a4300c7a
UD
7597 * login/Makefile (distribute): Remove variable.
7598 * catgets/Makefile: Likewise.
7599 * mach/Makefile: Likewise.
7600 * malloc/Makefile: Likewise.
7601 * misc/Makefile: Likewise.
7602 * iconv/Makefile: Likewise.
7603 * nscd/Makefile: Likewise.
7604 * hurd/Makefile: Likewise.
7605 * manual/Makefile: Likewise.
7606 * locale/Makefile: Likewise.
7607 * intl/Makefile: Likewise.
7608 * conform/Makefile: Likewise.
7609 * nss/Makefile: Likewise.
7610 * time/Makefile: Likewise.
7611 * soft-fp/Makefile: Likewise.
7612 * dirent/Makefile: Likewise.
7613 * gmon/Makefile: Likewise.
7614 * po/Makefile: Likewise.
7615 * rt/Makefile: Likewise.
7616 * socket/Makefile: Likewise.
7617 * math/Makefile: Likewise.
7618 * signal/Makefile: Likewise.
7619 * debug/Makefile: Likewise.
7620 * elf/Makefile: Likewise.
7621 * timezone/Makefile: Likewise.
7622 * stdlib/Makefile: Likewise.
7623 * iconvdata/Makefile: Likewise.
7624 * sunrpc/Makefile: Likewise.
7625 * io/Makefile: Likewise.
7626 * argp/Makefile: Likewise.
7627 * inet/Makefile: Likewise.
7628 * hesiod/Makefile: Likewise.
7629 * grp/Makefile: Likewise.
7630 * csu/Makefile: Likewise.
7631 * wctype/Makefile: Likewise.
7632 * crypt/Makefile: Likewise.
7633 * libio/Makefile: Likewise.
7634 * string/Makefile: Likewise.
7635 * nis/Makefile: Likewise.
7636 * resolv/Makefile: Likewise.
7637 * stdio-common/Makefile: Likewise.
7638 * wcsmbs/Makefile: Likewise.
7639 * dlfcn/Makefile: Likewise.
7640 * posix/Makefile: Likewise.
7641
3b7c4e74 7642 [BZ #6959]
482ff4da
UD
7643 * timezone/Makefile: Don't install timezone files, just the programs
7644 and scripts.
7645
f72ed77d
UD
76462012-03-06 Ulrich Drepper <drepper@gmail.com>
7647
a000466f
UD
7648 * nss/databases.def: Add missing gshadow entry.
7649
f72ed77d
UD
7650 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7651
a53b7a4e
MP
76522012-03-06 Marek Polacek <polacek@redhat.com>
7653
7654 [BZ #13726]
7655 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7656 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7657 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7658 * stdio-common/tst-long-dbl-fphex.c: New file.
7659
e9258400
DM
76602012-03-06 David S. Miller <davem@davemloft.net>
7661
7662 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7663 (set_obp_int): New function.
7664 (get_obp_int): New function.
7665 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7666 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7667 Avoid unused variable warnings on 'val' and use builtin_expect.
7668 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7669 __builtin_expect.
e9258400
DM
7670 (INLINE_CLONE_SYSCALL): Likewise.
7671
3bd2c723
DM
76722012-03-05 David S. Miller <davem@davemloft.net>
7673
7674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7675
bbb78d03
AS
76762012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7677
884c5db4
AS
7678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7679
bbb78d03
AS
7680 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7681 only for |x| >= 40.
7682 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7683
1c9f702a 76842012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7685
7686 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7687 Replace gettimeofday with __vdso_gettimeofday.
7688
7be16f82
RM
7689 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7690 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7691 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7692
7693 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7694 time with __vdso_time.
7695
ed58a00f
JM
76962012-03-05 Joseph Myers <joseph@codesourcery.com>
7697
7698 * manual/lang.texi (size_t): Note types to which size_t may be
7699 equivalent with the GNU C Library, but do not describe when
7700 differences between them are significant.
7701
30ee4ced
AJ
77022012-03-05 Andreas Jaeger <aj@suse.de>
7703
7704 * sysdeps/i386/fpu/libm-test-ulps: Update.
7705
b7cd39e8
JM
77062012-03-05 Joseph Myers <joseph@codesourcery.com>
7707
7708 [BZ #3976]
7709 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7710 (__ieee754_pow): Save and restore rounding mode and use
7711 round-to-nearest for main computations.
7712 * math/libm-test.inc (pow_test_tonearest): New function.
7713 (pow_test_towardzero): Likewise.
7714 (pow_test_downward): Likewise.
7715 (pow_test_upward): Likewise.
7716 (main): Call the new functions.
7717 * sysdeps/i386/fpu/libm-test-ulps: Update.
7718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7719
7720 [BZ #3976]
7721 * math/libm-test.inc (cosh_test_tonearest): New function.
7722 (cosh_test_towardzero): Likewise.
7723 (cosh_test_downward): Likewise.
7724 (cosh_test_upward): Likewise.
7725 (sinh_test_tonearest): Likewise.
7726 (sinh_test_towardzero): Likewise.
7727 (sinh_test_downward): Likewise.
7728 (sinh_test_upward): Likewise.
7729 (main): Call the new functions.
7730 * sysdeps/i386/fpu/libm-test-ulps: Update.
7731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7732
6c6a98c9
TV
77332012-03-05 Tom de Vries <tom@codesourcery.com>
7734
7735 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7736 default stack guard is set in last bytes.
7737 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7738
21bb2d2e 77392012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7740
21bb2d2e 7741 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7742
21bb2d2e
AJ
7743 [BZ #13656]
7744 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7745 possibly allocate from heap instead of stack.
7746 * stdio-common/bug-vfprintf-nargs.c: New file.
7747 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7748
c6922934
AS
77492012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7750
7751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7752
bc957d53
MP
77532012-03-03 Marek Polacek <polacek@redhat.com>
7754
7755 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7756 * math/math_private.h: Likewise.
7757 * stdlib/tst-strtod.c: Likewise.
7758 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7759 * sysdeps/x86_64/bits/atomic.h: Likewise.
7760
6358490d
DM
77612012-03-02 David S. Miller <davem@davemloft.net>
7762
7763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7767 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7768 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7769 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7770 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7771
01ae168d
RM
77722012-03-02 Roland McGrath <roland@hack.frob.com>
7773
d9a17c07
RM
7774 [BZ #13792]
7775 * manual/examples/README: New file, says the example source files
7776 can be used under GPL>=2.
7777 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7778 line containing just "*/".
7779 * manual/examples/add.c: Add copyright header (GPL>=2).
7780 * manual/examples/argp-ex1.c: Likewise.
7781 * manual/examples/argp-ex2.c: Likewise.
7782 * manual/examples/argp-ex3.c: Likewise.
7783 * manual/examples/argp-ex4.c: Likewise.
7784 * manual/examples/atexit.c: Likewise.
7785 * manual/examples/db.c: Likewise.
7786 * manual/examples/dir.c: Likewise.
7787 * manual/examples/dir2.c: Likewise.
7788 * manual/examples/execinfo.c: Likewise.
7789 * manual/examples/filecli.c: Likewise.
7790 * manual/examples/filesrv.c: Likewise.
7791 * manual/examples/fmtmsgexpl.c: Likewise.
7792 * manual/examples/genpass.c: Likewise.
7793 * manual/examples/inetcli.c: Likewise.
7794 * manual/examples/inetsrv.c: Likewise.
7795 * manual/examples/isockad.c: Likewise.
7796 * manual/examples/longopt.c: Likewise.
7797 * manual/examples/memopen.c: Likewise.
7798 * manual/examples/memstrm.c: Likewise.
7799 * manual/examples/mkfsock.c: Likewise.
7800 * manual/examples/mkisock.c: Likewise.
7801 * manual/examples/mygetpass.c: Likewise.
7802 * manual/examples/pipe.c: Likewise.
7803 * manual/examples/popen.c: Likewise.
7804 * manual/examples/rprintf.c: Likewise.
7805 * manual/examples/search.c: Likewise.
7806 * manual/examples/select.c: Likewise.
7807 * manual/examples/setjmp.c: Likewise.
7808 * manual/examples/sigh1.c: Likewise.
7809 * manual/examples/sigusr.c: Likewise.
7810 * manual/examples/stpcpy.c: Likewise.
7811 * manual/examples/strdupa.c: Likewise.
7812 * manual/examples/strftim.c: Likewise.
7813 * manual/examples/strncat.c: Likewise.
7814 * manual/examples/subopt.c: Likewise.
7815 * manual/examples/swapcontext.c: Likewise.
7816 * manual/examples/termios.c: Likewise.
7817 * manual/examples/testopt.c: Likewise.
7818 * manual/examples/testpass.c: Likewise.
7819 * manual/examples/timeval_subtract.c: Likewise.
7820
01ae168d
RM
7821 [BZ #13792]
7822 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7823 function to ...
7824 * manual/timeval_subtract.c.texi: ... here, new file.
7825
49efa33d
DM
78262012-03-02 David S. Miller <davem@davemloft.net>
7827
7828 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7829
28afd92d
JM
78302012-03-02 Joseph Myers <joseph@codesourcery.com>
7831
804360ed
JM
7832 [BZ #3976]
7833 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7834 (__sin): Save and restore rounding mode and use round-to-nearest
7835 for all computations.
7836 (__cos): Save and restore rounding mode and use round-to-nearest
7837 for all computations.
7838 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7839 <fenv.h>.
7840 (tan): Save and restore rounding mode and use round-to-nearest for
7841 all computations.
7842 * math/libm-test.inc (cos_test_tonearest): New function.
7843 (cos_test_towardzero): Likewise.
7844 (cos_test_downward): Likewise.
7845 (cos_test_upward): Likewise.
7846 (sin_test_tonearest): Likewise.
7847 (sin_test_towardzero): Likewise.
7848 (sin_test_downward): Likewise.
7849 (sin_test_upward): Likewise.
7850 (tan_test_tonearest): Likewise.
7851 (tan_test_towardzero): Likewise.
7852 (tan_test_downward): Likewise.
7853 (tan_test_upward): Likewise.
7854 (main): Call the new functions.
7855 * sysdeps/i386/fpu/libm-test-ulps: Update.
7856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7857
a6d06d7b
JM
7858 [BZ #10135]
7859 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7860 small n, then large n, before computing and testing k+n.
7861 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7862 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7863 Likewise.
7864 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7865 Likewise.
7866 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7867 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7868 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7869 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7870 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7871 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7872 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7873 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7874 * math/libm-test.inc (scalbn_test): Add more tests.
7875 (scalbln_test): Likewise.
7876
07e12bb3
JM
7877 * manual/filesys.texi (mode_t): Describe constraints on size and
7878 signedness, not exact equivalence to a particular type.
7879 (ino_t): Likewise.
7880 (ino64_t): Likewise.
7881 (dev_t): Likewise.
7882 (nlink_t): Likewise.
7883 (blkcnt_t): Likewise.
7884 (blkcnt64_t): Likewise.
7885 * manual/llio.texi (off_t): Likewise.
7886
28afd92d
JM
7887 [BZ #3976]
7888 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7889 (__ieee754_exp): Save and restore rounding mode and use
7890 round-to-nearest for all computations.
7891 * math/libm-test.inc (exp_test_tonearest): New function.
7892 (exp_test_towardzero): Likewise.
7893 (exp_test_downward): Likewise.
7894 (exp_test_upward): Likewise.
7895 (main): Call the new functions.
7896 * sysdeps/i386/fpu/libm-test-ulps: Update.
7897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7898
b1eeb65d
CD
78992012-03-01 Chris Demetriou <cgd@google.com>
7900
7901 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7902 have predictable order.
7903
53362a4b
DM
79042012-03-01 David S. Miller <davem@davemloft.net>
7905
3c969083
DM
7906 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7907
759707de
DM
7908 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7909 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7910 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7911 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7912
dfdb8ff2
DM
7913 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7914 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7915 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7917 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7918 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7919 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7920 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7921 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7922
ead89f96
DM
7923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7924
7f66bd07
DM
7925 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7926 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7927 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7928
53362a4b
DM
7929 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7930 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7931 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7932 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7933 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7934 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7935 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7936 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7937 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7938 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7939 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7940 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7941 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7942 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7943 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7944 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7945 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7946 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7947 * sysdeps/sparc/elf/configure: Regenerated.
7948
7b1902cb
JM
79492012-03-01 Joseph Myers <joseph@codesourcery.com>
7950
bec039bc
JM
7951 * configure.in (AS, LD): Require binutils 2.20 or later.
7952 * configure: Regenerated.
7953 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7954 as required minimum version.
7955 * INSTALL: Regenerated.
7956
7b1902cb
JM
7957 [BZ #2541]
7958 [BZ #4108]
7959 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7960 before squaring exponent.
7961 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7962 bottom long double and 27 bits of top long double before squaring
7963 exponent.
7964 * math/libm-test.inc (erfc_test): Add more tests.
7965 * sysdeps/i386/fpu/libm-test-ulps: Update.
7966 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7968
f775c276
KT
79692012-03-01 Kai Tietz <ktietz@redhat.com>
7970
7971 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7972 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7973 containing bit-fields.
7974 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7975 * soft-fp/single.h (_FP_UNION_S): Likewise.
7976 * soft-fp/double.h (_FP_UNION_D): Likewise.
7977
5b8a4d4a
JM
79782012-02-29 Joseph Myers <joseph@codesourcery.com>
7979
0bab47b6
JM
7980 [BZ #13786]
7981 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7982 not include ../strcmp.S.
7983 [USE_AS_STRNCASECMP_L]: Likewise.
7984 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7985 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7986 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7987 (__strncasecmp_l_ia32): Define as alias to
7988 __strncasecmp_l_nonascii.
7989
0fcad3e2
JM
7990 [BZ #5794]
7991 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7992 * sysdeps/i386/fpu/libm-test-ulps: Update.
7993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7994
5b8a4d4a
JM
7995 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7997
8fdceb2e
JL
79982012-02-29 Jeff Law <law@redhat.com>
7999
8000 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8001 out of bounds read.
8002
1f393a11
MP
80032012-02-29 Marek Polacek <polacek@redhat.com>
8004
8005 [BZ #13706]
8006 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8007 * elf/Makefile: Add rules to run tst-unused-dep.out.
8008
8847f037
DM
80092012-02-28 David S. Miller <davem@davemloft.net>
8010
8011 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8012 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8013 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8014 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8015 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8016 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8017
169d7f11
JM
80182012-02-29 Joseph Myers <joseph@codesourcery.com>
8019
8020 * math/libm-test.inc (llround_test): Move one test from
8021 lround_test. Use TEST_f_L in moved test.
8022 (lround_test): Move misplaced test to llround_test. Add testcase
8023 from bug 2561.
8024
39adf059
UD
80252012-02-28 Ulrich Drepper <drepper@gmail.com>
8026
8027 * sysdeps/x86_64/fpu/e_expf.S: New file.
8028 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8029
71b5d1c5
SB
80302012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8031
8032 [BZ #13637]
8033 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8034 of remain_len that may cause incomplete multi-byte character and
8035 false match.
8036 * posix/bug-regex33.c: New file.
8037 * posix/Makefile (tests): Add bug-regex33.
8038
1f77f049
JM
80392012-02-28 Joseph Myers <joseph@codesourcery.com>
8040
8041 * manual/macros.texi: New file.
8042 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8043 * manual/libc.texinfo: Include macros.texi.
8044 * manual/creatute.texi: Likewise.
8045 * manual/install.texi: Likewise.
8046 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8047 @glibcadj{} in references to the GNU C Library.
8048 * manual/charset.texi: Likewise.
8049 * manual/conf.texi: Likewise.
8050 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8051 when not using those macros.
8052 * manual/creature.texi: Likewise.
8053 * manual/crypt.texi: Likewise.
8054 * manual/errno.texi: Likewise.
8055 * manual/filesys.texi: Likewise.
8056 * manual/header.texi: Likewise.
8057 * manual/install.texi: Likewise.
8058 * manual/intro.texi: Likewise.
8059 * manual/io.texi: Likewise.
8060 * manual/job.texi: Likewise.
8061 * manual/lang.texi: Likewise.
8062 * manual/libc.texiinfo: Likewise.
8063 * manual/llio.texi: Likewise.
8064 * manual/locale.texi: Likewise.
8065 * manual/maint.texi: Likewise.
8066 * manual/math.texi: Likewise.
8067 * manual/memory.texi: Likewise.
8068 * manual/message.texi: Likewise.
8069 * manual/nss.texi: Likewise.
8070 * manual/pattern.texi: Likewise.
8071 * manual/process.texi: Likewise.
8072 * manual/resource.texi: Likewise.
8073 * manual/search.texi: Likewise.
8074 * manual/setjmp.texi: Likewise.
8075 * manual/signal.texi: Likewise.
8076 * manual/socket.texi: Likewise.
8077 * manual/startup.texi: Likewise.
8078 * manual/stdio.texi: Likewise.
8079 * manual/string.texi: Likewise.
8080 * manual/sysinfo.texi: Likewise.
8081 * manual/syslog.texi: Likewise.
8082 * manual/terminal.texi: Likewise.
8083 * manual/time.texi: Likewise.
8084 * manual/users.texi: Likewise.
8085 * INSTALL: Regenerated.
8086 * NOTES: Regenerated.
d40c5d54 8087 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 8088
450bf206
AS
80892012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8090
8091 * include/dirent.h: Include <dirstream.h> before
8092 <dirent/dirent.h>.
8093
741a235b
DM
80942012-02-28 David S. Miller <davem@davemloft.net>
8095
8096 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8097 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8098 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8099 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8100
d6b5aa58
DM
81012012-02-27 David S. Miller <davem@davemloft.net>
8102
1aff59a3
DM
8103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8105 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8106 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8107
d6b5aa58
DM
8108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8109 frame pointer instead of stack pointer relative arg slot.
8110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8111 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8112 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8113
433f48bf
CD
81142012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8115
8116 [BZ #3992]
8117 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8118
d674b76d
DM
81192012-02-27 David S. Miller <davem@davemloft.net>
8120
8121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8125 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8126 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8127 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8128 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8129
0e7727f7
JM
81302012-02-27 Joseph Myers <joseph@codesourcery.com>
8131
8132 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8133 later. Allow versions 5-9.
43be4ca2 8134 * configure: Regenerated.
0e7727f7
JM
8135 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8136 required minimum version and 4.6 as recommended version. Do not
8137 mention bugs in GCC 2.7 and 2.8.
43be4ca2 8138 * INSTALL: Regenerated.
0e7727f7 8139
a78bc654
DM
81402012-02-27 David S. Miller <davem@davemloft.net>
8141
428d5830
DM
8142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8146 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8147 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8148 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8149 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8150
a78bc654
DM
8151 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8152 manipulate bits before adding and subtracting TWO112[sx].
8153 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8154
4579f81c
RM
81552012-02-27 Roland McGrath <roland@hack.frob.com>
8156
36c8acb4
RM
8157 [BZ #13775]
8158 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8159 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8160 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8161 being in POSIX, because they are in 1003.1-2008.
8162
84ad622b
RM
8163 * rt/tst-aio.c: Include <fcntl.h>.
8164 * rt/tst-aio7.c: Likewise.
8165 * rt/tst-aio64.c: Likewise.
8166
4579f81c
RM
8167 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8168
abd923db
JM
81692012-02-27 Joseph Myers <joseph@codesourcery.com>
8170
8171 * manual/install.texi (--with-headers): Describe headers as
8172 interface headers, not private headers.
8173 (Specific advice for GNU/Linux systems): Describe use of headers
8174 from "make headers_install", not private headers from older
8175 kernels.
43be4ca2 8176 * INSTALL: Regenerated.
abd923db
JM
8177 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8178 Change to 2.6.19.
8179 * sysdeps/unix/sysv/linux/configure: Regenerated.
8180
6664049b
JM
8181 * manual/llio.texi (fclean): Remove documentation.
8182
bb8b6697
JM
8183 * manual/Makefile (libc-texi-generated): New variable. Include
8184 version.texi.
8185 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8186 $(libc-texi-generated), not duplicated list of files.
8187 (version.texi, stamp-version): New rules.
8188 (realclean): Remove $(libc-texi-generated), not individual files
8189 from that list. Do not remove dir-add.texinfo.
8190 * manual/libc.texinfo: Comment out uses of edition numbers and
8191 references to printed manual. Remove last-updated dates.
8192 (EDITION): Comment out.
8193 (ISBN): Likewise.
8194 (VERSION, UPDATED): Remove.
8195 (version.texi): Include.
8196
12e5c3b9
AS
81972012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8198
8199 * sysdeps/posix/spawni.c: Include <signal.h>.
8200 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8201 * sysdeps/pthread/aio_fsync.c: Likewise.
8202
4efeffc1 82032012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8204
ba63ba08
UD
8205 * conform/Makefile (tests): Run only when not cross-compiling and
8206 when fast-check is not defined.
8207
d94a4670
UD
8208 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8209 * conform/data/limits.h-data: Fixes for POSIX2008.
8210 * conform/run-conformtest.sh: Run all tests.
8211 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8212 headers.
8213 * include/bits/dlfcn.h: Likewise.
8214 * include/langinfo.h: Likewise.
8215 * include/monetary.h: Likewise.
8216 * include/sys/poll.h: Likewise.
8217
8218 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8219 for __USE_GNU.
8220 * posix/spawn.h: Define __need_sigset_t.
8221 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8222 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8223 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8224 to get sigevent_t only.
8225 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8226 only for __USE_GNU.
8227 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8228 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8229 process_vm_writev only for __USE_GNU.
8230 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8231
8232 * conform/Makefile: For now ignore errors from run-conformtest.
8233 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8234 POSIX to avoid namespace pollution. Don't prepend headers.
8235 * conform/data/aio.h-data: Fixes for POSIX testing.
8236 * conform/data/fcntl.h-data: Likewise.
8237 * conform/data/glob.h-data: Likewise.
8238 * conform/data/grp.h-data: Likewise.
8239 * conform/data/pthread.h-data: Likewise.
8240 * conform/data/pwd.h-data: Likewise.
8241 * conform/data/signal.h-data: Likewise.
8242 * conform/data/spawn.h-data: Likewise.
8243 * conform/data/stdio.h-data: Likewise.
8244 * conform/data/stdlib.h-data: Likewise.
8245 * conform/data/stropts.h-data: Likewise.
8246 * conform/data/sys/mman.h-data: Likewise.
8247 * conform/data/sys/stat.h-data: Likewise.
8248 * conform/data/sys/types.h-data: Likewise.
8249 * conform/data/sys/wait.h-data: Likewise.
8250 * conform/data/time.h-data: Likewise.
8251 * conform/data/unistd.h-data: Likewise.
8252 * conform/data/utime.h-data: Likewise.
8253
8254 * io/sys/stat.h: fchmod was always in POSIX.
8255 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8256 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8257 * rt/aio.h: Define __need_timespec before including <time.h>.
8258 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8259 struct. Add forward declaration of pthread_attr_t and use it in
8260 sigevent.
8261 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8262 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8263 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8264 always remove CLK_TCK definition.
8265
c20105c3
AS
82662012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8267
8268 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8269
7a270350
UD
82702012-02-25 Ulrich Drepper <drepper@gmail.com>
8271
31341567
UD
8272 * conform/run-conformtest.sh: New file.
8273 * conform/Makefile: Run run-conformtest for tests.
8274 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8275 support.
8276
8277 * conform/data/uchar.h-data: New file.
8278 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8279 * conform/data/arpa/inet.h-data: Likewise.
8280 * conform/data/assert.h-data: Likewise.
8281 * conform/data/complex.h-data: Likewise.
8282 * conform/data/cpio.h-data: Likewise.
8283 * conform/data/ctype.h-data: Likewise.
8284 * conform/data/dirent.h-data: Likewise.
8285 * conform/data/dlfcn.h-data: Likewise.
8286 * conform/data/errno.h-data: Likewise.
8287 * conform/data/fcntl.h-data: Likewise.
8288 * conform/data/float.h-data: Likewise.
8289 * conform/data/fmtmsg.h-data: Likewise.
8290 * conform/data/fnmatch.h-data: Likewise.
8291 * conform/data/ftw.h-data: Likewise.
8292 * conform/data/glob.h-data: Likewise.
8293 * conform/data/grp.h-data: Likewise.
8294 * conform/data/iconv.h-data: Likewise.
8295 * conform/data/inttypes.h-data: Likewise.
8296 * conform/data/langinfo.h-data: Likewise.
8297 * conform/data/libgen.h-data: Likewise.
8298 * conform/data/limits.h-data: Likewise.
8299 * conform/data/locale.h-data: Likewise.
8300 * conform/data/math.h-data: Likewise.
8301 * conform/data/monetary.h-data: Likewise.
8302 * conform/data/mqueue.h-data: Likewise.
8303 * conform/data/ndbm.h-data: Likewise.
8304 * conform/data/net/if.h-data: Likewise.
8305 * conform/data/netdb.h-data: Likewise.
8306 * conform/data/netinet/in.h-data: Likewise.
8307 * conform/data/nl_types.h-data: Likewise.
8308 * conform/data/poll.h-data: Likewise.
8309 * conform/data/pthread.h-data: Likewise.
8310 * conform/data/pwd.h-data: Likewise.
8311 * conform/data/regex.h-data: Likewise.
8312 * conform/data/sched.h-data: Likewise.
8313 * conform/data/search.h-data: Likewise.
8314 * conform/data/semaphore.h-data: Likewise.
8315 * conform/data/setjmp.h-data: Likewise.
8316 * conform/data/signal.h-data: Likewise.
8317 * conform/data/spawn.h-data: Likewise.
8318 * conform/data/stdarg.h-data: Likewise.
8319 * conform/data/stdio.h-data: Likewise.
8320 * conform/data/stdlib.h-data: Likewise.
8321 * conform/data/string.h-data: Likewise.
8322 * conform/data/strings.h-data: Likewise.
8323 * conform/data/stropts.h-data: Likewise.
8324 * conform/data/sys/ipc.h-data: Likewise.
8325 * conform/data/sys/mman.h-data: Likewise.
8326 * conform/data/sys/msg.h-data: Likewise.
8327 * conform/data/sys/resource.h-data: Likewise.
8328 * conform/data/sys/select.h-data: Likewise.
8329 * conform/data/sys/sem.h-data: Likewise.
8330 * conform/data/sys/shm.h-data: Likewise.
8331 * conform/data/sys/socket.h-data: Likewise.
8332 * conform/data/sys/stat.h-data: Likewise.
8333 * conform/data/sys/statvfs.h-data: Likewise.
8334 * conform/data/sys/time.h-data: Likewise.
8335 * conform/data/sys/timeb.h-data: Likewise.
8336 * conform/data/sys/times.h-data: Likewise.
8337 * conform/data/sys/types.h-data: Likewise.
8338 * conform/data/sys/uio.h-data: Likewise.
8339 * conform/data/sys/un.h-data: Likewise.
8340 * conform/data/sys/utsname.h-data: Likewise.
8341 * conform/data/sys/wait.h-data: Likewise.
8342 * conform/data/syslog.h-data: Likewise.
8343 * conform/data/tar.h-data: Likewise.
8344 * conform/data/termios.h-data: Likewise.
8345 * conform/data/utime.h-data: Likewise.
8346 * conform/data/utmpx.h-data: Likewise.
8347 * conform/data/varargs.h-data: Likewise.
8348 * conform/data/wchar.h-data: Likewise.
8349 * conform/data/wctype.h-data: Likewise.
8350 * conform/data/wordexp.h-data: Likewise.
8351
8352 * include/stropts.h: New file.
8353 * include/uchar.h: New file.
8354 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8355 * include/assert.h: Likewise.
8356 * include/ctype.h: Likewise.
8357 * include/dirent.h: Likewise.
8358 * include/dlfcn.h: Likewise.
8359 * include/fcntl.h: Likewise.
8360 * include/fnmatch.h: Likewise.
8361 * include/glob.h: Likewise.
8362 * include/grp.h: Likewise.
8363 * include/libio.h: Likewise.
8364 * include/locale.h: Likewise.
8365 * include/math.h: Likewise.
8366 * include/net/if.h: Likewise.
8367 * include/netdb.h: Likewise.
8368 * include/netinet/in.h: Likewise.
8369 * include/pthread.h: Likewise.
8370 * include/pwd.h: Likewise.
8371 * include/regex.h: Likewise.
8372 * include/sched.h: Likewise.
8373 * include/search.h: Likewise.
8374 * include/setjmp.h: Likewise.
8375 * include/signal.h: Likewise.
8376 * include/stdio.h: Likewise.
8377 * include/stdlib.h: Likewise.
8378 * include/string.h: Likewise.
8379 * include/sys/cdefs.h: Likewise.
8380 * include/sys/mman.h: Likewise.
8381 * include/sys/msg.h: Likewise.
8382 * include/sys/resource.h: Likewise.
8383 * include/sys/select.h: Likewise.
8384 * include/sys/socket.h: Likewise.
8385 * include/sys/stat.h: Likewise.
8386 * include/sys/statvfs.h: Likewise.
8387 * include/sys/time.h: Likewise.
8388 * include/sys/times.h: Likewise.
8389 * include/sys/uio.h: Likewise.
8390 * include/sys/utsname.h: Likewise.
8391 * include/sys/wait.h: Likewise.
8392 * include/termios.h: Likewise.
8393 * include/time.h: Likewise.
8394 * include/ulimit.h: Likewise.
8395 * include/unistd.h: Likewise.
8396 * include/utime.h: Likewise.
8397 * include/wchar.h: Likewise.
8398 * include/wctype.h: Likewise.
8399 * include/wordexp.h: Likewise.
8400
8401 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8402
7a270350
UD
8403 * time/time.h: TIME_UTC must be a macro.
8404 Make timespec_get available for ISO C11 only as well.
8405
7724defc
UD
84062012-02-24 Ulrich Drepper <drepper@gmail.com>
8407
8408 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8409 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8410
6b1d1d46
JM
84112012-02-24 Joseph Myers <joseph@codesourcery.com>
8412
8413 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8414
0f8bbd69
JM
84152012-02-24 Joseph Myers <joseph@codesourcery.com>
8416
8417 * manual/texinfo.tex: Update to version 2012-01-19.16.
8418
66ab80bc
JM
84192012-02-24 Joseph Myers <joseph@codesourcery.com>
8420
8421 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8422
74981cc5
RM
84232012-02-24 Roland McGrath <roland@hack.frob.com>
8424
ee968201
RM
8425 [BZ #13738]
8426 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8427 * manual/fdl-1.3.texi: New file.
8428 * manual/fdl-1.1.texi: File removed.
8429
74981cc5
RM
8430 [BZ #13738]
8431 * manual/libc.texinfo (FDL_VERSION): New @set.
8432 Use it for mention of FDL in cover text.
8433 (Documentation License): Use it in @include file name.
8434
7bb764bc
JM
84352012-02-22 Joseph Myers <joseph@codesourcery.com>
8436 Roland McGrath <roland@hack.frob.com>
8437
8438 [BZ #5461]
8439 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8440 not LONG_LONG_MAX and LONG_LONG_MIN.
8441 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8442 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8443 name.
8444 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8445
6cbeae47
JM
84462012-02-22 Joseph Myers <joseph@codesourcery.com>
8447
8448 [BZ #2547]
8449 [BZ #11365]
8450 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8451 manipulate bits before adding and subtracting TWO23[sx].
8452 * math/libm-test.inc (nearbyint_test): Add more tests.
8453
fe45ce09
JM
84542012-02-22 Joseph Myers <joseph@codesourcery.com>
8455
8456 [BZ #2548]
8457 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8458 bits before adding and subtracting TWO23[sx].
8459 * math/libm-test.inc (rint_test): Add more tests.
8460 (rint_test_tonearest): Likewise.
8461 (rint_test_towardzero): Likewise.
8462 (rint_test_downward): Likewise.
8463 (rint_test_upward: Likewise.
8464
ff3b3d82
JM
84652012-02-22 Joseph Myers <joseph@codesourcery.com>
8466
8467 [BZ #10110]
8468 * include/stdc-predef.h: New file. Extracted from features.h.
8469 * include/features.h: Include stdc-predef.h.
8470 * Makefile (headers): Add stdc-predef.h.
8471 * CONFORMANCE (Compiler limitations): Update.
8472
ef0aab35
JM
84732012-02-22 Joseph Myers <joseph@codesourcery.com>
8474
8475 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8476
58639409
DM
84772012-02-21 David S. Miller <davem@davemloft.net>
8478
8479 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8480 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8481
c0e70b25
DM
84822012-02-20 David S. Miller <davem@davemloft.net>
8483
8484 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8485 using a normal save/restore sequence, rather than allocating a
8486 dummy stack frame just to store a frame pointer and restore.
8487 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8488
fb06851d
JM
84892012-02-21 Joseph Myers <joseph@codesourcery.com>
8490
8491 * manual/install.texi: Fix stray word in line-wrapped comment.
8492
7a8b71c3
DM
84932012-02-20 David S. Miller <davem@davemloft.net>
8494
d510c123
DM
8495 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8496 both binutils and gcc support GOTDATA.
8497
0722d7c2
DM
8498 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8499 "rd %pc" in the PIC register setup sequences.
8500
3d2b3019
DM
8501 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8502 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8503 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8504 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8505 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8506 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8507 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8508 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8509 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8510 (SYSCALL_ERROR_HANDLER): Likewise.
8511 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8512 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8513 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8514 (SYSCALL_ERROR_HANDLER): Likewise.
8515
c80098a9
DM
8516 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8517 (HAVE_GCC_GOTDATA): New.
8518 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8519 relocation support in both binutils and gcc.
8520 * sysdeps/sparc/elf/configure: Regenerate.
8521
3a2545a0
DM
8522 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8523 * sysdeps/sparc/sparc32/elf/configure: Delete.
8524 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8525 * sysdeps/sparc/sparc64/elf/configure: Delete.
8526 * sysdeps/sparc/elf/configure.in: New file.
8527 * sysdeps/sparc/elf/configure: Generate.
8528
7a8b71c3
DM
8529 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8530 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8531 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8532 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8533 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8534
f1e86fca
JM
85352012-02-21 Joseph Myers <joseph@codesourcery.com>
8536
8537 * manual/install.texi: Do not mention specific glibc version
8538 numbers.
8539 * manual/libc.texinfo (VERSION, UPDATED): Update.
8540 (@copying): Use @copyright{} and range of years.
8541
0e7dfaef
JM
85422012-02-21 Joseph Myers <joseph@codesourcery.com>
8543
8544 [BZ #13695]
8545 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8546 [crti.S not in sysdirs] (generated): Do not append.
8547 [crti.S not in sysdirs] (omit-deps): Likewise.
8548 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8549 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8550 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8551 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8552 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8553 Likewise.
8554 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8555 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8556 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8557 * csu/defs.awk: Remove file.
8558 * sysdeps/generic/initfini.c: Likewise.
8559 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8560 variable.
8561 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8562 Likewise.
8563
599af3ca
JM
85642012-02-20 Joseph Myers <joseph@codesourcery.com>
8565
8566 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8567 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8568 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8569 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8570 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8571 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8572 <bits/epoll.h>.
8573 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8574 (__EPOLL_PACKED): Define to empty if not defined by
8575 <bits/epoll.h>.
8576 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8578 bits/epoll.h.
8579
0e499750
JM
85802012-02-20 Joseph Myers <joseph@codesourcery.com>
8581
8582 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8583 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8584 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8585 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8586 <bits/timerfd.h>.
8587 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8588 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8589 bits/timerfd.h.
8590
5ad91f6e
JM
85912012-02-20 Joseph Myers <joseph@codesourcery.com>
8592
8593 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8594 in C locale.
8595 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8596 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8597 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8599
06b99b02
AJ
86002012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8601
8602 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8603 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8604
7638c0fd
AS
86052012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8606
8607 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8608 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8609 defined.
8610 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8611 Likewise.
8612 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8613 entry for 2.16.
8614
92221550
AJ
86152012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8616
8617 * math/w_acos.c: Use non-signaling floating-point comparisons.
8618 * math/w_acosf.c: Likewise.
8619 * math/w_acosh.c: Likewise.
8620 * math/w_acoshf.c: Likewise.
8621 * math/w_acoshl.c: Likewise.
8622 * math/w_acosl.c: Likewise.
8623 * math/w_asin.c: Likewise.
8624 * math/w_asinf.c: Likewise.
8625 * math/w_asinl.c: Likewise.
8626 * math/w_atanh.c: Likewise.
8627 * math/w_atanhf.c: Likewise.
8628 * math/w_atanhl.c: Likewise.
8629 * math/w_exp2.c: Likewise.
8630 * math/w_exp2f.c: Likewise.
8631 * math/w_exp2l.c: Likewise.
8632 * math/w_j0.c: Likewise.
8633 * math/w_j0f.c: Likewise.
8634 * math/w_j0l.c: Likewise.
8635 * math/w_j1.c: Likewise.
8636 * math/w_j1f.c: Likewise.
8637 * math/w_j1l.c: Likewise.
8638 * math/w_jn.c: Likewise.
8639 * math/w_jnf.c: Likewise.
8640 * math/w_log.c: Likewise.
8641 * math/w_log10.c: Likewise.
8642 * math/w_log10f.c: Likewise.
8643 * math/w_log10l.c: Likewise.
8644 * math/w_log2.c: Likewise.
8645 * math/w_log2f.c: Likewise.
8646 * math/w_log2l.c: Likewise.
8647 * math/w_logf.c: Likewise.
8648 * math/w_logl.c: Likewise.
8649 * math/w_sqrt.c: Likewise.
8650 * math/w_sqrtf.c: Likewise.
8651 * math/w_sqrtl.c: Likewise.
8652 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8653 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8654 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8655 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8656 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8657
ebaf36eb
JM
86582012-02-19 Joseph Myers <joseph@codesourcery.com>
8659
8660 [BZ #9739]
8661 * manual/string.texi (strnlen): Use correct parameter name in
8662 equivalent expression.
8663
71c254a6
JM
86642012-02-19 Joseph Myers <joseph@codesourcery.com>
8665
8666 [BZ #11174]
8667 * manual/users.texi (seteuid): Consistently use neweuid for
8668 argument name.
8669
16d2c631
JM
86702012-02-19 Joseph Myers <joseph@codesourcery.com>
8671
8672 [BZ #13704]
8673 * manual/nss.texi (Services in the NSS configuration): Correct
8674 list of services in example configuration file.
8675
cd837b09
NB
86762012-02-19 Nick Bowler <nbowler@draconx.ca>
8677
8678 [BZ #11322]
8679 * manual/arith.texi: Remove statements about negative zero
8680 behaving identically to zero.
8681
02c4bbad
JM
86822012-02-18 Joseph Myers <joseph@codesourcery.com>
8683
8684 [BZ #5993]
8685 * manual/install.texi: Do not document upgrading from libc5.
8686
366842e7
JM
86872012-02-18 Joseph Myers <joseph@codesourcery.com>
8688
8689 [BZ #4596]
8690 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8691
dd54084d
DM
86922012-02-18 David S. Miller <davem@davemloft.net>
8693
8694 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8695 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8696 %o7 across the call.
8697 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8698 instead.
8699 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8700 SETUP_PIC_REG_LEAF.
8701 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8702 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8703 * sysdeps/sparc/crtn.S: Likewise.
8704
2bcc53a3
UD
87052012-02-17 Ulrich Drepper <drepper@gmail.com>
8706
8707 * aout/Makefile: Remove.
8708
09c093b5
RK
87092012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8710
8711 [BZ #13058]
8712 * manual/examples/argp-ex1.c (main): Format definition in GNU
8713 style.
8714 * manual/examples/argp-ex2.c (main): Likewise.
8715 * manual/examples/argp-ex3.c (main): Likewise.
8716 * manual/examples/argp-ex4.c (main): Likewise.
8717 * manual/examples/longopt.c (main): Use new-style prototype
8718 definition.
8719 * manual/examples/strncat.c (main): Specify return type and use
8720 (void) for arguments.
8721 * manual/examples/subopt.c (main): Use char **argv argument.
8722
2ee633a2
JM
87232012-02-17 Joseph Myers <joseph@codesourcery.com>
8724
8725 [BZ #5077]
8726 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8727 rounding modes.
8728
0520adde
FB
87292012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8730
8731 [BZ #6907]
8732 * manual/string.texi (strchr): Change when strchrnul is
8733 recommended.
8734
3f4081cd
DGM
87352012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8736
8737 [BZ #174]
8738 * manual/locale.texi (setlocale): Document LOCPATH.
8739
d1b10e78
JM
87402012-02-17 Joseph Myers <joseph@codesourcery.com>
8741
8742 [BZ #10210]
8743 * manual/process.texi (execle): Move @dots{} before last argument.
8744
79c6869c
PB
87452012-02-17 Paul Bolle <pebolle@tiscali.nl>
8746
8747 [BZ #12047]
8748 * manual/charset.texi (Generic Charset Conversion): Fix typo
8749 (LC_TYPE -> LC_CTYPE).
8750
cc6e48bc
NB
87512012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8752
8753 [BZ #5805]
8754 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8755 (scalbnf): Likewise.
8756 (scalbnl): Likewise.
8757 (scalbln): Likewise.
8758 (scalblnf): Likewise.
8759 (scalblnl): Likewise.
8760 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8761 (vwarnx): Likewise.
8762 (verr): Likewise.
8763 (verrx): Likewise.
8764 * manual/filesys.texi (telldir): Use braces around return type.
8765 * manual/llio.texi (mmap): Add space after comma.
8766 (mmap64): Likewise.
8767 * manual/math.texi (jn): Use @var{} on parameter names.
8768 (jnf): Likewise.
8769 (jnl): Likewise.
8770 (yn): Likewise.
8771 (ynf): Likewise.
8772 (ynl): Likewise.
8773 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8774 line.
8775 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8776 "...".
8777 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8778 (sched_get_priority_max): Likewise.
8779 * manual/signal.texi (sigvec): Add space after comma.
8780 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8781 names.
8782 (if_indextoname): Likewise.
8783 (if_freenameindex): Likewise.
8784 (sendto): Use ',' instead of '.' in prototype.
8785 * manual/startup.texi (syscall): Use @dots{} instead of literal
8786 "...".
8787 * manual/stdio.texi (__fpending): Separate initial words of
8788 paragraph from @deftypefun line.
8789 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8790 "...".
8791 (vsyslog): Use @var{} on parameter names.
8792 * manual/terminal.texi (stty): Use @var{} on parameter names.
8793 * manual/users.texi (getutmp): Use @var{} on parameter names.
8794 (getutmpx): Likewise.
8795
5b23062f
JM
87962012-02-17 Joseph Myers <joseph@codesourcery.com>
8797
8798 [BZ #6884]
8799 * manual/stdio.texi (fopen): Fix typos in description of
8800 ",ccs=STRING".
8801
8dee4833
AJ
88022012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8803
8804 [BZ #4026]
8805 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8806 get clock_id definition.
8807
9078ce93
TS
88082012-02-17 Thomas Schwinge <thomas@schwinge.name>
8809
8810 [BZ #4822]
8811 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8812 (madvise): Cast every argument to void on its own.
8813
3835c55f
JM
88142012-02-17 Joseph Myers <joseph@codesourcery.com>
8815
8816 [BZ #9902]
8817 * manual/startup.texi (Exit Status): Fix typo.
8818
35c47e37
JM
88192012-02-17 Joseph Myers <joseph@codesourcery.com>
8820
8821 [BZ #10140]
8822 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8823 * manual/examples/argp-ex2.c: Likewise.
8824 * manual/examples/argp-ex3.c: Likewise.
8825
e3b69ca7
RH
88262012-02-16 Richard Henderson <rth@redhat.com>
8827
8828 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8829 * sysdeps/s390/s390-32/initfini.c: Remove.
8830 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8831 * sysdeps/s390/s390-64/initfini.c: Remove.
8832
df83af67
KK
88332012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8834
8835 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8836 compiler output for sysdeps/generic/initfini.c.
8837 * sysdeps/sh/elf/initfini.c: Remove file.
8838
f63f3380
DM
88392012-02-16 David S. Miller <davem@davemloft.net>
8840
fb59b3a4
DM
8841 [BZ #11494]
8842 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8843
f63f3380
DM
8844 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8845 * sysdeps/sparc/crti.S: New file.
8846 * sysdeps/sparc/crtn.S: New file.
8847 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8848 * sysdeps/sparc/sparc64/Makefile: Likewise.
8849
df6a4a4a
MF
88502012-02-15 Mike Frysinger <vapier@gentoo.org>
8851
6dd8f3dc 8852 [BZ #3335]
df6a4a4a
MF
8853 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8854
1cac7236
RM
88552012-02-15 Roland McGrath <roland@hack.frob.com>
8856
d2c736f8
RM
8857 [BZ #4822]
8858 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8859
1cac7236
RM
8860 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8861 (write, read, close): Likewise.
8862 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8863
8e475601
JM
88642012-02-15 Joseph Myers <joseph@codesourcery.com>
8865
8866 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8867 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8868 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8869 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8870 <bits/signalfd.h>.
8871 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8872 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8873 bits/signalfd.h.
8874
ed656b40
MP
88752012-02-14 Marek Polacek <polacek@redhat.com>
8876
8877 * sysdeps/x86_64/crti.S: New file.
8878 * sysdeps/x86_64/crtn.S: New file.
8879 * sysdeps/x86_64/elf/initfini.c: Remove file.
8880
2a979d3a
JM
88812012-02-13 Joseph Myers <joseph@codesourcery.com>
8882
8883 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8884 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8885 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8886 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8887 <bits/inotify.h>.
8888 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8890 bits/inotify.h.
8891
2a418ac3
JM
88922012-02-13 Joseph Myers <joseph@codesourcery.com>
8893
8894 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8895 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8896 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8897 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8898 <bits/eventfd.h>.
8899 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8900 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8901 bits/eventfd.h.
8902
fb779be7
TS
89032012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8904
e19e83c5
RM
8905 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8906 __feraiseexcept instead of feraiseexcept.
7c35ffed 8907
fb779be7
TS
8908 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8909 nanosleep invocations.
8910 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8911 strings, and add error checking for a nanosleep invocations.
8912
59ba27a6
PE
89132012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8914
8915 Replace FSF snail mail address with URLs, as per GNU coding standards.
8916 Most of the snail mail addresses were wrong anyway, and omitting
8917 them makes the source code easier to maintain. Almost all of the
8918 changes are to license notices and to locale LC_IDENTIFICATION
8919 addresses, except for this one:
8920 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8921 not its snail mail address.
8922
57b957eb
RH
89232012-02-09 Richard Henderson <rth@twiddle.net>
8924
af850b1c
RH
8925 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8926 of kernel-features.h.
8927
57b957eb
RH
8928 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8929
6b73181a
MP
89302012-02-08 Marek Polacek <polacek@redhat.com>
8931
8932 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8933 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8934 * sysdeps/gnu/_G_config.h: Likewise.
8935 * sysdeps/generic/_G_config.h: Likewise.
8936
26ecc33a
AS
89372012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8938
6c6dbc63
AS
8939 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8940 tests.
8941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8942
e216c012
AS
8943 * sysdeps/powerpc/powerpc32/crti.S: New file.
8944 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8945 * sysdeps/powerpc/powerpc64/crti.S: New file.
8946 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8947
26ecc33a
AS
8948 * Makeconfig (have-initfini): Don't set.
8949 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8950 * configure.in (nopic_initfini): Don't substitute.
8951 * config.h.in (HAVE_INITFINI): Don't #undef.
8952 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8953 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8954
3add8e13
JM
89552012-02-08 Joseph Myers <joseph@codesourcery.com>
8956
8957 Support crti.S and crtn.S provided directly by architectures.
8958 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8959 [crti.S in sysdirs] (omit-deps): Likewise.
8960 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8961 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8962 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8963 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8964 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8965 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8966 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8967 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8968 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8969 compiler output for sysdeps/generic/initfini.c.
8970 * sysdeps/i386/elf/Makefile: Remove file.
8971 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8972
a22f12b4
MP
89732012-02-07 Marek Polacek <polacek@redhat.com>
8974
8975 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8976 * sysdeps/gnu/_G_config.h: Likewise.
8977 * sysdeps/mach/hurd/_G_config.h: Likewise.
8978
148cf100
MP
89792012-02-07 Marek Polacek <polacek@redhat.com>
8980
8981 * math/Makefile (tests): Add tst-CMPLX2.
8982 * math/tst-CMPLX2.c: New file.
8983
cfdc0dd7
AS
89842012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8985
84ba42c4
AS
8986 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8987
cfdc0dd7
AS
8988 * math/libm-test.inc (jn_test): Add missing L suffix.
8989
622c86f4
MP
89902012-02-06 Marek Polacek <polacek@redhat.com>
8991
8992 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8993 * sysdeps/i386/fpu/e_powf.S: Likewise.
8994 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8995 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8996 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8997 * sysdeps/i386/fpu/e_pow.S: Likewise.
8998 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8999 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9000 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9001 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9002 * sysdeps/i386/fpu/e_log2.S: Likewise.
9003 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9004 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9005 * sysdeps/i386/fpu/e_powl.S: Likewise.
9006 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9007 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9008 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9009 * sysdeps/i386/fpu/e_logl.S: Likewise.
9010 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9011 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9012 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9013 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9014 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9015 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9016 * sysdeps/i386/fpu/e_log.S: Likewise.
9017 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9018 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9019 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9020 * sysdeps/i386/fpu/e_logf.S: Likewise.
9021 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9022 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9023 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9024 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9025 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9026 * sysdeps/i386/fpu/e_log10.S: Likewise.
9027 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9028 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9029 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9030 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9031 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9032 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9033 * sysdeps/i386/asm-syntax.h: Likewise.
9034 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9035 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9036 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9037 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9038 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9039 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9040 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9041 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9042 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9043 * sysdeps/powerpc/sysdep.h: Likewise.
9044 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9045 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9046
d4a54ac6
JM
90472012-02-06 Joseph Myers <joseph@codesourcery.com>
9048
9049 [BZ #411]
9050 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9051
314054ea
JM
90522012-02-06 Joseph Myers <joseph@codesourcery.com>
9053
9054 * sysdeps/i386/sysdep.h: Include <features.h>.
9055 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9056 version.
9057
d8e0ca50
JM
90582012-02-05 Joseph Myers <joseph@codesourcery.com>
9059
9060 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9061 Define.
9062 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9063 LOAD_PIC_REG_STR.
9064
b1da7dd9
JM
90652012-02-03 Joseph Myers <joseph@codesourcery.com>
9066
9067 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9068 (SETUP_PIC_REG): Use GET_PC_THUNK.
9069 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9070 macro.
9071
9a1d9254
JM
90722012-02-03 Joseph Myers <joseph@codesourcery.com>
9073
9074 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9075 for non-PIC compilation.
9076 (SETUP_PIC_REG): Add .p2align directive.
9077 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9078 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9079 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9080 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9081 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9082 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9083 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9084 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9085 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9086 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9087 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9088 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9089 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9090 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9091 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9092 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9093 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9094 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9095 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9096 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9097 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9098 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9099 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9100 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9101 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9102 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9103 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9104 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9105 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9106 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9107 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9108 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9109 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9110 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9111 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9112 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9113 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9114 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9115 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9116 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9117 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9118
65dc3b75
JM
91192012-02-03 Joseph Myers <joseph@codesourcery.com>
9120
9121 * math/tst-CMPLX.c: Include <stdio.h>.
9122
d55bf177
JM
91232012-01-31 Joseph Myers <joseph@codesourcery.com>
9124
9125 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9126 float.
9127 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9128 * sysdeps/sparc/bits/mathdef.h: Likewise.
9129
69db4f8f
MP
91302012-01-31 Marek Polacek <polacek@redhat.com>
9131
9132 * libio/libio.h: Don't define _PARAMS.
9133 * locale/programs/config.h: Don't define PARAMS.
9134 * stdlib/strtol_l.c: Likewise.
9135 (__strtol_l): Remove PARAMS from the prototype.
9136
41b81892
UD
91372012-01-31 Ulrich Drepper <drepper@gmail.com>
9138
3b49edc0
UD
9139 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9140 names. Just use the correct names. Remove unnecessary wrapper
9141 functions.
9142 * malloc/arena.c: Likewise.
9143 * malloc/hooks.c: Likewise.
9144
41b81892
UD
9145 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9146 ARENA_TEST says not to. Simplify test for creation of a new arena.
9147 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9148
27a25b6e
UD
91492012-01-30 Ulrich Drepper <drepper@gmail.com>
9150
9151 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9152 into tail calls.
9153 (update_get_addr): New function.
9154 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9155 GET_ADDR_MODULE parameter.
9156
c8a89e7d
JM
91572012-01-30 Joseph Myers <joseph@codesourcery.com>
9158
9159 * crypt/cert.c: Remove __STDC__ conditionals.
9160 * crypt/crypt-entry.c: Likewise.
9161 * crypt/crypt_util.c: Likewise.
9162 * libio/filedoalloc.c: Likewise.
9163 * libio/fileops.c: Likewise.
9164 * libio/genops.c: Likewise.
9165 * libio/iofclose.c: Likewise.
9166 * libio/iofdopen.c: Likewise.
9167 * libio/iofopen.c: Likewise.
9168 * libio/iofopen64.c: Likewise.
9169 * libio/iogetdelim.c: Likewise.
9170 * libio/iopopen.c: Likewise.
9171 * libio/obprintf.c: Likewise.
9172 * libio/oldfileops.c: Likewise.
9173 * libio/oldiofclose.c: Likewise.
9174 * libio/oldiofdopen.c: Likewise.
9175 * libio/oldiofopen.c: Likewise.
9176 * libio/oldiopopen.c: Likewise.
9177 * libio/wfiledoalloc.c: Likewise.
9178 * libio/wgenops.c: Likewise.
9179 * locale/programs/xmalloc.c: Likewise.
9180 * misc/syslog.c: Likewise.
9181 * stdio-common/xbug.c: Likewise.
9182 * string/memchr.c: Likewise.
9183 * string/memcmp.c: Likewise.
9184 * string/memrchr.c: Likewise.
9185 * string/rawmemchr.c: Likewise.
9186 * sysdeps/posix/getcwd.c: Likewise.
9187 * time/strftime_l.c: Likewise.
9188
3b100462
JM
91892012-01-30 Joseph Myers <joseph@codesourcery.com>
9190
9191 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9192 * config.make.in (config-cflags-sse2avx): Define.
9193 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9194 Fix typo.
9195
607998af
CM
91962012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9197
9198 * scripts/config.guess: Update from upstream config git repository.
9199 * scripts/config.sub: Likewise.
9200
3601428f
CM
92012012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9202
3ac8b282
CM
9203 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9204 (EM_NUM): Update.
9205 (R_TILEPRO_*, R_TILEGX_*): New macros.
9206
e034841e
CM
9207 * scripts/firstversions.awk: Fix bug in version range handling.
9208
540d7568
CM
9209 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9210
3601428f
CM
9211 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9212
463de862
CM
9213 * include/sys/epoll.h: New file.
9214 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9215 libc_hidden_def.
9216
73139a76
UD
92172012-01-28 Ulrich Drepper <drepper@gmail.com>
9218
96bc5b45
UD
9219 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9220 Avoid unnecessary __WORDSIZE == 64 test.
9221 (fmaxf): Use VEX format if possible.
9222 (fmax): Likewise.
9223 (fminf): Likewise.
9224 (fmin): Likewise.
9225
56f6f6a2
UD
9226 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9227 * math/math_private.h: Remove libc_fegetround* and
9228 libc_fesetround*.
9229 * sysdeps/i386/configure.in: Check for -msse2avx.
9230 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9231 also if SSE2AVX is defined.
9232 Remove libc_fegetround* and libc_fesetround*.
9233 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9234 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9235 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9236 of HAS_YMM_USABLE.
9237 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9238 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9239 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9240 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9241 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9242
73139a76
UD
9243 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9244
d73f93a4
AZ
92452012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9246
9247 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9248 size is not set.
9249 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9250
6ee65ed6
UD
92512012-01-27 Ulrich Drepper <drepper@gmail.com>
9252
9253 [BZ #13618]
9254 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9255 relocation.
9256 * Makeconfig (libm): Define.
9257 * elf/Makefile: Add rules to build and run tst-relsort1.
9258 * elf/tst-relsort1.c: New file.
9259 * elf/tst-relsort1mod1.c: New file.
9260 * elf/tst-relsort1mod2.c: New file.
9261
8db21882
JM
92622012-01-27 Joseph Myers <joseph@codesourcery.com>
9263
9264 * math/s_ldexp.c: Remove __STDC__ conditionals.
9265 * math/s_ldexpf.c: Likewise.
9266 * math/s_ldexpl.c: Likewise.
9267 * math/s_nextafter.c: Likewise.
9268 * math/s_nexttowardf.c: Likewise.
9269 * math/s_significand.c: Likewise.
9270 * math/s_significandf.c: Likewise.
9271 * math/s_significandl.c: Likewise.
9272 * math/w_jnl.c: Likewise.
9273 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9274 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9275 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9276 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9277 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9278 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9279 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9280 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9281 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9282 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9283 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9284 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9285 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9286 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9287 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9288 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9289 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9290 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9291 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9292 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9293 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9294 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9295 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9296 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9297 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9298 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9299 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9300 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9301 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9302 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9303 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9304 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9305 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9306 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9307 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9308 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9309 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9310 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9311 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9312 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9313 * sysdeps/ieee754/k_standard.c: Likewise.
9314 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9315 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9316 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9317 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9318 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9319 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9320 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9321 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9322 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9323 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9324 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9325 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9326 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9327 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9328 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9329 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9330 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9331 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9332 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9333 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9334 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9335 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9336 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9337 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9338 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9339 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9340 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9341 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9342 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9343 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9344 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9345 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9346 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9347 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9348 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9349 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9351 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9352 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9353 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9354 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9355 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9356 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9357 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9358 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9359 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9360 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9361 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9362 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9363 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9364 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9365 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9366 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9367 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9368 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9369 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9370 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9371 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9372 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9373 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9374 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9375 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9376 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9377 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9378 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9379 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9380 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9381 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9382 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9383 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9384 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9385 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9386 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9387 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9388 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9389 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9390 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9391 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9392 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9393 * sysdeps/ieee754/s_matherr.c: Likewise.
9394 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9395 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9396 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9397 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9398
965a54a4
JM
93992012-01-26 Joseph Myers <joseph@codesourcery.com>
9400
9401 * crypt/md5.h: Remove __STDC__ conditionals.
9402 * libio/libioP.h: Likewise.
9403 * locale/programs/config.h: Likewise.
9404 * sysdeps/generic/sysdep.h: Likewise.
9405 * sysdeps/i386/asm-syntax.h: Likewise.
9406 * sysdeps/s390/asm-syntax.h: Likewise.
9407 * sysdeps/unix/sysdep.h: Likewise.
9408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9410
7071ad79
JM
94112012-01-26 Joseph Myers <joseph@codesourcery.com>
9412
9413 * libio/libio.h: Remove __STDC__ conditionals.
9414 * malloc/obstack.h: Likewise.
9415 * math/complex.h: Likewise.
9416 * math/math.h: Likewise.
9417 * sysdeps/generic/_G_config.h: Likewise.
9418 * sysdeps/gnu/_G_config.h: Likewise.
9419 * sysdeps/mach/hurd/_G_config.h: Likewise.
9420 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9421 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9422 * sysdeps/sparc/bits/mathdef.h: Likewise.
9423
afc5ed09
UD
94242012-01-26 Ulrich Drepper <drepper@gmail.com>
9425
9426 [BZ #13583]
9427 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9428 Clean up HAS_* macros.
afc5ed09 9429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9430 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9431 possible.
9432 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9433 HAS_AVX.
9434 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9435 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9436 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9437 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9438 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9439
bdb6de1d
JM
94402012-01-25 Joseph Myers <joseph@codesourcery.com>
9441
9442 * elf/tst-unique3.cc (gets): Remove declaration.
9443 * elf/tst-unique3lib.cc (gets): Likewise.
9444 * elf/tst-unique3lib2.cc (gets): Likewise.
9445 * elf/tst-unique4.cc (gets): Likewise.
9446
b15549e6
UD
94472012-01-24 Ulrich Drepper <drepper@gmail.com>
9448
9449 * include/stdio.h: Add C++ protection. Add gets declarations and
9450 definitions.
9451 * debug/tst-chk1.c: Don't declare gets here.
9452 * stdio-common/tst-gets.c: Likewise.
9453
a037381f
JM
94542012-01-24 Joseph Myers <joseph@codesourcery.com>
9455
9456 * posix/glob: Remove directory.
9457
f1d4aa75
JM
94582012-01-24 Joseph Myers <joseph@codesourcery.com>
9459
9460 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9461
81c0c964
PT
94622012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9463
9464 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9465 of the non-standard EPFNOSUPPORT.
9466
0ea698ae
ST
94672011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9468
9469 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9470 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9471 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9472
d220b117
UD
94732012-01-21 Ulrich Drepper <drepper@gmail.com>
9474
9475 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9476
3e1aa84e
UD
94772012-01-20 Ulrich Drepper <drepper@gmail.com>
9478
9479 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9480 transient errors.
9481 * nscd/grpcache.c (cache_addgr): Likewise.
9482 * nscd/hstcache.c (cache_addhst): Likewise.
9483 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9484 * nscd/pwdcache.c (cache_addpw): Likewise.
9485 * nscd/servicescache.c (cache_addserv): Likewise.
9486
400aa020
UD
94872012-01-16 Ulrich Drepper <drepper@gmail.com>
9488
d77e7869
UD
9489 * malloc/malloc.c: Various cleanups.
9490 * malloc/hooks.c: Likewise.
9491
400aa020
UD
9492 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9493 * stdlib/bug-fmtmsg1.c: New file.
9494
9495 * stdlib/fmtmsg.c (init): Add missing unlock.
9496 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9497
e0a309cf
MP
94982012-01-12 Marek Polacek <polacek@redhat.com>
9499
9500 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9501 and _GNU_SOURCE.
9502
929d11c7
WS
95032012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9504
9505 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9506 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9507 macro to ensure uniqueness of label name.
9508 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9509 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9510
41d0e869
UD
95112012-01-11 Ulrich Drepper <drepper@gmail.com>
9512
0cc5ed3b
UD
9513 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9514
41d0e869
UD
9515 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9516 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9517 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9518 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9519
a47a831a
UD
95202012-01-10 Ulrich Drepper <drepper@gmail.com>
9521
daa891c0
UD
9522 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9523
9524 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9525 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9526 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9527
e58ef0f2
UD
9528 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9529
a47a831a 9530 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9531 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9532 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9533 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9534
9535 * math/bits/math-finite.h: Add ldexp support.
9536
a0bfc9c7
MP
95372012-01-10 Marek Polacek <polacek@redhat.com>
9538
9539 * locale/programs/localedef.h (show_archive_content): Add noreturn
9540 attribute.
9541
d6e97a1d
UD
95422012-01-09 Ulrich Drepper <drepper@gmail.com>
9543
9544 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9545
d5835c26
UD
95462012-01-08 Ulrich Drepper <drepper@gmail.com>
9547
e5f484c6
UD
9548 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9549
d5835c26
UD
9550 * io/Makefile (headers): Add bits/poll2.h.
9551
d1f741e9
WS
95522011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9553
9554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9555 typo #include statement.
9556
ec09c1c4
UD
95572012-01-08 Ulrich Drepper <drepper@gmail.com>
9558
9559 * include/sys/cdefs.h: Define __attribute_alloc_size.
9560 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9561 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9562 * elf/pldd.c: Likewise.
9563 * iconv/iconv_charmap.c: Likewise.
9564 * iconv/iconvconfig.c: Likewise.
9565 * iconv/strtab.c: Likewise.
9566 * locale/programs/locale.c: Likewise.
9567 * locale/programs/localedef.h: Likewise.
9568 * locale/programs/simple-hash.c: Likewise.
9569 * nscd/nscd.h: Likewise.
9570 * nss/makedb.c: Likewise.
9571 * sysdeps/generic/ldconfig.h: Likewise.
9572 * locale/programs/localedef.c: Remove xmalloc prototype.
9573 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9574
20b38e03
PP
95752012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9576
9577 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9578 appropriate.
9579
a0da5fe1
UD
95802012-01-08 Ulrich Drepper <drepper@gmail.com>
9581
1d5a644a 9582 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9583 * math/tst-CMPLX.c: New file.
1d5a644a 9584
8784a6db
UD
9585 * math/complex.h (CMPLXL): Fix typo.
9586
d9a216c0
UD
9587 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9588 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9589 GLIBC_2.16.
9590 * debug/tst-chk1.c: Add poll and ppoll tests.
9591 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9592 * include/sys/poll.h: Add hidden proto for ppoll.
9593 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9594 * sysdeps/mach/hurd/ppoll.c: Likewise.
9595 * io/ppoll.c: Likewise.
9596 * debug/poll_chk.c: New file.
9597 * debug/ppoll_chk.c: New file.
9598 * include/bits/poll2.h: New file.
9599 * io/bits/poll2.h: New file.
9600
ac097f5c
UD
9601 [BZ #1350]
9602 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9603
2119dcfa
UD
9604 * configure.in: static is always set to yes. Remove.
9605 * config.make.in: Don't set build-static.
9606 * Makeconfig: Remove use of build-static.
9607 * dlfcn/Makefile: Likewise.
9608 * elf/Makefile: Likewise.
9609 * math/Makefile: Likewise.
9610 * misc/Makefile: Likewise.
9611 * nptl/Makefile: Likewise.
9612 * sysdeps/mach/hurd/Makefile: Likewise.
9613
121766a9
UD
9614 * configure.in: PWD_P is not used anymore.
9615 * config.make.in: Remove PWD_P entry.
9616
51a1d39c 9617 * configure.in: Remove last remnants of RANLIB.
8720d066 9618 No need to check for signed size_t anymore.
215f4bdc
UD
9619 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9620 and IA-64.
3857022a 9621 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9622 * aclocal.m4: Likewise.
9623
d3ed7225
UD
9624 * wcsmbs/mbrtoc16.c: Implement using towc function.
9625 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9626 * wcsmbs/wcsmbsload.c: Likewise.
9627 * iconv/gconv_simple.c: Likewise.
9628 * iconv/gconv_int.h: Likewise.
9629 * iconv/gconv_builtin.h: Likewise.
9630 * iconv/iconv_prog.c: Remove CHAR16 handling.
9631
9632 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9633
9634 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9635
a0da5fe1
UD
9636 * configure.in: Remove --with-elf and --enable-bounded options.
9637 Dont set base_machine for ia64. More non-ELF conditions removed.
9638 Remove testing and setting of leading underscore information.
9639 * config.make.in (build-bounded): Set to no.
9640 * config.h.in: Remove NO_UNDERSCORES entry.
9641 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9642 them.
9643 * csu/start.c: Remove !NO_UNDERSCORE code.
9644 * locale/localeinfo.h: Likewise.
9645 * sysdeps/generic/machine-gmon.h: Likewise.
9646 * sysdeps/generic/sysdep.h: Likewise.
9647 * sysdeps/i386/sysdep.h: Likewise.
9648 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9649 * sysdeps/mach/sysdep.h: Likewise.
9650 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9651 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9652 * sysdeps/sh/sysdep.h: Likewise.
9653 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9654 * sysdeps/unix/i386/sysdep.S: Likewise.
9655 * sysdeps/unix/sparc/start.c: Likewise.
9656 * sysdeps/unix/sparc/sysdep.S: Likewise.
9657 * sysdeps/unix/sparc/sysdep.h: Likewise.
9658 * sysdeps/unix/start.c: Likewise.
9659 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9660 * sysdeps/x86_64/sysdep.h: Likewise.
9661
df78418a
UD
96622012-01-07 Ulrich Drepper <drepper@gmail.com>
9663
a784e502
UD
9664 [BZ #13553]
9665 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9666 for non-gcc.
9667 * argp/argp-fmtstream.h: Use const instead __const.
9668 * argp/argp.h: Likewise.
9669 * assert/assert.h: Likewise.
9670 * bits/fenv.h: Likewise.
9671 * bits/sched.h: Likewise.
9672 * bits/sigset.h: Likewise.
9673 * bits/sigthread.h: Likewise.
9674 * catgets/nl_types.h: Likewise.
9675 * conform/data/pthread.h-data: Likewise.
9676 * crypt/crypt-private.h: Likewise.
9677 * crypt/crypt.h: Likewise.
9678 * crypt/crypt_util.c: Likewise.
9679 * ctype/ctype.h: Likewise.
9680 * debug/execinfo.h: Likewise.
9681 * debug/mbsnrtowcs_chk.c: Likewise.
9682 * debug/mbsrtowcs_chk.c: Likewise.
9683 * debug/wcsnrtombs_chk.c: Likewise.
9684 * debug/wcsrtombs_chk.c: Likewise.
9685 * debug/wcstombs_chk.c: Likewise.
9686 * dirent/dirent.h: Likewise.
9687 * dlfcn/dlfcn.h: Likewise.
9688 * elf/neededtest4.c: Likewise.
9689 * grp/grp.h: Likewise.
9690 * gshadow/gshadow.h: Likewise.
9691 * iconv/gconv.h: Likewise.
9692 * iconv/gconv_int.h: Likewise.
9693 * iconv/gconv_simple.c: Likewise.
9694 * iconv/iconv.h: Likewise.
9695 * iconv/loop.c: Likewise.
9696 * iconv/skeleton.c: Likewise.
9697 * include/aio.h: Likewise.
9698 * include/aliases.h: Likewise.
9699 * include/argz.h: Likewise.
9700 * include/arpa/inet.h: Likewise.
9701 * include/assert.h: Likewise.
9702 * include/dirent.h: Likewise.
9703 * include/dlfcn.h: Likewise.
9704 * include/execinfo.h: Likewise.
9705 * include/fcntl.h: Likewise.
9706 * include/fenv.h: Likewise.
9707 * include/glob.h: Likewise.
9708 * include/grp.h: Likewise.
9709 * include/libintl.h: Likewise.
9710 * include/mntent.h: Likewise.
9711 * include/netdb.h: Likewise.
9712 * include/pwd.h: Likewise.
9713 * include/rpc/netdb.h: Likewise.
9714 * include/sched.h: Likewise.
9715 * include/search.h: Likewise.
9716 * include/shadow.h: Likewise.
9717 * include/signal.h: Likewise.
9718 * include/stdio.h: Likewise.
9719 * include/stdlib.h: Likewise.
9720 * include/string.h: Likewise.
9721 * include/sys/socket.h: Likewise.
9722 * include/sys/stat.h: Likewise.
9723 * include/sys/statfs.h: Likewise.
9724 * include/sys/statvfs.h: Likewise.
9725 * include/sys/syslog.h: Likewise.
9726 * include/sys/time.h: Likewise.
9727 * include/sys/uio.h: Likewise.
9728 * include/time.h: Likewise.
9729 * include/unistd.h: Likewise.
9730 * include/utmp.h: Likewise.
9731 * include/wchar.h: Likewise.
9732 * include/wctype.h: Likewise.
9733 * inet/aliases.h: Likewise.
9734 * inet/arpa/inet.h: Likewise.
9735 * inet/netinet/ether.h: Likewise.
9736 * inet/netinet/in.h: Likewise.
9737 * intl/libintl.h: Likewise.
9738 * io/bits/fcntl2.h: Likewise.
9739 * io/fcntl.h: Likewise.
9740 * io/ftw.h: Likewise.
9741 * io/sys/poll.h: Likewise.
9742 * io/sys/stat.h: Likewise.
9743 * io/sys/statfs.h: Likewise.
9744 * io/sys/statvfs.h: Likewise.
9745 * io/utime.h: Likewise.
9746 * libio/bits/stdio.h: Likewise.
9747 * libio/bits/stdio2.h: Likewise.
9748 * libio/libio.h: Likewise.
9749 * libio/libioP.h: Likewise.
9750 * libio/stdio.h: Likewise.
9751 * locale/lc-ctype.c: Likewise.
9752 * locale/locale.h: Likewise.
9753 * login/utmp.h: Likewise.
9754 * malloc/arena.c: Likewise.
9755 * malloc/malloc.c: Likewise.
9756 * malloc/malloc.h: Likewise.
9757 * malloc/mcheck.c: Likewise.
9758 * malloc/mtrace.c: Likewise.
9759 * math/bits/mathcalls.h: Likewise.
9760 * math/fenv.h: Likewise.
9761 * math/math_private.h: Likewise.
9762 * misc/bits/error.h: Likewise.
9763 * misc/bits/syslog.h: Likewise.
9764 * misc/err.h: Likewise.
9765 * misc/error.h: Likewise.
9766 * misc/fstab.h: Likewise.
9767 * misc/mntent.h: Likewise.
9768 * misc/regexp.h: Likewise.
9769 * misc/search.h: Likewise.
9770 * misc/sgtty.h: Likewise.
9771 * misc/sys/mman.h: Likewise.
9772 * misc/sys/syslog.h: Likewise.
9773 * misc/sys/uio.h: Likewise.
9774 * misc/sys/xattr.h: Likewise.
9775 * misc/ttyent.h: Likewise.
9776 * nis/rpcsvc/ypclnt.h: Likewise.
9777 * nss/nss.h: Likewise.
9778 * posix/bits/unistd.h: Likewise.
9779 * posix/fnmatch.h: Likewise.
9780 * posix/glob.h: Likewise.
9781 * posix/sched.h: Likewise.
9782 * posix/spawn.h: Likewise.
9783 * posix/sys/wait.h: Likewise.
9784 * posix/unistd.h: Likewise.
9785 * posix/wordexp.h: Likewise.
9786 * pwd/pwd.h: Likewise.
9787 * resolv/netdb.h: Likewise.
9788 * resource/sys/resource.h: Likewise.
9789 * rt/aio.h: Likewise.
9790 * rt/bits/mqueue2.h: Likewise.
9791 * rt/mqueue.h: Likewise.
9792 * shadow/shadow.h: Likewise.
9793 * signal/signal.h: Likewise.
9794 * socket/send.c: Likewise.
9795 * socket/sendto.c: Likewise.
9796 * socket/sys/socket.h: Likewise.
9797 * stdio-common/printf.h: Likewise.
9798 * stdlib/bits/stdlib.h: Likewise.
9799 * stdlib/fmtmsg.h: Likewise.
9800 * stdlib/monetary.h: Likewise.
9801 * stdlib/stdlib.h: Likewise.
9802 * stdlib/ucontext.h: Likewise.
9803 * streams/stropts.h: Likewise.
9804 * string/argz.h: Likewise.
9805 * string/bits/string2.h: Likewise.
9806 * string/string.h: Likewise.
9807 * string/strings.h: Likewise.
9808 * sunrpc/rpc/auth.h: Likewise.
9809 * sunrpc/rpc/auth_des.h: Likewise.
9810 * sunrpc/rpc/clnt.h: Likewise.
9811 * sunrpc/rpc/netdb.h: Likewise.
9812 * sunrpc/rpc/pmap_clnt.h: Likewise.
9813 * sunrpc/rpc/xdr.h: Likewise.
9814 * sysdeps/generic/inttypes.h: Likewise.
9815 * sysdeps/generic/net/if.h: Likewise.
9816 * sysdeps/generic/sys/swap.h: Likewise.
9817 * sysdeps/gnu/net/if.h: Likewise.
9818 * sysdeps/gnu/utmpx.h: Likewise.
9819 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9820 * sysdeps/i386/i486/bits/string.h: Likewise.
9821 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9822 * sysdeps/s390/bits/string.h: Likewise.
9823 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9824 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9825 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9826 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9827 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9828 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9829 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9830 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9831 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9832 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9833 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9834 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9835 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9836 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9837 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9838 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9839 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9840 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9841 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9842 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9843 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9844 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9845 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9846 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9847 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9848 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9849 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9850 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9851 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9852 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9853 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9854 * sysvipc/sys/ipc.h: Likewise.
9855 * sysvipc/sys/msg.h: Likewise.
9856 * sysvipc/sys/sem.h: Likewise.
9857 * sysvipc/sys/shm.h: Likewise.
9858 * termios/termios.h: Likewise.
9859 * time/sys/time.h: Likewise.
9860 * time/time.h: Likewise.
9861 * wcsmbs/bits/wchar2.h: Likewise.
9862 * wcsmbs/uchar.h: Likewise.
9863 * wcsmbs/wchar.h: Likewise.
9864 * wctype/wctype.h: Likewise.
9865
0269750c
UD
9866 [BZ #13551]
9867 * Makeconfig: Remove all but ELF support including AIX support.
9868 * Makerules: Likewise.
9869 * config.h.in: Likewise.
9870 * config.make.in: Likewise.
9871 * configure: Likewise.
9872 * configure.in: Likewise.
9873 * csu/Makefile: Likewise.
9874 * csu/version.c: Likewise.
9875 * debug/Makefile: Likewise.
9876 * dlfcn/Makefile: Likewise.
9877 * elf/Makefile: Likewise.
9878 * extra-lib.mk: Likewise.
9879 * iconv/Makefile: Likewise.
9880 * include/libc-symbols.h: Likewise.
9881 * include/shlib-compat.h: Likewise.
9882 * resolv/Makefile: Likewise.
9883 * resolv/res_libc.c: Likewise.
9884 * rt/Makefile: Likewise.
9885 * sysdeps/i386/asm-syntax.h: Likewise.
9886 * sysdeps/i386/sysdep.h: Likewise.
9887 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9888 * sysdeps/mach/sysdep.h: Likewise.
9889 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9890 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9891 * sysdeps/s390/asm-syntax.h: Likewise.
9892 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9893 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9894 * sysdeps/sh/sysdep.h: Likewise.
9895 * sysdeps/unix/sparc/sysdep.h: Likewise.
9896 * sysdeps/wordsize-32/divdi3.c: Likewise.
9897 * sysdeps/x86_64/sysdep.h: Likewise.
9898
00bbd29b
UD
9899 * argp/Versions: Remove _argp_unlock_xxx.
9900
9901 [BZ #13559]
9902 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9903 * abilist/libBrokenLocale.abilist: Likewise.
9904 * abilist/libanl.abilist: Likewise.
9905 * abilist/libc.abilist: Likewise.
9906 * abilist/libcrypt.abilist: Likewise.
9907 * abilist/libdl.abilist: Likewise.
9908 * abilist/libm.abilist: Likewise.
9909 * abilist/libnsl.abilist: Likewise.
9910 * abilist/libpthread.abilist: Likewise.
9911 * abilist/libresolv.abilist: Likewise.
9912 * abilist/librt.abilist: Likewise.
9913 * abilist/libthread_db.abilist: Likewise.
9914 * abilist/libutil.abilist: Likewise.
9915 * abilist/libnss_db.abilist: New file.
9916
9917 * scripts/abilist.awk: Add support for indirect functions.
9918
a2693a0e
UD
9919 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9920
3f05895f
UD
9921 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9922
ecb6fb48
UD
9923 * shlib-versions: Remove entries for ports architectures.
9924
664f8cb9
UD
9925 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9926 files in ports.
9927 * elf/stackguard-macros.h: Remove support for IA-64.
9928 * elf/tst-auditmod1.c: Likewise.
9929 * sysdeps/generic/ldsodefs.h: Likewise.
9930
7ae81d88
UD
9931 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9932 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9933 configure files.
9934
bdeba135
UD
9935 [BZ #13552]
9936 * configure.in: Remove --enable-omitfp support.
9937 * FAQ.in: Adjust.
9938 * config.make.in: Likewise.
9939 * Makeconfig: Likewise.
9940 * manual/install.texi: Likewise.
9941
d75a0a62
UD
9942 In case anyone cares, the IA-64 architecture could move to ports.
9943 * sysdeps/ia64/*: Removed.
9944 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9945 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9946
dcc9756b
UD
9947 [BZ #13555]
9948 * configure.in: Remove entries for unsupported architectures.
9949
d3761ebc 9950 [BZ #13533]
9954432e
UD
9951 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9952 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9953 routines.
9954 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9955 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9956 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9957 fall back to using wcrtomb.
9958 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9959 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9960 renaming.
9961 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9962 * wcsmbs/tst-c16c32-1.c: New file.
9963
9964 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9965 local variable.
9966
c3a87236
UD
9967 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9968
28926a1b
UD
9969 * elf/tst-unique3.cc: Add explicit declaration of gets.
9970 * elf/tst-unique3lib.cc: Likewise.
9971 * elf/tst-unique3lib2.cc: Likewise.
9972 * elf/tst-unique4.cc: Likewise.
9973
df78418a
UD
9974 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9975
8ecd6b2a
JM
99762012-01-06 Joseph Myers <joseph@codesourcery.com>
9977
9978 [BZ #13566]
9979 * assert/assert.h (static_assert): Don't define for C++.
9980 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9981 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9982
9f115170
UD
99832012-01-03 Ulrich Drepper <drepper@gmail.com>
9984
5e0d0300
UD
9985 * iconv/loop.c (single loop): Fix assertion in storing of
9986 remaining bytes.
9987
9f115170
UD
9988 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9989
81fb02b0
UD
99902012-01-01 Ulrich Drepper <drepper@gmail.com>
9991
9992 * posix/getconf.c: Update copyright year.
9993 * nss/getent.c: Likewise.
a316c1f6 9994 * nss/makedb.c: Likewise.
81fb02b0
UD
9995 * iconv/iconvconfig.c: Likewise.
9996 * iconv/iconv_prog.c: Likewise.
9997 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9998 * elf/pldd.c: Likewise.
9999 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
10000 * catgets/gencat.c: Likewise.
10001 * csu/version.c: Likewise.
10002 * elf/ldd.bash.in: Likewise.
10003 * elf/sprof.c (print_version): Likewise.
10004 * locale/programs/locale.c: Likewise.
10005 * locale/programs/localedef.c: Likewise.
a316c1f6 10006 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
10007 * nscd/nscd.c (print_version): Likewise.
10008 * debug/xtrace.sh: Likewise.
10009 * malloc/memusage.sh: Likewise.
10010 * malloc/mtrace.pl: Likewise.
10011 * debug/catchsegv.sh: Likewise.
10012
2ba92745
JJ
100132011-12-30 Jakub Jelinek <jakub@redhat.com>
10014
10015 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10016 pure attribute.
10017
dadebdae
UD
100182011-12-24 Ulrich Drepper <drepper@gmail.com>
10019
d3761ebc 10020 [BZ #13533]
db6af3eb
UD
10021 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10022 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10023 transformations.
10024 * iconv/gconv_int.h: Likewise.
10025 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10026 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10027 from libc for GLIBC_2.16.
10028 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10029 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10030 * wcsmbs/uchar.h: Really define mbstate_t.
10031 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10032 * wcsmbs/c16rtomb.c: New file.
10033 * wcsmbs/mbrtoc16.c: New file.
10034 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10035 for C/POSIX locale.
10036 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10037 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10038
dadebdae
UD
10039 * wcsmbs/wchar.h: Add missing __restrict.
10040
67371b56
UD
100412011-12-23 Ulrich Drepper <drepper@gmail.com>
10042
74033a25
UD
10043 [BZ #13532]
10044 * time/Makefile (routines): Add timespec_get.
10045 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10046 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10047 timespec for ISO C11.
10048 * time/timespec_get.c: New file.
10049 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10050 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10051
380d7e87
UD
10052 [BZ #13531]
10053 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10054 * stdlib/stdlib.h: Declare aligned_alloc.
10055 * Versions.def: Add GLIBC_2.16 for libc.
10056 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10057
4e9e7a35
UD
10058 [BZ 13527]
10059 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10060 ISO C11.
10061
380d7e87 10062 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
10063 code.
10064
03a71829
UD
10065 [BZ #13528]
10066 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10067
839e283e
UD
10068 [BZ #13529]
10069 * assert/assert.h (static_assert): Define.
10070
ce5294e2 10071 * version.h: Update for 2.16 development version.
90fa7312 10072
8d44e150 10073 [BZ #13526]
d7809905
UD
10074 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10075 _ISOC11_SOURCE.
10076
c0da14cd
UD
10077 * version.h (RELEASE): Bump for 2.15 release.
10078 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10079
530a3249
MP
10080 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10081 Patch by Marek Polacek <mpolacek@redhat.com>.
10082
67371b56
UD
10083 * bits/byteswap.h: Protect long long constants with __extension__.
10084 * sysdeps/i386/bits/byteswap.h: Likewise.
10085 * sysdeps/ia64/bits/byteswap.h: Likewise.
10086 * sysdeps/s390/bits/byteswap.h: Likewise.
10087 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10088
15db4de1
LD
100892011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10090
10091 [BZ #13540]
bbe315ea
LD
10092 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10093 destination buffer.
15db4de1
LD
10094 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10095
2b2596b1
MP
100962011-12-23 Marek Polacek <polacek@redhat.com>
10097
10098 * elf/dl-addr.c (determine_info): Add inline keyword.
10099 * elf/tst-auditmod4b.c (check_avx): Likewise.
10100 * elf/tst-auditmod6b.c (check_avx): Likewise.
10101 * elf/tst-auditmod6c.c (check_avx): Likewise.
10102 * elf/tst-auditmod7b.c (check_avx): Likewise.
10103
70c6c246
UD
101042011-12-23 Ulrich Drepper <drepper@gmail.com>
10105
10106 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10107 !__SSE_MATH__.
10108
c044cf14
LD
101092011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10110
15db4de1 10111 [BZ #13540]
c044cf14
LD
10112 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10113 processing for last bytes.
10114
6b13d9d9
BH
101152011-08-06 Bruno Haible <bruno@clisp.org>
10116
d455f537
BH
10117 [BZ #13061]
10118 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10119 U+0385, not to U+1FEE.
10120
6b13d9d9
BH
10121 [BZ #13062]
10122 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10123 entry for U+00A5 U+0301.
10124
db910efd
UD
101252011-12-22 Ulrich Drepper <drepper@gmail.com>
10126
27deeafc
UD
10127 [BZ #13166]
10128 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10129 buffer for the output is too small.
10130
aed9d171
UD
10131 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10132 optimization.
10133
db910efd
UD
10134 [BZ #13185]
10135 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10136 SSE flags if possible.
10137
2bd779ae
LD
101382011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10139
e7f9dac3 10140 [BZ #13540]
2bd779ae
LD
10141 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10142 processing for last bytes.
10143
154bfc16
JM
101442011-12-22 Joseph Myers <joseph@codesourcery.com>
10145
10146 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10147 (syscall-list-default-options, syscall-list-default-condition)
10148 (syscall-list-includes): Define.
10149 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10150 list of ABIs and options and #if conditions for each ABI. Do not
10151 handle common syscalls between ABIs specially.
10152 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10153 Remove.
10154 (syscall-list-variants, syscall-list-32bit-options)
10155 (syscall-list-32bit-condition, syscall-list-64bit-options)
10156 (syscall-list-64bit-condition): Define.
10157 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10158 (syscall-list-variants, syscall-list-32bit-options)
10159 (syscall-list-32bit-condition, syscall-list-64bit-options)
10160 (syscall-list-64bit-condition): Define.
10161 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10162 Remove.
10163 (syscall-list-variants, syscall-list-32bit-options)
10164 (syscall-list-32bit-condition, syscall-list-64bit-options)
10165 (syscall-list-64bit-condition): Define.
10166 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10167 Remove.
10168 (syscall-list-variants, syscall-list-32bit-options)
10169 (syscall-list-32bit-condition, syscall-list-64bit-options)
10170 (syscall-list-64bit-condition): Define.
10171
21eaf3a5
UD
101722011-12-22 Ulrich Drepper <drepper@gmail.com>
10173
16c6f992
UD
10174 * locale/iso-639.def: Add brx entry.
10175
41043168
UD
10176 [BZ #13328]
10177 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10178 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10179
21eaf3a5
UD
10180 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10181 __feraiseexcept_renamed.
10182
e3a851a2
UD
101832011-12-21 Ulrich Drepper <drepper@gmail.com>
10184
4920765e
UD
10185 [BZ #13538]
10186 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10187 EPOLLET with unsigned values.
10188 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10189 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10190
e3a851a2
UD
10191 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10192 to large cancellation.
10193 * math/s_cacoshf.c: Likewise.
10194 * math/s_cacoshl.c: Likewise.
10195
b27e24b8
RK
101962011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10197
10198 [BZ #13305]
aebefeee 10199 [BZ #12786]
b27e24b8
RK
10200 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10201 * math/s_cacoshf.c: Likewise.
10202 * math/s_cacoshl.c: Likewise.
10203
ee190f67
UD
102042011-12-21 Ulrich Drepper <drepper@gmail.com>
10205
10206 [BZ #13439]
10207 * iconv/gconv.h: Define __GCONV_SWAP.
10208 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10209 * iconvdata/utf-16.c: Likewise.
10210 * iconvdata/utf-32.c: Likewise.
10211
707f25df
AS
102122011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10213
10214 [BZ #13524]
10215 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10216 numerator after shifting it by one limb.
10217
d2daaa1e
RÁE
102182011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10219
10220 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10221 under [__USE_EXTERN_INLINES].
10222
a4647e72
UD
102232011-12-17 Ulrich Drepper <drepper@gmail.com>
10224
10225 [BZ #13446]
10226 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10227
f0b264f1
AZ
102282011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10229
10230 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10231 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10232 optimized code.
10233 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10234 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10235 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10236 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10237 for strncasecmp/strncasecmp_l compilation.
10238 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10239 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10240
8ef4f244
MP
102412011-12-08 Marek Polacek <mpolacek@redhat.com>
10242
10243 [BZ #13484]
10244 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10245 of __asm__.
10246
97ac2654
UD
102472011-12-17 Ulrich Drepper <drepper@gmail.com>
10248
10249 [BZ #13506]
10250 * time/tzfile.c (__tzfile_read): Check values from file header.
10251
91d2a845
WS
102522011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10253
10254 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10255 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10256 * powerpc/powerpc32/dl-start.S: Likewise.
10257 * powerpc/powerpc32/elf/start.S: Likewise.
10258 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10259 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10260 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10261 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10262 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10263 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10264 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10265 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10266 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10267 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10268 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10269 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10270 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10271 * powerpc/powerpc32/memset.S: Likewise.
10272 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10273 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10274 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10275 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10276 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10277 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10278 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10279 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10280 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10281 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10282 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10283 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10284 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10285
a1267ba1
AZ
102862011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10287
10288 * math/libm-test.inc: Added more nearbyint tests.
10289 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10290 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10291 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10292 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10293
ad8ac1bd
RL
102942011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10295
10296 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10297 FD_CLOEXEC.
10298
1d3e4b61
UD
102992011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10300
10301 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10302 Add wcscpy-ssse3 wcscpy-c.
10303 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10304 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10305 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10306 * sysdeps/x86_64/wcschr.S: New file.
10307 * sysdeps/x86_64/wcsrchr.S: New file.
10308 * string/test-strcmp.c: Remove checking of wcscmp function for
10309 wrong alignments.
10310 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10311 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10312 wcsrchr-sse2 wcsrchr-c.
10313 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10314 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10315 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10316 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10317 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10318 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10319 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10320 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10321 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10322 * wcsmbc/wcschr.c (WCSCHR): New macro.
10323
5b330a2d
UD
103242011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10325
10326 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10327 * wcsmbs/test-wcsrchr.c: New file.
10328 * string/test-strrchr.c: Add wcsrchr support.
10329 (WIDE): New macro.
10330 * wcsmbs/test-wcscpy.c: New file.
10331 * string/test-strcpy.c: Add wcscpy support.
10332 (WIDE): New macro.
26428b7c 10333
f039c043
UD
103342011-12-10 Ulrich Drepper <drepper@gmail.com>
10335
10336 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10337 the inner loop.
10338
850fb039
AS
103392011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10340
10341 [BZ #13472]
10342 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10343
4efbd5cb
UD
103442011-12-04 Ulrich Drepper <drepper@gmail.com>
10345
52ff5dd0 10346 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10347 Minor optimizations.
52ff5dd0 10348
4efbd5cb
UD
10349 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10350 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10351 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10352
8a426e12
UD
103532011-12-03 Ulrich Drepper <drepper@gmail.com>
10354
aff2453d
UD
10355 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10356 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10357 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10358 for gcc to avoid warnings.
10359 * inet/Makefile (tests): Add tst-checks.
10360 * inet/tst-checks.c: New file.
10361
10362 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10363 warning.
10364
10365 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10366 __wmemcmp_sse2.
10367
10368 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10369 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10370
8a426e12
UD
10371 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10372
9bea3473
UD
103732011-12-02 Ulrich Drepper <drepper@gmail.com>
10374
3a965496
UD
10375 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10376 problem.
10377
9bea3473
UD
10378 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10379
f101631b
UD
103802011-11-29 Joseph Myers <joseph@codesourcery.com>
10381
10382 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10383 conditional on GCC version.
10384 (__arch_compare_and_exchange_val_8_acq)
10385 (__arch_compare_and_exchange_val_16_acq)
10386 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10387 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10388 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10389
a98275aa
UD
103902011-12-02 Joseph Myers <joseph@codesourcery.com>
10391
10392 * sysdeps/sh/backtrace.c: New file.
10393
d4cc29a2
AS
103942011-12-02 Andreas Schwab <schwab@redhat.com>
10395
10396 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10397 parenthesis.
10398
6257af2d
AS
103992011-12-01 Andreas Schwab <schwab@redhat.com>
10400
10401 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10402 falling back to utime.
10403
b5f44c1a
AS
104042011-11-30 Andreas Schwab <schwab@redhat.com>
10405
10406 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10407 expectations for float.
10408
f3a6cc0a
AS
104092011-11-29 Andreas Schwab <schwab@redhat.com>
10410
10411 * locale/weight.h (findidx): Add parameter len.
10412 * locale/weightwc.h (findidx): Likewise.
10413 * posix/fnmatch_loop.c (FCT): Adjust caller.
10414 * posix/regcomp.c (build_equiv_class): Likewise.
10415 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10416 * posix/regexec.c (check_node_accept_bytes): Likewise.
10417 * string/strcoll_l.c (STRCOLL): Likewise.
10418 * string/strxfrm_l.c (STRXFRM): Likewise.
10419
9d65ea3a
UD
104202011-11-17 Ulrich Drepper <drepper@gmail.com>
10421
10422 * Makefile.in: Remove CVSOPT handling.
10423 * configure.in: Remove use of AC_REVISION.
10424 * iconvdata/Makefile (distribute): No need to filter out CVS.
10425 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10426 handling.
10427
5583a086
AS
104282011-11-16 Andreas Schwab <schwab@redhat.com>
10429
10430 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10431 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10432 [USE_AS_STRNCASECMP_L]: Likewise.
10433 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10434 NO_TLS_DIRECT_SEG_REFS.
10435 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10436 Fix argument offsets for non-PIC.
10437 [USE_AS_STRNCASECMP_L]: Likewise.
10438 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10439 NO_TLS_DIRECT_SEG_REFS.
10440
d62a8200
UD
104412011-11-15 Ulrich Drepper <drepper@gmail.com>
10442
9d65ea3a 10443 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10444 O_CLOEXEC.
10445 * locale/loadlocale.c (_nl_load_locale): Likewise.
10446
09f93bd3
AS
104472011-11-15 Andreas Schwab <schwab@redhat.com>
10448
446514f9
AS
10449 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10450 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10451 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10452 (SYSCALL_GETTIME): Set errno on error.
10453
09f93bd3
AS
10454 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10455 count references to noai6ai_cached.
10456
312be3f9
UD
104572011-11-15 Ulrich Drepper <drepper@gmail.com>
10458
10459 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10460
10461 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10462 FD_CLOEXEC for /proc/self/maps.
10463
10464 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10465 FD_CLOEXEC for /proc/meminfo.
10466
10467 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10468 gai.conf.
10469
10470 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10471 FD_CLOEXEC for given file.
10472
10473 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10474
10475 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10476 FD_CLOEXEC for /etc/hosts.
10477 (_gethtent): Likewise.
10478
10479 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10480
10481 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10482 cancellation and set FD_CLOEXEC for /etc/netgroup.
10483
10484 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10485 reading /etc/publickey.
10486
10487 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10488 allow cancellation when reading /etc/group.
10489
10490 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10491 cancellation.
10492 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10493
10494 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10495 when using data file.
10496
10497 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10498
10499 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10500 (write_nis_obj): Use "c" and "e" in fopen.
10501
10502 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10503
10504 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10505
10506 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10507
10508 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10509
10510 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10511 locale.alias.
10512
10513 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10514
10515 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10516
10517 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10518
10519 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10520 file parsing and set FD_CLOEXEC.
10521
82af0fa8
UD
105222011-11-14 Ulrich Drepper <drepper@gmail.com>
10523
10524 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10525
a5fb313c
AS
105262011-11-14 Andreas Schwab <schwab@redhat.com>
10527
10528 * malloc/arena.c (arena_get2): Don't call reused_arena when
10529 _int_new_arena failed.
10530
6abf3465
UD
105312011-11-14 Ulrich Drepper <drepper@gmail.com>
10532
10533 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10534 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10535 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10536 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10537 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10538 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10539 to compile strcasecmp and strncasecmp.
10540 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10541 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10542
10543 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10544
76e3966e
UD
105452011-11-13 Ulrich Drepper <drepper@gmail.com>
10546
10547 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10548 locale-defines.sym to gen-as-const-headers.
10549 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10550 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10551 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10552 to compile strcasecmp and strncasecmp.
10553 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10554 strcasecmp_l and strncasecmp_l.
10555 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10556 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10557 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10558 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10559 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10560 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10561 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10562 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10563 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10564 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10565 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10566
ab26144e
UD
105672011-11-12 Ulrich Drepper <drepper@gmail.com>
10568
7edb22ef
UD
10569 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10570 result of SYSDEP_GETTIME_CPU to retval.
10571 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10572 parameter list to macro. Remove trailing semicolon. Adjust users.
10573
9694fc44
UD
10574 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10575 variable.
10576
8ad89ef8
UD
10577 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10578 mantissa words.
10579 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10580
0c822ef9
UD
10581 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10582 from unused variable.
10583
874e0564
UD
10584 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10585 DWARF definitions.
10586 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10587 for assembling.
10588
3a2edc79
UD
10589 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10590 over namespaces.
10591
f3c2577f
UD
10592 * sunrpc/rpc_prot.c (rejected): Fix case value.
10593
294ce126
UD
10594 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10595 unsigned long long int to avoid warnings in shift.
10596
5e2b63c6
UD
10597 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10598 of use of trans.
10599 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10600 variable tmp.
10601
e7f4b08e
UD
10602 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10603 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10604 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10605
ab26144e
UD
10606 * nis/nis_table.c (nis_list): Use variable of correct type for
10607 result of __follow_path call.
10608
8a6d5255
AZ
106092011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10610
10611 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10612 of math functions ceil, trunc, floor, round, and sqrt, when
10613 avaliable on the platform.
10614 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10615 name clash.
10616 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10617 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10618 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10619
aaddc98c
MP
106202011-10-30 Marek Polacek <mpolacek@redhat.com>
10621
10622 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10623 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10624
95b7042b
RM
106252011-11-11 Roland McGrath <roland@hack.frob.com>
10626
10627 * include/unistd.h: Fix __readlink return type.
10628 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10629
57769839
UD
106302011-11-11 Ulrich Drepper <drepper@gmail.com>
10631
10632 * stdlib/ucontext.h: Undo last change for makecontext.
10633
edc5984d
AS
106342011-11-11 Andreas Schwab <schwab@redhat.com>
10635
98591e58
AS
10636 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10637
edc5984d
AS
10638 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10639 * setjmp/setjmp.h: Mark functions as non-leaf.
10640 * setjmp/bits/setjmp2.h: Likewise.
10641 * stdlib/ucontext.h: Likewise.
10642
77cdc054
AS
106432011-11-10 Andreas Schwab <schwab@redhat.com>
10644
10645 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10646 (reused_arena): Don't check arena limit.
10647 (arena_get2): Atomically check arena limit.
10648
fe72eebd
UD
106492011-11-08 Ulrich Drepper <drepper@gmail.com>
10650
5f078c32
UD
10651 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10652 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10653
fe72eebd
UD
10654 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10655 instructions.
10656
ae1bc2fa
AS
106572011-11-07 Andreas Schwab <schwab@redhat.com>
10658
7583a88d
AS
10659 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10660 handler when locking.
10661
ae1bc2fa
AS
10662 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10663 Fix size of allocated buffer.
10664
10fb0bfa
AS
106652011-11-04 Andreas Schwab <schwab@redhat.com>
10666
998832a4
AS
10667 [BZ #10103]
10668 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10669 declarations for long double functions.
10670 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10671
10fb0bfa
AS
10672 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10673
3d7ba52b
AS
106742011-11-03 Andreas Schwab <schwab@redhat.com>
10675
a9ae54a1
AS
10676 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10677 installed.
10678
3d7ba52b
AS
10679 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10680 is disabled.
10681
bc8db248
ST
106822011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10683
10684 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10685
45b96dd6
AS
106862011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10687
647776f6
AS
10688 * include/alloca.h (stackinfo_alloca_round): Define.
10689 (extend_alloca): Use it.
10690 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10691 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10692 here.
10693
d91a8b93
AS
10694 * scripts/check-local-headers.sh: Ignore libaudit.h.
10695
45b96dd6
AS
10696 * nscd/Makefile (extra-objs): Make recursively expanded.
10697
432d41ce
UD
106982011-11-01 Ulrich Drepper <drepper@gmail.com>
10699
34372fc6
UD
10700 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10701 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10702
fadb59f8
UD
10703 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10704 * posix/tst-rfc3484-2.c: Likewise.
10705 * posix/tst-rfc3484-3.c: Likewise.
10706
78239589
UD
10707 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10708 process_vm_writev.
10709 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10710 process_vm_writev.
10711 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10712 process_vm_writev from libc using GLIBC_2.15 version.
10713
432d41ce
UD
10714 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10715
02f9c6cf
PP
107162011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10717
10718 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10719 stack usage.
10720
3a2c0242
UD
107212011-10-31 Ulrich Drepper <drepper@gmail.com>
10722
f4ec4833
UD
10723 [BZ #13367]
10724 * nss/getent.c (initgroups_keys): Show error message in case no group
10725 names are given.
10726
3a2c0242
UD
10727 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10728 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10729 __bump_nl_timestamp.
10730 * nscd/connections (nscd_init): When host database is served open
10731 netlink socket and request notification about configuration changes.
10732 (main_loop_poll): Track netlink file descriptor and bump timestamp
10733 in case data becomes available.
10734 (main_loop_epoll): Likewise.
10735 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10736 (database_pers_head): Add extra_data fileds.
10737 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10738 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10739 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10740 Adjust caller.
10741 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10742 in6ai data, call __free_in6ai.
10743 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10744 Add -DHAVE_NETLINK.
10745 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10746 interface information. Reuse previous data if netlink timestamp
10747 is not changed.
10748 (__bump_nl_timestamp): New function.
10749 (__free_in6ai): New function.
10750
636064eb
UD
107512011-10-30 Ulrich Drepper <drepper@gmail.com>
10752
10753 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10754 close_not_cancel_no_status here.
10755 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10756
9beb2334
UD
107572011-10-29 Ulrich Drepper <drepper@gmail.com>
10758
6ef76f3b
UD
10759 [BZ #13276]
10760 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10761 return value.
10762
0ffc4f3e 10763 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10764 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10765 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10766
cb95113e
UD
107672011-07-03 Andreas Jaeger <aj@suse.de>
10768
10769 [BZ #10709]
10770 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10771 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10772 * math/libm-test.inc (sin_test): Add test case.
10773
a1b560ff
UD
107742011-10-29 Ulrich Drepper <drepper@gmail.com>
10775
c9aaface
UD
10776 [BZ #13337]
10777 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10778 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10779
d272e7f1
UD
10780 * elf/chroot_canon.c (chroot_canon): Cleanups.
10781
1bc33071
UD
10782 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10783
1760874d
TJ
10784 [BZ #13335]
10785 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10786 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10787
51d91b18
UD
10788 * string/test-strchr.c: Make usable for strchrnul testing.
10789 * string/test-strchrnul.c: New file.
10790 * string/Makefile (strop-tests): Add strchrnul.
10791
a1b560ff 10792 * po/it.po: Update from translation team.
b611fb81 10793 * po/es.po: Likewise.
a1b560ff 10794
a5b81e1f
UD
107952011-10-28 Ulrich Drepper <drepper@gmail.com>
10796
fd52bc6d
UD
10797 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10798 the three constants needed as parameters. Drop the others.
10799 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10800 __m128i_strloadu_tolower.
52e4b9eb
UD
10801 Create and initialize variable zero and use it in all the places
10802 where _mm_setzero_si128 was used.
fd52bc6d 10803
a5b81e1f
UD
10804 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10805 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10806 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10807 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10808 anymore.
10809 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10810 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10811 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10812 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10813 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10814 __mpranred, __mptan.
10815 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10816 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10817 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10818 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10819 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10820 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10821 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10822 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10823 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10824
b4343346
AS
108252011-10-28 Andreas Schwab <schwab@redhat.com>
10826
0c92d8a8
AS
10827 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10828 redefine if SHARED.
10829 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10830
b4343346
AS
10831 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10832 wide char related routines to wcsmbs subdir.
10833
3871f58f
AS
108342011-10-27 Andreas Schwab <schwab@redhat.com>
10835
10836 [BZ #13344]
10837 * misc/sys/cdefs.h (__THROWNL): Define.
10838 * posix/unistd.h: Use __THREADNL instead of __THREAD
10839 for memory synchronization functions.
10840
94d44d9f
RM
108412011-10-26 Roland McGrath <roland@hack.frob.com>
10842
21b64b15 10843 [BZ #13349]
94d44d9f
RM
10844 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10845 doesn't exist.
10846 * manual/stdio.texi (Obstack Streams): Node removed.
10847
f6ce9294
AS
108482011-10-26 Andreas Schwab <schwab@redhat.com>
10849
80479147
AS
10850 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10851 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10852 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10853
f6ce9294
AS
10854 * math/math_private.h (math_force_eval): Allow non-addressable
10855 arguments.
10856 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10857
618280a1
UD
108582011-10-25 Ulrich Drepper <drepper@gmail.com>
10859
e0016b11
UD
10860 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10861 file is not needed.
10862
10863 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10864 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10865 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10866 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10867 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10868 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10869 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10870 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10871 Add AVX variants.
10872 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10873 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10874 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10875 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10876 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10877 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10878 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10879 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10880 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10881 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10882 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10883 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10884 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10885 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10886 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10887 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10888 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10889 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10890 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10891
10892 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10893 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10894
618280a1
UD
10895 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10896 place. Use VEX encoding when compiling for AVX.
10897
37822576
AS
108982011-10-25 Andreas Schwab <schwab@redhat.com>
10899
1f1e1947
AS
10900 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10901 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10902
37822576
AS
10903 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10904
31ea014d
UD
109052011-10-25 Ulrich Drepper <drepper@gmail.com>
10906
d7826aa1 10907 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10908 useless if() expression.
d7826aa1
UD
10909 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10910 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10911 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10912 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10913 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10914 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10915 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10916 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10917 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10918 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10919 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10920 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10921 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10922 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10923 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10924 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10925 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10926 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10927 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10928
31ea014d
UD
10929 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10930
16437fec
AS
109312011-10-25 Andreas Schwab <schwab@redhat.com>
10932
10933 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10934 condition.
10935 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10936
31d3cc00
UD
109372011-10-25 Ulrich Drepper <drepper@gmail.com>
10938
10939 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10940 .text section. Avoid duplicate constants.
10941 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10942 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10943 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10944 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10945 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10946 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10947 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10948 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10949 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10950 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10951 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10952 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10953 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10954 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10955 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10956 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10957 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10958 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10959 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10960 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10961 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10962 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10963 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10964 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10965 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10966 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10967 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10968 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10969 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10970 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10971 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10972 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10973 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10974 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10975 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10976 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10977 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10978 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10979 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10980 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10981 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10982 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10983 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10984 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10985 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10986
58985aa9
UD
109872011-10-24 Ulrich Drepper <drepper@gmail.com>
10988
202c9deb
UD
10989 * sysdeps/x86_64/dla.h: Move to ...
10990 * sysdeps/x86_64/fpu/dla.h: ...here.
10991 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10992 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10993
af968f62
UD
10994 * config.make.in: Add have-mfma4 entry.
10995 * configure.in: Substitute libc_cv_cc_fma4.
10996 * math/Makefile (dbl-only-routines): Add sincostab.
10997 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10998 Use __sincostab not sincos.
10999 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11000 name is a macro.
11001 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11002 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11003 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11004 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11005 using __copysign.
11006 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11007 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11008 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11009 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11010 and __inv.
11011 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11012 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11013 __copysign.
11014 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11015 define aliases when function name is a macro.
11016 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11017 sysdeps/ieee754/dbl-64/sincos.tbl.
11018 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11019 fma4-enabled routines.
11020 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11021 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11022 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11023 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11024 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11025 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11026 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11027 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11028 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11029 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11030 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11031 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11032 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11033 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11034 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11035 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11036 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11037 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11038 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11039 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11040 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11041 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11042 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11043 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11044 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11045 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11046 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11047 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11048 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11049 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11050
58985aa9
UD
11051 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11052 rename.
11053 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11054 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11055 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11057 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11058 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11059 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11060 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11061
a201fbcf
AS
110622011-10-24 Andreas Schwab <schwab@redhat.com>
11063
11064 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11065
fc2ee42a
LD
110662011-10-23 Ulrich Drepper <drepper@gmail.com>
11067
bb3129bd
UD
11068 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11069
0275fff8
UD
11070 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11071 prediction.
11072 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11073
2fa2ae85
UD
11074 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11075 Remove unused variable magic_bits.
11076 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11077
fc2ee42a
LD
11078 * string/strnlen.c: Define and use STRNLEN macro.
11079 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11080 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11081 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11082 * wcsmbs/wcslen.c: Define and use WCSLEN.
11083 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11084 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11085 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11086 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11087 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11088 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11089 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11090
ce7dd29f
LD
110912011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11092
11093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11094 strnlen-sse2-no-bsf.
11095 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11096 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11097 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11098 Add strnlen support.
11099 (USE_AS_STRNLEN): New macro.
11100 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11101 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11102 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11103 * sysdeps/x86_64/wcslen.S: New file.
11104
979c70a3
MZ
111052011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11106
11107 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11108 XMM-moves are used for copying on small sizes.
11109
2d09f82f
LD
111102011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11111
11112 * wcsmbs/Makefile (strop-tests): Add wcschr.
11113 * wcsmbs/test-wcschr.c: New file.
11114 * string/test-strchr.c: Update.
11115 Add wcschr support.
11116 (WIDE): New macro.
11117
619fccca
LD
111182011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11119
2d09f82f 11120 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
11121 * wcsmbs/test-wcslen.c: New file.
11122 * string/test-strlen.c: Update.
11123 Add wcslen support.
11124 (WIDE): New macro.
11125
09f699ea
UD
111262011-10-23 Ulrich Drepper <drepper@gmail.com>
11127
11128 * po/it.po: Update from translation team.
11129
95584d3b
LD
111302011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11131
11132 * sysdeps/x86_64/wcscmp.S: Update.
11133 Fix wrong comparison semantics.
11134 wcscmp shall use signed comparison not unsigned.
11135 Don't use substraction to avoid overflow bug.
11136 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11137 * wcsmbc/wcscmp.c: Likewise.
11138 * string/test-strcmp.c: Likewise.
11139 Add new tests to check cases with negative values.
11140
c8b3296b
UD
111412011-10-23 Ulrich Drepper <drepper@gmail.com>
11142
11143 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11144 * sysdeps/x86_64/dla.h: ...here. New file.
11145 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11146 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11147 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11148 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11149 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11150 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11151 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11152 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11153 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11154
246ad57a
AS
111552011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11156
11157 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11158 __ynl_finite aliases.
11159
a1a87169
UD
111602011-10-22 Ulrich Drepper <drepper@gmail.com>
11161
0d355eb7
UD
11162 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11163
a1a87169
UD
11164 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11165 define DLA_FMA.
11166 [DLA_FMA] (EMULV): Use DLA_FMA.
11167 [DLA_FMA] (MUL12): Use EMULV.
11168 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11169 that are not needed.
11170 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11171 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11172 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11173 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11174 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11175 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11176 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11177
ee2aafe0
AS
111782011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11179
11180 * math/s_nan.c: Undef __nan.
11181 * math/s_nanf.c: Undef __nanf.
11182 * math/s_nanl.c: Undef __nanl.
11183 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11184 "math_private.h".
11185
bc62c2fb
UD
111862011-10-22 Ulrich Drepper <drepper@gmail.com>
11187
77425c63
UD
11188 * math/s_catan.c: Add branch predictions.
11189 * math/s_catanf.c: Likewise.
11190 * math/s_catanh.c: Likewise.
11191 * math/s_catanhf.c: Likewise.
11192 * math/s_catanhl.c: Likewise.
11193 * math/s_catanl.c: Likewise.
11194 * math/s_cexp.c: Likewise.
11195 * math/s_cexpf.c: Likewise.
11196 * math/s_cexpl.c: Likewise.
11197 * math/s_clog.c: Likewise.
11198 * math/s_clog10.c: Likewise.
11199 * math/s_clog10f.c: Likewise.
11200 * math/s_clog10l.c: Likewise.
11201 * math/s_clogf.c: Likewise.
11202 * math/s_clogl.c: Likewise.
11203 * math/s_csqrt.c: Likewise.
11204 * math/s_csqrtf.c: Likewise.
11205 * math/s_csqrtl.c: Likewise.
11206 * math/s_ctanf.c: Likewise.
11207 * math/s_ctanh.c: Likewise.
11208 * math/s_ctanhf.c: Likewise.
11209 * math/s_ctanhl.c: Likewise.
11210 * math/s_ctanl.c: Likewise.
11211
bc62c2fb
UD
11212 * math/math_private.h: Define __nan, __nanf, __nanl.
11213 * math/s_cacosh.c: Include <math_private.h>.
11214 * math/s_cacoshl.c: Likewise.
11215 * math/s_casinh.c: Likewise.
11216 * math/s_casinhf.c: Likewise.
11217 * math/s_casinhl.c: Likewise.
11218 * math/s_ccos.c: Rely entire on ccosh.
11219 * math/s_ccosf.c: Rely entire on ccoshf.
11220 * math/s_ccosl.c: Rely entirely on ccoshl.
11221 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11222 Remove tests for FE_INVALID.
11223 * math/s_ccoshf.c: Likewise.
11224 * math/s_ccoshl.c: Likewise.
11225 * math/s_csin.c: Likewise.
11226 * math/s_csinf.c: Likewise.
11227 * math/s_csinh.c Likewise.
11228 * math/s_csinhf.c: Likewise.
11229 * math/s_csinhl.c: Likewise.
11230 * math/s_csinl.c: Likewise.
11231 * math/s_ctan.c: Likewise.
11232 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11233 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11234 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11235
8ec250a4
UD
112362011-10-21 Ulrich Drepper <drepper@gmail.com>
11237
c196fed8
UD
11238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11239 compilation problems.
11240
8ec250a4
UD
11241 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11242 __builtin_expect.
11243
8d4f46c6
UD
112442011-10-20 Ulrich Drepper <drepper@gmail.com>
11245
ed72b654
UD
11246 * sysdeps/i386/configure.in: Test for -mfma4 option.
11247 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11248 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11249 COMMON_CPUID_INDEX_80000001.
11250 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11251 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11252 use it if FMA3 is not supported.
11253 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11254
8d4f46c6
UD
11255 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11256 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11257
d45c60c2
AS
112582011-10-20 Andreas Schwab <schwab@redhat.com>
11259
11260 [BZ #12892]
11261 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11262 it would create a cycle with a link time dependency.
11263
d9a4d2ab
UD
112642011-10-19 Ulrich Drepper <drepper@gmail.com>
11265
855d1560
UD
11266 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11267 instruction.
11268 * string/Makefile (strop-tests): Add rawmemchr.
11269 * string/test-rawmemchr.c: New file.
11270
d9a4d2ab
UD
11271 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11272 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11273 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11274 when compiling str{,n}casecmp and when AVX is available. Hook up
11275 new optimized code in initializers.
11276
8f3b1ffe
AS
112772011-10-19 Andreas Schwab <schwab@redhat.com>
11278
11279 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11280 __feraiseexcept instead of feraiseexcept.
11281
d38f1dba
UD
112822011-10-18 Ulrich Drepper <drepper@gmail.com>
11283
d9a8d0ab
UD
11284 * math/math_private.h: Define defaults for libc_fetestexcept and
11285 libc_feupdateenv.
11286 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11287 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11288 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11289 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11290 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11291 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11292 libc_fetestexcept and libc_feupdateenv.
11293
4855e3dd
UD
11294 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11295 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11296 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11297 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11298 libc_feholdexcept_setround.
11299
581d30e3
UD
11300 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11301 Add s_nearbyint-c and s_nearbyintf-c.
11302 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11303 nearbyintf inlines.
11304 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11305 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11306 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11307 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11308
d38f1dba
UD
11309 * math/math_private.h: Define defaults for libc_fegetround,
11310 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11311 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11312 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11313 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11314 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11315 standard functions.
11316 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11317 Remove comments and hacks for old compiler versions.
11318 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11319 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11320 libc_feholdexceptl.
11321
caa6c9d8
AS
113222011-10-18 Andreas Schwab <schwab@redhat.com>
11323
11324 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11325 (__feraiseexcept_renamed): Add __NTH.
11326 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11327 namespace violations.
11328
97c066e6
UD
113292011-10-17 Ulrich Drepper <drepper@gmail.com>
11330
99ce7b04
UD
11331 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11332
1004d182
UD
11333 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11334
228a984d
UD
11335 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11336 recently added interfaces.
11337 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11338
c8553a6a
UD
11339 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11340 about macro parameter expansion.
11341
ed22dcf6
UD
11342 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11343 __NO_MATH_INLINES is defined. Cleanups.
11344
11345 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11346 and __floorf is target has SSE4.1.
11347 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11348 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11349 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11350 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11351
b171c137
UD
11352 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11353 name.
11354 (floorf): Likewise.
11355
97c066e6
UD
11356 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11357
629f62ef
AS
113582011-10-17 Andreas Schwab <schwab@redhat.com>
11359
49a43d80
AS
11360 * misc/sys/cdefs.h: Fix last change.
11361
629f62ef
AS
11362 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11363 database lookup.
11364
e453f6cd
UD
113652011-10-16 Ulrich Drepper <drepper@gmail.com>
11366
aa78043a
UD
11367 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11368
ad0f5cad
UD
11369 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11370 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11371 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11372 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11373 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11374 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11375 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11376 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11377 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11378 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11379 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11380 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11381 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11382 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11383 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11384 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11385 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11386 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11387 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11388 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11389 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11390 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11391
11392 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11393 ceil, ceilf, floor, floorf.
11394
11395 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11396 Perform IRELATIVE relocations last.
11397
e453f6cd
UD
11398 * elf/do-rel.h: Add another parameter nrelative, replacing the
11399 local variable with the same name. Change name of the function
11400 to end in Rel or Rela (uppercase).
11401 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11402 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11403 elf_dynamic_do_##reloc function.
11404
fd5bdc09
UD
114052011-10-15 Ulrich Drepper <drepper@gmail.com>
11406
79b195b5
UD
11407 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11408 is sufficient, at least on modern CPUs.
11409
d4a28569
UD
11410 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11411
b61099b5
UD
11412 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11413 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11414
bcf01e6d
UD
11415 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11416 __expl_finite.
11417 * math/bits/math-finite.h: Add entries for exp.
11418 * math/e_expl.c: Add __*_finite alias.
11419 * sysdeps/i386/fpu/e_exp.S: Likewise.
11420 * sysdeps/i386/fpu/e_expf.S: Likewise.
11421 * sysdeps/i386/fpu/e_expl.c: Likewise.
11422 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11423 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11424 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11425 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11426 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11427 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11428 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11429
ba1a0d59
UD
11430 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11431 is sufficient, at least on modern CPUs.
11432
fd5bdc09
UD
11433 * ctype/ctype-info.c (__ctype_init): Define.
11434 * include/ctype.h (__ctype_init): Declare.
11435 (__ctype_b_loc): The variable is always initialized.
11436 (__ctype_toupper_loc): Likewise.
11437 (__ctype_tolower_loc): Likewise.
11438 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11439 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11440
7872cfb0
AS
114412011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11442
b468825a
AS
11443 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11444
7872cfb0
AS
11445 * configure.in: Also look in $cxxmachine/include for C++ system
11446 headers.
11447
be13f7bf
LD
114482011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11449
11450 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11451 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11452 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11453 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11454 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11455 (USE_AS_WMEMCMP): New macro.
11456 Fixing indents.
11457 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11458 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11459 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11460 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11461 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11462 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11463 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11464 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11465 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11466 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11467 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11468 (USE_AS_WMEMCMP): New macro.
11469 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11470 * sysdeps/string/test-memcmp.c: Update.
11471 Fix simple_wmemcmp.
11472 Add new tests.
11473 * wcsmbs/wmemcmp.c: Update.
11474 (WMEMCMP): New macro.
11475 Fix overflow bug.
11476
556a2007
AJ
114772011-10-12 Andreas Jaeger <aj@suse.de>
11478
11479 [BZ #13268]
11480 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11481
538faaa7
UD
114822011-10-15 Ulrich Drepper <drepper@gmail.com>
11483
ab6737ff
UD
11484 * libio/iofwide.c (do_length): Avoid warning.
11485
538faaa7
UD
11486 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11487
396a21b1
UD
114882011-10-14 Ulrich Drepper <drepper@gmail.com>
11489
cdf2901f
UD
11490 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11491
38ad40ce
UD
11492 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11493 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11494 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11495 * sysdeps/i386/i686/fpu/e_log.S: New file.
11496 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11497 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11498
396a21b1
UD
11499 * ctype/ctype.h: Add support for inlined isXXX functions when
11500 compiling C++ code.
11501
6b1f68c9
AS
115022011-10-14 Andreas Schwab <schwab@redhat.com>
11503
349290c0
AS
11504 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11505
6b1f68c9
AS
11506 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11507
f2282d42
RM
115082011-10-13 Roland McGrath <roland@hack.frob.com>
11509
11510 [BZ #13291]
11511 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11512
5298ffa8
AS
115132011-10-13 Andreas Schwab <schwab@redhat.com>
11514
714fad23
AS
11515 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11516 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11517 feraiseexcept.
11518
81dcc7fb
AS
11519 * sysdeps/x86_64/memrchr.S: Check for zero size.
11520
5298ffa8
AS
11521 * string/stratcliff.c: Add memrchr tests.
11522
951fbcec
LD
115232011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11524
11525 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11526 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11527 rawmemchr-sse2 rawmemchr-sse2-bsf.
11528 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11529 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11530 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11531 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11532 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11533 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11534 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11535 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11536 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11537 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11538 * string/memrchr.c (MEMRCHR): New macro.
11539
0ac5ae23
UD
115402011-10-12 Ulrich Drepper <drepper@gmail.com>
11541
11542 Add integration with gcc's -ffinite-math-only and optimize wrapper
11543 functions in libm.
11544 * Versions.def: Define GLIBC_2.15 version for libm.
11545 * math/Makefile (headers): Add bits/math-finite.h.
11546 * math/bits/math-finite.h: New file.
11547 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11548 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11549 * math/e_acoshl.c: Add __*_finite alias.
11550 * math/e_acosl.c: Likewise.
11551 * math/e_asinl.c: Likewise.
11552 * math/e_atan2l.c: Likewise.
11553 * math/e_atanhl.c: Likewise.
11554 * math/e_coshl.c: Likewise.
11555 * math/e_exp10.c: Likewise.
11556 * math/e_exp10f.c: Likewise.
11557 * math/e_exp10l.c: Likewise.
11558 * math/e_exp2l.c: Likewise.
11559 * math/e_fmodl.c: Likewise.
11560 * math/e_gammal_r.c: Likewise.
11561 * math/e_hypotl.c: Likewise.
11562 * math/e_j0l.c: Likewise.
11563 * math/e_j1l.c: Likewise.
11564 * math/e_jnl.c: Likewise.
11565 * math/e_lgammal_r.c: Likewise.
11566 * math/e_log10l.c: Likewise.
11567 * math/e_log2l.c: Likewise.
11568 * math/e_logl.c: Likewise.
11569 * math/e_powl.c: Likewise.
11570 * math/e_sinhl.c: Likewise.
11571 * math/e_sqrtl.c: Likewise.
11572 * math/e_scalb.c: Completely rewritten and optimized.
11573 * math/e_scalbf.c: Likewise.
11574 * math/e_scalbl.c: Likewise.
11575 * math/w_acos.c: Likewise.
11576 * math/w_acosf.c: Likewise.
11577 * math/w_acosl.c: Likewise.
11578 * math/w_acosh.c: Likewise.
11579 * math/w_acoshf.c: Likewise.
11580 * math/w_acoshl.c: Likewise.
11581 * math/w_asin.c: Likewise.
11582 * math/w_asinf.c: Likewise.
11583 * math/w_asinl.c: Likewise.
11584 * math/w_atan2.c: Likewise.
11585 * math/w_atan2f.c: Likewise.
11586 * math/w_atan2l.c: Likewise.
11587 * math/w_atanh.c: Likewise.
11588 * math/w_atanhf.c: Likewise.
11589 * math/w_atanhl.c: Likewise.
11590 * math/w_exp10.c: Likewise.
11591 * math/w_exp10f.c: Likewise.
11592 * math/w_exp10l.c: Likewise.
11593 * math/w_fmod.c: Likewise.
11594 * math/w_fmodf.c: Likewise.
11595 * math/w_fmodl.c: Likewise.
11596 * math/w_j0.c: Likewise.
11597 * math/w_j0f.c: Likewise.
11598 * math/w_j0l.c: Likewise.
11599 * math/w_j1.c: Likewise.
11600 * math/w_j1f.c: Likewise.
11601 * math/w_j1l.c: Likewise.
11602 * math/w_jn.c: Likewise.
11603 * math/w_jnf.c: Likewise.
11604 * math/w_log.c: Likewise.
11605 * math/w_logf.c: Likewise.
11606 * math/w_logl.c: Likewise.
11607 * math/w_log10.c: Likewise.
11608 * math/w_log10f.c: Likewise.
11609 * math/w_log10l.c: Likewise.
11610 * math/w_log2.c: Likewise.
11611 * math/w_log2f.c: Likewise.
11612 * math/w_log2l.c: Likewise.
11613 * math/w_pow.c: Likewise.
11614 * math/w_powf.c: Likewise.
11615 * math/w_powl.c: Likewise.
11616 * math/w_remainder.c: Likewise.
11617 * math/w_remainderf.c: Likewise.
11618 * math/w_remainderl.c: Likewise.
11619 * math/w_scalb.c: Likewise.
11620 * math/w_scalbf.c: Likewise.
11621 * math/w_scalbl.c: Likewise.
11622 * math/w_sqrt.c: Likewise.
11623 * math/w_sqrtf.c: Likewise.
11624 * math/w_sqrtl.c: Likewise.
11625 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11626 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11627 used.
11628 * math/math_private.h: Declare __kernel_standard_f.
11629 * math/w_cosh.c: Remove cruft and optimize a bit.
11630 * math/w_coshf.c: Likewise.
11631 * math/w_coshl.c: Likewise.
11632 * math/w_exp2.c: Likewise.
11633 * math/w_exp2f.c: Likewise.
11634 * math/w_exp2l.c: Likewise.
11635 * math/w_hypot.c: Likewise.
11636 * math/w_hypotf.c: Likewise.
11637 * math/w_hypotl.c: Likewise.
11638 * math/w_lgamma.c: Likewise.
11639 * math/w_lgamma_r.c: Likewise.
11640 * math/w_lgammaf.c: Likewise.
11641 * math/w_lgammaf_r.c: Likewise.
11642 * math/w_lgammal.c: Likewise.
11643 * math/w_lgammal_r.c: Likewise.
11644 * math/w_sinh.c: Likewise.
11645 * math/w_sinhf.c: Likewise.
11646 * math/w_sinhl.c: Likewise.
11647 * math/w_tgamma.c: Likewise.
11648 * math/w_tgammaf.c: Likewise.
11649 * math/w_tgammal.c: Likewise.
11650 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11651 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11652 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11653 Minor optimizations. Pretty printing. Remove cruft.
11654 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11655 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11656 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11657 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11658 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11659 * sysdeps/i386/fpu/e_asin.S: Likewise.
11660 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11661 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11662 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11663 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11664 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11665 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11666 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11667 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11668 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11669 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11670 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11671 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11672 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11673 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11674 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11675 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11676 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11677 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11678 * sysdeps/i386/fpu/e_log.S: Likewise.
11679 * sysdeps/i386/fpu/e_log10.S: Likewise.
11680 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11681 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11682 * sysdeps/i386/fpu/e_log2.S: Likewise.
11683 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11684 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11685 * sysdeps/i386/fpu/e_logf.S: Likewise.
11686 * sysdeps/i386/fpu/e_logl.S: Likewise.
11687 * sysdeps/i386/fpu/e_pow.S: Likewise.
11688 * sysdeps/i386/fpu/e_powf.S: Likewise.
11689 * sysdeps/i386/fpu/e_powl.S: Likewise.
11690 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11691 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11692 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11693 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11694 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11695 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11696 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11697 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11698 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11699 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11700 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11701 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11702 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11703 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11704 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11705 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11706 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11707 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11708 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11709 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11710 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11711 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11712 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11713 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11714 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11715 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11716 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11717 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11718 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11719 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11720 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11721 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11722 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11723 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11724 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11725 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11726 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11727 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11728 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11729 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11730 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11731 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11732 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11733 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11734 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11735 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11736 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11737 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11738 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11739 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11740 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11741 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11742 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11743 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11744 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11745 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11746 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11747 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11748 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11749 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11750 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11751 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11752 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11753 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11754 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11755 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11756 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11757 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11758 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11759 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11760 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11761 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11762 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11763 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11764 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11765 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11766 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11767 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11768 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11769 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11770 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11771 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11772 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11773 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11774 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11775 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11776 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11777 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11778 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11779 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11780 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11781 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11782 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11783 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11784 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11785 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11786 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11787 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11788 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11789 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11790 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11791 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11792 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11793 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11794 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11795 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11796 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11797 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11798 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11799 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11800 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11801 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11802 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11803 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11804 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11805 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11806 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11807 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11808 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11809 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11810 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11811 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11812 (__isnanf): Likewise.
11813 (__isinf_ns): Likewise.
11814 (__isinf_nsf): Likewise.
11815 (__finite): Likewise.
11816 (__finitef): Likewise.
11817 (__ieee754_sqrt): Define as macro.
11818 (__ieee754_sqrtf): Define as macro.
11819 (__ieee754_sqrtl): Define as macro.
11820 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11821 inlined copy.
11822 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11823 __FINITE_MATH_ONLY__ consistent.
11824 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11825
12cc2fcd
AS
118262011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11827
a843a204
AS
11828 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11829 of rawmemchr.
11830
12cc2fcd
AS
11831 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11832
c853acd5
UD
118332011-10-09 Ulrich Drepper <drepper@gmail.com>
11834
11835 * po/ja.po: Update from translation team.
11836
c658d255
RM
118372011-10-08 Roland McGrath <roland@hack.frob.com>
11838
110946e4
RM
11839 * locale/programs/locarchive.c (prepare_address_space): New function.
11840 (create_archive, enlarge_archive, open_archive): Use it.
11841
50604220
RM
11842 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11843 inside [SHARED], where it is used.
11844
c658d255
RM
11845 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11846
11847 * nss/getent.c (netgroup_keys): Remove unused variable.
11848 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11849
6a621eb7
UD
118502011-10-08 Ulrich Drepper <drepper@gmail.com>
11851
7edb55ce
UD
11852 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11853 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11854 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11855 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11856 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11857 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11858 * math/Makefile (libm-calls): Add s_isinf_ns.
11859 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11860 * math/multc3.c: Likewise.
11861 * math/s_casin.c: Likewise.
11862 * math/s_casinf.c: Likewise.
11863 * math/s_casinl.c: Likewise.
11864 * math/s_ccos.c: Likewise.
11865 * math/s_ccosf.c: Likewise.
11866 * math/s_ccosl.c: Likewise.
11867 * math/s_ctan.c: Likewise.
11868 * math/s_ctanf.c: Likewise.
11869 * math/s_ctanh.c: Likewise.
11870 * math/s_ctanhf.c: Likewise.
11871 * math/s_ctanhl.c: Likewise.
11872 * math/s_ctanl.c: Likewise.
11873 * math/w_fmod.c: Likewise.
11874 * math/w_fmodf.c: Likewise.
11875 * math/w_fmodl.c: Likewise.
11876 * math/w_remainder.c: Likewise.
11877 * math/w_remainderf.c: Likewise.
11878 * math/w_remainderl.c: Likewise.
11879 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11880 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11881 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11882 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11883 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11884 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11885 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11886 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11887
187da0ae
UD
11888 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11889 of the number.
11890 * stdio-common/printf_fphex.c: Likewise.
11891 * stdio-common/printf_size.c: Likewise.
11892
9277c064
UD
11893 * math/e_exp10.c: Include math_private.h using <...> not "...".
11894 * math/e_exp10f.c: Likewise.
11895 * math/e_exp10l.c: Likewise.
11896 * math/e_exp2l.c: Likewise.
11897 * math/e_j0l.c: Likewise.
11898 * math/e_j1l.c: Likewise.
11899 * math/e_jnl.c: Likewise.
11900 * math/e_lgammal_r.c: Likewise.
11901 * math/e_rem_pio2l.c: Likewise.
11902 * math/e_scalb.c: Likewise.
11903 * math/e_scalbf.c: Likewise.
11904 * math/e_scalbl.c: Likewise.
11905 * math/k_cosl.c: Likewise.
11906 * math/k_sinl.c: Likewise.
11907 * math/k_tanl.c: Likewise.
11908 * math/s_cacoshf.c: Likewise.
11909 * math/s_catan.c: Likewise.
11910 * math/s_catanf.c: Likewise.
11911 * math/s_catanh.c: Likewise.
11912 * math/s_catanhf.c: Likewise.
11913 * math/s_catanhl.c: Likewise.
11914 * math/s_catanl.c: Likewise.
11915 * math/s_ccosh.c: Likewise.
11916 * math/s_ccoshf.c: Likewise.
11917 * math/s_ccoshl.c: Likewise.
11918 * math/s_cexp.c: Likewise.
11919 * math/s_cexpf.c: Likewise.
11920 * math/s_cexpl.c: Likewise.
11921 * math/s_clog.c: Likewise.
11922 * math/s_clog10.c: Likewise.
11923 * math/s_clog10f.c: Likewise.
11924 * math/s_clog10l.c: Likewise.
11925 * math/s_clogf.c: Likewise.
11926 * math/s_clogl.c: Likewise.
11927 * math/s_csin.c: Likewise.
11928 * math/s_csinf.c: Likewise.
11929 * math/s_csinh.c: Likewise.
11930 * math/s_csinhf.c: Likewise.
11931 * math/s_csinhl.c: Likewise.
11932 * math/s_csinl.c: Likewise.
11933 * math/s_csqrt.c: Likewise.
11934 * math/s_csqrtf.c: Likewise.
11935 * math/s_csqrtl.c: Likewise.
11936 * math/s_ctan.c: Likewise.
11937 * math/s_ctanf.c: Likewise.
11938 * math/s_ctanh.c: Likewise.
11939 * math/s_ctanhf.c: Likewise.
11940 * math/s_ctanhl.c: Likewise.
11941 * math/s_ctanl.c: Likewise.
11942 * math/s_ldexp.c: Likewise.
11943 * math/s_ldexpf.c: Likewise.
11944 * math/s_ldexpl.c: Likewise.
11945 * math/s_significand.c: Likewise.
11946 * math/s_significandf.c: Likewise.
11947 * math/s_significandl.c: Likewise.
11948 * math/w_acos.c: Likewise.
11949 * math/w_acosf.c: Likewise.
11950 * math/w_acosh.c: Likewise.
11951 * math/w_acoshf.c: Likewise.
11952 * math/w_acoshl.c: Likewise.
11953 * math/w_acosl.c: Likewise.
11954 * math/w_asin.c: Likewise.
11955 * math/w_asinf.c: Likewise.
11956 * math/w_asinl.c: Likewise.
11957 * math/w_atan2.c: Likewise.
11958 * math/w_atan2f.c: Likewise.
11959 * math/w_atan2l.c: Likewise.
11960 * math/w_atanh.c: Likewise.
11961 * math/w_atanhf.c: Likewise.
11962 * math/w_atanhl.c: Likewise.
11963 * math/w_cosh.c: Likewise.
11964 * math/w_coshf.c: Likewise.
11965 * math/w_coshl.c: Likewise.
11966 * math/w_dremf.c: Likewise.
11967 * math/w_exp10.c: Likewise.
11968 * math/w_exp10f.c: Likewise.
11969 * math/w_exp10l.c: Likewise.
11970 * math/w_exp2.c: Likewise.
11971 * math/w_exp2f.c: Likewise.
11972 * math/w_fmod.c: Likewise.
11973 * math/w_fmodf.c: Likewise.
11974 * math/w_fmodl.c: Likewise.
11975 * math/w_hypot.c: Likewise.
11976 * math/w_hypotf.c: Likewise.
11977 * math/w_hypotl.c: Likewise.
11978 * math/w_j0.c: Likewise.
11979 * math/w_j0f.c: Likewise.
11980 * math/w_j0l.c: Likewise.
11981 * math/w_j1.c: Likewise.
11982 * math/w_j1f.c: Likewise.
11983 * math/w_j1l.c: Likewise.
11984 * math/w_jn.c: Likewise.
11985 * math/w_jnf.c: Likewise.
11986 * math/w_jnl.c: Likewise.
11987 * math/w_lgamma.c: Likewise.
11988 * math/w_lgamma_r.c: Likewise.
11989 * math/w_lgammaf.c: Likewise.
11990 * math/w_lgammaf_r.c: Likewise.
11991 * math/w_lgammal.c: Likewise.
11992 * math/w_lgammal_r.c: Likewise.
11993 * math/w_log.c: Likewise.
11994 * math/w_log10.c: Likewise.
11995 * math/w_log10f.c: Likewise.
11996 * math/w_log10l.c: Likewise.
11997 * math/w_log2.c: Likewise.
11998 * math/w_log2f.c: Likewise.
11999 * math/w_log2l.c: Likewise.
12000 * math/w_logf.c: Likewise.
12001 * math/w_logl.c: Likewise.
12002 * math/w_pow.c: Likewise.
12003 * math/w_powf.c: Likewise.
12004 * math/w_powl.c: Likewise.
12005 * math/w_remainder.c: Likewise.
12006 * math/w_remainderf.c: Likewise.
12007 * math/w_remainderl.c: Likewise.
12008 * math/w_scalb.c: Likewise.
12009 * math/w_scalbf.c: Likewise.
12010 * math/w_scalbl.c: Likewise.
12011 * math/w_sinh.c: Likewise.
12012 * math/w_sinhf.c: Likewise.
12013 * math/w_sinhl.c: Likewise.
12014 * math/w_sqrt.c: Likewise.
12015 * math/w_sqrtf.c: Likewise.
12016 * math/w_sqrtl.c: Likewise.
12017 * math/w_tgamma.c: Likewise.
12018 * math/w_tgammaf.c: Likewise.
12019 * math/w_tgammal.c: Likewise.
12020
6a621eb7
UD
12021 * po/ja.po: Update from translation team.
12022
bf582445
AJ
120232011-09-29 Andreas Jaeger <aj@suse.de>
12024
f9efbf3a
AJ
12025 [BZ #13179]
12026 * sunrpc/netname.c (netname2host): Fix logic.
12027
bf582445
AJ
12028 [BZ #6779]
12029 [BZ #6783]
12030 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12031 correctly.
12032 * math/w_remainder.c (__remainder): Likewise.
12033 * math/w_remainderf.c (__remainderf): Likewise.
12034 * math/libm-test.inc (remainder_test): Add test cases.
12035
48693bea
AK
120362011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12037
12038 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12039 sdiv_qrnnd.
12040
42622229
LD
120412011-10-07 Ulrich Drepper <drepper@gmail.com>
12042
12043 * string/test-memcmp.c: Avoid unncessary #defines.
12044 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12045
093ecf92
LD
120462011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12047
12048 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12049 Use new sse2 version for core i3 - i7 as it's faster
12050 than sse42 version.
12051 (bit_Prefer_PMINUB_for_stringop): New.
12052 * sysdeps/x86_64/rawmemchr.S: Update.
12053 Replace with faster SSE2 version.
12054 * sysdeps/x86_64/memrchr.S: New file.
12055 * sysdeps/x86_64/memchr.S: Update.
12056 Replace with faster SSE2 version.
12057
fde56e5c
MP
120582011-09-12 Marek Polacek <mpolacek@redhat.com>
12059
12060 * elf/dl-load.c (lose): Add cast to avoid warning.
12061
21fd49a9
UD
120622011-10-07 Ulrich Drepper <drepper@gmail.com>
12063
5a06e643
UD
12064 * po/ca.po: Update from translation team.
12065
684ae515
UD
12066 * inet/getnetgrent_r.c: Hook up nscd.
12067 * nscd/Makefile (routines): Add nscd_netgroup.
12068 (nscd-modules): Add netgroupcache.
12069 (CFLAGS-netgroupcache.c): Define.
12070 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12071 (cache_search): Add const to second parameter.
12072 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12073 INNETGR.
12074 (dbs): Add netgrdb entry.
12075 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12076 (verify_persistent_db): Handle netgrdb.
12077 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12078 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12079 GETFDNETGR.
12080 (netgroup_response_header): Define.
12081 (innetgroup_response_header): Define.
12082 (datahead): Add netgroup_response_header and innetgroup_response_header
12083 elements.
12084 * nscd/nscd.conf: Add entries for netgroup cache.
12085 * nscd/nscd.h (dbtype): Add netgrdb.
12086 (_PATH_NSCD_NETGROUP_DB): Define.
12087 (netgroup_iov_disabled): Declare.
12088 (xmalloc, xcalloc, xrealloc): Move declarations here.
12089 (cache_search): Adjust prototype.
12090 Add netgroup-related prototypes.
12091 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12092 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12093 (__nscd_innetgr): Declare.
12094 * nscd/selinux.c (perms): Use access_vector_t as element type and
12095 add netgroup-related initializers.
12096 * nscd/netgroupcache.c: New file.
12097 * nscd/nscd_netgroup.c: New file.
12098 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12099 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12100 For four parameters use innetgr.
12101 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12102 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12103 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12104 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12105
21fd49a9
UD
12106 * nscd/connections.c (register_traced_file): Don't register file
12107 for disabled databases.
12108
054c0457
UD
121092011-10-06 Ulrich Drepper <drepper@gmail.com>
12110
32b63198
UD
12111 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12112
054c0457
UD
12113 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12114 from tree and freeing node.
12115
64031225
JO
121162011-09-25 Jiri Olsa <jolsa@redhat.com>
12117
12118 * nss/nsswitch.c (__nss_database_lookup): Handle
12119 nss_parse_service_list out of memory case.
12120
0490345c
JO
121212011-09-15 Jiri Olsa <jolsa@redhat.com>
12122
12123 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12124 out of memory case.
12125
3a62d00d
AS
121262011-10-04 Andreas Schwab <schwab@redhat.com>
12127
12128 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12129 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12130 pass it down.
12131 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12132 elf_machine_rela, elf_machine_lazy_rel.
12133 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12134 (ELF_DYNAMIC_DO_REL): Likewise.
12135 (ELF_DYNAMIC_DO_RELA): Likewise.
12136 (ELF_DYNAMIC_RELOCATE): Likewise.
12137 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12138 to ELF_DYNAMIC_DO_REL.
12139 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12140 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12141 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12142 elf_machine_rela.
12143 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12144 skip_ifunc, don't call ifunc function if non-zero.
12145 (elf_machine_rela): Likewise.
12146 (elf_machine_lazy_rel): Likewise.
12147 (elf_machine_lazy_rela): Likewise.
12148 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12149 (elf_machine_lazy_rel): Likewise.
12150 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12151 Likewise.
12152 (elf_machine_lazy_rel): Likewise.
12153 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12154 Likewise.
12155 (elf_machine_lazy_rel): Likewise.
12156 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12157 (elf_machine_lazy_rel): Likewise.
12158 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12159 (elf_machine_lazy_rel): Likewise.
12160 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12161 (elf_machine_lazy_rel): Likewise.
12162 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12163 (elf_machine_lazy_rel): Likewise.
12164 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12165 (elf_machine_lazy_rel): Likewise.
12166 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12167 (elf_machine_lazy_rel): Likewise.
12168
68577918
UD
121692011-09-28 Ulrich Drepper <drepper@gmail.com>
12170
12171 * nss/nss_files/files-init.c (_nss_files_init): Use static
12172 initialization for all the *_traced_file variables.
12173
68822d74
AS
121742011-09-28 Andreas Schwab <schwab@redhat.com>
12175
12176 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12177
2056100b
RM
121782011-09-27 Roland McGrath <roland@hack.frob.com>
12179
12180 [BZ #13226]
12181 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12182
32c76b63
AS
121832011-09-27 Andreas Schwab <schwab@redhat.com>
12184
12185 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12186 Reread the line before reparsing it.
12187
bf972c9d
AS
121882011-09-26 Andreas Schwab <schwab@redhat.com>
12189
12190 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12191
e057a1b5
JM
121922011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12193 Maxim Kuvyrkov <maxim@codesourcery.com>
12194 Joseph Myers <joseph@codesourcery.com>
12195
12196 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12197 if needed for __stack_chk_guard.
12198
bc7e1c36
RM
121992011-09-19 Roland McGrath <roland@hack.frob.com>
12200
ecb1482f
RM
12201 * sysdeps/posix/spawni.c (script_execute): Always define it.
12202 It will be optimized away if unused.
12203 (maybe_script_execute): New function.
12204 (__spawni): Call it.
12205
bc7e1c36
RM
12206 * Makerules: Don't include tls.make.
12207 (config-tls): Always set to thread.
12208 * tls.make.c: File removed.
12209
1c3b002b
MF
122102011-09-19 Mike Frysinger <vapier@gentoo.org>
12211
12212 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12213 * config.make.in (CPPFLAGS-config): New substituted variable.
12214
2840865d
UD
122152011-09-15 Ulrich Drepper <drepper@gmail.com>
12216
88738eb6
UD
12217 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12218
cbf645a6 12219 [BZ #13192]
2840865d
UD
12220 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12221 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12222
b402e91a
RM
122232011-09-15 Roland McGrath <roland@hack.frob.com>
12224
12225 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12226 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12227 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12228 (CALL_FAIL): Likewise.
12229 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12230 (CALL_FAIL): Macro removed.
12231 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12232
4c1a1f71
UD
122332011-09-15 Ulrich Drepper <drepper@gmail.com>
12234
12235 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12236 for __FINITE_MATH_ONLY__ == 1.
12237
edc121be
AS
122382011-09-15 Andreas Schwab <schwab@redhat.com>
12239
12240 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12241 __ieee754_sqrt instead of sqrt.
12242 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12243 __ieee754_sqrtf instead of sqrtf.
12244 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12245 __floorf instead of floorf.
12246 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12247 __floorf, __truncf instead of floorf, truncf.
12248
cd205654
UD
122492011-09-14 Ulrich Drepper <drepper@gmail.com>
12250
ee4d0315
UD
12251 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12252
cd205654
UD
12253 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12254 __extern_always_inline.
12255 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12256 32-bit.
12257
48b67d71
AS
122582011-09-14 Andreas Schwab <schwab@redhat.com>
12259
12260 * elf/rtld.c (dl_main): Also relocate in dependency order when
12261 doing symbol dependency testing.
12262
1ae12c75
AS
122632011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12264
12265 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12266 Always define `refsym'.
12267
995a80df
AS
122682011-09-13 Andreas Schwab <schwab@redhat.com>
12269
e529793b
AS
12270 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12271 (__FD_ELT): Renamed from __FDELT.
12272 * misc/bits/select2.h (__FD_ELT): Likewise.
12273 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12274 __FD_MASK instead of __FDELT, __FDMASK.
12275 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12276 Likewise.
12277 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12278 Likewise.
12279
52d4fef8
AS
12280 * elf/Makefile (gen-ldd): Fix pattern.
12281
995a80df
AS
12282 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12283 (init_tls): Likewise.
12284
8682f8b0
UD
122852011-09-12 Ulrich Drepper <drepper@gmail.com>
12286
12287 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12288
de82006d
AS
122892011-09-12 Andreas Schwab <schwab@redhat.com>
12290
a7c8e6a1
AS
12291 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12292 `struct cmsghdr *' instead of `void *'.
12293 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12294 Likewise.
12295
0f31fe77
AS
122962011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12297
12298 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12299 if non-absolute.
12300 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12301 ldd_rewrite_script.
0f31fe77 12302
32b4c839
UD
123032011-09-11 Ulrich Drepper <drepper@gmail.com>
12304
83cd1420
UD
12305 * configure.in: Remove --with-tls option.
12306 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12307 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12308 out in case it is missing.
12309 * sysdeps/ia64/elf/configure.in: Likewise.
12310 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12311 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12312 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12313 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12314 * sysdeps/sh/elf/configure.in: Likewise.
12315 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12316 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12317 * sysdeps/x86_64/elf/configure.in: Likewise.
12318 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12319 * sysdeps/mach/hurd/tls.h: Likewise.
12320
633f745d
UD
12321 [BZ #13067]
12322 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12323
f318beb8
UD
12324 [BZ #13090]
12325 * configure.in: Fix use of AC_INIT.
12326
32b4c839
UD
12327 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12328
3ce1f295
UD
123292011-09-10 Ulrich Drepper <drepper@gmail.com>
12330
bb016596
UD
12331 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12332 __set_errno.
8e58439c
UD
12333 * malloc/hooks.c: Likewise.
12334
aebae053 12335 [BZ #11929]
02d46fc4
UD
12336 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12337 variables statically.
12338 (narenas): Initialize.
12339 (list_lock): Initialize.
bb016596
UD
12340 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12341 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12342 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12343 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12344 Add initializers to main_arena and mp_.
12345 (malloc_state): Remove pagesize member. Change all users to use
12346 GLRO(dl_pagesize).
12347
12348 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12349 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12350 is always initialized.
12351
22a89187
UD
12352 * malloc/malloc.c: Removed unused configurations and dead code.
12353 * malloc/arena.c: Likewise.
12354 * malloc/hooks.c: Likewise.
02d46fc4 12355 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12356
d063d164
UD
12357 * include/tls.h: Removed. USE___THREAD must always be defined.
12358 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12359 * elf/dl-libc.c: Likewise.
12360 * elf/dl-tsd.c: Likewise.
12361 * include/errno.h: Likewise.
12362 * include/netdb.h: Likewise.
12363 * include/resolv.h: Likewise.
12364 * inet/herrno-loc.c: Likewise.
12365 * inet/herrno.c: Likewise.
12366 * malloc/arena.c: Likewise.
12367 * malloc/hooks.c: Likewise.
12368 * malloc/malloc.c: Likewise.
12369 * resolv/res-state.c: Likewise.
12370 * resolv/res_libc.c: Likewise.
12371 * sysdeps/i386/dl-machine.h: Likewise.
12372 * sysdeps/ia64/dl-machine.h: Likewise.
12373 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12374 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12375 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12376 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12377 * sysdeps/sh/dl-machine.h: Likewise.
12378 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12379 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12380 * sysdeps/unix/i386/sysdep.S: Likewise.
12381 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12382 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12383 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12384 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12385 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12386 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12387 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12388 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12389 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12391 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12392 * sysdeps/x86_64/dl-machine.h: Likewise.
12393 * tls.make.c: Likewise.
12394
3ce1f295
UD
12395 * configure.in: Remove --with-__thread option. Make tests for
12396 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12397 tls_model attribute fail if no support is available. Remove
12398 USE_IN_LIBIO.
12399 * Makeconfig: Adjust for dropped configure option. All features are
12400 now mandatory.
12401 * Makerules: Likewise.
12402 * Versions.def: Likewise.
12403 * argp/argp-fmtstream.c: Likewise.
12404 * argp/argp-fmtstream.h: Likewise.
12405 * argp/argp-help.c: Likewise.
12406 * assert/assert.c: Likewise.
12407 * config.h.in: Likewise.
12408 * config.make.in: Likewise.
12409 * configure: Likewise.
12410 * configure.in: Likewise.
12411 * csu/Versions: Likewise.
12412 * csu/init.c: Likewise.
12413 * elf/tst-audit2.c: Likewise.
12414 * elf/tst-tls10.c: Likewise.
12415 * elf/tst-tls10.h: Likewise.
12416 * elf/tst-tls11.c: Likewise.
12417 * elf/tst-tls12.c: Likewise.
12418 * elf/tst-tls14.c: Likewise.
12419 * elf/tst-tlsmod11.c: Likewise.
12420 * elf/tst-tlsmod12.c: Likewise.
12421 * elf/tst-tlsmod13.c: Likewise.
12422 * elf/tst-tlsmod13a.c: Likewise.
12423 * elf/tst-tlsmod14a.c: Likewise.
12424 * elf/tst-tlsmod15b.c: Likewise.
12425 * elf/tst-tlsmod16a.c: Likewise.
12426 * elf/tst-tlsmod16b.c: Likewise.
12427 * elf/tst-tlsmod7.c: Likewise.
12428 * elf/tst-tlsmod8.c: Likewise.
12429 * elf/tst-tlsmod9.c: Likewise.
12430 * gmon/gmon.c: Likewise.
12431 * grp/fgetgrent_r.c: Likewise.
12432 * grp/putgrent.c: Likewise.
12433 * hurd/fopenport.c: Likewise.
12434 * include/libc-symbols.h: Likewise.
12435 * include/tls.h: Likewise.
12436 * intl/gettextP.h: Likewise.
12437 * intl/loadinfo.h: Likewise.
12438 * locale/global-locale.c: Likewise.
12439 * locale/localeinfo.h: Likewise.
12440 * mach/devstream.c: Likewise.
12441 * malloc/arena.c: Likewise.
12442 * malloc/set-freeres.c: Likewise.
12443 * misc/err.c: Likewise.
12444 * misc/getttyent.c: Likewise.
12445 * misc/mntent_r.c: Likewise.
12446 * posix/getopt.c: Likewise.
12447 * posix/wordexp.c: Likewise.
12448 * pwd/fgetpwent_r.c: Likewise.
12449 * resolv/Versions: Likewise.
12450 * resolv/res_hconf.c: Likewise.
12451 * shadow/fgetspent_r.c: Likewise.
12452 * shadow/putspent.c: Likewise.
12453 * stdio-common/printf_fphex.c: Likewise.
12454 * stdio-common/tmpfile.c: Likewise.
12455 * stdlib/abort.c: Likewise.
12456 * stdlib/fmtmsg.c: Likewise.
12457 * sunrpc/auth_unix.c: Likewise.
12458 * sunrpc/clnt_perr.c: Likewise.
12459 * sunrpc/clnt_tcp.c: Likewise.
12460 * sunrpc/clnt_udp.c: Likewise.
12461 * sunrpc/clnt_unix.c: Likewise.
12462 * sunrpc/openchild.c: Likewise.
12463 * sunrpc/svc_simple.c: Likewise.
12464 * sunrpc/svc_tcp.c: Likewise.
12465 * sunrpc/svc_udp.c: Likewise.
12466 * sunrpc/svc_unix.c: Likewise.
12467 * sunrpc/xdr.c: Likewise.
12468 * sunrpc/xdr_array.c: Likewise.
12469 * sunrpc/xdr_rec.c: Likewise.
12470 * sunrpc/xdr_ref.c: Likewise.
12471 * sunrpc/xdr_stdio.c: Likewise.
12472
1248c1c4
PB
124732011-09-09 Ulrich Drepper <drepper@gmail.com>
12474
12475 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12476
124772011-07-03 Andreas Jaeger <aj@suse.de>
12478
12479 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12480 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12481 regenerate with gen-libm-tests.pl.
12482
124832010-05-12 Petr Baudis <pasky@suse.cz>
12484
12485 [BZ #11589]
12486 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12487 around j0() zero points by switching to j1().
12488 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12489 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12490 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12491 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12492
f22e1074
UD
124932011-09-09 Ulrich Drepper <drepper@gmail.com>
12494
f19009c1
UD
12495 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12496 instead of 0.
12497 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12498 instead of 0. .
12499 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12500 Patch in part by Pavel Roskin <proski@gnu.org>.
12501
3f8cc204
UD
12502 [BZ #13138]
12503 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12504 realloc.
12505 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12506 Free memory block if necessary.
12507
f22e1074
UD
12508 [BZ #12847]
12509 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12510 be NULL. Don't lock in this case.
12511
0a2349f9
RM
125122011-09-09 Roland McGrath <roland@hack.frob.com>
12513
12514 * elf/elf.h (ELFOSABI_GNU): New macro.
12515 (ELFOSABI_LINUX): Define to that.
12516
f3cdd467
DZ
125172011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12518
12519 * string/strncat.c (strncat): Undef the symbol in case it has been
12520 defined in bits/string.h.
12521
74718d13
UD
125222011-09-09 Ulrich Drepper <drepper@gmail.com>
12523
633e9e0f
UD
12524 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12525
0a2349f9 12526 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12527 link map.
12528
f9924780
AJ
125292011-08-17 Andreas Jaeger <aj@suse.de>
12530
12531 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12532
7f5517aa
PP
125332011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12534 Ian Lance Taylor <iant@google.com>
12535
12536 * math/libm-test.inc (lround_test): New testcase.
12537 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12538
762011fe
UD
125392011-09-08 Ulrich Drepper <drepper@gmail.com>
12540
92963737
UD
12541 * Makefile: Remove support for automatic cvs check-ins.
12542 * Makerules: Likewise.
12543 * config.make.in: Likewise.
12544 * configure.in: Likewise.
12545 * intl/Makefile: Likewise.
12546 * locale/Makefile: Likewise.
12547 * po/Makefile: Likewise.
12548 * posix/Makefile: Likewise.
12549 * sysdeps/gnu/Makefile: Likewise.
12550 * sysdeps/mach/hurd/Makefile: Likewise.
12551 * sysdeps/sparc/sparc32/Makefile: Likewise.
12552
b0727fd8
JS
12553 [BZ #13118]
12554 * posix/Makefile (bug-regex32-ENV): Define.
12555 Patch by John Stanley <jpsinthemix@verizon.net>.
12556
a0f33f99
UD
12557 * misc/Makefile (headers): Add bits/select2.h.
12558 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12559 * misc/bits/select2.h: New file.
12560 * include/bits/select2.h: New file.
12561 * debug/Makefile (routines): Add fdelt_chk.
12562 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12563 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12564 FD_ISSET.
12565 * debug/fdelt_chk.c: New file.
12566
762011fe
UD
12567 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12568 * wcsmbs/test-wmemcmp.c: Likewise.
12569 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12570 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12571
125722011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12573
12574 * string/Makefile (strop-tests): Add memcmp.
12575 * string/test-wmemcmp.c: New file.
12576 * string/test-memcmp.c: Add wmemcmp support.
12577
7f513ec8
RM
125782011-09-08 Roland McGrath <roland@hack.frob.com>
12579
0442afb4
RM
12580 [BZ #13153]
12581 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12582 2011-07-19 change.
12583
7f513ec8
RM
12584 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12585 garbage value in a __mach_port_mod_refs call in the cases of the
12586 task-self and thread-self ports.
12587
a12b2239
ST
125882011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12589
12590 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12591
610f9ab4
AS
125922011-09-08 Andreas Schwab <schwab@redhat.com>
12593
7f513ec8 12594 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12595
48882a1a
LD
125962011-09-07 Ulrich Drepper <drepper@gmail.com>
12597
b49865be
UD
12598 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12599
fdc86bc9
UD
12600 * elf/dl-libc.c (dlerror_run): Pass back error code from
12601 dl_catch_error.
12602
c966526a
UD
12603 [BZ #13123]
12604 * elf/dl-load.c (lose): Free l_origin if it is valid.
12605
48882a1a
LD
12606 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12607 names.
12608 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12609 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12610 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12611 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12612 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12613 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12614
77a2a8b4
AZ
126152011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12616
12617 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12618 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12619 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12620 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12621 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12622 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12623 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12624 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12625 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12626 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12627
24f579d8
AM
126282011-08-15 Alan Modra <amodra@gmail.com>
12629
12630 [BZ #13092]
12631 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12632 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12633 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12634 ppc_mcount to static-only-routines.
12635 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12636 __mcount_internal.
12637 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12638 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12639
3d4837df
UD
126402011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12641
12642 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12643 for finite and infinity parameters.
12644
22700377
WS
126452011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12646
12647 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12648 and add nop instructions for throughput optimization.
12649 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12650
5025581e
WS
126512011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12652
12653 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12654 aligned copy for power7 with vector-scalar instructions.
12655 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12656
08a300c9
L
126572011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12658
12659 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12660 AVX check.
12661
59178ef9
AS
126622011-09-07 Andreas Schwab <schwab@redhat.com>
12663
12664 [BZ #13144]
12665 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12666 last change.
12667
e38ba7ab
UD
126682011-09-07 Ulrich Drepper <drepper@gmail.com>
12669
12670 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12671 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12672 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12673 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12674 clock_gettime.
12675
d53a73ac
UD
126762011-09-06 Ulrich Drepper <drepper@gmail.com>
12677
fc8bffcc
UD
12678 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12679 Forgot to demangle the pointer.
12680
ceaa0c5d
UD
12681 * sysdeps/i386/sysdep.h: Define atom_text_section.
12682 * sysdeps/x86_64/sysdep.h: Likewise.
12683 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12684 section with atom_text_section.
12685 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12686 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12687 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12688 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12689 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12690
a77d3c17
UD
12691 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12692 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12693 already be defined. Change to take two parameters and don't assign
12694 result to variable. Adjust all users.
12695 Define INTERNAL_GETTIME if not already defined.
12696 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12697 call.
12698 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12699 HAVE_CLOCK_GETTIME_VSYSCALL.
12700 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12701
d53a73ac
UD
12702 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12703 gettimeofday vsyscall, just use time.
12704
a8f84144
AS
127052011-09-06 Andreas Schwab <schwab@redhat.com>
12706
12707 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12708 <errno.h>.
12709
ef606249
UD
127102011-09-06 Ulrich Drepper <drepper@gmail.com>
12711
12712 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12713 syscall on x86-64.
12714 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12715 syscall.
12716 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12717 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12718 syscall if possible.
12719
6585cb60
UD
127202011-09-05 Ulrich Drepper <drepper@gmail.com>
12721
12722 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12723 e_ident. Don't pass to find_mapsXX.
12724 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12725
a5f524e4
LD
127262011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12727
12728 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12729 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12730 * sysdeps/x86_64/multiarch/strchr.S: Update.
12731 Check bit_slow_BSF bit.
12732 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12733 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12734 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12735
554881ef
UD
127362011-09-05 Ulrich Drepper <drepper@gmail.com>
12737
d96de963
UD
12738 [BZ #13134]
12739 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12740 before glibc 2.15.
12741 (tryshell): Define.
12742 (__spawni): Change last parameter to be flag. Test
12743 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12744 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12745 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12746 * posix/spawni.c: Likewise.
12747 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12748 * posix/spawnp.c: Likewise. Change normal version to use
12749 SPAWN_XFLAGS_USE_PATH.
12750 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12751 SPAWN_XFLAGS_TRY_SHELL.
12752
d48e5868
UD
12753 [BZ #13150]
12754 * posix/glob.h: Remove gcc 1.x support.
12755
554881ef
UD
12756 [BZ #13068]
12757 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12758
693fb948
LD
127592011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12760
12761 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12762 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12763 strrchr-sse2-bsf
12764 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12765 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12766 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12767 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12768 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12769 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12770
1b48c537
UD
127712011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12772
49d42c37
UD
12773 * sysdeps/x86_64/wcscmp.S: New file.
12774
1b48c537
UD
12775 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12776 wcscmp-c wcscmp-sse2
12777 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12778 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12779 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12780 * wcsmbs/wcscmp.c: Allow renaming.
12781
15c95c5d
DM
127822011-09-05 David S. Miller <davem@davemloft.net>
12783
12784 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12785 stack slot, rather than the struct return pointer slot.
12786 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12787 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12789 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12790
2f0ad8f3
UD
127912011-09-05 Ulrich Drepper <drepper@gmail.com>
12792
d88ae418
UD
12793 * po/ja.po: Update from translation team.
12794
2f0ad8f3
UD
12795 [BZ #13144]
12796 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12797 kernel in 64-bit binaries.
12798
5f4318d1
DM
127992011-09-01 David S. Miller <davem@davemloft.net>
12800
12801 * elf/elf.h (HWCAP_SPARC_*): Move to..
12802 * sysdeps/sparc/sysdep.h: this new file and add new values.
12803 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12804 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12805 _DL_HWCAP_COUNT to 24.
12806 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12807 entries.
12808 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12809 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12810 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12811 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12812 instead of magic constants.
12813 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12814
3ba57516
DM
128152011-08-31 David S. Miller <davem@davemloft.net>
12816
12817 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12818 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12819 Reimplement to do errno handling inline.
12820 (SYSCALL_ERROR_HANDLER): New macro.
12821 (__SYSCALL_STRING): Do not do errno handling in asm.
12822 (__CLONE_SYSCALL_STRING): Delete.
12823 (__INTERNAL_SYSCALL_STRING): Delete.
12824 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12825 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12826 (PSEUDO): Reimplement to do errno handling inline.
12827 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12828 (SYSCALL_ERROR_HANDLER): New macro.
12829 (__SYSCALL_STRING): Do not do errno handling in asm.
12830 (__CLONE_SYSCALL_STRING): Delete.
12831 (__INTERNAL_SYSCALL_STRING): Delete.
12832 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12833 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12834 i386.
12835 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12836 (inline_syscall*): Add 'err' argument.
12837 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12838 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12839 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12840 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12841
12842 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12843 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12844
2bc17433
AS
128452011-08-30 Andreas Schwab <schwab@redhat.com>
12846
12847 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12848
fbeb5f4d
JO
128492011-08-29 Jiri Olsa <jolsa@redhat.com>
12850
12851 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12852 directive.
12853
ad69cc26
DM
128542011-08-24 David S. Miller <davem@davemloft.net>
12855
12856 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12857
39dd69df
AS
128582011-08-24 Andreas Schwab <schwab@redhat.com>
12859
12860 * elf/Makefile: Add rules to build and run unload8 test.
12861 * elf/unload8.c: New file.
12862 * elf/unload8mod1.c: New file.
12863 * elf/unload8mod1x.c: New file.
12864 * elf/unload8mod2.c: New file.
12865 * elf/unload8mod3.c: New file.
12866
12867 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12868 it wasn't used.
12869
2c0b250a
DM
128702011-08-23 David S. Miller <davem@davemloft.net>
12871
12872 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12873 subtract stack bias.
12874 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12875 %sp not %fp in calculations.
12876 (_JMPBUF_UNWINDS_ADJ): Likewise.
12877
22044b48
DM
12878 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12879 (aio_suspend): Call it to force an exception region around the
12880 AIO_MISC_WAIT() invocation.
12881
2cae4995
AS
128822011-08-23 Andreas Schwab <schwab@redhat.com>
12883
12884 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12885 backslash.
12886
873a772e
AJ
128872011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12888
12889 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12890 protection macro.
12891 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12892 and <dl-machine.h>.
12893 (Elf64_FuncDesc): Remove.
12894
25ad0df1
DM
128952011-08-22 David S. Miller <davem@davemloft.net>
12896
12897 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12898 sigaltstack check, add missing cfi directives.
12899 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12900 missing cfi directives, and sigaltstack handling.
12901
e888bcbe
AS
129022011-08-16 Andreas Schwab <schwab@redhat.com>
12903
12904 [BZ #11724]
12905 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12906 object is seen twice.
12907 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12908
12909 * elf/Makefile (distribute): Add tst-initorder2.c.
12910 (tests): Add tst-initorder2.
12911 (modules-names): Add tst-initorder2a tst-initorder2b
12912 tst-initorder2c tst-initorder2d. Add rules to build them.
12913 ($(objpfx)tst-initorder2.out): New rule.
12914 * elf/tst-initorder2.c: New file.
12915 * elf/tst-initorder2.exp: New file.
12916
87162f46
AS
129172011-08-22 Andreas Schwab <schwab@redhat.com>
12918
70538b7f
AS
12919 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12920
f55ffe58
AS
12921 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12922 dependencies back to end of function.
12923
87162f46
AS
12924 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12925 $(elfobjdir)/ld.so.
12926
91b392a4
UD
129272011-08-21 Ulrich Drepper <drepper@gmail.com>
12928
12929 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12930 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12931 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12932 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12933 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12934 of __vdso_gettimeofday.
12935 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12936 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12937 attribute_hidden.
12938 (_libc_vdso_platform_setup): Remove initialization of
12939 __vdso_gettimeofday and __vdso_time.
12940
5c43483f
UD
129412011-08-20 Ulrich Drepper <drepper@gmail.com>
12942
775a77e7
UD
12943 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12944 and fgetc_unlocked.
12945 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12946 getc_unlocked.
89f447ed 12947
49c74ba9
UD
12948 * elf/dl-open.c (add_to_global): Report additions to the global scope
12949 for LD_DEBUG=scopes.
12950 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12951 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12952
5c43483f
UD
12953 [BZ #13114]
12954 * stdio-common/Makefile (tests): Add bug24.
12955 * stdio-common/bug24.c: New file.
12956
a101b025
AJ
129572011-08-19 Andreas Jaeger <aj@suse.de>
12958
12959 [BZ #13114]
12960 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12961 non-existant file when using close-on-exec mode.
12962
c88f1766
UD
129632011-08-20 Ulrich Drepper <drepper@gmail.com>
12964
0276a718
UD
12965 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12966 the very first instruction.
12967
c88f1766
UD
12968 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12969 the CFI state in the end.
12970 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12971 inclusion of dl-trampoline.h.
12972 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12973
51ccffa0
AS
129742011-08-19 Andreas Schwab <schwab@redhat.com>
12975
94d7165f
AS
12976 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12977 expectations for long double.
12978
51ccffa0
AS
12979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12980 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12981
fd708658 129822011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12983
12984 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12985 artificual limit depends upon the system page size.
12986
44f0a71e
UD
129872011-08-17 Ulrich Drepper <drepper@gmail.com>
12988
12989 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12990 * resolv/Makefile: Define CFLAGS-libresolv.
12991
8de79a24
AS
129922011-08-17 Andreas Schwab <schwab@redhat.com>
12993
12994 * nss/makedb.c (compute_tables): Make variables used in nested
12995 function static.
12996
27724598
UD
129972011-08-17 Ulrich Drepper <drepper@gmail.com>
12998
c5305d88
UD
12999 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13000 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13001 if buffer was too small.
13002
27724598
UD
13003 * elf/pldd.c (main): Attach to all threads in the process.
13004 Rewrite /proc handling to use *at functions.
13005
076fe015
UD
130062011-08-16 Ulrich Drepper <drepper@gmail.com>
13007
174baab3
UD
13008 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13009 specifies first scope to show.
13010 (dl_open_worker): Update callers. Move printing scope of new
13011 object to before the relocation.
44f0a71e 13012 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
13013 * sysdeps/generic/ldsodefs.h: Update declaration.
13014
076fe015
UD
13015 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13016 string for the scope number.
13017
a60df2c3
UD
130182011-08-14 Ulrich Drepper <drepper@gmail.com>
13019
13020 * nscd/servicescache.c (cache_addserv): Make sure written is always
13021 initialized.
13022
5e4287d1
RM
130232011-08-14 Roland McGrath <roland@hack.frob.com>
13024
85ae0589
RM
13025 * sysdeps/i386/i486/bits/atomic.h
13026 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13027 statement expression, so as to suppress "set but not used" warning.
13028 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13029
69f63097
RM
13030 * string/strncat.c (STRNCAT): Use prototype definition.
13031
675456ef
RM
13032 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13033 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13034 -Iprograms here.
13035 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13036 (localedef-modules): Add localedef.
13037 (locale-modules): Add locale.
13038
5e4287d1
RM
13039 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13040 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13041 to avoid a warning.
13042
9c96ff23
DM
130432011-08-14 David S. Miller <davem@davemloft.net>
13044
13045 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13046 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13047
f9ddf089
UD
130482011-08-13 Ulrich Drepper <drepper@gmail.com>
13049
44f0a71e 13050 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
13051 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13052 * elf/rtld.c (dl_main): Set l_name of vDSO.
13053 Call _dl_show_scope when DL_DEBUG_SCOPES.
13054 (process_dl_debug): Recognize scopes flag and also set it for all.
13055 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13056 Declare _dl_show_scope.
13057
1dc27704
UD
13058 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13059 (do_dlopen): Pass caller_dlopen to dl_open.
13060 (__libc_dlopen_mode): Initialize caller_dlopen.
13061
f9ddf089
UD
13062 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13063 of libc. Make tolower call locale-independent. Optimize a bit by
13064 using isdigit instead of isalnum.
13065 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13066
9ac533d3
UD
130672011-08-12 Ulrich Drepper <drepper@gmail.com>
13068
13069 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13070 was a dependency or dynamically loaded.
13071
89edf2e9
UD
130722011-08-11 Ulrich Drepper <drepper@gmail.com>
13073
8e999d29
UD
13074 * intl/l10nflist.c: Allow architecture-specific pop function.
13075 * sysdeps/x86_64/l10nflist.c: New file.
13076
89edf2e9
UD
13077 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13078 classification.
13079
14d96785
AS
130802011-08-10 Andreas Schwab <schwab@redhat.com>
13081
13082 * include/dirent.h: Add libc_hidden_proto for scandirat and
13083 scandirat64. Don't declare __scandirat64.
13084 * dirent/scandirat.c: Add libc_hidden_def.
13085 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13086 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13087
6761ac04
DM
130882011-08-10 David S. Miller <davem@davemloft.net>
13089
13090 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13091 enum.
13092 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13093 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13094 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13095
c55fbd1e
UD
130962011-08-09 Ulrich Drepper <drepper@gmail.com>
13097
13098 * Versions.def [libc]: Add GLIBC_2.15.
13099 * dirent/Makefile (routines): Add scandirat and scandirat64.
13100 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13101 GLIBC_2.15.
13102 * dirent/dirent.h: Declare scandirat and scandirat64.
13103 * dirent/scandirat.c: New file.
13104 * dirent/scandirat64.c: New file.
13105 * sysdeps/wordsize-64/scandirat.c: New file.
13106 * sysdeps/wordsize-64/scandirat64.c: New file.
13107 * dirent/opendir.c: Define opendirat.
13108 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13109 using scandirat.
13110 * dirent/scandir64.c: Adjust for scandir.c change.
13111 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13112 __scandirat64, and __scandir_cancel_handler.
13113 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13114 additional parameter and use openat instead of open (outside of ld.so).
13115 Add new __opendir as wrapper around __opendirat.
13116 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13117 here without requiring old scandirat implementation.
13118
879165f2
UD
131192011-08-08 Ulrich Drepper <drepper@gmail.com>
13120
13121 * dirent/scandir.c (cancel_handler): Renamed to
13122 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13123 defined. Adjust users.
13124 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13125 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13126
cb7e923b
UD
131272011-08-04 Ulrich Drepper <drepper@gmail.com>
13128
16292edd
UD
13129 * string/test-string.h (IMPL): Use __STRING to expand name and then
13130 stringify it.
13131
cb7e923b
UD
13132 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13133 of cleanups.
13134
cff82933
LD
131352011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13136
13137 * string/Makefile: Update.
13138 (strop-tests): Append strncat.
13139 * string/test-wcscmp.c: New file.
13140 New comprehensive test for wcscmp.
13141 * string/test-strcmp.c: Update.
13142 (WIDE): New define.
13143
9be9bfcc
AS
131442011-07-22 Andreas Schwab <schwab@redhat.com>
13145
13146 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13147 line.
13148
2e96f1c7
AS
131492011-07-26 Andreas Schwab <schwab@redhat.com>
13150
13151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13152 encoding to ACE if AI_IDN.
13153
85188888
JJ
131542011-08-01 Jakub Jelinek <jakub@redhat.com>
13155
13156 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13157 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13158
5fa16e9b
LD
131592011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13160
13161 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13162 Fix overflow bug in strncat.
13163 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13164
13165 * string/test-strncat.c: Update.
13166 Add new tests for checking overflow bugs.
13167
131682011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13169
13170 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13171 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13172 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13173 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13174 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13175 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13176 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13177 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13178 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13179
13180 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13181 (USE_AS_STRCAT): Define.
13182 Add strcat and strncat support.
13183 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13184
8c1a459f
AS
131852011-07-25 Andreas Schwab <schwab@redhat.com>
13186
13187 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13188 __n bigger than INT_MAX+1.
13189 (__strncmp_g): Likewise.
13190
bba33c28
UD
131912011-07-23 Ulrich Drepper <drepper@gmail.com>
13192
798be72d
UD
13193 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13194 * libio/stido.h: Likewise.
13195
8accd4dc
UD
13196 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13197 (AF_NFC): Define.
13198 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13199 (AF_NFC): Define.
13200
cbff0d96
UD
13201 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13202 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13203 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13204 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13205 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13206
9191c04a
UD
13207 [BZ #13021]
13208 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13209 installed.
13210
bba33c28
UD
13211 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13212 typo.
13213 (_dl_x86_64_save_sse): Likewise.
13214
90f139dd
UD
132152011-07-22 Ulrich Drepper <drepper@gmail.com>
13216
1aae088a
UD
13217 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13218 OSXSAVE.
13219 (_dl_x86_64_save_sse): Likewise.
13220
8e2045f5
UD
13221 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13222
90f139dd
UD
13223 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13224
1d002f25
AS
132252011-07-21 Andreas Schwab <schwab@redhat.com>
13226
13227 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13228 change.
13229 (_dl_x86_64_save_sse): Use correct AVX check.
13230
21137f89
UD
132312011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13232
13233 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13234 bug in strncpy/strncat.
13235 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13236
a65c0b7a
UD
132372011-07-21 Ulrich Drepper <drepper@gmail.com>
13238
13239 * string/tester.c (test_strcat): Add tests for different alignments
13240 of source and destination.
13241 (test_strncat): Likewise.
13242
6986b98a
UD
132432011-07-20 Ulrich Drepper <drepper@gmail.com>
13244
90bb2039
UD
13245 [BZ #12852]
13246 * posix/glob.c (glob): Check passed in values before using them in
13247 expressions to avoid some overflows.
13248 (glob_in_dir): Likewise.
13249
5644ef54
UD
13250 [BZ #13007]
13251 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13252 check for AVX enablement so that we don't crash with old kernels and
13253 new hardware.
13254 * elf/tst-audit4.c: Add same checks here.
13255 * elf/tst-audit6.c: Likewise.
13256
13257 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13258
bfc9dc9b
AS
132592011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13260
13261 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13262
702e64bb
UD
132632011-07-20 Ulrich Drepper <drepper@gmail.com>
13264
13265 * po/cs.po: Update from translation team.
13266 * po/bg.po: Likewise.
13267
295e904f
MP
132682011-07-12 Marek Polacek <mpolacek@redhat.com>
13269
13270 * misc/sys/cdefs.h: Add support for const attribute.
13271 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13272 to gnu_dev_{major,minor,makedev} functions.
13273
3ff94596
MP
132742011-07-20 Marek Polacek <mpolacek@redhat.com>
13275
13276 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13277
28b59fca
AS
132782011-07-20 Andreas Schwab <schwab@redhat.com>
13279
13280 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13281 strlen results.
13282
19df733e
AK
132832011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13284
13285 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13286 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13287 register in order to avoid conflicts with the soft frame pointer
13288 being held in r11 when necessary.
13289 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13290 (INTERNAL_VSYSCALL_NCS): Likewise.
13291
c8835729
MP
132922011-07-14 Marek Polacek <mpolacek@redhat.com>
13293
13294 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13295 * elf/dl-fini.c (_dl_fini): Adjust caller.
13296 * elf/dl-close.c (_dl_close_worker): Likewise.
13297 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13298
b902330c
MP
132992011-07-15 Marek Polacek <mpolacek@redhat.com>
13300
8991e135
MP
13301 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13302 "aux_cache->nlibs < 0".
13303
b902330c
MP
13304 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13305 in the reload-count case.
13306
99710781
LD
133072011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13308
13309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13310 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13311 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13312 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13313 * sysdeps/x86_64/multiarch/strcat.S: New file.
13314 * sysdeps/x86_64/multiarch/strncat.S: New file.
13315 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13316 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13317 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13318 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13319 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13320 (USE_AS_STRCAT): Define.
13321 Add strcat and strncat support.
13322 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13323 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13324 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13325 * string/strncat.c: Update.
13326 (USE_AS_STRNCAT): Define.
13327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13328 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13329 and i7.
13330 * sysdeps/x86_64/multiarch/init-arch.h
13331 (bit_Prefer_PMINUB_for_stringop): New.
13332 (index_Prefer_PMINUB_for_stringop): Likewise.
13333 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13334 bit_Prefer_PMINUB_for_stringop.
13335
7dc6bd90
UD
133362011-07-19 Ulrich Drepper <drepper@gmail.com>
13337
13338 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13339 buffer64.
13340 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13341 of casting of buffer.
13342 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13343 buffer32 and buffer64.
13344 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13345 writes instead of casting of buffer.
13346 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13347 buffer32.
13348 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13349 casting of buffer.
13350
e0e72284
AS
133512011-07-19 Andreas Schwab <schwab@redhat.com>
13352
13353 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13354
feb1eb0b
UD
133552011-07-19 Ulrich Drepper <drepper@gmail.com>
13356
13357 * nscd/nscd.c (termination_handler): Don't do anything for a database
13358 if it has not yet been initialized.
13359
298711ff
UD
133602011-07-18 Ulrich Drepper <drepper@gmail.com>
13361
13362 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13363
133642011-07-15 Marek Polacek <mpolacek@redhat.com>
13365
13366 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13367
f9d68389
UD
133682011-07-18 Ulrich Drepper <drepper@gmail.com>
13369
13370 * po/nl.po: Update from translation team.
13371 * po/sv.po: Likewise.
13372
db290cf5
RM
133732011-07-16 Roland McGrath <roland@hack.frob.com>
13374
13375 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13376 now disallowed by GCC.
5c550700 13377
fd5e21c7
RM
13378 * configure.in (use-default-link): Default to yes if a test -shared
13379 link meets our qualifications.
13380 * configure: Regenerated.
13381
5c550700
RM
13382 * config.make.in (output-format): New variable.
13383 * configure.in: Check for ld --print-output-format support.
13384 * configure: Regenerated.
13385 * Makerules ($(common-objpfx)format.lds)
13386 [$(output-format) != unknown]: Just use $(output-format),
13387 instead of the linker-script munging.
13388
9fa2c032
RM
133892011-07-14 Roland McGrath <roland@hack.frob.com>
13390
a6928d51
RM
13391 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13392 of $(common-objpfx)shlib.lds.
13393 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13394
661607b3
RM
13395 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13396 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13397
9fa2c032
RM
13398 * configure.in (-z relro check): Adjust test code to add a large
13399 writable data section after it.
13400 * configure: Regenerated.
13401
defe9061
RM
134022011-07-11 Roland McGrath <roland@hack.frob.com>
13403
13404 * configure.in (-z relro check): Fix test code to make the variable
13405 truly const.
13406 * configure: Regenerated.
13407
319b9ad4
UD
134082011-07-11 Ulrich Drepper <drepper@gmail.com>
13409
13410 * nscd/nscd.h (struct traced_file): Define.
13411 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13412 elements. Add traced_files.
13413 (inotify_fd): Declare.
13414 (register_traced_file): Declare.
13415 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13416 (inotify_fd): Export.
13417 (resolv_conf_descr): Remove.
13418 (nscd_init): Move inotify descriptor creation to main.
13419 Don't register files for notification here.
13420 (register_traced_file): New function.
13421 (invalidate_cache): Don't use reset_res to determine whether to call
13422 res_init, go through the list of registered files.
13423 (main_loop_poll): The inotify descriptors are now stored in the
13424 structures for the traced files.
13425 (main_loop_epoll): Likewise
13426 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13427 to __nss_disable_nscd.
13428 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13429 for a database anymore. Check the records for all the registered
13430 files instead.
13431 * nss/Makefile (libnss_files-routines): Add files-init.
13432 (libnss_db-routines): Add db-init.
13433 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13434 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13435 * nss/nss_db/db-init.c: New file.
13436 * nss/nss_files/files-init.c: New file.
13437 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13438 __nss_lookup_function.
13439 (__nss_lookup_function): Call nss_load_library.
13440 (nss_load_all_libraries): New function.
13441 (__nss_disable_nscd): Take parameter with callback function for files
13442 to register. Set is_nscd. Load all the DSOs for the NSS modules
13443 used for the cached services.
13444 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13445 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13446 options for features to all the files in nscd.
13447
13448 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13449
23bee3e8
RM
134502011-07-10 Roland McGrath <roland@hack.frob.com>
13451
13452 * csu/elf-init.c (__libc_csu_init): Comment typo.
13453
46a5b7f0
UD
134542011-07-09 Ulrich Drepper <drepper@gmail.com>
13455
13456 * po/pl.po: Update from translation team.
13457 * po/ja.po: Likewise.
13458 * po/ru.po: Likewise.
13459 * po/ko.po: Likewise.
13460 * po/fr.po: Likewise.
13461
d30cf5bb
RM
134622011-07-09 Roland McGrath <roland@hack.frob.com>
13463
113ddea4
RM
13464 * configure.in (.ctors/.dtors header and trailer check):
13465 Use an empirical test on a built program.
13466 * configure: Regenerated.
13467
574920b4
RM
13468 * configure.in (-z relro check): Use an empirical test on a built DSO.
13469 Detect, but do not require, on ia64.
13470 * configure: Regenerated.
13471
d30cf5bb
RM
13472 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13473 Update tests that use readelf to use $READELF instead.
13474 * configure: Regenerated.
13475
8538fdb3
UD
134762011-07-08 Ulrich Drepper <drepper@gmail.com>
13477
13478 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13479 if the result is not used.
13480
04d08991
AJ
134812011-07-05 Andreas Jaeger <aj@suse.de>
13482
13483 [BZ#9696]
13484 * stdlib/tst-strtod.c: Add testcase.
13485
de283087
AD
134862011-07-07 Ulrich Drepper <drepper@gmail.com>
13487
4e5f31c8 13488 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13489 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13490 The latter has a higher limit. Take additional parameter to pass to
13491 the new function.
13492 (__pathconf): Pass file to __statfs_link_max.
13493 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13494 __statfs_link_max.
13495 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13496 __statfs_link_max.
13497
de283087
AD
13498 [BZ #12868]
13499 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13500 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13501 Handle Lustre.
13502 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13503 (__statfs_filesize_max): Likewise.
13504 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13505
c75fa153
AJ
135062011-07-05 Andreas Jaeger <aj@suse.de>
13507
13508 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13509
1a544854
UD
135102011-07-06 Marek Polacek <mpolacek@redhat.com>
13511
13512 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13513 `status' variable.
13514 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13515 Likewise.
13516
6f0eec67
UD
135172011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13518
13519 * Makefile (strop-tests): Add strncat.
13520 * string/test-strncat.c: New file.
13521
aae30307
UD
135222011-06-30 Marek Polacek <mpolacek@redhat.com>
13523
13524 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13525
c0cfb5eb
UD
135262011-06-21 Andreas Jaeger <aj@suse.de>
13527
13528 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13529 Copy rule from iconvdata/Makefile.
13530
01636b21
UD
135312011-07-06 Ulrich Drepper <drepper@gmail.com>
13532
13533 [BZ #12922]
13534 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13535 but no long options are defined, just return 'W'.
13536
9895c8bc
UD
135372011-06-22 Marek Polacek <mpolacek@redhat.com>
13538
13539 [BZ #9696]
13540 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13541
5d4cf042
UD
135422011-07-06 Ulrich Drepper <drepper@gmail.com>
13543
13544 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13545 netgroups to read.
960e5535 13546 (innetgr): Likewise.
5d4cf042 13547
751eb97e
RM
135482011-07-05 Roland McGrath <roland@hack.frob.com>
13549
13550 * config.make.in (install_root): Default to $(DESTDIR).
13551
f15f1e45
UD
135522011-07-05 Ulrich Drepper <drepper@gmail.com>
13553
13554 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13555
4e34ac6a
RM
135562011-07-02 Roland McGrath <roland@hack.frob.com>
13557
5e9b6af4
RM
13558 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13559
84f9ea0f
RM
13560 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13561 containing directory rather than embedding absolute directory names.
13562
ea5ee9f7
RM
13563 * scripts/check-local-headers.sh: Rewritten using awk.
13564 Match by word, not by line. Print error messages for matches.
13565 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13566
1b74661a
RM
13567 * Makerules [shlib-lds-flags empty]:
13568 ($(common-objpfx)libc_pic.opts): New target.
13569 ($(common-objpfx)libc_pic.os.clean): New target.
13570 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13571
13572 * config.make.in (OBJCOPY): New variable.
13573 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13574 * configure: Regenerated.
13575
f781ef40
RM
13576 * config.make.in (use-default-link): New variable.
13577 * configure.in (use_default_link): Grok --with-default-link to set it.
13578 * configure: Regenerated.
13579 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13580 (shlib-lds, shlib-lds-flags): Define to empty.
13581
2d4fa81e
RM
13582 * Makerules (shlib-lds): New variable.
13583 (shlib-lds-flags): New variable.
13584 (build-shlib, build-moduile, build-module-asneeded): Use it.
13585 ($(common-objpfx)libc.so): Use $(shlib-lds).
13586 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13587 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13588
31fffa6b
RM
13589 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13590 DT_FLAGS/DT_FLAGS_1 with zero flags.
13591
4e34ac6a
RM
13592 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13593 linker script munging.
13594
fcfc776b
UD
135952011-07-02 Ulrich Drepper <drepper@gmail.com>
13596
13597 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13598 as 128-bit value.
13599 * crypt/sha512.c (sha512_process_block): Perform total addition using
13600 128-bit if possible.
13601 (__sha512_finish_ctx): Likewise.
13602 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13603 as 64-bit value.
13604 * crypt/sha256.c (SWAP64): Define.
13605 (sha256_process_block): Perform total addition using 64-bit if
13606 possible.
13607 (__sha256_finish_ctx): Likewise.
13608
99231d9a
UD
136092011-07-01 Ulrich Drepper <drepper@gmail.com>
13610
13611 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13612 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13613 * nscd/hstcache.c (cache_addhst): Likewise.
13614 * nscd/grpcache.c (cache_addgr): Likewise.
13615 * nscd/aicache.c (addhstaiX): Likewise
13616 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13617
445b4a53
TK
136182011-07-01 Thorsten Kukuk <kukuk@suse.de>
13619
13620 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13621 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13622 * nscd/hstcache.c (cache_addhst): Likewise.
13623 * nscd/grpcache.c (cache_addgr): Likewise.
13624 * nscd/aicache.c (addhstaiX): Likewise
13625
6d4d8e8e
AS
136262011-07-01 Andreas Schwab <schwab@redhat.com>
13627
13628 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13629 domain only when needed.
13630
89f654c5
AS
136312011-06-30 Andreas Schwab <schwab@redhat.com>
13632
13633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13634 is always restored.
13635
cf3b23ff
UD
136362011-06-29 Ulrich Drepper <drepper@gmail.com>
13637
13638 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13639 are re-adding the entry.
13640 * nscd/servicescache.c (cache_addserv): Likewise.
13641
751626f9
AJ
136422011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13643
13644 * sysdeps/generic/dl-irel.h: fix protection against multiple
13645 inclusions.
13646 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13647
9113ea1f
UD
136482011-06-28 Ulrich Drepper <drepper@gmail.com>
13649
5c0b8d90
UD
13650 [BZ #12935]
13651 * malloc/memusage.sh: Fix quoting in message.
13652 * debug/xtrace.sh: Likewise.
13653
9113ea1f
UD
13654 * configure.in: Remove support for --experimental-malloc option, make
13655 it the default.
13656 * config.make.in: Likewise.
13657 * malloc/Makefile: Likewise.
13658
a4172181
AS
136592011-06-27 Andreas Schwab <schwab@redhat.com>
13660
13661 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13662 two-byte characters.
13663
78a7eee7
RM
136642011-06-27 Roland McGrath <roland@hack.frob.com>
13665
62bede13
RM
13666 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13667 AC_CACHE_CHECK invocation.
13668 * configure: Regenerated.
13669
78a7eee7
RM
13670 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13671
5ce33a62
UD
136722011-06-27 Ulrich Drepper <drepper@gmail.com>
13673
034807a9
UD
13674 [BZ #12350]
13675 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13676 bit from old_res_options.
13677
4902da17
UD
13678 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13679
5ce33a62
UD
13680 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13681 value type for setfct.
13682
c2344f56
L
136832011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13684
13685 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13686 __gettimeofday instead of gettimeofday.
13687
68468076
UD
136882011-06-26 Ulrich Drepper <drepper@gmail.com>
13689
13690 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13691
acb0d739
L
136922011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13693
13694 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13695
13696 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13697 info.
13698
8912479f
L
136992011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13700
13701 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13702 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13703 strcpy-sse2-unaligned strncpy-sse2-unaligned
13704 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13705 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13706 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13707 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13708 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13709 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13710 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13711 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13712 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13713 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13714 (STRCPY): Support SSE2 and SSSE3 versions.
13715
d5495a11
UD
137162011-06-24 Ulrich Drepper <drepper@gmail.com>
13717
13718 [BZ #12874]
13719 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13720 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13721 kernels which artificially limit size of requests.
13722
0b1cbaae
L
137232011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13724
13725 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13726 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13727 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13728 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13729 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13730 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13731 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13732 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13733 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13734 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13735 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13736 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13737 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13738 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13739 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13741 Enable unaligned load optimization for Intel Core i3, i5 and i7
13742 processors.
13743 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13744 Define.
13745 (index_Fast_Unaligned_Load): Define.
13746 (HAS_FAST_UNALIGNED_LOAD): Define.
13747
07f494a0
MP
137482011-06-23 Marek Polacek <mpolacek@redhat.com>
13749
13750 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13751
fa3fc0fe
UD
137522011-06-22 Ulrich Drepper <drepper@gmail.com>
13753
13754 [BZ #12907]
13755 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13756 until it is clear that the information is realy needed.
13757 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13758
e12df166
AS
137592011-06-22 Andreas Schwab <schwab@redhat.com>
13760
13761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13762
852eb34d
UD
137632011-06-22 Ulrich Drepper <drepper@gmail.com>
13764
84e2a551
UD
13765 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13766 /sys/devices/system/cpu/online if it is usable.
13767
852eb34d
UD
13768 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13769 reading the information from the /proc filesystem to once a second.
13770
6e502e19
UD
137712011-06-21 Andreas Jaeger <aj@suse.de>
13772
13773 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13774 NULL after inclusion of kernel headers.
13775
75d39ff2
UD
137762011-06-21 Ulrich Drepper <drepper@gmail.com>
13777
51f9aa6a
UD
13778 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13779 calls to internal_setent.
13780
c0244a9d
UD
13781 [BZ #12885]
13782 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13783 addresses using gethostbyname4_r ignore IPv4 addresses.
13784
c5e3c2ae
UD
13785 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13786 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13787
75d39ff2
UD
13788 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13789
42675c6f
DM
137902011-06-20 David S. Miller <davem@davemloft.net>
13791
13792 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13793 inclusions.
13794 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13795
13796 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13797 (elf_irel): Use it.
13798 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13799 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13800 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13801 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13802 * sysdeps/x86_64/dl-irel.h: Likewise.
13803
13804 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13805 * elf/dl-sym.c: Likewise.
13806
57912a71
UD
138072011-06-15 Ulrich Drepper <drepper@gmail.com>
13808
13809 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13810 need to dereference resplen2.
13811
ee22793d
AS
138122011-06-14 Andreas Schwab <schwab@redhat.com>
13813
13814 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13815
a9e836b0
UD
138162011-06-15 Ulrich Drepper <drepper@gmail.com>
13817
77fb9117
UD
13818 * Makeconfig: Define vardbdir and inst_vardbdir.
13819 * nss/Makefile: Add rules to install db-Makefile.
13820
40c1b22c
UD
13821 * nss/nss_db/db-XXX.c: Cleanup.
13822
9f2da732
UD
13823 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13824 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13825 GLIBC_PRIVATE.
13826 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13827 * nss/makedb.c: Implement -g option to specify that value strings
13828 are generated and should not be added to table iterated over for
13829 get*ent calls.
13830 * nss/nss_db/db-initgroups.c: New file.
13831
82e9a1f7
UD
13832 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13833 interface.
13834
c41af17e
UD
13835 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13836 (internal_getgrouplist): Adjust to name change.
13837 Update use_initgroups_entry if this is not the first call.
13838 * nss/databases.def: Add initgroups entry.
13839
a9e836b0
UD
13840 * nss/makedb.c (compute_tables): Check result of multiple hash table
13841 sizes to minimize maximum chain length.
13842
2666d441
UD
138432011-06-14 Ulrich Drepper <drepper@gmail.com>
13844
13845 * Versions.def: Add entry for libnss_db.
13846 * shlib-versions: Likewise.
13847 * nss/Makefile: Add rules to build libnss_db.
13848 * nss/Versions: Add libnss_db information. Organize libnss_files
13849 entries better.
13850 * nss/db-Makefile: Add gshadow support. Change rules for the new
13851 makedb progra. Some minor improvements to generate smaller files.
13852 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13853 here from...
13854 * nss/makedb.c: ...here.
13855 Improve database format to be smaller and require less memory at
13856 runtime.
13857 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13858 db anymore.
13859 * nss/nss_db/db-netgrp.c: Likewise.
13860 * nss/nss_db/db-open.c: Likewise.
13861 * nss/nss_files/flies-XXX.x: Adjust comments.
13862 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13863 * nss/nss_files/files-grp.c: Likewise.
13864 * nss/nss_files/files-hosts.c: Likewise.
13865 * nss/nss_files/files-network.c: Likewise.
13866 * nss/nss_files/files-proto.c: Likewise.
13867 * nss/nss_files/files-pwd.c: Likewise.
13868 * nss/nss_files/files-rpc.c: Likewise.
13869 * nss/nss_files/files-service.c: Likewise.
13870 * nss/nss_files/files-sgrp.c: Likewise.
13871 * nss/nss_files/files-spwd.c: Likewise.
13872 * nss/nss_db/db-alias.c: Removed.
13873 * nss/nss_db/dummy-db.h: Removed.
13874
9ee76b5a
UD
138752011-06-02 Ulrich Drepper <drepper@gmail.com>
13876
13877 * nss/makedb.c: Rewritten to not use database library.
13878 * nss/Makefile: Update to build new makedb program.
13879
c71ca1f8
AJ
138802011-06-14 Andreas Jaeger <aj@suse.de>
13881
13882 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13883 memset declaration.
13884
3154bfb8
UD
138852011-06-10 Andreas Schwab <schwab@redhat.com>
13886
13887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13888 tmpbuf.
13889
b350afab
RM
138902011-06-10 Roland McGrath <roland@hack.frob.com>
13891
decd4e50
RM
13892 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13893 * elf/Makefile ($(objpfx)ld.so): Likewise.
13894
5615eaf2
RM
13895 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13896 Don't list ld.so twice in dependencies.
13897
13898 * posix/bug-regex31.c: Include <stdlib.h>.
13899
13900 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13901
13902 * nis/nss_compat/compat-spwd.c
13903 (getspent_next_nss_netgr): Remove unused variable.
13904 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13905
13906 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13907 nonmembers" output to use the right array.
13908
13909 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13910
13911 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13912
13913 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13914 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13915 * catgets/gencat.c (read_input_file): Likewise.
13916 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13917
13918 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13919 variable definition inside #if's controlling its use.
13920
13921 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13922
13923 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13924
13925 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13926
13927 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13928 unreachable code.
13929
13930 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13931
b68e08db
RM
13932 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13933 * configure: Regenerated.
13934
b350afab
RM
13935 * Makerules: Revert last change.
13936 * elf/Makefile: Likewise.
13937
28368601
RM
139382011-06-09 Roland McGrath <roland@hack.frob.com>
13939
13940 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13941 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13942 (reloc-link): Likewise.
13943
11988f8f
UD
139442011-06-09 Ulrich Drepper <drepper@gmail.com>
13945
13946 * elf/Makefile: Add rules to build pldd.
13947 * elf/pldd.c: New file.
13948 * elf/pldd-xx.c: New file.
13949
e80fab37
UD
139502011-06-07 Ulrich Drepper <drepper@gmail.com>
13951
13952 * version.h: Update for 2.15 development version.
13953
9b849836
DM
139542011-06-07 David S. Miller <davem@davemloft.net>
13955
13956 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13957 ifuncs.
13958 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13959 elf_machine_lazy_rel): Likewise.
13960 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13961 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13962 elf_machine_lazy_rel): Likewise.
13963 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13964 dl_hwcap via passed in argument.
13965 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13966 Likewise.
13967
5a31b283
AK
139682011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13969
13970 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13971
069e52f8
RM
139722011-06-06 Roland McGrath <roland@hack.frob.com>
13973
13974 [BZ #12849]
13975 * manual/fdl-1.1.texi: New file, verbatim from:
13976 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13977 * manual/lgpl-2.1.texi: New file, verbatim from:
13978 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13979 * manual/Makefile (licenses): New variable, list those new file names.
13980 (texis): Use it.
13981 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13982
13983 * manual/fdl.texi: File removed.
13984 * manual/lesser.texi: File removed.
13985 * manual/libc.texinfo (Copying, Documentation License):
13986 Use new @include file names, put @appendix directive before @include.
13987
f16846a5
JJ
139882011-06-04 Jakub Jelinek <jakub@redhat.com>
13989
13990 [BZ #12841]
13991 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13992 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13993 (mq_open): Add __NTH.
13994
3d29045b
L
139952011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13996
13997 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13998 Assume Intel Core i3/i5/i7 processor if AVX is available.
13999
8c297311
UD
140002011-05-31 Ulrich Drepper <drepper@gmail.com>
14001
14002 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14003 typo.
14004
c8fc0c91
UD
140052011-05-31 Andreas Schwab <schwab@redhat.com>
14006
14007 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14008 memory. Use alloca_account. Fix memory leak when retrying.
14009
5b27a807
UD
140102011-05-31 Ulrich Drepper <drepper@gmail.com>
14011
356f8bc6
UD
14012 * version.h (RELEASE): Bump for 2.14 release.
14013 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14014
5b27a807
UD
14015 * config.make.in (RANLIB): Remove entry.
14016
01f16ab0
UD
140172011-05-30 Ulrich Drepper <drepper@gmail.com>
14018
41fce8bd
UD
14019 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14020 (libc.pot): Work around missing support for .ksh extension in xgettext.
14021
4769ae77
UD
14022 [BZ #12684]
14023 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14024 if both request failed.
14025 (send_dg): In case of server errors clear resplen or *resplen2.
14026
6b1e7d19
UD
14027 [BZ #12454]
14028 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14029 when there are multiple maps.
14030 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14031 (_dl_fini): Remove test here.
14032
01f16ab0
UD
14033 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14034
b1ebd700
UD
140352011-05-29 Ulrich Drepper <drepper@gmail.com>
14036
7ae22829
UD
14037 [BZ #12350]
14038 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14039 bit from old_res_options.
14040 (gaih_inet): Likewise.
14041
553149f6 14042 [BZ #11099]
18a84741 14043 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
14044 as signed.
14045
652ffab1
UD
14046 * resolv/res_init.c (res_setoptions): Make the code more compact.
14047
16985fd0
UD
14048 [BZ #11558]
14049 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14050 set RES_USEVC.
14051
0464f746
UD
14052 [BZ #11634]
14053 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14054
7d17596c
UD
14055 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14056
cf6bbbd7
UD
14057 [BZ #11781]
14058 * malloc/malloc.h: Declare malloc hook variables as volatile.
14059
13f1ab36
UD
14060 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14061 in last patch.
14062
b1ebd700
UD
14063 [BZ #11799]
14064 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 14065 raise in the comment.
80e2212d
UD
14066 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14067 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14068 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 14069
ce67228d
UD
140702011-05-28 Ulrich Drepper <drepper@gmail.com>
14071
8887a920
UD
14072 [BZ #12811]
14073 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14074 grow the buffers more if it already has to be sufficient.
14075 (build_wcs_upper_buffer): Likewise.
14076 * posix/regexec.c (check_matching): Likewise.
14077 (clean_state_log_if_needed): Likewise.
14078 (extend_buffers): Don't enlarge buffers beyond size of the input
14079 buffer.
14080 Patches mostly by Emil Wojak <emil@wojak.eu>.
14081 * posix/bug-regex32.c: New file.
14082 * posix/Makefile (tests): Add bug-regex32.
14083
4f031072
UD
14084 * locale/findlocale.c (_nl_find_locale): Return right away if
14085 _nl_explode_name failed.
14086 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14087
d0478f0c
UD
14088 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14089
de81b246
UD
14090 * debug/xtrace.sh: Unify messages.
14091 * malloc/memusage.sh: Likewise.
14092
c738465a
UD
14093 [BZ #12813]
14094 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14095 time symbol from vDSO. Substitute with vsyscall if not available.
14096 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14097 __vdso_time.
14098
f1f929d7
UD
14099 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14100 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14101 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14102 Add sendmmsg and internal_sendmmsg.
14103 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14104 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14105 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14106
ce67228d
UD
14107 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14108 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14109 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14110
e57420c6
UD
141112011-05-27 Ulrich Drepper <drepper@gmail.com>
14112
a8509ca5
UD
14113 [BZ #12813]
14114 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14115 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14116 available.
14117 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14118 __vdso_getcpu.
14119
e57420c6
UD
14120 [BZ #12814]
14121 * iconvdata/Makefile (tests): Add bug-iconv9.
14122 * iconvdata/bug-iconv9.c: New file.
14123
4d07db15
AS
141242011-05-27 Andreas Schwab <schwab@redhat.com>
14125
14126 [BZ #12814]
14127 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14128
ea486f69
JJ
141292011-05-25 Jakub Jelinek <jakub@redhat.com>
14130
14131 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14132 (struct user_regs_struct): Change intcs field back to cs.
14133
6f038433
UD
141342011-05-25 Ulrich Drepper <drepper@gmail.com>
14135
14136 * po/ja.po: Update from translation team.
14137
67f86a25
UD
141382011-05-23 Ulrich Drepper <drepper@gmail.com>
14139
14140 [BZ #12795]
14141 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14142 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14143
def7fbd6
AS
141442011-05-20 Andreas Schwab <schwab@redhat.com>
14145
14146 * stdlib/longlong.h: Update from GCC.
14147
f50ef8f1
AS
141482011-05-23 Andreas Schwab <schwab@redhat.com>
14149
14150 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14151 parameter name.
14152 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14153 Add parameter name.
14154 (__sysconf): Pass it down.
14155
de7ce8f1
UD
141562011-05-22 Ulrich Drepper <drepper@gmail.com>
14157
f2962a71
UD
14158 [BZ #12671]
14159 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14160 some situations.
14161 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14162 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14163 add in in __libc_use_alloca calls. Adjust callers.
14164 (glob): Use malloc in some situations.
14165
de7ce8f1
UD
14166 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14167 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14168 pltexit.
14169
aec84f53
UD
141702011-05-21 Ulrich Drepper <drepper@gmail.com>
14171
05bb4a68
UD
14172 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14173 and CLOCK_BOOTTIME_ALARM.
14174
7ea72f99
UD
14175 [BZ #12782]
14176 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14177 is returned.
14178
7e4afad5
UD
14179 * string/_strerror.c (__strerror_r): Print negative errors as signed
14180 numbers.
14181
8e211fec
UD
14182 [BZ #12777]
14183 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14184 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14185 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14186
f7d82dc9
UD
14187 * configure.in: Fix typo in redirection and correct removal of test
14188 files in two cases.
14189
cc9e536d
UD
14190 [BZ #12788]
14191 * locale/setlocale.c (new_composite_name): Fix test to check for
14192 identical name of all categories.
14193
aec84f53
UD
14194 [BZ #12792]
14195 * libio/filedoalloc.c (local_isatty): New function.
14196 (_IO_file_doallocate): Use local_isatty.
14197 * stdio-common/perror.c (perror): In case a new stream is used
14198 forward the stream error.
14199 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14200 error flag.
14201
78e64fdc
RT
142022011-05-20 Ulrich Drepper <drepper@gmail.com>
14203
34a9094f
UD
14204 [BZ #11869]
14205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14206 alloca.
14207 * include/alloca.h (extend_alloca_account): Define.
14208
78e64fdc
RT
14209 [BZ #11857]
14210 * posix/regex.h: Fix comments with documentation of user-accessible
14211 fields after compilation and describe correct free'ing of pattern
14212 after re_compile_pattern.
14213 Patch by Reuben Thomas <rrt@sc3d.org>.
14214
457bddfc
RA
142152011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14216
14217 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14218 and -mno-altivec to prevent the compiler from using Altivec and/or
14219 VSX instructions when the corresponding registers are not available.
14220
a4527b51
AS
142212011-05-19 Andreas Schwab <schwab@redhat.com>
14222
14223 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14224
ed690b2f
UD
142252011-05-19 Ulrich Drepper <drepper@gmail.com>
14226
14227 * libio/freopen.c (freopen): Use __dup2, not dup2.
14228 * libio/freopen64.c (freopen64): Likewise.
14229
8db73634
L
142302011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14231
14232 [BZ #12775]
14233 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14234 * math/Makefile (tests): Add test-powl.
14235 (CFLAGS-test-powl.c): Define.
14236 * math/test-powl.c: New file.
14237
0a197a9d
L
142382011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14239
14240 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14241
ee30c380
UD
142422011-05-17 Ulrich Drepper <drepper@gmail.com>
14243
14244 [BZ #11837]
14245 * iconvdata/gb18030.c: Update to GB18020-2005.
14246
6ce75379
UD
142472011-05-16 Ulrich Drepper <drepper@gmail.com>
14248
a4b89fd8
AR
14249 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14250 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14251 Patch by Aharon Robbins <arnold@skeeve.com>.
14252
ea389b12
UD
14253 [BZ #11892]
14254 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14255 on the stack.
14256
68a3f91f
UD
14257 [BZ #11895]
14258 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14259 through underflows.
14260
15cc7dd1
UD
14261 [BZ #12766]
14262 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14263 point to strings before performing equality test for error_one_per_line
14264 mode.
14265
f3799213
UD
14266 [BZ #11697]
14267 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14268
d79a9c94
UD
14269 [BZ #11820]
14270 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14271 (struct user_fpregs_struct): Avoid __uint*_t types.
14272
56e5eb46
UD
14273 [BZ #6420]
14274 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14275 symbol info. Use it instead of calling _dl_addr locally.
14276 (lock_and_info): New function.
14277 (tr_freehook): Call lock_and_info and pass symbol info as additional
14278 parameter to tr_where.
14279 (tr_mallochook): Likewise.
14280 (tr_reallochook): Likewise.
14281 (tr_memalignhook): Likewise.
14282
6ce75379
UD
14283 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14284 used and couldn't be at all thread-safe.
14285
f8a3b5bf
UD
142862011-05-15 Ulrich Drepper <drepper@gmail.com>
14287
94b7cc37
UD
14288 * libio/freopen.c (freopen): Don't close old file descriptor
14289 before the new one is opened. Instead dup the new file descriptor
14290 to the old one after the new stream is created.
14291 * libio/freopen64.c (freopen64): Likewise.
14292 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14293 * libio/fileops.c (_IO_new_file_close_it): Handle new
14294 _IO_FLAGS2_NOCLOSE flag.
14295 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14296 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14297 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14298 _IO_FLAGS2_NOCLOSE flag.
14299 * include/unistd.h: Add hidden_proto for dup3.
14300 Define __have_dup3.
14301 * io/dup3.c: Define hidden symbol.
14302 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14303
bd25564e
UD
14304 [BZ #7101]
14305 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14306 when an incomplete long option is used.
14307 * posix/tst-getopt_long1.c: New file.
14308 * posix/Makefile (tests): Add tst-getopt_long1.
14309
c84cfef4
UD
14310 [BZ #10138]
14311 * scripts/config.guess: Update from autoconf-2.68.
14312 * scripts/config.sub: Likewise.
14313
3b85df27
UD
14314 [BZ #10157]
14315 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14316 tests into ...
14317 (has_cpuclock): ...this. New function.
14318 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14319 macro here based on has_cpuclock code.
14320
15a856b1
UD
14321 [BZ #10149]
14322 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14323 First byte (not low byte) is now always NUL.
14324 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14325
05f399e6
UD
14326 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14327 Use non-cancelable interfaces.
14328
10a52685 14329 [BZ #9809]
94ecc67d
UD
14330 * locale/iso-639.def: Add entry for Sorani.
14331
f8a3b5bf
UD
14332 [BZ #11901]
14333 * include/stdlib.h: Move include protection to the right place.
14334 Define abort_msg_s. Declare __abort_msg with it.
14335 * stdlib/abort.c (__abort_msg): Adjust type.
14336 * assert/assert.c (__assert_fail_base): New function. Majority
14337 of code from __assert_fail. Allocate memory for __abort_msg with
14338 mmap.
14339 (__assert_fail): Now call __assert_fail_base.
14340 * assert/assert-perr.c: Remove bulk of implementation. Use
14341 __assert_fail_base.
14342 * include/assert.hL Declare __assert_fail_base.
14343 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14344 mmap.
14345 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14346
1af4e298
UD
143472011-05-14 Ulrich Drepper <drepper@gmail.com>
14348
f8a3b5bf 14349 [BZ #11952]
d26dfc60
MG
14350 [BZ #12453]
14351 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14352 until all modules are registered in the DTV.
14353 * elf/Makefile: Add rules to build and run tst-tls19.
14354 * elf/tst-tls19.c: New file.
14355 * elf/tst-tls19mod1.c: New file.
14356 * elf/tst-tls19mod2.c: New file.
14357 * elf/tst-tls19mod3.c: New file.
14358 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14359
2fc54d6f
UD
14360 [BZ #12083]
14361 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14362 correctly.
14363
98d76b46
UD
14364 [BZ #12601]
14365 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14366 two-byte sequence errors.
14367 * iconvdata/Makefile (tests): Add bug-iconv8.
14368 * iconvdata/bug-iconv8.c: New file.
14369
da3c19ef
UD
14370 [BZ #12626]
14371 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14372 buf2 definition.
14373
ca408c15
UD
14374 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14375
d6f67f7d
UD
14376 [BZ #12432]
14377 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14378 (dummy_getcfa): New function.
14379 (init): Get _Unwind_GetCFA address, use dummy if not found.
14380 (backtrace_helper): In recursion check, also check whether CFA changes.
14381 (__backtrace): Completely initialize arg.
14382
1af4e298 14383 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14384 storing incomplete byte sequence in state object. Avoid testing for
14385 guaranteed too small input if we know there is enough data available.
1af4e298 14386
da62f81b
AS
143872011-05-11 Andreas Schwab <schwab@redhat.com>
14388
14389 * Makeconfig (+link-pie): Indent.
14390 * Rules (binaries-pie): Define if $(have-fpie) and
14391 $(build-shared).
14392 (binaries-shared): Also filter out $(binaries-pie).
14393 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14394 * nscd/Makefile (others-pie): Add nscd.
14395 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14396 ($(objpfx)nscd): Remove command override.
14397 * login/Makefile (others-pie): Add pt_chown.
14398 ($(objpfx)pt_chown): Remove command override.
14399 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14400 remove command overrides.
14401
fcabc0f8
UD
144022011-05-13 Ulrich Drepper <drepper@gmail.com>
14403
20030ae6
UD
14404 * libio/tst_putwc.c: Fix error messages.
14405
fcabc0f8
UD
14406 [BZ #12724]
14407 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14408 currently writing and seek to current position when not.
14409 * libio/Makefile (tests): Add bug-fclose1.
14410 * libio/bug-fclose1.c: New file.
14411
320a5dc0
PB
144122011-05-12 Ulrich Drepper <drepper@gmail.com>
14413
14414 [BZ #12511]
14415 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14416 don't set DF_1_NODELETE here.
14417 (do_lookup_x): When entering new entry test for copy relocation
14418 and if necessary set DF_1_NODELETE flag.
14419 * elf/tst-unique4.cc: New file.
14420 * elf/tst-unique4.h: New file.
14421 * elf/tst-unique4lib.cc: New file.
14422 * elf/Makefile: Add rules to build and run tst-unique4.
14423 Patch by Piotr Bury <pbury@goahead.com>.
14424
22836f52
UD
144252011-05-11 Ulrich Drepper <drepper@gmail.com>
14426
f574184a
UD
14427 [BZ #12052]
14428 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14429
e1fb097f
UD
14430 [BZ #12625]
14431 * misc/mntent_r.c (addmntent): Flush the stream after the output
14432
22836f52
UD
14433 [BZ #12393]
14434 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14435 (is_trusted_path_normalize): Skip initial colon. Append slash
14436 to empty buffer. Duplicate is_trusted_path code but allow
14437 constructed patch to be prefix.
14438 (is_dst): Allow $ORIGIN followed by /.
14439 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14440 Correct testing of result of is_trusted_path_normalize
14441 (decompose_rpath): Fix warning.
14442
7b3b0b2a
UD
144432011-05-10 Ulrich Drepper <drepper@gmail.com>
14444
14445 [BZ #11257]
14446 * grp/initgroups.c (internal_getgrouplist): When we found the service
14447 list through the initgroups entry in nsswitch.conf do not always
14448 continue on a successful lookup. Don't always use the
eac80ce2 14449 __nss_group_database value if it is set.
7b3b0b2a
UD
14450 * nss/nsswitch.conf (initgroups): Change action for successful db
14451 lookup to continue for compatibility.
14452
2a81eaa5
UD
144532011-05-09 Ulrich Drepper <drepper@gmail.com>
14454
be97a69e
UD
14455 [BZ #11532]
14456 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14457 and CP774 modules.
14458 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14459 and CP774 modules.
14460 * iconvdata/tst-tables.sh: Likewise.
14461 * iconvdata/cp770.c: New file.
14462 * iconvdata/cp771.c: New file.
14463 * iconvdata/cp772.c: New file.
14464 * iconvdata/cp773.c: New file.
14465 * iconvdata/cp774.c: New file.
14466 * iconvdata/testdata/CP770: New file.
14467 * iconvdata/testdata/CP770..UTF8: New file.
14468 * iconvdata/testdata/CP771: New file.
14469 * iconvdata/testdata/CP771..UTF8: New file.
14470 * iconvdata/testdata/CP772: New file.
14471 * iconvdata/testdata/CP772..UTF8: New file.
14472 * iconvdata/testdata/CP773: New file.
14473 * iconvdata/testdata/CP773..UTF8: New file.
14474 * iconvdata/testdata/CP774: New file.
14475 * iconvdata/testdata/CP774..UTF8: New file.
14476
14477 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14478 END CHARMAP line.
14479 * iconvdata/gen-8bit-gap.sh: Likewise.
14480 * iconvdata/gen-8bit.sh: Likewise.
14481
c1e9e399
UD
14482 * locale/iso-639.def: Add ary entry.
14483
24c55fb3 14484 [BZ #11258]
96b4b1b0
UD
14485 * locale/C-translit.h.in: Add U20A1 transliteration.
14486
bdc2f971
KB
14487 [BZ #12178]
14488 * locale/iso-639.def: Add wae entry.
14489 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14490
2952b117
UD
14491 [BZ #12545]
14492 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14493 for n.
14494
2a81eaa5
UD
14495 [BZ #12711]
14496 * locale/C-translit.h.in: Add entry for U20B9.
14497 Patch by pravin.d.s@gmail.com.
14498
28377d1b
UD
144992011-05-08 Ulrich Drepper <drepper@gmail.com>
14500
7fb90fb8
UD
14501 [BZ #12713]
14502 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14503 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14504 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14505 in rtld. Use *stat64.
7fb90fb8 14506 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14507 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14508 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14509 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14510 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14511 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14512 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14513 __fstatat64 macros.
7fb90fb8
UD
14514 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14515 * dirent/rewinddir.c: Add libc_hidden_def.
14516 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14517 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14518
28377d1b
UD
14519 * include/dirent.h (__alloc_dir): Add flags parameter.
14520 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14521 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14522 __alloc_dir.
14523 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14524 from fdopendir if O_CLOEXEC is already set.
14525
66bdbaa4
AM
145262011-03-15 Alan Modra <amodra@gmail.com>
14527
14528 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14529 l_tls_firstbyte_offset non-zero. Save padding offset in
14530 l_tls_firstbyte_offset for later use.
14531 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14532 freeing static tls block.
14533
95721191
JN
145342011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14535
14536 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14537 where #ifdef was intended. The intent is to prevent ARG_MAX from
14538 being defined by the kernel headers.
14539
f87dfb1f
UD
145402011-05-07 Ulrich Drepper <drepper@gmail.com>
14541
14542 [BZ #12734]
14543 * resolv/resolv.h: Define RES_NOTLDQUERY.
14544 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14545 no-tld-query and set RES_NOTLDQUERY.
14546 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14547 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14548 modern BIND to search name as TLD unless forbidden.
14549
47c3cd7a
UD
145502011-05-07 Petr Baudis <pasky@suse.cz>
14551 Ulrich Drepper <drepper@gmail.com>
14552
14553 [BZ #12393]
14554 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14555 (is_trusted_path): ...to here.
c1e9ea35 14556 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14557 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14558 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14559
8a35c912
PP
145602011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14561
14562 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14563 __BEGIN/__END_DECLS.
14564
acd41f47
UD
145652011-05-06 Ulrich Drepper <drepper@gmail.com>
14566
14567 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14568 NSS_STATUS_NOTFOUND if no record was found.
14569
597df647
AS
145702011-05-05 Andreas Schwab <schwab@redhat.com>
14571
14572 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14573 (headers-not-in-tirpc): Remove rpc/netdb.h
14574 * resolv/netdb.h: Revert last change.
14575
b9af1301
PP
145762011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14577
14578 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14579 circular dependency between libgcc.a and libc.a.
14580
4e34d5f5
AS
145812011-05-05 Andreas Schwab <schwab@redhat.com>
14582
14583 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14584 * nis/Makefile: Don't install rpcsvc/*.
14585 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14586 instead of <rpc/types.h>.
14587 (MAXHOSTNAMELEN): Define.
14588
00ee369c
AS
145892011-05-03 Andreas Schwab <schwab@redhat.com>
14590
14591 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14592
0b592a30
MB
145932011-04-28 Maciej Babinski <mbabinski@google.com>
14594
14595 [BZ #12714]
14596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14597 gethostbyname4_r when IPv6 results are possible.
14598
6e04cbbe
UD
145992011-05-02 Ulrich Drepper <drepper@gmail.com>
14600
14601 [BZ #12723]
14602 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14603 _PC_PIPE_BUF handling.
14604
e4ecafe0
BH
146052011-04-30 Bruno Haible <bruno@clisp.org>
14606
14607 [BZ #12717]
14608 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14609 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14610 to 'int'.
14611 * inet/getnameinfo.c (getnameinfo): Likewise.
14612
125ee683
UD
146132011-04-29 Ulrich Drepper <drepper@gmail.com>
14614
14615 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14616 to groups setting in database lookup.
14617 * nss/nsswitch.conf: Add initgroups entry.
14618
b722481a
EB
146192011-04-22 Ulrich Drepper <drepper@gmail.com>
14620
14621 [BZ #12685]
14622 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14623 mode string.
14624 Patch by Eric Blake <eblake@redhat.com>.
14625
4df46dbd
L
146262011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14627
14628 * sunrpc/Makefile (need-export-routines): Add svc_run.
14629 (routines): Remove svc_run.
14630 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14631 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14632 * sunrpc/svc_run.c (svc_run): Likewise.
14633 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14634
e84142d2
UD
146352011-04-21 Ulrich Drepper <drepper@gmail.com>
14636
14637 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14638 problem in reallocation in last patch.
14639
877175d8
UD
146402011-04-20 Ulrich Drepper <drepper@gmail.com>
14641
14642 * sunrpc/Makefile: Move inclusion of Rules.
14643
ab8eed78
UD
146442011-04-19 Ulrich Drepper <drepper@gmail.com>
14645
14646 * nss/nss_files/files-initgroups.c: New file.
14647 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14648 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14649 _nss_files_initgroups_dyn.
14650
e3d8f584
RS
146512011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14652
14653 * elf/elf.h (R_ARM_IRELATIVE): Define.
14654
af190f45
UD
146552011-04-19 Ulrich Drepper <drepper@gmail.com>
14656
14657 * po/ru.po: Update from translation team.
14658
53cf59ef
UD
146592011-04-17 Ulrich Drepper <drepper@gmail.com>
14660
14661 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14662 dependencies.
14663
4c559bcd
MF
146642011-02-06 Mike Frysinger <vapier@gentoo.org>
14665
14666 [BZ #12653]
14667 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14668 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14669 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14670 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14671 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14672
4420675c
AS
146732011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14674
14675 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14676 differing bytes.
14677 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14678 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14679 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14680
75ea32ab
UD
146812011-04-17 Ulrich Drepper <drepper@gmail.com>
14682
14683 [BZ #12420]
14684 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14685 storing it.
14686 * stdlib/bug-getcontext.c: New file.
14687 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14688
27390476
AK
146892011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14690
14691 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14692 instructions into .machine "z9-109".
14693 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14694 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14695
10442705
AK
146962011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14697
14698 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14699 between environment variables and auxiliary vector.
14700
7b57bfe5
UD
147012011-04-16 Ulrich Drepper <drepper@gmail.com>
14702
14703 * Makefile: Add rules to build linkobj/libc.so.
14704 * include/libc-symbols.h: Define libc_hidden_nolink.
14705 * include/rpc/auth.h: Mark functions which are to be hidden.
14706 * include/rpc/auth_des.h: Likewise.
14707 * include/rpc/auth_unix.h: Likewise.
14708 * include/rpc/clnt.h: Likewise.
14709 * include/rpc/des_crypt.h: Likewise.
14710 * include/rpc/key_prot.h: Likewise.
14711 * include/rpc/pmap_clnt.h: Likewise.
14712 * include/rpc/pmap_prot.h: Likewise.
14713 * include/rpc/pmap_rmt.h: Likewise.
14714 * include/rpc/rpc_msg.h: Likewise.
14715 * include/rpc/svc.h: Likewise.
14716 * include/rpc/svc_auth.h: Likewise.
14717 * include/rpc/xdr.h: Likewise.
14718 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14719 * nss/Makefile: Likewise.
14720 * sunrpc/Makefile: Don't install headers. Build library with normal
14721 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14722 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14723 for the compat linking library. Remove use of INTDEF/INTUSE.
14724 * sunrpc/auth_none.c: Likewise.
14725 * sunrpc/auth_unix.c: Likewise.
14726 * sunrpc/authdes_prot.c: Likewise.
14727 * sunrpc/authuxprot.c: Likewise.
14728 * sunrpc/clnt_gen.c: Likewise.
14729 * sunrpc/clnt_perr.c: Likewise.
14730 * sunrpc/clnt_raw.c: Likewise.
14731 * sunrpc/clnt_simp.c: Likewise.
14732 * sunrpc/clnt_tcp.c: Likewise.
14733 * sunrpc/clnt_udp.c: Likewise.
14734 * sunrpc/clnt_unix.c: Likewise.
14735 * sunrpc/des_crypt.c: Likewise.
14736 * sunrpc/des_soft.c: Likewise.
14737 * sunrpc/get_myaddr.c: Likewise.
14738 * sunrpc/key_call.c: Likewise.
14739 * sunrpc/key_prot.c: Likewise.
14740 * sunrpc/netname.c: Likewise.
14741 * sunrpc/pm_getmaps.c: Likewise.
14742 * sunrpc/pm_getport.c: Likewise.
14743 * sunrpc/pmap_clnt.c: Likewise.
14744 * sunrpc/pmap_prot.c: Likewise.
14745 * sunrpc/pmap_prot2.c: Likewise.
14746 * sunrpc/pmap_rmt.c: Likewise.
14747 * sunrpc/publickey.c: Likewise.
14748 * sunrpc/rpc_cmsg.c: Likewise.
14749 * sunrpc/rpc_common.c: Likewise.
14750 * sunrpc/rpc_dtable.c: Likewise.
14751 * sunrpc/rpc_prot.c: Likewise.
14752 * sunrpc/rpc_thread.c: Likewise.
14753 * sunrpc/rtime.c: Likewise.
14754 * sunrpc/svc.c: Likewise.
14755 * sunrpc/svc_auth.c: Likewise.
14756 * sunrpc/svc_authux.c: Likewise.
14757 * sunrpc/svc_raw.c: Likewise.
14758 * sunrpc/svc_run.c: Likewise.
14759 * sunrpc/svc_simple.c: Likewise.
14760 * sunrpc/svc_tcp.c: Likewise.
14761 * sunrpc/svc_udp.c: Likewise.
14762 * sunrpc/svc_unix.c: Likewise.
14763 * sunrpc/svcauth_des.c: Likewise.
14764 * sunrpc/xcrypt.c: Likewise.
14765 * sunrpc/xdr.c: Likewise.
14766 * sunrpc/xdr_array.c: Likewise.
14767 * sunrpc/xdr_float.c: Likewise.
14768 * sunrpc/xdr_intXX_t.c: Likewise.
14769 * sunrpc/xdr_mem.c: Likewise.
14770 * sunrpc/xdr_rec.c: Likewise.
14771 * sunrpc/xdr_ref.c: Likewise.
14772 * sunrpc/xdr_sizeof.c: Likewise.
14773 * sunrpc/xdr_stdio.c: Likewise.
14774
e6c61494
UD
147752011-04-10 Ulrich Drepper <drepper@gmail.com>
14776
14777 [BZ #12650]
14778 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14779 * sysdeps/ia64/dl-tls.h: Likewise.
14780 * sysdeps/powerpc/dl-tls.h: Likewise.
14781 * sysdeps/s390/dl-tls.h: Likewise.
14782 * sysdeps/sh/dl-tls.h: Likewise.
14783 * sysdeps/sparc/dl-tls.h: Likewise.
14784 * sysdeps/x86_64/dl-tls.h: Likewise.
14785 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14786
34fe483e
AS
147872011-03-14 Andreas Schwab <schwab@redhat.com>
14788
14789 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14790 rpath element also skip the following colon.
14791 (expand_dynamic_string_token): Add is_path parameter and pass
14792 down to DL_DST_REQUIRED and _dl_dst_substitute.
14793 (decompose_rpath): Call expand_dynamic_string_token with
14794 non-zero is_path. Ignore empty rpaths.
14795 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14796 with zero is_path.
14797
f12a32e6
AS
147982011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14799
14800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14801 Make cancelable.
14802
38a7d692
UD
148032011-04-09 Ulrich Drepper <drepper@gmail.com>
14804
14805 [BZ #12655]
14806 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14807 Patch by Filipe David Manana <fdmanana@apache.org>.
14808
e451d22b
AS
148092011-04-07 Andreas Schwab <schwab@redhat.com>
14810
14811 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14812 Maintain aligned stack.
14813 (CHECK_RSP): Remove unused macro.
14814
dedc7c7b
UD
148152011-04-03 Ulrich Drepper <drepper@gmail.com>
14816
14817 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14818 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14819
94521213
UD
148202011-04-02 Ulrich Drepper <drepper@gmail.com>
14821
14822 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14823
8cb700c0 14824 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14825
0354e355
L
148262011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14827
14828 [BZ #12518]
14829 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14830 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14831 * sysdeps/x86_64/memmove.c: New file.
14832 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14833 (memcpy): Renamed to ...
14834 (__new_memcpy): This.
14835 (memcpy): Provide GLIBC_2_14 memcpy.
14836 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14837 (memcpy): Provide GLIBC_2_2_5 memcpy.
14838
8593482f
UD
148392011-04-01 Ulrich Drepper <drepper@gmail.com>
14840
14841 [BZ #12631]
14842 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14843
81a5726b
AS
148442011-03-30 Andreas Schwab <schwab@redhat.com>
14845
14846 * misc/syncfs.c: New file.
14847 * misc/Makefile (routines): Add syncfs.
14848 * posix/unistd.h: Declare syncfs.
14849 * sysdeps/unix/syscalls.list: Add syncfs.
14850
00e5419f
AS
148512011-04-01 Andreas Schwab <schwab@redhat.com>
14852
14853 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14854 open_by_handle_at.
14855 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14856 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14857 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14858 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14859 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14860 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14861 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14862
748876bf
UD
148632011-04-01 Ulrich Drepper <drepper@gmail.com>
14864
658e451d
UD
14865 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14866 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14867 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14868 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14869 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14870 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14871 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14872
748876bf
UD
14873 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14874 sync_file_range.c with -fexceptions.
14875 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14876 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14877 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14878 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14879 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14880 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14881 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14882 sync_file_range as cancellation point
14883 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14884 now a wrapper around __call_sync_file_range with cancellation handling.
14885 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14886 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14887 function name to __call_sync_file_range.
14888 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14889 Add call_sync_file_range.
748876bf 14890
6e63d5e1
AS
148912011-04-01 Andreas Schwab <schwab@redhat.com>
14892
14893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14894 bits/timex.h.
6e63d5e1 14895
46998f74
UD
148962011-04-01 Ulrich Drepper <drepper@gmail.com>
14897
4c1423ed
UD
14898 * iconv/iconv.h: Fix typo in comment.
14899 * io/fcntl.h: Likewise.
14900 * libio/stdio.h: Likewise.
14901 * posix/spawn.h: Likewise.
14902 * posix/unistd.h: Likewise.
14903 * stdlib/stdlib.h: Likewise.
14904 * time/time.h: Likewise.
14905 * wcsmbs/wchar.h: Likewise.
14906
158648c0
UD
14907 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14908 open_by_handle): Add.
14909 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14910 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14911 Augment a few comments.
14912 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14913 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14914 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14915 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14916 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14917 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14918 open_by_handle.
14919
46998f74
UD
14920 * io/fcntl.h (AT_EMPTY_PATH): Define.
14921
83fe108b
UD
149222011-03-30 Ulrich Drepper <drepper@gmail.com>
14923
14924 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14925 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14926 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14927 to...
14928 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14929 * Versions.def: Add GLIBC_2.14.
14930 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14931 Export.
83fe108b 14932
bb242059
UD
149332011-03-22 Ulrich Drepper <drepper@gmail.com>
14934
14935 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14936 round counter.
14937 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14938
c97a1282
L
149392011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14940
14941 [BZ #12597]
14942 * string/test-strncmp.c (do_page_test): New function.
14943 (check2): Likewise.
14944 (test_main): Call check2.
14945 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14946
2a115601
UD
149472011-03-20 Ulrich Drepper <drepper@gmail.com>
14948
14949 [BZ #12587]
14950 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14951 Handle cache information in CPU leaf 4.
14952 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14953
8126d904
UD
149542011-03-18 Ulrich Drepper <drepper@gmail.com>
14955
042c49c6 14956 [BZ #12583]
8126d904
UD
14957 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14958 character representation.
14959 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14960
ccfe366e
RA
149612011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14962
14963 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14964 END(__isnan) to END(__isnanf) to match function entry point/label
14965 EALIGN(__isnanf,...).
14966
c6e13027
JJ
149672011-03-10 Jakub Jelinek <jakub@redhat.com>
14968
14969 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14970
33f85a3f
UD
149712011-03-10 Ulrich Drepper <drepper@gmail.com>
14972
028478fa
UD
14973 [BZ #12510]
14974 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14975 copy from the symbol referenced in the relocation to initialize the
14976 used variable.
14977 Patch by Piotr Bury <pbury@goahead.com>.
14978 * elf/Makefile: Add rules to build and tst-unique3.
14979 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14980 * elf/tst-unique3.cc: New file.
14981 * elf/tst-unique3.h: New file.
14982 * elf/tst-unique3lib.cc: New file.
14983 * elf/tst-unique3lib2.cc: New file.
14984
33f85a3f
UD
14985 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14986
03592fc7
MF
149872011-03-10 Mike Frysinger <vapier@gentoo.org>
14988
14989 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14990 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14991 to _start.
03592fc7 14992
6a5ee102
UD
149932011-03-06 Ulrich Drepper <drepper@gmail.com>
14994
14995 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14996 to-be-loaded object along a path to loader is ld.so.
14997
7e4ba49c
HJ
149982011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14999 Ulrich Drepper <drepper@gmail.com>
15000
15001 * sysdeps/x86_64/memset.S: After aligning destination, code
15002 branches to different locations depending on the value of
15003 misalignment, when multiarch is enabled. Fix this.
15004
150052011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15006
15007 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15008 Set _x86_64_preferred_memory_instruction for AMD processsors.
15009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15010 Set bit_Prefer_SSE_for_memop for AMD processors.
15011
13a804de
UD
150122011-03-04 Ulrich Drepper <drepper@gmail.com>
15013
15014 * libio/fmemopen.c (fmemopen): Optimize a bit.
15015
9d25c392
AS
150162011-03-03 Andreas Schwab <schwab@redhat.com>
15017
15018 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15019
a5543c6a
RM
150202011-03-03 Roland McGrath <roland@redhat.com>
15021
15022 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15023
012d35f7
DM
150242011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15025
7e4ba49c 15026 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
15027 __bzero_ultra1 instead of __memset_ultra1.
15028
4bff6e01
AS
150292011-02-23 Andreas Schwab <schwab@redhat.com>
15030 Ulrich Drepper <drepper@gmail.com>
15031
15032 [BZ #12509]
15033 * include/link.h (struct link_map): Add l_orig_initfini.
15034 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15035 returning unsuccessfully.
15036 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15037 close of a file loaded at startup, restore the original l_initfini
15038 list.
15039 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15040 list, store the pointer.
15041 * elf/Makefile ($(objpfx)noload-mem): New rule.
15042 (noload-ENV): Define.
15043 (tests): Add $(objpfx)noload-mem.
15044 * elf/noload.c: Include <memcheck.h>.
15045 (main): Call mtrace. Close all opened handles.
15046
f2092faf
AS
150472011-02-17 Andreas Schwab <schwab@redhat.com>
15048
15049 [BZ #12454]
15050 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15051 dependencies are missing.
15052
6c8a2e88
ST
150532011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15054
f2092faf 15055 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
15056 Hurd needs munmap.
15057 * sysdeps/mach/hurd/ifreq.h: New file.
15058
84a42118
PB
150592011-01-27 Petr Baudis <pasky@suse.cz>
15060 Ulrich Drepper <drepper@gmail.com>
15061
071f805e 15062 [BZ 12445]#
84a42118
PB
15063 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15064 to extend_alloca().
15065 * stdio-common/bug23.c: New file.
15066 * stdio-common/Makefile (tests): Add bug23.
15067
e23fe25b
AS
150682010-09-28 Andreas Schwab <schwab@redhat.com>
15069 Ulrich Drepper <drepper@gmail.com>
15070
15071 [BZ #12489]
15072 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15073 before performing relro protection. At old place add assertion
15074 to make sure nothing changed.
15075
d3f02e10
NS
150762011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15077 Glauber de Oliveira Costa <glommer@gmail.com>
15078
15079 * elf/elf.h: Add new ARM TLS relocs.
15080
d55fd7a5
RA
150812011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15082
15083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15084 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15085 cast from r3.
15086 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15087 'tests' variable.
15088 * sysdeps/wordsize-64/tst-writev.c: New file.
15089
2206397e
RA
150902011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15091
15092 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15093 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15094 insns in _dl_start to prevent a TOC reference before relocs are
15095 resolved.
15096
e9433893
UD
150972011-02-15 Ulrich Drepper <drepper@gmail.com>
15098
15099 [BZ #12469]
15100 * Makeconfig: Remove RANLIB definition.
15101 * Makerules: Don't use RANLIB.
15102 * aclocal.m4: Remove ranlib test.
15103 * configure.in: No need to check for ranlib.
15104 * elf/rtld-Rules: Don't use RANLIB.
15105
f75286c6
ST
151062011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15107
8e31c82d
ST
15108 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15109 protection macro.
15110 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15111 inclusion protection macro.
15112
f75286c6
ST
15113 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15114 SIGRTMIN and SIGRTMAX and print information in that case only when
15115 SIGRTMIN is defined.
15116
c1d0e639
JJ
151172011-02-11 Jakub Jelinek <jakub@redhat.com>
15118
15119 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15120 arginfo fn returning -1.
15121
15122 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15123 and thousands string is zero terminated.
15124
edf9294e
AS
151252011-02-03 Andreas Schwab <schwab@redhat.com>
15126
15127 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15128 sysdeps/unix/sysv/linux/bits/socket.h.
15129
2b7e92df
ST
151302011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15131
edf9294e
AS
15132 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15133 (__CPU_COUNT): Remove old macros.
15134 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15135 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15136 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
15137 (__sched_cpualloc, __sched_cpufree): Add declarations.
15138
a4c7ea7b
UD
151392011-02-05 Ulrich Drepper <drepper@gmail.com>
15140
15141 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15142 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15143 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15144 (readdhstai): Return value of addhstaiX call.
15145 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15146 (addgrbyX): Return value returned by cache_addgr.
15147 (readdgrbyname): Return value returned by addgrbyX.
15148 (readdgrbygid): Likewise.
15149 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15150 (addpwbyX): Return value returned by cache_addpw.
15151 (readdpwbyname): Return value returned by addhstbyX.
15152 (readdpwbyuid): Likewise.
15153 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15154 (addservbyX): Return value returned by cache_addserv.
15155 (readdservbyname): Return value returned by addservbyX:
15156 (readdservbyport): Likewise.
15157 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15158 (addhstbyX): Return value returned by cache_addhst.
15159 (readdhstbyname): Return value returned by addhstbyX.
15160 (readdhstbyaddr): Likewise.
15161 (readdhstbynamev6): Likewise.
15162 (readdhstbyaddrv6): Likewise.
15163 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15164 (readdinitgroups): Return value returned by addinitgroupsX.
15165 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15166 (prune_cache): Keep track of timeout value of re-added entries.
15167 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15168 * nscd/nscd.h: Adjust prototypes of readd* functions.
15169
a0bf67cc
RM
151702011-02-04 Roland McGrath <roland@redhat.com>
15171
15172 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15173 (nis_stats): Likewise.
15174 * nis/nis_modify.c (nis_modify): Likewise.
15175 * nis/nis_remove.c (nis_remove): Likewise.
15176 * nis/nis_add.c (nis_add): Likewise.
15177
15178 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15179
15180 * posix/fnmatch_loop.c: Add some consts.
15181
15182 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15183
435b95eb
L
151842011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15185
15186 [BZ #12460]
15187 * config.make.in (config-cflags-novzeroupper): Define.
15188 * configure.in: Substitute libc_cv_cc_novzeroupper.
15189 * elf/Makefile (AVX-CFLAGS): Define.
15190 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15191 (CFLAGS-tst-auditmod4a.c): Likewise.
15192 (CFLAGS-tst-auditmod4b.c): Likewise.
15193 (CFLAGS-tst-auditmod6b.c): Likewise.
15194 (CFLAGS-tst-auditmod6c.c): Likewise.
15195 (CFLAGS-tst-auditmod7b.c): Likewise.
15196 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15197
8517b15e
UD
151982011-02-02 Ulrich Drepper <drepper@gmail.com>
15199
15200 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15201 function to the callback.
15202 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15203
10a656fe
AS
152042011-02-02 Andreas Schwab <schwab@redhat.com>
15205
15206 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15207 of errno.
15208
968dad0a
UD
152092011-01-19 Ulrich Drepper <drepper@gmail.com>
15210
9f94d2ea 15211 [BZ #11724]
968dad0a
UD
15212 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15213 of constructors.
15214 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15215 of destructors.
15216 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15217
15218 [BZ #11724]
15219 * elf/Makefile: Add rules to build and run new test.
15220 * elf/tst-initorder.c: New file.
15221 * elf/tst-initorder.exp: New file.
15222 * elf/tst-initordera1.c: New file.
15223 * elf/tst-initordera2.c: New file.
15224 * elf/tst-initordera3.c: New file.
15225 * elf/tst-initordera4.c: New file.
15226 * elf/tst-initorderb1.c: New file.
15227 * elf/tst-initorderb2.c: New file.
15228 * elf/tst-order-a1.c: New file.
15229 * elf/tst-order-a2.c: New file.
15230 * elf/tst-order-a3.c: New file.
15231 * elf/tst-order-a4.c: New file.
15232 * elf/tst-order-b1.c: New file.
15233 * elf/tst-order-b2.c: New file.
15234 * elf/tst-order-main.c: New file.
15235 New test case by George Gensure <werkt0@gmail.com>.
15236
86e92359
UD
152372010-10-01 Andreas Schwab <schwab@redhat.com>
15238
15239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15240 decoding ACE if AI_CANONIDN.
15241
5d5732b0
UD
152422011-01-18 Ulrich Drepper <drepper@gmail.com>
15243
15244 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15245
a77e8cbc
UD
152462011-01-17 Ulrich Drepper <drepper@gmail.com>
15247
6392473f
UD
15248 * version.h (RELEASE): Bump for 2.13 release.
15249 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15250
620a0529
UD
15251 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15252
18ba70a5
UD
15253 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15254 MADV_NOHUGEPAGE.
32465c3e
UD
15255 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15256 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15257 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15258 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15259 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15260 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15261
c0dafcf1
UD
15262 * posix/getconf.c: Update copyright year.
15263 * catgets/gencat.c: Likewise.
15264 * csu/version.c: Likewise.
15265 * debug/catchsegv.sh: Likewise.
15266 * debug/xtrace.sh: Likewise.
15267 * elf/ldconfig.c: Likewise.
15268 * elf/ldd.bash.in: Likewise.
15269 * elf/sprof.c (print_version): Likewise.
15270 * iconv/iconv_prog.c: Likewise.
15271 * iconv/iconvconfig.c: Likewise.
15272 * locale/programs/locale.c: Likewise.
15273 * locale/programs/localedef.c: Likewise.
15274 * malloc/memusage.sh: Likewise.
15275 * malloc/mtrace.pl: Likewise.
15276 * nscd/nscd.c (print_version): Likewise.
15277 * nss/getent.c: Likewise.
15278
a77e8cbc
UD
15279 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15280 PF_CAIF, and PF_ALG.
15281 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15282
77e8bddf
AS
152832011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15284
1f20b93a
AS
15285 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15286 (modules-names): Use them.
15287 (ifunc-test-modules, ifunc-pie-tests): Define.
15288 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15289 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15290 (test-extras): Likewise.
15291 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15292 $(compile-command.c).
15293 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15294 (all-built-dso): Define.
15295 (check-textrel.out, check-execstack.out): Depend on it.
15296
77e8bddf
AS
15297 * configure.in: Don't override --enable-multi-arch.
15298
bc425b33
UD
152992011-01-15 Ulrich Drepper <drepper@gmail.com>
15300
15301 [BZ #6812]
15302 * nscd/hstcache.c (tryagain): Define.
15303 (cache_addhst): Return tryagain not notfound for temporary errors.
15304 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15305 failed.
15306
794c3ad3
UD
153072011-01-14 Ulrich Drepper <drepper@gmail.com>
15308
70181fdd
UD
15309 [BZ #10563]
15310 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15311 to make the syscall.
15312 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15313
794c3ad3
UD
15314 [BZ #12378]
15315 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15316 and fall back to matching as normal character if the string ends before
15317 the matching ']' is found. This is what POSIX requires.
15318 * posix/testfnm.c: Adjust test result.
15319 * posix/globtest.sh: Adjust test result. Add new test.
15320 * posix/tst-fnmatch.input: Likewise.
15321 * posix/tst-fnmatch2.c: Add new test.
15322
68dc9497
AS
153232010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15324
15325 * elf/Makefile (check-execstack): Revert last change. Depend on
15326 check-execstack.h.
15327 (check-execstack.h): New target.
15328 (generated): Add check-execstack.h.
15329 * elf/check-execstack.c: Include "check-execstack.h".
15330 (main): Revert last change.
15331 (handle_file): Return zero if GNU_STACK is absent and
15332 DEFAULT_STACK_PERMS doesn't include PF_X.
15333
451f001b
UD
153342011-01-13 Ulrich Drepper <drepper@gmail.com>
15335
cfa28e56
UD
15336 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15337 in child fails because the descriptor is already closed.
8cf8ce17
UD
15338 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15339 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15340 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15341
1086d70d
UD
15342 [BZ #12397]
15343 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15344 syscall.
15345
451f001b
UD
15346 [BZ #10484]
15347 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15348 temporary buffer used to handle multi lookups locally.
a85b5cb4 15349 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15350
08769175
UD
153512011-01-12 Ulrich Drepper <drepper@gmail.com>
15352
15353 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15354 loader is ld.so.
15355
5e49c52e
UD
153562011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15357
15358 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15359 alignment for SSE2.
15360
60522a5f
UD
153612011-01-12 Ulrich Drepper <drepper@gmail.com>
15362
15363 [BZ #12394]
15364 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15365 characters. When rounding increased number of integer digits recompute
15366 number of groups.
15367 * stdio-common/tst-grouping.c: New file.
15368 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15369
f257bbd7
UD
153702011-01-09 Ulrich Drepper <drepper@gmail.com>
15371
15372 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15373 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15374
15375 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15376 void.
15377 * bits/select.h: Likewise.
15378
fa9c15cb
UD
153792011-01-08 Ulrich Drepper <drepper@gmail.com>
15380
15381 * po/ja.po: Update from translation team.
15382
16c2895f
DM
153832011-01-04 David S. Miller <davem@sunset.davemloft.net>
15384
15385 [BZ #11155]
15386 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15387 implementation just like for lxstat, fxstatat, et al.
15388
2543fef2
JM
153892010-12-27 Jim Meyering <meyering@redhat.com>
15390
15391 [BZ #12348]
15392 * posix/regexec.c (build_trtable): Return failure indication upon
15393 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15394
98727dbe
UD
153952010-12-25 Ulrich Drepper <drepper@gmail.com>
15396
5bd6dc5c
UD
15397 [BZ #12201]
15398 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15399 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15400 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15401 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15402
97983464
UD
15403 [BZ #12207]
15404 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15405
98727dbe
UD
15406 [BZ #12204]
15407 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15408 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15409
4a531bb0
L
154102010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15411
15412 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15413 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15414 script has SORT_BY_INIT_PRIORITY.
15415 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15416 NO_CTORS_DTORS_SECTIONS is defined.
15417 * elf/soinit.c: Likewise.
15418 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15419 NO_CTORS_DTORS_SECTIONS is defined.
15420 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15421 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15422 * sysdeps/sh/init-first.c: Likewise.
15423 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15424
07eb4b71
UD
154252010-12-24 Ulrich Drepper <drepper@gmail.com>
15426
15427 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15428 always use the slow path.
15429
30950a5f
RA
154302010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15431
15432 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15433 similar rule which adds the sysdep directories to the header search in
15434 order to pick up the correct platform stackinfo.h.
15435 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15436 perform test if it is, otherwise return successfully without testing.
15437 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15438 DEFAULT_STACK_PERMS define in stackinfo.h.
15439 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15440 defined in stackinfo.h.
15441 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15442 DEFAULT_STACK_PERMS defined in stackinfo.h.
15443 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15444 * sysdeps/ia64/stackinfo.h: Likewise.
15445 * sysdeps/s390/stackinfo.h: Likewise.
15446 * sysdeps/sh/stackinfo.h: Likewise.
15447 * sysdeps/sparc/stackinfo.h: Likewise.
15448 * sysdeps/x86_64/stackinfo.h: Likewise.
15449 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15450 PF_X for powerpc64. Retain PF_X for powerpc32.
15451
db753e2c
UD
154522010-12-19 Ulrich Drepper <drepper@gmail.com>
15453
14b697f7
UD
15454 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15455 accurately.
db753e2c
UD
15456 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15457 GETDENTS_64BIT_ALIGNED.
15458
28300719
UD
154592010-12-14 Ulrich Drepper <dreper@gmail.com>
15460
14b697f7 15461 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15462
4f197237
AS
154632010-12-10 Andreas Schwab <schwab@redhat.com>
15464
dbb0472f
AS
15465 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15466 _GNU_SOURCE.
15467
4f197237
AS
15468 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15469 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15470 Remove __restrict.
15471 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15472 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15473
fb88ac72
UD
154742010-12-09 Ulrich Drepper <drepper@gmail.com>
15475
15476 [BZ #11655]
15477 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15478 are initialized.
15479
42acbb92
JJ
154802010-12-09 Jakub Jelinek <jakub@redhat.com>
15481
15482 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15483
c038d98d
UD
154842010-12-03 Ulrich Drepper <drepper@gmail.com>
15485
15486 * po/it.po: Update from translation team.
15487
3a4a2499
L
154882010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15489
15490 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15491 unused codes.
15492
1e24cf6e
UD
154932010-11-30 Ulrich Drepper <drepper@gmail.com>
15494
15495 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15496
a7690819
AS
154972010-11-24 Andreas Schwab <schwab@redhat.com>
15498
15499 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15500 specially.
15501 (gaih_getanswer_slice): Likewise.
15502
3bf8d1b1
JJ
155032010-10-20 Jakub Jelinek <jakub@redhat.com>
15504
15505 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15506
6db52fbb
PB
155072010-05-31 Petr Baudis <pasky@suse.cz>
15508
15509 [BZ #11149]
15510 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15511 silently even in the chroot mode.
15512
eaca7569
UD
155132010-11-22 Ulrich Drepper <drepper@gmail.com>
15514
15515 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15516 last patch a bit. Pretty printing
15517
3056dcdb
UD
155182010-05-31 Petr Baudis <pasky@suse.cz>
15519
15520 [BZ #10085]
15521 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15522 initialization of skip_initgroups_dyn.
15523
cf7c9078
UD
155242010-11-19 Ulrich Drepper <drepper@gmail.com>
15525
15526 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15527 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15528
a1fb5e3e
UD
155292010-11-16 Ulrich Drepper <drepper@gmail.com>
15530
15531 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15532
3540d66b
AS
155332010-11-11 Andreas Schwab <schwab@redhat.com>
15534
15535 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15536 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15537 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15538 ($(objpfx)tst-fnmatch-mem): New rule.
15539 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15540 * posix/tst-fnmatch.c (main): Call mtrace.
15541
13b69574
L
155422010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15543
15544 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15545 Support Intel processor model 6 and model 0x2c.
15546
da93d214
LM
155472010-11-10 Luis Machado <luisgpm@br.ibm.com>
15548
15549 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15550 signed comparison.
15551
8ca52c6e
L
155522010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15553
15554 [BZ #12205]
15555 * string/test-strncasecmp.c (check_result): New function.
15556 (do_one_test): Use it.
15557 (check1): New function.
15558 (test_main): Use it.
15559 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15560 Support strcasecmp and strncasecmp.
15561
69da074d
UD
155622010-11-08 Ulrich Drepper <drepper@gmail.com>
15563
15564 [BZ #12194]
15565 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15566 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15567
ff02d528
L
155682010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15569
15570 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15571 IFUNC support.
15572 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15573 memset-x86-64.
15574 * sysdeps/x86_64/multiarch/bzero.S: New file.
15575 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15576 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15577 * sysdeps/x86_64/multiarch/memset.S: New file.
15578 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15580 Set bit_Prefer_SSE_for_memop for Intel processors.
15581 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15582 Define.
15583 (index_Prefer_SSE_for_memop): Define.
15584 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15585
344d0b54
LM
155862010-11-04 Luis Machado <luisgpm@br.ibm.com>
15587
15588 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15589 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15590
c0dde15b
UD
155912010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15592
15593 [BZ #12191]
15594 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15595 (__x86_64_raw_data_cache_size_half): Likewise.
15596 (__x86_64_raw_shared_cache_size): Likewise.
15597 (__x86_64_raw_shared_cache_size_half): Likewise.
15598
15599 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15600 (__x86_64_raw_data_cache_size_half): Likewise.
15601 (__x86_64_raw_shared_cache_size): Likewise.
15602 (__x86_64_raw_shared_cache_size_half): Likewise.
15603 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15604 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15605 and __x86_64_raw_shared_cache_size_half. Round
15606 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15607 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15608 to multiple of 256 bytes.
15609
0e516e0e
MS
156102010-11-03 Ulrich Drepper <drepper@gmail.com>
15611
15612 [BZ #12167]
15613 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15614 of inacessible symlinks. Verify result of symlink before returning it.
15615 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15616 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15617
0e012e87
ER
156182010-10-28 Erich Ritz <erichritz@gmail.com>
15619
15620 * math/math.h (isinf): Fix typo in comment.
15621
de0ff7bc
UD
156222010-11-01 Ulrich Drepper <drepper@gmail.com>
15623
15624 * po/da.po: Update from translation team.
15625
fa41c84d
UD
156262010-10-26 Ulrich Drepper <drepper@gmail.com>
15627
15628 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15629 is added to the list.
15630
f0967738
AK
156312010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15632 Ulrich Drepper <drepper@gmail.com>
15633
15634 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15635 the global list here. Move code to...
15636 (_dl_add_to_namespace_list): ...here. New function.
15637 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15638 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15639 * elf/dl-load.c (lose): Don't remove the element from the list.
15640 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15641 (_dl_map_object): Likewise.
15642
156432010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15644
15645 [BZ #12159]
15646 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15647 into all bytes of SSE register.
15648 Patch by Richard Li <richardpku@gmail.com>.
15649
f0967738 156502010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15651
15652 [BZ #12140]
15653 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15654 perturbing.
15655
d0b9e94f
MB
156562010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15657
15658 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15659 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15660 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15661 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15663 submachine.
15664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15665
8e9f92e9
AS
156662010-10-22 Andreas Schwab <schwab@redhat.com>
15667
15668 * include/dlfcn.h (__RTLD_SECURE): Define.
15669 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15670 mode & __RTLD_SECURE instead.
15671 (open_path): Rename preloaded parameter to secure.
15672 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15673 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15674 * elf/dl-deps.c (openaux): Likewise.
15675 * elf/rtld.c (struct map_args): Remove is_preloaded.
15676 (map_doit): Don't use it.
15677 (dl_main): Likewise.
15678 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15679 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15680
bc96fbda
AS
156812010-09-09 Andreas Schwab <schwab@redhat.com>
15682
15683 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15684 (sysd-rules-targets): Remove duplicates.
15685 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15686 rtld-%.$o dependency.
15687
22cd1c9b
AS
156882010-10-18 Andreas Schwab <schwab@redhat.com>
15689
15690 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15691 _dl_map_object do it.
15692
18edac48
UD
156932010-10-19 Ulrich Drepper <drepper@gmail.com>
15694
15695 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15696 fast fma builtins, define the macros in the C99 standard.
15697 (FP_FAST_FMAF): Likewise.
15698 (FP_FAST_FMAL): Likewise.
15699 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15700
15701 * bits/mathdef.h: Update copyright year.
15702 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15703
d2050124
MM
157042010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15705
15706 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15707 builtins, define the macros in the C99 standard.
15708 (FP_FAST_FMAF): Likewise.
15709 (FP_FAST_FMAL): Likewise.
15710 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15711 multiply/add.
15712 (FP_FAST_FMAF): Likewise.
15713
475facd1
JJ
157142010-10-15 Jakub Jelinek <jakub@redhat.com>
15715
15716 [BZ #3268]
15717 * math/libm-test.inc (fma_test): Some new testcases.
15718 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15719 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15720 y and infinite z. Do multiplication by C already in long double.
15721 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15722 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15723 y and infinite z. Do bitwise or of inexact bit into u.d.
15724 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15725 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15726 * sysdeps/i386/fpu/s_fma.S: Removed.
15727 * sysdeps/i386/fpu/s_fmal.S: Removed.
15728
7c08a05c
JJ
157292010-10-16 Jakub Jelinek <jakub@redhat.com>
15730
15731 [BZ #3268]
15732 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15733 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15734 computation is not scheduled after fetestexcept. Fix value
15735 of minimum denormal long double.
15736
f3f7372d
JJ
157372010-10-14 Jakub Jelinek <jakub@redhat.com>
15738
15739 [BZ #3268]
15740 * math/libm-test.inc (fma_test): Add some more tests.
15741 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15742 correctly.
15743
14d43591
AS
157442010-10-15 Andreas Schwab <schwab@redhat.com>
15745
15746 * scripts/data/localplt-s390-linux-gnu.data: New file.
15747 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15748
5e908464
JJ
157492010-10-13 Jakub Jelinek <jakub@redhat.com>
15750
15751 [BZ #3268]
15752 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15753 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15754 instead of dbl-64.
15755 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15756 inlines.
15757 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15758 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15759 if one of x and y is very large and the other is subnormal.
15760 * sysdeps/s390/fpu/s_fmaf.c: New file.
15761 * sysdeps/s390/fpu/s_fma.c: New file.
15762 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15763 * sysdeps/powerpc/fpu/s_fma.S: New file.
15764 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15765 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15766 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15767
157682010-10-12 Jakub Jelinek <jakub@redhat.com>
15769
15770 [BZ #3268]
15771 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15772 fma tests.
15773 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15774 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15775 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15776 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15777 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15778 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15779 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15780
b833d51f
UD
157812010-10-12 Ulrich Drepper <drepper@redhat.com>
15782
15783 [BZ #12078]
15784 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15785 * posix/bug-regex31.input: Add test case.
15786
1751705d
UD
157872010-10-11 Ulrich Drepper <drepper@gmail.com>
15788
e9b9cbf5
UD
15789 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15790 * posix/bug-regex31.input: New file.
15791
15792 [BZ #12078]
15793 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15794 (parse_sub_exp): Fix last change, use postorder.
15795
ef06edbe
UD
15796 * posix/bug-regex31.c: New file.
15797 * posix/Makefile: Add rules to build and run bug-regex31.
15798
a129c80d
UD
15799 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15800
15801 [BZ #12078]
15802 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15803
b76b818e
UD
15804 [BZ #12108]
15805 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15806 to have entries in sys_siglist.
15807
1751705d
UD
15808 [BZ #12093]
15809 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15810 be NULL.
15811
9ff8d36f
JJ
158122010-10-07 Jakub Jelinek <jakub@redhat.com>
15813
15814 [BZ #3268]
15815 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15816 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15817 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15818 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15819 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15820 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15821 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15822 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15823 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15824 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15825 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15826 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15827 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15828 * math/ftestexcept.c (fetestexcept): Likewise.
15829 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15830 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15831 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15832 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15833 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15834 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15835 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15836
af325969
UD
158372010-10-11 Ulrich Drepper <drepper@gmail.com>
15838
c579b202 15839 [BZ #12107]
af325969
UD
15840 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15841 newline.
15842
67a67b95
UD
158432010-10-06 Ulrich Drepper <drepper@gmail.com>
15844
15845 * string/bug-strstr1.c: New file.
15846 * string/Makefile: Add rules to build and run bug-strstr1.
15847
5fb308bc
EB
158482010-10-05 Eric Blake <eblake@redhat.com>
15849
15850 [BZ #12092]
15851 * string/str-two-way.h (two_way_long_needle): Always clear memory
15852 when skipping input due to the shift table.
15853
45db99c7
UD
158542010-10-03 Ulrich Drepper <drepper@gmail.com>
15855
3b111893
UD
15856 [BZ #12005]
15857 * malloc/mcheck.c: Handle large requests.
15858
45db99c7
UD
15859 [BZ #12077]
15860 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15861 for strncmp and strncasecmp.
15862 * string/stratcliff.c: Add tests for strcmp and strncmp.
15863 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15864
cf7a1eb8
NI
158652010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15866
15867 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15868 __set_fpscr.
15869
6484ba5e
AJ
158702010-09-30 Andreas Jaeger <aj@suse.de>
15871
15872 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15873 (CGROUP_SUPER_MAGIC): Define.
15874 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15875 Handle btrfs and cgroup file systems.
15876 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15877 Likewise.
15878
91c42559
LM
158792010-09-27 Luis Machado <luisgpm@br.ibm.com>
15880
15881 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15882 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15883
87a97932
AK
158842010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15885
15886 [BZ #12067]
15887 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15888 trying to locate the ELF header.
15889
c21cc9bc
AS
158902010-09-27 Andreas Schwab <schwab@redhat.com>
15891
15892 [BZ #11611]
15893 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15894 Mask out sign-bit copies when constructing f_fsid.
15895
315970f6
PB
158962010-09-24 Petr Baudis <pasky@suse.cz>
15897
15898 * debug/stack_chk_fail_local.c: Add missing licence exception.
15899 * debug/warning-nop.c: Likewise.
15900
1ac7a2c7
JM
159012010-09-15 Joseph Myers <joseph@codesourcery.com>
15902
15903 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15904 implementing getdents64 using getdents syscall, set d_type if
15905 __ASSUME_GETDENTS32_D_TYPE.
15906
56801c50
AS
159072010-09-16 Andreas Schwab <schwab@redhat.com>
15908
15909 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15910 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15911
dda51327
UD
159122010-09-21 Ulrich Drepper <drepper@redhat.com>
15913
15914 [BZ #12037]
15915 * posix/unistd.h: Undo change of feature selection for ftruncate from
15916 2010-01-11.
15917
8ffcee4a
UD
159182010-09-20 Ulrich Drepper <drepper@redhat.com>
15919
a545ecd9 15920 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15921 detection.
15922
e24f0a8b
AS
159232010-09-20 Andreas Schwab <schwab@redhat.com>
15924
15925 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15926 fanotify_mark.
15927 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15928
7291c56f
AS
159292010-09-14 Andreas Schwab <schwab@redhat.com>
15930
15931 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15932 variables after CHECK_SP call.
15933 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15934
bc5fb037
AS
159352010-09-13 Andreas Schwab <schwab@redhat.com>
15936 Ulrich Drepper <drepper@redhat.com>
15937
15938 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15939 re-relocationg ld.so.
15940 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15941 _dl_init_paths call.
15942 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15943 here anymore.
15944
e66e7419
UD
159452010-09-14 Ulrich Drepper <drepper@redhat.com>
15946
15947 * resolv/res_init.c (__res_vinit): Count the default server we added.
15948
c044aa75
CLT
159492010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15950 Ulrich Drepper <drepper@redhat.com>
15951
15952 [BZ #11968]
15953 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15954 (____longjmp_chk): Use %ebx for saving value across system call.
15955 Add unwind info.
15956
32cf4069
AS
159572010-09-06 Andreas Schwab <schwab@redhat.com>
15958
15959 * manual/Makefile: Don't mix pattern rules with normal rules.
15960
817328ee
AS
159612010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15962
15963 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15964 operation.
15965 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15966 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15967 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15968 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15969 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15970 Likewise.
15971
29fddf61
UD
159722010-09-04 Ulrich Drepper <drepper@redhat.com>
15973
15974 [BZ #11979]
15975 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15976 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15977
0959ffc9
UD
159782010-09-02 Ulrich Drepper <drepper@redhat.com>
15979
15980 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15981 * sysdeps/x86_64/addmul_1.S: Likewise.
15982 * sysdeps/x86_64/lshift.S: Likewise.
15983 * sysdeps/x86_64/mul_1.S: Likewise.
15984 * sysdeps/x86_64/rshift.S: Likewise.
15985 * sysdeps/x86_64/sub_n.S: Likewise.
15986 * sysdeps/x86_64/submul_1.S: Likewise.
15987
ece29840
ST
159882010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15989
0959ffc9
UD
15990 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15991 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15992 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15993 * bits/sched.h [__need_schedparam]
ece29840 15994 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15995 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15996 (__defined_schedparam): Define to 1.
ece29840
ST
15997 (__sched_param): New structure, identical to sched_param.
15998 (__need_schedparam): Undefine.
15999
e53a31fe
MF
160002010-08-31 Mike Frysinger <vapier@gentoo.org>
16001
fdc0c10d
MF
16002 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16003 (epoll_create1): Declare.
16004
e53a31fe
MF
16005 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16006
a726d796
AS
160072010-08-31 Andreas Schwab <schwab@redhat.com>
16008
16009 [BZ #7066]
16010 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16011 shifting retval into place.
16012
2f3e3dc7
UD
160132010-09-01 Ulrich Drepper <drepper@redhat.com>
16014
f2933da9
UD
16015 * nis/rpcsvc/nis.h: Update copyright notice.
16016 * nis/rpcsvc/nis.x: Likewise.
16017 * nis/rpcsvc/nis_callback.h: Likewise.
16018 * nis/rpcsvc/nis_callback.x: Likewise.
16019 * nis/rpcsvc/nis_object.x: Likewise.
16020 * nis/rpcsvc/nis_tags.h: Likewise.
16021 * nis/rpcsvc/yp.h: Likewise.
16022 * nis/rpcsvc/yp.x: Likewise.
16023 * nis/rpcsvc/ypupd.h: Likewise.
16024 * nis/yp_xdr.c: Likewise.
16025 * nis/ypupdate_xdr.c: Likewise.
16026
2f3e3dc7
UD
16027 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16028 mainly the body of pmap_getport. Add parameters to specify timeouts.
16029 (pmap_getport): Use __libc_rpc_getport.
16030 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16031 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16032 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16033
f3dcc2f9
AS
160342010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16035
16036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16037 fanotify_mark.
16038
6d34eb5b
RM
160392010-08-27 Roland McGrath <roland@redhat.com>
16040
16041 * sysdeps/i386/i686/multiarch/Makefile
16042 (CFLAGS-varshift.c): New variable.
16043
9ea3de11
UD
160442010-08-27 Ulrich Drepper <drepper@redhat.com>
16045
c96d23fc
UD
16046 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16047 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16048
9ea3de11
UD
16049 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16050
16051 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16052
623aac7f
L
160532010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16054
16055 * sysdeps/x86_64/strlen.S: Unroll the loop.
16056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16057 strlen-sse2 strlen-sse2-bsf.
16058 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16059 __strlen_no_bsf if bit_Slow_BSF is set.
16060 (__strlen_sse42): Removed.
16061 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16062 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16063
8b2b7715
RM
160642010-08-25 Roland McGrath <roland@redhat.com>
16065
16066 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16067 * sysdeps/x86_64/multiarch/varshift.c: New file.
16068 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16069 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16070 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16071 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16072
e73015f2
L
160732010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16074
16075 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16076 strlen-sse2 strlen-sse2-bsf.
16077 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16078 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16079 (__strlen_sse2): Removed.
16080 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16081 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16082 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16083 bit_Slow_BSF for Atom.
16084 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16085 (index_Slow_BSF): Define.
16086 (HAS_SLOW_BSF): Define.
16087
df24a73e
UD
160882010-08-25 Ulrich Drepper <drepper@redhat.com>
16089
16090 [BZ #10851]
16091 * resolv/res_init.c (__res_vinit): When no server address at all
16092 is given default to loopback.
16093
f2ac4868
RM
160942010-08-24 Roland McGrath <roland@redhat.com>
16095
09055553
RM
16096 * configure.in: Remove config-name.h generation.
16097 * configure: Regenerated.
16098 * config-name.in: File removed.
16099 * scripts/config-uname.sh: New file.
16100 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16101 ($(objdir)config-name.h): New target.
16102
f2ac4868
RM
16103 * sunrpc/rpc_parse.h: Avoid nested comment.
16104
73f27d5e
RH
161052010-08-24 Richard Henderson <rth@redhat.com>
16106 Ulrich Drepper <drepper@redhat.com>
16107 H.J. Lu <hongjiu.lu@intel.com>
16108
16109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16110 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16111 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16112 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16113 _mm_alignr_epi8 with _mm_loadu_si128.
16114 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16115 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16116 (__m128i_shift_right): Removed.
16117 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16118 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16119 * sysdeps/x86_64/multiarch/varshift.h: New file.
16120 * sysdeps/x86_64/multiarch/varshift.S: New file.
16121
84b9230c
MF
161222010-08-21 Mike Frysinger <vapier@gentoo.org>
16123
16124 * configure.in: Move assembler checks to before sysdep dir checking.
16125
9bbd0ddc
PB
161262010-08-20 Petr Baudis <pasky@suse.cz>
16127
16128 * LICENSES: Sync the sunrpc license.
16129
9da4bb31
UD
161302010-08-19 Ulrich Drepper <drepper@redhat.com>
16131
a7ab6ec8
UD
16132 * sunrpc/auth_des.c: Update copyright notice once again.
16133 * sunrpc/auth_none.c: Likewise.
16134 * sunrpc/auth_unix.c: Likewise.
16135 * sunrpc/authdes_prot.c: Likewise.
16136 * sunrpc/authuxprot.c: Likewise.
16137 * sunrpc/bindrsvprt.c: Likewise.
16138 * sunrpc/clnt_gen.c: Likewise.
16139 * sunrpc/clnt_perr.c: Likewise.
16140 * sunrpc/clnt_raw.c: Likewise.
16141 * sunrpc/clnt_simp.c: Likewise.
16142 * sunrpc/clnt_tcp.c: Likewise.
16143 * sunrpc/clnt_udp.c: Likewise.
16144 * sunrpc/clnt_unix.c: Likewise.
16145 * sunrpc/des_crypt.c: Likewise.
16146 * sunrpc/des_soft.c: Likewise.
16147 * sunrpc/get_myaddr.c: Likewise.
16148 * sunrpc/getrpcport.c: Likewise.
16149 * sunrpc/key_call.c: Likewise.
16150 * sunrpc/key_prot.c: Likewise.
16151 * sunrpc/openchild.c: Likewise.
16152 * sunrpc/pm_getmaps.c: Likewise.
16153 * sunrpc/pm_getport.c: Likewise.
16154 * sunrpc/pmap_clnt.c: Likewise.
16155 * sunrpc/pmap_prot.c: Likewise.
16156 * sunrpc/pmap_prot2.c: Likewise.
16157 * sunrpc/pmap_rmt.c: Likewise.
16158 * sunrpc/rpc/auth.h: Likewise.
16159 * sunrpc/rpc/auth_unix.h: Likewise.
16160 * sunrpc/rpc/clnt.h: Likewise.
16161 * sunrpc/rpc/des_crypt.h: Likewise.
16162 * sunrpc/rpc/key_prot.h: Likewise.
16163 * sunrpc/rpc/netdb.h: Likewise.
16164 * sunrpc/rpc/pmap_clnt.h: Likewise.
16165 * sunrpc/rpc/pmap_prot.h: Likewise.
16166 * sunrpc/rpc/pmap_rmt.h: Likewise.
16167 * sunrpc/rpc/rpc.h: Likewise.
16168 * sunrpc/rpc/rpc_des.h: Likewise.
16169 * sunrpc/rpc/rpc_msg.h: Likewise.
16170 * sunrpc/rpc/svc.h: Likewise.
16171 * sunrpc/rpc/svc_auth.h: Likewise.
16172 * sunrpc/rpc/types.h: Likewise.
16173 * sunrpc/rpc/xdr.h: Likewise.
16174 * sunrpc/rpc_clntout.c: Likewise.
16175 * sunrpc/rpc_cmsg.c: Likewise.
16176 * sunrpc/rpc_common.c: Likewise.
16177 * sunrpc/rpc_cout.c: Likewise.
16178 * sunrpc/rpc_dtable.c: Likewise.
16179 * sunrpc/rpc_hout.c: Likewise.
16180 * sunrpc/rpc_main.c: Likewise.
16181 * sunrpc/rpc_parse.c: Likewise.
16182 * sunrpc/rpc_parse.h: Likewise.
16183 * sunrpc/rpc_prot.c: Likewise.
16184 * sunrpc/rpc_sample.c: Likewise.
16185 * sunrpc/rpc_scan.c: Likewise.
16186 * sunrpc/rpc_scan.h: Likewise.
16187 * sunrpc/rpc_svcout.c: Likewise.
16188 * sunrpc/rpc_tblout.c: Likewise.
16189 * sunrpc/rpc_util.c: Likewise.
16190 * sunrpc/rpc_util.h: Likewise.
16191 * sunrpc/rpcinfo.c: Likewise.
16192 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16193 * sunrpc/rpcsvc/key_prot.x: Likewise.
16194 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16195 * sunrpc/rpcsvc/mount.x: Likewise.
16196 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16197 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16198 * sunrpc/rpcsvc/rex.x: Likewise.
16199 * sunrpc/rpcsvc/rstat.x: Likewise.
16200 * sunrpc/rpcsvc/rusers.x: Likewise.
16201 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16202 * sunrpc/rpcsvc/spray.x: Likewise.
16203 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16204 * sunrpc/rtime.c: Likewise.
16205 * sunrpc/svc.c: Likewise.
16206 * sunrpc/svc_auth.c: Likewise.
16207 * sunrpc/svc_authux.c: Likewise.
16208 * sunrpc/svc_raw.c: Likewise.
16209 * sunrpc/svc_run.c: Likewise.
16210 * sunrpc/svc_simple.c: Likewise.
16211 * sunrpc/svc_tcp.c: Likewise.
16212 * sunrpc/svc_udp.c: Likewise.
16213 * sunrpc/svc_unix.c: Likewise.
16214 * sunrpc/svcauth_des.c: Likewise.
16215 * sunrpc/xcrypt.c: Likewise.
16216 * sunrpc/xdr.c: Likewise.
16217 * sunrpc/xdr_array.c: Likewise.
16218 * sunrpc/xdr_float.c: Likewise.
16219 * sunrpc/xdr_mem.c: Likewise.
16220 * sunrpc/xdr_rec.c: Likewise.
16221 * sunrpc/xdr_ref.c: Likewise.
16222 * sunrpc/xdr_sizeof.c: Likewise.
16223 * sunrpc/xdr_stdio.c: Likewise.
16224
9da4bb31
UD
16225 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16226 handling.
16227
bdaa77bc
AS
162282010-08-19 Andreas Schwab <schwab@redhat.com>
16229
16230 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16231
fe2f79db
LM
162322010-08-19 Luis Machado <luisgpm@br.ibm.com>
16233
16234 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16235 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16236 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16237 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16238 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16239 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16240 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16241 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16242 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16243 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16244 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16245 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16246 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16247 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16248
b9b42ee0
AB
162492010-07-26 Anton Blanchard <anton@samba.org>
16250
16251 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16252 * malloc/arena.c (heap_trim): Likewise.
16253
1c06ba31
UD
162542010-08-16 Ulrich Drepper <drepper@redhat.com>
16255
16256 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16257 here. Not...
16258 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16259 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16260
f8392f40
L
162612010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16262
16263 * sysdeps/i386/elf/Makefile: New file.
16264
3162f12e
AS
162652010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16266
16267 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16268 from fanotify_init.
16269 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16270 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16271
28c90b2c
UD
162722010-08-15 Ulrich Drepper <drepper@redhat.com>
16273
16274 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16275 of strncasecmp_l.
1feccb6c 16276 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16277
ca6bb004
UD
162782010-08-14 Ulrich Drepper <drepper@redhat.com>
16279
e9f82e0d
UD
16280 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16281 strncase_l-nonascii.
16282 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16283 Add strncase_l-ssse3.
16284 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16285 * sysdeps/x86_64/strcmp.S: Likewise.
16286 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16287 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16288 * sysdeps/x86_64/strncase.S: New file.
16289 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16290 * sysdeps/x86_64/strncase_l.S: New file.
16291 * string/Makefile (strop-tests): Add strncasecmp.
16292 * string/test-strncasecmp.c: New file.
16293
16294 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16295 warning.
16296
ca6bb004
UD
16297 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16298 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16299
052fa7b3
AS
163002010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16301
16302 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16303
962dba78
UD
163042010-08-12 Ulrich Drepper <drepper@redhat.com>
16305
16306 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16307 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16308 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16309
bebff237
AM
163102010-05-01 Alan Modra <amodra@gmail.com>
16311
16312 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16313 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16314 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16315 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16316 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16317 tidying. Don't tail-call __sigjmp_save for static lib.
16318 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16319 save location.
16320 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16321 (CALL_MCOUNT): Add eh info, and nop after bl.
16322 (TAIL_CALL_SYSCALL_ERROR): New macro.
16323 (PSEUDO_RET): Use it.
16324 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16325 Correct save location of integer regs and cr.
16326 (_dl_profile_resolve): Correct cr save location. Delete nops
16327 after bl when SHARED. Reduce cfi size a little by better
16328 placement of cfi directives.
16329 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16330 make a stack frame. Instead use parm save area as a temp.
16331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16332 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16334 Don't make a stack frame for parent, use parm save area.
16335 Increase child stack frame to 112 bytes. Don't save unused reg,
16336 and adjust reg usage. Set up cfi on error recovery and
16337 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16339 (__makecontext): Add dummy nop after jump to exit.
16340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16341 Use correct parm save area and cr save, reduce stack frame.
16342 Correct cfi for possible PSEUDO_RET frame setup.
16343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16344 Branch to local label emitted by PSEUDO_RET rather than
16345 __syscall_error.
16346
02637374
AS
163472010-08-12 Andreas Schwab <schwab@redhat.com>
16348
16349 [BZ #11904]
16350 * locale/programs/locale.c (print_assignment): New function.
16351 (show_locale_vars): Use it.
16352
c3e2f19b
UD
163532010-08-11 Ulrich Drepper <drepper@redhat.com>
16354
3cdaa6ad
UD
16355 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16356 field.
16357 (struct statfs64): Likewise.
16358 (_STATFS_F_FLAGS): Define.
16359 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16360 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16361 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16362 (ST_VALID): Define locally.
16363 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16364 __statvfs_getflags, use the provided value.
16365 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16366 __ASSUME_STATFS_F_FLAGS.
16367
754f7da3
UD
16368 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16369
10b3bedc
UD
16370 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16371 Add sys/fanotify.h.
16372 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16373 fanotify_mask for GLIBC_2.13.
16374 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16375 fanotify_init and fanotify_mark.
16376 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16377 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16378
c08fb0d7
UD
16379 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16380 Add prlimit.
16381 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16382 prlimit64 for GLIBC_2.13.
16383 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16384 prlimit64.
16385 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16386 syscall.
16387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16388 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16389 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16390 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16391 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16392 add prlimit alias.
16393 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16394
15bac72b
UD
16395 [BZ #11903]
16396 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16397 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16398
c3e2f19b
UD
16399 * nss/Makefile: Add rules to build and run tst-nss-test1.
16400 * shlib-versions: Add entry for libnss_test1.
16401 * nss/nss_test1.c: New file.
16402 * nss/tst-nss-test1.c: New file.
16403
16404 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16405 (__nss_configure_lookup): Set appropriate entry in
16406 __nss_configure_lookup to true.
16407 * nss/nsswitch.h: Define enum with indeces of databases in
16408 databases and __nss_database_custom arrays. Declare
16409 __nss_database_custom.
16410 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16411 to avoid using nscd when custom rules are installed.
16412 * nss/getXXbyYY_r.c: Likewise.
16413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16414
16415 * nss/nss_files/files-parse.c: Whitespace fixes.
16416
f15ce4d8
UD
164172010-08-09 Ulrich Drepper <drepper@redhat.com>
16418
16419 [BZ #11883]
16420 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16421 * posix/fnmatch_loop.c: Likewise.
16422
d22e4cc9
AK
164232010-07-17 Andi Kleen <ak@linux.intel.com>
16424
16425 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16426 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16427 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16428 * Versions.def [GLIBC_2.13]: Add.
16429
805bc17d
UD
164302010-08-06 Ulrich Drepper <drepper@redhat.com>
16431
16432 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16433 Also fail if tpwd after pwuid call is NULL.
16434
5a42321d
ST
164352010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16436
16437 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16438 when converting to ms.
16439
fd3ebeda
ST
164402010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16441
16442 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16443 EOPNOTSUPP errors with ENOTTY.
16444 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16445 EOPNOTSUPP errors with ENOTTY.
16446
73507d3a
UD
164472010-07-31 Ulrich Drepper <drepper@redhat.com>
16448
16449 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16450 Add strcasecmp_l-ssse3.
16451 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16452 strcasecmp.
16453 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16454 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16455 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16456
fe36dd02
UD
164572010-07-30 Ulrich Drepper <drepper@redhat.com>
16458
66f6765a
UD
16459 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16460
42e08a54
UD
16461 * string/Makefile (strop-tests): Add strcasecmp.
16462 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16463 strcasecmp_l-nonascii.
16464 (gen-as-const-headers): Add locale-defines.sym.
16465 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16466 * sysdeps/x86_64/strcasecmp.S: New file.
16467 * sysdeps/x86_64/strcasecmp_l.S: New file.
16468 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16469 * sysdeps/x86_64/locale-defines.sym: New file.
16470 * string/test-strcasecmp.c: New file.
16471
fe36dd02
UD
16472 * string/test-strcasestr.c: Test both ends of the range of characters.
16473 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16474
48cbc0d6
RM
164752010-07-29 Roland McGrath <roland@redhat.com>
16476
76e6d6bc 16477 [BZ #11856]
48cbc0d6
RM
16478 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16479
880113d9
UD
164802010-07-27 Ulrich Drepper <drepper@redhat.com>
16481
16482 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16483 for ld.so.
16484
deb9cabb
AS
164852010-07-27 Andreas Schwab <schwab@redhat.com>
16486
16487 * manual/memory.texi (Malloc Tunable Parameters): Document
16488 M_PERTURB.
16489
1c7570ff
RM
164902010-07-26 Roland McGrath <roland@redhat.com>
16491
16492 [BZ #11840]
16493 * configure.in (-fgnu89-inline check): Set and substitute
16494 gnu89_inline, not libc_cv_gnu89_inline.
16495 * configure: Regenerated.
16496 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16497
24fb0f88
UD
164982010-07-26 Ulrich Drepper <drepper@redhat.com>
16499
16500 * string/test-strnlen.c: New file.
16501 * string/Makefile (strop-tests): Add strnlen.
16502 * string/tester.c (test_strnlen): Add a few more test cases.
16503 * string/tst-strlen.c: Better error reporting.
16504
16505 * sysdeps/x86_64/strnlen.S: New file.
16506
8e96b93a
UD
165072010-07-24 Ulrich Drepper <drepper@redhat.com>
16508
16509 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16510 lower-latency instructions.
16511
dbc676d4
UD
165122010-07-23 Ulrich Drepper <drepper@redhat.com>
16513
16514 * string/test-strcasestr.c: New file.
16515 * string/test-strstr.c: New file.
16516 * string/Makefile (strop-tests): Add strstr and strcasestr.
16517 * string/str-two-way.h: Don't undefine MAX.
16518 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16519
f6a31e0e
AS
165202010-07-21 Andreas Schwab <schwab@redhat.com>
16521
16522 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16523 strcasestr-nonascii.
16524 (CFLAGS-strcasestr-nonascii.c): Define.
16525 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16526 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16527 Remove unused attribute.
16528
5dbc3b6c
RM
165292010-07-20 Roland McGrath <roland@redhat.com>
16530
16531 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16532 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16533 ld.so.cache was broken. With it, there is no way to disable dsocaps
16534 like LD_HWCAP_MASK can disable hwcaps.
16535
23d101d8
EPM
165362010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16537
16538 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16539
cc9f2e47
UD
165402010-07-16 Ulrich Drepper <drepper@redhat.com>
16541
16542 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16543 call in strcasestr.
16544 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16545 __strcasestr_sse42_nonascii.
16546 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16547 strcasestr-nonascii.c.
16548 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16549
77c1b069
LM
165502010-06-15 Luis Machado <luisgpm@br.ibm.com>
16551
16552 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16553 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16554 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16555 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16556
440566c3
UD
165572010-07-09 Ulrich Drepper <drepper@redhat.com>
16558
16559 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16560 fcntl.
16561
5be9d05d
AS
165622010-07-06 Andreas Schwab <schwab@redhat.com>
16563
c30b7ee2 16564 [BZ #11577]
5be9d05d
AS
16565 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16566 dl_signal_cerror.
16567
8a492a67
UD
165682010-07-06 Ulrich Drepper <drepper@redhat.com>
16569
16570 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16571 _PC_PIPE_BUF using F_GETPIPE_SZ.
16572
713df3d5
RM
165732010-07-05 Roland McGrath <roland@redhat.com>
16574
16575 * manual/arith.texi (Rounding Functions): Fix rint description
16576 implicit in round description.
16577
702e8f14
UD
165782010-07-02 Ulrich Drepper <drepper@redhat.com>
16579
16580 * elf/Makefile: Fix linking for a few tests to make recent linker
16581 happy.
16582
52ed8be9
AS
165832010-06-30 Andreas Schwab <schwab@redhat.com>
16584
16585 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16586 $(common-objpfx)libc_nonshared.a.
16587
f47c9a11
LM
165882010-06-21 Luis Machado <luisgpm@br.ibm.com>
16589
16590 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16591 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16592 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16593 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16594 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16595 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16596 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16597 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16612 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16613 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16614 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16615 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16616 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16617 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16618 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16619 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16620 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16621 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16622 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16623 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16638
6fb8cbcb
L
166392010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16640
16641 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16642 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16643 * string/memmove.c (memmove): Renamed to ...
16644 (MEMMOVE): ...this. Default to memmove.
16645 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16646 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16647 (END_CHK): Define.
16648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16649 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16650 mempcpy-ssse3-back memmove-ssse3-back.
16651 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16652 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16653 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16654 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16655 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16656 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16657 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16658 * sysdeps/x86_64/multiarch/memmove.c: New file.
16659 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16660 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16661 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16662 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16663 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16664 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16665 Define.
16666 (index_Fast_Copy_Backward): Define.
16667 (HAS_ARCH_FEATURE): Define.
16668 (HAS_FAST_REP_STRING): Define.
16669 (HAS_FAST_COPY_BACKWARD): Define.
16670
4e733bac 166712010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16672
16673 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16674 Restore proper fallback handling.
16675
63c4ed22
UD
166762010-06-19 Ulrich Drepper <drepper@redhat.com>
16677
ac2b484c
UD
16678 [BZ #11701]
16679 * posix/group_member.c (__group_member): Correct checking loop.
16680
63c4ed22
UD
16681 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16682 OOM in getpwuid_r correctly. Return error number when the caller
16683 should return, otherwise -1.
16684 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16685 call returning > 0 value.
16686 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16687
765ade4b
AS
166882010-06-07 Andreas Schwab <schwab@redhat.com>
16689
16690 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16691 libc_nonshared.a from targets in modules-names.
16692
80da2e09
KS
166932010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16694
16695 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16696 requires it.
16697
158db122
LM
166982010-06-10 Luis Machado <luisgpm@br.ibm.com>
16699
16700 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16701 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16702 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16703 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16704
caa78cf8
AS
167052010-06-02 Andreas Schwab <schwab@redhat.com>
16706
16707 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16708
b2ef2c01
UD
167092010-06-14 Ulrich Drepper <drepper@redhat.com>
16710
16711 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16712 and F_GETPIPE_SZ.
16713 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16714 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16715 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16716 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16717 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16718 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16719
fbd643b6
RM
167202010-06-14 Roland McGrath <roland@redhat.com>
16721
16722 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16723
f32f2869
JJ
167242010-06-07 Jakub Jelinek <jakub@redhat.com>
16725
16726 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16727 __REDIRECT followed by __THROW.
16728 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16729 * posix/getopt.h (getopt): Likewise.
16730
2a50c078
EPM
167312010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16732
16733 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16734 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16735 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16736 in AT_FLAGS.
16737 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16738 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16739
eb5ad2eb
LM
167402010-05-28 Luis Machado <luisgpm@br.ibm.com>
16741
16742 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16743
3c88fe1e
L
167442010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16745
16746 [BZ #11640]
16747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16748 Properly check family and model.
16749
d2f73151
TY
167502010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16751
16752 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16753
ebd2e13d
LM
167542010-05-24 Luis Machado <luisgpm@br.ibm.com>
16755
16756 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16757
b32b8b45
UD
167582010-05-21 Ulrich Drepper <drepper@redhat.com>
16759
16760 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16761 symbol reference.
16762
9acbe24d
AS
167632010-05-19 Andreas Schwab <schwab@redhat.com>
16764
16765 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16766 symbol reference.
16767
f0ccf6ea
AS
167682010-05-21 Andreas Schwab <schwab@redhat.com>
16769
3d04ff3a
AS
16770 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16771 and internal_recvmmsg.
16772 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16773 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16774 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16775 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16776
f0ccf6ea
AS
16777 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16778 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16779 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16780
5b08ac57
AS
167812010-05-20 Andreas Schwab <schwab@redhat.com>
16782
16783 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16784
4828935d
LM
167852010-05-17 Luis Machado <luisgpm@br.ibm.com>
16786
16787 POWER7 optimizations.
16788 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16789 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16790
373d545e
UD
167912010-05-19 Ulrich Drepper <drepper@redhat.com>
16792
16793 * version.h: Update for 2.13 development version.
16794
21a2b1ae
AS
167952010-05-12 Andrew Stubbs <ams@codesourcery.com>
16796
16797 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16798 exceptions. Return 0.
16799
3f7dcb2b
RM
168002010-05-07 Roland McGrath <roland@redhat.com>
16801
16802 * elf/ldconfig.c (main): Add a const.
16803
5f24d53a 168042010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16805
a160f8d8
UD
16806 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16807 (args_options): Add no-idn option.
16808 (ahosts_keys_int): Add idn_flags to ai_flags.
16809 (parse_option): Handle 'i' option to clear idn_flags.
16810
5f24d53a
UD
16811 * malloc/malloc.c (_int_free): Possible race in the most recently
16812 added check. Only act on the data if no current modification
16813 happened.
265bb1ce
UD
16814
16815See ChangeLog.17 for earlier changes.