]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix ctan, ctanh of subnormals in round-upwards mode (bug 14328).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
ca61cf32
JM
12012-07-04 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #14328]
4 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5 or multiply small sinh result by itself.
6 * math/s_ctanf.c (__ctanf): Likewise.
7 * math/s_ctanh.c (__ctanh): Likewise.
8 * math/s_ctanhf.c (__ctanhf): Likewise.
9 * math/s_ctanhl.c (__ctanhl): Likewise.
10 * math/s_ctanl.c (__ctanl): Likewise.
11 * math/libm-test.inc (ctan_test_tonearest): New function.
12 (ctan_test_towardzero): Likewise.
13 (ctan_test_downward): Likewise.
14 (ctan_test_upward): Likewise.
15 (ctanh_test_tonearest): Likewise.
16 (ctanh_test_towardzero): Likewise.
17 (ctanh_test_downward): Likewise.
18 (ctanh_test_upward): Likewise.
19 (main): Call these new functions.
20 * sysdeps/i386/fpu/libm-test-ulps: Update.
21 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22
ca48a46a
MF
232012-07-03 Mike Frysinger <vapier@gentoo.org>
24
25 * .gitignore: Delete /ports entry.
26
9d63d37d
AJ
272012-07-03 Andreas Jaeger <aj@suse.de>
28
29 * po/bg.po: Update from translation team.
30 * po/cs.po: Likewise.
31 * po/de.po: Likewise.
32 * po/hr.po: Likewise.
33 * po/nl.pl: Likewise.
34 * po/pl.po: Likewise.
35 * po/vi.po: Likewise.
36
370ca3d2
JM
372012-07-03 Joseph Myers <joseph@codesourcery.com>
38
95f5a9a8
JM
39 * Makeconfig [!+link] (+link-before-libc): New variable.
40 [!+link] (+link-after-libc): Likewise.
41 [!+link] (+link-tests): Likewise.
42 [!+link] (+link): Define in terms of $(+link-before-libc) and
43 $(+link-after-libc).
44 [!+link-static] (+link-static-before-libc): New variable.
45 [!+link-static] (+link-static-after-libc): Likewise.
46 [!+link-static] (+link-static-tests): Likewise.
47 [!+link-static] (+link-static): Define in terms of
48 $(+link-static-before-libc) and $(+link-static-after-libc).
49 [build-shared] (link-libc-before-gnulib): New variable.
50 [build-shared] (link-libc-tests): Likewise.
51 [build-shared] (link-libc): Define in terms of
52 $(link-libc-before-gnulib).
53 [!build-shared] (link-libc-tests): New variable.
54 (link-libc-static-tests): New variable.
55 [!gnulib] (gnulib-arch): New variable.
56 [!gnulib] (gnulib-tests): Likewise.
57 [!gnulib] (static-gnulib-arch): Likewise.
58 [!gnulib] (static-gnulib-tests): Likewise.
59 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
60 Define with "=" instead of ":=".
61 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
62 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
63 * Rules (binaries-all-notests): New variable.
64 (binaries-all-tests): Likewise.
65 (binaries-static-notests): Likewise.
66 (binaries-static-tests): Likewise.
67 (binaries-all): Define using $(binaries-all-notests) and
68 $(binaries-all-tests).
69 (binaries-static): Define using $(binaries-static-notests) and
70 $(binaries-static-tests).
71 (binaries-shared-tests): New variable.
72 (binaries-shared-notests): Likewise.
73 (binaries-shared): Remove variable.
74 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
75 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
76 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
77 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
78 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
80 * elf/Makefile (sln-modules): New variable.
81 (extra-objs): Add $(sln-modules:=.o).
82 (ldconfig-modules): Add static-stubs.
83 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
84 * elf/static-stubs.c: New file.
85
7a845b2c
JM
86 [BZ #14283]
87 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
88 by 7 not 8 to examine high bit of fractional part. Use volatile
89 variables when splitting into final array of floats if
90 __FLT_EVAL_METHOD__ != 0.
91 * math/libm-test.inc (cos_test): Add another test.
92 (sin_test): Likewise.
93 * sysdeps/i386/fpu/libm-test-ulps: Update.
94
e2283f38
JM
95 [BZ #14273]
96 * math/libm-test.inc (cosh_test): Add more tests.
97
370ca3d2
JM
98 * version.h (RELEASE): Set to "development".
99 (VERSION): Set to "2.16.90".
100
ee9247c3
CD
1012012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
102
103 * NEWS: Update copyright. Remove last-updated date.
104 Mention math library bug fixes and timezone data changes.
105 * README: Mention GNU/Hurd, x32, and HPPA support status.
106
4648c381
TS
1072012-06-28 Thomas Schwinge <thomas@codesourcery.com>
108
109 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
110
aac78a43
AJ
1112012-06-27 Andreas Jaeger <aj@suse.de>
112
113 * manual/contrib.texi (Contributors): Add Samuel Thibault.
114
ed3dbfad
AJ
1152012-06-25 Andreas Jaeger <aj@suse.de>
116
117 * sysdeps/s390/fpu/libm-test-ulps: Update.
118
4d0ee855
AS
1192012-06-23 Andreas Schwab <schwab@linux-m68k.org>
120 Thomas Schwinge <thomas@codesourcery.com>
121
122 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
123 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
124 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
125 fanotify_mark.
126
af1bce34
TS
1272012-06-23 Thomas Schwinge <thomas@codesourcery.com>
128
a9fa33ba
TS
129 * sysdeps/mach/start.c: Remove file.
130 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
131 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
132 * sysdeps/sh/init-first.c: Likewise.
133
58f902b8
TS
134 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
135 registers for frame unwinding purposes, add CFI directives.
136 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
137 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
138 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
139 Likewise.
140
1518f58b
TS
141 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
142 __fortify_fail returning.
143 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
144
db9b5059
TS
145 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
146 sysdeps/sh/____longjmp_chk.S.
147 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
148 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
149 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
150 (gen-as-const-headers): Append sigaltstack-offsets.sym.
151
967705fe
TS
152 * sysdeps/sh/abort-instr.h: New file.
153 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
154 process in case exit returns.
155
a9def8c4
TS
156 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
157 initialize the GOT register before use.
158
2a649725
TS
159 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
160 calculation of ARGC > 4.
161
af1bce34
TS
162 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
163 meaningful names to some local labels.
164
d230f50a
KK
1652012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
166 Kaz Kojima <kkojima@rr.iij4u.or.jp>
167
168 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
169 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
170 (__arch_compare_and_exchange_val_16_acq): Likewise.
171 (__arch_compare_and_exchange_val_32_acq): Likewise.
172 (atomic_exchange_and_add): Fix gUSA sequence.
173 (atomic_add): Likewise.
174 (atomic_add_negative): Likewise.
175 (atomic_add_zero): Likewise.
176 (atomic_bit_test_set): Likewise.
177
0479b305
AS
1782012-06-22 Andreas Schwab <schwab@redhat.com>
179
180 [BZ #13579]
181 * include/link.h (struct link_map): Add l_free_initfini.
182 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
183 l_initfini.
184 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
185 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
186 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
187 set.
188
0e3933b9
CD
1892012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
190
191 * configure.in: Use AC_LANG_SOURCE.
192 * configure: Regenerate.
193
4248b1b1
RM
1942012-06-22 Roland McGrath <roland@hack.frob.com>
195
196 * configure.in (libc_cv_localstatedir): New substituted variable.
197 * configure: Regenerated.
198 * config.make.in (localstatedir): New variable, substituted from
199 libc_cv_localstatedir.
200 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
201 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
202 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
203 * sysdeps/gnu/configure: Regenerated.
204
006dd861
JL
2052012-06-21 Jeff Law <law@redhat.com>
206
207 [BZ #14277]
208 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
209 free. Simplify list management for _LIBC case.
210
79662d42
JM
2112012-06-21 Joseph Myers <joseph@codesourcery.com>
212
b7abb4bf
JM
213 [BZ #14273]
214 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
215 Clear sign bit of 64-bit integer value before comparing against
216 overflow value.
217
79662d42
JM
218 * sysdeps/mach/configure: Regenerated.
219
1f150908
L
2202012-06-21 H.J. Lu <hongjiu.lu@intel.com>
221
222 [BZ #14278]
223 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
224
28363bbf
JL
2252012-06-21 Jeff Law <law@redhat.com>
226
227 [BZ #13882]
228 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
229 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 230 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
231 * elf/dl-open.c (dl_open_worker): Likewise.
232
09615db4
CD
2332012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
234
235 * scripts/list-sources.sh: Scan PORTS for translations.
236 * po/libc.pot: Regenerated.
237
2174c6dd
AJ
2382012-06-21 Andreas Jaeger <aj@suse.de>
239
240 [BZ #12194]
241 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
242 warning.
243 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
244 * bits/byteswap-16.h (__bswap_16): Likewise.
245 * bits/byteswap.h (__bswap_constant_16): Likewise.
246
3ee947b1
L
2472012-06-18 H.J. Lu <hongjiu.lu@intel.com>
248
249 [BZ #14117]
a2f34833
L
250 * sysdeps/i386/fpu_control.h: Removed.
251 * sysdeps/x86_64/fpu_control.h: Moved to ...
252 * sysdeps/x86/fpu_control.h: Here.
253
3ee947b1
L
254 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
255 (_FPU_SETCW): Likewise.
256
ed1825f8
L
2572012-06-15 H.J. Lu <hongjiu.lu@intel.com>
258
25f1282a
L
259 [BZ #14117]
260 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
261 * sysdeps/x86/fpu/bits/mathinline.h: This.
262 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
263
ed1825f8
L
264 [BZ #14050]
265 [BZ #14117]
266 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
267 functions if __x86_64__ is defined.
268
36d54b74
CLT
2692012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
270
271 * string/endian.h: Add !__ASSEMBLER__ condition for including
272 conversion interfaces.
273
10285c21
JM
2742012-06-15 Joseph Myers <joseph@codesourcery.com>
275
276 [BZ #14241]
277 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
278 of ABS(x) in calculating zero to negative powers other than odd
279 integers.
280 * math/libm-test.inc (pow_test): Add more tests.
281
06c5abbd
AJ
2822012-06-15 Andreas Jaeger <aj@suse.de>
283
284 * manual/contrib.texi (Contributors): Update entry of Liubov
285 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
286 Machado Filho.
287
a3aeac40
CH
2882012-06-15 Cyril Hrubis <metan@ucw.cz>
289
290 * string/string.h: Add __wur to GNU version of strerror_r.
291
49bdf4c1
L
2922012-06-14 H.J. Lu <hongjiu.lu@intel.com>
293
294 [BZ #14229]
295 * string/Makefile (tests): Add tst-strtok_r.
296 * string/tst-strtok_r.c: New file.
297 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
298 RAX_LP/RDX_LP on SAVE_PTR.
299
834f9b8d
RM
3002012-06-14 Roland McGrath <roland@hack.frob.com>
301
302 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
303
75fa1921
JM
3042012-06-14 Joseph Myers <joseph@codesourcery.com>
305
306 * libm_test.inc (csqrt_test): Allow more spurious underflow
307 exceptions.
308 (j0_test): Likewise.
309 (j1_test): Likewise.
310 (y0_test): Likewise.
311 (y1_test): Likewise.
312
771766df
CD
3132012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
314
315 * po/Makefile (libc.pot): Use UTF-8 charset.
316
ceb9e56b
PP
3172012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
318
319 [BZ #14210]
320 Suppress sign-conversion warning from FD_SET.
321 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
322 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
323 not unsigned long int.
324 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
325
ddb28975
L
3262012-06-12 H.J. Lu <hongjiu.lu@intel.com>
327
328 [BZ #14050]
329 [BZ #14117]
330 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
331 __extern_always_inline instead of __extern_inline.
332 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
333 (__signbit): Likewise.
334 (__signbitl): Support C++ namespace.
335 (lrintf): New inline function.
336 (lrint): Likewise.
337 (llrintf): Likewise.
338 (llrint): Likewise.
339 (fmaxf): Likewise.
340 (fmax): Likewise.
341 (fminf): Likewise.
342 (fmin): Likewise.
343 (rint): Likewise.
344 (rintf): Likewise.
345 (ceil): Likewise.
346 (ceilf): Likewise.
347 (floor): Likewise.
348 (floorf): Likewise.
349 (nearbyint): Likewise.
350 (nearbyintf): Likewise.
351
d7b4fb26
TS
3522012-06-12 Thomas Schwinge <thomas@codesourcery.com>
353
354 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
355 non-default versions.
356
eb55f5c2
RM
3572012-06-11 Roland McGrath <roland@hack.frob.com>
358
359 [BZ #14218]
360 * manual/argp.texi (Argp): Reword argp_parse description slightly.
361
366af02c
TS
3622012-06-09 Thomas Schwinge <thomas@codesourcery.com>
363
99ff6e5c
TS
364 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
365 (FE_UPWARD, FE_DOWNWARD): Don't define.
366 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
367 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
368
366af02c
TS
369 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
370 reading it.
371 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
372 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
373
793ea851
KK
3742012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
375
376 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
377 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
378 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
379 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
380
a728a38f
L
3812012-06-06 H.J. Lu <hongjiu.lu@intel.com>
382
383 [BZ #14117]
c08010c7
L
384 * sysdeps/i386/fpu/bits/fenv.h: Removed.
385 * sysdeps/i386/fpu/Implies: New file.
386 * sysdeps/x86_64/fpu/Implies: Likewise.
387 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
388 * sysdeps/x86/fpu/bits/fenv.h: This.
389
a728a38f
L
390 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
391 __SSE_MATH__.
392
6e230d11
SP
3932012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
394
395 [BZ #14134]
396 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
397 character 0xffff that matches the last element of the
398 conversion table.
399
1b671feb
AZ
4002012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
401
402 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
403 fmodl commit.
404
6043738b
AZ
4052012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
406
407 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
408 values higher than 25.6283.
409
34ae0b32
AZ
4102012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
411
412 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
413 subnormal exponent extraction and add some __builtin_expect.
414 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
415 Fix for subnormal mantissa calculation.
416
1214ec8f
MF
4172012-06-04 Mike Frysinger <vapier@gentoo.org>
418
419 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
420 cpu2 is -1 and errno is not ENOSYS.
421
f3d1f93c
L
4222012-06-04 H.J. Lu <hongjiu.lu@intel.com>
423
424 [BZ #14117]
0e4a3cd7
L
425 * sysdeps/i386/i486/bits/string.h: Renamed to ...
426 * sysdeps/x86/bits/string.h: This.
427 * sysdeps/x86_64/bits/string.h: Removed.
428
6704c645
L
429 * sysdeps/i386/i486/bits/string.h: Define inline functions only
430 if not compiling for x86-64, but compiling for >= i486.
431
48495318
L
432 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
433 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
434
14adcbfc
L
435 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
436 New macro from Linux kernel 3.4.0.
437 (FP_XSTATE_MAGIC2): Likewise.
438 (FP_XSTATE_MAGIC2_SIZE): Likewise.
439 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
440 (struct _fpx_sw_bytes): New struct.
441 (struct _xsave_hdr): Likewise.
442 (struct _ymmh_state): Likewise.
443 (struct _xstate): Likewise.
444
68e408ab
L
445 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
446 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
447 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
448 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
449 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
450 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
451
f3d1f93c
L
452 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
453 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
454 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
455 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
456 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
457 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
458
d9dc34cd
TMQMF
4592012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
460
461 [BZ #13743]
462 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
463 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
464 (sysdep_headers): Include sys/platform/ppc.h.
465 * sysdeps/powerpc/test-gettimebase.c: Test for
466 __ppc_get_timebase() to catch future ISA opcode/insn changes.
467 * manual/Makefile (appendices): Include platform.texi.
468 * manual/contrib.texi (Contributors): Update @node pointers.
469 * manual/maint.texi (Maintenance): Likewise.
470 (Platform): New node.
471 * manual/platform.texi: New file. Document the new features.
472
4af3879c
SP
4732012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
474 Jakub Jelinek <jakub@redhat.com>
475
476 [BZ #14188]
477 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
478 where __builtin_expect is unavailable.
479
2fd6ff13
DM
4802012-06-03 David S. Miller <davem@davemloft.net>
481
482 * stdlib/longlong.h: Updated from GCC.
483
173f7220
AS
4842012-06-02 Andreas Schwab <schwab@linux-m68k.org>
485
486 [BZ #14042]
487 * sysdeps/powerpc/powerpc32/mcount.c: New file.
488 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
489 __mcount_internal.
490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
491 (GLIBC_2.16): Likewise.
492
f34a1c6f
L
4932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
494
495 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
496
88a4576f
JM
4972012-06-01 Joseph Myers <joseph@codesourcery.com>
498
ea32bcdd
JM
499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
500 (default-abi): New variable.
501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
502 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
503 variable.
504 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
505 Likewise.
506 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
507 Likewise.
508 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
509 Likewise.
510
88a4576f
JM
511 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
512 definition. Document in comment.
513
402fe938
DM
5142012-06-01 David S. Miller <davem@davemloft.net>
515
516 * stdlib/longlong.h: Updated from GCC.
517
3553723f
L
5182012-06-01 H.J. Lu <hongjiu.lu@intel.com>
519
520 [BZ #14117]
3bd872c4
L
521 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
522 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
523 sys/debugreg.h sys/io.h here.
524 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
525 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
526 sys/io.h.
527 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
528 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
529 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
530 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
531 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
532 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
533
3553723f
L
534 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
535 Define only if __x86_64__ is defined.
536
4842e4fe
JM
5372012-06-01 Joseph Myers <joseph@codesourcery.com>
538
c5bfe3d5
JM
539 [BZ #14048]
540 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
541 Use int64_t for variable i.
542 * math/libm-test.inc (fmod_test): Add more tests.
543
4842e4fe
JM
544 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
545 z computation is not scheduled after fetestexcept.
546 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
547 Use math_force_eval instead of asm to ensure calculation scheduled
548 before exception test.
549 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
550 Ensure a1 + u.d computation is not scheduled after fetestexcept.
551
efb73488
AJ
5522012-06-01 Aurelien Jarno <aurelien@aurel32.net>
553
554 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
555 computation is not scheduled after fetestexcept.
556
29bcce7c
L
5572012-06-01 H.J. Lu <hongjiu.lu@intel.com>
558
559 [BZ #14117]
560 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
561 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
562
73a68f94
AZ
5632012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
564
565 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
566 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
567
67b6df78
L
5682012-05-31 H.J. Lu <hongjiu.lu@intel.com>
569
edf2933a 570 [BZ #14117]
ebc64a18
L
571 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
572 <bits/wordsize.h>.
573 (__WCHAR_MIN): Support __WORDSIZE == 64.
574 (__WCHAR_MAX): Likewise.
575
edf2933a
L
576 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
577 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
578
57c6cf40
L
579 [BZ #14183]
580 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
581 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
582
67b6df78 583 [BZ #14117]
8eb6281e
L
584 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
585 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
586
aac639f4
L
587 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
588 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
589
67b6df78
L
590 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
591 Defined to 1 if __x86_64__ isn't defined.
592 (_STAT_VER_LINUX_OLD): New.
593 (st_atime): Remove duplicate.
594 (st_mtime): Likewise.
595 (st_ctime): Likewise.
596
1c2cfe81
DM
5972012-05-31 David S. Miller <davem@davemloft.net>
598
599 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
600 entries.
601
5be8418c
AS
6022012-06-01 Andreas Schwab <schwab@linux-m68k.org>
603
e7725326
AS
604 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
605 gen-libm-test.pl.
606
5be8418c
AS
607 [BZ #14132]
608 * elf/dl-reloc.c: Include <_itoa.h>.
609 (_dl_reloc_bad_type): Remove use of INTUSE.
610 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
611 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
612 * stdio-common/psiginfo.c (psiginfo): Likewise.
613 * stdio-common/psignal.c (psignal): Likewise.
614 * string/strsignal.c (strsignal): Likewise.
615 * include/signal.h (_sys_siglist): Declare hidden proto.
616 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
617 INTVARDEF with libc_hidden_data_def.
618 * stdio-common/itoa-udigits.c: Likewise.
619 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
620 (_itoa_lower_digits_internal): Remove declaration.
621 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
622 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
623 (_sys_sigabbrev_internal): Remove aliases.
624 (_sys_siglist): Define hidden alias.
625
507352f1
MT
6262012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
627
628 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
629 bits/sysctl.h.
630
42bbb1c3
L
6312012-05-31 H.J. Lu <hongjiu.lu@intel.com>
632
633 [BZ #14117]
6bd784b6
L
634 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
635 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
636
8bca20f0
L
637 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
638 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
639 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
640 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
641 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
642 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
643
f9e890a9
L
644 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
645 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
646 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
647
471101a1
L
648 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
649 with __addr.
650 (insw): Likewise.
651 (insl): Likewise.
652 (outsb): Likewise.
653 (outsw): Likewise.
654 (outsl): Likewise.
655
6451c862
L
656 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
657 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
658 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
659
a254b8c9
L
660 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
661 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
662 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
663 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
664 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
665 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
666
b8dfdd92
L
667 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
668 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
669
578cd270
L
670 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
671 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
672
de662f5f
L
673 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
674 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
675 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
676
25653439
L
677 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
678 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
679 to ...
680 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
681
6bad24a0
L
682 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
683 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
684 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
685
42bbb1c3
L
686 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
687 for x86-64.
688 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
689
2d10d547
JM
6902012-05-31 Joseph Myers <joseph@codesourcery.com>
691
692 * math/math.h (M_El): Use two more decimal places.
693 (M_LOG2El): Likewise.
694 (M_LOG10El): Likewise.
695 (M_LN2l): Likewise.
696 (M_LN10l): Likewise.
697 (M_PIl): Likewise.
698 (M_PI_2l): Likewise.
699 (M_PI_4l): Likewise.
700 (M_1_PIl): Likewise.
701 (M_2_PIl): Likewise.
702 (M_2_SQRTPIl): Likewise.
703 (M_SQRT2l): Likewise.
704 (M_SQRT1_2l): Likewise.
705
f230c29b
DM
7062012-05-31 David S. Miller <davem@davemloft.net>
707
708 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
709 values between float registers.
710 * sysdeps/sparc/sparc64/memset.S: Likewise.
711 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
712
fed806c3
MF
7132012-05-31 Mike Frysinger <vapier@gentoo.org>
714
715 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
716 -D_FORTIFY_SOURCE=1.
717 (CPPFLAGS-tst-longjmp_chk.c): Define.
718 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
719 (CPPFLAGS-tst-longjmp_chk2.c): Define.
720 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
721 CFLAGS-tst-wchar-h.c.
722
30917259
MP
7232012-05-31 Marek Polacek <polacek@redhat.com>
724
725 [BZ #14132]
726 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
727 __endmntent_internal): Remove declaration.
728 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
729 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
730 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
731
1c58d5dc
DM
7322012-05-30 David S. Miller <davem@davemloft.net>
733
734 * sysdeps/sparc/sparc32/soft-fp/q_util.c
735 (___Q_simulate_exceptions): Use real FP ops rather than writing
736 into the %fsr.
737 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
738 Likewise.
739
7dc00e0d
L
7402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
741
742 [BZ #14117]
0bd53985
L
743 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
744 * sysdeps/x86/bits/xtitypes.h: This.
745
3a257e66
L
746 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
747 * sysdeps/x86/bits/wordsize.h: This.
748
62f62904
L
749 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
750 * sysdeps/x86/bits/huge_vall.h: This.
751
404fe9d9
L
752 * sysdeps/i386/bits/select.h: Removed.
753 * sysdeps/x86_64/bits/select.h: Renamed to ...
754 * sysdeps/x86/bits/select.h: This.
755
d48d0446
L
756 * sysdeps/i386/bits/setjmp.h: Removed.
757 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
758 * sysdeps/x86/bits/setjmp.h: This.
759
7dc00e0d
L
760 * sysdeps/i386/bits/mathdef.h: Removed.
761 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
762 * sysdeps/x86/bits/mathdef.h: This.
763
03277f8f
AS
7642012-05-30 Andreas Schwab <schwab@linux-m68k.org>
765
766 [BZ #14132]
767 * include/sys/socket.h (__connect_internal)
768 (__libc_sa_len_internal): Remove declaration.
769 (__connect, __libc_sa_len): Declare hidden_proto.
770 (SA_LEN): Remove use of INTUSE.
771 * socket/connect.c: Add libc_hidden_def.
772 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
773 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
774 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
775 alias.
776 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
777 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
778 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
779 of adding _internal alias.
780
13764867
L
7812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
782
783 [BZ #14117]
6bd97696
L
784 * sysdeps/i386/bits/link.h: Removed.
785 * sysdeps/i386/bits/linkmap.h: Likewise.
786 * sysdeps/x86_64/bits/link.h: Renamed to ...
787 * sysdeps/x86/bits/link.h: This.
788 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
789 * sysdeps/x86/bits/linkmap.h: This.
790
f726f0bb
L
791 * sysdeps/i386/bits/endian.h: Removed.
792 * sysdeps/x86_64/bits/endian.h: Renamed to ...
793 * sysdeps/x86/bits/endian.h: This.
794
13764867
L
795 * sysdeps/i386/bits/byteswap.h: Removed.
796 * sysdeps/i386/bits/byteswap-16.h: Likewise.
797 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
798 * sysdeps/x86/bits/byteswap.h: This.
799 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
800 * sysdeps/x86/bits/byteswap-16.h: This.
801 * sysdeps/i386/Implies: Add x86.
802 * sysdeps/x86_64/Implies: Likewise.
803
ae251b0b
DM
8042012-05-30 David S. Miller <davem@davemloft.net>
805
806 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
807 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
808 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
809 (FP_TRAPPING_EXCEPTIONS): Define.
810 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
811 (FP_TRAPPING_EXCEPTIONS): Define.
812 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
813 subnormals only when inexact has been signalled or underflow
814 exceptions are enabled.
815 (_FP_PACK_CANONICAL): Likewise.
816
d5c90867
L
8172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
818
819 [BZ #14183]
820 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
821 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
822
63f1549e
RH
8232012-05-30 Richard Henderson <rth@twiddle.net>
824
8d8f2279
RH
825 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
826 with #ifndef NOT_IN_libc.
827
63f1549e
RH
828 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
829 marked to avoid plt entry.
830
0ab0291b
L
8312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
832
833 [BZ #14112]
834 * Makeconfig (default-abi): New macro.
835 (abi-includes): Likewise.
836 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
837 $(abi-$(default-abi)-lib-soname) for soname if defined.
838 ($(common-objpfx)gnu/lib-names.stmp): Generate from
839 abi-variants.
840 * Makefile (installed-stubs): Likewise.
841 * include/stubs-biarch.h: Removed.
842 * scripts/lib-names.awk: Only handle one library at a time.
843 * scripts/soversions.awk: Remove WORDSIZE support.
844 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
845 entries.
846 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
847 Removed.
848 (syscall-list-default-condition): Likewise.
849 (syscall-list-default-condition): Likewise.
850 (syscall-list-includes): Likewise.
851 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
852 syscall-list-* with abi-*. Handle undefined abi-variants.
853 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
854 * sysdeps/unix/sysv/linux/i386/Implies: New file.
855 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
856 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
857 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
858 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
859 Removed.
860 (syscall-list-32-options): Likewise.
861 (syscall-list-32-condition): Likewise.
862 (syscall-list-64-options): Likewise.
863 (syscall-list-64-condition): Likewise.
864 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
865 macro.
866 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
867 Renamed to ...
868 (abi-*): This.
869 (abi-64-ld-soname): New macro.
870 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
871 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
872 Renamed to ...
873 (abi-*): This.
874 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
875 * sysdeps/x86_64/x32/shlib-versions: Likewise.
876
4da0431d
JM
8772012-05-30 Joseph Myers <joseph@codesourcery.com>
878
3a85279c
JM
879 * sysdeps/unix/sysv/linux/kernel-features.h
880 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
881 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
882 include <kernel-features.h>.
883 [!__NR_ftruncate64]: Remove conditional code.
884 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
885 [__NR_ftruncate64]: Make code unconditional.
886 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
887 * sysdeps/unix/sysv/linux/truncate64.c: Do not
888 include <kernel-features.h>.
889 [!__NR_ftruncate64]: Remove conditional code.
890 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
891 [__NR_ftruncate64]: Make code unconditional.
892 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
894 include <kernel-features.h>.
895 [!__NR_ftruncate64]: Remove conditional code.
896 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
897 [__NR_ftruncate64]: Make code unconditional.
898 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
900 include <kernel-features.h>.
901 [!__NR_ftruncate64]: Remove conditional code.
902 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
903 [__NR_ftruncate64]: Make code unconditional.
904 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
905
4da0431d
JM
906 * configure.in (libc_cv_fpie): Weaken to a compile test using
907 LIBC_TRY_CC_OPTION.
908 * configure: Regenerated.
909
11ef492c
AK
9102012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
911
912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
916 Refreshed.
917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
923 Refreshed.
924
d66ef399
DM
9252012-05-27 David S. Miller <davem@davemloft.net>
926
927 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
928 (___Q_zero): New.
929 (__Q_simulate_exceptions): Return void. Change to simulate
930 exceptions by writing into the %fsr.
931 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
932 (__Qp_handle_exceptions): Likewise.
933 (numbers): Delete.
934 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
935 __Qp_handle_exceptions.
936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
937 __Qp_handle_exceptions.
938 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
939 as unused and give dummy FP_RND_NEAREST initializer.
940 (FP_INHIBIT_RESULTS): Define.
941 (___Q_simulate_exceptions): Update declaration.
942 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
943 formatting.
944 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
945 as unused and give dummy FP_RND_NEAREST initializer.
946 (__Qp_handle_exceptions): Update declaration.
947 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
948 formatting.
949
04fb54b5
TS
9502012-05-27 Thomas Schwinge <thomas@codesourcery.com>
951
952 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
953 the temporary FPU control word.
954 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
955 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
956 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
957 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
958 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
959 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
960 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
961 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
962 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
963 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
964 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
965
3f99608f
KK
9662012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
967
968 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
969 fields.
970
65a4de4e
CLT
9712012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
972
973 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
974 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
975 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
976 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
977 Likewise.
978 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
979 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
980 Likewise.
981
15749d40
UD
9822012-05-27 Ulrich Drepper <drepper@gmail.com>
983
984 * po/h.po: Update from translation team.
985
25dbcb27
AS
9862012-05-26 Andreas Schwab <schwab@linux-m68k.org>
987
3d3f8e55
AS
988 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
989
25dbcb27
AS
990 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
991 handling of denormals.
992 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
993 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
994 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
995 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
996 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
997 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
998 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
999 Likewise.
1000
7ad47a80 10012012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
1002
1003 [BZ #14152]
1004 * math/libm-test.inc (fma_test): Don't always expect underflow
1005 exception.
1006
9c6ea9fa
SP
10072012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1008
1009 [BZ #12416]
1010 * elf/tst-execstack.c: Include stackinfo.h.
1011 (do_test): Adjust test case to ensure that pthread_getattr_np
1012 behaviour remains the same after marking stack executable.
1013
a8239222
JM
10142012-05-25 Joseph Myers <joseph@codesourcery.com>
1015
1016 * sysdeps/unix/sysv/linux/kernel-features.h
1017 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1018 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1019 kernel-features.h.
1020 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1021 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1022 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1023 kernel-features.h.
1024 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1025 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1026
918b5606
L
10272012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1028
1029 * configure.in: Define the default includes to being none.
1030 * configure: Regenerated.
1031
3a097cc7
RM
10322012-05-25 Roland McGrath <roland@hack.frob.com>
1033
8422c9a5
RM
1034 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1035 * sysdeps/x86_64/setjmp.S: Likewise.
1036 * sysdeps/i386/bsd-setjmp.S: Likewise.
1037 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1038 * sysdeps/i386/setjmp.S: Likewise.
1039 * sysdeps/i386/__longjmp.S: Likewise.
1040 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1041 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1042
3a097cc7
RM
1043 * include/stap-probe.h: New file.
1044 * configure.in: Handle --enable-systemtap.
1045 * configure: Regenerated.
1046 * config.h.in (USE_STAP_PROBE): New #undef.
1047 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1048 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1049 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1050
21708942
JM
10512012-05-25 Joseph Myers <joseph@codesourcery.com>
1052
1053 [BZ #13717]
1054 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1055 to 2.4.0 where earlier.
1056 * sysdeps/unix/sysv/linux/configure: Regenerated.
1057 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1058 <kernel-features.h>.
1059 [__ASSUME_32BITUIDS]: Make code unconditional.
1060 [!__ASSUME_32BITUIDS]: Remove conditional code.
1061 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1062 <kernel-features.h>.
1063 [__ASSUME_32BITUIDS]: Make code unconditional.
1064 [!__ASSUME_32BITUIDS]: Remove conditional code.
1065 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1066 [__ASSUME_32BITUIDS]: Make code unconditional.
1067 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1068 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
1073 <kernel-features.h>.
1074 [__ASSUME_32BITUIDS]: Make code unconditional.
1075 [!__ASSUME_32BITUIDS]: Remove conditional code.
1076 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1077 <kernel-features.h>.
1078 [__ASSUME_32BITUIDS]: Make code unconditional.
1079 [!__ASSUME_32BITUIDS]: Remove conditional code.
1080 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1081 <kernel-features.h>.
1082 [__ASSUME_32BITUIDS]: Make code unconditional.
1083 [!__ASSUME_32BITUIDS]: Remove conditional code.
1084 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1085 <kernel-features.h>.
1086 [__ASSUME_32BITUIDS]: Make code unconditional.
1087 [!__ASSUME_32BITUIDS]: Remove conditional code.
1088 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1089 <kernel-features.h>.
1090 [__ASSUME_32BITUIDS]: Make code unconditional.
1091 [!__ASSUME_32BITUIDS]: Remove conditional code.
1092 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1093 <kernel-features.h>.
1094 [__ASSUME_32BITUIDS]: Make code unconditional.
1095 [!__ASSUME_32BITUIDS]: Remove conditional code.
1096 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1097 <kernel-features.h>.
1098 [__ASSUME_32BITUIDS]: Make code unconditional.
1099 [!__ASSUME_32BITUIDS]: Remove conditional code.
1100 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1101 <kernel-features.h>.
1102 [__ASSUME_32BITUIDS]: Make code unconditional.
1103 [!__ASSUME_32BITUIDS]: Remove conditional code.
1104 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1105 <kernel-features.h>.
1106 [__ASSUME_32BITUIDS]: Make code unconditional.
1107 [!__ASSUME_32BITUIDS]: Remove conditional code.
1108 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1109 <kernel-features.h>.
1110 [__NR_setresgid] (__setresgid): Do not declare.
1111 [__ASSUME_32BITUIDS]: Make code unconditional.
1112 [!__ASSUME_32BITUIDS]: Remove conditional code.
1113 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1114 <kernel-features.h>.
1115 [__NR_setresuid] (__setresuid): Do not declare.
1116 [__ASSUME_32BITUIDS]: Make code unconditional.
1117 [!__ASSUME_32BITUIDS]: Remove conditional code.
1118 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1119 <kernel-features.h>.
1120 [__ASSUME_32BITUIDS]: Make code unconditional.
1121 [!__ASSUME_32BITUIDS]: Remove conditional code.
1122 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1123 <kernel-features.h>.
1124 [__ASSUME_32BITUIDS]: Make code unconditional.
1125 [!__ASSUME_32BITUIDS]: Remove conditional code.
1126 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1127 <kernel-features.h>.
1128 [__ASSUME_32BITUIDS]: Make code unconditional.
1129 [!__ASSUME_32BITUIDS]: Remove conditional code.
1130 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1131 <kernel-features.h>.
1132 [__ASSUME_32BITUIDS]: Make code unconditional.
1133 [!__ASSUME_32BITUIDS]: Remove conditional code.
1134 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1135 <kernel-features.h>.
1136 [__ASSUME_32BITUIDS]: Make code unconditional.
1137 [!__ASSUME_32BITUIDS]: Remove conditional code.
1138 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1139 <kernel-features.h>.
1140 [__ASSUME_32BITUIDS]: Make code unconditional.
1141 [!__ASSUME_32BITUIDS]: Remove conditional code.
1142 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1143 <kernel-features.h>.
1144 [__ASSUME_32BITUIDS]: Make code unconditional.
1145 [!__ASSUME_32BITUIDS]: Remove conditional code.
1146 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1147 <kernel-features.h>.
1148 [__ASSUME_32BITUIDS]: Make code unconditional.
1149 [!__ASSUME_32BITUIDS]: Remove conditional code.
1150 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1151 <kernel-features.h>.
1152 [__ASSUME_32BITUIDS]: Make code unconditional.
1153 [!__ASSUME_32BITUIDS]: Remove conditional code.
1154 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1155 <kernel-features.h>.
1156 [__ASSUME_32BITUIDS]: Make code unconditional.
1157 [!__ASSUME_32BITUIDS]: Remove conditional code.
1158 * sysdeps/unix/sysv/linux/kernel-features.h
1159 (__ASSUME_SETRESUID_SYSCALL): Remove.
1160 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1161 (__ASSUME_32BITUIDS): Likewise.
1162 (__ASSUME_LDT_WORKS): Likewise.
1163 (__ASSUME_O_DIRECTORY): Likewise.
1164 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1165 architecture but not kernel version.
1166 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1167 (__ASSUME_MMAP2_SYSCALL): Likewise.
1168 (__ASSUME_STAT64_SYSCALL): Likewise.
1169 (__ASSUME_IPC64): Likewise.
1170 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1171 <kernel-features.h>.
1172 [__ASSUME_32BITUIDS]: Make code unconditional.
1173 [!__ASSUME_32BITUIDS]: Remove conditional code.
1174 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1175 <kernel-features.h>.
1176 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1177 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1178 132096]: Remove conditional code.
1179 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1180 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1181 <kernel-features.h>.
1182 [__ASSUME_32BITUIDS]: Make code unconditional.
1183 [!__ASSUME_32BITUIDS]: Remove conditional code.
1184 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1185 <kernel-features.h>.
1186 [__ASSUME_32BITUIDS]: Make code unconditional.
1187 [!__ASSUME_32BITUIDS]: Remove conditional code.
1188 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1189 <kernel-features.h>.
1190 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1191 unconditional.
1192 (__setresgid): Do not declare.
1193 [__ASSUME_32BITUIDS]: Make code unconditional.
1194 [!__ASSUME_32BITUIDS]: Remove conditional code.
1195 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1196 <kernel-features.h>.
1197 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1198 unconditional.
1199 (__setresuid): Do not declare.
1200 [__ASSUME_32BITUIDS]: Make code unconditional.
1201 [!__ASSUME_32BITUIDS]: Remove conditional code.
1202 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1203 <kernel-features.h>.
1204 [__ASSUME_32BITUIDS]: Make code unconditional.
1205 [!__ASSUME_32BITUIDS]: Remove conditional code.
1206 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1207 <kernel-features.h>.
1208 [__ASSUME_32BITUIDS]: Make code unconditional.
1209 [!__ASSUME_32BITUIDS]: Remove conditional code.
1210
a386f1cc
RH
12112012-05-25 Richard Henderson <rth@twiddle.net>
1212
1213 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1214 dl_hwcap to ifunc resolver.
1215 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1216 elf_ifunc_invoke.
1217 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1218 dl_hwcap to ifunc resolver.
1219 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1220
b6550497
JM
12212012-05-24 Joseph Myers <joseph@codesourcery.com>
1222
1223 [BZ #14153]
1224 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1225 for |x| <= 2**-26, not 2**-57.
1226 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1227 exception.
1228
b0bc23a1
JL
12292012-05-24 Jeff Law <law@redhat.com>
1230
1231 * stdio-common/Makefile (tests): Add bug25.
1232 * stdio-common/bug25.c: New test.
1233
347c92e9
L
12342012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1235
1236 [BZ #13576]
1237 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1238 multiple of MALLOC_ALIGNMENT in size.
1239 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1240
6bcc8b3f
JM
12412012-05-24 Joseph Myers <joseph@codesourcery.com>
1242
1243 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1244 Require >= 256.
1245 (FILENAME_MAX): Use macro-int-constant.
1246 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1247 (_IOFBF): Use macro-int-constant.
1248 (_IOLBF): Likewise.
1249 (_IONBF): Likewise.
1250 (SEEK_CUR): Likewise.
1251 (SEEK_END): Likewise.
1252 (SEEK_SET): Likewise.
1253 (TMP_MAX): Likewise.
1254 (EOF): Use macro-int-constant. Require < 0.
1255 (NULL): Use macro-constant. Require == 0.
1256 (stdin): Require type to be FILE *.
1257 (stdout): Likewise.
1258 (stderr): Likewise.
1259 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1260 macro-int-constant.
1261 (EXIT_SUCCESS): Likewise.
1262 (NULL): Use macro-constant. Require == 0.
1263 (RAND_MAX): Use macro-int-constant.
1264 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1265 [C99-based standards] (strtof): Require function.
1266 [C99-based standards] (strtold): Likewise.
1267 [C99-based standards] (strtoll): Likewise.
1268 [C99-based standards] (strtoull): Likewise.
1269 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1270 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1271 [ISO || ISO99 || ISO11] (math.h): Likewise.
1272 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1273 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1274 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1275
d18ea0c5
AS
12762012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1277
1278 [BZ #14132]
56d25bb8
AS
1279 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1280 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1281 * intl/dgettext.c (DCGETTEXT): Likewise.
1282 * intl/gettext.c (DCGETTEXT): Likewise.
1283 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1284 * posix/regex_internal.h (gettext): Likewise.
1285 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1286 Remove declaration.
1287 * include/argz.h (__argz_count_internal)
1288 (__argz_stringify_internal): Remove declaration.
1289 (__argz_count, __argz_stringify): Declare hidden proto.
1290 * intl/dcgettext.c: Remove use of INTDEF.
1291 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1292 * string/argz-stringify.c: Likewise.
1293 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1294 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1295 Declare hidden proto.
d18ea0c5
AS
1296 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1297 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1298 Declare hidden proto.
1299 * include/stdio.h (__asprintf_internal): Don't declare.
1300 (__asprintf): Don't define as macro. Declare hidden proto.
1301 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1302 (__fsetlocking): Declare hidden proto.
1303 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1304 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1305 hidden proto.
1306 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1307 (_IO_setlinebuf): Remove use of INTUSE.
1308 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1309 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1310 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1311 Remove declaration.
1312 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1313 (_IO_do_flush): Remove use of INTUSE.
1314 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1315 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1316 (_IO_adjust_column, _IO_least_wmarker)
1317 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1318 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1319 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1320 (_IO_default_doallocate, _IO_wdefault_doallocate)
1321 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1322 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1323 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1324 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1325 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1326 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1327 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1328 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1329 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1330 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1331 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1332 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1333 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1334 proto.
1335 (_IO_flush_all_internal, _IO_adjust_column_internal)
1336 (_IO_default_uflow_internal, _IO_default_finish_internal)
1337 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1338 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1339 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1340 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1341 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1342 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1343 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1344 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1345 (_IO_file_close_internal, _IO_file_close_it_internal)
1346 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1347 (_IO_file_init_internal, _IO_file_attach_internal)
1348 (_IO_file_fopen_internal, _IO_file_read_internal)
1349 (_IO_file_sync_internal, _IO_file_seek_internal)
1350 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1351 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1352 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1353 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1354 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1355 (_IO_list_all_internal, _IO_link_in_internal)
1356 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1357 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1358 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1359 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1360 (_IO_do_write_internal, _IO_padn_internal)
1361 (_IO_getline_info_internal, _IO_getline_internal)
1362 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1363 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1364 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1365 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1366 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1367 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1368 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1369 with libc_hidden_ver, remove use of INTUSE.
1370 * libio/genops.c: Likewise.
1371 * libio/freopen.c: Likewise.
1372 * libio/freopen64.c: Likewise.
1373 * libio/iofclose.c: Likewise.
1374 * libio/iofdopen.c: Likewise.
1375 * libio/iofflush.c: Likewise.
1376 * libio/iofflush_u.c: Likewise.
1377 * libio/iofgets.c: Likewise.
1378 * libio/iofgets_u.c: Likewise.
1379 * libio/iofopen.c: Likewise.
1380 * libio/iofopncook.c: Likewise.
1381 * libio/iofread.c: Likewise.
1382 * libio/iofread_u.c: Likewise.
1383 * libio/ioftell.c: Likewise.
1384 * libio/iofwrite.c: Likewise.
1385 * libio/iogetline.c: Likewise.
1386 * libio/iogets.c: Likewise.
1387 * libio/iogetwline.c: Likewise.
1388 * libio/iopadn.c: Likewise.
1389 * libio/iopopen.c: Likewise.
1390 * libio/ioseekoff.c: Likewise.
1391 * libio/ioseekpos.c: Likewise.
1392 * libio/iosetbuffer.c: Likewise.
1393 * libio/iosetvbuf.c: Likewise.
1394 * libio/ioungetc.c: Likewise.
1395 * libio/ioungetwc.c: Likewise.
1396 * libio/iovdprintf.c: Likewise.
1397 * libio/iovsprintf.c: Likewise.
1398 * libio/iovsscanf.c: Likewise.
1399 * libio/memstream.c: Likewise.
1400 * libio/obprintf.c: Likewise.
1401 * libio/oldfileops.c: Likewise.
1402 * libio/oldiofclose.c: Likewise.
1403 * libio/oldiofdopen.c: Likewise.
1404 * libio/oldiofopen.c: Likewise.
1405 * libio/oldiopopen.c: Likewise.
1406 * libio/oldstdfiles.c: Likewise.
1407 * libio/putc.c: Likewise.
1408 * libio/setbuf.c: Likewise.
1409 * libio/setlinebuf.c: Likewise.
1410 * libio/stdfiles.c: Likewise.
1411 * libio/strops.c: Likewise.
1412 * libio/vasprintf.c: Likewise.
1413 * libio/vscanf.c: Likewise.
1414 * libio/vsnprintf.c: Likewise.
1415 * libio/vswprintf.c: Likewise.
1416 * libio/wfiledoalloc.c: Likewise.
1417 * libio/wfileops.c: Likewise.
1418 * libio/wgenops.c: Likewise.
1419 * libio/wmemstream.c: Likewise.
1420 * libio/wstrops.c: Likewise.
1421 * libio/__fpurge.c: Likewise.
1422 * libio/__fsetlocking.c: Likewise.
1423 * assert/assert.c: Likewise.
1424 * debug/fgets_chk.c: Likewise.
1425 * debug/fgets_u_chk.c: Likewise.
1426 * debug/fread_chk.c: Likewise.
1427 * debug/fread_u_chk.c: Likewise.
1428 * debug/gets_chk.c: Likewise.
1429 * debug/obprintf_chk.c: Likewise.
1430 * debug/vasprintf_chk.c: Likewise.
1431 * debug/vdprintf_chk.c: Likewise.
1432 * debug/vsnprintf_chk.c: Likewise.
1433 * debug/vsprintf_chk.c: Likewise.
1434 * malloc/mtrace.c: Likewise.
1435 * misc/error.c: Likewise.
1436 * misc/syslog.c: Likewise.
1437 * stdio-common/asprintf.c: Likewise.
1438 * stdio-common/fxprintf.c: Likewise.
1439 * stdio-common/getw.c: Likewise.
1440 * stdio-common/isoc99_fscanf.c: Likewise.
1441 * stdio-common/isoc99_scanf.c: Likewise.
1442 * stdio-common/isoc99_vfscanf.c: Likewise.
1443 * stdio-common/isoc99_vscanf.c: Likewise.
1444 * stdio-common/isoc99_vsscanf.c: Likewise.
1445 * stdio-common/printf-prs.c: Likewise.
1446 * stdio-common/printf_fp.c: Likewise.
1447 * stdio-common/printf_fphex.c: Likewise.
1448 * stdio-common/printf_size.c: Likewise.
1449 * stdio-common/putw.c: Likewise.
1450 * stdio-common/scanf.c: Likewise.
1451 * stdio-common/sprintf.c: Likewise.
1452 * stdio-common/tmpfile.c: Likewise.
1453 * stdio-common/vfprintf.c: Likewise.
1454 * stdio-common/vfscanf.c: Likewise.
1455 * stdlib/strfmon_l.c: Likewise.
1456 * sunrpc/openchild.c: Likewise.
1457 * sunrpc/xdr_stdio.c: Likewise.
1458 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1459 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1460
d6c33fda
RM
14612012-05-24 Roland McGrath <roland@hack.frob.com>
1462
c1487492
RM
1463 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1464
1465 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1466 in the third column, to generate for the shared library an IFUNC
1467 that uses _dl_vdso_vsym.
1468 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1469 * Makeconfig (object-suffixes-noshared): New variable.
1470
1471 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1472 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1473 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1474 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1475
d6c33fda
RM
1476 [BZ #14132]
1477 * include/sys/time.h (__gettimeofday): Remove macro.
1478 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1479 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1480 Remove INTDEF.
1481 (__gettimeofday): Add libc_hidden_def.
1482 (gettimeofday): Add libc_hidden_weak.
1483 * sysdeps/mach/gettimeofday.c: Likewise.
1484 * sysdeps/posix/gettimeofday.c: Likewise.
1485 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1486 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1487 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1488 (__gettimeofday_internal): Remove strong_alias.
1489 (__gettimeofday): Add libc_hidden_def.
1490 (gettimeofday): Add libc_hidden_weak.
1491 * sysdeps/unix/syscalls.list (gettimeofday):
1492 Remove __gettimeofday_internal alias.
1493
b5a2bbe6
L
14942012-05-24 Daniel Jacobowitz <drow@false.org>
1495 H.J. Lu <hongjiu.lu@intel.com>
1496
1497 [BZ #12495]
1498 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1499 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1500 (largebin_index_32_big): New.
1501 (largebin_index): Use it for 16-byte alignment.
1502 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1503 correction with front_misalign.
1504
cfba4fda
L
15052012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1506
7f907421
L
1507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1509 Likewise.
1510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1511 Likewise.
1512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1513 Likewise.
1514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1515 Likewise.
1516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1517 Likewise.
1518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1519 Likewise.
1520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1521 Likewise.
1522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1523 Likewise.
1524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1525 Likewise.
1526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1527 Likewise.
1528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1529 Likewise.
1530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1531 Likewise.
1532
cfba4fda
L
1533 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1534 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1535
80bad0cc
JM
15362012-05-24 Joseph Myers <joseph@codesourcery.com>
1537
7a25eb06
JM
1538 [BZ #10846]
1539 [BZ #14036]
1540 * math/libm-test.inc (exp_test): Add test from bug 14036.
1541 (pow_test): Add test from bug 10846.
1542
795405f9
JM
1543 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1544 and other flags.
1545 (special_function): Do not include flags in test name.
1546 (parse_args): Likewise.
1547 * sysdeps/i386/fpu/libm-test-ulps: Update.
1548 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1549 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1550 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1552
80bad0cc
JM
1553 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1554 exceptions.
1555 * math/libm-test.inc ("Philosophy"): Update comment about
1556 exception testing.
1557 (UNDERFLOW_EXCEPTION): New macro.
1558 (UNDERFLOW_EXCEPTION_OK): Likewise.
1559 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1560 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1561 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1562 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1563 (INVALID_EXCEPTION_OK): Update value.
1564 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1565 (OVERFLOW_EXCEPTION_OK): Likewise.
1566 (IGNORE_ZERO_INF_SIGN): Likewise.
1567 (test_exceptions): Handle underflow exceptions.
1568 (acos_test): Update for underflow exception expectations.
1569 (cexp_test): Likewise.
1570 (clog_test): Likewise.
1571 (clog10_test): Likewise.
1572 (csqrt_test): Likewise.
1573 (ctan_test): Likewise.
1574 (ctanh_test): Likewise.
1575 (exp_test): Likewise.
1576 (exp10_test): Likewise.
1577 (exp2_test): Likewise.
1578 (expm1_test): Likewise.
1579 (fma_test): Likewise.
1580 (j0_test): Likewise.
1581 (jn_test): Likewise.
1582 (nexttoward_test): Likewise.
1583 (pow_test): Likewise.
1584 (scalbn_test): Likewise.
1585 (scalbln_test): Likewise.
1586 (tan_test): Likewise.
1587 (y1_test): Likewise.
1588 * sysdeps/i386/fpu/libm-test-ulps: Update.
1589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1590
9e0e3d0b
DM
15912012-05-23 David S. Miller <davem@davemloft.net>
1592
1593 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1594 (__libc_sigaction): Remove unused local variables.
1595
ccd0a08f
L
15962012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1597
1598 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1599
62bdf9a6
PE
16002012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1601
f8591f80
PE
1602 mktime: avoid signed integer overflow
1603 * time/mktime.c (__mktime_internal): Do not mishandle the case
1604 where diff == INT_MIN.
1605
94c7d826
PE
1606 mktime: simplify computation of average
1607 * time/mktime.c (ranged_convert): Use new time_t_avg function
1608 instead of rolling our own (probably-slower) code.
1609
ce73d683
PE
1610 mktime: do not assume signed right shift propagates sign bit
1611 * time/mktime.c (isdst_differ): New static function.
1612 (__mktime_internal): No need to normalize tm_isdst now.
1613 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1614 tm_isdst values.
1615
72a22e59
PE
1616 mktime: merge another wrapv change from gnulib
1617 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1618 from some compilers.
1619
68605433
PE
1620 mktime: remove incorrect attempt at unusual arithmetics
1621 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1622 The code didn't really work on such machines anyway.
1623 (TYPE_MINIMUM): Assume two's complement.
1624 (twos_complement_arithmetic): Verify that long_int and time_t
1625 are two's complement (or unsigned, in the latter case).
1626
03cf7fe3
PE
1627 mktime: check signed shifts on long_int and time_t, too
1628 * time/mktime.c (SHR): Check that shifts work as desired
1629 on the types long_int and time_t too, as SHR is used on
1630 such types.
1631
f04dfbc2
PE
1632 mktime: do not assume 'long' is wide enough
1633 * time/mktime.c (verify): Move decl up.
1634 (long_int): New type.
1635 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1636 to remove assumption in the code that 'long' is wide enough to
1637 store year values. This assumption is not true on x32 and on
1638 some non-glibc platforms.
1639
62bdf9a6
PE
1640 mktime: merge wrapv change from gnulib
1641 * time/mktime.c (WRAPV): New macro.
1642 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1643 (guess_time_tm, __mktime_internal): Do not assume that signed
1644 integer overflow wraps around; modern compilers generate code
1645 where this assumption is no longer valid.
1646
5e292e4f
L
16472012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1648
1649 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1650 Replace "jmp L(pseudo_end)" with "ret".
1651 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1652 Likewise.
1653
8caf8c87
AJ
16542012-05-23 Andreas Jaeger <aj@suse.de>
1655
1656 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1657 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1658
1a09dc56
AJ
16592012-05-23 Andreas Jaeger <aj@suse.de>
1660 Maximilian Attems <max@stro.at>
1661
1662 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1663 New macros.
1664
1c87aba0
L
16652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1666
1667 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1668 code so that pseudo_end is just ret and the stack pointer is
1669 correct also for static library in error case.
1670
40e45bd5
JM
16712012-05-23 Joseph Myers <joseph@codesourcery.com>
1672
c2670533
JM
1673 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1674 move to syscalls.list.
1675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1679
40e45bd5
JM
1680 * manual/install.texi (Running make install): Do not mention Linux
1681 kernel version for which pt_chown is not needed.
1682 (Linux): Do not mention problems with nscd with 2.0 kernels.
1683 * INSTALL: Regenerated.
1684
be08eda5
AJ
16852012-05-23 Andreas Jaeger <aj@suse.de>
1686
1687 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1688 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1689 macro.
1690 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1691 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1692 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1693 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1694 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1695 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1696 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1697 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1698 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1699 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1700 * sysdeps/unix/sysv/linux/bits/in.h
1701 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1702
a6a056bb
RM
17032012-05-22 Roland McGrath <roland@hack.frob.com>
1704
1705 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1706 (PREPARE_VERSION): Just use assert instead, it will be elided
1707 under [NDEBUG] anyway.
1708
c9009328
L
17092012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1710
1711 * sysdeps/unix/sysv/linux/Makefile: Include
1712 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1713 (sysdep_routines): Remove sysctl.
c9009328
L
1714 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1715 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1716 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1717 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1718 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1719
73338355
AJ
17202012-05-22 Andreas Jaeger <aj@suse.de>
1721
1722 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1723 that pseudo_end is just ret and the stack pointer is correct also
1724 for static library in error case.
1725
d44638b0
PP
17262012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1727
1728 [BZ #14122]
1729 * nss/nsswitch.c (defconfig_entries): New variable.
1730 (__nss_database_lookup): Don't leak defconfig entries.
1731 (nss_parse_service_list): Don't leak on error paths.
1732 (free_database_entries): New function.
1733 (free_defconfig): New function.
1734 (free_mem): Move common code to free_database_entries.
1735
31a39bd8
L
17362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1737
da0331a8
L
1738 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1739 Add arch_prctl.
1740 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1741
31a39bd8
L
1742 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1743 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1744 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1745 New macro.
1746 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1747 (INTERNAL_SYSCALL_TYPES): Likewise.
1748 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1749 (LOAD_REGS_TYPES_[1-6]): Likewise.
1750 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1751 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1752
45470df3
AZ
17532012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1754
1755 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1756 copysignl for GLIBC_2_0.
1757 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1758 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1759 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1760 logbl for GLIBC_2_0.
1761 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1762 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1763
98a61bcb
L
17642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1765
a4f6e481
L
1766 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1767 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1768
f63d5db6
L
1769 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1770 Use "neg %eax".
1771
98a61bcb
L
1772 * time/mktime.c: Update copyright years.
1773
95770f14
PE
17742012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1775
6226efbd
PE
1776 mktime: merge comment-quoting-style change from gnulib
1777 * time/mktime.c: Quote 'like this' in comments.
1778 The GNU coding standards suggest that we no longer quote `like this',
1779 as "`" and "'" are typically rendered asymmetrically nowadays.
1780 The typical gnulib style is to quote 'like this' when quoting
1781 code, and "like this" when quoting English.
1782
b99e4f78
PE
1783 * time/mktime.c (compile-command): Add "-I.".
1784
643e01e6
PE
1785 mktime: merge mktime-internal.h change from gnulib
1786 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1787
2554247d
PE
1788 mktime: merge time_r change from gnulib
1789 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1790
826dd0ab
PE
1791 mktime: merge DEBUG change from gnulib
1792 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1793 case system <time.h> has a #define.
1794
bd83aabe
PE
1795 mktime: merge <sys/types.h> change from gnulib
1796 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1797 since <time.t> is now guaranteed to define time_t.
1798
95770f14
PE
1799 mktime: merge HAVE_CONFIG_H change from gnulib
1800 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1801
5e1a27a9
L
18022012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1803
0e44a77e
L
1804 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1805 Use "neg %eax".
1806
5e1a27a9
L
1807 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1808 __rlim_t cast.
1809 (struct rusage): Use anonymous union to pad each field to
1810 __syscall_slong_t.
1811
46259bec
DM
18122012-05-21 David S. Miller <davem@davemloft.net>
1813
1814 * Makefules (o-iterator): Remove .s cases.
1815 (compile-command.s): Delete.
1816 (COMPILE.s): Delete.
1817 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1818
59f0c22e
JM
18192012-05-21 Joseph Myers <joseph@codesourcery.com>
1820
1821 * configure.in (libc_cv_predef_stack_protector): Only consider
1822 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1823 * configure: Regenerated.
1824
20c07380
L
18252012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1826
bbb3154b
L
1827 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1828 New macro. Use R*LP on int and pointer.
1829 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1830 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1831 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1832 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1833
20c07380
L
1834 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1835 [__WORDSIZE_TIME64_COMPAT32] instead of
1836 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1837 (struct utmp): Likewise.
1838 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1839 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1840 Renamed to ...
1841 (__WORDSIZE_TIME64_COMPAT32): This.
1842 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1843 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1844 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1845 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1846 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1847 (__WORDSIZE_TIME64_COMPAT32): New macro.
1848
d8d1017e
AJ
18492012-05-21 Andreas Jaeger <aj@suse.de>
1850
1851 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1852 only if [SHARED]. Add prototype for __wcschr_ia32.
1853
6c7fb145
RM
18542012-05-21 Roland McGrath <roland@hack.frob.com>
1855
1856 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1857 of %rbp unmolested in the jmp_buf while mangling the low bits.
1858 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1859 unmolested high bits of %rbp while demangling the low bits.
1860 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1861
66274218
AJ
18622012-05-21 Andreas Jaeger <aj@suse.de>
1863
07c58f8f
AJ
1864 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1865 * sunrpc/svc_simple.c: Use it for registerrpc.
1866 * sunrpc/xcrypt.c: Use it for passwd2des.
1867
66274218
AJ
1868 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1869
61f65140
L
18702012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1871
1872 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1873 Don't define if [__SYSCALL_WORDSIZE != 32].
1874 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1875 New macro.
1876
5fefb436
AJ
18772012-05-21 Bruno Haible <bruno@clisp.org>
1878 Andreas Jaeger <aj@suse.de>
1879
1880 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1881 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1882 inptr and inend for must_buffer_ch.
1883 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1884 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1885 * stdio-common/Makefile (tests): Remove bug15.
1886 (bug15-ENV): Remove macro.
1887 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1888 anymore.
1889
d8e272ab
AJ
18902012-05-19 Andreas Jaeger <aj@suse.de>
1891 Roland McGrath <roland@hack.frob.com>
1892
1893 * manual/contrib.texi: Completely rewritten. It contains now an
1894 alphabetical list of contributors and their contributions.
1895
4a56a162
RH
18962012-05-21 Richard Henderson <rth@twiddle.net>
1897
1898 * misc/getauxval.c (__getauxval): Use unsigned long int.
1899 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1900 (getauxval): Use unsigned long int.
1901
d024d23c
L
19022012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1903
1904 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1905
cbc00a03
RM
19062012-05-21 Roland McGrath <roland@hack.frob.com>
1907
1908 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1909 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1910 __alignof__ (long double).
1911
478143fa
AZ
19122012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1913
1914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1915
c7683a6d
RH
19162012-05-20 Richard Henderson <rth@twiddle.net>
1917
1918 * misc/getauxval.c: New file.
1919 * misc/sys/auxv.h: New file.
1920 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1921 (routines): Add getauxval.
1922 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1923 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1924 * elf/dl-sysdep.c (_dl_auxv): Remove.
1925 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1926 * elf/dl-support.c (_dl_auxv): New variable.
1927 (_dl_aux_init): Initialize it.
1928 * manual/startup.texi (Auxiliary Vector): New node.
1929 * sysdeps/generic/bits/hwcap.h: New file.
1930 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1931 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1932 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1933 * sysdeps/sparc/sysdep.h: ... here. Include it.
1934 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1935 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1937 Update.
c7683a6d
RH
1938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1941 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1946
a6f1845d
AZ
19472012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1948
1949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1950
cbcbe830
DM
19512012-05-19 David S. Miller <davem@davemloft.net>
1952
1953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1954
e0b16cc2
JM
19552012-05-19 Joseph Myers <joseph@codesourcery.com>
1956
1957 [BZ #14123]
1958 * math/s_ccosh.c: Include <float.h>
1959 (__ccosh): Avoid internal overflow calculating sinh and cosh
1960 values before multiplying by sin and cos values.
1961 * math/s_ccoshf.c: Likewise.
1962 * math/s_ccoshl.c: Likewise.
1963 * math/s_csin.c: Likewise.
1964 * math/s_csinf.c: Likewise.
1965 * math/s_csinl.c: Likewise.
1966 * math/s_csinh.c: Likewise.
1967 * math/s_csinhf.c: Likewise.
1968 * math/s_csinhl.c: Likewise.
1969 * math/libm-test.inc (ccos_test): Add more tests.
1970 (ccosh_test): Likewise.
1971 (csin_test): Likewise.
1972 (csinh_test): Likewise.
1973 * sysdeps/i386/fpu/libm-test-ulps: Update.
1974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1975
6ad13e08
L
19762012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1977
f66f0ce8
L
1978 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1979 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1980
6ad13e08
L
1981 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1982
b1d072a7
JM
19832012-05-19 Joseph Myers <joseph@codesourcery.com>
1984
1985 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1986 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1987 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1988 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1989 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1990 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1991 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1992 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1993 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1994 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1995 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1996 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1997 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1998 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1999 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2000 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2001 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2002 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2003 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2004 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2005 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2006 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2007 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2008 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2009 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2010 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2011 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2012 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2013 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2014 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2015 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2016
9eae47cb
AJ
20172012-05-18 Andreas Jaeger <aj@suse.de>
2018
2019 * csu/.gitignore: Delete.
2020
bb07f69f
L
20212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2022
2023 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2024 (timex): Use __syscall_slong_t.
2025
e6bdb741
AJ
20262012-05-18 Andreas Jaeger <aj@suse.de>
2027 Carlos O'Donell <carlos_odonell@mentor.com>
2028
2029 * manual/install.texi (Configuring and compiling): Update
2030 description about files modified in the source directory.
d6c33fda 2031 * INSTALL: Regenerated.
e6bdb741 2032
1b74487e
L
20332012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2034
2035 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2036 value. Use "or" to set return value to -1.
2037 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2038 negate return value.
2039
a88b64b9
TMQMF
20402012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2041
2042 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2043 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2044 failure if the compiler has Graphite support disabled.
2045 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2046 Likewise.
2047 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2048 CFLAGS-memmove.c): Likewise.
2049 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2050 Likewise.
2051
3707636e
L
20522012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2053
610b8622
L
2054 * sysdeps/x86_64/x32/_itoa.h: New file.
2055
7cd195df
L
2056 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2057 getdents system call only if kernel and user dirents have the
2058 same d_ino and d_off.
2059
94b07d20
L
2060 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2061 LLONG_MAX != LONG_MAX.
2062 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2063 (_fitoa_word): Likewise.
2064
18298070
L
2065 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2066 years.
2067 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2068 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2069 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2070
553c7ea4
L
2071 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2072 include <bits/wordsize.h>. Check __x86_64__ instead of
2073 __WORDSIZE.
2074 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2075 if __x86_64__ is defined. Use anonymous union on fpstate.
2076
3707636e
L
2077 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2078 anonymous union.
2079
b53ef01a
AS
20802012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2081
37fb1dc0
AS
2082 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2083 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2084 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2085 Refer to _rtld_local_ro instead of _rtld_global_ro.
2086 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2087 Likewise.
2088 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2089 Likewise.
2090 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2091 Likewise.
2092 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2093 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2094 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2095
b53ef01a
AS
2096 * sysdeps/powerpc/powerpc32/dl-machine.c
2097 (__elf_machine_runtime_setup) [PROF]: Don't reference
2098 _dl_prof_resolve.
2099
7a185db2
AJ
21002012-05-18 Andreas Jaeger <aj@suse.de>
2101
2102 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2103 function only available for GCCs before 3.4 since GCC 3.4
2104 introduced a builtin.
2105 (lrint): Likewise.
2106 (llrintf): Likewise.
2107 (llrint): Likewise.
2108 (fmaxf): Likewise.
2109 (fmax): Likewise.
2110 (fminf): Likewise.
2111 (fmin): Likewise.
2112 (rint): Likewise.
2113 (rintf): Likewise.
2114 (nearbyint): Likewise.
2115 (nearbyintf): Likewise.
2116 (ceil): Likewise.
2117 (ceilf): Likewise.
2118 (floor): Likewise.
2119 (floorf): Likewise.
2120
3e5aef87
L
21212012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2122
428bd707
L
2123 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2124 on both fields and cast pointer to __syscall_ulong_t.
2125
3e5aef87
L
2126 * bits/types.h (__fsword_t): New type.
2127 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2128 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2129 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2130 (__FSWORD_T_TYPE): Likewise.
2131 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2132 (__FSWORD_T_TYPE): Likewise.
2133 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2134 (__FSWORD_T_TYPE): Likewise.
2135 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2136 (__FSWORD_T_TYPE): Likewise.
2137 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2138 __SWORD_TYPE with __fsword_t.
2139 (statfs64): Likewise.
2140
1ba7c3dc
DM
21412012-05-17 David S. Miller <davem@davemloft.net>
2142
2143 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2144
59910343
AJ
21452012-05-17 Andreas Jaeger <aj@suse.de>
2146
2147 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2148 warning.
2149
2e4c1e9e
L
21502012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2151
2152 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2153
de7f5ce7
AJ
21542012-05-17 Andreas Jaeger <aj@suse.de>
2155
2156 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2157 when it is used.
2158
286abc3d
CM
21592012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2160
2161 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2162
477cc68e
L
21632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2164
2165 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2166 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2167
1a0994f5
CD
21682012-05-17 Andreas Jaeger <aj@suse.de>
2169 Carlos O'Donell <carlos_odonell@mentor.com>
2170
2171 [BZ #14059]
2172 * sysdeps/x86_64/multiarch/init-arch.h
2173 (bit_YMM_Usable): Rename to...
2174 (bit_AVX_Usable): ... this.
2175 (bit_FMA4_Usable): New macro.
2176 (bit_XMM_state): New macro.
2177 (bit_YMM_state): New macro.
2178 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2179 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2180 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2181 (CPUID_OSXSAVE): New macro.
2182 (CPUID_AVX): New macro.
2183 (CPUID_FMA4): New macro.
2184 (index_YMM_Usable): Rename to...
2185 (index_AVX_Usable): ... this.
2186 (HAS_AVX): Use HAS_ARCH_FEATURE.
2187 (HAS_FMA4): Likewise.
2188 (HAS_YMM_USABLE): Remove.
2189 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2190 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2191 are present.
2192 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2193 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2194 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2195 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2196 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2197
0af797de
CM
21982012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2199
2200 * math/libm-test.c: Support platforms without multiple rounding modes.
2201 * math/bug-nextafter.c: Support platforms without FP exceptions.
2202 * math/bug-nexttoward.c: Likewise.
2203 * math/test-fenv.c: Likewise.
2204 * math/test-misc.c: Likewise.
2205 * stdlib/bug-getcontext.c: Likewise.
2206
e39745ff
AJ
22072012-05-17 Andreas Jaeger <aj@suse.de>
2208
2209 * manual/examples/search.c (critter_cmp): Change signature to
2210 avoid warnings.
2211 * manual/string.texi (Collation Functions): Likewise.
2212
48970aba
L
22132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2214
2215 * bits/types.h: Fold copyright years.
2216 * bits/typesizes.h: Likewise.
2217 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2218 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2219 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2220 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2221 * time/time.h: Likewise.
2222
bedee953
PP
22232012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2224
2225 [BZ #208]
2226 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2227 in instead of returning them. Return void.
2228 (__libc_mallinfo): Accumulate over all arenas.
2229 (__malloc_stats): Adjust for change in int_mallinfo interface.
2230
61653dfb
RM
22312012-05-16 Roland McGrath <roland@hack.frob.com>
2232
30b99d79
RM
2233 [BZ #10375]
2234 * configure.in (NM): Add AC_CHECK_TOOL for it.
2235 (libc_extra_cflags): New substituted variable.
2236 Check for -fstack-protector being used implicitly.
2237 * configure: Regenerated.
2238 * config.make.in (config-extra-cflags): New variable,
2239 gets @libc_extra_cflags@.
2240 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2241
61653dfb
RM
2242 [BZ #10375]
2243 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2244 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2245 * configure: Regenerated.
2246 * config.make.in (CPPUNDEFS): New substituted variable.
2247 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2248 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2249 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2250
661768bb
L
22512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2252
2253 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2254 (mq_attr): Use __syscall_slong_t.
2255
d4261567
L
22562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2257
2258 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2259 Check __x86_64__ instead of __WORDSIZE.
2260 (_STAT_VER_LINUX): Likewise.
2261 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2262 __syscall_ulong_t and __syscall_slong_t.
2263 (stat64): Likewise.
2264
cf3ff365
L
22652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2266
2267 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2268
76cf3e4d
L
22692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2270
2271 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2272
a637753a
L
22732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2274
2275 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2276 __syscall_ulong_t.
2277
d5e05119
L
2278 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2279 include <bits/wordsize.h>. Check __x86_64__ instead of
2280 __WORDSIZE.
2281 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2282 defined.
2283 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2284
f62ee380
L
2285 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2286 include <bits/wordsize.h>. Check __x86_64__ instead of
2287 __WORDSIZE.
2288 (user_regs_struct): Use "__extension__ unsigned long long"
2289 instead of "unsigned long" if __x86_64__ is defined.
2290 (user): Likewise. Pad after pointer field if __ILP32__ is
2291 defined.
2292
4e124ced
JM
22932012-05-16 Joseph Myers <joseph@codesourcery.com>
2294
6a3951a0
JM
2295 * configure.in (makeinfo): Require version 4.5 or later. Allow
2296 versions 5 to 9.
2297 * configure: Regenerated.
2298 * manual/install.texi (texinfo): Increase version requirement to
2299 4.5 or later.
2300 * INSTALL: Regenerated.
2301
4e124ced
JM
2302 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2303
953ca31a
L
23042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2305
2306 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2307
617aca05
L
2308 * sysdeps/x86_64/x32/ffs.c: New file.
2309
5762f7ae
L
2310 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2311 __syscall_ulong_t.
2312 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2313 defined. Use __syscall_ulong_t.
2314 (shminfo): Use __syscall_ulong_t.
2315 (shm_info): Likewise.
2316
a26b6856
L
2317 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2318 __syscall_ulong_t.
2319
cb2b9ef7
L
2320 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2321 <bits/wordsize.h>.
2322 (msgqnum_t): Use __syscall_ulong_t.
2323 (msglen_t): Likewise.
2324 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2325 __syscall_ulong_t.
2326
34683bb0
L
2327 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2328 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2329
84a68786
L
2330 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2331
48baa5f1
L
2332 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2333 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2334
180be88b
L
2335 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2336 __syscall_slong_t.
2337
5e90c8ad
L
2338 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2339 include <bits/wordsize.h>. Check __x86_64__ instead of
2340 __WORDSIZE.
2341
23dfb58b
L
2342 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2343 "unsigned long long int" if __x86_64__ is defined.
2344 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2345
ce5d54b0
L
2346 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2347 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2348 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2349
13dc9eac
L
2350 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2351 <stdint.h>.
2352 (GET_PC): Cast to uintptr_t first.
2353 (GET_FRAME): Likewise.
2354 (GET_STACK): Likewise.
2355
a7895d15
L
2356 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2357 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2358 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2359 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2360 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2361 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2362 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2363 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2364 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2365 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2366 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2367 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2368 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2369 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2370 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2371 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2372 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2373 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2374 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2375 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2376 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2377 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2378 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2379 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2380 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2381 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2382 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2383 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2384 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2385
656416c9
AS
23862012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2387
5bd66283
AS
2388 * Makerules (+depfiles): Also collect depfiles from .oS in
2389 $(extra-objs).
2390 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2391 .oS, $(libnldbl-routines)).
2392
656416c9
AS
2393 * Makerules (native-compile-mkdep-flags): Define.
2394 * sunrpc/Makefile (extra-objs): Add $(addprefix
2395 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2396 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2397 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2398 calling $(make-target-directory).
2399
a46f2169
L
24002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2401
2402 * bits/types.h (__snseconds_t): Removed.
2403 * time/time.h (struct timespec): Replace __snseconds_t with
2404 __syscall_slong_t.
2405 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2406 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2407 Likewise.
2408 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2409 (__SNSECONDS_T_TYPE): Likewise.
2410 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2411 (__SNSECONDS_T_TYPE): Likewise.
2412 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2413 (__SNSECONDS_T_TYPE): Likewise.
2414
6af6528b
L
24152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2416
2417 * sysdeps/mach/hurd/bits/typesizes.h
2418 (__SYSCALL_SLONG_TYPE): New macro.
2419 (__SYSCALL_ULONG_TYPE): Likewise.
2420
de986b56
L
24212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2422
2423 * bits/types.h (__syscall_slong_t): New type.
2424 (__syscall_ulong_t): Likewise.
2425
2426 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2427 (__SYSCALL_ULONG_TYPE): Likewise.
2428 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2429 (__SYSCALL_SLONG_TYPE): Likewise.
2430 (__SYSCALL_ULONG_TYPE): Likewise.
2431 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2432 (__SYSCALL_SLONG_TYPE): Likewise.
2433 (__SYSCALL_ULONG_TYPE): Likewise.
2434 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2435 (__SYSCALL_SLONG_TYPE): Likewise.
2436 (__SYSCALL_ULONG_TYPE): Likewise.
2437
85736dc7
L
24382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2439
2440 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2441 Add sigaltstack-offsets.sym.
2442 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2443 <sigaltstack-offsets.h>.
2444 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2445 longjmp_msg pointer.
2446 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2447 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2448 signal stack.
2449 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2450
cc03b296
JM
24512012-05-15 Joseph Myers <joseph@codesourcery.com>
2452
a9538892
JM
2453 * elf/stackguard-macros.h: Remove file.
2454 * sysdeps/generic/stackguard-macros.h: New file.
2455 * sysdeps/i386/stackguard-macros.h: Likewise.
2456 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2457 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2458 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2459 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2460 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2461 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2462 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2463 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2464 <elf/stackguard-macros.h>.
2465
cc03b296
JM
2466 [BZ #14109]
2467 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2468 __aligned__ in attribute.
2469 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2470 (gregset_t): Likewise.
2471
93171016
L
24722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2473
2474 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2475 * sysdeps/x86_64/64/Implies-after: Here. New file.
2476 * sysdeps/x86_64/x32/Implies-after: New file.
2477
d86813a0
L
24782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2479
2480 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2481 and access return value for _dl_profile_fixup. Use R10_LP to
2482 load frame size.
2483
2953ec75
L
24842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2485
2486 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2487
3b550e9e
L
24882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2489
2490 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2491 * sysdeps/x86_64/x32/sysdep.h: New file.
2492
eda41706
L
24932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2494
2495 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2496 * sysdeps/x86_64/setjmp.S: Likewise.
2497
9ea01d93
AZ
24982012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2499
2500 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2501 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2502 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2503 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2504 remove unused global constant.
2505
02a91938
CM
25062012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2507
2508 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2509 include of <not-cancel.h>.
2510
6540185f
RM
25112012-05-15 Roland McGrath <roland@hack.frob.com>
2512
2513 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2514
509072a0
AJ
25152012-05-15 Jeff Law <law@redhat.com>
2516 Andreas Jaeger <aj@suse.de>
2517
2518 [BZ #13594]
2519 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2520 out from...
2521 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2522 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2523 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2524 code changing __hst_map_handle.map.
2525
ba75122d
RM
25262012-05-15 Roland McGrath <roland@hack.frob.com>
2527
2528 * configure.in (sysnames): Look for Implies-before and Implies-after
2529 files.
2530 * configure: Regenerated.
2531
890d8bd8
L
25322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2533
2534 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2535 8-byte data alignment with LP_SIZE alignment.
2536
f6ee6623
L
25372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2538
2539 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2540 into R10_LP.
2541
ea2626f6
L
25422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2543
2544 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2545
085f715e
L
25462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2547
2548 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2549 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2550 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2551 Likewise.
2552 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2553
be8498fc
L
25542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2555
2556 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2557 (stackinfo_sub_sp): Likewise.
2558
70bc83b9
L
25592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2560
2561 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2562 RAX_LP.
2563
9bc0b730
L
25642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2565
2566 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2567 into R*_LP.
2568
6d2850e7
L
25692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2570
2571 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2572 sizes into R*_LP.
2573
3cb84561
L
25742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2575
2576 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2577
54e2ed81
L
25782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2579
2580 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2581 into R11_LP and load __x86_64_shared_cache_size_half into
2582 R8_LP.
2583
8a17f349
L
25842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2585
2586 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2587 R8_LP.
2588
777b1eea
AZ
25892012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2590
2591 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2592 logb for POWER7.
2593 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2594 logbf for POWER7.
2595 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2596 logbl for POWER7.
2597 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2598 powerpc32/power7/fpu/s_logb.c via #include.
2599 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2600 powerpc32/power7/fpu/s_logbf.c via #include.
2601 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2602 powerpc32/power7/fpu/s_logbl.c via #include.
2603
d20d4ac2
JM
26042012-05-15 Joseph Myers <joseph@codesourcery.com>
2605
2606 * README.libm: Remove file.
2607
6cdef1ab
L
26082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2609
2610 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2611 count for x32. Use R*_LP and omit operand-size suffix.
2612
0b254d8f
L
26132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2614
2615 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2616 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2617 * sysdeps/x86_64/x32/shlib-versions: New file.
2618
ceb809dc
RM
26192012-05-14 Roland McGrath <roland@hack.frob.com>
2620
2621 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2622 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2623 Use _dl_fatal_printf instead.
2624
37f1abd4
JM
26252012-05-14 Joseph Myers <joseph@codesourcery.com>
2626
2627 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2628 set if not set by the user. Do not allow for being unset.
2629 * sysdeps/unix/sysv/linux/configure: Regenerated.
2630
11de3a33
L
26312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2632
2633 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2634 the `q' suffix from lea and replace .quad with ASM_ADDR.
2635
e02f153a
L
26362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2637
2638 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2639 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2640 instead of $17.
2641 (PTR_DEMANGLE): Likewise.
2642
520ae0fd
L
26432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2644
2645 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2646 (LP_OP): Likewise.
2647 (ASM_ADDR): Likewise.
2648 (RAX_LP): Likewise.
2649 (RBP_LP): Likewise.
2650 (RBX_LP): Likewise.
2651 (RCX_LP): Likewise.
2652 (RDI_LP): Likewise.
2653 (RSI_LP): Likewise.
2654 (RSP_LP): Likewise.
2655 (R8_LP): Likewise.
2656 (R9_LP): Likewise.
2657 (R10_LP): Likewise.
2658 (R10_LP): Likewise.
2659 (R11_LP): Likewise.
2660 (R12_LP): Likewise.
2661 (R13_LP): Likewise.
2662 (R14_LP): Likewise.
2663 (R15_LP): Likewise.
2664
b985be81
L
26652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2666
2667 * sysdeps/x86_64/x32/dl-machine.h: New file.
2668
6a4888ff
AJ
26692012-05-14 Andreas Jaeger <aj@suse.de>
2670
2671 * manual/Makefile (subdir): Remove export of subdir.
2672 (all): Remove target.
2673 (.PHONY): Remove all from list.
2674 (mkinstalldirs): Remove.
2675 (.PHONY): Remove installdirs from list.
2676 ($(inst_infodir)/libc.info): Use make-target-directory.
2677 (installdirs): Remove.
2678 (subdir_%): Remove.
2679 (glibc-targets): Remove.
2680 (lib): Remove.
2681 (stubs): Remove.
2682 ($(objpfx)stubs ../po/manual.pot): Remove.
2683 ($(objpfx)stamp%): Remove.
2684 (make-target-directory): Remove.
2685 (subdir_install): Remove.
2686 (routines): Remove.
2687 (aux): Remove.
2688 (sources): Remove.
2689 (objects): Remove.
2690 (headers): Remove.
2691
2692 [BZ #13750]
2693 * manual/.gitignore: Remove, it's not needed anymore.
2694 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2695 all files in it.
2696 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2697 directory.
2698 (texis): Renamed to $(objpfx)texis.
2699 (texis-path): New, contains path to generated files.
2700 (chapters.%): Use texis-path for complete path, add extra argument
2701 libc-texinfo.sh.
2702 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2703 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2704 (summary,texi, stamp-summary): Use complete path of
2705 files. Generate files in build dir.
2706 (dir-add.texi): Build in build dir.
2707 (libm-err.texi,stamp-libm-err): Likewise.
2708 (version.texi, stamp-version): Likewise.
2709 (.%c.texi): Likewise.
2710 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2711 (mostlyclean): Remove target.
2712 (realclean): Remove target.
2713 (generated): Add new variable with contents from mostlyclean and
2714 realclean, remove entries duplicated in common-mostlyclean, add
2715 stamp-libm-err and stamp-version.
2716 (generated-dirs): Add libc directory.
2717 ($(inst_infodir)/libc.info): Install files from build dir.
2718
2719 * manual/install.texi (Configuring and compiling): Adjust since
2720 the info files are not part of the tar ball anymore.
2721
7ac77294
AJ
27222012-05-14 Andreas Jaeger <aj@suse.de>
2723
2724 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2725 variable.
2726
ffb7875d
JM
27272012-05-14 Joseph Myers <joseph@codesourcery.com>
2728
2729 [BZ #13717]
2730 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2731 to 2.2.0 where earlier.
2732 * sysdeps/unix/sysv/linux/configure: Regenerated.
2733 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2734 Remove conditional code.
2735 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2736 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2737 Remove conditional code.
2738 [!__NR_lchown]: Likewise.
2739 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2740 [__NR_lchown]: Likewise.
2741 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2742 comment referencing __ASSUME_LCHOWN_SYSCALL.
2743 * sysdeps/unix/sysv/linux/i386/sigaction.c
2744 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2745 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2746 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2747 Remove conditional code.
2748 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2749 (__protocol_available): Remove #if 0 code.
2750 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2751 conditional code.
2752 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2753 * sysdeps/unix/sysv/linux/kernel-features.h
2754 (__ASSUME_GETCWD_SYSCALL): Don't define.
2755 (__ASSUME_REALTIME_SIGNALS): Likewise.
2756 (__ASSUME_PREAD_SYSCALL): Likewise.
2757 (__ASSUME_PWRITE_SYSCALL): Likewise.
2758 (__ASSUME_POLL_SYSCALL): Likewise.
2759 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2760 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2761 non-SPARC.
2762 (__ASSUME_SIOCGIFNAME): Don't define.
2763 (__ASSUME_MSG_NOSIGNAL): Likewise.
2764 (__ASSUME_SENDFILE): Define unconditionally.
2765 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2766 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2767 conditional code.
2768 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2769 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2770 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2771 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2772 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2773 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2774 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2776 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2777 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2779 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2780 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2782 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2783 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2785 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2786 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2788 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2789 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2791 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2792 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2794 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2795 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2797 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2798 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2799 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2800 Remove conditional code.
2801 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2802 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2803 Remove conditional code.
2804 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2805 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2806 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2807 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2808 Remove conditional code.
2809 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2810 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2811 Remove conditional code.
2812 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2813 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2814 Remove conditional code.
2815 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2816 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2817 Remove conditional code.
2818 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2819 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2820 Remove conditional code.
2821 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2822 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2823 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2824 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2825 * sysdeps/unix/sysv/linux/sigaction.c
2826 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2827 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2828 * sysdeps/unix/sysv/linux/sigpending.c
2829 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2830 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2831 * sysdeps/unix/sysv/linux/sigprocmask.c
2832 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2833 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2834 * sysdeps/unix/sysv/linux/sigsuspend.c
2835 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2836 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2837 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2838 (__libc_missing_rt_sigs): Remove.
2839 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2840 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2841 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2842 Remove conditional code.
2843 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2844 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2845 return 1.
2846 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2847 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2848 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2849 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2850
1bfb7291
AJ
28512012-05-14 Andreas Jaeger <aj@suse.de>
2852
caae5a81
AJ
2853 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2854 it's not used in glibc.
2855 (__coshm1): Likewise.
2856 (__acosh1p): Likewise.
2857 (__sgn): Likewise.
2858
1bfb7291
AJ
2859 * manual/string.texi (Copying and Concatenation): Add missing
2860 variable in concat example.
2861 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2862
c044d724
L
28632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2864
144c5467 2865 [BZ #14103]
c044d724
L
2866 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2867 __builtin_clzl with __builtin_clzll.
2868
2523c62b
L
28692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2870
2871 [BZ #14104]
2872 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2873 libc_freeres_ptr.
2874
d7bb4c42
LD
28752012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2876
2877 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2878 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2879 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2880 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2881
9dc4e1fb
MF
28822012-05-14 Mike Frysinger <vapier@gentoo.org>
2883
2884 * NEWS: Update ia64 info.
2885
c7df0112
AS
28862012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2887
2888 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2889 used as bcopy.
2890
dc70356c
TS
28912012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2892
2893 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2894 * sysdeps/unix/syscalls.list (dup3): Likewise.
2895 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2896 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2897
9fb1a21f
L
28982012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2899
2900 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2901 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2902
4822a2a5
L
29032012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2904
2905 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2906 thread pointer.
2907 (TLS_IE): Use mov/add instead of movq/addq to load thread
2908 pointer.
2909 (TLS_GD_PREFIX): New.
2910 (TLS_GD): Use it.
2911
842b81d6
DM
29122012-05-11 David S. Miller <davem@davemloft.net>
2913
2914 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2915 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2916 (_FPU_SETCW): Likewise.
2917
1cf463cd
L
29182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2919
2920 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2921 is 32-byte aligned.
2922
60cc4a18
AS
29232012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2924
2925 [BZ #11837]
2926 * iconvdata/gb18030.c: Update tables.
2927 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2928 characters specially.
2929 (BODY for TO_LOOP): Add encoding of missing ranges.
2930
febb44a4
TS
29312012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2932
2933 [BZ #13673]
2934 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2935 * sysdeps/mach/hurd/dup3.c: Likewise.
2936 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2937 * sysdeps/powerpc/memmove.c:: Likewise.
2938
0a10fb9e
L
29392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2940
2941 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2942 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2943
df8a552f
L
29442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2945
2946 * elf/elf.h (R_X86_64_RELATIVE64): New.
2947 (R_X86_64_NUM): Updated.
2948 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2949 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2950 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2951 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2952 tst-quad1pie tst-quad2pie
2953 (modules-names): Add tst-quadmod1 tst-quadmod2.
2954 ($(objpfx)tst-quad1): New dependency.
2955 ($(objpfx)tst-quad2): Likewise.
2956 ($(objpfx)tst-quad1pie): Likewise.
2957 ($(objpfx)tst-quad2pie): Likewise.
2958 * sysdeps/x86_64/tst-quad1.c: New file.
2959 * sysdeps/x86_64/tst-quad1pie.c: New file.
2960 * sysdeps/x86_64/tst-quad2.c: Likewise.
2961 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2962 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2963 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2964 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2965 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2966
f34d6f84
ST
29672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2968
f42d41d1
ST
2969 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2970 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2971 * streams/stropts.h (t_scalar_t): Define type.
2972
3c3571fc
ST
2973 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2974 (_PATH_PRESERVE): Set to "/var/lib".
2975 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2976
61f06bd3
ST
2977 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2978 instead of int.
2979
918d4d71
ST
2980 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2981 if __dir_mkfile succeeded.
2982
f34d6f84
ST
2983 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2984 checking for _hurd_dtablesize. Unlock it right after having
2985 finished _hurd_dtable allocation.
2986
10589b4a
TS
29872012-05-10 Thomas Schwinge <thomas@schwinge.name>
2988
674cdbc7
TS
2989 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2990 * sysdeps/mach/hurd/configure: Regenerated.
2991 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2992 special-casing to...
2993 * sysdeps/gnu/configure.in: ... this new file.
2994 * sysdeps/unix/sysv/linux/configure: Regenerated.
2995 * sysdeps/gnu/configure: New generated file.
2996
8e41b99f
TS
2997 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2998 for Linux: use nsec instead of usec, as well as:
2999 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3000 members of type struct timespec.
3001 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3002 New macros.
3003 (struct stat64): Likewise.
3004 (_STATBUF_ST_NSEC): New macro.
3005 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3006
10589b4a
TS
3007 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3008 __strtoul_internal rather than strtoul.
3009
63643c85
PT
30102012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3011
3012 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3013 and reject them.
3014
3faebe6a
ST
30152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3016
3017 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3018 which preserves existing values.
3019 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3020
c6474b07
PT
30212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3022
3023 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3024 TIMEOUT values. Return EINVAL for NFDS values either negative or
3025 greater than FD_SETSIZE.
3026
1043890b
ST
30272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3028
3029 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3030 allocated, call __vm_protect to finish enabling the existing space, and
3031 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3032 allocate the remainder.
3033
37ed8b9b
PT
30342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3035
3036 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3037 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3038
db653660
ST
30392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3040
37ed8b9b
PT
3041 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3042 sysdeps/mach/hurd/readlink.c.
b29d4053 3043
db653660
ST
3044 * posix/tst-sysconf.c (posix_options): Only use
3045 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3046 _POSIX_SYNCHRONIZED_IO when they are defined
3047 * sysdeps/mach/hurd/bits/posix_opt.h:
3048 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3049 (_XOPEN_REALTIME): Undefine macro.
3050 (_XOPEN_REALTIME_THREADS): Undefine macro.
3051 (_XOPEN_SHM): Undefine macro.
3052 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3053 macro to -1.
3054 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3055 macro to -1.
3056 (_POSIX_ASYNC_IO): Undefine macro.
3057 (_POSIX_PRIORITIZED_IO): Undefine macro.
3058 (_POSIX_SPIN_LOCKS): Define macro to -1.
3059
ee16e894
ST
3060 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3061 SA_NODEFER, SA_RESETHAND.
3062 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3063 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3064 F_DUPFD_CLOEXEC.
3065
6103ae3b
TS
30662012-05-10 Thomas Schwinge <thomas@schwinge.name>
3067
3068 * elf/Makefile (pldd-modules): Define unconditionally.
3069
80b4e5f3
TS
30702012-05-10 Thomas Schwinge <thomas@schwinge.name>
3071
3072 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3073
edadcbd6
ST
30742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3075
3076 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3077 Return ENOENT when name is empty.
3078 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3079
80694780
TS
30802012-05-10 Thomas Schwinge <thomas@schwinge.name>
3081
1792c087
TS
3082 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3083
80694780
TS
3084 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3085
6b645f0d
ST
30862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3087
80694780
TS
3088 Fix mlock in all cases except non-readable pages.
3089 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3090 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 3091
6b645f0d
ST
3092 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3093 (__mkdir): When path is `/', just fail with EEXIST.
3094 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3095
e468f8a3
TS
30962012-05-10 Thomas Schwinge <thomas@schwinge.name>
3097
3098 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3099 <sys/uio.h> (for writev).
3100 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3101 and <sys/param.h> (for MIN).
3102
a4186cff
PT
31032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3104
3105 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3106 REQUESTED_TIME. Properly set the remaining time and return EINTR
3107 if interrupted.
3108
510bbf14
TS
31092012-05-10 Thomas Schwinge <thomas@schwinge.name>
3110
3111 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3112 Depend on against $(link-rpcuserlibs).
3113
5d5722e8
ST
31142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3115
a4186cff
PT
3116 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3117 (__libc_stack_end): Do not use attribute_relro.
3118 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3119 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 3120 to libthread-provided value.
a4186cff
PT
3121 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3122 attribute_relro.
5d5722e8 3123
37233df9
TS
31242012-05-10 Thomas Schwinge <thomas@schwinge.name>
3125
be971a2b
TS
3126 [BZ #3748]
3127 * bits/libc-lock.h (__libc_once_get): New macro.
3128 * sysdeps/mach/bits/libc-lock.h: Likewise.
3129 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3130 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3131 instead of using implementation details.
3132
37233df9
TS
3133 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3134 * libio/freopen.c: Likewise.
3135 * libio/freopen64.c: Likewise.
3136 * misc/syslog.c: Likewise.
3137 * nscd/connections.c: Likewise.
3138 * nscd/netgroupcache.c: Likewise.
3139 * sysdeps/posix/getcwd.c: Likewise.
3140
38de94a5
RM
31412012-05-10 Roland McGrath <roland@hack.frob.com>
3142
3143 * math/w_ilogbf.c: Add #include <limits.h>.
3144
67530489
ST
31452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3146
a4186cff 3147 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
3148 path instead of returning without unlocking.
3149
67530489
ST
3150 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3151 immediate-write ioctls.
3152 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3153
5aa3a74a
TS
31542012-05-10 Thomas Schwinge <thomas@schwinge.name>
3155
18bad2ae
TS
3156 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3157 __builtin_frame_address instead of making assumptions about the
3158 location of the return address relative to DATA. Force early load of
3159 the return address.
3160 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3161 __builtin_frame_address.
3162
5aa3a74a
TS
3163 dup3 for GNU Hurd.
3164 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3165 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3166 implement dup3 and do some further code clean-ups.
3167 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3168 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3169
ecd0de9a
ST
31702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3171
cd9fa985
ST
3172 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3173
a4186cff
PT
3174 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3175 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3176 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3177 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3178 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3179 d->port.lock.
802ca5a5 3180
a4186cff
PT
3181 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3182 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3183 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3184
bcf55240
TS
31852012-05-10 Thomas Schwinge <thomas@schwinge.name>
3186
6960eb42
TS
3187 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3188 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3189 definitions.
3190
eb43375f
TS
3191 accept4 for GNU Hurd.
3192 * include/sys/socket.h (__libc_accept4): New prototype.
3193 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3194 to implement __libc_accept4.
3195 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3196 __libc_accept4.
3197 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3198
bcf55240
TS
3199 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3200 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3201 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3202 signal-defines.sym.
3203
6178c55b
ST
32042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3205
a4186cff 3206 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3207
6f080c2f
TS
32082012-05-10 Thomas Schwinge <thomas@schwinge.name>
3209
3210 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3211 assertion on O_CLOEXEC flag.
3212 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3213 * hurd/intern-fd.c: Likewise.
3214 * hurd/port2fd.c: Likewise.
3215
bcfe3a54
ST
32162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3217
3218 [BZ #3906]
3219 * bits/in.h (IPV6_PKTINFO): Define new macro.
3220 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3221
89c9aa49
AZ
32222012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3223
3224 [BZ #13954]
3225 [BZ #13955]
3226 [BZ #13956]
3227 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3228 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3229 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3230 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3231 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3232 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3233 * math/libm-test.inc (logb_test) : Additional logb tests.
3234
021db4be
AJ
32352012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3236 Andreas Jaeger <aj@suse.de>
3237
3238 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3239 * configure: Regenerated.
3240 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3241 * config.make.in (link-obsolete-rpc): New substituted variable.
3242 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3243 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3244 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3245 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3246 so that libc.a contains the symbols.
3247 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3248 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3249 * sunrpc/auth_none.c: Likewise.
3250 * sunrpc/auth_unix.c: Likewise.
3251 * sunrpc/authdes_prot.c: Likewise.
3252 * sunrpc/authuxprot.c: Likewise.
3253 * sunrpc/clnt_gen.c: Likewise.
3254 * sunrpc/clnt_perr.c: Likewise.
3255 * sunrpc/clnt_raw.c: Likewise.
3256 * sunrpc/clnt_simp.c: Likewise.
3257 * sunrpc/clnt_tcp.c: Likewise.
3258 * sunrpc/clnt_udp.c: Likewise.
3259 * sunrpc/clnt_unix.c: Likewise.
3260 * sunrpc/des_crypt.c: Likewise.
3261 * sunrpc/des_soft.c: Likewise.
3262 * sunrpc/get_myaddr.c: Likewise.
3263 * sunrpc/key_call.c: Likewise.
3264 * sunrpc/key_prot.c: Likewise.
3265 * sunrpc/netname.c: Likewise.
3266 * sunrpc/pm_getmaps.c: Likewise.
3267 * sunrpc/pm_getport.c: Likewise.
3268 * sunrpc/pmap_clnt.c: Likewise.
3269 * sunrpc/pmap_prot.c: Likewise.
3270 * sunrpc/pmap_prot2.c: Likewise.
3271 * sunrpc/pmap_rmt.c: Likewise.
3272 * sunrpc/publickey.c: Likewise.
3273 * sunrpc/rpc_cmsg.c: Likewise.
3274 * sunrpc/rpc_common.c: Likewise.
3275 * sunrpc/rpc_dtable.c: Likewise.
3276 * sunrpc/rpc_prot.c: Likewise.
3277 * sunrpc/rpc_thread.c: Likewise.
3278 * sunrpc/rtime.c: Likewise.
3279 * sunrpc/svc.c: Likewise.
3280 * sunrpc/svc_auth.c: Likewise.
3281 * sunrpc/svc_raw.c: Likewise.
3282 * sunrpc/svc_run.c: Likewise.
3283 * sunrpc/svc_tcp.c: Likewise.
3284 * sunrpc/svc_udp.c: Likewise.
3285 * sunrpc/svc_unix.c: Likewise.
3286 * sunrpc/svcauth_des.c: Likewise.
3287 * sunrpc/xcrypt.c: Likewise.
3288 * sunrpc/xdr.c: Likewise.
3289 * sunrpc/xdr_array.c: Likewise.
3290 * sunrpc/xdr_float.c: Likewise.
3291 * sunrpc/xdr_intXX_t.c: Likewise.
3292 * sunrpc/xdr_mem.c: Likewise.
3293 * sunrpc/xdr_rec.c: Likewise.
3294 * sunrpc/xdr_ref.c: Likewise.
3295 * sunrpc/xdr_sizeof.c: Likewise.
3296 * sunrpc/xdr_stdio.c: Likewise.
3297
b5c086a2
RM
32982012-05-10 Roland McGrath <roland@hack.frob.com>
3299
3300 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3301 change. Update copyright years.
3302
6d74dd09
JM
33032012-05-10 Joseph Myers <joseph@codesourcery.com>
3304
3305 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3306
28e72501
MK
33072012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3308 Joseph Myers <joseph@codesourcery.com>
3309 Paul Pluzhnikov <ppluzhnikov@google.com>
3310
3311 [BZ #14012]
3312 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3313 requiring rpcgen.
3314 [cross-compiling] (extra-libs): Likewise.
3315 [cross-compiling] (extra-libs-others): Likewise.
3316 [cross-compiling] (librpcsvc-routines): Likewise.
3317 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3318 [cross-compiling] (omit-deps): Likewise.
3319 (sunrpc-CPPFLAGS): New variable.
3320 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3321 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3322 (cross-rpcgen-objs): New variable.
3323 (extra-objs): Append $(cross-rpcgen-objs).
3324 ($(cross-rpcgen-objs)): New rule.
3325 ($(objpfx)cross-rpcgen): Likewise.
3326 (rpcgen-cmd): Define to use $(built-program-file). Expand
3327 comment.
3328 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3329 ($(objpfx)x%.stmp): Likewise.
3330 * sunrpc/proto.h [IS_IN_build] (_): Define.
3331 [IS_IN_build] (_libc_intl_domainname): Likewise.
3332
c8c59454
L
33332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3334
3335 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3336 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3337 and R_X86_64_TPOFF64.
3338
6f27cd16
JM
33392012-05-10 Joseph Myers <joseph@codesourcery.com>
3340
3341 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3342 sysdeps/unix/sysv/syscalls.list.
3343 (stime): Likewise.
3344 (utime): Likewise.
3345 * sysdeps/unix/sysv/syscalls.list: Remove file.
3346
02467e1c
PE
33472012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3348
3349 [BZ #3440]
3350 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3351 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3352 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3353 (__LC_IDENTIFICATION): Make these macros useful in #if
3354 expressions, as required by C99.
3355
da392631
AS
33562012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3357
3358 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3359 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3360 after this.
3361
8115f29b
L
33622012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3363
3364 * stdlib/longlong.h: Updated from GCC.
3365
bdd74070
AJ
33662012-05-09 Andreas Jaeger <aj@suse.de>
3367
edfe0dbe
AJ
3368 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3369 default is first entry.
3370 (run_mode): Set type.
3371 (main): Remove informal message about syslog.
3372 (options): Fix typo.
3373
bcfe3a54
ST
3374 [BZ #14053]
3375 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3376 to asm.
bcfe3a54
ST
3377 (lrint): Likewise.
3378 (llrintf): Likewise.
3379 (llrint): Likewise.
3380 (rint): Likewise.
3381 (rintf): Likewise.
3382 (nearbyint): Likewise.
3383 (nearbyintf): Likewise.
bdd74070 3384
91d8d69e
AJ
33852012-05-09 Andreas Jaeger <aj@suse.de>
3386 Pedro Alves <palves@redhat.com>
3387
3388 * nscd/nscd.c (run_mode): Use enum.
3389 (main): Cleanup coding style issue.
3390
bb90b80b
AJ
33912012-05-09 Alexandre Oliva <aoliva@redhat.com>
3392 Andreas Jaeger <aj@suse.de>
3393
bcfe3a54
ST
3394 * nscd/nscd.c (go_background): Replaced with...
3395 (run_mode): ... this.
bb90b80b 3396 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3397 (options): Add -F --foreground.
3398 (main): Implement it.
3399 (parse_opt): Parse it.
bb90b80b 3400
1a4b75a1
AJ
34012012-05-09 Andreas Jaeger <aj@suse.de>
3402
3403 [BZ #14083]
3404 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3405 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3406 -Wconversion warning.
3407 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3408 Likewise.
3409
b1cc2472
JM
34102012-05-09 Joseph Myers <joseph@codesourcery.com>
3411
3412 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3413 == 0.
3414 (LC_ALL): Use macro-int-constant.
3415 (LC_COLLATE): Likewise.
3416 (LC_CTYPE): Likewise.
3417 (LC_MESSAGES): Likewise.
3418 (LC_MONETARY): Likewise.
3419 (LC_NUMERIC): Likewise.
3420 (LC_TIME): Likewise.
3421 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3422 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3423 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3424 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3425 Specify type.
3426 [C99-based standards] (float_t): Expect type.
3427 [C99-based standards] (double_t): Expect type.
3428 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3429 type.
3430 [C99-based standards] (HUGE_VALL): Likewise.
3431 [C99-based standards] (INFINITY): Likewise.
3432 [C99-based standards] (NAN): Likewise.
3433 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3434 [C99-based standards] (FP_NAN): Likewise.
3435 [C99-based standards] (FP_NORMAL): Likewise.
3436 [C99-based standards] (FP_SUBNORMAL): Likewise.
3437 [C99-based standards] (FP_ZERO): Likewise.
3438 [C99-based standards] (FP_FAST_FMA): Use
3439 optional-macro-int-constant. Specify type. Require == 1.
3440 [C99-based standards] (FP_FAST_FMAF): Likewise.
3441 [C99-based standards] (FP_FAST_FMAL): Likewise.
3442 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3443 [C99-based standards] (FP_ILOGBNAN): Likewise.
3444 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3445 Specify type.
3446 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3447 [C99-based standards] (math_errhandling): Specify type.
3448 [ISO99 || ISO11] (signgam): Do not allow.
3449 [non-C99-based standards] (copysignf): Do not allow.
3450 [non-C99-based standards] (exp2f): Likewise.
3451 [non-C99-based standards] (log2f): Likewise.
3452 [non-C99-based standards] (modff): Allow.
3453 [non-C99-based standards] (erff): Do not allow.
3454 [non-C99-based standards] (erfcf): Likewise.
3455 [non-C99-based standards] (gammaf): Likewise.
3456 [non-C99-based standards] (hypotf): Likewise.
3457 [non-C99-based standards] (j0f): Likewise.
3458 [non-C99-based standards] (j1f): Likewise.
3459 [non-C99-based standards] (jnf): Likewise.
3460 [non-C99-based standards] (lgammaf): Likewise.
3461 [non-C99-based standards] (tgammaf): Likewise.
3462 [non-C99-based standards] (y0f): Likewise.
3463 [non-C99-based standards] (y1f): Likewise.
3464 [non-C99-based standards] (ynf): Likewise.
3465 [non-C99-based standards] (isnanf): Likewise.
3466 [non-C99-based standards] (acoshf): Likewise.
3467 [non-C99-based standards] (asinhf): Likewise.
3468 [non-C99-based standards] (atanhf): Likewise.
3469 [non-C99-based standards] (cbrtf): Likewise.
3470 [non-C99-based standards] (expm1f): Likewise.
3471 [non-C99-based standards] (ilogbf): Likewise.
3472 [non-C99-based standards] (log1pf): Likewise.
3473 [non-C99-based standards] (logbf): Likewise.
3474 [non-C99-based standards] (nextafterf): Likewise.
3475 [non-C99-based standards] (remainderf): Likewise.
3476 [non-C99-based standards] (rintf): Likewise.
3477 [non-C99-based standards] (scalbf): Likewise.
3478 [non-C99-based standards] (copysignl): Likewise.
3479 [non-C99-based standards] (exp2l): Likewise.
3480 [non-C99-based standards] (log2l): Likewise.
3481 [non-C99-based standards] (modfl): Allow.
3482 [non-C99-based standards] (erfl): Do not allow.
3483 [non-C99-based standards] (erfcl): Likewise.
3484 [non-C99-based standards] (gammal): Likewise.
3485 [non-C99-based standards] (hypotl): Likewise.
3486 [non-C99-based standards] (j0l): Likewise.
3487 [non-C99-based standards] (j1l): Likewise.
3488 [non-C99-based standards] (jnl): Likewise.
3489 [non-C99-based standards] (lgammal): Likewise.
3490 [non-C99-based standards] (tgammal): Likewise.
3491 [non-C99-based standards] (y0l): Likewise.
3492 [non-C99-based standards] (y1l): Likewise.
3493 [non-C99-based standards] (ynl): Likewise.
3494 [non-C99-based standards] (isnanl): Likewise.
3495 [non-C99-based standards] (acoshl): Likewise.
3496 [non-C99-based standards] (asinhl): Likewise.
3497 [non-C99-based standards] (atanhl): Likewise.
3498 [non-C99-based standards] (cbrtl): Likewise.
3499 [non-C99-based standards] (expm1l): Likewise.
3500 [non-C99-based standards] (ilogbl): Likewise.
3501 [non-C99-based standards] (log1pl): Likewise.
3502 [non-C99-based standards] (logbl): Likewise.
3503 [non-C99-based standards] (nextafterl): Likewise.
3504 [non-C99-based standards] (remainderl): Likewise.
3505 [non-C99-based standards] (rintl): Likewise.
3506 [non-C99-based standards] (scalbl): Likewise.
3507 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3508 [non-C99-based standards] (FP_*): Do not allow.
3509 [C99-based standards] (FP_*): Change to
3510 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3511 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3512 allow.
3513 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3514 (SIG_ERR): Likewise.
3515 [X/Open-based standards] (SIG_HOLD): Likewise.
3516 (SIG_IGN): Likewise.
3517 (SIGABRT): Use macro-int-constant. Specify type. Require
3518 positive value.
3519 (SIGFPE): Likewise.
3520 (SIGILL): Likewise.
3521 (SIGINT): Likewise.
3522 (SIGSEGV): Likewise.
3523 (SIGTER): Likewise.
3524 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3525 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3526 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3527 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3528 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3529 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3530 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3531 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3532 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3533 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3534 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3535 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3536 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3537 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3538 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3539 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3540 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3541 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3542 [X/Open-based standards] (SIGTRAP): Likewise.
3543 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3544 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3545 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3546 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3547 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3548 allow.
3549
b9f1922d
IW
35502012-05-08 Ian Wienand <ianw@vmware.com>
3551
3552 [BZ #14080]
3553 * time/tzset.c (__tzset_parse_tz): Update default rules for
3554 daylight time changes in the Energy Policy Act of 2005.
3555
1db86e88
AJ
35562012-05-09 Andreas Jaeger <aj@suse.de>
3557
3558 [BZ #13983]
3559 * elf/ldconfig.c (parse_conf): Change string to make clear that
3560 ldconfig only issued a warning if ld.so.conf does not exist.
3561
dee4a4e3
DM
35622012-05-08 David S. Miller <davem@davemloft.net>
3563
ee0db190
DM
3564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3565 movxtod instead of popping the value on the stack.
3566
dee4a4e3
DM
3567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3568
6a43ec98
CD
35692012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3570
3571 * config.h.in: Add HAVE_ARM_PCS_VFP.
3572
05c2c961
RMG
35732012-05-08 Roland Mc Grath <roland@hack.frob.com>
3574
bcfe3a54
ST
3575 [BZ #13979]
3576 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3577 checking but the checks are disabled for any reason.
05c2c961 3578
4b30f61a
L
35792012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3580
3581 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3582 and ELF64_R_TYPE with ELFW(R_TYPE).
3583
eee2bc67
JM
35842012-05-08 Joseph Myers <joseph@codesourcery.com>
3585
7ea5391a
JM
3586 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3587 (ulimit): Likewise.
3588
eee2bc67
JM
3589 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3590 (settimeofday): Likewise.
3591
abb66a67
MF
35922012-05-08 Mike Frysinger <vapier@gentoo.org>
3593
3594 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3595 a struct th_u2 inside the union, and move tu_block/tu_code into
3596 a new th_u3 union of tu_block/tu_code inside of that. Move
3597 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3598 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3599 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3600 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3601 (th_stuff): Change to th_u1.tu_stuff.
3602 (th_data): Define.
3603 (th_msg): Change to th_u1.th_u2.tu_data.
3604
7f18b530
DM
36052012-05-07 David S. Miller <davem@davemloft.net>
3606
05760585
DM
3607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3608
7f18b530
DM
3609 [BZ #14074]
3610 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3611 (SETUP_PIC_REG): Use it.
3612 (SETUP_PIC_REG_LEAF): Use it.
3613
495fd99f
JM
36142012-05-07 Joseph Myers <joseph@codesourcery.com>
3615
3616 [BZ #13885]
3617 [BZ #13923]
3618 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3619 USE_AS_EXPM1L.
3620 (EXPL_FINITE): Likewise.
3621 (FLDLOG): Likewise.
3622 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3623 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3624 e_expl.S.
3625 * sysdeps/x86_64/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/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3631 e_expl.S.
3632 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3633 test of -max_value argument for long double.
3634 * sysdeps/i386/fpu/libm-test-ulps: Update.
3635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3636
6693d694
DM
36372012-05-06 David S. Miller <davem@davemloft.net>
3638
3639 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3640 quad soft-float symbols whose references which are compiler
3641 generated.
3642 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3643
6c23e11c
JM
36442012-05-06 Joseph Myers <joseph@codesourcery.com>
3645
d8b82cad
JM
3646 [BZ #13884]
3647 [BZ #13914]
3648 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3649 USE_AS_EXP10L.
3650 (EXPL_FINITE): Likewise.
3651 (FLDLOG): Likewise.
3652 (c0): Likewise.
3653 (c1): Likewise.
3654 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3655 Adjust comments for base varying.
3656 (__expl_finite): Change alias to EXPL_FINITE.
3657 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3658 e_expl.S.
3659 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3660 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3661 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3662 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3663 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3664 USE_AS_EXP10L.
3665 (EXPL_FINITE): Likewise.
3666 (FLDLOG): Likewise.
3667 (c0): Likewise.
3668 (c1): Likewise.
3669 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3670 Adjust comments for base varying.
3671 (__expl_finite): Change alias to EXPL_FINITE.
3672 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3673 tests for bugs.
3674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3675
6c23e11c
JM
3676 [BZ #14064]
3677 * math/libm-test.inc (check_float_internal): Correct ulp
3678 calculation for subnormal expected results.
3679
29ba805c
AJ
36802012-05-06 Andreas Jaeger <aj@suse.de>
3681
3682 * Makeconfig (+math-flags): New, set to -frounding-math.
3683 (+cflags): Add +math-flags so that all of glibc gets compiled with
3684 it.
3685
3686 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3687
7b17aeda
JM
36882012-05-05 Joseph Myers <joseph@codesourcery.com>
3689
5779f134
JM
3690 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3691 Disable one test.
3692
41498f4d
JM
3693 [BZ #13787]
3694 [BZ #13922]
3695 [BZ #14036]
3696 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3697 (__ieee754_expl): Allow for and saturate large arguments.
3698 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3699 (u_threshold): Likewise.
3700 (__exp): Call __ieee754_exp before checking for overflow and
3701 underflow.
3702 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3703 (u_threshold): Likewise.
3704 (__expf): Call __ieee754_expf before checking for overflow and
3705 underflow.
3706 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3707 (u_threshold): Likewise.
3708 (__expl): Call __ieee754_expl before checking for overflow and
3709 underflow.
3710 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3711 (__ieee754_expl): Allow for and saturate large arguments.
3712 * math/libm-test.inc (exp_test): Add another test. Do not allow
3713 missing overflow exception on overflow.
3714 (expm1_test): Do not allow missing overflow exception on overflow.
3715
6698b8bf
JM
3716 * sysdeps/i386/fpu/e_expl.c: Move to ...
3717 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3718 rather than using inline asm.
3719 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3720 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3721 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3722
7b17aeda
JM
3723 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3724 (nice): Likewise.
3725 (poll): Likewise.
3726 (signal): Likewise.
3727 (time): Likewise.
3728 (times): Likewise.
3729
f7c85819
JM
37302012-05-04 Joseph Myers <joseph@codesourcery.com>
3731
3732 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3733 sysdeps/unix/common/syscalls.list.
3734 (fchmod): Likewise.
3735 (fchown): Likewise.
3736 (ftruncate): Likewise.
3737 (getrusage): Likewise.
3738 (gettimeofday): Likewise.
3739 (setpgid): Likewise.
3740 (setregid): Likewise.
3741 (setreuid): Likewise.
3742 (sigaction): Likewise.
3743 (truncate): Likewise.
3744 (vhangup): Likewise.
3745 * sysdeps/unix/common/syscalls.list: Remove file.
3746 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3747 * sysdeps/unix/sysv/linux/Implies: Likewise.
3748
336270d0
L
37492012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3750
3751 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3753 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3754 Moved to ...
3755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3756 Here.
3757 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3758 to ...
3759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3760 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3761 to ...
3762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3763 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3764 to ...
3765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3766 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3767 to ...
3768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3769 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3770 to ...
3771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3772 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3773 to ...
3774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3775 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3776 to ...
3777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3778 Here.
3779 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3780 to ...
3781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3782 Here.
3783 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3784 to ...
3785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3786 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3787 Moved to ...
3788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3789 Here.
3790 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3791 to ...
3792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3793
d128e450
JM
37942012-05-04 Joseph Myers <joseph@codesourcery.com>
3795
fa8ee516
JM
3796 * sysdeps/unix/common/bits/dirent.h: Remove file.
3797 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3798
d128e450
JM
3799 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3800 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3801 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3802 * sysdeps/unix/bsd/isatty.c: Likewise.
3803 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3804 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3805 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3806
ff8faaf0 38072012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3808
62881be4 3809 [BZ #13563]
31dc8730
AZ
3810 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3811 long double comparison inaccuracies.
3812 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3814
6fef930c
AS
38152012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3816
3817 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3818 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3819
8f203e6c
JM
38202012-05-04 Joseph Myers <joseph@codesourcery.com>
3821
3822 [BZ #14049]
3823 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3824 nonzero digits before rounding a hex value.
3825 * stdlib/tst-strtod.c (tests): Add another test.
3826
5197d9c2
AK
38272012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3828
3829 * sysdeps/s390/fpu/libm-test-ulps: Update.
3830
f0c1dedf
AJ
38312012-05-03 Andreas Jaeger <aj@suse.de>
3832
3833 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3834 does not get optimized out.
3835 (malloc_opt_barrier): New.
3836
a65ef2ae 38372012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3838 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3839
2b942cb7 3840 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3841 intermediate file deletion.
2b942cb7 3842 (generated): Add .symlist files.
a65ef2ae 3843
54b71e02
JM
38442012-05-03 Joseph Myers <joseph@codesourcery.com>
3845
3846 [BZ #13775]
3847 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3848 Redirect under this condition.
3849 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3850 [__USE_GNU] (__dprintf_chk): Not under this condition.
3851 [__USE_GNU] (__vdprintf_chk): Likewise.
3852 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3853 under this condition.
3854 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3855 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3856 [__USE_XOPEN2K8] (vdprintf): Likewise.
3857 [__USE_GNU] (__dprintf_chk): Not under this condition.
3858 [__USE_GNU] (__vdprintf_chk): Likewise.
3859 [__USE_GNU] (dprintf): Likewise.
3860 [__USE_GNU] (vdprintf): Likewise.
3861
d3dfcc41
RM
38622012-05-03 Roland McGrath <roland@hack.frob.com>
3863
3864 * elf/Makefile (common-generated): Set this instead of generated for
3865 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3866 $(all-built-dso)-derived lists.
3867
7ac30cc5
AJ
38682012-05-03 Andreas Jaeger <aj@suse.de>
3869
0c51e550
AJ
3870 * sysdeps/i386/fpu/libm-test-ulps: Update.
3871
7ac30cc5
AJ
3872 * FAQ: Removed.
3873 * FAQ.in: Likewise.
3874 * scripts/gen-FAQ.pl: Likewise.
3875 * manual/install.texi (Installation): Point to online location of
3876 FAQ.
3877 * Makefile (files-for-dist): Remove FAQ.
3878 (FAQ): Remove.
3879
d4c2917f
AM
38802012-05-02 Allan McRae <allan@archlinux.org>
3881
3882 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3883 (LDFLAGS-reldepmod5.so): Likewise.
3884 (LDFLAGS-reldep6mod1.so): Likewise.
3885 (LDFLAGS-reldep6mod4.so): Likewise.
3886 (LDFLAGS-reldep8mod3.so): Likewise.
3887 (LDFLAGS-unload4mod1.so): Likewise.
3888 (LDFLAGS-unload4mod2.so): Likewise.
3889 (LDFLAGS-tst-initorder): Likewise.
3890 (LDFLAGS-tst-initordera2.so): Likewise.
3891 (LDFLAGS-tst-initordera3.so): Likewise.
3892 (LDFLAGS-tst-initordera4.so): Likewise.
3893 (LDFLAGS-tst-initorderb2.so): Likewise.
3894 (LDFLAGS-noload): Likewise.
3895 (LDFLAGS-next): Likewise.
3896 (LDFLAGS-order2mod1.so): Likewise.
3897 (LDFLAGS-order2mod2.so): Likewise.
3898 (LDFLAGS-tst-initorder2): Likewise.
3899 (LDFLAGS-tst-initorder2a.so): Likewise.
3900 (LDFLAGS-tst-initorder2b.so): Likewise.
3901 (LDFLAGS-tst-initorder2c.so): Likewise.
3902 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3903
d77f993f
DM
39042012-05-02 David S. Miller <davem@davemloft.net>
3905
3906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3907
171a70b4
PP
39082012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3909
3910 [BZ #14055]
3911 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3912
0be196ad
AJ
39132012-05-02 Andreas Jaeger <aj@suse.de>
3914
3915 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3916 since we manipulate rounding mode.
3917 (CPPFLAGS-test-idouble.c): Likewise.
3918 (CPPFLAGS-test-ifloat.c): Likewise.
3919 (CFLAGS-test-ldouble.c): Likewise.
3920 (CFLAGS-test-double.c): Likewise.
3921 (CFLAGS-test-float.c): Likewise.
3922 (CFLAGS-test-misc.c): Likewise.
3923 (CFLAGS-test-test-fenv.c): Likewise.
3924
4f9d04aa
AZ
39252012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3926
2b942cb7
RM
3927 [BZ #2550]
3928 [BZ #2570]
3929 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3930 comparisons to determine direction to adjust input.
4f9d04aa 3931
82a79e7d
RM
39322012-05-01 Roland McGrath <roland@hack.frob.com>
3933
f5a01ca9
RM
3934 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3935 output to the target.
3936
90fe4186
RM
3937 * scripts/localplt.awk: New file.
3938 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3939 (check-localplt-CFLAGS): Variable removed.
3940 ($(all-built-dso:=.jmprel)): New static pattern rule.
3941 (generated): Add those targets.
3942 (localplt-built-dso): New variable.
3943 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3944
3945 * elf/check-localplt.c: File removed.
3946
82397ed6
RM
3947 * scripts/check-execstack.awk: New file.
3948 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3949 (check-execstack-CFLAGS): Variable removed.
3950 ($(objpfx)check-execstack.h): Target removed.
3951 ($(objpfx)execstack-default): New target.
3952 (generated): Add that instead of check-execstack.h.
3953 ($(all-built-dso:=.phdr)): New static pattern rule.
3954 (generated): Add those targets.
3955 * elf/check-execstack.c: File removed.
3956
82a79e7d
RM
3957 * scripts/check-textrel.awk: New file.
3958 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3959 (check-textrel-CFLAGS): Variable removed.
3960 (all-built-dso): Use := to define.o
3961 ($(all-built-dso:=.dyn)): New static pattern rule.
3962 (generated): Add those targets.
3963 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3964 * config.make.in (READELF): New substituted variable.
3965 * elf/check-textrel.c: File removed.
3966
62fde54f 39672012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3968
615605c9
JM
3969 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3970 allow.
3971 * conform/data/ctype.h-data [C99-based standards] (isblank):
3972 Expect function.
3973 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3974 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3975 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3976 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3977 Specify type. Require positive value.
3978 (EILSEQ): Likewise.
3979 (ERANGE): Likewise.
3980 [ISO || POSIX] (EILSEQ): Do not expect.
3981 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3982 Specify type. Require positive value.
3983 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3984 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3985 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3986 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3987 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3988 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3989 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3990 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3991 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3992 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3993 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3994 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3995 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3996 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3997 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3998 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3999 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4000 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4001 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4002 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4003 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4004 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4005 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4006 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4007 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4008 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4009 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4010 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4011 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4012 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4013 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4014 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4015 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4016 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4017 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4018 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4019 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4020 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4021 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4022 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4023 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4024 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4025 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4026 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4027 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4028 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4029 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4030 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4031 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4032 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4033 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4034 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4035 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4036 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4037 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4038 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4039 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4040 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4041 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4042 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4043 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4044 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4045 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4046 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4047 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4048 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4049 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4050 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4051 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4052 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4053 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4054 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4055 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4056 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4057 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4058 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4059 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4060 Require >= 2.
4061 (FLT_ROUNDS): Expect as macro, not constant.
4062 (FLT_MANT_DIG): Use macro-int-constant.
4063 (DBL_MANT_DIG): Likewise.
4064 (LDBL_MANT_DIG): Likewise.
4065 (FLT_DIG): Likewise.
4066 (DBL_DIG): Likewise.
4067 (LDBL_DIG): Likewise.
4068 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4069 (DBL_MIN_EXP): Likewise.
4070 (LDBL_MIN_EXP): Likewise.
4071 (FLT_MAX_EXP): Use macro-int-constant.
4072 (DBL_MAX_EXP): Likewise.
4073 (LDBL_MAX_EXP): Likewise.
4074 (FLT_MAX_10_EXP): Likewise.
4075 (DBL_MAX_10_EXP): Likewise.
4076 (LDBL_MAX_10_EXP): Likewise.
4077 (FLT_MAX): Use macro-constant.
4078 (DBL_MAX): Likewise.
4079 (LDBL_MAX): Likewise.
4080 (FLT_EPSILON): Use macro-constant. Give upper bound.
4081 (DBL_EPSILON): Likewise.
4082 (LDBL_EPSILON): Likewise.
4083 (FLT_MIN): Likewise.
4084 (DBL_MIN): Likewise.
4085 (LDBL_MIN): Likewise.
4086 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4087 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4088 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4089 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4090 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4091 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4092 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4093 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4094 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4095 [ISO11] (FLT_TRUE_MIN): Likewise.
4096 [ISO11] (LDBL_TRUE_MIN): Likewise.
4097 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4098 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4099 (SCHAR_MIN): Use macro-int-constant. Specify type.
4100 (SCHAR_MAX): Likewise.
4101 (UCHAR_MAX): Likewise.
4102 (CHAR_MIN): Likewise.
4103 (CHAR_MAX): Likewise.
4104 (MB_LEN_MAX): Use macro-int-constant.
4105 (SHRT_MIN): Use macro-int-constant. Specify type.
4106 (SHRT_MAX): Likewise.
4107 (USHRT_MAX): Likewise.
4108 (INT_MAX): Likewise.
4109 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4110 bound negative.
4111 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4112 bound with "U".
4113 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4114 bound with "L".
4115 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4116 bound negative. Suffix upper bound with "L".
4117 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4118 bound with "UL".
4119 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4120 Specify type.
4121 [C99-based standards] (LLONG_MAX): Likewise.
4122 [C99-based standards] (ULLONG_MAX): Likewise.
4123 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4124 == 0.
4125 [ISO11] (max_align_t): Require type.
4126 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4127
c9140a62
JM
4128 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4129 from $CFLAGS, without defining away __attribute__ calls.
4130 (checknamespace): Use $CFLAGS_namespace.
4131
9af0bf29
JM
4132 * conform/conformtest.pl (@keywords): Only include C99 keywords
4133 for standards based on C99 or C11.
4134
343222a2
JM
4135 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4136 Disable tests.
4137 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4138 UNIX98]: Likewise.
4139
661f8cf0
JM
4140 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4141 usability of symbols in #if.
4142
ee74b9cb
JM
4143 * conform/conformtest.pl: If macro or constant types start
4144 "promoted:", expect the symbol to be of the following type
4145 promoted by the integer promotions.
62fde54f 4146
aafc49b3
JM
4147 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4148 in one place. Also handle "macro-constant".
4149
fefdf574
JM
4150 * conform/conformtest.pl: Only accept expected macro values with
4151 "==". Parse all "macro" lines in one place.
4152 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4153
f2d922fe
JM
4154 * conform/conformtest.pl: Handle braced types on "constant" lines
4155 instead of handling "typed-constant".
4156 * conform/data/signal.h-data: Use "constant" instead of
4157 "typed-constant".
4158
d22956c9
JM
4159 * conform/conformtest.pl: Handle "optional-" at start of lines in
4160 one place rather than duplicating several cases. Handle each
4161 format of "macro" line with initial "optional-".
4162
028e2e38
JM
4163 * conform/conformtest.pl: Only accept expected constant or
4164 optional-constant values with "==". Parse all "constant" lines in
4165 one place. Parse all "optional-constant" lines in one place.
4166 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4167 * conform/data/fmtmsg.h-data: Likewise.
4168 * conform/data/netinet/in.h-data: Likewise.
4169 * conform/data/tar.h-data: Likewise.
4170 * conform/data/limits.h-data: Use "==" form on "constant" and
4171 "optional-constant" lines.
4172
1b8f2850
JM
4173 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4174 Use -std=c99 for XOPEN2K.
4175 (@knownproblems): Remove.
4176 (newtoken): Don't check %isknown.
4177
a05a144b
JM
4178 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4179 Do not expect macro.
4180 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4181 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4182 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4183 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4184 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4185 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4186 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4187 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4188 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4189 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4190 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4191 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4192 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4193 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4194 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4195 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4196 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4197 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4198 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4199 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4200 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4201 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4202 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4203 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4204 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4205 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4206 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4207 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4208 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4209 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4210 [XPG3] (acosh): Likewise.
4211 [XPG3] (asinh): Likewise.
4212 [XPG3] (atanh): Likewise.
4213 [XPG3] (cbrt): Likewise.
4214 [XPG3] (expm1): Likewise.
4215 [XPG3] (ilogb): Likewise.
4216 [XPG3] (log1p): Likewise.
4217 [XPG3] (logb): Likewise.
4218 [XPG3] (nextafter): Likewise.
4219 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4220 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4221 [XPG3] (remainder): Likewise.
4222 [XPG3] (rint): Likewise.
4223 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4224 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4225 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4226 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4227 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4228 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4229 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4230 [UNIX98 || XOPEN2K] (scalb): Expect.
4231 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4232 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4233 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4234 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4235 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4236 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4237 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4238 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4239 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4240 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4241 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4242 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4243 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4244 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4245 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4246 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4247 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4248 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4249 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4250 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4251 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4252 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4253 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4254 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4255 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4256 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4257 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4258 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4259 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4260 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4261 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4262 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4263 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4264 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4265 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4266 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4267 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4268 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4269 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4270 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4271 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4272 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4273 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4274 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4275 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4276 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4277 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4278 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4279 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4280 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4281 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4282 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4283 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4284 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4285 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4286 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4287 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4288 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4289 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4290 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4291 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4292 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4293 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4294 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4295 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4296 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4297 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4298 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4299 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4300 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4301 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4302 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4303 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4304 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4305 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4306 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4307 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4308 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4309 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4310 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4311 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4312 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4313 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4314 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4315 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4316 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4317 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4318 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4319 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4320 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4321 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4322 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4323 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4324 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4325 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4326 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4327 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4328 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4329 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4330 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4331 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4332 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4333 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4334 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4335 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4336 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4337 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4338 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4339 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4340 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4341 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4342 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4343 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4344 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4345 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4346 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4347 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4348 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4349 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4350 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4351 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4352 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4353 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4354 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4355 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4356 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4357 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4358 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4359 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4360 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4361 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4362 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4363 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4364 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4365 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4366 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4367 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4368
73c5ebe3
JM
4369 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4370 _XOPEN_SOURCE_EXTENDED for XPG4.
4371
39c33b6c
JM
4372 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4373
62fde54f
JM
4374 * Makeconfig (localtime): Remove variable.
4375 (inst_localtime-file): Likewise.
4376
0741d64c
AS
43772012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4378
4379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4380 Update.
4381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4382 Update.
4383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4384 Update.
4385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4386 Update.
4387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4388 Update.
4389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4390 Update.
4391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4392 Update.
4393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4394 Update.
4395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4396 Update.
4397
7cb029ee
JM
43982012-05-01 Joseph Myers <joseph@codesourcery.com>
4399
4400 [BZ #2550]
4401 [BZ #2570]
4402 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4403 comparisons to determine direction to adjust input.
4404 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4405 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4406 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4407 Likewise.
4408 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4409 Likewise.
4410 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4411 Likewise.
4412 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4413 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4414 Likewise.
4415 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4416 Likewise.
4417 * math/libm-test.inc (nexttoward_test): Add more tests.
4418
412bd966
AS
44192012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4420
4421 [BZ #14040]
4422 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4423 in version GLIBC_2.1, not GLIBC_2.0.
4424 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4425 Likewise.
4426
9568c0c2
JM
44272012-04-30 Joseph Myers <joseph@codesourcery.com>
4428
adfbc8ac
JM
4429 [BZ #13942]
4430 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4431 (1 - x) * (1 + x).
4432 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4433 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4434 * math/libm-test.inc (acos_test): Add more tests.
4435 (asin_test): Likewise.
4436 * sysdeps/i386/fpu/libm-test-ulps: Update.
4437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4438
5ba3cc69
JM
4439 [BZ #14034]
4440 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4441 of square root.
4442 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4443 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4444 * math/libm-test.inc (acos_test_tonearest): New function.
4445 (acos_test_towardzero): Likewise.
4446 (acos_test_downward): Likewise.
4447 (acos_test_upward): Likewise.
4448 (asin_test_tonearest): Likewise.
4449 (asin_test_towardzero): Likewise.
4450 (asin_test_downward): Likewise.
4451 (asin_test_upward): Likewise.
4452 (main): Call the new functions.
4453 * sysdeps/i386/fpu/libm-test-ulps: Update.
4454 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4455
9568c0c2
JM
4456 [BZ #13884]
4457 [BZ #13924]
4458 * math/e_exp10.c: Include <float.h>.
4459 (__ieee754_exp10): Handle underflow here rather than multiplying
4460 large negative argument by M_LN10.
4461 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4462 of __ieee754_expf.
4463 * math/e_exp10l.c: Include <float.h>.
4464 (__ieee754_exp10l): Handle underflow here rather than multiplying
4465 large negative argument by M_LN10l.
4466 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4467 spurious overflow exception on underflow.
4468
5ac3ea17
MP
44692012-04-29 Marek Polacek <polacek@redhat.com>
4470
4471 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4472 (__fortify_function): New macro.
4473 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4474 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4475 __extern_always_inline.
4476 * libio/bits/stdio2.h: Likewise.
4477 * libio/bits/stdio.h: Likewise.
4478 * string/string.h: Likewise.
4479 * string/bits/string3.h: Likewise.
4480 * include/stdio.h: Likewise.
4481 * stdlib/bits/stdlib.h: Likewise.
4482 * stdlib/stdlib.h: Likewise.
4483 * rt/bits/mqueue2.h: Likewise.
4484 * rt/mqueue.h: Likewise.
4485 * posix/bits/unistd.h: Likewise.
4486 * posix/unistd.h: Likewise.
4487 * io/bits/poll2.h: Likewise.
4488 * io/bits/fcntl2.h: Likewise.
4489 * io/fcntl.h: Likewise.
4490 * io/sys/poll.h: Likewise.
4491 * misc/bits/syslog.h: Likewise.
4492 * misc/bits/syslog-ldbl.h: Likewise.
4493 * misc/sys/syslog.h: Likewise.
4494 * socket/bits/socket2.h: Likewise.
4495 * socket/sys/socket.h: Likewise.
4496 * debug/tst-chk1.c: Likewise.
4497 * wcsmbs/bits/wchar2.h: Likewise.
4498 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4499 * wcsmbs/wchar.h: Likewise.
4500
ecf0ebfb
AJ
45012012-04-29 Andreas Jaeger <aj@suse.de>
4502
4503 * Makerules (tests): Remove enable-check-abi protection.
4504 (check-abi-warn): Remove.
4505 (check-abi-%): Remove check-abi-warn usage.
4506
4507 * configure.in: Remove check-abi configure option.
4508 * configure: Regenerated.
4509 * config.make.in (enable-check-abi): Remove.
4510
6d5c57fa
AS
45112012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4512
24c5d07e 4513 [BZ #14033]
ded5180a
AS
4514 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4515 double functions to double *_finite functions.
4516
7e0d315d
AS
4517 [BZ #13941]
4518 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4519 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4520 LDBL_MIN_EXP.
4521 * stdio-common/Makefile (tests): Add tst-sprintf3.
4522 * stdio-common/tst-sprintf3.c: New file.
4523
6d5c57fa
AS
4524 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4525 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4526
0749ff8b
JM
45272012-04-28 Joseph Myers <joseph@codesourcery.com>
4528
4529 * conform/conformtest.pl: Remove duplicate typed-constant
4530 handling.
4531
8dbd5d7b
DM
45322012-04-28 David S. Miller <davem@davemloft.net>
4533
4534 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4535 (check-abi-%): Remove AWK script prerequisite and explicit
4536 abilist directory.
4537 (check-abi): Rewrite to just diff the symlist with the abilist.
4538 (config-tls, config-abi-config): Delete, no longer used.
4539 (update-abi-%): Remove AWK script and explicit abilist directory.
4540 (update-abi): Rewrite to simply compare and conditionally copy the
4541 symlist and the sysdep abilist file. Remove update-abi-config
4542 checks.
4543 * abilist/ld.abilist: Remove.
4544 * abilist/libBrokenLocale.abilist: Remove.
4545 * abilist/libanl.abilist: Remove.
4546 * abilist/libcrypt.abilist: Remove.
4547 * abilist/libdl.abilist: Remove.
4548 * abilist/librt.abilist: Remove.
4549 * abilist/libthread_db.abilist: Remove.
4550 * abilist/libutil.abilist: Remove.
4551 * scripts/extract-abilist.awk: Remove.
4552 * scripts/merge-abilist.awk: Remove.
4553 * sysdeps/generic/libcidn.abilist: New file.
4554 * sysdeps/generic/libnss_compat.abilist: New file.
4555 * sysdeps/generic/libnss_db.abilist: New file.
4556 * sysdeps/generic/libnss_dns.abilist: New file.
4557 * sysdeps/generic/libnss_files.abilist: New file.
4558 * sysdeps/generic/libnss_hesiod.abilist: New file.
4559 * sysdeps/generic/libnss_nis.abilist: New file.
4560 * sysdeps/generic/libnss_nisplus.abilist: New file.
4561 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4562 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4563 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4564 file.
4565 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4566 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4567 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4568 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4569 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4570 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4571 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4572 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4573 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4574 file.
4575 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4576 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4577 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4578 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4579 file.
4580 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4581 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4582 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4583 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4584 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4585 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4586 file.
4587 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4588 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4589 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4590 file.
4591 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4593 New file.
4594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4595 New file.
4596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4597 New file.
4598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4599 New file.
4600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4601 New file.
4602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4603 New file.
4604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4605 New file.
4606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4607 New file.
4608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4609 New file.
4610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4611 New file.
4612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4613 New file.
4614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4615 New file.
4616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4617 New file.
4618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4619 file.
4620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4621 New file.
4622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4623 New file.
4624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4625 file.
4626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4627 New file.
4628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4629 New file.
4630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4631 file.
4632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4633 New file.
4634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4635 New file.
4636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4637 New file.
4638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4639 New file.
4640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4641 New file.
4642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4643 New file.
4644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4646 file.
4647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4648 New file.
4649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4650 file.
4651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4652 file.
4653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4654 file.
4655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4656 file.
4657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4658 file.
4659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4660 New file.
4661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4662 file.
4663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4664 file.
4665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4666 New file.
4667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4668 file.
4669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4671 file.
4672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4673 New file.
4674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4675 file.
4676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4677 file.
4678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4679 file.
4680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4681 file.
4682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4683 file.
4684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4685 New file.
4686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4687 file.
4688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4689 file.
4690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4691 New file.
4692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4693 file.
4694 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4695 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4696 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4697 file.
4698 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4699 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4700 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4701 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4702 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4703 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4704 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4705 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4706 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4707 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4710 file.
4711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4712 New file.
4713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4714 file.
4715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4716 file.
4717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4718 file.
4719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4720 file.
4721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4722 file.
4723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4724 New file.
4725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4726 New file.
4727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4728 file.
4729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4730 New file.
4731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4732 file.
4733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4735 file.
4736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4737 New file.
4738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4739 file.
4740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4741 file.
4742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4743 file.
4744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4745 file.
4746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4747 file.
4748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4749 New file.
4750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4751 New file.
4752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4753 file.
4754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4755 New file.
4756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4757 file.
4758
41d73a1b
JM
47592012-04-28 Joseph Myers <joseph@codesourcery.com>
4760
4761 * conform/conformtest.pl: Fix typo in handling typed-constant from
4762 allow-header.
4763
28aeeda4
JM
47642012-04-27 Joseph Myers <joseph@codesourcery.com>
4765
adae8f5e
JM
4766 * README: Cut down references to pre-2.6 Linux kernels and
4767 Linuxthreads. Update lists of configurations in libc and ports
4768 and sort alphabetically. Say "or newer" with Linux kernel version
4769 requirements.
4770
28aeeda4
JM
4771 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4772
a462cb63
RA
47732012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4774
4775 [BZ #887]
4776 * math/libm-test.inc (logb_test_downward): New test to expose
4777 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4778 rounding mode.
4779
6ad3493e
JM
47802012-04-27 Joseph Myers <joseph@codesourcery.com>
4781
4782 [BZ #14027]
4783 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4784 to be done.
4785 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4786 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4787
2ce4f015
JM
47882012-04-26 Joseph Myers <joseph@codesourcery.com>
4789
5aeb141a
JM
4790 * sysdeps/unix/i386/brk.S: Remove file.
4791 * sysdeps/unix/i386/dl-brk.S: Likewise.
4792 * sysdeps/unix/i386/pipe.S: Likewise.
4793 * sysdeps/unix/i386/sigreturn.S: Likewise.
4794 * sysdeps/unix/i386/syscall.S: Likewise.
4795 * sysdeps/unix/i386/vfork.S: Likewise.
4796 * sysdeps/unix/i386/wait.S: Likewise.
4797
7143acae
JM
4798 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4799 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4800
2ce4f015
JM
4801 * configure.in (arm*-none*): Do not allow without
4802 --enable-hacker-mode.
4803 (netbsd*): Remove case setting base_os.
4804 (386bsd*): Likewise.
4805 (freebsd*): Likewise.
4806 (bsdi*): Likewise.
4807 (osf*): Likewise.
4808 (sunos*): Likewise.
4809 (ultrix*): Likewise.
4810 (newsos*): Likewise.
4811 (dynix*): Likewise.
4812 (*bsd*): Likewise.
4813 (sysv*): Likewise.
4814 (isc*): Likewise.
4815 (esix*): Likewise.
4816 (sco*): Likewise.
4817 (minix*): Likewise.
4818 (irix4*): Likewise.
4819 (irix6*): Likewise.
4820 (solaris[2-9]*): Likewise.
4821 (none): Likewise.
4822 * configure: Regenerated.
4823
0ac229c8
AZ
48242012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4825
4826 [BZ #11521]
4827 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4828 overflow or cancellation in calculating denominator.
4829 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4830 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4831 down expression to avoid unexpected rounding in newer GCCs.
4832 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4833
33f244f4
DM
48342012-04-26 David S. Miller <davem@davemloft.net>
4835
4836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4837 long-double compat symbols.
4838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4851
cfa1f3e8
DM
48522012-04-25 David S. Miller <davem@davemloft.net>
4853
4854 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4855 HWCAP_* values only after the memory barriers have been defined.
4856 (atomic_full_barrier): Define.
4857 (atomic_read_barrier): Define.
4858 (atomic_write_barrier): Define.
4859
6e236b92
SP
48602012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4861
4862 * shlib-versions: Add libgcc_s version information.
4863 * sysdeps/generic/libgcc_s.h: Remove.
4864 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4865 libgcc_s.h.
4866 * sysdeps/gnu/unwind-resume.c: Likewise.
4867 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4868
aab39a09
DM
48692012-04-25 David S. Miller <davem@davemloft.net>
4870
4871 * sysdeps/unix/sparc/brk.S: Delete.
4872 * sysdeps/unix/sparc/dl-brk.S: Delete.
4873 * sysdeps/unix/sparc/pipe.S: Delete.
4874 * sysdeps/unix/sparc/sysdep.S: Delete.
4875 * sysdeps/unix/sparc/sysdep.h: Delete.
4876 * sysdeps/unix/sparc/vfork.S: Delete.
4877 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4878 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4879 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4880 ret_ERRVAL, r0, r1, MOVE): Define.
4881 (JUMPTARGET): Remove.
4882 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4883 sysdeps/unix/sparc/sysdep.h
4884 (ENTRY, END): Remove.
4885 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4886
a3cc4f48
JM
48872012-04-25 Joseph Myers <joseph@codesourcery.com>
4888
2ed8cda2
JM
4889 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4890 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4891 -DIS_IN_build.
4892
35d76d59
JM
4893 * timezone/README: Update upstream location and email address for
4894 tzcode and tzdata.
4895 * timezone/zdump.c: Update from tzcode 2012b.
4896 * timezone/zic.c: Likewise.
4897
a3cc4f48
JM
4898 * configure.in (libc_cv_as_needed): Remove test.
4899 * configure: Regenerated.
4900 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4901 conditional definition.
4902 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4903 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4904 * config.make.in (have-as-needed): Remove variable.
4905
ceab42c3
SP
49062012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4907 Paul Pluzhnikov <ppluzhnikov@google.com>
4908
4909 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4910 strings correctly.
4911
3ce2865f
CLT
49122012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4913
4914 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4915 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4916 * sysdeps/sh/strlen.S: Likewise.
4917
f37e0d68
JM
49182012-04-24 Joseph Myers <joseph@codesourcery.com>
4919
ae186e9a
JM
4920 * sysdeps/unix/fork.S: Remove file.
4921 * sysdeps/unix/i386/fork.S: Likewise.
4922 * sysdeps/unix/sparc/fork.S: Likewise.
4923
b96914af
JM
4924 * sysdeps/unix/system.c: Remove file.
4925 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4926
f37e0d68
JM
4927 * sysdeps/unix/getegid.S: Remove file.
4928 * sysdeps/unix/geteuid.S: Likewise.
4929
87ef29ca
RM
49302012-04-24 Roland McGrath <roland@hack.frob.com>
4931
83bcd236
RM
4932 * scripts/check-localplt.awk: New file.
4933 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4934 of diff.
4935 * scripts/data/localplt-generic.data: Add a comment.
4936
87ef29ca
RM
4937 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4938 NODE when __dir_mkfile failed.
4939 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4940 Reported by Ludovic Courtès <ludo@gnu.org>.
4941
e5a6e567
AJ
49422012-04-24 Andreas Jaeger <aj@suse.de>
4943
4944 * Makerules (common-clean): Also remove gen-as-const-headers
4945 files.
4946
c1820385
JM
49472012-04-24 Joseph Myers <joseph@codesourcery.com>
4948
4949 * Makerules (native-compile): Do not change working directory for
4950 build. Use $(OUTPUT_OPTION) in command.
4951 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4952
94e02fc4
AZ
49532012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4954
4955 [BZ #13886]
4956 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4957 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4958 * math/libm-test.inc (floor_test): Add more tests.
4959 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4960
3a533ca3
JM
49612012-04-24 Joseph Myers <joseph@codesourcery.com>
4962
940ab4b3
JM
4963 * sysdeps/unix/getdents.c: Remove file.
4964 * sysdeps/unix/sysv/getdents.c: Likewise.
4965 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4966
90e037bd
JM
4967 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4968 sysdeps/unix/mman/syscalls.list.
4969 (mmap): Likewise.
4970 (mprotect): Likewise.
4971 (msync): Likewise.
4972 (munmap): Likewise.
4973 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4974 * sysdeps/unix/mman/syscalls.list: Remove.
4975 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4976
3a533ca3
JM
4977 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4978 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4979 * configure: Regenerated.
4980 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4981 $(libgcc_s_suffix).
4982 * config.make.in (libgcc_s_suffix): Remove variable.
4983
1ad743de
JM
49842012-04-23 Joseph Myers <joseph@codesourcery.com>
4985
4ad451e2
JM
4986 * sysdeps/unix/sysv/gethostname.c: Move to ...
4987 * sysdeps/posix/gethostname.c: ... here.
4988
5e37ce39
JM
4989 * sysdeps/unix/execve.S: Remove file.
4990
1ad743de
JM
4991 * sysdeps/unix/_exit.S: Remove file.
4992
4e681b5b
AJ
49932012-04-23 Andreas Jaeger <aj@suse.de>
4994
4995 [BZ #13739]
4996 * manual/Makefile: Remove make dist support, there's no
4997 need for a stand-alone documentation tar ball.
4998 (TEXI2DVI): Define always, it's not in Makeconfig.
4999 (dist): Removed.
5000 (tar-it): Removed.
5001 (edition): Removed.
5002 (glibc-doc-$(edition).tar): Removed
5003 (%.Z): Removed.
5004 (%.gz): Removed.
5005 (%.uu): Removed.
5006 (ETAGS): Remove, it's in Makeconfig.
5007 (move-if-change): Remove, it's in Makeconfig.
5008
c0baea34
PE
50092013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5010
5011 [BZ #13970]
5012 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5013 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5014 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5015 (strtod_l, strtof_l, strtold_l): Remove __wur.
5016 It is not necessarily an error to ignore strtol's return value.
5017 One can reliably look at the stored endptr to decide whether
5018 the number had valid syntax.
5019
7c0616fa
AJ
50202012-04-21 Andreas Jaeger <aj@suse.de>
5021
803cb6b7 5022 [BZ #13739]
7c0616fa
AJ
5023 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5024
b0fe253f
JM
50252012-04-21 Joseph Myers <joseph@codesourcery.com>
5026
5027 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5028 * sysdeps/unix/sysv/Versions: Remove file.
5029
8280f22d
MT
50302012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5031
5032 [BZ #13927]
5033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5034
75ce411f 50352012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
5036
5037 [BZ #7064]
5038 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5039 version from __vm86.
5040
097d59fa
JM
50412012-04-20 Joseph Myers <joseph@codesourcery.com>
5042
a90f3bcb
JM
5043 * sysdeps/unix/common/lxstat.c: Remove file.
5044 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5045
edc7ea78
JM
5046 * sysdeps/unix/sysv/Makefile: Remove file.
5047
cb78c221
JM
5048 * sysdeps/unix/sysv/direct.h: Remove file.
5049
efa6a45f
JM
5050 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5051 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5052 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5053 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5054 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5055 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5056 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5057
9c9f2d0c
JM
5058 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5059
4541c83b
JM
5060 * sysdeps/unix/xmknod.c: Remove file.
5061 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5062
f5d153a0
JM
5063 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5064
aa746595
JM
5065 * sysdeps/unix/sysv/i386/time.S: Remove file.
5066
cce5905e
JM
5067 * sysdeps/unix/fxstat.c: Remove file.
5068 * sysdeps/unix/xstat.c: Likewise.
5069 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5070
37fa3841
JM
5071 * sysdeps/unix/sysv/sigaction.c: Remove file.
5072
ff1962a3
JM
5073 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5074 (sysdep_headers): Remove variable.
5075 [termio.h not in sysdep_headers] (generated): Likewise.
5076 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5077 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5078 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5079 * sysdeps/unix/sysv/tcflow.c: Likewise.
5080 * sysdeps/unix/sysv/tcflush.c: Likewise.
5081 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5082 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5083 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5084 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5085 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5086
e7740d31
JM
5087 * sysdeps/unix/siglist.c: Remove file.
5088
ee06f18b
JM
5089 * sysdeps/unix/getppid.S: Remove file.
5090
097d59fa
JM
5091 * sysdeps/unix/mkdir.c: Remove file.
5092 * sysdeps/unix/rmdir.c: Likewise.
5093
ff3d51ec
AS
50942012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5095
5096 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5097 ERR_MAX value.
5098 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5099 errlist-compat value.
5100
50f81fd7
DM
51012012-04-18 David S. Miller <davem@davemloft.net>
5102
5103 * sysdeps/generic/memcopy.h (reg_char): Delete.
5104 * debug/strcat_chk.c: Use char, not reg_char.
5105 * debug/strcpy_chk.c: Likewise.
5106 * debug/strncat_chk.c: Likewise.
5107 * debug/strncpy_chk.c: Likewise.
5108 * string/memchr.c: Likewise.
5109 * string/memrchr.c: Likewise.
5110 * string/rawmemchr.c: Likewise.
5111 * string/strcat.c: Likewise.
5112 * string/strchr.c: Likewise.
5113 * string/strchrnul.c: Likewise.
5114 * string/strcmp.c: Likewise.
5115 * string/strcpy.c: Likewise.
5116 * string/strncat.c: Likewise.
5117 * string/strncmp.c: Likewise.
5118 * string/strncpy.c: Likewise.
5119
8ff41c46
WS
51202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5121
5122 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5123 __builtin_memcopy is called when src and dest ranges are known to not
5124 overlap.
5125
6b652f46
WS
51262012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5127
5128 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5129 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5130 fwd_align_merge macro call.
5131 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5132 bwd_align_merge macro call.
5133 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5134
b282631e
WS
51352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5136
5137 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5138 bwd_align_merge macros.
5139 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5140 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5141 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5142
95aa737c
DM
51432012-04-18 David S. Miller <davem@davemloft.net>
5144
5145 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5146
7a99a614
AJ
51472012-04-18 Andreas Jaeger <aj@suse.de>
5148
5149 [BZ# 6794]
5150 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5151 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5152 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5153
5154 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5155 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5156 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5157
5158 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5159 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5160 Adjust for changed ldbl-128 files.
5161
5162 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5163 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5164 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5165
e5270c23
DM
51662012-04-17 David S. Miller <davem@davemloft.net>
5167
5168 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5169
fb5e92c9
AS
51702012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5171
5172 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5173 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5174 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5175 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5176 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5177 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5178
76da7265
AZ
51792012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5180
5181 [BZ #6794]
5182 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5183 * math/libm-test.inc: Add ilogb errno and exception tests.
5184 * math/w_ilogb.c: New file: ilogb wrapper.
5185 * math/w_ilogbf.c: New file: ilogbf wrapper.
5186 * math/w_ilogbl.c: New file: ilogbl wrapper.
5187 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5188 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5189 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5190 exception being thrown with 0.0 as argument.
5191 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5192 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5193 exception being thrown with 0.0 as argument.
5194 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5195 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5196 exception being thrown with 0.0 as argument.
5197 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5198 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5199 exception being thrown with 0.0 as argument.
5200 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5201 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5202 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5203 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5204 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5205 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5206 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5207 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5208 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5209
0396e69d
PB
52102012-04-17 Petr Baudis <pasky@ucw.cz>
5211
5212 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5213 with altivec.
5214
750b5926
MP
52152012-04-16 Marek Polacek <polacek@redhat.com>
5216
5217 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5218
751728a1
MP
52192012-04-16 Marek Polacek <polacek@redhat.com>
5220
5221 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5222 operands of fdivp instruction.
5223
34a27407
L
52242012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5225
5226 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5227 * elf/tst-auditmod3b.c: Likewise.
5228 * elf/tst-auditmod4b.c: Likewise.
5229 * elf/tst-auditmod5b.c: Likewise.
5230 * elf/tst-auditmod6b.c: Likewise.
5231 * elf/tst-auditmod6c.c: Likewise.
5232 * elf/tst-auditmod7b.c: Likewise.
5233 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5234 * sysdeps/x86_64/preconfigure.in: Likewise.
5235 * sysdeps/x86_64/preconfigure: Regenerated.
5236
7e73e17d
L
52372012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5238
5239 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5240 __ILP32__.
5241
c7a6ab72
AB
52422012-04-13 Antoine Balestrat <merkil33@gmail.com>
5243
5244 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5245 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5246
a9e8e0e0
CL
52472012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5248
5249 [BZ #13973]
5250 * locale/iso-639.def: Fix gl language name. Spotted by
5251 Yaron Shahrabani.
5252
ec98af7d
RM
52532012-04-12 Roland McGrath <roland@hack.frob.com>
5254
5255 [BZ #2074]
5256 * libio/libio.h (__io_write_fn): Update comment.
5257
247c3ede
PB
52582012-04-12 Petr Baudis <pasky@ucw.cz>
5259
5260 [BZ #2074]
5261 * stdio.texi (Hook Functions): The user provided writer function
5262 is not allowed to return -1.
5263
55939d6d
DM
52642012-04-11 David S. Miller <davem@davemloft.net>
5265
5266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5267
90020f5a
MF
52682012-04-11 Mike Frysinger <vapier@gentoo.org>
5269
5270 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5271 Add a leading slash to rtkaio.
5272
288f9098
JM
52732012-04-11 Jim Meyering <meyering@redhat.com>
5274
90020f5a
MF
5275 [BZ #11959]
5276 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5277 It is not necessarily an error to ignore fwrite's return
5278 value. One can reliably use ferror to test for errors after
5279 the fact.
288f9098 5280
4be2b570
L
52812012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5282
5283 * bits/types.h (__snseconds_t): New type.
5284 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5285
5286 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5287 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5288 (__SNSECONDS_T_TYPE): Likewise.
5289 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5290 (__SNSECONDS_T_TYPE): Likewise.
5291 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5292 (__SNSECONDS_T_TYPE): Likewise.
5293
288f9098 52942012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5295
5296 [BZ #2636]
5297 * manual/time.texi (Processor Time): Return type of times is
5298 elapsed real time since an arbitrary point in the past.
5299 (CPU Time): Move CLK_TCK from here...
5300 (Processor Time): ...to here. Correct description.
5301 * manual/conf.texi (Constants for Sysconf): Correct description of
5302 _SC_CLK_TCK.
5303
d7dd4413
DM
53042012-04-10 David S. Miller <davem@davemloft.net>
5305
5306 [BZ #13967]
5307 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5308 where the is a gap between DT_REL(A) and DT_JMPREL.
5309
b46068fc
L
53102012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5311
5312 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5313 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5314 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5315
73d65cc3
SP
53162012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5317
5318 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5319 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5320 (dl_main): Handle --inhibit-cache.
5321 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5322 _dl_inhibit_cache.
5323 * elf/dl-load.c (_dl_map_object): Use it.
5324 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5325
bcc8d661
JM
53262012-04-09 Joseph Myers <joseph@codesourcery.com>
5327
8f9a2fae
JM
5328 [BZ #13872]
5329 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5330 (__ieee754_powl): Saturate large exponents rather than testing for
5331 overflow of y*log2(x).
5332 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5333 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5334 exceptions.
5335
bcc8d661
JM
5336 [BZ #11521]
5337 * math/s_ctan.c: Include <float.h>.
5338 (__ctan): Avoid internal overflow or cancellation in calculating
5339 denominator.
5340 * math/s_ctanf.c: Likewise.
5341 * math/s_ctanl.c: Likewise.
5342 * math/s_ctanh.c: Likewise.
5343 * math/s_ctanhf.c: Likewise.
5344 * math/s_ctanhl.c: Likewise.
5345 * math/libm-test.inc (ctan_test): Add more tests.
5346 (ctanh_test): Likewise.
5347 * sysdeps/i386/fpu/libm-test-ulps: Update.
5348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5349
823fbbb4
AJ
53502012-04-09 Andreas Jaeger <aj@suse.de>
5351
03879793
AJ
5352 [BZ #6894]
5353 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5354 is an optional BSD extension.
5355
823fbbb4
AJ
5356 [BZ #10254]
5357 * manual/stdio.texi (Opening Streams): Document additional fopen
5358 parameters.
5359
8de131cb
RM
53602012-04-09 Roland McGrath <roland@hack.frob.com>
5361
5362 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5363 %eax without telling the compiler.
5364
c0ed9d7d
CD
53652012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5366
5367 [BZ # 13963]
5368 * manual/install.texi: Use sourceware.org.
5369
c483f6b4
JM
53702012-04-09 Joseph Myers <joseph@codesourcery.com>
5371
d7dd9453
JM
5372 [BZ #13873]
5373 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5374 (__ieee754_pow): Generate overflow and underflow using huge*huge
5375 and tiny*tiny rather than just returning constant infinity or zero
5376 for large exponents.
5377 * math/libm-test.inc (pow_test): Require overflow exceptions for
5378 applicable cases of large exponents.
5379
c483f6b4
JM
5380 [BZ #706]
5381 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5382 (__ieee754_pow): Use iterative multiplication algorithm only for
5383 integer exponents with absolute value below 1024. Check for odd
5384 integer exponents when using algorithm for real exponents.
5385 * math/libm-test.inc (pow_test): Add more tests.
5386 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5387
d2de7579
JM
53882012-04-08 Joseph Myers <joseph@codesourcery.com>
5389
5390 [BZ #13705]
5391 * math/libm-test.inc (exp_test): Do not allow overflow exception
5392 on underflow test.
5393
f77f1232
AJ
53942012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5395
5396 [BZ #13705]
5397 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5398 instead of __kernel_standard_f.
5399
3884932b
MF
54002012-04-08 Mike Frysinger <vapier@gentoo.org>
5401
5402 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5403 * sysdeps/x86_64/memset_chk.S: Likewise.
5404
54472e9c
AJ
54052012-04-08 Andreas Jaeger <aj@suse.de>
5406
6ab0fbfc
AJ
5407 [BZ #10153]
5408 * manual/startup.texi (Environment Access): Describe return value
5409 for putenv and setenv.
5410
61efba8c
AJ
5411 [BZ #6895]
5412 * manual/filesys.texi (Directory Entries): Add description for
5413 DT_LNK.
5414
95c3f29a
AJ
5415 [BZ #6890]
5416 * manual/filesys.texi (Directory Entries): Clarify that it's file
5417 system not operating system in the description of DT_UNKNOWN.
5418
54472e9c
AJ
5419 [BZ #6578]
5420 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5421
624254b1
SC
54222012-04-08 Stephen Compall <s11@member.fsf.org>
5423
5424 [BZ #6649]
5425 * manual/llio.texi (Opening and Closing Files): Add cross
5426 reference to explain mode argument.
5427
1e4920e0
MF
54282012-04-07 Mike Frysinger <vapier@gentoo.org>
5429
5430 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5431 * sysdeps/x86_64/memset_chk.S: Likewise.
5432
5ed848f3
DM
54332012-04-07 David S. Miller <davem@davemloft.net>
5434
5435 * elf/elf.h (R_SPARC_WDISP10): Define.
5436 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5437 R_SPARC_SIZE32.
5438 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5439 R_SPARC_SIZE64 and R_SPARC_H34.
5440
96154cd8
CD
54412012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5442
5443 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5444 conditions and remove no longer applicable assertion.
5445
9904dc47
L
54462012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5447
5448 * bits/byteswap.h: Include <features.h>.
5449 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5450 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5451
f8887d0a
L
54522012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5453
5454 * bits/byteswap.h (__bswap_16): Removed.
5455 Include <bits/byteswap-16.h> to get __bswap_16.
5456 * sysdeps/i386/bits/byteswap.h: Likewise.
5457 * sysdeps/s390/bits/byteswap.h: Likewise.
5458 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5459 * bits/byteswap-16.h: New file.
5460 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5461 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5462 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5463 * string/Makefile (headers): Add bits/byteswap-16.h.
5464
62470f60
PP
54652012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5466
5467 [BZ #13895]
5468 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5469 extra indirection.
5470 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5471 * nss/tst-nss-static.c: New.
5472
4dad7bab
RM
54732012-04-06 Robert Millan <rmh@gnu.org>
5474
5475 [BZ #6486]
5476 * manual/llio.texi (File Position Primitive): lseek
5477 refers to WHENCE when it really means OFFSET.
5478
e9142a17
AJ
54792012-04-06 Andreas Jaeger <aj@suse.de>
5480
2c040eff
AJ
5481 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5482 strncmp declarations.
5483
e9142a17
AJ
5484 * abilist/libc.abilist: Add __poll and __ppoll.
5485
ff9f1c5f
DM
54862012-04-05 David S. Miller <davem@davemloft.net>
5487
dcd2ae90
DM
5488 * scripts/check-local-headers.sh: Accept a host triplet in the
5489 path matched by the exclude regexp.
5490
993eb054
DM
5491 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5492 definition.
5493 * sysdeps/powerpc/powerpc32/dl-machine.h
5494 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5495 * sysdeps/s390/s390-32/dl-machine.h
5496 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5497 * sysdeps/sparc/sparc32/dl-machine.h
5498 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5499 * sysdeps/sparc/sparc64/dl-machine.h
5500 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5501
ff9f1c5f
DM
5502 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5503 lazy binding.
48e2e132 5504 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5505 undefined symbol errors.
5506
48e2e132 5507 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5508 DT_NEEDED entries.
5509
e80d6f94
MM
55102012-04-05 Michael Matz <matz@suse.de>
5511
5512 [BZ #13592]
5513 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5514
349fa79f
AJ
55152012-04-05 Andreas Jaeger <aj@suse.de>
5516
5517 [BZ #13908]
5518 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5519 comment.
5520
f402708f
KK
55212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5522
5523 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5524 which ROUND is no valid rounding mode.
5525
2ecccfc9
KK
55262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5527
5528 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5529 read again.
5530 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5531
8a53f50f
KK
55322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5533
5534 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5535 an exception using FPU order intentionally.
5536
55372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5538
5539 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5540 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5541 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5542 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5543
d653abb7
SJ
55442012-04-05 Simon Josefsson <simon@josefsson.org>
5545
5546 [BZ #12340]
5547 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5548 EINVAL when BUFLEN is too smal.
5549
c3b1bf7d
TS
55502012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5551
5552 [BZ #13553]
5553 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5554 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5555
b1aa60f3
AJ
55562012-04-03 Andreas Jaeger <aj@suse.de>
5557
c3b1bf7d 5558 [BZ #13938]
67f60a26
AJ
5559 * manual/setjmp.texi (System V contexts): Fix sentence.
5560
b1aa60f3
AJ
5561 [BZ #13926]
5562 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5563 New macro for this case.
5564 [!__GNUC__] (__bswap_64): New inline function for this case.
5565 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5566 * bits/byteswap.h: Likewise.
5567 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5568 ull, guard with __GLIBC_HAVE_LONG_LONG.
5569
5570 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5571 __GLIBC_HAVE_LONG_LONG.
5572
5573 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5574 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5575
39c59c35
TMQMF
55762012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5577
5578 [BZ #13691]
5579 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5580 inptr and inend, rather than using last_ch.
5581
135ffda8
DM
55822012-04-02 David S. Miller <davem@davemloft.net>
5583
5584 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5585 * stdio-common/printf-parse.h (read_int): Change return type to
5586 'int', return -1 on INT_MAX overflow.
5587 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5588 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5589 overflows INT_MAX. Check for overflow of in-format-string precision
5590 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5591 SIZE_MAX not INT_MAX for integer overflow test.
5592 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5593 skip the construct in the format string but do not record anything.
5594 * stdio-common/bug22.c: Adjust to test both width/prevision
5595 INT_MAX overflow as well as total length INT_MAX overflow. Check
5596 explicitly for proper errno values.
5597
228c019e
TS
55982012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5599
302cadd3
TS
5600 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5601 CHAR_MAX.
5602 * string/test-strcmp.c [! WIDE]: Likewise.
5603 * time/tst-mktime2.c: Likewise for INT_MAX.
5604 * string/test-string.h: #include <sys/param.h> for MIN.
5605
228c019e
TS
5606 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5607 * sysdeps/i386/init-first.c (init): Likewise.
5608 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5609 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5610 * sysdeps/sh/init-first.c (init): Likewise.
5611
cfa633f5
UD
56122012-04-01 Ulrich Drepper <drepper@gmail.com>
5613
5614 * po/ru.po: Update from translation team.
d1635ef8 5615 * po/vi.po: Likewise.
cfa633f5 5616
6cd0a5ea
SP
56172012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5618
5619 * resolv/nss_dns/dns-host.c: Merge copyright years.
5620
4b43400f
LD
56212012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5622
5623 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5624 Optimize memcpy with prefetch if
5625 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5626 src, dst pointers have unequal 16 byte alignments.
5627
48c41d04
SP
56282012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5629
5630 [BZ #13928]
5631 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5632 from a CNAME entry and return the minimum ttl for the query.
5633 (gaih_getanswer_slice): Likewise.
5634
b8dc394d
JL
56352012-03-30 Jeff Law <law@redhat.com>
5636
5637 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5638 due to long keys.
5639 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5640 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5641
2f5a5ed0
JL
5642 * resolv/nss_dns/dns-host.c: Update copyright year.
5643
1d39e359
UD
56442012-03-30 Ulrich Drepper <drepper@gmail.com>
5645
c030f70c 5646 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5647 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5648
1d39e359
UD
5649 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5650 comments for sendmmsg.
5651
56522012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5653
5654 [BZ #13691]
5655 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5656 with only 1 character between 0x0041 and 0x01b0.
5657 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5658 * wcsmbs/tst-mbsnrtowcs.c: New file.
5659
20fde227
DM
56602012-03-29 David S. Miller <davem@davemloft.net>
5661
5662 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5663 small copies by hand.
5664
984a4237
JL
56652012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5666
5667 [BZ #13761]
5668 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5669 _nss_compat_initgroups_dyn): Fall back to malloc/free
5670 for large group memberships.
5671
18c9d62b
DM
56722012-03-28 David S. Miller <davem@davemloft.net>
5673
88d85d4f
DM
5674 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5675 that branches into memcpy.
5676 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5677 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5678 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5679 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5680 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5681 bits.
5682 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5683 implementation too.
5684 * sysdeps/sparc/mempcpy.S: New file.
5685
e5aa83e1
DM
5686 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5687 the IFUNC routine in the libc case.
5688 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5689
88570753
DM
5690 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5691 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5692 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5693 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5694 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5695 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5696 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5697 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5698
249d7567
DM
5699 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5700 loop to 256 bytes instead of 64 bytes and fix test signedness.
5701
18c9d62b
DM
5702 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5703 * sysdeps/sparc/sparc32/Makefile: rather than here...
5704 * sysdeps/sparc/sparc64/Makefile: and here.
5705
05f3d1f6
UD
57062012-03-28 Ulrich Drepper <drepper@gmail.com>
5707
5708 * malloc/mallocbug.c: Avoid warnings about unused variables.
5709
86ae07a8
JL
57102012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5711
5712 [BZ #13760]
5713 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5714 in the right place. Discard and retry query if response is
5715 larger than input buffer size.
5716
41bf21a1
JM
57172012-03-28 Joseph Myers <joseph@codesourcery.com>
5718
d6270972
JM
5719 [BZ #369]
5720 [BZ #2678]
5721 [BZ #3866]
5722 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5723 x for large integer exponent.
5724 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5725 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5726 sign of result as needed afterwards.
5727 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5728 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5729 result for underflowing pow the same as for overflow.
5730 (__kernel_standard_l): Handle powl overflow and underflow here
5731 rather than calling __kernel_standard.
5732 * math/libm-test.inc (pow_test): Add more tests.
5733
414fca03 5734 [BZ #3868]
41bf21a1
JM
5735 [BZ #13879]
5736 [BZ #13910]
5737 [BZ #13911]
5738 [BZ #13912]
5739 [BZ #13913]
5740 [BZ #13915]
5741 [BZ #13916]
5742 [BZ #13917]
5743 [BZ #13918]
5744 [BZ #13919]
5745 [BZ #13920]
5746 [BZ #13921]
5747 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5748 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5749 (__kernel_standard_l): New function.
5750 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5751 __kernel_standard.
5752 * math/w_acosl.c (__acosl): Likewise.
5753 * math/w_asinl.c (__asinl): Likewise.
5754 * math/w_atan2l.c (__atan2l): Likewise.
5755 * math/w_atanhl.c (__atanhl): Likewise.
5756 * math/w_coshl.c (__coshl): Likewise.
5757 * math/w_exp10l.c (__exp10l): Likewise.
5758 * math/w_exp2l.c (__exp2l): Likewise.
5759 * math/w_fmodl.c (__fmodl): Likewise.
5760 * math/w_hypotl.c (__hypotl): Likewise.
5761 * math/w_j0l.c (__j0l, __y0l): Likewise.
5762 * math/w_j1l.c (__j1l, __y1l): Likewise.
5763 * math/w_jnl.c (__jnl, __ynl): Likewise.
5764 * math/w_lgammal.c (__lgammal): Likewise.
5765 * math/w_log10l.c (__log10l): Likewise.
5766 * math/w_log2l.c (__log2l): Likewise.
5767 * math/w_logl.c (__logl): Likewise.
5768 * math/w_powl.c (__powl): Likewise.
5769 * math/w_remainderl.c (__remainderl): Likewise.
5770 * math/w_scalbl.c (sysv_scalbl): Likewise.
5771 * math/w_sinhl.c (__sinhl): Likewise.
5772 * math/w_sqrtl.c (__sqrtl): Likewise.
5773 * math/w_tgammal.c (__tgammal): Likewise.
5774 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5775 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5776 * math/libm-test.inc (acos_test): Add more tests.
5777 (acosh_test): Likewise.
5778 (asin_test): Likewise.
5779 (atanh_test): Likewise.
5780 (exp_test): Likewise.
5781 (exp10_test): Likewise.
5782 (exp2_test): Likewise.
5783 (expm1_test): Likewise.
5784 (lgamma_test): Likewise.
5785 (log_test): Likewise.
5786 (log10_test): Likewise.
5787 (log1p_test): Likewise.
5788 (log2_test): Likewise.
5789 (pow_test): Do not allow some spurious overflow exceptions.
5790 (sqrt_test): Add more tests.
5791 (tgamma_test): Likewise.
5792 (y0_test): Likewise.
5793 (y1_test): Likewise.
5794 (yn_test): Likewise.
5795
dd62fda6
AB
57962012-03-27 Anton Blanchard <anton@samba.org>
5797
5798 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5799 MAP_HUGETLB.
5800 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5801 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5802 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5803
1e3cdfda
AJ
58042012-03-27 David S. Miller <davem@davemloft.net>
5805
b855ab85
DM
5806 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5807
1e3cdfda
AJ
5808 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5809 have-as-vis3 check.
5810
58112012-03-27 Andreas Jaeger <aj@suse.de>
5812
5813 * sysdeps/x86_64/elf/configure.in: Moved to ...
5814 * sysdeps/x86_64/configure.in: ... here.
5815 * sysdeps/x86_64/elf/start.S: Moved to ...
5816 * sysdeps/x86_64/start.S: ... here.
5817 * sysdeps/x86_64/elf/configure: Delete.
5818
5819 * sysdeps/x86_64/configure.in: Merge contents from
5820 sysdeps/i386/configure.in (without i686 check).
5821
5822 * sysdeps/i386/elf/Versions: Merge into ...
5823 * sysdeps/i386/Versions: ... this.
5824 * sysdeps/i386/elf/Versions: Delete file.
5825 * sysdeps/i386/elf/start.S: Moved to ...
5826 * sysdeps/i386/start.S: ...here.
5827 * sysdeps/i386/elf/configure.in: Merge into...
5828 * sysdeps/i386/configure.in: ...here.
5829 * sysdeps/i386/elf/configure.in: Delete file.
5830 * sysdeps/i386/elf/configure: Delete file.
5831
5832 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5833 * debug/backtracesyms.c: ... here.
5834 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5835 * debug/backtracesymsfd.c: ... here.
5836 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5837 * sysdeps/generic/ifunc-sel.h: ... here.
5838
5839 * sysdeps/unix/i386/start.c: Delete file.
5840 * sysdeps/unix/sparc/start.c: Delete file.
5841 * sysdeps/unix/start.c: Delete file.
5842
5843 * sysdeps/sh/elf/configure.in: Moved to ...
5844 * sysdeps/sh/configure.in: ... here.
5845 * sysdeps/sh/elf/start.S: Moved to ...
5846 * sysdeps/sh/start.S: ... here.
5847 * sysdeps/sh/elf/configure: Delete file.
5848
5849 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5850 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5851 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5852 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5853 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5854 * sysdeps/powerpc/powerpc64/start.S: here.
5855 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5856 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5857 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5858 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5859 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5860
5861 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5862 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5863 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5864 * sysdeps/powerpc/powerpc32/start.S: ... here.
5865 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5866 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5867 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5868
5869 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5870 * sysdeps/powerpc/ifunc-sel.h: ... here.
5871 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5872 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5873
5874 * sysdeps/sparc/elf/configure.in: Moved to ...
5875 * sysdeps/sparc/configure.in: ... here.
5876 * sysdeps/sparc/elf/configure: Delete file.
5877 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5878 * sysdeps/sparc/sparc32/start.S: ... here.
5879 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5880 * sysdeps/sparc/sparc64/start.S: ... here.
5881 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5882 * sysdeps/sparc/sparc32/Makefile: ... this.
5883 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5884 * sysdeps/sparc/sparc64/Makefile: ... this.
5885
5886 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5887 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5888 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5889 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5890 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5891 * sysdeps/s390/s390-32/setjmp.S: ... here.
5892 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5893 * sysdeps/s390/s390-32/configure.in: ... here.
5894 * sysdeps/s390/s390-32/elf/configure: Delete file.
5895 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5896 * sysdeps/s390/s390-32/start.S: ... here.
5897
5898 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5899 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5900 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5901 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5902 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5903 * sysdeps/s390/s390-64/setjmp.S: ... here.
5904 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5905 * sysdeps/s390/s390-64/configure.in: ... here
5906 * sysdeps/s390/s390-64/elf/configure: Delete file.
5907 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5908 * sysdeps/s390/s390-64/start.S: ... here.
5909 * sysdeps/s390/s390-64/elf/configure: Delete.
5910
5911 * configure.in: Remove support for elf directories in sysdeps.
5912
5913 * configure: Regenerated.
5914 * sysdeps/i386/configure: Regenerated.
5915 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5916 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5917 * sysdeps/s390/s390-32/configure: Regenerated.
5918 * sysdeps/s390/s390-64/configure: Regenerated.
5919 * sysdeps/sh/configure: Regenerated.
5920 * sysdeps/sparc/configure: Regenerated.
5921 * sysdeps/x86_64/configure: Regenerated.
5922
a3f61311
AS
59232012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5924
c876e002
AS
5925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5926
a3f61311
AS
5927 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5928 denormal result into account.
5929
ac4c54f0
RM
59302012-03-25 Roland McGrath <roland@hack.frob.com>
5931
5932 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5933 Reported by Allan McRae <allan@archlinux.org>.
5934
6a9b9c02
JL
59352012-03-23 Jeff Law <law@redhat.com>
5936
5937 * nss/getnssent.c (__nss_getent): Fix typo.
5938
4c42a0c1
DM
59392012-03-23 David S. Miller <davem@davemloft.net>
5940
5941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5942
1532c7ac
L
59432012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5944
5945 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5946 to pad to uint64_t for each field.
5947 (dl_tls_index): Replace unsigned long with uint64_t.
5948
3ff42526
PP
59492012-03-23 Daniel Jacobowitz <dmj@google.com>
5950 Paul Pluzhnikov <ppluzhnikov@google.com>
5951
5952 [BZ #6528]
5953 * grp/Makefile (otherlibs): Don't set it.
5954 * inet/Makefile (otherlibs): Likewise.
5955 * login/Makefile (otherlibs): Likewise.
5956 * nscd/Makefile (otherlibs): Likewise.
5957 * posix/Makefile (otherlibs): Likewise.
5958 * pwd/Makefile (otherlibs): Likewise.
5959 * rt/Makefile (otherlibs): Likewise.
5960 * sunrpc/Makefile (otherlibs): Likewise.
5961 * nss/Makefile (otherlibs): Likewise.
5962 Add libnss_files to routines and static-only-routines.
5963 ($(objpfx)getent): Remove rule.
5964 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5965 static-only-routines.
5966
7c69cd14
JM
59672012-03-22 Joseph Myers <joseph@codesourcery.com>
5968
5969 [BZ #13892]
5970 * math/s_cexp.c: Include <float.h>.
5971 (__cexp): Handle exp result overflowing not necessarily
5972 overflowing both real and imaginary parts of result.
5973 * math/s_cexpf.c: Likewise.
5974 * math/s_cexpl.c: Likewise.
5975 * math/libm-test.inc (cexp_test): Add more tests.
5976 * sysdeps/i386/fpu/libm-test-ulps: Update.
5977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5978
81b035fe
L
59792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5980
5981 * include/link.h (ELFW): New macro.
5982 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5983 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5984
1da7940c
L
59852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5986
5987 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5988 with uint64_t.
5989
b749dbb9
L
59902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5991
5992 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5993 declaration.
5994 (struct La_x32_retval): Likewise.
5995
2ff87f3f
L
59962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5997
5998 * sysdeps/x86_64/preconfigure.in: New file.
5999 * sysdeps/x86_64/preconfigure: New generated file.
6000
c0df8e69
JM
60012012-03-22 Joseph Myers <joseph@codesourcery.com>
6002
48e44791
JM
6003 [BZ #13824]
6004 * math/e_exp2l.c: Include <float.h>.
6005 (__ieee754_exp2l): Handle overflow and underflow cases
6006 separately. Only pass fractional part of argument to
6007 __ieee754_expl.
6008 * math/libm-test.inc (exp2_test): Add more tests.
6009
c0df8e69
JM
6010 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6011 negating x to take absolute value.
6012 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6013 Likewise.
6014 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6015 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6016 Likewise.
6017 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6018 computing low part if x was negated.
6019 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6020
c8e43ba7
L
60212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6022
6023 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6024 la_x32_gnu_pltexit.
6025 (pltexit): Cast int_retval to ptrdiff_t.
6026 * elf/tst-auditmod3b.c: Likewise.
6027 * elf/tst-auditmod4b.c: Likewise.
6028 * elf/tst-auditmod5b.c: Likewise.
6029 * elf/tst-auditmod6b.c: Likewise.
6030 * elf/tst-auditmod6c.c: Likewise.
6031 * elf/tst-auditmod7b.c: Likewise.
6032
6033 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6034 and x32_gnu_pltexit.
6035
6036 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6037 __ELF_NATIVE_CLASS.
6038 (La_x32_regs): New macro.
6039 (La_x32_retval): Likewise.
6040 (la_x32_gnu_pltenter): New function prototype.
6041 (la_x32_gnu_pltexit): Likewise.
6042
7998fa78
AS
60432012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6044
dcb33988
AS
6045 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6046 exponent.
6047
233fc563
AS
6048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6049
7998fa78
AS
6050 * configure.in (libc_cv_cc_nofma): Check for option to disable
6051 generation of FMA instructions.
6052 * configure: Regenerate.
6053 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6054 * sysdeps/ieee754/dbl-64/Makefile: New file.
6055 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6056 Remove brandred-fma4.
6057 (CFLAGS-brandred-fma4.c): Remove.
6058 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6059 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6060 define.
6061 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6062 define.
6063
8e95c99a
L
60642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6065
6066 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6067 LLONG_MAX != LONG_MAX.
6068 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6069 (_fitoa_word): Likewise.
6070 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6071 LLONG_MAX != LONG_MAX.
6072 * stdio-common/_itowa.h: Include <_itoa.h>.
6073 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6074 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6075 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6076 only if not defined.
6077 (_ITOA_WORD_TYPE): Likewise.
6078 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6079 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6080
6f4db457
DM
60812012-03-21 David S. Miller <davem@davemloft.net>
6082
6083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6084
7785fe5a
L
60852012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6086
6087 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6088 of x86_64 when setting libc_cv_slibdir, libdir and
6089 libc_cv_localedir.
6090 * sysdeps/unix/sysv/linux/configure: Regenerated.
6091
4535cd55
JM
60922012-03-21 Joseph Myers <joseph@codesourcery.com>
6093
6094 * manual/lang.texi (Old Varargs): Remove section.
6095 (How Variadic): Update menu.
6096 (va_start): Do not mention varargs.h.
6097
17228132
TS
60982012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6099 Joseph Myers <joseph@codesourcery.com>
6100
6101 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6102 link test.
6103 * configure: Regenerated.
6104
8149f976
TS
61052012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6106
05f3d1f6
UD
6107 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6108 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6109 conformtest.pl
8149f976 6110
1a4ac776
JM
61112012-03-21 Joseph Myers <joseph@codesourcery.com>
6112
be22ce65
JM
6113 * NOTES: Remove.
6114 * Makefile (files-for-dist): Remove NOTES.
6115 (NOTES): Remove rule.
6116 * README: Don't refer to NOTES.
6117 * manual/creature.texi: Don't include macros.texi.
6118 * manual/intro.texi (creature.texi): Remove comment referring to
6119 NOTES.
6120
40b601fb
JM
6121 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6122 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6123 * configure: Regenerated.
6124 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6125 LIBC_TRY_CC_OPTION.
6126 (libc_cv_as_i686): Likewise.
6127 (libc_cv_cc_avx): Likewise.
6128 (libc_cv_cc_sse2avx): Likewise.
6129 (libc_cv_cc_fma4): Likewise.
6130 (libc_cv_cc_novzeroupper): Likewise.
6131 * sysdeps/i386/configure: Regenerated.
6132
1a4ac776
JM
6133 [BZ #13883]
6134 * sysdeps/i386/fpu/s_cexp.S: Remove.
6135 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6136 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6137 * math/libm-test.inc (cexp_test): Add more tests.
6138 * sysdeps/i386/fpu/libm-test-ulps: Update.
6139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6140
a458e7fe
AM
61412012-03-21 Allan McRae <allan@archlinux.org>
6142
6143 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6144
0cb7efc5
JM
61452012-03-21 Joseph Myers <joseph@codesourcery.com>
6146
6147 [BZ #13871]
6148 * math/w_exp2.c: Do not include <float.h>.
6149 (o_threshold, u_threshold): Remove.
6150 (__exp2): Calculate result before checking finiteness and calling
6151 __kernel_standard.
6152 * math/w_exp2f.c: Likewise.
6153 * math/w_exp2l.c: Likewise.
6154 * math/libm-test.inc (exp2_test): Require overflow exception for
6155 1e6 input.
2460d3aa
JM
6156
6157 [BZ #3866]
6158 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6159 range of signed 64-bit integers before using fistpll. Remove
6160 checks for whether integers fit in mantissa bits.
6161 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6162 the range of signed 32-bit integers before using fistpl. Remove
6163 checks for whether integers fit in mantissa bits.
6164 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6165 (__ieee754_powl): Test for y outside the range of signed 64-bit
6166 integers before using fistpll. Reduce 64-bit values to 63-bit
6167 ones as needed.
6168 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6169 divide-by-zero is raised for zero to large negative powers.
6170 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6171 (__ieee754_powl): Test for y outside the range of signed 64-bit
6172 integers before using fistpll. Reduce 64-bit values to 63-bit
6173 ones as needed.
6174 * math/libm-test.inc (pow_test): Add more tests.
6175
eb96ffb0
L
61762012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6177
6178 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6179 <stdio-common/_itoa.h>.
6180 * debug/segfault.c: Likewise.
6181 * elf/dl-cache.c: Likewise.
6182 * elf/dl-minimal.c: Likewise.
6183 * elf/dl-misc.c: Likewise.
6184 * elf/dl-sysdep.c: Likewise.
6185 * elf/dl-version.c: Likewise.
6186 * elf/rtld.c: Likewise.
6187 * hurd/hurdsock.c: Likewise.
6188 * hurd/lookup-retry.c: Likewise.
6189 * malloc/malloc.c: Likewise.
6190 * malloc/mtrace.c: Likewise.
6191 * nscd/nscd_getgr_r.c: Likewise.
6192 * nscd/nscd_getpw_r.c: Likewise.
6193 * nscd/nscd_getserv_r.c: Likewise.
6194 * posix/getopt_init.c: Likewise.
6195 * posix/wordexp.c: Likewise.
6196 * stdio-common/_itoa.c: Likewise.
6197 * stdio-common/printf_fphex.c: Likewise.
6198 * stdio-common/vfprintf.c: Likewise.
6199 * string/_strerror.c: Likewise.
6200 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6201 * sysdeps/i386/i686/hp-timing.h: Likewise.
6202 * sysdeps/mach/_strerror.c: Likewise.
6203 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6204 * sysdeps/mach/hurd/sethostid.c: Likewise.
6205 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6206 * sysdeps/mach/xpg-strerror.c: Likewise.
6207 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6208 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6209 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6210 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6211 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6212 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6213 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6214 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6215 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6216 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6217 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6218 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6219 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6220 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6221 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6222 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6223 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6224 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6225 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6226 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6227 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6228
6229 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6230
6231 * stdio-common/_itoa.h: Moved to ...
6232 * sysdeps/generic/_itoa.h: Here.
6233
6234 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6235
6236 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6237 instead of "_itoa.h" and "_itowa.h".
6238 * stdio-common/vfprintf.: Likewise.
6239
d1af992d
L
62402012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6241
6242 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6243 <bits/wordsize.h>.
6244 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6245 (__signbit): Likwise.
6246 (llrintf): Likwise.
6247 (llrint): Likwise.
6248
114883e0
L
62492012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6250
6251 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6252 __WORDSIZE != 64.
6253
c135cc1b
JM
62542012-03-20 Joseph Myers <joseph@codesourcery.com>
6255
6256 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6257 OVERFLOW_EXCEPTION_OK.
6258 * math/libm-test.inc ("Philosophy"): Update comment about
6259 exception testing.
6260 (OVERFLOW_EXCEPTION): Define.
6261 (OVERFLOW_EXCEPTION_OK): Likewise.
6262 (INVALID_EXCEPTION_OK): Renumber.
6263 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6264 (IGNORE_ZERO_INF_SIGN): Likewise.
6265 (test_exceptions): Handle FE_OVERFLOW.
6266 (exp10_test): Expect overflow exceptions.
6267 (exp2_test): Likewise.
6268 (expm1_test): Likewise.
6269 (nextafter_test): Likewise.
6270 (pow_test): Likewise.
6271 (scalbn_test): Likewise.
6272 (scalbln_test): Likewise.
6273
95443d88
L
62742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6275
6276 * sysdeps/x86_64/bits/atomic.h
6277 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6278 64bit integer.
6279 (atomic_exchange_acq): Likewise.
6280 (__arch_exchange_and_add_body): Likewise.
6281 (__arch_add_body): Likewise.
6282 (atomic_add_negative): Likewise.
6283 (atomic_add_zero): Likewise.
6284
490df6c4
L
62852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6286
c2722551 6287 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6288 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6289
5e52b189
L
62902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6291
6292 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6293 Check __x86_64__ instead of __WORDSIZE.
6294
a9879d4c
L
62952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6296
6297 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6298
5df98260
DM
62992012-03-19 David S. Miller <davem@davemloft.net>
6300
e1497744
DM
6301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6302
5df98260
DM
6303 * sysdeps/sparc/fpu/fenv_private.h: New file.
6304 * sysdeps/sparc/fpu/math_private.h: Use it.
6305 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6306 Remove.
6307 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6308 (libc_feholdexcept_setroundl): Remove.
6309 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6310 Remove.
6311 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6312 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6313
b4c35121
L
63142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6315
6316 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6317 int64_t instead of long int.
6318 (INSERT_WORDS64): Likwise.
6319
56965fd7
L
63202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6321
6322 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6323 _Unwind_GetCFA return to _Unwind_Ptr first.
6324
83d1aec8
JM
63252012-03-19 Joseph Myers <joseph@codesourcery.com>
6326
1897ad44
JM
6327 [BZ #13629]
6328 * math/s_clog.c: Include <float.h>.
6329 (__clog): Scale large or subnormal inputs.
6330 * math/s_clogf.c: Likewise.
6331 * math/s_clogl.c: Likewise.
6332 * math/s_clog10.c: Include <float.h>.
6333 (M_LOG10_2): Define.
6334 (__clog10): Scale large or subnormal inputs.
6335 * math/s_clog10f.c: Likewise.
6336 * math/s_clog10l.c: Likewise.
6337 * math/libm-test.inc (clog_test): Add more tests.
6338 (clog10_test): Likewise.
6339 * sysdeps/i386/fpu/libm-test-ulps: Update.
6340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6341
7726d6a9
JM
6342 [BZ #11451]
6343 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6344 x and y.
6345 * math/libm-test.inc (atan2_test): Add another test.
6346
83d1aec8
JM
6347 * Makerules (common-objdir-compile): Remove.
6348 * sysdeps/unix/Makefile (config-generated): Do not add
6349 $(unix-generated) to variable.
6350 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6351 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6352 Remove rule.
6353 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6354 Likewise.
6355 [generic bits/local_lim.h] (before-compile): Do not append to
6356 variable.
6357 [generic bits/local_lim.h] (common-generated): Likewise.
6358 [generic sys/param.h] (before-compile): Do not append to variable.
6359 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6360 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6361 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6362 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6363 include.
6364 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6365 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6366 [generic sys/param.h] ($(addprefix
6367 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6368 [generic sys/param.h] (common-generated): Do not append to
6369 variable.
6370 [generic sys/param.h] (sysdep_headers): Likewise.
6371 [generic bits/errno.h] (before-compile): Do not append to
6372 variable.
6373 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6374 rule.
6375 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6376 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6377 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6378 [generic bits/errno.h] (common-generated): Do not append to
6379 variable.
6380 [generic bits/ioctls.h] (before-compile): Do not append to
6381 variable.
6382 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6383 rule.
6384 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6385 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6386 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6387 rule.
6388 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6389 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6390 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6391 [generic bits/ioctls.h] (common-generated): Do not append to
6392 variable.
6393 [generic sys/syscall.h] (syscall.h): Remove variable.
6394 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6395 rule.
6396 [generic sys/syscall.h] (before-compile): Do not append to
6397 variable.
6398 [generic sys/syscall.h] (common-generated): Likewise.
6399 * sysdeps/unix/errnos-tmpl.c: Remove file.
6400 * sysdeps/unix/errnos.awk: Likewise.
6401 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6402 * sysdeps/unix/ioctls.awk: Likewise.
6403 * sysdeps/unix/mk-local_lim.c: Likewise.
6404 * sysdeps/unix/snarf-ioctls: Likewise.
6405
4851a949
RH
64062012-03-19 Richard Henderson <rth@twiddle.net>
6407
bd37f2ee
RH
6408 * sysdeps/i386/fpu/fenv_private.h: New file.
6409 * sysdeps/i386/fpu/math_private.h: Use it.
6410 (math_opt_barrier, math_force_eval): Remove.
6411 (libc_feholdexcept_setround_53bit): Remove.
6412 (libc_feupdateenv_53bit): Remove.
6413 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6414 (math_opt_barrier, math_force_eval): Remove.
6415 (libc_feholdexcept): Remove.
6416 (libc_feholdexcept_setround): Remove.
6417 (libc_fetestexcept, libc_fesetenv): Remove.
6418 (libc_feupdateenv_test): Remove.
6419 (libc_feupdateenv, libc_feholdsetround): Remove.
6420 (libc_feresetround): Remove.
6421
d0adc922
RH
6422 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6423 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6424
0fe0f1f8
RH
6425 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6426 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6427 (libc_feupdateenv_testl): New.
6428 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6429 (libc_feupdateenv_testf): New.
6430 (libc_feupdateenv): Use libc_feupdateenv_test.
6431 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6432 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6433
eb92c487
RH
6434 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6435 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6436 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6437 (libc_feresetround_noex): New.
6438 (libc_feresetround_noexf): New.
6439 (libc_feresetround_noexl): New.
6440 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6441 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6442 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6443 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6444 SET_RESTORE_ROUND.
6445 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6446 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6447 (__cos): Likewise.
6448 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6449 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6450 SET_RESTORE_ROUND_NOEX.
6451 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6452 SET_RESTORE_ROUND_NOEXF.
6453 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6454 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6455 (libc_feholdsetroundf): New.
6456 (libc_feresetround, libc_feresetroundf): New.
6457
7d2e8012
RH
6458 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6459 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6460 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6461
b4dabbb4
RH
6462 * sysdeps/generic/math_private.h: Include <fenv.h>.
6463 (default_libc_feholdexcept): New.
6464 (default_libc_feholdexcept_setround): New.
6465 (default_libc_fesetenv, default_libc_feupdateenv): New.
6466 (libc_feholdexcept): Only define if undefined.
6467 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6468 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6469 (libc_feholdexcept_setroundl): Likewise.
6470 (libc_feholdexcept_setround_53bit): Likewise.
6471 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6472 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6473 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6474 (libc_feupdateenv_53bit): Likewise.
6475 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6476 (libc_feholdexcept): Convert from macro to inline function.
6477 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6478 (libc_fesetenv, libc_feupdateenv): Likewise.
6479
4851a949
RH
6480 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6481 not previously defined.
6482 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6483 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6484 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6485 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6486 * sysdeps/ieee754/flt-32/math_private.h: New file.
6487 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6488 math_private.h below SET_FLOAT_WORD.
6489 (__isnan, __isinf_ns, __finite): Remove.
6490 (__isnanf, __isinf_nsf, __finitef): Remove.
6491
e79d442e
AS
64922012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6493
6494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6495
90b80344
DM
64962012-03-17 David S. Miller <davem@davemloft.net>
6497
6498 [BZ #6471]
6499 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6500 for 2.16.
6501
edc21804
DM
65022012-03-16 David S. Miller <davem@davemloft.net>
6503
77e927af
DM
6504 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6505 warnings.
6506
374976dd
DM
6507 [BZ #6471]
6508 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6509 properly.
6510 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6511 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6512 sysdep_routines when subdir is sysvipc.
6513 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6514 __getshmlba helper.
6515
edc21804
DM
6516 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6517
473c3ef3
L
65182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6519
6520 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6521 [__LP64__].
6522
eb0f39b6
L
65232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6524
6525 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6526 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6527 (__lround): Renamed to ...
6528 (__llround): This. Replace long int with long long int.
6529 Define lround functions as aliases of llround functions.
6530 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6531
6b6cd74b
L
65322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6533
6534 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6535 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6536 adresses to uintptr_t. Replace "long int" and "unsigned long
6537 int" with "greg_t" on va_arg.
6538
f1a77b01
L
65392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6540
6541 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6542 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6543
6544 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6545 Move e_machine check before EI_CLASS check. Handle x32
6546 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6547 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6548 SKIP_EM_IA_64 and include
6549 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6550
6551 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6552 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6553 (add_system_dir): New macro.
6554
6555 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6556 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6557
11b90b9f
JM
65582012-03-16 Joseph Myers <joseph@codesourcery.com>
6559
c36e1d23
JM
6560 [BZ #2551]
6561 [BZ #2552]
6562 [BZ #2553]
6563 [BZ #2554]
6564 [BZ #2562]
6565 [BZ #2563]
6566 [BZ #2565]
6567 [BZ #2566]
6568 [BZ #2576]
6569 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6570 (y0): Likewise.
6571 * math/w_j0f.c (j0f): Likewise.
6572 (y0f): Likewise.
6573 * math/w_j0l.c (__j0l): Likewise.
6574 (__y0l): Likewise.
6575 * math/w_j1.c (j1): Likewise.
6576 (y1): Likewise.
6577 * math/w_j1f.c (j1f): Likewise.
6578 (y1f): Likewise.
6579 * math/w_j1l.c (__j1l): Likewise.
6580 (__y1l): Likewise.
6581 * math/w_jn.c (jn): Likewise.
6582 (yn): Likewise.
6583 * math/w_jnf.c (jnf): Likewise.
6584 (ynf): Likewise.
6585 * math/w_jnl.c (__jnl): Likewise.
6586 (__ynl): Likewise.
6587 * math/libm-test.inc (j0_test): Add more tests.
6588 (j1_test): Likewise.
6589 (jn_test): Likewise. Add trailing semicolon to existing test.
6590 (y0_test): Likewise.
6591 (y1_test): Likewise.
6592 * sysdeps/i386/fpu/libm-test-ulps: Update.
6593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6594
11b90b9f
JM
6595 [BZ #13851]
6596 [BZ #13854]
6597 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6598 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6599 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6600 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6601 (__tanl): Set errno for infinite argument.
6602 * sysdeps/i386/fpu/mptan.c: Remove.
6603 * sysdeps/i386/fpu/s_tan.S: Likewise.
6604 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6605 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6606 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6607 * math/libm-test.inc (tan_test): Add more tests and enable more
6608 tests for double and long double.
6609 * sysdeps/i386/fpu/libm-test-ulps: Update.
6610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6611
6a1bd2a1
JK
66122012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6613
6614 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6615 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6616
10a803e0
RM
66172012-03-16 Roland McGrath <roland@hack.frob.com>
6618
6619 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6620 * configure.in: Use it for both main tree and add-ons.
6621 * configure: Regenerated.
6622
f196c7f7
L
66232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6624
6625 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6626
8848d99d
JM
66272012-03-16 Joseph Myers <joseph@codesourcery.com>
6628
96cbe7f4
JM
6629 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6630 in comment.
6631
8848d99d
JM
6632 [BZ #13851]
6633 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6634 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6635 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6636 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6637 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6638 infinite argument.
6639 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6640 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6641 != 0 for prec == 2.
6642 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6643 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6644 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6645 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6646 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6647 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6648 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6649 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6650 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6651 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6652 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6653 * math/libm-test.inc (cos_test): Add more tests and enable more
6654 tests for long double.
6655 (sin_test): Likewise.
6656 (sincos_test): Likewise.
6657 * sysdeps/i386/fpu/libm-test-ulps: Update.
6658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6659
dd7f4703
DM
66602012-03-16 David S. Miller <davem@davemloft.net>
6661
6662 * sysdeps/sparc/fpu/math_private.h: New file.
6663
006f1daa
DM
66642012-03-15 David S. Miller <davem@davemloft.net>
6665
c0c83bc8
DM
6666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6667 file.
e6a62e18 6668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6670 file.
e6a62e18
DM
6671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6676 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6677 sysdep routines.
6678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6679
88cb87d9
DM
6680 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6681 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6682
006f1daa 6683 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6685 sparc-ifunc.h
006f1daa 6686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6688 Likewise.
6689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6690 Likewise.
006f1daa
DM
6691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6695 Likewise.
006f1daa
DM
6696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6701 Likewise.
6702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6703 Likewise.
006f1daa
DM
6704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6709 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6710 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6711 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6712 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6713 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6722 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6723 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6724 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6725 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6726 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6727 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6728
11e0098e
AS
67292012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6730
6731 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6732 scaling.
6733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6734
e85b09d0
AJ
67352012-03-15 Andreas Jaeger <aj@suse.de>
6736
6737 [BZ #13852]
6738 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6739 ieee754/flt-32 implementation for sin, cos and sincos.
6740 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6741 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6742 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6743 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6744 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6745 ieee754/flt-32 implementation for tan.
6746
6747 * math/libm-test.inc (cos_test): Enable some large input tests for
6748 float as well
6749 (sin_test): Likewise.
6750 (sincos_test): Likewise.
6751 (tan_test): Add tests for large input.
6752
6753 * sysdeps/i386/fpu/libm-test-ulps: Update.
6754
81c64153
AJ
67552012-03-15 Andreas Jaeger <aj@suse.de>
6756
6757 [BZ #13658]
6758 * math/libm-test.inc (cos_test): Add more test cases.
6759 (sin_test): Likewise.
6760 (sincos_test): Likewise.
6761
7bbfa5c6
AJ
67622012-03-15 Andreas Jaeger <aj@suse.de>
6763
6764 [BZ #13837]
6765 * math/libm-test.inc (cos_test): Add a test case for large input
6766 value.
6767 (sin_test): Likewise.
6768 (sincos_test): Likewise.
6769
67702012-03-15 Andreas Jaeger <aj@suse.de>,
6771 Joseph Myers <joseph@codesourcery.com>
6772
6773 [BZ #13658]
0671f479 6774 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6775 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6776 * sysdeps/i386/fpu/branred.c: Likewise.
6777 * sysdeps/i386/fpu/dosincos.c: Likewise.
6778 * sysdeps/i386/fpu/mpa.c: Likewise.
6779 * sysdeps/i386/fpu/s_cos.S: Likewise.
6780 * sysdeps/i386/fpu/s_sin.S: Likewise.
6781 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6782 * sysdeps/i386/fpu/sincos32.c: Likewise.
6783
6784 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6785 Define.
6786 (libc_feupdateenv_53bit): Define.
6787 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6788 Define.
6789 (libc_feupdateenv_53bit): Define.
6790
6791 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6792 53 bit (without extend i386 double precision).
6793
6794 * math/libm-test.inc (sincos_test): Add tests for large input.
6795 (sin): Likewise.
6796 (cos): Likewise.
6797
6798 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6799
9cad04ea
AS
68002012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6801
6802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6803
f7062b9a
DM
68042012-03-15 David S. Miller <davem@davemloft.net>
6805
6806 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6807 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6808 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6809 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6822 file.
f7062b9a 6823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6825 file.
f7062b9a 6826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6828 file.
f7062b9a 6829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6831 file.
f7062b9a
DM
6832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6833 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6834 fmin/fmax sysdep routines.
6835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6836
7bd951ff
DM
68372012-03-14 David S. Miller <davem@davemloft.net>
6838
559398ab
DM
6839 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6840 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6841 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6843 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6844 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6845 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6846 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6847 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6848 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6849 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6850 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6853 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6859 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6860 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6861 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6862 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6863 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6864 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6865 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6866 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6867 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6868 routines.
6869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6870 file.
559398ab 6871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6873 file.
559398ab 6874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6876 file.
559398ab 6877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6879 file.
559398ab 6880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6882 file.
559398ab 6883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6885 file.
6886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6887 file.
6888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6889 file.
6890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6891 file.
6892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6893 New file.
6894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6895 file.
6896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6897 file.
559398ab 6898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6900 file.
559398ab 6901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6903 file.
559398ab 6904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6906 file.
559398ab 6907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6909 VIS3 routines.
559398ab
DM
6910
6911 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6912 New file.
6913
5a1c1e32
DM
6914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6915
eae47a36
DM
6916 * sysdeps/sparc/configure.in: New file.
6917 * sysdeps/sparc/configure: Generate.
6918 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6919 * configure: Regenerate.
6920 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6921 * config.make.in (have-as-vis3): New.
6922 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6923 available use -Av9d instead of -Av9a.
6924 * sysdeps/sparc/sparc64/Makefile: Likewise.
6925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6927 New file.
6928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6929 file.
6930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6931 New file.
6932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6933 file.
eae47a36
DM
6934 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6935 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6936 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6937 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6938 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6939
c0c83bc8
DM
6940 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6941 fzeros/fnegs to load 0x80000000 into a float register instead of
6942 using the stack.
7bd951ff
DM
6943 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6944
bd951ccb
JM
69452012-03-14 Joseph Myers <joseph@codesourcery.com>
6946
6947 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6948 bits/syscall.h.
6949 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6950 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6951 ($(inst_includedir)/bits/syscall.h): Remove rule.
6952 ($(objpfx)bits/syscall.d): Include instead of
6953 $(objpfx)syscall-list.d.
6954 (generated): Change syscall-list.h and syscall-list.d to
6955 bits/syscall.h and bits/syscall.d.
6956
bb4e6db2
RM
69572012-03-14 Roland McGrath <roland@hack.frob.com>
6958
6959 [BZ #13846]
6960 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6961
aa4a2ae1
JM
69622012-03-14 Joseph Myers <joseph@codesourcery.com>
6963
e456826d
JM
6964 [BZ #13841]
6965 * math/s_csqrt.c: Include <float.h>.
6966 (__csqrt): Scale large or subnormal inputs.
6967 * math/s_csqrtf.c: Likewise.
6968 * math/s_csqrtl.c: Likewise.
6969 * math/libm-test.inc (csqrt_test): Add more tests.
6970 * sysdeps/i386/fpu/libm-test-ulps: Update.
6971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6972
aa4a2ae1
JM
6973 [BZ #13840]
6974 * math/libm-test.inc (hypot_test): Add more tests.
6975
7c10fd35
DM
69762012-03-13 David S. Miller <davem@davemloft.net>
6977
6978 [BZ #13840]
6979 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6980 double-precision for the calculation instead of scaling.
6981
f453b98b
JM
69822012-03-13 Joseph Myers <joseph@codesourcery.com>
6983
6984 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6985 manipulate bits before adding and subtracting TWO52[sx].
6986 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6987 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6988 Likewise.
6989 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6990
09a3453f
DM
69912012-03-13 David S. Miller <davem@davemloft.net>
6992
8e59da90
DM
6993 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6994 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6995 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6996 rtld-global-offsets.h
6997 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6998
2a8ab7f2
DM
6999 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7000 large parameters.
7001
10f62770
DM
7002 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7003
5f0bdb18
DM
7004 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7005 'err' in the ifdef scope in which it is actually used.
7006
09a3453f
DM
7007 * nss/nss_db/db-init.c: Include string.h
7008
b4b2eb5e
DM
70092012-03-12 David S. Miller <davem@davemloft.net>
7010
98bb2f1c
DM
7011 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7012 masking out of the most significant byte of random value used.
7013 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7014 Fix coding style in previous change.
7015
b4b2eb5e
DM
7016 * sysdeps/unix/sysv/linux/kernel-features.h
7017 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7018 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7019 expression.
7020 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7021 later.
7022
6e226b09
DM
70232012-03-11 David S. Miller <davem@davemloft.net>
7024
a1bcbd40
DM
7025 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7026 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7027 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7028 for 'resultvar' otherwise things get truncated on 64-bit.
7029
cb9d6174
DM
7030 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7031 Fix masking out of the most significant byte of random value used.
7032
6e226b09
DM
7033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7034
058c132d
AS
70352012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7036
7037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7038
2d2cd515
DM
70392012-03-09 David S. Miller <davem@davemloft.net>
7040
7041 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7042 variables with appropriate CPP guards.
7043 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7044 frame pointer, not the stack pointer. Correct layout comments. Fix test
7045 on resulting framesize and the management of the outregs buffer for pltexit.
7046 Preserve floating point return values across _dl_call_pltexit call.
7047 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7048 framesize and the management of the outregs buffer for pltexit.
7049 Preserve floating point return values across _dl_call_pltexit
7050 call.
7051 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7052 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7053 (print_exit): Fix format string for return register value.
7054
9a07f9d0
JM
70552012-03-10 Joseph Myers <joseph@codesourcery.com>
7056
7057 * sunrpc/Makefile (others): Add rpcgen.
7058 ($(objpfx)rpcgen): Remove special build rule and dependency on
7059 libc.
7060 * sunrpc/rpcgen.c: New file.
7061
547b5e30
PE
70622012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7063
c524201a
PE
7064 [BZ #13673]
7065 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7066 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7067 * sysdeps/i386/crti.S: Likewise.
7068 * sysdeps/i386/crtn.S: Likewise.
7069 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7070 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7071 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7072 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7073 * sysdeps/sh/crti.S: Likewise.
7074 * sysdeps/sh/crtn.S: Likewise.
7075 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7076
7b6235f2
PE
7077 [BZ #13673]
7078 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7079 with URL.
7080 * locale/programs/locfile-kw.gperf: Likewise.
7081 * locale/programs/charmap-kw.h: Regenerated.
7082 * locale/programs/locfile-kw.h: Likewise.
7083
547b5e30
PE
7084 [BZ #13673]
7085 * intl/plural.y: Replace FSF snail mail address with URL.
7086 * intl/plural.c: Regenerated.
7087
5f0a5dae
RH
70882012-03-09 Richard Henderson <rth@twiddle.net>
7089
7090 * include/math_private.h: Remove file.
7091 * math/math_private.h: Move file ...
7092 * sysdeps/generic/math_private.h: ... here.
7093
b8c03620
RH
7094 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7095 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7096 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7097
4e234f5d 7098 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
7099 and <math_private.h>.
7100 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7101 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7102 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7103 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7104 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7105 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7106 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7107 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7108 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7109 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7110 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7111 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7112 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7113 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7114 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7115 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7116 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7117 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7118 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7119 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7120 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7121 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7122 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7123 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7124 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7125 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7126 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7127 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7128 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7129 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7130 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7131 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7132 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7133 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7134 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7135 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7136 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7137 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7138 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7139 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7140 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7141 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7142 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7143 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7144 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7145 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7146 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7147 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7148 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7149 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7150 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7151 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7152 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7153 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7154 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7155 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7156 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7157 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7158 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7159 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7160 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7161 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7162 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7163 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7164 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7165 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7166 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7167 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7168 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7169 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7170 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7171 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7172 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7173 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7174 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7175 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7176 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7177 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7178 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7179 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7180 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7181 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7182 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7183 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7184 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7185 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7186 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7187 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7188 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7189 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7190 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7191 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7192 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7193 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7194 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7195 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7196 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7197 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7198 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7199 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7200 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7201 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7202 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7203 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7204 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7205 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7206 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7207 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7208 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7209 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7210 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7211 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7212 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7213 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7214 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7215 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7216 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7217 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7218 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7219 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7220 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7221 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7222 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7223 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7224 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7225 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7226 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7227 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7228 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7229 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7230 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7231 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7232 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7233 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7234 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7235 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7236 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7237 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7238 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7239 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7240 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7241 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7242 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7243 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7244 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7245 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7246 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7247 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7248 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7249 * sysdeps/ieee754/k_standard.c: Likewise.
7250 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7251 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7252 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7253 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7254 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7255 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7256 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7257 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7258 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7259 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7260 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7261 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7262 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7263 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7264 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7265 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7266 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7267 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7268 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7269 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7270 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7271 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7272 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7274 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7275 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7276 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7277 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7278 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7279 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7280 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7281 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7282 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7283 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7284 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7285 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7286 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7287 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7288 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7289 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7290 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7291 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7292 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7293 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7294 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7295 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7296 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7297 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7298 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7299 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7300 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7301 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7302 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7303 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7304 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7305 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7306 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7307 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7308 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7309 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7310 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7311 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7312 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7313 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7314 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7315 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7316 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7317 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7318 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7319 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7320 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7321 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7322 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7323 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7324 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7325 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7326 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7327 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7328 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7329 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7330 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7331 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7332 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7333 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7334 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7335 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7336 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7337 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7338 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7339 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7340 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7341 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7342 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7343 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7344 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7345 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7346 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7347 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7348 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7349 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7350 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7351 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7352 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7353 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7354 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7355 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7356 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7357 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7358 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7359 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7360 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7361 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7362 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7363 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7364 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7365 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7366 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7367 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7368 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7369 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7370 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7371 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7372 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7373 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7374 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7375 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7376 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7377 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7378 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7379 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7380 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7381 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7382 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7383 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7384 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7385 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7386 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7387 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7388 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7389 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7390 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7391 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7392 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7393 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7394 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7395 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7396 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7397 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7398 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7399 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7400 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7401 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7402 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7403 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7404 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7405 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7406 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7407 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7408 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7409 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7410 * sysdeps/ieee754/s_lib_version.c: Likewise.
7411 * sysdeps/ieee754/s_matherr.c: Likewise.
7412 * sysdeps/ieee754/s_signgam.c: Likewise.
7413 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7414 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7415 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7416 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7417 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7418 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7419 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7420 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7421 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7422 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7423 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7424 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7425 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7426 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7427 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7428 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7429 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7430 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7431 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7432 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7433 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7434
1991fa03
JM
74352012-03-09 Joseph Myers <joseph@codesourcery.com>
7436
7437 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7438 * sunrpc/rpc_main.c: Likewise.
7439 * sunrpc/rpc_svcout.c: Likewise.
7440
60d6f5a6
DM
74412012-03-09 David S. Miller <davem@davemloft.net>
7442
7443 * include/math_private.h: New file.
7444
4962050e
JM
74452012-03-09 Joseph Myers <joseph@codesourcery.com>
7446
02a6f887
JM
7447 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7448 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7449 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7450 from <bits/socket_type.h>.
7451 (enum __socket_type): Don't define here.
7452 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7453 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7454 bits/socket_type.h.
7455
c6e013c1
JM
7456 [BZ #13566]
7457 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7458 checking __USE_GNU.
7459
4962050e
JM
7460 * Makerules ($(inst_includedir)/%.h): New rule.
7461 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7462 (install-others): Remove variable setting.
7463 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7464
38842f45
RH
74652012-03-08 Richard Henderson <rth@twiddle.net>
7466
67bb6da6
RH
7467 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7468 from macro to inline function; merge with the
7469 !__LIBC_INTERNAL_MATH_INLINES version.
7470 (__ieee754_sqrtf): Likewise.
7471
15194b4b
RH
7472 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7473 to inline function.
7474 (__rintf, __floor, __floorf): Likewise.
7475
64e21ede
RH
7476 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7477 macro to inline function.
7478 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7479
38842f45
RH
7480 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7481 not <math/math_private.h>.
7482
c64bf5fe
DM
74832012-03-08 David S. Miller <davem@davemloft.net>
7484
7485 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7486 copyright year.
7487 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7488
82d86f28
TS
74892012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7490
7491 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7492 normalization.
7493 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7494 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7495
aea5d727
UD
74962012-03-08 Ulrich Drepper <drepper@gmail.com>
7497
7498 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7499 be defined individually, they must be defined as a block. Define
7500 S for printing a string instead of hidint the different by using a
7501 macro for adding the 'l'.
7502 * stdio-common/tst-fphex-wide.c: Adjust.
7503
70bca0a3
MP
75042012-03-07 Marek Polacek <polacek@redhat.com>
7505
7506 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7507
65b81130
MP
75082012-03-08 Marek Polacek <polacek@redhat.com>
7509
7510 [BZ #13806]
7511 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7512 * stdio-common/tst-fphex.c: Define a few macros to make the
7513 test reusable. Use them.
7514 * stdio-common/tst-fphex-wide.c: New file.
7515
07037eeb
JM
75162012-03-08 Joseph Myers <joseph@codesourcery.com>
7517
a7a93d50
JM
7518 [BZ #6911]
7519 * manual/macros.texi (gnusystems): New macro.
7520 (nongnusystems): Likewise.
7521 (gnulinuxhurdsystems): Likewise.
7522 (gnuhurdsystems): Likewise..
7523 (gnulinuxsystems): Likewise.
7524 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7525 variants of the GNU system, not "GNU system".
7526 * manual/conf.texi: Likewise.
7527 * manual/errno.texi: Likewise. Update example of errno macro
7528 expansion.
7529 * manual/filesys.texi: Likewise.
7530 (getumask): Document as specific to GNU/Hurd.
7531 * manual/install.texi: Likewise. Reword some references to
7532 GNU/Linux.
7533 * manual/intro.texi: Likewise.
7534 * manual/io.texi: Likewise.
7535 (File Name Portability): Detail which constraints are inapplicable
7536 to all GNU systems and which are only inapplicable to GNU/Hurd.
7537 * manual/job.texi: Likewise.
7538 * manual/llio.texi: Likewise.
7539 (O_NOCTTY): Document as present on GNU/Linux.
7540 * manual/maint.texi: Likewise.
7541 * manual/memory.texi: Likewise.
7542 * manual/pattern.texi: Likewise.
7543 * manual/pipe.texi: Likewise.
7544 * manual/process.texi: Likewise.
7545 * manual/resource.texi: Likewise.
7546 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7547 child on GNU/Hurd.
7548 * manual/setjmp.texi: Likewise.
7549 * manual/signal.texi: Likewise.
7550 * manual/startup.texi: Likewise.
7551 * manual/stdio.texi: Likewise.
7552 * manual/terminal.texi: Likewise.
7553 (ONLCR): Document as POSIX.
7554 (OXTABS): Document availability on GNU/Linux as XTABS.
7555 (ONOEOT): Document availability separately from other bits.
7556 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7557 * manual/time.texi: Likewise.
7558 * manual/users.texi: Likewise.
7559 * INSTALL: Regenerated.
7560 * sysdeps/gnu/errlist.c: Regenerated.
7561
07037eeb
JM
7562 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7563 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7564 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7565 puts.
7566 * configure: Regenerated.
7567
d1d3431a
JM
75682012-03-07 Joseph Myers <joseph@codesourcery.com>
7569
af6a1e37
JM
7570 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7571 default includes instead of AC_HEADER_CHECK.
7572 * sysdeps/i386/configure: Regenerated.
7573
d1d3431a
JM
7574 [BZ #10716]
7575 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7576 * math/s_cacoshf.c (__cacoshf): Likewise.
7577 * math/s_cacoshl.c (__cacoshl): Likewise.
7578 * math/s_casinh.c (__casinh): Set signs of result from argument.
7579 * math/s_casinhf.c (__casinhf): Likewise.
7580 * math/s_casinhl.c (__casinhl): Likewise.
7581 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7582 (casinh_test): Add more tests.
7583 * sysdeps/i386/fpu/libm-test-ulps: Update.
7584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7585
482ff4da
UD
75862012-03-07 Ulrich Drepper <drepper@gmail.com>
7587
872fda05
UD
7588 * po/zh_TW.po: Update from translation team.
7589
a4300c7a
UD
7590 * login/Makefile (distribute): Remove variable.
7591 * catgets/Makefile: Likewise.
7592 * mach/Makefile: Likewise.
7593 * malloc/Makefile: Likewise.
7594 * misc/Makefile: Likewise.
7595 * iconv/Makefile: Likewise.
7596 * nscd/Makefile: Likewise.
7597 * hurd/Makefile: Likewise.
7598 * manual/Makefile: Likewise.
7599 * locale/Makefile: Likewise.
7600 * intl/Makefile: Likewise.
7601 * conform/Makefile: Likewise.
7602 * nss/Makefile: Likewise.
7603 * time/Makefile: Likewise.
7604 * soft-fp/Makefile: Likewise.
7605 * dirent/Makefile: Likewise.
7606 * gmon/Makefile: Likewise.
7607 * po/Makefile: Likewise.
7608 * rt/Makefile: Likewise.
7609 * socket/Makefile: Likewise.
7610 * math/Makefile: Likewise.
7611 * signal/Makefile: Likewise.
7612 * debug/Makefile: Likewise.
7613 * elf/Makefile: Likewise.
7614 * timezone/Makefile: Likewise.
7615 * stdlib/Makefile: Likewise.
7616 * iconvdata/Makefile: Likewise.
7617 * sunrpc/Makefile: Likewise.
7618 * io/Makefile: Likewise.
7619 * argp/Makefile: Likewise.
7620 * inet/Makefile: Likewise.
7621 * hesiod/Makefile: Likewise.
7622 * grp/Makefile: Likewise.
7623 * csu/Makefile: Likewise.
7624 * wctype/Makefile: Likewise.
7625 * crypt/Makefile: Likewise.
7626 * libio/Makefile: Likewise.
7627 * string/Makefile: Likewise.
7628 * nis/Makefile: Likewise.
7629 * resolv/Makefile: Likewise.
7630 * stdio-common/Makefile: Likewise.
7631 * wcsmbs/Makefile: Likewise.
7632 * dlfcn/Makefile: Likewise.
7633 * posix/Makefile: Likewise.
7634
3b7c4e74 7635 [BZ #6959]
482ff4da
UD
7636 * timezone/Makefile: Don't install timezone files, just the programs
7637 and scripts.
7638
f72ed77d
UD
76392012-03-06 Ulrich Drepper <drepper@gmail.com>
7640
a000466f
UD
7641 * nss/databases.def: Add missing gshadow entry.
7642
f72ed77d
UD
7643 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7644
a53b7a4e
MP
76452012-03-06 Marek Polacek <polacek@redhat.com>
7646
7647 [BZ #13726]
7648 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7649 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7650 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7651 * stdio-common/tst-long-dbl-fphex.c: New file.
7652
e9258400
DM
76532012-03-06 David S. Miller <davem@davemloft.net>
7654
7655 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7656 (set_obp_int): New function.
7657 (get_obp_int): New function.
7658 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7659 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7660 Avoid unused variable warnings on 'val' and use builtin_expect.
7661 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7662 __builtin_expect.
e9258400
DM
7663 (INLINE_CLONE_SYSCALL): Likewise.
7664
3bd2c723
DM
76652012-03-05 David S. Miller <davem@davemloft.net>
7666
7667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7668
bbb78d03
AS
76692012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7670
884c5db4
AS
7671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7672
bbb78d03
AS
7673 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7674 only for |x| >= 40.
7675 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7676
1c9f702a 76772012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7678
7679 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7680 Replace gettimeofday with __vdso_gettimeofday.
7681
7be16f82
RM
7682 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7683 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7684 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7685
7686 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7687 time with __vdso_time.
7688
ed58a00f
JM
76892012-03-05 Joseph Myers <joseph@codesourcery.com>
7690
7691 * manual/lang.texi (size_t): Note types to which size_t may be
7692 equivalent with the GNU C Library, but do not describe when
7693 differences between them are significant.
7694
30ee4ced
AJ
76952012-03-05 Andreas Jaeger <aj@suse.de>
7696
7697 * sysdeps/i386/fpu/libm-test-ulps: Update.
7698
b7cd39e8
JM
76992012-03-05 Joseph Myers <joseph@codesourcery.com>
7700
7701 [BZ #3976]
7702 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7703 (__ieee754_pow): Save and restore rounding mode and use
7704 round-to-nearest for main computations.
7705 * math/libm-test.inc (pow_test_tonearest): New function.
7706 (pow_test_towardzero): Likewise.
7707 (pow_test_downward): Likewise.
7708 (pow_test_upward): Likewise.
7709 (main): Call the new functions.
7710 * sysdeps/i386/fpu/libm-test-ulps: Update.
7711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7712
7713 [BZ #3976]
7714 * math/libm-test.inc (cosh_test_tonearest): New function.
7715 (cosh_test_towardzero): Likewise.
7716 (cosh_test_downward): Likewise.
7717 (cosh_test_upward): Likewise.
7718 (sinh_test_tonearest): Likewise.
7719 (sinh_test_towardzero): Likewise.
7720 (sinh_test_downward): Likewise.
7721 (sinh_test_upward): Likewise.
7722 (main): Call the new functions.
7723 * sysdeps/i386/fpu/libm-test-ulps: Update.
7724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7725
6c6a98c9
TV
77262012-03-05 Tom de Vries <tom@codesourcery.com>
7727
7728 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7729 default stack guard is set in last bytes.
7730 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7731
21bb2d2e 77322012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7733
21bb2d2e 7734 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7735
21bb2d2e
AJ
7736 [BZ #13656]
7737 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7738 possibly allocate from heap instead of stack.
7739 * stdio-common/bug-vfprintf-nargs.c: New file.
7740 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7741
c6922934
AS
77422012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7743
7744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7745
bc957d53
MP
77462012-03-03 Marek Polacek <polacek@redhat.com>
7747
7748 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7749 * math/math_private.h: Likewise.
7750 * stdlib/tst-strtod.c: Likewise.
7751 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7752 * sysdeps/x86_64/bits/atomic.h: Likewise.
7753
6358490d
DM
77542012-03-02 David S. Miller <davem@davemloft.net>
7755
7756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7760 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7761 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7762 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7763 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7764
01ae168d
RM
77652012-03-02 Roland McGrath <roland@hack.frob.com>
7766
d9a17c07
RM
7767 [BZ #13792]
7768 * manual/examples/README: New file, says the example source files
7769 can be used under GPL>=2.
7770 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7771 line containing just "*/".
7772 * manual/examples/add.c: Add copyright header (GPL>=2).
7773 * manual/examples/argp-ex1.c: Likewise.
7774 * manual/examples/argp-ex2.c: Likewise.
7775 * manual/examples/argp-ex3.c: Likewise.
7776 * manual/examples/argp-ex4.c: Likewise.
7777 * manual/examples/atexit.c: Likewise.
7778 * manual/examples/db.c: Likewise.
7779 * manual/examples/dir.c: Likewise.
7780 * manual/examples/dir2.c: Likewise.
7781 * manual/examples/execinfo.c: Likewise.
7782 * manual/examples/filecli.c: Likewise.
7783 * manual/examples/filesrv.c: Likewise.
7784 * manual/examples/fmtmsgexpl.c: Likewise.
7785 * manual/examples/genpass.c: Likewise.
7786 * manual/examples/inetcli.c: Likewise.
7787 * manual/examples/inetsrv.c: Likewise.
7788 * manual/examples/isockad.c: Likewise.
7789 * manual/examples/longopt.c: Likewise.
7790 * manual/examples/memopen.c: Likewise.
7791 * manual/examples/memstrm.c: Likewise.
7792 * manual/examples/mkfsock.c: Likewise.
7793 * manual/examples/mkisock.c: Likewise.
7794 * manual/examples/mygetpass.c: Likewise.
7795 * manual/examples/pipe.c: Likewise.
7796 * manual/examples/popen.c: Likewise.
7797 * manual/examples/rprintf.c: Likewise.
7798 * manual/examples/search.c: Likewise.
7799 * manual/examples/select.c: Likewise.
7800 * manual/examples/setjmp.c: Likewise.
7801 * manual/examples/sigh1.c: Likewise.
7802 * manual/examples/sigusr.c: Likewise.
7803 * manual/examples/stpcpy.c: Likewise.
7804 * manual/examples/strdupa.c: Likewise.
7805 * manual/examples/strftim.c: Likewise.
7806 * manual/examples/strncat.c: Likewise.
7807 * manual/examples/subopt.c: Likewise.
7808 * manual/examples/swapcontext.c: Likewise.
7809 * manual/examples/termios.c: Likewise.
7810 * manual/examples/testopt.c: Likewise.
7811 * manual/examples/testpass.c: Likewise.
7812 * manual/examples/timeval_subtract.c: Likewise.
7813
01ae168d
RM
7814 [BZ #13792]
7815 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7816 function to ...
7817 * manual/timeval_subtract.c.texi: ... here, new file.
7818
49efa33d
DM
78192012-03-02 David S. Miller <davem@davemloft.net>
7820
7821 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7822
28afd92d
JM
78232012-03-02 Joseph Myers <joseph@codesourcery.com>
7824
804360ed
JM
7825 [BZ #3976]
7826 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7827 (__sin): Save and restore rounding mode and use round-to-nearest
7828 for all computations.
7829 (__cos): Save and restore rounding mode and use round-to-nearest
7830 for all computations.
7831 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7832 <fenv.h>.
7833 (tan): Save and restore rounding mode and use round-to-nearest for
7834 all computations.
7835 * math/libm-test.inc (cos_test_tonearest): New function.
7836 (cos_test_towardzero): Likewise.
7837 (cos_test_downward): Likewise.
7838 (cos_test_upward): Likewise.
7839 (sin_test_tonearest): Likewise.
7840 (sin_test_towardzero): Likewise.
7841 (sin_test_downward): Likewise.
7842 (sin_test_upward): Likewise.
7843 (tan_test_tonearest): Likewise.
7844 (tan_test_towardzero): Likewise.
7845 (tan_test_downward): Likewise.
7846 (tan_test_upward): Likewise.
7847 (main): Call the new functions.
7848 * sysdeps/i386/fpu/libm-test-ulps: Update.
7849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7850
a6d06d7b
JM
7851 [BZ #10135]
7852 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7853 small n, then large n, before computing and testing k+n.
7854 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7855 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7856 Likewise.
7857 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7858 Likewise.
7859 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7860 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7861 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7862 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7863 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7864 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7865 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7866 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7867 * math/libm-test.inc (scalbn_test): Add more tests.
7868 (scalbln_test): Likewise.
7869
07e12bb3
JM
7870 * manual/filesys.texi (mode_t): Describe constraints on size and
7871 signedness, not exact equivalence to a particular type.
7872 (ino_t): Likewise.
7873 (ino64_t): Likewise.
7874 (dev_t): Likewise.
7875 (nlink_t): Likewise.
7876 (blkcnt_t): Likewise.
7877 (blkcnt64_t): Likewise.
7878 * manual/llio.texi (off_t): Likewise.
7879
28afd92d
JM
7880 [BZ #3976]
7881 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7882 (__ieee754_exp): Save and restore rounding mode and use
7883 round-to-nearest for all computations.
7884 * math/libm-test.inc (exp_test_tonearest): New function.
7885 (exp_test_towardzero): Likewise.
7886 (exp_test_downward): Likewise.
7887 (exp_test_upward): Likewise.
7888 (main): Call the new functions.
7889 * sysdeps/i386/fpu/libm-test-ulps: Update.
7890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7891
b1eeb65d
CD
78922012-03-01 Chris Demetriou <cgd@google.com>
7893
7894 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7895 have predictable order.
7896
53362a4b
DM
78972012-03-01 David S. Miller <davem@davemloft.net>
7898
3c969083
DM
7899 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7900
759707de
DM
7901 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7902 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7903 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7904 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7905
dfdb8ff2
DM
7906 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7907 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7908 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7910 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7911 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7912 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7913 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7914 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7915
ead89f96
DM
7916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7917
7f66bd07
DM
7918 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7919 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7920 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7921
53362a4b
DM
7922 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7923 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7924 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7925 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7926 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7927 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7928 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7929 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7930 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7931 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7932 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7933 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7934 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7935 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7936 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7937 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7938 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7939 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7940 * sysdeps/sparc/elf/configure: Regenerated.
7941
7b1902cb
JM
79422012-03-01 Joseph Myers <joseph@codesourcery.com>
7943
bec039bc
JM
7944 * configure.in (AS, LD): Require binutils 2.20 or later.
7945 * configure: Regenerated.
7946 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7947 as required minimum version.
7948 * INSTALL: Regenerated.
7949
7b1902cb
JM
7950 [BZ #2541]
7951 [BZ #4108]
7952 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7953 before squaring exponent.
7954 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7955 bottom long double and 27 bits of top long double before squaring
7956 exponent.
7957 * math/libm-test.inc (erfc_test): Add more tests.
7958 * sysdeps/i386/fpu/libm-test-ulps: Update.
7959 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7961
f775c276
KT
79622012-03-01 Kai Tietz <ktietz@redhat.com>
7963
7964 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7965 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7966 containing bit-fields.
7967 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7968 * soft-fp/single.h (_FP_UNION_S): Likewise.
7969 * soft-fp/double.h (_FP_UNION_D): Likewise.
7970
5b8a4d4a
JM
79712012-02-29 Joseph Myers <joseph@codesourcery.com>
7972
0bab47b6
JM
7973 [BZ #13786]
7974 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7975 not include ../strcmp.S.
7976 [USE_AS_STRNCASECMP_L]: Likewise.
7977 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7978 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7979 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7980 (__strncasecmp_l_ia32): Define as alias to
7981 __strncasecmp_l_nonascii.
7982
0fcad3e2
JM
7983 [BZ #5794]
7984 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7985 * sysdeps/i386/fpu/libm-test-ulps: Update.
7986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7987
5b8a4d4a
JM
7988 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7990
8fdceb2e
JL
79912012-02-29 Jeff Law <law@redhat.com>
7992
7993 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7994 out of bounds read.
7995
1f393a11
MP
79962012-02-29 Marek Polacek <polacek@redhat.com>
7997
7998 [BZ #13706]
7999 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8000 * elf/Makefile: Add rules to run tst-unused-dep.out.
8001
8847f037
DM
80022012-02-28 David S. Miller <davem@davemloft.net>
8003
8004 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8005 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8006 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8007 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8008 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8009 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8010
169d7f11
JM
80112012-02-29 Joseph Myers <joseph@codesourcery.com>
8012
8013 * math/libm-test.inc (llround_test): Move one test from
8014 lround_test. Use TEST_f_L in moved test.
8015 (lround_test): Move misplaced test to llround_test. Add testcase
8016 from bug 2561.
8017
39adf059
UD
80182012-02-28 Ulrich Drepper <drepper@gmail.com>
8019
8020 * sysdeps/x86_64/fpu/e_expf.S: New file.
8021 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8022
71b5d1c5
SB
80232012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8024
8025 [BZ #13637]
8026 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8027 of remain_len that may cause incomplete multi-byte character and
8028 false match.
8029 * posix/bug-regex33.c: New file.
8030 * posix/Makefile (tests): Add bug-regex33.
8031
1f77f049
JM
80322012-02-28 Joseph Myers <joseph@codesourcery.com>
8033
8034 * manual/macros.texi: New file.
8035 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8036 * manual/libc.texinfo: Include macros.texi.
8037 * manual/creatute.texi: Likewise.
8038 * manual/install.texi: Likewise.
8039 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8040 @glibcadj{} in references to the GNU C Library.
8041 * manual/charset.texi: Likewise.
8042 * manual/conf.texi: Likewise.
8043 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8044 when not using those macros.
8045 * manual/creature.texi: Likewise.
8046 * manual/crypt.texi: Likewise.
8047 * manual/errno.texi: Likewise.
8048 * manual/filesys.texi: Likewise.
8049 * manual/header.texi: Likewise.
8050 * manual/install.texi: Likewise.
8051 * manual/intro.texi: Likewise.
8052 * manual/io.texi: Likewise.
8053 * manual/job.texi: Likewise.
8054 * manual/lang.texi: Likewise.
8055 * manual/libc.texiinfo: Likewise.
8056 * manual/llio.texi: Likewise.
8057 * manual/locale.texi: Likewise.
8058 * manual/maint.texi: Likewise.
8059 * manual/math.texi: Likewise.
8060 * manual/memory.texi: Likewise.
8061 * manual/message.texi: Likewise.
8062 * manual/nss.texi: Likewise.
8063 * manual/pattern.texi: Likewise.
8064 * manual/process.texi: Likewise.
8065 * manual/resource.texi: Likewise.
8066 * manual/search.texi: Likewise.
8067 * manual/setjmp.texi: Likewise.
8068 * manual/signal.texi: Likewise.
8069 * manual/socket.texi: Likewise.
8070 * manual/startup.texi: Likewise.
8071 * manual/stdio.texi: Likewise.
8072 * manual/string.texi: Likewise.
8073 * manual/sysinfo.texi: Likewise.
8074 * manual/syslog.texi: Likewise.
8075 * manual/terminal.texi: Likewise.
8076 * manual/time.texi: Likewise.
8077 * manual/users.texi: Likewise.
8078 * INSTALL: Regenerated.
8079 * NOTES: Regenerated.
d40c5d54 8080 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 8081
450bf206
AS
80822012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8083
8084 * include/dirent.h: Include <dirstream.h> before
8085 <dirent/dirent.h>.
8086
741a235b
DM
80872012-02-28 David S. Miller <davem@davemloft.net>
8088
8089 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8090 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8091 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8092 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8093
d6b5aa58
DM
80942012-02-27 David S. Miller <davem@davemloft.net>
8095
1aff59a3
DM
8096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8098 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8099 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8100
d6b5aa58
DM
8101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8102 frame pointer instead of stack pointer relative arg slot.
8103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8104 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8105 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8106
433f48bf
CD
81072012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8108
8109 [BZ #3992]
8110 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8111
d674b76d
DM
81122012-02-27 David S. Miller <davem@davemloft.net>
8113
8114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8118 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8119 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8120 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8121 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8122
0e7727f7
JM
81232012-02-27 Joseph Myers <joseph@codesourcery.com>
8124
8125 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8126 later. Allow versions 5-9.
43be4ca2 8127 * configure: Regenerated.
0e7727f7
JM
8128 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8129 required minimum version and 4.6 as recommended version. Do not
8130 mention bugs in GCC 2.7 and 2.8.
43be4ca2 8131 * INSTALL: Regenerated.
0e7727f7 8132
a78bc654
DM
81332012-02-27 David S. Miller <davem@davemloft.net>
8134
428d5830
DM
8135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8139 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8140 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8141 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8142 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8143
a78bc654
DM
8144 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8145 manipulate bits before adding and subtracting TWO112[sx].
8146 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8147
4579f81c
RM
81482012-02-27 Roland McGrath <roland@hack.frob.com>
8149
36c8acb4
RM
8150 [BZ #13775]
8151 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8152 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8153 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8154 being in POSIX, because they are in 1003.1-2008.
8155
84ad622b
RM
8156 * rt/tst-aio.c: Include <fcntl.h>.
8157 * rt/tst-aio7.c: Likewise.
8158 * rt/tst-aio64.c: Likewise.
8159
4579f81c
RM
8160 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8161
abd923db
JM
81622012-02-27 Joseph Myers <joseph@codesourcery.com>
8163
8164 * manual/install.texi (--with-headers): Describe headers as
8165 interface headers, not private headers.
8166 (Specific advice for GNU/Linux systems): Describe use of headers
8167 from "make headers_install", not private headers from older
8168 kernels.
43be4ca2 8169 * INSTALL: Regenerated.
abd923db
JM
8170 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8171 Change to 2.6.19.
8172 * sysdeps/unix/sysv/linux/configure: Regenerated.
8173
6664049b
JM
8174 * manual/llio.texi (fclean): Remove documentation.
8175
bb8b6697
JM
8176 * manual/Makefile (libc-texi-generated): New variable. Include
8177 version.texi.
8178 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8179 $(libc-texi-generated), not duplicated list of files.
8180 (version.texi, stamp-version): New rules.
8181 (realclean): Remove $(libc-texi-generated), not individual files
8182 from that list. Do not remove dir-add.texinfo.
8183 * manual/libc.texinfo: Comment out uses of edition numbers and
8184 references to printed manual. Remove last-updated dates.
8185 (EDITION): Comment out.
8186 (ISBN): Likewise.
8187 (VERSION, UPDATED): Remove.
8188 (version.texi): Include.
8189
12e5c3b9
AS
81902012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8191
8192 * sysdeps/posix/spawni.c: Include <signal.h>.
8193 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8194 * sysdeps/pthread/aio_fsync.c: Likewise.
8195
4efeffc1 81962012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8197
ba63ba08
UD
8198 * conform/Makefile (tests): Run only when not cross-compiling and
8199 when fast-check is not defined.
8200
d94a4670
UD
8201 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8202 * conform/data/limits.h-data: Fixes for POSIX2008.
8203 * conform/run-conformtest.sh: Run all tests.
8204 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8205 headers.
8206 * include/bits/dlfcn.h: Likewise.
8207 * include/langinfo.h: Likewise.
8208 * include/monetary.h: Likewise.
8209 * include/sys/poll.h: Likewise.
8210
8211 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8212 for __USE_GNU.
8213 * posix/spawn.h: Define __need_sigset_t.
8214 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8215 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8216 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8217 to get sigevent_t only.
8218 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8219 only for __USE_GNU.
8220 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8221 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8222 process_vm_writev only for __USE_GNU.
8223 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8224
8225 * conform/Makefile: For now ignore errors from run-conformtest.
8226 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8227 POSIX to avoid namespace pollution. Don't prepend headers.
8228 * conform/data/aio.h-data: Fixes for POSIX testing.
8229 * conform/data/fcntl.h-data: Likewise.
8230 * conform/data/glob.h-data: Likewise.
8231 * conform/data/grp.h-data: Likewise.
8232 * conform/data/pthread.h-data: Likewise.
8233 * conform/data/pwd.h-data: Likewise.
8234 * conform/data/signal.h-data: Likewise.
8235 * conform/data/spawn.h-data: Likewise.
8236 * conform/data/stdio.h-data: Likewise.
8237 * conform/data/stdlib.h-data: Likewise.
8238 * conform/data/stropts.h-data: Likewise.
8239 * conform/data/sys/mman.h-data: Likewise.
8240 * conform/data/sys/stat.h-data: Likewise.
8241 * conform/data/sys/types.h-data: Likewise.
8242 * conform/data/sys/wait.h-data: Likewise.
8243 * conform/data/time.h-data: Likewise.
8244 * conform/data/unistd.h-data: Likewise.
8245 * conform/data/utime.h-data: Likewise.
8246
8247 * io/sys/stat.h: fchmod was always in POSIX.
8248 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8249 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8250 * rt/aio.h: Define __need_timespec before including <time.h>.
8251 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8252 struct. Add forward declaration of pthread_attr_t and use it in
8253 sigevent.
8254 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8255 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8256 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8257 always remove CLK_TCK definition.
8258
c20105c3
AS
82592012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8260
8261 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8262
7a270350
UD
82632012-02-25 Ulrich Drepper <drepper@gmail.com>
8264
31341567
UD
8265 * conform/run-conformtest.sh: New file.
8266 * conform/Makefile: Run run-conformtest for tests.
8267 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8268 support.
8269
8270 * conform/data/uchar.h-data: New file.
8271 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8272 * conform/data/arpa/inet.h-data: Likewise.
8273 * conform/data/assert.h-data: Likewise.
8274 * conform/data/complex.h-data: Likewise.
8275 * conform/data/cpio.h-data: Likewise.
8276 * conform/data/ctype.h-data: Likewise.
8277 * conform/data/dirent.h-data: Likewise.
8278 * conform/data/dlfcn.h-data: Likewise.
8279 * conform/data/errno.h-data: Likewise.
8280 * conform/data/fcntl.h-data: Likewise.
8281 * conform/data/float.h-data: Likewise.
8282 * conform/data/fmtmsg.h-data: Likewise.
8283 * conform/data/fnmatch.h-data: Likewise.
8284 * conform/data/ftw.h-data: Likewise.
8285 * conform/data/glob.h-data: Likewise.
8286 * conform/data/grp.h-data: Likewise.
8287 * conform/data/iconv.h-data: Likewise.
8288 * conform/data/inttypes.h-data: Likewise.
8289 * conform/data/langinfo.h-data: Likewise.
8290 * conform/data/libgen.h-data: Likewise.
8291 * conform/data/limits.h-data: Likewise.
8292 * conform/data/locale.h-data: Likewise.
8293 * conform/data/math.h-data: Likewise.
8294 * conform/data/monetary.h-data: Likewise.
8295 * conform/data/mqueue.h-data: Likewise.
8296 * conform/data/ndbm.h-data: Likewise.
8297 * conform/data/net/if.h-data: Likewise.
8298 * conform/data/netdb.h-data: Likewise.
8299 * conform/data/netinet/in.h-data: Likewise.
8300 * conform/data/nl_types.h-data: Likewise.
8301 * conform/data/poll.h-data: Likewise.
8302 * conform/data/pthread.h-data: Likewise.
8303 * conform/data/pwd.h-data: Likewise.
8304 * conform/data/regex.h-data: Likewise.
8305 * conform/data/sched.h-data: Likewise.
8306 * conform/data/search.h-data: Likewise.
8307 * conform/data/semaphore.h-data: Likewise.
8308 * conform/data/setjmp.h-data: Likewise.
8309 * conform/data/signal.h-data: Likewise.
8310 * conform/data/spawn.h-data: Likewise.
8311 * conform/data/stdarg.h-data: Likewise.
8312 * conform/data/stdio.h-data: Likewise.
8313 * conform/data/stdlib.h-data: Likewise.
8314 * conform/data/string.h-data: Likewise.
8315 * conform/data/strings.h-data: Likewise.
8316 * conform/data/stropts.h-data: Likewise.
8317 * conform/data/sys/ipc.h-data: Likewise.
8318 * conform/data/sys/mman.h-data: Likewise.
8319 * conform/data/sys/msg.h-data: Likewise.
8320 * conform/data/sys/resource.h-data: Likewise.
8321 * conform/data/sys/select.h-data: Likewise.
8322 * conform/data/sys/sem.h-data: Likewise.
8323 * conform/data/sys/shm.h-data: Likewise.
8324 * conform/data/sys/socket.h-data: Likewise.
8325 * conform/data/sys/stat.h-data: Likewise.
8326 * conform/data/sys/statvfs.h-data: Likewise.
8327 * conform/data/sys/time.h-data: Likewise.
8328 * conform/data/sys/timeb.h-data: Likewise.
8329 * conform/data/sys/times.h-data: Likewise.
8330 * conform/data/sys/types.h-data: Likewise.
8331 * conform/data/sys/uio.h-data: Likewise.
8332 * conform/data/sys/un.h-data: Likewise.
8333 * conform/data/sys/utsname.h-data: Likewise.
8334 * conform/data/sys/wait.h-data: Likewise.
8335 * conform/data/syslog.h-data: Likewise.
8336 * conform/data/tar.h-data: Likewise.
8337 * conform/data/termios.h-data: Likewise.
8338 * conform/data/utime.h-data: Likewise.
8339 * conform/data/utmpx.h-data: Likewise.
8340 * conform/data/varargs.h-data: Likewise.
8341 * conform/data/wchar.h-data: Likewise.
8342 * conform/data/wctype.h-data: Likewise.
8343 * conform/data/wordexp.h-data: Likewise.
8344
8345 * include/stropts.h: New file.
8346 * include/uchar.h: New file.
8347 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8348 * include/assert.h: Likewise.
8349 * include/ctype.h: Likewise.
8350 * include/dirent.h: Likewise.
8351 * include/dlfcn.h: Likewise.
8352 * include/fcntl.h: Likewise.
8353 * include/fnmatch.h: Likewise.
8354 * include/glob.h: Likewise.
8355 * include/grp.h: Likewise.
8356 * include/libio.h: Likewise.
8357 * include/locale.h: Likewise.
8358 * include/math.h: Likewise.
8359 * include/net/if.h: Likewise.
8360 * include/netdb.h: Likewise.
8361 * include/netinet/in.h: Likewise.
8362 * include/pthread.h: Likewise.
8363 * include/pwd.h: Likewise.
8364 * include/regex.h: Likewise.
8365 * include/sched.h: Likewise.
8366 * include/search.h: Likewise.
8367 * include/setjmp.h: Likewise.
8368 * include/signal.h: Likewise.
8369 * include/stdio.h: Likewise.
8370 * include/stdlib.h: Likewise.
8371 * include/string.h: Likewise.
8372 * include/sys/cdefs.h: Likewise.
8373 * include/sys/mman.h: Likewise.
8374 * include/sys/msg.h: Likewise.
8375 * include/sys/resource.h: Likewise.
8376 * include/sys/select.h: Likewise.
8377 * include/sys/socket.h: Likewise.
8378 * include/sys/stat.h: Likewise.
8379 * include/sys/statvfs.h: Likewise.
8380 * include/sys/time.h: Likewise.
8381 * include/sys/times.h: Likewise.
8382 * include/sys/uio.h: Likewise.
8383 * include/sys/utsname.h: Likewise.
8384 * include/sys/wait.h: Likewise.
8385 * include/termios.h: Likewise.
8386 * include/time.h: Likewise.
8387 * include/ulimit.h: Likewise.
8388 * include/unistd.h: Likewise.
8389 * include/utime.h: Likewise.
8390 * include/wchar.h: Likewise.
8391 * include/wctype.h: Likewise.
8392 * include/wordexp.h: Likewise.
8393
8394 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8395
7a270350
UD
8396 * time/time.h: TIME_UTC must be a macro.
8397 Make timespec_get available for ISO C11 only as well.
8398
7724defc
UD
83992012-02-24 Ulrich Drepper <drepper@gmail.com>
8400
8401 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8402 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8403
6b1d1d46
JM
84042012-02-24 Joseph Myers <joseph@codesourcery.com>
8405
8406 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8407
0f8bbd69
JM
84082012-02-24 Joseph Myers <joseph@codesourcery.com>
8409
8410 * manual/texinfo.tex: Update to version 2012-01-19.16.
8411
66ab80bc
JM
84122012-02-24 Joseph Myers <joseph@codesourcery.com>
8413
8414 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8415
74981cc5
RM
84162012-02-24 Roland McGrath <roland@hack.frob.com>
8417
ee968201
RM
8418 [BZ #13738]
8419 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8420 * manual/fdl-1.3.texi: New file.
8421 * manual/fdl-1.1.texi: File removed.
8422
74981cc5
RM
8423 [BZ #13738]
8424 * manual/libc.texinfo (FDL_VERSION): New @set.
8425 Use it for mention of FDL in cover text.
8426 (Documentation License): Use it in @include file name.
8427
7bb764bc
JM
84282012-02-22 Joseph Myers <joseph@codesourcery.com>
8429 Roland McGrath <roland@hack.frob.com>
8430
8431 [BZ #5461]
8432 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8433 not LONG_LONG_MAX and LONG_LONG_MIN.
8434 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8435 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8436 name.
8437 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8438
6cbeae47
JM
84392012-02-22 Joseph Myers <joseph@codesourcery.com>
8440
8441 [BZ #2547]
8442 [BZ #11365]
8443 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8444 manipulate bits before adding and subtracting TWO23[sx].
8445 * math/libm-test.inc (nearbyint_test): Add more tests.
8446
fe45ce09
JM
84472012-02-22 Joseph Myers <joseph@codesourcery.com>
8448
8449 [BZ #2548]
8450 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8451 bits before adding and subtracting TWO23[sx].
8452 * math/libm-test.inc (rint_test): Add more tests.
8453 (rint_test_tonearest): Likewise.
8454 (rint_test_towardzero): Likewise.
8455 (rint_test_downward): Likewise.
8456 (rint_test_upward: Likewise.
8457
ff3b3d82
JM
84582012-02-22 Joseph Myers <joseph@codesourcery.com>
8459
8460 [BZ #10110]
8461 * include/stdc-predef.h: New file. Extracted from features.h.
8462 * include/features.h: Include stdc-predef.h.
8463 * Makefile (headers): Add stdc-predef.h.
8464 * CONFORMANCE (Compiler limitations): Update.
8465
ef0aab35
JM
84662012-02-22 Joseph Myers <joseph@codesourcery.com>
8467
8468 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8469
58639409
DM
84702012-02-21 David S. Miller <davem@davemloft.net>
8471
8472 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8473 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8474
c0e70b25
DM
84752012-02-20 David S. Miller <davem@davemloft.net>
8476
8477 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8478 using a normal save/restore sequence, rather than allocating a
8479 dummy stack frame just to store a frame pointer and restore.
8480 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8481
fb06851d
JM
84822012-02-21 Joseph Myers <joseph@codesourcery.com>
8483
8484 * manual/install.texi: Fix stray word in line-wrapped comment.
8485
7a8b71c3
DM
84862012-02-20 David S. Miller <davem@davemloft.net>
8487
d510c123
DM
8488 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8489 both binutils and gcc support GOTDATA.
8490
0722d7c2
DM
8491 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8492 "rd %pc" in the PIC register setup sequences.
8493
3d2b3019
DM
8494 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8495 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8496 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8497 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8498 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8499 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8500 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8501 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8502 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8503 (SYSCALL_ERROR_HANDLER): Likewise.
8504 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8505 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8506 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8507 (SYSCALL_ERROR_HANDLER): Likewise.
8508
c80098a9
DM
8509 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8510 (HAVE_GCC_GOTDATA): New.
8511 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8512 relocation support in both binutils and gcc.
8513 * sysdeps/sparc/elf/configure: Regenerate.
8514
3a2545a0
DM
8515 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8516 * sysdeps/sparc/sparc32/elf/configure: Delete.
8517 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8518 * sysdeps/sparc/sparc64/elf/configure: Delete.
8519 * sysdeps/sparc/elf/configure.in: New file.
8520 * sysdeps/sparc/elf/configure: Generate.
8521
7a8b71c3
DM
8522 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8523 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8524 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8525 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8526 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8527
f1e86fca
JM
85282012-02-21 Joseph Myers <joseph@codesourcery.com>
8529
8530 * manual/install.texi: Do not mention specific glibc version
8531 numbers.
8532 * manual/libc.texinfo (VERSION, UPDATED): Update.
8533 (@copying): Use @copyright{} and range of years.
8534
0e7dfaef
JM
85352012-02-21 Joseph Myers <joseph@codesourcery.com>
8536
8537 [BZ #13695]
8538 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8539 [crti.S not in sysdirs] (generated): Do not append.
8540 [crti.S not in sysdirs] (omit-deps): Likewise.
8541 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8542 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8543 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8544 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8545 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8546 Likewise.
8547 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8548 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8549 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8550 * csu/defs.awk: Remove file.
8551 * sysdeps/generic/initfini.c: Likewise.
8552 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8553 variable.
8554 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8555 Likewise.
8556
599af3ca
JM
85572012-02-20 Joseph Myers <joseph@codesourcery.com>
8558
8559 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8560 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8561 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8562 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8563 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8564 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8565 <bits/epoll.h>.
8566 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8567 (__EPOLL_PACKED): Define to empty if not defined by
8568 <bits/epoll.h>.
8569 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8571 bits/epoll.h.
8572
0e499750
JM
85732012-02-20 Joseph Myers <joseph@codesourcery.com>
8574
8575 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8576 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8577 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8578 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8579 <bits/timerfd.h>.
8580 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8582 bits/timerfd.h.
8583
5ad91f6e
JM
85842012-02-20 Joseph Myers <joseph@codesourcery.com>
8585
8586 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8587 in C locale.
8588 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8589 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8590 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8592
06b99b02
AJ
85932012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8594
8595 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8596 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8597
7638c0fd
AS
85982012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8599
8600 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8601 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8602 defined.
8603 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8604 Likewise.
8605 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8606 entry for 2.16.
8607
92221550
AJ
86082012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8609
8610 * math/w_acos.c: Use non-signaling floating-point comparisons.
8611 * math/w_acosf.c: Likewise.
8612 * math/w_acosh.c: Likewise.
8613 * math/w_acoshf.c: Likewise.
8614 * math/w_acoshl.c: Likewise.
8615 * math/w_acosl.c: Likewise.
8616 * math/w_asin.c: Likewise.
8617 * math/w_asinf.c: Likewise.
8618 * math/w_asinl.c: Likewise.
8619 * math/w_atanh.c: Likewise.
8620 * math/w_atanhf.c: Likewise.
8621 * math/w_atanhl.c: Likewise.
8622 * math/w_exp2.c: Likewise.
8623 * math/w_exp2f.c: Likewise.
8624 * math/w_exp2l.c: Likewise.
8625 * math/w_j0.c: Likewise.
8626 * math/w_j0f.c: Likewise.
8627 * math/w_j0l.c: Likewise.
8628 * math/w_j1.c: Likewise.
8629 * math/w_j1f.c: Likewise.
8630 * math/w_j1l.c: Likewise.
8631 * math/w_jn.c: Likewise.
8632 * math/w_jnf.c: Likewise.
8633 * math/w_log.c: Likewise.
8634 * math/w_log10.c: Likewise.
8635 * math/w_log10f.c: Likewise.
8636 * math/w_log10l.c: Likewise.
8637 * math/w_log2.c: Likewise.
8638 * math/w_log2f.c: Likewise.
8639 * math/w_log2l.c: Likewise.
8640 * math/w_logf.c: Likewise.
8641 * math/w_logl.c: Likewise.
8642 * math/w_sqrt.c: Likewise.
8643 * math/w_sqrtf.c: Likewise.
8644 * math/w_sqrtl.c: Likewise.
8645 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8646 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8647 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8648 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8649 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8650
ebaf36eb
JM
86512012-02-19 Joseph Myers <joseph@codesourcery.com>
8652
8653 [BZ #9739]
8654 * manual/string.texi (strnlen): Use correct parameter name in
8655 equivalent expression.
8656
71c254a6
JM
86572012-02-19 Joseph Myers <joseph@codesourcery.com>
8658
8659 [BZ #11174]
8660 * manual/users.texi (seteuid): Consistently use neweuid for
8661 argument name.
8662
16d2c631
JM
86632012-02-19 Joseph Myers <joseph@codesourcery.com>
8664
8665 [BZ #13704]
8666 * manual/nss.texi (Services in the NSS configuration): Correct
8667 list of services in example configuration file.
8668
cd837b09
NB
86692012-02-19 Nick Bowler <nbowler@draconx.ca>
8670
8671 [BZ #11322]
8672 * manual/arith.texi: Remove statements about negative zero
8673 behaving identically to zero.
8674
02c4bbad
JM
86752012-02-18 Joseph Myers <joseph@codesourcery.com>
8676
8677 [BZ #5993]
8678 * manual/install.texi: Do not document upgrading from libc5.
8679
366842e7
JM
86802012-02-18 Joseph Myers <joseph@codesourcery.com>
8681
8682 [BZ #4596]
8683 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8684
dd54084d
DM
86852012-02-18 David S. Miller <davem@davemloft.net>
8686
8687 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8688 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8689 %o7 across the call.
8690 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8691 instead.
8692 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8693 SETUP_PIC_REG_LEAF.
8694 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8695 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8696 * sysdeps/sparc/crtn.S: Likewise.
8697
2bcc53a3
UD
86982012-02-17 Ulrich Drepper <drepper@gmail.com>
8699
8700 * aout/Makefile: Remove.
8701
09c093b5
RK
87022012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8703
8704 [BZ #13058]
8705 * manual/examples/argp-ex1.c (main): Format definition in GNU
8706 style.
8707 * manual/examples/argp-ex2.c (main): Likewise.
8708 * manual/examples/argp-ex3.c (main): Likewise.
8709 * manual/examples/argp-ex4.c (main): Likewise.
8710 * manual/examples/longopt.c (main): Use new-style prototype
8711 definition.
8712 * manual/examples/strncat.c (main): Specify return type and use
8713 (void) for arguments.
8714 * manual/examples/subopt.c (main): Use char **argv argument.
8715
2ee633a2
JM
87162012-02-17 Joseph Myers <joseph@codesourcery.com>
8717
8718 [BZ #5077]
8719 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8720 rounding modes.
8721
0520adde
FB
87222012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8723
8724 [BZ #6907]
8725 * manual/string.texi (strchr): Change when strchrnul is
8726 recommended.
8727
3f4081cd
DGM
87282012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8729
8730 [BZ #174]
8731 * manual/locale.texi (setlocale): Document LOCPATH.
8732
d1b10e78
JM
87332012-02-17 Joseph Myers <joseph@codesourcery.com>
8734
8735 [BZ #10210]
8736 * manual/process.texi (execle): Move @dots{} before last argument.
8737
79c6869c
PB
87382012-02-17 Paul Bolle <pebolle@tiscali.nl>
8739
8740 [BZ #12047]
8741 * manual/charset.texi (Generic Charset Conversion): Fix typo
8742 (LC_TYPE -> LC_CTYPE).
8743
cc6e48bc
NB
87442012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8745
8746 [BZ #5805]
8747 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8748 (scalbnf): Likewise.
8749 (scalbnl): Likewise.
8750 (scalbln): Likewise.
8751 (scalblnf): Likewise.
8752 (scalblnl): Likewise.
8753 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8754 (vwarnx): Likewise.
8755 (verr): Likewise.
8756 (verrx): Likewise.
8757 * manual/filesys.texi (telldir): Use braces around return type.
8758 * manual/llio.texi (mmap): Add space after comma.
8759 (mmap64): Likewise.
8760 * manual/math.texi (jn): Use @var{} on parameter names.
8761 (jnf): Likewise.
8762 (jnl): Likewise.
8763 (yn): Likewise.
8764 (ynf): Likewise.
8765 (ynl): Likewise.
8766 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8767 line.
8768 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8769 "...".
8770 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8771 (sched_get_priority_max): Likewise.
8772 * manual/signal.texi (sigvec): Add space after comma.
8773 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8774 names.
8775 (if_indextoname): Likewise.
8776 (if_freenameindex): Likewise.
8777 (sendto): Use ',' instead of '.' in prototype.
8778 * manual/startup.texi (syscall): Use @dots{} instead of literal
8779 "...".
8780 * manual/stdio.texi (__fpending): Separate initial words of
8781 paragraph from @deftypefun line.
8782 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8783 "...".
8784 (vsyslog): Use @var{} on parameter names.
8785 * manual/terminal.texi (stty): Use @var{} on parameter names.
8786 * manual/users.texi (getutmp): Use @var{} on parameter names.
8787 (getutmpx): Likewise.
8788
5b23062f
JM
87892012-02-17 Joseph Myers <joseph@codesourcery.com>
8790
8791 [BZ #6884]
8792 * manual/stdio.texi (fopen): Fix typos in description of
8793 ",ccs=STRING".
8794
8dee4833
AJ
87952012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8796
8797 [BZ #4026]
8798 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8799 get clock_id definition.
8800
9078ce93
TS
88012012-02-17 Thomas Schwinge <thomas@schwinge.name>
8802
8803 [BZ #4822]
8804 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8805 (madvise): Cast every argument to void on its own.
8806
3835c55f
JM
88072012-02-17 Joseph Myers <joseph@codesourcery.com>
8808
8809 [BZ #9902]
8810 * manual/startup.texi (Exit Status): Fix typo.
8811
35c47e37
JM
88122012-02-17 Joseph Myers <joseph@codesourcery.com>
8813
8814 [BZ #10140]
8815 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8816 * manual/examples/argp-ex2.c: Likewise.
8817 * manual/examples/argp-ex3.c: Likewise.
8818
e3b69ca7
RH
88192012-02-16 Richard Henderson <rth@redhat.com>
8820
8821 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8822 * sysdeps/s390/s390-32/initfini.c: Remove.
8823 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8824 * sysdeps/s390/s390-64/initfini.c: Remove.
8825
df83af67
KK
88262012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8827
8828 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8829 compiler output for sysdeps/generic/initfini.c.
8830 * sysdeps/sh/elf/initfini.c: Remove file.
8831
f63f3380
DM
88322012-02-16 David S. Miller <davem@davemloft.net>
8833
fb59b3a4
DM
8834 [BZ #11494]
8835 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8836
f63f3380
DM
8837 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8838 * sysdeps/sparc/crti.S: New file.
8839 * sysdeps/sparc/crtn.S: New file.
8840 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8841 * sysdeps/sparc/sparc64/Makefile: Likewise.
8842
df6a4a4a
MF
88432012-02-15 Mike Frysinger <vapier@gentoo.org>
8844
6dd8f3dc 8845 [BZ #3335]
df6a4a4a
MF
8846 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8847
1cac7236
RM
88482012-02-15 Roland McGrath <roland@hack.frob.com>
8849
d2c736f8
RM
8850 [BZ #4822]
8851 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8852
1cac7236
RM
8853 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8854 (write, read, close): Likewise.
8855 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8856
8e475601
JM
88572012-02-15 Joseph Myers <joseph@codesourcery.com>
8858
8859 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8860 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8861 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8862 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8863 <bits/signalfd.h>.
8864 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8866 bits/signalfd.h.
8867
ed656b40
MP
88682012-02-14 Marek Polacek <polacek@redhat.com>
8869
8870 * sysdeps/x86_64/crti.S: New file.
8871 * sysdeps/x86_64/crtn.S: New file.
8872 * sysdeps/x86_64/elf/initfini.c: Remove file.
8873
2a979d3a
JM
88742012-02-13 Joseph Myers <joseph@codesourcery.com>
8875
8876 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8877 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8878 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8879 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8880 <bits/inotify.h>.
8881 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8883 bits/inotify.h.
8884
2a418ac3
JM
88852012-02-13 Joseph Myers <joseph@codesourcery.com>
8886
8887 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8888 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8889 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8890 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8891 <bits/eventfd.h>.
8892 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8894 bits/eventfd.h.
8895
fb779be7
TS
88962012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8897
e19e83c5
RM
8898 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8899 __feraiseexcept instead of feraiseexcept.
7c35ffed 8900
fb779be7
TS
8901 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8902 nanosleep invocations.
8903 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8904 strings, and add error checking for a nanosleep invocations.
8905
59ba27a6
PE
89062012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8907
8908 Replace FSF snail mail address with URLs, as per GNU coding standards.
8909 Most of the snail mail addresses were wrong anyway, and omitting
8910 them makes the source code easier to maintain. Almost all of the
8911 changes are to license notices and to locale LC_IDENTIFICATION
8912 addresses, except for this one:
8913 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8914 not its snail mail address.
8915
57b957eb
RH
89162012-02-09 Richard Henderson <rth@twiddle.net>
8917
af850b1c
RH
8918 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8919 of kernel-features.h.
8920
57b957eb
RH
8921 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8922
6b73181a
MP
89232012-02-08 Marek Polacek <polacek@redhat.com>
8924
8925 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8926 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8927 * sysdeps/gnu/_G_config.h: Likewise.
8928 * sysdeps/generic/_G_config.h: Likewise.
8929
26ecc33a
AS
89302012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8931
6c6dbc63
AS
8932 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8933 tests.
8934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8935
e216c012
AS
8936 * sysdeps/powerpc/powerpc32/crti.S: New file.
8937 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8938 * sysdeps/powerpc/powerpc64/crti.S: New file.
8939 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8940
26ecc33a
AS
8941 * Makeconfig (have-initfini): Don't set.
8942 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8943 * configure.in (nopic_initfini): Don't substitute.
8944 * config.h.in (HAVE_INITFINI): Don't #undef.
8945 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8946 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8947
3add8e13
JM
89482012-02-08 Joseph Myers <joseph@codesourcery.com>
8949
8950 Support crti.S and crtn.S provided directly by architectures.
8951 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8952 [crti.S in sysdirs] (omit-deps): Likewise.
8953 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8954 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8955 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8956 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8957 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8958 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8959 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8960 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8961 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8962 compiler output for sysdeps/generic/initfini.c.
8963 * sysdeps/i386/elf/Makefile: Remove file.
8964 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8965
a22f12b4
MP
89662012-02-07 Marek Polacek <polacek@redhat.com>
8967
8968 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8969 * sysdeps/gnu/_G_config.h: Likewise.
8970 * sysdeps/mach/hurd/_G_config.h: Likewise.
8971
148cf100
MP
89722012-02-07 Marek Polacek <polacek@redhat.com>
8973
8974 * math/Makefile (tests): Add tst-CMPLX2.
8975 * math/tst-CMPLX2.c: New file.
8976
cfdc0dd7
AS
89772012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8978
84ba42c4
AS
8979 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8980
cfdc0dd7
AS
8981 * math/libm-test.inc (jn_test): Add missing L suffix.
8982
622c86f4
MP
89832012-02-06 Marek Polacek <polacek@redhat.com>
8984
8985 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8986 * sysdeps/i386/fpu/e_powf.S: Likewise.
8987 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8988 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8989 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8990 * sysdeps/i386/fpu/e_pow.S: Likewise.
8991 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8992 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8993 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8994 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8995 * sysdeps/i386/fpu/e_log2.S: Likewise.
8996 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8997 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8998 * sysdeps/i386/fpu/e_powl.S: Likewise.
8999 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9000 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9001 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9002 * sysdeps/i386/fpu/e_logl.S: Likewise.
9003 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9004 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9005 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9006 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9007 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9008 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9009 * sysdeps/i386/fpu/e_log.S: Likewise.
9010 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9011 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9012 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9013 * sysdeps/i386/fpu/e_logf.S: Likewise.
9014 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9015 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9016 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9017 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9018 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9019 * sysdeps/i386/fpu/e_log10.S: Likewise.
9020 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9021 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9022 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9023 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9024 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9025 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9026 * sysdeps/i386/asm-syntax.h: Likewise.
9027 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9028 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9029 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9030 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9031 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9032 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9033 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9034 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9035 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9036 * sysdeps/powerpc/sysdep.h: Likewise.
9037 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9038 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9039
d4a54ac6
JM
90402012-02-06 Joseph Myers <joseph@codesourcery.com>
9041
9042 [BZ #411]
9043 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9044
314054ea
JM
90452012-02-06 Joseph Myers <joseph@codesourcery.com>
9046
9047 * sysdeps/i386/sysdep.h: Include <features.h>.
9048 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9049 version.
9050
d8e0ca50
JM
90512012-02-05 Joseph Myers <joseph@codesourcery.com>
9052
9053 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9054 Define.
9055 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9056 LOAD_PIC_REG_STR.
9057
b1da7dd9
JM
90582012-02-03 Joseph Myers <joseph@codesourcery.com>
9059
9060 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9061 (SETUP_PIC_REG): Use GET_PC_THUNK.
9062 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9063 macro.
9064
9a1d9254
JM
90652012-02-03 Joseph Myers <joseph@codesourcery.com>
9066
9067 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9068 for non-PIC compilation.
9069 (SETUP_PIC_REG): Add .p2align directive.
9070 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9071 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9072 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9073 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9074 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9075 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9076 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9077 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9078 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9079 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9080 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9081 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9082 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9083 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9084 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9085 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9086 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9087 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9088 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9089 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9090 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9091 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9092 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9093 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9094 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9095 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9096 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9097 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9098 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9099 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9100 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9101 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9102 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9103 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9104 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9105 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9106 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9107 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9108 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9109 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9110 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9111
65dc3b75
JM
91122012-02-03 Joseph Myers <joseph@codesourcery.com>
9113
9114 * math/tst-CMPLX.c: Include <stdio.h>.
9115
d55bf177
JM
91162012-01-31 Joseph Myers <joseph@codesourcery.com>
9117
9118 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9119 float.
9120 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9121 * sysdeps/sparc/bits/mathdef.h: Likewise.
9122
69db4f8f
MP
91232012-01-31 Marek Polacek <polacek@redhat.com>
9124
9125 * libio/libio.h: Don't define _PARAMS.
9126 * locale/programs/config.h: Don't define PARAMS.
9127 * stdlib/strtol_l.c: Likewise.
9128 (__strtol_l): Remove PARAMS from the prototype.
9129
41b81892
UD
91302012-01-31 Ulrich Drepper <drepper@gmail.com>
9131
3b49edc0
UD
9132 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9133 names. Just use the correct names. Remove unnecessary wrapper
9134 functions.
9135 * malloc/arena.c: Likewise.
9136 * malloc/hooks.c: Likewise.
9137
41b81892
UD
9138 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9139 ARENA_TEST says not to. Simplify test for creation of a new arena.
9140 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9141
27a25b6e
UD
91422012-01-30 Ulrich Drepper <drepper@gmail.com>
9143
9144 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9145 into tail calls.
9146 (update_get_addr): New function.
9147 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9148 GET_ADDR_MODULE parameter.
9149
c8a89e7d
JM
91502012-01-30 Joseph Myers <joseph@codesourcery.com>
9151
9152 * crypt/cert.c: Remove __STDC__ conditionals.
9153 * crypt/crypt-entry.c: Likewise.
9154 * crypt/crypt_util.c: Likewise.
9155 * libio/filedoalloc.c: Likewise.
9156 * libio/fileops.c: Likewise.
9157 * libio/genops.c: Likewise.
9158 * libio/iofclose.c: Likewise.
9159 * libio/iofdopen.c: Likewise.
9160 * libio/iofopen.c: Likewise.
9161 * libio/iofopen64.c: Likewise.
9162 * libio/iogetdelim.c: Likewise.
9163 * libio/iopopen.c: Likewise.
9164 * libio/obprintf.c: Likewise.
9165 * libio/oldfileops.c: Likewise.
9166 * libio/oldiofclose.c: Likewise.
9167 * libio/oldiofdopen.c: Likewise.
9168 * libio/oldiofopen.c: Likewise.
9169 * libio/oldiopopen.c: Likewise.
9170 * libio/wfiledoalloc.c: Likewise.
9171 * libio/wgenops.c: Likewise.
9172 * locale/programs/xmalloc.c: Likewise.
9173 * misc/syslog.c: Likewise.
9174 * stdio-common/xbug.c: Likewise.
9175 * string/memchr.c: Likewise.
9176 * string/memcmp.c: Likewise.
9177 * string/memrchr.c: Likewise.
9178 * string/rawmemchr.c: Likewise.
9179 * sysdeps/posix/getcwd.c: Likewise.
9180 * time/strftime_l.c: Likewise.
9181
3b100462
JM
91822012-01-30 Joseph Myers <joseph@codesourcery.com>
9183
9184 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9185 * config.make.in (config-cflags-sse2avx): Define.
9186 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9187 Fix typo.
9188
607998af
CM
91892012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9190
9191 * scripts/config.guess: Update from upstream config git repository.
9192 * scripts/config.sub: Likewise.
9193
3601428f
CM
91942012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9195
3ac8b282
CM
9196 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9197 (EM_NUM): Update.
9198 (R_TILEPRO_*, R_TILEGX_*): New macros.
9199
e034841e
CM
9200 * scripts/firstversions.awk: Fix bug in version range handling.
9201
540d7568
CM
9202 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9203
3601428f
CM
9204 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9205
463de862
CM
9206 * include/sys/epoll.h: New file.
9207 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9208 libc_hidden_def.
9209
73139a76
UD
92102012-01-28 Ulrich Drepper <drepper@gmail.com>
9211
96bc5b45
UD
9212 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9213 Avoid unnecessary __WORDSIZE == 64 test.
9214 (fmaxf): Use VEX format if possible.
9215 (fmax): Likewise.
9216 (fminf): Likewise.
9217 (fmin): Likewise.
9218
56f6f6a2
UD
9219 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9220 * math/math_private.h: Remove libc_fegetround* and
9221 libc_fesetround*.
9222 * sysdeps/i386/configure.in: Check for -msse2avx.
9223 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9224 also if SSE2AVX is defined.
9225 Remove libc_fegetround* and libc_fesetround*.
9226 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9227 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9228 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9229 of HAS_YMM_USABLE.
9230 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9231 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9232 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9233 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9234 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9235
73139a76
UD
9236 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9237
d73f93a4
AZ
92382012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9239
9240 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9241 size is not set.
9242 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9243
6ee65ed6
UD
92442012-01-27 Ulrich Drepper <drepper@gmail.com>
9245
9246 [BZ #13618]
9247 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9248 relocation.
9249 * Makeconfig (libm): Define.
9250 * elf/Makefile: Add rules to build and run tst-relsort1.
9251 * elf/tst-relsort1.c: New file.
9252 * elf/tst-relsort1mod1.c: New file.
9253 * elf/tst-relsort1mod2.c: New file.
9254
8db21882
JM
92552012-01-27 Joseph Myers <joseph@codesourcery.com>
9256
9257 * math/s_ldexp.c: Remove __STDC__ conditionals.
9258 * math/s_ldexpf.c: Likewise.
9259 * math/s_ldexpl.c: Likewise.
9260 * math/s_nextafter.c: Likewise.
9261 * math/s_nexttowardf.c: Likewise.
9262 * math/s_significand.c: Likewise.
9263 * math/s_significandf.c: Likewise.
9264 * math/s_significandl.c: Likewise.
9265 * math/w_jnl.c: Likewise.
9266 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9267 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9268 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9269 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9270 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9271 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9272 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9273 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9274 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9275 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9276 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9277 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9278 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9279 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9280 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9281 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9282 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9283 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9284 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9285 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9286 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9287 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9288 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9289 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9290 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9291 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9292 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9293 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9294 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9295 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9296 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9297 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9298 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9299 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9300 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9301 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9302 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9303 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9304 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9305 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9306 * sysdeps/ieee754/k_standard.c: Likewise.
9307 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9308 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9309 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9310 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9311 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9312 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9313 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9314 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9315 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9316 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9317 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9318 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9319 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9320 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9321 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9322 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9323 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9324 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9325 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9326 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9327 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9328 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9329 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9330 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9331 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9332 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9333 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9334 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9335 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9336 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9337 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9338 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9339 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9340 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9341 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9342 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9343 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9344 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9345 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9346 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9347 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9348 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9349 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9351 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9352 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9353 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9354 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9355 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9356 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9357 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9358 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9359 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9360 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9361 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9362 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9363 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9364 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9365 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9366 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9367 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9368 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9369 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9370 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9371 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9372 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9373 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9374 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9375 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9376 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9377 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9378 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9379 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9380 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9381 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9382 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9383 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9384 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9385 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9386 * sysdeps/ieee754/s_matherr.c: Likewise.
9387 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9388 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9389 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9390 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9391
965a54a4
JM
93922012-01-26 Joseph Myers <joseph@codesourcery.com>
9393
9394 * crypt/md5.h: Remove __STDC__ conditionals.
9395 * libio/libioP.h: Likewise.
9396 * locale/programs/config.h: Likewise.
9397 * sysdeps/generic/sysdep.h: Likewise.
9398 * sysdeps/i386/asm-syntax.h: Likewise.
9399 * sysdeps/s390/asm-syntax.h: Likewise.
9400 * sysdeps/unix/sysdep.h: Likewise.
9401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9403
7071ad79
JM
94042012-01-26 Joseph Myers <joseph@codesourcery.com>
9405
9406 * libio/libio.h: Remove __STDC__ conditionals.
9407 * malloc/obstack.h: Likewise.
9408 * math/complex.h: Likewise.
9409 * math/math.h: Likewise.
9410 * sysdeps/generic/_G_config.h: Likewise.
9411 * sysdeps/gnu/_G_config.h: Likewise.
9412 * sysdeps/mach/hurd/_G_config.h: Likewise.
9413 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9414 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9415 * sysdeps/sparc/bits/mathdef.h: Likewise.
9416
afc5ed09
UD
94172012-01-26 Ulrich Drepper <drepper@gmail.com>
9418
9419 [BZ #13583]
9420 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9421 Clean up HAS_* macros.
afc5ed09 9422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9423 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9424 possible.
9425 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9426 HAS_AVX.
9427 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9428 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9429 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9430 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9431 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9432
bdb6de1d
JM
94332012-01-25 Joseph Myers <joseph@codesourcery.com>
9434
9435 * elf/tst-unique3.cc (gets): Remove declaration.
9436 * elf/tst-unique3lib.cc (gets): Likewise.
9437 * elf/tst-unique3lib2.cc (gets): Likewise.
9438 * elf/tst-unique4.cc (gets): Likewise.
9439
b15549e6
UD
94402012-01-24 Ulrich Drepper <drepper@gmail.com>
9441
9442 * include/stdio.h: Add C++ protection. Add gets declarations and
9443 definitions.
9444 * debug/tst-chk1.c: Don't declare gets here.
9445 * stdio-common/tst-gets.c: Likewise.
9446
a037381f
JM
94472012-01-24 Joseph Myers <joseph@codesourcery.com>
9448
9449 * posix/glob: Remove directory.
9450
f1d4aa75
JM
94512012-01-24 Joseph Myers <joseph@codesourcery.com>
9452
9453 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9454
81c0c964
PT
94552012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9456
9457 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9458 of the non-standard EPFNOSUPPORT.
9459
0ea698ae
ST
94602011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9461
9462 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9463 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9464 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9465
d220b117
UD
94662012-01-21 Ulrich Drepper <drepper@gmail.com>
9467
9468 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9469
3e1aa84e
UD
94702012-01-20 Ulrich Drepper <drepper@gmail.com>
9471
9472 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9473 transient errors.
9474 * nscd/grpcache.c (cache_addgr): Likewise.
9475 * nscd/hstcache.c (cache_addhst): Likewise.
9476 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9477 * nscd/pwdcache.c (cache_addpw): Likewise.
9478 * nscd/servicescache.c (cache_addserv): Likewise.
9479
400aa020
UD
94802012-01-16 Ulrich Drepper <drepper@gmail.com>
9481
d77e7869
UD
9482 * malloc/malloc.c: Various cleanups.
9483 * malloc/hooks.c: Likewise.
9484
400aa020
UD
9485 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9486 * stdlib/bug-fmtmsg1.c: New file.
9487
9488 * stdlib/fmtmsg.c (init): Add missing unlock.
9489 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9490
e0a309cf
MP
94912012-01-12 Marek Polacek <polacek@redhat.com>
9492
9493 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9494 and _GNU_SOURCE.
9495
929d11c7
WS
94962012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9497
9498 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9499 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9500 macro to ensure uniqueness of label name.
9501 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9502 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9503
41d0e869
UD
95042012-01-11 Ulrich Drepper <drepper@gmail.com>
9505
0cc5ed3b
UD
9506 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9507
41d0e869
UD
9508 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9509 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9510 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9511 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9512
a47a831a
UD
95132012-01-10 Ulrich Drepper <drepper@gmail.com>
9514
daa891c0
UD
9515 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9516
9517 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9518 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9519 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9520
e58ef0f2
UD
9521 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9522
a47a831a 9523 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9524 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9525 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9526 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9527
9528 * math/bits/math-finite.h: Add ldexp support.
9529
a0bfc9c7
MP
95302012-01-10 Marek Polacek <polacek@redhat.com>
9531
9532 * locale/programs/localedef.h (show_archive_content): Add noreturn
9533 attribute.
9534
d6e97a1d
UD
95352012-01-09 Ulrich Drepper <drepper@gmail.com>
9536
9537 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9538
d5835c26
UD
95392012-01-08 Ulrich Drepper <drepper@gmail.com>
9540
e5f484c6
UD
9541 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9542
d5835c26
UD
9543 * io/Makefile (headers): Add bits/poll2.h.
9544
d1f741e9
WS
95452011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9546
9547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9548 typo #include statement.
9549
ec09c1c4
UD
95502012-01-08 Ulrich Drepper <drepper@gmail.com>
9551
9552 * include/sys/cdefs.h: Define __attribute_alloc_size.
9553 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9554 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9555 * elf/pldd.c: Likewise.
9556 * iconv/iconv_charmap.c: Likewise.
9557 * iconv/iconvconfig.c: Likewise.
9558 * iconv/strtab.c: Likewise.
9559 * locale/programs/locale.c: Likewise.
9560 * locale/programs/localedef.h: Likewise.
9561 * locale/programs/simple-hash.c: Likewise.
9562 * nscd/nscd.h: Likewise.
9563 * nss/makedb.c: Likewise.
9564 * sysdeps/generic/ldconfig.h: Likewise.
9565 * locale/programs/localedef.c: Remove xmalloc prototype.
9566 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9567
20b38e03
PP
95682012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9569
9570 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9571 appropriate.
9572
a0da5fe1
UD
95732012-01-08 Ulrich Drepper <drepper@gmail.com>
9574
1d5a644a 9575 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9576 * math/tst-CMPLX.c: New file.
1d5a644a 9577
8784a6db
UD
9578 * math/complex.h (CMPLXL): Fix typo.
9579
d9a216c0
UD
9580 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9581 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9582 GLIBC_2.16.
9583 * debug/tst-chk1.c: Add poll and ppoll tests.
9584 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9585 * include/sys/poll.h: Add hidden proto for ppoll.
9586 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9587 * sysdeps/mach/hurd/ppoll.c: Likewise.
9588 * io/ppoll.c: Likewise.
9589 * debug/poll_chk.c: New file.
9590 * debug/ppoll_chk.c: New file.
9591 * include/bits/poll2.h: New file.
9592 * io/bits/poll2.h: New file.
9593
ac097f5c
UD
9594 [BZ #1350]
9595 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9596
2119dcfa
UD
9597 * configure.in: static is always set to yes. Remove.
9598 * config.make.in: Don't set build-static.
9599 * Makeconfig: Remove use of build-static.
9600 * dlfcn/Makefile: Likewise.
9601 * elf/Makefile: Likewise.
9602 * math/Makefile: Likewise.
9603 * misc/Makefile: Likewise.
9604 * nptl/Makefile: Likewise.
9605 * sysdeps/mach/hurd/Makefile: Likewise.
9606
121766a9
UD
9607 * configure.in: PWD_P is not used anymore.
9608 * config.make.in: Remove PWD_P entry.
9609
51a1d39c 9610 * configure.in: Remove last remnants of RANLIB.
8720d066 9611 No need to check for signed size_t anymore.
215f4bdc
UD
9612 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9613 and IA-64.
3857022a 9614 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9615 * aclocal.m4: Likewise.
9616
d3ed7225
UD
9617 * wcsmbs/mbrtoc16.c: Implement using towc function.
9618 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9619 * wcsmbs/wcsmbsload.c: Likewise.
9620 * iconv/gconv_simple.c: Likewise.
9621 * iconv/gconv_int.h: Likewise.
9622 * iconv/gconv_builtin.h: Likewise.
9623 * iconv/iconv_prog.c: Remove CHAR16 handling.
9624
9625 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9626
9627 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9628
a0da5fe1
UD
9629 * configure.in: Remove --with-elf and --enable-bounded options.
9630 Dont set base_machine for ia64. More non-ELF conditions removed.
9631 Remove testing and setting of leading underscore information.
9632 * config.make.in (build-bounded): Set to no.
9633 * config.h.in: Remove NO_UNDERSCORES entry.
9634 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9635 them.
9636 * csu/start.c: Remove !NO_UNDERSCORE code.
9637 * locale/localeinfo.h: Likewise.
9638 * sysdeps/generic/machine-gmon.h: Likewise.
9639 * sysdeps/generic/sysdep.h: Likewise.
9640 * sysdeps/i386/sysdep.h: Likewise.
9641 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9642 * sysdeps/mach/sysdep.h: Likewise.
9643 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9644 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9645 * sysdeps/sh/sysdep.h: Likewise.
9646 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9647 * sysdeps/unix/i386/sysdep.S: Likewise.
9648 * sysdeps/unix/sparc/start.c: Likewise.
9649 * sysdeps/unix/sparc/sysdep.S: Likewise.
9650 * sysdeps/unix/sparc/sysdep.h: Likewise.
9651 * sysdeps/unix/start.c: Likewise.
9652 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9653 * sysdeps/x86_64/sysdep.h: Likewise.
9654
df78418a
UD
96552012-01-07 Ulrich Drepper <drepper@gmail.com>
9656
a784e502
UD
9657 [BZ #13553]
9658 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9659 for non-gcc.
9660 * argp/argp-fmtstream.h: Use const instead __const.
9661 * argp/argp.h: Likewise.
9662 * assert/assert.h: Likewise.
9663 * bits/fenv.h: Likewise.
9664 * bits/sched.h: Likewise.
9665 * bits/sigset.h: Likewise.
9666 * bits/sigthread.h: Likewise.
9667 * catgets/nl_types.h: Likewise.
9668 * conform/data/pthread.h-data: Likewise.
9669 * crypt/crypt-private.h: Likewise.
9670 * crypt/crypt.h: Likewise.
9671 * crypt/crypt_util.c: Likewise.
9672 * ctype/ctype.h: Likewise.
9673 * debug/execinfo.h: Likewise.
9674 * debug/mbsnrtowcs_chk.c: Likewise.
9675 * debug/mbsrtowcs_chk.c: Likewise.
9676 * debug/wcsnrtombs_chk.c: Likewise.
9677 * debug/wcsrtombs_chk.c: Likewise.
9678 * debug/wcstombs_chk.c: Likewise.
9679 * dirent/dirent.h: Likewise.
9680 * dlfcn/dlfcn.h: Likewise.
9681 * elf/neededtest4.c: Likewise.
9682 * grp/grp.h: Likewise.
9683 * gshadow/gshadow.h: Likewise.
9684 * iconv/gconv.h: Likewise.
9685 * iconv/gconv_int.h: Likewise.
9686 * iconv/gconv_simple.c: Likewise.
9687 * iconv/iconv.h: Likewise.
9688 * iconv/loop.c: Likewise.
9689 * iconv/skeleton.c: Likewise.
9690 * include/aio.h: Likewise.
9691 * include/aliases.h: Likewise.
9692 * include/argz.h: Likewise.
9693 * include/arpa/inet.h: Likewise.
9694 * include/assert.h: Likewise.
9695 * include/dirent.h: Likewise.
9696 * include/dlfcn.h: Likewise.
9697 * include/execinfo.h: Likewise.
9698 * include/fcntl.h: Likewise.
9699 * include/fenv.h: Likewise.
9700 * include/glob.h: Likewise.
9701 * include/grp.h: Likewise.
9702 * include/libintl.h: Likewise.
9703 * include/mntent.h: Likewise.
9704 * include/netdb.h: Likewise.
9705 * include/pwd.h: Likewise.
9706 * include/rpc/netdb.h: Likewise.
9707 * include/sched.h: Likewise.
9708 * include/search.h: Likewise.
9709 * include/shadow.h: Likewise.
9710 * include/signal.h: Likewise.
9711 * include/stdio.h: Likewise.
9712 * include/stdlib.h: Likewise.
9713 * include/string.h: Likewise.
9714 * include/sys/socket.h: Likewise.
9715 * include/sys/stat.h: Likewise.
9716 * include/sys/statfs.h: Likewise.
9717 * include/sys/statvfs.h: Likewise.
9718 * include/sys/syslog.h: Likewise.
9719 * include/sys/time.h: Likewise.
9720 * include/sys/uio.h: Likewise.
9721 * include/time.h: Likewise.
9722 * include/unistd.h: Likewise.
9723 * include/utmp.h: Likewise.
9724 * include/wchar.h: Likewise.
9725 * include/wctype.h: Likewise.
9726 * inet/aliases.h: Likewise.
9727 * inet/arpa/inet.h: Likewise.
9728 * inet/netinet/ether.h: Likewise.
9729 * inet/netinet/in.h: Likewise.
9730 * intl/libintl.h: Likewise.
9731 * io/bits/fcntl2.h: Likewise.
9732 * io/fcntl.h: Likewise.
9733 * io/ftw.h: Likewise.
9734 * io/sys/poll.h: Likewise.
9735 * io/sys/stat.h: Likewise.
9736 * io/sys/statfs.h: Likewise.
9737 * io/sys/statvfs.h: Likewise.
9738 * io/utime.h: Likewise.
9739 * libio/bits/stdio.h: Likewise.
9740 * libio/bits/stdio2.h: Likewise.
9741 * libio/libio.h: Likewise.
9742 * libio/libioP.h: Likewise.
9743 * libio/stdio.h: Likewise.
9744 * locale/lc-ctype.c: Likewise.
9745 * locale/locale.h: Likewise.
9746 * login/utmp.h: Likewise.
9747 * malloc/arena.c: Likewise.
9748 * malloc/malloc.c: Likewise.
9749 * malloc/malloc.h: Likewise.
9750 * malloc/mcheck.c: Likewise.
9751 * malloc/mtrace.c: Likewise.
9752 * math/bits/mathcalls.h: Likewise.
9753 * math/fenv.h: Likewise.
9754 * math/math_private.h: Likewise.
9755 * misc/bits/error.h: Likewise.
9756 * misc/bits/syslog.h: Likewise.
9757 * misc/err.h: Likewise.
9758 * misc/error.h: Likewise.
9759 * misc/fstab.h: Likewise.
9760 * misc/mntent.h: Likewise.
9761 * misc/regexp.h: Likewise.
9762 * misc/search.h: Likewise.
9763 * misc/sgtty.h: Likewise.
9764 * misc/sys/mman.h: Likewise.
9765 * misc/sys/syslog.h: Likewise.
9766 * misc/sys/uio.h: Likewise.
9767 * misc/sys/xattr.h: Likewise.
9768 * misc/ttyent.h: Likewise.
9769 * nis/rpcsvc/ypclnt.h: Likewise.
9770 * nss/nss.h: Likewise.
9771 * posix/bits/unistd.h: Likewise.
9772 * posix/fnmatch.h: Likewise.
9773 * posix/glob.h: Likewise.
9774 * posix/sched.h: Likewise.
9775 * posix/spawn.h: Likewise.
9776 * posix/sys/wait.h: Likewise.
9777 * posix/unistd.h: Likewise.
9778 * posix/wordexp.h: Likewise.
9779 * pwd/pwd.h: Likewise.
9780 * resolv/netdb.h: Likewise.
9781 * resource/sys/resource.h: Likewise.
9782 * rt/aio.h: Likewise.
9783 * rt/bits/mqueue2.h: Likewise.
9784 * rt/mqueue.h: Likewise.
9785 * shadow/shadow.h: Likewise.
9786 * signal/signal.h: Likewise.
9787 * socket/send.c: Likewise.
9788 * socket/sendto.c: Likewise.
9789 * socket/sys/socket.h: Likewise.
9790 * stdio-common/printf.h: Likewise.
9791 * stdlib/bits/stdlib.h: Likewise.
9792 * stdlib/fmtmsg.h: Likewise.
9793 * stdlib/monetary.h: Likewise.
9794 * stdlib/stdlib.h: Likewise.
9795 * stdlib/ucontext.h: Likewise.
9796 * streams/stropts.h: Likewise.
9797 * string/argz.h: Likewise.
9798 * string/bits/string2.h: Likewise.
9799 * string/string.h: Likewise.
9800 * string/strings.h: Likewise.
9801 * sunrpc/rpc/auth.h: Likewise.
9802 * sunrpc/rpc/auth_des.h: Likewise.
9803 * sunrpc/rpc/clnt.h: Likewise.
9804 * sunrpc/rpc/netdb.h: Likewise.
9805 * sunrpc/rpc/pmap_clnt.h: Likewise.
9806 * sunrpc/rpc/xdr.h: Likewise.
9807 * sysdeps/generic/inttypes.h: Likewise.
9808 * sysdeps/generic/net/if.h: Likewise.
9809 * sysdeps/generic/sys/swap.h: Likewise.
9810 * sysdeps/gnu/net/if.h: Likewise.
9811 * sysdeps/gnu/utmpx.h: Likewise.
9812 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9813 * sysdeps/i386/i486/bits/string.h: Likewise.
9814 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9815 * sysdeps/s390/bits/string.h: Likewise.
9816 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9817 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9818 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9819 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9820 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9821 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9822 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9823 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9824 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9825 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9826 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9827 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9828 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9829 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9830 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9831 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9832 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9833 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9834 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9835 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9836 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9837 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9838 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9839 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9840 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9841 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9842 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9843 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9844 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9845 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9846 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9847 * sysvipc/sys/ipc.h: Likewise.
9848 * sysvipc/sys/msg.h: Likewise.
9849 * sysvipc/sys/sem.h: Likewise.
9850 * sysvipc/sys/shm.h: Likewise.
9851 * termios/termios.h: Likewise.
9852 * time/sys/time.h: Likewise.
9853 * time/time.h: Likewise.
9854 * wcsmbs/bits/wchar2.h: Likewise.
9855 * wcsmbs/uchar.h: Likewise.
9856 * wcsmbs/wchar.h: Likewise.
9857 * wctype/wctype.h: Likewise.
9858
0269750c
UD
9859 [BZ #13551]
9860 * Makeconfig: Remove all but ELF support including AIX support.
9861 * Makerules: Likewise.
9862 * config.h.in: Likewise.
9863 * config.make.in: Likewise.
9864 * configure: Likewise.
9865 * configure.in: Likewise.
9866 * csu/Makefile: Likewise.
9867 * csu/version.c: Likewise.
9868 * debug/Makefile: Likewise.
9869 * dlfcn/Makefile: Likewise.
9870 * elf/Makefile: Likewise.
9871 * extra-lib.mk: Likewise.
9872 * iconv/Makefile: Likewise.
9873 * include/libc-symbols.h: Likewise.
9874 * include/shlib-compat.h: Likewise.
9875 * resolv/Makefile: Likewise.
9876 * resolv/res_libc.c: Likewise.
9877 * rt/Makefile: Likewise.
9878 * sysdeps/i386/asm-syntax.h: Likewise.
9879 * sysdeps/i386/sysdep.h: Likewise.
9880 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9881 * sysdeps/mach/sysdep.h: Likewise.
9882 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9883 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9884 * sysdeps/s390/asm-syntax.h: Likewise.
9885 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9886 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9887 * sysdeps/sh/sysdep.h: Likewise.
9888 * sysdeps/unix/sparc/sysdep.h: Likewise.
9889 * sysdeps/wordsize-32/divdi3.c: Likewise.
9890 * sysdeps/x86_64/sysdep.h: Likewise.
9891
00bbd29b
UD
9892 * argp/Versions: Remove _argp_unlock_xxx.
9893
9894 [BZ #13559]
9895 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9896 * abilist/libBrokenLocale.abilist: Likewise.
9897 * abilist/libanl.abilist: Likewise.
9898 * abilist/libc.abilist: Likewise.
9899 * abilist/libcrypt.abilist: Likewise.
9900 * abilist/libdl.abilist: Likewise.
9901 * abilist/libm.abilist: Likewise.
9902 * abilist/libnsl.abilist: Likewise.
9903 * abilist/libpthread.abilist: Likewise.
9904 * abilist/libresolv.abilist: Likewise.
9905 * abilist/librt.abilist: Likewise.
9906 * abilist/libthread_db.abilist: Likewise.
9907 * abilist/libutil.abilist: Likewise.
9908 * abilist/libnss_db.abilist: New file.
9909
9910 * scripts/abilist.awk: Add support for indirect functions.
9911
a2693a0e
UD
9912 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9913
3f05895f
UD
9914 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9915
ecb6fb48
UD
9916 * shlib-versions: Remove entries for ports architectures.
9917
664f8cb9
UD
9918 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9919 files in ports.
9920 * elf/stackguard-macros.h: Remove support for IA-64.
9921 * elf/tst-auditmod1.c: Likewise.
9922 * sysdeps/generic/ldsodefs.h: Likewise.
9923
7ae81d88
UD
9924 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9925 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9926 configure files.
9927
bdeba135
UD
9928 [BZ #13552]
9929 * configure.in: Remove --enable-omitfp support.
9930 * FAQ.in: Adjust.
9931 * config.make.in: Likewise.
9932 * Makeconfig: Likewise.
9933 * manual/install.texi: Likewise.
9934
d75a0a62
UD
9935 In case anyone cares, the IA-64 architecture could move to ports.
9936 * sysdeps/ia64/*: Removed.
9937 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9938 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9939
dcc9756b
UD
9940 [BZ #13555]
9941 * configure.in: Remove entries for unsupported architectures.
9942
d3761ebc 9943 [BZ #13533]
9954432e
UD
9944 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9945 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9946 routines.
9947 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9948 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9949 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9950 fall back to using wcrtomb.
9951 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9952 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9953 renaming.
9954 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9955 * wcsmbs/tst-c16c32-1.c: New file.
9956
9957 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9958 local variable.
9959
c3a87236
UD
9960 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9961
28926a1b
UD
9962 * elf/tst-unique3.cc: Add explicit declaration of gets.
9963 * elf/tst-unique3lib.cc: Likewise.
9964 * elf/tst-unique3lib2.cc: Likewise.
9965 * elf/tst-unique4.cc: Likewise.
9966
df78418a
UD
9967 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9968
8ecd6b2a
JM
99692012-01-06 Joseph Myers <joseph@codesourcery.com>
9970
9971 [BZ #13566]
9972 * assert/assert.h (static_assert): Don't define for C++.
9973 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9974 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9975
9f115170
UD
99762012-01-03 Ulrich Drepper <drepper@gmail.com>
9977
5e0d0300
UD
9978 * iconv/loop.c (single loop): Fix assertion in storing of
9979 remaining bytes.
9980
9f115170
UD
9981 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9982
81fb02b0
UD
99832012-01-01 Ulrich Drepper <drepper@gmail.com>
9984
9985 * posix/getconf.c: Update copyright year.
9986 * nss/getent.c: Likewise.
a316c1f6 9987 * nss/makedb.c: Likewise.
81fb02b0
UD
9988 * iconv/iconvconfig.c: Likewise.
9989 * iconv/iconv_prog.c: Likewise.
9990 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9991 * elf/pldd.c: Likewise.
9992 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9993 * catgets/gencat.c: Likewise.
9994 * csu/version.c: Likewise.
9995 * elf/ldd.bash.in: Likewise.
9996 * elf/sprof.c (print_version): Likewise.
9997 * locale/programs/locale.c: Likewise.
9998 * locale/programs/localedef.c: Likewise.
a316c1f6 9999 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
10000 * nscd/nscd.c (print_version): Likewise.
10001 * debug/xtrace.sh: Likewise.
10002 * malloc/memusage.sh: Likewise.
10003 * malloc/mtrace.pl: Likewise.
10004 * debug/catchsegv.sh: Likewise.
10005
2ba92745
JJ
100062011-12-30 Jakub Jelinek <jakub@redhat.com>
10007
10008 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10009 pure attribute.
10010
dadebdae
UD
100112011-12-24 Ulrich Drepper <drepper@gmail.com>
10012
d3761ebc 10013 [BZ #13533]
db6af3eb
UD
10014 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10015 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10016 transformations.
10017 * iconv/gconv_int.h: Likewise.
10018 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10019 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10020 from libc for GLIBC_2.16.
10021 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10022 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10023 * wcsmbs/uchar.h: Really define mbstate_t.
10024 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10025 * wcsmbs/c16rtomb.c: New file.
10026 * wcsmbs/mbrtoc16.c: New file.
10027 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10028 for C/POSIX locale.
10029 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10030 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10031
dadebdae
UD
10032 * wcsmbs/wchar.h: Add missing __restrict.
10033
67371b56
UD
100342011-12-23 Ulrich Drepper <drepper@gmail.com>
10035
74033a25
UD
10036 [BZ #13532]
10037 * time/Makefile (routines): Add timespec_get.
10038 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10039 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10040 timespec for ISO C11.
10041 * time/timespec_get.c: New file.
10042 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10043 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10044
380d7e87
UD
10045 [BZ #13531]
10046 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10047 * stdlib/stdlib.h: Declare aligned_alloc.
10048 * Versions.def: Add GLIBC_2.16 for libc.
10049 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10050
4e9e7a35
UD
10051 [BZ 13527]
10052 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10053 ISO C11.
10054
380d7e87 10055 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
10056 code.
10057
03a71829
UD
10058 [BZ #13528]
10059 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10060
839e283e
UD
10061 [BZ #13529]
10062 * assert/assert.h (static_assert): Define.
10063
ce5294e2 10064 * version.h: Update for 2.16 development version.
90fa7312 10065
8d44e150 10066 [BZ #13526]
d7809905
UD
10067 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10068 _ISOC11_SOURCE.
10069
c0da14cd
UD
10070 * version.h (RELEASE): Bump for 2.15 release.
10071 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10072
530a3249
MP
10073 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10074 Patch by Marek Polacek <mpolacek@redhat.com>.
10075
67371b56
UD
10076 * bits/byteswap.h: Protect long long constants with __extension__.
10077 * sysdeps/i386/bits/byteswap.h: Likewise.
10078 * sysdeps/ia64/bits/byteswap.h: Likewise.
10079 * sysdeps/s390/bits/byteswap.h: Likewise.
10080 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10081
15db4de1
LD
100822011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10083
10084 [BZ #13540]
bbe315ea
LD
10085 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10086 destination buffer.
15db4de1
LD
10087 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10088
2b2596b1
MP
100892011-12-23 Marek Polacek <polacek@redhat.com>
10090
10091 * elf/dl-addr.c (determine_info): Add inline keyword.
10092 * elf/tst-auditmod4b.c (check_avx): Likewise.
10093 * elf/tst-auditmod6b.c (check_avx): Likewise.
10094 * elf/tst-auditmod6c.c (check_avx): Likewise.
10095 * elf/tst-auditmod7b.c (check_avx): Likewise.
10096
70c6c246
UD
100972011-12-23 Ulrich Drepper <drepper@gmail.com>
10098
10099 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10100 !__SSE_MATH__.
10101
c044cf14
LD
101022011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10103
15db4de1 10104 [BZ #13540]
c044cf14
LD
10105 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10106 processing for last bytes.
10107
6b13d9d9
BH
101082011-08-06 Bruno Haible <bruno@clisp.org>
10109
d455f537
BH
10110 [BZ #13061]
10111 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10112 U+0385, not to U+1FEE.
10113
6b13d9d9
BH
10114 [BZ #13062]
10115 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10116 entry for U+00A5 U+0301.
10117
db910efd
UD
101182011-12-22 Ulrich Drepper <drepper@gmail.com>
10119
27deeafc
UD
10120 [BZ #13166]
10121 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10122 buffer for the output is too small.
10123
aed9d171
UD
10124 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10125 optimization.
10126
db910efd
UD
10127 [BZ #13185]
10128 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10129 SSE flags if possible.
10130
2bd779ae
LD
101312011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10132
e7f9dac3 10133 [BZ #13540]
2bd779ae
LD
10134 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10135 processing for last bytes.
10136
154bfc16
JM
101372011-12-22 Joseph Myers <joseph@codesourcery.com>
10138
10139 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10140 (syscall-list-default-options, syscall-list-default-condition)
10141 (syscall-list-includes): Define.
10142 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10143 list of ABIs and options and #if conditions for each ABI. Do not
10144 handle common syscalls between ABIs specially.
10145 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10146 Remove.
10147 (syscall-list-variants, syscall-list-32bit-options)
10148 (syscall-list-32bit-condition, syscall-list-64bit-options)
10149 (syscall-list-64bit-condition): Define.
10150 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10151 (syscall-list-variants, syscall-list-32bit-options)
10152 (syscall-list-32bit-condition, syscall-list-64bit-options)
10153 (syscall-list-64bit-condition): Define.
10154 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10155 Remove.
10156 (syscall-list-variants, syscall-list-32bit-options)
10157 (syscall-list-32bit-condition, syscall-list-64bit-options)
10158 (syscall-list-64bit-condition): Define.
10159 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10160 Remove.
10161 (syscall-list-variants, syscall-list-32bit-options)
10162 (syscall-list-32bit-condition, syscall-list-64bit-options)
10163 (syscall-list-64bit-condition): Define.
10164
21eaf3a5
UD
101652011-12-22 Ulrich Drepper <drepper@gmail.com>
10166
16c6f992
UD
10167 * locale/iso-639.def: Add brx entry.
10168
41043168
UD
10169 [BZ #13328]
10170 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10171 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10172
21eaf3a5
UD
10173 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10174 __feraiseexcept_renamed.
10175
e3a851a2
UD
101762011-12-21 Ulrich Drepper <drepper@gmail.com>
10177
4920765e
UD
10178 [BZ #13538]
10179 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10180 EPOLLET with unsigned values.
10181 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10182 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10183
e3a851a2
UD
10184 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10185 to large cancellation.
10186 * math/s_cacoshf.c: Likewise.
10187 * math/s_cacoshl.c: Likewise.
10188
b27e24b8
RK
101892011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10190
10191 [BZ #13305]
aebefeee 10192 [BZ #12786]
b27e24b8
RK
10193 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10194 * math/s_cacoshf.c: Likewise.
10195 * math/s_cacoshl.c: Likewise.
10196
ee190f67
UD
101972011-12-21 Ulrich Drepper <drepper@gmail.com>
10198
10199 [BZ #13439]
10200 * iconv/gconv.h: Define __GCONV_SWAP.
10201 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10202 * iconvdata/utf-16.c: Likewise.
10203 * iconvdata/utf-32.c: Likewise.
10204
707f25df
AS
102052011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10206
10207 [BZ #13524]
10208 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10209 numerator after shifting it by one limb.
10210
d2daaa1e
RÁE
102112011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10212
10213 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10214 under [__USE_EXTERN_INLINES].
10215
a4647e72
UD
102162011-12-17 Ulrich Drepper <drepper@gmail.com>
10217
10218 [BZ #13446]
10219 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10220
f0b264f1
AZ
102212011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10222
10223 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10224 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10225 optimized code.
10226 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10227 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10228 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10229 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10230 for strncasecmp/strncasecmp_l compilation.
10231 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10232 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10233
8ef4f244
MP
102342011-12-08 Marek Polacek <mpolacek@redhat.com>
10235
10236 [BZ #13484]
10237 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10238 of __asm__.
10239
97ac2654
UD
102402011-12-17 Ulrich Drepper <drepper@gmail.com>
10241
10242 [BZ #13506]
10243 * time/tzfile.c (__tzfile_read): Check values from file header.
10244
91d2a845
WS
102452011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10246
10247 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10248 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10249 * powerpc/powerpc32/dl-start.S: Likewise.
10250 * powerpc/powerpc32/elf/start.S: Likewise.
10251 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10252 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10253 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10254 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10255 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10256 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10257 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10258 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10259 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10260 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10261 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10262 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10263 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10264 * powerpc/powerpc32/memset.S: Likewise.
10265 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10266 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10267 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10268 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10269 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10270 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10271 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10272 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10273 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10274 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10275 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10276 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10277 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10278
a1267ba1
AZ
102792011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10280
10281 * math/libm-test.inc: Added more nearbyint tests.
10282 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10283 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10284 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10285 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10286
ad8ac1bd
RL
102872011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10288
10289 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10290 FD_CLOEXEC.
10291
1d3e4b61
UD
102922011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10293
10294 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10295 Add wcscpy-ssse3 wcscpy-c.
10296 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10297 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10298 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10299 * sysdeps/x86_64/wcschr.S: New file.
10300 * sysdeps/x86_64/wcsrchr.S: New file.
10301 * string/test-strcmp.c: Remove checking of wcscmp function for
10302 wrong alignments.
10303 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10304 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10305 wcsrchr-sse2 wcsrchr-c.
10306 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10307 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10308 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10309 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10310 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10311 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10312 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10313 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10314 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10315 * wcsmbc/wcschr.c (WCSCHR): New macro.
10316
5b330a2d
UD
103172011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10318
10319 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10320 * wcsmbs/test-wcsrchr.c: New file.
10321 * string/test-strrchr.c: Add wcsrchr support.
10322 (WIDE): New macro.
10323 * wcsmbs/test-wcscpy.c: New file.
10324 * string/test-strcpy.c: Add wcscpy support.
10325 (WIDE): New macro.
26428b7c 10326
f039c043
UD
103272011-12-10 Ulrich Drepper <drepper@gmail.com>
10328
10329 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10330 the inner loop.
10331
850fb039
AS
103322011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10333
10334 [BZ #13472]
10335 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10336
4efbd5cb
UD
103372011-12-04 Ulrich Drepper <drepper@gmail.com>
10338
52ff5dd0 10339 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10340 Minor optimizations.
52ff5dd0 10341
4efbd5cb
UD
10342 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10343 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10344 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10345
8a426e12
UD
103462011-12-03 Ulrich Drepper <drepper@gmail.com>
10347
aff2453d
UD
10348 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10349 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10350 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10351 for gcc to avoid warnings.
10352 * inet/Makefile (tests): Add tst-checks.
10353 * inet/tst-checks.c: New file.
10354
10355 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10356 warning.
10357
10358 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10359 __wmemcmp_sse2.
10360
10361 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10362 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10363
8a426e12
UD
10364 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10365
9bea3473
UD
103662011-12-02 Ulrich Drepper <drepper@gmail.com>
10367
3a965496
UD
10368 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10369 problem.
10370
9bea3473
UD
10371 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10372
f101631b
UD
103732011-11-29 Joseph Myers <joseph@codesourcery.com>
10374
10375 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10376 conditional on GCC version.
10377 (__arch_compare_and_exchange_val_8_acq)
10378 (__arch_compare_and_exchange_val_16_acq)
10379 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10380 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10381 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10382
a98275aa
UD
103832011-12-02 Joseph Myers <joseph@codesourcery.com>
10384
10385 * sysdeps/sh/backtrace.c: New file.
10386
d4cc29a2
AS
103872011-12-02 Andreas Schwab <schwab@redhat.com>
10388
10389 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10390 parenthesis.
10391
6257af2d
AS
103922011-12-01 Andreas Schwab <schwab@redhat.com>
10393
10394 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10395 falling back to utime.
10396
b5f44c1a
AS
103972011-11-30 Andreas Schwab <schwab@redhat.com>
10398
10399 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10400 expectations for float.
10401
f3a6cc0a
AS
104022011-11-29 Andreas Schwab <schwab@redhat.com>
10403
10404 * locale/weight.h (findidx): Add parameter len.
10405 * locale/weightwc.h (findidx): Likewise.
10406 * posix/fnmatch_loop.c (FCT): Adjust caller.
10407 * posix/regcomp.c (build_equiv_class): Likewise.
10408 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10409 * posix/regexec.c (check_node_accept_bytes): Likewise.
10410 * string/strcoll_l.c (STRCOLL): Likewise.
10411 * string/strxfrm_l.c (STRXFRM): Likewise.
10412
9d65ea3a
UD
104132011-11-17 Ulrich Drepper <drepper@gmail.com>
10414
10415 * Makefile.in: Remove CVSOPT handling.
10416 * configure.in: Remove use of AC_REVISION.
10417 * iconvdata/Makefile (distribute): No need to filter out CVS.
10418 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10419 handling.
10420
5583a086
AS
104212011-11-16 Andreas Schwab <schwab@redhat.com>
10422
10423 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10424 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10425 [USE_AS_STRNCASECMP_L]: Likewise.
10426 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10427 NO_TLS_DIRECT_SEG_REFS.
10428 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10429 Fix argument offsets for non-PIC.
10430 [USE_AS_STRNCASECMP_L]: Likewise.
10431 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10432 NO_TLS_DIRECT_SEG_REFS.
10433
d62a8200
UD
104342011-11-15 Ulrich Drepper <drepper@gmail.com>
10435
9d65ea3a 10436 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10437 O_CLOEXEC.
10438 * locale/loadlocale.c (_nl_load_locale): Likewise.
10439
09f93bd3
AS
104402011-11-15 Andreas Schwab <schwab@redhat.com>
10441
446514f9
AS
10442 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10443 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10444 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10445 (SYSCALL_GETTIME): Set errno on error.
10446
09f93bd3
AS
10447 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10448 count references to noai6ai_cached.
10449
312be3f9
UD
104502011-11-15 Ulrich Drepper <drepper@gmail.com>
10451
10452 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10453
10454 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10455 FD_CLOEXEC for /proc/self/maps.
10456
10457 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10458 FD_CLOEXEC for /proc/meminfo.
10459
10460 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10461 gai.conf.
10462
10463 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10464 FD_CLOEXEC for given file.
10465
10466 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10467
10468 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10469 FD_CLOEXEC for /etc/hosts.
10470 (_gethtent): Likewise.
10471
10472 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10473
10474 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10475 cancellation and set FD_CLOEXEC for /etc/netgroup.
10476
10477 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10478 reading /etc/publickey.
10479
10480 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10481 allow cancellation when reading /etc/group.
10482
10483 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10484 cancellation.
10485 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10486
10487 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10488 when using data file.
10489
10490 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10491
10492 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10493 (write_nis_obj): Use "c" and "e" in fopen.
10494
10495 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10496
10497 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10498
10499 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10500
10501 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10502
10503 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10504 locale.alias.
10505
10506 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10507
10508 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10509
10510 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10511
10512 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10513 file parsing and set FD_CLOEXEC.
10514
82af0fa8
UD
105152011-11-14 Ulrich Drepper <drepper@gmail.com>
10516
10517 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10518
a5fb313c
AS
105192011-11-14 Andreas Schwab <schwab@redhat.com>
10520
10521 * malloc/arena.c (arena_get2): Don't call reused_arena when
10522 _int_new_arena failed.
10523
6abf3465
UD
105242011-11-14 Ulrich Drepper <drepper@gmail.com>
10525
10526 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10527 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10528 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10529 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10530 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10531 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10532 to compile strcasecmp and strncasecmp.
10533 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10534 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10535
10536 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10537
76e3966e
UD
105382011-11-13 Ulrich Drepper <drepper@gmail.com>
10539
10540 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10541 locale-defines.sym to gen-as-const-headers.
10542 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10543 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10544 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10545 to compile strcasecmp and strncasecmp.
10546 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10547 strcasecmp_l and strncasecmp_l.
10548 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10549 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10550 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10551 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10552 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10553 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10554 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10555 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10556 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10557 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10558 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10559
ab26144e
UD
105602011-11-12 Ulrich Drepper <drepper@gmail.com>
10561
7edb22ef
UD
10562 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10563 result of SYSDEP_GETTIME_CPU to retval.
10564 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10565 parameter list to macro. Remove trailing semicolon. Adjust users.
10566
9694fc44
UD
10567 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10568 variable.
10569
8ad89ef8
UD
10570 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10571 mantissa words.
10572 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10573
0c822ef9
UD
10574 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10575 from unused variable.
10576
874e0564
UD
10577 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10578 DWARF definitions.
10579 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10580 for assembling.
10581
3a2edc79
UD
10582 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10583 over namespaces.
10584
f3c2577f
UD
10585 * sunrpc/rpc_prot.c (rejected): Fix case value.
10586
294ce126
UD
10587 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10588 unsigned long long int to avoid warnings in shift.
10589
5e2b63c6
UD
10590 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10591 of use of trans.
10592 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10593 variable tmp.
10594
e7f4b08e
UD
10595 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10596 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10597 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10598
ab26144e
UD
10599 * nis/nis_table.c (nis_list): Use variable of correct type for
10600 result of __follow_path call.
10601
8a6d5255
AZ
106022011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10603
10604 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10605 of math functions ceil, trunc, floor, round, and sqrt, when
10606 avaliable on the platform.
10607 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10608 name clash.
10609 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10610 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10611 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10612
aaddc98c
MP
106132011-10-30 Marek Polacek <mpolacek@redhat.com>
10614
10615 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10616 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10617
95b7042b
RM
106182011-11-11 Roland McGrath <roland@hack.frob.com>
10619
10620 * include/unistd.h: Fix __readlink return type.
10621 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10622
57769839
UD
106232011-11-11 Ulrich Drepper <drepper@gmail.com>
10624
10625 * stdlib/ucontext.h: Undo last change for makecontext.
10626
edc5984d
AS
106272011-11-11 Andreas Schwab <schwab@redhat.com>
10628
98591e58
AS
10629 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10630
edc5984d
AS
10631 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10632 * setjmp/setjmp.h: Mark functions as non-leaf.
10633 * setjmp/bits/setjmp2.h: Likewise.
10634 * stdlib/ucontext.h: Likewise.
10635
77cdc054
AS
106362011-11-10 Andreas Schwab <schwab@redhat.com>
10637
10638 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10639 (reused_arena): Don't check arena limit.
10640 (arena_get2): Atomically check arena limit.
10641
fe72eebd
UD
106422011-11-08 Ulrich Drepper <drepper@gmail.com>
10643
5f078c32
UD
10644 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10645 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10646
fe72eebd
UD
10647 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10648 instructions.
10649
ae1bc2fa
AS
106502011-11-07 Andreas Schwab <schwab@redhat.com>
10651
7583a88d
AS
10652 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10653 handler when locking.
10654
ae1bc2fa
AS
10655 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10656 Fix size of allocated buffer.
10657
10fb0bfa
AS
106582011-11-04 Andreas Schwab <schwab@redhat.com>
10659
998832a4
AS
10660 [BZ #10103]
10661 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10662 declarations for long double functions.
10663 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10664
10fb0bfa
AS
10665 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10666
3d7ba52b
AS
106672011-11-03 Andreas Schwab <schwab@redhat.com>
10668
a9ae54a1
AS
10669 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10670 installed.
10671
3d7ba52b
AS
10672 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10673 is disabled.
10674
bc8db248
ST
106752011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10676
10677 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10678
45b96dd6
AS
106792011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10680
647776f6
AS
10681 * include/alloca.h (stackinfo_alloca_round): Define.
10682 (extend_alloca): Use it.
10683 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10684 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10685 here.
10686
d91a8b93
AS
10687 * scripts/check-local-headers.sh: Ignore libaudit.h.
10688
45b96dd6
AS
10689 * nscd/Makefile (extra-objs): Make recursively expanded.
10690
432d41ce
UD
106912011-11-01 Ulrich Drepper <drepper@gmail.com>
10692
34372fc6
UD
10693 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10694 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10695
fadb59f8
UD
10696 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10697 * posix/tst-rfc3484-2.c: Likewise.
10698 * posix/tst-rfc3484-3.c: Likewise.
10699
78239589
UD
10700 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10701 process_vm_writev.
10702 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10703 process_vm_writev.
10704 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10705 process_vm_writev from libc using GLIBC_2.15 version.
10706
432d41ce
UD
10707 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10708
02f9c6cf
PP
107092011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10710
10711 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10712 stack usage.
10713
3a2c0242
UD
107142011-10-31 Ulrich Drepper <drepper@gmail.com>
10715
f4ec4833
UD
10716 [BZ #13367]
10717 * nss/getent.c (initgroups_keys): Show error message in case no group
10718 names are given.
10719
3a2c0242
UD
10720 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10721 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10722 __bump_nl_timestamp.
10723 * nscd/connections (nscd_init): When host database is served open
10724 netlink socket and request notification about configuration changes.
10725 (main_loop_poll): Track netlink file descriptor and bump timestamp
10726 in case data becomes available.
10727 (main_loop_epoll): Likewise.
10728 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10729 (database_pers_head): Add extra_data fileds.
10730 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10731 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10732 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10733 Adjust caller.
10734 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10735 in6ai data, call __free_in6ai.
10736 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10737 Add -DHAVE_NETLINK.
10738 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10739 interface information. Reuse previous data if netlink timestamp
10740 is not changed.
10741 (__bump_nl_timestamp): New function.
10742 (__free_in6ai): New function.
10743
636064eb
UD
107442011-10-30 Ulrich Drepper <drepper@gmail.com>
10745
10746 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10747 close_not_cancel_no_status here.
10748 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10749
9beb2334
UD
107502011-10-29 Ulrich Drepper <drepper@gmail.com>
10751
6ef76f3b
UD
10752 [BZ #13276]
10753 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10754 return value.
10755
0ffc4f3e 10756 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10757 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10758 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10759
cb95113e
UD
107602011-07-03 Andreas Jaeger <aj@suse.de>
10761
10762 [BZ #10709]
10763 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10764 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10765 * math/libm-test.inc (sin_test): Add test case.
10766
a1b560ff
UD
107672011-10-29 Ulrich Drepper <drepper@gmail.com>
10768
c9aaface
UD
10769 [BZ #13337]
10770 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10771 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10772
d272e7f1
UD
10773 * elf/chroot_canon.c (chroot_canon): Cleanups.
10774
1bc33071
UD
10775 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10776
1760874d
TJ
10777 [BZ #13335]
10778 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10779 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10780
51d91b18
UD
10781 * string/test-strchr.c: Make usable for strchrnul testing.
10782 * string/test-strchrnul.c: New file.
10783 * string/Makefile (strop-tests): Add strchrnul.
10784
a1b560ff 10785 * po/it.po: Update from translation team.
b611fb81 10786 * po/es.po: Likewise.
a1b560ff 10787
a5b81e1f
UD
107882011-10-28 Ulrich Drepper <drepper@gmail.com>
10789
fd52bc6d
UD
10790 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10791 the three constants needed as parameters. Drop the others.
10792 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10793 __m128i_strloadu_tolower.
52e4b9eb
UD
10794 Create and initialize variable zero and use it in all the places
10795 where _mm_setzero_si128 was used.
fd52bc6d 10796
a5b81e1f
UD
10797 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10798 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10799 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10800 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10801 anymore.
10802 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10803 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10804 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10805 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10806 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10807 __mpranred, __mptan.
10808 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10809 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10810 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10811 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10812 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10813 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10814 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10815 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10816 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10817
b4343346
AS
108182011-10-28 Andreas Schwab <schwab@redhat.com>
10819
0c92d8a8
AS
10820 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10821 redefine if SHARED.
10822 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10823
b4343346
AS
10824 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10825 wide char related routines to wcsmbs subdir.
10826
3871f58f
AS
108272011-10-27 Andreas Schwab <schwab@redhat.com>
10828
10829 [BZ #13344]
10830 * misc/sys/cdefs.h (__THROWNL): Define.
10831 * posix/unistd.h: Use __THREADNL instead of __THREAD
10832 for memory synchronization functions.
10833
94d44d9f
RM
108342011-10-26 Roland McGrath <roland@hack.frob.com>
10835
21b64b15 10836 [BZ #13349]
94d44d9f
RM
10837 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10838 doesn't exist.
10839 * manual/stdio.texi (Obstack Streams): Node removed.
10840
f6ce9294
AS
108412011-10-26 Andreas Schwab <schwab@redhat.com>
10842
80479147
AS
10843 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10844 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10845 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10846
f6ce9294
AS
10847 * math/math_private.h (math_force_eval): Allow non-addressable
10848 arguments.
10849 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10850
618280a1
UD
108512011-10-25 Ulrich Drepper <drepper@gmail.com>
10852
e0016b11
UD
10853 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10854 file is not needed.
10855
10856 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10857 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10858 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10859 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10860 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10861 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10862 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10863 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10864 Add AVX variants.
10865 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10866 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10867 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10868 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10869 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10870 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10871 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10872 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10873 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10874 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10875 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10876 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10877 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10878 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10879 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10880 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10881 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10882 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10883 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10884
10885 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10886 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10887
618280a1
UD
10888 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10889 place. Use VEX encoding when compiling for AVX.
10890
37822576
AS
108912011-10-25 Andreas Schwab <schwab@redhat.com>
10892
1f1e1947
AS
10893 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10894 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10895
37822576
AS
10896 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10897
31ea014d
UD
108982011-10-25 Ulrich Drepper <drepper@gmail.com>
10899
d7826aa1 10900 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10901 useless if() expression.
d7826aa1
UD
10902 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10903 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10904 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10905 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10906 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10907 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10908 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10909 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10910 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10911 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10912 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10913 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10914 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10915 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10916 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10917 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10918 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10919 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10920 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10921
31ea014d
UD
10922 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10923
16437fec
AS
109242011-10-25 Andreas Schwab <schwab@redhat.com>
10925
10926 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10927 condition.
10928 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10929
31d3cc00
UD
109302011-10-25 Ulrich Drepper <drepper@gmail.com>
10931
10932 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10933 .text section. Avoid duplicate constants.
10934 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10935 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10936 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10937 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10938 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10939 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10940 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10941 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10942 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10943 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10944 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10945 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10946 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10947 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10948 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10949 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10950 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10951 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10952 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10953 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10954 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10955 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10956 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10957 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10958 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10959 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10960 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10961 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10962 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10963 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10964 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10965 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10966 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10967 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10968 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10969 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10970 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10971 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10972 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10973 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10974 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10975 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10976 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10977 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10978 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10979
58985aa9
UD
109802011-10-24 Ulrich Drepper <drepper@gmail.com>
10981
202c9deb
UD
10982 * sysdeps/x86_64/dla.h: Move to ...
10983 * sysdeps/x86_64/fpu/dla.h: ...here.
10984 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10985 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10986
af968f62
UD
10987 * config.make.in: Add have-mfma4 entry.
10988 * configure.in: Substitute libc_cv_cc_fma4.
10989 * math/Makefile (dbl-only-routines): Add sincostab.
10990 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10991 Use __sincostab not sincos.
10992 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10993 name is a macro.
10994 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10996 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10997 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10998 using __copysign.
10999 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11000 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11001 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11002 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11003 and __inv.
11004 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11005 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11006 __copysign.
11007 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11008 define aliases when function name is a macro.
11009 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11010 sysdeps/ieee754/dbl-64/sincos.tbl.
11011 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11012 fma4-enabled routines.
11013 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11014 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11015 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11016 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11017 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11018 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11019 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11020 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11021 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11022 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11023 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11024 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11025 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11026 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11027 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11028 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11029 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11030 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11031 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11032 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11033 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11034 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11035 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11036 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11037 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11038 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11039 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11040 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11041 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11042 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11043
58985aa9
UD
11044 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11045 rename.
11046 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11047 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11049 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11050 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11051 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11052 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11053 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11054
a201fbcf
AS
110552011-10-24 Andreas Schwab <schwab@redhat.com>
11056
11057 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11058
fc2ee42a
LD
110592011-10-23 Ulrich Drepper <drepper@gmail.com>
11060
bb3129bd
UD
11061 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11062
0275fff8
UD
11063 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11064 prediction.
11065 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11066
2fa2ae85
UD
11067 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11068 Remove unused variable magic_bits.
11069 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11070
fc2ee42a
LD
11071 * string/strnlen.c: Define and use STRNLEN macro.
11072 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11073 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11074 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11075 * wcsmbs/wcslen.c: Define and use WCSLEN.
11076 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11077 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11078 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11079 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11080 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11081 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11082 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11083
ce7dd29f
LD
110842011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11085
11086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11087 strnlen-sse2-no-bsf.
11088 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11089 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11090 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11091 Add strnlen support.
11092 (USE_AS_STRNLEN): New macro.
11093 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11094 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11095 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11096 * sysdeps/x86_64/wcslen.S: New file.
11097
979c70a3
MZ
110982011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11099
11100 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11101 XMM-moves are used for copying on small sizes.
11102
2d09f82f
LD
111032011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11104
11105 * wcsmbs/Makefile (strop-tests): Add wcschr.
11106 * wcsmbs/test-wcschr.c: New file.
11107 * string/test-strchr.c: Update.
11108 Add wcschr support.
11109 (WIDE): New macro.
11110
619fccca
LD
111112011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11112
2d09f82f 11113 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
11114 * wcsmbs/test-wcslen.c: New file.
11115 * string/test-strlen.c: Update.
11116 Add wcslen support.
11117 (WIDE): New macro.
11118
09f699ea
UD
111192011-10-23 Ulrich Drepper <drepper@gmail.com>
11120
11121 * po/it.po: Update from translation team.
11122
95584d3b
LD
111232011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11124
11125 * sysdeps/x86_64/wcscmp.S: Update.
11126 Fix wrong comparison semantics.
11127 wcscmp shall use signed comparison not unsigned.
11128 Don't use substraction to avoid overflow bug.
11129 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11130 * wcsmbc/wcscmp.c: Likewise.
11131 * string/test-strcmp.c: Likewise.
11132 Add new tests to check cases with negative values.
11133
c8b3296b
UD
111342011-10-23 Ulrich Drepper <drepper@gmail.com>
11135
11136 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11137 * sysdeps/x86_64/dla.h: ...here. New file.
11138 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11139 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11140 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11141 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11142 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11143 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11144 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11145 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11146 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11147
246ad57a
AS
111482011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11149
11150 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11151 __ynl_finite aliases.
11152
a1a87169
UD
111532011-10-22 Ulrich Drepper <drepper@gmail.com>
11154
0d355eb7
UD
11155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11156
a1a87169
UD
11157 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11158 define DLA_FMA.
11159 [DLA_FMA] (EMULV): Use DLA_FMA.
11160 [DLA_FMA] (MUL12): Use EMULV.
11161 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11162 that are not needed.
11163 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11164 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11165 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11166 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11167 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11168 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11169 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11170
ee2aafe0
AS
111712011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11172
11173 * math/s_nan.c: Undef __nan.
11174 * math/s_nanf.c: Undef __nanf.
11175 * math/s_nanl.c: Undef __nanl.
11176 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11177 "math_private.h".
11178
bc62c2fb
UD
111792011-10-22 Ulrich Drepper <drepper@gmail.com>
11180
77425c63
UD
11181 * math/s_catan.c: Add branch predictions.
11182 * math/s_catanf.c: Likewise.
11183 * math/s_catanh.c: Likewise.
11184 * math/s_catanhf.c: Likewise.
11185 * math/s_catanhl.c: Likewise.
11186 * math/s_catanl.c: Likewise.
11187 * math/s_cexp.c: Likewise.
11188 * math/s_cexpf.c: Likewise.
11189 * math/s_cexpl.c: Likewise.
11190 * math/s_clog.c: Likewise.
11191 * math/s_clog10.c: Likewise.
11192 * math/s_clog10f.c: Likewise.
11193 * math/s_clog10l.c: Likewise.
11194 * math/s_clogf.c: Likewise.
11195 * math/s_clogl.c: Likewise.
11196 * math/s_csqrt.c: Likewise.
11197 * math/s_csqrtf.c: Likewise.
11198 * math/s_csqrtl.c: Likewise.
11199 * math/s_ctanf.c: Likewise.
11200 * math/s_ctanh.c: Likewise.
11201 * math/s_ctanhf.c: Likewise.
11202 * math/s_ctanhl.c: Likewise.
11203 * math/s_ctanl.c: Likewise.
11204
bc62c2fb
UD
11205 * math/math_private.h: Define __nan, __nanf, __nanl.
11206 * math/s_cacosh.c: Include <math_private.h>.
11207 * math/s_cacoshl.c: Likewise.
11208 * math/s_casinh.c: Likewise.
11209 * math/s_casinhf.c: Likewise.
11210 * math/s_casinhl.c: Likewise.
11211 * math/s_ccos.c: Rely entire on ccosh.
11212 * math/s_ccosf.c: Rely entire on ccoshf.
11213 * math/s_ccosl.c: Rely entirely on ccoshl.
11214 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11215 Remove tests for FE_INVALID.
11216 * math/s_ccoshf.c: Likewise.
11217 * math/s_ccoshl.c: Likewise.
11218 * math/s_csin.c: Likewise.
11219 * math/s_csinf.c: Likewise.
11220 * math/s_csinh.c Likewise.
11221 * math/s_csinhf.c: Likewise.
11222 * math/s_csinhl.c: Likewise.
11223 * math/s_csinl.c: Likewise.
11224 * math/s_ctan.c: Likewise.
11225 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11226 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11227 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11228
8ec250a4
UD
112292011-10-21 Ulrich Drepper <drepper@gmail.com>
11230
c196fed8
UD
11231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11232 compilation problems.
11233
8ec250a4
UD
11234 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11235 __builtin_expect.
11236
8d4f46c6
UD
112372011-10-20 Ulrich Drepper <drepper@gmail.com>
11238
ed72b654
UD
11239 * sysdeps/i386/configure.in: Test for -mfma4 option.
11240 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11241 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11242 COMMON_CPUID_INDEX_80000001.
11243 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11244 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11245 use it if FMA3 is not supported.
11246 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11247
8d4f46c6
UD
11248 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11249 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11250
d45c60c2
AS
112512011-10-20 Andreas Schwab <schwab@redhat.com>
11252
11253 [BZ #12892]
11254 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11255 it would create a cycle with a link time dependency.
11256
d9a4d2ab
UD
112572011-10-19 Ulrich Drepper <drepper@gmail.com>
11258
855d1560
UD
11259 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11260 instruction.
11261 * string/Makefile (strop-tests): Add rawmemchr.
11262 * string/test-rawmemchr.c: New file.
11263
d9a4d2ab
UD
11264 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11265 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11266 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11267 when compiling str{,n}casecmp and when AVX is available. Hook up
11268 new optimized code in initializers.
11269
8f3b1ffe
AS
112702011-10-19 Andreas Schwab <schwab@redhat.com>
11271
11272 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11273 __feraiseexcept instead of feraiseexcept.
11274
d38f1dba
UD
112752011-10-18 Ulrich Drepper <drepper@gmail.com>
11276
d9a8d0ab
UD
11277 * math/math_private.h: Define defaults for libc_fetestexcept and
11278 libc_feupdateenv.
11279 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11280 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11281 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11282 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11283 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11284 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11285 libc_fetestexcept and libc_feupdateenv.
11286
4855e3dd
UD
11287 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11288 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11289 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11290 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11291 libc_feholdexcept_setround.
11292
581d30e3
UD
11293 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11294 Add s_nearbyint-c and s_nearbyintf-c.
11295 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11296 nearbyintf inlines.
11297 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11298 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11299 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11300 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11301
d38f1dba
UD
11302 * math/math_private.h: Define defaults for libc_fegetround,
11303 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11304 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11305 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11306 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11307 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11308 standard functions.
11309 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11310 Remove comments and hacks for old compiler versions.
11311 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11312 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11313 libc_feholdexceptl.
11314
caa6c9d8
AS
113152011-10-18 Andreas Schwab <schwab@redhat.com>
11316
11317 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11318 (__feraiseexcept_renamed): Add __NTH.
11319 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11320 namespace violations.
11321
97c066e6
UD
113222011-10-17 Ulrich Drepper <drepper@gmail.com>
11323
99ce7b04
UD
11324 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11325
1004d182
UD
11326 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11327
228a984d
UD
11328 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11329 recently added interfaces.
11330 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11331
c8553a6a
UD
11332 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11333 about macro parameter expansion.
11334
ed22dcf6
UD
11335 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11336 __NO_MATH_INLINES is defined. Cleanups.
11337
11338 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11339 and __floorf is target has SSE4.1.
11340 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11341 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11342 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11343 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11344
b171c137
UD
11345 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11346 name.
11347 (floorf): Likewise.
11348
97c066e6
UD
11349 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11350
629f62ef
AS
113512011-10-17 Andreas Schwab <schwab@redhat.com>
11352
49a43d80
AS
11353 * misc/sys/cdefs.h: Fix last change.
11354
629f62ef
AS
11355 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11356 database lookup.
11357
e453f6cd
UD
113582011-10-16 Ulrich Drepper <drepper@gmail.com>
11359
aa78043a
UD
11360 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11361
ad0f5cad
UD
11362 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11363 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11364 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11365 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11366 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11367 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11368 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11369 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11370 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11371 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11372 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11373 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11374 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11375 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11376 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11377 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11378 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11379 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11380 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11381 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11382 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11383 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11384
11385 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11386 ceil, ceilf, floor, floorf.
11387
11388 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11389 Perform IRELATIVE relocations last.
11390
e453f6cd
UD
11391 * elf/do-rel.h: Add another parameter nrelative, replacing the
11392 local variable with the same name. Change name of the function
11393 to end in Rel or Rela (uppercase).
11394 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11395 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11396 elf_dynamic_do_##reloc function.
11397
fd5bdc09
UD
113982011-10-15 Ulrich Drepper <drepper@gmail.com>
11399
79b195b5
UD
11400 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11401 is sufficient, at least on modern CPUs.
11402
d4a28569
UD
11403 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11404
b61099b5
UD
11405 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11406 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11407
bcf01e6d
UD
11408 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11409 __expl_finite.
11410 * math/bits/math-finite.h: Add entries for exp.
11411 * math/e_expl.c: Add __*_finite alias.
11412 * sysdeps/i386/fpu/e_exp.S: Likewise.
11413 * sysdeps/i386/fpu/e_expf.S: Likewise.
11414 * sysdeps/i386/fpu/e_expl.c: Likewise.
11415 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11416 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11417 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11418 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11419 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11420 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11421 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11422
ba1a0d59
UD
11423 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11424 is sufficient, at least on modern CPUs.
11425
fd5bdc09
UD
11426 * ctype/ctype-info.c (__ctype_init): Define.
11427 * include/ctype.h (__ctype_init): Declare.
11428 (__ctype_b_loc): The variable is always initialized.
11429 (__ctype_toupper_loc): Likewise.
11430 (__ctype_tolower_loc): Likewise.
11431 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11432 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11433
7872cfb0
AS
114342011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11435
b468825a
AS
11436 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11437
7872cfb0
AS
11438 * configure.in: Also look in $cxxmachine/include for C++ system
11439 headers.
11440
be13f7bf
LD
114412011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11442
11443 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11444 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11445 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11446 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11447 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11448 (USE_AS_WMEMCMP): New macro.
11449 Fixing indents.
11450 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11451 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11452 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11453 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11454 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11455 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11456 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11457 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11458 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11459 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11460 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11461 (USE_AS_WMEMCMP): New macro.
11462 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11463 * sysdeps/string/test-memcmp.c: Update.
11464 Fix simple_wmemcmp.
11465 Add new tests.
11466 * wcsmbs/wmemcmp.c: Update.
11467 (WMEMCMP): New macro.
11468 Fix overflow bug.
11469
556a2007
AJ
114702011-10-12 Andreas Jaeger <aj@suse.de>
11471
11472 [BZ #13268]
11473 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11474
538faaa7
UD
114752011-10-15 Ulrich Drepper <drepper@gmail.com>
11476
ab6737ff
UD
11477 * libio/iofwide.c (do_length): Avoid warning.
11478
538faaa7
UD
11479 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11480
396a21b1
UD
114812011-10-14 Ulrich Drepper <drepper@gmail.com>
11482
cdf2901f
UD
11483 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11484
38ad40ce
UD
11485 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11486 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11487 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11488 * sysdeps/i386/i686/fpu/e_log.S: New file.
11489 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11490 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11491
396a21b1
UD
11492 * ctype/ctype.h: Add support for inlined isXXX functions when
11493 compiling C++ code.
11494
6b1f68c9
AS
114952011-10-14 Andreas Schwab <schwab@redhat.com>
11496
349290c0
AS
11497 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11498
6b1f68c9
AS
11499 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11500
f2282d42
RM
115012011-10-13 Roland McGrath <roland@hack.frob.com>
11502
11503 [BZ #13291]
11504 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11505
5298ffa8
AS
115062011-10-13 Andreas Schwab <schwab@redhat.com>
11507
714fad23
AS
11508 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11509 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11510 feraiseexcept.
11511
81dcc7fb
AS
11512 * sysdeps/x86_64/memrchr.S: Check for zero size.
11513
5298ffa8
AS
11514 * string/stratcliff.c: Add memrchr tests.
11515
951fbcec
LD
115162011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11517
11518 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11519 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11520 rawmemchr-sse2 rawmemchr-sse2-bsf.
11521 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11522 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11523 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11524 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11525 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11526 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11527 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11528 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11529 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11530 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11531 * string/memrchr.c (MEMRCHR): New macro.
11532
0ac5ae23
UD
115332011-10-12 Ulrich Drepper <drepper@gmail.com>
11534
11535 Add integration with gcc's -ffinite-math-only and optimize wrapper
11536 functions in libm.
11537 * Versions.def: Define GLIBC_2.15 version for libm.
11538 * math/Makefile (headers): Add bits/math-finite.h.
11539 * math/bits/math-finite.h: New file.
11540 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11541 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11542 * math/e_acoshl.c: Add __*_finite alias.
11543 * math/e_acosl.c: Likewise.
11544 * math/e_asinl.c: Likewise.
11545 * math/e_atan2l.c: Likewise.
11546 * math/e_atanhl.c: Likewise.
11547 * math/e_coshl.c: Likewise.
11548 * math/e_exp10.c: Likewise.
11549 * math/e_exp10f.c: Likewise.
11550 * math/e_exp10l.c: Likewise.
11551 * math/e_exp2l.c: Likewise.
11552 * math/e_fmodl.c: Likewise.
11553 * math/e_gammal_r.c: Likewise.
11554 * math/e_hypotl.c: Likewise.
11555 * math/e_j0l.c: Likewise.
11556 * math/e_j1l.c: Likewise.
11557 * math/e_jnl.c: Likewise.
11558 * math/e_lgammal_r.c: Likewise.
11559 * math/e_log10l.c: Likewise.
11560 * math/e_log2l.c: Likewise.
11561 * math/e_logl.c: Likewise.
11562 * math/e_powl.c: Likewise.
11563 * math/e_sinhl.c: Likewise.
11564 * math/e_sqrtl.c: Likewise.
11565 * math/e_scalb.c: Completely rewritten and optimized.
11566 * math/e_scalbf.c: Likewise.
11567 * math/e_scalbl.c: Likewise.
11568 * math/w_acos.c: Likewise.
11569 * math/w_acosf.c: Likewise.
11570 * math/w_acosl.c: Likewise.
11571 * math/w_acosh.c: Likewise.
11572 * math/w_acoshf.c: Likewise.
11573 * math/w_acoshl.c: Likewise.
11574 * math/w_asin.c: Likewise.
11575 * math/w_asinf.c: Likewise.
11576 * math/w_asinl.c: Likewise.
11577 * math/w_atan2.c: Likewise.
11578 * math/w_atan2f.c: Likewise.
11579 * math/w_atan2l.c: Likewise.
11580 * math/w_atanh.c: Likewise.
11581 * math/w_atanhf.c: Likewise.
11582 * math/w_atanhl.c: Likewise.
11583 * math/w_exp10.c: Likewise.
11584 * math/w_exp10f.c: Likewise.
11585 * math/w_exp10l.c: Likewise.
11586 * math/w_fmod.c: Likewise.
11587 * math/w_fmodf.c: Likewise.
11588 * math/w_fmodl.c: Likewise.
11589 * math/w_j0.c: Likewise.
11590 * math/w_j0f.c: Likewise.
11591 * math/w_j0l.c: Likewise.
11592 * math/w_j1.c: Likewise.
11593 * math/w_j1f.c: Likewise.
11594 * math/w_j1l.c: Likewise.
11595 * math/w_jn.c: Likewise.
11596 * math/w_jnf.c: Likewise.
11597 * math/w_log.c: Likewise.
11598 * math/w_logf.c: Likewise.
11599 * math/w_logl.c: Likewise.
11600 * math/w_log10.c: Likewise.
11601 * math/w_log10f.c: Likewise.
11602 * math/w_log10l.c: Likewise.
11603 * math/w_log2.c: Likewise.
11604 * math/w_log2f.c: Likewise.
11605 * math/w_log2l.c: Likewise.
11606 * math/w_pow.c: Likewise.
11607 * math/w_powf.c: Likewise.
11608 * math/w_powl.c: Likewise.
11609 * math/w_remainder.c: Likewise.
11610 * math/w_remainderf.c: Likewise.
11611 * math/w_remainderl.c: Likewise.
11612 * math/w_scalb.c: Likewise.
11613 * math/w_scalbf.c: Likewise.
11614 * math/w_scalbl.c: Likewise.
11615 * math/w_sqrt.c: Likewise.
11616 * math/w_sqrtf.c: Likewise.
11617 * math/w_sqrtl.c: Likewise.
11618 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11619 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11620 used.
11621 * math/math_private.h: Declare __kernel_standard_f.
11622 * math/w_cosh.c: Remove cruft and optimize a bit.
11623 * math/w_coshf.c: Likewise.
11624 * math/w_coshl.c: Likewise.
11625 * math/w_exp2.c: Likewise.
11626 * math/w_exp2f.c: Likewise.
11627 * math/w_exp2l.c: Likewise.
11628 * math/w_hypot.c: Likewise.
11629 * math/w_hypotf.c: Likewise.
11630 * math/w_hypotl.c: Likewise.
11631 * math/w_lgamma.c: Likewise.
11632 * math/w_lgamma_r.c: Likewise.
11633 * math/w_lgammaf.c: Likewise.
11634 * math/w_lgammaf_r.c: Likewise.
11635 * math/w_lgammal.c: Likewise.
11636 * math/w_lgammal_r.c: Likewise.
11637 * math/w_sinh.c: Likewise.
11638 * math/w_sinhf.c: Likewise.
11639 * math/w_sinhl.c: Likewise.
11640 * math/w_tgamma.c: Likewise.
11641 * math/w_tgammaf.c: Likewise.
11642 * math/w_tgammal.c: Likewise.
11643 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11644 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11645 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11646 Minor optimizations. Pretty printing. Remove cruft.
11647 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11648 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11649 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11650 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11651 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11652 * sysdeps/i386/fpu/e_asin.S: Likewise.
11653 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11654 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11655 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11656 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11657 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11658 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11659 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11660 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11661 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11662 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11663 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11664 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11665 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11666 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11667 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11668 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11669 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11670 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11671 * sysdeps/i386/fpu/e_log.S: Likewise.
11672 * sysdeps/i386/fpu/e_log10.S: Likewise.
11673 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11674 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11675 * sysdeps/i386/fpu/e_log2.S: Likewise.
11676 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11677 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11678 * sysdeps/i386/fpu/e_logf.S: Likewise.
11679 * sysdeps/i386/fpu/e_logl.S: Likewise.
11680 * sysdeps/i386/fpu/e_pow.S: Likewise.
11681 * sysdeps/i386/fpu/e_powf.S: Likewise.
11682 * sysdeps/i386/fpu/e_powl.S: Likewise.
11683 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11684 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11685 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11686 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11687 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11688 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11689 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11690 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11691 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11692 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11693 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11694 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11695 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11696 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11697 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11698 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11699 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11700 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11701 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11702 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11703 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11704 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11705 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11706 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11707 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11708 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11709 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11710 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11711 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11712 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11713 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11714 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11715 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11716 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11717 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11718 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11719 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11720 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11721 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11722 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11723 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11724 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11725 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11726 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11727 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11728 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11729 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11730 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11731 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11732 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11733 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11734 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11735 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11736 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11737 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11738 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11739 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11740 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11741 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11742 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11743 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11744 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11745 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11746 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11747 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11748 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11749 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11750 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11751 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11752 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11753 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11754 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11755 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11756 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11757 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11758 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11759 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11760 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11761 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11762 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11763 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11764 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11765 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11766 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11767 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11768 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11769 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11770 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11771 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11772 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11773 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11774 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11775 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11776 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11777 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11778 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11779 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11780 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11781 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11782 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11783 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11784 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11785 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11786 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11787 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11788 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11789 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11790 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11791 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11792 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11793 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11794 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11795 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11796 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11797 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11798 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11799 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11800 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11801 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11802 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11803 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11804 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11805 (__isnanf): Likewise.
11806 (__isinf_ns): Likewise.
11807 (__isinf_nsf): Likewise.
11808 (__finite): Likewise.
11809 (__finitef): Likewise.
11810 (__ieee754_sqrt): Define as macro.
11811 (__ieee754_sqrtf): Define as macro.
11812 (__ieee754_sqrtl): Define as macro.
11813 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11814 inlined copy.
11815 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11816 __FINITE_MATH_ONLY__ consistent.
11817 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11818
12cc2fcd
AS
118192011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11820
a843a204
AS
11821 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11822 of rawmemchr.
11823
12cc2fcd
AS
11824 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11825
c853acd5
UD
118262011-10-09 Ulrich Drepper <drepper@gmail.com>
11827
11828 * po/ja.po: Update from translation team.
11829
c658d255
RM
118302011-10-08 Roland McGrath <roland@hack.frob.com>
11831
110946e4
RM
11832 * locale/programs/locarchive.c (prepare_address_space): New function.
11833 (create_archive, enlarge_archive, open_archive): Use it.
11834
50604220
RM
11835 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11836 inside [SHARED], where it is used.
11837
c658d255
RM
11838 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11839
11840 * nss/getent.c (netgroup_keys): Remove unused variable.
11841 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11842
6a621eb7
UD
118432011-10-08 Ulrich Drepper <drepper@gmail.com>
11844
7edb55ce
UD
11845 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11846 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11847 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11848 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11849 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11850 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11851 * math/Makefile (libm-calls): Add s_isinf_ns.
11852 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11853 * math/multc3.c: Likewise.
11854 * math/s_casin.c: Likewise.
11855 * math/s_casinf.c: Likewise.
11856 * math/s_casinl.c: Likewise.
11857 * math/s_ccos.c: Likewise.
11858 * math/s_ccosf.c: Likewise.
11859 * math/s_ccosl.c: Likewise.
11860 * math/s_ctan.c: Likewise.
11861 * math/s_ctanf.c: Likewise.
11862 * math/s_ctanh.c: Likewise.
11863 * math/s_ctanhf.c: Likewise.
11864 * math/s_ctanhl.c: Likewise.
11865 * math/s_ctanl.c: Likewise.
11866 * math/w_fmod.c: Likewise.
11867 * math/w_fmodf.c: Likewise.
11868 * math/w_fmodl.c: Likewise.
11869 * math/w_remainder.c: Likewise.
11870 * math/w_remainderf.c: Likewise.
11871 * math/w_remainderl.c: Likewise.
11872 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11873 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11874 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11875 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11876 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11877 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11878 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11879 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11880
187da0ae
UD
11881 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11882 of the number.
11883 * stdio-common/printf_fphex.c: Likewise.
11884 * stdio-common/printf_size.c: Likewise.
11885
9277c064
UD
11886 * math/e_exp10.c: Include math_private.h using <...> not "...".
11887 * math/e_exp10f.c: Likewise.
11888 * math/e_exp10l.c: Likewise.
11889 * math/e_exp2l.c: Likewise.
11890 * math/e_j0l.c: Likewise.
11891 * math/e_j1l.c: Likewise.
11892 * math/e_jnl.c: Likewise.
11893 * math/e_lgammal_r.c: Likewise.
11894 * math/e_rem_pio2l.c: Likewise.
11895 * math/e_scalb.c: Likewise.
11896 * math/e_scalbf.c: Likewise.
11897 * math/e_scalbl.c: Likewise.
11898 * math/k_cosl.c: Likewise.
11899 * math/k_sinl.c: Likewise.
11900 * math/k_tanl.c: Likewise.
11901 * math/s_cacoshf.c: Likewise.
11902 * math/s_catan.c: Likewise.
11903 * math/s_catanf.c: Likewise.
11904 * math/s_catanh.c: Likewise.
11905 * math/s_catanhf.c: Likewise.
11906 * math/s_catanhl.c: Likewise.
11907 * math/s_catanl.c: Likewise.
11908 * math/s_ccosh.c: Likewise.
11909 * math/s_ccoshf.c: Likewise.
11910 * math/s_ccoshl.c: Likewise.
11911 * math/s_cexp.c: Likewise.
11912 * math/s_cexpf.c: Likewise.
11913 * math/s_cexpl.c: Likewise.
11914 * math/s_clog.c: Likewise.
11915 * math/s_clog10.c: Likewise.
11916 * math/s_clog10f.c: Likewise.
11917 * math/s_clog10l.c: Likewise.
11918 * math/s_clogf.c: Likewise.
11919 * math/s_clogl.c: Likewise.
11920 * math/s_csin.c: Likewise.
11921 * math/s_csinf.c: Likewise.
11922 * math/s_csinh.c: Likewise.
11923 * math/s_csinhf.c: Likewise.
11924 * math/s_csinhl.c: Likewise.
11925 * math/s_csinl.c: Likewise.
11926 * math/s_csqrt.c: Likewise.
11927 * math/s_csqrtf.c: Likewise.
11928 * math/s_csqrtl.c: Likewise.
11929 * math/s_ctan.c: Likewise.
11930 * math/s_ctanf.c: Likewise.
11931 * math/s_ctanh.c: Likewise.
11932 * math/s_ctanhf.c: Likewise.
11933 * math/s_ctanhl.c: Likewise.
11934 * math/s_ctanl.c: Likewise.
11935 * math/s_ldexp.c: Likewise.
11936 * math/s_ldexpf.c: Likewise.
11937 * math/s_ldexpl.c: Likewise.
11938 * math/s_significand.c: Likewise.
11939 * math/s_significandf.c: Likewise.
11940 * math/s_significandl.c: Likewise.
11941 * math/w_acos.c: Likewise.
11942 * math/w_acosf.c: Likewise.
11943 * math/w_acosh.c: Likewise.
11944 * math/w_acoshf.c: Likewise.
11945 * math/w_acoshl.c: Likewise.
11946 * math/w_acosl.c: Likewise.
11947 * math/w_asin.c: Likewise.
11948 * math/w_asinf.c: Likewise.
11949 * math/w_asinl.c: Likewise.
11950 * math/w_atan2.c: Likewise.
11951 * math/w_atan2f.c: Likewise.
11952 * math/w_atan2l.c: Likewise.
11953 * math/w_atanh.c: Likewise.
11954 * math/w_atanhf.c: Likewise.
11955 * math/w_atanhl.c: Likewise.
11956 * math/w_cosh.c: Likewise.
11957 * math/w_coshf.c: Likewise.
11958 * math/w_coshl.c: Likewise.
11959 * math/w_dremf.c: Likewise.
11960 * math/w_exp10.c: Likewise.
11961 * math/w_exp10f.c: Likewise.
11962 * math/w_exp10l.c: Likewise.
11963 * math/w_exp2.c: Likewise.
11964 * math/w_exp2f.c: Likewise.
11965 * math/w_fmod.c: Likewise.
11966 * math/w_fmodf.c: Likewise.
11967 * math/w_fmodl.c: Likewise.
11968 * math/w_hypot.c: Likewise.
11969 * math/w_hypotf.c: Likewise.
11970 * math/w_hypotl.c: Likewise.
11971 * math/w_j0.c: Likewise.
11972 * math/w_j0f.c: Likewise.
11973 * math/w_j0l.c: Likewise.
11974 * math/w_j1.c: Likewise.
11975 * math/w_j1f.c: Likewise.
11976 * math/w_j1l.c: Likewise.
11977 * math/w_jn.c: Likewise.
11978 * math/w_jnf.c: Likewise.
11979 * math/w_jnl.c: Likewise.
11980 * math/w_lgamma.c: Likewise.
11981 * math/w_lgamma_r.c: Likewise.
11982 * math/w_lgammaf.c: Likewise.
11983 * math/w_lgammaf_r.c: Likewise.
11984 * math/w_lgammal.c: Likewise.
11985 * math/w_lgammal_r.c: Likewise.
11986 * math/w_log.c: Likewise.
11987 * math/w_log10.c: Likewise.
11988 * math/w_log10f.c: Likewise.
11989 * math/w_log10l.c: Likewise.
11990 * math/w_log2.c: Likewise.
11991 * math/w_log2f.c: Likewise.
11992 * math/w_log2l.c: Likewise.
11993 * math/w_logf.c: Likewise.
11994 * math/w_logl.c: Likewise.
11995 * math/w_pow.c: Likewise.
11996 * math/w_powf.c: Likewise.
11997 * math/w_powl.c: Likewise.
11998 * math/w_remainder.c: Likewise.
11999 * math/w_remainderf.c: Likewise.
12000 * math/w_remainderl.c: Likewise.
12001 * math/w_scalb.c: Likewise.
12002 * math/w_scalbf.c: Likewise.
12003 * math/w_scalbl.c: Likewise.
12004 * math/w_sinh.c: Likewise.
12005 * math/w_sinhf.c: Likewise.
12006 * math/w_sinhl.c: Likewise.
12007 * math/w_sqrt.c: Likewise.
12008 * math/w_sqrtf.c: Likewise.
12009 * math/w_sqrtl.c: Likewise.
12010 * math/w_tgamma.c: Likewise.
12011 * math/w_tgammaf.c: Likewise.
12012 * math/w_tgammal.c: Likewise.
12013
6a621eb7
UD
12014 * po/ja.po: Update from translation team.
12015
bf582445
AJ
120162011-09-29 Andreas Jaeger <aj@suse.de>
12017
f9efbf3a
AJ
12018 [BZ #13179]
12019 * sunrpc/netname.c (netname2host): Fix logic.
12020
bf582445
AJ
12021 [BZ #6779]
12022 [BZ #6783]
12023 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12024 correctly.
12025 * math/w_remainder.c (__remainder): Likewise.
12026 * math/w_remainderf.c (__remainderf): Likewise.
12027 * math/libm-test.inc (remainder_test): Add test cases.
12028
48693bea
AK
120292011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12030
12031 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12032 sdiv_qrnnd.
12033
42622229
LD
120342011-10-07 Ulrich Drepper <drepper@gmail.com>
12035
12036 * string/test-memcmp.c: Avoid unncessary #defines.
12037 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12038
093ecf92
LD
120392011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12040
12041 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12042 Use new sse2 version for core i3 - i7 as it's faster
12043 than sse42 version.
12044 (bit_Prefer_PMINUB_for_stringop): New.
12045 * sysdeps/x86_64/rawmemchr.S: Update.
12046 Replace with faster SSE2 version.
12047 * sysdeps/x86_64/memrchr.S: New file.
12048 * sysdeps/x86_64/memchr.S: Update.
12049 Replace with faster SSE2 version.
12050
fde56e5c
MP
120512011-09-12 Marek Polacek <mpolacek@redhat.com>
12052
12053 * elf/dl-load.c (lose): Add cast to avoid warning.
12054
21fd49a9
UD
120552011-10-07 Ulrich Drepper <drepper@gmail.com>
12056
5a06e643
UD
12057 * po/ca.po: Update from translation team.
12058
684ae515
UD
12059 * inet/getnetgrent_r.c: Hook up nscd.
12060 * nscd/Makefile (routines): Add nscd_netgroup.
12061 (nscd-modules): Add netgroupcache.
12062 (CFLAGS-netgroupcache.c): Define.
12063 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12064 (cache_search): Add const to second parameter.
12065 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12066 INNETGR.
12067 (dbs): Add netgrdb entry.
12068 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12069 (verify_persistent_db): Handle netgrdb.
12070 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12071 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12072 GETFDNETGR.
12073 (netgroup_response_header): Define.
12074 (innetgroup_response_header): Define.
12075 (datahead): Add netgroup_response_header and innetgroup_response_header
12076 elements.
12077 * nscd/nscd.conf: Add entries for netgroup cache.
12078 * nscd/nscd.h (dbtype): Add netgrdb.
12079 (_PATH_NSCD_NETGROUP_DB): Define.
12080 (netgroup_iov_disabled): Declare.
12081 (xmalloc, xcalloc, xrealloc): Move declarations here.
12082 (cache_search): Adjust prototype.
12083 Add netgroup-related prototypes.
12084 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12085 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12086 (__nscd_innetgr): Declare.
12087 * nscd/selinux.c (perms): Use access_vector_t as element type and
12088 add netgroup-related initializers.
12089 * nscd/netgroupcache.c: New file.
12090 * nscd/nscd_netgroup.c: New file.
12091 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12092 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12093 For four parameters use innetgr.
12094 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12095 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12096 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12097 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12098
21fd49a9
UD
12099 * nscd/connections.c (register_traced_file): Don't register file
12100 for disabled databases.
12101
054c0457
UD
121022011-10-06 Ulrich Drepper <drepper@gmail.com>
12103
32b63198
UD
12104 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12105
054c0457
UD
12106 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12107 from tree and freeing node.
12108
64031225
JO
121092011-09-25 Jiri Olsa <jolsa@redhat.com>
12110
12111 * nss/nsswitch.c (__nss_database_lookup): Handle
12112 nss_parse_service_list out of memory case.
12113
0490345c
JO
121142011-09-15 Jiri Olsa <jolsa@redhat.com>
12115
12116 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12117 out of memory case.
12118
3a62d00d
AS
121192011-10-04 Andreas Schwab <schwab@redhat.com>
12120
12121 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12122 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12123 pass it down.
12124 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12125 elf_machine_rela, elf_machine_lazy_rel.
12126 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12127 (ELF_DYNAMIC_DO_REL): Likewise.
12128 (ELF_DYNAMIC_DO_RELA): Likewise.
12129 (ELF_DYNAMIC_RELOCATE): Likewise.
12130 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12131 to ELF_DYNAMIC_DO_REL.
12132 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12133 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12134 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12135 elf_machine_rela.
12136 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12137 skip_ifunc, don't call ifunc function if non-zero.
12138 (elf_machine_rela): Likewise.
12139 (elf_machine_lazy_rel): Likewise.
12140 (elf_machine_lazy_rela): Likewise.
12141 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12142 (elf_machine_lazy_rel): Likewise.
12143 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12144 Likewise.
12145 (elf_machine_lazy_rel): Likewise.
12146 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12147 Likewise.
12148 (elf_machine_lazy_rel): Likewise.
12149 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12150 (elf_machine_lazy_rel): Likewise.
12151 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12152 (elf_machine_lazy_rel): Likewise.
12153 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12154 (elf_machine_lazy_rel): Likewise.
12155 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12156 (elf_machine_lazy_rel): Likewise.
12157 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12158 (elf_machine_lazy_rel): Likewise.
12159 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12160 (elf_machine_lazy_rel): Likewise.
12161
68577918
UD
121622011-09-28 Ulrich Drepper <drepper@gmail.com>
12163
12164 * nss/nss_files/files-init.c (_nss_files_init): Use static
12165 initialization for all the *_traced_file variables.
12166
68822d74
AS
121672011-09-28 Andreas Schwab <schwab@redhat.com>
12168
12169 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12170
2056100b
RM
121712011-09-27 Roland McGrath <roland@hack.frob.com>
12172
12173 [BZ #13226]
12174 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12175
32c76b63
AS
121762011-09-27 Andreas Schwab <schwab@redhat.com>
12177
12178 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12179 Reread the line before reparsing it.
12180
bf972c9d
AS
121812011-09-26 Andreas Schwab <schwab@redhat.com>
12182
12183 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12184
e057a1b5
JM
121852011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12186 Maxim Kuvyrkov <maxim@codesourcery.com>
12187 Joseph Myers <joseph@codesourcery.com>
12188
12189 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12190 if needed for __stack_chk_guard.
12191
bc7e1c36
RM
121922011-09-19 Roland McGrath <roland@hack.frob.com>
12193
ecb1482f
RM
12194 * sysdeps/posix/spawni.c (script_execute): Always define it.
12195 It will be optimized away if unused.
12196 (maybe_script_execute): New function.
12197 (__spawni): Call it.
12198
bc7e1c36
RM
12199 * Makerules: Don't include tls.make.
12200 (config-tls): Always set to thread.
12201 * tls.make.c: File removed.
12202
1c3b002b
MF
122032011-09-19 Mike Frysinger <vapier@gentoo.org>
12204
12205 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12206 * config.make.in (CPPFLAGS-config): New substituted variable.
12207
2840865d
UD
122082011-09-15 Ulrich Drepper <drepper@gmail.com>
12209
88738eb6
UD
12210 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12211
cbf645a6 12212 [BZ #13192]
2840865d
UD
12213 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12214 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12215
b402e91a
RM
122162011-09-15 Roland McGrath <roland@hack.frob.com>
12217
12218 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12219 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12220 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12221 (CALL_FAIL): Likewise.
12222 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12223 (CALL_FAIL): Macro removed.
12224 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12225
4c1a1f71
UD
122262011-09-15 Ulrich Drepper <drepper@gmail.com>
12227
12228 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12229 for __FINITE_MATH_ONLY__ == 1.
12230
edc121be
AS
122312011-09-15 Andreas Schwab <schwab@redhat.com>
12232
12233 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12234 __ieee754_sqrt instead of sqrt.
12235 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12236 __ieee754_sqrtf instead of sqrtf.
12237 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12238 __floorf instead of floorf.
12239 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12240 __floorf, __truncf instead of floorf, truncf.
12241
cd205654
UD
122422011-09-14 Ulrich Drepper <drepper@gmail.com>
12243
ee4d0315
UD
12244 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12245
cd205654
UD
12246 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12247 __extern_always_inline.
12248 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12249 32-bit.
12250
48b67d71
AS
122512011-09-14 Andreas Schwab <schwab@redhat.com>
12252
12253 * elf/rtld.c (dl_main): Also relocate in dependency order when
12254 doing symbol dependency testing.
12255
1ae12c75
AS
122562011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12257
12258 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12259 Always define `refsym'.
12260
995a80df
AS
122612011-09-13 Andreas Schwab <schwab@redhat.com>
12262
e529793b
AS
12263 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12264 (__FD_ELT): Renamed from __FDELT.
12265 * misc/bits/select2.h (__FD_ELT): Likewise.
12266 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12267 __FD_MASK instead of __FDELT, __FDMASK.
12268 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12269 Likewise.
12270 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12271 Likewise.
12272
52d4fef8
AS
12273 * elf/Makefile (gen-ldd): Fix pattern.
12274
995a80df
AS
12275 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12276 (init_tls): Likewise.
12277
8682f8b0
UD
122782011-09-12 Ulrich Drepper <drepper@gmail.com>
12279
12280 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12281
de82006d
AS
122822011-09-12 Andreas Schwab <schwab@redhat.com>
12283
a7c8e6a1
AS
12284 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12285 `struct cmsghdr *' instead of `void *'.
12286 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12287 Likewise.
12288
0f31fe77
AS
122892011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12290
12291 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12292 if non-absolute.
12293 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12294 ldd_rewrite_script.
0f31fe77 12295
32b4c839
UD
122962011-09-11 Ulrich Drepper <drepper@gmail.com>
12297
83cd1420
UD
12298 * configure.in: Remove --with-tls option.
12299 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12300 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12301 out in case it is missing.
12302 * sysdeps/ia64/elf/configure.in: Likewise.
12303 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12304 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12305 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12306 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12307 * sysdeps/sh/elf/configure.in: Likewise.
12308 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12309 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12310 * sysdeps/x86_64/elf/configure.in: Likewise.
12311 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12312 * sysdeps/mach/hurd/tls.h: Likewise.
12313
633f745d
UD
12314 [BZ #13067]
12315 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12316
f318beb8
UD
12317 [BZ #13090]
12318 * configure.in: Fix use of AC_INIT.
12319
32b4c839
UD
12320 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12321
3ce1f295
UD
123222011-09-10 Ulrich Drepper <drepper@gmail.com>
12323
bb016596
UD
12324 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12325 __set_errno.
8e58439c
UD
12326 * malloc/hooks.c: Likewise.
12327
aebae053 12328 [BZ #11929]
02d46fc4
UD
12329 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12330 variables statically.
12331 (narenas): Initialize.
12332 (list_lock): Initialize.
bb016596
UD
12333 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12334 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12335 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12336 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12337 Add initializers to main_arena and mp_.
12338 (malloc_state): Remove pagesize member. Change all users to use
12339 GLRO(dl_pagesize).
12340
12341 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12342 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12343 is always initialized.
12344
22a89187
UD
12345 * malloc/malloc.c: Removed unused configurations and dead code.
12346 * malloc/arena.c: Likewise.
12347 * malloc/hooks.c: Likewise.
02d46fc4 12348 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12349
d063d164
UD
12350 * include/tls.h: Removed. USE___THREAD must always be defined.
12351 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12352 * elf/dl-libc.c: Likewise.
12353 * elf/dl-tsd.c: Likewise.
12354 * include/errno.h: Likewise.
12355 * include/netdb.h: Likewise.
12356 * include/resolv.h: Likewise.
12357 * inet/herrno-loc.c: Likewise.
12358 * inet/herrno.c: Likewise.
12359 * malloc/arena.c: Likewise.
12360 * malloc/hooks.c: Likewise.
12361 * malloc/malloc.c: Likewise.
12362 * resolv/res-state.c: Likewise.
12363 * resolv/res_libc.c: Likewise.
12364 * sysdeps/i386/dl-machine.h: Likewise.
12365 * sysdeps/ia64/dl-machine.h: Likewise.
12366 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12367 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12368 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12369 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12370 * sysdeps/sh/dl-machine.h: Likewise.
12371 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12372 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12373 * sysdeps/unix/i386/sysdep.S: Likewise.
12374 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12375 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12376 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12377 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12378 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12379 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12380 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12381 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12383 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12384 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12385 * sysdeps/x86_64/dl-machine.h: Likewise.
12386 * tls.make.c: Likewise.
12387
3ce1f295
UD
12388 * configure.in: Remove --with-__thread option. Make tests for
12389 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12390 tls_model attribute fail if no support is available. Remove
12391 USE_IN_LIBIO.
12392 * Makeconfig: Adjust for dropped configure option. All features are
12393 now mandatory.
12394 * Makerules: Likewise.
12395 * Versions.def: Likewise.
12396 * argp/argp-fmtstream.c: Likewise.
12397 * argp/argp-fmtstream.h: Likewise.
12398 * argp/argp-help.c: Likewise.
12399 * assert/assert.c: Likewise.
12400 * config.h.in: Likewise.
12401 * config.make.in: Likewise.
12402 * configure: Likewise.
12403 * configure.in: Likewise.
12404 * csu/Versions: Likewise.
12405 * csu/init.c: Likewise.
12406 * elf/tst-audit2.c: Likewise.
12407 * elf/tst-tls10.c: Likewise.
12408 * elf/tst-tls10.h: Likewise.
12409 * elf/tst-tls11.c: Likewise.
12410 * elf/tst-tls12.c: Likewise.
12411 * elf/tst-tls14.c: Likewise.
12412 * elf/tst-tlsmod11.c: Likewise.
12413 * elf/tst-tlsmod12.c: Likewise.
12414 * elf/tst-tlsmod13.c: Likewise.
12415 * elf/tst-tlsmod13a.c: Likewise.
12416 * elf/tst-tlsmod14a.c: Likewise.
12417 * elf/tst-tlsmod15b.c: Likewise.
12418 * elf/tst-tlsmod16a.c: Likewise.
12419 * elf/tst-tlsmod16b.c: Likewise.
12420 * elf/tst-tlsmod7.c: Likewise.
12421 * elf/tst-tlsmod8.c: Likewise.
12422 * elf/tst-tlsmod9.c: Likewise.
12423 * gmon/gmon.c: Likewise.
12424 * grp/fgetgrent_r.c: Likewise.
12425 * grp/putgrent.c: Likewise.
12426 * hurd/fopenport.c: Likewise.
12427 * include/libc-symbols.h: Likewise.
12428 * include/tls.h: Likewise.
12429 * intl/gettextP.h: Likewise.
12430 * intl/loadinfo.h: Likewise.
12431 * locale/global-locale.c: Likewise.
12432 * locale/localeinfo.h: Likewise.
12433 * mach/devstream.c: Likewise.
12434 * malloc/arena.c: Likewise.
12435 * malloc/set-freeres.c: Likewise.
12436 * misc/err.c: Likewise.
12437 * misc/getttyent.c: Likewise.
12438 * misc/mntent_r.c: Likewise.
12439 * posix/getopt.c: Likewise.
12440 * posix/wordexp.c: Likewise.
12441 * pwd/fgetpwent_r.c: Likewise.
12442 * resolv/Versions: Likewise.
12443 * resolv/res_hconf.c: Likewise.
12444 * shadow/fgetspent_r.c: Likewise.
12445 * shadow/putspent.c: Likewise.
12446 * stdio-common/printf_fphex.c: Likewise.
12447 * stdio-common/tmpfile.c: Likewise.
12448 * stdlib/abort.c: Likewise.
12449 * stdlib/fmtmsg.c: Likewise.
12450 * sunrpc/auth_unix.c: Likewise.
12451 * sunrpc/clnt_perr.c: Likewise.
12452 * sunrpc/clnt_tcp.c: Likewise.
12453 * sunrpc/clnt_udp.c: Likewise.
12454 * sunrpc/clnt_unix.c: Likewise.
12455 * sunrpc/openchild.c: Likewise.
12456 * sunrpc/svc_simple.c: Likewise.
12457 * sunrpc/svc_tcp.c: Likewise.
12458 * sunrpc/svc_udp.c: Likewise.
12459 * sunrpc/svc_unix.c: Likewise.
12460 * sunrpc/xdr.c: Likewise.
12461 * sunrpc/xdr_array.c: Likewise.
12462 * sunrpc/xdr_rec.c: Likewise.
12463 * sunrpc/xdr_ref.c: Likewise.
12464 * sunrpc/xdr_stdio.c: Likewise.
12465
1248c1c4
PB
124662011-09-09 Ulrich Drepper <drepper@gmail.com>
12467
12468 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12469
124702011-07-03 Andreas Jaeger <aj@suse.de>
12471
12472 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12473 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12474 regenerate with gen-libm-tests.pl.
12475
124762010-05-12 Petr Baudis <pasky@suse.cz>
12477
12478 [BZ #11589]
12479 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12480 around j0() zero points by switching to j1().
12481 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12482 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12483 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12484 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12485
f22e1074
UD
124862011-09-09 Ulrich Drepper <drepper@gmail.com>
12487
f19009c1
UD
12488 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12489 instead of 0.
12490 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12491 instead of 0. .
12492 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12493 Patch in part by Pavel Roskin <proski@gnu.org>.
12494
3f8cc204
UD
12495 [BZ #13138]
12496 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12497 realloc.
12498 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12499 Free memory block if necessary.
12500
f22e1074
UD
12501 [BZ #12847]
12502 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12503 be NULL. Don't lock in this case.
12504
0a2349f9
RM
125052011-09-09 Roland McGrath <roland@hack.frob.com>
12506
12507 * elf/elf.h (ELFOSABI_GNU): New macro.
12508 (ELFOSABI_LINUX): Define to that.
12509
f3cdd467
DZ
125102011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12511
12512 * string/strncat.c (strncat): Undef the symbol in case it has been
12513 defined in bits/string.h.
12514
74718d13
UD
125152011-09-09 Ulrich Drepper <drepper@gmail.com>
12516
633e9e0f
UD
12517 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12518
0a2349f9 12519 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12520 link map.
12521
f9924780
AJ
125222011-08-17 Andreas Jaeger <aj@suse.de>
12523
12524 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12525
7f5517aa
PP
125262011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12527 Ian Lance Taylor <iant@google.com>
12528
12529 * math/libm-test.inc (lround_test): New testcase.
12530 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12531
762011fe
UD
125322011-09-08 Ulrich Drepper <drepper@gmail.com>
12533
92963737
UD
12534 * Makefile: Remove support for automatic cvs check-ins.
12535 * Makerules: Likewise.
12536 * config.make.in: Likewise.
12537 * configure.in: Likewise.
12538 * intl/Makefile: Likewise.
12539 * locale/Makefile: Likewise.
12540 * po/Makefile: Likewise.
12541 * posix/Makefile: Likewise.
12542 * sysdeps/gnu/Makefile: Likewise.
12543 * sysdeps/mach/hurd/Makefile: Likewise.
12544 * sysdeps/sparc/sparc32/Makefile: Likewise.
12545
b0727fd8
JS
12546 [BZ #13118]
12547 * posix/Makefile (bug-regex32-ENV): Define.
12548 Patch by John Stanley <jpsinthemix@verizon.net>.
12549
a0f33f99
UD
12550 * misc/Makefile (headers): Add bits/select2.h.
12551 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12552 * misc/bits/select2.h: New file.
12553 * include/bits/select2.h: New file.
12554 * debug/Makefile (routines): Add fdelt_chk.
12555 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12556 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12557 FD_ISSET.
12558 * debug/fdelt_chk.c: New file.
12559
762011fe
UD
12560 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12561 * wcsmbs/test-wmemcmp.c: Likewise.
12562 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12563 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12564
125652011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12566
12567 * string/Makefile (strop-tests): Add memcmp.
12568 * string/test-wmemcmp.c: New file.
12569 * string/test-memcmp.c: Add wmemcmp support.
12570
7f513ec8
RM
125712011-09-08 Roland McGrath <roland@hack.frob.com>
12572
0442afb4
RM
12573 [BZ #13153]
12574 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12575 2011-07-19 change.
12576
7f513ec8
RM
12577 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12578 garbage value in a __mach_port_mod_refs call in the cases of the
12579 task-self and thread-self ports.
12580
a12b2239
ST
125812011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12582
12583 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12584
610f9ab4
AS
125852011-09-08 Andreas Schwab <schwab@redhat.com>
12586
7f513ec8 12587 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12588
48882a1a
LD
125892011-09-07 Ulrich Drepper <drepper@gmail.com>
12590
b49865be
UD
12591 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12592
fdc86bc9
UD
12593 * elf/dl-libc.c (dlerror_run): Pass back error code from
12594 dl_catch_error.
12595
c966526a
UD
12596 [BZ #13123]
12597 * elf/dl-load.c (lose): Free l_origin if it is valid.
12598
48882a1a
LD
12599 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12600 names.
12601 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12602 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12603 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12604 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12605 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12606 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12607
77a2a8b4
AZ
126082011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12609
12610 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12611 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12612 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12613 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12614 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12615 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12616 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12617 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12618 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12619 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12620
24f579d8
AM
126212011-08-15 Alan Modra <amodra@gmail.com>
12622
12623 [BZ #13092]
12624 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12625 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12626 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12627 ppc_mcount to static-only-routines.
12628 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12629 __mcount_internal.
12630 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12631 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12632
3d4837df
UD
126332011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12634
12635 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12636 for finite and infinity parameters.
12637
22700377
WS
126382011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12639
12640 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12641 and add nop instructions for throughput optimization.
12642 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12643
5025581e
WS
126442011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12645
12646 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12647 aligned copy for power7 with vector-scalar instructions.
12648 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12649
08a300c9
L
126502011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12651
12652 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12653 AVX check.
12654
59178ef9
AS
126552011-09-07 Andreas Schwab <schwab@redhat.com>
12656
12657 [BZ #13144]
12658 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12659 last change.
12660
e38ba7ab
UD
126612011-09-07 Ulrich Drepper <drepper@gmail.com>
12662
12663 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12664 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12665 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12666 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12667 clock_gettime.
12668
d53a73ac
UD
126692011-09-06 Ulrich Drepper <drepper@gmail.com>
12670
fc8bffcc
UD
12671 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12672 Forgot to demangle the pointer.
12673
ceaa0c5d
UD
12674 * sysdeps/i386/sysdep.h: Define atom_text_section.
12675 * sysdeps/x86_64/sysdep.h: Likewise.
12676 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12677 section with atom_text_section.
12678 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12679 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12680 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12681 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12682 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12683
a77d3c17
UD
12684 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12685 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12686 already be defined. Change to take two parameters and don't assign
12687 result to variable. Adjust all users.
12688 Define INTERNAL_GETTIME if not already defined.
12689 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12690 call.
12691 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12692 HAVE_CLOCK_GETTIME_VSYSCALL.
12693 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12694
d53a73ac
UD
12695 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12696 gettimeofday vsyscall, just use time.
12697
a8f84144
AS
126982011-09-06 Andreas Schwab <schwab@redhat.com>
12699
12700 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12701 <errno.h>.
12702
ef606249
UD
127032011-09-06 Ulrich Drepper <drepper@gmail.com>
12704
12705 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12706 syscall on x86-64.
12707 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12708 syscall.
12709 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12710 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12711 syscall if possible.
12712
6585cb60
UD
127132011-09-05 Ulrich Drepper <drepper@gmail.com>
12714
12715 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12716 e_ident. Don't pass to find_mapsXX.
12717 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12718
a5f524e4
LD
127192011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12720
12721 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12722 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12723 * sysdeps/x86_64/multiarch/strchr.S: Update.
12724 Check bit_slow_BSF bit.
12725 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12726 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12727 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12728
554881ef
UD
127292011-09-05 Ulrich Drepper <drepper@gmail.com>
12730
d96de963
UD
12731 [BZ #13134]
12732 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12733 before glibc 2.15.
12734 (tryshell): Define.
12735 (__spawni): Change last parameter to be flag. Test
12736 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12737 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12738 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12739 * posix/spawni.c: Likewise.
12740 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12741 * posix/spawnp.c: Likewise. Change normal version to use
12742 SPAWN_XFLAGS_USE_PATH.
12743 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12744 SPAWN_XFLAGS_TRY_SHELL.
12745
d48e5868
UD
12746 [BZ #13150]
12747 * posix/glob.h: Remove gcc 1.x support.
12748
554881ef
UD
12749 [BZ #13068]
12750 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12751
693fb948
LD
127522011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12753
12754 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12755 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12756 strrchr-sse2-bsf
12757 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12758 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12759 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12760 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12761 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12762 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12763
1b48c537
UD
127642011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12765
49d42c37
UD
12766 * sysdeps/x86_64/wcscmp.S: New file.
12767
1b48c537
UD
12768 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12769 wcscmp-c wcscmp-sse2
12770 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12771 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12772 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12773 * wcsmbs/wcscmp.c: Allow renaming.
12774
15c95c5d
DM
127752011-09-05 David S. Miller <davem@davemloft.net>
12776
12777 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12778 stack slot, rather than the struct return pointer slot.
12779 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12780 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12782 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12783
2f0ad8f3
UD
127842011-09-05 Ulrich Drepper <drepper@gmail.com>
12785
d88ae418
UD
12786 * po/ja.po: Update from translation team.
12787
2f0ad8f3
UD
12788 [BZ #13144]
12789 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12790 kernel in 64-bit binaries.
12791
5f4318d1
DM
127922011-09-01 David S. Miller <davem@davemloft.net>
12793
12794 * elf/elf.h (HWCAP_SPARC_*): Move to..
12795 * sysdeps/sparc/sysdep.h: this new file and add new values.
12796 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12797 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12798 _DL_HWCAP_COUNT to 24.
12799 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12800 entries.
12801 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12802 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12803 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12804 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12805 instead of magic constants.
12806 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12807
3ba57516
DM
128082011-08-31 David S. Miller <davem@davemloft.net>
12809
12810 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12811 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12812 Reimplement to do errno handling inline.
12813 (SYSCALL_ERROR_HANDLER): New macro.
12814 (__SYSCALL_STRING): Do not do errno handling in asm.
12815 (__CLONE_SYSCALL_STRING): Delete.
12816 (__INTERNAL_SYSCALL_STRING): Delete.
12817 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12818 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12819 (PSEUDO): Reimplement to do errno handling inline.
12820 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12821 (SYSCALL_ERROR_HANDLER): New macro.
12822 (__SYSCALL_STRING): Do not do errno handling in asm.
12823 (__CLONE_SYSCALL_STRING): Delete.
12824 (__INTERNAL_SYSCALL_STRING): Delete.
12825 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12826 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12827 i386.
12828 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12829 (inline_syscall*): Add 'err' argument.
12830 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12831 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12832 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12833 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12834
12835 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12836 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12837
2bc17433
AS
128382011-08-30 Andreas Schwab <schwab@redhat.com>
12839
12840 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12841
fbeb5f4d
JO
128422011-08-29 Jiri Olsa <jolsa@redhat.com>
12843
12844 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12845 directive.
12846
ad69cc26
DM
128472011-08-24 David S. Miller <davem@davemloft.net>
12848
12849 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12850
39dd69df
AS
128512011-08-24 Andreas Schwab <schwab@redhat.com>
12852
12853 * elf/Makefile: Add rules to build and run unload8 test.
12854 * elf/unload8.c: New file.
12855 * elf/unload8mod1.c: New file.
12856 * elf/unload8mod1x.c: New file.
12857 * elf/unload8mod2.c: New file.
12858 * elf/unload8mod3.c: New file.
12859
12860 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12861 it wasn't used.
12862
2c0b250a
DM
128632011-08-23 David S. Miller <davem@davemloft.net>
12864
12865 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12866 subtract stack bias.
12867 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12868 %sp not %fp in calculations.
12869 (_JMPBUF_UNWINDS_ADJ): Likewise.
12870
22044b48
DM
12871 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12872 (aio_suspend): Call it to force an exception region around the
12873 AIO_MISC_WAIT() invocation.
12874
2cae4995
AS
128752011-08-23 Andreas Schwab <schwab@redhat.com>
12876
12877 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12878 backslash.
12879
873a772e
AJ
128802011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12881
12882 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12883 protection macro.
12884 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12885 and <dl-machine.h>.
12886 (Elf64_FuncDesc): Remove.
12887
25ad0df1
DM
128882011-08-22 David S. Miller <davem@davemloft.net>
12889
12890 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12891 sigaltstack check, add missing cfi directives.
12892 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12893 missing cfi directives, and sigaltstack handling.
12894
e888bcbe
AS
128952011-08-16 Andreas Schwab <schwab@redhat.com>
12896
12897 [BZ #11724]
12898 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12899 object is seen twice.
12900 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12901
12902 * elf/Makefile (distribute): Add tst-initorder2.c.
12903 (tests): Add tst-initorder2.
12904 (modules-names): Add tst-initorder2a tst-initorder2b
12905 tst-initorder2c tst-initorder2d. Add rules to build them.
12906 ($(objpfx)tst-initorder2.out): New rule.
12907 * elf/tst-initorder2.c: New file.
12908 * elf/tst-initorder2.exp: New file.
12909
87162f46
AS
129102011-08-22 Andreas Schwab <schwab@redhat.com>
12911
70538b7f
AS
12912 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12913
f55ffe58
AS
12914 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12915 dependencies back to end of function.
12916
87162f46
AS
12917 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12918 $(elfobjdir)/ld.so.
12919
91b392a4
UD
129202011-08-21 Ulrich Drepper <drepper@gmail.com>
12921
12922 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12923 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12924 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12925 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12926 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12927 of __vdso_gettimeofday.
12928 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12929 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12930 attribute_hidden.
12931 (_libc_vdso_platform_setup): Remove initialization of
12932 __vdso_gettimeofday and __vdso_time.
12933
5c43483f
UD
129342011-08-20 Ulrich Drepper <drepper@gmail.com>
12935
775a77e7
UD
12936 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12937 and fgetc_unlocked.
12938 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12939 getc_unlocked.
89f447ed 12940
49c74ba9
UD
12941 * elf/dl-open.c (add_to_global): Report additions to the global scope
12942 for LD_DEBUG=scopes.
12943 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12944 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12945
5c43483f
UD
12946 [BZ #13114]
12947 * stdio-common/Makefile (tests): Add bug24.
12948 * stdio-common/bug24.c: New file.
12949
a101b025
AJ
129502011-08-19 Andreas Jaeger <aj@suse.de>
12951
12952 [BZ #13114]
12953 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12954 non-existant file when using close-on-exec mode.
12955
c88f1766
UD
129562011-08-20 Ulrich Drepper <drepper@gmail.com>
12957
0276a718
UD
12958 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12959 the very first instruction.
12960
c88f1766
UD
12961 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12962 the CFI state in the end.
12963 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12964 inclusion of dl-trampoline.h.
12965 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12966
51ccffa0
AS
129672011-08-19 Andreas Schwab <schwab@redhat.com>
12968
94d7165f
AS
12969 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12970 expectations for long double.
12971
51ccffa0
AS
12972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12973 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12974
fd708658 129752011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12976
12977 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12978 artificual limit depends upon the system page size.
12979
44f0a71e
UD
129802011-08-17 Ulrich Drepper <drepper@gmail.com>
12981
12982 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12983 * resolv/Makefile: Define CFLAGS-libresolv.
12984
8de79a24
AS
129852011-08-17 Andreas Schwab <schwab@redhat.com>
12986
12987 * nss/makedb.c (compute_tables): Make variables used in nested
12988 function static.
12989
27724598
UD
129902011-08-17 Ulrich Drepper <drepper@gmail.com>
12991
c5305d88
UD
12992 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12993 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12994 if buffer was too small.
12995
27724598
UD
12996 * elf/pldd.c (main): Attach to all threads in the process.
12997 Rewrite /proc handling to use *at functions.
12998
076fe015
UD
129992011-08-16 Ulrich Drepper <drepper@gmail.com>
13000
174baab3
UD
13001 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13002 specifies first scope to show.
13003 (dl_open_worker): Update callers. Move printing scope of new
13004 object to before the relocation.
44f0a71e 13005 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
13006 * sysdeps/generic/ldsodefs.h: Update declaration.
13007
076fe015
UD
13008 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13009 string for the scope number.
13010
a60df2c3
UD
130112011-08-14 Ulrich Drepper <drepper@gmail.com>
13012
13013 * nscd/servicescache.c (cache_addserv): Make sure written is always
13014 initialized.
13015
5e4287d1
RM
130162011-08-14 Roland McGrath <roland@hack.frob.com>
13017
85ae0589
RM
13018 * sysdeps/i386/i486/bits/atomic.h
13019 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13020 statement expression, so as to suppress "set but not used" warning.
13021 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13022
69f63097
RM
13023 * string/strncat.c (STRNCAT): Use prototype definition.
13024
675456ef
RM
13025 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13026 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13027 -Iprograms here.
13028 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13029 (localedef-modules): Add localedef.
13030 (locale-modules): Add locale.
13031
5e4287d1
RM
13032 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13033 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13034 to avoid a warning.
13035
9c96ff23
DM
130362011-08-14 David S. Miller <davem@davemloft.net>
13037
13038 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13039 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13040
f9ddf089
UD
130412011-08-13 Ulrich Drepper <drepper@gmail.com>
13042
44f0a71e 13043 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
13044 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13045 * elf/rtld.c (dl_main): Set l_name of vDSO.
13046 Call _dl_show_scope when DL_DEBUG_SCOPES.
13047 (process_dl_debug): Recognize scopes flag and also set it for all.
13048 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13049 Declare _dl_show_scope.
13050
1dc27704
UD
13051 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13052 (do_dlopen): Pass caller_dlopen to dl_open.
13053 (__libc_dlopen_mode): Initialize caller_dlopen.
13054
f9ddf089
UD
13055 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13056 of libc. Make tolower call locale-independent. Optimize a bit by
13057 using isdigit instead of isalnum.
13058 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13059
9ac533d3
UD
130602011-08-12 Ulrich Drepper <drepper@gmail.com>
13061
13062 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13063 was a dependency or dynamically loaded.
13064
89edf2e9
UD
130652011-08-11 Ulrich Drepper <drepper@gmail.com>
13066
8e999d29
UD
13067 * intl/l10nflist.c: Allow architecture-specific pop function.
13068 * sysdeps/x86_64/l10nflist.c: New file.
13069
89edf2e9
UD
13070 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13071 classification.
13072
14d96785
AS
130732011-08-10 Andreas Schwab <schwab@redhat.com>
13074
13075 * include/dirent.h: Add libc_hidden_proto for scandirat and
13076 scandirat64. Don't declare __scandirat64.
13077 * dirent/scandirat.c: Add libc_hidden_def.
13078 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13079 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13080
6761ac04
DM
130812011-08-10 David S. Miller <davem@davemloft.net>
13082
13083 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13084 enum.
13085 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13086 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13087 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13088
c55fbd1e
UD
130892011-08-09 Ulrich Drepper <drepper@gmail.com>
13090
13091 * Versions.def [libc]: Add GLIBC_2.15.
13092 * dirent/Makefile (routines): Add scandirat and scandirat64.
13093 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13094 GLIBC_2.15.
13095 * dirent/dirent.h: Declare scandirat and scandirat64.
13096 * dirent/scandirat.c: New file.
13097 * dirent/scandirat64.c: New file.
13098 * sysdeps/wordsize-64/scandirat.c: New file.
13099 * sysdeps/wordsize-64/scandirat64.c: New file.
13100 * dirent/opendir.c: Define opendirat.
13101 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13102 using scandirat.
13103 * dirent/scandir64.c: Adjust for scandir.c change.
13104 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13105 __scandirat64, and __scandir_cancel_handler.
13106 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13107 additional parameter and use openat instead of open (outside of ld.so).
13108 Add new __opendir as wrapper around __opendirat.
13109 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13110 here without requiring old scandirat implementation.
13111
879165f2
UD
131122011-08-08 Ulrich Drepper <drepper@gmail.com>
13113
13114 * dirent/scandir.c (cancel_handler): Renamed to
13115 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13116 defined. Adjust users.
13117 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13118 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13119
cb7e923b
UD
131202011-08-04 Ulrich Drepper <drepper@gmail.com>
13121
16292edd
UD
13122 * string/test-string.h (IMPL): Use __STRING to expand name and then
13123 stringify it.
13124
cb7e923b
UD
13125 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13126 of cleanups.
13127
cff82933
LD
131282011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13129
13130 * string/Makefile: Update.
13131 (strop-tests): Append strncat.
13132 * string/test-wcscmp.c: New file.
13133 New comprehensive test for wcscmp.
13134 * string/test-strcmp.c: Update.
13135 (WIDE): New define.
13136
9be9bfcc
AS
131372011-07-22 Andreas Schwab <schwab@redhat.com>
13138
13139 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13140 line.
13141
2e96f1c7
AS
131422011-07-26 Andreas Schwab <schwab@redhat.com>
13143
13144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13145 encoding to ACE if AI_IDN.
13146
85188888
JJ
131472011-08-01 Jakub Jelinek <jakub@redhat.com>
13148
13149 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13150 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13151
5fa16e9b
LD
131522011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13153
13154 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13155 Fix overflow bug in strncat.
13156 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13157
13158 * string/test-strncat.c: Update.
13159 Add new tests for checking overflow bugs.
13160
131612011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13162
13163 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13164 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13165 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13166 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13167 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13168 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13169 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13170 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13171 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13172
13173 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13174 (USE_AS_STRCAT): Define.
13175 Add strcat and strncat support.
13176 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13177
8c1a459f
AS
131782011-07-25 Andreas Schwab <schwab@redhat.com>
13179
13180 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13181 __n bigger than INT_MAX+1.
13182 (__strncmp_g): Likewise.
13183
bba33c28
UD
131842011-07-23 Ulrich Drepper <drepper@gmail.com>
13185
798be72d
UD
13186 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13187 * libio/stido.h: Likewise.
13188
8accd4dc
UD
13189 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13190 (AF_NFC): Define.
13191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13192 (AF_NFC): Define.
13193
cbff0d96
UD
13194 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13195 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13196 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13197 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13198 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13199
9191c04a
UD
13200 [BZ #13021]
13201 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13202 installed.
13203
bba33c28
UD
13204 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13205 typo.
13206 (_dl_x86_64_save_sse): Likewise.
13207
90f139dd
UD
132082011-07-22 Ulrich Drepper <drepper@gmail.com>
13209
1aae088a
UD
13210 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13211 OSXSAVE.
13212 (_dl_x86_64_save_sse): Likewise.
13213
8e2045f5
UD
13214 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13215
90f139dd
UD
13216 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13217
1d002f25
AS
132182011-07-21 Andreas Schwab <schwab@redhat.com>
13219
13220 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13221 change.
13222 (_dl_x86_64_save_sse): Use correct AVX check.
13223
21137f89
UD
132242011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13225
13226 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13227 bug in strncpy/strncat.
13228 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13229
a65c0b7a
UD
132302011-07-21 Ulrich Drepper <drepper@gmail.com>
13231
13232 * string/tester.c (test_strcat): Add tests for different alignments
13233 of source and destination.
13234 (test_strncat): Likewise.
13235
6986b98a
UD
132362011-07-20 Ulrich Drepper <drepper@gmail.com>
13237
90bb2039
UD
13238 [BZ #12852]
13239 * posix/glob.c (glob): Check passed in values before using them in
13240 expressions to avoid some overflows.
13241 (glob_in_dir): Likewise.
13242
5644ef54
UD
13243 [BZ #13007]
13244 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13245 check for AVX enablement so that we don't crash with old kernels and
13246 new hardware.
13247 * elf/tst-audit4.c: Add same checks here.
13248 * elf/tst-audit6.c: Likewise.
13249
13250 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13251
bfc9dc9b
AS
132522011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13253
13254 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13255
702e64bb
UD
132562011-07-20 Ulrich Drepper <drepper@gmail.com>
13257
13258 * po/cs.po: Update from translation team.
13259 * po/bg.po: Likewise.
13260
295e904f
MP
132612011-07-12 Marek Polacek <mpolacek@redhat.com>
13262
13263 * misc/sys/cdefs.h: Add support for const attribute.
13264 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13265 to gnu_dev_{major,minor,makedev} functions.
13266
3ff94596
MP
132672011-07-20 Marek Polacek <mpolacek@redhat.com>
13268
13269 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13270
28b59fca
AS
132712011-07-20 Andreas Schwab <schwab@redhat.com>
13272
13273 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13274 strlen results.
13275
19df733e
AK
132762011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13277
13278 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13279 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13280 register in order to avoid conflicts with the soft frame pointer
13281 being held in r11 when necessary.
13282 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13283 (INTERNAL_VSYSCALL_NCS): Likewise.
13284
c8835729
MP
132852011-07-14 Marek Polacek <mpolacek@redhat.com>
13286
13287 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13288 * elf/dl-fini.c (_dl_fini): Adjust caller.
13289 * elf/dl-close.c (_dl_close_worker): Likewise.
13290 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13291
b902330c
MP
132922011-07-15 Marek Polacek <mpolacek@redhat.com>
13293
8991e135
MP
13294 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13295 "aux_cache->nlibs < 0".
13296
b902330c
MP
13297 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13298 in the reload-count case.
13299
99710781
LD
133002011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13301
13302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13303 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13304 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13305 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13306 * sysdeps/x86_64/multiarch/strcat.S: New file.
13307 * sysdeps/x86_64/multiarch/strncat.S: New file.
13308 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13309 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13310 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13311 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13312 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13313 (USE_AS_STRCAT): Define.
13314 Add strcat and strncat support.
13315 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13316 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13317 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13318 * string/strncat.c: Update.
13319 (USE_AS_STRNCAT): Define.
13320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13321 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13322 and i7.
13323 * sysdeps/x86_64/multiarch/init-arch.h
13324 (bit_Prefer_PMINUB_for_stringop): New.
13325 (index_Prefer_PMINUB_for_stringop): Likewise.
13326 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13327 bit_Prefer_PMINUB_for_stringop.
13328
7dc6bd90
UD
133292011-07-19 Ulrich Drepper <drepper@gmail.com>
13330
13331 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13332 buffer64.
13333 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13334 of casting of buffer.
13335 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13336 buffer32 and buffer64.
13337 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13338 writes instead of casting of buffer.
13339 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13340 buffer32.
13341 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13342 casting of buffer.
13343
e0e72284
AS
133442011-07-19 Andreas Schwab <schwab@redhat.com>
13345
13346 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13347
feb1eb0b
UD
133482011-07-19 Ulrich Drepper <drepper@gmail.com>
13349
13350 * nscd/nscd.c (termination_handler): Don't do anything for a database
13351 if it has not yet been initialized.
13352
298711ff
UD
133532011-07-18 Ulrich Drepper <drepper@gmail.com>
13354
13355 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13356
133572011-07-15 Marek Polacek <mpolacek@redhat.com>
13358
13359 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13360
f9d68389
UD
133612011-07-18 Ulrich Drepper <drepper@gmail.com>
13362
13363 * po/nl.po: Update from translation team.
13364 * po/sv.po: Likewise.
13365
db290cf5
RM
133662011-07-16 Roland McGrath <roland@hack.frob.com>
13367
13368 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13369 now disallowed by GCC.
5c550700 13370
fd5e21c7
RM
13371 * configure.in (use-default-link): Default to yes if a test -shared
13372 link meets our qualifications.
13373 * configure: Regenerated.
13374
5c550700
RM
13375 * config.make.in (output-format): New variable.
13376 * configure.in: Check for ld --print-output-format support.
13377 * configure: Regenerated.
13378 * Makerules ($(common-objpfx)format.lds)
13379 [$(output-format) != unknown]: Just use $(output-format),
13380 instead of the linker-script munging.
13381
9fa2c032
RM
133822011-07-14 Roland McGrath <roland@hack.frob.com>
13383
a6928d51
RM
13384 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13385 of $(common-objpfx)shlib.lds.
13386 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13387
661607b3
RM
13388 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13389 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13390
9fa2c032
RM
13391 * configure.in (-z relro check): Adjust test code to add a large
13392 writable data section after it.
13393 * configure: Regenerated.
13394
defe9061
RM
133952011-07-11 Roland McGrath <roland@hack.frob.com>
13396
13397 * configure.in (-z relro check): Fix test code to make the variable
13398 truly const.
13399 * configure: Regenerated.
13400
319b9ad4
UD
134012011-07-11 Ulrich Drepper <drepper@gmail.com>
13402
13403 * nscd/nscd.h (struct traced_file): Define.
13404 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13405 elements. Add traced_files.
13406 (inotify_fd): Declare.
13407 (register_traced_file): Declare.
13408 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13409 (inotify_fd): Export.
13410 (resolv_conf_descr): Remove.
13411 (nscd_init): Move inotify descriptor creation to main.
13412 Don't register files for notification here.
13413 (register_traced_file): New function.
13414 (invalidate_cache): Don't use reset_res to determine whether to call
13415 res_init, go through the list of registered files.
13416 (main_loop_poll): The inotify descriptors are now stored in the
13417 structures for the traced files.
13418 (main_loop_epoll): Likewise
13419 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13420 to __nss_disable_nscd.
13421 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13422 for a database anymore. Check the records for all the registered
13423 files instead.
13424 * nss/Makefile (libnss_files-routines): Add files-init.
13425 (libnss_db-routines): Add db-init.
13426 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13427 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13428 * nss/nss_db/db-init.c: New file.
13429 * nss/nss_files/files-init.c: New file.
13430 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13431 __nss_lookup_function.
13432 (__nss_lookup_function): Call nss_load_library.
13433 (nss_load_all_libraries): New function.
13434 (__nss_disable_nscd): Take parameter with callback function for files
13435 to register. Set is_nscd. Load all the DSOs for the NSS modules
13436 used for the cached services.
13437 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13438 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13439 options for features to all the files in nscd.
13440
13441 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13442
23bee3e8
RM
134432011-07-10 Roland McGrath <roland@hack.frob.com>
13444
13445 * csu/elf-init.c (__libc_csu_init): Comment typo.
13446
46a5b7f0
UD
134472011-07-09 Ulrich Drepper <drepper@gmail.com>
13448
13449 * po/pl.po: Update from translation team.
13450 * po/ja.po: Likewise.
13451 * po/ru.po: Likewise.
13452 * po/ko.po: Likewise.
13453 * po/fr.po: Likewise.
13454
d30cf5bb
RM
134552011-07-09 Roland McGrath <roland@hack.frob.com>
13456
113ddea4
RM
13457 * configure.in (.ctors/.dtors header and trailer check):
13458 Use an empirical test on a built program.
13459 * configure: Regenerated.
13460
574920b4
RM
13461 * configure.in (-z relro check): Use an empirical test on a built DSO.
13462 Detect, but do not require, on ia64.
13463 * configure: Regenerated.
13464
d30cf5bb
RM
13465 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13466 Update tests that use readelf to use $READELF instead.
13467 * configure: Regenerated.
13468
8538fdb3
UD
134692011-07-08 Ulrich Drepper <drepper@gmail.com>
13470
13471 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13472 if the result is not used.
13473
04d08991
AJ
134742011-07-05 Andreas Jaeger <aj@suse.de>
13475
13476 [BZ#9696]
13477 * stdlib/tst-strtod.c: Add testcase.
13478
de283087
AD
134792011-07-07 Ulrich Drepper <drepper@gmail.com>
13480
4e5f31c8 13481 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13482 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13483 The latter has a higher limit. Take additional parameter to pass to
13484 the new function.
13485 (__pathconf): Pass file to __statfs_link_max.
13486 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13487 __statfs_link_max.
13488 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13489 __statfs_link_max.
13490
de283087
AD
13491 [BZ #12868]
13492 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13493 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13494 Handle Lustre.
13495 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13496 (__statfs_filesize_max): Likewise.
13497 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13498
c75fa153
AJ
134992011-07-05 Andreas Jaeger <aj@suse.de>
13500
13501 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13502
1a544854
UD
135032011-07-06 Marek Polacek <mpolacek@redhat.com>
13504
13505 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13506 `status' variable.
13507 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13508 Likewise.
13509
6f0eec67
UD
135102011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13511
13512 * Makefile (strop-tests): Add strncat.
13513 * string/test-strncat.c: New file.
13514
aae30307
UD
135152011-06-30 Marek Polacek <mpolacek@redhat.com>
13516
13517 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13518
c0cfb5eb
UD
135192011-06-21 Andreas Jaeger <aj@suse.de>
13520
13521 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13522 Copy rule from iconvdata/Makefile.
13523
01636b21
UD
135242011-07-06 Ulrich Drepper <drepper@gmail.com>
13525
13526 [BZ #12922]
13527 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13528 but no long options are defined, just return 'W'.
13529
9895c8bc
UD
135302011-06-22 Marek Polacek <mpolacek@redhat.com>
13531
13532 [BZ #9696]
13533 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13534
5d4cf042
UD
135352011-07-06 Ulrich Drepper <drepper@gmail.com>
13536
13537 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13538 netgroups to read.
960e5535 13539 (innetgr): Likewise.
5d4cf042 13540
751eb97e
RM
135412011-07-05 Roland McGrath <roland@hack.frob.com>
13542
13543 * config.make.in (install_root): Default to $(DESTDIR).
13544
f15f1e45
UD
135452011-07-05 Ulrich Drepper <drepper@gmail.com>
13546
13547 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13548
4e34ac6a
RM
135492011-07-02 Roland McGrath <roland@hack.frob.com>
13550
5e9b6af4
RM
13551 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13552
84f9ea0f
RM
13553 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13554 containing directory rather than embedding absolute directory names.
13555
ea5ee9f7
RM
13556 * scripts/check-local-headers.sh: Rewritten using awk.
13557 Match by word, not by line. Print error messages for matches.
13558 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13559
1b74661a
RM
13560 * Makerules [shlib-lds-flags empty]:
13561 ($(common-objpfx)libc_pic.opts): New target.
13562 ($(common-objpfx)libc_pic.os.clean): New target.
13563 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13564
13565 * config.make.in (OBJCOPY): New variable.
13566 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13567 * configure: Regenerated.
13568
f781ef40
RM
13569 * config.make.in (use-default-link): New variable.
13570 * configure.in (use_default_link): Grok --with-default-link to set it.
13571 * configure: Regenerated.
13572 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13573 (shlib-lds, shlib-lds-flags): Define to empty.
13574
2d4fa81e
RM
13575 * Makerules (shlib-lds): New variable.
13576 (shlib-lds-flags): New variable.
13577 (build-shlib, build-moduile, build-module-asneeded): Use it.
13578 ($(common-objpfx)libc.so): Use $(shlib-lds).
13579 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13580 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13581
31fffa6b
RM
13582 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13583 DT_FLAGS/DT_FLAGS_1 with zero flags.
13584
4e34ac6a
RM
13585 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13586 linker script munging.
13587
fcfc776b
UD
135882011-07-02 Ulrich Drepper <drepper@gmail.com>
13589
13590 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13591 as 128-bit value.
13592 * crypt/sha512.c (sha512_process_block): Perform total addition using
13593 128-bit if possible.
13594 (__sha512_finish_ctx): Likewise.
13595 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13596 as 64-bit value.
13597 * crypt/sha256.c (SWAP64): Define.
13598 (sha256_process_block): Perform total addition using 64-bit if
13599 possible.
13600 (__sha256_finish_ctx): Likewise.
13601
99231d9a
UD
136022011-07-01 Ulrich Drepper <drepper@gmail.com>
13603
13604 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13605 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13606 * nscd/hstcache.c (cache_addhst): Likewise.
13607 * nscd/grpcache.c (cache_addgr): Likewise.
13608 * nscd/aicache.c (addhstaiX): Likewise
13609 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13610
445b4a53
TK
136112011-07-01 Thorsten Kukuk <kukuk@suse.de>
13612
13613 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13614 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13615 * nscd/hstcache.c (cache_addhst): Likewise.
13616 * nscd/grpcache.c (cache_addgr): Likewise.
13617 * nscd/aicache.c (addhstaiX): Likewise
13618
6d4d8e8e
AS
136192011-07-01 Andreas Schwab <schwab@redhat.com>
13620
13621 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13622 domain only when needed.
13623
89f654c5
AS
136242011-06-30 Andreas Schwab <schwab@redhat.com>
13625
13626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13627 is always restored.
13628
cf3b23ff
UD
136292011-06-29 Ulrich Drepper <drepper@gmail.com>
13630
13631 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13632 are re-adding the entry.
13633 * nscd/servicescache.c (cache_addserv): Likewise.
13634
751626f9
AJ
136352011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13636
13637 * sysdeps/generic/dl-irel.h: fix protection against multiple
13638 inclusions.
13639 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13640
9113ea1f
UD
136412011-06-28 Ulrich Drepper <drepper@gmail.com>
13642
5c0b8d90
UD
13643 [BZ #12935]
13644 * malloc/memusage.sh: Fix quoting in message.
13645 * debug/xtrace.sh: Likewise.
13646
9113ea1f
UD
13647 * configure.in: Remove support for --experimental-malloc option, make
13648 it the default.
13649 * config.make.in: Likewise.
13650 * malloc/Makefile: Likewise.
13651
a4172181
AS
136522011-06-27 Andreas Schwab <schwab@redhat.com>
13653
13654 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13655 two-byte characters.
13656
78a7eee7
RM
136572011-06-27 Roland McGrath <roland@hack.frob.com>
13658
62bede13
RM
13659 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13660 AC_CACHE_CHECK invocation.
13661 * configure: Regenerated.
13662
78a7eee7
RM
13663 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13664
5ce33a62
UD
136652011-06-27 Ulrich Drepper <drepper@gmail.com>
13666
034807a9
UD
13667 [BZ #12350]
13668 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13669 bit from old_res_options.
13670
4902da17
UD
13671 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13672
5ce33a62
UD
13673 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13674 value type for setfct.
13675
c2344f56
L
136762011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13677
13678 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13679 __gettimeofday instead of gettimeofday.
13680
68468076
UD
136812011-06-26 Ulrich Drepper <drepper@gmail.com>
13682
13683 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13684
acb0d739
L
136852011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13686
13687 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13688
13689 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13690 info.
13691
8912479f
L
136922011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13693
13694 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13695 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13696 strcpy-sse2-unaligned strncpy-sse2-unaligned
13697 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13698 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13699 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13700 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13701 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13702 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13703 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13704 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13705 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13706 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13707 (STRCPY): Support SSE2 and SSSE3 versions.
13708
d5495a11
UD
137092011-06-24 Ulrich Drepper <drepper@gmail.com>
13710
13711 [BZ #12874]
13712 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13713 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13714 kernels which artificially limit size of requests.
13715
0b1cbaae
L
137162011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13717
13718 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13719 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13720 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13721 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13722 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13723 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13724 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13725 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13726 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13727 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13728 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13729 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13730 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13731 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13732 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13734 Enable unaligned load optimization for Intel Core i3, i5 and i7
13735 processors.
13736 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13737 Define.
13738 (index_Fast_Unaligned_Load): Define.
13739 (HAS_FAST_UNALIGNED_LOAD): Define.
13740
07f494a0
MP
137412011-06-23 Marek Polacek <mpolacek@redhat.com>
13742
13743 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13744
fa3fc0fe
UD
137452011-06-22 Ulrich Drepper <drepper@gmail.com>
13746
13747 [BZ #12907]
13748 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13749 until it is clear that the information is realy needed.
13750 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13751
e12df166
AS
137522011-06-22 Andreas Schwab <schwab@redhat.com>
13753
13754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13755
852eb34d
UD
137562011-06-22 Ulrich Drepper <drepper@gmail.com>
13757
84e2a551
UD
13758 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13759 /sys/devices/system/cpu/online if it is usable.
13760
852eb34d
UD
13761 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13762 reading the information from the /proc filesystem to once a second.
13763
6e502e19
UD
137642011-06-21 Andreas Jaeger <aj@suse.de>
13765
13766 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13767 NULL after inclusion of kernel headers.
13768
75d39ff2
UD
137692011-06-21 Ulrich Drepper <drepper@gmail.com>
13770
51f9aa6a
UD
13771 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13772 calls to internal_setent.
13773
c0244a9d
UD
13774 [BZ #12885]
13775 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13776 addresses using gethostbyname4_r ignore IPv4 addresses.
13777
c5e3c2ae
UD
13778 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13779 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13780
75d39ff2
UD
13781 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13782
42675c6f
DM
137832011-06-20 David S. Miller <davem@davemloft.net>
13784
13785 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13786 inclusions.
13787 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13788
13789 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13790 (elf_irel): Use it.
13791 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13792 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13793 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13794 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13795 * sysdeps/x86_64/dl-irel.h: Likewise.
13796
13797 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13798 * elf/dl-sym.c: Likewise.
13799
57912a71
UD
138002011-06-15 Ulrich Drepper <drepper@gmail.com>
13801
13802 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13803 need to dereference resplen2.
13804
ee22793d
AS
138052011-06-14 Andreas Schwab <schwab@redhat.com>
13806
13807 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13808
a9e836b0
UD
138092011-06-15 Ulrich Drepper <drepper@gmail.com>
13810
77fb9117
UD
13811 * Makeconfig: Define vardbdir and inst_vardbdir.
13812 * nss/Makefile: Add rules to install db-Makefile.
13813
40c1b22c
UD
13814 * nss/nss_db/db-XXX.c: Cleanup.
13815
9f2da732
UD
13816 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13817 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13818 GLIBC_PRIVATE.
13819 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13820 * nss/makedb.c: Implement -g option to specify that value strings
13821 are generated and should not be added to table iterated over for
13822 get*ent calls.
13823 * nss/nss_db/db-initgroups.c: New file.
13824
82e9a1f7
UD
13825 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13826 interface.
13827
c41af17e
UD
13828 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13829 (internal_getgrouplist): Adjust to name change.
13830 Update use_initgroups_entry if this is not the first call.
13831 * nss/databases.def: Add initgroups entry.
13832
a9e836b0
UD
13833 * nss/makedb.c (compute_tables): Check result of multiple hash table
13834 sizes to minimize maximum chain length.
13835
2666d441
UD
138362011-06-14 Ulrich Drepper <drepper@gmail.com>
13837
13838 * Versions.def: Add entry for libnss_db.
13839 * shlib-versions: Likewise.
13840 * nss/Makefile: Add rules to build libnss_db.
13841 * nss/Versions: Add libnss_db information. Organize libnss_files
13842 entries better.
13843 * nss/db-Makefile: Add gshadow support. Change rules for the new
13844 makedb progra. Some minor improvements to generate smaller files.
13845 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13846 here from...
13847 * nss/makedb.c: ...here.
13848 Improve database format to be smaller and require less memory at
13849 runtime.
13850 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13851 db anymore.
13852 * nss/nss_db/db-netgrp.c: Likewise.
13853 * nss/nss_db/db-open.c: Likewise.
13854 * nss/nss_files/flies-XXX.x: Adjust comments.
13855 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13856 * nss/nss_files/files-grp.c: Likewise.
13857 * nss/nss_files/files-hosts.c: Likewise.
13858 * nss/nss_files/files-network.c: Likewise.
13859 * nss/nss_files/files-proto.c: Likewise.
13860 * nss/nss_files/files-pwd.c: Likewise.
13861 * nss/nss_files/files-rpc.c: Likewise.
13862 * nss/nss_files/files-service.c: Likewise.
13863 * nss/nss_files/files-sgrp.c: Likewise.
13864 * nss/nss_files/files-spwd.c: Likewise.
13865 * nss/nss_db/db-alias.c: Removed.
13866 * nss/nss_db/dummy-db.h: Removed.
13867
9ee76b5a
UD
138682011-06-02 Ulrich Drepper <drepper@gmail.com>
13869
13870 * nss/makedb.c: Rewritten to not use database library.
13871 * nss/Makefile: Update to build new makedb program.
13872
c71ca1f8
AJ
138732011-06-14 Andreas Jaeger <aj@suse.de>
13874
13875 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13876 memset declaration.
13877
3154bfb8
UD
138782011-06-10 Andreas Schwab <schwab@redhat.com>
13879
13880 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13881 tmpbuf.
13882
b350afab
RM
138832011-06-10 Roland McGrath <roland@hack.frob.com>
13884
decd4e50
RM
13885 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13886 * elf/Makefile ($(objpfx)ld.so): Likewise.
13887
5615eaf2
RM
13888 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13889 Don't list ld.so twice in dependencies.
13890
13891 * posix/bug-regex31.c: Include <stdlib.h>.
13892
13893 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13894
13895 * nis/nss_compat/compat-spwd.c
13896 (getspent_next_nss_netgr): Remove unused variable.
13897 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13898
13899 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13900 nonmembers" output to use the right array.
13901
13902 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13903
13904 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13905
13906 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13907 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13908 * catgets/gencat.c (read_input_file): Likewise.
13909 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13910
13911 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13912 variable definition inside #if's controlling its use.
13913
13914 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13915
13916 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13917
13918 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13919
13920 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13921 unreachable code.
13922
13923 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13924
b68e08db
RM
13925 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13926 * configure: Regenerated.
13927
b350afab
RM
13928 * Makerules: Revert last change.
13929 * elf/Makefile: Likewise.
13930
28368601
RM
139312011-06-09 Roland McGrath <roland@hack.frob.com>
13932
13933 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13934 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13935 (reloc-link): Likewise.
13936
11988f8f
UD
139372011-06-09 Ulrich Drepper <drepper@gmail.com>
13938
13939 * elf/Makefile: Add rules to build pldd.
13940 * elf/pldd.c: New file.
13941 * elf/pldd-xx.c: New file.
13942
e80fab37
UD
139432011-06-07 Ulrich Drepper <drepper@gmail.com>
13944
13945 * version.h: Update for 2.15 development version.
13946
9b849836
DM
139472011-06-07 David S. Miller <davem@davemloft.net>
13948
13949 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13950 ifuncs.
13951 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13952 elf_machine_lazy_rel): Likewise.
13953 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13954 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13955 elf_machine_lazy_rel): Likewise.
13956 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13957 dl_hwcap via passed in argument.
13958 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13959 Likewise.
13960
5a31b283
AK
139612011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13962
13963 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13964
069e52f8
RM
139652011-06-06 Roland McGrath <roland@hack.frob.com>
13966
13967 [BZ #12849]
13968 * manual/fdl-1.1.texi: New file, verbatim from:
13969 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13970 * manual/lgpl-2.1.texi: New file, verbatim from:
13971 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13972 * manual/Makefile (licenses): New variable, list those new file names.
13973 (texis): Use it.
13974 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13975
13976 * manual/fdl.texi: File removed.
13977 * manual/lesser.texi: File removed.
13978 * manual/libc.texinfo (Copying, Documentation License):
13979 Use new @include file names, put @appendix directive before @include.
13980
f16846a5
JJ
139812011-06-04 Jakub Jelinek <jakub@redhat.com>
13982
13983 [BZ #12841]
13984 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13985 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13986 (mq_open): Add __NTH.
13987
3d29045b
L
139882011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13989
13990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13991 Assume Intel Core i3/i5/i7 processor if AVX is available.
13992
8c297311
UD
139932011-05-31 Ulrich Drepper <drepper@gmail.com>
13994
13995 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13996 typo.
13997
c8fc0c91
UD
139982011-05-31 Andreas Schwab <schwab@redhat.com>
13999
14000 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14001 memory. Use alloca_account. Fix memory leak when retrying.
14002
5b27a807
UD
140032011-05-31 Ulrich Drepper <drepper@gmail.com>
14004
356f8bc6
UD
14005 * version.h (RELEASE): Bump for 2.14 release.
14006 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14007
5b27a807
UD
14008 * config.make.in (RANLIB): Remove entry.
14009
01f16ab0
UD
140102011-05-30 Ulrich Drepper <drepper@gmail.com>
14011
41fce8bd
UD
14012 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14013 (libc.pot): Work around missing support for .ksh extension in xgettext.
14014
4769ae77
UD
14015 [BZ #12684]
14016 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14017 if both request failed.
14018 (send_dg): In case of server errors clear resplen or *resplen2.
14019
6b1e7d19
UD
14020 [BZ #12454]
14021 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14022 when there are multiple maps.
14023 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14024 (_dl_fini): Remove test here.
14025
01f16ab0
UD
14026 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14027
b1ebd700
UD
140282011-05-29 Ulrich Drepper <drepper@gmail.com>
14029
7ae22829
UD
14030 [BZ #12350]
14031 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14032 bit from old_res_options.
14033 (gaih_inet): Likewise.
14034
553149f6 14035 [BZ #11099]
18a84741 14036 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
14037 as signed.
14038
652ffab1
UD
14039 * resolv/res_init.c (res_setoptions): Make the code more compact.
14040
16985fd0
UD
14041 [BZ #11558]
14042 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14043 set RES_USEVC.
14044
0464f746
UD
14045 [BZ #11634]
14046 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14047
7d17596c
UD
14048 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14049
cf6bbbd7
UD
14050 [BZ #11781]
14051 * malloc/malloc.h: Declare malloc hook variables as volatile.
14052
13f1ab36
UD
14053 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14054 in last patch.
14055
b1ebd700
UD
14056 [BZ #11799]
14057 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 14058 raise in the comment.
80e2212d
UD
14059 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14060 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14061 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 14062
ce67228d
UD
140632011-05-28 Ulrich Drepper <drepper@gmail.com>
14064
8887a920
UD
14065 [BZ #12811]
14066 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14067 grow the buffers more if it already has to be sufficient.
14068 (build_wcs_upper_buffer): Likewise.
14069 * posix/regexec.c (check_matching): Likewise.
14070 (clean_state_log_if_needed): Likewise.
14071 (extend_buffers): Don't enlarge buffers beyond size of the input
14072 buffer.
14073 Patches mostly by Emil Wojak <emil@wojak.eu>.
14074 * posix/bug-regex32.c: New file.
14075 * posix/Makefile (tests): Add bug-regex32.
14076
4f031072
UD
14077 * locale/findlocale.c (_nl_find_locale): Return right away if
14078 _nl_explode_name failed.
14079 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14080
d0478f0c
UD
14081 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14082
de81b246
UD
14083 * debug/xtrace.sh: Unify messages.
14084 * malloc/memusage.sh: Likewise.
14085
c738465a
UD
14086 [BZ #12813]
14087 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14088 time symbol from vDSO. Substitute with vsyscall if not available.
14089 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14090 __vdso_time.
14091
f1f929d7
UD
14092 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14093 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14094 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14095 Add sendmmsg and internal_sendmmsg.
14096 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14097 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14098 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14099
ce67228d
UD
14100 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14101 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14102 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14103
e57420c6
UD
141042011-05-27 Ulrich Drepper <drepper@gmail.com>
14105
a8509ca5
UD
14106 [BZ #12813]
14107 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14108 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14109 available.
14110 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14111 __vdso_getcpu.
14112
e57420c6
UD
14113 [BZ #12814]
14114 * iconvdata/Makefile (tests): Add bug-iconv9.
14115 * iconvdata/bug-iconv9.c: New file.
14116
4d07db15
AS
141172011-05-27 Andreas Schwab <schwab@redhat.com>
14118
14119 [BZ #12814]
14120 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14121
ea486f69
JJ
141222011-05-25 Jakub Jelinek <jakub@redhat.com>
14123
14124 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14125 (struct user_regs_struct): Change intcs field back to cs.
14126
6f038433
UD
141272011-05-25 Ulrich Drepper <drepper@gmail.com>
14128
14129 * po/ja.po: Update from translation team.
14130
67f86a25
UD
141312011-05-23 Ulrich Drepper <drepper@gmail.com>
14132
14133 [BZ #12795]
14134 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14135 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14136
def7fbd6
AS
141372011-05-20 Andreas Schwab <schwab@redhat.com>
14138
14139 * stdlib/longlong.h: Update from GCC.
14140
f50ef8f1
AS
141412011-05-23 Andreas Schwab <schwab@redhat.com>
14142
14143 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14144 parameter name.
14145 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14146 Add parameter name.
14147 (__sysconf): Pass it down.
14148
de7ce8f1
UD
141492011-05-22 Ulrich Drepper <drepper@gmail.com>
14150
f2962a71
UD
14151 [BZ #12671]
14152 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14153 some situations.
14154 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14155 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14156 add in in __libc_use_alloca calls. Adjust callers.
14157 (glob): Use malloc in some situations.
14158
de7ce8f1
UD
14159 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14160 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14161 pltexit.
14162
aec84f53
UD
141632011-05-21 Ulrich Drepper <drepper@gmail.com>
14164
05bb4a68
UD
14165 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14166 and CLOCK_BOOTTIME_ALARM.
14167
7ea72f99
UD
14168 [BZ #12782]
14169 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14170 is returned.
14171
7e4afad5
UD
14172 * string/_strerror.c (__strerror_r): Print negative errors as signed
14173 numbers.
14174
8e211fec
UD
14175 [BZ #12777]
14176 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14177 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14178 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14179
f7d82dc9
UD
14180 * configure.in: Fix typo in redirection and correct removal of test
14181 files in two cases.
14182
cc9e536d
UD
14183 [BZ #12788]
14184 * locale/setlocale.c (new_composite_name): Fix test to check for
14185 identical name of all categories.
14186
aec84f53
UD
14187 [BZ #12792]
14188 * libio/filedoalloc.c (local_isatty): New function.
14189 (_IO_file_doallocate): Use local_isatty.
14190 * stdio-common/perror.c (perror): In case a new stream is used
14191 forward the stream error.
14192 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14193 error flag.
14194
78e64fdc
RT
141952011-05-20 Ulrich Drepper <drepper@gmail.com>
14196
34a9094f
UD
14197 [BZ #11869]
14198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14199 alloca.
14200 * include/alloca.h (extend_alloca_account): Define.
14201
78e64fdc
RT
14202 [BZ #11857]
14203 * posix/regex.h: Fix comments with documentation of user-accessible
14204 fields after compilation and describe correct free'ing of pattern
14205 after re_compile_pattern.
14206 Patch by Reuben Thomas <rrt@sc3d.org>.
14207
457bddfc
RA
142082011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14209
14210 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14211 and -mno-altivec to prevent the compiler from using Altivec and/or
14212 VSX instructions when the corresponding registers are not available.
14213
a4527b51
AS
142142011-05-19 Andreas Schwab <schwab@redhat.com>
14215
14216 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14217
ed690b2f
UD
142182011-05-19 Ulrich Drepper <drepper@gmail.com>
14219
14220 * libio/freopen.c (freopen): Use __dup2, not dup2.
14221 * libio/freopen64.c (freopen64): Likewise.
14222
8db73634
L
142232011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14224
14225 [BZ #12775]
14226 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14227 * math/Makefile (tests): Add test-powl.
14228 (CFLAGS-test-powl.c): Define.
14229 * math/test-powl.c: New file.
14230
0a197a9d
L
142312011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14232
14233 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14234
ee30c380
UD
142352011-05-17 Ulrich Drepper <drepper@gmail.com>
14236
14237 [BZ #11837]
14238 * iconvdata/gb18030.c: Update to GB18020-2005.
14239
6ce75379
UD
142402011-05-16 Ulrich Drepper <drepper@gmail.com>
14241
a4b89fd8
AR
14242 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14243 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14244 Patch by Aharon Robbins <arnold@skeeve.com>.
14245
ea389b12
UD
14246 [BZ #11892]
14247 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14248 on the stack.
14249
68a3f91f
UD
14250 [BZ #11895]
14251 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14252 through underflows.
14253
15cc7dd1
UD
14254 [BZ #12766]
14255 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14256 point to strings before performing equality test for error_one_per_line
14257 mode.
14258
f3799213
UD
14259 [BZ #11697]
14260 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14261
d79a9c94
UD
14262 [BZ #11820]
14263 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14264 (struct user_fpregs_struct): Avoid __uint*_t types.
14265
56e5eb46
UD
14266 [BZ #6420]
14267 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14268 symbol info. Use it instead of calling _dl_addr locally.
14269 (lock_and_info): New function.
14270 (tr_freehook): Call lock_and_info and pass symbol info as additional
14271 parameter to tr_where.
14272 (tr_mallochook): Likewise.
14273 (tr_reallochook): Likewise.
14274 (tr_memalignhook): Likewise.
14275
6ce75379
UD
14276 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14277 used and couldn't be at all thread-safe.
14278
f8a3b5bf
UD
142792011-05-15 Ulrich Drepper <drepper@gmail.com>
14280
94b7cc37
UD
14281 * libio/freopen.c (freopen): Don't close old file descriptor
14282 before the new one is opened. Instead dup the new file descriptor
14283 to the old one after the new stream is created.
14284 * libio/freopen64.c (freopen64): Likewise.
14285 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14286 * libio/fileops.c (_IO_new_file_close_it): Handle new
14287 _IO_FLAGS2_NOCLOSE flag.
14288 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14289 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14290 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14291 _IO_FLAGS2_NOCLOSE flag.
14292 * include/unistd.h: Add hidden_proto for dup3.
14293 Define __have_dup3.
14294 * io/dup3.c: Define hidden symbol.
14295 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14296
bd25564e
UD
14297 [BZ #7101]
14298 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14299 when an incomplete long option is used.
14300 * posix/tst-getopt_long1.c: New file.
14301 * posix/Makefile (tests): Add tst-getopt_long1.
14302
c84cfef4
UD
14303 [BZ #10138]
14304 * scripts/config.guess: Update from autoconf-2.68.
14305 * scripts/config.sub: Likewise.
14306
3b85df27
UD
14307 [BZ #10157]
14308 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14309 tests into ...
14310 (has_cpuclock): ...this. New function.
14311 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14312 macro here based on has_cpuclock code.
14313
15a856b1
UD
14314 [BZ #10149]
14315 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14316 First byte (not low byte) is now always NUL.
14317 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14318
05f399e6
UD
14319 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14320 Use non-cancelable interfaces.
14321
10a52685 14322 [BZ #9809]
94ecc67d
UD
14323 * locale/iso-639.def: Add entry for Sorani.
14324
f8a3b5bf
UD
14325 [BZ #11901]
14326 * include/stdlib.h: Move include protection to the right place.
14327 Define abort_msg_s. Declare __abort_msg with it.
14328 * stdlib/abort.c (__abort_msg): Adjust type.
14329 * assert/assert.c (__assert_fail_base): New function. Majority
14330 of code from __assert_fail. Allocate memory for __abort_msg with
14331 mmap.
14332 (__assert_fail): Now call __assert_fail_base.
14333 * assert/assert-perr.c: Remove bulk of implementation. Use
14334 __assert_fail_base.
14335 * include/assert.hL Declare __assert_fail_base.
14336 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14337 mmap.
14338 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14339
1af4e298
UD
143402011-05-14 Ulrich Drepper <drepper@gmail.com>
14341
f8a3b5bf 14342 [BZ #11952]
d26dfc60
MG
14343 [BZ #12453]
14344 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14345 until all modules are registered in the DTV.
14346 * elf/Makefile: Add rules to build and run tst-tls19.
14347 * elf/tst-tls19.c: New file.
14348 * elf/tst-tls19mod1.c: New file.
14349 * elf/tst-tls19mod2.c: New file.
14350 * elf/tst-tls19mod3.c: New file.
14351 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14352
2fc54d6f
UD
14353 [BZ #12083]
14354 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14355 correctly.
14356
98d76b46
UD
14357 [BZ #12601]
14358 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14359 two-byte sequence errors.
14360 * iconvdata/Makefile (tests): Add bug-iconv8.
14361 * iconvdata/bug-iconv8.c: New file.
14362
da3c19ef
UD
14363 [BZ #12626]
14364 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14365 buf2 definition.
14366
ca408c15
UD
14367 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14368
d6f67f7d
UD
14369 [BZ #12432]
14370 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14371 (dummy_getcfa): New function.
14372 (init): Get _Unwind_GetCFA address, use dummy if not found.
14373 (backtrace_helper): In recursion check, also check whether CFA changes.
14374 (__backtrace): Completely initialize arg.
14375
1af4e298 14376 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14377 storing incomplete byte sequence in state object. Avoid testing for
14378 guaranteed too small input if we know there is enough data available.
1af4e298 14379
da62f81b
AS
143802011-05-11 Andreas Schwab <schwab@redhat.com>
14381
14382 * Makeconfig (+link-pie): Indent.
14383 * Rules (binaries-pie): Define if $(have-fpie) and
14384 $(build-shared).
14385 (binaries-shared): Also filter out $(binaries-pie).
14386 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14387 * nscd/Makefile (others-pie): Add nscd.
14388 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14389 ($(objpfx)nscd): Remove command override.
14390 * login/Makefile (others-pie): Add pt_chown.
14391 ($(objpfx)pt_chown): Remove command override.
14392 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14393 remove command overrides.
14394
fcabc0f8
UD
143952011-05-13 Ulrich Drepper <drepper@gmail.com>
14396
20030ae6
UD
14397 * libio/tst_putwc.c: Fix error messages.
14398
fcabc0f8
UD
14399 [BZ #12724]
14400 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14401 currently writing and seek to current position when not.
14402 * libio/Makefile (tests): Add bug-fclose1.
14403 * libio/bug-fclose1.c: New file.
14404
320a5dc0
PB
144052011-05-12 Ulrich Drepper <drepper@gmail.com>
14406
14407 [BZ #12511]
14408 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14409 don't set DF_1_NODELETE here.
14410 (do_lookup_x): When entering new entry test for copy relocation
14411 and if necessary set DF_1_NODELETE flag.
14412 * elf/tst-unique4.cc: New file.
14413 * elf/tst-unique4.h: New file.
14414 * elf/tst-unique4lib.cc: New file.
14415 * elf/Makefile: Add rules to build and run tst-unique4.
14416 Patch by Piotr Bury <pbury@goahead.com>.
14417
22836f52
UD
144182011-05-11 Ulrich Drepper <drepper@gmail.com>
14419
f574184a
UD
14420 [BZ #12052]
14421 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14422
e1fb097f
UD
14423 [BZ #12625]
14424 * misc/mntent_r.c (addmntent): Flush the stream after the output
14425
22836f52
UD
14426 [BZ #12393]
14427 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14428 (is_trusted_path_normalize): Skip initial colon. Append slash
14429 to empty buffer. Duplicate is_trusted_path code but allow
14430 constructed patch to be prefix.
14431 (is_dst): Allow $ORIGIN followed by /.
14432 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14433 Correct testing of result of is_trusted_path_normalize
14434 (decompose_rpath): Fix warning.
14435
7b3b0b2a
UD
144362011-05-10 Ulrich Drepper <drepper@gmail.com>
14437
14438 [BZ #11257]
14439 * grp/initgroups.c (internal_getgrouplist): When we found the service
14440 list through the initgroups entry in nsswitch.conf do not always
14441 continue on a successful lookup. Don't always use the
eac80ce2 14442 __nss_group_database value if it is set.
7b3b0b2a
UD
14443 * nss/nsswitch.conf (initgroups): Change action for successful db
14444 lookup to continue for compatibility.
14445
2a81eaa5
UD
144462011-05-09 Ulrich Drepper <drepper@gmail.com>
14447
be97a69e
UD
14448 [BZ #11532]
14449 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14450 and CP774 modules.
14451 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14452 and CP774 modules.
14453 * iconvdata/tst-tables.sh: Likewise.
14454 * iconvdata/cp770.c: New file.
14455 * iconvdata/cp771.c: New file.
14456 * iconvdata/cp772.c: New file.
14457 * iconvdata/cp773.c: New file.
14458 * iconvdata/cp774.c: New file.
14459 * iconvdata/testdata/CP770: New file.
14460 * iconvdata/testdata/CP770..UTF8: New file.
14461 * iconvdata/testdata/CP771: New file.
14462 * iconvdata/testdata/CP771..UTF8: New file.
14463 * iconvdata/testdata/CP772: New file.
14464 * iconvdata/testdata/CP772..UTF8: New file.
14465 * iconvdata/testdata/CP773: New file.
14466 * iconvdata/testdata/CP773..UTF8: New file.
14467 * iconvdata/testdata/CP774: New file.
14468 * iconvdata/testdata/CP774..UTF8: New file.
14469
14470 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14471 END CHARMAP line.
14472 * iconvdata/gen-8bit-gap.sh: Likewise.
14473 * iconvdata/gen-8bit.sh: Likewise.
14474
c1e9e399
UD
14475 * locale/iso-639.def: Add ary entry.
14476
24c55fb3 14477 [BZ #11258]
96b4b1b0
UD
14478 * locale/C-translit.h.in: Add U20A1 transliteration.
14479
bdc2f971
KB
14480 [BZ #12178]
14481 * locale/iso-639.def: Add wae entry.
14482 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14483
2952b117
UD
14484 [BZ #12545]
14485 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14486 for n.
14487
2a81eaa5
UD
14488 [BZ #12711]
14489 * locale/C-translit.h.in: Add entry for U20B9.
14490 Patch by pravin.d.s@gmail.com.
14491
28377d1b
UD
144922011-05-08 Ulrich Drepper <drepper@gmail.com>
14493
7fb90fb8
UD
14494 [BZ #12713]
14495 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14496 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14497 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14498 in rtld. Use *stat64.
7fb90fb8 14499 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14500 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14501 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14502 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14503 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14504 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14505 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14506 __fstatat64 macros.
7fb90fb8
UD
14507 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14508 * dirent/rewinddir.c: Add libc_hidden_def.
14509 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14510 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14511
28377d1b
UD
14512 * include/dirent.h (__alloc_dir): Add flags parameter.
14513 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14514 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14515 __alloc_dir.
14516 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14517 from fdopendir if O_CLOEXEC is already set.
14518
66bdbaa4
AM
145192011-03-15 Alan Modra <amodra@gmail.com>
14520
14521 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14522 l_tls_firstbyte_offset non-zero. Save padding offset in
14523 l_tls_firstbyte_offset for later use.
14524 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14525 freeing static tls block.
14526
95721191
JN
145272011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14528
14529 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14530 where #ifdef was intended. The intent is to prevent ARG_MAX from
14531 being defined by the kernel headers.
14532
f87dfb1f
UD
145332011-05-07 Ulrich Drepper <drepper@gmail.com>
14534
14535 [BZ #12734]
14536 * resolv/resolv.h: Define RES_NOTLDQUERY.
14537 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14538 no-tld-query and set RES_NOTLDQUERY.
14539 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14540 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14541 modern BIND to search name as TLD unless forbidden.
14542
47c3cd7a
UD
145432011-05-07 Petr Baudis <pasky@suse.cz>
14544 Ulrich Drepper <drepper@gmail.com>
14545
14546 [BZ #12393]
14547 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14548 (is_trusted_path): ...to here.
c1e9ea35 14549 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14550 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14551 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14552
8a35c912
PP
145532011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14554
14555 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14556 __BEGIN/__END_DECLS.
14557
acd41f47
UD
145582011-05-06 Ulrich Drepper <drepper@gmail.com>
14559
14560 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14561 NSS_STATUS_NOTFOUND if no record was found.
14562
597df647
AS
145632011-05-05 Andreas Schwab <schwab@redhat.com>
14564
14565 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14566 (headers-not-in-tirpc): Remove rpc/netdb.h
14567 * resolv/netdb.h: Revert last change.
14568
b9af1301
PP
145692011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14570
14571 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14572 circular dependency between libgcc.a and libc.a.
14573
4e34d5f5
AS
145742011-05-05 Andreas Schwab <schwab@redhat.com>
14575
14576 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14577 * nis/Makefile: Don't install rpcsvc/*.
14578 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14579 instead of <rpc/types.h>.
14580 (MAXHOSTNAMELEN): Define.
14581
00ee369c
AS
145822011-05-03 Andreas Schwab <schwab@redhat.com>
14583
14584 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14585
0b592a30
MB
145862011-04-28 Maciej Babinski <mbabinski@google.com>
14587
14588 [BZ #12714]
14589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14590 gethostbyname4_r when IPv6 results are possible.
14591
6e04cbbe
UD
145922011-05-02 Ulrich Drepper <drepper@gmail.com>
14593
14594 [BZ #12723]
14595 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14596 _PC_PIPE_BUF handling.
14597
e4ecafe0
BH
145982011-04-30 Bruno Haible <bruno@clisp.org>
14599
14600 [BZ #12717]
14601 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14602 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14603 to 'int'.
14604 * inet/getnameinfo.c (getnameinfo): Likewise.
14605
125ee683
UD
146062011-04-29 Ulrich Drepper <drepper@gmail.com>
14607
14608 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14609 to groups setting in database lookup.
14610 * nss/nsswitch.conf: Add initgroups entry.
14611
b722481a
EB
146122011-04-22 Ulrich Drepper <drepper@gmail.com>
14613
14614 [BZ #12685]
14615 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14616 mode string.
14617 Patch by Eric Blake <eblake@redhat.com>.
14618
4df46dbd
L
146192011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14620
14621 * sunrpc/Makefile (need-export-routines): Add svc_run.
14622 (routines): Remove svc_run.
14623 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14624 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14625 * sunrpc/svc_run.c (svc_run): Likewise.
14626 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14627
e84142d2
UD
146282011-04-21 Ulrich Drepper <drepper@gmail.com>
14629
14630 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14631 problem in reallocation in last patch.
14632
877175d8
UD
146332011-04-20 Ulrich Drepper <drepper@gmail.com>
14634
14635 * sunrpc/Makefile: Move inclusion of Rules.
14636
ab8eed78
UD
146372011-04-19 Ulrich Drepper <drepper@gmail.com>
14638
14639 * nss/nss_files/files-initgroups.c: New file.
14640 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14641 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14642 _nss_files_initgroups_dyn.
14643
e3d8f584
RS
146442011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14645
14646 * elf/elf.h (R_ARM_IRELATIVE): Define.
14647
af190f45
UD
146482011-04-19 Ulrich Drepper <drepper@gmail.com>
14649
14650 * po/ru.po: Update from translation team.
14651
53cf59ef
UD
146522011-04-17 Ulrich Drepper <drepper@gmail.com>
14653
14654 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14655 dependencies.
14656
4c559bcd
MF
146572011-02-06 Mike Frysinger <vapier@gentoo.org>
14658
14659 [BZ #12653]
14660 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14661 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14662 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14663 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14664 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14665
4420675c
AS
146662011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14667
14668 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14669 differing bytes.
14670 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14671 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14672 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14673
75ea32ab
UD
146742011-04-17 Ulrich Drepper <drepper@gmail.com>
14675
14676 [BZ #12420]
14677 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14678 storing it.
14679 * stdlib/bug-getcontext.c: New file.
14680 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14681
27390476
AK
146822011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14683
14684 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14685 instructions into .machine "z9-109".
14686 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14687 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14688
10442705
AK
146892011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14690
14691 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14692 between environment variables and auxiliary vector.
14693
7b57bfe5
UD
146942011-04-16 Ulrich Drepper <drepper@gmail.com>
14695
14696 * Makefile: Add rules to build linkobj/libc.so.
14697 * include/libc-symbols.h: Define libc_hidden_nolink.
14698 * include/rpc/auth.h: Mark functions which are to be hidden.
14699 * include/rpc/auth_des.h: Likewise.
14700 * include/rpc/auth_unix.h: Likewise.
14701 * include/rpc/clnt.h: Likewise.
14702 * include/rpc/des_crypt.h: Likewise.
14703 * include/rpc/key_prot.h: Likewise.
14704 * include/rpc/pmap_clnt.h: Likewise.
14705 * include/rpc/pmap_prot.h: Likewise.
14706 * include/rpc/pmap_rmt.h: Likewise.
14707 * include/rpc/rpc_msg.h: Likewise.
14708 * include/rpc/svc.h: Likewise.
14709 * include/rpc/svc_auth.h: Likewise.
14710 * include/rpc/xdr.h: Likewise.
14711 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14712 * nss/Makefile: Likewise.
14713 * sunrpc/Makefile: Don't install headers. Build library with normal
14714 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14715 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14716 for the compat linking library. Remove use of INTDEF/INTUSE.
14717 * sunrpc/auth_none.c: Likewise.
14718 * sunrpc/auth_unix.c: Likewise.
14719 * sunrpc/authdes_prot.c: Likewise.
14720 * sunrpc/authuxprot.c: Likewise.
14721 * sunrpc/clnt_gen.c: Likewise.
14722 * sunrpc/clnt_perr.c: Likewise.
14723 * sunrpc/clnt_raw.c: Likewise.
14724 * sunrpc/clnt_simp.c: Likewise.
14725 * sunrpc/clnt_tcp.c: Likewise.
14726 * sunrpc/clnt_udp.c: Likewise.
14727 * sunrpc/clnt_unix.c: Likewise.
14728 * sunrpc/des_crypt.c: Likewise.
14729 * sunrpc/des_soft.c: Likewise.
14730 * sunrpc/get_myaddr.c: Likewise.
14731 * sunrpc/key_call.c: Likewise.
14732 * sunrpc/key_prot.c: Likewise.
14733 * sunrpc/netname.c: Likewise.
14734 * sunrpc/pm_getmaps.c: Likewise.
14735 * sunrpc/pm_getport.c: Likewise.
14736 * sunrpc/pmap_clnt.c: Likewise.
14737 * sunrpc/pmap_prot.c: Likewise.
14738 * sunrpc/pmap_prot2.c: Likewise.
14739 * sunrpc/pmap_rmt.c: Likewise.
14740 * sunrpc/publickey.c: Likewise.
14741 * sunrpc/rpc_cmsg.c: Likewise.
14742 * sunrpc/rpc_common.c: Likewise.
14743 * sunrpc/rpc_dtable.c: Likewise.
14744 * sunrpc/rpc_prot.c: Likewise.
14745 * sunrpc/rpc_thread.c: Likewise.
14746 * sunrpc/rtime.c: Likewise.
14747 * sunrpc/svc.c: Likewise.
14748 * sunrpc/svc_auth.c: Likewise.
14749 * sunrpc/svc_authux.c: Likewise.
14750 * sunrpc/svc_raw.c: Likewise.
14751 * sunrpc/svc_run.c: Likewise.
14752 * sunrpc/svc_simple.c: Likewise.
14753 * sunrpc/svc_tcp.c: Likewise.
14754 * sunrpc/svc_udp.c: Likewise.
14755 * sunrpc/svc_unix.c: Likewise.
14756 * sunrpc/svcauth_des.c: Likewise.
14757 * sunrpc/xcrypt.c: Likewise.
14758 * sunrpc/xdr.c: Likewise.
14759 * sunrpc/xdr_array.c: Likewise.
14760 * sunrpc/xdr_float.c: Likewise.
14761 * sunrpc/xdr_intXX_t.c: Likewise.
14762 * sunrpc/xdr_mem.c: Likewise.
14763 * sunrpc/xdr_rec.c: Likewise.
14764 * sunrpc/xdr_ref.c: Likewise.
14765 * sunrpc/xdr_sizeof.c: Likewise.
14766 * sunrpc/xdr_stdio.c: Likewise.
14767
e6c61494
UD
147682011-04-10 Ulrich Drepper <drepper@gmail.com>
14769
14770 [BZ #12650]
14771 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14772 * sysdeps/ia64/dl-tls.h: Likewise.
14773 * sysdeps/powerpc/dl-tls.h: Likewise.
14774 * sysdeps/s390/dl-tls.h: Likewise.
14775 * sysdeps/sh/dl-tls.h: Likewise.
14776 * sysdeps/sparc/dl-tls.h: Likewise.
14777 * sysdeps/x86_64/dl-tls.h: Likewise.
14778 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14779
34fe483e
AS
147802011-03-14 Andreas Schwab <schwab@redhat.com>
14781
14782 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14783 rpath element also skip the following colon.
14784 (expand_dynamic_string_token): Add is_path parameter and pass
14785 down to DL_DST_REQUIRED and _dl_dst_substitute.
14786 (decompose_rpath): Call expand_dynamic_string_token with
14787 non-zero is_path. Ignore empty rpaths.
14788 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14789 with zero is_path.
14790
f12a32e6
AS
147912011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14792
14793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14794 Make cancelable.
14795
38a7d692
UD
147962011-04-09 Ulrich Drepper <drepper@gmail.com>
14797
14798 [BZ #12655]
14799 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14800 Patch by Filipe David Manana <fdmanana@apache.org>.
14801
e451d22b
AS
148022011-04-07 Andreas Schwab <schwab@redhat.com>
14803
14804 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14805 Maintain aligned stack.
14806 (CHECK_RSP): Remove unused macro.
14807
dedc7c7b
UD
148082011-04-03 Ulrich Drepper <drepper@gmail.com>
14809
14810 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14811 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14812
94521213
UD
148132011-04-02 Ulrich Drepper <drepper@gmail.com>
14814
14815 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14816
8cb700c0 14817 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14818
0354e355
L
148192011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14820
14821 [BZ #12518]
14822 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14823 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14824 * sysdeps/x86_64/memmove.c: New file.
14825 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14826 (memcpy): Renamed to ...
14827 (__new_memcpy): This.
14828 (memcpy): Provide GLIBC_2_14 memcpy.
14829 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14830 (memcpy): Provide GLIBC_2_2_5 memcpy.
14831
8593482f
UD
148322011-04-01 Ulrich Drepper <drepper@gmail.com>
14833
14834 [BZ #12631]
14835 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14836
81a5726b
AS
148372011-03-30 Andreas Schwab <schwab@redhat.com>
14838
14839 * misc/syncfs.c: New file.
14840 * misc/Makefile (routines): Add syncfs.
14841 * posix/unistd.h: Declare syncfs.
14842 * sysdeps/unix/syscalls.list: Add syncfs.
14843
00e5419f
AS
148442011-04-01 Andreas Schwab <schwab@redhat.com>
14845
14846 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14847 open_by_handle_at.
14848 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14849 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14850 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14851 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14852 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14853 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14854 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14855
748876bf
UD
148562011-04-01 Ulrich Drepper <drepper@gmail.com>
14857
658e451d
UD
14858 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14859 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14860 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14861 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14862 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14863 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14864 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14865
748876bf
UD
14866 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14867 sync_file_range.c with -fexceptions.
14868 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14869 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14870 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14871 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14872 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14873 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14874 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14875 sync_file_range as cancellation point
14876 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14877 now a wrapper around __call_sync_file_range with cancellation handling.
14878 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14879 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14880 function name to __call_sync_file_range.
14881 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14882 Add call_sync_file_range.
748876bf 14883
6e63d5e1
AS
148842011-04-01 Andreas Schwab <schwab@redhat.com>
14885
14886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14887 bits/timex.h.
6e63d5e1 14888
46998f74
UD
148892011-04-01 Ulrich Drepper <drepper@gmail.com>
14890
4c1423ed
UD
14891 * iconv/iconv.h: Fix typo in comment.
14892 * io/fcntl.h: Likewise.
14893 * libio/stdio.h: Likewise.
14894 * posix/spawn.h: Likewise.
14895 * posix/unistd.h: Likewise.
14896 * stdlib/stdlib.h: Likewise.
14897 * time/time.h: Likewise.
14898 * wcsmbs/wchar.h: Likewise.
14899
158648c0
UD
14900 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14901 open_by_handle): Add.
14902 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14903 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14904 Augment a few comments.
14905 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14906 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14907 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14908 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14909 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14910 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14911 open_by_handle.
14912
46998f74
UD
14913 * io/fcntl.h (AT_EMPTY_PATH): Define.
14914
83fe108b
UD
149152011-03-30 Ulrich Drepper <drepper@gmail.com>
14916
14917 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14918 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14919 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14920 to...
14921 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14922 * Versions.def: Add GLIBC_2.14.
14923 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14924 Export.
83fe108b 14925
bb242059
UD
149262011-03-22 Ulrich Drepper <drepper@gmail.com>
14927
14928 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14929 round counter.
14930 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14931
c97a1282
L
149322011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14933
14934 [BZ #12597]
14935 * string/test-strncmp.c (do_page_test): New function.
14936 (check2): Likewise.
14937 (test_main): Call check2.
14938 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14939
2a115601
UD
149402011-03-20 Ulrich Drepper <drepper@gmail.com>
14941
14942 [BZ #12587]
14943 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14944 Handle cache information in CPU leaf 4.
14945 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14946
8126d904
UD
149472011-03-18 Ulrich Drepper <drepper@gmail.com>
14948
042c49c6 14949 [BZ #12583]
8126d904
UD
14950 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14951 character representation.
14952 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14953
ccfe366e
RA
149542011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14955
14956 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14957 END(__isnan) to END(__isnanf) to match function entry point/label
14958 EALIGN(__isnanf,...).
14959
c6e13027
JJ
149602011-03-10 Jakub Jelinek <jakub@redhat.com>
14961
14962 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14963
33f85a3f
UD
149642011-03-10 Ulrich Drepper <drepper@gmail.com>
14965
028478fa
UD
14966 [BZ #12510]
14967 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14968 copy from the symbol referenced in the relocation to initialize the
14969 used variable.
14970 Patch by Piotr Bury <pbury@goahead.com>.
14971 * elf/Makefile: Add rules to build and tst-unique3.
14972 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14973 * elf/tst-unique3.cc: New file.
14974 * elf/tst-unique3.h: New file.
14975 * elf/tst-unique3lib.cc: New file.
14976 * elf/tst-unique3lib2.cc: New file.
14977
33f85a3f
UD
14978 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14979
03592fc7
MF
149802011-03-10 Mike Frysinger <vapier@gentoo.org>
14981
14982 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14983 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14984 to _start.
03592fc7 14985
6a5ee102
UD
149862011-03-06 Ulrich Drepper <drepper@gmail.com>
14987
14988 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14989 to-be-loaded object along a path to loader is ld.so.
14990
7e4ba49c
HJ
149912011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14992 Ulrich Drepper <drepper@gmail.com>
14993
14994 * sysdeps/x86_64/memset.S: After aligning destination, code
14995 branches to different locations depending on the value of
14996 misalignment, when multiarch is enabled. Fix this.
14997
149982011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14999
15000 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15001 Set _x86_64_preferred_memory_instruction for AMD processsors.
15002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15003 Set bit_Prefer_SSE_for_memop for AMD processors.
15004
13a804de
UD
150052011-03-04 Ulrich Drepper <drepper@gmail.com>
15006
15007 * libio/fmemopen.c (fmemopen): Optimize a bit.
15008
9d25c392
AS
150092011-03-03 Andreas Schwab <schwab@redhat.com>
15010
15011 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15012
a5543c6a
RM
150132011-03-03 Roland McGrath <roland@redhat.com>
15014
15015 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15016
012d35f7
DM
150172011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15018
7e4ba49c 15019 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
15020 __bzero_ultra1 instead of __memset_ultra1.
15021
4bff6e01
AS
150222011-02-23 Andreas Schwab <schwab@redhat.com>
15023 Ulrich Drepper <drepper@gmail.com>
15024
15025 [BZ #12509]
15026 * include/link.h (struct link_map): Add l_orig_initfini.
15027 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15028 returning unsuccessfully.
15029 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15030 close of a file loaded at startup, restore the original l_initfini
15031 list.
15032 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15033 list, store the pointer.
15034 * elf/Makefile ($(objpfx)noload-mem): New rule.
15035 (noload-ENV): Define.
15036 (tests): Add $(objpfx)noload-mem.
15037 * elf/noload.c: Include <memcheck.h>.
15038 (main): Call mtrace. Close all opened handles.
15039
f2092faf
AS
150402011-02-17 Andreas Schwab <schwab@redhat.com>
15041
15042 [BZ #12454]
15043 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15044 dependencies are missing.
15045
6c8a2e88
ST
150462011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15047
f2092faf 15048 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
15049 Hurd needs munmap.
15050 * sysdeps/mach/hurd/ifreq.h: New file.
15051
84a42118
PB
150522011-01-27 Petr Baudis <pasky@suse.cz>
15053 Ulrich Drepper <drepper@gmail.com>
15054
071f805e 15055 [BZ 12445]#
84a42118
PB
15056 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15057 to extend_alloca().
15058 * stdio-common/bug23.c: New file.
15059 * stdio-common/Makefile (tests): Add bug23.
15060
e23fe25b
AS
150612010-09-28 Andreas Schwab <schwab@redhat.com>
15062 Ulrich Drepper <drepper@gmail.com>
15063
15064 [BZ #12489]
15065 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15066 before performing relro protection. At old place add assertion
15067 to make sure nothing changed.
15068
d3f02e10
NS
150692011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15070 Glauber de Oliveira Costa <glommer@gmail.com>
15071
15072 * elf/elf.h: Add new ARM TLS relocs.
15073
d55fd7a5
RA
150742011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15075
15076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15077 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15078 cast from r3.
15079 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15080 'tests' variable.
15081 * sysdeps/wordsize-64/tst-writev.c: New file.
15082
2206397e
RA
150832011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15084
15085 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15086 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15087 insns in _dl_start to prevent a TOC reference before relocs are
15088 resolved.
15089
e9433893
UD
150902011-02-15 Ulrich Drepper <drepper@gmail.com>
15091
15092 [BZ #12469]
15093 * Makeconfig: Remove RANLIB definition.
15094 * Makerules: Don't use RANLIB.
15095 * aclocal.m4: Remove ranlib test.
15096 * configure.in: No need to check for ranlib.
15097 * elf/rtld-Rules: Don't use RANLIB.
15098
f75286c6
ST
150992011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15100
8e31c82d
ST
15101 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15102 protection macro.
15103 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15104 inclusion protection macro.
15105
f75286c6
ST
15106 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15107 SIGRTMIN and SIGRTMAX and print information in that case only when
15108 SIGRTMIN is defined.
15109
c1d0e639
JJ
151102011-02-11 Jakub Jelinek <jakub@redhat.com>
15111
15112 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15113 arginfo fn returning -1.
15114
15115 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15116 and thousands string is zero terminated.
15117
edf9294e
AS
151182011-02-03 Andreas Schwab <schwab@redhat.com>
15119
15120 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15121 sysdeps/unix/sysv/linux/bits/socket.h.
15122
2b7e92df
ST
151232011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15124
edf9294e
AS
15125 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15126 (__CPU_COUNT): Remove old macros.
15127 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15128 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15129 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
15130 (__sched_cpualloc, __sched_cpufree): Add declarations.
15131
a4c7ea7b
UD
151322011-02-05 Ulrich Drepper <drepper@gmail.com>
15133
15134 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15135 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15136 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15137 (readdhstai): Return value of addhstaiX call.
15138 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15139 (addgrbyX): Return value returned by cache_addgr.
15140 (readdgrbyname): Return value returned by addgrbyX.
15141 (readdgrbygid): Likewise.
15142 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15143 (addpwbyX): Return value returned by cache_addpw.
15144 (readdpwbyname): Return value returned by addhstbyX.
15145 (readdpwbyuid): Likewise.
15146 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15147 (addservbyX): Return value returned by cache_addserv.
15148 (readdservbyname): Return value returned by addservbyX:
15149 (readdservbyport): Likewise.
15150 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15151 (addhstbyX): Return value returned by cache_addhst.
15152 (readdhstbyname): Return value returned by addhstbyX.
15153 (readdhstbyaddr): Likewise.
15154 (readdhstbynamev6): Likewise.
15155 (readdhstbyaddrv6): Likewise.
15156 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15157 (readdinitgroups): Return value returned by addinitgroupsX.
15158 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15159 (prune_cache): Keep track of timeout value of re-added entries.
15160 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15161 * nscd/nscd.h: Adjust prototypes of readd* functions.
15162
a0bf67cc
RM
151632011-02-04 Roland McGrath <roland@redhat.com>
15164
15165 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15166 (nis_stats): Likewise.
15167 * nis/nis_modify.c (nis_modify): Likewise.
15168 * nis/nis_remove.c (nis_remove): Likewise.
15169 * nis/nis_add.c (nis_add): Likewise.
15170
15171 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15172
15173 * posix/fnmatch_loop.c: Add some consts.
15174
15175 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15176
435b95eb
L
151772011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15178
15179 [BZ #12460]
15180 * config.make.in (config-cflags-novzeroupper): Define.
15181 * configure.in: Substitute libc_cv_cc_novzeroupper.
15182 * elf/Makefile (AVX-CFLAGS): Define.
15183 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15184 (CFLAGS-tst-auditmod4a.c): Likewise.
15185 (CFLAGS-tst-auditmod4b.c): Likewise.
15186 (CFLAGS-tst-auditmod6b.c): Likewise.
15187 (CFLAGS-tst-auditmod6c.c): Likewise.
15188 (CFLAGS-tst-auditmod7b.c): Likewise.
15189 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15190
8517b15e
UD
151912011-02-02 Ulrich Drepper <drepper@gmail.com>
15192
15193 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15194 function to the callback.
15195 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15196
10a656fe
AS
151972011-02-02 Andreas Schwab <schwab@redhat.com>
15198
15199 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15200 of errno.
15201
968dad0a
UD
152022011-01-19 Ulrich Drepper <drepper@gmail.com>
15203
9f94d2ea 15204 [BZ #11724]
968dad0a
UD
15205 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15206 of constructors.
15207 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15208 of destructors.
15209 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15210
15211 [BZ #11724]
15212 * elf/Makefile: Add rules to build and run new test.
15213 * elf/tst-initorder.c: New file.
15214 * elf/tst-initorder.exp: New file.
15215 * elf/tst-initordera1.c: New file.
15216 * elf/tst-initordera2.c: New file.
15217 * elf/tst-initordera3.c: New file.
15218 * elf/tst-initordera4.c: New file.
15219 * elf/tst-initorderb1.c: New file.
15220 * elf/tst-initorderb2.c: New file.
15221 * elf/tst-order-a1.c: New file.
15222 * elf/tst-order-a2.c: New file.
15223 * elf/tst-order-a3.c: New file.
15224 * elf/tst-order-a4.c: New file.
15225 * elf/tst-order-b1.c: New file.
15226 * elf/tst-order-b2.c: New file.
15227 * elf/tst-order-main.c: New file.
15228 New test case by George Gensure <werkt0@gmail.com>.
15229
86e92359
UD
152302010-10-01 Andreas Schwab <schwab@redhat.com>
15231
15232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15233 decoding ACE if AI_CANONIDN.
15234
5d5732b0
UD
152352011-01-18 Ulrich Drepper <drepper@gmail.com>
15236
15237 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15238
a77e8cbc
UD
152392011-01-17 Ulrich Drepper <drepper@gmail.com>
15240
6392473f
UD
15241 * version.h (RELEASE): Bump for 2.13 release.
15242 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15243
620a0529
UD
15244 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15245
18ba70a5
UD
15246 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15247 MADV_NOHUGEPAGE.
32465c3e
UD
15248 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15249 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15250 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15251 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15252 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15253 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15254
c0dafcf1
UD
15255 * posix/getconf.c: Update copyright year.
15256 * catgets/gencat.c: Likewise.
15257 * csu/version.c: Likewise.
15258 * debug/catchsegv.sh: Likewise.
15259 * debug/xtrace.sh: Likewise.
15260 * elf/ldconfig.c: Likewise.
15261 * elf/ldd.bash.in: Likewise.
15262 * elf/sprof.c (print_version): Likewise.
15263 * iconv/iconv_prog.c: Likewise.
15264 * iconv/iconvconfig.c: Likewise.
15265 * locale/programs/locale.c: Likewise.
15266 * locale/programs/localedef.c: Likewise.
15267 * malloc/memusage.sh: Likewise.
15268 * malloc/mtrace.pl: Likewise.
15269 * nscd/nscd.c (print_version): Likewise.
15270 * nss/getent.c: Likewise.
15271
a77e8cbc
UD
15272 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15273 PF_CAIF, and PF_ALG.
15274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15275
77e8bddf
AS
152762011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15277
1f20b93a
AS
15278 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15279 (modules-names): Use them.
15280 (ifunc-test-modules, ifunc-pie-tests): Define.
15281 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15282 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15283 (test-extras): Likewise.
15284 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15285 $(compile-command.c).
15286 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15287 (all-built-dso): Define.
15288 (check-textrel.out, check-execstack.out): Depend on it.
15289
77e8bddf
AS
15290 * configure.in: Don't override --enable-multi-arch.
15291
bc425b33
UD
152922011-01-15 Ulrich Drepper <drepper@gmail.com>
15293
15294 [BZ #6812]
15295 * nscd/hstcache.c (tryagain): Define.
15296 (cache_addhst): Return tryagain not notfound for temporary errors.
15297 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15298 failed.
15299
794c3ad3
UD
153002011-01-14 Ulrich Drepper <drepper@gmail.com>
15301
70181fdd
UD
15302 [BZ #10563]
15303 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15304 to make the syscall.
15305 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15306
794c3ad3
UD
15307 [BZ #12378]
15308 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15309 and fall back to matching as normal character if the string ends before
15310 the matching ']' is found. This is what POSIX requires.
15311 * posix/testfnm.c: Adjust test result.
15312 * posix/globtest.sh: Adjust test result. Add new test.
15313 * posix/tst-fnmatch.input: Likewise.
15314 * posix/tst-fnmatch2.c: Add new test.
15315
68dc9497
AS
153162010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15317
15318 * elf/Makefile (check-execstack): Revert last change. Depend on
15319 check-execstack.h.
15320 (check-execstack.h): New target.
15321 (generated): Add check-execstack.h.
15322 * elf/check-execstack.c: Include "check-execstack.h".
15323 (main): Revert last change.
15324 (handle_file): Return zero if GNU_STACK is absent and
15325 DEFAULT_STACK_PERMS doesn't include PF_X.
15326
451f001b
UD
153272011-01-13 Ulrich Drepper <drepper@gmail.com>
15328
cfa28e56
UD
15329 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15330 in child fails because the descriptor is already closed.
8cf8ce17
UD
15331 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15332 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15333 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15334
1086d70d
UD
15335 [BZ #12397]
15336 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15337 syscall.
15338
451f001b
UD
15339 [BZ #10484]
15340 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15341 temporary buffer used to handle multi lookups locally.
a85b5cb4 15342 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15343
08769175
UD
153442011-01-12 Ulrich Drepper <drepper@gmail.com>
15345
15346 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15347 loader is ld.so.
15348
5e49c52e
UD
153492011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15350
15351 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15352 alignment for SSE2.
15353
60522a5f
UD
153542011-01-12 Ulrich Drepper <drepper@gmail.com>
15355
15356 [BZ #12394]
15357 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15358 characters. When rounding increased number of integer digits recompute
15359 number of groups.
15360 * stdio-common/tst-grouping.c: New file.
15361 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15362
f257bbd7
UD
153632011-01-09 Ulrich Drepper <drepper@gmail.com>
15364
15365 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15366 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15367
15368 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15369 void.
15370 * bits/select.h: Likewise.
15371
fa9c15cb
UD
153722011-01-08 Ulrich Drepper <drepper@gmail.com>
15373
15374 * po/ja.po: Update from translation team.
15375
16c2895f
DM
153762011-01-04 David S. Miller <davem@sunset.davemloft.net>
15377
15378 [BZ #11155]
15379 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15380 implementation just like for lxstat, fxstatat, et al.
15381
2543fef2
JM
153822010-12-27 Jim Meyering <meyering@redhat.com>
15383
15384 [BZ #12348]
15385 * posix/regexec.c (build_trtable): Return failure indication upon
15386 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15387
98727dbe
UD
153882010-12-25 Ulrich Drepper <drepper@gmail.com>
15389
5bd6dc5c
UD
15390 [BZ #12201]
15391 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15392 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15393 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15394 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15395
97983464
UD
15396 [BZ #12207]
15397 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15398
98727dbe
UD
15399 [BZ #12204]
15400 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15401 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15402
4a531bb0
L
154032010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15404
15405 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15406 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15407 script has SORT_BY_INIT_PRIORITY.
15408 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15409 NO_CTORS_DTORS_SECTIONS is defined.
15410 * elf/soinit.c: Likewise.
15411 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15412 NO_CTORS_DTORS_SECTIONS is defined.
15413 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15414 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15415 * sysdeps/sh/init-first.c: Likewise.
15416 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15417
07eb4b71
UD
154182010-12-24 Ulrich Drepper <drepper@gmail.com>
15419
15420 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15421 always use the slow path.
15422
30950a5f
RA
154232010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15424
15425 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15426 similar rule which adds the sysdep directories to the header search in
15427 order to pick up the correct platform stackinfo.h.
15428 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15429 perform test if it is, otherwise return successfully without testing.
15430 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15431 DEFAULT_STACK_PERMS define in stackinfo.h.
15432 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15433 defined in stackinfo.h.
15434 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15435 DEFAULT_STACK_PERMS defined in stackinfo.h.
15436 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15437 * sysdeps/ia64/stackinfo.h: Likewise.
15438 * sysdeps/s390/stackinfo.h: Likewise.
15439 * sysdeps/sh/stackinfo.h: Likewise.
15440 * sysdeps/sparc/stackinfo.h: Likewise.
15441 * sysdeps/x86_64/stackinfo.h: Likewise.
15442 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15443 PF_X for powerpc64. Retain PF_X for powerpc32.
15444
db753e2c
UD
154452010-12-19 Ulrich Drepper <drepper@gmail.com>
15446
14b697f7
UD
15447 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15448 accurately.
db753e2c
UD
15449 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15450 GETDENTS_64BIT_ALIGNED.
15451
28300719
UD
154522010-12-14 Ulrich Drepper <dreper@gmail.com>
15453
14b697f7 15454 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15455
4f197237
AS
154562010-12-10 Andreas Schwab <schwab@redhat.com>
15457
dbb0472f
AS
15458 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15459 _GNU_SOURCE.
15460
4f197237
AS
15461 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15462 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15463 Remove __restrict.
15464 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15465 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15466
fb88ac72
UD
154672010-12-09 Ulrich Drepper <drepper@gmail.com>
15468
15469 [BZ #11655]
15470 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15471 are initialized.
15472
42acbb92
JJ
154732010-12-09 Jakub Jelinek <jakub@redhat.com>
15474
15475 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15476
c038d98d
UD
154772010-12-03 Ulrich Drepper <drepper@gmail.com>
15478
15479 * po/it.po: Update from translation team.
15480
3a4a2499
L
154812010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15482
15483 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15484 unused codes.
15485
1e24cf6e
UD
154862010-11-30 Ulrich Drepper <drepper@gmail.com>
15487
15488 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15489
a7690819
AS
154902010-11-24 Andreas Schwab <schwab@redhat.com>
15491
15492 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15493 specially.
15494 (gaih_getanswer_slice): Likewise.
15495
3bf8d1b1
JJ
154962010-10-20 Jakub Jelinek <jakub@redhat.com>
15497
15498 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15499
6db52fbb
PB
155002010-05-31 Petr Baudis <pasky@suse.cz>
15501
15502 [BZ #11149]
15503 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15504 silently even in the chroot mode.
15505
eaca7569
UD
155062010-11-22 Ulrich Drepper <drepper@gmail.com>
15507
15508 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15509 last patch a bit. Pretty printing
15510
3056dcdb
UD
155112010-05-31 Petr Baudis <pasky@suse.cz>
15512
15513 [BZ #10085]
15514 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15515 initialization of skip_initgroups_dyn.
15516
cf7c9078
UD
155172010-11-19 Ulrich Drepper <drepper@gmail.com>
15518
15519 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15520 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15521
a1fb5e3e
UD
155222010-11-16 Ulrich Drepper <drepper@gmail.com>
15523
15524 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15525
3540d66b
AS
155262010-11-11 Andreas Schwab <schwab@redhat.com>
15527
15528 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15529 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15530 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15531 ($(objpfx)tst-fnmatch-mem): New rule.
15532 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15533 * posix/tst-fnmatch.c (main): Call mtrace.
15534
13b69574
L
155352010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15536
15537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15538 Support Intel processor model 6 and model 0x2c.
15539
da93d214
LM
155402010-11-10 Luis Machado <luisgpm@br.ibm.com>
15541
15542 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15543 signed comparison.
15544
8ca52c6e
L
155452010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15546
15547 [BZ #12205]
15548 * string/test-strncasecmp.c (check_result): New function.
15549 (do_one_test): Use it.
15550 (check1): New function.
15551 (test_main): Use it.
15552 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15553 Support strcasecmp and strncasecmp.
15554
69da074d
UD
155552010-11-08 Ulrich Drepper <drepper@gmail.com>
15556
15557 [BZ #12194]
15558 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15559 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15560
ff02d528
L
155612010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15562
15563 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15564 IFUNC support.
15565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15566 memset-x86-64.
15567 * sysdeps/x86_64/multiarch/bzero.S: New file.
15568 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15569 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15570 * sysdeps/x86_64/multiarch/memset.S: New file.
15571 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15572 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15573 Set bit_Prefer_SSE_for_memop for Intel processors.
15574 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15575 Define.
15576 (index_Prefer_SSE_for_memop): Define.
15577 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15578
344d0b54
LM
155792010-11-04 Luis Machado <luisgpm@br.ibm.com>
15580
15581 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15582 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15583
c0dde15b
UD
155842010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15585
15586 [BZ #12191]
15587 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15588 (__x86_64_raw_data_cache_size_half): Likewise.
15589 (__x86_64_raw_shared_cache_size): Likewise.
15590 (__x86_64_raw_shared_cache_size_half): Likewise.
15591
15592 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15593 (__x86_64_raw_data_cache_size_half): Likewise.
15594 (__x86_64_raw_shared_cache_size): Likewise.
15595 (__x86_64_raw_shared_cache_size_half): Likewise.
15596 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15597 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15598 and __x86_64_raw_shared_cache_size_half. Round
15599 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15600 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15601 to multiple of 256 bytes.
15602
0e516e0e
MS
156032010-11-03 Ulrich Drepper <drepper@gmail.com>
15604
15605 [BZ #12167]
15606 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15607 of inacessible symlinks. Verify result of symlink before returning it.
15608 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15609 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15610
0e012e87
ER
156112010-10-28 Erich Ritz <erichritz@gmail.com>
15612
15613 * math/math.h (isinf): Fix typo in comment.
15614
de0ff7bc
UD
156152010-11-01 Ulrich Drepper <drepper@gmail.com>
15616
15617 * po/da.po: Update from translation team.
15618
fa41c84d
UD
156192010-10-26 Ulrich Drepper <drepper@gmail.com>
15620
15621 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15622 is added to the list.
15623
f0967738
AK
156242010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15625 Ulrich Drepper <drepper@gmail.com>
15626
15627 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15628 the global list here. Move code to...
15629 (_dl_add_to_namespace_list): ...here. New function.
15630 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15631 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15632 * elf/dl-load.c (lose): Don't remove the element from the list.
15633 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15634 (_dl_map_object): Likewise.
15635
156362010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15637
15638 [BZ #12159]
15639 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15640 into all bytes of SSE register.
15641 Patch by Richard Li <richardpku@gmail.com>.
15642
f0967738 156432010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15644
15645 [BZ #12140]
15646 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15647 perturbing.
15648
d0b9e94f
MB
156492010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15650
15651 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15652 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15653 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15654 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15656 submachine.
15657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15658
8e9f92e9
AS
156592010-10-22 Andreas Schwab <schwab@redhat.com>
15660
15661 * include/dlfcn.h (__RTLD_SECURE): Define.
15662 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15663 mode & __RTLD_SECURE instead.
15664 (open_path): Rename preloaded parameter to secure.
15665 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15666 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15667 * elf/dl-deps.c (openaux): Likewise.
15668 * elf/rtld.c (struct map_args): Remove is_preloaded.
15669 (map_doit): Don't use it.
15670 (dl_main): Likewise.
15671 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15672 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15673
bc96fbda
AS
156742010-09-09 Andreas Schwab <schwab@redhat.com>
15675
15676 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15677 (sysd-rules-targets): Remove duplicates.
15678 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15679 rtld-%.$o dependency.
15680
22cd1c9b
AS
156812010-10-18 Andreas Schwab <schwab@redhat.com>
15682
15683 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15684 _dl_map_object do it.
15685
18edac48
UD
156862010-10-19 Ulrich Drepper <drepper@gmail.com>
15687
15688 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15689 fast fma builtins, define the macros in the C99 standard.
15690 (FP_FAST_FMAF): Likewise.
15691 (FP_FAST_FMAL): Likewise.
15692 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15693
15694 * bits/mathdef.h: Update copyright year.
15695 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15696
d2050124
MM
156972010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15698
15699 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15700 builtins, define the macros in the C99 standard.
15701 (FP_FAST_FMAF): Likewise.
15702 (FP_FAST_FMAL): Likewise.
15703 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15704 multiply/add.
15705 (FP_FAST_FMAF): Likewise.
15706
475facd1
JJ
157072010-10-15 Jakub Jelinek <jakub@redhat.com>
15708
15709 [BZ #3268]
15710 * math/libm-test.inc (fma_test): Some new testcases.
15711 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15712 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15713 y and infinite z. Do multiplication by C already in long double.
15714 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15715 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15716 y and infinite z. Do bitwise or of inexact bit into u.d.
15717 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15718 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15719 * sysdeps/i386/fpu/s_fma.S: Removed.
15720 * sysdeps/i386/fpu/s_fmal.S: Removed.
15721
7c08a05c
JJ
157222010-10-16 Jakub Jelinek <jakub@redhat.com>
15723
15724 [BZ #3268]
15725 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15726 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15727 computation is not scheduled after fetestexcept. Fix value
15728 of minimum denormal long double.
15729
f3f7372d
JJ
157302010-10-14 Jakub Jelinek <jakub@redhat.com>
15731
15732 [BZ #3268]
15733 * math/libm-test.inc (fma_test): Add some more tests.
15734 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15735 correctly.
15736
14d43591
AS
157372010-10-15 Andreas Schwab <schwab@redhat.com>
15738
15739 * scripts/data/localplt-s390-linux-gnu.data: New file.
15740 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15741
5e908464
JJ
157422010-10-13 Jakub Jelinek <jakub@redhat.com>
15743
15744 [BZ #3268]
15745 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15746 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15747 instead of dbl-64.
15748 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15749 inlines.
15750 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15751 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15752 if one of x and y is very large and the other is subnormal.
15753 * sysdeps/s390/fpu/s_fmaf.c: New file.
15754 * sysdeps/s390/fpu/s_fma.c: New file.
15755 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15756 * sysdeps/powerpc/fpu/s_fma.S: New file.
15757 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15758 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15759 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15760
157612010-10-12 Jakub Jelinek <jakub@redhat.com>
15762
15763 [BZ #3268]
15764 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15765 fma tests.
15766 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15767 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15768 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15769 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15770 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15771 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15772 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15773
b833d51f
UD
157742010-10-12 Ulrich Drepper <drepper@redhat.com>
15775
15776 [BZ #12078]
15777 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15778 * posix/bug-regex31.input: Add test case.
15779
1751705d
UD
157802010-10-11 Ulrich Drepper <drepper@gmail.com>
15781
e9b9cbf5
UD
15782 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15783 * posix/bug-regex31.input: New file.
15784
15785 [BZ #12078]
15786 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15787 (parse_sub_exp): Fix last change, use postorder.
15788
ef06edbe
UD
15789 * posix/bug-regex31.c: New file.
15790 * posix/Makefile: Add rules to build and run bug-regex31.
15791
a129c80d
UD
15792 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15793
15794 [BZ #12078]
15795 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15796
b76b818e
UD
15797 [BZ #12108]
15798 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15799 to have entries in sys_siglist.
15800
1751705d
UD
15801 [BZ #12093]
15802 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15803 be NULL.
15804
9ff8d36f
JJ
158052010-10-07 Jakub Jelinek <jakub@redhat.com>
15806
15807 [BZ #3268]
15808 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15809 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15810 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15811 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15812 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15813 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15814 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15815 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15816 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15817 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15818 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15819 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15820 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15821 * math/ftestexcept.c (fetestexcept): Likewise.
15822 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15823 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15824 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15825 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15826 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15827 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15828 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15829
af325969
UD
158302010-10-11 Ulrich Drepper <drepper@gmail.com>
15831
c579b202 15832 [BZ #12107]
af325969
UD
15833 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15834 newline.
15835
67a67b95
UD
158362010-10-06 Ulrich Drepper <drepper@gmail.com>
15837
15838 * string/bug-strstr1.c: New file.
15839 * string/Makefile: Add rules to build and run bug-strstr1.
15840
5fb308bc
EB
158412010-10-05 Eric Blake <eblake@redhat.com>
15842
15843 [BZ #12092]
15844 * string/str-two-way.h (two_way_long_needle): Always clear memory
15845 when skipping input due to the shift table.
15846
45db99c7
UD
158472010-10-03 Ulrich Drepper <drepper@gmail.com>
15848
3b111893
UD
15849 [BZ #12005]
15850 * malloc/mcheck.c: Handle large requests.
15851
45db99c7
UD
15852 [BZ #12077]
15853 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15854 for strncmp and strncasecmp.
15855 * string/stratcliff.c: Add tests for strcmp and strncmp.
15856 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15857
cf7a1eb8
NI
158582010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15859
15860 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15861 __set_fpscr.
15862
6484ba5e
AJ
158632010-09-30 Andreas Jaeger <aj@suse.de>
15864
15865 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15866 (CGROUP_SUPER_MAGIC): Define.
15867 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15868 Handle btrfs and cgroup file systems.
15869 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15870 Likewise.
15871
91c42559
LM
158722010-09-27 Luis Machado <luisgpm@br.ibm.com>
15873
15874 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15875 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15876
87a97932
AK
158772010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15878
15879 [BZ #12067]
15880 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15881 trying to locate the ELF header.
15882
c21cc9bc
AS
158832010-09-27 Andreas Schwab <schwab@redhat.com>
15884
15885 [BZ #11611]
15886 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15887 Mask out sign-bit copies when constructing f_fsid.
15888
315970f6
PB
158892010-09-24 Petr Baudis <pasky@suse.cz>
15890
15891 * debug/stack_chk_fail_local.c: Add missing licence exception.
15892 * debug/warning-nop.c: Likewise.
15893
1ac7a2c7
JM
158942010-09-15 Joseph Myers <joseph@codesourcery.com>
15895
15896 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15897 implementing getdents64 using getdents syscall, set d_type if
15898 __ASSUME_GETDENTS32_D_TYPE.
15899
56801c50
AS
159002010-09-16 Andreas Schwab <schwab@redhat.com>
15901
15902 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15903 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15904
dda51327
UD
159052010-09-21 Ulrich Drepper <drepper@redhat.com>
15906
15907 [BZ #12037]
15908 * posix/unistd.h: Undo change of feature selection for ftruncate from
15909 2010-01-11.
15910
8ffcee4a
UD
159112010-09-20 Ulrich Drepper <drepper@redhat.com>
15912
a545ecd9 15913 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15914 detection.
15915
e24f0a8b
AS
159162010-09-20 Andreas Schwab <schwab@redhat.com>
15917
15918 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15919 fanotify_mark.
15920 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15921
7291c56f
AS
159222010-09-14 Andreas Schwab <schwab@redhat.com>
15923
15924 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15925 variables after CHECK_SP call.
15926 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15927
bc5fb037
AS
159282010-09-13 Andreas Schwab <schwab@redhat.com>
15929 Ulrich Drepper <drepper@redhat.com>
15930
15931 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15932 re-relocationg ld.so.
15933 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15934 _dl_init_paths call.
15935 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15936 here anymore.
15937
e66e7419
UD
159382010-09-14 Ulrich Drepper <drepper@redhat.com>
15939
15940 * resolv/res_init.c (__res_vinit): Count the default server we added.
15941
c044aa75
CLT
159422010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15943 Ulrich Drepper <drepper@redhat.com>
15944
15945 [BZ #11968]
15946 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15947 (____longjmp_chk): Use %ebx for saving value across system call.
15948 Add unwind info.
15949
32cf4069
AS
159502010-09-06 Andreas Schwab <schwab@redhat.com>
15951
15952 * manual/Makefile: Don't mix pattern rules with normal rules.
15953
817328ee
AS
159542010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15955
15956 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15957 operation.
15958 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15959 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15960 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15961 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15962 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15963 Likewise.
15964
29fddf61
UD
159652010-09-04 Ulrich Drepper <drepper@redhat.com>
15966
15967 [BZ #11979]
15968 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15969 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15970
0959ffc9
UD
159712010-09-02 Ulrich Drepper <drepper@redhat.com>
15972
15973 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15974 * sysdeps/x86_64/addmul_1.S: Likewise.
15975 * sysdeps/x86_64/lshift.S: Likewise.
15976 * sysdeps/x86_64/mul_1.S: Likewise.
15977 * sysdeps/x86_64/rshift.S: Likewise.
15978 * sysdeps/x86_64/sub_n.S: Likewise.
15979 * sysdeps/x86_64/submul_1.S: Likewise.
15980
ece29840
ST
159812010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15982
0959ffc9
UD
15983 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15984 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15985 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15986 * bits/sched.h [__need_schedparam]
ece29840 15987 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15988 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15989 (__defined_schedparam): Define to 1.
ece29840
ST
15990 (__sched_param): New structure, identical to sched_param.
15991 (__need_schedparam): Undefine.
15992
e53a31fe
MF
159932010-08-31 Mike Frysinger <vapier@gentoo.org>
15994
fdc0c10d
MF
15995 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15996 (epoll_create1): Declare.
15997
e53a31fe
MF
15998 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15999
a726d796
AS
160002010-08-31 Andreas Schwab <schwab@redhat.com>
16001
16002 [BZ #7066]
16003 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16004 shifting retval into place.
16005
2f3e3dc7
UD
160062010-09-01 Ulrich Drepper <drepper@redhat.com>
16007
f2933da9
UD
16008 * nis/rpcsvc/nis.h: Update copyright notice.
16009 * nis/rpcsvc/nis.x: Likewise.
16010 * nis/rpcsvc/nis_callback.h: Likewise.
16011 * nis/rpcsvc/nis_callback.x: Likewise.
16012 * nis/rpcsvc/nis_object.x: Likewise.
16013 * nis/rpcsvc/nis_tags.h: Likewise.
16014 * nis/rpcsvc/yp.h: Likewise.
16015 * nis/rpcsvc/yp.x: Likewise.
16016 * nis/rpcsvc/ypupd.h: Likewise.
16017 * nis/yp_xdr.c: Likewise.
16018 * nis/ypupdate_xdr.c: Likewise.
16019
2f3e3dc7
UD
16020 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16021 mainly the body of pmap_getport. Add parameters to specify timeouts.
16022 (pmap_getport): Use __libc_rpc_getport.
16023 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16024 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16025 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16026
f3dcc2f9
AS
160272010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16028
16029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16030 fanotify_mark.
16031
6d34eb5b
RM
160322010-08-27 Roland McGrath <roland@redhat.com>
16033
16034 * sysdeps/i386/i686/multiarch/Makefile
16035 (CFLAGS-varshift.c): New variable.
16036
9ea3de11
UD
160372010-08-27 Ulrich Drepper <drepper@redhat.com>
16038
c96d23fc
UD
16039 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16040 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16041
9ea3de11
UD
16042 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16043
16044 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16045
623aac7f
L
160462010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16047
16048 * sysdeps/x86_64/strlen.S: Unroll the loop.
16049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16050 strlen-sse2 strlen-sse2-bsf.
16051 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16052 __strlen_no_bsf if bit_Slow_BSF is set.
16053 (__strlen_sse42): Removed.
16054 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16055 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16056
8b2b7715
RM
160572010-08-25 Roland McGrath <roland@redhat.com>
16058
16059 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16060 * sysdeps/x86_64/multiarch/varshift.c: New file.
16061 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16062 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16063 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16064 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16065
e73015f2
L
160662010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16067
16068 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16069 strlen-sse2 strlen-sse2-bsf.
16070 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16071 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16072 (__strlen_sse2): Removed.
16073 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16074 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16076 bit_Slow_BSF for Atom.
16077 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16078 (index_Slow_BSF): Define.
16079 (HAS_SLOW_BSF): Define.
16080
df24a73e
UD
160812010-08-25 Ulrich Drepper <drepper@redhat.com>
16082
16083 [BZ #10851]
16084 * resolv/res_init.c (__res_vinit): When no server address at all
16085 is given default to loopback.
16086
f2ac4868
RM
160872010-08-24 Roland McGrath <roland@redhat.com>
16088
09055553
RM
16089 * configure.in: Remove config-name.h generation.
16090 * configure: Regenerated.
16091 * config-name.in: File removed.
16092 * scripts/config-uname.sh: New file.
16093 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16094 ($(objdir)config-name.h): New target.
16095
f2ac4868
RM
16096 * sunrpc/rpc_parse.h: Avoid nested comment.
16097
73f27d5e
RH
160982010-08-24 Richard Henderson <rth@redhat.com>
16099 Ulrich Drepper <drepper@redhat.com>
16100 H.J. Lu <hongjiu.lu@intel.com>
16101
16102 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16104 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16105 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16106 _mm_alignr_epi8 with _mm_loadu_si128.
16107 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16108 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16109 (__m128i_shift_right): Removed.
16110 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16111 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16112 * sysdeps/x86_64/multiarch/varshift.h: New file.
16113 * sysdeps/x86_64/multiarch/varshift.S: New file.
16114
84b9230c
MF
161152010-08-21 Mike Frysinger <vapier@gentoo.org>
16116
16117 * configure.in: Move assembler checks to before sysdep dir checking.
16118
9bbd0ddc
PB
161192010-08-20 Petr Baudis <pasky@suse.cz>
16120
16121 * LICENSES: Sync the sunrpc license.
16122
9da4bb31
UD
161232010-08-19 Ulrich Drepper <drepper@redhat.com>
16124
a7ab6ec8
UD
16125 * sunrpc/auth_des.c: Update copyright notice once again.
16126 * sunrpc/auth_none.c: Likewise.
16127 * sunrpc/auth_unix.c: Likewise.
16128 * sunrpc/authdes_prot.c: Likewise.
16129 * sunrpc/authuxprot.c: Likewise.
16130 * sunrpc/bindrsvprt.c: Likewise.
16131 * sunrpc/clnt_gen.c: Likewise.
16132 * sunrpc/clnt_perr.c: Likewise.
16133 * sunrpc/clnt_raw.c: Likewise.
16134 * sunrpc/clnt_simp.c: Likewise.
16135 * sunrpc/clnt_tcp.c: Likewise.
16136 * sunrpc/clnt_udp.c: Likewise.
16137 * sunrpc/clnt_unix.c: Likewise.
16138 * sunrpc/des_crypt.c: Likewise.
16139 * sunrpc/des_soft.c: Likewise.
16140 * sunrpc/get_myaddr.c: Likewise.
16141 * sunrpc/getrpcport.c: Likewise.
16142 * sunrpc/key_call.c: Likewise.
16143 * sunrpc/key_prot.c: Likewise.
16144 * sunrpc/openchild.c: Likewise.
16145 * sunrpc/pm_getmaps.c: Likewise.
16146 * sunrpc/pm_getport.c: Likewise.
16147 * sunrpc/pmap_clnt.c: Likewise.
16148 * sunrpc/pmap_prot.c: Likewise.
16149 * sunrpc/pmap_prot2.c: Likewise.
16150 * sunrpc/pmap_rmt.c: Likewise.
16151 * sunrpc/rpc/auth.h: Likewise.
16152 * sunrpc/rpc/auth_unix.h: Likewise.
16153 * sunrpc/rpc/clnt.h: Likewise.
16154 * sunrpc/rpc/des_crypt.h: Likewise.
16155 * sunrpc/rpc/key_prot.h: Likewise.
16156 * sunrpc/rpc/netdb.h: Likewise.
16157 * sunrpc/rpc/pmap_clnt.h: Likewise.
16158 * sunrpc/rpc/pmap_prot.h: Likewise.
16159 * sunrpc/rpc/pmap_rmt.h: Likewise.
16160 * sunrpc/rpc/rpc.h: Likewise.
16161 * sunrpc/rpc/rpc_des.h: Likewise.
16162 * sunrpc/rpc/rpc_msg.h: Likewise.
16163 * sunrpc/rpc/svc.h: Likewise.
16164 * sunrpc/rpc/svc_auth.h: Likewise.
16165 * sunrpc/rpc/types.h: Likewise.
16166 * sunrpc/rpc/xdr.h: Likewise.
16167 * sunrpc/rpc_clntout.c: Likewise.
16168 * sunrpc/rpc_cmsg.c: Likewise.
16169 * sunrpc/rpc_common.c: Likewise.
16170 * sunrpc/rpc_cout.c: Likewise.
16171 * sunrpc/rpc_dtable.c: Likewise.
16172 * sunrpc/rpc_hout.c: Likewise.
16173 * sunrpc/rpc_main.c: Likewise.
16174 * sunrpc/rpc_parse.c: Likewise.
16175 * sunrpc/rpc_parse.h: Likewise.
16176 * sunrpc/rpc_prot.c: Likewise.
16177 * sunrpc/rpc_sample.c: Likewise.
16178 * sunrpc/rpc_scan.c: Likewise.
16179 * sunrpc/rpc_scan.h: Likewise.
16180 * sunrpc/rpc_svcout.c: Likewise.
16181 * sunrpc/rpc_tblout.c: Likewise.
16182 * sunrpc/rpc_util.c: Likewise.
16183 * sunrpc/rpc_util.h: Likewise.
16184 * sunrpc/rpcinfo.c: Likewise.
16185 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16186 * sunrpc/rpcsvc/key_prot.x: Likewise.
16187 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16188 * sunrpc/rpcsvc/mount.x: Likewise.
16189 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16190 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16191 * sunrpc/rpcsvc/rex.x: Likewise.
16192 * sunrpc/rpcsvc/rstat.x: Likewise.
16193 * sunrpc/rpcsvc/rusers.x: Likewise.
16194 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16195 * sunrpc/rpcsvc/spray.x: Likewise.
16196 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16197 * sunrpc/rtime.c: Likewise.
16198 * sunrpc/svc.c: Likewise.
16199 * sunrpc/svc_auth.c: Likewise.
16200 * sunrpc/svc_authux.c: Likewise.
16201 * sunrpc/svc_raw.c: Likewise.
16202 * sunrpc/svc_run.c: Likewise.
16203 * sunrpc/svc_simple.c: Likewise.
16204 * sunrpc/svc_tcp.c: Likewise.
16205 * sunrpc/svc_udp.c: Likewise.
16206 * sunrpc/svc_unix.c: Likewise.
16207 * sunrpc/svcauth_des.c: Likewise.
16208 * sunrpc/xcrypt.c: Likewise.
16209 * sunrpc/xdr.c: Likewise.
16210 * sunrpc/xdr_array.c: Likewise.
16211 * sunrpc/xdr_float.c: Likewise.
16212 * sunrpc/xdr_mem.c: Likewise.
16213 * sunrpc/xdr_rec.c: Likewise.
16214 * sunrpc/xdr_ref.c: Likewise.
16215 * sunrpc/xdr_sizeof.c: Likewise.
16216 * sunrpc/xdr_stdio.c: Likewise.
16217
9da4bb31
UD
16218 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16219 handling.
16220
bdaa77bc
AS
162212010-08-19 Andreas Schwab <schwab@redhat.com>
16222
16223 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16224
fe2f79db
LM
162252010-08-19 Luis Machado <luisgpm@br.ibm.com>
16226
16227 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16228 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16229 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16230 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16231 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16232 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16233 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16234 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16235 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16236 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16237 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16238 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16239 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16240 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16241
b9b42ee0
AB
162422010-07-26 Anton Blanchard <anton@samba.org>
16243
16244 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16245 * malloc/arena.c (heap_trim): Likewise.
16246
1c06ba31
UD
162472010-08-16 Ulrich Drepper <drepper@redhat.com>
16248
16249 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16250 here. Not...
16251 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16252 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16253
f8392f40
L
162542010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16255
16256 * sysdeps/i386/elf/Makefile: New file.
16257
3162f12e
AS
162582010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16259
16260 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16261 from fanotify_init.
16262 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16263 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16264
28c90b2c
UD
162652010-08-15 Ulrich Drepper <drepper@redhat.com>
16266
16267 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16268 of strncasecmp_l.
1feccb6c 16269 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16270
ca6bb004
UD
162712010-08-14 Ulrich Drepper <drepper@redhat.com>
16272
e9f82e0d
UD
16273 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16274 strncase_l-nonascii.
16275 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16276 Add strncase_l-ssse3.
16277 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16278 * sysdeps/x86_64/strcmp.S: Likewise.
16279 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16280 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16281 * sysdeps/x86_64/strncase.S: New file.
16282 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16283 * sysdeps/x86_64/strncase_l.S: New file.
16284 * string/Makefile (strop-tests): Add strncasecmp.
16285 * string/test-strncasecmp.c: New file.
16286
16287 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16288 warning.
16289
ca6bb004
UD
16290 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16291 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16292
052fa7b3
AS
162932010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16294
16295 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16296
962dba78
UD
162972010-08-12 Ulrich Drepper <drepper@redhat.com>
16298
16299 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16300 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16301 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16302
bebff237
AM
163032010-05-01 Alan Modra <amodra@gmail.com>
16304
16305 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16306 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16307 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16308 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16309 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16310 tidying. Don't tail-call __sigjmp_save for static lib.
16311 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16312 save location.
16313 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16314 (CALL_MCOUNT): Add eh info, and nop after bl.
16315 (TAIL_CALL_SYSCALL_ERROR): New macro.
16316 (PSEUDO_RET): Use it.
16317 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16318 Correct save location of integer regs and cr.
16319 (_dl_profile_resolve): Correct cr save location. Delete nops
16320 after bl when SHARED. Reduce cfi size a little by better
16321 placement of cfi directives.
16322 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16323 make a stack frame. Instead use parm save area as a temp.
16324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16325 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16327 Don't make a stack frame for parent, use parm save area.
16328 Increase child stack frame to 112 bytes. Don't save unused reg,
16329 and adjust reg usage. Set up cfi on error recovery and
16330 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16332 (__makecontext): Add dummy nop after jump to exit.
16333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16334 Use correct parm save area and cr save, reduce stack frame.
16335 Correct cfi for possible PSEUDO_RET frame setup.
16336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16337 Branch to local label emitted by PSEUDO_RET rather than
16338 __syscall_error.
16339
02637374
AS
163402010-08-12 Andreas Schwab <schwab@redhat.com>
16341
16342 [BZ #11904]
16343 * locale/programs/locale.c (print_assignment): New function.
16344 (show_locale_vars): Use it.
16345
c3e2f19b
UD
163462010-08-11 Ulrich Drepper <drepper@redhat.com>
16347
3cdaa6ad
UD
16348 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16349 field.
16350 (struct statfs64): Likewise.
16351 (_STATFS_F_FLAGS): Define.
16352 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16353 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16354 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16355 (ST_VALID): Define locally.
16356 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16357 __statvfs_getflags, use the provided value.
16358 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16359 __ASSUME_STATFS_F_FLAGS.
16360
754f7da3
UD
16361 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16362
10b3bedc
UD
16363 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16364 Add sys/fanotify.h.
16365 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16366 fanotify_mask for GLIBC_2.13.
16367 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16368 fanotify_init and fanotify_mark.
16369 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16370 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16371
c08fb0d7
UD
16372 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16373 Add prlimit.
16374 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16375 prlimit64 for GLIBC_2.13.
16376 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16377 prlimit64.
16378 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16379 syscall.
16380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16381 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16382 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16383 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16384 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16385 add prlimit alias.
16386 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16387
15bac72b
UD
16388 [BZ #11903]
16389 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16390 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16391
c3e2f19b
UD
16392 * nss/Makefile: Add rules to build and run tst-nss-test1.
16393 * shlib-versions: Add entry for libnss_test1.
16394 * nss/nss_test1.c: New file.
16395 * nss/tst-nss-test1.c: New file.
16396
16397 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16398 (__nss_configure_lookup): Set appropriate entry in
16399 __nss_configure_lookup to true.
16400 * nss/nsswitch.h: Define enum with indeces of databases in
16401 databases and __nss_database_custom arrays. Declare
16402 __nss_database_custom.
16403 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16404 to avoid using nscd when custom rules are installed.
16405 * nss/getXXbyYY_r.c: Likewise.
16406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16407
16408 * nss/nss_files/files-parse.c: Whitespace fixes.
16409
f15ce4d8
UD
164102010-08-09 Ulrich Drepper <drepper@redhat.com>
16411
16412 [BZ #11883]
16413 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16414 * posix/fnmatch_loop.c: Likewise.
16415
d22e4cc9
AK
164162010-07-17 Andi Kleen <ak@linux.intel.com>
16417
16418 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16419 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16420 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16421 * Versions.def [GLIBC_2.13]: Add.
16422
805bc17d
UD
164232010-08-06 Ulrich Drepper <drepper@redhat.com>
16424
16425 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16426 Also fail if tpwd after pwuid call is NULL.
16427
5a42321d
ST
164282010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16429
16430 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16431 when converting to ms.
16432
fd3ebeda
ST
164332010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16434
16435 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16436 EOPNOTSUPP errors with ENOTTY.
16437 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16438 EOPNOTSUPP errors with ENOTTY.
16439
73507d3a
UD
164402010-07-31 Ulrich Drepper <drepper@redhat.com>
16441
16442 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16443 Add strcasecmp_l-ssse3.
16444 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16445 strcasecmp.
16446 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16447 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16448 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16449
fe36dd02
UD
164502010-07-30 Ulrich Drepper <drepper@redhat.com>
16451
66f6765a
UD
16452 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16453
42e08a54
UD
16454 * string/Makefile (strop-tests): Add strcasecmp.
16455 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16456 strcasecmp_l-nonascii.
16457 (gen-as-const-headers): Add locale-defines.sym.
16458 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16459 * sysdeps/x86_64/strcasecmp.S: New file.
16460 * sysdeps/x86_64/strcasecmp_l.S: New file.
16461 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16462 * sysdeps/x86_64/locale-defines.sym: New file.
16463 * string/test-strcasecmp.c: New file.
16464
fe36dd02
UD
16465 * string/test-strcasestr.c: Test both ends of the range of characters.
16466 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16467
48cbc0d6
RM
164682010-07-29 Roland McGrath <roland@redhat.com>
16469
76e6d6bc 16470 [BZ #11856]
48cbc0d6
RM
16471 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16472
880113d9
UD
164732010-07-27 Ulrich Drepper <drepper@redhat.com>
16474
16475 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16476 for ld.so.
16477
deb9cabb
AS
164782010-07-27 Andreas Schwab <schwab@redhat.com>
16479
16480 * manual/memory.texi (Malloc Tunable Parameters): Document
16481 M_PERTURB.
16482
1c7570ff
RM
164832010-07-26 Roland McGrath <roland@redhat.com>
16484
16485 [BZ #11840]
16486 * configure.in (-fgnu89-inline check): Set and substitute
16487 gnu89_inline, not libc_cv_gnu89_inline.
16488 * configure: Regenerated.
16489 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16490
24fb0f88
UD
164912010-07-26 Ulrich Drepper <drepper@redhat.com>
16492
16493 * string/test-strnlen.c: New file.
16494 * string/Makefile (strop-tests): Add strnlen.
16495 * string/tester.c (test_strnlen): Add a few more test cases.
16496 * string/tst-strlen.c: Better error reporting.
16497
16498 * sysdeps/x86_64/strnlen.S: New file.
16499
8e96b93a
UD
165002010-07-24 Ulrich Drepper <drepper@redhat.com>
16501
16502 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16503 lower-latency instructions.
16504
dbc676d4
UD
165052010-07-23 Ulrich Drepper <drepper@redhat.com>
16506
16507 * string/test-strcasestr.c: New file.
16508 * string/test-strstr.c: New file.
16509 * string/Makefile (strop-tests): Add strstr and strcasestr.
16510 * string/str-two-way.h: Don't undefine MAX.
16511 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16512
f6a31e0e
AS
165132010-07-21 Andreas Schwab <schwab@redhat.com>
16514
16515 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16516 strcasestr-nonascii.
16517 (CFLAGS-strcasestr-nonascii.c): Define.
16518 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16519 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16520 Remove unused attribute.
16521
5dbc3b6c
RM
165222010-07-20 Roland McGrath <roland@redhat.com>
16523
16524 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16525 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16526 ld.so.cache was broken. With it, there is no way to disable dsocaps
16527 like LD_HWCAP_MASK can disable hwcaps.
16528
23d101d8
EPM
165292010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16530
16531 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16532
cc9f2e47
UD
165332010-07-16 Ulrich Drepper <drepper@redhat.com>
16534
16535 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16536 call in strcasestr.
16537 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16538 __strcasestr_sse42_nonascii.
16539 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16540 strcasestr-nonascii.c.
16541 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16542
77c1b069
LM
165432010-06-15 Luis Machado <luisgpm@br.ibm.com>
16544
16545 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16546 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16547 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16548 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16549
440566c3
UD
165502010-07-09 Ulrich Drepper <drepper@redhat.com>
16551
16552 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16553 fcntl.
16554
5be9d05d
AS
165552010-07-06 Andreas Schwab <schwab@redhat.com>
16556
c30b7ee2 16557 [BZ #11577]
5be9d05d
AS
16558 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16559 dl_signal_cerror.
16560
8a492a67
UD
165612010-07-06 Ulrich Drepper <drepper@redhat.com>
16562
16563 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16564 _PC_PIPE_BUF using F_GETPIPE_SZ.
16565
713df3d5
RM
165662010-07-05 Roland McGrath <roland@redhat.com>
16567
16568 * manual/arith.texi (Rounding Functions): Fix rint description
16569 implicit in round description.
16570
702e8f14
UD
165712010-07-02 Ulrich Drepper <drepper@redhat.com>
16572
16573 * elf/Makefile: Fix linking for a few tests to make recent linker
16574 happy.
16575
52ed8be9
AS
165762010-06-30 Andreas Schwab <schwab@redhat.com>
16577
16578 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16579 $(common-objpfx)libc_nonshared.a.
16580
f47c9a11
LM
165812010-06-21 Luis Machado <luisgpm@br.ibm.com>
16582
16583 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16584 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16585 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16586 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16587 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16588 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16589 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16590 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16605 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16606 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16607 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16608 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16609 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16610 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16611 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16612 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16613 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16614 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16615 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16616 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16631
6fb8cbcb
L
166322010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16633
16634 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16635 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16636 * string/memmove.c (memmove): Renamed to ...
16637 (MEMMOVE): ...this. Default to memmove.
16638 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16639 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16640 (END_CHK): Define.
16641 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16642 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16643 mempcpy-ssse3-back memmove-ssse3-back.
16644 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16645 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16646 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16647 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16648 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16649 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16650 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16651 * sysdeps/x86_64/multiarch/memmove.c: New file.
16652 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16653 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16654 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16655 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16656 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16657 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16658 Define.
16659 (index_Fast_Copy_Backward): Define.
16660 (HAS_ARCH_FEATURE): Define.
16661 (HAS_FAST_REP_STRING): Define.
16662 (HAS_FAST_COPY_BACKWARD): Define.
16663
4e733bac 166642010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16665
16666 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16667 Restore proper fallback handling.
16668
63c4ed22
UD
166692010-06-19 Ulrich Drepper <drepper@redhat.com>
16670
ac2b484c
UD
16671 [BZ #11701]
16672 * posix/group_member.c (__group_member): Correct checking loop.
16673
63c4ed22
UD
16674 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16675 OOM in getpwuid_r correctly. Return error number when the caller
16676 should return, otherwise -1.
16677 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16678 call returning > 0 value.
16679 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16680
765ade4b
AS
166812010-06-07 Andreas Schwab <schwab@redhat.com>
16682
16683 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16684 libc_nonshared.a from targets in modules-names.
16685
80da2e09
KS
166862010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16687
16688 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16689 requires it.
16690
158db122
LM
166912010-06-10 Luis Machado <luisgpm@br.ibm.com>
16692
16693 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16694 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16695 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16696 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16697
caa78cf8
AS
166982010-06-02 Andreas Schwab <schwab@redhat.com>
16699
16700 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16701
b2ef2c01
UD
167022010-06-14 Ulrich Drepper <drepper@redhat.com>
16703
16704 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16705 and F_GETPIPE_SZ.
16706 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16707 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16708 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16709 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16710 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16711 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16712
fbd643b6
RM
167132010-06-14 Roland McGrath <roland@redhat.com>
16714
16715 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16716
f32f2869
JJ
167172010-06-07 Jakub Jelinek <jakub@redhat.com>
16718
16719 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16720 __REDIRECT followed by __THROW.
16721 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16722 * posix/getopt.h (getopt): Likewise.
16723
2a50c078
EPM
167242010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16725
16726 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16727 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16728 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16729 in AT_FLAGS.
16730 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16731 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16732
eb5ad2eb
LM
167332010-05-28 Luis Machado <luisgpm@br.ibm.com>
16734
16735 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16736
3c88fe1e
L
167372010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16738
16739 [BZ #11640]
16740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16741 Properly check family and model.
16742
d2f73151
TY
167432010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16744
16745 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16746
ebd2e13d
LM
167472010-05-24 Luis Machado <luisgpm@br.ibm.com>
16748
16749 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16750
b32b8b45
UD
167512010-05-21 Ulrich Drepper <drepper@redhat.com>
16752
16753 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16754 symbol reference.
16755
9acbe24d
AS
167562010-05-19 Andreas Schwab <schwab@redhat.com>
16757
16758 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16759 symbol reference.
16760
f0ccf6ea
AS
167612010-05-21 Andreas Schwab <schwab@redhat.com>
16762
3d04ff3a
AS
16763 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16764 and internal_recvmmsg.
16765 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16766 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16767 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16768 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16769
f0ccf6ea
AS
16770 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16771 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16772 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16773
5b08ac57
AS
167742010-05-20 Andreas Schwab <schwab@redhat.com>
16775
16776 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16777
4828935d
LM
167782010-05-17 Luis Machado <luisgpm@br.ibm.com>
16779
16780 POWER7 optimizations.
16781 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16782 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16783
373d545e
UD
167842010-05-19 Ulrich Drepper <drepper@redhat.com>
16785
16786 * version.h: Update for 2.13 development version.
16787
21a2b1ae
AS
167882010-05-12 Andrew Stubbs <ams@codesourcery.com>
16789
16790 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16791 exceptions. Return 0.
16792
3f7dcb2b
RM
167932010-05-07 Roland McGrath <roland@redhat.com>
16794
16795 * elf/ldconfig.c (main): Add a const.
16796
5f24d53a 167972010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16798
a160f8d8
UD
16799 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16800 (args_options): Add no-idn option.
16801 (ahosts_keys_int): Add idn_flags to ai_flags.
16802 (parse_option): Handle 'i' option to clear idn_flags.
16803
5f24d53a
UD
16804 * malloc/malloc.c (_int_free): Possible race in the most recently
16805 added check. Only act on the data if no current modification
16806 happened.
265bb1ce
UD
16807
16808See ChangeLog.17 for earlier changes.