]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
drop ports ignore
[thirdparty/glibc.git] / ChangeLog
CommitLineData
ca48a46a
MF
12012-07-03 Mike Frysinger <vapier@gentoo.org>
2
3 * .gitignore: Delete /ports entry.
4
9d63d37d
AJ
52012-07-03 Andreas Jaeger <aj@suse.de>
6
7 * po/bg.po: Update from translation team.
8 * po/cs.po: Likewise.
9 * po/de.po: Likewise.
10 * po/hr.po: Likewise.
11 * po/nl.pl: Likewise.
12 * po/pl.po: Likewise.
13 * po/vi.po: Likewise.
14
370ca3d2
JM
152012-07-03 Joseph Myers <joseph@codesourcery.com>
16
95f5a9a8
JM
17 * Makeconfig [!+link] (+link-before-libc): New variable.
18 [!+link] (+link-after-libc): Likewise.
19 [!+link] (+link-tests): Likewise.
20 [!+link] (+link): Define in terms of $(+link-before-libc) and
21 $(+link-after-libc).
22 [!+link-static] (+link-static-before-libc): New variable.
23 [!+link-static] (+link-static-after-libc): Likewise.
24 [!+link-static] (+link-static-tests): Likewise.
25 [!+link-static] (+link-static): Define in terms of
26 $(+link-static-before-libc) and $(+link-static-after-libc).
27 [build-shared] (link-libc-before-gnulib): New variable.
28 [build-shared] (link-libc-tests): Likewise.
29 [build-shared] (link-libc): Define in terms of
30 $(link-libc-before-gnulib).
31 [!build-shared] (link-libc-tests): New variable.
32 (link-libc-static-tests): New variable.
33 [!gnulib] (gnulib-arch): New variable.
34 [!gnulib] (gnulib-tests): Likewise.
35 [!gnulib] (static-gnulib-arch): Likewise.
36 [!gnulib] (static-gnulib-tests): Likewise.
37 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38 Define with "=" instead of ":=".
39 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41 * Rules (binaries-all-notests): New variable.
42 (binaries-all-tests): Likewise.
43 (binaries-static-notests): Likewise.
44 (binaries-static-tests): Likewise.
45 (binaries-all): Define using $(binaries-all-notests) and
46 $(binaries-all-tests).
47 (binaries-static): Define using $(binaries-static-notests) and
48 $(binaries-static-tests).
49 (binaries-shared-tests): New variable.
50 (binaries-shared-notests): Likewise.
51 (binaries-shared): Remove variable.
52 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
53 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
54 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
55 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
56 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
57 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
58 * elf/Makefile (sln-modules): New variable.
59 (extra-objs): Add $(sln-modules:=.o).
60 (ldconfig-modules): Add static-stubs.
61 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
62 * elf/static-stubs.c: New file.
63
7a845b2c
JM
64 [BZ #14283]
65 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
66 by 7 not 8 to examine high bit of fractional part. Use volatile
67 variables when splitting into final array of floats if
68 __FLT_EVAL_METHOD__ != 0.
69 * math/libm-test.inc (cos_test): Add another test.
70 (sin_test): Likewise.
71 * sysdeps/i386/fpu/libm-test-ulps: Update.
72
e2283f38
JM
73 [BZ #14273]
74 * math/libm-test.inc (cosh_test): Add more tests.
75
370ca3d2
JM
76 * version.h (RELEASE): Set to "development".
77 (VERSION): Set to "2.16.90".
78
ee9247c3
CD
792012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
80
81 * NEWS: Update copyright. Remove last-updated date.
82 Mention math library bug fixes and timezone data changes.
83 * README: Mention GNU/Hurd, x32, and HPPA support status.
84
4648c381
TS
852012-06-28 Thomas Schwinge <thomas@codesourcery.com>
86
87 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
88
aac78a43
AJ
892012-06-27 Andreas Jaeger <aj@suse.de>
90
91 * manual/contrib.texi (Contributors): Add Samuel Thibault.
92
ed3dbfad
AJ
932012-06-25 Andreas Jaeger <aj@suse.de>
94
95 * sysdeps/s390/fpu/libm-test-ulps: Update.
96
4d0ee855
AS
972012-06-23 Andreas Schwab <schwab@linux-m68k.org>
98 Thomas Schwinge <thomas@codesourcery.com>
99
100 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
101 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
102 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
103 fanotify_mark.
104
af1bce34
TS
1052012-06-23 Thomas Schwinge <thomas@codesourcery.com>
106
a9fa33ba
TS
107 * sysdeps/mach/start.c: Remove file.
108 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
109 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
110 * sysdeps/sh/init-first.c: Likewise.
111
58f902b8
TS
112 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
113 registers for frame unwinding purposes, add CFI directives.
114 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
115 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
116 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
117 Likewise.
118
1518f58b
TS
119 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
120 __fortify_fail returning.
121 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
122
db9b5059
TS
123 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
124 sysdeps/sh/____longjmp_chk.S.
125 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
126 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
127 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
128 (gen-as-const-headers): Append sigaltstack-offsets.sym.
129
967705fe
TS
130 * sysdeps/sh/abort-instr.h: New file.
131 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
132 process in case exit returns.
133
a9def8c4
TS
134 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
135 initialize the GOT register before use.
136
2a649725
TS
137 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
138 calculation of ARGC > 4.
139
af1bce34
TS
140 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
141 meaningful names to some local labels.
142
d230f50a
KK
1432012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
144 Kaz Kojima <kkojima@rr.iij4u.or.jp>
145
146 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
147 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
148 (__arch_compare_and_exchange_val_16_acq): Likewise.
149 (__arch_compare_and_exchange_val_32_acq): Likewise.
150 (atomic_exchange_and_add): Fix gUSA sequence.
151 (atomic_add): Likewise.
152 (atomic_add_negative): Likewise.
153 (atomic_add_zero): Likewise.
154 (atomic_bit_test_set): Likewise.
155
0479b305
AS
1562012-06-22 Andreas Schwab <schwab@redhat.com>
157
158 [BZ #13579]
159 * include/link.h (struct link_map): Add l_free_initfini.
160 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
161 l_initfini.
162 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
163 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
164 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
165 set.
166
0e3933b9
CD
1672012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
168
169 * configure.in: Use AC_LANG_SOURCE.
170 * configure: Regenerate.
171
4248b1b1
RM
1722012-06-22 Roland McGrath <roland@hack.frob.com>
173
174 * configure.in (libc_cv_localstatedir): New substituted variable.
175 * configure: Regenerated.
176 * config.make.in (localstatedir): New variable, substituted from
177 libc_cv_localstatedir.
178 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
179 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
180 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
181 * sysdeps/gnu/configure: Regenerated.
182
006dd861
JL
1832012-06-21 Jeff Law <law@redhat.com>
184
185 [BZ #14277]
186 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
187 free. Simplify list management for _LIBC case.
188
79662d42
JM
1892012-06-21 Joseph Myers <joseph@codesourcery.com>
190
b7abb4bf
JM
191 [BZ #14273]
192 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
193 Clear sign bit of 64-bit integer value before comparing against
194 overflow value.
195
79662d42
JM
196 * sysdeps/mach/configure: Regenerated.
197
1f150908
L
1982012-06-21 H.J. Lu <hongjiu.lu@intel.com>
199
200 [BZ #14278]
201 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
202
28363bbf
JL
2032012-06-21 Jeff Law <law@redhat.com>
204
205 [BZ #13882]
206 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
207 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 208 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
209 * elf/dl-open.c (dl_open_worker): Likewise.
210
09615db4
CD
2112012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
212
213 * scripts/list-sources.sh: Scan PORTS for translations.
214 * po/libc.pot: Regenerated.
215
2174c6dd
AJ
2162012-06-21 Andreas Jaeger <aj@suse.de>
217
218 [BZ #12194]
219 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
220 warning.
221 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
222 * bits/byteswap-16.h (__bswap_16): Likewise.
223 * bits/byteswap.h (__bswap_constant_16): Likewise.
224
3ee947b1
L
2252012-06-18 H.J. Lu <hongjiu.lu@intel.com>
226
227 [BZ #14117]
a2f34833
L
228 * sysdeps/i386/fpu_control.h: Removed.
229 * sysdeps/x86_64/fpu_control.h: Moved to ...
230 * sysdeps/x86/fpu_control.h: Here.
231
3ee947b1
L
232 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
233 (_FPU_SETCW): Likewise.
234
ed1825f8
L
2352012-06-15 H.J. Lu <hongjiu.lu@intel.com>
236
25f1282a
L
237 [BZ #14117]
238 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
239 * sysdeps/x86/fpu/bits/mathinline.h: This.
240 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
241
ed1825f8
L
242 [BZ #14050]
243 [BZ #14117]
244 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
245 functions if __x86_64__ is defined.
246
36d54b74
CLT
2472012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
248
249 * string/endian.h: Add !__ASSEMBLER__ condition for including
250 conversion interfaces.
251
10285c21
JM
2522012-06-15 Joseph Myers <joseph@codesourcery.com>
253
254 [BZ #14241]
255 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
256 of ABS(x) in calculating zero to negative powers other than odd
257 integers.
258 * math/libm-test.inc (pow_test): Add more tests.
259
06c5abbd
AJ
2602012-06-15 Andreas Jaeger <aj@suse.de>
261
262 * manual/contrib.texi (Contributors): Update entry of Liubov
263 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
264 Machado Filho.
265
a3aeac40
CH
2662012-06-15 Cyril Hrubis <metan@ucw.cz>
267
268 * string/string.h: Add __wur to GNU version of strerror_r.
269
49bdf4c1
L
2702012-06-14 H.J. Lu <hongjiu.lu@intel.com>
271
272 [BZ #14229]
273 * string/Makefile (tests): Add tst-strtok_r.
274 * string/tst-strtok_r.c: New file.
275 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
276 RAX_LP/RDX_LP on SAVE_PTR.
277
834f9b8d
RM
2782012-06-14 Roland McGrath <roland@hack.frob.com>
279
280 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
281
75fa1921
JM
2822012-06-14 Joseph Myers <joseph@codesourcery.com>
283
284 * libm_test.inc (csqrt_test): Allow more spurious underflow
285 exceptions.
286 (j0_test): Likewise.
287 (j1_test): Likewise.
288 (y0_test): Likewise.
289 (y1_test): Likewise.
290
771766df
CD
2912012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
292
293 * po/Makefile (libc.pot): Use UTF-8 charset.
294
ceb9e56b
PP
2952012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
296
297 [BZ #14210]
298 Suppress sign-conversion warning from FD_SET.
299 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
300 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
301 not unsigned long int.
302 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
303
ddb28975
L
3042012-06-12 H.J. Lu <hongjiu.lu@intel.com>
305
306 [BZ #14050]
307 [BZ #14117]
308 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
309 __extern_always_inline instead of __extern_inline.
310 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
311 (__signbit): Likewise.
312 (__signbitl): Support C++ namespace.
313 (lrintf): New inline function.
314 (lrint): Likewise.
315 (llrintf): Likewise.
316 (llrint): Likewise.
317 (fmaxf): Likewise.
318 (fmax): Likewise.
319 (fminf): Likewise.
320 (fmin): Likewise.
321 (rint): Likewise.
322 (rintf): Likewise.
323 (ceil): Likewise.
324 (ceilf): Likewise.
325 (floor): Likewise.
326 (floorf): Likewise.
327 (nearbyint): Likewise.
328 (nearbyintf): Likewise.
329
d7b4fb26
TS
3302012-06-12 Thomas Schwinge <thomas@codesourcery.com>
331
332 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
333 non-default versions.
334
eb55f5c2
RM
3352012-06-11 Roland McGrath <roland@hack.frob.com>
336
337 [BZ #14218]
338 * manual/argp.texi (Argp): Reword argp_parse description slightly.
339
366af02c
TS
3402012-06-09 Thomas Schwinge <thomas@codesourcery.com>
341
99ff6e5c
TS
342 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
343 (FE_UPWARD, FE_DOWNWARD): Don't define.
344 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
345 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
346
366af02c
TS
347 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
348 reading it.
349 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
350 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
351
793ea851
KK
3522012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
353
354 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
355 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
356 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
357 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
358
a728a38f
L
3592012-06-06 H.J. Lu <hongjiu.lu@intel.com>
360
361 [BZ #14117]
c08010c7
L
362 * sysdeps/i386/fpu/bits/fenv.h: Removed.
363 * sysdeps/i386/fpu/Implies: New file.
364 * sysdeps/x86_64/fpu/Implies: Likewise.
365 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
366 * sysdeps/x86/fpu/bits/fenv.h: This.
367
a728a38f
L
368 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
369 __SSE_MATH__.
370
6e230d11
SP
3712012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
372
373 [BZ #14134]
374 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
375 character 0xffff that matches the last element of the
376 conversion table.
377
1b671feb
AZ
3782012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
379
380 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
381 fmodl commit.
382
6043738b
AZ
3832012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
384
385 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
386 values higher than 25.6283.
387
34ae0b32
AZ
3882012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
389
390 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
391 subnormal exponent extraction and add some __builtin_expect.
392 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
393 Fix for subnormal mantissa calculation.
394
1214ec8f
MF
3952012-06-04 Mike Frysinger <vapier@gentoo.org>
396
397 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
398 cpu2 is -1 and errno is not ENOSYS.
399
f3d1f93c
L
4002012-06-04 H.J. Lu <hongjiu.lu@intel.com>
401
402 [BZ #14117]
0e4a3cd7
L
403 * sysdeps/i386/i486/bits/string.h: Renamed to ...
404 * sysdeps/x86/bits/string.h: This.
405 * sysdeps/x86_64/bits/string.h: Removed.
406
6704c645
L
407 * sysdeps/i386/i486/bits/string.h: Define inline functions only
408 if not compiling for x86-64, but compiling for >= i486.
409
48495318
L
410 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
411 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
412
14adcbfc
L
413 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
414 New macro from Linux kernel 3.4.0.
415 (FP_XSTATE_MAGIC2): Likewise.
416 (FP_XSTATE_MAGIC2_SIZE): Likewise.
417 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
418 (struct _fpx_sw_bytes): New struct.
419 (struct _xsave_hdr): Likewise.
420 (struct _ymmh_state): Likewise.
421 (struct _xstate): Likewise.
422
68e408ab
L
423 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
424 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
425 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
426 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
427 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
428 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
429
f3d1f93c
L
430 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
431 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
432 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
433 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
434 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
435 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
436
d9dc34cd
TMQMF
4372012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
438
439 [BZ #13743]
440 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
441 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
442 (sysdep_headers): Include sys/platform/ppc.h.
443 * sysdeps/powerpc/test-gettimebase.c: Test for
444 __ppc_get_timebase() to catch future ISA opcode/insn changes.
445 * manual/Makefile (appendices): Include platform.texi.
446 * manual/contrib.texi (Contributors): Update @node pointers.
447 * manual/maint.texi (Maintenance): Likewise.
448 (Platform): New node.
449 * manual/platform.texi: New file. Document the new features.
450
4af3879c
SP
4512012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
452 Jakub Jelinek <jakub@redhat.com>
453
454 [BZ #14188]
455 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
456 where __builtin_expect is unavailable.
457
2fd6ff13
DM
4582012-06-03 David S. Miller <davem@davemloft.net>
459
460 * stdlib/longlong.h: Updated from GCC.
461
173f7220
AS
4622012-06-02 Andreas Schwab <schwab@linux-m68k.org>
463
464 [BZ #14042]
465 * sysdeps/powerpc/powerpc32/mcount.c: New file.
466 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
467 __mcount_internal.
468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
469 (GLIBC_2.16): Likewise.
470
f34a1c6f
L
4712012-06-01 H.J. Lu <hongjiu.lu@intel.com>
472
473 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
474
88a4576f
JM
4752012-06-01 Joseph Myers <joseph@codesourcery.com>
476
ea32bcdd
JM
477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
478 (default-abi): New variable.
479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
480 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
481 variable.
482 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
483 Likewise.
484 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
485 Likewise.
486 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
487 Likewise.
488
88a4576f
JM
489 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
490 definition. Document in comment.
491
402fe938
DM
4922012-06-01 David S. Miller <davem@davemloft.net>
493
494 * stdlib/longlong.h: Updated from GCC.
495
3553723f
L
4962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
497
498 [BZ #14117]
3bd872c4
L
499 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
500 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
501 sys/debugreg.h sys/io.h here.
502 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
503 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
504 sys/io.h.
505 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
506 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
507 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
508 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
509 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
510 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
511
3553723f
L
512 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
513 Define only if __x86_64__ is defined.
514
4842e4fe
JM
5152012-06-01 Joseph Myers <joseph@codesourcery.com>
516
c5bfe3d5
JM
517 [BZ #14048]
518 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
519 Use int64_t for variable i.
520 * math/libm-test.inc (fmod_test): Add more tests.
521
4842e4fe
JM
522 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
523 z computation is not scheduled after fetestexcept.
524 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
525 Use math_force_eval instead of asm to ensure calculation scheduled
526 before exception test.
527 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
528 Ensure a1 + u.d computation is not scheduled after fetestexcept.
529
efb73488
AJ
5302012-06-01 Aurelien Jarno <aurelien@aurel32.net>
531
532 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
533 computation is not scheduled after fetestexcept.
534
29bcce7c
L
5352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
536
537 [BZ #14117]
538 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
539 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
540
73a68f94
AZ
5412012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
542
543 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
544 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
545
67b6df78
L
5462012-05-31 H.J. Lu <hongjiu.lu@intel.com>
547
edf2933a 548 [BZ #14117]
ebc64a18
L
549 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
550 <bits/wordsize.h>.
551 (__WCHAR_MIN): Support __WORDSIZE == 64.
552 (__WCHAR_MAX): Likewise.
553
edf2933a
L
554 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
555 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
556
57c6cf40
L
557 [BZ #14183]
558 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
559 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
560
67b6df78 561 [BZ #14117]
8eb6281e
L
562 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
563 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
564
aac639f4
L
565 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
566 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
567
67b6df78
L
568 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
569 Defined to 1 if __x86_64__ isn't defined.
570 (_STAT_VER_LINUX_OLD): New.
571 (st_atime): Remove duplicate.
572 (st_mtime): Likewise.
573 (st_ctime): Likewise.
574
1c2cfe81
DM
5752012-05-31 David S. Miller <davem@davemloft.net>
576
577 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
578 entries.
579
5be8418c
AS
5802012-06-01 Andreas Schwab <schwab@linux-m68k.org>
581
e7725326
AS
582 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
583 gen-libm-test.pl.
584
5be8418c
AS
585 [BZ #14132]
586 * elf/dl-reloc.c: Include <_itoa.h>.
587 (_dl_reloc_bad_type): Remove use of INTUSE.
588 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
589 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
590 * stdio-common/psiginfo.c (psiginfo): Likewise.
591 * stdio-common/psignal.c (psignal): Likewise.
592 * string/strsignal.c (strsignal): Likewise.
593 * include/signal.h (_sys_siglist): Declare hidden proto.
594 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
595 INTVARDEF with libc_hidden_data_def.
596 * stdio-common/itoa-udigits.c: Likewise.
597 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
598 (_itoa_lower_digits_internal): Remove declaration.
599 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
600 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
601 (_sys_sigabbrev_internal): Remove aliases.
602 (_sys_siglist): Define hidden alias.
603
507352f1
MT
6042012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
605
606 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
607 bits/sysctl.h.
608
42bbb1c3
L
6092012-05-31 H.J. Lu <hongjiu.lu@intel.com>
610
611 [BZ #14117]
6bd784b6
L
612 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
613 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
614
8bca20f0
L
615 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
616 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
617 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
618 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
619 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
620 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
621
f9e890a9
L
622 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
623 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
624 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
625
471101a1
L
626 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
627 with __addr.
628 (insw): Likewise.
629 (insl): Likewise.
630 (outsb): Likewise.
631 (outsw): Likewise.
632 (outsl): Likewise.
633
6451c862
L
634 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
635 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
636 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
637
a254b8c9
L
638 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
639 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
640 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
641 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
642 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
643 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
644
b8dfdd92
L
645 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
646 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
647
578cd270
L
648 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
649 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
650
de662f5f
L
651 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
652 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
653 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
654
25653439
L
655 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
656 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
657 to ...
658 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
659
6bad24a0
L
660 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
661 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
662 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
663
42bbb1c3
L
664 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
665 for x86-64.
666 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
667
2d10d547
JM
6682012-05-31 Joseph Myers <joseph@codesourcery.com>
669
670 * math/math.h (M_El): Use two more decimal places.
671 (M_LOG2El): Likewise.
672 (M_LOG10El): Likewise.
673 (M_LN2l): Likewise.
674 (M_LN10l): Likewise.
675 (M_PIl): Likewise.
676 (M_PI_2l): Likewise.
677 (M_PI_4l): Likewise.
678 (M_1_PIl): Likewise.
679 (M_2_PIl): Likewise.
680 (M_2_SQRTPIl): Likewise.
681 (M_SQRT2l): Likewise.
682 (M_SQRT1_2l): Likewise.
683
f230c29b
DM
6842012-05-31 David S. Miller <davem@davemloft.net>
685
686 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
687 values between float registers.
688 * sysdeps/sparc/sparc64/memset.S: Likewise.
689 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
690
fed806c3
MF
6912012-05-31 Mike Frysinger <vapier@gentoo.org>
692
693 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
694 -D_FORTIFY_SOURCE=1.
695 (CPPFLAGS-tst-longjmp_chk.c): Define.
696 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
697 (CPPFLAGS-tst-longjmp_chk2.c): Define.
698 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
699 CFLAGS-tst-wchar-h.c.
700
30917259
MP
7012012-05-31 Marek Polacek <polacek@redhat.com>
702
703 [BZ #14132]
704 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
705 __endmntent_internal): Remove declaration.
706 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
707 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
708 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
709
1c58d5dc
DM
7102012-05-30 David S. Miller <davem@davemloft.net>
711
712 * sysdeps/sparc/sparc32/soft-fp/q_util.c
713 (___Q_simulate_exceptions): Use real FP ops rather than writing
714 into the %fsr.
715 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
716 Likewise.
717
7dc00e0d
L
7182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
719
720 [BZ #14117]
0bd53985
L
721 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
722 * sysdeps/x86/bits/xtitypes.h: This.
723
3a257e66
L
724 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
725 * sysdeps/x86/bits/wordsize.h: This.
726
62f62904
L
727 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
728 * sysdeps/x86/bits/huge_vall.h: This.
729
404fe9d9
L
730 * sysdeps/i386/bits/select.h: Removed.
731 * sysdeps/x86_64/bits/select.h: Renamed to ...
732 * sysdeps/x86/bits/select.h: This.
733
d48d0446
L
734 * sysdeps/i386/bits/setjmp.h: Removed.
735 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
736 * sysdeps/x86/bits/setjmp.h: This.
737
7dc00e0d
L
738 * sysdeps/i386/bits/mathdef.h: Removed.
739 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
740 * sysdeps/x86/bits/mathdef.h: This.
741
03277f8f
AS
7422012-05-30 Andreas Schwab <schwab@linux-m68k.org>
743
744 [BZ #14132]
745 * include/sys/socket.h (__connect_internal)
746 (__libc_sa_len_internal): Remove declaration.
747 (__connect, __libc_sa_len): Declare hidden_proto.
748 (SA_LEN): Remove use of INTUSE.
749 * socket/connect.c: Add libc_hidden_def.
750 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
751 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
752 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
753 alias.
754 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
755 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
756 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
757 of adding _internal alias.
758
13764867
L
7592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
760
761 [BZ #14117]
6bd97696
L
762 * sysdeps/i386/bits/link.h: Removed.
763 * sysdeps/i386/bits/linkmap.h: Likewise.
764 * sysdeps/x86_64/bits/link.h: Renamed to ...
765 * sysdeps/x86/bits/link.h: This.
766 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
767 * sysdeps/x86/bits/linkmap.h: This.
768
f726f0bb
L
769 * sysdeps/i386/bits/endian.h: Removed.
770 * sysdeps/x86_64/bits/endian.h: Renamed to ...
771 * sysdeps/x86/bits/endian.h: This.
772
13764867
L
773 * sysdeps/i386/bits/byteswap.h: Removed.
774 * sysdeps/i386/bits/byteswap-16.h: Likewise.
775 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
776 * sysdeps/x86/bits/byteswap.h: This.
777 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
778 * sysdeps/x86/bits/byteswap-16.h: This.
779 * sysdeps/i386/Implies: Add x86.
780 * sysdeps/x86_64/Implies: Likewise.
781
ae251b0b
DM
7822012-05-30 David S. Miller <davem@davemloft.net>
783
784 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
785 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
786 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
787 (FP_TRAPPING_EXCEPTIONS): Define.
788 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
789 (FP_TRAPPING_EXCEPTIONS): Define.
790 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
791 subnormals only when inexact has been signalled or underflow
792 exceptions are enabled.
793 (_FP_PACK_CANONICAL): Likewise.
794
d5c90867
L
7952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
796
797 [BZ #14183]
798 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
799 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
800
63f1549e
RH
8012012-05-30 Richard Henderson <rth@twiddle.net>
802
8d8f2279
RH
803 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
804 with #ifndef NOT_IN_libc.
805
63f1549e
RH
806 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
807 marked to avoid plt entry.
808
0ab0291b
L
8092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
810
811 [BZ #14112]
812 * Makeconfig (default-abi): New macro.
813 (abi-includes): Likewise.
814 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
815 $(abi-$(default-abi)-lib-soname) for soname if defined.
816 ($(common-objpfx)gnu/lib-names.stmp): Generate from
817 abi-variants.
818 * Makefile (installed-stubs): Likewise.
819 * include/stubs-biarch.h: Removed.
820 * scripts/lib-names.awk: Only handle one library at a time.
821 * scripts/soversions.awk: Remove WORDSIZE support.
822 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
823 entries.
824 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
825 Removed.
826 (syscall-list-default-condition): Likewise.
827 (syscall-list-default-condition): Likewise.
828 (syscall-list-includes): Likewise.
829 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
830 syscall-list-* with abi-*. Handle undefined abi-variants.
831 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
832 * sysdeps/unix/sysv/linux/i386/Implies: New file.
833 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
834 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
835 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
836 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
837 Removed.
838 (syscall-list-32-options): Likewise.
839 (syscall-list-32-condition): Likewise.
840 (syscall-list-64-options): Likewise.
841 (syscall-list-64-condition): Likewise.
842 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
843 macro.
844 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
845 Renamed to ...
846 (abi-*): This.
847 (abi-64-ld-soname): New macro.
848 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
849 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
850 Renamed to ...
851 (abi-*): This.
852 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
853 * sysdeps/x86_64/x32/shlib-versions: Likewise.
854
4da0431d
JM
8552012-05-30 Joseph Myers <joseph@codesourcery.com>
856
3a85279c
JM
857 * sysdeps/unix/sysv/linux/kernel-features.h
858 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
859 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
860 include <kernel-features.h>.
861 [!__NR_ftruncate64]: Remove conditional code.
862 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
863 [__NR_ftruncate64]: Make code unconditional.
864 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
865 * sysdeps/unix/sysv/linux/truncate64.c: Do not
866 include <kernel-features.h>.
867 [!__NR_ftruncate64]: Remove conditional code.
868 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
869 [__NR_ftruncate64]: Make code unconditional.
870 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
872 include <kernel-features.h>.
873 [!__NR_ftruncate64]: Remove conditional code.
874 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
875 [__NR_ftruncate64]: Make code unconditional.
876 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
878 include <kernel-features.h>.
879 [!__NR_ftruncate64]: Remove conditional code.
880 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
881 [__NR_ftruncate64]: Make code unconditional.
882 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
883
4da0431d
JM
884 * configure.in (libc_cv_fpie): Weaken to a compile test using
885 LIBC_TRY_CC_OPTION.
886 * configure: Regenerated.
887
11ef492c
AK
8882012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
889
890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
894 Refreshed.
895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
901 Refreshed.
902
d66ef399
DM
9032012-05-27 David S. Miller <davem@davemloft.net>
904
905 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
906 (___Q_zero): New.
907 (__Q_simulate_exceptions): Return void. Change to simulate
908 exceptions by writing into the %fsr.
909 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
910 (__Qp_handle_exceptions): Likewise.
911 (numbers): Delete.
912 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
913 __Qp_handle_exceptions.
914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
915 __Qp_handle_exceptions.
916 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
917 as unused and give dummy FP_RND_NEAREST initializer.
918 (FP_INHIBIT_RESULTS): Define.
919 (___Q_simulate_exceptions): Update declaration.
920 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
921 formatting.
922 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
923 as unused and give dummy FP_RND_NEAREST initializer.
924 (__Qp_handle_exceptions): Update declaration.
925 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
926 formatting.
927
04fb54b5
TS
9282012-05-27 Thomas Schwinge <thomas@codesourcery.com>
929
930 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
931 the temporary FPU control word.
932 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
933 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
934 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
935 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
936 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
937 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
938 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
939 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
940 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
941 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
942 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
943
3f99608f
KK
9442012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
945
946 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
947 fields.
948
65a4de4e
CLT
9492012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
950
951 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
952 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
953 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
954 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
955 Likewise.
956 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
957 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
958 Likewise.
959
15749d40
UD
9602012-05-27 Ulrich Drepper <drepper@gmail.com>
961
962 * po/h.po: Update from translation team.
963
25dbcb27
AS
9642012-05-26 Andreas Schwab <schwab@linux-m68k.org>
965
3d3f8e55
AS
966 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
967
25dbcb27
AS
968 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
969 handling of denormals.
970 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
971 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
972 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
973 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
974 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
975 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
976 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
977 Likewise.
978
7ad47a80 9792012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
980
981 [BZ #14152]
982 * math/libm-test.inc (fma_test): Don't always expect underflow
983 exception.
984
9c6ea9fa
SP
9852012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
986
987 [BZ #12416]
988 * elf/tst-execstack.c: Include stackinfo.h.
989 (do_test): Adjust test case to ensure that pthread_getattr_np
990 behaviour remains the same after marking stack executable.
991
a8239222
JM
9922012-05-25 Joseph Myers <joseph@codesourcery.com>
993
994 * sysdeps/unix/sysv/linux/kernel-features.h
995 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
996 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
997 kernel-features.h.
998 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
999 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1000 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1001 kernel-features.h.
1002 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1003 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1004
918b5606
L
10052012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1006
1007 * configure.in: Define the default includes to being none.
1008 * configure: Regenerated.
1009
3a097cc7
RM
10102012-05-25 Roland McGrath <roland@hack.frob.com>
1011
8422c9a5
RM
1012 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1013 * sysdeps/x86_64/setjmp.S: Likewise.
1014 * sysdeps/i386/bsd-setjmp.S: Likewise.
1015 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1016 * sysdeps/i386/setjmp.S: Likewise.
1017 * sysdeps/i386/__longjmp.S: Likewise.
1018 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1019 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1020
3a097cc7
RM
1021 * include/stap-probe.h: New file.
1022 * configure.in: Handle --enable-systemtap.
1023 * configure: Regenerated.
1024 * config.h.in (USE_STAP_PROBE): New #undef.
1025 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1026 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1027 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1028
21708942
JM
10292012-05-25 Joseph Myers <joseph@codesourcery.com>
1030
1031 [BZ #13717]
1032 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1033 to 2.4.0 where earlier.
1034 * sysdeps/unix/sysv/linux/configure: Regenerated.
1035 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1036 <kernel-features.h>.
1037 [__ASSUME_32BITUIDS]: Make code unconditional.
1038 [!__ASSUME_32BITUIDS]: Remove conditional code.
1039 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1040 <kernel-features.h>.
1041 [__ASSUME_32BITUIDS]: Make code unconditional.
1042 [!__ASSUME_32BITUIDS]: Remove conditional code.
1043 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1044 [__ASSUME_32BITUIDS]: Make code unconditional.
1045 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1046 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1047 <kernel-features.h>.
1048 [__ASSUME_32BITUIDS]: Make code unconditional.
1049 [!__ASSUME_32BITUIDS]: Remove conditional code.
1050 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1051 <kernel-features.h>.
1052 [__ASSUME_32BITUIDS]: Make code unconditional.
1053 [!__ASSUME_32BITUIDS]: Remove conditional code.
1054 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1055 <kernel-features.h>.
1056 [__ASSUME_32BITUIDS]: Make code unconditional.
1057 [!__ASSUME_32BITUIDS]: Remove conditional code.
1058 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1059 <kernel-features.h>.
1060 [__ASSUME_32BITUIDS]: Make code unconditional.
1061 [!__ASSUME_32BITUIDS]: Remove conditional code.
1062 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1063 <kernel-features.h>.
1064 [__ASSUME_32BITUIDS]: Make code unconditional.
1065 [!__ASSUME_32BITUIDS]: Remove conditional code.
1066 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1067 <kernel-features.h>.
1068 [__ASSUME_32BITUIDS]: Make code unconditional.
1069 [!__ASSUME_32BITUIDS]: Remove conditional code.
1070 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1071 <kernel-features.h>.
1072 [__ASSUME_32BITUIDS]: Make code unconditional.
1073 [!__ASSUME_32BITUIDS]: Remove conditional code.
1074 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1075 <kernel-features.h>.
1076 [__ASSUME_32BITUIDS]: Make code unconditional.
1077 [!__ASSUME_32BITUIDS]: Remove conditional code.
1078 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1079 <kernel-features.h>.
1080 [__ASSUME_32BITUIDS]: Make code unconditional.
1081 [!__ASSUME_32BITUIDS]: Remove conditional code.
1082 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1083 <kernel-features.h>.
1084 [__ASSUME_32BITUIDS]: Make code unconditional.
1085 [!__ASSUME_32BITUIDS]: Remove conditional code.
1086 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1087 <kernel-features.h>.
1088 [__NR_setresgid] (__setresgid): Do not declare.
1089 [__ASSUME_32BITUIDS]: Make code unconditional.
1090 [!__ASSUME_32BITUIDS]: Remove conditional code.
1091 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1092 <kernel-features.h>.
1093 [__NR_setresuid] (__setresuid): Do not declare.
1094 [__ASSUME_32BITUIDS]: Make code unconditional.
1095 [!__ASSUME_32BITUIDS]: Remove conditional code.
1096 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.c: Do not include
1109 <kernel-features.h>.
1110 [__ASSUME_32BITUIDS]: Make code unconditional.
1111 [!__ASSUME_32BITUIDS]: Remove conditional code.
1112 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1113 <kernel-features.h>.
1114 [__ASSUME_32BITUIDS]: Make code unconditional.
1115 [!__ASSUME_32BITUIDS]: Remove conditional code.
1116 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1117 <kernel-features.h>.
1118 [__ASSUME_32BITUIDS]: Make code unconditional.
1119 [!__ASSUME_32BITUIDS]: Remove conditional code.
1120 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1121 <kernel-features.h>.
1122 [__ASSUME_32BITUIDS]: Make code unconditional.
1123 [!__ASSUME_32BITUIDS]: Remove conditional code.
1124 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1125 <kernel-features.h>.
1126 [__ASSUME_32BITUIDS]: Make code unconditional.
1127 [!__ASSUME_32BITUIDS]: Remove conditional code.
1128 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1129 <kernel-features.h>.
1130 [__ASSUME_32BITUIDS]: Make code unconditional.
1131 [!__ASSUME_32BITUIDS]: Remove conditional code.
1132 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1133 <kernel-features.h>.
1134 [__ASSUME_32BITUIDS]: Make code unconditional.
1135 [!__ASSUME_32BITUIDS]: Remove conditional code.
1136 * sysdeps/unix/sysv/linux/kernel-features.h
1137 (__ASSUME_SETRESUID_SYSCALL): Remove.
1138 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1139 (__ASSUME_32BITUIDS): Likewise.
1140 (__ASSUME_LDT_WORKS): Likewise.
1141 (__ASSUME_O_DIRECTORY): Likewise.
1142 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1143 architecture but not kernel version.
1144 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1145 (__ASSUME_MMAP2_SYSCALL): Likewise.
1146 (__ASSUME_STAT64_SYSCALL): Likewise.
1147 (__ASSUME_IPC64): Likewise.
1148 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1149 <kernel-features.h>.
1150 [__ASSUME_32BITUIDS]: Make code unconditional.
1151 [!__ASSUME_32BITUIDS]: Remove conditional code.
1152 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1153 <kernel-features.h>.
1154 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1155 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1156 132096]: Remove conditional code.
1157 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1158 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1159 <kernel-features.h>.
1160 [__ASSUME_32BITUIDS]: Make code unconditional.
1161 [!__ASSUME_32BITUIDS]: Remove conditional code.
1162 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1163 <kernel-features.h>.
1164 [__ASSUME_32BITUIDS]: Make code unconditional.
1165 [!__ASSUME_32BITUIDS]: Remove conditional code.
1166 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1167 <kernel-features.h>.
1168 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1169 unconditional.
1170 (__setresgid): Do not declare.
1171 [__ASSUME_32BITUIDS]: Make code unconditional.
1172 [!__ASSUME_32BITUIDS]: Remove conditional code.
1173 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1174 <kernel-features.h>.
1175 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1176 unconditional.
1177 (__setresuid): Do not declare.
1178 [__ASSUME_32BITUIDS]: Make code unconditional.
1179 [!__ASSUME_32BITUIDS]: Remove conditional code.
1180 * sysdeps/unix/sysv/linux/sh/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/sparc/sparc32/semctl.c: Do not include
1185 <kernel-features.h>.
1186 [__ASSUME_32BITUIDS]: Make code unconditional.
1187 [!__ASSUME_32BITUIDS]: Remove conditional code.
1188
a386f1cc
RH
11892012-05-25 Richard Henderson <rth@twiddle.net>
1190
1191 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1192 dl_hwcap to ifunc resolver.
1193 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1194 elf_ifunc_invoke.
1195 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1196 dl_hwcap to ifunc resolver.
1197 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1198
b6550497
JM
11992012-05-24 Joseph Myers <joseph@codesourcery.com>
1200
1201 [BZ #14153]
1202 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1203 for |x| <= 2**-26, not 2**-57.
1204 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1205 exception.
1206
b0bc23a1
JL
12072012-05-24 Jeff Law <law@redhat.com>
1208
1209 * stdio-common/Makefile (tests): Add bug25.
1210 * stdio-common/bug25.c: New test.
1211
347c92e9
L
12122012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1213
1214 [BZ #13576]
1215 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1216 multiple of MALLOC_ALIGNMENT in size.
1217 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1218
6bcc8b3f
JM
12192012-05-24 Joseph Myers <joseph@codesourcery.com>
1220
1221 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1222 Require >= 256.
1223 (FILENAME_MAX): Use macro-int-constant.
1224 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1225 (_IOFBF): Use macro-int-constant.
1226 (_IOLBF): Likewise.
1227 (_IONBF): Likewise.
1228 (SEEK_CUR): Likewise.
1229 (SEEK_END): Likewise.
1230 (SEEK_SET): Likewise.
1231 (TMP_MAX): Likewise.
1232 (EOF): Use macro-int-constant. Require < 0.
1233 (NULL): Use macro-constant. Require == 0.
1234 (stdin): Require type to be FILE *.
1235 (stdout): Likewise.
1236 (stderr): Likewise.
1237 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1238 macro-int-constant.
1239 (EXIT_SUCCESS): Likewise.
1240 (NULL): Use macro-constant. Require == 0.
1241 (RAND_MAX): Use macro-int-constant.
1242 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1243 [C99-based standards] (strtof): Require function.
1244 [C99-based standards] (strtold): Likewise.
1245 [C99-based standards] (strtoll): Likewise.
1246 [C99-based standards] (strtoull): Likewise.
1247 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1248 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1249 [ISO || ISO99 || ISO11] (math.h): Likewise.
1250 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1251 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1252 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1253
d18ea0c5
AS
12542012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1255
1256 [BZ #14132]
56d25bb8
AS
1257 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1258 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1259 * intl/dgettext.c (DCGETTEXT): Likewise.
1260 * intl/gettext.c (DCGETTEXT): Likewise.
1261 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1262 * posix/regex_internal.h (gettext): Likewise.
1263 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1264 Remove declaration.
1265 * include/argz.h (__argz_count_internal)
1266 (__argz_stringify_internal): Remove declaration.
1267 (__argz_count, __argz_stringify): Declare hidden proto.
1268 * intl/dcgettext.c: Remove use of INTDEF.
1269 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1270 * string/argz-stringify.c: Likewise.
1271 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1272 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1273 Declare hidden proto.
d18ea0c5
AS
1274 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1275 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1276 Declare hidden proto.
1277 * include/stdio.h (__asprintf_internal): Don't declare.
1278 (__asprintf): Don't define as macro. Declare hidden proto.
1279 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1280 (__fsetlocking): Declare hidden proto.
1281 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1282 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1283 hidden proto.
1284 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1285 (_IO_setlinebuf): Remove use of INTUSE.
1286 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1287 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1288 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1289 Remove declaration.
1290 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1291 (_IO_do_flush): Remove use of INTUSE.
1292 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1293 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1294 (_IO_adjust_column, _IO_least_wmarker)
1295 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1296 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1297 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1298 (_IO_default_doallocate, _IO_wdefault_doallocate)
1299 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1300 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1301 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1302 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1303 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1304 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1305 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1306 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1307 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1308 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1309 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1310 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1311 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1312 proto.
1313 (_IO_flush_all_internal, _IO_adjust_column_internal)
1314 (_IO_default_uflow_internal, _IO_default_finish_internal)
1315 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1316 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1317 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1318 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1319 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1320 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1321 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1322 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1323 (_IO_file_close_internal, _IO_file_close_it_internal)
1324 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1325 (_IO_file_init_internal, _IO_file_attach_internal)
1326 (_IO_file_fopen_internal, _IO_file_read_internal)
1327 (_IO_file_sync_internal, _IO_file_seek_internal)
1328 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1329 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1330 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1331 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1332 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1333 (_IO_list_all_internal, _IO_link_in_internal)
1334 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1335 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1336 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1337 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1338 (_IO_do_write_internal, _IO_padn_internal)
1339 (_IO_getline_info_internal, _IO_getline_internal)
1340 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1341 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1342 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1343 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1344 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1345 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1346 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1347 with libc_hidden_ver, remove use of INTUSE.
1348 * libio/genops.c: Likewise.
1349 * libio/freopen.c: Likewise.
1350 * libio/freopen64.c: Likewise.
1351 * libio/iofclose.c: Likewise.
1352 * libio/iofdopen.c: Likewise.
1353 * libio/iofflush.c: Likewise.
1354 * libio/iofflush_u.c: Likewise.
1355 * libio/iofgets.c: Likewise.
1356 * libio/iofgets_u.c: Likewise.
1357 * libio/iofopen.c: Likewise.
1358 * libio/iofopncook.c: Likewise.
1359 * libio/iofread.c: Likewise.
1360 * libio/iofread_u.c: Likewise.
1361 * libio/ioftell.c: Likewise.
1362 * libio/iofwrite.c: Likewise.
1363 * libio/iogetline.c: Likewise.
1364 * libio/iogets.c: Likewise.
1365 * libio/iogetwline.c: Likewise.
1366 * libio/iopadn.c: Likewise.
1367 * libio/iopopen.c: Likewise.
1368 * libio/ioseekoff.c: Likewise.
1369 * libio/ioseekpos.c: Likewise.
1370 * libio/iosetbuffer.c: Likewise.
1371 * libio/iosetvbuf.c: Likewise.
1372 * libio/ioungetc.c: Likewise.
1373 * libio/ioungetwc.c: Likewise.
1374 * libio/iovdprintf.c: Likewise.
1375 * libio/iovsprintf.c: Likewise.
1376 * libio/iovsscanf.c: Likewise.
1377 * libio/memstream.c: Likewise.
1378 * libio/obprintf.c: Likewise.
1379 * libio/oldfileops.c: Likewise.
1380 * libio/oldiofclose.c: Likewise.
1381 * libio/oldiofdopen.c: Likewise.
1382 * libio/oldiofopen.c: Likewise.
1383 * libio/oldiopopen.c: Likewise.
1384 * libio/oldstdfiles.c: Likewise.
1385 * libio/putc.c: Likewise.
1386 * libio/setbuf.c: Likewise.
1387 * libio/setlinebuf.c: Likewise.
1388 * libio/stdfiles.c: Likewise.
1389 * libio/strops.c: Likewise.
1390 * libio/vasprintf.c: Likewise.
1391 * libio/vscanf.c: Likewise.
1392 * libio/vsnprintf.c: Likewise.
1393 * libio/vswprintf.c: Likewise.
1394 * libio/wfiledoalloc.c: Likewise.
1395 * libio/wfileops.c: Likewise.
1396 * libio/wgenops.c: Likewise.
1397 * libio/wmemstream.c: Likewise.
1398 * libio/wstrops.c: Likewise.
1399 * libio/__fpurge.c: Likewise.
1400 * libio/__fsetlocking.c: Likewise.
1401 * assert/assert.c: Likewise.
1402 * debug/fgets_chk.c: Likewise.
1403 * debug/fgets_u_chk.c: Likewise.
1404 * debug/fread_chk.c: Likewise.
1405 * debug/fread_u_chk.c: Likewise.
1406 * debug/gets_chk.c: Likewise.
1407 * debug/obprintf_chk.c: Likewise.
1408 * debug/vasprintf_chk.c: Likewise.
1409 * debug/vdprintf_chk.c: Likewise.
1410 * debug/vsnprintf_chk.c: Likewise.
1411 * debug/vsprintf_chk.c: Likewise.
1412 * malloc/mtrace.c: Likewise.
1413 * misc/error.c: Likewise.
1414 * misc/syslog.c: Likewise.
1415 * stdio-common/asprintf.c: Likewise.
1416 * stdio-common/fxprintf.c: Likewise.
1417 * stdio-common/getw.c: Likewise.
1418 * stdio-common/isoc99_fscanf.c: Likewise.
1419 * stdio-common/isoc99_scanf.c: Likewise.
1420 * stdio-common/isoc99_vfscanf.c: Likewise.
1421 * stdio-common/isoc99_vscanf.c: Likewise.
1422 * stdio-common/isoc99_vsscanf.c: Likewise.
1423 * stdio-common/printf-prs.c: Likewise.
1424 * stdio-common/printf_fp.c: Likewise.
1425 * stdio-common/printf_fphex.c: Likewise.
1426 * stdio-common/printf_size.c: Likewise.
1427 * stdio-common/putw.c: Likewise.
1428 * stdio-common/scanf.c: Likewise.
1429 * stdio-common/sprintf.c: Likewise.
1430 * stdio-common/tmpfile.c: Likewise.
1431 * stdio-common/vfprintf.c: Likewise.
1432 * stdio-common/vfscanf.c: Likewise.
1433 * stdlib/strfmon_l.c: Likewise.
1434 * sunrpc/openchild.c: Likewise.
1435 * sunrpc/xdr_stdio.c: Likewise.
1436 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1437 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1438
d6c33fda
RM
14392012-05-24 Roland McGrath <roland@hack.frob.com>
1440
c1487492
RM
1441 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1442
1443 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1444 in the third column, to generate for the shared library an IFUNC
1445 that uses _dl_vdso_vsym.
1446 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1447 * Makeconfig (object-suffixes-noshared): New variable.
1448
1449 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1450 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1451 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1452 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1453
d6c33fda
RM
1454 [BZ #14132]
1455 * include/sys/time.h (__gettimeofday): Remove macro.
1456 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1457 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1458 Remove INTDEF.
1459 (__gettimeofday): Add libc_hidden_def.
1460 (gettimeofday): Add libc_hidden_weak.
1461 * sysdeps/mach/gettimeofday.c: Likewise.
1462 * sysdeps/posix/gettimeofday.c: Likewise.
1463 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1464 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1465 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1466 (__gettimeofday_internal): Remove strong_alias.
1467 (__gettimeofday): Add libc_hidden_def.
1468 (gettimeofday): Add libc_hidden_weak.
1469 * sysdeps/unix/syscalls.list (gettimeofday):
1470 Remove __gettimeofday_internal alias.
1471
b5a2bbe6
L
14722012-05-24 Daniel Jacobowitz <drow@false.org>
1473 H.J. Lu <hongjiu.lu@intel.com>
1474
1475 [BZ #12495]
1476 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1477 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1478 (largebin_index_32_big): New.
1479 (largebin_index): Use it for 16-byte alignment.
1480 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1481 correction with front_misalign.
1482
cfba4fda
L
14832012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1484
7f907421
L
1485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1487 Likewise.
1488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1489 Likewise.
1490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1491 Likewise.
1492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1493 Likewise.
1494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1495 Likewise.
1496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1497 Likewise.
1498 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1499 Likewise.
1500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1501 Likewise.
1502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1503 Likewise.
1504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1505 Likewise.
1506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1507 Likewise.
1508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1509 Likewise.
1510
cfba4fda
L
1511 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1512 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1513
80bad0cc
JM
15142012-05-24 Joseph Myers <joseph@codesourcery.com>
1515
7a25eb06
JM
1516 [BZ #10846]
1517 [BZ #14036]
1518 * math/libm-test.inc (exp_test): Add test from bug 14036.
1519 (pow_test): Add test from bug 10846.
1520
795405f9
JM
1521 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1522 and other flags.
1523 (special_function): Do not include flags in test name.
1524 (parse_args): Likewise.
1525 * sysdeps/i386/fpu/libm-test-ulps: Update.
1526 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1527 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1528 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1530
80bad0cc
JM
1531 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1532 exceptions.
1533 * math/libm-test.inc ("Philosophy"): Update comment about
1534 exception testing.
1535 (UNDERFLOW_EXCEPTION): New macro.
1536 (UNDERFLOW_EXCEPTION_OK): Likewise.
1537 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1538 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1539 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1540 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1541 (INVALID_EXCEPTION_OK): Update value.
1542 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1543 (OVERFLOW_EXCEPTION_OK): Likewise.
1544 (IGNORE_ZERO_INF_SIGN): Likewise.
1545 (test_exceptions): Handle underflow exceptions.
1546 (acos_test): Update for underflow exception expectations.
1547 (cexp_test): Likewise.
1548 (clog_test): Likewise.
1549 (clog10_test): Likewise.
1550 (csqrt_test): Likewise.
1551 (ctan_test): Likewise.
1552 (ctanh_test): Likewise.
1553 (exp_test): Likewise.
1554 (exp10_test): Likewise.
1555 (exp2_test): Likewise.
1556 (expm1_test): Likewise.
1557 (fma_test): Likewise.
1558 (j0_test): Likewise.
1559 (jn_test): Likewise.
1560 (nexttoward_test): Likewise.
1561 (pow_test): Likewise.
1562 (scalbn_test): Likewise.
1563 (scalbln_test): Likewise.
1564 (tan_test): Likewise.
1565 (y1_test): Likewise.
1566 * sysdeps/i386/fpu/libm-test-ulps: Update.
1567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1568
9e0e3d0b
DM
15692012-05-23 David S. Miller <davem@davemloft.net>
1570
1571 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1572 (__libc_sigaction): Remove unused local variables.
1573
ccd0a08f
L
15742012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1575
1576 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1577
62bdf9a6
PE
15782012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1579
f8591f80
PE
1580 mktime: avoid signed integer overflow
1581 * time/mktime.c (__mktime_internal): Do not mishandle the case
1582 where diff == INT_MIN.
1583
94c7d826
PE
1584 mktime: simplify computation of average
1585 * time/mktime.c (ranged_convert): Use new time_t_avg function
1586 instead of rolling our own (probably-slower) code.
1587
ce73d683
PE
1588 mktime: do not assume signed right shift propagates sign bit
1589 * time/mktime.c (isdst_differ): New static function.
1590 (__mktime_internal): No need to normalize tm_isdst now.
1591 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1592 tm_isdst values.
1593
72a22e59
PE
1594 mktime: merge another wrapv change from gnulib
1595 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1596 from some compilers.
1597
68605433
PE
1598 mktime: remove incorrect attempt at unusual arithmetics
1599 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1600 The code didn't really work on such machines anyway.
1601 (TYPE_MINIMUM): Assume two's complement.
1602 (twos_complement_arithmetic): Verify that long_int and time_t
1603 are two's complement (or unsigned, in the latter case).
1604
03cf7fe3
PE
1605 mktime: check signed shifts on long_int and time_t, too
1606 * time/mktime.c (SHR): Check that shifts work as desired
1607 on the types long_int and time_t too, as SHR is used on
1608 such types.
1609
f04dfbc2
PE
1610 mktime: do not assume 'long' is wide enough
1611 * time/mktime.c (verify): Move decl up.
1612 (long_int): New type.
1613 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1614 to remove assumption in the code that 'long' is wide enough to
1615 store year values. This assumption is not true on x32 and on
1616 some non-glibc platforms.
1617
62bdf9a6
PE
1618 mktime: merge wrapv change from gnulib
1619 * time/mktime.c (WRAPV): New macro.
1620 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1621 (guess_time_tm, __mktime_internal): Do not assume that signed
1622 integer overflow wraps around; modern compilers generate code
1623 where this assumption is no longer valid.
1624
5e292e4f
L
16252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1626
1627 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1628 Replace "jmp L(pseudo_end)" with "ret".
1629 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1630 Likewise.
1631
8caf8c87
AJ
16322012-05-23 Andreas Jaeger <aj@suse.de>
1633
1634 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1635 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1636
1a09dc56
AJ
16372012-05-23 Andreas Jaeger <aj@suse.de>
1638 Maximilian Attems <max@stro.at>
1639
1640 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1641 New macros.
1642
1c87aba0
L
16432012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1644
1645 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1646 code so that pseudo_end is just ret and the stack pointer is
1647 correct also for static library in error case.
1648
40e45bd5
JM
16492012-05-23 Joseph Myers <joseph@codesourcery.com>
1650
c2670533
JM
1651 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1652 move to syscalls.list.
1653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1657
40e45bd5
JM
1658 * manual/install.texi (Running make install): Do not mention Linux
1659 kernel version for which pt_chown is not needed.
1660 (Linux): Do not mention problems with nscd with 2.0 kernels.
1661 * INSTALL: Regenerated.
1662
be08eda5
AJ
16632012-05-23 Andreas Jaeger <aj@suse.de>
1664
1665 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1666 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1667 macro.
1668 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1669 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1670 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1671 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1672 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1673 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1674 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1675 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1676 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1677 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1678 * sysdeps/unix/sysv/linux/bits/in.h
1679 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1680
a6a056bb
RM
16812012-05-22 Roland McGrath <roland@hack.frob.com>
1682
1683 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1684 (PREPARE_VERSION): Just use assert instead, it will be elided
1685 under [NDEBUG] anyway.
1686
c9009328
L
16872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1688
1689 * sysdeps/unix/sysv/linux/Makefile: Include
1690 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1691 (sysdep_routines): Remove sysctl.
c9009328
L
1692 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1693 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1694 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1695 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1696 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1697
73338355
AJ
16982012-05-22 Andreas Jaeger <aj@suse.de>
1699
1700 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1701 that pseudo_end is just ret and the stack pointer is correct also
1702 for static library in error case.
1703
d44638b0
PP
17042012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1705
1706 [BZ #14122]
1707 * nss/nsswitch.c (defconfig_entries): New variable.
1708 (__nss_database_lookup): Don't leak defconfig entries.
1709 (nss_parse_service_list): Don't leak on error paths.
1710 (free_database_entries): New function.
1711 (free_defconfig): New function.
1712 (free_mem): Move common code to free_database_entries.
1713
31a39bd8
L
17142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1715
da0331a8
L
1716 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1717 Add arch_prctl.
1718 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1719
31a39bd8
L
1720 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1721 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1722 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1723 New macro.
1724 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1725 (INTERNAL_SYSCALL_TYPES): Likewise.
1726 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1727 (LOAD_REGS_TYPES_[1-6]): Likewise.
1728 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1729 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1730
45470df3
AZ
17312012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1732
1733 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1734 copysignl for GLIBC_2_0.
1735 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1736 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1737 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1738 logbl for GLIBC_2_0.
1739 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1740 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1741
98a61bcb
L
17422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1743
a4f6e481
L
1744 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1745 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1746
f63d5db6
L
1747 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1748 Use "neg %eax".
1749
98a61bcb
L
1750 * time/mktime.c: Update copyright years.
1751
95770f14
PE
17522012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1753
6226efbd
PE
1754 mktime: merge comment-quoting-style change from gnulib
1755 * time/mktime.c: Quote 'like this' in comments.
1756 The GNU coding standards suggest that we no longer quote `like this',
1757 as "`" and "'" are typically rendered asymmetrically nowadays.
1758 The typical gnulib style is to quote 'like this' when quoting
1759 code, and "like this" when quoting English.
1760
b99e4f78
PE
1761 * time/mktime.c (compile-command): Add "-I.".
1762
643e01e6
PE
1763 mktime: merge mktime-internal.h change from gnulib
1764 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1765
2554247d
PE
1766 mktime: merge time_r change from gnulib
1767 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1768
826dd0ab
PE
1769 mktime: merge DEBUG change from gnulib
1770 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1771 case system <time.h> has a #define.
1772
bd83aabe
PE
1773 mktime: merge <sys/types.h> change from gnulib
1774 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1775 since <time.t> is now guaranteed to define time_t.
1776
95770f14
PE
1777 mktime: merge HAVE_CONFIG_H change from gnulib
1778 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1779
5e1a27a9
L
17802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1781
0e44a77e
L
1782 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1783 Use "neg %eax".
1784
5e1a27a9
L
1785 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1786 __rlim_t cast.
1787 (struct rusage): Use anonymous union to pad each field to
1788 __syscall_slong_t.
1789
46259bec
DM
17902012-05-21 David S. Miller <davem@davemloft.net>
1791
1792 * Makefules (o-iterator): Remove .s cases.
1793 (compile-command.s): Delete.
1794 (COMPILE.s): Delete.
1795 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1796
59f0c22e
JM
17972012-05-21 Joseph Myers <joseph@codesourcery.com>
1798
1799 * configure.in (libc_cv_predef_stack_protector): Only consider
1800 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1801 * configure: Regenerated.
1802
20c07380
L
18032012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1804
bbb3154b
L
1805 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1806 New macro. Use R*LP on int and pointer.
1807 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1808 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1809 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1810 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1811
20c07380
L
1812 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1813 [__WORDSIZE_TIME64_COMPAT32] instead of
1814 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1815 (struct utmp): Likewise.
1816 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1817 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1818 Renamed to ...
1819 (__WORDSIZE_TIME64_COMPAT32): This.
1820 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1821 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1822 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1823 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1824 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1825 (__WORDSIZE_TIME64_COMPAT32): New macro.
1826
d8d1017e
AJ
18272012-05-21 Andreas Jaeger <aj@suse.de>
1828
1829 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1830 only if [SHARED]. Add prototype for __wcschr_ia32.
1831
6c7fb145
RM
18322012-05-21 Roland McGrath <roland@hack.frob.com>
1833
1834 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1835 of %rbp unmolested in the jmp_buf while mangling the low bits.
1836 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1837 unmolested high bits of %rbp while demangling the low bits.
1838 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1839
66274218
AJ
18402012-05-21 Andreas Jaeger <aj@suse.de>
1841
07c58f8f
AJ
1842 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1843 * sunrpc/svc_simple.c: Use it for registerrpc.
1844 * sunrpc/xcrypt.c: Use it for passwd2des.
1845
66274218
AJ
1846 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1847
61f65140
L
18482012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1849
1850 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1851 Don't define if [__SYSCALL_WORDSIZE != 32].
1852 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1853 New macro.
1854
5fefb436
AJ
18552012-05-21 Bruno Haible <bruno@clisp.org>
1856 Andreas Jaeger <aj@suse.de>
1857
1858 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1859 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1860 inptr and inend for must_buffer_ch.
1861 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1862 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1863 * stdio-common/Makefile (tests): Remove bug15.
1864 (bug15-ENV): Remove macro.
1865 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1866 anymore.
1867
d8e272ab
AJ
18682012-05-19 Andreas Jaeger <aj@suse.de>
1869 Roland McGrath <roland@hack.frob.com>
1870
1871 * manual/contrib.texi: Completely rewritten. It contains now an
1872 alphabetical list of contributors and their contributions.
1873
4a56a162
RH
18742012-05-21 Richard Henderson <rth@twiddle.net>
1875
1876 * misc/getauxval.c (__getauxval): Use unsigned long int.
1877 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1878 (getauxval): Use unsigned long int.
1879
d024d23c
L
18802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1881
1882 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1883
cbc00a03
RM
18842012-05-21 Roland McGrath <roland@hack.frob.com>
1885
1886 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1887 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1888 __alignof__ (long double).
1889
478143fa
AZ
18902012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1891
1892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1893
c7683a6d
RH
18942012-05-20 Richard Henderson <rth@twiddle.net>
1895
1896 * misc/getauxval.c: New file.
1897 * misc/sys/auxv.h: New file.
1898 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1899 (routines): Add getauxval.
1900 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1901 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1902 * elf/dl-sysdep.c (_dl_auxv): Remove.
1903 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1904 * elf/dl-support.c (_dl_auxv): New variable.
1905 (_dl_aux_init): Initialize it.
1906 * manual/startup.texi (Auxiliary Vector): New node.
1907 * sysdeps/generic/bits/hwcap.h: New file.
1908 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1909 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1910 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1911 * sysdeps/sparc/sysdep.h: ... here. Include it.
1912 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1913 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1915 Update.
c7683a6d
RH
1916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1919 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1924
a6f1845d
AZ
19252012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1926
1927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1928
cbcbe830
DM
19292012-05-19 David S. Miller <davem@davemloft.net>
1930
1931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1932
e0b16cc2
JM
19332012-05-19 Joseph Myers <joseph@codesourcery.com>
1934
1935 [BZ #14123]
1936 * math/s_ccosh.c: Include <float.h>
1937 (__ccosh): Avoid internal overflow calculating sinh and cosh
1938 values before multiplying by sin and cos values.
1939 * math/s_ccoshf.c: Likewise.
1940 * math/s_ccoshl.c: Likewise.
1941 * math/s_csin.c: Likewise.
1942 * math/s_csinf.c: Likewise.
1943 * math/s_csinl.c: Likewise.
1944 * math/s_csinh.c: Likewise.
1945 * math/s_csinhf.c: Likewise.
1946 * math/s_csinhl.c: Likewise.
1947 * math/libm-test.inc (ccos_test): Add more tests.
1948 (ccosh_test): Likewise.
1949 (csin_test): Likewise.
1950 (csinh_test): Likewise.
1951 * sysdeps/i386/fpu/libm-test-ulps: Update.
1952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1953
6ad13e08
L
19542012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1955
f66f0ce8
L
1956 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1957 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1958
6ad13e08
L
1959 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1960
b1d072a7
JM
19612012-05-19 Joseph Myers <joseph@codesourcery.com>
1962
1963 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1964 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1965 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1966 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1967 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1968 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1969 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1970 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1971 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1972 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1973 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1974 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1975 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1976 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1977 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1978 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1979 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1980 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1981 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1982 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1983 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1984 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1985 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1986 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1987 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1988 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1989 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1990 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1991 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1992 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1993 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1994
9eae47cb
AJ
19952012-05-18 Andreas Jaeger <aj@suse.de>
1996
1997 * csu/.gitignore: Delete.
1998
bb07f69f
L
19992012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2000
2001 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2002 (timex): Use __syscall_slong_t.
2003
e6bdb741
AJ
20042012-05-18 Andreas Jaeger <aj@suse.de>
2005 Carlos O'Donell <carlos_odonell@mentor.com>
2006
2007 * manual/install.texi (Configuring and compiling): Update
2008 description about files modified in the source directory.
d6c33fda 2009 * INSTALL: Regenerated.
e6bdb741 2010
1b74487e
L
20112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2012
2013 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2014 value. Use "or" to set return value to -1.
2015 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2016 negate return value.
2017
a88b64b9
TMQMF
20182012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2019
2020 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2021 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2022 failure if the compiler has Graphite support disabled.
2023 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2024 Likewise.
2025 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2026 CFLAGS-memmove.c): Likewise.
2027 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2028 Likewise.
2029
3707636e
L
20302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2031
610b8622
L
2032 * sysdeps/x86_64/x32/_itoa.h: New file.
2033
7cd195df
L
2034 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2035 getdents system call only if kernel and user dirents have the
2036 same d_ino and d_off.
2037
94b07d20
L
2038 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2039 LLONG_MAX != LONG_MAX.
2040 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2041 (_fitoa_word): Likewise.
2042
18298070
L
2043 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2044 years.
2045 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2046 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2047 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2048
553c7ea4
L
2049 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2050 include <bits/wordsize.h>. Check __x86_64__ instead of
2051 __WORDSIZE.
2052 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2053 if __x86_64__ is defined. Use anonymous union on fpstate.
2054
3707636e
L
2055 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2056 anonymous union.
2057
b53ef01a
AS
20582012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2059
37fb1dc0
AS
2060 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2061 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2062 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2063 Refer to _rtld_local_ro instead of _rtld_global_ro.
2064 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2065 Likewise.
2066 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2067 Likewise.
2068 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2069 Likewise.
2070 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2071 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2072 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2073
b53ef01a
AS
2074 * sysdeps/powerpc/powerpc32/dl-machine.c
2075 (__elf_machine_runtime_setup) [PROF]: Don't reference
2076 _dl_prof_resolve.
2077
7a185db2
AJ
20782012-05-18 Andreas Jaeger <aj@suse.de>
2079
2080 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2081 function only available for GCCs before 3.4 since GCC 3.4
2082 introduced a builtin.
2083 (lrint): Likewise.
2084 (llrintf): Likewise.
2085 (llrint): Likewise.
2086 (fmaxf): Likewise.
2087 (fmax): Likewise.
2088 (fminf): Likewise.
2089 (fmin): Likewise.
2090 (rint): Likewise.
2091 (rintf): Likewise.
2092 (nearbyint): Likewise.
2093 (nearbyintf): Likewise.
2094 (ceil): Likewise.
2095 (ceilf): Likewise.
2096 (floor): Likewise.
2097 (floorf): Likewise.
2098
3e5aef87
L
20992012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2100
428bd707
L
2101 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2102 on both fields and cast pointer to __syscall_ulong_t.
2103
3e5aef87
L
2104 * bits/types.h (__fsword_t): New type.
2105 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2106 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2107 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2108 (__FSWORD_T_TYPE): Likewise.
2109 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2110 (__FSWORD_T_TYPE): Likewise.
2111 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2112 (__FSWORD_T_TYPE): Likewise.
2113 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2114 (__FSWORD_T_TYPE): Likewise.
2115 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2116 __SWORD_TYPE with __fsword_t.
2117 (statfs64): Likewise.
2118
1ba7c3dc
DM
21192012-05-17 David S. Miller <davem@davemloft.net>
2120
2121 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2122
59910343
AJ
21232012-05-17 Andreas Jaeger <aj@suse.de>
2124
2125 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2126 warning.
2127
2e4c1e9e
L
21282012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2129
2130 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2131
de7f5ce7
AJ
21322012-05-17 Andreas Jaeger <aj@suse.de>
2133
2134 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2135 when it is used.
2136
286abc3d
CM
21372012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2138
2139 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2140
477cc68e
L
21412012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2142
2143 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2144 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2145
1a0994f5
CD
21462012-05-17 Andreas Jaeger <aj@suse.de>
2147 Carlos O'Donell <carlos_odonell@mentor.com>
2148
2149 [BZ #14059]
2150 * sysdeps/x86_64/multiarch/init-arch.h
2151 (bit_YMM_Usable): Rename to...
2152 (bit_AVX_Usable): ... this.
2153 (bit_FMA4_Usable): New macro.
2154 (bit_XMM_state): New macro.
2155 (bit_YMM_state): New macro.
2156 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2157 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2158 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2159 (CPUID_OSXSAVE): New macro.
2160 (CPUID_AVX): New macro.
2161 (CPUID_FMA4): New macro.
2162 (index_YMM_Usable): Rename to...
2163 (index_AVX_Usable): ... this.
2164 (HAS_AVX): Use HAS_ARCH_FEATURE.
2165 (HAS_FMA4): Likewise.
2166 (HAS_YMM_USABLE): Remove.
2167 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2168 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2169 are present.
2170 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2171 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2172 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2173 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2174 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2175
0af797de
CM
21762012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2177
2178 * math/libm-test.c: Support platforms without multiple rounding modes.
2179 * math/bug-nextafter.c: Support platforms without FP exceptions.
2180 * math/bug-nexttoward.c: Likewise.
2181 * math/test-fenv.c: Likewise.
2182 * math/test-misc.c: Likewise.
2183 * stdlib/bug-getcontext.c: Likewise.
2184
e39745ff
AJ
21852012-05-17 Andreas Jaeger <aj@suse.de>
2186
2187 * manual/examples/search.c (critter_cmp): Change signature to
2188 avoid warnings.
2189 * manual/string.texi (Collation Functions): Likewise.
2190
48970aba
L
21912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2192
2193 * bits/types.h: Fold copyright years.
2194 * bits/typesizes.h: Likewise.
2195 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2196 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2197 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2198 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2199 * time/time.h: Likewise.
2200
bedee953
PP
22012012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2202
2203 [BZ #208]
2204 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2205 in instead of returning them. Return void.
2206 (__libc_mallinfo): Accumulate over all arenas.
2207 (__malloc_stats): Adjust for change in int_mallinfo interface.
2208
61653dfb
RM
22092012-05-16 Roland McGrath <roland@hack.frob.com>
2210
30b99d79
RM
2211 [BZ #10375]
2212 * configure.in (NM): Add AC_CHECK_TOOL for it.
2213 (libc_extra_cflags): New substituted variable.
2214 Check for -fstack-protector being used implicitly.
2215 * configure: Regenerated.
2216 * config.make.in (config-extra-cflags): New variable,
2217 gets @libc_extra_cflags@.
2218 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2219
61653dfb
RM
2220 [BZ #10375]
2221 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2222 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2223 * configure: Regenerated.
2224 * config.make.in (CPPUNDEFS): New substituted variable.
2225 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2226 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2227 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2228
661768bb
L
22292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2230
2231 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2232 (mq_attr): Use __syscall_slong_t.
2233
d4261567
L
22342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2235
2236 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2237 Check __x86_64__ instead of __WORDSIZE.
2238 (_STAT_VER_LINUX): Likewise.
2239 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2240 __syscall_ulong_t and __syscall_slong_t.
2241 (stat64): Likewise.
2242
cf3ff365
L
22432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2244
2245 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2246
76cf3e4d
L
22472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2248
2249 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2250
a637753a
L
22512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2252
2253 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2254 __syscall_ulong_t.
2255
d5e05119
L
2256 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2257 include <bits/wordsize.h>. Check __x86_64__ instead of
2258 __WORDSIZE.
2259 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2260 defined.
2261 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2262
f62ee380
L
2263 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2264 include <bits/wordsize.h>. Check __x86_64__ instead of
2265 __WORDSIZE.
2266 (user_regs_struct): Use "__extension__ unsigned long long"
2267 instead of "unsigned long" if __x86_64__ is defined.
2268 (user): Likewise. Pad after pointer field if __ILP32__ is
2269 defined.
2270
4e124ced
JM
22712012-05-16 Joseph Myers <joseph@codesourcery.com>
2272
6a3951a0
JM
2273 * configure.in (makeinfo): Require version 4.5 or later. Allow
2274 versions 5 to 9.
2275 * configure: Regenerated.
2276 * manual/install.texi (texinfo): Increase version requirement to
2277 4.5 or later.
2278 * INSTALL: Regenerated.
2279
4e124ced
JM
2280 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2281
953ca31a
L
22822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2283
2284 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2285
617aca05
L
2286 * sysdeps/x86_64/x32/ffs.c: New file.
2287
5762f7ae
L
2288 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2289 __syscall_ulong_t.
2290 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2291 defined. Use __syscall_ulong_t.
2292 (shminfo): Use __syscall_ulong_t.
2293 (shm_info): Likewise.
2294
a26b6856
L
2295 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2296 __syscall_ulong_t.
2297
cb2b9ef7
L
2298 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2299 <bits/wordsize.h>.
2300 (msgqnum_t): Use __syscall_ulong_t.
2301 (msglen_t): Likewise.
2302 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2303 __syscall_ulong_t.
2304
34683bb0
L
2305 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2306 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2307
84a68786
L
2308 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2309
48baa5f1
L
2310 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2311 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2312
180be88b
L
2313 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2314 __syscall_slong_t.
2315
5e90c8ad
L
2316 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2317 include <bits/wordsize.h>. Check __x86_64__ instead of
2318 __WORDSIZE.
2319
23dfb58b
L
2320 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2321 "unsigned long long int" if __x86_64__ is defined.
2322 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2323
ce5d54b0
L
2324 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2325 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2326 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2327
13dc9eac
L
2328 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2329 <stdint.h>.
2330 (GET_PC): Cast to uintptr_t first.
2331 (GET_FRAME): Likewise.
2332 (GET_STACK): Likewise.
2333
a7895d15
L
2334 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2335 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2336 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2337 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2338 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2339 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2340 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2341 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2342 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2343 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2344 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2345 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2346 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2347 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2348 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2349 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2350 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2351 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2352 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2353 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2354 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2355 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2356 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2357 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2358 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2359 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2360 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2361 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2362 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2363
656416c9
AS
23642012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2365
5bd66283
AS
2366 * Makerules (+depfiles): Also collect depfiles from .oS in
2367 $(extra-objs).
2368 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2369 .oS, $(libnldbl-routines)).
2370
656416c9
AS
2371 * Makerules (native-compile-mkdep-flags): Define.
2372 * sunrpc/Makefile (extra-objs): Add $(addprefix
2373 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2374 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2375 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2376 calling $(make-target-directory).
2377
a46f2169
L
23782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2379
2380 * bits/types.h (__snseconds_t): Removed.
2381 * time/time.h (struct timespec): Replace __snseconds_t with
2382 __syscall_slong_t.
2383 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2384 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2385 Likewise.
2386 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2387 (__SNSECONDS_T_TYPE): Likewise.
2388 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2389 (__SNSECONDS_T_TYPE): Likewise.
2390 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2391 (__SNSECONDS_T_TYPE): Likewise.
2392
6af6528b
L
23932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2394
2395 * sysdeps/mach/hurd/bits/typesizes.h
2396 (__SYSCALL_SLONG_TYPE): New macro.
2397 (__SYSCALL_ULONG_TYPE): Likewise.
2398
de986b56
L
23992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2400
2401 * bits/types.h (__syscall_slong_t): New type.
2402 (__syscall_ulong_t): Likewise.
2403
2404 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2405 (__SYSCALL_ULONG_TYPE): Likewise.
2406 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2407 (__SYSCALL_SLONG_TYPE): Likewise.
2408 (__SYSCALL_ULONG_TYPE): Likewise.
2409 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2410 (__SYSCALL_SLONG_TYPE): Likewise.
2411 (__SYSCALL_ULONG_TYPE): Likewise.
2412 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2413 (__SYSCALL_SLONG_TYPE): Likewise.
2414 (__SYSCALL_ULONG_TYPE): Likewise.
2415
85736dc7
L
24162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2417
2418 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2419 Add sigaltstack-offsets.sym.
2420 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2421 <sigaltstack-offsets.h>.
2422 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2423 longjmp_msg pointer.
2424 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2425 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2426 signal stack.
2427 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2428
cc03b296
JM
24292012-05-15 Joseph Myers <joseph@codesourcery.com>
2430
a9538892
JM
2431 * elf/stackguard-macros.h: Remove file.
2432 * sysdeps/generic/stackguard-macros.h: New file.
2433 * sysdeps/i386/stackguard-macros.h: Likewise.
2434 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2435 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2436 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2437 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2438 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2439 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2440 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2441 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2442 <elf/stackguard-macros.h>.
2443
cc03b296
JM
2444 [BZ #14109]
2445 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2446 __aligned__ in attribute.
2447 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2448 (gregset_t): Likewise.
2449
93171016
L
24502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2451
2452 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2453 * sysdeps/x86_64/64/Implies-after: Here. New file.
2454 * sysdeps/x86_64/x32/Implies-after: New file.
2455
d86813a0
L
24562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2457
2458 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2459 and access return value for _dl_profile_fixup. Use R10_LP to
2460 load frame size.
2461
2953ec75
L
24622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2463
2464 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2465
3b550e9e
L
24662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2467
2468 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2469 * sysdeps/x86_64/x32/sysdep.h: New file.
2470
eda41706
L
24712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2472
2473 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2474 * sysdeps/x86_64/setjmp.S: Likewise.
2475
9ea01d93
AZ
24762012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2477
2478 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2479 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2480 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2481 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2482 remove unused global constant.
2483
02a91938
CM
24842012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2485
2486 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2487 include of <not-cancel.h>.
2488
6540185f
RM
24892012-05-15 Roland McGrath <roland@hack.frob.com>
2490
2491 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2492
509072a0
AJ
24932012-05-15 Jeff Law <law@redhat.com>
2494 Andreas Jaeger <aj@suse.de>
2495
2496 [BZ #13594]
2497 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2498 out from...
2499 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2500 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2501 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2502 code changing __hst_map_handle.map.
2503
ba75122d
RM
25042012-05-15 Roland McGrath <roland@hack.frob.com>
2505
2506 * configure.in (sysnames): Look for Implies-before and Implies-after
2507 files.
2508 * configure: Regenerated.
2509
890d8bd8
L
25102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2511
2512 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2513 8-byte data alignment with LP_SIZE alignment.
2514
f6ee6623
L
25152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2516
2517 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2518 into R10_LP.
2519
ea2626f6
L
25202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2521
2522 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2523
085f715e
L
25242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2525
2526 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2527 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2528 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2529 Likewise.
2530 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2531
be8498fc
L
25322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2533
2534 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2535 (stackinfo_sub_sp): Likewise.
2536
70bc83b9
L
25372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2538
2539 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2540 RAX_LP.
2541
9bc0b730
L
25422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2543
2544 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2545 into R*_LP.
2546
6d2850e7
L
25472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2548
2549 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2550 sizes into R*_LP.
2551
3cb84561
L
25522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2553
2554 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2555
54e2ed81
L
25562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2557
2558 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2559 into R11_LP and load __x86_64_shared_cache_size_half into
2560 R8_LP.
2561
8a17f349
L
25622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2563
2564 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2565 R8_LP.
2566
777b1eea
AZ
25672012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2568
2569 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2570 logb for POWER7.
2571 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2572 logbf for POWER7.
2573 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2574 logbl for POWER7.
2575 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2576 powerpc32/power7/fpu/s_logb.c via #include.
2577 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2578 powerpc32/power7/fpu/s_logbf.c via #include.
2579 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2580 powerpc32/power7/fpu/s_logbl.c via #include.
2581
d20d4ac2
JM
25822012-05-15 Joseph Myers <joseph@codesourcery.com>
2583
2584 * README.libm: Remove file.
2585
6cdef1ab
L
25862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2587
2588 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2589 count for x32. Use R*_LP and omit operand-size suffix.
2590
0b254d8f
L
25912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2592
2593 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2594 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2595 * sysdeps/x86_64/x32/shlib-versions: New file.
2596
ceb809dc
RM
25972012-05-14 Roland McGrath <roland@hack.frob.com>
2598
2599 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2600 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2601 Use _dl_fatal_printf instead.
2602
37f1abd4
JM
26032012-05-14 Joseph Myers <joseph@codesourcery.com>
2604
2605 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2606 set if not set by the user. Do not allow for being unset.
2607 * sysdeps/unix/sysv/linux/configure: Regenerated.
2608
11de3a33
L
26092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2610
2611 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2612 the `q' suffix from lea and replace .quad with ASM_ADDR.
2613
e02f153a
L
26142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2615
2616 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2617 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2618 instead of $17.
2619 (PTR_DEMANGLE): Likewise.
2620
520ae0fd
L
26212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2622
2623 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2624 (LP_OP): Likewise.
2625 (ASM_ADDR): Likewise.
2626 (RAX_LP): Likewise.
2627 (RBP_LP): Likewise.
2628 (RBX_LP): Likewise.
2629 (RCX_LP): Likewise.
2630 (RDI_LP): Likewise.
2631 (RSI_LP): Likewise.
2632 (RSP_LP): Likewise.
2633 (R8_LP): Likewise.
2634 (R9_LP): Likewise.
2635 (R10_LP): Likewise.
2636 (R10_LP): Likewise.
2637 (R11_LP): Likewise.
2638 (R12_LP): Likewise.
2639 (R13_LP): Likewise.
2640 (R14_LP): Likewise.
2641 (R15_LP): Likewise.
2642
b985be81
L
26432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2644
2645 * sysdeps/x86_64/x32/dl-machine.h: New file.
2646
6a4888ff
AJ
26472012-05-14 Andreas Jaeger <aj@suse.de>
2648
2649 * manual/Makefile (subdir): Remove export of subdir.
2650 (all): Remove target.
2651 (.PHONY): Remove all from list.
2652 (mkinstalldirs): Remove.
2653 (.PHONY): Remove installdirs from list.
2654 ($(inst_infodir)/libc.info): Use make-target-directory.
2655 (installdirs): Remove.
2656 (subdir_%): Remove.
2657 (glibc-targets): Remove.
2658 (lib): Remove.
2659 (stubs): Remove.
2660 ($(objpfx)stubs ../po/manual.pot): Remove.
2661 ($(objpfx)stamp%): Remove.
2662 (make-target-directory): Remove.
2663 (subdir_install): Remove.
2664 (routines): Remove.
2665 (aux): Remove.
2666 (sources): Remove.
2667 (objects): Remove.
2668 (headers): Remove.
2669
2670 [BZ #13750]
2671 * manual/.gitignore: Remove, it's not needed anymore.
2672 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2673 all files in it.
2674 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2675 directory.
2676 (texis): Renamed to $(objpfx)texis.
2677 (texis-path): New, contains path to generated files.
2678 (chapters.%): Use texis-path for complete path, add extra argument
2679 libc-texinfo.sh.
2680 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2681 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2682 (summary,texi, stamp-summary): Use complete path of
2683 files. Generate files in build dir.
2684 (dir-add.texi): Build in build dir.
2685 (libm-err.texi,stamp-libm-err): Likewise.
2686 (version.texi, stamp-version): Likewise.
2687 (.%c.texi): Likewise.
2688 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2689 (mostlyclean): Remove target.
2690 (realclean): Remove target.
2691 (generated): Add new variable with contents from mostlyclean and
2692 realclean, remove entries duplicated in common-mostlyclean, add
2693 stamp-libm-err and stamp-version.
2694 (generated-dirs): Add libc directory.
2695 ($(inst_infodir)/libc.info): Install files from build dir.
2696
2697 * manual/install.texi (Configuring and compiling): Adjust since
2698 the info files are not part of the tar ball anymore.
2699
7ac77294
AJ
27002012-05-14 Andreas Jaeger <aj@suse.de>
2701
2702 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2703 variable.
2704
ffb7875d
JM
27052012-05-14 Joseph Myers <joseph@codesourcery.com>
2706
2707 [BZ #13717]
2708 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2709 to 2.2.0 where earlier.
2710 * sysdeps/unix/sysv/linux/configure: Regenerated.
2711 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2712 Remove conditional code.
2713 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2714 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2715 Remove conditional code.
2716 [!__NR_lchown]: Likewise.
2717 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2718 [__NR_lchown]: Likewise.
2719 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2720 comment referencing __ASSUME_LCHOWN_SYSCALL.
2721 * sysdeps/unix/sysv/linux/i386/sigaction.c
2722 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2723 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2724 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2725 Remove conditional code.
2726 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2727 (__protocol_available): Remove #if 0 code.
2728 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2729 conditional code.
2730 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2731 * sysdeps/unix/sysv/linux/kernel-features.h
2732 (__ASSUME_GETCWD_SYSCALL): Don't define.
2733 (__ASSUME_REALTIME_SIGNALS): Likewise.
2734 (__ASSUME_PREAD_SYSCALL): Likewise.
2735 (__ASSUME_PWRITE_SYSCALL): Likewise.
2736 (__ASSUME_POLL_SYSCALL): Likewise.
2737 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2738 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2739 non-SPARC.
2740 (__ASSUME_SIOCGIFNAME): Don't define.
2741 (__ASSUME_MSG_NOSIGNAL): Likewise.
2742 (__ASSUME_SENDFILE): Define unconditionally.
2743 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2744 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2745 conditional code.
2746 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2747 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2748 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2749 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2750 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2751 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2752 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2754 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2755 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2757 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2758 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2760 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2761 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2763 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2764 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2766 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2767 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2769 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2770 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2772 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2773 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2775 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2776 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2777 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2778 Remove conditional code.
2779 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2780 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2781 Remove conditional code.
2782 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2783 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2784 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2785 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2786 Remove conditional code.
2787 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2788 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2789 Remove conditional code.
2790 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2791 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2792 Remove conditional code.
2793 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2794 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2795 Remove conditional code.
2796 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2797 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2798 Remove conditional code.
2799 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2800 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2801 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2802 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2803 * sysdeps/unix/sysv/linux/sigaction.c
2804 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2805 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2806 * sysdeps/unix/sysv/linux/sigpending.c
2807 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2808 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2809 * sysdeps/unix/sysv/linux/sigprocmask.c
2810 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2811 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2812 * sysdeps/unix/sysv/linux/sigsuspend.c
2813 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2814 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2815 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2816 (__libc_missing_rt_sigs): Remove.
2817 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2818 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2819 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2820 Remove conditional code.
2821 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2822 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2823 return 1.
2824 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2825 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2826 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2827 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2828
1bfb7291
AJ
28292012-05-14 Andreas Jaeger <aj@suse.de>
2830
caae5a81
AJ
2831 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2832 it's not used in glibc.
2833 (__coshm1): Likewise.
2834 (__acosh1p): Likewise.
2835 (__sgn): Likewise.
2836
1bfb7291
AJ
2837 * manual/string.texi (Copying and Concatenation): Add missing
2838 variable in concat example.
2839 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2840
c044d724
L
28412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2842
144c5467 2843 [BZ #14103]
c044d724
L
2844 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2845 __builtin_clzl with __builtin_clzll.
2846
2523c62b
L
28472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2848
2849 [BZ #14104]
2850 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2851 libc_freeres_ptr.
2852
d7bb4c42
LD
28532012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2854
2855 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2856 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2857 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2858 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2859
9dc4e1fb
MF
28602012-05-14 Mike Frysinger <vapier@gentoo.org>
2861
2862 * NEWS: Update ia64 info.
2863
c7df0112
AS
28642012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2865
2866 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2867 used as bcopy.
2868
dc70356c
TS
28692012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2870
2871 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2872 * sysdeps/unix/syscalls.list (dup3): Likewise.
2873 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2874 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2875
9fb1a21f
L
28762012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2877
2878 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2879 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2880
4822a2a5
L
28812012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2882
2883 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2884 thread pointer.
2885 (TLS_IE): Use mov/add instead of movq/addq to load thread
2886 pointer.
2887 (TLS_GD_PREFIX): New.
2888 (TLS_GD): Use it.
2889
842b81d6
DM
28902012-05-11 David S. Miller <davem@davemloft.net>
2891
2892 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2893 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2894 (_FPU_SETCW): Likewise.
2895
1cf463cd
L
28962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2897
2898 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2899 is 32-byte aligned.
2900
60cc4a18
AS
29012012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2902
2903 [BZ #11837]
2904 * iconvdata/gb18030.c: Update tables.
2905 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2906 characters specially.
2907 (BODY for TO_LOOP): Add encoding of missing ranges.
2908
febb44a4
TS
29092012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2910
2911 [BZ #13673]
2912 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2913 * sysdeps/mach/hurd/dup3.c: Likewise.
2914 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2915 * sysdeps/powerpc/memmove.c:: Likewise.
2916
0a10fb9e
L
29172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2918
2919 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2920 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2921
df8a552f
L
29222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2923
2924 * elf/elf.h (R_X86_64_RELATIVE64): New.
2925 (R_X86_64_NUM): Updated.
2926 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2927 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2928 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2929 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2930 tst-quad1pie tst-quad2pie
2931 (modules-names): Add tst-quadmod1 tst-quadmod2.
2932 ($(objpfx)tst-quad1): New dependency.
2933 ($(objpfx)tst-quad2): Likewise.
2934 ($(objpfx)tst-quad1pie): Likewise.
2935 ($(objpfx)tst-quad2pie): Likewise.
2936 * sysdeps/x86_64/tst-quad1.c: New file.
2937 * sysdeps/x86_64/tst-quad1pie.c: New file.
2938 * sysdeps/x86_64/tst-quad2.c: Likewise.
2939 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2940 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2941 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2942 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2943 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2944
f34d6f84
ST
29452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2946
f42d41d1
ST
2947 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2948 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2949 * streams/stropts.h (t_scalar_t): Define type.
2950
3c3571fc
ST
2951 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2952 (_PATH_PRESERVE): Set to "/var/lib".
2953 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2954
61f06bd3
ST
2955 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2956 instead of int.
2957
918d4d71
ST
2958 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2959 if __dir_mkfile succeeded.
2960
f34d6f84
ST
2961 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2962 checking for _hurd_dtablesize. Unlock it right after having
2963 finished _hurd_dtable allocation.
2964
10589b4a
TS
29652012-05-10 Thomas Schwinge <thomas@schwinge.name>
2966
674cdbc7
TS
2967 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2968 * sysdeps/mach/hurd/configure: Regenerated.
2969 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2970 special-casing to...
2971 * sysdeps/gnu/configure.in: ... this new file.
2972 * sysdeps/unix/sysv/linux/configure: Regenerated.
2973 * sysdeps/gnu/configure: New generated file.
2974
8e41b99f
TS
2975 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2976 for Linux: use nsec instead of usec, as well as:
2977 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2978 members of type struct timespec.
2979 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2980 New macros.
2981 (struct stat64): Likewise.
2982 (_STATBUF_ST_NSEC): New macro.
2983 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2984
10589b4a
TS
2985 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2986 __strtoul_internal rather than strtoul.
2987
63643c85
PT
29882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2989
2990 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2991 and reject them.
2992
3faebe6a
ST
29932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2994
2995 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2996 which preserves existing values.
2997 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2998
c6474b07
PT
29992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3000
3001 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3002 TIMEOUT values. Return EINVAL for NFDS values either negative or
3003 greater than FD_SETSIZE.
3004
1043890b
ST
30052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3006
3007 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3008 allocated, call __vm_protect to finish enabling the existing space, and
3009 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3010 allocate the remainder.
3011
37ed8b9b
PT
30122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3013
3014 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3015 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3016
db653660
ST
30172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3018
37ed8b9b
PT
3019 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3020 sysdeps/mach/hurd/readlink.c.
b29d4053 3021
db653660
ST
3022 * posix/tst-sysconf.c (posix_options): Only use
3023 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3024 _POSIX_SYNCHRONIZED_IO when they are defined
3025 * sysdeps/mach/hurd/bits/posix_opt.h:
3026 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3027 (_XOPEN_REALTIME): Undefine macro.
3028 (_XOPEN_REALTIME_THREADS): Undefine macro.
3029 (_XOPEN_SHM): Undefine macro.
3030 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3031 macro to -1.
3032 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3033 macro to -1.
3034 (_POSIX_ASYNC_IO): Undefine macro.
3035 (_POSIX_PRIORITIZED_IO): Undefine macro.
3036 (_POSIX_SPIN_LOCKS): Define macro to -1.
3037
ee16e894
ST
3038 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3039 SA_NODEFER, SA_RESETHAND.
3040 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3041 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3042 F_DUPFD_CLOEXEC.
3043
6103ae3b
TS
30442012-05-10 Thomas Schwinge <thomas@schwinge.name>
3045
3046 * elf/Makefile (pldd-modules): Define unconditionally.
3047
80b4e5f3
TS
30482012-05-10 Thomas Schwinge <thomas@schwinge.name>
3049
3050 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3051
edadcbd6
ST
30522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3053
3054 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3055 Return ENOENT when name is empty.
3056 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3057
80694780
TS
30582012-05-10 Thomas Schwinge <thomas@schwinge.name>
3059
1792c087
TS
3060 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3061
80694780
TS
3062 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3063
6b645f0d
ST
30642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3065
80694780
TS
3066 Fix mlock in all cases except non-readable pages.
3067 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3068 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 3069
6b645f0d
ST
3070 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3071 (__mkdir): When path is `/', just fail with EEXIST.
3072 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3073
e468f8a3
TS
30742012-05-10 Thomas Schwinge <thomas@schwinge.name>
3075
3076 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3077 <sys/uio.h> (for writev).
3078 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3079 and <sys/param.h> (for MIN).
3080
a4186cff
PT
30812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3082
3083 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3084 REQUESTED_TIME. Properly set the remaining time and return EINTR
3085 if interrupted.
3086
510bbf14
TS
30872012-05-10 Thomas Schwinge <thomas@schwinge.name>
3088
3089 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3090 Depend on against $(link-rpcuserlibs).
3091
5d5722e8
ST
30922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3093
a4186cff
PT
3094 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3095 (__libc_stack_end): Do not use attribute_relro.
3096 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3097 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 3098 to libthread-provided value.
a4186cff
PT
3099 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3100 attribute_relro.
5d5722e8 3101
37233df9
TS
31022012-05-10 Thomas Schwinge <thomas@schwinge.name>
3103
be971a2b
TS
3104 [BZ #3748]
3105 * bits/libc-lock.h (__libc_once_get): New macro.
3106 * sysdeps/mach/bits/libc-lock.h: Likewise.
3107 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3108 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3109 instead of using implementation details.
3110
37233df9
TS
3111 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3112 * libio/freopen.c: Likewise.
3113 * libio/freopen64.c: Likewise.
3114 * misc/syslog.c: Likewise.
3115 * nscd/connections.c: Likewise.
3116 * nscd/netgroupcache.c: Likewise.
3117 * sysdeps/posix/getcwd.c: Likewise.
3118
38de94a5
RM
31192012-05-10 Roland McGrath <roland@hack.frob.com>
3120
3121 * math/w_ilogbf.c: Add #include <limits.h>.
3122
67530489
ST
31232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3124
a4186cff 3125 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
3126 path instead of returning without unlocking.
3127
67530489
ST
3128 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3129 immediate-write ioctls.
3130 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3131
5aa3a74a
TS
31322012-05-10 Thomas Schwinge <thomas@schwinge.name>
3133
18bad2ae
TS
3134 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3135 __builtin_frame_address instead of making assumptions about the
3136 location of the return address relative to DATA. Force early load of
3137 the return address.
3138 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3139 __builtin_frame_address.
3140
5aa3a74a
TS
3141 dup3 for GNU Hurd.
3142 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3143 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3144 implement dup3 and do some further code clean-ups.
3145 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3146 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3147
ecd0de9a
ST
31482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3149
cd9fa985
ST
3150 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3151
a4186cff
PT
3152 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3153 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3154 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3155 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3156 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3157 d->port.lock.
802ca5a5 3158
a4186cff
PT
3159 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3160 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3161 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3162
bcf55240
TS
31632012-05-10 Thomas Schwinge <thomas@schwinge.name>
3164
6960eb42
TS
3165 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3166 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3167 definitions.
3168
eb43375f
TS
3169 accept4 for GNU Hurd.
3170 * include/sys/socket.h (__libc_accept4): New prototype.
3171 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3172 to implement __libc_accept4.
3173 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3174 __libc_accept4.
3175 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3176
bcf55240
TS
3177 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3178 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3179 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3180 signal-defines.sym.
3181
6178c55b
ST
31822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3183
a4186cff 3184 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3185
6f080c2f
TS
31862012-05-10 Thomas Schwinge <thomas@schwinge.name>
3187
3188 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3189 assertion on O_CLOEXEC flag.
3190 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3191 * hurd/intern-fd.c: Likewise.
3192 * hurd/port2fd.c: Likewise.
3193
bcfe3a54
ST
31942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3195
3196 [BZ #3906]
3197 * bits/in.h (IPV6_PKTINFO): Define new macro.
3198 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3199
89c9aa49
AZ
32002012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3201
3202 [BZ #13954]
3203 [BZ #13955]
3204 [BZ #13956]
3205 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3206 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3207 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3208 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3209 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3210 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3211 * math/libm-test.inc (logb_test) : Additional logb tests.
3212
021db4be
AJ
32132012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3214 Andreas Jaeger <aj@suse.de>
3215
3216 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3217 * configure: Regenerated.
3218 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3219 * config.make.in (link-obsolete-rpc): New substituted variable.
3220 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3221 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3222 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3223 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3224 so that libc.a contains the symbols.
3225 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3226 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3227 * sunrpc/auth_none.c: Likewise.
3228 * sunrpc/auth_unix.c: Likewise.
3229 * sunrpc/authdes_prot.c: Likewise.
3230 * sunrpc/authuxprot.c: Likewise.
3231 * sunrpc/clnt_gen.c: Likewise.
3232 * sunrpc/clnt_perr.c: Likewise.
3233 * sunrpc/clnt_raw.c: Likewise.
3234 * sunrpc/clnt_simp.c: Likewise.
3235 * sunrpc/clnt_tcp.c: Likewise.
3236 * sunrpc/clnt_udp.c: Likewise.
3237 * sunrpc/clnt_unix.c: Likewise.
3238 * sunrpc/des_crypt.c: Likewise.
3239 * sunrpc/des_soft.c: Likewise.
3240 * sunrpc/get_myaddr.c: Likewise.
3241 * sunrpc/key_call.c: Likewise.
3242 * sunrpc/key_prot.c: Likewise.
3243 * sunrpc/netname.c: Likewise.
3244 * sunrpc/pm_getmaps.c: Likewise.
3245 * sunrpc/pm_getport.c: Likewise.
3246 * sunrpc/pmap_clnt.c: Likewise.
3247 * sunrpc/pmap_prot.c: Likewise.
3248 * sunrpc/pmap_prot2.c: Likewise.
3249 * sunrpc/pmap_rmt.c: Likewise.
3250 * sunrpc/publickey.c: Likewise.
3251 * sunrpc/rpc_cmsg.c: Likewise.
3252 * sunrpc/rpc_common.c: Likewise.
3253 * sunrpc/rpc_dtable.c: Likewise.
3254 * sunrpc/rpc_prot.c: Likewise.
3255 * sunrpc/rpc_thread.c: Likewise.
3256 * sunrpc/rtime.c: Likewise.
3257 * sunrpc/svc.c: Likewise.
3258 * sunrpc/svc_auth.c: Likewise.
3259 * sunrpc/svc_raw.c: Likewise.
3260 * sunrpc/svc_run.c: Likewise.
3261 * sunrpc/svc_tcp.c: Likewise.
3262 * sunrpc/svc_udp.c: Likewise.
3263 * sunrpc/svc_unix.c: Likewise.
3264 * sunrpc/svcauth_des.c: Likewise.
3265 * sunrpc/xcrypt.c: Likewise.
3266 * sunrpc/xdr.c: Likewise.
3267 * sunrpc/xdr_array.c: Likewise.
3268 * sunrpc/xdr_float.c: Likewise.
3269 * sunrpc/xdr_intXX_t.c: Likewise.
3270 * sunrpc/xdr_mem.c: Likewise.
3271 * sunrpc/xdr_rec.c: Likewise.
3272 * sunrpc/xdr_ref.c: Likewise.
3273 * sunrpc/xdr_sizeof.c: Likewise.
3274 * sunrpc/xdr_stdio.c: Likewise.
3275
b5c086a2
RM
32762012-05-10 Roland McGrath <roland@hack.frob.com>
3277
3278 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3279 change. Update copyright years.
3280
6d74dd09
JM
32812012-05-10 Joseph Myers <joseph@codesourcery.com>
3282
3283 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3284
28e72501
MK
32852012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3286 Joseph Myers <joseph@codesourcery.com>
3287 Paul Pluzhnikov <ppluzhnikov@google.com>
3288
3289 [BZ #14012]
3290 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3291 requiring rpcgen.
3292 [cross-compiling] (extra-libs): Likewise.
3293 [cross-compiling] (extra-libs-others): Likewise.
3294 [cross-compiling] (librpcsvc-routines): Likewise.
3295 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3296 [cross-compiling] (omit-deps): Likewise.
3297 (sunrpc-CPPFLAGS): New variable.
3298 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3299 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3300 (cross-rpcgen-objs): New variable.
3301 (extra-objs): Append $(cross-rpcgen-objs).
3302 ($(cross-rpcgen-objs)): New rule.
3303 ($(objpfx)cross-rpcgen): Likewise.
3304 (rpcgen-cmd): Define to use $(built-program-file). Expand
3305 comment.
3306 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3307 ($(objpfx)x%.stmp): Likewise.
3308 * sunrpc/proto.h [IS_IN_build] (_): Define.
3309 [IS_IN_build] (_libc_intl_domainname): Likewise.
3310
c8c59454
L
33112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3312
3313 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3314 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3315 and R_X86_64_TPOFF64.
3316
6f27cd16
JM
33172012-05-10 Joseph Myers <joseph@codesourcery.com>
3318
3319 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3320 sysdeps/unix/sysv/syscalls.list.
3321 (stime): Likewise.
3322 (utime): Likewise.
3323 * sysdeps/unix/sysv/syscalls.list: Remove file.
3324
02467e1c
PE
33252012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3326
3327 [BZ #3440]
3328 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3329 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3330 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3331 (__LC_IDENTIFICATION): Make these macros useful in #if
3332 expressions, as required by C99.
3333
da392631
AS
33342012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3335
3336 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3337 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3338 after this.
3339
8115f29b
L
33402012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3341
3342 * stdlib/longlong.h: Updated from GCC.
3343
bdd74070
AJ
33442012-05-09 Andreas Jaeger <aj@suse.de>
3345
edfe0dbe
AJ
3346 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3347 default is first entry.
3348 (run_mode): Set type.
3349 (main): Remove informal message about syslog.
3350 (options): Fix typo.
3351
bcfe3a54
ST
3352 [BZ #14053]
3353 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3354 to asm.
bcfe3a54
ST
3355 (lrint): Likewise.
3356 (llrintf): Likewise.
3357 (llrint): Likewise.
3358 (rint): Likewise.
3359 (rintf): Likewise.
3360 (nearbyint): Likewise.
3361 (nearbyintf): Likewise.
bdd74070 3362
91d8d69e
AJ
33632012-05-09 Andreas Jaeger <aj@suse.de>
3364 Pedro Alves <palves@redhat.com>
3365
3366 * nscd/nscd.c (run_mode): Use enum.
3367 (main): Cleanup coding style issue.
3368
bb90b80b
AJ
33692012-05-09 Alexandre Oliva <aoliva@redhat.com>
3370 Andreas Jaeger <aj@suse.de>
3371
bcfe3a54
ST
3372 * nscd/nscd.c (go_background): Replaced with...
3373 (run_mode): ... this.
bb90b80b 3374 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3375 (options): Add -F --foreground.
3376 (main): Implement it.
3377 (parse_opt): Parse it.
bb90b80b 3378
1a4b75a1
AJ
33792012-05-09 Andreas Jaeger <aj@suse.de>
3380
3381 [BZ #14083]
3382 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3383 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3384 -Wconversion warning.
3385 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3386 Likewise.
3387
b1cc2472
JM
33882012-05-09 Joseph Myers <joseph@codesourcery.com>
3389
3390 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3391 == 0.
3392 (LC_ALL): Use macro-int-constant.
3393 (LC_COLLATE): Likewise.
3394 (LC_CTYPE): Likewise.
3395 (LC_MESSAGES): Likewise.
3396 (LC_MONETARY): Likewise.
3397 (LC_NUMERIC): Likewise.
3398 (LC_TIME): Likewise.
3399 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3400 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3401 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3402 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3403 Specify type.
3404 [C99-based standards] (float_t): Expect type.
3405 [C99-based standards] (double_t): Expect type.
3406 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3407 type.
3408 [C99-based standards] (HUGE_VALL): Likewise.
3409 [C99-based standards] (INFINITY): Likewise.
3410 [C99-based standards] (NAN): Likewise.
3411 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3412 [C99-based standards] (FP_NAN): Likewise.
3413 [C99-based standards] (FP_NORMAL): Likewise.
3414 [C99-based standards] (FP_SUBNORMAL): Likewise.
3415 [C99-based standards] (FP_ZERO): Likewise.
3416 [C99-based standards] (FP_FAST_FMA): Use
3417 optional-macro-int-constant. Specify type. Require == 1.
3418 [C99-based standards] (FP_FAST_FMAF): Likewise.
3419 [C99-based standards] (FP_FAST_FMAL): Likewise.
3420 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3421 [C99-based standards] (FP_ILOGBNAN): Likewise.
3422 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3423 Specify type.
3424 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3425 [C99-based standards] (math_errhandling): Specify type.
3426 [ISO99 || ISO11] (signgam): Do not allow.
3427 [non-C99-based standards] (copysignf): Do not allow.
3428 [non-C99-based standards] (exp2f): Likewise.
3429 [non-C99-based standards] (log2f): Likewise.
3430 [non-C99-based standards] (modff): Allow.
3431 [non-C99-based standards] (erff): Do not allow.
3432 [non-C99-based standards] (erfcf): Likewise.
3433 [non-C99-based standards] (gammaf): Likewise.
3434 [non-C99-based standards] (hypotf): Likewise.
3435 [non-C99-based standards] (j0f): Likewise.
3436 [non-C99-based standards] (j1f): Likewise.
3437 [non-C99-based standards] (jnf): Likewise.
3438 [non-C99-based standards] (lgammaf): Likewise.
3439 [non-C99-based standards] (tgammaf): Likewise.
3440 [non-C99-based standards] (y0f): Likewise.
3441 [non-C99-based standards] (y1f): Likewise.
3442 [non-C99-based standards] (ynf): Likewise.
3443 [non-C99-based standards] (isnanf): Likewise.
3444 [non-C99-based standards] (acoshf): Likewise.
3445 [non-C99-based standards] (asinhf): Likewise.
3446 [non-C99-based standards] (atanhf): Likewise.
3447 [non-C99-based standards] (cbrtf): Likewise.
3448 [non-C99-based standards] (expm1f): Likewise.
3449 [non-C99-based standards] (ilogbf): Likewise.
3450 [non-C99-based standards] (log1pf): Likewise.
3451 [non-C99-based standards] (logbf): Likewise.
3452 [non-C99-based standards] (nextafterf): Likewise.
3453 [non-C99-based standards] (remainderf): Likewise.
3454 [non-C99-based standards] (rintf): Likewise.
3455 [non-C99-based standards] (scalbf): Likewise.
3456 [non-C99-based standards] (copysignl): Likewise.
3457 [non-C99-based standards] (exp2l): Likewise.
3458 [non-C99-based standards] (log2l): Likewise.
3459 [non-C99-based standards] (modfl): Allow.
3460 [non-C99-based standards] (erfl): Do not allow.
3461 [non-C99-based standards] (erfcl): Likewise.
3462 [non-C99-based standards] (gammal): Likewise.
3463 [non-C99-based standards] (hypotl): Likewise.
3464 [non-C99-based standards] (j0l): Likewise.
3465 [non-C99-based standards] (j1l): Likewise.
3466 [non-C99-based standards] (jnl): Likewise.
3467 [non-C99-based standards] (lgammal): Likewise.
3468 [non-C99-based standards] (tgammal): Likewise.
3469 [non-C99-based standards] (y0l): Likewise.
3470 [non-C99-based standards] (y1l): Likewise.
3471 [non-C99-based standards] (ynl): Likewise.
3472 [non-C99-based standards] (isnanl): Likewise.
3473 [non-C99-based standards] (acoshl): Likewise.
3474 [non-C99-based standards] (asinhl): Likewise.
3475 [non-C99-based standards] (atanhl): Likewise.
3476 [non-C99-based standards] (cbrtl): Likewise.
3477 [non-C99-based standards] (expm1l): Likewise.
3478 [non-C99-based standards] (ilogbl): Likewise.
3479 [non-C99-based standards] (log1pl): Likewise.
3480 [non-C99-based standards] (logbl): Likewise.
3481 [non-C99-based standards] (nextafterl): Likewise.
3482 [non-C99-based standards] (remainderl): Likewise.
3483 [non-C99-based standards] (rintl): Likewise.
3484 [non-C99-based standards] (scalbl): Likewise.
3485 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3486 [non-C99-based standards] (FP_*): Do not allow.
3487 [C99-based standards] (FP_*): Change to
3488 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3489 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3490 allow.
3491 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3492 (SIG_ERR): Likewise.
3493 [X/Open-based standards] (SIG_HOLD): Likewise.
3494 (SIG_IGN): Likewise.
3495 (SIGABRT): Use macro-int-constant. Specify type. Require
3496 positive value.
3497 (SIGFPE): Likewise.
3498 (SIGILL): Likewise.
3499 (SIGINT): Likewise.
3500 (SIGSEGV): Likewise.
3501 (SIGTER): Likewise.
3502 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3503 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3504 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3505 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3506 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3507 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3508 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3509 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3510 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3511 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3512 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3513 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3514 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3515 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3516 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3517 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3518 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3519 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3520 [X/Open-based standards] (SIGTRAP): Likewise.
3521 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3522 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3523 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3524 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3525 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3526 allow.
3527
b9f1922d
IW
35282012-05-08 Ian Wienand <ianw@vmware.com>
3529
3530 [BZ #14080]
3531 * time/tzset.c (__tzset_parse_tz): Update default rules for
3532 daylight time changes in the Energy Policy Act of 2005.
3533
1db86e88
AJ
35342012-05-09 Andreas Jaeger <aj@suse.de>
3535
3536 [BZ #13983]
3537 * elf/ldconfig.c (parse_conf): Change string to make clear that
3538 ldconfig only issued a warning if ld.so.conf does not exist.
3539
dee4a4e3
DM
35402012-05-08 David S. Miller <davem@davemloft.net>
3541
ee0db190
DM
3542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3543 movxtod instead of popping the value on the stack.
3544
dee4a4e3
DM
3545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3546
6a43ec98
CD
35472012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3548
3549 * config.h.in: Add HAVE_ARM_PCS_VFP.
3550
05c2c961
RMG
35512012-05-08 Roland Mc Grath <roland@hack.frob.com>
3552
bcfe3a54
ST
3553 [BZ #13979]
3554 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3555 checking but the checks are disabled for any reason.
05c2c961 3556
4b30f61a
L
35572012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3558
3559 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3560 and ELF64_R_TYPE with ELFW(R_TYPE).
3561
eee2bc67
JM
35622012-05-08 Joseph Myers <joseph@codesourcery.com>
3563
7ea5391a
JM
3564 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3565 (ulimit): Likewise.
3566
eee2bc67
JM
3567 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3568 (settimeofday): Likewise.
3569
abb66a67
MF
35702012-05-08 Mike Frysinger <vapier@gentoo.org>
3571
3572 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3573 a struct th_u2 inside the union, and move tu_block/tu_code into
3574 a new th_u3 union of tu_block/tu_code inside of that. Move
3575 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3576 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3577 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3578 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3579 (th_stuff): Change to th_u1.tu_stuff.
3580 (th_data): Define.
3581 (th_msg): Change to th_u1.th_u2.tu_data.
3582
7f18b530
DM
35832012-05-07 David S. Miller <davem@davemloft.net>
3584
05760585
DM
3585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3586
7f18b530
DM
3587 [BZ #14074]
3588 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3589 (SETUP_PIC_REG): Use it.
3590 (SETUP_PIC_REG_LEAF): Use it.
3591
495fd99f
JM
35922012-05-07 Joseph Myers <joseph@codesourcery.com>
3593
3594 [BZ #13885]
3595 [BZ #13923]
3596 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3597 USE_AS_EXPM1L.
3598 (EXPL_FINITE): Likewise.
3599 (FLDLOG): Likewise.
3600 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3601 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3602 e_expl.S.
3603 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3604 USE_AS_EXPM1L.
3605 (EXPL_FINITE): Likewise.
3606 (FLDLOG): Likewise.
3607 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3608 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3609 e_expl.S.
3610 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3611 test of -max_value argument for long double.
3612 * sysdeps/i386/fpu/libm-test-ulps: Update.
3613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3614
6693d694
DM
36152012-05-06 David S. Miller <davem@davemloft.net>
3616
3617 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3618 quad soft-float symbols whose references which are compiler
3619 generated.
3620 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3621
6c23e11c
JM
36222012-05-06 Joseph Myers <joseph@codesourcery.com>
3623
d8b82cad
JM
3624 [BZ #13884]
3625 [BZ #13914]
3626 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3627 USE_AS_EXP10L.
3628 (EXPL_FINITE): Likewise.
3629 (FLDLOG): Likewise.
3630 (c0): Likewise.
3631 (c1): Likewise.
3632 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3633 Adjust comments for base varying.
3634 (__expl_finite): Change alias to EXPL_FINITE.
3635 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3636 e_expl.S.
3637 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3638 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3639 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3640 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3641 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3642 USE_AS_EXP10L.
3643 (EXPL_FINITE): Likewise.
3644 (FLDLOG): Likewise.
3645 (c0): Likewise.
3646 (c1): Likewise.
3647 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3648 Adjust comments for base varying.
3649 (__expl_finite): Change alias to EXPL_FINITE.
3650 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3651 tests for bugs.
3652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3653
6c23e11c
JM
3654 [BZ #14064]
3655 * math/libm-test.inc (check_float_internal): Correct ulp
3656 calculation for subnormal expected results.
3657
29ba805c
AJ
36582012-05-06 Andreas Jaeger <aj@suse.de>
3659
3660 * Makeconfig (+math-flags): New, set to -frounding-math.
3661 (+cflags): Add +math-flags so that all of glibc gets compiled with
3662 it.
3663
3664 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3665
7b17aeda
JM
36662012-05-05 Joseph Myers <joseph@codesourcery.com>
3667
5779f134
JM
3668 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3669 Disable one test.
3670
41498f4d
JM
3671 [BZ #13787]
3672 [BZ #13922]
3673 [BZ #14036]
3674 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3675 (__ieee754_expl): Allow for and saturate large arguments.
3676 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3677 (u_threshold): Likewise.
3678 (__exp): Call __ieee754_exp before checking for overflow and
3679 underflow.
3680 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3681 (u_threshold): Likewise.
3682 (__expf): Call __ieee754_expf before checking for overflow and
3683 underflow.
3684 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3685 (u_threshold): Likewise.
3686 (__expl): Call __ieee754_expl before checking for overflow and
3687 underflow.
3688 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3689 (__ieee754_expl): Allow for and saturate large arguments.
3690 * math/libm-test.inc (exp_test): Add another test. Do not allow
3691 missing overflow exception on overflow.
3692 (expm1_test): Do not allow missing overflow exception on overflow.
3693
6698b8bf
JM
3694 * sysdeps/i386/fpu/e_expl.c: Move to ...
3695 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3696 rather than using inline asm.
3697 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3698 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3699 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3700
7b17aeda
JM
3701 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3702 (nice): Likewise.
3703 (poll): Likewise.
3704 (signal): Likewise.
3705 (time): Likewise.
3706 (times): Likewise.
3707
f7c85819
JM
37082012-05-04 Joseph Myers <joseph@codesourcery.com>
3709
3710 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3711 sysdeps/unix/common/syscalls.list.
3712 (fchmod): Likewise.
3713 (fchown): Likewise.
3714 (ftruncate): Likewise.
3715 (getrusage): Likewise.
3716 (gettimeofday): Likewise.
3717 (setpgid): Likewise.
3718 (setregid): Likewise.
3719 (setreuid): Likewise.
3720 (sigaction): Likewise.
3721 (truncate): Likewise.
3722 (vhangup): Likewise.
3723 * sysdeps/unix/common/syscalls.list: Remove file.
3724 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3725 * sysdeps/unix/sysv/linux/Implies: Likewise.
3726
336270d0
L
37272012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3728
3729 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3731 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3732 Moved to ...
3733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3734 Here.
3735 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3736 to ...
3737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3738 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3739 to ...
3740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3741 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3742 to ...
3743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3744 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3745 to ...
3746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3747 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3748 to ...
3749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3750 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3751 to ...
3752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3753 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3754 to ...
3755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3756 Here.
3757 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3758 to ...
3759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3760 Here.
3761 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3762 to ...
3763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3764 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3765 Moved to ...
3766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3767 Here.
3768 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3769 to ...
3770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3771
d128e450
JM
37722012-05-04 Joseph Myers <joseph@codesourcery.com>
3773
fa8ee516
JM
3774 * sysdeps/unix/common/bits/dirent.h: Remove file.
3775 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3776
d128e450
JM
3777 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3778 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3779 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3780 * sysdeps/unix/bsd/isatty.c: Likewise.
3781 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3782 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3783 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3784
ff8faaf0 37852012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3786
62881be4 3787 [BZ #13563]
31dc8730
AZ
3788 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3789 long double comparison inaccuracies.
3790 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3792
6fef930c
AS
37932012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3794
3795 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3796 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3797
8f203e6c
JM
37982012-05-04 Joseph Myers <joseph@codesourcery.com>
3799
3800 [BZ #14049]
3801 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3802 nonzero digits before rounding a hex value.
3803 * stdlib/tst-strtod.c (tests): Add another test.
3804
5197d9c2
AK
38052012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3806
3807 * sysdeps/s390/fpu/libm-test-ulps: Update.
3808
f0c1dedf
AJ
38092012-05-03 Andreas Jaeger <aj@suse.de>
3810
3811 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3812 does not get optimized out.
3813 (malloc_opt_barrier): New.
3814
a65ef2ae 38152012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3816 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3817
2b942cb7 3818 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3819 intermediate file deletion.
2b942cb7 3820 (generated): Add .symlist files.
a65ef2ae 3821
54b71e02
JM
38222012-05-03 Joseph Myers <joseph@codesourcery.com>
3823
3824 [BZ #13775]
3825 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3826 Redirect under this condition.
3827 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3828 [__USE_GNU] (__dprintf_chk): Not under this condition.
3829 [__USE_GNU] (__vdprintf_chk): Likewise.
3830 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3831 under this condition.
3832 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3833 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3834 [__USE_XOPEN2K8] (vdprintf): Likewise.
3835 [__USE_GNU] (__dprintf_chk): Not under this condition.
3836 [__USE_GNU] (__vdprintf_chk): Likewise.
3837 [__USE_GNU] (dprintf): Likewise.
3838 [__USE_GNU] (vdprintf): Likewise.
3839
d3dfcc41
RM
38402012-05-03 Roland McGrath <roland@hack.frob.com>
3841
3842 * elf/Makefile (common-generated): Set this instead of generated for
3843 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3844 $(all-built-dso)-derived lists.
3845
7ac30cc5
AJ
38462012-05-03 Andreas Jaeger <aj@suse.de>
3847
0c51e550
AJ
3848 * sysdeps/i386/fpu/libm-test-ulps: Update.
3849
7ac30cc5
AJ
3850 * FAQ: Removed.
3851 * FAQ.in: Likewise.
3852 * scripts/gen-FAQ.pl: Likewise.
3853 * manual/install.texi (Installation): Point to online location of
3854 FAQ.
3855 * Makefile (files-for-dist): Remove FAQ.
3856 (FAQ): Remove.
3857
d4c2917f
AM
38582012-05-02 Allan McRae <allan@archlinux.org>
3859
3860 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3861 (LDFLAGS-reldepmod5.so): Likewise.
3862 (LDFLAGS-reldep6mod1.so): Likewise.
3863 (LDFLAGS-reldep6mod4.so): Likewise.
3864 (LDFLAGS-reldep8mod3.so): Likewise.
3865 (LDFLAGS-unload4mod1.so): Likewise.
3866 (LDFLAGS-unload4mod2.so): Likewise.
3867 (LDFLAGS-tst-initorder): Likewise.
3868 (LDFLAGS-tst-initordera2.so): Likewise.
3869 (LDFLAGS-tst-initordera3.so): Likewise.
3870 (LDFLAGS-tst-initordera4.so): Likewise.
3871 (LDFLAGS-tst-initorderb2.so): Likewise.
3872 (LDFLAGS-noload): Likewise.
3873 (LDFLAGS-next): Likewise.
3874 (LDFLAGS-order2mod1.so): Likewise.
3875 (LDFLAGS-order2mod2.so): Likewise.
3876 (LDFLAGS-tst-initorder2): Likewise.
3877 (LDFLAGS-tst-initorder2a.so): Likewise.
3878 (LDFLAGS-tst-initorder2b.so): Likewise.
3879 (LDFLAGS-tst-initorder2c.so): Likewise.
3880 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3881
d77f993f
DM
38822012-05-02 David S. Miller <davem@davemloft.net>
3883
3884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3885
171a70b4
PP
38862012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3887
3888 [BZ #14055]
3889 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3890
0be196ad
AJ
38912012-05-02 Andreas Jaeger <aj@suse.de>
3892
3893 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3894 since we manipulate rounding mode.
3895 (CPPFLAGS-test-idouble.c): Likewise.
3896 (CPPFLAGS-test-ifloat.c): Likewise.
3897 (CFLAGS-test-ldouble.c): Likewise.
3898 (CFLAGS-test-double.c): Likewise.
3899 (CFLAGS-test-float.c): Likewise.
3900 (CFLAGS-test-misc.c): Likewise.
3901 (CFLAGS-test-test-fenv.c): Likewise.
3902
4f9d04aa
AZ
39032012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3904
2b942cb7
RM
3905 [BZ #2550]
3906 [BZ #2570]
3907 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3908 comparisons to determine direction to adjust input.
4f9d04aa 3909
82a79e7d
RM
39102012-05-01 Roland McGrath <roland@hack.frob.com>
3911
f5a01ca9
RM
3912 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3913 output to the target.
3914
90fe4186
RM
3915 * scripts/localplt.awk: New file.
3916 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3917 (check-localplt-CFLAGS): Variable removed.
3918 ($(all-built-dso:=.jmprel)): New static pattern rule.
3919 (generated): Add those targets.
3920 (localplt-built-dso): New variable.
3921 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3922
3923 * elf/check-localplt.c: File removed.
3924
82397ed6
RM
3925 * scripts/check-execstack.awk: New file.
3926 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3927 (check-execstack-CFLAGS): Variable removed.
3928 ($(objpfx)check-execstack.h): Target removed.
3929 ($(objpfx)execstack-default): New target.
3930 (generated): Add that instead of check-execstack.h.
3931 ($(all-built-dso:=.phdr)): New static pattern rule.
3932 (generated): Add those targets.
3933 * elf/check-execstack.c: File removed.
3934
82a79e7d
RM
3935 * scripts/check-textrel.awk: New file.
3936 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3937 (check-textrel-CFLAGS): Variable removed.
3938 (all-built-dso): Use := to define.o
3939 ($(all-built-dso:=.dyn)): New static pattern rule.
3940 (generated): Add those targets.
3941 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3942 * config.make.in (READELF): New substituted variable.
3943 * elf/check-textrel.c: File removed.
3944
62fde54f 39452012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3946
615605c9
JM
3947 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3948 allow.
3949 * conform/data/ctype.h-data [C99-based standards] (isblank):
3950 Expect function.
3951 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3952 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3953 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3954 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3955 Specify type. Require positive value.
3956 (EILSEQ): Likewise.
3957 (ERANGE): Likewise.
3958 [ISO || POSIX] (EILSEQ): Do not expect.
3959 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3960 Specify type. Require positive value.
3961 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3962 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3963 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3964 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3965 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3966 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3967 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3968 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3969 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3970 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3971 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3972 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3973 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3974 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3975 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3976 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3977 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3978 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3979 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3980 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3981 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3982 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3983 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3984 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3985 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3986 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3987 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3988 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3989 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3990 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3991 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3992 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3993 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3994 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3995 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3996 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3997 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3998 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3999 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4000 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4001 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4002 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4003 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4004 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4005 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4006 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4007 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4008 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4009 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4010 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4011 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4012 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4013 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4014 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4015 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4016 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4017 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4018 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4019 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4020 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4021 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4022 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4023 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4024 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4025 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4026 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4027 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4028 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4029 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4030 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4031 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4032 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4033 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4034 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4035 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4036 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4037 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4038 Require >= 2.
4039 (FLT_ROUNDS): Expect as macro, not constant.
4040 (FLT_MANT_DIG): Use macro-int-constant.
4041 (DBL_MANT_DIG): Likewise.
4042 (LDBL_MANT_DIG): Likewise.
4043 (FLT_DIG): Likewise.
4044 (DBL_DIG): Likewise.
4045 (LDBL_DIG): Likewise.
4046 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4047 (DBL_MIN_EXP): Likewise.
4048 (LDBL_MIN_EXP): Likewise.
4049 (FLT_MAX_EXP): Use macro-int-constant.
4050 (DBL_MAX_EXP): Likewise.
4051 (LDBL_MAX_EXP): Likewise.
4052 (FLT_MAX_10_EXP): Likewise.
4053 (DBL_MAX_10_EXP): Likewise.
4054 (LDBL_MAX_10_EXP): Likewise.
4055 (FLT_MAX): Use macro-constant.
4056 (DBL_MAX): Likewise.
4057 (LDBL_MAX): Likewise.
4058 (FLT_EPSILON): Use macro-constant. Give upper bound.
4059 (DBL_EPSILON): Likewise.
4060 (LDBL_EPSILON): Likewise.
4061 (FLT_MIN): Likewise.
4062 (DBL_MIN): Likewise.
4063 (LDBL_MIN): Likewise.
4064 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4065 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4066 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4067 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4068 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4069 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4070 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4071 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4072 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4073 [ISO11] (FLT_TRUE_MIN): Likewise.
4074 [ISO11] (LDBL_TRUE_MIN): Likewise.
4075 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4076 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4077 (SCHAR_MIN): Use macro-int-constant. Specify type.
4078 (SCHAR_MAX): Likewise.
4079 (UCHAR_MAX): Likewise.
4080 (CHAR_MIN): Likewise.
4081 (CHAR_MAX): Likewise.
4082 (MB_LEN_MAX): Use macro-int-constant.
4083 (SHRT_MIN): Use macro-int-constant. Specify type.
4084 (SHRT_MAX): Likewise.
4085 (USHRT_MAX): Likewise.
4086 (INT_MAX): Likewise.
4087 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4088 bound negative.
4089 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4090 bound with "U".
4091 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4092 bound with "L".
4093 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4094 bound negative. Suffix upper bound with "L".
4095 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4096 bound with "UL".
4097 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4098 Specify type.
4099 [C99-based standards] (LLONG_MAX): Likewise.
4100 [C99-based standards] (ULLONG_MAX): Likewise.
4101 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4102 == 0.
4103 [ISO11] (max_align_t): Require type.
4104 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4105
c9140a62
JM
4106 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4107 from $CFLAGS, without defining away __attribute__ calls.
4108 (checknamespace): Use $CFLAGS_namespace.
4109
9af0bf29
JM
4110 * conform/conformtest.pl (@keywords): Only include C99 keywords
4111 for standards based on C99 or C11.
4112
343222a2
JM
4113 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4114 Disable tests.
4115 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4116 UNIX98]: Likewise.
4117
661f8cf0
JM
4118 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4119 usability of symbols in #if.
4120
ee74b9cb
JM
4121 * conform/conformtest.pl: If macro or constant types start
4122 "promoted:", expect the symbol to be of the following type
4123 promoted by the integer promotions.
62fde54f 4124
aafc49b3
JM
4125 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4126 in one place. Also handle "macro-constant".
4127
fefdf574
JM
4128 * conform/conformtest.pl: Only accept expected macro values with
4129 "==". Parse all "macro" lines in one place.
4130 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4131
f2d922fe
JM
4132 * conform/conformtest.pl: Handle braced types on "constant" lines
4133 instead of handling "typed-constant".
4134 * conform/data/signal.h-data: Use "constant" instead of
4135 "typed-constant".
4136
d22956c9
JM
4137 * conform/conformtest.pl: Handle "optional-" at start of lines in
4138 one place rather than duplicating several cases. Handle each
4139 format of "macro" line with initial "optional-".
4140
028e2e38
JM
4141 * conform/conformtest.pl: Only accept expected constant or
4142 optional-constant values with "==". Parse all "constant" lines in
4143 one place. Parse all "optional-constant" lines in one place.
4144 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4145 * conform/data/fmtmsg.h-data: Likewise.
4146 * conform/data/netinet/in.h-data: Likewise.
4147 * conform/data/tar.h-data: Likewise.
4148 * conform/data/limits.h-data: Use "==" form on "constant" and
4149 "optional-constant" lines.
4150
1b8f2850
JM
4151 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4152 Use -std=c99 for XOPEN2K.
4153 (@knownproblems): Remove.
4154 (newtoken): Don't check %isknown.
4155
a05a144b
JM
4156 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4157 Do not expect macro.
4158 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4159 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4160 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4161 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4162 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4163 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4164 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4165 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4166 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4167 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4168 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4169 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4170 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4171 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4172 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4173 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4174 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4175 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4176 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4177 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4178 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4179 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4180 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4181 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4182 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4183 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4184 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4185 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4186 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4187 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4188 [XPG3] (acosh): Likewise.
4189 [XPG3] (asinh): Likewise.
4190 [XPG3] (atanh): Likewise.
4191 [XPG3] (cbrt): Likewise.
4192 [XPG3] (expm1): Likewise.
4193 [XPG3] (ilogb): Likewise.
4194 [XPG3] (log1p): Likewise.
4195 [XPG3] (logb): Likewise.
4196 [XPG3] (nextafter): Likewise.
4197 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4198 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4199 [XPG3] (remainder): Likewise.
4200 [XPG3] (rint): Likewise.
4201 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4202 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4203 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4204 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4205 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4206 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4207 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4208 [UNIX98 || XOPEN2K] (scalb): Expect.
4209 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4210 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4211 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4212 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4213 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4214 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4215 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4216 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4217 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4218 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4219 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4220 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4221 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4222 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4223 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4224 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4225 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4226 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4227 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4228 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4229 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4230 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4231 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4232 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4233 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4234 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4235 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4236 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4237 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4238 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4239 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4240 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4241 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4242 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4243 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4244 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4245 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4246 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4247 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4248 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4249 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4250 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4251 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4252 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4253 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4254 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4255 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4256 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4257 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4258 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4259 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4260 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4261 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4262 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4263 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4264 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4265 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4266 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4267 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4268 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4269 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4270 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4271 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4272 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4273 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4274 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4275 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4276 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4277 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4278 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4279 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4280 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4281 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4282 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4283 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4284 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4285 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4286 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4287 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4288 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4289 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4290 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4291 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4292 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4293 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4294 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4295 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4296 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4297 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4298 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4299 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4300 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4301 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4302 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4303 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4304 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4305 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4306 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4307 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4308 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4309 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4310 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4311 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4312 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4313 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4314 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4315 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4316 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4317 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4318 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4319 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4320 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4321 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4322 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4323 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4324 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4325 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4326 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4327 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4328 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4329 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4330 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4331 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4332 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4333 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4334 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4335 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4336 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4337 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4338 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4339 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4340 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4341 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4342 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4343 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4344 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4345 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4346
73c5ebe3
JM
4347 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4348 _XOPEN_SOURCE_EXTENDED for XPG4.
4349
39c33b6c
JM
4350 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4351
62fde54f
JM
4352 * Makeconfig (localtime): Remove variable.
4353 (inst_localtime-file): Likewise.
4354
0741d64c
AS
43552012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4356
4357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4358 Update.
4359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4360 Update.
4361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4362 Update.
4363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4364 Update.
4365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4366 Update.
4367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4368 Update.
4369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4370 Update.
4371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4372 Update.
4373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4374 Update.
4375
7cb029ee
JM
43762012-05-01 Joseph Myers <joseph@codesourcery.com>
4377
4378 [BZ #2550]
4379 [BZ #2570]
4380 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4381 comparisons to determine direction to adjust input.
4382 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4383 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4384 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4385 Likewise.
4386 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4387 Likewise.
4388 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4389 Likewise.
4390 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4391 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4392 Likewise.
4393 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4394 Likewise.
4395 * math/libm-test.inc (nexttoward_test): Add more tests.
4396
412bd966
AS
43972012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4398
4399 [BZ #14040]
4400 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4401 in version GLIBC_2.1, not GLIBC_2.0.
4402 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4403 Likewise.
4404
9568c0c2
JM
44052012-04-30 Joseph Myers <joseph@codesourcery.com>
4406
adfbc8ac
JM
4407 [BZ #13942]
4408 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4409 (1 - x) * (1 + x).
4410 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4411 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4412 * math/libm-test.inc (acos_test): Add more tests.
4413 (asin_test): Likewise.
4414 * sysdeps/i386/fpu/libm-test-ulps: Update.
4415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4416
5ba3cc69
JM
4417 [BZ #14034]
4418 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4419 of square root.
4420 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4421 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4422 * math/libm-test.inc (acos_test_tonearest): New function.
4423 (acos_test_towardzero): Likewise.
4424 (acos_test_downward): Likewise.
4425 (acos_test_upward): Likewise.
4426 (asin_test_tonearest): Likewise.
4427 (asin_test_towardzero): Likewise.
4428 (asin_test_downward): Likewise.
4429 (asin_test_upward): Likewise.
4430 (main): Call the new functions.
4431 * sysdeps/i386/fpu/libm-test-ulps: Update.
4432 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4433
9568c0c2
JM
4434 [BZ #13884]
4435 [BZ #13924]
4436 * math/e_exp10.c: Include <float.h>.
4437 (__ieee754_exp10): Handle underflow here rather than multiplying
4438 large negative argument by M_LN10.
4439 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4440 of __ieee754_expf.
4441 * math/e_exp10l.c: Include <float.h>.
4442 (__ieee754_exp10l): Handle underflow here rather than multiplying
4443 large negative argument by M_LN10l.
4444 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4445 spurious overflow exception on underflow.
4446
5ac3ea17
MP
44472012-04-29 Marek Polacek <polacek@redhat.com>
4448
4449 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4450 (__fortify_function): New macro.
4451 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4452 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4453 __extern_always_inline.
4454 * libio/bits/stdio2.h: Likewise.
4455 * libio/bits/stdio.h: Likewise.
4456 * string/string.h: Likewise.
4457 * string/bits/string3.h: Likewise.
4458 * include/stdio.h: Likewise.
4459 * stdlib/bits/stdlib.h: Likewise.
4460 * stdlib/stdlib.h: Likewise.
4461 * rt/bits/mqueue2.h: Likewise.
4462 * rt/mqueue.h: Likewise.
4463 * posix/bits/unistd.h: Likewise.
4464 * posix/unistd.h: Likewise.
4465 * io/bits/poll2.h: Likewise.
4466 * io/bits/fcntl2.h: Likewise.
4467 * io/fcntl.h: Likewise.
4468 * io/sys/poll.h: Likewise.
4469 * misc/bits/syslog.h: Likewise.
4470 * misc/bits/syslog-ldbl.h: Likewise.
4471 * misc/sys/syslog.h: Likewise.
4472 * socket/bits/socket2.h: Likewise.
4473 * socket/sys/socket.h: Likewise.
4474 * debug/tst-chk1.c: Likewise.
4475 * wcsmbs/bits/wchar2.h: Likewise.
4476 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4477 * wcsmbs/wchar.h: Likewise.
4478
ecf0ebfb
AJ
44792012-04-29 Andreas Jaeger <aj@suse.de>
4480
4481 * Makerules (tests): Remove enable-check-abi protection.
4482 (check-abi-warn): Remove.
4483 (check-abi-%): Remove check-abi-warn usage.
4484
4485 * configure.in: Remove check-abi configure option.
4486 * configure: Regenerated.
4487 * config.make.in (enable-check-abi): Remove.
4488
6d5c57fa
AS
44892012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4490
24c5d07e 4491 [BZ #14033]
ded5180a
AS
4492 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4493 double functions to double *_finite functions.
4494
7e0d315d
AS
4495 [BZ #13941]
4496 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4497 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4498 LDBL_MIN_EXP.
4499 * stdio-common/Makefile (tests): Add tst-sprintf3.
4500 * stdio-common/tst-sprintf3.c: New file.
4501
6d5c57fa
AS
4502 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4503 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4504
0749ff8b
JM
45052012-04-28 Joseph Myers <joseph@codesourcery.com>
4506
4507 * conform/conformtest.pl: Remove duplicate typed-constant
4508 handling.
4509
8dbd5d7b
DM
45102012-04-28 David S. Miller <davem@davemloft.net>
4511
4512 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4513 (check-abi-%): Remove AWK script prerequisite and explicit
4514 abilist directory.
4515 (check-abi): Rewrite to just diff the symlist with the abilist.
4516 (config-tls, config-abi-config): Delete, no longer used.
4517 (update-abi-%): Remove AWK script and explicit abilist directory.
4518 (update-abi): Rewrite to simply compare and conditionally copy the
4519 symlist and the sysdep abilist file. Remove update-abi-config
4520 checks.
4521 * abilist/ld.abilist: Remove.
4522 * abilist/libBrokenLocale.abilist: Remove.
4523 * abilist/libanl.abilist: Remove.
4524 * abilist/libcrypt.abilist: Remove.
4525 * abilist/libdl.abilist: Remove.
4526 * abilist/librt.abilist: Remove.
4527 * abilist/libthread_db.abilist: Remove.
4528 * abilist/libutil.abilist: Remove.
4529 * scripts/extract-abilist.awk: Remove.
4530 * scripts/merge-abilist.awk: Remove.
4531 * sysdeps/generic/libcidn.abilist: New file.
4532 * sysdeps/generic/libnss_compat.abilist: New file.
4533 * sysdeps/generic/libnss_db.abilist: New file.
4534 * sysdeps/generic/libnss_dns.abilist: New file.
4535 * sysdeps/generic/libnss_files.abilist: New file.
4536 * sysdeps/generic/libnss_hesiod.abilist: New file.
4537 * sysdeps/generic/libnss_nis.abilist: New file.
4538 * sysdeps/generic/libnss_nisplus.abilist: New file.
4539 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4540 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4541 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4542 file.
4543 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4544 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4545 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4546 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4547 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4548 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4549 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4550 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4551 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4552 file.
4553 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4554 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4555 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4556 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4557 file.
4558 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4559 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4560 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4561 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4562 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4563 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4564 file.
4565 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4566 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4567 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4568 file.
4569 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4570 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4571 New file.
4572 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4573 New file.
4574 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4575 New file.
4576 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4577 New file.
4578 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4579 New file.
4580 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4581 New file.
4582 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4583 New file.
4584 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4585 New file.
4586 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4587 New file.
4588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4589 New file.
4590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4591 New file.
4592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4593 New file.
4594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4595 New file.
4596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4597 file.
4598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4599 New file.
4600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4601 New file.
4602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4603 file.
4604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4605 New file.
4606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4607 New file.
4608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4609 file.
4610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4611 New file.
4612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4613 New file.
4614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4615 New file.
4616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4617 New file.
4618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4619 New file.
4620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4621 New file.
4622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4624 file.
4625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4626 New file.
4627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4628 file.
4629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4630 file.
4631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4632 file.
4633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4634 file.
4635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4636 file.
4637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4638 New file.
4639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4640 file.
4641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4642 file.
4643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4644 New file.
4645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4646 file.
4647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4649 file.
4650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4651 New file.
4652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4653 file.
4654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4655 file.
4656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4657 file.
4658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4659 file.
4660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4661 file.
4662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4663 New file.
4664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4665 file.
4666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4667 file.
4668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4669 New file.
4670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4671 file.
4672 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4673 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4674 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4675 file.
4676 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4677 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4678 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4679 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4680 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4681 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4682 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4683 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4684 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4685 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4688 file.
4689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4690 New file.
4691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4692 file.
4693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4694 file.
4695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4696 file.
4697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4698 file.
4699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4700 file.
4701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4702 New file.
4703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4704 New file.
4705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4706 file.
4707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4708 New file.
4709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4710 file.
4711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4713 file.
4714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4715 New file.
4716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4717 file.
4718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4719 file.
4720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4721 file.
4722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4723 file.
4724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4725 file.
4726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4727 New file.
4728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4729 New file.
4730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4731 file.
4732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4733 New file.
4734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4735 file.
4736
41d73a1b
JM
47372012-04-28 Joseph Myers <joseph@codesourcery.com>
4738
4739 * conform/conformtest.pl: Fix typo in handling typed-constant from
4740 allow-header.
4741
28aeeda4
JM
47422012-04-27 Joseph Myers <joseph@codesourcery.com>
4743
adae8f5e
JM
4744 * README: Cut down references to pre-2.6 Linux kernels and
4745 Linuxthreads. Update lists of configurations in libc and ports
4746 and sort alphabetically. Say "or newer" with Linux kernel version
4747 requirements.
4748
28aeeda4
JM
4749 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4750
a462cb63
RA
47512012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4752
4753 [BZ #887]
4754 * math/libm-test.inc (logb_test_downward): New test to expose
4755 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4756 rounding mode.
4757
6ad3493e
JM
47582012-04-27 Joseph Myers <joseph@codesourcery.com>
4759
4760 [BZ #14027]
4761 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4762 to be done.
4763 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4764 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4765
2ce4f015
JM
47662012-04-26 Joseph Myers <joseph@codesourcery.com>
4767
5aeb141a
JM
4768 * sysdeps/unix/i386/brk.S: Remove file.
4769 * sysdeps/unix/i386/dl-brk.S: Likewise.
4770 * sysdeps/unix/i386/pipe.S: Likewise.
4771 * sysdeps/unix/i386/sigreturn.S: Likewise.
4772 * sysdeps/unix/i386/syscall.S: Likewise.
4773 * sysdeps/unix/i386/vfork.S: Likewise.
4774 * sysdeps/unix/i386/wait.S: Likewise.
4775
7143acae
JM
4776 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4777 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4778
2ce4f015
JM
4779 * configure.in (arm*-none*): Do not allow without
4780 --enable-hacker-mode.
4781 (netbsd*): Remove case setting base_os.
4782 (386bsd*): Likewise.
4783 (freebsd*): Likewise.
4784 (bsdi*): Likewise.
4785 (osf*): Likewise.
4786 (sunos*): Likewise.
4787 (ultrix*): Likewise.
4788 (newsos*): Likewise.
4789 (dynix*): Likewise.
4790 (*bsd*): Likewise.
4791 (sysv*): Likewise.
4792 (isc*): Likewise.
4793 (esix*): Likewise.
4794 (sco*): Likewise.
4795 (minix*): Likewise.
4796 (irix4*): Likewise.
4797 (irix6*): Likewise.
4798 (solaris[2-9]*): Likewise.
4799 (none): Likewise.
4800 * configure: Regenerated.
4801
0ac229c8
AZ
48022012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4803
4804 [BZ #11521]
4805 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4806 overflow or cancellation in calculating denominator.
4807 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4808 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4809 down expression to avoid unexpected rounding in newer GCCs.
4810 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4811
33f244f4
DM
48122012-04-26 David S. Miller <davem@davemloft.net>
4813
4814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4815 long-double compat symbols.
4816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4829
cfa1f3e8
DM
48302012-04-25 David S. Miller <davem@davemloft.net>
4831
4832 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4833 HWCAP_* values only after the memory barriers have been defined.
4834 (atomic_full_barrier): Define.
4835 (atomic_read_barrier): Define.
4836 (atomic_write_barrier): Define.
4837
6e236b92
SP
48382012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4839
4840 * shlib-versions: Add libgcc_s version information.
4841 * sysdeps/generic/libgcc_s.h: Remove.
4842 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4843 libgcc_s.h.
4844 * sysdeps/gnu/unwind-resume.c: Likewise.
4845 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4846
aab39a09
DM
48472012-04-25 David S. Miller <davem@davemloft.net>
4848
4849 * sysdeps/unix/sparc/brk.S: Delete.
4850 * sysdeps/unix/sparc/dl-brk.S: Delete.
4851 * sysdeps/unix/sparc/pipe.S: Delete.
4852 * sysdeps/unix/sparc/sysdep.S: Delete.
4853 * sysdeps/unix/sparc/sysdep.h: Delete.
4854 * sysdeps/unix/sparc/vfork.S: Delete.
4855 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4856 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4857 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4858 ret_ERRVAL, r0, r1, MOVE): Define.
4859 (JUMPTARGET): Remove.
4860 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4861 sysdeps/unix/sparc/sysdep.h
4862 (ENTRY, END): Remove.
4863 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4864
a3cc4f48
JM
48652012-04-25 Joseph Myers <joseph@codesourcery.com>
4866
2ed8cda2
JM
4867 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4868 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4869 -DIS_IN_build.
4870
35d76d59
JM
4871 * timezone/README: Update upstream location and email address for
4872 tzcode and tzdata.
4873 * timezone/zdump.c: Update from tzcode 2012b.
4874 * timezone/zic.c: Likewise.
4875
a3cc4f48
JM
4876 * configure.in (libc_cv_as_needed): Remove test.
4877 * configure: Regenerated.
4878 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4879 conditional definition.
4880 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4881 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4882 * config.make.in (have-as-needed): Remove variable.
4883
ceab42c3
SP
48842012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4885 Paul Pluzhnikov <ppluzhnikov@google.com>
4886
4887 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4888 strings correctly.
4889
3ce2865f
CLT
48902012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4891
4892 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4893 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4894 * sysdeps/sh/strlen.S: Likewise.
4895
f37e0d68
JM
48962012-04-24 Joseph Myers <joseph@codesourcery.com>
4897
ae186e9a
JM
4898 * sysdeps/unix/fork.S: Remove file.
4899 * sysdeps/unix/i386/fork.S: Likewise.
4900 * sysdeps/unix/sparc/fork.S: Likewise.
4901
b96914af
JM
4902 * sysdeps/unix/system.c: Remove file.
4903 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4904
f37e0d68
JM
4905 * sysdeps/unix/getegid.S: Remove file.
4906 * sysdeps/unix/geteuid.S: Likewise.
4907
87ef29ca
RM
49082012-04-24 Roland McGrath <roland@hack.frob.com>
4909
83bcd236
RM
4910 * scripts/check-localplt.awk: New file.
4911 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4912 of diff.
4913 * scripts/data/localplt-generic.data: Add a comment.
4914
87ef29ca
RM
4915 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4916 NODE when __dir_mkfile failed.
4917 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4918 Reported by Ludovic Courtès <ludo@gnu.org>.
4919
e5a6e567
AJ
49202012-04-24 Andreas Jaeger <aj@suse.de>
4921
4922 * Makerules (common-clean): Also remove gen-as-const-headers
4923 files.
4924
c1820385
JM
49252012-04-24 Joseph Myers <joseph@codesourcery.com>
4926
4927 * Makerules (native-compile): Do not change working directory for
4928 build. Use $(OUTPUT_OPTION) in command.
4929 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4930
94e02fc4
AZ
49312012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4932
4933 [BZ #13886]
4934 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4935 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4936 * math/libm-test.inc (floor_test): Add more tests.
4937 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4938
3a533ca3
JM
49392012-04-24 Joseph Myers <joseph@codesourcery.com>
4940
940ab4b3
JM
4941 * sysdeps/unix/getdents.c: Remove file.
4942 * sysdeps/unix/sysv/getdents.c: Likewise.
4943 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4944
90e037bd
JM
4945 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4946 sysdeps/unix/mman/syscalls.list.
4947 (mmap): Likewise.
4948 (mprotect): Likewise.
4949 (msync): Likewise.
4950 (munmap): Likewise.
4951 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4952 * sysdeps/unix/mman/syscalls.list: Remove.
4953 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4954
3a533ca3
JM
4955 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4956 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4957 * configure: Regenerated.
4958 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4959 $(libgcc_s_suffix).
4960 * config.make.in (libgcc_s_suffix): Remove variable.
4961
1ad743de
JM
49622012-04-23 Joseph Myers <joseph@codesourcery.com>
4963
4ad451e2
JM
4964 * sysdeps/unix/sysv/gethostname.c: Move to ...
4965 * sysdeps/posix/gethostname.c: ... here.
4966
5e37ce39
JM
4967 * sysdeps/unix/execve.S: Remove file.
4968
1ad743de
JM
4969 * sysdeps/unix/_exit.S: Remove file.
4970
4e681b5b
AJ
49712012-04-23 Andreas Jaeger <aj@suse.de>
4972
4973 [BZ #13739]
4974 * manual/Makefile: Remove make dist support, there's no
4975 need for a stand-alone documentation tar ball.
4976 (TEXI2DVI): Define always, it's not in Makeconfig.
4977 (dist): Removed.
4978 (tar-it): Removed.
4979 (edition): Removed.
4980 (glibc-doc-$(edition).tar): Removed
4981 (%.Z): Removed.
4982 (%.gz): Removed.
4983 (%.uu): Removed.
4984 (ETAGS): Remove, it's in Makeconfig.
4985 (move-if-change): Remove, it's in Makeconfig.
4986
c0baea34
PE
49872013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4988
4989 [BZ #13970]
4990 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4991 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4992 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4993 (strtod_l, strtof_l, strtold_l): Remove __wur.
4994 It is not necessarily an error to ignore strtol's return value.
4995 One can reliably look at the stored endptr to decide whether
4996 the number had valid syntax.
4997
7c0616fa
AJ
49982012-04-21 Andreas Jaeger <aj@suse.de>
4999
803cb6b7 5000 [BZ #13739]
7c0616fa
AJ
5001 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5002
b0fe253f
JM
50032012-04-21 Joseph Myers <joseph@codesourcery.com>
5004
5005 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5006 * sysdeps/unix/sysv/Versions: Remove file.
5007
8280f22d
MT
50082012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5009
5010 [BZ #13927]
5011 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5012
75ce411f 50132012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
5014
5015 [BZ #7064]
5016 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5017 version from __vm86.
5018
097d59fa
JM
50192012-04-20 Joseph Myers <joseph@codesourcery.com>
5020
a90f3bcb
JM
5021 * sysdeps/unix/common/lxstat.c: Remove file.
5022 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5023
edc7ea78
JM
5024 * sysdeps/unix/sysv/Makefile: Remove file.
5025
cb78c221
JM
5026 * sysdeps/unix/sysv/direct.h: Remove file.
5027
efa6a45f
JM
5028 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5029 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5030 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5031 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5032 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5033 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5034 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5035
9c9f2d0c
JM
5036 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5037
4541c83b
JM
5038 * sysdeps/unix/xmknod.c: Remove file.
5039 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5040
f5d153a0
JM
5041 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5042
aa746595
JM
5043 * sysdeps/unix/sysv/i386/time.S: Remove file.
5044
cce5905e
JM
5045 * sysdeps/unix/fxstat.c: Remove file.
5046 * sysdeps/unix/xstat.c: Likewise.
5047 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5048
37fa3841
JM
5049 * sysdeps/unix/sysv/sigaction.c: Remove file.
5050
ff1962a3
JM
5051 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5052 (sysdep_headers): Remove variable.
5053 [termio.h not in sysdep_headers] (generated): Likewise.
5054 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5055 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5056 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5057 * sysdeps/unix/sysv/tcflow.c: Likewise.
5058 * sysdeps/unix/sysv/tcflush.c: Likewise.
5059 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5060 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5061 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5062 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5063 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5064
e7740d31
JM
5065 * sysdeps/unix/siglist.c: Remove file.
5066
ee06f18b
JM
5067 * sysdeps/unix/getppid.S: Remove file.
5068
097d59fa
JM
5069 * sysdeps/unix/mkdir.c: Remove file.
5070 * sysdeps/unix/rmdir.c: Likewise.
5071
ff3d51ec
AS
50722012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5073
5074 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5075 ERR_MAX value.
5076 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5077 errlist-compat value.
5078
50f81fd7
DM
50792012-04-18 David S. Miller <davem@davemloft.net>
5080
5081 * sysdeps/generic/memcopy.h (reg_char): Delete.
5082 * debug/strcat_chk.c: Use char, not reg_char.
5083 * debug/strcpy_chk.c: Likewise.
5084 * debug/strncat_chk.c: Likewise.
5085 * debug/strncpy_chk.c: Likewise.
5086 * string/memchr.c: Likewise.
5087 * string/memrchr.c: Likewise.
5088 * string/rawmemchr.c: Likewise.
5089 * string/strcat.c: Likewise.
5090 * string/strchr.c: Likewise.
5091 * string/strchrnul.c: Likewise.
5092 * string/strcmp.c: Likewise.
5093 * string/strcpy.c: Likewise.
5094 * string/strncat.c: Likewise.
5095 * string/strncmp.c: Likewise.
5096 * string/strncpy.c: Likewise.
5097
8ff41c46
WS
50982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5099
5100 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5101 __builtin_memcopy is called when src and dest ranges are known to not
5102 overlap.
5103
6b652f46
WS
51042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5105
5106 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5107 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5108 fwd_align_merge macro call.
5109 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5110 bwd_align_merge macro call.
5111 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5112
b282631e
WS
51132012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5114
5115 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5116 bwd_align_merge macros.
5117 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5118 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5119 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5120
95aa737c
DM
51212012-04-18 David S. Miller <davem@davemloft.net>
5122
5123 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5124
7a99a614
AJ
51252012-04-18 Andreas Jaeger <aj@suse.de>
5126
5127 [BZ# 6794]
5128 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5129 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5130 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5131
5132 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5133 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5134 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5135
5136 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5137 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5138 Adjust for changed ldbl-128 files.
5139
5140 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5141 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5142 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5143
e5270c23
DM
51442012-04-17 David S. Miller <davem@davemloft.net>
5145
5146 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5147
fb5e92c9
AS
51482012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5149
5150 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5151 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5152 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5153 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5154 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5155 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5156
76da7265
AZ
51572012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5158
5159 [BZ #6794]
5160 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5161 * math/libm-test.inc: Add ilogb errno and exception tests.
5162 * math/w_ilogb.c: New file: ilogb wrapper.
5163 * math/w_ilogbf.c: New file: ilogbf wrapper.
5164 * math/w_ilogbl.c: New file: ilogbl wrapper.
5165 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5166 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5167 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5168 exception being thrown with 0.0 as argument.
5169 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5170 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5171 exception being thrown with 0.0 as argument.
5172 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5173 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5174 exception being thrown with 0.0 as argument.
5175 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5176 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5177 exception being thrown with 0.0 as argument.
5178 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5179 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5180 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5181 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5182 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5183 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5184 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5185 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5186 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5187
0396e69d
PB
51882012-04-17 Petr Baudis <pasky@ucw.cz>
5189
5190 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5191 with altivec.
5192
750b5926
MP
51932012-04-16 Marek Polacek <polacek@redhat.com>
5194
5195 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5196
751728a1
MP
51972012-04-16 Marek Polacek <polacek@redhat.com>
5198
5199 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5200 operands of fdivp instruction.
5201
34a27407
L
52022012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5203
5204 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5205 * elf/tst-auditmod3b.c: Likewise.
5206 * elf/tst-auditmod4b.c: Likewise.
5207 * elf/tst-auditmod5b.c: Likewise.
5208 * elf/tst-auditmod6b.c: Likewise.
5209 * elf/tst-auditmod6c.c: Likewise.
5210 * elf/tst-auditmod7b.c: Likewise.
5211 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5212 * sysdeps/x86_64/preconfigure.in: Likewise.
5213 * sysdeps/x86_64/preconfigure: Regenerated.
5214
7e73e17d
L
52152012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5216
5217 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5218 __ILP32__.
5219
c7a6ab72
AB
52202012-04-13 Antoine Balestrat <merkil33@gmail.com>
5221
5222 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5223 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5224
a9e8e0e0
CL
52252012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5226
5227 [BZ #13973]
5228 * locale/iso-639.def: Fix gl language name. Spotted by
5229 Yaron Shahrabani.
5230
ec98af7d
RM
52312012-04-12 Roland McGrath <roland@hack.frob.com>
5232
5233 [BZ #2074]
5234 * libio/libio.h (__io_write_fn): Update comment.
5235
247c3ede
PB
52362012-04-12 Petr Baudis <pasky@ucw.cz>
5237
5238 [BZ #2074]
5239 * stdio.texi (Hook Functions): The user provided writer function
5240 is not allowed to return -1.
5241
55939d6d
DM
52422012-04-11 David S. Miller <davem@davemloft.net>
5243
5244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5245
90020f5a
MF
52462012-04-11 Mike Frysinger <vapier@gentoo.org>
5247
5248 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5249 Add a leading slash to rtkaio.
5250
288f9098
JM
52512012-04-11 Jim Meyering <meyering@redhat.com>
5252
90020f5a
MF
5253 [BZ #11959]
5254 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5255 It is not necessarily an error to ignore fwrite's return
5256 value. One can reliably use ferror to test for errors after
5257 the fact.
288f9098 5258
4be2b570
L
52592012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5260
5261 * bits/types.h (__snseconds_t): New type.
5262 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5263
5264 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5265 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5266 (__SNSECONDS_T_TYPE): Likewise.
5267 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5268 (__SNSECONDS_T_TYPE): Likewise.
5269 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5270 (__SNSECONDS_T_TYPE): Likewise.
5271
288f9098 52722012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5273
5274 [BZ #2636]
5275 * manual/time.texi (Processor Time): Return type of times is
5276 elapsed real time since an arbitrary point in the past.
5277 (CPU Time): Move CLK_TCK from here...
5278 (Processor Time): ...to here. Correct description.
5279 * manual/conf.texi (Constants for Sysconf): Correct description of
5280 _SC_CLK_TCK.
5281
d7dd4413
DM
52822012-04-10 David S. Miller <davem@davemloft.net>
5283
5284 [BZ #13967]
5285 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5286 where the is a gap between DT_REL(A) and DT_JMPREL.
5287
b46068fc
L
52882012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5289
5290 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5291 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5292 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5293
73d65cc3
SP
52942012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5295
5296 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5297 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5298 (dl_main): Handle --inhibit-cache.
5299 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5300 _dl_inhibit_cache.
5301 * elf/dl-load.c (_dl_map_object): Use it.
5302 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5303
bcc8d661
JM
53042012-04-09 Joseph Myers <joseph@codesourcery.com>
5305
8f9a2fae
JM
5306 [BZ #13872]
5307 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5308 (__ieee754_powl): Saturate large exponents rather than testing for
5309 overflow of y*log2(x).
5310 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5311 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5312 exceptions.
5313
bcc8d661
JM
5314 [BZ #11521]
5315 * math/s_ctan.c: Include <float.h>.
5316 (__ctan): Avoid internal overflow or cancellation in calculating
5317 denominator.
5318 * math/s_ctanf.c: Likewise.
5319 * math/s_ctanl.c: Likewise.
5320 * math/s_ctanh.c: Likewise.
5321 * math/s_ctanhf.c: Likewise.
5322 * math/s_ctanhl.c: Likewise.
5323 * math/libm-test.inc (ctan_test): Add more tests.
5324 (ctanh_test): Likewise.
5325 * sysdeps/i386/fpu/libm-test-ulps: Update.
5326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5327
823fbbb4
AJ
53282012-04-09 Andreas Jaeger <aj@suse.de>
5329
03879793
AJ
5330 [BZ #6894]
5331 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5332 is an optional BSD extension.
5333
823fbbb4
AJ
5334 [BZ #10254]
5335 * manual/stdio.texi (Opening Streams): Document additional fopen
5336 parameters.
5337
8de131cb
RM
53382012-04-09 Roland McGrath <roland@hack.frob.com>
5339
5340 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5341 %eax without telling the compiler.
5342
c0ed9d7d
CD
53432012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5344
5345 [BZ # 13963]
5346 * manual/install.texi: Use sourceware.org.
5347
c483f6b4
JM
53482012-04-09 Joseph Myers <joseph@codesourcery.com>
5349
d7dd9453
JM
5350 [BZ #13873]
5351 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5352 (__ieee754_pow): Generate overflow and underflow using huge*huge
5353 and tiny*tiny rather than just returning constant infinity or zero
5354 for large exponents.
5355 * math/libm-test.inc (pow_test): Require overflow exceptions for
5356 applicable cases of large exponents.
5357
c483f6b4
JM
5358 [BZ #706]
5359 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5360 (__ieee754_pow): Use iterative multiplication algorithm only for
5361 integer exponents with absolute value below 1024. Check for odd
5362 integer exponents when using algorithm for real exponents.
5363 * math/libm-test.inc (pow_test): Add more tests.
5364 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5365
d2de7579
JM
53662012-04-08 Joseph Myers <joseph@codesourcery.com>
5367
5368 [BZ #13705]
5369 * math/libm-test.inc (exp_test): Do not allow overflow exception
5370 on underflow test.
5371
f77f1232
AJ
53722012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5373
5374 [BZ #13705]
5375 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5376 instead of __kernel_standard_f.
5377
3884932b
MF
53782012-04-08 Mike Frysinger <vapier@gentoo.org>
5379
5380 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5381 * sysdeps/x86_64/memset_chk.S: Likewise.
5382
54472e9c
AJ
53832012-04-08 Andreas Jaeger <aj@suse.de>
5384
6ab0fbfc
AJ
5385 [BZ #10153]
5386 * manual/startup.texi (Environment Access): Describe return value
5387 for putenv and setenv.
5388
61efba8c
AJ
5389 [BZ #6895]
5390 * manual/filesys.texi (Directory Entries): Add description for
5391 DT_LNK.
5392
95c3f29a
AJ
5393 [BZ #6890]
5394 * manual/filesys.texi (Directory Entries): Clarify that it's file
5395 system not operating system in the description of DT_UNKNOWN.
5396
54472e9c
AJ
5397 [BZ #6578]
5398 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5399
624254b1
SC
54002012-04-08 Stephen Compall <s11@member.fsf.org>
5401
5402 [BZ #6649]
5403 * manual/llio.texi (Opening and Closing Files): Add cross
5404 reference to explain mode argument.
5405
1e4920e0
MF
54062012-04-07 Mike Frysinger <vapier@gentoo.org>
5407
5408 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5409 * sysdeps/x86_64/memset_chk.S: Likewise.
5410
5ed848f3
DM
54112012-04-07 David S. Miller <davem@davemloft.net>
5412
5413 * elf/elf.h (R_SPARC_WDISP10): Define.
5414 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5415 R_SPARC_SIZE32.
5416 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5417 R_SPARC_SIZE64 and R_SPARC_H34.
5418
96154cd8
CD
54192012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5420
5421 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5422 conditions and remove no longer applicable assertion.
5423
9904dc47
L
54242012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5425
5426 * bits/byteswap.h: Include <features.h>.
5427 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5428 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5429
f8887d0a
L
54302012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5431
5432 * bits/byteswap.h (__bswap_16): Removed.
5433 Include <bits/byteswap-16.h> to get __bswap_16.
5434 * sysdeps/i386/bits/byteswap.h: Likewise.
5435 * sysdeps/s390/bits/byteswap.h: Likewise.
5436 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5437 * bits/byteswap-16.h: New file.
5438 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5439 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5440 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5441 * string/Makefile (headers): Add bits/byteswap-16.h.
5442
62470f60
PP
54432012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5444
5445 [BZ #13895]
5446 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5447 extra indirection.
5448 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5449 * nss/tst-nss-static.c: New.
5450
4dad7bab
RM
54512012-04-06 Robert Millan <rmh@gnu.org>
5452
5453 [BZ #6486]
5454 * manual/llio.texi (File Position Primitive): lseek
5455 refers to WHENCE when it really means OFFSET.
5456
e9142a17
AJ
54572012-04-06 Andreas Jaeger <aj@suse.de>
5458
2c040eff
AJ
5459 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5460 strncmp declarations.
5461
e9142a17
AJ
5462 * abilist/libc.abilist: Add __poll and __ppoll.
5463
ff9f1c5f
DM
54642012-04-05 David S. Miller <davem@davemloft.net>
5465
dcd2ae90
DM
5466 * scripts/check-local-headers.sh: Accept a host triplet in the
5467 path matched by the exclude regexp.
5468
993eb054
DM
5469 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5470 definition.
5471 * sysdeps/powerpc/powerpc32/dl-machine.h
5472 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5473 * sysdeps/s390/s390-32/dl-machine.h
5474 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5475 * sysdeps/sparc/sparc32/dl-machine.h
5476 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5477 * sysdeps/sparc/sparc64/dl-machine.h
5478 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5479
ff9f1c5f
DM
5480 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5481 lazy binding.
48e2e132 5482 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5483 undefined symbol errors.
5484
48e2e132 5485 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5486 DT_NEEDED entries.
5487
e80d6f94
MM
54882012-04-05 Michael Matz <matz@suse.de>
5489
5490 [BZ #13592]
5491 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5492
349fa79f
AJ
54932012-04-05 Andreas Jaeger <aj@suse.de>
5494
5495 [BZ #13908]
5496 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5497 comment.
5498
f402708f
KK
54992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5500
5501 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5502 which ROUND is no valid rounding mode.
5503
2ecccfc9
KK
55042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5505
5506 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5507 read again.
5508 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5509
8a53f50f
KK
55102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5511
5512 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5513 an exception using FPU order intentionally.
5514
55152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5516
5517 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5518 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5519 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5520 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5521
d653abb7
SJ
55222012-04-05 Simon Josefsson <simon@josefsson.org>
5523
5524 [BZ #12340]
5525 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5526 EINVAL when BUFLEN is too smal.
5527
c3b1bf7d
TS
55282012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5529
5530 [BZ #13553]
5531 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5532 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5533
b1aa60f3
AJ
55342012-04-03 Andreas Jaeger <aj@suse.de>
5535
c3b1bf7d 5536 [BZ #13938]
67f60a26
AJ
5537 * manual/setjmp.texi (System V contexts): Fix sentence.
5538
b1aa60f3
AJ
5539 [BZ #13926]
5540 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5541 New macro for this case.
5542 [!__GNUC__] (__bswap_64): New inline function for this case.
5543 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5544 * bits/byteswap.h: Likewise.
5545 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5546 ull, guard with __GLIBC_HAVE_LONG_LONG.
5547
5548 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5549 __GLIBC_HAVE_LONG_LONG.
5550
5551 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5552 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5553
39c59c35
TMQMF
55542012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5555
5556 [BZ #13691]
5557 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5558 inptr and inend, rather than using last_ch.
5559
135ffda8
DM
55602012-04-02 David S. Miller <davem@davemloft.net>
5561
5562 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5563 * stdio-common/printf-parse.h (read_int): Change return type to
5564 'int', return -1 on INT_MAX overflow.
5565 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5566 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5567 overflows INT_MAX. Check for overflow of in-format-string precision
5568 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5569 SIZE_MAX not INT_MAX for integer overflow test.
5570 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5571 skip the construct in the format string but do not record anything.
5572 * stdio-common/bug22.c: Adjust to test both width/prevision
5573 INT_MAX overflow as well as total length INT_MAX overflow. Check
5574 explicitly for proper errno values.
5575
228c019e
TS
55762012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5577
302cadd3
TS
5578 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5579 CHAR_MAX.
5580 * string/test-strcmp.c [! WIDE]: Likewise.
5581 * time/tst-mktime2.c: Likewise for INT_MAX.
5582 * string/test-string.h: #include <sys/param.h> for MIN.
5583
228c019e
TS
5584 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5585 * sysdeps/i386/init-first.c (init): Likewise.
5586 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5587 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5588 * sysdeps/sh/init-first.c (init): Likewise.
5589
cfa633f5
UD
55902012-04-01 Ulrich Drepper <drepper@gmail.com>
5591
5592 * po/ru.po: Update from translation team.
d1635ef8 5593 * po/vi.po: Likewise.
cfa633f5 5594
6cd0a5ea
SP
55952012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5596
5597 * resolv/nss_dns/dns-host.c: Merge copyright years.
5598
4b43400f
LD
55992012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5600
5601 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5602 Optimize memcpy with prefetch if
5603 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5604 src, dst pointers have unequal 16 byte alignments.
5605
48c41d04
SP
56062012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5607
5608 [BZ #13928]
5609 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5610 from a CNAME entry and return the minimum ttl for the query.
5611 (gaih_getanswer_slice): Likewise.
5612
b8dc394d
JL
56132012-03-30 Jeff Law <law@redhat.com>
5614
5615 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5616 due to long keys.
5617 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5618 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5619
2f5a5ed0
JL
5620 * resolv/nss_dns/dns-host.c: Update copyright year.
5621
1d39e359
UD
56222012-03-30 Ulrich Drepper <drepper@gmail.com>
5623
c030f70c 5624 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5625 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5626
1d39e359
UD
5627 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5628 comments for sendmmsg.
5629
56302012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5631
5632 [BZ #13691]
5633 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5634 with only 1 character between 0x0041 and 0x01b0.
5635 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5636 * wcsmbs/tst-mbsnrtowcs.c: New file.
5637
20fde227
DM
56382012-03-29 David S. Miller <davem@davemloft.net>
5639
5640 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5641 small copies by hand.
5642
984a4237
JL
56432012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5644
5645 [BZ #13761]
5646 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5647 _nss_compat_initgroups_dyn): Fall back to malloc/free
5648 for large group memberships.
5649
18c9d62b
DM
56502012-03-28 David S. Miller <davem@davemloft.net>
5651
88d85d4f
DM
5652 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5653 that branches into memcpy.
5654 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5655 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5656 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5657 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5658 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5659 bits.
5660 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5661 implementation too.
5662 * sysdeps/sparc/mempcpy.S: New file.
5663
e5aa83e1
DM
5664 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5665 the IFUNC routine in the libc case.
5666 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5667
88570753
DM
5668 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5669 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5670 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5671 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5672 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5673 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5674 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5675 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5676
249d7567
DM
5677 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5678 loop to 256 bytes instead of 64 bytes and fix test signedness.
5679
18c9d62b
DM
5680 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5681 * sysdeps/sparc/sparc32/Makefile: rather than here...
5682 * sysdeps/sparc/sparc64/Makefile: and here.
5683
05f3d1f6
UD
56842012-03-28 Ulrich Drepper <drepper@gmail.com>
5685
5686 * malloc/mallocbug.c: Avoid warnings about unused variables.
5687
86ae07a8
JL
56882012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5689
5690 [BZ #13760]
5691 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5692 in the right place. Discard and retry query if response is
5693 larger than input buffer size.
5694
41bf21a1
JM
56952012-03-28 Joseph Myers <joseph@codesourcery.com>
5696
d6270972
JM
5697 [BZ #369]
5698 [BZ #2678]
5699 [BZ #3866]
5700 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5701 x for large integer exponent.
5702 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5703 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5704 sign of result as needed afterwards.
5705 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5706 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5707 result for underflowing pow the same as for overflow.
5708 (__kernel_standard_l): Handle powl overflow and underflow here
5709 rather than calling __kernel_standard.
5710 * math/libm-test.inc (pow_test): Add more tests.
5711
414fca03 5712 [BZ #3868]
41bf21a1
JM
5713 [BZ #13879]
5714 [BZ #13910]
5715 [BZ #13911]
5716 [BZ #13912]
5717 [BZ #13913]
5718 [BZ #13915]
5719 [BZ #13916]
5720 [BZ #13917]
5721 [BZ #13918]
5722 [BZ #13919]
5723 [BZ #13920]
5724 [BZ #13921]
5725 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5726 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5727 (__kernel_standard_l): New function.
5728 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5729 __kernel_standard.
5730 * math/w_acosl.c (__acosl): Likewise.
5731 * math/w_asinl.c (__asinl): Likewise.
5732 * math/w_atan2l.c (__atan2l): Likewise.
5733 * math/w_atanhl.c (__atanhl): Likewise.
5734 * math/w_coshl.c (__coshl): Likewise.
5735 * math/w_exp10l.c (__exp10l): Likewise.
5736 * math/w_exp2l.c (__exp2l): Likewise.
5737 * math/w_fmodl.c (__fmodl): Likewise.
5738 * math/w_hypotl.c (__hypotl): Likewise.
5739 * math/w_j0l.c (__j0l, __y0l): Likewise.
5740 * math/w_j1l.c (__j1l, __y1l): Likewise.
5741 * math/w_jnl.c (__jnl, __ynl): Likewise.
5742 * math/w_lgammal.c (__lgammal): Likewise.
5743 * math/w_log10l.c (__log10l): Likewise.
5744 * math/w_log2l.c (__log2l): Likewise.
5745 * math/w_logl.c (__logl): Likewise.
5746 * math/w_powl.c (__powl): Likewise.
5747 * math/w_remainderl.c (__remainderl): Likewise.
5748 * math/w_scalbl.c (sysv_scalbl): Likewise.
5749 * math/w_sinhl.c (__sinhl): Likewise.
5750 * math/w_sqrtl.c (__sqrtl): Likewise.
5751 * math/w_tgammal.c (__tgammal): Likewise.
5752 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5753 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5754 * math/libm-test.inc (acos_test): Add more tests.
5755 (acosh_test): Likewise.
5756 (asin_test): Likewise.
5757 (atanh_test): Likewise.
5758 (exp_test): Likewise.
5759 (exp10_test): Likewise.
5760 (exp2_test): Likewise.
5761 (expm1_test): Likewise.
5762 (lgamma_test): Likewise.
5763 (log_test): Likewise.
5764 (log10_test): Likewise.
5765 (log1p_test): Likewise.
5766 (log2_test): Likewise.
5767 (pow_test): Do not allow some spurious overflow exceptions.
5768 (sqrt_test): Add more tests.
5769 (tgamma_test): Likewise.
5770 (y0_test): Likewise.
5771 (y1_test): Likewise.
5772 (yn_test): Likewise.
5773
dd62fda6
AB
57742012-03-27 Anton Blanchard <anton@samba.org>
5775
5776 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5777 MAP_HUGETLB.
5778 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5779 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5780 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5781
1e3cdfda
AJ
57822012-03-27 David S. Miller <davem@davemloft.net>
5783
b855ab85
DM
5784 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5785
1e3cdfda
AJ
5786 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5787 have-as-vis3 check.
5788
57892012-03-27 Andreas Jaeger <aj@suse.de>
5790
5791 * sysdeps/x86_64/elf/configure.in: Moved to ...
5792 * sysdeps/x86_64/configure.in: ... here.
5793 * sysdeps/x86_64/elf/start.S: Moved to ...
5794 * sysdeps/x86_64/start.S: ... here.
5795 * sysdeps/x86_64/elf/configure: Delete.
5796
5797 * sysdeps/x86_64/configure.in: Merge contents from
5798 sysdeps/i386/configure.in (without i686 check).
5799
5800 * sysdeps/i386/elf/Versions: Merge into ...
5801 * sysdeps/i386/Versions: ... this.
5802 * sysdeps/i386/elf/Versions: Delete file.
5803 * sysdeps/i386/elf/start.S: Moved to ...
5804 * sysdeps/i386/start.S: ...here.
5805 * sysdeps/i386/elf/configure.in: Merge into...
5806 * sysdeps/i386/configure.in: ...here.
5807 * sysdeps/i386/elf/configure.in: Delete file.
5808 * sysdeps/i386/elf/configure: Delete file.
5809
5810 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5811 * debug/backtracesyms.c: ... here.
5812 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5813 * debug/backtracesymsfd.c: ... here.
5814 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5815 * sysdeps/generic/ifunc-sel.h: ... here.
5816
5817 * sysdeps/unix/i386/start.c: Delete file.
5818 * sysdeps/unix/sparc/start.c: Delete file.
5819 * sysdeps/unix/start.c: Delete file.
5820
5821 * sysdeps/sh/elf/configure.in: Moved to ...
5822 * sysdeps/sh/configure.in: ... here.
5823 * sysdeps/sh/elf/start.S: Moved to ...
5824 * sysdeps/sh/start.S: ... here.
5825 * sysdeps/sh/elf/configure: Delete file.
5826
5827 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5828 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5829 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5830 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5831 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5832 * sysdeps/powerpc/powerpc64/start.S: here.
5833 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5834 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5835 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5836 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5837 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5838
5839 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5840 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5841 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5842 * sysdeps/powerpc/powerpc32/start.S: ... here.
5843 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5844 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5845 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5846
5847 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5848 * sysdeps/powerpc/ifunc-sel.h: ... here.
5849 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5850 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5851
5852 * sysdeps/sparc/elf/configure.in: Moved to ...
5853 * sysdeps/sparc/configure.in: ... here.
5854 * sysdeps/sparc/elf/configure: Delete file.
5855 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5856 * sysdeps/sparc/sparc32/start.S: ... here.
5857 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5858 * sysdeps/sparc/sparc64/start.S: ... here.
5859 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5860 * sysdeps/sparc/sparc32/Makefile: ... this.
5861 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5862 * sysdeps/sparc/sparc64/Makefile: ... this.
5863
5864 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5865 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5866 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5867 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5868 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5869 * sysdeps/s390/s390-32/setjmp.S: ... here.
5870 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5871 * sysdeps/s390/s390-32/configure.in: ... here.
5872 * sysdeps/s390/s390-32/elf/configure: Delete file.
5873 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5874 * sysdeps/s390/s390-32/start.S: ... here.
5875
5876 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5877 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5878 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5879 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5880 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5881 * sysdeps/s390/s390-64/setjmp.S: ... here.
5882 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5883 * sysdeps/s390/s390-64/configure.in: ... here
5884 * sysdeps/s390/s390-64/elf/configure: Delete file.
5885 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5886 * sysdeps/s390/s390-64/start.S: ... here.
5887 * sysdeps/s390/s390-64/elf/configure: Delete.
5888
5889 * configure.in: Remove support for elf directories in sysdeps.
5890
5891 * configure: Regenerated.
5892 * sysdeps/i386/configure: Regenerated.
5893 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5894 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5895 * sysdeps/s390/s390-32/configure: Regenerated.
5896 * sysdeps/s390/s390-64/configure: Regenerated.
5897 * sysdeps/sh/configure: Regenerated.
5898 * sysdeps/sparc/configure: Regenerated.
5899 * sysdeps/x86_64/configure: Regenerated.
5900
a3f61311
AS
59012012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5902
c876e002
AS
5903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5904
a3f61311
AS
5905 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5906 denormal result into account.
5907
ac4c54f0
RM
59082012-03-25 Roland McGrath <roland@hack.frob.com>
5909
5910 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5911 Reported by Allan McRae <allan@archlinux.org>.
5912
6a9b9c02
JL
59132012-03-23 Jeff Law <law@redhat.com>
5914
5915 * nss/getnssent.c (__nss_getent): Fix typo.
5916
4c42a0c1
DM
59172012-03-23 David S. Miller <davem@davemloft.net>
5918
5919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5920
1532c7ac
L
59212012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5922
5923 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5924 to pad to uint64_t for each field.
5925 (dl_tls_index): Replace unsigned long with uint64_t.
5926
3ff42526
PP
59272012-03-23 Daniel Jacobowitz <dmj@google.com>
5928 Paul Pluzhnikov <ppluzhnikov@google.com>
5929
5930 [BZ #6528]
5931 * grp/Makefile (otherlibs): Don't set it.
5932 * inet/Makefile (otherlibs): Likewise.
5933 * login/Makefile (otherlibs): Likewise.
5934 * nscd/Makefile (otherlibs): Likewise.
5935 * posix/Makefile (otherlibs): Likewise.
5936 * pwd/Makefile (otherlibs): Likewise.
5937 * rt/Makefile (otherlibs): Likewise.
5938 * sunrpc/Makefile (otherlibs): Likewise.
5939 * nss/Makefile (otherlibs): Likewise.
5940 Add libnss_files to routines and static-only-routines.
5941 ($(objpfx)getent): Remove rule.
5942 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5943 static-only-routines.
5944
7c69cd14
JM
59452012-03-22 Joseph Myers <joseph@codesourcery.com>
5946
5947 [BZ #13892]
5948 * math/s_cexp.c: Include <float.h>.
5949 (__cexp): Handle exp result overflowing not necessarily
5950 overflowing both real and imaginary parts of result.
5951 * math/s_cexpf.c: Likewise.
5952 * math/s_cexpl.c: Likewise.
5953 * math/libm-test.inc (cexp_test): Add more tests.
5954 * sysdeps/i386/fpu/libm-test-ulps: Update.
5955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5956
81b035fe
L
59572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5958
5959 * include/link.h (ELFW): New macro.
5960 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5961 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5962
1da7940c
L
59632012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5964
5965 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5966 with uint64_t.
5967
b749dbb9
L
59682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5969
5970 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5971 declaration.
5972 (struct La_x32_retval): Likewise.
5973
2ff87f3f
L
59742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5975
5976 * sysdeps/x86_64/preconfigure.in: New file.
5977 * sysdeps/x86_64/preconfigure: New generated file.
5978
c0df8e69
JM
59792012-03-22 Joseph Myers <joseph@codesourcery.com>
5980
48e44791
JM
5981 [BZ #13824]
5982 * math/e_exp2l.c: Include <float.h>.
5983 (__ieee754_exp2l): Handle overflow and underflow cases
5984 separately. Only pass fractional part of argument to
5985 __ieee754_expl.
5986 * math/libm-test.inc (exp2_test): Add more tests.
5987
c0df8e69
JM
5988 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5989 negating x to take absolute value.
5990 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5991 Likewise.
5992 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5993 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5994 Likewise.
5995 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5996 computing low part if x was negated.
5997 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5998
c8e43ba7
L
59992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6000
6001 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6002 la_x32_gnu_pltexit.
6003 (pltexit): Cast int_retval to ptrdiff_t.
6004 * elf/tst-auditmod3b.c: Likewise.
6005 * elf/tst-auditmod4b.c: Likewise.
6006 * elf/tst-auditmod5b.c: Likewise.
6007 * elf/tst-auditmod6b.c: Likewise.
6008 * elf/tst-auditmod6c.c: Likewise.
6009 * elf/tst-auditmod7b.c: Likewise.
6010
6011 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6012 and x32_gnu_pltexit.
6013
6014 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6015 __ELF_NATIVE_CLASS.
6016 (La_x32_regs): New macro.
6017 (La_x32_retval): Likewise.
6018 (la_x32_gnu_pltenter): New function prototype.
6019 (la_x32_gnu_pltexit): Likewise.
6020
7998fa78
AS
60212012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6022
dcb33988
AS
6023 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6024 exponent.
6025
233fc563
AS
6026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6027
7998fa78
AS
6028 * configure.in (libc_cv_cc_nofma): Check for option to disable
6029 generation of FMA instructions.
6030 * configure: Regenerate.
6031 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6032 * sysdeps/ieee754/dbl-64/Makefile: New file.
6033 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6034 Remove brandred-fma4.
6035 (CFLAGS-brandred-fma4.c): Remove.
6036 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6037 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6038 define.
6039 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6040 define.
6041
8e95c99a
L
60422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6043
6044 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6045 LLONG_MAX != LONG_MAX.
6046 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6047 (_fitoa_word): Likewise.
6048 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6049 LLONG_MAX != LONG_MAX.
6050 * stdio-common/_itowa.h: Include <_itoa.h>.
6051 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6052 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6053 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6054 only if not defined.
6055 (_ITOA_WORD_TYPE): Likewise.
6056 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6057 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6058
6f4db457
DM
60592012-03-21 David S. Miller <davem@davemloft.net>
6060
6061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6062
7785fe5a
L
60632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6064
6065 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6066 of x86_64 when setting libc_cv_slibdir, libdir and
6067 libc_cv_localedir.
6068 * sysdeps/unix/sysv/linux/configure: Regenerated.
6069
4535cd55
JM
60702012-03-21 Joseph Myers <joseph@codesourcery.com>
6071
6072 * manual/lang.texi (Old Varargs): Remove section.
6073 (How Variadic): Update menu.
6074 (va_start): Do not mention varargs.h.
6075
17228132
TS
60762012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6077 Joseph Myers <joseph@codesourcery.com>
6078
6079 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6080 link test.
6081 * configure: Regenerated.
6082
8149f976
TS
60832012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6084
05f3d1f6
UD
6085 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6086 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6087 conformtest.pl
8149f976 6088
1a4ac776
JM
60892012-03-21 Joseph Myers <joseph@codesourcery.com>
6090
be22ce65
JM
6091 * NOTES: Remove.
6092 * Makefile (files-for-dist): Remove NOTES.
6093 (NOTES): Remove rule.
6094 * README: Don't refer to NOTES.
6095 * manual/creature.texi: Don't include macros.texi.
6096 * manual/intro.texi (creature.texi): Remove comment referring to
6097 NOTES.
6098
40b601fb
JM
6099 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6100 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6101 * configure: Regenerated.
6102 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6103 LIBC_TRY_CC_OPTION.
6104 (libc_cv_as_i686): Likewise.
6105 (libc_cv_cc_avx): Likewise.
6106 (libc_cv_cc_sse2avx): Likewise.
6107 (libc_cv_cc_fma4): Likewise.
6108 (libc_cv_cc_novzeroupper): Likewise.
6109 * sysdeps/i386/configure: Regenerated.
6110
1a4ac776
JM
6111 [BZ #13883]
6112 * sysdeps/i386/fpu/s_cexp.S: Remove.
6113 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6114 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6115 * math/libm-test.inc (cexp_test): Add more tests.
6116 * sysdeps/i386/fpu/libm-test-ulps: Update.
6117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6118
a458e7fe
AM
61192012-03-21 Allan McRae <allan@archlinux.org>
6120
6121 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6122
0cb7efc5
JM
61232012-03-21 Joseph Myers <joseph@codesourcery.com>
6124
6125 [BZ #13871]
6126 * math/w_exp2.c: Do not include <float.h>.
6127 (o_threshold, u_threshold): Remove.
6128 (__exp2): Calculate result before checking finiteness and calling
6129 __kernel_standard.
6130 * math/w_exp2f.c: Likewise.
6131 * math/w_exp2l.c: Likewise.
6132 * math/libm-test.inc (exp2_test): Require overflow exception for
6133 1e6 input.
2460d3aa
JM
6134
6135 [BZ #3866]
6136 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6137 range of signed 64-bit integers before using fistpll. Remove
6138 checks for whether integers fit in mantissa bits.
6139 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6140 the range of signed 32-bit integers before using fistpl. Remove
6141 checks for whether integers fit in mantissa bits.
6142 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6143 (__ieee754_powl): Test for y outside the range of signed 64-bit
6144 integers before using fistpll. Reduce 64-bit values to 63-bit
6145 ones as needed.
6146 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6147 divide-by-zero is raised for zero to large negative powers.
6148 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6149 (__ieee754_powl): Test for y outside the range of signed 64-bit
6150 integers before using fistpll. Reduce 64-bit values to 63-bit
6151 ones as needed.
6152 * math/libm-test.inc (pow_test): Add more tests.
6153
eb96ffb0
L
61542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6155
6156 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6157 <stdio-common/_itoa.h>.
6158 * debug/segfault.c: Likewise.
6159 * elf/dl-cache.c: Likewise.
6160 * elf/dl-minimal.c: Likewise.
6161 * elf/dl-misc.c: Likewise.
6162 * elf/dl-sysdep.c: Likewise.
6163 * elf/dl-version.c: Likewise.
6164 * elf/rtld.c: Likewise.
6165 * hurd/hurdsock.c: Likewise.
6166 * hurd/lookup-retry.c: Likewise.
6167 * malloc/malloc.c: Likewise.
6168 * malloc/mtrace.c: Likewise.
6169 * nscd/nscd_getgr_r.c: Likewise.
6170 * nscd/nscd_getpw_r.c: Likewise.
6171 * nscd/nscd_getserv_r.c: Likewise.
6172 * posix/getopt_init.c: Likewise.
6173 * posix/wordexp.c: Likewise.
6174 * stdio-common/_itoa.c: Likewise.
6175 * stdio-common/printf_fphex.c: Likewise.
6176 * stdio-common/vfprintf.c: Likewise.
6177 * string/_strerror.c: Likewise.
6178 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6179 * sysdeps/i386/i686/hp-timing.h: Likewise.
6180 * sysdeps/mach/_strerror.c: Likewise.
6181 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6182 * sysdeps/mach/hurd/sethostid.c: Likewise.
6183 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6184 * sysdeps/mach/xpg-strerror.c: Likewise.
6185 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6186 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6187 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6188 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6189 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6190 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6191 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6192 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6193 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6194 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6195 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6196 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6197 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6198 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6199 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6200 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6201 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6202 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6203 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6204 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6205 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6206
6207 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6208
6209 * stdio-common/_itoa.h: Moved to ...
6210 * sysdeps/generic/_itoa.h: Here.
6211
6212 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6213
6214 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6215 instead of "_itoa.h" and "_itowa.h".
6216 * stdio-common/vfprintf.: Likewise.
6217
d1af992d
L
62182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6219
6220 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6221 <bits/wordsize.h>.
6222 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6223 (__signbit): Likwise.
6224 (llrintf): Likwise.
6225 (llrint): Likwise.
6226
114883e0
L
62272012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6228
6229 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6230 __WORDSIZE != 64.
6231
c135cc1b
JM
62322012-03-20 Joseph Myers <joseph@codesourcery.com>
6233
6234 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6235 OVERFLOW_EXCEPTION_OK.
6236 * math/libm-test.inc ("Philosophy"): Update comment about
6237 exception testing.
6238 (OVERFLOW_EXCEPTION): Define.
6239 (OVERFLOW_EXCEPTION_OK): Likewise.
6240 (INVALID_EXCEPTION_OK): Renumber.
6241 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6242 (IGNORE_ZERO_INF_SIGN): Likewise.
6243 (test_exceptions): Handle FE_OVERFLOW.
6244 (exp10_test): Expect overflow exceptions.
6245 (exp2_test): Likewise.
6246 (expm1_test): Likewise.
6247 (nextafter_test): Likewise.
6248 (pow_test): Likewise.
6249 (scalbn_test): Likewise.
6250 (scalbln_test): Likewise.
6251
95443d88
L
62522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6253
6254 * sysdeps/x86_64/bits/atomic.h
6255 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6256 64bit integer.
6257 (atomic_exchange_acq): Likewise.
6258 (__arch_exchange_and_add_body): Likewise.
6259 (__arch_add_body): Likewise.
6260 (atomic_add_negative): Likewise.
6261 (atomic_add_zero): Likewise.
6262
490df6c4
L
62632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6264
c2722551 6265 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6266 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6267
5e52b189
L
62682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6269
6270 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6271 Check __x86_64__ instead of __WORDSIZE.
6272
a9879d4c
L
62732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6274
6275 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6276
5df98260
DM
62772012-03-19 David S. Miller <davem@davemloft.net>
6278
e1497744
DM
6279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6280
5df98260
DM
6281 * sysdeps/sparc/fpu/fenv_private.h: New file.
6282 * sysdeps/sparc/fpu/math_private.h: Use it.
6283 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6284 Remove.
6285 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6286 (libc_feholdexcept_setroundl): Remove.
6287 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6288 Remove.
6289 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6290 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6291
b4c35121
L
62922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6293
6294 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6295 int64_t instead of long int.
6296 (INSERT_WORDS64): Likwise.
6297
56965fd7
L
62982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6299
6300 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6301 _Unwind_GetCFA return to _Unwind_Ptr first.
6302
83d1aec8
JM
63032012-03-19 Joseph Myers <joseph@codesourcery.com>
6304
1897ad44
JM
6305 [BZ #13629]
6306 * math/s_clog.c: Include <float.h>.
6307 (__clog): Scale large or subnormal inputs.
6308 * math/s_clogf.c: Likewise.
6309 * math/s_clogl.c: Likewise.
6310 * math/s_clog10.c: Include <float.h>.
6311 (M_LOG10_2): Define.
6312 (__clog10): Scale large or subnormal inputs.
6313 * math/s_clog10f.c: Likewise.
6314 * math/s_clog10l.c: Likewise.
6315 * math/libm-test.inc (clog_test): Add more tests.
6316 (clog10_test): Likewise.
6317 * sysdeps/i386/fpu/libm-test-ulps: Update.
6318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6319
7726d6a9
JM
6320 [BZ #11451]
6321 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6322 x and y.
6323 * math/libm-test.inc (atan2_test): Add another test.
6324
83d1aec8
JM
6325 * Makerules (common-objdir-compile): Remove.
6326 * sysdeps/unix/Makefile (config-generated): Do not add
6327 $(unix-generated) to variable.
6328 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6329 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6330 Remove rule.
6331 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6332 Likewise.
6333 [generic bits/local_lim.h] (before-compile): Do not append to
6334 variable.
6335 [generic bits/local_lim.h] (common-generated): Likewise.
6336 [generic sys/param.h] (before-compile): Do not append to variable.
6337 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6338 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6339 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6340 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6341 include.
6342 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6343 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6344 [generic sys/param.h] ($(addprefix
6345 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6346 [generic sys/param.h] (common-generated): Do not append to
6347 variable.
6348 [generic sys/param.h] (sysdep_headers): Likewise.
6349 [generic bits/errno.h] (before-compile): Do not append to
6350 variable.
6351 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6352 rule.
6353 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6354 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6355 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6356 [generic bits/errno.h] (common-generated): Do not append to
6357 variable.
6358 [generic bits/ioctls.h] (before-compile): Do not append to
6359 variable.
6360 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6361 rule.
6362 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6363 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6364 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6365 rule.
6366 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6367 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6368 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6369 [generic bits/ioctls.h] (common-generated): Do not append to
6370 variable.
6371 [generic sys/syscall.h] (syscall.h): Remove variable.
6372 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6373 rule.
6374 [generic sys/syscall.h] (before-compile): Do not append to
6375 variable.
6376 [generic sys/syscall.h] (common-generated): Likewise.
6377 * sysdeps/unix/errnos-tmpl.c: Remove file.
6378 * sysdeps/unix/errnos.awk: Likewise.
6379 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6380 * sysdeps/unix/ioctls.awk: Likewise.
6381 * sysdeps/unix/mk-local_lim.c: Likewise.
6382 * sysdeps/unix/snarf-ioctls: Likewise.
6383
4851a949
RH
63842012-03-19 Richard Henderson <rth@twiddle.net>
6385
bd37f2ee
RH
6386 * sysdeps/i386/fpu/fenv_private.h: New file.
6387 * sysdeps/i386/fpu/math_private.h: Use it.
6388 (math_opt_barrier, math_force_eval): Remove.
6389 (libc_feholdexcept_setround_53bit): Remove.
6390 (libc_feupdateenv_53bit): Remove.
6391 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6392 (math_opt_barrier, math_force_eval): Remove.
6393 (libc_feholdexcept): Remove.
6394 (libc_feholdexcept_setround): Remove.
6395 (libc_fetestexcept, libc_fesetenv): Remove.
6396 (libc_feupdateenv_test): Remove.
6397 (libc_feupdateenv, libc_feholdsetround): Remove.
6398 (libc_feresetround): Remove.
6399
d0adc922
RH
6400 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6401 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6402
0fe0f1f8
RH
6403 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6404 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6405 (libc_feupdateenv_testl): New.
6406 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6407 (libc_feupdateenv_testf): New.
6408 (libc_feupdateenv): Use libc_feupdateenv_test.
6409 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6410 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6411
eb92c487
RH
6412 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6413 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6414 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6415 (libc_feresetround_noex): New.
6416 (libc_feresetround_noexf): New.
6417 (libc_feresetround_noexl): New.
6418 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6419 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6420 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6421 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6422 SET_RESTORE_ROUND.
6423 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6424 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6425 (__cos): Likewise.
6426 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6427 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6428 SET_RESTORE_ROUND_NOEX.
6429 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6430 SET_RESTORE_ROUND_NOEXF.
6431 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6432 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6433 (libc_feholdsetroundf): New.
6434 (libc_feresetround, libc_feresetroundf): New.
6435
7d2e8012
RH
6436 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6437 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6438 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6439
b4dabbb4
RH
6440 * sysdeps/generic/math_private.h: Include <fenv.h>.
6441 (default_libc_feholdexcept): New.
6442 (default_libc_feholdexcept_setround): New.
6443 (default_libc_fesetenv, default_libc_feupdateenv): New.
6444 (libc_feholdexcept): Only define if undefined.
6445 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6446 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6447 (libc_feholdexcept_setroundl): Likewise.
6448 (libc_feholdexcept_setround_53bit): Likewise.
6449 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6450 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6451 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6452 (libc_feupdateenv_53bit): Likewise.
6453 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6454 (libc_feholdexcept): Convert from macro to inline function.
6455 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6456 (libc_fesetenv, libc_feupdateenv): Likewise.
6457
4851a949
RH
6458 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6459 not previously defined.
6460 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6461 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6462 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6463 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6464 * sysdeps/ieee754/flt-32/math_private.h: New file.
6465 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6466 math_private.h below SET_FLOAT_WORD.
6467 (__isnan, __isinf_ns, __finite): Remove.
6468 (__isnanf, __isinf_nsf, __finitef): Remove.
6469
e79d442e
AS
64702012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6471
6472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6473
90b80344
DM
64742012-03-17 David S. Miller <davem@davemloft.net>
6475
6476 [BZ #6471]
6477 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6478 for 2.16.
6479
edc21804
DM
64802012-03-16 David S. Miller <davem@davemloft.net>
6481
77e927af
DM
6482 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6483 warnings.
6484
374976dd
DM
6485 [BZ #6471]
6486 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6487 properly.
6488 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6489 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6490 sysdep_routines when subdir is sysvipc.
6491 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6492 __getshmlba helper.
6493
edc21804
DM
6494 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6495
473c3ef3
L
64962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6497
6498 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6499 [__LP64__].
6500
eb0f39b6
L
65012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6502
6503 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6504 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6505 (__lround): Renamed to ...
6506 (__llround): This. Replace long int with long long int.
6507 Define lround functions as aliases of llround functions.
6508 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6509
6b6cd74b
L
65102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6511
6512 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6513 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6514 adresses to uintptr_t. Replace "long int" and "unsigned long
6515 int" with "greg_t" on va_arg.
6516
f1a77b01
L
65172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6518
6519 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6520 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6521
6522 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6523 Move e_machine check before EI_CLASS check. Handle x32
6524 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6525 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6526 SKIP_EM_IA_64 and include
6527 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6528
6529 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6530 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6531 (add_system_dir): New macro.
6532
6533 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6534 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6535
11b90b9f
JM
65362012-03-16 Joseph Myers <joseph@codesourcery.com>
6537
c36e1d23
JM
6538 [BZ #2551]
6539 [BZ #2552]
6540 [BZ #2553]
6541 [BZ #2554]
6542 [BZ #2562]
6543 [BZ #2563]
6544 [BZ #2565]
6545 [BZ #2566]
6546 [BZ #2576]
6547 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6548 (y0): Likewise.
6549 * math/w_j0f.c (j0f): Likewise.
6550 (y0f): Likewise.
6551 * math/w_j0l.c (__j0l): Likewise.
6552 (__y0l): Likewise.
6553 * math/w_j1.c (j1): Likewise.
6554 (y1): Likewise.
6555 * math/w_j1f.c (j1f): Likewise.
6556 (y1f): Likewise.
6557 * math/w_j1l.c (__j1l): Likewise.
6558 (__y1l): Likewise.
6559 * math/w_jn.c (jn): Likewise.
6560 (yn): Likewise.
6561 * math/w_jnf.c (jnf): Likewise.
6562 (ynf): Likewise.
6563 * math/w_jnl.c (__jnl): Likewise.
6564 (__ynl): Likewise.
6565 * math/libm-test.inc (j0_test): Add more tests.
6566 (j1_test): Likewise.
6567 (jn_test): Likewise. Add trailing semicolon to existing test.
6568 (y0_test): Likewise.
6569 (y1_test): Likewise.
6570 * sysdeps/i386/fpu/libm-test-ulps: Update.
6571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6572
11b90b9f
JM
6573 [BZ #13851]
6574 [BZ #13854]
6575 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6576 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6577 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6578 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6579 (__tanl): Set errno for infinite argument.
6580 * sysdeps/i386/fpu/mptan.c: Remove.
6581 * sysdeps/i386/fpu/s_tan.S: Likewise.
6582 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6583 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6584 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6585 * math/libm-test.inc (tan_test): Add more tests and enable more
6586 tests for double and long double.
6587 * sysdeps/i386/fpu/libm-test-ulps: Update.
6588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6589
6a1bd2a1
JK
65902012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6591
6592 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6593 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6594
10a803e0
RM
65952012-03-16 Roland McGrath <roland@hack.frob.com>
6596
6597 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6598 * configure.in: Use it for both main tree and add-ons.
6599 * configure: Regenerated.
6600
f196c7f7
L
66012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6602
6603 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6604
8848d99d
JM
66052012-03-16 Joseph Myers <joseph@codesourcery.com>
6606
96cbe7f4
JM
6607 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6608 in comment.
6609
8848d99d
JM
6610 [BZ #13851]
6611 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6612 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6613 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6614 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6615 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6616 infinite argument.
6617 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6618 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6619 != 0 for prec == 2.
6620 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6621 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6622 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6623 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6624 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6625 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6626 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6627 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6628 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6629 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6630 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6631 * math/libm-test.inc (cos_test): Add more tests and enable more
6632 tests for long double.
6633 (sin_test): Likewise.
6634 (sincos_test): Likewise.
6635 * sysdeps/i386/fpu/libm-test-ulps: Update.
6636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6637
dd7f4703
DM
66382012-03-16 David S. Miller <davem@davemloft.net>
6639
6640 * sysdeps/sparc/fpu/math_private.h: New file.
6641
006f1daa
DM
66422012-03-15 David S. Miller <davem@davemloft.net>
6643
c0c83bc8
DM
6644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6645 file.
e6a62e18 6646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6648 file.
e6a62e18
DM
6649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6651 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6653 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6654 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6655 sysdep routines.
6656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6657
88cb87d9
DM
6658 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6659 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6660
006f1daa 6661 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6663 sparc-ifunc.h
006f1daa 6664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6666 Likewise.
6667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6668 Likewise.
006f1daa
DM
6669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6673 Likewise.
006f1daa
DM
6674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6679 Likewise.
6680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6681 Likewise.
006f1daa
DM
6682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6686 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6687 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6688 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6689 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6690 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6691 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6700 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6701 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6702 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6703 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6704 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6705 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6706
11e0098e
AS
67072012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6708
6709 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6710 scaling.
6711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6712
e85b09d0
AJ
67132012-03-15 Andreas Jaeger <aj@suse.de>
6714
6715 [BZ #13852]
6716 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6717 ieee754/flt-32 implementation for sin, cos and sincos.
6718 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6719 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6720 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6721 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6722 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6723 ieee754/flt-32 implementation for tan.
6724
6725 * math/libm-test.inc (cos_test): Enable some large input tests for
6726 float as well
6727 (sin_test): Likewise.
6728 (sincos_test): Likewise.
6729 (tan_test): Add tests for large input.
6730
6731 * sysdeps/i386/fpu/libm-test-ulps: Update.
6732
81c64153
AJ
67332012-03-15 Andreas Jaeger <aj@suse.de>
6734
6735 [BZ #13658]
6736 * math/libm-test.inc (cos_test): Add more test cases.
6737 (sin_test): Likewise.
6738 (sincos_test): Likewise.
6739
7bbfa5c6
AJ
67402012-03-15 Andreas Jaeger <aj@suse.de>
6741
6742 [BZ #13837]
6743 * math/libm-test.inc (cos_test): Add a test case for large input
6744 value.
6745 (sin_test): Likewise.
6746 (sincos_test): Likewise.
6747
67482012-03-15 Andreas Jaeger <aj@suse.de>,
6749 Joseph Myers <joseph@codesourcery.com>
6750
6751 [BZ #13658]
0671f479 6752 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6753 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6754 * sysdeps/i386/fpu/branred.c: Likewise.
6755 * sysdeps/i386/fpu/dosincos.c: Likewise.
6756 * sysdeps/i386/fpu/mpa.c: Likewise.
6757 * sysdeps/i386/fpu/s_cos.S: Likewise.
6758 * sysdeps/i386/fpu/s_sin.S: Likewise.
6759 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6760 * sysdeps/i386/fpu/sincos32.c: Likewise.
6761
6762 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6763 Define.
6764 (libc_feupdateenv_53bit): Define.
6765 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6766 Define.
6767 (libc_feupdateenv_53bit): Define.
6768
6769 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6770 53 bit (without extend i386 double precision).
6771
6772 * math/libm-test.inc (sincos_test): Add tests for large input.
6773 (sin): Likewise.
6774 (cos): Likewise.
6775
6776 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6777
9cad04ea
AS
67782012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6779
6780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6781
f7062b9a
DM
67822012-03-15 David S. Miller <davem@davemloft.net>
6783
6784 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6785 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6786 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6787 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6795 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6796 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6797 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6798 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6800 file.
f7062b9a 6801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6803 file.
f7062b9a 6804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6806 file.
f7062b9a 6807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6809 file.
f7062b9a
DM
6810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6811 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6812 fmin/fmax sysdep routines.
6813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6814
7bd951ff
DM
68152012-03-14 David S. Miller <davem@davemloft.net>
6816
559398ab
DM
6817 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6818 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6819 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6820 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6821 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6822 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6823 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6824 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6825 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6826 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6827 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6828 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6829 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6830 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6831 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6832 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6833 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6837 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6838 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6839 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6840 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6841 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6842 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6843 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6844 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6845 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6846 routines.
6847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6848 file.
559398ab 6849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6851 file.
559398ab 6852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6854 file.
559398ab 6855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6857 file.
559398ab 6858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6860 file.
559398ab 6861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6863 file.
6864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6865 file.
6866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6867 file.
6868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6869 file.
6870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6871 New file.
6872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6873 file.
6874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6875 file.
559398ab 6876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6878 file.
559398ab 6879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6881 file.
559398ab 6882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6884 file.
559398ab 6885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6887 VIS3 routines.
559398ab
DM
6888
6889 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6890 New file.
6891
5a1c1e32
DM
6892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6893
eae47a36
DM
6894 * sysdeps/sparc/configure.in: New file.
6895 * sysdeps/sparc/configure: Generate.
6896 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6897 * configure: Regenerate.
6898 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6899 * config.make.in (have-as-vis3): New.
6900 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6901 available use -Av9d instead of -Av9a.
6902 * sysdeps/sparc/sparc64/Makefile: Likewise.
6903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6905 New file.
6906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6907 file.
6908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6909 New file.
6910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6911 file.
eae47a36
DM
6912 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6913 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6914 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6915 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6916 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6917
c0c83bc8
DM
6918 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6919 fzeros/fnegs to load 0x80000000 into a float register instead of
6920 using the stack.
7bd951ff
DM
6921 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6922
bd951ccb
JM
69232012-03-14 Joseph Myers <joseph@codesourcery.com>
6924
6925 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6926 bits/syscall.h.
6927 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6928 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6929 ($(inst_includedir)/bits/syscall.h): Remove rule.
6930 ($(objpfx)bits/syscall.d): Include instead of
6931 $(objpfx)syscall-list.d.
6932 (generated): Change syscall-list.h and syscall-list.d to
6933 bits/syscall.h and bits/syscall.d.
6934
bb4e6db2
RM
69352012-03-14 Roland McGrath <roland@hack.frob.com>
6936
6937 [BZ #13846]
6938 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6939
aa4a2ae1
JM
69402012-03-14 Joseph Myers <joseph@codesourcery.com>
6941
e456826d
JM
6942 [BZ #13841]
6943 * math/s_csqrt.c: Include <float.h>.
6944 (__csqrt): Scale large or subnormal inputs.
6945 * math/s_csqrtf.c: Likewise.
6946 * math/s_csqrtl.c: Likewise.
6947 * math/libm-test.inc (csqrt_test): Add more tests.
6948 * sysdeps/i386/fpu/libm-test-ulps: Update.
6949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6950
aa4a2ae1
JM
6951 [BZ #13840]
6952 * math/libm-test.inc (hypot_test): Add more tests.
6953
7c10fd35
DM
69542012-03-13 David S. Miller <davem@davemloft.net>
6955
6956 [BZ #13840]
6957 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6958 double-precision for the calculation instead of scaling.
6959
f453b98b
JM
69602012-03-13 Joseph Myers <joseph@codesourcery.com>
6961
6962 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6963 manipulate bits before adding and subtracting TWO52[sx].
6964 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6965 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6966 Likewise.
6967 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6968
09a3453f
DM
69692012-03-13 David S. Miller <davem@davemloft.net>
6970
8e59da90
DM
6971 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6972 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6973 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6974 rtld-global-offsets.h
6975 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6976
2a8ab7f2
DM
6977 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6978 large parameters.
6979
10f62770
DM
6980 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6981
5f0bdb18
DM
6982 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6983 'err' in the ifdef scope in which it is actually used.
6984
09a3453f
DM
6985 * nss/nss_db/db-init.c: Include string.h
6986
b4b2eb5e
DM
69872012-03-12 David S. Miller <davem@davemloft.net>
6988
98bb2f1c
DM
6989 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6990 masking out of the most significant byte of random value used.
6991 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6992 Fix coding style in previous change.
6993
b4b2eb5e
DM
6994 * sysdeps/unix/sysv/linux/kernel-features.h
6995 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6996 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6997 expression.
6998 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6999 later.
7000
6e226b09
DM
70012012-03-11 David S. Miller <davem@davemloft.net>
7002
a1bcbd40
DM
7003 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7004 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7005 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7006 for 'resultvar' otherwise things get truncated on 64-bit.
7007
cb9d6174
DM
7008 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7009 Fix masking out of the most significant byte of random value used.
7010
6e226b09
DM
7011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7012
058c132d
AS
70132012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7014
7015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7016
2d2cd515
DM
70172012-03-09 David S. Miller <davem@davemloft.net>
7018
7019 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7020 variables with appropriate CPP guards.
7021 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7022 frame pointer, not the stack pointer. Correct layout comments. Fix test
7023 on resulting framesize and the management of the outregs buffer for pltexit.
7024 Preserve floating point return values across _dl_call_pltexit call.
7025 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7026 framesize and the management of the outregs buffer for pltexit.
7027 Preserve floating point return values across _dl_call_pltexit
7028 call.
7029 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7030 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7031 (print_exit): Fix format string for return register value.
7032
9a07f9d0
JM
70332012-03-10 Joseph Myers <joseph@codesourcery.com>
7034
7035 * sunrpc/Makefile (others): Add rpcgen.
7036 ($(objpfx)rpcgen): Remove special build rule and dependency on
7037 libc.
7038 * sunrpc/rpcgen.c: New file.
7039
547b5e30
PE
70402012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7041
c524201a
PE
7042 [BZ #13673]
7043 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7044 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7045 * sysdeps/i386/crti.S: Likewise.
7046 * sysdeps/i386/crtn.S: Likewise.
7047 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7048 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7049 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7050 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7051 * sysdeps/sh/crti.S: Likewise.
7052 * sysdeps/sh/crtn.S: Likewise.
7053 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7054
7b6235f2
PE
7055 [BZ #13673]
7056 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7057 with URL.
7058 * locale/programs/locfile-kw.gperf: Likewise.
7059 * locale/programs/charmap-kw.h: Regenerated.
7060 * locale/programs/locfile-kw.h: Likewise.
7061
547b5e30
PE
7062 [BZ #13673]
7063 * intl/plural.y: Replace FSF snail mail address with URL.
7064 * intl/plural.c: Regenerated.
7065
5f0a5dae
RH
70662012-03-09 Richard Henderson <rth@twiddle.net>
7067
7068 * include/math_private.h: Remove file.
7069 * math/math_private.h: Move file ...
7070 * sysdeps/generic/math_private.h: ... here.
7071
b8c03620
RH
7072 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7073 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7074 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7075
4e234f5d 7076 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
7077 and <math_private.h>.
7078 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7079 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7080 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7081 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7082 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7083 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7084 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7085 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7086 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7087 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7088 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7089 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7090 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7091 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7092 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7093 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7094 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7095 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7096 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7097 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7098 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7099 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7100 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7101 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7102 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7103 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7104 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7105 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7106 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7107 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7108 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7109 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7110 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7111 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7112 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7113 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7114 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7115 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7116 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7117 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7118 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7119 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7120 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7121 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7122 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7123 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7124 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7125 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7126 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7127 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7128 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7129 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7130 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7131 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7132 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7133 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7134 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7135 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7136 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7137 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7138 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7139 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7140 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7141 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7142 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7143 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7144 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7145 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7146 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7147 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7148 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7149 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7150 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7151 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7152 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7153 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7154 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7155 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7156 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7157 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7158 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7159 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7160 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7161 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7162 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7163 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7164 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7165 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7166 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7167 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7168 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7169 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7170 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7171 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7172 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7173 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7174 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7175 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7176 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7177 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7178 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7179 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7180 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7181 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7182 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7183 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7184 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7185 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7186 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7187 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7188 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7189 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7190 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7191 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7192 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7193 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7194 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7195 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7196 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7197 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7198 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7199 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7200 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7201 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7202 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7203 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7204 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7205 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7206 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7207 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7208 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7209 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7210 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7211 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7212 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7213 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7214 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7215 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7216 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7217 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7218 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7219 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7220 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7221 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7222 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7223 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7224 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7225 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7226 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7227 * sysdeps/ieee754/k_standard.c: Likewise.
7228 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7229 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7230 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7231 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7232 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7233 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7234 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7235 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7236 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7237 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7238 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7239 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7240 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7241 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7242 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7243 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7244 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7245 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7246 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7247 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7248 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7249 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7250 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7251 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7252 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7253 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7254 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7255 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7256 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7257 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7258 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7259 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7260 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7261 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7262 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7263 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7264 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7265 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7266 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7267 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7268 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7269 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7270 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7271 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7272 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7274 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7275 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7276 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7277 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7278 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7279 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7280 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7281 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7282 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7283 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7284 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7285 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7286 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7287 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7288 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7289 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7290 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7291 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7292 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7293 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7294 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7295 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7296 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7297 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7298 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7299 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7300 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7301 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7302 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7303 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7304 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7305 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7306 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7307 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7308 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7309 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7310 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7311 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7312 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7313 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7314 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7315 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7316 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7317 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7318 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7319 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7320 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7321 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7322 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7323 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7324 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7325 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7326 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7327 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7328 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7329 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7330 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7331 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7332 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7333 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7334 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7335 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7336 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7337 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7338 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7339 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7340 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7341 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7342 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7343 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7344 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7345 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7346 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7347 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7348 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7349 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7350 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7351 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7352 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7353 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7354 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7355 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7356 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7357 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7358 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7359 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7360 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7361 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7362 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7363 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7364 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7365 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7366 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7367 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7368 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7369 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7370 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7371 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7372 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7373 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7374 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7375 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7376 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7377 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7378 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7379 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7380 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7381 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7382 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7383 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7384 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7385 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7386 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7387 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7388 * sysdeps/ieee754/s_lib_version.c: Likewise.
7389 * sysdeps/ieee754/s_matherr.c: Likewise.
7390 * sysdeps/ieee754/s_signgam.c: Likewise.
7391 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7392 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7393 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7394 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7395 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7396 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7397 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7398 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7399 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7400 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7401 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7402 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7403 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7404 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7405 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7406 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7407 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7408 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7409 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7410 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7411 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7412
1991fa03
JM
74132012-03-09 Joseph Myers <joseph@codesourcery.com>
7414
7415 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7416 * sunrpc/rpc_main.c: Likewise.
7417 * sunrpc/rpc_svcout.c: Likewise.
7418
60d6f5a6
DM
74192012-03-09 David S. Miller <davem@davemloft.net>
7420
7421 * include/math_private.h: New file.
7422
4962050e
JM
74232012-03-09 Joseph Myers <joseph@codesourcery.com>
7424
02a6f887
JM
7425 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7426 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7427 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7428 from <bits/socket_type.h>.
7429 (enum __socket_type): Don't define here.
7430 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7431 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7432 bits/socket_type.h.
7433
c6e013c1
JM
7434 [BZ #13566]
7435 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7436 checking __USE_GNU.
7437
4962050e
JM
7438 * Makerules ($(inst_includedir)/%.h): New rule.
7439 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7440 (install-others): Remove variable setting.
7441 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7442
38842f45
RH
74432012-03-08 Richard Henderson <rth@twiddle.net>
7444
67bb6da6
RH
7445 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7446 from macro to inline function; merge with the
7447 !__LIBC_INTERNAL_MATH_INLINES version.
7448 (__ieee754_sqrtf): Likewise.
7449
15194b4b
RH
7450 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7451 to inline function.
7452 (__rintf, __floor, __floorf): Likewise.
7453
64e21ede
RH
7454 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7455 macro to inline function.
7456 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7457
38842f45
RH
7458 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7459 not <math/math_private.h>.
7460
c64bf5fe
DM
74612012-03-08 David S. Miller <davem@davemloft.net>
7462
7463 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7464 copyright year.
7465 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7466
82d86f28
TS
74672012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7468
7469 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7470 normalization.
7471 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7472 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7473
aea5d727
UD
74742012-03-08 Ulrich Drepper <drepper@gmail.com>
7475
7476 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7477 be defined individually, they must be defined as a block. Define
7478 S for printing a string instead of hidint the different by using a
7479 macro for adding the 'l'.
7480 * stdio-common/tst-fphex-wide.c: Adjust.
7481
70bca0a3
MP
74822012-03-07 Marek Polacek <polacek@redhat.com>
7483
7484 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7485
65b81130
MP
74862012-03-08 Marek Polacek <polacek@redhat.com>
7487
7488 [BZ #13806]
7489 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7490 * stdio-common/tst-fphex.c: Define a few macros to make the
7491 test reusable. Use them.
7492 * stdio-common/tst-fphex-wide.c: New file.
7493
07037eeb
JM
74942012-03-08 Joseph Myers <joseph@codesourcery.com>
7495
a7a93d50
JM
7496 [BZ #6911]
7497 * manual/macros.texi (gnusystems): New macro.
7498 (nongnusystems): Likewise.
7499 (gnulinuxhurdsystems): Likewise.
7500 (gnuhurdsystems): Likewise..
7501 (gnulinuxsystems): Likewise.
7502 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7503 variants of the GNU system, not "GNU system".
7504 * manual/conf.texi: Likewise.
7505 * manual/errno.texi: Likewise. Update example of errno macro
7506 expansion.
7507 * manual/filesys.texi: Likewise.
7508 (getumask): Document as specific to GNU/Hurd.
7509 * manual/install.texi: Likewise. Reword some references to
7510 GNU/Linux.
7511 * manual/intro.texi: Likewise.
7512 * manual/io.texi: Likewise.
7513 (File Name Portability): Detail which constraints are inapplicable
7514 to all GNU systems and which are only inapplicable to GNU/Hurd.
7515 * manual/job.texi: Likewise.
7516 * manual/llio.texi: Likewise.
7517 (O_NOCTTY): Document as present on GNU/Linux.
7518 * manual/maint.texi: Likewise.
7519 * manual/memory.texi: Likewise.
7520 * manual/pattern.texi: Likewise.
7521 * manual/pipe.texi: Likewise.
7522 * manual/process.texi: Likewise.
7523 * manual/resource.texi: Likewise.
7524 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7525 child on GNU/Hurd.
7526 * manual/setjmp.texi: Likewise.
7527 * manual/signal.texi: Likewise.
7528 * manual/startup.texi: Likewise.
7529 * manual/stdio.texi: Likewise.
7530 * manual/terminal.texi: Likewise.
7531 (ONLCR): Document as POSIX.
7532 (OXTABS): Document availability on GNU/Linux as XTABS.
7533 (ONOEOT): Document availability separately from other bits.
7534 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7535 * manual/time.texi: Likewise.
7536 * manual/users.texi: Likewise.
7537 * INSTALL: Regenerated.
7538 * sysdeps/gnu/errlist.c: Regenerated.
7539
07037eeb
JM
7540 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7541 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7542 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7543 puts.
7544 * configure: Regenerated.
7545
d1d3431a
JM
75462012-03-07 Joseph Myers <joseph@codesourcery.com>
7547
af6a1e37
JM
7548 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7549 default includes instead of AC_HEADER_CHECK.
7550 * sysdeps/i386/configure: Regenerated.
7551
d1d3431a
JM
7552 [BZ #10716]
7553 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7554 * math/s_cacoshf.c (__cacoshf): Likewise.
7555 * math/s_cacoshl.c (__cacoshl): Likewise.
7556 * math/s_casinh.c (__casinh): Set signs of result from argument.
7557 * math/s_casinhf.c (__casinhf): Likewise.
7558 * math/s_casinhl.c (__casinhl): Likewise.
7559 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7560 (casinh_test): Add more tests.
7561 * sysdeps/i386/fpu/libm-test-ulps: Update.
7562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7563
482ff4da
UD
75642012-03-07 Ulrich Drepper <drepper@gmail.com>
7565
872fda05
UD
7566 * po/zh_TW.po: Update from translation team.
7567
a4300c7a
UD
7568 * login/Makefile (distribute): Remove variable.
7569 * catgets/Makefile: Likewise.
7570 * mach/Makefile: Likewise.
7571 * malloc/Makefile: Likewise.
7572 * misc/Makefile: Likewise.
7573 * iconv/Makefile: Likewise.
7574 * nscd/Makefile: Likewise.
7575 * hurd/Makefile: Likewise.
7576 * manual/Makefile: Likewise.
7577 * locale/Makefile: Likewise.
7578 * intl/Makefile: Likewise.
7579 * conform/Makefile: Likewise.
7580 * nss/Makefile: Likewise.
7581 * time/Makefile: Likewise.
7582 * soft-fp/Makefile: Likewise.
7583 * dirent/Makefile: Likewise.
7584 * gmon/Makefile: Likewise.
7585 * po/Makefile: Likewise.
7586 * rt/Makefile: Likewise.
7587 * socket/Makefile: Likewise.
7588 * math/Makefile: Likewise.
7589 * signal/Makefile: Likewise.
7590 * debug/Makefile: Likewise.
7591 * elf/Makefile: Likewise.
7592 * timezone/Makefile: Likewise.
7593 * stdlib/Makefile: Likewise.
7594 * iconvdata/Makefile: Likewise.
7595 * sunrpc/Makefile: Likewise.
7596 * io/Makefile: Likewise.
7597 * argp/Makefile: Likewise.
7598 * inet/Makefile: Likewise.
7599 * hesiod/Makefile: Likewise.
7600 * grp/Makefile: Likewise.
7601 * csu/Makefile: Likewise.
7602 * wctype/Makefile: Likewise.
7603 * crypt/Makefile: Likewise.
7604 * libio/Makefile: Likewise.
7605 * string/Makefile: Likewise.
7606 * nis/Makefile: Likewise.
7607 * resolv/Makefile: Likewise.
7608 * stdio-common/Makefile: Likewise.
7609 * wcsmbs/Makefile: Likewise.
7610 * dlfcn/Makefile: Likewise.
7611 * posix/Makefile: Likewise.
7612
3b7c4e74 7613 [BZ #6959]
482ff4da
UD
7614 * timezone/Makefile: Don't install timezone files, just the programs
7615 and scripts.
7616
f72ed77d
UD
76172012-03-06 Ulrich Drepper <drepper@gmail.com>
7618
a000466f
UD
7619 * nss/databases.def: Add missing gshadow entry.
7620
f72ed77d
UD
7621 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7622
a53b7a4e
MP
76232012-03-06 Marek Polacek <polacek@redhat.com>
7624
7625 [BZ #13726]
7626 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7627 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7628 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7629 * stdio-common/tst-long-dbl-fphex.c: New file.
7630
e9258400
DM
76312012-03-06 David S. Miller <davem@davemloft.net>
7632
7633 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7634 (set_obp_int): New function.
7635 (get_obp_int): New function.
7636 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7637 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7638 Avoid unused variable warnings on 'val' and use builtin_expect.
7639 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7640 __builtin_expect.
e9258400
DM
7641 (INLINE_CLONE_SYSCALL): Likewise.
7642
3bd2c723
DM
76432012-03-05 David S. Miller <davem@davemloft.net>
7644
7645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7646
bbb78d03
AS
76472012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7648
884c5db4
AS
7649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7650
bbb78d03
AS
7651 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7652 only for |x| >= 40.
7653 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7654
1c9f702a 76552012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7656
7657 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7658 Replace gettimeofday with __vdso_gettimeofday.
7659
7be16f82
RM
7660 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7661 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7662 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7663
7664 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7665 time with __vdso_time.
7666
ed58a00f
JM
76672012-03-05 Joseph Myers <joseph@codesourcery.com>
7668
7669 * manual/lang.texi (size_t): Note types to which size_t may be
7670 equivalent with the GNU C Library, but do not describe when
7671 differences between them are significant.
7672
30ee4ced
AJ
76732012-03-05 Andreas Jaeger <aj@suse.de>
7674
7675 * sysdeps/i386/fpu/libm-test-ulps: Update.
7676
b7cd39e8
JM
76772012-03-05 Joseph Myers <joseph@codesourcery.com>
7678
7679 [BZ #3976]
7680 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7681 (__ieee754_pow): Save and restore rounding mode and use
7682 round-to-nearest for main computations.
7683 * math/libm-test.inc (pow_test_tonearest): New function.
7684 (pow_test_towardzero): Likewise.
7685 (pow_test_downward): Likewise.
7686 (pow_test_upward): Likewise.
7687 (main): Call the new functions.
7688 * sysdeps/i386/fpu/libm-test-ulps: Update.
7689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7690
7691 [BZ #3976]
7692 * math/libm-test.inc (cosh_test_tonearest): New function.
7693 (cosh_test_towardzero): Likewise.
7694 (cosh_test_downward): Likewise.
7695 (cosh_test_upward): Likewise.
7696 (sinh_test_tonearest): Likewise.
7697 (sinh_test_towardzero): Likewise.
7698 (sinh_test_downward): Likewise.
7699 (sinh_test_upward): Likewise.
7700 (main): Call the new functions.
7701 * sysdeps/i386/fpu/libm-test-ulps: Update.
7702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7703
6c6a98c9
TV
77042012-03-05 Tom de Vries <tom@codesourcery.com>
7705
7706 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7707 default stack guard is set in last bytes.
7708 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7709
21bb2d2e 77102012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7711
21bb2d2e 7712 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7713
21bb2d2e
AJ
7714 [BZ #13656]
7715 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7716 possibly allocate from heap instead of stack.
7717 * stdio-common/bug-vfprintf-nargs.c: New file.
7718 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7719
c6922934
AS
77202012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7721
7722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7723
bc957d53
MP
77242012-03-03 Marek Polacek <polacek@redhat.com>
7725
7726 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7727 * math/math_private.h: Likewise.
7728 * stdlib/tst-strtod.c: Likewise.
7729 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7730 * sysdeps/x86_64/bits/atomic.h: Likewise.
7731
6358490d
DM
77322012-03-02 David S. Miller <davem@davemloft.net>
7733
7734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7738 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7739 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7740 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7741 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7742
01ae168d
RM
77432012-03-02 Roland McGrath <roland@hack.frob.com>
7744
d9a17c07
RM
7745 [BZ #13792]
7746 * manual/examples/README: New file, says the example source files
7747 can be used under GPL>=2.
7748 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7749 line containing just "*/".
7750 * manual/examples/add.c: Add copyright header (GPL>=2).
7751 * manual/examples/argp-ex1.c: Likewise.
7752 * manual/examples/argp-ex2.c: Likewise.
7753 * manual/examples/argp-ex3.c: Likewise.
7754 * manual/examples/argp-ex4.c: Likewise.
7755 * manual/examples/atexit.c: Likewise.
7756 * manual/examples/db.c: Likewise.
7757 * manual/examples/dir.c: Likewise.
7758 * manual/examples/dir2.c: Likewise.
7759 * manual/examples/execinfo.c: Likewise.
7760 * manual/examples/filecli.c: Likewise.
7761 * manual/examples/filesrv.c: Likewise.
7762 * manual/examples/fmtmsgexpl.c: Likewise.
7763 * manual/examples/genpass.c: Likewise.
7764 * manual/examples/inetcli.c: Likewise.
7765 * manual/examples/inetsrv.c: Likewise.
7766 * manual/examples/isockad.c: Likewise.
7767 * manual/examples/longopt.c: Likewise.
7768 * manual/examples/memopen.c: Likewise.
7769 * manual/examples/memstrm.c: Likewise.
7770 * manual/examples/mkfsock.c: Likewise.
7771 * manual/examples/mkisock.c: Likewise.
7772 * manual/examples/mygetpass.c: Likewise.
7773 * manual/examples/pipe.c: Likewise.
7774 * manual/examples/popen.c: Likewise.
7775 * manual/examples/rprintf.c: Likewise.
7776 * manual/examples/search.c: Likewise.
7777 * manual/examples/select.c: Likewise.
7778 * manual/examples/setjmp.c: Likewise.
7779 * manual/examples/sigh1.c: Likewise.
7780 * manual/examples/sigusr.c: Likewise.
7781 * manual/examples/stpcpy.c: Likewise.
7782 * manual/examples/strdupa.c: Likewise.
7783 * manual/examples/strftim.c: Likewise.
7784 * manual/examples/strncat.c: Likewise.
7785 * manual/examples/subopt.c: Likewise.
7786 * manual/examples/swapcontext.c: Likewise.
7787 * manual/examples/termios.c: Likewise.
7788 * manual/examples/testopt.c: Likewise.
7789 * manual/examples/testpass.c: Likewise.
7790 * manual/examples/timeval_subtract.c: Likewise.
7791
01ae168d
RM
7792 [BZ #13792]
7793 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7794 function to ...
7795 * manual/timeval_subtract.c.texi: ... here, new file.
7796
49efa33d
DM
77972012-03-02 David S. Miller <davem@davemloft.net>
7798
7799 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7800
28afd92d
JM
78012012-03-02 Joseph Myers <joseph@codesourcery.com>
7802
804360ed
JM
7803 [BZ #3976]
7804 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7805 (__sin): Save and restore rounding mode and use round-to-nearest
7806 for all computations.
7807 (__cos): Save and restore rounding mode and use round-to-nearest
7808 for all computations.
7809 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7810 <fenv.h>.
7811 (tan): Save and restore rounding mode and use round-to-nearest for
7812 all computations.
7813 * math/libm-test.inc (cos_test_tonearest): New function.
7814 (cos_test_towardzero): Likewise.
7815 (cos_test_downward): Likewise.
7816 (cos_test_upward): Likewise.
7817 (sin_test_tonearest): Likewise.
7818 (sin_test_towardzero): Likewise.
7819 (sin_test_downward): Likewise.
7820 (sin_test_upward): Likewise.
7821 (tan_test_tonearest): Likewise.
7822 (tan_test_towardzero): Likewise.
7823 (tan_test_downward): Likewise.
7824 (tan_test_upward): Likewise.
7825 (main): Call the new functions.
7826 * sysdeps/i386/fpu/libm-test-ulps: Update.
7827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7828
a6d06d7b
JM
7829 [BZ #10135]
7830 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7831 small n, then large n, before computing and testing k+n.
7832 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7833 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7834 Likewise.
7835 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7836 Likewise.
7837 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7838 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7839 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7840 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7841 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7842 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7843 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7844 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7845 * math/libm-test.inc (scalbn_test): Add more tests.
7846 (scalbln_test): Likewise.
7847
07e12bb3
JM
7848 * manual/filesys.texi (mode_t): Describe constraints on size and
7849 signedness, not exact equivalence to a particular type.
7850 (ino_t): Likewise.
7851 (ino64_t): Likewise.
7852 (dev_t): Likewise.
7853 (nlink_t): Likewise.
7854 (blkcnt_t): Likewise.
7855 (blkcnt64_t): Likewise.
7856 * manual/llio.texi (off_t): Likewise.
7857
28afd92d
JM
7858 [BZ #3976]
7859 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7860 (__ieee754_exp): Save and restore rounding mode and use
7861 round-to-nearest for all computations.
7862 * math/libm-test.inc (exp_test_tonearest): New function.
7863 (exp_test_towardzero): Likewise.
7864 (exp_test_downward): Likewise.
7865 (exp_test_upward): Likewise.
7866 (main): Call the new functions.
7867 * sysdeps/i386/fpu/libm-test-ulps: Update.
7868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7869
b1eeb65d
CD
78702012-03-01 Chris Demetriou <cgd@google.com>
7871
7872 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7873 have predictable order.
7874
53362a4b
DM
78752012-03-01 David S. Miller <davem@davemloft.net>
7876
3c969083
DM
7877 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7878
759707de
DM
7879 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7880 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7881 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7882 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7883
dfdb8ff2
DM
7884 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7885 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7886 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7888 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7889 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7890 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7891 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7892 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7893
ead89f96
DM
7894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7895
7f66bd07
DM
7896 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7897 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7898 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7899
53362a4b
DM
7900 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7901 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7902 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7903 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7904 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7905 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7906 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7907 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7908 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7909 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7910 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7911 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7912 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7913 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7914 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7915 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7916 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7917 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7918 * sysdeps/sparc/elf/configure: Regenerated.
7919
7b1902cb
JM
79202012-03-01 Joseph Myers <joseph@codesourcery.com>
7921
bec039bc
JM
7922 * configure.in (AS, LD): Require binutils 2.20 or later.
7923 * configure: Regenerated.
7924 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7925 as required minimum version.
7926 * INSTALL: Regenerated.
7927
7b1902cb
JM
7928 [BZ #2541]
7929 [BZ #4108]
7930 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7931 before squaring exponent.
7932 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7933 bottom long double and 27 bits of top long double before squaring
7934 exponent.
7935 * math/libm-test.inc (erfc_test): Add more tests.
7936 * sysdeps/i386/fpu/libm-test-ulps: Update.
7937 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7939
f775c276
KT
79402012-03-01 Kai Tietz <ktietz@redhat.com>
7941
7942 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7943 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7944 containing bit-fields.
7945 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7946 * soft-fp/single.h (_FP_UNION_S): Likewise.
7947 * soft-fp/double.h (_FP_UNION_D): Likewise.
7948
5b8a4d4a
JM
79492012-02-29 Joseph Myers <joseph@codesourcery.com>
7950
0bab47b6
JM
7951 [BZ #13786]
7952 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7953 not include ../strcmp.S.
7954 [USE_AS_STRNCASECMP_L]: Likewise.
7955 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7956 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7957 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7958 (__strncasecmp_l_ia32): Define as alias to
7959 __strncasecmp_l_nonascii.
7960
0fcad3e2
JM
7961 [BZ #5794]
7962 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7963 * sysdeps/i386/fpu/libm-test-ulps: Update.
7964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7965
5b8a4d4a
JM
7966 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7968
8fdceb2e
JL
79692012-02-29 Jeff Law <law@redhat.com>
7970
7971 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7972 out of bounds read.
7973
1f393a11
MP
79742012-02-29 Marek Polacek <polacek@redhat.com>
7975
7976 [BZ #13706]
7977 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7978 * elf/Makefile: Add rules to run tst-unused-dep.out.
7979
8847f037
DM
79802012-02-28 David S. Miller <davem@davemloft.net>
7981
7982 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7983 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7984 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7985 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7986 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7987 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7988
169d7f11
JM
79892012-02-29 Joseph Myers <joseph@codesourcery.com>
7990
7991 * math/libm-test.inc (llround_test): Move one test from
7992 lround_test. Use TEST_f_L in moved test.
7993 (lround_test): Move misplaced test to llround_test. Add testcase
7994 from bug 2561.
7995
39adf059
UD
79962012-02-28 Ulrich Drepper <drepper@gmail.com>
7997
7998 * sysdeps/x86_64/fpu/e_expf.S: New file.
7999 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8000
71b5d1c5
SB
80012012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8002
8003 [BZ #13637]
8004 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8005 of remain_len that may cause incomplete multi-byte character and
8006 false match.
8007 * posix/bug-regex33.c: New file.
8008 * posix/Makefile (tests): Add bug-regex33.
8009
1f77f049
JM
80102012-02-28 Joseph Myers <joseph@codesourcery.com>
8011
8012 * manual/macros.texi: New file.
8013 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8014 * manual/libc.texinfo: Include macros.texi.
8015 * manual/creatute.texi: Likewise.
8016 * manual/install.texi: Likewise.
8017 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8018 @glibcadj{} in references to the GNU C Library.
8019 * manual/charset.texi: Likewise.
8020 * manual/conf.texi: Likewise.
8021 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8022 when not using those macros.
8023 * manual/creature.texi: Likewise.
8024 * manual/crypt.texi: Likewise.
8025 * manual/errno.texi: Likewise.
8026 * manual/filesys.texi: Likewise.
8027 * manual/header.texi: Likewise.
8028 * manual/install.texi: Likewise.
8029 * manual/intro.texi: Likewise.
8030 * manual/io.texi: Likewise.
8031 * manual/job.texi: Likewise.
8032 * manual/lang.texi: Likewise.
8033 * manual/libc.texiinfo: Likewise.
8034 * manual/llio.texi: Likewise.
8035 * manual/locale.texi: Likewise.
8036 * manual/maint.texi: Likewise.
8037 * manual/math.texi: Likewise.
8038 * manual/memory.texi: Likewise.
8039 * manual/message.texi: Likewise.
8040 * manual/nss.texi: Likewise.
8041 * manual/pattern.texi: Likewise.
8042 * manual/process.texi: Likewise.
8043 * manual/resource.texi: Likewise.
8044 * manual/search.texi: Likewise.
8045 * manual/setjmp.texi: Likewise.
8046 * manual/signal.texi: Likewise.
8047 * manual/socket.texi: Likewise.
8048 * manual/startup.texi: Likewise.
8049 * manual/stdio.texi: Likewise.
8050 * manual/string.texi: Likewise.
8051 * manual/sysinfo.texi: Likewise.
8052 * manual/syslog.texi: Likewise.
8053 * manual/terminal.texi: Likewise.
8054 * manual/time.texi: Likewise.
8055 * manual/users.texi: Likewise.
8056 * INSTALL: Regenerated.
8057 * NOTES: Regenerated.
d40c5d54 8058 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 8059
450bf206
AS
80602012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8061
8062 * include/dirent.h: Include <dirstream.h> before
8063 <dirent/dirent.h>.
8064
741a235b
DM
80652012-02-28 David S. Miller <davem@davemloft.net>
8066
8067 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8068 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8069 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8070 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8071
d6b5aa58
DM
80722012-02-27 David S. Miller <davem@davemloft.net>
8073
1aff59a3
DM
8074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8076 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8077 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8078
d6b5aa58
DM
8079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8080 frame pointer instead of stack pointer relative arg slot.
8081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8082 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8083 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8084
433f48bf
CD
80852012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8086
8087 [BZ #3992]
8088 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8089
d674b76d
DM
80902012-02-27 David S. Miller <davem@davemloft.net>
8091
8092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8096 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8097 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8098 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8099 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8100
0e7727f7
JM
81012012-02-27 Joseph Myers <joseph@codesourcery.com>
8102
8103 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8104 later. Allow versions 5-9.
43be4ca2 8105 * configure: Regenerated.
0e7727f7
JM
8106 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8107 required minimum version and 4.6 as recommended version. Do not
8108 mention bugs in GCC 2.7 and 2.8.
43be4ca2 8109 * INSTALL: Regenerated.
0e7727f7 8110
a78bc654
DM
81112012-02-27 David S. Miller <davem@davemloft.net>
8112
428d5830
DM
8113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8117 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8118 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8119 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8120 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8121
a78bc654
DM
8122 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8123 manipulate bits before adding and subtracting TWO112[sx].
8124 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8125
4579f81c
RM
81262012-02-27 Roland McGrath <roland@hack.frob.com>
8127
36c8acb4
RM
8128 [BZ #13775]
8129 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8130 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8131 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8132 being in POSIX, because they are in 1003.1-2008.
8133
84ad622b
RM
8134 * rt/tst-aio.c: Include <fcntl.h>.
8135 * rt/tst-aio7.c: Likewise.
8136 * rt/tst-aio64.c: Likewise.
8137
4579f81c
RM
8138 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8139
abd923db
JM
81402012-02-27 Joseph Myers <joseph@codesourcery.com>
8141
8142 * manual/install.texi (--with-headers): Describe headers as
8143 interface headers, not private headers.
8144 (Specific advice for GNU/Linux systems): Describe use of headers
8145 from "make headers_install", not private headers from older
8146 kernels.
43be4ca2 8147 * INSTALL: Regenerated.
abd923db
JM
8148 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8149 Change to 2.6.19.
8150 * sysdeps/unix/sysv/linux/configure: Regenerated.
8151
6664049b
JM
8152 * manual/llio.texi (fclean): Remove documentation.
8153
bb8b6697
JM
8154 * manual/Makefile (libc-texi-generated): New variable. Include
8155 version.texi.
8156 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8157 $(libc-texi-generated), not duplicated list of files.
8158 (version.texi, stamp-version): New rules.
8159 (realclean): Remove $(libc-texi-generated), not individual files
8160 from that list. Do not remove dir-add.texinfo.
8161 * manual/libc.texinfo: Comment out uses of edition numbers and
8162 references to printed manual. Remove last-updated dates.
8163 (EDITION): Comment out.
8164 (ISBN): Likewise.
8165 (VERSION, UPDATED): Remove.
8166 (version.texi): Include.
8167
12e5c3b9
AS
81682012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8169
8170 * sysdeps/posix/spawni.c: Include <signal.h>.
8171 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8172 * sysdeps/pthread/aio_fsync.c: Likewise.
8173
4efeffc1 81742012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8175
ba63ba08
UD
8176 * conform/Makefile (tests): Run only when not cross-compiling and
8177 when fast-check is not defined.
8178
d94a4670
UD
8179 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8180 * conform/data/limits.h-data: Fixes for POSIX2008.
8181 * conform/run-conformtest.sh: Run all tests.
8182 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8183 headers.
8184 * include/bits/dlfcn.h: Likewise.
8185 * include/langinfo.h: Likewise.
8186 * include/monetary.h: Likewise.
8187 * include/sys/poll.h: Likewise.
8188
8189 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8190 for __USE_GNU.
8191 * posix/spawn.h: Define __need_sigset_t.
8192 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8193 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8194 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8195 to get sigevent_t only.
8196 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8197 only for __USE_GNU.
8198 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8199 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8200 process_vm_writev only for __USE_GNU.
8201 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8202
8203 * conform/Makefile: For now ignore errors from run-conformtest.
8204 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8205 POSIX to avoid namespace pollution. Don't prepend headers.
8206 * conform/data/aio.h-data: Fixes for POSIX testing.
8207 * conform/data/fcntl.h-data: Likewise.
8208 * conform/data/glob.h-data: Likewise.
8209 * conform/data/grp.h-data: Likewise.
8210 * conform/data/pthread.h-data: Likewise.
8211 * conform/data/pwd.h-data: Likewise.
8212 * conform/data/signal.h-data: Likewise.
8213 * conform/data/spawn.h-data: Likewise.
8214 * conform/data/stdio.h-data: Likewise.
8215 * conform/data/stdlib.h-data: Likewise.
8216 * conform/data/stropts.h-data: Likewise.
8217 * conform/data/sys/mman.h-data: Likewise.
8218 * conform/data/sys/stat.h-data: Likewise.
8219 * conform/data/sys/types.h-data: Likewise.
8220 * conform/data/sys/wait.h-data: Likewise.
8221 * conform/data/time.h-data: Likewise.
8222 * conform/data/unistd.h-data: Likewise.
8223 * conform/data/utime.h-data: Likewise.
8224
8225 * io/sys/stat.h: fchmod was always in POSIX.
8226 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8227 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8228 * rt/aio.h: Define __need_timespec before including <time.h>.
8229 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8230 struct. Add forward declaration of pthread_attr_t and use it in
8231 sigevent.
8232 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8233 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8234 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8235 always remove CLK_TCK definition.
8236
c20105c3
AS
82372012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8238
8239 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8240
7a270350
UD
82412012-02-25 Ulrich Drepper <drepper@gmail.com>
8242
31341567
UD
8243 * conform/run-conformtest.sh: New file.
8244 * conform/Makefile: Run run-conformtest for tests.
8245 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8246 support.
8247
8248 * conform/data/uchar.h-data: New file.
8249 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8250 * conform/data/arpa/inet.h-data: Likewise.
8251 * conform/data/assert.h-data: Likewise.
8252 * conform/data/complex.h-data: Likewise.
8253 * conform/data/cpio.h-data: Likewise.
8254 * conform/data/ctype.h-data: Likewise.
8255 * conform/data/dirent.h-data: Likewise.
8256 * conform/data/dlfcn.h-data: Likewise.
8257 * conform/data/errno.h-data: Likewise.
8258 * conform/data/fcntl.h-data: Likewise.
8259 * conform/data/float.h-data: Likewise.
8260 * conform/data/fmtmsg.h-data: Likewise.
8261 * conform/data/fnmatch.h-data: Likewise.
8262 * conform/data/ftw.h-data: Likewise.
8263 * conform/data/glob.h-data: Likewise.
8264 * conform/data/grp.h-data: Likewise.
8265 * conform/data/iconv.h-data: Likewise.
8266 * conform/data/inttypes.h-data: Likewise.
8267 * conform/data/langinfo.h-data: Likewise.
8268 * conform/data/libgen.h-data: Likewise.
8269 * conform/data/limits.h-data: Likewise.
8270 * conform/data/locale.h-data: Likewise.
8271 * conform/data/math.h-data: Likewise.
8272 * conform/data/monetary.h-data: Likewise.
8273 * conform/data/mqueue.h-data: Likewise.
8274 * conform/data/ndbm.h-data: Likewise.
8275 * conform/data/net/if.h-data: Likewise.
8276 * conform/data/netdb.h-data: Likewise.
8277 * conform/data/netinet/in.h-data: Likewise.
8278 * conform/data/nl_types.h-data: Likewise.
8279 * conform/data/poll.h-data: Likewise.
8280 * conform/data/pthread.h-data: Likewise.
8281 * conform/data/pwd.h-data: Likewise.
8282 * conform/data/regex.h-data: Likewise.
8283 * conform/data/sched.h-data: Likewise.
8284 * conform/data/search.h-data: Likewise.
8285 * conform/data/semaphore.h-data: Likewise.
8286 * conform/data/setjmp.h-data: Likewise.
8287 * conform/data/signal.h-data: Likewise.
8288 * conform/data/spawn.h-data: Likewise.
8289 * conform/data/stdarg.h-data: Likewise.
8290 * conform/data/stdio.h-data: Likewise.
8291 * conform/data/stdlib.h-data: Likewise.
8292 * conform/data/string.h-data: Likewise.
8293 * conform/data/strings.h-data: Likewise.
8294 * conform/data/stropts.h-data: Likewise.
8295 * conform/data/sys/ipc.h-data: Likewise.
8296 * conform/data/sys/mman.h-data: Likewise.
8297 * conform/data/sys/msg.h-data: Likewise.
8298 * conform/data/sys/resource.h-data: Likewise.
8299 * conform/data/sys/select.h-data: Likewise.
8300 * conform/data/sys/sem.h-data: Likewise.
8301 * conform/data/sys/shm.h-data: Likewise.
8302 * conform/data/sys/socket.h-data: Likewise.
8303 * conform/data/sys/stat.h-data: Likewise.
8304 * conform/data/sys/statvfs.h-data: Likewise.
8305 * conform/data/sys/time.h-data: Likewise.
8306 * conform/data/sys/timeb.h-data: Likewise.
8307 * conform/data/sys/times.h-data: Likewise.
8308 * conform/data/sys/types.h-data: Likewise.
8309 * conform/data/sys/uio.h-data: Likewise.
8310 * conform/data/sys/un.h-data: Likewise.
8311 * conform/data/sys/utsname.h-data: Likewise.
8312 * conform/data/sys/wait.h-data: Likewise.
8313 * conform/data/syslog.h-data: Likewise.
8314 * conform/data/tar.h-data: Likewise.
8315 * conform/data/termios.h-data: Likewise.
8316 * conform/data/utime.h-data: Likewise.
8317 * conform/data/utmpx.h-data: Likewise.
8318 * conform/data/varargs.h-data: Likewise.
8319 * conform/data/wchar.h-data: Likewise.
8320 * conform/data/wctype.h-data: Likewise.
8321 * conform/data/wordexp.h-data: Likewise.
8322
8323 * include/stropts.h: New file.
8324 * include/uchar.h: New file.
8325 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8326 * include/assert.h: Likewise.
8327 * include/ctype.h: Likewise.
8328 * include/dirent.h: Likewise.
8329 * include/dlfcn.h: Likewise.
8330 * include/fcntl.h: Likewise.
8331 * include/fnmatch.h: Likewise.
8332 * include/glob.h: Likewise.
8333 * include/grp.h: Likewise.
8334 * include/libio.h: Likewise.
8335 * include/locale.h: Likewise.
8336 * include/math.h: Likewise.
8337 * include/net/if.h: Likewise.
8338 * include/netdb.h: Likewise.
8339 * include/netinet/in.h: Likewise.
8340 * include/pthread.h: Likewise.
8341 * include/pwd.h: Likewise.
8342 * include/regex.h: Likewise.
8343 * include/sched.h: Likewise.
8344 * include/search.h: Likewise.
8345 * include/setjmp.h: Likewise.
8346 * include/signal.h: Likewise.
8347 * include/stdio.h: Likewise.
8348 * include/stdlib.h: Likewise.
8349 * include/string.h: Likewise.
8350 * include/sys/cdefs.h: Likewise.
8351 * include/sys/mman.h: Likewise.
8352 * include/sys/msg.h: Likewise.
8353 * include/sys/resource.h: Likewise.
8354 * include/sys/select.h: Likewise.
8355 * include/sys/socket.h: Likewise.
8356 * include/sys/stat.h: Likewise.
8357 * include/sys/statvfs.h: Likewise.
8358 * include/sys/time.h: Likewise.
8359 * include/sys/times.h: Likewise.
8360 * include/sys/uio.h: Likewise.
8361 * include/sys/utsname.h: Likewise.
8362 * include/sys/wait.h: Likewise.
8363 * include/termios.h: Likewise.
8364 * include/time.h: Likewise.
8365 * include/ulimit.h: Likewise.
8366 * include/unistd.h: Likewise.
8367 * include/utime.h: Likewise.
8368 * include/wchar.h: Likewise.
8369 * include/wctype.h: Likewise.
8370 * include/wordexp.h: Likewise.
8371
8372 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8373
7a270350
UD
8374 * time/time.h: TIME_UTC must be a macro.
8375 Make timespec_get available for ISO C11 only as well.
8376
7724defc
UD
83772012-02-24 Ulrich Drepper <drepper@gmail.com>
8378
8379 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8380 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8381
6b1d1d46
JM
83822012-02-24 Joseph Myers <joseph@codesourcery.com>
8383
8384 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8385
0f8bbd69
JM
83862012-02-24 Joseph Myers <joseph@codesourcery.com>
8387
8388 * manual/texinfo.tex: Update to version 2012-01-19.16.
8389
66ab80bc
JM
83902012-02-24 Joseph Myers <joseph@codesourcery.com>
8391
8392 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8393
74981cc5
RM
83942012-02-24 Roland McGrath <roland@hack.frob.com>
8395
ee968201
RM
8396 [BZ #13738]
8397 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8398 * manual/fdl-1.3.texi: New file.
8399 * manual/fdl-1.1.texi: File removed.
8400
74981cc5
RM
8401 [BZ #13738]
8402 * manual/libc.texinfo (FDL_VERSION): New @set.
8403 Use it for mention of FDL in cover text.
8404 (Documentation License): Use it in @include file name.
8405
7bb764bc
JM
84062012-02-22 Joseph Myers <joseph@codesourcery.com>
8407 Roland McGrath <roland@hack.frob.com>
8408
8409 [BZ #5461]
8410 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8411 not LONG_LONG_MAX and LONG_LONG_MIN.
8412 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8413 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8414 name.
8415 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8416
6cbeae47
JM
84172012-02-22 Joseph Myers <joseph@codesourcery.com>
8418
8419 [BZ #2547]
8420 [BZ #11365]
8421 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8422 manipulate bits before adding and subtracting TWO23[sx].
8423 * math/libm-test.inc (nearbyint_test): Add more tests.
8424
fe45ce09
JM
84252012-02-22 Joseph Myers <joseph@codesourcery.com>
8426
8427 [BZ #2548]
8428 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8429 bits before adding and subtracting TWO23[sx].
8430 * math/libm-test.inc (rint_test): Add more tests.
8431 (rint_test_tonearest): Likewise.
8432 (rint_test_towardzero): Likewise.
8433 (rint_test_downward): Likewise.
8434 (rint_test_upward: Likewise.
8435
ff3b3d82
JM
84362012-02-22 Joseph Myers <joseph@codesourcery.com>
8437
8438 [BZ #10110]
8439 * include/stdc-predef.h: New file. Extracted from features.h.
8440 * include/features.h: Include stdc-predef.h.
8441 * Makefile (headers): Add stdc-predef.h.
8442 * CONFORMANCE (Compiler limitations): Update.
8443
ef0aab35
JM
84442012-02-22 Joseph Myers <joseph@codesourcery.com>
8445
8446 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8447
58639409
DM
84482012-02-21 David S. Miller <davem@davemloft.net>
8449
8450 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8451 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8452
c0e70b25
DM
84532012-02-20 David S. Miller <davem@davemloft.net>
8454
8455 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8456 using a normal save/restore sequence, rather than allocating a
8457 dummy stack frame just to store a frame pointer and restore.
8458 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8459
fb06851d
JM
84602012-02-21 Joseph Myers <joseph@codesourcery.com>
8461
8462 * manual/install.texi: Fix stray word in line-wrapped comment.
8463
7a8b71c3
DM
84642012-02-20 David S. Miller <davem@davemloft.net>
8465
d510c123
DM
8466 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8467 both binutils and gcc support GOTDATA.
8468
0722d7c2
DM
8469 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8470 "rd %pc" in the PIC register setup sequences.
8471
3d2b3019
DM
8472 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8473 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8474 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8475 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8476 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8477 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8478 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8479 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8480 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8481 (SYSCALL_ERROR_HANDLER): Likewise.
8482 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8483 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8484 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8485 (SYSCALL_ERROR_HANDLER): Likewise.
8486
c80098a9
DM
8487 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8488 (HAVE_GCC_GOTDATA): New.
8489 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8490 relocation support in both binutils and gcc.
8491 * sysdeps/sparc/elf/configure: Regenerate.
8492
3a2545a0
DM
8493 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8494 * sysdeps/sparc/sparc32/elf/configure: Delete.
8495 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8496 * sysdeps/sparc/sparc64/elf/configure: Delete.
8497 * sysdeps/sparc/elf/configure.in: New file.
8498 * sysdeps/sparc/elf/configure: Generate.
8499
7a8b71c3
DM
8500 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8501 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8502 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8503 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8504 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8505
f1e86fca
JM
85062012-02-21 Joseph Myers <joseph@codesourcery.com>
8507
8508 * manual/install.texi: Do not mention specific glibc version
8509 numbers.
8510 * manual/libc.texinfo (VERSION, UPDATED): Update.
8511 (@copying): Use @copyright{} and range of years.
8512
0e7dfaef
JM
85132012-02-21 Joseph Myers <joseph@codesourcery.com>
8514
8515 [BZ #13695]
8516 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8517 [crti.S not in sysdirs] (generated): Do not append.
8518 [crti.S not in sysdirs] (omit-deps): Likewise.
8519 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8520 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8521 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8522 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8523 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8524 Likewise.
8525 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8526 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8527 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8528 * csu/defs.awk: Remove file.
8529 * sysdeps/generic/initfini.c: Likewise.
8530 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8531 variable.
8532 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8533 Likewise.
8534
599af3ca
JM
85352012-02-20 Joseph Myers <joseph@codesourcery.com>
8536
8537 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8538 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8539 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8540 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8541 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8542 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8543 <bits/epoll.h>.
8544 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8545 (__EPOLL_PACKED): Define to empty if not defined by
8546 <bits/epoll.h>.
8547 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8549 bits/epoll.h.
8550
0e499750
JM
85512012-02-20 Joseph Myers <joseph@codesourcery.com>
8552
8553 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8554 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8555 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8556 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8557 <bits/timerfd.h>.
8558 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8559 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8560 bits/timerfd.h.
8561
5ad91f6e
JM
85622012-02-20 Joseph Myers <joseph@codesourcery.com>
8563
8564 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8565 in C locale.
8566 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8567 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8568 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8570
06b99b02
AJ
85712012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8572
8573 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8574 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8575
7638c0fd
AS
85762012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8577
8578 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8579 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8580 defined.
8581 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8582 Likewise.
8583 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8584 entry for 2.16.
8585
92221550
AJ
85862012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8587
8588 * math/w_acos.c: Use non-signaling floating-point comparisons.
8589 * math/w_acosf.c: Likewise.
8590 * math/w_acosh.c: Likewise.
8591 * math/w_acoshf.c: Likewise.
8592 * math/w_acoshl.c: Likewise.
8593 * math/w_acosl.c: Likewise.
8594 * math/w_asin.c: Likewise.
8595 * math/w_asinf.c: Likewise.
8596 * math/w_asinl.c: Likewise.
8597 * math/w_atanh.c: Likewise.
8598 * math/w_atanhf.c: Likewise.
8599 * math/w_atanhl.c: Likewise.
8600 * math/w_exp2.c: Likewise.
8601 * math/w_exp2f.c: Likewise.
8602 * math/w_exp2l.c: Likewise.
8603 * math/w_j0.c: Likewise.
8604 * math/w_j0f.c: Likewise.
8605 * math/w_j0l.c: Likewise.
8606 * math/w_j1.c: Likewise.
8607 * math/w_j1f.c: Likewise.
8608 * math/w_j1l.c: Likewise.
8609 * math/w_jn.c: Likewise.
8610 * math/w_jnf.c: Likewise.
8611 * math/w_log.c: Likewise.
8612 * math/w_log10.c: Likewise.
8613 * math/w_log10f.c: Likewise.
8614 * math/w_log10l.c: Likewise.
8615 * math/w_log2.c: Likewise.
8616 * math/w_log2f.c: Likewise.
8617 * math/w_log2l.c: Likewise.
8618 * math/w_logf.c: Likewise.
8619 * math/w_logl.c: Likewise.
8620 * math/w_sqrt.c: Likewise.
8621 * math/w_sqrtf.c: Likewise.
8622 * math/w_sqrtl.c: Likewise.
8623 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8624 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8625 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8626 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8627 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8628
ebaf36eb
JM
86292012-02-19 Joseph Myers <joseph@codesourcery.com>
8630
8631 [BZ #9739]
8632 * manual/string.texi (strnlen): Use correct parameter name in
8633 equivalent expression.
8634
71c254a6
JM
86352012-02-19 Joseph Myers <joseph@codesourcery.com>
8636
8637 [BZ #11174]
8638 * manual/users.texi (seteuid): Consistently use neweuid for
8639 argument name.
8640
16d2c631
JM
86412012-02-19 Joseph Myers <joseph@codesourcery.com>
8642
8643 [BZ #13704]
8644 * manual/nss.texi (Services in the NSS configuration): Correct
8645 list of services in example configuration file.
8646
cd837b09
NB
86472012-02-19 Nick Bowler <nbowler@draconx.ca>
8648
8649 [BZ #11322]
8650 * manual/arith.texi: Remove statements about negative zero
8651 behaving identically to zero.
8652
02c4bbad
JM
86532012-02-18 Joseph Myers <joseph@codesourcery.com>
8654
8655 [BZ #5993]
8656 * manual/install.texi: Do not document upgrading from libc5.
8657
366842e7
JM
86582012-02-18 Joseph Myers <joseph@codesourcery.com>
8659
8660 [BZ #4596]
8661 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8662
dd54084d
DM
86632012-02-18 David S. Miller <davem@davemloft.net>
8664
8665 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8666 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8667 %o7 across the call.
8668 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8669 instead.
8670 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8671 SETUP_PIC_REG_LEAF.
8672 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8673 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8674 * sysdeps/sparc/crtn.S: Likewise.
8675
2bcc53a3
UD
86762012-02-17 Ulrich Drepper <drepper@gmail.com>
8677
8678 * aout/Makefile: Remove.
8679
09c093b5
RK
86802012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8681
8682 [BZ #13058]
8683 * manual/examples/argp-ex1.c (main): Format definition in GNU
8684 style.
8685 * manual/examples/argp-ex2.c (main): Likewise.
8686 * manual/examples/argp-ex3.c (main): Likewise.
8687 * manual/examples/argp-ex4.c (main): Likewise.
8688 * manual/examples/longopt.c (main): Use new-style prototype
8689 definition.
8690 * manual/examples/strncat.c (main): Specify return type and use
8691 (void) for arguments.
8692 * manual/examples/subopt.c (main): Use char **argv argument.
8693
2ee633a2
JM
86942012-02-17 Joseph Myers <joseph@codesourcery.com>
8695
8696 [BZ #5077]
8697 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8698 rounding modes.
8699
0520adde
FB
87002012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8701
8702 [BZ #6907]
8703 * manual/string.texi (strchr): Change when strchrnul is
8704 recommended.
8705
3f4081cd
DGM
87062012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8707
8708 [BZ #174]
8709 * manual/locale.texi (setlocale): Document LOCPATH.
8710
d1b10e78
JM
87112012-02-17 Joseph Myers <joseph@codesourcery.com>
8712
8713 [BZ #10210]
8714 * manual/process.texi (execle): Move @dots{} before last argument.
8715
79c6869c
PB
87162012-02-17 Paul Bolle <pebolle@tiscali.nl>
8717
8718 [BZ #12047]
8719 * manual/charset.texi (Generic Charset Conversion): Fix typo
8720 (LC_TYPE -> LC_CTYPE).
8721
cc6e48bc
NB
87222012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8723
8724 [BZ #5805]
8725 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8726 (scalbnf): Likewise.
8727 (scalbnl): Likewise.
8728 (scalbln): Likewise.
8729 (scalblnf): Likewise.
8730 (scalblnl): Likewise.
8731 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8732 (vwarnx): Likewise.
8733 (verr): Likewise.
8734 (verrx): Likewise.
8735 * manual/filesys.texi (telldir): Use braces around return type.
8736 * manual/llio.texi (mmap): Add space after comma.
8737 (mmap64): Likewise.
8738 * manual/math.texi (jn): Use @var{} on parameter names.
8739 (jnf): Likewise.
8740 (jnl): Likewise.
8741 (yn): Likewise.
8742 (ynf): Likewise.
8743 (ynl): Likewise.
8744 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8745 line.
8746 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8747 "...".
8748 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8749 (sched_get_priority_max): Likewise.
8750 * manual/signal.texi (sigvec): Add space after comma.
8751 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8752 names.
8753 (if_indextoname): Likewise.
8754 (if_freenameindex): Likewise.
8755 (sendto): Use ',' instead of '.' in prototype.
8756 * manual/startup.texi (syscall): Use @dots{} instead of literal
8757 "...".
8758 * manual/stdio.texi (__fpending): Separate initial words of
8759 paragraph from @deftypefun line.
8760 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8761 "...".
8762 (vsyslog): Use @var{} on parameter names.
8763 * manual/terminal.texi (stty): Use @var{} on parameter names.
8764 * manual/users.texi (getutmp): Use @var{} on parameter names.
8765 (getutmpx): Likewise.
8766
5b23062f
JM
87672012-02-17 Joseph Myers <joseph@codesourcery.com>
8768
8769 [BZ #6884]
8770 * manual/stdio.texi (fopen): Fix typos in description of
8771 ",ccs=STRING".
8772
8dee4833
AJ
87732012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8774
8775 [BZ #4026]
8776 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8777 get clock_id definition.
8778
9078ce93
TS
87792012-02-17 Thomas Schwinge <thomas@schwinge.name>
8780
8781 [BZ #4822]
8782 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8783 (madvise): Cast every argument to void on its own.
8784
3835c55f
JM
87852012-02-17 Joseph Myers <joseph@codesourcery.com>
8786
8787 [BZ #9902]
8788 * manual/startup.texi (Exit Status): Fix typo.
8789
35c47e37
JM
87902012-02-17 Joseph Myers <joseph@codesourcery.com>
8791
8792 [BZ #10140]
8793 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8794 * manual/examples/argp-ex2.c: Likewise.
8795 * manual/examples/argp-ex3.c: Likewise.
8796
e3b69ca7
RH
87972012-02-16 Richard Henderson <rth@redhat.com>
8798
8799 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8800 * sysdeps/s390/s390-32/initfini.c: Remove.
8801 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8802 * sysdeps/s390/s390-64/initfini.c: Remove.
8803
df83af67
KK
88042012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8805
8806 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8807 compiler output for sysdeps/generic/initfini.c.
8808 * sysdeps/sh/elf/initfini.c: Remove file.
8809
f63f3380
DM
88102012-02-16 David S. Miller <davem@davemloft.net>
8811
fb59b3a4
DM
8812 [BZ #11494]
8813 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8814
f63f3380
DM
8815 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8816 * sysdeps/sparc/crti.S: New file.
8817 * sysdeps/sparc/crtn.S: New file.
8818 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8819 * sysdeps/sparc/sparc64/Makefile: Likewise.
8820
df6a4a4a
MF
88212012-02-15 Mike Frysinger <vapier@gentoo.org>
8822
6dd8f3dc 8823 [BZ #3335]
df6a4a4a
MF
8824 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8825
1cac7236
RM
88262012-02-15 Roland McGrath <roland@hack.frob.com>
8827
d2c736f8
RM
8828 [BZ #4822]
8829 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8830
1cac7236
RM
8831 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8832 (write, read, close): Likewise.
8833 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8834
8e475601
JM
88352012-02-15 Joseph Myers <joseph@codesourcery.com>
8836
8837 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8838 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8839 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8840 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8841 <bits/signalfd.h>.
8842 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8843 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8844 bits/signalfd.h.
8845
ed656b40
MP
88462012-02-14 Marek Polacek <polacek@redhat.com>
8847
8848 * sysdeps/x86_64/crti.S: New file.
8849 * sysdeps/x86_64/crtn.S: New file.
8850 * sysdeps/x86_64/elf/initfini.c: Remove file.
8851
2a979d3a
JM
88522012-02-13 Joseph Myers <joseph@codesourcery.com>
8853
8854 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8855 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8856 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8857 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8858 <bits/inotify.h>.
8859 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8860 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8861 bits/inotify.h.
8862
2a418ac3
JM
88632012-02-13 Joseph Myers <joseph@codesourcery.com>
8864
8865 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8866 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8867 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8868 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8869 <bits/eventfd.h>.
8870 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8871 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8872 bits/eventfd.h.
8873
fb779be7
TS
88742012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8875
e19e83c5
RM
8876 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8877 __feraiseexcept instead of feraiseexcept.
7c35ffed 8878
fb779be7
TS
8879 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8880 nanosleep invocations.
8881 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8882 strings, and add error checking for a nanosleep invocations.
8883
59ba27a6
PE
88842012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8885
8886 Replace FSF snail mail address with URLs, as per GNU coding standards.
8887 Most of the snail mail addresses were wrong anyway, and omitting
8888 them makes the source code easier to maintain. Almost all of the
8889 changes are to license notices and to locale LC_IDENTIFICATION
8890 addresses, except for this one:
8891 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8892 not its snail mail address.
8893
57b957eb
RH
88942012-02-09 Richard Henderson <rth@twiddle.net>
8895
af850b1c
RH
8896 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8897 of kernel-features.h.
8898
57b957eb
RH
8899 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8900
6b73181a
MP
89012012-02-08 Marek Polacek <polacek@redhat.com>
8902
8903 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8904 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8905 * sysdeps/gnu/_G_config.h: Likewise.
8906 * sysdeps/generic/_G_config.h: Likewise.
8907
26ecc33a
AS
89082012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8909
6c6dbc63
AS
8910 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8911 tests.
8912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8913
e216c012
AS
8914 * sysdeps/powerpc/powerpc32/crti.S: New file.
8915 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8916 * sysdeps/powerpc/powerpc64/crti.S: New file.
8917 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8918
26ecc33a
AS
8919 * Makeconfig (have-initfini): Don't set.
8920 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8921 * configure.in (nopic_initfini): Don't substitute.
8922 * config.h.in (HAVE_INITFINI): Don't #undef.
8923 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8924 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8925
3add8e13
JM
89262012-02-08 Joseph Myers <joseph@codesourcery.com>
8927
8928 Support crti.S and crtn.S provided directly by architectures.
8929 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8930 [crti.S in sysdirs] (omit-deps): Likewise.
8931 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8932 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8933 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8934 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8935 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8936 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8937 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8938 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8939 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8940 compiler output for sysdeps/generic/initfini.c.
8941 * sysdeps/i386/elf/Makefile: Remove file.
8942 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8943
a22f12b4
MP
89442012-02-07 Marek Polacek <polacek@redhat.com>
8945
8946 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8947 * sysdeps/gnu/_G_config.h: Likewise.
8948 * sysdeps/mach/hurd/_G_config.h: Likewise.
8949
148cf100
MP
89502012-02-07 Marek Polacek <polacek@redhat.com>
8951
8952 * math/Makefile (tests): Add tst-CMPLX2.
8953 * math/tst-CMPLX2.c: New file.
8954
cfdc0dd7
AS
89552012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8956
84ba42c4
AS
8957 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8958
cfdc0dd7
AS
8959 * math/libm-test.inc (jn_test): Add missing L suffix.
8960
622c86f4
MP
89612012-02-06 Marek Polacek <polacek@redhat.com>
8962
8963 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8964 * sysdeps/i386/fpu/e_powf.S: Likewise.
8965 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8966 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8967 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8968 * sysdeps/i386/fpu/e_pow.S: Likewise.
8969 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8970 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8971 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8972 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8973 * sysdeps/i386/fpu/e_log2.S: Likewise.
8974 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8975 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8976 * sysdeps/i386/fpu/e_powl.S: Likewise.
8977 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8978 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8979 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8980 * sysdeps/i386/fpu/e_logl.S: Likewise.
8981 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8982 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8983 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8984 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8985 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8986 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8987 * sysdeps/i386/fpu/e_log.S: Likewise.
8988 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8989 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8990 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8991 * sysdeps/i386/fpu/e_logf.S: Likewise.
8992 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8993 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8994 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8995 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8996 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8997 * sysdeps/i386/fpu/e_log10.S: Likewise.
8998 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8999 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9000 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9001 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9002 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9003 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9004 * sysdeps/i386/asm-syntax.h: Likewise.
9005 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9006 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9007 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9008 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9009 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9010 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9011 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9012 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9013 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9014 * sysdeps/powerpc/sysdep.h: Likewise.
9015 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9016 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9017
d4a54ac6
JM
90182012-02-06 Joseph Myers <joseph@codesourcery.com>
9019
9020 [BZ #411]
9021 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9022
314054ea
JM
90232012-02-06 Joseph Myers <joseph@codesourcery.com>
9024
9025 * sysdeps/i386/sysdep.h: Include <features.h>.
9026 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9027 version.
9028
d8e0ca50
JM
90292012-02-05 Joseph Myers <joseph@codesourcery.com>
9030
9031 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9032 Define.
9033 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9034 LOAD_PIC_REG_STR.
9035
b1da7dd9
JM
90362012-02-03 Joseph Myers <joseph@codesourcery.com>
9037
9038 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9039 (SETUP_PIC_REG): Use GET_PC_THUNK.
9040 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9041 macro.
9042
9a1d9254
JM
90432012-02-03 Joseph Myers <joseph@codesourcery.com>
9044
9045 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9046 for non-PIC compilation.
9047 (SETUP_PIC_REG): Add .p2align directive.
9048 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9049 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9050 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9051 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9052 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9053 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9054 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9055 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9056 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9057 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9058 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9059 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9060 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9061 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9062 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9063 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9064 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9065 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9066 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9067 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9068 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9069 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9070 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9071 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9072 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9073 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9074 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9075 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9076 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9077 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9078 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9079 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9080 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9081 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9082 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9083 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9084 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9085 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9086 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9087 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9088 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9089
65dc3b75
JM
90902012-02-03 Joseph Myers <joseph@codesourcery.com>
9091
9092 * math/tst-CMPLX.c: Include <stdio.h>.
9093
d55bf177
JM
90942012-01-31 Joseph Myers <joseph@codesourcery.com>
9095
9096 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9097 float.
9098 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9099 * sysdeps/sparc/bits/mathdef.h: Likewise.
9100
69db4f8f
MP
91012012-01-31 Marek Polacek <polacek@redhat.com>
9102
9103 * libio/libio.h: Don't define _PARAMS.
9104 * locale/programs/config.h: Don't define PARAMS.
9105 * stdlib/strtol_l.c: Likewise.
9106 (__strtol_l): Remove PARAMS from the prototype.
9107
41b81892
UD
91082012-01-31 Ulrich Drepper <drepper@gmail.com>
9109
3b49edc0
UD
9110 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9111 names. Just use the correct names. Remove unnecessary wrapper
9112 functions.
9113 * malloc/arena.c: Likewise.
9114 * malloc/hooks.c: Likewise.
9115
41b81892
UD
9116 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9117 ARENA_TEST says not to. Simplify test for creation of a new arena.
9118 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9119
27a25b6e
UD
91202012-01-30 Ulrich Drepper <drepper@gmail.com>
9121
9122 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9123 into tail calls.
9124 (update_get_addr): New function.
9125 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9126 GET_ADDR_MODULE parameter.
9127
c8a89e7d
JM
91282012-01-30 Joseph Myers <joseph@codesourcery.com>
9129
9130 * crypt/cert.c: Remove __STDC__ conditionals.
9131 * crypt/crypt-entry.c: Likewise.
9132 * crypt/crypt_util.c: Likewise.
9133 * libio/filedoalloc.c: Likewise.
9134 * libio/fileops.c: Likewise.
9135 * libio/genops.c: Likewise.
9136 * libio/iofclose.c: Likewise.
9137 * libio/iofdopen.c: Likewise.
9138 * libio/iofopen.c: Likewise.
9139 * libio/iofopen64.c: Likewise.
9140 * libio/iogetdelim.c: Likewise.
9141 * libio/iopopen.c: Likewise.
9142 * libio/obprintf.c: Likewise.
9143 * libio/oldfileops.c: Likewise.
9144 * libio/oldiofclose.c: Likewise.
9145 * libio/oldiofdopen.c: Likewise.
9146 * libio/oldiofopen.c: Likewise.
9147 * libio/oldiopopen.c: Likewise.
9148 * libio/wfiledoalloc.c: Likewise.
9149 * libio/wgenops.c: Likewise.
9150 * locale/programs/xmalloc.c: Likewise.
9151 * misc/syslog.c: Likewise.
9152 * stdio-common/xbug.c: Likewise.
9153 * string/memchr.c: Likewise.
9154 * string/memcmp.c: Likewise.
9155 * string/memrchr.c: Likewise.
9156 * string/rawmemchr.c: Likewise.
9157 * sysdeps/posix/getcwd.c: Likewise.
9158 * time/strftime_l.c: Likewise.
9159
3b100462
JM
91602012-01-30 Joseph Myers <joseph@codesourcery.com>
9161
9162 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9163 * config.make.in (config-cflags-sse2avx): Define.
9164 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9165 Fix typo.
9166
607998af
CM
91672012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9168
9169 * scripts/config.guess: Update from upstream config git repository.
9170 * scripts/config.sub: Likewise.
9171
3601428f
CM
91722012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9173
3ac8b282
CM
9174 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9175 (EM_NUM): Update.
9176 (R_TILEPRO_*, R_TILEGX_*): New macros.
9177
e034841e
CM
9178 * scripts/firstversions.awk: Fix bug in version range handling.
9179
540d7568
CM
9180 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9181
3601428f
CM
9182 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9183
463de862
CM
9184 * include/sys/epoll.h: New file.
9185 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9186 libc_hidden_def.
9187
73139a76
UD
91882012-01-28 Ulrich Drepper <drepper@gmail.com>
9189
96bc5b45
UD
9190 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9191 Avoid unnecessary __WORDSIZE == 64 test.
9192 (fmaxf): Use VEX format if possible.
9193 (fmax): Likewise.
9194 (fminf): Likewise.
9195 (fmin): Likewise.
9196
56f6f6a2
UD
9197 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9198 * math/math_private.h: Remove libc_fegetround* and
9199 libc_fesetround*.
9200 * sysdeps/i386/configure.in: Check for -msse2avx.
9201 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9202 also if SSE2AVX is defined.
9203 Remove libc_fegetround* and libc_fesetround*.
9204 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9205 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9206 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9207 of HAS_YMM_USABLE.
9208 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9209 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9210 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9211 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9212 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9213
73139a76
UD
9214 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9215
d73f93a4
AZ
92162012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9217
9218 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9219 size is not set.
9220 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9221
6ee65ed6
UD
92222012-01-27 Ulrich Drepper <drepper@gmail.com>
9223
9224 [BZ #13618]
9225 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9226 relocation.
9227 * Makeconfig (libm): Define.
9228 * elf/Makefile: Add rules to build and run tst-relsort1.
9229 * elf/tst-relsort1.c: New file.
9230 * elf/tst-relsort1mod1.c: New file.
9231 * elf/tst-relsort1mod2.c: New file.
9232
8db21882
JM
92332012-01-27 Joseph Myers <joseph@codesourcery.com>
9234
9235 * math/s_ldexp.c: Remove __STDC__ conditionals.
9236 * math/s_ldexpf.c: Likewise.
9237 * math/s_ldexpl.c: Likewise.
9238 * math/s_nextafter.c: Likewise.
9239 * math/s_nexttowardf.c: Likewise.
9240 * math/s_significand.c: Likewise.
9241 * math/s_significandf.c: Likewise.
9242 * math/s_significandl.c: Likewise.
9243 * math/w_jnl.c: Likewise.
9244 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9245 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9246 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9247 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9248 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9249 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9250 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9251 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9252 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9253 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9254 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9255 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9256 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9257 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9258 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9259 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9260 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9261 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9262 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9263 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9264 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9265 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9266 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9267 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9268 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9269 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9270 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9271 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9272 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9273 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9274 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9275 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9276 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9277 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9278 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9279 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9280 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9281 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9282 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9283 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9284 * sysdeps/ieee754/k_standard.c: Likewise.
9285 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9286 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9287 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9288 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9289 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9290 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9291 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9292 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9293 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9294 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9295 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9296 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9297 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9298 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9299 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9300 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9301 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9302 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9303 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9304 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9305 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9306 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9307 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9308 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9309 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9310 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9311 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9312 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9313 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9314 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9315 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9316 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9317 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9318 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9319 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9320 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9321 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9322 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9323 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9324 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9325 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9326 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9327 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9328 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9329 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9330 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9331 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9332 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9333 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9334 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9335 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9336 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9337 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9338 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9339 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9340 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9341 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9342 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9343 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9344 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9345 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9346 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9347 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9348 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9349 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9351 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9352 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9353 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9354 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9355 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9356 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9357 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9358 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9359 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9360 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9361 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9362 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9363 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9364 * sysdeps/ieee754/s_matherr.c: Likewise.
9365 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9366 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9367 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9368 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9369
965a54a4
JM
93702012-01-26 Joseph Myers <joseph@codesourcery.com>
9371
9372 * crypt/md5.h: Remove __STDC__ conditionals.
9373 * libio/libioP.h: Likewise.
9374 * locale/programs/config.h: Likewise.
9375 * sysdeps/generic/sysdep.h: Likewise.
9376 * sysdeps/i386/asm-syntax.h: Likewise.
9377 * sysdeps/s390/asm-syntax.h: Likewise.
9378 * sysdeps/unix/sysdep.h: Likewise.
9379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9381
7071ad79
JM
93822012-01-26 Joseph Myers <joseph@codesourcery.com>
9383
9384 * libio/libio.h: Remove __STDC__ conditionals.
9385 * malloc/obstack.h: Likewise.
9386 * math/complex.h: Likewise.
9387 * math/math.h: Likewise.
9388 * sysdeps/generic/_G_config.h: Likewise.
9389 * sysdeps/gnu/_G_config.h: Likewise.
9390 * sysdeps/mach/hurd/_G_config.h: Likewise.
9391 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9392 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9393 * sysdeps/sparc/bits/mathdef.h: Likewise.
9394
afc5ed09
UD
93952012-01-26 Ulrich Drepper <drepper@gmail.com>
9396
9397 [BZ #13583]
9398 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9399 Clean up HAS_* macros.
afc5ed09 9400 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9401 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9402 possible.
9403 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9404 HAS_AVX.
9405 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9406 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9407 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9408 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9409 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9410
bdb6de1d
JM
94112012-01-25 Joseph Myers <joseph@codesourcery.com>
9412
9413 * elf/tst-unique3.cc (gets): Remove declaration.
9414 * elf/tst-unique3lib.cc (gets): Likewise.
9415 * elf/tst-unique3lib2.cc (gets): Likewise.
9416 * elf/tst-unique4.cc (gets): Likewise.
9417
b15549e6
UD
94182012-01-24 Ulrich Drepper <drepper@gmail.com>
9419
9420 * include/stdio.h: Add C++ protection. Add gets declarations and
9421 definitions.
9422 * debug/tst-chk1.c: Don't declare gets here.
9423 * stdio-common/tst-gets.c: Likewise.
9424
a037381f
JM
94252012-01-24 Joseph Myers <joseph@codesourcery.com>
9426
9427 * posix/glob: Remove directory.
9428
f1d4aa75
JM
94292012-01-24 Joseph Myers <joseph@codesourcery.com>
9430
9431 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9432
81c0c964
PT
94332012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9434
9435 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9436 of the non-standard EPFNOSUPPORT.
9437
0ea698ae
ST
94382011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9439
9440 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9441 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9442 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9443
d220b117
UD
94442012-01-21 Ulrich Drepper <drepper@gmail.com>
9445
9446 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9447
3e1aa84e
UD
94482012-01-20 Ulrich Drepper <drepper@gmail.com>
9449
9450 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9451 transient errors.
9452 * nscd/grpcache.c (cache_addgr): Likewise.
9453 * nscd/hstcache.c (cache_addhst): Likewise.
9454 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9455 * nscd/pwdcache.c (cache_addpw): Likewise.
9456 * nscd/servicescache.c (cache_addserv): Likewise.
9457
400aa020
UD
94582012-01-16 Ulrich Drepper <drepper@gmail.com>
9459
d77e7869
UD
9460 * malloc/malloc.c: Various cleanups.
9461 * malloc/hooks.c: Likewise.
9462
400aa020
UD
9463 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9464 * stdlib/bug-fmtmsg1.c: New file.
9465
9466 * stdlib/fmtmsg.c (init): Add missing unlock.
9467 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9468
e0a309cf
MP
94692012-01-12 Marek Polacek <polacek@redhat.com>
9470
9471 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9472 and _GNU_SOURCE.
9473
929d11c7
WS
94742012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9475
9476 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9477 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9478 macro to ensure uniqueness of label name.
9479 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9480 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9481
41d0e869
UD
94822012-01-11 Ulrich Drepper <drepper@gmail.com>
9483
0cc5ed3b
UD
9484 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9485
41d0e869
UD
9486 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9487 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9488 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9489 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9490
a47a831a
UD
94912012-01-10 Ulrich Drepper <drepper@gmail.com>
9492
daa891c0
UD
9493 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9494
9495 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9496 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9497 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9498
e58ef0f2
UD
9499 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9500
a47a831a 9501 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9502 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9503 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9504 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9505
9506 * math/bits/math-finite.h: Add ldexp support.
9507
a0bfc9c7
MP
95082012-01-10 Marek Polacek <polacek@redhat.com>
9509
9510 * locale/programs/localedef.h (show_archive_content): Add noreturn
9511 attribute.
9512
d6e97a1d
UD
95132012-01-09 Ulrich Drepper <drepper@gmail.com>
9514
9515 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9516
d5835c26
UD
95172012-01-08 Ulrich Drepper <drepper@gmail.com>
9518
e5f484c6
UD
9519 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9520
d5835c26
UD
9521 * io/Makefile (headers): Add bits/poll2.h.
9522
d1f741e9
WS
95232011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9524
9525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9526 typo #include statement.
9527
ec09c1c4
UD
95282012-01-08 Ulrich Drepper <drepper@gmail.com>
9529
9530 * include/sys/cdefs.h: Define __attribute_alloc_size.
9531 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9532 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9533 * elf/pldd.c: Likewise.
9534 * iconv/iconv_charmap.c: Likewise.
9535 * iconv/iconvconfig.c: Likewise.
9536 * iconv/strtab.c: Likewise.
9537 * locale/programs/locale.c: Likewise.
9538 * locale/programs/localedef.h: Likewise.
9539 * locale/programs/simple-hash.c: Likewise.
9540 * nscd/nscd.h: Likewise.
9541 * nss/makedb.c: Likewise.
9542 * sysdeps/generic/ldconfig.h: Likewise.
9543 * locale/programs/localedef.c: Remove xmalloc prototype.
9544 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9545
20b38e03
PP
95462012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9547
9548 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9549 appropriate.
9550
a0da5fe1
UD
95512012-01-08 Ulrich Drepper <drepper@gmail.com>
9552
1d5a644a 9553 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9554 * math/tst-CMPLX.c: New file.
1d5a644a 9555
8784a6db
UD
9556 * math/complex.h (CMPLXL): Fix typo.
9557
d9a216c0
UD
9558 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9559 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9560 GLIBC_2.16.
9561 * debug/tst-chk1.c: Add poll and ppoll tests.
9562 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9563 * include/sys/poll.h: Add hidden proto for ppoll.
9564 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9565 * sysdeps/mach/hurd/ppoll.c: Likewise.
9566 * io/ppoll.c: Likewise.
9567 * debug/poll_chk.c: New file.
9568 * debug/ppoll_chk.c: New file.
9569 * include/bits/poll2.h: New file.
9570 * io/bits/poll2.h: New file.
9571
ac097f5c
UD
9572 [BZ #1350]
9573 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9574
2119dcfa
UD
9575 * configure.in: static is always set to yes. Remove.
9576 * config.make.in: Don't set build-static.
9577 * Makeconfig: Remove use of build-static.
9578 * dlfcn/Makefile: Likewise.
9579 * elf/Makefile: Likewise.
9580 * math/Makefile: Likewise.
9581 * misc/Makefile: Likewise.
9582 * nptl/Makefile: Likewise.
9583 * sysdeps/mach/hurd/Makefile: Likewise.
9584
121766a9
UD
9585 * configure.in: PWD_P is not used anymore.
9586 * config.make.in: Remove PWD_P entry.
9587
51a1d39c 9588 * configure.in: Remove last remnants of RANLIB.
8720d066 9589 No need to check for signed size_t anymore.
215f4bdc
UD
9590 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9591 and IA-64.
3857022a 9592 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9593 * aclocal.m4: Likewise.
9594
d3ed7225
UD
9595 * wcsmbs/mbrtoc16.c: Implement using towc function.
9596 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9597 * wcsmbs/wcsmbsload.c: Likewise.
9598 * iconv/gconv_simple.c: Likewise.
9599 * iconv/gconv_int.h: Likewise.
9600 * iconv/gconv_builtin.h: Likewise.
9601 * iconv/iconv_prog.c: Remove CHAR16 handling.
9602
9603 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9604
9605 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9606
a0da5fe1
UD
9607 * configure.in: Remove --with-elf and --enable-bounded options.
9608 Dont set base_machine for ia64. More non-ELF conditions removed.
9609 Remove testing and setting of leading underscore information.
9610 * config.make.in (build-bounded): Set to no.
9611 * config.h.in: Remove NO_UNDERSCORES entry.
9612 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9613 them.
9614 * csu/start.c: Remove !NO_UNDERSCORE code.
9615 * locale/localeinfo.h: Likewise.
9616 * sysdeps/generic/machine-gmon.h: Likewise.
9617 * sysdeps/generic/sysdep.h: Likewise.
9618 * sysdeps/i386/sysdep.h: Likewise.
9619 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9620 * sysdeps/mach/sysdep.h: Likewise.
9621 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9622 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9623 * sysdeps/sh/sysdep.h: Likewise.
9624 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9625 * sysdeps/unix/i386/sysdep.S: Likewise.
9626 * sysdeps/unix/sparc/start.c: Likewise.
9627 * sysdeps/unix/sparc/sysdep.S: Likewise.
9628 * sysdeps/unix/sparc/sysdep.h: Likewise.
9629 * sysdeps/unix/start.c: Likewise.
9630 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9631 * sysdeps/x86_64/sysdep.h: Likewise.
9632
df78418a
UD
96332012-01-07 Ulrich Drepper <drepper@gmail.com>
9634
a784e502
UD
9635 [BZ #13553]
9636 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9637 for non-gcc.
9638 * argp/argp-fmtstream.h: Use const instead __const.
9639 * argp/argp.h: Likewise.
9640 * assert/assert.h: Likewise.
9641 * bits/fenv.h: Likewise.
9642 * bits/sched.h: Likewise.
9643 * bits/sigset.h: Likewise.
9644 * bits/sigthread.h: Likewise.
9645 * catgets/nl_types.h: Likewise.
9646 * conform/data/pthread.h-data: Likewise.
9647 * crypt/crypt-private.h: Likewise.
9648 * crypt/crypt.h: Likewise.
9649 * crypt/crypt_util.c: Likewise.
9650 * ctype/ctype.h: Likewise.
9651 * debug/execinfo.h: Likewise.
9652 * debug/mbsnrtowcs_chk.c: Likewise.
9653 * debug/mbsrtowcs_chk.c: Likewise.
9654 * debug/wcsnrtombs_chk.c: Likewise.
9655 * debug/wcsrtombs_chk.c: Likewise.
9656 * debug/wcstombs_chk.c: Likewise.
9657 * dirent/dirent.h: Likewise.
9658 * dlfcn/dlfcn.h: Likewise.
9659 * elf/neededtest4.c: Likewise.
9660 * grp/grp.h: Likewise.
9661 * gshadow/gshadow.h: Likewise.
9662 * iconv/gconv.h: Likewise.
9663 * iconv/gconv_int.h: Likewise.
9664 * iconv/gconv_simple.c: Likewise.
9665 * iconv/iconv.h: Likewise.
9666 * iconv/loop.c: Likewise.
9667 * iconv/skeleton.c: Likewise.
9668 * include/aio.h: Likewise.
9669 * include/aliases.h: Likewise.
9670 * include/argz.h: Likewise.
9671 * include/arpa/inet.h: Likewise.
9672 * include/assert.h: Likewise.
9673 * include/dirent.h: Likewise.
9674 * include/dlfcn.h: Likewise.
9675 * include/execinfo.h: Likewise.
9676 * include/fcntl.h: Likewise.
9677 * include/fenv.h: Likewise.
9678 * include/glob.h: Likewise.
9679 * include/grp.h: Likewise.
9680 * include/libintl.h: Likewise.
9681 * include/mntent.h: Likewise.
9682 * include/netdb.h: Likewise.
9683 * include/pwd.h: Likewise.
9684 * include/rpc/netdb.h: Likewise.
9685 * include/sched.h: Likewise.
9686 * include/search.h: Likewise.
9687 * include/shadow.h: Likewise.
9688 * include/signal.h: Likewise.
9689 * include/stdio.h: Likewise.
9690 * include/stdlib.h: Likewise.
9691 * include/string.h: Likewise.
9692 * include/sys/socket.h: Likewise.
9693 * include/sys/stat.h: Likewise.
9694 * include/sys/statfs.h: Likewise.
9695 * include/sys/statvfs.h: Likewise.
9696 * include/sys/syslog.h: Likewise.
9697 * include/sys/time.h: Likewise.
9698 * include/sys/uio.h: Likewise.
9699 * include/time.h: Likewise.
9700 * include/unistd.h: Likewise.
9701 * include/utmp.h: Likewise.
9702 * include/wchar.h: Likewise.
9703 * include/wctype.h: Likewise.
9704 * inet/aliases.h: Likewise.
9705 * inet/arpa/inet.h: Likewise.
9706 * inet/netinet/ether.h: Likewise.
9707 * inet/netinet/in.h: Likewise.
9708 * intl/libintl.h: Likewise.
9709 * io/bits/fcntl2.h: Likewise.
9710 * io/fcntl.h: Likewise.
9711 * io/ftw.h: Likewise.
9712 * io/sys/poll.h: Likewise.
9713 * io/sys/stat.h: Likewise.
9714 * io/sys/statfs.h: Likewise.
9715 * io/sys/statvfs.h: Likewise.
9716 * io/utime.h: Likewise.
9717 * libio/bits/stdio.h: Likewise.
9718 * libio/bits/stdio2.h: Likewise.
9719 * libio/libio.h: Likewise.
9720 * libio/libioP.h: Likewise.
9721 * libio/stdio.h: Likewise.
9722 * locale/lc-ctype.c: Likewise.
9723 * locale/locale.h: Likewise.
9724 * login/utmp.h: Likewise.
9725 * malloc/arena.c: Likewise.
9726 * malloc/malloc.c: Likewise.
9727 * malloc/malloc.h: Likewise.
9728 * malloc/mcheck.c: Likewise.
9729 * malloc/mtrace.c: Likewise.
9730 * math/bits/mathcalls.h: Likewise.
9731 * math/fenv.h: Likewise.
9732 * math/math_private.h: Likewise.
9733 * misc/bits/error.h: Likewise.
9734 * misc/bits/syslog.h: Likewise.
9735 * misc/err.h: Likewise.
9736 * misc/error.h: Likewise.
9737 * misc/fstab.h: Likewise.
9738 * misc/mntent.h: Likewise.
9739 * misc/regexp.h: Likewise.
9740 * misc/search.h: Likewise.
9741 * misc/sgtty.h: Likewise.
9742 * misc/sys/mman.h: Likewise.
9743 * misc/sys/syslog.h: Likewise.
9744 * misc/sys/uio.h: Likewise.
9745 * misc/sys/xattr.h: Likewise.
9746 * misc/ttyent.h: Likewise.
9747 * nis/rpcsvc/ypclnt.h: Likewise.
9748 * nss/nss.h: Likewise.
9749 * posix/bits/unistd.h: Likewise.
9750 * posix/fnmatch.h: Likewise.
9751 * posix/glob.h: Likewise.
9752 * posix/sched.h: Likewise.
9753 * posix/spawn.h: Likewise.
9754 * posix/sys/wait.h: Likewise.
9755 * posix/unistd.h: Likewise.
9756 * posix/wordexp.h: Likewise.
9757 * pwd/pwd.h: Likewise.
9758 * resolv/netdb.h: Likewise.
9759 * resource/sys/resource.h: Likewise.
9760 * rt/aio.h: Likewise.
9761 * rt/bits/mqueue2.h: Likewise.
9762 * rt/mqueue.h: Likewise.
9763 * shadow/shadow.h: Likewise.
9764 * signal/signal.h: Likewise.
9765 * socket/send.c: Likewise.
9766 * socket/sendto.c: Likewise.
9767 * socket/sys/socket.h: Likewise.
9768 * stdio-common/printf.h: Likewise.
9769 * stdlib/bits/stdlib.h: Likewise.
9770 * stdlib/fmtmsg.h: Likewise.
9771 * stdlib/monetary.h: Likewise.
9772 * stdlib/stdlib.h: Likewise.
9773 * stdlib/ucontext.h: Likewise.
9774 * streams/stropts.h: Likewise.
9775 * string/argz.h: Likewise.
9776 * string/bits/string2.h: Likewise.
9777 * string/string.h: Likewise.
9778 * string/strings.h: Likewise.
9779 * sunrpc/rpc/auth.h: Likewise.
9780 * sunrpc/rpc/auth_des.h: Likewise.
9781 * sunrpc/rpc/clnt.h: Likewise.
9782 * sunrpc/rpc/netdb.h: Likewise.
9783 * sunrpc/rpc/pmap_clnt.h: Likewise.
9784 * sunrpc/rpc/xdr.h: Likewise.
9785 * sysdeps/generic/inttypes.h: Likewise.
9786 * sysdeps/generic/net/if.h: Likewise.
9787 * sysdeps/generic/sys/swap.h: Likewise.
9788 * sysdeps/gnu/net/if.h: Likewise.
9789 * sysdeps/gnu/utmpx.h: Likewise.
9790 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9791 * sysdeps/i386/i486/bits/string.h: Likewise.
9792 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9793 * sysdeps/s390/bits/string.h: Likewise.
9794 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9795 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9796 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9797 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9798 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9799 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9800 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9801 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9802 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9803 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9804 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9805 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9806 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9807 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9808 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9809 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9810 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9811 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9812 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9813 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9814 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9815 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9816 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9817 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9818 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9819 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9820 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9821 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9822 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9823 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9824 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9825 * sysvipc/sys/ipc.h: Likewise.
9826 * sysvipc/sys/msg.h: Likewise.
9827 * sysvipc/sys/sem.h: Likewise.
9828 * sysvipc/sys/shm.h: Likewise.
9829 * termios/termios.h: Likewise.
9830 * time/sys/time.h: Likewise.
9831 * time/time.h: Likewise.
9832 * wcsmbs/bits/wchar2.h: Likewise.
9833 * wcsmbs/uchar.h: Likewise.
9834 * wcsmbs/wchar.h: Likewise.
9835 * wctype/wctype.h: Likewise.
9836
0269750c
UD
9837 [BZ #13551]
9838 * Makeconfig: Remove all but ELF support including AIX support.
9839 * Makerules: Likewise.
9840 * config.h.in: Likewise.
9841 * config.make.in: Likewise.
9842 * configure: Likewise.
9843 * configure.in: Likewise.
9844 * csu/Makefile: Likewise.
9845 * csu/version.c: Likewise.
9846 * debug/Makefile: Likewise.
9847 * dlfcn/Makefile: Likewise.
9848 * elf/Makefile: Likewise.
9849 * extra-lib.mk: Likewise.
9850 * iconv/Makefile: Likewise.
9851 * include/libc-symbols.h: Likewise.
9852 * include/shlib-compat.h: Likewise.
9853 * resolv/Makefile: Likewise.
9854 * resolv/res_libc.c: Likewise.
9855 * rt/Makefile: Likewise.
9856 * sysdeps/i386/asm-syntax.h: Likewise.
9857 * sysdeps/i386/sysdep.h: Likewise.
9858 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9859 * sysdeps/mach/sysdep.h: Likewise.
9860 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9861 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9862 * sysdeps/s390/asm-syntax.h: Likewise.
9863 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9864 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9865 * sysdeps/sh/sysdep.h: Likewise.
9866 * sysdeps/unix/sparc/sysdep.h: Likewise.
9867 * sysdeps/wordsize-32/divdi3.c: Likewise.
9868 * sysdeps/x86_64/sysdep.h: Likewise.
9869
00bbd29b
UD
9870 * argp/Versions: Remove _argp_unlock_xxx.
9871
9872 [BZ #13559]
9873 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9874 * abilist/libBrokenLocale.abilist: Likewise.
9875 * abilist/libanl.abilist: Likewise.
9876 * abilist/libc.abilist: Likewise.
9877 * abilist/libcrypt.abilist: Likewise.
9878 * abilist/libdl.abilist: Likewise.
9879 * abilist/libm.abilist: Likewise.
9880 * abilist/libnsl.abilist: Likewise.
9881 * abilist/libpthread.abilist: Likewise.
9882 * abilist/libresolv.abilist: Likewise.
9883 * abilist/librt.abilist: Likewise.
9884 * abilist/libthread_db.abilist: Likewise.
9885 * abilist/libutil.abilist: Likewise.
9886 * abilist/libnss_db.abilist: New file.
9887
9888 * scripts/abilist.awk: Add support for indirect functions.
9889
a2693a0e
UD
9890 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9891
3f05895f
UD
9892 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9893
ecb6fb48
UD
9894 * shlib-versions: Remove entries for ports architectures.
9895
664f8cb9
UD
9896 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9897 files in ports.
9898 * elf/stackguard-macros.h: Remove support for IA-64.
9899 * elf/tst-auditmod1.c: Likewise.
9900 * sysdeps/generic/ldsodefs.h: Likewise.
9901
7ae81d88
UD
9902 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9903 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9904 configure files.
9905
bdeba135
UD
9906 [BZ #13552]
9907 * configure.in: Remove --enable-omitfp support.
9908 * FAQ.in: Adjust.
9909 * config.make.in: Likewise.
9910 * Makeconfig: Likewise.
9911 * manual/install.texi: Likewise.
9912
d75a0a62
UD
9913 In case anyone cares, the IA-64 architecture could move to ports.
9914 * sysdeps/ia64/*: Removed.
9915 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9916 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9917
dcc9756b
UD
9918 [BZ #13555]
9919 * configure.in: Remove entries for unsupported architectures.
9920
d3761ebc 9921 [BZ #13533]
9954432e
UD
9922 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9923 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9924 routines.
9925 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9926 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9927 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9928 fall back to using wcrtomb.
9929 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9930 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9931 renaming.
9932 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9933 * wcsmbs/tst-c16c32-1.c: New file.
9934
9935 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9936 local variable.
9937
c3a87236
UD
9938 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9939
28926a1b
UD
9940 * elf/tst-unique3.cc: Add explicit declaration of gets.
9941 * elf/tst-unique3lib.cc: Likewise.
9942 * elf/tst-unique3lib2.cc: Likewise.
9943 * elf/tst-unique4.cc: Likewise.
9944
df78418a
UD
9945 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9946
8ecd6b2a
JM
99472012-01-06 Joseph Myers <joseph@codesourcery.com>
9948
9949 [BZ #13566]
9950 * assert/assert.h (static_assert): Don't define for C++.
9951 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9952 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9953
9f115170
UD
99542012-01-03 Ulrich Drepper <drepper@gmail.com>
9955
5e0d0300
UD
9956 * iconv/loop.c (single loop): Fix assertion in storing of
9957 remaining bytes.
9958
9f115170
UD
9959 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9960
81fb02b0
UD
99612012-01-01 Ulrich Drepper <drepper@gmail.com>
9962
9963 * posix/getconf.c: Update copyright year.
9964 * nss/getent.c: Likewise.
a316c1f6 9965 * nss/makedb.c: Likewise.
81fb02b0
UD
9966 * iconv/iconvconfig.c: Likewise.
9967 * iconv/iconv_prog.c: Likewise.
9968 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9969 * elf/pldd.c: Likewise.
9970 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9971 * catgets/gencat.c: Likewise.
9972 * csu/version.c: Likewise.
9973 * elf/ldd.bash.in: Likewise.
9974 * elf/sprof.c (print_version): Likewise.
9975 * locale/programs/locale.c: Likewise.
9976 * locale/programs/localedef.c: Likewise.
a316c1f6 9977 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9978 * nscd/nscd.c (print_version): Likewise.
9979 * debug/xtrace.sh: Likewise.
9980 * malloc/memusage.sh: Likewise.
9981 * malloc/mtrace.pl: Likewise.
9982 * debug/catchsegv.sh: Likewise.
9983
2ba92745
JJ
99842011-12-30 Jakub Jelinek <jakub@redhat.com>
9985
9986 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9987 pure attribute.
9988
dadebdae
UD
99892011-12-24 Ulrich Drepper <drepper@gmail.com>
9990
d3761ebc 9991 [BZ #13533]
db6af3eb
UD
9992 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9993 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9994 transformations.
9995 * iconv/gconv_int.h: Likewise.
9996 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9997 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9998 from libc for GLIBC_2.16.
9999 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10000 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10001 * wcsmbs/uchar.h: Really define mbstate_t.
10002 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10003 * wcsmbs/c16rtomb.c: New file.
10004 * wcsmbs/mbrtoc16.c: New file.
10005 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10006 for C/POSIX locale.
10007 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10008 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10009
dadebdae
UD
10010 * wcsmbs/wchar.h: Add missing __restrict.
10011
67371b56
UD
100122011-12-23 Ulrich Drepper <drepper@gmail.com>
10013
74033a25
UD
10014 [BZ #13532]
10015 * time/Makefile (routines): Add timespec_get.
10016 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10017 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10018 timespec for ISO C11.
10019 * time/timespec_get.c: New file.
10020 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10021 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10022
380d7e87
UD
10023 [BZ #13531]
10024 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10025 * stdlib/stdlib.h: Declare aligned_alloc.
10026 * Versions.def: Add GLIBC_2.16 for libc.
10027 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10028
4e9e7a35
UD
10029 [BZ 13527]
10030 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10031 ISO C11.
10032
380d7e87 10033 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
10034 code.
10035
03a71829
UD
10036 [BZ #13528]
10037 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10038
839e283e
UD
10039 [BZ #13529]
10040 * assert/assert.h (static_assert): Define.
10041
ce5294e2 10042 * version.h: Update for 2.16 development version.
90fa7312 10043
8d44e150 10044 [BZ #13526]
d7809905
UD
10045 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10046 _ISOC11_SOURCE.
10047
c0da14cd
UD
10048 * version.h (RELEASE): Bump for 2.15 release.
10049 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10050
530a3249
MP
10051 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10052 Patch by Marek Polacek <mpolacek@redhat.com>.
10053
67371b56
UD
10054 * bits/byteswap.h: Protect long long constants with __extension__.
10055 * sysdeps/i386/bits/byteswap.h: Likewise.
10056 * sysdeps/ia64/bits/byteswap.h: Likewise.
10057 * sysdeps/s390/bits/byteswap.h: Likewise.
10058 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10059
15db4de1
LD
100602011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10061
10062 [BZ #13540]
bbe315ea
LD
10063 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10064 destination buffer.
15db4de1
LD
10065 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10066
2b2596b1
MP
100672011-12-23 Marek Polacek <polacek@redhat.com>
10068
10069 * elf/dl-addr.c (determine_info): Add inline keyword.
10070 * elf/tst-auditmod4b.c (check_avx): Likewise.
10071 * elf/tst-auditmod6b.c (check_avx): Likewise.
10072 * elf/tst-auditmod6c.c (check_avx): Likewise.
10073 * elf/tst-auditmod7b.c (check_avx): Likewise.
10074
70c6c246
UD
100752011-12-23 Ulrich Drepper <drepper@gmail.com>
10076
10077 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10078 !__SSE_MATH__.
10079
c044cf14
LD
100802011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10081
15db4de1 10082 [BZ #13540]
c044cf14
LD
10083 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10084 processing for last bytes.
10085
6b13d9d9
BH
100862011-08-06 Bruno Haible <bruno@clisp.org>
10087
d455f537
BH
10088 [BZ #13061]
10089 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10090 U+0385, not to U+1FEE.
10091
6b13d9d9
BH
10092 [BZ #13062]
10093 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10094 entry for U+00A5 U+0301.
10095
db910efd
UD
100962011-12-22 Ulrich Drepper <drepper@gmail.com>
10097
27deeafc
UD
10098 [BZ #13166]
10099 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10100 buffer for the output is too small.
10101
aed9d171
UD
10102 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10103 optimization.
10104
db910efd
UD
10105 [BZ #13185]
10106 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10107 SSE flags if possible.
10108
2bd779ae
LD
101092011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10110
e7f9dac3 10111 [BZ #13540]
2bd779ae
LD
10112 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10113 processing for last bytes.
10114
154bfc16
JM
101152011-12-22 Joseph Myers <joseph@codesourcery.com>
10116
10117 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10118 (syscall-list-default-options, syscall-list-default-condition)
10119 (syscall-list-includes): Define.
10120 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10121 list of ABIs and options and #if conditions for each ABI. Do not
10122 handle common syscalls between ABIs specially.
10123 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10124 Remove.
10125 (syscall-list-variants, syscall-list-32bit-options)
10126 (syscall-list-32bit-condition, syscall-list-64bit-options)
10127 (syscall-list-64bit-condition): Define.
10128 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10129 (syscall-list-variants, syscall-list-32bit-options)
10130 (syscall-list-32bit-condition, syscall-list-64bit-options)
10131 (syscall-list-64bit-condition): Define.
10132 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10133 Remove.
10134 (syscall-list-variants, syscall-list-32bit-options)
10135 (syscall-list-32bit-condition, syscall-list-64bit-options)
10136 (syscall-list-64bit-condition): Define.
10137 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10138 Remove.
10139 (syscall-list-variants, syscall-list-32bit-options)
10140 (syscall-list-32bit-condition, syscall-list-64bit-options)
10141 (syscall-list-64bit-condition): Define.
10142
21eaf3a5
UD
101432011-12-22 Ulrich Drepper <drepper@gmail.com>
10144
16c6f992
UD
10145 * locale/iso-639.def: Add brx entry.
10146
41043168
UD
10147 [BZ #13328]
10148 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10149 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10150
21eaf3a5
UD
10151 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10152 __feraiseexcept_renamed.
10153
e3a851a2
UD
101542011-12-21 Ulrich Drepper <drepper@gmail.com>
10155
4920765e
UD
10156 [BZ #13538]
10157 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10158 EPOLLET with unsigned values.
10159 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10160 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10161
e3a851a2
UD
10162 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10163 to large cancellation.
10164 * math/s_cacoshf.c: Likewise.
10165 * math/s_cacoshl.c: Likewise.
10166
b27e24b8
RK
101672011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10168
10169 [BZ #13305]
aebefeee 10170 [BZ #12786]
b27e24b8
RK
10171 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10172 * math/s_cacoshf.c: Likewise.
10173 * math/s_cacoshl.c: Likewise.
10174
ee190f67
UD
101752011-12-21 Ulrich Drepper <drepper@gmail.com>
10176
10177 [BZ #13439]
10178 * iconv/gconv.h: Define __GCONV_SWAP.
10179 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10180 * iconvdata/utf-16.c: Likewise.
10181 * iconvdata/utf-32.c: Likewise.
10182
707f25df
AS
101832011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10184
10185 [BZ #13524]
10186 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10187 numerator after shifting it by one limb.
10188
d2daaa1e
RÁE
101892011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10190
10191 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10192 under [__USE_EXTERN_INLINES].
10193
a4647e72
UD
101942011-12-17 Ulrich Drepper <drepper@gmail.com>
10195
10196 [BZ #13446]
10197 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10198
f0b264f1
AZ
101992011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10200
10201 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10202 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10203 optimized code.
10204 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10205 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10206 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10207 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10208 for strncasecmp/strncasecmp_l compilation.
10209 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10210 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10211
8ef4f244
MP
102122011-12-08 Marek Polacek <mpolacek@redhat.com>
10213
10214 [BZ #13484]
10215 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10216 of __asm__.
10217
97ac2654
UD
102182011-12-17 Ulrich Drepper <drepper@gmail.com>
10219
10220 [BZ #13506]
10221 * time/tzfile.c (__tzfile_read): Check values from file header.
10222
91d2a845
WS
102232011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10224
10225 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10226 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10227 * powerpc/powerpc32/dl-start.S: Likewise.
10228 * powerpc/powerpc32/elf/start.S: Likewise.
10229 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10230 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10231 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10232 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10233 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10234 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10235 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10236 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10237 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10238 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10239 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10240 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10241 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10242 * powerpc/powerpc32/memset.S: Likewise.
10243 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10244 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10245 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10246 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10247 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10248 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10249 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10250 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10251 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10252 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10253 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10254 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10255 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10256
a1267ba1
AZ
102572011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10258
10259 * math/libm-test.inc: Added more nearbyint tests.
10260 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10261 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10262 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10263 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10264
ad8ac1bd
RL
102652011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10266
10267 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10268 FD_CLOEXEC.
10269
1d3e4b61
UD
102702011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10271
10272 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10273 Add wcscpy-ssse3 wcscpy-c.
10274 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10275 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10276 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10277 * sysdeps/x86_64/wcschr.S: New file.
10278 * sysdeps/x86_64/wcsrchr.S: New file.
10279 * string/test-strcmp.c: Remove checking of wcscmp function for
10280 wrong alignments.
10281 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10282 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10283 wcsrchr-sse2 wcsrchr-c.
10284 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10285 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10286 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10287 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10288 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10289 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10290 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10291 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10292 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10293 * wcsmbc/wcschr.c (WCSCHR): New macro.
10294
5b330a2d
UD
102952011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10296
10297 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10298 * wcsmbs/test-wcsrchr.c: New file.
10299 * string/test-strrchr.c: Add wcsrchr support.
10300 (WIDE): New macro.
10301 * wcsmbs/test-wcscpy.c: New file.
10302 * string/test-strcpy.c: Add wcscpy support.
10303 (WIDE): New macro.
26428b7c 10304
f039c043
UD
103052011-12-10 Ulrich Drepper <drepper@gmail.com>
10306
10307 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10308 the inner loop.
10309
850fb039
AS
103102011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10311
10312 [BZ #13472]
10313 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10314
4efbd5cb
UD
103152011-12-04 Ulrich Drepper <drepper@gmail.com>
10316
52ff5dd0 10317 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10318 Minor optimizations.
52ff5dd0 10319
4efbd5cb
UD
10320 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10321 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10322 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10323
8a426e12
UD
103242011-12-03 Ulrich Drepper <drepper@gmail.com>
10325
aff2453d
UD
10326 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10327 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10328 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10329 for gcc to avoid warnings.
10330 * inet/Makefile (tests): Add tst-checks.
10331 * inet/tst-checks.c: New file.
10332
10333 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10334 warning.
10335
10336 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10337 __wmemcmp_sse2.
10338
10339 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10340 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10341
8a426e12
UD
10342 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10343
9bea3473
UD
103442011-12-02 Ulrich Drepper <drepper@gmail.com>
10345
3a965496
UD
10346 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10347 problem.
10348
9bea3473
UD
10349 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10350
f101631b
UD
103512011-11-29 Joseph Myers <joseph@codesourcery.com>
10352
10353 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10354 conditional on GCC version.
10355 (__arch_compare_and_exchange_val_8_acq)
10356 (__arch_compare_and_exchange_val_16_acq)
10357 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10358 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10359 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10360
a98275aa
UD
103612011-12-02 Joseph Myers <joseph@codesourcery.com>
10362
10363 * sysdeps/sh/backtrace.c: New file.
10364
d4cc29a2
AS
103652011-12-02 Andreas Schwab <schwab@redhat.com>
10366
10367 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10368 parenthesis.
10369
6257af2d
AS
103702011-12-01 Andreas Schwab <schwab@redhat.com>
10371
10372 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10373 falling back to utime.
10374
b5f44c1a
AS
103752011-11-30 Andreas Schwab <schwab@redhat.com>
10376
10377 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10378 expectations for float.
10379
f3a6cc0a
AS
103802011-11-29 Andreas Schwab <schwab@redhat.com>
10381
10382 * locale/weight.h (findidx): Add parameter len.
10383 * locale/weightwc.h (findidx): Likewise.
10384 * posix/fnmatch_loop.c (FCT): Adjust caller.
10385 * posix/regcomp.c (build_equiv_class): Likewise.
10386 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10387 * posix/regexec.c (check_node_accept_bytes): Likewise.
10388 * string/strcoll_l.c (STRCOLL): Likewise.
10389 * string/strxfrm_l.c (STRXFRM): Likewise.
10390
9d65ea3a
UD
103912011-11-17 Ulrich Drepper <drepper@gmail.com>
10392
10393 * Makefile.in: Remove CVSOPT handling.
10394 * configure.in: Remove use of AC_REVISION.
10395 * iconvdata/Makefile (distribute): No need to filter out CVS.
10396 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10397 handling.
10398
5583a086
AS
103992011-11-16 Andreas Schwab <schwab@redhat.com>
10400
10401 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10402 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10403 [USE_AS_STRNCASECMP_L]: Likewise.
10404 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10405 NO_TLS_DIRECT_SEG_REFS.
10406 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10407 Fix argument offsets for non-PIC.
10408 [USE_AS_STRNCASECMP_L]: Likewise.
10409 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10410 NO_TLS_DIRECT_SEG_REFS.
10411
d62a8200
UD
104122011-11-15 Ulrich Drepper <drepper@gmail.com>
10413
9d65ea3a 10414 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10415 O_CLOEXEC.
10416 * locale/loadlocale.c (_nl_load_locale): Likewise.
10417
09f93bd3
AS
104182011-11-15 Andreas Schwab <schwab@redhat.com>
10419
446514f9
AS
10420 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10421 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10422 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10423 (SYSCALL_GETTIME): Set errno on error.
10424
09f93bd3
AS
10425 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10426 count references to noai6ai_cached.
10427
312be3f9
UD
104282011-11-15 Ulrich Drepper <drepper@gmail.com>
10429
10430 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10431
10432 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10433 FD_CLOEXEC for /proc/self/maps.
10434
10435 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10436 FD_CLOEXEC for /proc/meminfo.
10437
10438 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10439 gai.conf.
10440
10441 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10442 FD_CLOEXEC for given file.
10443
10444 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10445
10446 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10447 FD_CLOEXEC for /etc/hosts.
10448 (_gethtent): Likewise.
10449
10450 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10451
10452 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10453 cancellation and set FD_CLOEXEC for /etc/netgroup.
10454
10455 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10456 reading /etc/publickey.
10457
10458 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10459 allow cancellation when reading /etc/group.
10460
10461 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10462 cancellation.
10463 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10464
10465 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10466 when using data file.
10467
10468 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10469
10470 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10471 (write_nis_obj): Use "c" and "e" in fopen.
10472
10473 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10474
10475 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10476
10477 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10478
10479 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10480
10481 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10482 locale.alias.
10483
10484 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10485
10486 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10487
10488 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10489
10490 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10491 file parsing and set FD_CLOEXEC.
10492
82af0fa8
UD
104932011-11-14 Ulrich Drepper <drepper@gmail.com>
10494
10495 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10496
a5fb313c
AS
104972011-11-14 Andreas Schwab <schwab@redhat.com>
10498
10499 * malloc/arena.c (arena_get2): Don't call reused_arena when
10500 _int_new_arena failed.
10501
6abf3465
UD
105022011-11-14 Ulrich Drepper <drepper@gmail.com>
10503
10504 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10505 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10506 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10507 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10508 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10509 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10510 to compile strcasecmp and strncasecmp.
10511 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10512 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10513
10514 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10515
76e3966e
UD
105162011-11-13 Ulrich Drepper <drepper@gmail.com>
10517
10518 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10519 locale-defines.sym to gen-as-const-headers.
10520 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10521 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10522 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10523 to compile strcasecmp and strncasecmp.
10524 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10525 strcasecmp_l and strncasecmp_l.
10526 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10527 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10528 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10529 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10530 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10531 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10532 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10533 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10534 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10535 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10536 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10537
ab26144e
UD
105382011-11-12 Ulrich Drepper <drepper@gmail.com>
10539
7edb22ef
UD
10540 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10541 result of SYSDEP_GETTIME_CPU to retval.
10542 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10543 parameter list to macro. Remove trailing semicolon. Adjust users.
10544
9694fc44
UD
10545 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10546 variable.
10547
8ad89ef8
UD
10548 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10549 mantissa words.
10550 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10551
0c822ef9
UD
10552 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10553 from unused variable.
10554
874e0564
UD
10555 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10556 DWARF definitions.
10557 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10558 for assembling.
10559
3a2edc79
UD
10560 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10561 over namespaces.
10562
f3c2577f
UD
10563 * sunrpc/rpc_prot.c (rejected): Fix case value.
10564
294ce126
UD
10565 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10566 unsigned long long int to avoid warnings in shift.
10567
5e2b63c6
UD
10568 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10569 of use of trans.
10570 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10571 variable tmp.
10572
e7f4b08e
UD
10573 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10574 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10575 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10576
ab26144e
UD
10577 * nis/nis_table.c (nis_list): Use variable of correct type for
10578 result of __follow_path call.
10579
8a6d5255
AZ
105802011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10581
10582 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10583 of math functions ceil, trunc, floor, round, and sqrt, when
10584 avaliable on the platform.
10585 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10586 name clash.
10587 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10588 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10589 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10590
aaddc98c
MP
105912011-10-30 Marek Polacek <mpolacek@redhat.com>
10592
10593 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10594 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10595
95b7042b
RM
105962011-11-11 Roland McGrath <roland@hack.frob.com>
10597
10598 * include/unistd.h: Fix __readlink return type.
10599 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10600
57769839
UD
106012011-11-11 Ulrich Drepper <drepper@gmail.com>
10602
10603 * stdlib/ucontext.h: Undo last change for makecontext.
10604
edc5984d
AS
106052011-11-11 Andreas Schwab <schwab@redhat.com>
10606
98591e58
AS
10607 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10608
edc5984d
AS
10609 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10610 * setjmp/setjmp.h: Mark functions as non-leaf.
10611 * setjmp/bits/setjmp2.h: Likewise.
10612 * stdlib/ucontext.h: Likewise.
10613
77cdc054
AS
106142011-11-10 Andreas Schwab <schwab@redhat.com>
10615
10616 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10617 (reused_arena): Don't check arena limit.
10618 (arena_get2): Atomically check arena limit.
10619
fe72eebd
UD
106202011-11-08 Ulrich Drepper <drepper@gmail.com>
10621
5f078c32
UD
10622 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10623 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10624
fe72eebd
UD
10625 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10626 instructions.
10627
ae1bc2fa
AS
106282011-11-07 Andreas Schwab <schwab@redhat.com>
10629
7583a88d
AS
10630 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10631 handler when locking.
10632
ae1bc2fa
AS
10633 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10634 Fix size of allocated buffer.
10635
10fb0bfa
AS
106362011-11-04 Andreas Schwab <schwab@redhat.com>
10637
998832a4
AS
10638 [BZ #10103]
10639 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10640 declarations for long double functions.
10641 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10642
10fb0bfa
AS
10643 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10644
3d7ba52b
AS
106452011-11-03 Andreas Schwab <schwab@redhat.com>
10646
a9ae54a1
AS
10647 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10648 installed.
10649
3d7ba52b
AS
10650 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10651 is disabled.
10652
bc8db248
ST
106532011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10654
10655 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10656
45b96dd6
AS
106572011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10658
647776f6
AS
10659 * include/alloca.h (stackinfo_alloca_round): Define.
10660 (extend_alloca): Use it.
10661 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10662 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10663 here.
10664
d91a8b93
AS
10665 * scripts/check-local-headers.sh: Ignore libaudit.h.
10666
45b96dd6
AS
10667 * nscd/Makefile (extra-objs): Make recursively expanded.
10668
432d41ce
UD
106692011-11-01 Ulrich Drepper <drepper@gmail.com>
10670
34372fc6
UD
10671 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10672 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10673
fadb59f8
UD
10674 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10675 * posix/tst-rfc3484-2.c: Likewise.
10676 * posix/tst-rfc3484-3.c: Likewise.
10677
78239589
UD
10678 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10679 process_vm_writev.
10680 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10681 process_vm_writev.
10682 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10683 process_vm_writev from libc using GLIBC_2.15 version.
10684
432d41ce
UD
10685 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10686
02f9c6cf
PP
106872011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10688
10689 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10690 stack usage.
10691
3a2c0242
UD
106922011-10-31 Ulrich Drepper <drepper@gmail.com>
10693
f4ec4833
UD
10694 [BZ #13367]
10695 * nss/getent.c (initgroups_keys): Show error message in case no group
10696 names are given.
10697
3a2c0242
UD
10698 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10699 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10700 __bump_nl_timestamp.
10701 * nscd/connections (nscd_init): When host database is served open
10702 netlink socket and request notification about configuration changes.
10703 (main_loop_poll): Track netlink file descriptor and bump timestamp
10704 in case data becomes available.
10705 (main_loop_epoll): Likewise.
10706 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10707 (database_pers_head): Add extra_data fileds.
10708 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10709 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10710 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10711 Adjust caller.
10712 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10713 in6ai data, call __free_in6ai.
10714 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10715 Add -DHAVE_NETLINK.
10716 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10717 interface information. Reuse previous data if netlink timestamp
10718 is not changed.
10719 (__bump_nl_timestamp): New function.
10720 (__free_in6ai): New function.
10721
636064eb
UD
107222011-10-30 Ulrich Drepper <drepper@gmail.com>
10723
10724 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10725 close_not_cancel_no_status here.
10726 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10727
9beb2334
UD
107282011-10-29 Ulrich Drepper <drepper@gmail.com>
10729
6ef76f3b
UD
10730 [BZ #13276]
10731 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10732 return value.
10733
0ffc4f3e 10734 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10735 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10736 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10737
cb95113e
UD
107382011-07-03 Andreas Jaeger <aj@suse.de>
10739
10740 [BZ #10709]
10741 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10742 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10743 * math/libm-test.inc (sin_test): Add test case.
10744
a1b560ff
UD
107452011-10-29 Ulrich Drepper <drepper@gmail.com>
10746
c9aaface
UD
10747 [BZ #13337]
10748 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10749 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10750
d272e7f1
UD
10751 * elf/chroot_canon.c (chroot_canon): Cleanups.
10752
1bc33071
UD
10753 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10754
1760874d
TJ
10755 [BZ #13335]
10756 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10757 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10758
51d91b18
UD
10759 * string/test-strchr.c: Make usable for strchrnul testing.
10760 * string/test-strchrnul.c: New file.
10761 * string/Makefile (strop-tests): Add strchrnul.
10762
a1b560ff 10763 * po/it.po: Update from translation team.
b611fb81 10764 * po/es.po: Likewise.
a1b560ff 10765
a5b81e1f
UD
107662011-10-28 Ulrich Drepper <drepper@gmail.com>
10767
fd52bc6d
UD
10768 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10769 the three constants needed as parameters. Drop the others.
10770 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10771 __m128i_strloadu_tolower.
52e4b9eb
UD
10772 Create and initialize variable zero and use it in all the places
10773 where _mm_setzero_si128 was used.
fd52bc6d 10774
a5b81e1f
UD
10775 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10776 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10777 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10778 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10779 anymore.
10780 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10781 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10782 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10783 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10784 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10785 __mpranred, __mptan.
10786 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10787 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10788 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10789 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10790 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10791 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10792 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10793 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10794 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10795
b4343346
AS
107962011-10-28 Andreas Schwab <schwab@redhat.com>
10797
0c92d8a8
AS
10798 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10799 redefine if SHARED.
10800 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10801
b4343346
AS
10802 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10803 wide char related routines to wcsmbs subdir.
10804
3871f58f
AS
108052011-10-27 Andreas Schwab <schwab@redhat.com>
10806
10807 [BZ #13344]
10808 * misc/sys/cdefs.h (__THROWNL): Define.
10809 * posix/unistd.h: Use __THREADNL instead of __THREAD
10810 for memory synchronization functions.
10811
94d44d9f
RM
108122011-10-26 Roland McGrath <roland@hack.frob.com>
10813
21b64b15 10814 [BZ #13349]
94d44d9f
RM
10815 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10816 doesn't exist.
10817 * manual/stdio.texi (Obstack Streams): Node removed.
10818
f6ce9294
AS
108192011-10-26 Andreas Schwab <schwab@redhat.com>
10820
80479147
AS
10821 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10822 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10823 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10824
f6ce9294
AS
10825 * math/math_private.h (math_force_eval): Allow non-addressable
10826 arguments.
10827 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10828
618280a1
UD
108292011-10-25 Ulrich Drepper <drepper@gmail.com>
10830
e0016b11
UD
10831 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10832 file is not needed.
10833
10834 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10835 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10836 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10837 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10838 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10839 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10840 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10841 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10842 Add AVX variants.
10843 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10844 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10845 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10846 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10847 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10848 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10849 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10850 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10851 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10852 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10853 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10854 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10855 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10856 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10857 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10858 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10859 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10860 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10861 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10862
10863 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10864 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10865
618280a1
UD
10866 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10867 place. Use VEX encoding when compiling for AVX.
10868
37822576
AS
108692011-10-25 Andreas Schwab <schwab@redhat.com>
10870
1f1e1947
AS
10871 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10872 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10873
37822576
AS
10874 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10875
31ea014d
UD
108762011-10-25 Ulrich Drepper <drepper@gmail.com>
10877
d7826aa1 10878 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10879 useless if() expression.
d7826aa1
UD
10880 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10881 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10882 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10883 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10884 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10885 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10886 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10887 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10888 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10889 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10890 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10891 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10892 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10893 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10894 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10895 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10896 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10897 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10898 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10899
31ea014d
UD
10900 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10901
16437fec
AS
109022011-10-25 Andreas Schwab <schwab@redhat.com>
10903
10904 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10905 condition.
10906 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10907
31d3cc00
UD
109082011-10-25 Ulrich Drepper <drepper@gmail.com>
10909
10910 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10911 .text section. Avoid duplicate constants.
10912 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10913 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10914 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10915 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10916 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10917 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10918 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10919 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10920 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10921 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10922 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10923 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10924 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10925 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10926 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10927 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10928 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10929 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10930 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10931 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10932 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10933 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10934 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10935 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10936 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10937 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10938 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10939 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10940 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10941 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10942 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10943 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10944 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10945 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10946 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10947 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10948 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10949 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10950 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10951 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10952 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10953 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10954 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10955 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10956 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10957
58985aa9
UD
109582011-10-24 Ulrich Drepper <drepper@gmail.com>
10959
202c9deb
UD
10960 * sysdeps/x86_64/dla.h: Move to ...
10961 * sysdeps/x86_64/fpu/dla.h: ...here.
10962 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10963 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10964
af968f62
UD
10965 * config.make.in: Add have-mfma4 entry.
10966 * configure.in: Substitute libc_cv_cc_fma4.
10967 * math/Makefile (dbl-only-routines): Add sincostab.
10968 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10969 Use __sincostab not sincos.
10970 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10971 name is a macro.
10972 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10973 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10974 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10975 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10976 using __copysign.
10977 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10978 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10979 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10980 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10981 and __inv.
10982 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10983 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10984 __copysign.
10985 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10986 define aliases when function name is a macro.
10987 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10988 sysdeps/ieee754/dbl-64/sincos.tbl.
10989 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10990 fma4-enabled routines.
10991 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10992 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10993 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10994 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10995 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10996 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10997 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10998 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10999 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11000 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11001 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11002 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11003 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11004 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11005 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11006 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11007 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11008 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11009 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11010 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11011 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11012 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11013 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11014 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11015 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11016 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11017 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11018 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11019 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11020 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11021
58985aa9
UD
11022 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11023 rename.
11024 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11025 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11026 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11027 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11028 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11029 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11030 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11031 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11032
a201fbcf
AS
110332011-10-24 Andreas Schwab <schwab@redhat.com>
11034
11035 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11036
fc2ee42a
LD
110372011-10-23 Ulrich Drepper <drepper@gmail.com>
11038
bb3129bd
UD
11039 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11040
0275fff8
UD
11041 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11042 prediction.
11043 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11044
2fa2ae85
UD
11045 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11046 Remove unused variable magic_bits.
11047 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11048
fc2ee42a
LD
11049 * string/strnlen.c: Define and use STRNLEN macro.
11050 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11051 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11052 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11053 * wcsmbs/wcslen.c: Define and use WCSLEN.
11054 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11055 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11056 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11057 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11058 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11059 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11060 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11061
ce7dd29f
LD
110622011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11063
11064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11065 strnlen-sse2-no-bsf.
11066 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11067 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11068 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11069 Add strnlen support.
11070 (USE_AS_STRNLEN): New macro.
11071 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11072 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11073 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11074 * sysdeps/x86_64/wcslen.S: New file.
11075
979c70a3
MZ
110762011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11077
11078 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11079 XMM-moves are used for copying on small sizes.
11080
2d09f82f
LD
110812011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11082
11083 * wcsmbs/Makefile (strop-tests): Add wcschr.
11084 * wcsmbs/test-wcschr.c: New file.
11085 * string/test-strchr.c: Update.
11086 Add wcschr support.
11087 (WIDE): New macro.
11088
619fccca
LD
110892011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11090
2d09f82f 11091 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
11092 * wcsmbs/test-wcslen.c: New file.
11093 * string/test-strlen.c: Update.
11094 Add wcslen support.
11095 (WIDE): New macro.
11096
09f699ea
UD
110972011-10-23 Ulrich Drepper <drepper@gmail.com>
11098
11099 * po/it.po: Update from translation team.
11100
95584d3b
LD
111012011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11102
11103 * sysdeps/x86_64/wcscmp.S: Update.
11104 Fix wrong comparison semantics.
11105 wcscmp shall use signed comparison not unsigned.
11106 Don't use substraction to avoid overflow bug.
11107 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11108 * wcsmbc/wcscmp.c: Likewise.
11109 * string/test-strcmp.c: Likewise.
11110 Add new tests to check cases with negative values.
11111
c8b3296b
UD
111122011-10-23 Ulrich Drepper <drepper@gmail.com>
11113
11114 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11115 * sysdeps/x86_64/dla.h: ...here. New file.
11116 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11117 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11118 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11119 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11120 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11121 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11122 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11123 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11124 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11125
246ad57a
AS
111262011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11127
11128 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11129 __ynl_finite aliases.
11130
a1a87169
UD
111312011-10-22 Ulrich Drepper <drepper@gmail.com>
11132
0d355eb7
UD
11133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11134
a1a87169
UD
11135 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11136 define DLA_FMA.
11137 [DLA_FMA] (EMULV): Use DLA_FMA.
11138 [DLA_FMA] (MUL12): Use EMULV.
11139 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11140 that are not needed.
11141 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11142 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11143 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11144 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11145 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11146 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11147 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11148
ee2aafe0
AS
111492011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11150
11151 * math/s_nan.c: Undef __nan.
11152 * math/s_nanf.c: Undef __nanf.
11153 * math/s_nanl.c: Undef __nanl.
11154 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11155 "math_private.h".
11156
bc62c2fb
UD
111572011-10-22 Ulrich Drepper <drepper@gmail.com>
11158
77425c63
UD
11159 * math/s_catan.c: Add branch predictions.
11160 * math/s_catanf.c: Likewise.
11161 * math/s_catanh.c: Likewise.
11162 * math/s_catanhf.c: Likewise.
11163 * math/s_catanhl.c: Likewise.
11164 * math/s_catanl.c: Likewise.
11165 * math/s_cexp.c: Likewise.
11166 * math/s_cexpf.c: Likewise.
11167 * math/s_cexpl.c: Likewise.
11168 * math/s_clog.c: Likewise.
11169 * math/s_clog10.c: Likewise.
11170 * math/s_clog10f.c: Likewise.
11171 * math/s_clog10l.c: Likewise.
11172 * math/s_clogf.c: Likewise.
11173 * math/s_clogl.c: Likewise.
11174 * math/s_csqrt.c: Likewise.
11175 * math/s_csqrtf.c: Likewise.
11176 * math/s_csqrtl.c: Likewise.
11177 * math/s_ctanf.c: Likewise.
11178 * math/s_ctanh.c: Likewise.
11179 * math/s_ctanhf.c: Likewise.
11180 * math/s_ctanhl.c: Likewise.
11181 * math/s_ctanl.c: Likewise.
11182
bc62c2fb
UD
11183 * math/math_private.h: Define __nan, __nanf, __nanl.
11184 * math/s_cacosh.c: Include <math_private.h>.
11185 * math/s_cacoshl.c: Likewise.
11186 * math/s_casinh.c: Likewise.
11187 * math/s_casinhf.c: Likewise.
11188 * math/s_casinhl.c: Likewise.
11189 * math/s_ccos.c: Rely entire on ccosh.
11190 * math/s_ccosf.c: Rely entire on ccoshf.
11191 * math/s_ccosl.c: Rely entirely on ccoshl.
11192 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11193 Remove tests for FE_INVALID.
11194 * math/s_ccoshf.c: Likewise.
11195 * math/s_ccoshl.c: Likewise.
11196 * math/s_csin.c: Likewise.
11197 * math/s_csinf.c: Likewise.
11198 * math/s_csinh.c Likewise.
11199 * math/s_csinhf.c: Likewise.
11200 * math/s_csinhl.c: Likewise.
11201 * math/s_csinl.c: Likewise.
11202 * math/s_ctan.c: Likewise.
11203 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11204 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11205 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11206
8ec250a4
UD
112072011-10-21 Ulrich Drepper <drepper@gmail.com>
11208
c196fed8
UD
11209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11210 compilation problems.
11211
8ec250a4
UD
11212 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11213 __builtin_expect.
11214
8d4f46c6
UD
112152011-10-20 Ulrich Drepper <drepper@gmail.com>
11216
ed72b654
UD
11217 * sysdeps/i386/configure.in: Test for -mfma4 option.
11218 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11219 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11220 COMMON_CPUID_INDEX_80000001.
11221 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11222 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11223 use it if FMA3 is not supported.
11224 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11225
8d4f46c6
UD
11226 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11227 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11228
d45c60c2
AS
112292011-10-20 Andreas Schwab <schwab@redhat.com>
11230
11231 [BZ #12892]
11232 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11233 it would create a cycle with a link time dependency.
11234
d9a4d2ab
UD
112352011-10-19 Ulrich Drepper <drepper@gmail.com>
11236
855d1560
UD
11237 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11238 instruction.
11239 * string/Makefile (strop-tests): Add rawmemchr.
11240 * string/test-rawmemchr.c: New file.
11241
d9a4d2ab
UD
11242 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11243 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11244 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11245 when compiling str{,n}casecmp and when AVX is available. Hook up
11246 new optimized code in initializers.
11247
8f3b1ffe
AS
112482011-10-19 Andreas Schwab <schwab@redhat.com>
11249
11250 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11251 __feraiseexcept instead of feraiseexcept.
11252
d38f1dba
UD
112532011-10-18 Ulrich Drepper <drepper@gmail.com>
11254
d9a8d0ab
UD
11255 * math/math_private.h: Define defaults for libc_fetestexcept and
11256 libc_feupdateenv.
11257 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11258 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11259 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11260 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11261 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11262 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11263 libc_fetestexcept and libc_feupdateenv.
11264
4855e3dd
UD
11265 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11266 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11267 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11268 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11269 libc_feholdexcept_setround.
11270
581d30e3
UD
11271 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11272 Add s_nearbyint-c and s_nearbyintf-c.
11273 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11274 nearbyintf inlines.
11275 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11276 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11277 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11278 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11279
d38f1dba
UD
11280 * math/math_private.h: Define defaults for libc_fegetround,
11281 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11282 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11283 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11284 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11285 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11286 standard functions.
11287 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11288 Remove comments and hacks for old compiler versions.
11289 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11290 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11291 libc_feholdexceptl.
11292
caa6c9d8
AS
112932011-10-18 Andreas Schwab <schwab@redhat.com>
11294
11295 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11296 (__feraiseexcept_renamed): Add __NTH.
11297 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11298 namespace violations.
11299
97c066e6
UD
113002011-10-17 Ulrich Drepper <drepper@gmail.com>
11301
99ce7b04
UD
11302 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11303
1004d182
UD
11304 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11305
228a984d
UD
11306 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11307 recently added interfaces.
11308 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11309
c8553a6a
UD
11310 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11311 about macro parameter expansion.
11312
ed22dcf6
UD
11313 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11314 __NO_MATH_INLINES is defined. Cleanups.
11315
11316 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11317 and __floorf is target has SSE4.1.
11318 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11319 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11320 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11321 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11322
b171c137
UD
11323 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11324 name.
11325 (floorf): Likewise.
11326
97c066e6
UD
11327 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11328
629f62ef
AS
113292011-10-17 Andreas Schwab <schwab@redhat.com>
11330
49a43d80
AS
11331 * misc/sys/cdefs.h: Fix last change.
11332
629f62ef
AS
11333 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11334 database lookup.
11335
e453f6cd
UD
113362011-10-16 Ulrich Drepper <drepper@gmail.com>
11337
aa78043a
UD
11338 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11339
ad0f5cad
UD
11340 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11341 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11342 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11343 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11344 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11345 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11346 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11347 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11348 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11349 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11350 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11351 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11352 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11353 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11354 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11355 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11356 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11357 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11358 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11359 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11360 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11361 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11362
11363 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11364 ceil, ceilf, floor, floorf.
11365
11366 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11367 Perform IRELATIVE relocations last.
11368
e453f6cd
UD
11369 * elf/do-rel.h: Add another parameter nrelative, replacing the
11370 local variable with the same name. Change name of the function
11371 to end in Rel or Rela (uppercase).
11372 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11373 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11374 elf_dynamic_do_##reloc function.
11375
fd5bdc09
UD
113762011-10-15 Ulrich Drepper <drepper@gmail.com>
11377
79b195b5
UD
11378 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11379 is sufficient, at least on modern CPUs.
11380
d4a28569
UD
11381 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11382
b61099b5
UD
11383 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11384 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11385
bcf01e6d
UD
11386 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11387 __expl_finite.
11388 * math/bits/math-finite.h: Add entries for exp.
11389 * math/e_expl.c: Add __*_finite alias.
11390 * sysdeps/i386/fpu/e_exp.S: Likewise.
11391 * sysdeps/i386/fpu/e_expf.S: Likewise.
11392 * sysdeps/i386/fpu/e_expl.c: Likewise.
11393 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11394 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11395 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11396 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11397 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11398 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11399 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11400
ba1a0d59
UD
11401 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11402 is sufficient, at least on modern CPUs.
11403
fd5bdc09
UD
11404 * ctype/ctype-info.c (__ctype_init): Define.
11405 * include/ctype.h (__ctype_init): Declare.
11406 (__ctype_b_loc): The variable is always initialized.
11407 (__ctype_toupper_loc): Likewise.
11408 (__ctype_tolower_loc): Likewise.
11409 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11410 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11411
7872cfb0
AS
114122011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11413
b468825a
AS
11414 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11415
7872cfb0
AS
11416 * configure.in: Also look in $cxxmachine/include for C++ system
11417 headers.
11418
be13f7bf
LD
114192011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11420
11421 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11422 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11423 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11424 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11425 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11426 (USE_AS_WMEMCMP): New macro.
11427 Fixing indents.
11428 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11429 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11430 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11431 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11432 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11433 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11434 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11435 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11436 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11437 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11438 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11439 (USE_AS_WMEMCMP): New macro.
11440 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11441 * sysdeps/string/test-memcmp.c: Update.
11442 Fix simple_wmemcmp.
11443 Add new tests.
11444 * wcsmbs/wmemcmp.c: Update.
11445 (WMEMCMP): New macro.
11446 Fix overflow bug.
11447
556a2007
AJ
114482011-10-12 Andreas Jaeger <aj@suse.de>
11449
11450 [BZ #13268]
11451 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11452
538faaa7
UD
114532011-10-15 Ulrich Drepper <drepper@gmail.com>
11454
ab6737ff
UD
11455 * libio/iofwide.c (do_length): Avoid warning.
11456
538faaa7
UD
11457 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11458
396a21b1
UD
114592011-10-14 Ulrich Drepper <drepper@gmail.com>
11460
cdf2901f
UD
11461 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11462
38ad40ce
UD
11463 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11464 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11465 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11466 * sysdeps/i386/i686/fpu/e_log.S: New file.
11467 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11468 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11469
396a21b1
UD
11470 * ctype/ctype.h: Add support for inlined isXXX functions when
11471 compiling C++ code.
11472
6b1f68c9
AS
114732011-10-14 Andreas Schwab <schwab@redhat.com>
11474
349290c0
AS
11475 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11476
6b1f68c9
AS
11477 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11478
f2282d42
RM
114792011-10-13 Roland McGrath <roland@hack.frob.com>
11480
11481 [BZ #13291]
11482 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11483
5298ffa8
AS
114842011-10-13 Andreas Schwab <schwab@redhat.com>
11485
714fad23
AS
11486 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11487 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11488 feraiseexcept.
11489
81dcc7fb
AS
11490 * sysdeps/x86_64/memrchr.S: Check for zero size.
11491
5298ffa8
AS
11492 * string/stratcliff.c: Add memrchr tests.
11493
951fbcec
LD
114942011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11495
11496 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11497 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11498 rawmemchr-sse2 rawmemchr-sse2-bsf.
11499 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11500 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11501 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11502 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11503 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11504 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11505 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11506 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11507 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11508 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11509 * string/memrchr.c (MEMRCHR): New macro.
11510
0ac5ae23
UD
115112011-10-12 Ulrich Drepper <drepper@gmail.com>
11512
11513 Add integration with gcc's -ffinite-math-only and optimize wrapper
11514 functions in libm.
11515 * Versions.def: Define GLIBC_2.15 version for libm.
11516 * math/Makefile (headers): Add bits/math-finite.h.
11517 * math/bits/math-finite.h: New file.
11518 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11519 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11520 * math/e_acoshl.c: Add __*_finite alias.
11521 * math/e_acosl.c: Likewise.
11522 * math/e_asinl.c: Likewise.
11523 * math/e_atan2l.c: Likewise.
11524 * math/e_atanhl.c: Likewise.
11525 * math/e_coshl.c: Likewise.
11526 * math/e_exp10.c: Likewise.
11527 * math/e_exp10f.c: Likewise.
11528 * math/e_exp10l.c: Likewise.
11529 * math/e_exp2l.c: Likewise.
11530 * math/e_fmodl.c: Likewise.
11531 * math/e_gammal_r.c: Likewise.
11532 * math/e_hypotl.c: Likewise.
11533 * math/e_j0l.c: Likewise.
11534 * math/e_j1l.c: Likewise.
11535 * math/e_jnl.c: Likewise.
11536 * math/e_lgammal_r.c: Likewise.
11537 * math/e_log10l.c: Likewise.
11538 * math/e_log2l.c: Likewise.
11539 * math/e_logl.c: Likewise.
11540 * math/e_powl.c: Likewise.
11541 * math/e_sinhl.c: Likewise.
11542 * math/e_sqrtl.c: Likewise.
11543 * math/e_scalb.c: Completely rewritten and optimized.
11544 * math/e_scalbf.c: Likewise.
11545 * math/e_scalbl.c: Likewise.
11546 * math/w_acos.c: Likewise.
11547 * math/w_acosf.c: Likewise.
11548 * math/w_acosl.c: Likewise.
11549 * math/w_acosh.c: Likewise.
11550 * math/w_acoshf.c: Likewise.
11551 * math/w_acoshl.c: Likewise.
11552 * math/w_asin.c: Likewise.
11553 * math/w_asinf.c: Likewise.
11554 * math/w_asinl.c: Likewise.
11555 * math/w_atan2.c: Likewise.
11556 * math/w_atan2f.c: Likewise.
11557 * math/w_atan2l.c: Likewise.
11558 * math/w_atanh.c: Likewise.
11559 * math/w_atanhf.c: Likewise.
11560 * math/w_atanhl.c: Likewise.
11561 * math/w_exp10.c: Likewise.
11562 * math/w_exp10f.c: Likewise.
11563 * math/w_exp10l.c: Likewise.
11564 * math/w_fmod.c: Likewise.
11565 * math/w_fmodf.c: Likewise.
11566 * math/w_fmodl.c: Likewise.
11567 * math/w_j0.c: Likewise.
11568 * math/w_j0f.c: Likewise.
11569 * math/w_j0l.c: Likewise.
11570 * math/w_j1.c: Likewise.
11571 * math/w_j1f.c: Likewise.
11572 * math/w_j1l.c: Likewise.
11573 * math/w_jn.c: Likewise.
11574 * math/w_jnf.c: Likewise.
11575 * math/w_log.c: Likewise.
11576 * math/w_logf.c: Likewise.
11577 * math/w_logl.c: Likewise.
11578 * math/w_log10.c: Likewise.
11579 * math/w_log10f.c: Likewise.
11580 * math/w_log10l.c: Likewise.
11581 * math/w_log2.c: Likewise.
11582 * math/w_log2f.c: Likewise.
11583 * math/w_log2l.c: Likewise.
11584 * math/w_pow.c: Likewise.
11585 * math/w_powf.c: Likewise.
11586 * math/w_powl.c: Likewise.
11587 * math/w_remainder.c: Likewise.
11588 * math/w_remainderf.c: Likewise.
11589 * math/w_remainderl.c: Likewise.
11590 * math/w_scalb.c: Likewise.
11591 * math/w_scalbf.c: Likewise.
11592 * math/w_scalbl.c: Likewise.
11593 * math/w_sqrt.c: Likewise.
11594 * math/w_sqrtf.c: Likewise.
11595 * math/w_sqrtl.c: Likewise.
11596 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11597 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11598 used.
11599 * math/math_private.h: Declare __kernel_standard_f.
11600 * math/w_cosh.c: Remove cruft and optimize a bit.
11601 * math/w_coshf.c: Likewise.
11602 * math/w_coshl.c: Likewise.
11603 * math/w_exp2.c: Likewise.
11604 * math/w_exp2f.c: Likewise.
11605 * math/w_exp2l.c: Likewise.
11606 * math/w_hypot.c: Likewise.
11607 * math/w_hypotf.c: Likewise.
11608 * math/w_hypotl.c: Likewise.
11609 * math/w_lgamma.c: Likewise.
11610 * math/w_lgamma_r.c: Likewise.
11611 * math/w_lgammaf.c: Likewise.
11612 * math/w_lgammaf_r.c: Likewise.
11613 * math/w_lgammal.c: Likewise.
11614 * math/w_lgammal_r.c: Likewise.
11615 * math/w_sinh.c: Likewise.
11616 * math/w_sinhf.c: Likewise.
11617 * math/w_sinhl.c: Likewise.
11618 * math/w_tgamma.c: Likewise.
11619 * math/w_tgammaf.c: Likewise.
11620 * math/w_tgammal.c: Likewise.
11621 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11622 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11623 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11624 Minor optimizations. Pretty printing. Remove cruft.
11625 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11626 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11627 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11628 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11629 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11630 * sysdeps/i386/fpu/e_asin.S: Likewise.
11631 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11632 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11633 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11634 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11635 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11636 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11637 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11638 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11639 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11640 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11641 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11642 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11643 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11644 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11645 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11646 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11647 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11648 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11649 * sysdeps/i386/fpu/e_log.S: Likewise.
11650 * sysdeps/i386/fpu/e_log10.S: Likewise.
11651 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11652 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11653 * sysdeps/i386/fpu/e_log2.S: Likewise.
11654 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11655 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11656 * sysdeps/i386/fpu/e_logf.S: Likewise.
11657 * sysdeps/i386/fpu/e_logl.S: Likewise.
11658 * sysdeps/i386/fpu/e_pow.S: Likewise.
11659 * sysdeps/i386/fpu/e_powf.S: Likewise.
11660 * sysdeps/i386/fpu/e_powl.S: Likewise.
11661 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11662 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11663 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11664 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11665 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11666 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11667 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11668 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11669 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11670 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11671 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11672 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11673 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11674 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11675 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11676 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11677 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11678 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11679 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11680 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11681 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11682 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11683 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11684 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11685 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11686 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11687 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11688 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11689 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11690 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11691 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11692 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11693 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11694 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11695 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11696 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11697 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11698 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11699 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11700 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11701 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11702 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11703 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11704 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11705 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11706 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11707 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11708 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11709 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11710 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11711 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11712 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11713 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11714 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11715 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11716 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11717 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11718 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11719 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11720 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11721 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11722 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11723 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11724 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11725 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11726 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11727 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11728 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11729 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11730 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11731 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11732 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11733 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11734 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11735 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11736 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11737 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11738 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11739 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11740 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11741 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11742 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11743 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11744 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11745 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11746 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11747 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11748 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11749 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11750 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11751 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11752 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11753 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11754 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11755 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11756 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11757 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11758 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11759 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11760 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11761 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11762 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11763 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11764 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11765 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11766 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11767 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11768 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11769 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11770 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11771 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11772 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11773 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11774 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11775 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11776 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11777 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11778 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11779 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11780 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11781 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11782 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11783 (__isnanf): Likewise.
11784 (__isinf_ns): Likewise.
11785 (__isinf_nsf): Likewise.
11786 (__finite): Likewise.
11787 (__finitef): Likewise.
11788 (__ieee754_sqrt): Define as macro.
11789 (__ieee754_sqrtf): Define as macro.
11790 (__ieee754_sqrtl): Define as macro.
11791 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11792 inlined copy.
11793 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11794 __FINITE_MATH_ONLY__ consistent.
11795 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11796
12cc2fcd
AS
117972011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11798
a843a204
AS
11799 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11800 of rawmemchr.
11801
12cc2fcd
AS
11802 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11803
c853acd5
UD
118042011-10-09 Ulrich Drepper <drepper@gmail.com>
11805
11806 * po/ja.po: Update from translation team.
11807
c658d255
RM
118082011-10-08 Roland McGrath <roland@hack.frob.com>
11809
110946e4
RM
11810 * locale/programs/locarchive.c (prepare_address_space): New function.
11811 (create_archive, enlarge_archive, open_archive): Use it.
11812
50604220
RM
11813 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11814 inside [SHARED], where it is used.
11815
c658d255
RM
11816 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11817
11818 * nss/getent.c (netgroup_keys): Remove unused variable.
11819 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11820
6a621eb7
UD
118212011-10-08 Ulrich Drepper <drepper@gmail.com>
11822
7edb55ce
UD
11823 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11824 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11825 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11826 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11827 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11828 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11829 * math/Makefile (libm-calls): Add s_isinf_ns.
11830 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11831 * math/multc3.c: Likewise.
11832 * math/s_casin.c: Likewise.
11833 * math/s_casinf.c: Likewise.
11834 * math/s_casinl.c: Likewise.
11835 * math/s_ccos.c: Likewise.
11836 * math/s_ccosf.c: Likewise.
11837 * math/s_ccosl.c: Likewise.
11838 * math/s_ctan.c: Likewise.
11839 * math/s_ctanf.c: Likewise.
11840 * math/s_ctanh.c: Likewise.
11841 * math/s_ctanhf.c: Likewise.
11842 * math/s_ctanhl.c: Likewise.
11843 * math/s_ctanl.c: Likewise.
11844 * math/w_fmod.c: Likewise.
11845 * math/w_fmodf.c: Likewise.
11846 * math/w_fmodl.c: Likewise.
11847 * math/w_remainder.c: Likewise.
11848 * math/w_remainderf.c: Likewise.
11849 * math/w_remainderl.c: Likewise.
11850 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11851 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11852 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11853 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11854 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11855 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11856 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11857 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11858
187da0ae
UD
11859 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11860 of the number.
11861 * stdio-common/printf_fphex.c: Likewise.
11862 * stdio-common/printf_size.c: Likewise.
11863
9277c064
UD
11864 * math/e_exp10.c: Include math_private.h using <...> not "...".
11865 * math/e_exp10f.c: Likewise.
11866 * math/e_exp10l.c: Likewise.
11867 * math/e_exp2l.c: Likewise.
11868 * math/e_j0l.c: Likewise.
11869 * math/e_j1l.c: Likewise.
11870 * math/e_jnl.c: Likewise.
11871 * math/e_lgammal_r.c: Likewise.
11872 * math/e_rem_pio2l.c: Likewise.
11873 * math/e_scalb.c: Likewise.
11874 * math/e_scalbf.c: Likewise.
11875 * math/e_scalbl.c: Likewise.
11876 * math/k_cosl.c: Likewise.
11877 * math/k_sinl.c: Likewise.
11878 * math/k_tanl.c: Likewise.
11879 * math/s_cacoshf.c: Likewise.
11880 * math/s_catan.c: Likewise.
11881 * math/s_catanf.c: Likewise.
11882 * math/s_catanh.c: Likewise.
11883 * math/s_catanhf.c: Likewise.
11884 * math/s_catanhl.c: Likewise.
11885 * math/s_catanl.c: Likewise.
11886 * math/s_ccosh.c: Likewise.
11887 * math/s_ccoshf.c: Likewise.
11888 * math/s_ccoshl.c: Likewise.
11889 * math/s_cexp.c: Likewise.
11890 * math/s_cexpf.c: Likewise.
11891 * math/s_cexpl.c: Likewise.
11892 * math/s_clog.c: Likewise.
11893 * math/s_clog10.c: Likewise.
11894 * math/s_clog10f.c: Likewise.
11895 * math/s_clog10l.c: Likewise.
11896 * math/s_clogf.c: Likewise.
11897 * math/s_clogl.c: Likewise.
11898 * math/s_csin.c: Likewise.
11899 * math/s_csinf.c: Likewise.
11900 * math/s_csinh.c: Likewise.
11901 * math/s_csinhf.c: Likewise.
11902 * math/s_csinhl.c: Likewise.
11903 * math/s_csinl.c: Likewise.
11904 * math/s_csqrt.c: Likewise.
11905 * math/s_csqrtf.c: Likewise.
11906 * math/s_csqrtl.c: Likewise.
11907 * math/s_ctan.c: Likewise.
11908 * math/s_ctanf.c: Likewise.
11909 * math/s_ctanh.c: Likewise.
11910 * math/s_ctanhf.c: Likewise.
11911 * math/s_ctanhl.c: Likewise.
11912 * math/s_ctanl.c: Likewise.
11913 * math/s_ldexp.c: Likewise.
11914 * math/s_ldexpf.c: Likewise.
11915 * math/s_ldexpl.c: Likewise.
11916 * math/s_significand.c: Likewise.
11917 * math/s_significandf.c: Likewise.
11918 * math/s_significandl.c: Likewise.
11919 * math/w_acos.c: Likewise.
11920 * math/w_acosf.c: Likewise.
11921 * math/w_acosh.c: Likewise.
11922 * math/w_acoshf.c: Likewise.
11923 * math/w_acoshl.c: Likewise.
11924 * math/w_acosl.c: Likewise.
11925 * math/w_asin.c: Likewise.
11926 * math/w_asinf.c: Likewise.
11927 * math/w_asinl.c: Likewise.
11928 * math/w_atan2.c: Likewise.
11929 * math/w_atan2f.c: Likewise.
11930 * math/w_atan2l.c: Likewise.
11931 * math/w_atanh.c: Likewise.
11932 * math/w_atanhf.c: Likewise.
11933 * math/w_atanhl.c: Likewise.
11934 * math/w_cosh.c: Likewise.
11935 * math/w_coshf.c: Likewise.
11936 * math/w_coshl.c: Likewise.
11937 * math/w_dremf.c: Likewise.
11938 * math/w_exp10.c: Likewise.
11939 * math/w_exp10f.c: Likewise.
11940 * math/w_exp10l.c: Likewise.
11941 * math/w_exp2.c: Likewise.
11942 * math/w_exp2f.c: Likewise.
11943 * math/w_fmod.c: Likewise.
11944 * math/w_fmodf.c: Likewise.
11945 * math/w_fmodl.c: Likewise.
11946 * math/w_hypot.c: Likewise.
11947 * math/w_hypotf.c: Likewise.
11948 * math/w_hypotl.c: Likewise.
11949 * math/w_j0.c: Likewise.
11950 * math/w_j0f.c: Likewise.
11951 * math/w_j0l.c: Likewise.
11952 * math/w_j1.c: Likewise.
11953 * math/w_j1f.c: Likewise.
11954 * math/w_j1l.c: Likewise.
11955 * math/w_jn.c: Likewise.
11956 * math/w_jnf.c: Likewise.
11957 * math/w_jnl.c: Likewise.
11958 * math/w_lgamma.c: Likewise.
11959 * math/w_lgamma_r.c: Likewise.
11960 * math/w_lgammaf.c: Likewise.
11961 * math/w_lgammaf_r.c: Likewise.
11962 * math/w_lgammal.c: Likewise.
11963 * math/w_lgammal_r.c: Likewise.
11964 * math/w_log.c: Likewise.
11965 * math/w_log10.c: Likewise.
11966 * math/w_log10f.c: Likewise.
11967 * math/w_log10l.c: Likewise.
11968 * math/w_log2.c: Likewise.
11969 * math/w_log2f.c: Likewise.
11970 * math/w_log2l.c: Likewise.
11971 * math/w_logf.c: Likewise.
11972 * math/w_logl.c: Likewise.
11973 * math/w_pow.c: Likewise.
11974 * math/w_powf.c: Likewise.
11975 * math/w_powl.c: Likewise.
11976 * math/w_remainder.c: Likewise.
11977 * math/w_remainderf.c: Likewise.
11978 * math/w_remainderl.c: Likewise.
11979 * math/w_scalb.c: Likewise.
11980 * math/w_scalbf.c: Likewise.
11981 * math/w_scalbl.c: Likewise.
11982 * math/w_sinh.c: Likewise.
11983 * math/w_sinhf.c: Likewise.
11984 * math/w_sinhl.c: Likewise.
11985 * math/w_sqrt.c: Likewise.
11986 * math/w_sqrtf.c: Likewise.
11987 * math/w_sqrtl.c: Likewise.
11988 * math/w_tgamma.c: Likewise.
11989 * math/w_tgammaf.c: Likewise.
11990 * math/w_tgammal.c: Likewise.
11991
6a621eb7
UD
11992 * po/ja.po: Update from translation team.
11993
bf582445
AJ
119942011-09-29 Andreas Jaeger <aj@suse.de>
11995
f9efbf3a
AJ
11996 [BZ #13179]
11997 * sunrpc/netname.c (netname2host): Fix logic.
11998
bf582445
AJ
11999 [BZ #6779]
12000 [BZ #6783]
12001 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12002 correctly.
12003 * math/w_remainder.c (__remainder): Likewise.
12004 * math/w_remainderf.c (__remainderf): Likewise.
12005 * math/libm-test.inc (remainder_test): Add test cases.
12006
48693bea
AK
120072011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12008
12009 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12010 sdiv_qrnnd.
12011
42622229
LD
120122011-10-07 Ulrich Drepper <drepper@gmail.com>
12013
12014 * string/test-memcmp.c: Avoid unncessary #defines.
12015 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12016
093ecf92
LD
120172011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12018
12019 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12020 Use new sse2 version for core i3 - i7 as it's faster
12021 than sse42 version.
12022 (bit_Prefer_PMINUB_for_stringop): New.
12023 * sysdeps/x86_64/rawmemchr.S: Update.
12024 Replace with faster SSE2 version.
12025 * sysdeps/x86_64/memrchr.S: New file.
12026 * sysdeps/x86_64/memchr.S: Update.
12027 Replace with faster SSE2 version.
12028
fde56e5c
MP
120292011-09-12 Marek Polacek <mpolacek@redhat.com>
12030
12031 * elf/dl-load.c (lose): Add cast to avoid warning.
12032
21fd49a9
UD
120332011-10-07 Ulrich Drepper <drepper@gmail.com>
12034
5a06e643
UD
12035 * po/ca.po: Update from translation team.
12036
684ae515
UD
12037 * inet/getnetgrent_r.c: Hook up nscd.
12038 * nscd/Makefile (routines): Add nscd_netgroup.
12039 (nscd-modules): Add netgroupcache.
12040 (CFLAGS-netgroupcache.c): Define.
12041 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12042 (cache_search): Add const to second parameter.
12043 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12044 INNETGR.
12045 (dbs): Add netgrdb entry.
12046 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12047 (verify_persistent_db): Handle netgrdb.
12048 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12049 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12050 GETFDNETGR.
12051 (netgroup_response_header): Define.
12052 (innetgroup_response_header): Define.
12053 (datahead): Add netgroup_response_header and innetgroup_response_header
12054 elements.
12055 * nscd/nscd.conf: Add entries for netgroup cache.
12056 * nscd/nscd.h (dbtype): Add netgrdb.
12057 (_PATH_NSCD_NETGROUP_DB): Define.
12058 (netgroup_iov_disabled): Declare.
12059 (xmalloc, xcalloc, xrealloc): Move declarations here.
12060 (cache_search): Adjust prototype.
12061 Add netgroup-related prototypes.
12062 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12063 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12064 (__nscd_innetgr): Declare.
12065 * nscd/selinux.c (perms): Use access_vector_t as element type and
12066 add netgroup-related initializers.
12067 * nscd/netgroupcache.c: New file.
12068 * nscd/nscd_netgroup.c: New file.
12069 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12070 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12071 For four parameters use innetgr.
12072 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12073 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12074 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12075 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12076
21fd49a9
UD
12077 * nscd/connections.c (register_traced_file): Don't register file
12078 for disabled databases.
12079
054c0457
UD
120802011-10-06 Ulrich Drepper <drepper@gmail.com>
12081
32b63198
UD
12082 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12083
054c0457
UD
12084 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12085 from tree and freeing node.
12086
64031225
JO
120872011-09-25 Jiri Olsa <jolsa@redhat.com>
12088
12089 * nss/nsswitch.c (__nss_database_lookup): Handle
12090 nss_parse_service_list out of memory case.
12091
0490345c
JO
120922011-09-15 Jiri Olsa <jolsa@redhat.com>
12093
12094 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12095 out of memory case.
12096
3a62d00d
AS
120972011-10-04 Andreas Schwab <schwab@redhat.com>
12098
12099 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12100 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12101 pass it down.
12102 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12103 elf_machine_rela, elf_machine_lazy_rel.
12104 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12105 (ELF_DYNAMIC_DO_REL): Likewise.
12106 (ELF_DYNAMIC_DO_RELA): Likewise.
12107 (ELF_DYNAMIC_RELOCATE): Likewise.
12108 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12109 to ELF_DYNAMIC_DO_REL.
12110 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12111 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12112 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12113 elf_machine_rela.
12114 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12115 skip_ifunc, don't call ifunc function if non-zero.
12116 (elf_machine_rela): Likewise.
12117 (elf_machine_lazy_rel): Likewise.
12118 (elf_machine_lazy_rela): Likewise.
12119 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12120 (elf_machine_lazy_rel): Likewise.
12121 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12122 Likewise.
12123 (elf_machine_lazy_rel): Likewise.
12124 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12125 Likewise.
12126 (elf_machine_lazy_rel): Likewise.
12127 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12128 (elf_machine_lazy_rel): Likewise.
12129 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12130 (elf_machine_lazy_rel): Likewise.
12131 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12132 (elf_machine_lazy_rel): Likewise.
12133 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12134 (elf_machine_lazy_rel): Likewise.
12135 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12136 (elf_machine_lazy_rel): Likewise.
12137 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12138 (elf_machine_lazy_rel): Likewise.
12139
68577918
UD
121402011-09-28 Ulrich Drepper <drepper@gmail.com>
12141
12142 * nss/nss_files/files-init.c (_nss_files_init): Use static
12143 initialization for all the *_traced_file variables.
12144
68822d74
AS
121452011-09-28 Andreas Schwab <schwab@redhat.com>
12146
12147 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12148
2056100b
RM
121492011-09-27 Roland McGrath <roland@hack.frob.com>
12150
12151 [BZ #13226]
12152 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12153
32c76b63
AS
121542011-09-27 Andreas Schwab <schwab@redhat.com>
12155
12156 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12157 Reread the line before reparsing it.
12158
bf972c9d
AS
121592011-09-26 Andreas Schwab <schwab@redhat.com>
12160
12161 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12162
e057a1b5
JM
121632011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12164 Maxim Kuvyrkov <maxim@codesourcery.com>
12165 Joseph Myers <joseph@codesourcery.com>
12166
12167 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12168 if needed for __stack_chk_guard.
12169
bc7e1c36
RM
121702011-09-19 Roland McGrath <roland@hack.frob.com>
12171
ecb1482f
RM
12172 * sysdeps/posix/spawni.c (script_execute): Always define it.
12173 It will be optimized away if unused.
12174 (maybe_script_execute): New function.
12175 (__spawni): Call it.
12176
bc7e1c36
RM
12177 * Makerules: Don't include tls.make.
12178 (config-tls): Always set to thread.
12179 * tls.make.c: File removed.
12180
1c3b002b
MF
121812011-09-19 Mike Frysinger <vapier@gentoo.org>
12182
12183 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12184 * config.make.in (CPPFLAGS-config): New substituted variable.
12185
2840865d
UD
121862011-09-15 Ulrich Drepper <drepper@gmail.com>
12187
88738eb6
UD
12188 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12189
cbf645a6 12190 [BZ #13192]
2840865d
UD
12191 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12192 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12193
b402e91a
RM
121942011-09-15 Roland McGrath <roland@hack.frob.com>
12195
12196 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12197 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12198 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12199 (CALL_FAIL): Likewise.
12200 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12201 (CALL_FAIL): Macro removed.
12202 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12203
4c1a1f71
UD
122042011-09-15 Ulrich Drepper <drepper@gmail.com>
12205
12206 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12207 for __FINITE_MATH_ONLY__ == 1.
12208
edc121be
AS
122092011-09-15 Andreas Schwab <schwab@redhat.com>
12210
12211 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12212 __ieee754_sqrt instead of sqrt.
12213 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12214 __ieee754_sqrtf instead of sqrtf.
12215 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12216 __floorf instead of floorf.
12217 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12218 __floorf, __truncf instead of floorf, truncf.
12219
cd205654
UD
122202011-09-14 Ulrich Drepper <drepper@gmail.com>
12221
ee4d0315
UD
12222 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12223
cd205654
UD
12224 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12225 __extern_always_inline.
12226 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12227 32-bit.
12228
48b67d71
AS
122292011-09-14 Andreas Schwab <schwab@redhat.com>
12230
12231 * elf/rtld.c (dl_main): Also relocate in dependency order when
12232 doing symbol dependency testing.
12233
1ae12c75
AS
122342011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12235
12236 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12237 Always define `refsym'.
12238
995a80df
AS
122392011-09-13 Andreas Schwab <schwab@redhat.com>
12240
e529793b
AS
12241 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12242 (__FD_ELT): Renamed from __FDELT.
12243 * misc/bits/select2.h (__FD_ELT): Likewise.
12244 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12245 __FD_MASK instead of __FDELT, __FDMASK.
12246 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12247 Likewise.
12248 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12249 Likewise.
12250
52d4fef8
AS
12251 * elf/Makefile (gen-ldd): Fix pattern.
12252
995a80df
AS
12253 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12254 (init_tls): Likewise.
12255
8682f8b0
UD
122562011-09-12 Ulrich Drepper <drepper@gmail.com>
12257
12258 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12259
de82006d
AS
122602011-09-12 Andreas Schwab <schwab@redhat.com>
12261
a7c8e6a1
AS
12262 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12263 `struct cmsghdr *' instead of `void *'.
12264 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12265 Likewise.
12266
0f31fe77
AS
122672011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12268
12269 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12270 if non-absolute.
12271 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12272 ldd_rewrite_script.
0f31fe77 12273
32b4c839
UD
122742011-09-11 Ulrich Drepper <drepper@gmail.com>
12275
83cd1420
UD
12276 * configure.in: Remove --with-tls option.
12277 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12278 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12279 out in case it is missing.
12280 * sysdeps/ia64/elf/configure.in: Likewise.
12281 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12282 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12283 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12284 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12285 * sysdeps/sh/elf/configure.in: Likewise.
12286 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12287 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12288 * sysdeps/x86_64/elf/configure.in: Likewise.
12289 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12290 * sysdeps/mach/hurd/tls.h: Likewise.
12291
633f745d
UD
12292 [BZ #13067]
12293 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12294
f318beb8
UD
12295 [BZ #13090]
12296 * configure.in: Fix use of AC_INIT.
12297
32b4c839
UD
12298 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12299
3ce1f295
UD
123002011-09-10 Ulrich Drepper <drepper@gmail.com>
12301
bb016596
UD
12302 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12303 __set_errno.
8e58439c
UD
12304 * malloc/hooks.c: Likewise.
12305
aebae053 12306 [BZ #11929]
02d46fc4
UD
12307 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12308 variables statically.
12309 (narenas): Initialize.
12310 (list_lock): Initialize.
bb016596
UD
12311 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12312 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12313 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12314 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12315 Add initializers to main_arena and mp_.
12316 (malloc_state): Remove pagesize member. Change all users to use
12317 GLRO(dl_pagesize).
12318
12319 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12320 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12321 is always initialized.
12322
22a89187
UD
12323 * malloc/malloc.c: Removed unused configurations and dead code.
12324 * malloc/arena.c: Likewise.
12325 * malloc/hooks.c: Likewise.
02d46fc4 12326 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12327
d063d164
UD
12328 * include/tls.h: Removed. USE___THREAD must always be defined.
12329 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12330 * elf/dl-libc.c: Likewise.
12331 * elf/dl-tsd.c: Likewise.
12332 * include/errno.h: Likewise.
12333 * include/netdb.h: Likewise.
12334 * include/resolv.h: Likewise.
12335 * inet/herrno-loc.c: Likewise.
12336 * inet/herrno.c: Likewise.
12337 * malloc/arena.c: Likewise.
12338 * malloc/hooks.c: Likewise.
12339 * malloc/malloc.c: Likewise.
12340 * resolv/res-state.c: Likewise.
12341 * resolv/res_libc.c: Likewise.
12342 * sysdeps/i386/dl-machine.h: Likewise.
12343 * sysdeps/ia64/dl-machine.h: Likewise.
12344 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12345 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12346 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12347 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12348 * sysdeps/sh/dl-machine.h: Likewise.
12349 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12350 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12351 * sysdeps/unix/i386/sysdep.S: Likewise.
12352 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12353 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12354 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12355 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12356 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12357 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12358 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12359 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12360 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12361 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12362 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12363 * sysdeps/x86_64/dl-machine.h: Likewise.
12364 * tls.make.c: Likewise.
12365
3ce1f295
UD
12366 * configure.in: Remove --with-__thread option. Make tests for
12367 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12368 tls_model attribute fail if no support is available. Remove
12369 USE_IN_LIBIO.
12370 * Makeconfig: Adjust for dropped configure option. All features are
12371 now mandatory.
12372 * Makerules: Likewise.
12373 * Versions.def: Likewise.
12374 * argp/argp-fmtstream.c: Likewise.
12375 * argp/argp-fmtstream.h: Likewise.
12376 * argp/argp-help.c: Likewise.
12377 * assert/assert.c: Likewise.
12378 * config.h.in: Likewise.
12379 * config.make.in: Likewise.
12380 * configure: Likewise.
12381 * configure.in: Likewise.
12382 * csu/Versions: Likewise.
12383 * csu/init.c: Likewise.
12384 * elf/tst-audit2.c: Likewise.
12385 * elf/tst-tls10.c: Likewise.
12386 * elf/tst-tls10.h: Likewise.
12387 * elf/tst-tls11.c: Likewise.
12388 * elf/tst-tls12.c: Likewise.
12389 * elf/tst-tls14.c: Likewise.
12390 * elf/tst-tlsmod11.c: Likewise.
12391 * elf/tst-tlsmod12.c: Likewise.
12392 * elf/tst-tlsmod13.c: Likewise.
12393 * elf/tst-tlsmod13a.c: Likewise.
12394 * elf/tst-tlsmod14a.c: Likewise.
12395 * elf/tst-tlsmod15b.c: Likewise.
12396 * elf/tst-tlsmod16a.c: Likewise.
12397 * elf/tst-tlsmod16b.c: Likewise.
12398 * elf/tst-tlsmod7.c: Likewise.
12399 * elf/tst-tlsmod8.c: Likewise.
12400 * elf/tst-tlsmod9.c: Likewise.
12401 * gmon/gmon.c: Likewise.
12402 * grp/fgetgrent_r.c: Likewise.
12403 * grp/putgrent.c: Likewise.
12404 * hurd/fopenport.c: Likewise.
12405 * include/libc-symbols.h: Likewise.
12406 * include/tls.h: Likewise.
12407 * intl/gettextP.h: Likewise.
12408 * intl/loadinfo.h: Likewise.
12409 * locale/global-locale.c: Likewise.
12410 * locale/localeinfo.h: Likewise.
12411 * mach/devstream.c: Likewise.
12412 * malloc/arena.c: Likewise.
12413 * malloc/set-freeres.c: Likewise.
12414 * misc/err.c: Likewise.
12415 * misc/getttyent.c: Likewise.
12416 * misc/mntent_r.c: Likewise.
12417 * posix/getopt.c: Likewise.
12418 * posix/wordexp.c: Likewise.
12419 * pwd/fgetpwent_r.c: Likewise.
12420 * resolv/Versions: Likewise.
12421 * resolv/res_hconf.c: Likewise.
12422 * shadow/fgetspent_r.c: Likewise.
12423 * shadow/putspent.c: Likewise.
12424 * stdio-common/printf_fphex.c: Likewise.
12425 * stdio-common/tmpfile.c: Likewise.
12426 * stdlib/abort.c: Likewise.
12427 * stdlib/fmtmsg.c: Likewise.
12428 * sunrpc/auth_unix.c: Likewise.
12429 * sunrpc/clnt_perr.c: Likewise.
12430 * sunrpc/clnt_tcp.c: Likewise.
12431 * sunrpc/clnt_udp.c: Likewise.
12432 * sunrpc/clnt_unix.c: Likewise.
12433 * sunrpc/openchild.c: Likewise.
12434 * sunrpc/svc_simple.c: Likewise.
12435 * sunrpc/svc_tcp.c: Likewise.
12436 * sunrpc/svc_udp.c: Likewise.
12437 * sunrpc/svc_unix.c: Likewise.
12438 * sunrpc/xdr.c: Likewise.
12439 * sunrpc/xdr_array.c: Likewise.
12440 * sunrpc/xdr_rec.c: Likewise.
12441 * sunrpc/xdr_ref.c: Likewise.
12442 * sunrpc/xdr_stdio.c: Likewise.
12443
1248c1c4
PB
124442011-09-09 Ulrich Drepper <drepper@gmail.com>
12445
12446 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12447
124482011-07-03 Andreas Jaeger <aj@suse.de>
12449
12450 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12451 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12452 regenerate with gen-libm-tests.pl.
12453
124542010-05-12 Petr Baudis <pasky@suse.cz>
12455
12456 [BZ #11589]
12457 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12458 around j0() zero points by switching to j1().
12459 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12460 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12461 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12462 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12463
f22e1074
UD
124642011-09-09 Ulrich Drepper <drepper@gmail.com>
12465
f19009c1
UD
12466 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12467 instead of 0.
12468 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12469 instead of 0. .
12470 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12471 Patch in part by Pavel Roskin <proski@gnu.org>.
12472
3f8cc204
UD
12473 [BZ #13138]
12474 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12475 realloc.
12476 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12477 Free memory block if necessary.
12478
f22e1074
UD
12479 [BZ #12847]
12480 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12481 be NULL. Don't lock in this case.
12482
0a2349f9
RM
124832011-09-09 Roland McGrath <roland@hack.frob.com>
12484
12485 * elf/elf.h (ELFOSABI_GNU): New macro.
12486 (ELFOSABI_LINUX): Define to that.
12487
f3cdd467
DZ
124882011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12489
12490 * string/strncat.c (strncat): Undef the symbol in case it has been
12491 defined in bits/string.h.
12492
74718d13
UD
124932011-09-09 Ulrich Drepper <drepper@gmail.com>
12494
633e9e0f
UD
12495 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12496
0a2349f9 12497 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12498 link map.
12499
f9924780
AJ
125002011-08-17 Andreas Jaeger <aj@suse.de>
12501
12502 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12503
7f5517aa
PP
125042011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12505 Ian Lance Taylor <iant@google.com>
12506
12507 * math/libm-test.inc (lround_test): New testcase.
12508 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12509
762011fe
UD
125102011-09-08 Ulrich Drepper <drepper@gmail.com>
12511
92963737
UD
12512 * Makefile: Remove support for automatic cvs check-ins.
12513 * Makerules: Likewise.
12514 * config.make.in: Likewise.
12515 * configure.in: Likewise.
12516 * intl/Makefile: Likewise.
12517 * locale/Makefile: Likewise.
12518 * po/Makefile: Likewise.
12519 * posix/Makefile: Likewise.
12520 * sysdeps/gnu/Makefile: Likewise.
12521 * sysdeps/mach/hurd/Makefile: Likewise.
12522 * sysdeps/sparc/sparc32/Makefile: Likewise.
12523
b0727fd8
JS
12524 [BZ #13118]
12525 * posix/Makefile (bug-regex32-ENV): Define.
12526 Patch by John Stanley <jpsinthemix@verizon.net>.
12527
a0f33f99
UD
12528 * misc/Makefile (headers): Add bits/select2.h.
12529 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12530 * misc/bits/select2.h: New file.
12531 * include/bits/select2.h: New file.
12532 * debug/Makefile (routines): Add fdelt_chk.
12533 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12534 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12535 FD_ISSET.
12536 * debug/fdelt_chk.c: New file.
12537
762011fe
UD
12538 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12539 * wcsmbs/test-wmemcmp.c: Likewise.
12540 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12541 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12542
125432011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12544
12545 * string/Makefile (strop-tests): Add memcmp.
12546 * string/test-wmemcmp.c: New file.
12547 * string/test-memcmp.c: Add wmemcmp support.
12548
7f513ec8
RM
125492011-09-08 Roland McGrath <roland@hack.frob.com>
12550
0442afb4
RM
12551 [BZ #13153]
12552 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12553 2011-07-19 change.
12554
7f513ec8
RM
12555 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12556 garbage value in a __mach_port_mod_refs call in the cases of the
12557 task-self and thread-self ports.
12558
a12b2239
ST
125592011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12560
12561 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12562
610f9ab4
AS
125632011-09-08 Andreas Schwab <schwab@redhat.com>
12564
7f513ec8 12565 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12566
48882a1a
LD
125672011-09-07 Ulrich Drepper <drepper@gmail.com>
12568
b49865be
UD
12569 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12570
fdc86bc9
UD
12571 * elf/dl-libc.c (dlerror_run): Pass back error code from
12572 dl_catch_error.
12573
c966526a
UD
12574 [BZ #13123]
12575 * elf/dl-load.c (lose): Free l_origin if it is valid.
12576
48882a1a
LD
12577 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12578 names.
12579 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12580 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12581 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12582 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12583 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12584 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12585
77a2a8b4
AZ
125862011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12587
12588 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12589 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12590 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12591 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12592 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12593 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12594 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12595 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12596 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12597 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12598
24f579d8
AM
125992011-08-15 Alan Modra <amodra@gmail.com>
12600
12601 [BZ #13092]
12602 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12603 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12604 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12605 ppc_mcount to static-only-routines.
12606 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12607 __mcount_internal.
12608 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12609 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12610
3d4837df
UD
126112011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12612
12613 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12614 for finite and infinity parameters.
12615
22700377
WS
126162011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12617
12618 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12619 and add nop instructions for throughput optimization.
12620 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12621
5025581e
WS
126222011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12623
12624 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12625 aligned copy for power7 with vector-scalar instructions.
12626 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12627
08a300c9
L
126282011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12629
12630 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12631 AVX check.
12632
59178ef9
AS
126332011-09-07 Andreas Schwab <schwab@redhat.com>
12634
12635 [BZ #13144]
12636 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12637 last change.
12638
e38ba7ab
UD
126392011-09-07 Ulrich Drepper <drepper@gmail.com>
12640
12641 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12642 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12643 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12644 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12645 clock_gettime.
12646
d53a73ac
UD
126472011-09-06 Ulrich Drepper <drepper@gmail.com>
12648
fc8bffcc
UD
12649 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12650 Forgot to demangle the pointer.
12651
ceaa0c5d
UD
12652 * sysdeps/i386/sysdep.h: Define atom_text_section.
12653 * sysdeps/x86_64/sysdep.h: Likewise.
12654 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12655 section with atom_text_section.
12656 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12657 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12658 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12659 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12660 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12661
a77d3c17
UD
12662 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12663 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12664 already be defined. Change to take two parameters and don't assign
12665 result to variable. Adjust all users.
12666 Define INTERNAL_GETTIME if not already defined.
12667 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12668 call.
12669 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12670 HAVE_CLOCK_GETTIME_VSYSCALL.
12671 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12672
d53a73ac
UD
12673 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12674 gettimeofday vsyscall, just use time.
12675
a8f84144
AS
126762011-09-06 Andreas Schwab <schwab@redhat.com>
12677
12678 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12679 <errno.h>.
12680
ef606249
UD
126812011-09-06 Ulrich Drepper <drepper@gmail.com>
12682
12683 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12684 syscall on x86-64.
12685 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12686 syscall.
12687 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12688 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12689 syscall if possible.
12690
6585cb60
UD
126912011-09-05 Ulrich Drepper <drepper@gmail.com>
12692
12693 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12694 e_ident. Don't pass to find_mapsXX.
12695 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12696
a5f524e4
LD
126972011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12698
12699 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12700 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12701 * sysdeps/x86_64/multiarch/strchr.S: Update.
12702 Check bit_slow_BSF bit.
12703 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12704 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12705 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12706
554881ef
UD
127072011-09-05 Ulrich Drepper <drepper@gmail.com>
12708
d96de963
UD
12709 [BZ #13134]
12710 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12711 before glibc 2.15.
12712 (tryshell): Define.
12713 (__spawni): Change last parameter to be flag. Test
12714 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12715 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12716 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12717 * posix/spawni.c: Likewise.
12718 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12719 * posix/spawnp.c: Likewise. Change normal version to use
12720 SPAWN_XFLAGS_USE_PATH.
12721 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12722 SPAWN_XFLAGS_TRY_SHELL.
12723
d48e5868
UD
12724 [BZ #13150]
12725 * posix/glob.h: Remove gcc 1.x support.
12726
554881ef
UD
12727 [BZ #13068]
12728 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12729
693fb948
LD
127302011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12731
12732 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12733 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12734 strrchr-sse2-bsf
12735 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12736 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12737 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12738 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12739 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12740 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12741
1b48c537
UD
127422011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12743
49d42c37
UD
12744 * sysdeps/x86_64/wcscmp.S: New file.
12745
1b48c537
UD
12746 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12747 wcscmp-c wcscmp-sse2
12748 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12749 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12750 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12751 * wcsmbs/wcscmp.c: Allow renaming.
12752
15c95c5d
DM
127532011-09-05 David S. Miller <davem@davemloft.net>
12754
12755 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12756 stack slot, rather than the struct return pointer slot.
12757 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12758 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12760 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12761
2f0ad8f3
UD
127622011-09-05 Ulrich Drepper <drepper@gmail.com>
12763
d88ae418
UD
12764 * po/ja.po: Update from translation team.
12765
2f0ad8f3
UD
12766 [BZ #13144]
12767 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12768 kernel in 64-bit binaries.
12769
5f4318d1
DM
127702011-09-01 David S. Miller <davem@davemloft.net>
12771
12772 * elf/elf.h (HWCAP_SPARC_*): Move to..
12773 * sysdeps/sparc/sysdep.h: this new file and add new values.
12774 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12775 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12776 _DL_HWCAP_COUNT to 24.
12777 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12778 entries.
12779 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12780 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12781 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12782 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12783 instead of magic constants.
12784 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12785
3ba57516
DM
127862011-08-31 David S. Miller <davem@davemloft.net>
12787
12788 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12789 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12790 Reimplement to do errno handling inline.
12791 (SYSCALL_ERROR_HANDLER): New macro.
12792 (__SYSCALL_STRING): Do not do errno handling in asm.
12793 (__CLONE_SYSCALL_STRING): Delete.
12794 (__INTERNAL_SYSCALL_STRING): Delete.
12795 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12796 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12797 (PSEUDO): Reimplement to do errno handling inline.
12798 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12799 (SYSCALL_ERROR_HANDLER): New macro.
12800 (__SYSCALL_STRING): Do not do errno handling in asm.
12801 (__CLONE_SYSCALL_STRING): Delete.
12802 (__INTERNAL_SYSCALL_STRING): Delete.
12803 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12804 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12805 i386.
12806 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12807 (inline_syscall*): Add 'err' argument.
12808 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12809 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12810 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12811 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12812
12813 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12814 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12815
2bc17433
AS
128162011-08-30 Andreas Schwab <schwab@redhat.com>
12817
12818 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12819
fbeb5f4d
JO
128202011-08-29 Jiri Olsa <jolsa@redhat.com>
12821
12822 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12823 directive.
12824
ad69cc26
DM
128252011-08-24 David S. Miller <davem@davemloft.net>
12826
12827 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12828
39dd69df
AS
128292011-08-24 Andreas Schwab <schwab@redhat.com>
12830
12831 * elf/Makefile: Add rules to build and run unload8 test.
12832 * elf/unload8.c: New file.
12833 * elf/unload8mod1.c: New file.
12834 * elf/unload8mod1x.c: New file.
12835 * elf/unload8mod2.c: New file.
12836 * elf/unload8mod3.c: New file.
12837
12838 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12839 it wasn't used.
12840
2c0b250a
DM
128412011-08-23 David S. Miller <davem@davemloft.net>
12842
12843 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12844 subtract stack bias.
12845 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12846 %sp not %fp in calculations.
12847 (_JMPBUF_UNWINDS_ADJ): Likewise.
12848
22044b48
DM
12849 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12850 (aio_suspend): Call it to force an exception region around the
12851 AIO_MISC_WAIT() invocation.
12852
2cae4995
AS
128532011-08-23 Andreas Schwab <schwab@redhat.com>
12854
12855 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12856 backslash.
12857
873a772e
AJ
128582011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12859
12860 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12861 protection macro.
12862 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12863 and <dl-machine.h>.
12864 (Elf64_FuncDesc): Remove.
12865
25ad0df1
DM
128662011-08-22 David S. Miller <davem@davemloft.net>
12867
12868 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12869 sigaltstack check, add missing cfi directives.
12870 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12871 missing cfi directives, and sigaltstack handling.
12872
e888bcbe
AS
128732011-08-16 Andreas Schwab <schwab@redhat.com>
12874
12875 [BZ #11724]
12876 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12877 object is seen twice.
12878 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12879
12880 * elf/Makefile (distribute): Add tst-initorder2.c.
12881 (tests): Add tst-initorder2.
12882 (modules-names): Add tst-initorder2a tst-initorder2b
12883 tst-initorder2c tst-initorder2d. Add rules to build them.
12884 ($(objpfx)tst-initorder2.out): New rule.
12885 * elf/tst-initorder2.c: New file.
12886 * elf/tst-initorder2.exp: New file.
12887
87162f46
AS
128882011-08-22 Andreas Schwab <schwab@redhat.com>
12889
70538b7f
AS
12890 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12891
f55ffe58
AS
12892 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12893 dependencies back to end of function.
12894
87162f46
AS
12895 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12896 $(elfobjdir)/ld.so.
12897
91b392a4
UD
128982011-08-21 Ulrich Drepper <drepper@gmail.com>
12899
12900 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12901 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12902 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12903 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12904 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12905 of __vdso_gettimeofday.
12906 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12907 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12908 attribute_hidden.
12909 (_libc_vdso_platform_setup): Remove initialization of
12910 __vdso_gettimeofday and __vdso_time.
12911
5c43483f
UD
129122011-08-20 Ulrich Drepper <drepper@gmail.com>
12913
775a77e7
UD
12914 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12915 and fgetc_unlocked.
12916 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12917 getc_unlocked.
89f447ed 12918
49c74ba9
UD
12919 * elf/dl-open.c (add_to_global): Report additions to the global scope
12920 for LD_DEBUG=scopes.
12921 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12922 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12923
5c43483f
UD
12924 [BZ #13114]
12925 * stdio-common/Makefile (tests): Add bug24.
12926 * stdio-common/bug24.c: New file.
12927
a101b025
AJ
129282011-08-19 Andreas Jaeger <aj@suse.de>
12929
12930 [BZ #13114]
12931 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12932 non-existant file when using close-on-exec mode.
12933
c88f1766
UD
129342011-08-20 Ulrich Drepper <drepper@gmail.com>
12935
0276a718
UD
12936 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12937 the very first instruction.
12938
c88f1766
UD
12939 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12940 the CFI state in the end.
12941 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12942 inclusion of dl-trampoline.h.
12943 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12944
51ccffa0
AS
129452011-08-19 Andreas Schwab <schwab@redhat.com>
12946
94d7165f
AS
12947 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12948 expectations for long double.
12949
51ccffa0
AS
12950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12951 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12952
fd708658 129532011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12954
12955 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12956 artificual limit depends upon the system page size.
12957
44f0a71e
UD
129582011-08-17 Ulrich Drepper <drepper@gmail.com>
12959
12960 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12961 * resolv/Makefile: Define CFLAGS-libresolv.
12962
8de79a24
AS
129632011-08-17 Andreas Schwab <schwab@redhat.com>
12964
12965 * nss/makedb.c (compute_tables): Make variables used in nested
12966 function static.
12967
27724598
UD
129682011-08-17 Ulrich Drepper <drepper@gmail.com>
12969
c5305d88
UD
12970 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12971 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12972 if buffer was too small.
12973
27724598
UD
12974 * elf/pldd.c (main): Attach to all threads in the process.
12975 Rewrite /proc handling to use *at functions.
12976
076fe015
UD
129772011-08-16 Ulrich Drepper <drepper@gmail.com>
12978
174baab3
UD
12979 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12980 specifies first scope to show.
12981 (dl_open_worker): Update callers. Move printing scope of new
12982 object to before the relocation.
44f0a71e 12983 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12984 * sysdeps/generic/ldsodefs.h: Update declaration.
12985
076fe015
UD
12986 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12987 string for the scope number.
12988
a60df2c3
UD
129892011-08-14 Ulrich Drepper <drepper@gmail.com>
12990
12991 * nscd/servicescache.c (cache_addserv): Make sure written is always
12992 initialized.
12993
5e4287d1
RM
129942011-08-14 Roland McGrath <roland@hack.frob.com>
12995
85ae0589
RM
12996 * sysdeps/i386/i486/bits/atomic.h
12997 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12998 statement expression, so as to suppress "set but not used" warning.
12999 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13000
69f63097
RM
13001 * string/strncat.c (STRNCAT): Use prototype definition.
13002
675456ef
RM
13003 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13004 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13005 -Iprograms here.
13006 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13007 (localedef-modules): Add localedef.
13008 (locale-modules): Add locale.
13009
5e4287d1
RM
13010 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13011 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13012 to avoid a warning.
13013
9c96ff23
DM
130142011-08-14 David S. Miller <davem@davemloft.net>
13015
13016 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13017 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13018
f9ddf089
UD
130192011-08-13 Ulrich Drepper <drepper@gmail.com>
13020
44f0a71e 13021 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
13022 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13023 * elf/rtld.c (dl_main): Set l_name of vDSO.
13024 Call _dl_show_scope when DL_DEBUG_SCOPES.
13025 (process_dl_debug): Recognize scopes flag and also set it for all.
13026 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13027 Declare _dl_show_scope.
13028
1dc27704
UD
13029 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13030 (do_dlopen): Pass caller_dlopen to dl_open.
13031 (__libc_dlopen_mode): Initialize caller_dlopen.
13032
f9ddf089
UD
13033 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13034 of libc. Make tolower call locale-independent. Optimize a bit by
13035 using isdigit instead of isalnum.
13036 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13037
9ac533d3
UD
130382011-08-12 Ulrich Drepper <drepper@gmail.com>
13039
13040 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13041 was a dependency or dynamically loaded.
13042
89edf2e9
UD
130432011-08-11 Ulrich Drepper <drepper@gmail.com>
13044
8e999d29
UD
13045 * intl/l10nflist.c: Allow architecture-specific pop function.
13046 * sysdeps/x86_64/l10nflist.c: New file.
13047
89edf2e9
UD
13048 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13049 classification.
13050
14d96785
AS
130512011-08-10 Andreas Schwab <schwab@redhat.com>
13052
13053 * include/dirent.h: Add libc_hidden_proto for scandirat and
13054 scandirat64. Don't declare __scandirat64.
13055 * dirent/scandirat.c: Add libc_hidden_def.
13056 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13057 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13058
6761ac04
DM
130592011-08-10 David S. Miller <davem@davemloft.net>
13060
13061 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13062 enum.
13063 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13064 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13065 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13066
c55fbd1e
UD
130672011-08-09 Ulrich Drepper <drepper@gmail.com>
13068
13069 * Versions.def [libc]: Add GLIBC_2.15.
13070 * dirent/Makefile (routines): Add scandirat and scandirat64.
13071 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13072 GLIBC_2.15.
13073 * dirent/dirent.h: Declare scandirat and scandirat64.
13074 * dirent/scandirat.c: New file.
13075 * dirent/scandirat64.c: New file.
13076 * sysdeps/wordsize-64/scandirat.c: New file.
13077 * sysdeps/wordsize-64/scandirat64.c: New file.
13078 * dirent/opendir.c: Define opendirat.
13079 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13080 using scandirat.
13081 * dirent/scandir64.c: Adjust for scandir.c change.
13082 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13083 __scandirat64, and __scandir_cancel_handler.
13084 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13085 additional parameter and use openat instead of open (outside of ld.so).
13086 Add new __opendir as wrapper around __opendirat.
13087 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13088 here without requiring old scandirat implementation.
13089
879165f2
UD
130902011-08-08 Ulrich Drepper <drepper@gmail.com>
13091
13092 * dirent/scandir.c (cancel_handler): Renamed to
13093 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13094 defined. Adjust users.
13095 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13096 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13097
cb7e923b
UD
130982011-08-04 Ulrich Drepper <drepper@gmail.com>
13099
16292edd
UD
13100 * string/test-string.h (IMPL): Use __STRING to expand name and then
13101 stringify it.
13102
cb7e923b
UD
13103 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13104 of cleanups.
13105
cff82933
LD
131062011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13107
13108 * string/Makefile: Update.
13109 (strop-tests): Append strncat.
13110 * string/test-wcscmp.c: New file.
13111 New comprehensive test for wcscmp.
13112 * string/test-strcmp.c: Update.
13113 (WIDE): New define.
13114
9be9bfcc
AS
131152011-07-22 Andreas Schwab <schwab@redhat.com>
13116
13117 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13118 line.
13119
2e96f1c7
AS
131202011-07-26 Andreas Schwab <schwab@redhat.com>
13121
13122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13123 encoding to ACE if AI_IDN.
13124
85188888
JJ
131252011-08-01 Jakub Jelinek <jakub@redhat.com>
13126
13127 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13128 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13129
5fa16e9b
LD
131302011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13131
13132 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13133 Fix overflow bug in strncat.
13134 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13135
13136 * string/test-strncat.c: Update.
13137 Add new tests for checking overflow bugs.
13138
131392011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13140
13141 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13142 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13143 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13144 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13145 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13146 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13147 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13148 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13149 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13150
13151 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13152 (USE_AS_STRCAT): Define.
13153 Add strcat and strncat support.
13154 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13155
8c1a459f
AS
131562011-07-25 Andreas Schwab <schwab@redhat.com>
13157
13158 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13159 __n bigger than INT_MAX+1.
13160 (__strncmp_g): Likewise.
13161
bba33c28
UD
131622011-07-23 Ulrich Drepper <drepper@gmail.com>
13163
798be72d
UD
13164 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13165 * libio/stido.h: Likewise.
13166
8accd4dc
UD
13167 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13168 (AF_NFC): Define.
13169 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13170 (AF_NFC): Define.
13171
cbff0d96
UD
13172 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13173 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13174 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13175 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13176 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13177
9191c04a
UD
13178 [BZ #13021]
13179 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13180 installed.
13181
bba33c28
UD
13182 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13183 typo.
13184 (_dl_x86_64_save_sse): Likewise.
13185
90f139dd
UD
131862011-07-22 Ulrich Drepper <drepper@gmail.com>
13187
1aae088a
UD
13188 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13189 OSXSAVE.
13190 (_dl_x86_64_save_sse): Likewise.
13191
8e2045f5
UD
13192 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13193
90f139dd
UD
13194 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13195
1d002f25
AS
131962011-07-21 Andreas Schwab <schwab@redhat.com>
13197
13198 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13199 change.
13200 (_dl_x86_64_save_sse): Use correct AVX check.
13201
21137f89
UD
132022011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13203
13204 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13205 bug in strncpy/strncat.
13206 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13207
a65c0b7a
UD
132082011-07-21 Ulrich Drepper <drepper@gmail.com>
13209
13210 * string/tester.c (test_strcat): Add tests for different alignments
13211 of source and destination.
13212 (test_strncat): Likewise.
13213
6986b98a
UD
132142011-07-20 Ulrich Drepper <drepper@gmail.com>
13215
90bb2039
UD
13216 [BZ #12852]
13217 * posix/glob.c (glob): Check passed in values before using them in
13218 expressions to avoid some overflows.
13219 (glob_in_dir): Likewise.
13220
5644ef54
UD
13221 [BZ #13007]
13222 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13223 check for AVX enablement so that we don't crash with old kernels and
13224 new hardware.
13225 * elf/tst-audit4.c: Add same checks here.
13226 * elf/tst-audit6.c: Likewise.
13227
13228 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13229
bfc9dc9b
AS
132302011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13231
13232 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13233
702e64bb
UD
132342011-07-20 Ulrich Drepper <drepper@gmail.com>
13235
13236 * po/cs.po: Update from translation team.
13237 * po/bg.po: Likewise.
13238
295e904f
MP
132392011-07-12 Marek Polacek <mpolacek@redhat.com>
13240
13241 * misc/sys/cdefs.h: Add support for const attribute.
13242 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13243 to gnu_dev_{major,minor,makedev} functions.
13244
3ff94596
MP
132452011-07-20 Marek Polacek <mpolacek@redhat.com>
13246
13247 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13248
28b59fca
AS
132492011-07-20 Andreas Schwab <schwab@redhat.com>
13250
13251 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13252 strlen results.
13253
19df733e
AK
132542011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13255
13256 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13257 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13258 register in order to avoid conflicts with the soft frame pointer
13259 being held in r11 when necessary.
13260 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13261 (INTERNAL_VSYSCALL_NCS): Likewise.
13262
c8835729
MP
132632011-07-14 Marek Polacek <mpolacek@redhat.com>
13264
13265 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13266 * elf/dl-fini.c (_dl_fini): Adjust caller.
13267 * elf/dl-close.c (_dl_close_worker): Likewise.
13268 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13269
b902330c
MP
132702011-07-15 Marek Polacek <mpolacek@redhat.com>
13271
8991e135
MP
13272 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13273 "aux_cache->nlibs < 0".
13274
b902330c
MP
13275 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13276 in the reload-count case.
13277
99710781
LD
132782011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13279
13280 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13281 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13282 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13283 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13284 * sysdeps/x86_64/multiarch/strcat.S: New file.
13285 * sysdeps/x86_64/multiarch/strncat.S: New file.
13286 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13287 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13288 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13289 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13290 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13291 (USE_AS_STRCAT): Define.
13292 Add strcat and strncat support.
13293 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13294 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13295 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13296 * string/strncat.c: Update.
13297 (USE_AS_STRNCAT): Define.
13298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13299 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13300 and i7.
13301 * sysdeps/x86_64/multiarch/init-arch.h
13302 (bit_Prefer_PMINUB_for_stringop): New.
13303 (index_Prefer_PMINUB_for_stringop): Likewise.
13304 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13305 bit_Prefer_PMINUB_for_stringop.
13306
7dc6bd90
UD
133072011-07-19 Ulrich Drepper <drepper@gmail.com>
13308
13309 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13310 buffer64.
13311 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13312 of casting of buffer.
13313 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13314 buffer32 and buffer64.
13315 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13316 writes instead of casting of buffer.
13317 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13318 buffer32.
13319 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13320 casting of buffer.
13321
e0e72284
AS
133222011-07-19 Andreas Schwab <schwab@redhat.com>
13323
13324 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13325
feb1eb0b
UD
133262011-07-19 Ulrich Drepper <drepper@gmail.com>
13327
13328 * nscd/nscd.c (termination_handler): Don't do anything for a database
13329 if it has not yet been initialized.
13330
298711ff
UD
133312011-07-18 Ulrich Drepper <drepper@gmail.com>
13332
13333 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13334
133352011-07-15 Marek Polacek <mpolacek@redhat.com>
13336
13337 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13338
f9d68389
UD
133392011-07-18 Ulrich Drepper <drepper@gmail.com>
13340
13341 * po/nl.po: Update from translation team.
13342 * po/sv.po: Likewise.
13343
db290cf5
RM
133442011-07-16 Roland McGrath <roland@hack.frob.com>
13345
13346 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13347 now disallowed by GCC.
5c550700 13348
fd5e21c7
RM
13349 * configure.in (use-default-link): Default to yes if a test -shared
13350 link meets our qualifications.
13351 * configure: Regenerated.
13352
5c550700
RM
13353 * config.make.in (output-format): New variable.
13354 * configure.in: Check for ld --print-output-format support.
13355 * configure: Regenerated.
13356 * Makerules ($(common-objpfx)format.lds)
13357 [$(output-format) != unknown]: Just use $(output-format),
13358 instead of the linker-script munging.
13359
9fa2c032
RM
133602011-07-14 Roland McGrath <roland@hack.frob.com>
13361
a6928d51
RM
13362 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13363 of $(common-objpfx)shlib.lds.
13364 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13365
661607b3
RM
13366 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13367 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13368
9fa2c032
RM
13369 * configure.in (-z relro check): Adjust test code to add a large
13370 writable data section after it.
13371 * configure: Regenerated.
13372
defe9061
RM
133732011-07-11 Roland McGrath <roland@hack.frob.com>
13374
13375 * configure.in (-z relro check): Fix test code to make the variable
13376 truly const.
13377 * configure: Regenerated.
13378
319b9ad4
UD
133792011-07-11 Ulrich Drepper <drepper@gmail.com>
13380
13381 * nscd/nscd.h (struct traced_file): Define.
13382 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13383 elements. Add traced_files.
13384 (inotify_fd): Declare.
13385 (register_traced_file): Declare.
13386 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13387 (inotify_fd): Export.
13388 (resolv_conf_descr): Remove.
13389 (nscd_init): Move inotify descriptor creation to main.
13390 Don't register files for notification here.
13391 (register_traced_file): New function.
13392 (invalidate_cache): Don't use reset_res to determine whether to call
13393 res_init, go through the list of registered files.
13394 (main_loop_poll): The inotify descriptors are now stored in the
13395 structures for the traced files.
13396 (main_loop_epoll): Likewise
13397 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13398 to __nss_disable_nscd.
13399 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13400 for a database anymore. Check the records for all the registered
13401 files instead.
13402 * nss/Makefile (libnss_files-routines): Add files-init.
13403 (libnss_db-routines): Add db-init.
13404 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13405 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13406 * nss/nss_db/db-init.c: New file.
13407 * nss/nss_files/files-init.c: New file.
13408 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13409 __nss_lookup_function.
13410 (__nss_lookup_function): Call nss_load_library.
13411 (nss_load_all_libraries): New function.
13412 (__nss_disable_nscd): Take parameter with callback function for files
13413 to register. Set is_nscd. Load all the DSOs for the NSS modules
13414 used for the cached services.
13415 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13416 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13417 options for features to all the files in nscd.
13418
13419 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13420
23bee3e8
RM
134212011-07-10 Roland McGrath <roland@hack.frob.com>
13422
13423 * csu/elf-init.c (__libc_csu_init): Comment typo.
13424
46a5b7f0
UD
134252011-07-09 Ulrich Drepper <drepper@gmail.com>
13426
13427 * po/pl.po: Update from translation team.
13428 * po/ja.po: Likewise.
13429 * po/ru.po: Likewise.
13430 * po/ko.po: Likewise.
13431 * po/fr.po: Likewise.
13432
d30cf5bb
RM
134332011-07-09 Roland McGrath <roland@hack.frob.com>
13434
113ddea4
RM
13435 * configure.in (.ctors/.dtors header and trailer check):
13436 Use an empirical test on a built program.
13437 * configure: Regenerated.
13438
574920b4
RM
13439 * configure.in (-z relro check): Use an empirical test on a built DSO.
13440 Detect, but do not require, on ia64.
13441 * configure: Regenerated.
13442
d30cf5bb
RM
13443 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13444 Update tests that use readelf to use $READELF instead.
13445 * configure: Regenerated.
13446
8538fdb3
UD
134472011-07-08 Ulrich Drepper <drepper@gmail.com>
13448
13449 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13450 if the result is not used.
13451
04d08991
AJ
134522011-07-05 Andreas Jaeger <aj@suse.de>
13453
13454 [BZ#9696]
13455 * stdlib/tst-strtod.c: Add testcase.
13456
de283087
AD
134572011-07-07 Ulrich Drepper <drepper@gmail.com>
13458
4e5f31c8 13459 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13460 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13461 The latter has a higher limit. Take additional parameter to pass to
13462 the new function.
13463 (__pathconf): Pass file to __statfs_link_max.
13464 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13465 __statfs_link_max.
13466 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13467 __statfs_link_max.
13468
de283087
AD
13469 [BZ #12868]
13470 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13471 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13472 Handle Lustre.
13473 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13474 (__statfs_filesize_max): Likewise.
13475 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13476
c75fa153
AJ
134772011-07-05 Andreas Jaeger <aj@suse.de>
13478
13479 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13480
1a544854
UD
134812011-07-06 Marek Polacek <mpolacek@redhat.com>
13482
13483 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13484 `status' variable.
13485 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13486 Likewise.
13487
6f0eec67
UD
134882011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13489
13490 * Makefile (strop-tests): Add strncat.
13491 * string/test-strncat.c: New file.
13492
aae30307
UD
134932011-06-30 Marek Polacek <mpolacek@redhat.com>
13494
13495 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13496
c0cfb5eb
UD
134972011-06-21 Andreas Jaeger <aj@suse.de>
13498
13499 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13500 Copy rule from iconvdata/Makefile.
13501
01636b21
UD
135022011-07-06 Ulrich Drepper <drepper@gmail.com>
13503
13504 [BZ #12922]
13505 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13506 but no long options are defined, just return 'W'.
13507
9895c8bc
UD
135082011-06-22 Marek Polacek <mpolacek@redhat.com>
13509
13510 [BZ #9696]
13511 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13512
5d4cf042
UD
135132011-07-06 Ulrich Drepper <drepper@gmail.com>
13514
13515 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13516 netgroups to read.
960e5535 13517 (innetgr): Likewise.
5d4cf042 13518
751eb97e
RM
135192011-07-05 Roland McGrath <roland@hack.frob.com>
13520
13521 * config.make.in (install_root): Default to $(DESTDIR).
13522
f15f1e45
UD
135232011-07-05 Ulrich Drepper <drepper@gmail.com>
13524
13525 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13526
4e34ac6a
RM
135272011-07-02 Roland McGrath <roland@hack.frob.com>
13528
5e9b6af4
RM
13529 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13530
84f9ea0f
RM
13531 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13532 containing directory rather than embedding absolute directory names.
13533
ea5ee9f7
RM
13534 * scripts/check-local-headers.sh: Rewritten using awk.
13535 Match by word, not by line. Print error messages for matches.
13536 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13537
1b74661a
RM
13538 * Makerules [shlib-lds-flags empty]:
13539 ($(common-objpfx)libc_pic.opts): New target.
13540 ($(common-objpfx)libc_pic.os.clean): New target.
13541 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13542
13543 * config.make.in (OBJCOPY): New variable.
13544 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13545 * configure: Regenerated.
13546
f781ef40
RM
13547 * config.make.in (use-default-link): New variable.
13548 * configure.in (use_default_link): Grok --with-default-link to set it.
13549 * configure: Regenerated.
13550 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13551 (shlib-lds, shlib-lds-flags): Define to empty.
13552
2d4fa81e
RM
13553 * Makerules (shlib-lds): New variable.
13554 (shlib-lds-flags): New variable.
13555 (build-shlib, build-moduile, build-module-asneeded): Use it.
13556 ($(common-objpfx)libc.so): Use $(shlib-lds).
13557 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13558 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13559
31fffa6b
RM
13560 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13561 DT_FLAGS/DT_FLAGS_1 with zero flags.
13562
4e34ac6a
RM
13563 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13564 linker script munging.
13565
fcfc776b
UD
135662011-07-02 Ulrich Drepper <drepper@gmail.com>
13567
13568 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13569 as 128-bit value.
13570 * crypt/sha512.c (sha512_process_block): Perform total addition using
13571 128-bit if possible.
13572 (__sha512_finish_ctx): Likewise.
13573 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13574 as 64-bit value.
13575 * crypt/sha256.c (SWAP64): Define.
13576 (sha256_process_block): Perform total addition using 64-bit if
13577 possible.
13578 (__sha256_finish_ctx): Likewise.
13579
99231d9a
UD
135802011-07-01 Ulrich Drepper <drepper@gmail.com>
13581
13582 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13583 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13584 * nscd/hstcache.c (cache_addhst): Likewise.
13585 * nscd/grpcache.c (cache_addgr): Likewise.
13586 * nscd/aicache.c (addhstaiX): Likewise
13587 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13588
445b4a53
TK
135892011-07-01 Thorsten Kukuk <kukuk@suse.de>
13590
13591 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13592 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13593 * nscd/hstcache.c (cache_addhst): Likewise.
13594 * nscd/grpcache.c (cache_addgr): Likewise.
13595 * nscd/aicache.c (addhstaiX): Likewise
13596
6d4d8e8e
AS
135972011-07-01 Andreas Schwab <schwab@redhat.com>
13598
13599 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13600 domain only when needed.
13601
89f654c5
AS
136022011-06-30 Andreas Schwab <schwab@redhat.com>
13603
13604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13605 is always restored.
13606
cf3b23ff
UD
136072011-06-29 Ulrich Drepper <drepper@gmail.com>
13608
13609 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13610 are re-adding the entry.
13611 * nscd/servicescache.c (cache_addserv): Likewise.
13612
751626f9
AJ
136132011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13614
13615 * sysdeps/generic/dl-irel.h: fix protection against multiple
13616 inclusions.
13617 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13618
9113ea1f
UD
136192011-06-28 Ulrich Drepper <drepper@gmail.com>
13620
5c0b8d90
UD
13621 [BZ #12935]
13622 * malloc/memusage.sh: Fix quoting in message.
13623 * debug/xtrace.sh: Likewise.
13624
9113ea1f
UD
13625 * configure.in: Remove support for --experimental-malloc option, make
13626 it the default.
13627 * config.make.in: Likewise.
13628 * malloc/Makefile: Likewise.
13629
a4172181
AS
136302011-06-27 Andreas Schwab <schwab@redhat.com>
13631
13632 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13633 two-byte characters.
13634
78a7eee7
RM
136352011-06-27 Roland McGrath <roland@hack.frob.com>
13636
62bede13
RM
13637 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13638 AC_CACHE_CHECK invocation.
13639 * configure: Regenerated.
13640
78a7eee7
RM
13641 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13642
5ce33a62
UD
136432011-06-27 Ulrich Drepper <drepper@gmail.com>
13644
034807a9
UD
13645 [BZ #12350]
13646 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13647 bit from old_res_options.
13648
4902da17
UD
13649 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13650
5ce33a62
UD
13651 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13652 value type for setfct.
13653
c2344f56
L
136542011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13655
13656 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13657 __gettimeofday instead of gettimeofday.
13658
68468076
UD
136592011-06-26 Ulrich Drepper <drepper@gmail.com>
13660
13661 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13662
acb0d739
L
136632011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13664
13665 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13666
13667 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13668 info.
13669
8912479f
L
136702011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13671
13672 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13673 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13674 strcpy-sse2-unaligned strncpy-sse2-unaligned
13675 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13676 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13677 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13678 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13679 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13680 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13681 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13682 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13683 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13684 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13685 (STRCPY): Support SSE2 and SSSE3 versions.
13686
d5495a11
UD
136872011-06-24 Ulrich Drepper <drepper@gmail.com>
13688
13689 [BZ #12874]
13690 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13691 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13692 kernels which artificially limit size of requests.
13693
0b1cbaae
L
136942011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13695
13696 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13697 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13698 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13699 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13700 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13701 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13702 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13703 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13704 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13705 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13706 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13707 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13708 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13709 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13710 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13712 Enable unaligned load optimization for Intel Core i3, i5 and i7
13713 processors.
13714 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13715 Define.
13716 (index_Fast_Unaligned_Load): Define.
13717 (HAS_FAST_UNALIGNED_LOAD): Define.
13718
07f494a0
MP
137192011-06-23 Marek Polacek <mpolacek@redhat.com>
13720
13721 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13722
fa3fc0fe
UD
137232011-06-22 Ulrich Drepper <drepper@gmail.com>
13724
13725 [BZ #12907]
13726 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13727 until it is clear that the information is realy needed.
13728 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13729
e12df166
AS
137302011-06-22 Andreas Schwab <schwab@redhat.com>
13731
13732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13733
852eb34d
UD
137342011-06-22 Ulrich Drepper <drepper@gmail.com>
13735
84e2a551
UD
13736 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13737 /sys/devices/system/cpu/online if it is usable.
13738
852eb34d
UD
13739 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13740 reading the information from the /proc filesystem to once a second.
13741
6e502e19
UD
137422011-06-21 Andreas Jaeger <aj@suse.de>
13743
13744 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13745 NULL after inclusion of kernel headers.
13746
75d39ff2
UD
137472011-06-21 Ulrich Drepper <drepper@gmail.com>
13748
51f9aa6a
UD
13749 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13750 calls to internal_setent.
13751
c0244a9d
UD
13752 [BZ #12885]
13753 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13754 addresses using gethostbyname4_r ignore IPv4 addresses.
13755
c5e3c2ae
UD
13756 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13757 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13758
75d39ff2
UD
13759 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13760
42675c6f
DM
137612011-06-20 David S. Miller <davem@davemloft.net>
13762
13763 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13764 inclusions.
13765 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13766
13767 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13768 (elf_irel): Use it.
13769 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13770 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13771 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13772 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13773 * sysdeps/x86_64/dl-irel.h: Likewise.
13774
13775 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13776 * elf/dl-sym.c: Likewise.
13777
57912a71
UD
137782011-06-15 Ulrich Drepper <drepper@gmail.com>
13779
13780 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13781 need to dereference resplen2.
13782
ee22793d
AS
137832011-06-14 Andreas Schwab <schwab@redhat.com>
13784
13785 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13786
a9e836b0
UD
137872011-06-15 Ulrich Drepper <drepper@gmail.com>
13788
77fb9117
UD
13789 * Makeconfig: Define vardbdir and inst_vardbdir.
13790 * nss/Makefile: Add rules to install db-Makefile.
13791
40c1b22c
UD
13792 * nss/nss_db/db-XXX.c: Cleanup.
13793
9f2da732
UD
13794 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13795 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13796 GLIBC_PRIVATE.
13797 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13798 * nss/makedb.c: Implement -g option to specify that value strings
13799 are generated and should not be added to table iterated over for
13800 get*ent calls.
13801 * nss/nss_db/db-initgroups.c: New file.
13802
82e9a1f7
UD
13803 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13804 interface.
13805
c41af17e
UD
13806 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13807 (internal_getgrouplist): Adjust to name change.
13808 Update use_initgroups_entry if this is not the first call.
13809 * nss/databases.def: Add initgroups entry.
13810
a9e836b0
UD
13811 * nss/makedb.c (compute_tables): Check result of multiple hash table
13812 sizes to minimize maximum chain length.
13813
2666d441
UD
138142011-06-14 Ulrich Drepper <drepper@gmail.com>
13815
13816 * Versions.def: Add entry for libnss_db.
13817 * shlib-versions: Likewise.
13818 * nss/Makefile: Add rules to build libnss_db.
13819 * nss/Versions: Add libnss_db information. Organize libnss_files
13820 entries better.
13821 * nss/db-Makefile: Add gshadow support. Change rules for the new
13822 makedb progra. Some minor improvements to generate smaller files.
13823 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13824 here from...
13825 * nss/makedb.c: ...here.
13826 Improve database format to be smaller and require less memory at
13827 runtime.
13828 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13829 db anymore.
13830 * nss/nss_db/db-netgrp.c: Likewise.
13831 * nss/nss_db/db-open.c: Likewise.
13832 * nss/nss_files/flies-XXX.x: Adjust comments.
13833 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13834 * nss/nss_files/files-grp.c: Likewise.
13835 * nss/nss_files/files-hosts.c: Likewise.
13836 * nss/nss_files/files-network.c: Likewise.
13837 * nss/nss_files/files-proto.c: Likewise.
13838 * nss/nss_files/files-pwd.c: Likewise.
13839 * nss/nss_files/files-rpc.c: Likewise.
13840 * nss/nss_files/files-service.c: Likewise.
13841 * nss/nss_files/files-sgrp.c: Likewise.
13842 * nss/nss_files/files-spwd.c: Likewise.
13843 * nss/nss_db/db-alias.c: Removed.
13844 * nss/nss_db/dummy-db.h: Removed.
13845
9ee76b5a
UD
138462011-06-02 Ulrich Drepper <drepper@gmail.com>
13847
13848 * nss/makedb.c: Rewritten to not use database library.
13849 * nss/Makefile: Update to build new makedb program.
13850
c71ca1f8
AJ
138512011-06-14 Andreas Jaeger <aj@suse.de>
13852
13853 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13854 memset declaration.
13855
3154bfb8
UD
138562011-06-10 Andreas Schwab <schwab@redhat.com>
13857
13858 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13859 tmpbuf.
13860
b350afab
RM
138612011-06-10 Roland McGrath <roland@hack.frob.com>
13862
decd4e50
RM
13863 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13864 * elf/Makefile ($(objpfx)ld.so): Likewise.
13865
5615eaf2
RM
13866 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13867 Don't list ld.so twice in dependencies.
13868
13869 * posix/bug-regex31.c: Include <stdlib.h>.
13870
13871 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13872
13873 * nis/nss_compat/compat-spwd.c
13874 (getspent_next_nss_netgr): Remove unused variable.
13875 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13876
13877 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13878 nonmembers" output to use the right array.
13879
13880 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13881
13882 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13883
13884 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13885 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13886 * catgets/gencat.c (read_input_file): Likewise.
13887 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13888
13889 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13890 variable definition inside #if's controlling its use.
13891
13892 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13893
13894 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13895
13896 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13897
13898 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13899 unreachable code.
13900
13901 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13902
b68e08db
RM
13903 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13904 * configure: Regenerated.
13905
b350afab
RM
13906 * Makerules: Revert last change.
13907 * elf/Makefile: Likewise.
13908
28368601
RM
139092011-06-09 Roland McGrath <roland@hack.frob.com>
13910
13911 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13912 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13913 (reloc-link): Likewise.
13914
11988f8f
UD
139152011-06-09 Ulrich Drepper <drepper@gmail.com>
13916
13917 * elf/Makefile: Add rules to build pldd.
13918 * elf/pldd.c: New file.
13919 * elf/pldd-xx.c: New file.
13920
e80fab37
UD
139212011-06-07 Ulrich Drepper <drepper@gmail.com>
13922
13923 * version.h: Update for 2.15 development version.
13924
9b849836
DM
139252011-06-07 David S. Miller <davem@davemloft.net>
13926
13927 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13928 ifuncs.
13929 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13930 elf_machine_lazy_rel): Likewise.
13931 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13932 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13933 elf_machine_lazy_rel): Likewise.
13934 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13935 dl_hwcap via passed in argument.
13936 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13937 Likewise.
13938
5a31b283
AK
139392011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13940
13941 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13942
069e52f8
RM
139432011-06-06 Roland McGrath <roland@hack.frob.com>
13944
13945 [BZ #12849]
13946 * manual/fdl-1.1.texi: New file, verbatim from:
13947 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13948 * manual/lgpl-2.1.texi: New file, verbatim from:
13949 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13950 * manual/Makefile (licenses): New variable, list those new file names.
13951 (texis): Use it.
13952 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13953
13954 * manual/fdl.texi: File removed.
13955 * manual/lesser.texi: File removed.
13956 * manual/libc.texinfo (Copying, Documentation License):
13957 Use new @include file names, put @appendix directive before @include.
13958
f16846a5
JJ
139592011-06-04 Jakub Jelinek <jakub@redhat.com>
13960
13961 [BZ #12841]
13962 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13963 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13964 (mq_open): Add __NTH.
13965
3d29045b
L
139662011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13967
13968 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13969 Assume Intel Core i3/i5/i7 processor if AVX is available.
13970
8c297311
UD
139712011-05-31 Ulrich Drepper <drepper@gmail.com>
13972
13973 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13974 typo.
13975
c8fc0c91
UD
139762011-05-31 Andreas Schwab <schwab@redhat.com>
13977
13978 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13979 memory. Use alloca_account. Fix memory leak when retrying.
13980
5b27a807
UD
139812011-05-31 Ulrich Drepper <drepper@gmail.com>
13982
356f8bc6
UD
13983 * version.h (RELEASE): Bump for 2.14 release.
13984 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13985
5b27a807
UD
13986 * config.make.in (RANLIB): Remove entry.
13987
01f16ab0
UD
139882011-05-30 Ulrich Drepper <drepper@gmail.com>
13989
41fce8bd
UD
13990 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13991 (libc.pot): Work around missing support for .ksh extension in xgettext.
13992
4769ae77
UD
13993 [BZ #12684]
13994 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13995 if both request failed.
13996 (send_dg): In case of server errors clear resplen or *resplen2.
13997
6b1e7d19
UD
13998 [BZ #12454]
13999 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14000 when there are multiple maps.
14001 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14002 (_dl_fini): Remove test here.
14003
01f16ab0
UD
14004 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14005
b1ebd700
UD
140062011-05-29 Ulrich Drepper <drepper@gmail.com>
14007
7ae22829
UD
14008 [BZ #12350]
14009 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14010 bit from old_res_options.
14011 (gaih_inet): Likewise.
14012
553149f6 14013 [BZ #11099]
18a84741 14014 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
14015 as signed.
14016
652ffab1
UD
14017 * resolv/res_init.c (res_setoptions): Make the code more compact.
14018
16985fd0
UD
14019 [BZ #11558]
14020 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14021 set RES_USEVC.
14022
0464f746
UD
14023 [BZ #11634]
14024 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14025
7d17596c
UD
14026 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14027
cf6bbbd7
UD
14028 [BZ #11781]
14029 * malloc/malloc.h: Declare malloc hook variables as volatile.
14030
13f1ab36
UD
14031 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14032 in last patch.
14033
b1ebd700
UD
14034 [BZ #11799]
14035 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 14036 raise in the comment.
80e2212d
UD
14037 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14038 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14039 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 14040
ce67228d
UD
140412011-05-28 Ulrich Drepper <drepper@gmail.com>
14042
8887a920
UD
14043 [BZ #12811]
14044 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14045 grow the buffers more if it already has to be sufficient.
14046 (build_wcs_upper_buffer): Likewise.
14047 * posix/regexec.c (check_matching): Likewise.
14048 (clean_state_log_if_needed): Likewise.
14049 (extend_buffers): Don't enlarge buffers beyond size of the input
14050 buffer.
14051 Patches mostly by Emil Wojak <emil@wojak.eu>.
14052 * posix/bug-regex32.c: New file.
14053 * posix/Makefile (tests): Add bug-regex32.
14054
4f031072
UD
14055 * locale/findlocale.c (_nl_find_locale): Return right away if
14056 _nl_explode_name failed.
14057 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14058
d0478f0c
UD
14059 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14060
de81b246
UD
14061 * debug/xtrace.sh: Unify messages.
14062 * malloc/memusage.sh: Likewise.
14063
c738465a
UD
14064 [BZ #12813]
14065 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14066 time symbol from vDSO. Substitute with vsyscall if not available.
14067 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14068 __vdso_time.
14069
f1f929d7
UD
14070 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14071 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14072 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14073 Add sendmmsg and internal_sendmmsg.
14074 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14075 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14076 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14077
ce67228d
UD
14078 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14079 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14080 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14081
e57420c6
UD
140822011-05-27 Ulrich Drepper <drepper@gmail.com>
14083
a8509ca5
UD
14084 [BZ #12813]
14085 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14086 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14087 available.
14088 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14089 __vdso_getcpu.
14090
e57420c6
UD
14091 [BZ #12814]
14092 * iconvdata/Makefile (tests): Add bug-iconv9.
14093 * iconvdata/bug-iconv9.c: New file.
14094
4d07db15
AS
140952011-05-27 Andreas Schwab <schwab@redhat.com>
14096
14097 [BZ #12814]
14098 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14099
ea486f69
JJ
141002011-05-25 Jakub Jelinek <jakub@redhat.com>
14101
14102 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14103 (struct user_regs_struct): Change intcs field back to cs.
14104
6f038433
UD
141052011-05-25 Ulrich Drepper <drepper@gmail.com>
14106
14107 * po/ja.po: Update from translation team.
14108
67f86a25
UD
141092011-05-23 Ulrich Drepper <drepper@gmail.com>
14110
14111 [BZ #12795]
14112 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14113 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14114
def7fbd6
AS
141152011-05-20 Andreas Schwab <schwab@redhat.com>
14116
14117 * stdlib/longlong.h: Update from GCC.
14118
f50ef8f1
AS
141192011-05-23 Andreas Schwab <schwab@redhat.com>
14120
14121 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14122 parameter name.
14123 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14124 Add parameter name.
14125 (__sysconf): Pass it down.
14126
de7ce8f1
UD
141272011-05-22 Ulrich Drepper <drepper@gmail.com>
14128
f2962a71
UD
14129 [BZ #12671]
14130 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14131 some situations.
14132 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14133 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14134 add in in __libc_use_alloca calls. Adjust callers.
14135 (glob): Use malloc in some situations.
14136
de7ce8f1
UD
14137 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14138 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14139 pltexit.
14140
aec84f53
UD
141412011-05-21 Ulrich Drepper <drepper@gmail.com>
14142
05bb4a68
UD
14143 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14144 and CLOCK_BOOTTIME_ALARM.
14145
7ea72f99
UD
14146 [BZ #12782]
14147 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14148 is returned.
14149
7e4afad5
UD
14150 * string/_strerror.c (__strerror_r): Print negative errors as signed
14151 numbers.
14152
8e211fec
UD
14153 [BZ #12777]
14154 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14155 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14156 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14157
f7d82dc9
UD
14158 * configure.in: Fix typo in redirection and correct removal of test
14159 files in two cases.
14160
cc9e536d
UD
14161 [BZ #12788]
14162 * locale/setlocale.c (new_composite_name): Fix test to check for
14163 identical name of all categories.
14164
aec84f53
UD
14165 [BZ #12792]
14166 * libio/filedoalloc.c (local_isatty): New function.
14167 (_IO_file_doallocate): Use local_isatty.
14168 * stdio-common/perror.c (perror): In case a new stream is used
14169 forward the stream error.
14170 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14171 error flag.
14172
78e64fdc
RT
141732011-05-20 Ulrich Drepper <drepper@gmail.com>
14174
34a9094f
UD
14175 [BZ #11869]
14176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14177 alloca.
14178 * include/alloca.h (extend_alloca_account): Define.
14179
78e64fdc
RT
14180 [BZ #11857]
14181 * posix/regex.h: Fix comments with documentation of user-accessible
14182 fields after compilation and describe correct free'ing of pattern
14183 after re_compile_pattern.
14184 Patch by Reuben Thomas <rrt@sc3d.org>.
14185
457bddfc
RA
141862011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14187
14188 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14189 and -mno-altivec to prevent the compiler from using Altivec and/or
14190 VSX instructions when the corresponding registers are not available.
14191
a4527b51
AS
141922011-05-19 Andreas Schwab <schwab@redhat.com>
14193
14194 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14195
ed690b2f
UD
141962011-05-19 Ulrich Drepper <drepper@gmail.com>
14197
14198 * libio/freopen.c (freopen): Use __dup2, not dup2.
14199 * libio/freopen64.c (freopen64): Likewise.
14200
8db73634
L
142012011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14202
14203 [BZ #12775]
14204 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14205 * math/Makefile (tests): Add test-powl.
14206 (CFLAGS-test-powl.c): Define.
14207 * math/test-powl.c: New file.
14208
0a197a9d
L
142092011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14210
14211 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14212
ee30c380
UD
142132011-05-17 Ulrich Drepper <drepper@gmail.com>
14214
14215 [BZ #11837]
14216 * iconvdata/gb18030.c: Update to GB18020-2005.
14217
6ce75379
UD
142182011-05-16 Ulrich Drepper <drepper@gmail.com>
14219
a4b89fd8
AR
14220 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14221 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14222 Patch by Aharon Robbins <arnold@skeeve.com>.
14223
ea389b12
UD
14224 [BZ #11892]
14225 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14226 on the stack.
14227
68a3f91f
UD
14228 [BZ #11895]
14229 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14230 through underflows.
14231
15cc7dd1
UD
14232 [BZ #12766]
14233 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14234 point to strings before performing equality test for error_one_per_line
14235 mode.
14236
f3799213
UD
14237 [BZ #11697]
14238 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14239
d79a9c94
UD
14240 [BZ #11820]
14241 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14242 (struct user_fpregs_struct): Avoid __uint*_t types.
14243
56e5eb46
UD
14244 [BZ #6420]
14245 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14246 symbol info. Use it instead of calling _dl_addr locally.
14247 (lock_and_info): New function.
14248 (tr_freehook): Call lock_and_info and pass symbol info as additional
14249 parameter to tr_where.
14250 (tr_mallochook): Likewise.
14251 (tr_reallochook): Likewise.
14252 (tr_memalignhook): Likewise.
14253
6ce75379
UD
14254 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14255 used and couldn't be at all thread-safe.
14256
f8a3b5bf
UD
142572011-05-15 Ulrich Drepper <drepper@gmail.com>
14258
94b7cc37
UD
14259 * libio/freopen.c (freopen): Don't close old file descriptor
14260 before the new one is opened. Instead dup the new file descriptor
14261 to the old one after the new stream is created.
14262 * libio/freopen64.c (freopen64): Likewise.
14263 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14264 * libio/fileops.c (_IO_new_file_close_it): Handle new
14265 _IO_FLAGS2_NOCLOSE flag.
14266 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14267 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14268 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14269 _IO_FLAGS2_NOCLOSE flag.
14270 * include/unistd.h: Add hidden_proto for dup3.
14271 Define __have_dup3.
14272 * io/dup3.c: Define hidden symbol.
14273 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14274
bd25564e
UD
14275 [BZ #7101]
14276 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14277 when an incomplete long option is used.
14278 * posix/tst-getopt_long1.c: New file.
14279 * posix/Makefile (tests): Add tst-getopt_long1.
14280
c84cfef4
UD
14281 [BZ #10138]
14282 * scripts/config.guess: Update from autoconf-2.68.
14283 * scripts/config.sub: Likewise.
14284
3b85df27
UD
14285 [BZ #10157]
14286 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14287 tests into ...
14288 (has_cpuclock): ...this. New function.
14289 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14290 macro here based on has_cpuclock code.
14291
15a856b1
UD
14292 [BZ #10149]
14293 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14294 First byte (not low byte) is now always NUL.
14295 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14296
05f399e6
UD
14297 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14298 Use non-cancelable interfaces.
14299
10a52685 14300 [BZ #9809]
94ecc67d
UD
14301 * locale/iso-639.def: Add entry for Sorani.
14302
f8a3b5bf
UD
14303 [BZ #11901]
14304 * include/stdlib.h: Move include protection to the right place.
14305 Define abort_msg_s. Declare __abort_msg with it.
14306 * stdlib/abort.c (__abort_msg): Adjust type.
14307 * assert/assert.c (__assert_fail_base): New function. Majority
14308 of code from __assert_fail. Allocate memory for __abort_msg with
14309 mmap.
14310 (__assert_fail): Now call __assert_fail_base.
14311 * assert/assert-perr.c: Remove bulk of implementation. Use
14312 __assert_fail_base.
14313 * include/assert.hL Declare __assert_fail_base.
14314 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14315 mmap.
14316 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14317
1af4e298
UD
143182011-05-14 Ulrich Drepper <drepper@gmail.com>
14319
f8a3b5bf 14320 [BZ #11952]
d26dfc60
MG
14321 [BZ #12453]
14322 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14323 until all modules are registered in the DTV.
14324 * elf/Makefile: Add rules to build and run tst-tls19.
14325 * elf/tst-tls19.c: New file.
14326 * elf/tst-tls19mod1.c: New file.
14327 * elf/tst-tls19mod2.c: New file.
14328 * elf/tst-tls19mod3.c: New file.
14329 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14330
2fc54d6f
UD
14331 [BZ #12083]
14332 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14333 correctly.
14334
98d76b46
UD
14335 [BZ #12601]
14336 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14337 two-byte sequence errors.
14338 * iconvdata/Makefile (tests): Add bug-iconv8.
14339 * iconvdata/bug-iconv8.c: New file.
14340
da3c19ef
UD
14341 [BZ #12626]
14342 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14343 buf2 definition.
14344
ca408c15
UD
14345 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14346
d6f67f7d
UD
14347 [BZ #12432]
14348 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14349 (dummy_getcfa): New function.
14350 (init): Get _Unwind_GetCFA address, use dummy if not found.
14351 (backtrace_helper): In recursion check, also check whether CFA changes.
14352 (__backtrace): Completely initialize arg.
14353
1af4e298 14354 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14355 storing incomplete byte sequence in state object. Avoid testing for
14356 guaranteed too small input if we know there is enough data available.
1af4e298 14357
da62f81b
AS
143582011-05-11 Andreas Schwab <schwab@redhat.com>
14359
14360 * Makeconfig (+link-pie): Indent.
14361 * Rules (binaries-pie): Define if $(have-fpie) and
14362 $(build-shared).
14363 (binaries-shared): Also filter out $(binaries-pie).
14364 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14365 * nscd/Makefile (others-pie): Add nscd.
14366 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14367 ($(objpfx)nscd): Remove command override.
14368 * login/Makefile (others-pie): Add pt_chown.
14369 ($(objpfx)pt_chown): Remove command override.
14370 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14371 remove command overrides.
14372
fcabc0f8
UD
143732011-05-13 Ulrich Drepper <drepper@gmail.com>
14374
20030ae6
UD
14375 * libio/tst_putwc.c: Fix error messages.
14376
fcabc0f8
UD
14377 [BZ #12724]
14378 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14379 currently writing and seek to current position when not.
14380 * libio/Makefile (tests): Add bug-fclose1.
14381 * libio/bug-fclose1.c: New file.
14382
320a5dc0
PB
143832011-05-12 Ulrich Drepper <drepper@gmail.com>
14384
14385 [BZ #12511]
14386 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14387 don't set DF_1_NODELETE here.
14388 (do_lookup_x): When entering new entry test for copy relocation
14389 and if necessary set DF_1_NODELETE flag.
14390 * elf/tst-unique4.cc: New file.
14391 * elf/tst-unique4.h: New file.
14392 * elf/tst-unique4lib.cc: New file.
14393 * elf/Makefile: Add rules to build and run tst-unique4.
14394 Patch by Piotr Bury <pbury@goahead.com>.
14395
22836f52
UD
143962011-05-11 Ulrich Drepper <drepper@gmail.com>
14397
f574184a
UD
14398 [BZ #12052]
14399 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14400
e1fb097f
UD
14401 [BZ #12625]
14402 * misc/mntent_r.c (addmntent): Flush the stream after the output
14403
22836f52
UD
14404 [BZ #12393]
14405 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14406 (is_trusted_path_normalize): Skip initial colon. Append slash
14407 to empty buffer. Duplicate is_trusted_path code but allow
14408 constructed patch to be prefix.
14409 (is_dst): Allow $ORIGIN followed by /.
14410 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14411 Correct testing of result of is_trusted_path_normalize
14412 (decompose_rpath): Fix warning.
14413
7b3b0b2a
UD
144142011-05-10 Ulrich Drepper <drepper@gmail.com>
14415
14416 [BZ #11257]
14417 * grp/initgroups.c (internal_getgrouplist): When we found the service
14418 list through the initgroups entry in nsswitch.conf do not always
14419 continue on a successful lookup. Don't always use the
eac80ce2 14420 __nss_group_database value if it is set.
7b3b0b2a
UD
14421 * nss/nsswitch.conf (initgroups): Change action for successful db
14422 lookup to continue for compatibility.
14423
2a81eaa5
UD
144242011-05-09 Ulrich Drepper <drepper@gmail.com>
14425
be97a69e
UD
14426 [BZ #11532]
14427 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14428 and CP774 modules.
14429 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14430 and CP774 modules.
14431 * iconvdata/tst-tables.sh: Likewise.
14432 * iconvdata/cp770.c: New file.
14433 * iconvdata/cp771.c: New file.
14434 * iconvdata/cp772.c: New file.
14435 * iconvdata/cp773.c: New file.
14436 * iconvdata/cp774.c: New file.
14437 * iconvdata/testdata/CP770: New file.
14438 * iconvdata/testdata/CP770..UTF8: New file.
14439 * iconvdata/testdata/CP771: New file.
14440 * iconvdata/testdata/CP771..UTF8: New file.
14441 * iconvdata/testdata/CP772: New file.
14442 * iconvdata/testdata/CP772..UTF8: New file.
14443 * iconvdata/testdata/CP773: New file.
14444 * iconvdata/testdata/CP773..UTF8: New file.
14445 * iconvdata/testdata/CP774: New file.
14446 * iconvdata/testdata/CP774..UTF8: New file.
14447
14448 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14449 END CHARMAP line.
14450 * iconvdata/gen-8bit-gap.sh: Likewise.
14451 * iconvdata/gen-8bit.sh: Likewise.
14452
c1e9e399
UD
14453 * locale/iso-639.def: Add ary entry.
14454
24c55fb3 14455 [BZ #11258]
96b4b1b0
UD
14456 * locale/C-translit.h.in: Add U20A1 transliteration.
14457
bdc2f971
KB
14458 [BZ #12178]
14459 * locale/iso-639.def: Add wae entry.
14460 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14461
2952b117
UD
14462 [BZ #12545]
14463 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14464 for n.
14465
2a81eaa5
UD
14466 [BZ #12711]
14467 * locale/C-translit.h.in: Add entry for U20B9.
14468 Patch by pravin.d.s@gmail.com.
14469
28377d1b
UD
144702011-05-08 Ulrich Drepper <drepper@gmail.com>
14471
7fb90fb8
UD
14472 [BZ #12713]
14473 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14474 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14475 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14476 in rtld. Use *stat64.
7fb90fb8 14477 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14478 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14479 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14480 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14481 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14482 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14483 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14484 __fstatat64 macros.
7fb90fb8
UD
14485 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14486 * dirent/rewinddir.c: Add libc_hidden_def.
14487 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14488 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14489
28377d1b
UD
14490 * include/dirent.h (__alloc_dir): Add flags parameter.
14491 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14492 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14493 __alloc_dir.
14494 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14495 from fdopendir if O_CLOEXEC is already set.
14496
66bdbaa4
AM
144972011-03-15 Alan Modra <amodra@gmail.com>
14498
14499 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14500 l_tls_firstbyte_offset non-zero. Save padding offset in
14501 l_tls_firstbyte_offset for later use.
14502 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14503 freeing static tls block.
14504
95721191
JN
145052011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14506
14507 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14508 where #ifdef was intended. The intent is to prevent ARG_MAX from
14509 being defined by the kernel headers.
14510
f87dfb1f
UD
145112011-05-07 Ulrich Drepper <drepper@gmail.com>
14512
14513 [BZ #12734]
14514 * resolv/resolv.h: Define RES_NOTLDQUERY.
14515 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14516 no-tld-query and set RES_NOTLDQUERY.
14517 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14518 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14519 modern BIND to search name as TLD unless forbidden.
14520
47c3cd7a
UD
145212011-05-07 Petr Baudis <pasky@suse.cz>
14522 Ulrich Drepper <drepper@gmail.com>
14523
14524 [BZ #12393]
14525 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14526 (is_trusted_path): ...to here.
c1e9ea35 14527 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14528 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14529 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14530
8a35c912
PP
145312011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14532
14533 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14534 __BEGIN/__END_DECLS.
14535
acd41f47
UD
145362011-05-06 Ulrich Drepper <drepper@gmail.com>
14537
14538 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14539 NSS_STATUS_NOTFOUND if no record was found.
14540
597df647
AS
145412011-05-05 Andreas Schwab <schwab@redhat.com>
14542
14543 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14544 (headers-not-in-tirpc): Remove rpc/netdb.h
14545 * resolv/netdb.h: Revert last change.
14546
b9af1301
PP
145472011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14548
14549 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14550 circular dependency between libgcc.a and libc.a.
14551
4e34d5f5
AS
145522011-05-05 Andreas Schwab <schwab@redhat.com>
14553
14554 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14555 * nis/Makefile: Don't install rpcsvc/*.
14556 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14557 instead of <rpc/types.h>.
14558 (MAXHOSTNAMELEN): Define.
14559
00ee369c
AS
145602011-05-03 Andreas Schwab <schwab@redhat.com>
14561
14562 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14563
0b592a30
MB
145642011-04-28 Maciej Babinski <mbabinski@google.com>
14565
14566 [BZ #12714]
14567 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14568 gethostbyname4_r when IPv6 results are possible.
14569
6e04cbbe
UD
145702011-05-02 Ulrich Drepper <drepper@gmail.com>
14571
14572 [BZ #12723]
14573 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14574 _PC_PIPE_BUF handling.
14575
e4ecafe0
BH
145762011-04-30 Bruno Haible <bruno@clisp.org>
14577
14578 [BZ #12717]
14579 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14580 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14581 to 'int'.
14582 * inet/getnameinfo.c (getnameinfo): Likewise.
14583
125ee683
UD
145842011-04-29 Ulrich Drepper <drepper@gmail.com>
14585
14586 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14587 to groups setting in database lookup.
14588 * nss/nsswitch.conf: Add initgroups entry.
14589
b722481a
EB
145902011-04-22 Ulrich Drepper <drepper@gmail.com>
14591
14592 [BZ #12685]
14593 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14594 mode string.
14595 Patch by Eric Blake <eblake@redhat.com>.
14596
4df46dbd
L
145972011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14598
14599 * sunrpc/Makefile (need-export-routines): Add svc_run.
14600 (routines): Remove svc_run.
14601 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14602 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14603 * sunrpc/svc_run.c (svc_run): Likewise.
14604 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14605
e84142d2
UD
146062011-04-21 Ulrich Drepper <drepper@gmail.com>
14607
14608 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14609 problem in reallocation in last patch.
14610
877175d8
UD
146112011-04-20 Ulrich Drepper <drepper@gmail.com>
14612
14613 * sunrpc/Makefile: Move inclusion of Rules.
14614
ab8eed78
UD
146152011-04-19 Ulrich Drepper <drepper@gmail.com>
14616
14617 * nss/nss_files/files-initgroups.c: New file.
14618 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14619 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14620 _nss_files_initgroups_dyn.
14621
e3d8f584
RS
146222011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14623
14624 * elf/elf.h (R_ARM_IRELATIVE): Define.
14625
af190f45
UD
146262011-04-19 Ulrich Drepper <drepper@gmail.com>
14627
14628 * po/ru.po: Update from translation team.
14629
53cf59ef
UD
146302011-04-17 Ulrich Drepper <drepper@gmail.com>
14631
14632 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14633 dependencies.
14634
4c559bcd
MF
146352011-02-06 Mike Frysinger <vapier@gentoo.org>
14636
14637 [BZ #12653]
14638 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14639 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14640 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14641 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14642 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14643
4420675c
AS
146442011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14645
14646 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14647 differing bytes.
14648 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14649 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14650 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14651
75ea32ab
UD
146522011-04-17 Ulrich Drepper <drepper@gmail.com>
14653
14654 [BZ #12420]
14655 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14656 storing it.
14657 * stdlib/bug-getcontext.c: New file.
14658 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14659
27390476
AK
146602011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14661
14662 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14663 instructions into .machine "z9-109".
14664 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14665 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14666
10442705
AK
146672011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14668
14669 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14670 between environment variables and auxiliary vector.
14671
7b57bfe5
UD
146722011-04-16 Ulrich Drepper <drepper@gmail.com>
14673
14674 * Makefile: Add rules to build linkobj/libc.so.
14675 * include/libc-symbols.h: Define libc_hidden_nolink.
14676 * include/rpc/auth.h: Mark functions which are to be hidden.
14677 * include/rpc/auth_des.h: Likewise.
14678 * include/rpc/auth_unix.h: Likewise.
14679 * include/rpc/clnt.h: Likewise.
14680 * include/rpc/des_crypt.h: Likewise.
14681 * include/rpc/key_prot.h: Likewise.
14682 * include/rpc/pmap_clnt.h: Likewise.
14683 * include/rpc/pmap_prot.h: Likewise.
14684 * include/rpc/pmap_rmt.h: Likewise.
14685 * include/rpc/rpc_msg.h: Likewise.
14686 * include/rpc/svc.h: Likewise.
14687 * include/rpc/svc_auth.h: Likewise.
14688 * include/rpc/xdr.h: Likewise.
14689 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14690 * nss/Makefile: Likewise.
14691 * sunrpc/Makefile: Don't install headers. Build library with normal
14692 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14693 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14694 for the compat linking library. Remove use of INTDEF/INTUSE.
14695 * sunrpc/auth_none.c: Likewise.
14696 * sunrpc/auth_unix.c: Likewise.
14697 * sunrpc/authdes_prot.c: Likewise.
14698 * sunrpc/authuxprot.c: Likewise.
14699 * sunrpc/clnt_gen.c: Likewise.
14700 * sunrpc/clnt_perr.c: Likewise.
14701 * sunrpc/clnt_raw.c: Likewise.
14702 * sunrpc/clnt_simp.c: Likewise.
14703 * sunrpc/clnt_tcp.c: Likewise.
14704 * sunrpc/clnt_udp.c: Likewise.
14705 * sunrpc/clnt_unix.c: Likewise.
14706 * sunrpc/des_crypt.c: Likewise.
14707 * sunrpc/des_soft.c: Likewise.
14708 * sunrpc/get_myaddr.c: Likewise.
14709 * sunrpc/key_call.c: Likewise.
14710 * sunrpc/key_prot.c: Likewise.
14711 * sunrpc/netname.c: Likewise.
14712 * sunrpc/pm_getmaps.c: Likewise.
14713 * sunrpc/pm_getport.c: Likewise.
14714 * sunrpc/pmap_clnt.c: Likewise.
14715 * sunrpc/pmap_prot.c: Likewise.
14716 * sunrpc/pmap_prot2.c: Likewise.
14717 * sunrpc/pmap_rmt.c: Likewise.
14718 * sunrpc/publickey.c: Likewise.
14719 * sunrpc/rpc_cmsg.c: Likewise.
14720 * sunrpc/rpc_common.c: Likewise.
14721 * sunrpc/rpc_dtable.c: Likewise.
14722 * sunrpc/rpc_prot.c: Likewise.
14723 * sunrpc/rpc_thread.c: Likewise.
14724 * sunrpc/rtime.c: Likewise.
14725 * sunrpc/svc.c: Likewise.
14726 * sunrpc/svc_auth.c: Likewise.
14727 * sunrpc/svc_authux.c: Likewise.
14728 * sunrpc/svc_raw.c: Likewise.
14729 * sunrpc/svc_run.c: Likewise.
14730 * sunrpc/svc_simple.c: Likewise.
14731 * sunrpc/svc_tcp.c: Likewise.
14732 * sunrpc/svc_udp.c: Likewise.
14733 * sunrpc/svc_unix.c: Likewise.
14734 * sunrpc/svcauth_des.c: Likewise.
14735 * sunrpc/xcrypt.c: Likewise.
14736 * sunrpc/xdr.c: Likewise.
14737 * sunrpc/xdr_array.c: Likewise.
14738 * sunrpc/xdr_float.c: Likewise.
14739 * sunrpc/xdr_intXX_t.c: Likewise.
14740 * sunrpc/xdr_mem.c: Likewise.
14741 * sunrpc/xdr_rec.c: Likewise.
14742 * sunrpc/xdr_ref.c: Likewise.
14743 * sunrpc/xdr_sizeof.c: Likewise.
14744 * sunrpc/xdr_stdio.c: Likewise.
14745
e6c61494
UD
147462011-04-10 Ulrich Drepper <drepper@gmail.com>
14747
14748 [BZ #12650]
14749 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14750 * sysdeps/ia64/dl-tls.h: Likewise.
14751 * sysdeps/powerpc/dl-tls.h: Likewise.
14752 * sysdeps/s390/dl-tls.h: Likewise.
14753 * sysdeps/sh/dl-tls.h: Likewise.
14754 * sysdeps/sparc/dl-tls.h: Likewise.
14755 * sysdeps/x86_64/dl-tls.h: Likewise.
14756 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14757
34fe483e
AS
147582011-03-14 Andreas Schwab <schwab@redhat.com>
14759
14760 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14761 rpath element also skip the following colon.
14762 (expand_dynamic_string_token): Add is_path parameter and pass
14763 down to DL_DST_REQUIRED and _dl_dst_substitute.
14764 (decompose_rpath): Call expand_dynamic_string_token with
14765 non-zero is_path. Ignore empty rpaths.
14766 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14767 with zero is_path.
14768
f12a32e6
AS
147692011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14770
14771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14772 Make cancelable.
14773
38a7d692
UD
147742011-04-09 Ulrich Drepper <drepper@gmail.com>
14775
14776 [BZ #12655]
14777 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14778 Patch by Filipe David Manana <fdmanana@apache.org>.
14779
e451d22b
AS
147802011-04-07 Andreas Schwab <schwab@redhat.com>
14781
14782 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14783 Maintain aligned stack.
14784 (CHECK_RSP): Remove unused macro.
14785
dedc7c7b
UD
147862011-04-03 Ulrich Drepper <drepper@gmail.com>
14787
14788 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14789 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14790
94521213
UD
147912011-04-02 Ulrich Drepper <drepper@gmail.com>
14792
14793 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14794
8cb700c0 14795 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14796
0354e355
L
147972011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14798
14799 [BZ #12518]
14800 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14801 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14802 * sysdeps/x86_64/memmove.c: New file.
14803 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14804 (memcpy): Renamed to ...
14805 (__new_memcpy): This.
14806 (memcpy): Provide GLIBC_2_14 memcpy.
14807 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14808 (memcpy): Provide GLIBC_2_2_5 memcpy.
14809
8593482f
UD
148102011-04-01 Ulrich Drepper <drepper@gmail.com>
14811
14812 [BZ #12631]
14813 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14814
81a5726b
AS
148152011-03-30 Andreas Schwab <schwab@redhat.com>
14816
14817 * misc/syncfs.c: New file.
14818 * misc/Makefile (routines): Add syncfs.
14819 * posix/unistd.h: Declare syncfs.
14820 * sysdeps/unix/syscalls.list: Add syncfs.
14821
00e5419f
AS
148222011-04-01 Andreas Schwab <schwab@redhat.com>
14823
14824 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14825 open_by_handle_at.
14826 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14827 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14828 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14829 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14830 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14831 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14832 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14833
748876bf
UD
148342011-04-01 Ulrich Drepper <drepper@gmail.com>
14835
658e451d
UD
14836 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14837 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14838 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14839 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14840 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14841 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14842 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14843
748876bf
UD
14844 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14845 sync_file_range.c with -fexceptions.
14846 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14847 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14848 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14849 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14850 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14851 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14852 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14853 sync_file_range as cancellation point
14854 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14855 now a wrapper around __call_sync_file_range with cancellation handling.
14856 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14857 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14858 function name to __call_sync_file_range.
14859 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14860 Add call_sync_file_range.
748876bf 14861
6e63d5e1
AS
148622011-04-01 Andreas Schwab <schwab@redhat.com>
14863
14864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14865 bits/timex.h.
6e63d5e1 14866
46998f74
UD
148672011-04-01 Ulrich Drepper <drepper@gmail.com>
14868
4c1423ed
UD
14869 * iconv/iconv.h: Fix typo in comment.
14870 * io/fcntl.h: Likewise.
14871 * libio/stdio.h: Likewise.
14872 * posix/spawn.h: Likewise.
14873 * posix/unistd.h: Likewise.
14874 * stdlib/stdlib.h: Likewise.
14875 * time/time.h: Likewise.
14876 * wcsmbs/wchar.h: Likewise.
14877
158648c0
UD
14878 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14879 open_by_handle): Add.
14880 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14881 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14882 Augment a few comments.
14883 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14884 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14885 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14887 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14888 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14889 open_by_handle.
14890
46998f74
UD
14891 * io/fcntl.h (AT_EMPTY_PATH): Define.
14892
83fe108b
UD
148932011-03-30 Ulrich Drepper <drepper@gmail.com>
14894
14895 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14896 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14897 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14898 to...
14899 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14900 * Versions.def: Add GLIBC_2.14.
14901 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14902 Export.
83fe108b 14903
bb242059
UD
149042011-03-22 Ulrich Drepper <drepper@gmail.com>
14905
14906 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14907 round counter.
14908 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14909
c97a1282
L
149102011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14911
14912 [BZ #12597]
14913 * string/test-strncmp.c (do_page_test): New function.
14914 (check2): Likewise.
14915 (test_main): Call check2.
14916 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14917
2a115601
UD
149182011-03-20 Ulrich Drepper <drepper@gmail.com>
14919
14920 [BZ #12587]
14921 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14922 Handle cache information in CPU leaf 4.
14923 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14924
8126d904
UD
149252011-03-18 Ulrich Drepper <drepper@gmail.com>
14926
042c49c6 14927 [BZ #12583]
8126d904
UD
14928 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14929 character representation.
14930 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14931
ccfe366e
RA
149322011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14933
14934 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14935 END(__isnan) to END(__isnanf) to match function entry point/label
14936 EALIGN(__isnanf,...).
14937
c6e13027
JJ
149382011-03-10 Jakub Jelinek <jakub@redhat.com>
14939
14940 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14941
33f85a3f
UD
149422011-03-10 Ulrich Drepper <drepper@gmail.com>
14943
028478fa
UD
14944 [BZ #12510]
14945 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14946 copy from the symbol referenced in the relocation to initialize the
14947 used variable.
14948 Patch by Piotr Bury <pbury@goahead.com>.
14949 * elf/Makefile: Add rules to build and tst-unique3.
14950 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14951 * elf/tst-unique3.cc: New file.
14952 * elf/tst-unique3.h: New file.
14953 * elf/tst-unique3lib.cc: New file.
14954 * elf/tst-unique3lib2.cc: New file.
14955
33f85a3f
UD
14956 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14957
03592fc7
MF
149582011-03-10 Mike Frysinger <vapier@gentoo.org>
14959
14960 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14961 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14962 to _start.
03592fc7 14963
6a5ee102
UD
149642011-03-06 Ulrich Drepper <drepper@gmail.com>
14965
14966 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14967 to-be-loaded object along a path to loader is ld.so.
14968
7e4ba49c
HJ
149692011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14970 Ulrich Drepper <drepper@gmail.com>
14971
14972 * sysdeps/x86_64/memset.S: After aligning destination, code
14973 branches to different locations depending on the value of
14974 misalignment, when multiarch is enabled. Fix this.
14975
149762011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14977
14978 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14979 Set _x86_64_preferred_memory_instruction for AMD processsors.
14980 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14981 Set bit_Prefer_SSE_for_memop for AMD processors.
14982
13a804de
UD
149832011-03-04 Ulrich Drepper <drepper@gmail.com>
14984
14985 * libio/fmemopen.c (fmemopen): Optimize a bit.
14986
9d25c392
AS
149872011-03-03 Andreas Schwab <schwab@redhat.com>
14988
14989 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14990
a5543c6a
RM
149912011-03-03 Roland McGrath <roland@redhat.com>
14992
14993 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14994
012d35f7
DM
149952011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14996
7e4ba49c 14997 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14998 __bzero_ultra1 instead of __memset_ultra1.
14999
4bff6e01
AS
150002011-02-23 Andreas Schwab <schwab@redhat.com>
15001 Ulrich Drepper <drepper@gmail.com>
15002
15003 [BZ #12509]
15004 * include/link.h (struct link_map): Add l_orig_initfini.
15005 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15006 returning unsuccessfully.
15007 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15008 close of a file loaded at startup, restore the original l_initfini
15009 list.
15010 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15011 list, store the pointer.
15012 * elf/Makefile ($(objpfx)noload-mem): New rule.
15013 (noload-ENV): Define.
15014 (tests): Add $(objpfx)noload-mem.
15015 * elf/noload.c: Include <memcheck.h>.
15016 (main): Call mtrace. Close all opened handles.
15017
f2092faf
AS
150182011-02-17 Andreas Schwab <schwab@redhat.com>
15019
15020 [BZ #12454]
15021 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15022 dependencies are missing.
15023
6c8a2e88
ST
150242011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15025
f2092faf 15026 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
15027 Hurd needs munmap.
15028 * sysdeps/mach/hurd/ifreq.h: New file.
15029
84a42118
PB
150302011-01-27 Petr Baudis <pasky@suse.cz>
15031 Ulrich Drepper <drepper@gmail.com>
15032
071f805e 15033 [BZ 12445]#
84a42118
PB
15034 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15035 to extend_alloca().
15036 * stdio-common/bug23.c: New file.
15037 * stdio-common/Makefile (tests): Add bug23.
15038
e23fe25b
AS
150392010-09-28 Andreas Schwab <schwab@redhat.com>
15040 Ulrich Drepper <drepper@gmail.com>
15041
15042 [BZ #12489]
15043 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15044 before performing relro protection. At old place add assertion
15045 to make sure nothing changed.
15046
d3f02e10
NS
150472011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15048 Glauber de Oliveira Costa <glommer@gmail.com>
15049
15050 * elf/elf.h: Add new ARM TLS relocs.
15051
d55fd7a5
RA
150522011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15053
15054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15055 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15056 cast from r3.
15057 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15058 'tests' variable.
15059 * sysdeps/wordsize-64/tst-writev.c: New file.
15060
2206397e
RA
150612011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15062
15063 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15064 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15065 insns in _dl_start to prevent a TOC reference before relocs are
15066 resolved.
15067
e9433893
UD
150682011-02-15 Ulrich Drepper <drepper@gmail.com>
15069
15070 [BZ #12469]
15071 * Makeconfig: Remove RANLIB definition.
15072 * Makerules: Don't use RANLIB.
15073 * aclocal.m4: Remove ranlib test.
15074 * configure.in: No need to check for ranlib.
15075 * elf/rtld-Rules: Don't use RANLIB.
15076
f75286c6
ST
150772011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15078
8e31c82d
ST
15079 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15080 protection macro.
15081 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15082 inclusion protection macro.
15083
f75286c6
ST
15084 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15085 SIGRTMIN and SIGRTMAX and print information in that case only when
15086 SIGRTMIN is defined.
15087
c1d0e639
JJ
150882011-02-11 Jakub Jelinek <jakub@redhat.com>
15089
15090 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15091 arginfo fn returning -1.
15092
15093 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15094 and thousands string is zero terminated.
15095
edf9294e
AS
150962011-02-03 Andreas Schwab <schwab@redhat.com>
15097
15098 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15099 sysdeps/unix/sysv/linux/bits/socket.h.
15100
2b7e92df
ST
151012011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15102
edf9294e
AS
15103 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15104 (__CPU_COUNT): Remove old macros.
15105 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15106 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15107 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
15108 (__sched_cpualloc, __sched_cpufree): Add declarations.
15109
a4c7ea7b
UD
151102011-02-05 Ulrich Drepper <drepper@gmail.com>
15111
15112 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15113 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15114 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15115 (readdhstai): Return value of addhstaiX call.
15116 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15117 (addgrbyX): Return value returned by cache_addgr.
15118 (readdgrbyname): Return value returned by addgrbyX.
15119 (readdgrbygid): Likewise.
15120 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15121 (addpwbyX): Return value returned by cache_addpw.
15122 (readdpwbyname): Return value returned by addhstbyX.
15123 (readdpwbyuid): Likewise.
15124 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15125 (addservbyX): Return value returned by cache_addserv.
15126 (readdservbyname): Return value returned by addservbyX:
15127 (readdservbyport): Likewise.
15128 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15129 (addhstbyX): Return value returned by cache_addhst.
15130 (readdhstbyname): Return value returned by addhstbyX.
15131 (readdhstbyaddr): Likewise.
15132 (readdhstbynamev6): Likewise.
15133 (readdhstbyaddrv6): Likewise.
15134 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15135 (readdinitgroups): Return value returned by addinitgroupsX.
15136 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15137 (prune_cache): Keep track of timeout value of re-added entries.
15138 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15139 * nscd/nscd.h: Adjust prototypes of readd* functions.
15140
a0bf67cc
RM
151412011-02-04 Roland McGrath <roland@redhat.com>
15142
15143 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15144 (nis_stats): Likewise.
15145 * nis/nis_modify.c (nis_modify): Likewise.
15146 * nis/nis_remove.c (nis_remove): Likewise.
15147 * nis/nis_add.c (nis_add): Likewise.
15148
15149 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15150
15151 * posix/fnmatch_loop.c: Add some consts.
15152
15153 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15154
435b95eb
L
151552011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15156
15157 [BZ #12460]
15158 * config.make.in (config-cflags-novzeroupper): Define.
15159 * configure.in: Substitute libc_cv_cc_novzeroupper.
15160 * elf/Makefile (AVX-CFLAGS): Define.
15161 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15162 (CFLAGS-tst-auditmod4a.c): Likewise.
15163 (CFLAGS-tst-auditmod4b.c): Likewise.
15164 (CFLAGS-tst-auditmod6b.c): Likewise.
15165 (CFLAGS-tst-auditmod6c.c): Likewise.
15166 (CFLAGS-tst-auditmod7b.c): Likewise.
15167 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15168
8517b15e
UD
151692011-02-02 Ulrich Drepper <drepper@gmail.com>
15170
15171 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15172 function to the callback.
15173 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15174
10a656fe
AS
151752011-02-02 Andreas Schwab <schwab@redhat.com>
15176
15177 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15178 of errno.
15179
968dad0a
UD
151802011-01-19 Ulrich Drepper <drepper@gmail.com>
15181
9f94d2ea 15182 [BZ #11724]
968dad0a
UD
15183 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15184 of constructors.
15185 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15186 of destructors.
15187 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15188
15189 [BZ #11724]
15190 * elf/Makefile: Add rules to build and run new test.
15191 * elf/tst-initorder.c: New file.
15192 * elf/tst-initorder.exp: New file.
15193 * elf/tst-initordera1.c: New file.
15194 * elf/tst-initordera2.c: New file.
15195 * elf/tst-initordera3.c: New file.
15196 * elf/tst-initordera4.c: New file.
15197 * elf/tst-initorderb1.c: New file.
15198 * elf/tst-initorderb2.c: New file.
15199 * elf/tst-order-a1.c: New file.
15200 * elf/tst-order-a2.c: New file.
15201 * elf/tst-order-a3.c: New file.
15202 * elf/tst-order-a4.c: New file.
15203 * elf/tst-order-b1.c: New file.
15204 * elf/tst-order-b2.c: New file.
15205 * elf/tst-order-main.c: New file.
15206 New test case by George Gensure <werkt0@gmail.com>.
15207
86e92359
UD
152082010-10-01 Andreas Schwab <schwab@redhat.com>
15209
15210 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15211 decoding ACE if AI_CANONIDN.
15212
5d5732b0
UD
152132011-01-18 Ulrich Drepper <drepper@gmail.com>
15214
15215 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15216
a77e8cbc
UD
152172011-01-17 Ulrich Drepper <drepper@gmail.com>
15218
6392473f
UD
15219 * version.h (RELEASE): Bump for 2.13 release.
15220 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15221
620a0529
UD
15222 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15223
18ba70a5
UD
15224 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15225 MADV_NOHUGEPAGE.
32465c3e
UD
15226 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15227 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15228 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15229 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15230 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15231 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15232
c0dafcf1
UD
15233 * posix/getconf.c: Update copyright year.
15234 * catgets/gencat.c: Likewise.
15235 * csu/version.c: Likewise.
15236 * debug/catchsegv.sh: Likewise.
15237 * debug/xtrace.sh: Likewise.
15238 * elf/ldconfig.c: Likewise.
15239 * elf/ldd.bash.in: Likewise.
15240 * elf/sprof.c (print_version): Likewise.
15241 * iconv/iconv_prog.c: Likewise.
15242 * iconv/iconvconfig.c: Likewise.
15243 * locale/programs/locale.c: Likewise.
15244 * locale/programs/localedef.c: Likewise.
15245 * malloc/memusage.sh: Likewise.
15246 * malloc/mtrace.pl: Likewise.
15247 * nscd/nscd.c (print_version): Likewise.
15248 * nss/getent.c: Likewise.
15249
a77e8cbc
UD
15250 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15251 PF_CAIF, and PF_ALG.
15252 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15253
77e8bddf
AS
152542011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15255
1f20b93a
AS
15256 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15257 (modules-names): Use them.
15258 (ifunc-test-modules, ifunc-pie-tests): Define.
15259 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15260 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15261 (test-extras): Likewise.
15262 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15263 $(compile-command.c).
15264 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15265 (all-built-dso): Define.
15266 (check-textrel.out, check-execstack.out): Depend on it.
15267
77e8bddf
AS
15268 * configure.in: Don't override --enable-multi-arch.
15269
bc425b33
UD
152702011-01-15 Ulrich Drepper <drepper@gmail.com>
15271
15272 [BZ #6812]
15273 * nscd/hstcache.c (tryagain): Define.
15274 (cache_addhst): Return tryagain not notfound for temporary errors.
15275 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15276 failed.
15277
794c3ad3
UD
152782011-01-14 Ulrich Drepper <drepper@gmail.com>
15279
70181fdd
UD
15280 [BZ #10563]
15281 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15282 to make the syscall.
15283 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15284
794c3ad3
UD
15285 [BZ #12378]
15286 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15287 and fall back to matching as normal character if the string ends before
15288 the matching ']' is found. This is what POSIX requires.
15289 * posix/testfnm.c: Adjust test result.
15290 * posix/globtest.sh: Adjust test result. Add new test.
15291 * posix/tst-fnmatch.input: Likewise.
15292 * posix/tst-fnmatch2.c: Add new test.
15293
68dc9497
AS
152942010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15295
15296 * elf/Makefile (check-execstack): Revert last change. Depend on
15297 check-execstack.h.
15298 (check-execstack.h): New target.
15299 (generated): Add check-execstack.h.
15300 * elf/check-execstack.c: Include "check-execstack.h".
15301 (main): Revert last change.
15302 (handle_file): Return zero if GNU_STACK is absent and
15303 DEFAULT_STACK_PERMS doesn't include PF_X.
15304
451f001b
UD
153052011-01-13 Ulrich Drepper <drepper@gmail.com>
15306
cfa28e56
UD
15307 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15308 in child fails because the descriptor is already closed.
8cf8ce17
UD
15309 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15310 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15311 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15312
1086d70d
UD
15313 [BZ #12397]
15314 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15315 syscall.
15316
451f001b
UD
15317 [BZ #10484]
15318 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15319 temporary buffer used to handle multi lookups locally.
a85b5cb4 15320 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15321
08769175
UD
153222011-01-12 Ulrich Drepper <drepper@gmail.com>
15323
15324 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15325 loader is ld.so.
15326
5e49c52e
UD
153272011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15328
15329 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15330 alignment for SSE2.
15331
60522a5f
UD
153322011-01-12 Ulrich Drepper <drepper@gmail.com>
15333
15334 [BZ #12394]
15335 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15336 characters. When rounding increased number of integer digits recompute
15337 number of groups.
15338 * stdio-common/tst-grouping.c: New file.
15339 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15340
f257bbd7
UD
153412011-01-09 Ulrich Drepper <drepper@gmail.com>
15342
15343 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15344 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15345
15346 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15347 void.
15348 * bits/select.h: Likewise.
15349
fa9c15cb
UD
153502011-01-08 Ulrich Drepper <drepper@gmail.com>
15351
15352 * po/ja.po: Update from translation team.
15353
16c2895f
DM
153542011-01-04 David S. Miller <davem@sunset.davemloft.net>
15355
15356 [BZ #11155]
15357 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15358 implementation just like for lxstat, fxstatat, et al.
15359
2543fef2
JM
153602010-12-27 Jim Meyering <meyering@redhat.com>
15361
15362 [BZ #12348]
15363 * posix/regexec.c (build_trtable): Return failure indication upon
15364 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15365
98727dbe
UD
153662010-12-25 Ulrich Drepper <drepper@gmail.com>
15367
5bd6dc5c
UD
15368 [BZ #12201]
15369 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15370 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15371 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15372 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15373
97983464
UD
15374 [BZ #12207]
15375 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15376
98727dbe
UD
15377 [BZ #12204]
15378 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15379 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15380
4a531bb0
L
153812010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15382
15383 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15384 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15385 script has SORT_BY_INIT_PRIORITY.
15386 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15387 NO_CTORS_DTORS_SECTIONS is defined.
15388 * elf/soinit.c: Likewise.
15389 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15390 NO_CTORS_DTORS_SECTIONS is defined.
15391 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15392 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15393 * sysdeps/sh/init-first.c: Likewise.
15394 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15395
07eb4b71
UD
153962010-12-24 Ulrich Drepper <drepper@gmail.com>
15397
15398 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15399 always use the slow path.
15400
30950a5f
RA
154012010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15402
15403 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15404 similar rule which adds the sysdep directories to the header search in
15405 order to pick up the correct platform stackinfo.h.
15406 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15407 perform test if it is, otherwise return successfully without testing.
15408 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15409 DEFAULT_STACK_PERMS define in stackinfo.h.
15410 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15411 defined in stackinfo.h.
15412 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15413 DEFAULT_STACK_PERMS defined in stackinfo.h.
15414 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15415 * sysdeps/ia64/stackinfo.h: Likewise.
15416 * sysdeps/s390/stackinfo.h: Likewise.
15417 * sysdeps/sh/stackinfo.h: Likewise.
15418 * sysdeps/sparc/stackinfo.h: Likewise.
15419 * sysdeps/x86_64/stackinfo.h: Likewise.
15420 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15421 PF_X for powerpc64. Retain PF_X for powerpc32.
15422
db753e2c
UD
154232010-12-19 Ulrich Drepper <drepper@gmail.com>
15424
14b697f7
UD
15425 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15426 accurately.
db753e2c
UD
15427 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15428 GETDENTS_64BIT_ALIGNED.
15429
28300719
UD
154302010-12-14 Ulrich Drepper <dreper@gmail.com>
15431
14b697f7 15432 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15433
4f197237
AS
154342010-12-10 Andreas Schwab <schwab@redhat.com>
15435
dbb0472f
AS
15436 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15437 _GNU_SOURCE.
15438
4f197237
AS
15439 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15440 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15441 Remove __restrict.
15442 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15443 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15444
fb88ac72
UD
154452010-12-09 Ulrich Drepper <drepper@gmail.com>
15446
15447 [BZ #11655]
15448 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15449 are initialized.
15450
42acbb92
JJ
154512010-12-09 Jakub Jelinek <jakub@redhat.com>
15452
15453 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15454
c038d98d
UD
154552010-12-03 Ulrich Drepper <drepper@gmail.com>
15456
15457 * po/it.po: Update from translation team.
15458
3a4a2499
L
154592010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15460
15461 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15462 unused codes.
15463
1e24cf6e
UD
154642010-11-30 Ulrich Drepper <drepper@gmail.com>
15465
15466 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15467
a7690819
AS
154682010-11-24 Andreas Schwab <schwab@redhat.com>
15469
15470 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15471 specially.
15472 (gaih_getanswer_slice): Likewise.
15473
3bf8d1b1
JJ
154742010-10-20 Jakub Jelinek <jakub@redhat.com>
15475
15476 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15477
6db52fbb
PB
154782010-05-31 Petr Baudis <pasky@suse.cz>
15479
15480 [BZ #11149]
15481 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15482 silently even in the chroot mode.
15483
eaca7569
UD
154842010-11-22 Ulrich Drepper <drepper@gmail.com>
15485
15486 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15487 last patch a bit. Pretty printing
15488
3056dcdb
UD
154892010-05-31 Petr Baudis <pasky@suse.cz>
15490
15491 [BZ #10085]
15492 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15493 initialization of skip_initgroups_dyn.
15494
cf7c9078
UD
154952010-11-19 Ulrich Drepper <drepper@gmail.com>
15496
15497 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15498 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15499
a1fb5e3e
UD
155002010-11-16 Ulrich Drepper <drepper@gmail.com>
15501
15502 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15503
3540d66b
AS
155042010-11-11 Andreas Schwab <schwab@redhat.com>
15505
15506 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15507 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15508 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15509 ($(objpfx)tst-fnmatch-mem): New rule.
15510 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15511 * posix/tst-fnmatch.c (main): Call mtrace.
15512
13b69574
L
155132010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15514
15515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15516 Support Intel processor model 6 and model 0x2c.
15517
da93d214
LM
155182010-11-10 Luis Machado <luisgpm@br.ibm.com>
15519
15520 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15521 signed comparison.
15522
8ca52c6e
L
155232010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15524
15525 [BZ #12205]
15526 * string/test-strncasecmp.c (check_result): New function.
15527 (do_one_test): Use it.
15528 (check1): New function.
15529 (test_main): Use it.
15530 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15531 Support strcasecmp and strncasecmp.
15532
69da074d
UD
155332010-11-08 Ulrich Drepper <drepper@gmail.com>
15534
15535 [BZ #12194]
15536 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15537 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15538
ff02d528
L
155392010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15540
15541 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15542 IFUNC support.
15543 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15544 memset-x86-64.
15545 * sysdeps/x86_64/multiarch/bzero.S: New file.
15546 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15547 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15548 * sysdeps/x86_64/multiarch/memset.S: New file.
15549 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15550 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15551 Set bit_Prefer_SSE_for_memop for Intel processors.
15552 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15553 Define.
15554 (index_Prefer_SSE_for_memop): Define.
15555 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15556
344d0b54
LM
155572010-11-04 Luis Machado <luisgpm@br.ibm.com>
15558
15559 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15560 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15561
c0dde15b
UD
155622010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15563
15564 [BZ #12191]
15565 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15566 (__x86_64_raw_data_cache_size_half): Likewise.
15567 (__x86_64_raw_shared_cache_size): Likewise.
15568 (__x86_64_raw_shared_cache_size_half): Likewise.
15569
15570 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15571 (__x86_64_raw_data_cache_size_half): Likewise.
15572 (__x86_64_raw_shared_cache_size): Likewise.
15573 (__x86_64_raw_shared_cache_size_half): Likewise.
15574 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15575 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15576 and __x86_64_raw_shared_cache_size_half. Round
15577 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15578 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15579 to multiple of 256 bytes.
15580
0e516e0e
MS
155812010-11-03 Ulrich Drepper <drepper@gmail.com>
15582
15583 [BZ #12167]
15584 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15585 of inacessible symlinks. Verify result of symlink before returning it.
15586 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15587 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15588
0e012e87
ER
155892010-10-28 Erich Ritz <erichritz@gmail.com>
15590
15591 * math/math.h (isinf): Fix typo in comment.
15592
de0ff7bc
UD
155932010-11-01 Ulrich Drepper <drepper@gmail.com>
15594
15595 * po/da.po: Update from translation team.
15596
fa41c84d
UD
155972010-10-26 Ulrich Drepper <drepper@gmail.com>
15598
15599 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15600 is added to the list.
15601
f0967738
AK
156022010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15603 Ulrich Drepper <drepper@gmail.com>
15604
15605 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15606 the global list here. Move code to...
15607 (_dl_add_to_namespace_list): ...here. New function.
15608 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15609 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15610 * elf/dl-load.c (lose): Don't remove the element from the list.
15611 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15612 (_dl_map_object): Likewise.
15613
156142010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15615
15616 [BZ #12159]
15617 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15618 into all bytes of SSE register.
15619 Patch by Richard Li <richardpku@gmail.com>.
15620
f0967738 156212010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15622
15623 [BZ #12140]
15624 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15625 perturbing.
15626
d0b9e94f
MB
156272010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15628
15629 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15630 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15631 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15632 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15634 submachine.
15635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15636
8e9f92e9
AS
156372010-10-22 Andreas Schwab <schwab@redhat.com>
15638
15639 * include/dlfcn.h (__RTLD_SECURE): Define.
15640 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15641 mode & __RTLD_SECURE instead.
15642 (open_path): Rename preloaded parameter to secure.
15643 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15644 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15645 * elf/dl-deps.c (openaux): Likewise.
15646 * elf/rtld.c (struct map_args): Remove is_preloaded.
15647 (map_doit): Don't use it.
15648 (dl_main): Likewise.
15649 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15650 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15651
bc96fbda
AS
156522010-09-09 Andreas Schwab <schwab@redhat.com>
15653
15654 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15655 (sysd-rules-targets): Remove duplicates.
15656 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15657 rtld-%.$o dependency.
15658
22cd1c9b
AS
156592010-10-18 Andreas Schwab <schwab@redhat.com>
15660
15661 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15662 _dl_map_object do it.
15663
18edac48
UD
156642010-10-19 Ulrich Drepper <drepper@gmail.com>
15665
15666 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15667 fast fma builtins, define the macros in the C99 standard.
15668 (FP_FAST_FMAF): Likewise.
15669 (FP_FAST_FMAL): Likewise.
15670 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15671
15672 * bits/mathdef.h: Update copyright year.
15673 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15674
d2050124
MM
156752010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15676
15677 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15678 builtins, define the macros in the C99 standard.
15679 (FP_FAST_FMAF): Likewise.
15680 (FP_FAST_FMAL): Likewise.
15681 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15682 multiply/add.
15683 (FP_FAST_FMAF): Likewise.
15684
475facd1
JJ
156852010-10-15 Jakub Jelinek <jakub@redhat.com>
15686
15687 [BZ #3268]
15688 * math/libm-test.inc (fma_test): Some new testcases.
15689 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15690 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15691 y and infinite z. Do multiplication by C already in long double.
15692 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15693 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15694 y and infinite z. Do bitwise or of inexact bit into u.d.
15695 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15696 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15697 * sysdeps/i386/fpu/s_fma.S: Removed.
15698 * sysdeps/i386/fpu/s_fmal.S: Removed.
15699
7c08a05c
JJ
157002010-10-16 Jakub Jelinek <jakub@redhat.com>
15701
15702 [BZ #3268]
15703 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15704 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15705 computation is not scheduled after fetestexcept. Fix value
15706 of minimum denormal long double.
15707
f3f7372d
JJ
157082010-10-14 Jakub Jelinek <jakub@redhat.com>
15709
15710 [BZ #3268]
15711 * math/libm-test.inc (fma_test): Add some more tests.
15712 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15713 correctly.
15714
14d43591
AS
157152010-10-15 Andreas Schwab <schwab@redhat.com>
15716
15717 * scripts/data/localplt-s390-linux-gnu.data: New file.
15718 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15719
5e908464
JJ
157202010-10-13 Jakub Jelinek <jakub@redhat.com>
15721
15722 [BZ #3268]
15723 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15724 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15725 instead of dbl-64.
15726 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15727 inlines.
15728 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15729 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15730 if one of x and y is very large and the other is subnormal.
15731 * sysdeps/s390/fpu/s_fmaf.c: New file.
15732 * sysdeps/s390/fpu/s_fma.c: New file.
15733 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15734 * sysdeps/powerpc/fpu/s_fma.S: New file.
15735 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15736 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15737 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15738
157392010-10-12 Jakub Jelinek <jakub@redhat.com>
15740
15741 [BZ #3268]
15742 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15743 fma tests.
15744 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15745 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15746 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15747 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15748 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15749 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15750 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15751
b833d51f
UD
157522010-10-12 Ulrich Drepper <drepper@redhat.com>
15753
15754 [BZ #12078]
15755 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15756 * posix/bug-regex31.input: Add test case.
15757
1751705d
UD
157582010-10-11 Ulrich Drepper <drepper@gmail.com>
15759
e9b9cbf5
UD
15760 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15761 * posix/bug-regex31.input: New file.
15762
15763 [BZ #12078]
15764 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15765 (parse_sub_exp): Fix last change, use postorder.
15766
ef06edbe
UD
15767 * posix/bug-regex31.c: New file.
15768 * posix/Makefile: Add rules to build and run bug-regex31.
15769
a129c80d
UD
15770 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15771
15772 [BZ #12078]
15773 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15774
b76b818e
UD
15775 [BZ #12108]
15776 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15777 to have entries in sys_siglist.
15778
1751705d
UD
15779 [BZ #12093]
15780 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15781 be NULL.
15782
9ff8d36f
JJ
157832010-10-07 Jakub Jelinek <jakub@redhat.com>
15784
15785 [BZ #3268]
15786 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15787 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15788 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15789 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15790 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15791 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15792 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15793 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15794 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15795 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15796 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15797 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15798 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15799 * math/ftestexcept.c (fetestexcept): Likewise.
15800 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15801 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15802 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15803 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15804 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15805 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15806 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15807
af325969
UD
158082010-10-11 Ulrich Drepper <drepper@gmail.com>
15809
c579b202 15810 [BZ #12107]
af325969
UD
15811 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15812 newline.
15813
67a67b95
UD
158142010-10-06 Ulrich Drepper <drepper@gmail.com>
15815
15816 * string/bug-strstr1.c: New file.
15817 * string/Makefile: Add rules to build and run bug-strstr1.
15818
5fb308bc
EB
158192010-10-05 Eric Blake <eblake@redhat.com>
15820
15821 [BZ #12092]
15822 * string/str-two-way.h (two_way_long_needle): Always clear memory
15823 when skipping input due to the shift table.
15824
45db99c7
UD
158252010-10-03 Ulrich Drepper <drepper@gmail.com>
15826
3b111893
UD
15827 [BZ #12005]
15828 * malloc/mcheck.c: Handle large requests.
15829
45db99c7
UD
15830 [BZ #12077]
15831 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15832 for strncmp and strncasecmp.
15833 * string/stratcliff.c: Add tests for strcmp and strncmp.
15834 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15835
cf7a1eb8
NI
158362010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15837
15838 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15839 __set_fpscr.
15840
6484ba5e
AJ
158412010-09-30 Andreas Jaeger <aj@suse.de>
15842
15843 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15844 (CGROUP_SUPER_MAGIC): Define.
15845 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15846 Handle btrfs and cgroup file systems.
15847 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15848 Likewise.
15849
91c42559
LM
158502010-09-27 Luis Machado <luisgpm@br.ibm.com>
15851
15852 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15853 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15854
87a97932
AK
158552010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15856
15857 [BZ #12067]
15858 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15859 trying to locate the ELF header.
15860
c21cc9bc
AS
158612010-09-27 Andreas Schwab <schwab@redhat.com>
15862
15863 [BZ #11611]
15864 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15865 Mask out sign-bit copies when constructing f_fsid.
15866
315970f6
PB
158672010-09-24 Petr Baudis <pasky@suse.cz>
15868
15869 * debug/stack_chk_fail_local.c: Add missing licence exception.
15870 * debug/warning-nop.c: Likewise.
15871
1ac7a2c7
JM
158722010-09-15 Joseph Myers <joseph@codesourcery.com>
15873
15874 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15875 implementing getdents64 using getdents syscall, set d_type if
15876 __ASSUME_GETDENTS32_D_TYPE.
15877
56801c50
AS
158782010-09-16 Andreas Schwab <schwab@redhat.com>
15879
15880 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15881 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15882
dda51327
UD
158832010-09-21 Ulrich Drepper <drepper@redhat.com>
15884
15885 [BZ #12037]
15886 * posix/unistd.h: Undo change of feature selection for ftruncate from
15887 2010-01-11.
15888
8ffcee4a
UD
158892010-09-20 Ulrich Drepper <drepper@redhat.com>
15890
a545ecd9 15891 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15892 detection.
15893
e24f0a8b
AS
158942010-09-20 Andreas Schwab <schwab@redhat.com>
15895
15896 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15897 fanotify_mark.
15898 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15899
7291c56f
AS
159002010-09-14 Andreas Schwab <schwab@redhat.com>
15901
15902 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15903 variables after CHECK_SP call.
15904 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15905
bc5fb037
AS
159062010-09-13 Andreas Schwab <schwab@redhat.com>
15907 Ulrich Drepper <drepper@redhat.com>
15908
15909 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15910 re-relocationg ld.so.
15911 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15912 _dl_init_paths call.
15913 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15914 here anymore.
15915
e66e7419
UD
159162010-09-14 Ulrich Drepper <drepper@redhat.com>
15917
15918 * resolv/res_init.c (__res_vinit): Count the default server we added.
15919
c044aa75
CLT
159202010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15921 Ulrich Drepper <drepper@redhat.com>
15922
15923 [BZ #11968]
15924 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15925 (____longjmp_chk): Use %ebx for saving value across system call.
15926 Add unwind info.
15927
32cf4069
AS
159282010-09-06 Andreas Schwab <schwab@redhat.com>
15929
15930 * manual/Makefile: Don't mix pattern rules with normal rules.
15931
817328ee
AS
159322010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15933
15934 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15935 operation.
15936 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15937 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15938 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15939 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15940 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15941 Likewise.
15942
29fddf61
UD
159432010-09-04 Ulrich Drepper <drepper@redhat.com>
15944
15945 [BZ #11979]
15946 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15947 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15948
0959ffc9
UD
159492010-09-02 Ulrich Drepper <drepper@redhat.com>
15950
15951 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15952 * sysdeps/x86_64/addmul_1.S: Likewise.
15953 * sysdeps/x86_64/lshift.S: Likewise.
15954 * sysdeps/x86_64/mul_1.S: Likewise.
15955 * sysdeps/x86_64/rshift.S: Likewise.
15956 * sysdeps/x86_64/sub_n.S: Likewise.
15957 * sysdeps/x86_64/submul_1.S: Likewise.
15958
ece29840
ST
159592010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15960
0959ffc9
UD
15961 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15962 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15963 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15964 * bits/sched.h [__need_schedparam]
ece29840 15965 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15966 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15967 (__defined_schedparam): Define to 1.
ece29840
ST
15968 (__sched_param): New structure, identical to sched_param.
15969 (__need_schedparam): Undefine.
15970
e53a31fe
MF
159712010-08-31 Mike Frysinger <vapier@gentoo.org>
15972
fdc0c10d
MF
15973 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15974 (epoll_create1): Declare.
15975
e53a31fe
MF
15976 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15977
a726d796
AS
159782010-08-31 Andreas Schwab <schwab@redhat.com>
15979
15980 [BZ #7066]
15981 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15982 shifting retval into place.
15983
2f3e3dc7
UD
159842010-09-01 Ulrich Drepper <drepper@redhat.com>
15985
f2933da9
UD
15986 * nis/rpcsvc/nis.h: Update copyright notice.
15987 * nis/rpcsvc/nis.x: Likewise.
15988 * nis/rpcsvc/nis_callback.h: Likewise.
15989 * nis/rpcsvc/nis_callback.x: Likewise.
15990 * nis/rpcsvc/nis_object.x: Likewise.
15991 * nis/rpcsvc/nis_tags.h: Likewise.
15992 * nis/rpcsvc/yp.h: Likewise.
15993 * nis/rpcsvc/yp.x: Likewise.
15994 * nis/rpcsvc/ypupd.h: Likewise.
15995 * nis/yp_xdr.c: Likewise.
15996 * nis/ypupdate_xdr.c: Likewise.
15997
2f3e3dc7
UD
15998 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15999 mainly the body of pmap_getport. Add parameters to specify timeouts.
16000 (pmap_getport): Use __libc_rpc_getport.
16001 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16002 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16003 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16004
f3dcc2f9
AS
160052010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16006
16007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16008 fanotify_mark.
16009
6d34eb5b
RM
160102010-08-27 Roland McGrath <roland@redhat.com>
16011
16012 * sysdeps/i386/i686/multiarch/Makefile
16013 (CFLAGS-varshift.c): New variable.
16014
9ea3de11
UD
160152010-08-27 Ulrich Drepper <drepper@redhat.com>
16016
c96d23fc
UD
16017 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16018 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16019
9ea3de11
UD
16020 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16021
16022 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16023
623aac7f
L
160242010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16025
16026 * sysdeps/x86_64/strlen.S: Unroll the loop.
16027 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16028 strlen-sse2 strlen-sse2-bsf.
16029 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16030 __strlen_no_bsf if bit_Slow_BSF is set.
16031 (__strlen_sse42): Removed.
16032 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16033 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16034
8b2b7715
RM
160352010-08-25 Roland McGrath <roland@redhat.com>
16036
16037 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16038 * sysdeps/x86_64/multiarch/varshift.c: New file.
16039 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16040 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16041 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16042 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16043
e73015f2
L
160442010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16045
16046 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16047 strlen-sse2 strlen-sse2-bsf.
16048 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16049 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16050 (__strlen_sse2): Removed.
16051 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16052 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16054 bit_Slow_BSF for Atom.
16055 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16056 (index_Slow_BSF): Define.
16057 (HAS_SLOW_BSF): Define.
16058
df24a73e
UD
160592010-08-25 Ulrich Drepper <drepper@redhat.com>
16060
16061 [BZ #10851]
16062 * resolv/res_init.c (__res_vinit): When no server address at all
16063 is given default to loopback.
16064
f2ac4868
RM
160652010-08-24 Roland McGrath <roland@redhat.com>
16066
09055553
RM
16067 * configure.in: Remove config-name.h generation.
16068 * configure: Regenerated.
16069 * config-name.in: File removed.
16070 * scripts/config-uname.sh: New file.
16071 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16072 ($(objdir)config-name.h): New target.
16073
f2ac4868
RM
16074 * sunrpc/rpc_parse.h: Avoid nested comment.
16075
73f27d5e
RH
160762010-08-24 Richard Henderson <rth@redhat.com>
16077 Ulrich Drepper <drepper@redhat.com>
16078 H.J. Lu <hongjiu.lu@intel.com>
16079
16080 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16081 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16082 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16083 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16084 _mm_alignr_epi8 with _mm_loadu_si128.
16085 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16086 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16087 (__m128i_shift_right): Removed.
16088 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16089 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16090 * sysdeps/x86_64/multiarch/varshift.h: New file.
16091 * sysdeps/x86_64/multiarch/varshift.S: New file.
16092
84b9230c
MF
160932010-08-21 Mike Frysinger <vapier@gentoo.org>
16094
16095 * configure.in: Move assembler checks to before sysdep dir checking.
16096
9bbd0ddc
PB
160972010-08-20 Petr Baudis <pasky@suse.cz>
16098
16099 * LICENSES: Sync the sunrpc license.
16100
9da4bb31
UD
161012010-08-19 Ulrich Drepper <drepper@redhat.com>
16102
a7ab6ec8
UD
16103 * sunrpc/auth_des.c: Update copyright notice once again.
16104 * sunrpc/auth_none.c: Likewise.
16105 * sunrpc/auth_unix.c: Likewise.
16106 * sunrpc/authdes_prot.c: Likewise.
16107 * sunrpc/authuxprot.c: Likewise.
16108 * sunrpc/bindrsvprt.c: Likewise.
16109 * sunrpc/clnt_gen.c: Likewise.
16110 * sunrpc/clnt_perr.c: Likewise.
16111 * sunrpc/clnt_raw.c: Likewise.
16112 * sunrpc/clnt_simp.c: Likewise.
16113 * sunrpc/clnt_tcp.c: Likewise.
16114 * sunrpc/clnt_udp.c: Likewise.
16115 * sunrpc/clnt_unix.c: Likewise.
16116 * sunrpc/des_crypt.c: Likewise.
16117 * sunrpc/des_soft.c: Likewise.
16118 * sunrpc/get_myaddr.c: Likewise.
16119 * sunrpc/getrpcport.c: Likewise.
16120 * sunrpc/key_call.c: Likewise.
16121 * sunrpc/key_prot.c: Likewise.
16122 * sunrpc/openchild.c: Likewise.
16123 * sunrpc/pm_getmaps.c: Likewise.
16124 * sunrpc/pm_getport.c: Likewise.
16125 * sunrpc/pmap_clnt.c: Likewise.
16126 * sunrpc/pmap_prot.c: Likewise.
16127 * sunrpc/pmap_prot2.c: Likewise.
16128 * sunrpc/pmap_rmt.c: Likewise.
16129 * sunrpc/rpc/auth.h: Likewise.
16130 * sunrpc/rpc/auth_unix.h: Likewise.
16131 * sunrpc/rpc/clnt.h: Likewise.
16132 * sunrpc/rpc/des_crypt.h: Likewise.
16133 * sunrpc/rpc/key_prot.h: Likewise.
16134 * sunrpc/rpc/netdb.h: Likewise.
16135 * sunrpc/rpc/pmap_clnt.h: Likewise.
16136 * sunrpc/rpc/pmap_prot.h: Likewise.
16137 * sunrpc/rpc/pmap_rmt.h: Likewise.
16138 * sunrpc/rpc/rpc.h: Likewise.
16139 * sunrpc/rpc/rpc_des.h: Likewise.
16140 * sunrpc/rpc/rpc_msg.h: Likewise.
16141 * sunrpc/rpc/svc.h: Likewise.
16142 * sunrpc/rpc/svc_auth.h: Likewise.
16143 * sunrpc/rpc/types.h: Likewise.
16144 * sunrpc/rpc/xdr.h: Likewise.
16145 * sunrpc/rpc_clntout.c: Likewise.
16146 * sunrpc/rpc_cmsg.c: Likewise.
16147 * sunrpc/rpc_common.c: Likewise.
16148 * sunrpc/rpc_cout.c: Likewise.
16149 * sunrpc/rpc_dtable.c: Likewise.
16150 * sunrpc/rpc_hout.c: Likewise.
16151 * sunrpc/rpc_main.c: Likewise.
16152 * sunrpc/rpc_parse.c: Likewise.
16153 * sunrpc/rpc_parse.h: Likewise.
16154 * sunrpc/rpc_prot.c: Likewise.
16155 * sunrpc/rpc_sample.c: Likewise.
16156 * sunrpc/rpc_scan.c: Likewise.
16157 * sunrpc/rpc_scan.h: Likewise.
16158 * sunrpc/rpc_svcout.c: Likewise.
16159 * sunrpc/rpc_tblout.c: Likewise.
16160 * sunrpc/rpc_util.c: Likewise.
16161 * sunrpc/rpc_util.h: Likewise.
16162 * sunrpc/rpcinfo.c: Likewise.
16163 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16164 * sunrpc/rpcsvc/key_prot.x: Likewise.
16165 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16166 * sunrpc/rpcsvc/mount.x: Likewise.
16167 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16168 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16169 * sunrpc/rpcsvc/rex.x: Likewise.
16170 * sunrpc/rpcsvc/rstat.x: Likewise.
16171 * sunrpc/rpcsvc/rusers.x: Likewise.
16172 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16173 * sunrpc/rpcsvc/spray.x: Likewise.
16174 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16175 * sunrpc/rtime.c: Likewise.
16176 * sunrpc/svc.c: Likewise.
16177 * sunrpc/svc_auth.c: Likewise.
16178 * sunrpc/svc_authux.c: Likewise.
16179 * sunrpc/svc_raw.c: Likewise.
16180 * sunrpc/svc_run.c: Likewise.
16181 * sunrpc/svc_simple.c: Likewise.
16182 * sunrpc/svc_tcp.c: Likewise.
16183 * sunrpc/svc_udp.c: Likewise.
16184 * sunrpc/svc_unix.c: Likewise.
16185 * sunrpc/svcauth_des.c: Likewise.
16186 * sunrpc/xcrypt.c: Likewise.
16187 * sunrpc/xdr.c: Likewise.
16188 * sunrpc/xdr_array.c: Likewise.
16189 * sunrpc/xdr_float.c: Likewise.
16190 * sunrpc/xdr_mem.c: Likewise.
16191 * sunrpc/xdr_rec.c: Likewise.
16192 * sunrpc/xdr_ref.c: Likewise.
16193 * sunrpc/xdr_sizeof.c: Likewise.
16194 * sunrpc/xdr_stdio.c: Likewise.
16195
9da4bb31
UD
16196 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16197 handling.
16198
bdaa77bc
AS
161992010-08-19 Andreas Schwab <schwab@redhat.com>
16200
16201 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16202
fe2f79db
LM
162032010-08-19 Luis Machado <luisgpm@br.ibm.com>
16204
16205 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16206 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16207 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16208 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16209 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16210 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16211 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16212 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16213 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16214 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16215 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16216 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16217 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16218 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16219
b9b42ee0
AB
162202010-07-26 Anton Blanchard <anton@samba.org>
16221
16222 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16223 * malloc/arena.c (heap_trim): Likewise.
16224
1c06ba31
UD
162252010-08-16 Ulrich Drepper <drepper@redhat.com>
16226
16227 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16228 here. Not...
16229 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16230 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16231
f8392f40
L
162322010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16233
16234 * sysdeps/i386/elf/Makefile: New file.
16235
3162f12e
AS
162362010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16237
16238 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16239 from fanotify_init.
16240 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16241 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16242
28c90b2c
UD
162432010-08-15 Ulrich Drepper <drepper@redhat.com>
16244
16245 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16246 of strncasecmp_l.
1feccb6c 16247 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16248
ca6bb004
UD
162492010-08-14 Ulrich Drepper <drepper@redhat.com>
16250
e9f82e0d
UD
16251 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16252 strncase_l-nonascii.
16253 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16254 Add strncase_l-ssse3.
16255 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16256 * sysdeps/x86_64/strcmp.S: Likewise.
16257 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16258 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16259 * sysdeps/x86_64/strncase.S: New file.
16260 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16261 * sysdeps/x86_64/strncase_l.S: New file.
16262 * string/Makefile (strop-tests): Add strncasecmp.
16263 * string/test-strncasecmp.c: New file.
16264
16265 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16266 warning.
16267
ca6bb004
UD
16268 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16269 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16270
052fa7b3
AS
162712010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16272
16273 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16274
962dba78
UD
162752010-08-12 Ulrich Drepper <drepper@redhat.com>
16276
16277 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16278 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16279 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16280
bebff237
AM
162812010-05-01 Alan Modra <amodra@gmail.com>
16282
16283 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16284 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16285 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16286 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16287 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16288 tidying. Don't tail-call __sigjmp_save for static lib.
16289 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16290 save location.
16291 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16292 (CALL_MCOUNT): Add eh info, and nop after bl.
16293 (TAIL_CALL_SYSCALL_ERROR): New macro.
16294 (PSEUDO_RET): Use it.
16295 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16296 Correct save location of integer regs and cr.
16297 (_dl_profile_resolve): Correct cr save location. Delete nops
16298 after bl when SHARED. Reduce cfi size a little by better
16299 placement of cfi directives.
16300 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16301 make a stack frame. Instead use parm save area as a temp.
16302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16303 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16305 Don't make a stack frame for parent, use parm save area.
16306 Increase child stack frame to 112 bytes. Don't save unused reg,
16307 and adjust reg usage. Set up cfi on error recovery and
16308 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16310 (__makecontext): Add dummy nop after jump to exit.
16311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16312 Use correct parm save area and cr save, reduce stack frame.
16313 Correct cfi for possible PSEUDO_RET frame setup.
16314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16315 Branch to local label emitted by PSEUDO_RET rather than
16316 __syscall_error.
16317
02637374
AS
163182010-08-12 Andreas Schwab <schwab@redhat.com>
16319
16320 [BZ #11904]
16321 * locale/programs/locale.c (print_assignment): New function.
16322 (show_locale_vars): Use it.
16323
c3e2f19b
UD
163242010-08-11 Ulrich Drepper <drepper@redhat.com>
16325
3cdaa6ad
UD
16326 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16327 field.
16328 (struct statfs64): Likewise.
16329 (_STATFS_F_FLAGS): Define.
16330 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16331 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16332 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16333 (ST_VALID): Define locally.
16334 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16335 __statvfs_getflags, use the provided value.
16336 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16337 __ASSUME_STATFS_F_FLAGS.
16338
754f7da3
UD
16339 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16340
10b3bedc
UD
16341 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16342 Add sys/fanotify.h.
16343 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16344 fanotify_mask for GLIBC_2.13.
16345 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16346 fanotify_init and fanotify_mark.
16347 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16348 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16349
c08fb0d7
UD
16350 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16351 Add prlimit.
16352 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16353 prlimit64 for GLIBC_2.13.
16354 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16355 prlimit64.
16356 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16357 syscall.
16358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16359 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16360 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16361 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16362 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16363 add prlimit alias.
16364 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16365
15bac72b
UD
16366 [BZ #11903]
16367 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16368 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16369
c3e2f19b
UD
16370 * nss/Makefile: Add rules to build and run tst-nss-test1.
16371 * shlib-versions: Add entry for libnss_test1.
16372 * nss/nss_test1.c: New file.
16373 * nss/tst-nss-test1.c: New file.
16374
16375 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16376 (__nss_configure_lookup): Set appropriate entry in
16377 __nss_configure_lookup to true.
16378 * nss/nsswitch.h: Define enum with indeces of databases in
16379 databases and __nss_database_custom arrays. Declare
16380 __nss_database_custom.
16381 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16382 to avoid using nscd when custom rules are installed.
16383 * nss/getXXbyYY_r.c: Likewise.
16384 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16385
16386 * nss/nss_files/files-parse.c: Whitespace fixes.
16387
f15ce4d8
UD
163882010-08-09 Ulrich Drepper <drepper@redhat.com>
16389
16390 [BZ #11883]
16391 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16392 * posix/fnmatch_loop.c: Likewise.
16393
d22e4cc9
AK
163942010-07-17 Andi Kleen <ak@linux.intel.com>
16395
16396 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16397 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16398 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16399 * Versions.def [GLIBC_2.13]: Add.
16400
805bc17d
UD
164012010-08-06 Ulrich Drepper <drepper@redhat.com>
16402
16403 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16404 Also fail if tpwd after pwuid call is NULL.
16405
5a42321d
ST
164062010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16407
16408 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16409 when converting to ms.
16410
fd3ebeda
ST
164112010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16412
16413 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16414 EOPNOTSUPP errors with ENOTTY.
16415 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16416 EOPNOTSUPP errors with ENOTTY.
16417
73507d3a
UD
164182010-07-31 Ulrich Drepper <drepper@redhat.com>
16419
16420 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16421 Add strcasecmp_l-ssse3.
16422 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16423 strcasecmp.
16424 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16425 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16426 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16427
fe36dd02
UD
164282010-07-30 Ulrich Drepper <drepper@redhat.com>
16429
66f6765a
UD
16430 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16431
42e08a54
UD
16432 * string/Makefile (strop-tests): Add strcasecmp.
16433 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16434 strcasecmp_l-nonascii.
16435 (gen-as-const-headers): Add locale-defines.sym.
16436 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16437 * sysdeps/x86_64/strcasecmp.S: New file.
16438 * sysdeps/x86_64/strcasecmp_l.S: New file.
16439 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16440 * sysdeps/x86_64/locale-defines.sym: New file.
16441 * string/test-strcasecmp.c: New file.
16442
fe36dd02
UD
16443 * string/test-strcasestr.c: Test both ends of the range of characters.
16444 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16445
48cbc0d6
RM
164462010-07-29 Roland McGrath <roland@redhat.com>
16447
76e6d6bc 16448 [BZ #11856]
48cbc0d6
RM
16449 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16450
880113d9
UD
164512010-07-27 Ulrich Drepper <drepper@redhat.com>
16452
16453 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16454 for ld.so.
16455
deb9cabb
AS
164562010-07-27 Andreas Schwab <schwab@redhat.com>
16457
16458 * manual/memory.texi (Malloc Tunable Parameters): Document
16459 M_PERTURB.
16460
1c7570ff
RM
164612010-07-26 Roland McGrath <roland@redhat.com>
16462
16463 [BZ #11840]
16464 * configure.in (-fgnu89-inline check): Set and substitute
16465 gnu89_inline, not libc_cv_gnu89_inline.
16466 * configure: Regenerated.
16467 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16468
24fb0f88
UD
164692010-07-26 Ulrich Drepper <drepper@redhat.com>
16470
16471 * string/test-strnlen.c: New file.
16472 * string/Makefile (strop-tests): Add strnlen.
16473 * string/tester.c (test_strnlen): Add a few more test cases.
16474 * string/tst-strlen.c: Better error reporting.
16475
16476 * sysdeps/x86_64/strnlen.S: New file.
16477
8e96b93a
UD
164782010-07-24 Ulrich Drepper <drepper@redhat.com>
16479
16480 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16481 lower-latency instructions.
16482
dbc676d4
UD
164832010-07-23 Ulrich Drepper <drepper@redhat.com>
16484
16485 * string/test-strcasestr.c: New file.
16486 * string/test-strstr.c: New file.
16487 * string/Makefile (strop-tests): Add strstr and strcasestr.
16488 * string/str-two-way.h: Don't undefine MAX.
16489 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16490
f6a31e0e
AS
164912010-07-21 Andreas Schwab <schwab@redhat.com>
16492
16493 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16494 strcasestr-nonascii.
16495 (CFLAGS-strcasestr-nonascii.c): Define.
16496 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16497 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16498 Remove unused attribute.
16499
5dbc3b6c
RM
165002010-07-20 Roland McGrath <roland@redhat.com>
16501
16502 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16503 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16504 ld.so.cache was broken. With it, there is no way to disable dsocaps
16505 like LD_HWCAP_MASK can disable hwcaps.
16506
23d101d8
EPM
165072010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16508
16509 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16510
cc9f2e47
UD
165112010-07-16 Ulrich Drepper <drepper@redhat.com>
16512
16513 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16514 call in strcasestr.
16515 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16516 __strcasestr_sse42_nonascii.
16517 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16518 strcasestr-nonascii.c.
16519 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16520
77c1b069
LM
165212010-06-15 Luis Machado <luisgpm@br.ibm.com>
16522
16523 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16524 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16525 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16526 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16527
440566c3
UD
165282010-07-09 Ulrich Drepper <drepper@redhat.com>
16529
16530 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16531 fcntl.
16532
5be9d05d
AS
165332010-07-06 Andreas Schwab <schwab@redhat.com>
16534
c30b7ee2 16535 [BZ #11577]
5be9d05d
AS
16536 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16537 dl_signal_cerror.
16538
8a492a67
UD
165392010-07-06 Ulrich Drepper <drepper@redhat.com>
16540
16541 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16542 _PC_PIPE_BUF using F_GETPIPE_SZ.
16543
713df3d5
RM
165442010-07-05 Roland McGrath <roland@redhat.com>
16545
16546 * manual/arith.texi (Rounding Functions): Fix rint description
16547 implicit in round description.
16548
702e8f14
UD
165492010-07-02 Ulrich Drepper <drepper@redhat.com>
16550
16551 * elf/Makefile: Fix linking for a few tests to make recent linker
16552 happy.
16553
52ed8be9
AS
165542010-06-30 Andreas Schwab <schwab@redhat.com>
16555
16556 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16557 $(common-objpfx)libc_nonshared.a.
16558
f47c9a11
LM
165592010-06-21 Luis Machado <luisgpm@br.ibm.com>
16560
16561 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16562 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16563 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16564 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16565 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16566 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16567 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16568 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16583 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16584 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16585 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16586 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16587 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16588 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16589 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16590 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16591 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16592 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16593 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16594 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16609
6fb8cbcb
L
166102010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16611
16612 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16613 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16614 * string/memmove.c (memmove): Renamed to ...
16615 (MEMMOVE): ...this. Default to memmove.
16616 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16617 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16618 (END_CHK): Define.
16619 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16620 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16621 mempcpy-ssse3-back memmove-ssse3-back.
16622 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16623 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16624 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16625 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16626 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16627 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16628 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16629 * sysdeps/x86_64/multiarch/memmove.c: New file.
16630 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16631 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16632 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16633 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16634 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16635 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16636 Define.
16637 (index_Fast_Copy_Backward): Define.
16638 (HAS_ARCH_FEATURE): Define.
16639 (HAS_FAST_REP_STRING): Define.
16640 (HAS_FAST_COPY_BACKWARD): Define.
16641
4e733bac 166422010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16643
16644 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16645 Restore proper fallback handling.
16646
63c4ed22
UD
166472010-06-19 Ulrich Drepper <drepper@redhat.com>
16648
ac2b484c
UD
16649 [BZ #11701]
16650 * posix/group_member.c (__group_member): Correct checking loop.
16651
63c4ed22
UD
16652 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16653 OOM in getpwuid_r correctly. Return error number when the caller
16654 should return, otherwise -1.
16655 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16656 call returning > 0 value.
16657 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16658
765ade4b
AS
166592010-06-07 Andreas Schwab <schwab@redhat.com>
16660
16661 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16662 libc_nonshared.a from targets in modules-names.
16663
80da2e09
KS
166642010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16665
16666 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16667 requires it.
16668
158db122
LM
166692010-06-10 Luis Machado <luisgpm@br.ibm.com>
16670
16671 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16672 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16673 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16674 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16675
caa78cf8
AS
166762010-06-02 Andreas Schwab <schwab@redhat.com>
16677
16678 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16679
b2ef2c01
UD
166802010-06-14 Ulrich Drepper <drepper@redhat.com>
16681
16682 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16683 and F_GETPIPE_SZ.
16684 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16685 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16686 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16688 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16689 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16690
fbd643b6
RM
166912010-06-14 Roland McGrath <roland@redhat.com>
16692
16693 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16694
f32f2869
JJ
166952010-06-07 Jakub Jelinek <jakub@redhat.com>
16696
16697 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16698 __REDIRECT followed by __THROW.
16699 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16700 * posix/getopt.h (getopt): Likewise.
16701
2a50c078
EPM
167022010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16703
16704 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16705 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16706 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16707 in AT_FLAGS.
16708 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16709 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16710
eb5ad2eb
LM
167112010-05-28 Luis Machado <luisgpm@br.ibm.com>
16712
16713 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16714
3c88fe1e
L
167152010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16716
16717 [BZ #11640]
16718 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16719 Properly check family and model.
16720
d2f73151
TY
167212010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16722
16723 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16724
ebd2e13d
LM
167252010-05-24 Luis Machado <luisgpm@br.ibm.com>
16726
16727 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16728
b32b8b45
UD
167292010-05-21 Ulrich Drepper <drepper@redhat.com>
16730
16731 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16732 symbol reference.
16733
9acbe24d
AS
167342010-05-19 Andreas Schwab <schwab@redhat.com>
16735
16736 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16737 symbol reference.
16738
f0ccf6ea
AS
167392010-05-21 Andreas Schwab <schwab@redhat.com>
16740
3d04ff3a
AS
16741 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16742 and internal_recvmmsg.
16743 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16744 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16745 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16746 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16747
f0ccf6ea
AS
16748 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16749 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16750 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16751
5b08ac57
AS
167522010-05-20 Andreas Schwab <schwab@redhat.com>
16753
16754 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16755
4828935d
LM
167562010-05-17 Luis Machado <luisgpm@br.ibm.com>
16757
16758 POWER7 optimizations.
16759 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16760 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16761
373d545e
UD
167622010-05-19 Ulrich Drepper <drepper@redhat.com>
16763
16764 * version.h: Update for 2.13 development version.
16765
21a2b1ae
AS
167662010-05-12 Andrew Stubbs <ams@codesourcery.com>
16767
16768 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16769 exceptions. Return 0.
16770
3f7dcb2b
RM
167712010-05-07 Roland McGrath <roland@redhat.com>
16772
16773 * elf/ldconfig.c (main): Add a const.
16774
5f24d53a 167752010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16776
a160f8d8
UD
16777 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16778 (args_options): Add no-idn option.
16779 (ahosts_keys_int): Add idn_flags to ai_flags.
16780 (parse_option): Handle 'i' option to clear idn_flags.
16781
5f24d53a
UD
16782 * malloc/malloc.c (_int_free): Possible race in the most recently
16783 added check. Only act on the data if no current modification
16784 happened.
265bb1ce
UD
16785
16786See ChangeLog.17 for earlier changes.