]> sourceware.org Git - glibc.git/blame - ChangeLog
Build en_US.UTF-8 locale for testing.
[glibc.git] / ChangeLog
CommitLineData
cbc818d0
TS
12012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2
3 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4
5a03cb1e
AS
52012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6
7 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8 Fix sort order.
9 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10 Likewise.
11
90aff2ff
TMQMF
122012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13
14 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15 Fix the order of the list for glibc 2.17.
16 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17 Likewise.
18
1818fcb7
AS
192012-10-31 Andreas Schwab <schwab@linux-m68k.org>
20
21 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22
ef82f4da
JM
232012-10-31 Joseph Myers <joseph@codesourcery.com>
24
16a0e2ec
JM
25 [BZ #14610]
26 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27 for low part of x being zero before using __atanl (y).
28 * math/libm-test.inc (atan2_test): Add another test.
29
0eb69512
JM
30 * manual/install.texi (Configuring and compiling): Document
31 general use of test-wrapper and test-wrapper-env.
32 * INSTALL: Regenerated.
33
ef82f4da
JM
34 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35 (__fma): Do not extract and scale down low bits on after-rounding
36 systems when result rounded to normal precision would have normal
37 exponent.
38 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
39 (__fmal): Do not extract and scale down low bits on after-rounding
40 systems when result rounded to normal precision would have normal
41 exponent.
42 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
43 (__fmal): Do not extract and scale down low bits on after-rounding
44 systems when result rounded to normal precision would have normal
45 exponent.
46 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
47 macro.
48 (fma_test): Add more tests.
49 (fma_test_towardzero): Likewise.
50 (fma_test_downward): Likewise.
51 (fma_test_upward): Likewise.
52
954ef0d9
L
532012-10-30 H.J. Lu <hongjiu.lu@intel.com>
54
55 * sysdeps/i386/tininess.h: Renamed to ...
56 * sysdeps/x86/tininess.h: This.
57 * sysdeps/x86_64/tininess.h: Removed.
58
df61ffb2
JM
592012-10-30 Joseph Myers <joseph@codesourcery.com>
60
61 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
62 input. Use $(build-program-cmd).
63 ($(objpfx)tst-array1-static.out): Likewise.
64 ($(objpfx)tst-array2.out): Likewise.
65 ($(objpfx)tst-array3.out): Likewise.
66 ($(objpfx)tst-array4.out): Likewise.
67 ($(objpfx)tst-array5.out): Likewise.
68 ($(objpfx)tst-array5-static.out): Likewise.
69
01767843
CM
702012-10-30 Chris Metcalf <cmetcalf@tilera.com>
71
47cc1490
CM
72 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
73 if defined.
74
01767843
CM
75 * nss/nsswitch.h (nss_interface_function): Provide new
76 macro for use with NSS functions.
77 * grp/initgroups.c: Use new macro.
78 * nss/getXXbyYY.c: Likewise.
79 * nss/getXXbyYY_r.c: Likewise.
80 * nss/getXXent.c: Likewise.
81 * nss/getXXent_r.c: Likewise.
82 * sysdeps/posix/getaddrinfo.c: Likewise.
83
8321aa97
AJ
842012-10-30 Andreas Jaeger <aj@suse.de>
85
86 * po/ru.po: Update Russion translation from translation project.
87
2a27fd6d
JM
882012-10-30 Joseph Myers <joseph@codesourcery.com>
89
8627a232
JM
90 [BZ #14152]
91 [BZ #14783]
92 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
93 result and shift together with sticky bit instead of replicating
94 round-to-nearest rounding.
95 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
96 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
97 * math/libm-test.inc (fma_test): Add more tests. Do not permit
98 missing underflow exceptions.
99 (fma_test_towardzero): Add more tests.
100 (fma_test_downward): Likewise.
101 (fma_test_upward): Likewise.
102
2a27fd6d
JM
103 [BZ #14047]
104 * sysdeps/generic/tininess.h: New file.
105 * sysdeps/i386/tininess.h: Likewise.
106 * sysdeps/sh/tininess.h: Likewise.
107 * sysdeps/x86_64/tininess.h: Likewise.
108 * stdlib/tst-strtod-underflow.c: Likewise.
109 * stdlib/tst-tininess.c: Likewise.
110 * stdlib/strtod_l.c: Include <tininess.h>.
111 (round_and_return): Do not set errno for exact underflow cases.
112 Force an underflow exception when setting errno for underflow.
113 Determine underflow based on rounding to normal precision if
114 TININESS_AFTER_ROUNDING.
115 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
116 ERANGE for exact underflow cases.
117 * stdlib/Makefile (tests): Add tst-tininess and
118 tst-strtod-underflow.
119 ($(objpfx)tst-tininess): Use $(link-libm).
120 ($(objpfx)tst-strtod-underflow): Likewise.
121
e7170363
AJ
1222012-10-30 Andreas Jaeger <aj@suse.de>
123
e5088dc6
AJ
124 [BZ#14767]
125 * elf/Makefile (tests): Remove conditional for have-initfini-array
126 since this is now always required and the variable does not exist
127 anymore.
128 (tests-static): Likewise.
129 (modules-names): Likewise.
130
e7170363 131 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
132
133 * elf/tst-array1.c (fini_array): Make writeable so that it can be
134 merged with constructor/destructor.
135 (init_array): Likewise.
136 * elf/tst-array2dep.c (fini_array): Likewise.
137 (init_array): Likewise.
138
60457d8a
MF
1392012-10-29 Mike Frysinger <vapier@gentoo.org>
140
141 * manual/message.texi: Delete @cartouche tags.
142
8bece752
PT
1432012-10-29 Pino Toscano <toscano.pino@tiscali.it>
144
94ce799f
PT
145 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
146 EOPNOTSUPP.
147 * sysdeps/mach/hurd/fsync.c: Likewise.
148
8bece752
PT
149 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
150 [_POSIX_REALTIME_SIGNALS]: Change condition to
151 [_POSIX_REALTIME_SIGNALS > 0].
152
86ebe6b1
AJ
1532012-10-27 Andreas Jaeger <aj@suse.de>
154
155 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
156 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
157 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
158 [__WORDSIZE != 64]: Likewise.
159
54399c08
L
1602012-10-26 H.J. Lu <hongjiu.lu@intel.com>
161
162 * iconvdata/tst-table.sh: Remove ${SHELL}.
163 * iconvdata/tst-tables.sh: Likewise.
164
e2211bed
DM
1652012-10-25 David S. Miller <davem@davemloft.net>
166
167 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
168 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
169 of strtoull.
170
f303f97c
DM
171 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
172 ifunc-impl-list.c
173 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
174 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
175 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
176 file.
177
1e9d84cd
RM
1782012-10-25 Roland McGrath <roland@hack.frob.com>
179
180 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
181 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
182 __getdirentries.
183
df381762
JM
1842012-10-25 Joseph Myers <joseph@codesourcery.com>
185 Jim Blandy <jimb@codesourcery.com>
186
187 * scripts/cross-test-ssh.sh: New file.
188 * manual/install.texi (Configuring and compiling): Document use of
189 cross-test-ssh.sh.
190 * INSTALL: Regenerated.
191
bff64913
PT
1922012-10-25 Pino Toscano <toscano.pino@tiscali.it>
193
194 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
195 EOPNOTSUPP.
196
25fe8932
JM
1972012-10-25 Joseph Myers <joseph@codesourcery.com>
198
199 * Makeconfig (run-program-prefix): Fix comment.
200
cc1290d0
JM
2012012-10-24 Joseph Myers <joseph@codesourcery.com>
202 Jim Blandy <jimb@codesourcery.com>
203
204 * Makeconfig (test-wrapper): New variable,
205 (test-wrapper-env): Likewise.
206 [$(cross-compiling) = yes && $(test-wrapper) != ""]
207 (run-built-tests): Define to yes.
208 (run-program-prefix): Use $(test-wrapper).
209 (built-program-cmd): Likewise.
210 * Rules (make-test-out): Use $(test-wrapper-env) and
211 $(host-built-program-cmd).
212 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
213 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
214 tst-pathopt.sh.
215 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
216 $(test-wrapper-env) to tst-rtld-load-self.sh.
217 ($(objpfx)order2.out): Use $(test-wrapper).
218 ($(objpfx)tst-initorder.out): Likewise.
219 ($(objpfx)tst-initorder2.out): Likewise.
220 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
221 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
222 (test_wrapper_env): New variable. Use it to run ld.so.
223 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
224 Use it to run ld.so.
225 (test_wrapper_env): Likewise.
226 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
227 $(test-wrapper) to run-iconv-test.sh.
228 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
229 (ICONV): Use $test_wrapper.
230 * posix/Makefile ($(objpfx)globtest.out): Pass
231 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
232 globtest.sh, not $(run-program-prefix).
233 * posix/globtest.sh (run_via_rtld_prefix): New variable.
234 (test_wrapper): Likewise.
235 (test_wrapper_env): Likewise. Use it to run globtest with HOME
236 set together with run_via_rtld_prefix.
237 (run_program_prefix): Define in terms of test_wrapper and
238 run_via_rtld_prefix.
239
6e6249d0
RM
2402012-10-24 Roland McGrath <roland@hack.frob.com>
241
242 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
243 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
244 Targets removed.
245
246 [BZ #14743]
247 * include/time.h: Remove librt_hidden_proto (clock_gettime).
248 Declare __clock_getres, __clock_gettime, __clock_settime,
249 __clock_nanosleep, and __clock_getcpuclockid.
250 * rt/clock_gettime.c: Define __clock_gettime as an alias.
251 Remove librt_hidden_def (clock_gettime).
252 * sysdeps/unix/clock_gettime.c: Likewise.
253 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
254 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
255 * rt/clock_getres.c: Define __clock_getres as an alias.
256 * sysdeps/posix/clock_getres.c: Likewise.
257 * rt/clock_settime.c: Define __clock_settime as an alias.
258 * sysdeps/unix/clock_settime.c: Likewise.
259 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
260 * sysdeps/unix/clock_nanosleep.c: Likewise.
261 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
262 * rt/clock-compat.c: New file.
263 * rt/Makefile (librt-routines): Add clock-compat and move
264 $(clock-routines) to ...
265 (routines): ... here, new variable.
266 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
267 Don't add get_clockfreq here.
268 * rt/Versions (libc: GLIBC_2.17): New version set.
269 Add clock_* symbols here.
270 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
271 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
272 (GLIBC_2.17): Add clock_* symbols.
273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
275 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
277 Likewise.
278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
279 Likewise.
280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
284 * NEWS: Mention the move.
285
286 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
287 Use __open, __read, __close rather than their public counterparts.
288 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
289 (__get_clockfreq_via_cpuinfo): Likewise.
290 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
291 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
292
293 * config.h.in (HAVE_IFUNC): New #undef.
294 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
295 was successful.
296 * configure: Regenerated.
297
0cae3f4b
MF
2982012-10-24 Mike Frysinger <vapier@gentoo.org>
299
300 * configure.in: Move READELF check to start of file.
301 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
302 libc_cv_asm_gnu_indirect_function in the process.
303 * configure: Regenerated.
304
8175a253
MF
3052012-10-24 Mike Frysinger <vapier@gentoo.org>
306
307 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
308 send the output to /dev/null.
309 (libc_cv_cc_with_libunwind): Likewise.
310 (libc_cv_as_noexecstack): Likewise.
311 * configure: Regenerate.
312
0708a7d1
JM
3132012-10-24 Joseph Myers <joseph@codesourcery.com>
314
10b40d85
JM
315 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
316
0708a7d1
JM
317 * posix/globtest.sh (TMPDIR): Do not set.
318 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
319 (testout): Likewise.
320
9fddec1a
AJ
3212012-10-24 Andreas Jaeger <aj@suse.de>
322
3a8db22f
AJ
323 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
324 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
325 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
326 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
327 posix_fadvise64, posix_fallocate64.
328
9fddec1a
AJ
329 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
330 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
331 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
332 Likewise.
333 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
334 Likewise.
335 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
336
337 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
338 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
339 <bits/fcntl-linux.h>.
340 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
341
342 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
343 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
344 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
345 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
346 [__WORDSIZE != 64]: Likewise.
347
ebfd1bbd
JM
3482012-10-23 Joseph Myers <joseph@codesourcery.com>
349
03ac099f
JM
350 * Makeconfig (run-built-tests): New variable.
351 * Rules [$(cross-compiling) = yes]: Change condition to
352 [$(run-built-tests) = no].
353 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
354 to [$(run-built-tests) = yes].
355 * elf/Makefile [$(cross-compiling) = no]: Likewise
356 * grp/Makefile [$(cross-compiling) = no]: Likewise.
357 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
358 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
359 * intl/Makefile [$(cross-compiling) = no]: Likewise.
360 * io/Makefile [$(cross-compiling) = no]: Likewise.
361 * libio/Makefile [$(cross-compiling) = no]: Likewise.
362 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
363 * misc/Makefile [$(cross-compiling) = no]: Likewise.
364 * posix/Makefile [$(cross-compiling) = no]: Likewise.
365 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
366 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
367 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
368 * string/Makefile [$(cross-compiling) = no]: Likewise.
369
ebfd1bbd
JM
370 * posix/Makefile ($(objpfx)globtest.out): Pass
371 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
372 $(rtld-installed-name).
373 * posix/globtest.sh (elf_objpfx): Remove variable.
374 (rtld_installed_name): Likewise.
375 (library_path): Likewise.
376 (run_program_prefix): New variable. Use for running globtest
377 binary.
378
166bca24
JB
3792012-10-23 Jim Blandy <jimb@codesourcery.com>
380 Joseph Myers <joseph@codesourcery.com>
381
382 * Makeconfig (host-built-program-cmd): New variable.
383 * elf/Makefile (tst-stackguard1-ARGS): Use
384 $(host-built-program-cmd).
385 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
386 (tst-spawn-ARGS): Likewise.
387 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
388
88866099
JM
3892012-10-23 Joseph Myers <joseph@codesourcery.com>
390 Jim Blandy <jimb@codesourcery.com>
391
392 * Makeconfig (run-via-rtld-prefix): New variable.
393 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
394 (built-program-cmd): Likewise.
395
b4b4c296
AJ
3962012-10-22 Andreas Jaeger <aj@suse.de>
397
398 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
399 __O_RSYNC if it exists, otherwise to O_SYNC.
400
6fb54a22
JB
4012012-10-22 Jim Blandy <jimb@codesourcery.com>
402 Joseph Myers <joseph@codesourcery.com>
403
404 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
405 /dev/null.
406 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
407 from /dev/null
408 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
409 /dev/null.
410
481b90b9
AJ
4112012-10-22 Andreas Jaeger <aj@suse.de>
412
2a0e2669
AJ
413 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
414 Define always.
415 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
416
76e38f9a
AJ
417 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
418 bits/fcntl-linux.h.
419
7cd37b43
AJ
420 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
421 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
422
481b90b9
AJ
423 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
424 to __O_LARGEFILE.
425 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
426 to __O_LARGEFILE.
427
aba75984
JB
4282012-10-21 Jim Blandy <jimb@codesourcery.com>
429 Joseph Myers <joseph@codesourcery.com>
430
431 * config.make.in (NM): New variable.
432
88d4247f
AJ
4332012-10-21 Andreas Jaeger <aj@suse.de>
434
435 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
436 definitions and declarations that are provided by
437 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
438
f2eed205
L
4392012-10-20 H.J. Lu <hongjiu.lu@intel.com>
440
441 [BZ #14683]
442 * elf/Makefile (tests-static): Add tst-leaks1-static.
443 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
444 ($(objpfx)tst-leaks1-static): New rule.
445 ($(objpfx)tst-leaks1-static-mem): Likewise.
446 (tst-leaks1-static-ENV): New macro.
447 * elf/dl-open.c (dl_open_worker): Check the main application
448 only if SHARED is defined.
449 * elf/tst-leaks1-static.c: New file.
450
335e6931
AJ
4512012-10-20 Andreas Jaeger <aj@suse.de>
452
453 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
454 generic values for Linux.
455 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
456 and declarations that are provided by <bits/fcntl-linux.h> and
457 include <bits/fcntl-linux.h>.
458 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
459 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
460
ac5c94d3
RM
4612012-10-20 Roland McGrath <roland@hack.frob.com>
462
463 * io/fcntl.h: Move include of <bits/types.h> to the top and
464 include it unconditionally.
465
de54b33a
L
4662012-10-20 H.J. Lu <hongjiu.lu@intel.com>
467
228cfb01
L
468 * wcsmbs/Makefile (tests-ifunc): New variable.
469 (tests): Add $(tests-ifunc).
470 * wcsmbs/test-wcschr-ifunc.c: New file.
471 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
472 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
473 * wcsmbs/test-wcslen-ifunc.c: Likewise.
474 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
475 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
476
69f07e5f
L
477 * string/Makefile (tests-ifunc): New variable.
478 (tests): Add $(tests-ifunc).
479 * string/test-memccpy.c (TEST_NAME): New macro.
480 * string/test-memchr.c (TEST_NAME): Likewise.
481 * string/test-memcmp.c (TEST_NAME): Likewise.
482 * string/test-memcpy.c (TEST_NAME): Likewise.
483 * string/test-memmem.c (TEST_NAME): Likewise.
484 * string/test-memmove.c (TEST_NAME): Likewise.
485 * string/test-memset.c (TEST_NAME): Likewise.
486 * string/test-rawmemchr.c (TEST_NAME): Likewise.
487 * string/test-stpcpy.c (TEST_NAME): Likewise.
488 * string/test-stpncpy.c (TEST_NAME): Likewise.
489 * string/test-strcasecmp.c (TEST_NAME): Likewise.
490 * string/test-strcasestr.c (TEST_NAME): Likewise.
491 * string/test-strcat.c (TEST_NAME): Likewise.
492 * string/test-strchr.c (TEST_NAME): Likewise.
493 * string/test-strcmp.c(TEST_NAME): Likewise.
494 * string/test-strcpy.c (TEST_NAME): Likewise.
495 * string/test-strcspn.c (TEST_NAME): Likewise.
496 * string/test-strlen.c (TEST_NAME): Likewise.
497 * string/test-strncasecmp.c (TEST_NAME): Likewise.
498 * string/test-strncmp.c (TEST_NAME): Likewise.
499 * string/test-strncpy.c (TEST_NAME): Likewise.
500 * string/test-strnlen.c (TEST_NAME): Likewise.
501 * string/test-strpbrk.c (TEST_NAME): Likewise.
502 * string/test-strrchr.c (TEST_NAME): Likewise.
503 * string/test-strspn.c (TEST_NAME): Likewise.
504 * string/test-strstr.c (TEST_NAME): Likewise.
505 * string/test-bcopy-ifunc.c: New file.
506 * string/test-bzero-ifunc.c: Likewise.
507 * string/test-memccpy-ifunc.c: Likewise.
508 * string/test-memchr-ifunc.c: Likewise.
509 * string/test-memcmp-ifunc.c: Likewise.
510 * string/test-memcpy-ifunc.c: Likewise.
511 * string/test-memmem-ifunc.c: Likewise.
512 * string/test-memmove-ifunc.c: Likewise.
513 * string/test-mempcpy-ifunc.c: Likewise.
514 * string/test-memset-ifunc.c: Likewise.
515 * string/test-rawmemchr-ifunc.c: Likewise.
516 * string/test-stpcpy-ifunc.c: Likewise.
517 * string/test-stpncpy-ifunc.c: Likewise.
518 * string/test-strcasecmp-ifunc.c: Likewise.
519 * string/test-strcasestr-ifunc.c: Likewise.
520 * string/test-strcat-ifunc.c: Likewise.
521 * string/test-strchr-ifunc.c: Likewise.
522 * string/test-strchrnul-ifunc.c: Likewise.
523 * string/test-strcmp-ifunc.c: Likewise.
524 * string/test-strcpy-ifunc.c: Likewise.
525 * string/test-strcspn-ifunc.c: Likewise.
526 * string/test-strlen-ifunc.c: Likewise.
527 * string/test-strncasecmp-ifunc.c: Likewise.
528 * string/test-strncat-ifunc.c: Likewise.
529 * string/test-strncmp-ifunc.c: Likewise.
530 * string/test-strncpy-ifunc.c: Likewise.
531 * string/test-strnlen-ifunc.c: Likewise.
532 * string/test-strpbrk-ifunc.c: Likewise.
533 * string/test-strrchr-ifunc.c: Likewise.
534 * string/test-strspn-ifunc.c: Likewise.
535 * string/test-strstr-ifunc.c: Likewise.
536
de54b33a
L
537 * debug/Makefile (tests-ifunc): New variable.
538 (tests): Add $(tests-ifunc).
539 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
540 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
541 * debug/test-stpcpy_chk-ifunc.c: New file.
542 * debug/test-strcpy_chk-ifunc.c: Likewise.
543
88481c16
SP
5442012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
545
546 [BZ #13601]
547 * elf/dl-load.c (open_verify): Retry read if the entire ELF
548 header is not read in.
549
135948bd
JM
5502012-10-19 Joseph Myers <joseph@codesourcery.com>
551
89f1c388
JM
552 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
553 script to $(SHELL) as $<. Pass $(common-objpfx) to script
554 directly. Pass built executable to script as
555 $(built-program-cmd).
556 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
557 $testprogram without using LD_LIBRARY_PATH and $ldso.
558
e40a0d21
JM
559 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
560 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
561 $(rtld-installed-name).
562 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
563 (rtld_installed_name): Likewise.
564 (library_path): Likewise.
565 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
566 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
567 $(run-program-prefix) to tst-tables.sh.
568 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
569 it to run tst-table-from and tst-table-to.
570 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
571 Pass it to tst-table.sh.
572 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
573 $(run-program-prefix) to tst-gettext.sh.
574 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
575 tst-translit.sh.
576 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
577 tst-gettext2.sh.
578 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
579 to run tst-gettext.
580 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
581 to run tst-gettext2.
582 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
583 to run tst-translit.
584 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
585 $(run-program-prefix) to tst-mtrace.sh.
586 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
587 to run tst-mtrace.
588 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
589 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
590 $(rtld-installed-name).
591 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
592 (rtld_installed_name): Likewise.
593 (run_program_prefix): New variable. Use it to run wordexp-test.
594
728e272a
JM
595 * Makeconfig (ARCH): Remove all definitions.
596 (machine): Likewise.
597 [ARCH]: Remove conditional code.
598 [!objdir]: Give error.
599 [!objdir] (objpfx): Remove.
600 [!objdir] (common-objpfx): Likewise.
601 [!objdir] (common-objdir): Likewise.
602 * configure.in (config_makefile): Remove. Hardcode Makefile in
603 AC_CONFIG_FILES call.
604 * configure: Regenerated.
605
d528cdcf
JM
606 [BZ #13888]
607 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
608 or TMPDIR.
609 (testout): Likewise.
610
135948bd
JM
611 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
612 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
613 $(rtld-installed-name).
614 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
615 (rtld_installed_name): Likwise.
616 (runit): Remove function.
617 (run_getconf): New variable, Use it for running getconf binary.
618
38c78296
L
6192012-10-18 H.J. Lu <hongjiu.lu@intel.com>
620
621 [BZ #14716]
622 * string/test-memmem.c (check_result): New function.
623 (do_one_test): Use it.
624 (check1): New function.
625 (test_main): Use it.
626
d077f65f
MT
6272012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
628
629 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
630
ced52c71
JM
6312012-10-18 Joseph Myers <joseph@codesourcery.com>
632
633 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
634 (_G_LSEEK64): Likewise.
635 (_G_MMAP64): Likewise.
636 (_G_FSTAT64): Likewise.
637 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
638 (_G_LSEEK64): Likewise.
639 (_G_MMAP64): Likewise.
640 (_G_FSTAT64): Likewise.
641 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
642 unconditional. Call __mmap64 directly.
643 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
644 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
645 __lseek64 directly.
646 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
647 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
648 __mmap64 directly.
649 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
650 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
651 __lseek64 directly.
652 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
653 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
654 __lseek64 directly.
655 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
656 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
657 __lseek64 directly.
658 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
659 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
660 __fxstat64 directly.
661 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
662 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
663 unconditional.
664 (freopen64) [!_G_OPEN64]: Remove conditional code.
665 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
666 unconditional.
667 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
668 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
669 unconditional.
670 (ftello64) [!_G_LSEEK64]: Remove conditional code.
671 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
672 unconditional.
673 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
674 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
675 unconditional.
676 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
677 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
678 unconditional.
679 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
680 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
681 unconditional.
682 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
683 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
684 unconditional.
685 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
686
b741de23
SP
6872012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
688
689 [BZ #12140]
690 * manual/memory.texi (Malloc Tunable Parameters): Add note
691 about free list pointers overwriting some perturb bytes.
692 Wording suggested by Roland McGrath.
693
f9b9d9c9
JM
6942012-10-17 Joseph Myers <joseph@codesourcery.com>
695
696 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
697 (lgamma_test): Likewise.
698 (tgamma_test): Likewise.
699
172a631a
FW
7002012-10-16 Florian Weimer <fweimer@redhat.com>
701
702 [BZ #14700]
703 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
704 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
705
e9f37252
MK
7062012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
707
708 * NEWS: Mention BZ #14716.
709 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
710 when removing AVAILABLE1_USES_J macro.
711
d394eb74
L
7122012-10-12 H.J. Lu <hongjiu.lu@intel.com>
713
714 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
715 (__bswap_64): __uint64_t for unsigned 64-bit int.
716
ca38dc17
AS
7172012-10-12 Andreas Schwab <schwab@linux-m68k.org>
718
719 * include/string.h (memmem): Declare libc hidden alias.
720 * string/memmem.c (memmem): Define libc hidden alias.
721 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
722 __read, __close instead of open, read, close.
723
9a387d1f
L
7242012-10-11 H.J. Lu <hongjiu.lu@intel.com>
725
ac49ecaf
L
726 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
727 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
728 global and hidden.
729 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
730 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
731 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
732 Likewise.
733 (__rawmemchr_sse2): Likewise.
734 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
735 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
736 (__strchr_sse2): Likewise.
737 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
738 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
739 (__strcasecmp_sse2): Likewise.
740 (__strncasecmp_sse2): Likewise.
741 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
742 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
743 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
744 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
745 (__strrchr_sse2): Likewise.
746 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
747 ifunc-impl-list.c.
748 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
749 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
750 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
751 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
752 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
753 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
754 * sysdeps/x86_64/multiarch/memset.S: Likewise.
755 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
756 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
757 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
758 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
759 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
760 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
761 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
762 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
763 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
764 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
765 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
766 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
767 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
768 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
769 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
770 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
771 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
772 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
773 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
774 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
775 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
776 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
777 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
778
b090e8ea
L
779 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
780 global and hidden.
781 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
782 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
783 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
784 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
785 Likewise.
786 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
787 Likewise.
788 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
789 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
790 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
791 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
792 ifunc-impl-list.c.
793 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
794 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
795 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
796 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
797 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
798 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
799 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
800 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
801 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
802 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
803 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
804 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
805 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
806 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
807 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
808 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
809 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
810 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
811 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
812 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
813 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
814 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
815 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
816 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
817 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
818 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
819 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
820 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
821 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
822 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
823 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
824 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
825 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
826 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
827 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
828 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
829 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
830 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
831 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
832 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
833 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
834
11dd4af6
L
835 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
836 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
837 * include/ifunc-impl-list.h: New file.
838 * misc/ifunc-impl-list.c: Likewise.
839 * misc/Makefile (routines): Add ifunc-impl-list.
840 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
841 * string/test-string.h: Include <ifunc-impl-list.h>.
842 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
843 impl_array): New variables.
844 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
845 are defined.
846 (test_init): Call __libc_ifunc_impl_list to initialize
847 func_list if TEST_IFUNC and TEST_NAME are defined.
848
9a387d1f
L
849 * string/Makefile (strop-tests): Add bcopy and bzero.
850 * string/test-bcopy.c: New file.
851 * string/test-bzero.c: Likewise.
852 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
853 defined.
854 * string/test-memset.c: Support bzero test if TEST_BZERO is
855 defined.
856 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
857 __libc_memmove.
858 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
859 __libc_memset.
860 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
861 of memset.
862
472371b9
JM
8632012-10-10 Joseph Myers <joseph@codesourcery.com>
864
1e4a9536
JM
865 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
866 * configure: Regenerated.
867
d173d12e
JM
868 * Makeconfig (+link-static-before-libc): Don't include
869 $(link-static-libc).
870
472371b9
JM
871 * libio/libio.h (_IO_pos_t): Remove.
872
89a3ad0b
AO
8732012-10-10 Alexandre Oliva <aoliva@redhat.com>
874
875 * NEWS: Add note about FIPS mode. Wording suggested by Roland
876 McGrath.
877
e7451425
AO
8782012-10-10 Alexandre Oliva <aoliva@redhat.com>
879
880 * crypt/crypt-entry.c: Include fips-private.h.
881 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
882 * crypt/md5c-test.c (main): Tolerate disabled MD5.
883 * sysdeps/unix/sysv/linux/fips-private.h: New file.
884 * sysdeps/generic/fips-private.h: New file, dummy fallback.
885
4ba74a35
AO
8862012-10-10 Alexandre Oliva <aoliva@redhat.com>
887
888 * crypt/crypt-private.h: Include stdbool.h.
889 (_ufc_setup_salt_r): Return bool.
890 * crypt/crypt-entry.c: Include errno.h.
891 (__crypt_r): Return NULL with EINVAL for bad salt.
892 * crypt/crypt_util.c (bad_for_salt): New.
893 (_ufc_setup_salt_r): Check that salt is long enough and within
894 the specified alphabet.
895 * crypt/badsalttest.c: New file.
896 * crypt/Makefile (tests): Add it.
897 ($(objpfx)badsalttest): New.
898
f96f1242
MK
8992012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
900
901 * NEWS: Add entry for BZ #14602.
902
0e8e0c1c
JM
9032012-10-09 Joseph Myers <joseph@codesourcery.com>
904
905 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
906 type-generic.
907 * math/libm-test.inc: Update comment listing what functions and
908 macros are tested.
909 (isgreater_test): New function.
910 (isgreaterequal_test): Likewise.
911 (isless_test): Likewise.
912 (islessequal_test): Likewise.
913 (islessgreater_test): Likewise.
914 (isunordered_test): Likewise.
915 (main): Call the new functions.
916
273edc5e
RM
9172012-10-09 Roland McGrath <roland@hack.frob.com>
918
b8493de0
RM
919 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
920 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
921 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
922 * sysdeps/i386/configure: Regenerated.
923 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
924 * sysdeps/mach/configure: Regenerated.
925 * sysdeps/mach/hurd/configure: Regenerated.
926 * sysdeps/powerpc/configure: Regenerated.
927 * sysdeps/powerpc/powerpc32/configure: Regenerated.
928 * sysdeps/powerpc/powerpc64/configure: Regenerated.
929 * sysdeps/s390/s390-32/configure: Regenerated.
930 * sysdeps/s390/s390-64/configure: Regenerated.
931 * sysdeps/sh/configure: Regenerated.
932 * sysdeps/sparc/configure: Regenerated.
933 * sysdeps/unix/sysv/linux/configure: Regenerated.
934 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
935 * sysdeps/x86_64/configure: Regenerated.
936
273edc5e
RM
937 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
938 defined. Don't check if MAP is NULL.
939
c8450f70
JM
9402012-10-09 Joseph Myers <joseph@codesourcery.com>
941
942 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
943 (_G_stat64): Likewise.
944 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
945 (_G_stat64): Likewise.
946 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
947 instead of struct _G_stat64.
948 * libio/fileops.c (mmap_remap_check): Likewise.
949 (decide_maybe_mmap): Likewise.
950 (_IO_new_file_seekoff): Likewise.
951 (_IO_file_stat): Likewise.
952 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
953 _G_off64_t.
954 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
955 instead of struct _G_stat64.
956 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
957
57e605ba
MK
9582012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
959
960 [BZ #14602]
961 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
962 Replace with ...
963 (CHECK_EOL): New macro.
964 (two_way_short_needle): Check beginning of haystack for EOL. Use
965 CHECK_EOL.
966 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
967 Replace with CHECK_EOL.
968 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
969 Replace with CHECK_EOL.
970
ef1bb361
JM
9712012-10-08 Joseph Myers <joseph@codesourcery.com>
972
973 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
974 type-generic.
975 * math/libm-test.inc: Update comment listing what functions and
976 macros are tested.
977 (finite_test): New function.
978 (isinf_test): Likewise.
979 (isnan_test): Likewise.
980 (fpclassify_test): Test subnormal input.
981 (isfinite_test): Likewise.
982 (isnormal_test): Likewise.
983 (main): Call the new functions.
984
55f11534
JN
9852012-10-08 Jonathan Nieder <jrnieder@gmail.com>
986
987 [BZ #14660]
988 * Makerules (%.dynsym): Force C locale when running
989 $(OBJDUMP) --dynamic-syms.
990
1ab29350
AS
9912012-10-08 Andreas Schwab <schwab@linux-m68k.org>
992
993 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
994 <stdint.h>.
995
f1ecb7ef
DM
9962012-10-06 David S. Miller <davem@davemloft.net>
997
998 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
999 upper 32-bits of the length value in %o2 since we use branch-on-register
1000 tests which consider the entire 64-bit register.
1001
5d41d91a
L
10022012-10-06 H.J. Lu <hongjiu.lu@intel.com>
1003
1004 * string/test-strstr.c (check2): Add a test for page boundary.
1005
3baddb72
DM
10062012-10-05 David S. Miller <davem@davemloft.net>
1007
1008 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
1009 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
1010 file.
1011 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1012 sysdep_routines.
1013 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1014 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
1015 and bzero when HWCAP_SPARC_CRYPTO is present.
1016
9cee5585
L
10172012-10-05 H.J. Lu <hongjiu.lu@intel.com>
1018
d7e0dab9
L
1019 [BZ #14602]
1020 * string/test-strstr.c (check2): New function.
1021 (test_main): Call check2.
1022
03759f47
L
1023 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
1024 and bug-strchr1.
1025 * string/bug-strcasestr1.c (do_test): Moved to ...
1026 * string/test-strcasestr.c (check1): Here. New function.
1027 (do_one_test): Break out result checking code into ...
1028 (check_result): This. New function.
1029 (do_one_test): Call check_result.
1030 (test_main): Call check1.
1031 * string/bug-strchr1.c (do_test): Moved to ...
1032 * string/test-strchr.c (check1): Here. New function.
1033 (do_one_test): Break out result checking code into ...
1034 (check_result): This. New function.
1035 (do_one_test): Call check_result.
1036 (test_main): Call check1.
1037 * string/bug-strstr1.c (main): Moved to ...
1038 * string/test-strchr.c (check1): Here. New function.
1039 (do_one_test): Break out result checking code into ...
1040 (check_result): This. New function.
1041 (do_one_test): Call check_result.
1042 (test_main): Call check1.
1043 * string/bug-strcasestr1.c: Removed.
1044 * string/bug-strchr1.c: Likewise.
1045 * string/bug-strstr1.c: Likewise.
1046
53cea63e
L
1047 * elf/Makefile (dl-routines): Add hwcaps.
1048 * elf/dl-support.c (_dl_important_hwcaps): Removed.
1049 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
1050 (_dl_important_hwcaps): Moved to ...
1051 * elf/dl-hwcaps.c: Here. New file.
1052 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
1053
9cee5585 1054 [BZ #14557]
bb859b06
L
1055 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
1056 if IS_IN_rtld isn't defined.
1057
9cee5585
L
1058 * elf/dl-support.c (_dl_sysinfo_map): New.
1059 Include "get-dynamic-info.h" and "setup-vdso.h".
1060 (_dl_non_dynamic_init): Call setup_vdso.
1061 * elf/dynamic-link.h: Don't include <assert.h>.
1062 (elf_get_dynamic_info): Moved to ...
1063 * elf/get-dynamic-info.h: Here. New file.
1064 * elf/dynamic-link.h: Include "get-dynamic-info.h".
1065 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
1066 * elf/setup-vdso.h: Here. New file.
1067 * elf/rtld.c: Include "setup-vdso.h".
1068 (dl_main): Call setup_vdso.
1069
23c31b76
JM
10702012-10-05 Joseph Myers <joseph@codesourcery.com>
1071
28234b07
JM
1072 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1073 creal in comment listing functions tested. List finite, isinf,
1074 isnan, isless, islessequal, isgreater, isgreaterequal,
1075 islessgreater, isunordered, lgamma_r and pow10 as functions and
1076 macros not tested. Mention which functions not tested are aliases
1077 for other functions. Fix typo. Note that signs of NaNs are not
1078 tested.
1079
23c31b76
JM
1080 * scripts/config.guess: Update from config.git.
1081 * scripts/config.sub: Likewise.
1082
9043e228
RM
10832012-10-04 Roland McGrath <roland@hack.frob.com>
1084
1085 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1086 * misc/madvise.c (madvise): Renamed to __madvise.
1087 Make madvise a weak alias.
1088 * include/sys/mman.h: Declare __madvise.
1089 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1090 * sysdeps/unix/syscalls.list
1091 (madvise): Make __madvise the strong name, and madvise a weak alias.
1092 * sysdeps/unix/sysv/linux/syscalls.list
1093 (madvise, mmap): Remove redundant entries.
1094 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1095 * malloc/malloc.c (mtrim): Likewise.
1096 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1097
f57f8055
RM
10982012-10-03 Roland McGrath <roland@hack.frob.com>
1099
1100 * sysdeps/mach/hurd/dl-cache.c: File removed.
1101 * config.h.in (USE_LDCONFIG): New #undef.
1102 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1103 * configure: Regenerated.
1104 * elf/Makefile (dl-routines): Add dl-cache only under
1105 [$(use-ldconfig) = yes].
1106 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1107 cache on [USE_LDCONFIG].
1108 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1109 [USE_LDCONFIG].
1110 * elf/rtld.c (dl_main): Likewise.
1111
5bb0c10a
PT
11122012-10-03 Pino Toscano <toscano.pino@tiscali.it>
1113
1114 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1115 _SC_LEVEL4_CACHE_LINESIZE.
1116
010188c6
RM
11172012-10-03 Roland McGrath <roland@hack.frob.com>
1118
1119 * sysdeps/unix/bsd/confstr.h: File removed.
1120
b6c5ec07
AO
11212012-10-02 Alexandre Oliva <aoliva@redhat.com>
1122
1123 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1124 sys/sdt-config.h.
1125
408223d4
RM
11262012-10-02 Roland McGrath <roland@hack.frob.com>
1127
1128 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1129 Make 'mapoff' field ElfW(Off) rather than off_t.
1130
bb9510dc
DL
11312012-10-02 Dmitry V. Levin <ldv@altlinux.org>
1132
fc997c6e
DL
1133 * nscd/Makefile: Remove nscd-cflags and all its users.
1134 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1135 (CFLAGS-nonlib): Add compiler flags for nscd modules.
1136
bb9510dc
DL
1137 [BZ #10631]
1138 * malloc.c (malloc_printerr): Clarify error message.
1139
05699367
L
11402012-10-02 H.J. Lu <hongjiu.lu@intel.com>
1141
1142 [BZ #14648]
1143 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1144 Set bit_FMA_Usable if FMA is supported.
1145 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1146 macro.
1147 (bit_FMA4_Usable): Updated.
1148 (index_FMA_Usable): New macro.
1149 (CPUID_FMA): Likewise
1150 (HAS_FMA): Defined with bit_FMA_Usable.
1151
51367701
RM
11522012-10-01 Roland McGrath <roland@hack.frob.com>
1153
1154 * bits/types.h (__swblk_t): Type removed.
1155 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1156 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1157 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1158 (__SWBLK_T_TYPE): Likewise.
1159 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1160 (__SWBLK_T_TYPE): Likewise.
1161 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1162 (__SWBLK_T_TYPE): Likewise.
1163 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1164 (__SWBLK_T_TYPE): Likewise.
1165
4d57bf63 11662012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 1167 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
1168
1169 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1170 (xdr_mapname): Use YPMAXMAP as maxsize.
1171 (xdr_peername): Use YPMAXPEER as maxsize.
1172 (xdr_keydat): Use YPAXRECORD as maxsize.
1173 (xdr_valdat): Use YPMAXRECORD as maxsize.
1174
93c65d43
RM
11752012-10-01 Roland McGrath <roland@hack.frob.com>
1176
497a03d6
RM
1177 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1178
93c65d43
RM
1179 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1180 * csu/init-first.c: ... here.
1181 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1182 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1183 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1184 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1185 * sysdeps/i386/init-first.c: File removed.
1186 * sysdeps/sh/init-first.c: File removed.
1187
bec749fd
JM
11882012-10-01 Joseph Myers <joseph@codesourcery.com>
1189
1190 [BZ #14645]
1191 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1192 if x * y might underflow to zero and z is zero.
1193 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1194 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1195 * math/libm-test.inc (min_subnorm_value): New variable.
1196 (fma_test): Add more tests.
1197 (fma_test_towardzero): Likewise.
1198 (fma_test_downward): Likewise
1199 (fma_test_upward): Likewise.
1200 (initialize): Set min_subnorm_value.
1201
8ec5b013
JM
12022012-09-29 Joseph Myers <joseph@codesourcery.com>
1203
1204 [BZ #14638]
1205 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1206 0 + 0.
1207 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1208 mode for addition resulting in exact zero.
1209 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1210 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1211 exact 0 + 0.
1212 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1213 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1214 * math/libm-test.inc (fma_test): Add more tests.
1215 (fma_test_towardzero): New function.
1216 (fma_test_downward): Likewise.
1217 (fma_test_upward): Likewise.
1218 (main): Call the new functions.
1219
b1fa802e
DM
12202012-09-28 David S. Miller <davem@davemloft.net>
1221
1222 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1223
d3b9fd9e
RM
12242012-09-28 Roland McGrath <roland@hack.frob.com>
1225
ea4d37b3
RM
1226 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1227 instead of SIGALRM.
1228
ac51c949
RM
1229 * sysdeps/gnu/_G_config.h: Moved to ...
1230 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1231 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1232 * sysdeps/generic/_G_config.h: ... here.
1233
28c195f7
RM
1234 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1235
848917f9
RM
1236 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1237
6bacf05b
RM
1238 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1239 Conditionalize target on [libnss_test1.so-version].
1240
91363dbb
RM
1241 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1242
cc87f7d8
RM
1243 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1244 (elfobjdir): Move out of conditionals.
1245
b1c608fe
RM
1246 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1247 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1248 (__nss_lookup_function): Conditionalize label remove_from_tree on
1249 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 1250
1d9a6d96
DM
12512012-09-28 David S. Miller <davem@davemloft.net>
1252
1253 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1254 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1255 file.
1256 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1257 sysdep_routines.
1258 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1259 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1260 when HWCAP_SPARC_CRYPTO is present.
1261
72581615
PT
12622012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1263
1264 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1265
715a900c
JL
12662012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1267
1268 [BZ #6530]
1269 * stdio-common/vfprintf.c (process_string_arg): Revert
1270 2000-07-22 change.
1271
12722011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1273
1274 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1275 for testcase.
1276 * stdio-common/tst-sprintf.c: Include <locale.h>
1277 (main): Test sprintf's handling of incomplete multibyte
1278 characters.
1279
9bac1d86
L
12802012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1281
1282 * elf/dl-runtime.c (VERSYMIDX): Removed.
1283 * elf/dl-version.c (VERSYMIDX): Likewise.
1284 * elf/do-rel.h (VERSYMIDX): Likewise.
1285 (VALIDX): Likewise.
1286 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1287 * elf/rtld.c (VALIDX): Likewise.
1288 (ADDRIDX): Likewise.
9bac1d86
L
1289 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1290 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1291 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
1292 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1293 (VALIDX): Likewise.
1294 (ADDRIDX): Likewise.
9bac1d86 1295
b31606c0
PT
12962012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1297
1298 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1299
11541177
JL
13002012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1301
1302 [BZ #11438]
1303 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1304 to global scope.
1305 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1306 addresses are in the same scope as 192.0.2/24.
1307 * posix/gai.conf: Document new scope table defaults.
1308
adb26fae
SP
13092012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1310
1311 [BZ #5298]
1312 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1313 for ftell. Compute offsets from write pointers instead.
1314 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1315
4573c6b0
SP
13162012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1317
1318 [BZ #14543]
1319 * libio/Makefile (tests): New test case tst-fseek.
1320 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1321 combination works in wide mode.
1322 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1323 state when the external buffer state changes.
1324
aa9bbfe6
DM
13252012-09-27 David S. Miller <davem@davemloft.net>
1326
1327 [BZ #14376]
1328 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1329 pass reloc->r_addend in as the 'high' argument to
1330 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1331
784421e7
DM
1332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1333
c39bc8b8
PT
13342012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1335
1336 * rt/tst-aio2.c: Include <pthread.h>.
1337 * rt/tst-aio3.c: Likewise.
1338
1ccc2399
SE
13392012-09-27 Steve Ellcey <sellcey@mips.com>
1340
1341 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1342
31ed4153
L
13432012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1344
25f5f885
L
1345 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1346 contents on [SHARED].
31ed4153 1347
b7bfe116
MP
13482012-09-26 Marek Polacek <polacek@redhat.com>
1349
1350 [BZ #14530]
1351 [BZ #13741]
1352 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1353 for C++ and GCC <4.3 as well as for non GCC compilers.
1354
43c4edba
MT
13552012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1356
1357 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1358
6a1bf82f
RM
13592012-09-25 Roland McGrath <roland@hack.frob.com>
1360
1361 * Makefile.in (all, install): Declare with .PHONY.
1362 Reported by Michael Hope <michael.hope@linaro.org>.
1363
8ad11b9a
TMQMF
13642012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1365
1366 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1367 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1368 system header.
1369 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1370 Likewise.
1371 (sydep_routines): Add the new and the internal functions.
1372 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1373 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1375 (GLIBC_2.17): Add the new function.
1376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1377 (GLIBC_2.17): Likewise.
1378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1379 (GLIBC_2.17): Likewise.
1380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1381 (GLIBC_2.17): Likewise.
1382 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1383
7e2fca8d
AM
13842012-09-25 Alan Modra <amodra@gmail.com>
1385
1386 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1387 Add release barrier before setting once_control to say
1388 initialisation is done. Add hints on lwarx. Use macro in
1389 place of isync.
1390 (clear_once_control): Add release barrier.
1391
b87c4b24
JM
13922012-09-25 Joseph Myers <joseph@codesourcery.com>
1393
d032e0d2
JM
1394 [BZ #13629]
1395 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1396 specially.
1397 * math/s_clog10.c (__clog10): Likewise.
1398 * math/s_clog10f.c (__clog10f): Likewise.
1399 * math/s_clog10l.c (__clog10l): Likewise.
1400 * math/s_clogf.c (__clogf): Likewise.
1401 * math/s_clogl.c (__clogl): Likewise.
1402 * math/Makefile (libm-calls): Add x2y2m1.
1403 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1404 (__x2y2m1): Likewise.
1405 (__x2y2m1l): Likewise.
1406 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1407 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1408 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1409 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1410 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1411 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1412 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1413 * sysdeps/i386/fpu/libm-test-ulps: Update.
1414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1415
b87c4b24
JM
1416 [BZ #14621]
1417 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1418 int as type of variable DEPTH.
1419 (glob): Use size_t instead of int as type of variables NEWCOUNT
1420 and OLD_PATHC.
1421
6d3bf199
LD
14222012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1423
22bf5c17
LD
1424 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1425 Add s_sincosf-sse2.
1426 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1427 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1428 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1429 macros for using routine as __sincosf_ia32.
1430 Use macro for function declaration and weak_alias.
1431 * sysdeps/i386/fpu/libm-test-ulps: Update.
1432
1433 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1434 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1435
1436 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
1437 subnormal argument.
1438 * math/s_cexpf.c (__cexpf): Likewise.
1439 * math/s_csinf.c (__csinf): Likewise.
1440 * math/s_csinhf.c (__csinhf): Likewise.
1441 * math/s_ctanf.c (__ctanf): Likewise.
1442 * math/s_ctanhf.c (__ctanhf): Likewise.
1443 * math/s_ccosh.c (__ccoshf): Likewise.
1444 * math/s_cexp.c (__cexpl): Likewise.
1445 * math/s_csin.c (__csin): Likewise.
1446 * math/s_csinh.c (__csinh): Likewise.
1447 * math/s_ctan.c (__ctan): Likewise.
1448 * math/s_ctanh.c (ctanh): Likewise.
1449 * math/s_ccoshl.c (__ccoshl): Likewise.
1450 * math/s_cexpl.c (__cexpl): Likewise.
1451 * math/s_csinl.c (__csinl): Likewise.
1452 * math/s_csinhl.c (__csinhl): Likewise.
1453 * math/s_ctanl.c (__ctanl): Likewise.
1454 * math/s_ctanhl.c (__ctanhl): Likewise.
1455
203e5603
JM
14562012-09-25 Joseph Myers <joseph@codesourcery.com>
1457
1458 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1459 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1460 (_IO_off_t): Define to __off_t, not _G_off_t.
1461 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1462 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1463 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1464 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1465 type of __dummy and __dummy2 fields.
1466 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1467 (_G_ssize_t): Likewise.
1468 (_G_off_t): Likewise.
1469 (_G_pid_t): Likewise.
1470 (_G_uid_t): Likewise.
1471 (_G_wchar_t): Likewise.
1472 (_G_wint_t): Likewise.
1473 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1474 (_G_ssize_t): Likewise.
1475 (_G_off_t): Likewise.
1476 (_G_pid_t): Likewise.
1477 (_G_uid_t): Likewise.
1478 (_G_wchar_t): Likewise.
1479 (_G_wint_t): Likewise.
1480 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1481 (_G_ssize_t): Likewise.
1482 (_G_off_t): Likewise.
1483 (_G_pid_t): Likewise.
1484 (_G_uid_t): Likewise.
1485 (_G_wchar_t): Likewise.
1486 (_G_wint_t): Likewise.
1487
9fab36eb
SP
14882012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1489
1490 * malloc/arena.c: Include malloc-sysdep.h.
1491 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1492 is sufficient to shrink the heap or an unmap is needed.
1493 * sysdeps/generic/malloc-sysdep.h: New file. Define
1494 new function check_may_shrink_heap.
1495 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1496 new function check_may_shrink_heap.
1497
2b4f00d1
SP
14982012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1499
1500 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1501 comments.
1502
9a9028b1
DL
15032012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1504
57c69bef
DL
1505 * catgets/test-gencat.sh: Add "set -e".
1506 * elf/tst-pathopt.sh: Likewise.
1507 * grp/tst_fgetgrent.sh: Likewise.
1508 * iconvdata/run-iconv-test.sh: Likewise.
1509 * intl/tst-gettext.sh: Likewise.
1510 * intl/tst-gettext2.sh: Likewise.
1511 * intl/tst-gettext4.sh: Likewise.
1512 * intl/tst-gettext6.sh: Likewise.
1513 * intl/tst-translit.sh: Likewise.
1514 * io/ftwtest-sh: Likewise.
1515 * libio/test-freopen.sh: Likewise.
1516 * malloc/tst-mtrace.sh: Likewise.
1517 * posix/globtest.sh: Likewise.
1518 * posix/tst-getconf.sh: Likewise.
1519 * posix/wordexp-tst.sh: Likewise.
1520 * stdio-common/tst-printf.sh: Likewise.
1521 * stdio-common/tst-unbputc.sh: Likewise.
1522 * stdlib/tst-fmtmsg.sh: Likewise.
1523 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1524 * catgets/Makefile: Do not specify -e option when running
1525 testsuite shell scripts.
1526 * elf/Makefile: Likewise.
1527 * grp/Makefile: Likewise.
1528 * iconvdata/Makefile: Likewise.
1529 * intl/Makefile: Likewise.
1530 * io/Makefile: Likewise.
1531 * libio/Makefile: Likewise.
1532 * malloc/Makefile: Likewise.
1533 * posix/Makefile: Likewise.
1534 * stdio-common/Makefile: Likewise.
1535 * stdlib/Makefile: Likewise.
1536 * sysdeps/x86_64/Makefile: Likewise.
1537
9a9028b1
DL
1538 * io/ftwtest-sh: Add copyright header.
1539 * posix/globtest.sh: Likewise.
1540 * posix/tst-getconf.sh: Likewise.
1541 * posix/wordexp-tst.sh: Likewise.
1542 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1543
ced6f16e
L
15442012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1545
94b32c39
L
1546 [BZ #13679]
1547 * Makeconfig (+link): Defined as $(+link-static) if
1548 $(build-shared) isn't yes.
1549 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1550 isn't yes.
1551 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1552
189e935b
L
1553 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1554
ced6f16e
L
1555 [BZ #14562]
1556 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1557 new chunk size with MALLOC_ALIGN_MASK.
1558
a9f8e53a
JM
15592012-09-24 Joseph Myers <joseph@codesourcery.com>
1560
1561 [BZ #5044]
1562 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1563 <rounding-mode.h>.
1564 (__printf_fphex): Determine rounding using get_rounding_mode and
1565 round_away.
1566 * stdio-common/tst-printf-round.c (struct hex_test): New
1567 structure.
1568 (hex_tests): New variable.
1569 (test_hex_in_one_mode): New function.
1570 (do_test): Also run tests for hex float output.
1571
43153109
JM
15722012-09-21 Joseph Myers <joseph@codesourcery.com>
1573
1574 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1575 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1576 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1577 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1578 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1579 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1580 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1581 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1582
8a26625d
JM
15832012-09-20 Joseph Myers <joseph@codesourcery.com>
1584
1585 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1586 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1587 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1588 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1589
f3fd569c
DL
15902012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1591
1592 [BZ #14579]
1593 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1594 mode only.
1595 * elf/tst-rtld-load-self.sh: New test.
1596 * elf/Makefile: Run it.
1597
63bbedd4
JM
15982012-09-18 Joseph Myers <joseph@codesourcery.com>
1599
1600 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1601 (tst-writev-ENV): Remove.
1602 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1603
626f8b6a
CM
16042012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1605
1606 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1607
b7aaa4d6
JM
16082012-09-17 Joseph Myers <joseph@codesourcery.com>
1609
1610 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1611 unconditional.
1612 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1613 Likewise.
1614 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1615 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1616 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1617 Likewise.
1618
65513990
L
16192012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1620
1621 [BZ #14587]
1622 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1623 * config.make.in (have-cpp-asm-debuginfo): Removed.
1624 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1625 * configure: Regenerated.
1626
784761be
JM
16272012-09-14 Joseph Myers <joseph@codesourcery.com>
1628
1629 [BZ #5044]
1630 * stdio-common/printf_fp.c: Include <stdbool.h> and
1631 <rounding-mode.h>.
1632 (___printf_fp): Determine rounding using get_rounding_mode and
1633 round_away.
1634 * stdio-common/tst-printf-round.c: New file.
1635 * stdio-common/Makefile (tests): Add tst-printf-round.
1636 (link-libm): New variable.
1637 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1638
9503345f
L
16392012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1640
1641 [BZ #14576]
1642 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1643 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1644 Likewise.
1645 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1646 Likewise.
1647
ad35fc00
JM
16482012-09-13 Joseph Myers <joseph@codesourcery.com>
1649
1650 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1651 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1652 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1653 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1654
6c9b0f68
JM
16552012-09-12 Joseph Myers <joseph@codesourcery.com>
1656
1657 [BZ #14518]
1658 * include/rounding-mode.h: New file.
1659 * sysdeps/generic/get-rounding-mode.h: Likewise.
1660 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1661 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1662 (MAX_VALUE): New macro.
1663 (MIN_VALUE): Likewise.
1664 (overflow_value): New function.
1665 (underflow_value): Likewise.
1666 (round_and_return): Use overflow_value and underflow_value to
1667 determine return values in overflow and underflow cases. Use
1668 round_away to determine rounding depending on rounding mode.
1669 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1670 determine return values in overflow and underflow cases.
1671 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1672 (struct test_results): New structure.
1673 (struct test): Use struct test_results to store expected results
1674 for all rounding modes.
1675 (TEST): Include expected results for all rounding modes.
1676 (test_in_one_mode): New function.
1677 (do_test): Use test_in_one_mode to compute and check results.
1678 Check results for all rounding modes.
1679 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1680 $(link-libm).
1681
19fcedd5
AM
16822012-12-09 Allan McRae <allan@archlinux.org>
1683
1e9d84cd 1684 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 1685
8bbfd2f1
JM
16862012-09-11 Joseph Myers <joseph@codesourcery.com>
1687
1688 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1689 (_G_int32_t): Likewise.
1690 (_G_uint16_t): Likewise.
1691 (_G_uint32_t): Likewise.
1692 (_G_HAVE_BOOL): Likewise.
1693 (_G_HAVE_ATEXIT): Likewise.
1694 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1695 (_G_HAVE_IO_FILE_OPEN): Likewise.
1696 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1697 (_G_int32_t): Likewise.
1698 (_G_uint16_t): Likewise.
1699 (_G_uint32_t): Likewise.
1700 (_G_HAVE_BOOL): Likewise.
1701 (_G_HAVE_ATEXIT): Likewise.
1702 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1703 (_G_HAVE_IO_FILE_OPEN): Likewise.
1704 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1705 (_G_int32_t): Likewise.
1706 (_G_uint16_t): Likewise.
1707 (_G_uint32_t): Likewise.
1708 (_G_HAVE_BOOL): Likewise.
1709 (_G_HAVE_ATEXIT): Likewise.
1710 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1711 (_G_HAVE_IO_FILE_OPEN): Likewise.
1712
b1dc5912
L
17132012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1714
1715 * csu/libc-tls.c: Update copyright years.
1716
0e886ef9
JM
17172012-09-10 Joseph Myers <joseph@codesourcery.com>
1718
28361c5e
JM
1719 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1720 [!_G_USING_THUNKS]: Remove conditional code.
1721 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1722 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1723
0e886ef9
JM
1724 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1725 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1726 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1727 (_G_VTABLE_LABEL_PREFIX): Likewise.
1728 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1729 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1730 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1731 (_G_VTABLE_LABEL_PREFIX): Likewise.
1732 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1733 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1734 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1735 (_G_VTABLE_LABEL_PREFIX): Likewise.
1736 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1737
bcba7aa2
L
17382012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1739
1740 * libio/Makefile: Include ../Makeconfig before tests.
1741 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1742 only if $(build-shared) is yes.
1743
06585ee8
L
1744 * iconv/gconv_db.c: Update copyright years.
1745
80ccd52c
LD
17462012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1747
1748 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1749 unwind info if defined PIC. Fix special cases description.
1750 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1751
1752 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1753 DP_HI_MASK entry.
1754 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1755
691bc9c1
L
17562012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1757
3d9b46b3
L
1758 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1759
de2139a9
L
1760 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1761 is NULL.
1762
5ca78dd0
L
1763 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1764 (LDLIBS-tst-chk4): This.
1765 (LDFLAGS-tst-chk5): Renamed to ...
1766 (LDLIBS-tst-chk5): This.
1767 (LDFLAGS-tst-chk6): Renamed to ...
1768 (LDLIBS-tst-chk6): This.
1769 (LDFLAGS-tst-lfschk4): Renamed to ...
1770 (LDLIBS-tst-lfschk4): This.
1771 (LDFLAGS-tst-lfschk5): Renamed to ...
1772 (LDLIBS-tst-lfschk5): This.
1773 (LDFLAGS-tst-lfschk6): Renamed to ...
1774 (LDLIBS-tst-lfschk6): This.
1775
691bc9c1
L
1776 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1777 on $(common-objpfx)soversions.mk.
1778
65cafb1c
JM
17792012-09-07 Joseph Myers <joseph@codesourcery.com>
1780
1781 [BZ #10014]
1782 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1783 example host name.
1784
c78ab094
SP
17852012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1786
1787 * malloc/arena.c (arena_get_retry): New function that gets
1788 another arena for the caller to try its request on.
1789 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1790 current arena cannot fulfill the request.
1791 (__libc_memalign): Likewise.
1792 (__libc_memalign): Likewise.
1793 (__libc_pvalloc): Likewise.
1794 (__libc_calloc): Likewise.
1795
01f49f59
JT
17962012-09-05 John Tobey <john.tobey@gmail.com>
1797
1798 [BZ #13542]
1799 * manual/arith.texi (Operations on Complex): Fix description
1800 of carg branch cut.
1801
4c23fed5
JM
18022012-09-06 Joseph Myers <joseph@codesourcery.com>
1803
1d3c8572
JM
1804 [BZ #10014]
1805 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1806 host name.
1807
4c23fed5
JM
1808 [BZ #10038]
1809 * manual/memory.texi (Memory): Make order of menu items match
1810 order of sections.
1811
04570aaa
L
18122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1813
1814 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1815 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1816 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1817
b80af2f4
L
18182012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1819
1820 * csu/libc-tls.c (static_dtv): Renamed to ...
1821 (_dl_static_dtv): This. Make it global.
1822 (_dl_initial_dtv): Removed.
1823 (__libc_setup_tls): Updated.
1824 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1825 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1826 DL_INITIAL_DTV.
1827
2abe9f15
PM
18282012-09-06 Petr Machata <pmachata@redhat.com>
1829
1830 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1831 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1832 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1833 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1834
0948c3af
L
18352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1836
1837 [BZ #14545]
1838 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1839 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1840 freeing dtv[-1].
1841
a5055ad1
L
18422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1843
1844 [BZ #14544]
1845 * Makeconfig (link-static-before-libc): Replace $(+prector)
1846 with $(+prectorT).
1847 (link-static-after-libc): Replace $(+postctor) with
1848 $(+postctorT).
1849 (link-bounded): Replace $(+prector)/$(+postctor) with
1850 $(+prectorT)/$(+postctorT).
1851 (+prectorT): New macro.
1852 (+postctorT): Likewise.
1853
ed8c2ecd
JM
18542012-09-06 Joseph Myers <joseph@codesourcery.com>
1855
1856 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1857 (round_str): Handle values above the maximum for IBM long double
1858 as inexact.
1859 * stdlib/tst-strtod-round.c (tests): Regenerated.
1860
14c996c8
AK
18612012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1862
1863 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1864 assembler flag.
1865 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1866 zarch_nohighgprs around the zarch optimized routines.
1867 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1868 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1869 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1870 for zarch.
1871
430d6ce6
DM
18722012-09-05 David S. Miller <davem@davemloft.net>
1873
1874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1875
ff04dda4
DM
1876 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1877 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1878 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1879 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1880 entries.
1881
24d4e01b
AO
18822012-09-05 Alexandre Oliva <aoliva@redhat.com>
1883
1884 * malloc/arena.c: Fold copyright years.
1885 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1886
61d58174
AO
18872012-09-05 Alexandre Oliva <aoliva@redhat.com>
1888
1889 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1890
20196a5e
AO
18912012-09-05 Alexandre Oliva <aoliva@redhat.com>
1892
1893 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1894
5c447383
AO
18952012-09-05 Alexandre Oliva <aoliva@redhat.com>
1896
1897 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1898 change internal state upon failure.
1899
fad64255
AO
19002012-09-05 Alexandre Oliva <aoliva@redhat.com>
1901
1902 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1903 * malloc/memusage.c (mmap): Likewise.
1904 (mmap64, mremap): Likewise. Adjust name in comment.
1905
1ffb8c90
SP
19062012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1907
1908 * libio/fileops.c: Fix typos in comments.
1909 * libio/oldfileops.c: Likewise.
1910 * libio/wfileops.c: Likewise.
1911
6ef9cc37
SP
19122012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1913
1914 [BZ #1349]
1915 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1916 (tst-malloc-usable-ENV): Set environment for test case.
1917 * malloc/hooks.c (malloc_check_get_size): New function to get
1918 requested size.
1919 * malloc/malloc.c (musable): Use malloc_check_get_size.
1920 * malloc/tst-malloc-usable.c: New test case.
1921
4d038ae3
AS
19222012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1923
1924 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1925
c4e85184
AM
19262012-09-05 Allan McRae <allan@archlinux.org>
1927
b9dafc56 1928 [BZ #13966]
c4e85184
AM
1929 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1930 determine header location.
1931 * configure: Regenerated.
1932
e1343020
AS
19332012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1934
1935 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1936 float format.
1937 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
1938 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1939 format.
e1343020
AS
1940 (test): Regenerate.
1941
0a9f1987
DM
19422012-09-04 David S. Miller <davem@davemloft.net>
1943
1944 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1945 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1946 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1947
29237804
FW
19482012-09-04 Florian Weimer <fweimer@redhat.com>
1949
1950 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1951 failures.
1952
edb3cb88
FW
1953 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1954
60160d83
JM
19552012-09-04 Joseph Myers <joseph@codesourcery.com>
1956
1957 [BZ #9914]
1958 * libio/iogetdelim.c: Include <limits.h>.
1959 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1960 + len + 1 would overflow.
1961
bcd6c8dc
AJ
19622012-09-03 Andreas Jaeger <aj@suse.de>
1963
1964 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1965 * sysdeps/i386/fpu/libm-test-ulps: Update.
1966
4ffffbd2
LD
19672012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1968
1969 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1970 Add s_sinf-sse2, s_conf-sse2.
1971
1972 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1973 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1974 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1975 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1976
1977 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1978 for using routine as __sinf_ia32.
1979 Use macro for function declaration and weak_alias.
1980 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1981 for using routine as __cosf_ia32.
1982 Use macro for function declaration and weak_alias.
1983
1984 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1985 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1986
1987 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1988 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1989 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1990
1991 * math/libm-test.inc (cos_test): Add more test cases.
1992 (sin_test): Likewise.
1993 (sincos_test): Likewise.
1994
511fa286
AK
19952012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1996
1997 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1998 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1999 hidden.
2000 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2001
5f30cfec
L
20022012-09-02 H.J. Lu <hongjiu.lu@intel.com>
2003
2004 [BZ #14538]
2005 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
2006 first element of the GOT.
2007 (elf_machine_load_address): Return the difference between
2008 the runtime address of _DYNAMIC and elf_machine_dynamic ().
2009
0786794f
AM
20102012-09-01 Allan McRae <allan@archlinux.org>
2011
5f30cfec
L
2012 [BZ #13412]
2013 * configure.in (AWK): Require gawk version 3.0 or later.
2014 * configure: Regenerated.
0786794f 2015
26889eac
JM
20162012-09-01 Joseph Myers <joseph@codesourcery.com>
2017
2018 * sysdeps/unix/sysv/linux/kernel-features.h
2019 (__ASSUME_POSIX_CPU_TIMERS): Remove.
2020 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2021 [__NR_clock_getres]: Make code unconditional.
2022 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
2023 (clock_getcpuclockid): Remove code left unreachable by removal of
2024 conditionals.
2025 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
2026 code unconditional.
2027 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2028 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2029 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
2030 Make code unconditional.
2031 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2032 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2033 * sysdeps/unix/sysv/linux/clock_settime.c
2034 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
2035 conditional code.
2036 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
2037 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2038
d22e28b0
L
20392012-08-29 H.J. Lu <hongjiu.lu@intel.com>
2040
2041 [BZ #14476]
2042 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
2043 scripts/test-installation.pl.
2044
2045 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
2046 and $ld_so_version if it is set.
2047
050af9c4
SP
20482012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2049
2050 [BZ #14516]
2051 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
2052 failure if reading from procfs failed.
2053 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
2054
ad845c0b
JM
20552012-08-27 Joseph Myers <joseph@codesourcery.com>
2056
2057 * sysdeps/unix/sysv/linux/kernel-features.h
2058 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
2059 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2060 Remove conditional code.
2061 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2062 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
2063 Remove conditional code.
2064 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2065 * sysdeps/unix/sysv/linux/i386/fxstat.c
2066 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2067 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2068 * sysdeps/unix/sysv/linux/i386/fxstatat.c
2069 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2070 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2071 * sysdeps/unix/sysv/linux/i386/lxstat.c
2072 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2073 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2074 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2075 Remove conditional code.
2076 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2077 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2078 Remove conditional code.
2079 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2080 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2081 <kernel-features.h>.
2082 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2083 Remove.
2084 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2085 Remove conditional code.
2086 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2087 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2088 Remove conditional.
2089
5dbf56af
MF
20902012-08-27 Mike Frysinger <vapier@gentoo.org>
2091
2092 [BZ #5400]
2093 * NEWS: Add fixed bug number.
2094
d6e70f43
JM
20952012-08-27 Joseph Myers <joseph@codesourcery.com>
2096
7efb4737
JM
2097 [BZ #14519]
2098 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2099 underflowing exponent in case of negative sign.
2100 * stdlib/tst-strtod-round-data: Add more tests.
2101 * stdlib/tst-strtod-round.c (tests): Regenerated.
2102
af92131a
JM
2103 [BZ #3479]
2104 * stdlib/strtod_l.c (NDIG): Remove.
2105 (HEXNDIG): Likewise.
2106 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2107 smallest representable value.
2108 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2109 lie within an exact representation of 1/2 ulp of the result.
2110 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2111 unconditionally.
2112 (TENS_P9_IDX): Define unconditionally.
2113 (TENS_P9_SIZE): Likewise.
2114 (TENS_P10_IDX): Likewise.
2115 (TENS_P10_SIZE): Likewise.
2116 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2117 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2118 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2119 entries for 10^2^13 and 10^2^14.
2120 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2121 (TENS_P13_IDX): Define.
2122 (TENS_P13_SIZE): Likewise.
2123 (TENS_P14_IDX): Likewise.
2124 (TENS_P14_SIZE): Likewise.
2125 (_fpioconst_pow10): Change array size to
2126 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
2127 unconditional.
2128 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2129 1024]: Add entries for 10^2^13 and 10^2^14.
2130 [LAST_POW10 > _LAST_POW10]: Remove #error.
2131 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2132 (_fpioconst_pow10): Change array size to
2133 FPIOCONST_POW10_ARRAY_SIZE.
2134 * stdlib/gen-fpioconst.c: New file.
2135 * stdlib/gen-tst-strtod-round.c: Likewise.
2136 * stdlib/tst-strtod-round-data: Likewise.
2137 * stdlib/tst-strtod-round.c: Likewise.
2138 * stdlib/Makefile (tests): Add tst-strtod-round.
2139
d6e70f43
JM
2140 [BZ #14459]
2141 * stdlib/strtod_l.c: Include <stdint.h>.
2142 (NDEBUG): Do not define.
2143 (round_and_return): Change EXPONENT parameter to type intmax_t.
2144 Rearrange calculations to avoid internal overflow possibilities.
2145 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2146 Rearrange calculations to avoid internal overflow possibilities.
2147 Assert that number fits inside MPNSIZE limbs.
2148 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2149 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
2150 calculations and add assertions to avoid internal overflow
2151 possibilities. Add casts to avoid signed/unsigned operations.
2152 * stdlib/tst-strtod-overflow.c: New file.
2153 * stdlib/Makefile (tests): Add tst-strtod-overflow.
2154
1f529f7d
MP
21552012-08-25 Marek Polacek <polacek@redhat.com>
2156
2157 * time/time.h: Fix some typos in comments.
2158
59a629f1
RM
21592012-08-23 Roland McGrath <roland@hack.frob.com>
2160
2161 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2162 * posix/tst-rfc3484-2.c: Likewise.
2163 * posix/tst-rfc3484-3.c: Likewise.
2164
d3bafbc9
SM
21652012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2166
2167 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2168 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2169
4efcc022
JM
21702012-08-23 Joseph Myers <joseph@codesourcery.com>
2171
2172 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2173 #include of fxstatat64.c.
2174
3cc3ef96
RM
21752012-08-22 Roland McGrath <roland@hack.frob.com>
2176
f04e2132
RM
2177 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2178 * shadow/getspent_r.c: Likewise.
2179 * shadow/getspnam.c: Likewise.
2180 * shadow/getspnam_r.c: Likewise.
2181 * gshadow/getsgent.c: Likewise.
2182 * gshadow/getsgent_r.c: Likewise.
2183 * gshadow/getsgnam.c: Likewise.
2184 * gshadow/getsgnam_r.c: Likewise.
2185 * inet/getnetbyad.c: Likewise.
2186 * inet/getnetbyad_r.c: Likewise.
2187 * inet/getnetbynm.c: Likewise.
2188 * inet/getnetbynm_r.c: Likewise.
2189 * inet/getnetent.c: Likewise.
2190 * inet/getnetent_r.c: Likewise.
2191 * inet/getproto.c: Likewise.
2192 * inet/getproto_r.c: Likewise.
2193 * inet/getprtent.c: Likewise.
2194 * inet/getprtent_r.c: Likewise.
2195 * inet/getprtname.c: Likewise.
2196 * inet/getprtname_r.c: Likewise.
2197 * inet/getrpcbyname.c: Likewise.
2198 * inet/getrpcbyname_r.c: Likewise.
2199 * inet/getrpcbynumber.c: Likewise.
2200 * inet/getrpcbynumber_r.c: Likewise.
2201 * inet/getrpcent.c: Likewise.
2202 * inet/getrpcent_r.c: Likewise.
2203 * inet/getaliasent.c: Likewise.
2204 * inet/getaliasent_r.c: Likewise.
2205 * inet/getaliasname.c: Likewise.
2206 * inet/getaliasname_r.c: Likewise.
2207 * nscd/getgrgid_r.c: Likewise.
2208 * nscd/getgrnam_r.c: Likewise.
2209 * nscd/gethstbyad_r.c: Likewise.
2210 * nscd/gethstbynm3_r.c: Likewise.
2211 * nscd/getpwnam_r.c: Likewise.
2212 * nscd/getpwuid_r.c: Likewise.
2213 * nscd/getsrvbynm_r.c: Likewise.
2214 * nscd/getsrvbypt_r.c: Likewise.
2215 * nscd/gai.c: Likewise.
2216
c53d909c
RM
2217 * configure.in (build_nscd): New substituted variable, set
2218 by --disable-build-nscd and defaults to $use_nscd.
2219 * configure: Regenerated.
2220 * config.make.in (build-nscd): New substituted variable.
2221 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2222 Change conditional to require [$(build-nscd) = yes] as well.
2223 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2224
3cc3ef96
RM
2225 [BZ# 13696]
2226 * configure.in (use_nscd): New substituted variable, set by
2227 --disable-nscd. If enabled, define USE_NSCD.
2228 * configure: Regenerated.
2229 * config.h.in: Add USE_NSCD.
2230 * config.make.in (use-nscd): New substituted variable.
2231 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2232 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2233 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2234 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2235 (CFLAGS-getgrnam_r.c): Likewise.
2236 (CFLAGS-initgroups.c): Likewise.
2237 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2238 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2239 Variables removed.
2240 * inet/getnetgrent_r.c
2241 (nscd_setnetgrent): New function, broken out of ...
2242 (setnetgrent): ... here. Call it.
2243 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2244 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2245 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2246 * nscd/Makefile (routines, aux): Move definitions after include of
2247 Makeconfig. Conditionalize on [$(use-nscd) != no].
2248 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2249 Conditionalize on [USE_NSCD].
2250 (is_nscd, nscd_init_cb): Likewise.
2251 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2252 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2253 * nss/nss_db/db-init.c: Likewise.
2254 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2255 [USE_NSCD].
2256 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2257 (make_request): Use it.
2258 (cache_valid_p): New function.
2259 (__check_pf): Use it.
2260 * NEWS: Add item for --disable-nscd.
2261
07e51550
DL
22622012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2263
2264 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2265 to support sed >= 4.2.1-20-ga9bf076.
2266 * configure: Regenerated.
2267
35a5b08b
RM
22682012-08-22 Roland McGrath <roland@hack.frob.com>
2269
2270 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2271 Conditionalize whole body on [IREL].
2272
8479f23a
JL
22732012-08-22 Jeff Law <law@redhat.com>
2274
2275 [BZ #14505]
2276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2277 if the family is PF_UNSPEC.
2278
48da0b21
MF
22792012-08-22 Mike Frysinger <vapier@gentoo.org>
2280
2281 * Makerules (lib-version): Rename from V.
2282 (install-lib-nosubdir): Change V to lib-version.
2283
15d0da8c
WS
22842012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2285
2286 [BZ #14252]
2287 * powerpc32/power6/wcschr.c: New file.
2288 * powerpc32/power6/wcscpy.c: New file.
2289 * powerpc32/power6/wcsrchr.c: New file.
2290 * powerpc64/power6/wcschr.c: New file.
2291 * powerpc64/power6/wcscpy.c: New file.
2292 * powerpc64/power6/wcsrchr.c: New file.
2293
bcca0895
MK
22942012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2295
2296 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2297 (two_way_short_needle): Use it.
5a4aaa33
RM
2298 * string/strstr.c (AVAILABLE1_USES_J): Define.
2299 * string/strcasestr.c: Likewise.
99677e57
MK
2300
2301 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2302 array references.
2303 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2304
400726de
MK
2305 [BZ #11607]
2306 * NEWS: Add an entry.
2307 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2308 define their defaults.
2309 (two_way_short_needle): Detect end-of-string on-the-fly.
2310 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2311 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2312 * string/bug-strcasestr1.c: New test.
2313 * string/Makefile: Run it.
2314
20a71f2c
MK
23152012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2316
2317 [BZ #11607]
2318 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2319 the first character.
2320
21ad0558
RM
23212012-08-21 Roland McGrath <roland@hack.frob.com>
2322
2323 * csu/elf-init.c (__libc_csu_irel): Function removed.
2324 * csu/libc-start.c (apply_irel): New function.
2325 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2326
0e1d9911
JM
23272012-08-21 Joseph Myers <joseph@codesourcery.com>
2328
2329 * sysdeps/unix/sysv/linux/kernel-features.h
2330 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2331 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2332 <kernel-features.h>.
2333 [__NR_fadvise64_64]: Make code unconditional.
2334 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2335 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2336 !__NR_fadvise64_64)]: Likewise.
2337 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2338 !__NR_fadvise64_64))]: Likewise.
2339 [__NR_fadvise64]: Make code unconditional.
2340 [!__NR_fadvise64]: Remove conditional code.
2341 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2342 <kernel-features.h>.
2343 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2344 unconditional.
2345 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2346 conditional code.
2347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2348 not include <kernel-features.h>.
2349 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2350 unconditional.
2351 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2352 conditional code.
2353 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2354 include <kernel-features.h>.
2355 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2356 unconditional.
2357 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2358 conditional code.
2359
14a50c9d
WS
23602012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2361
2362 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2363 slight instruction rearrangements per scrollpipe analysis.
2364 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2365
c0f4faf0
RM
23662012-08-20 Roland McGrath <roland@hack.frob.com>
2367
696da859
RM
2368 * manual/syslog.texi (syslog; vsyslog, closelog):
2369 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2370 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2371
c0f4faf0
RM
2372 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2373 DSOCAPS to match condition on defining it.
2374
348363b2
JM
23752012-08-20 Joseph Myers <joseph@codesourcery.com>
2376
a35cbf28
JM
2377 * sysdeps/unix/sysv/linux/kernel-features.h
2378 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2380 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2381 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2383 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2384 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2386 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2387 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2388
445f7ecd
JM
2389 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2390 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2391
348363b2
JM
2392 * sysdeps/unix/sysv/linux/kernel-features.h
2393 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2394 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2395 unconditional.
2396 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2397 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2398 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2399 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2400 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2401 Make code unconditional.
2402 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2403 (__mmap64) [!__NR_mmap2]: Likewise.
2404 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2405 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2406 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2407 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2408 [__NR_mmap2]: Make code unconditional.
2409 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2410 (__mmap64) [!__NR_mmap2]: Likewise.
2411
bc5bc0e5
AK
24122012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2413
2414 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2415
88d506de
AJ
24162012-08-18 Andreas Jaeger <aj@suse.de>
2417
2418 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2419
493387d2
MF
24202012-08-18 Mike Frysinger <vapier@gentoo.org>
2421
2422 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2423 * include/unistd.h (__have_sock_cloexec): Likewise.
2424 (__have_pipe2): Likewise.
2425 (__have_dup3): Likewise.
2426
a277af22
MF
24272012-08-18 Mike Frysinger <vapier@gentoo.org>
2428
2429 [BZ #9685]
2430 * include/unistd.h (__have_pipe2): Change define into an extern int.
2431 (__have_dup3): Likewise.
2432 * socket/have_sock_cloexec.c: Include fcntl.h.
2433 (__have_pipe2): New variable.
2434 (__have_dup3): Likewise.
2435
fdab8fd3
MF
24362012-08-17 Mike Frysinger <vapier@gentoo.org>
2437
2438 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2439
31035e80
MP
24402012-08-17 Marek Polacek <polacek@redhat.com>
2441
2442 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2443 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2444
3bd9e993
RM
24452012-08-17 Roland McGrath <roland@hack.frob.com>
2446
c91c505f
RM
2447 * configure.in: Add AC_SUBST for sysheaders.
2448 * configure: Regenerated.
2449 * config.make.in (sysheaders): New substituted variable.
2450
7c6f9d53
RM
2451 * sysdeps/unix/mkfifo.c: Moved ...
2452 * sysdeps/posix/mkfifo.c: ... here.
2453 * sysdeps/unix/mkfifoat.c: Moved ...
2454 * sysdeps/posix/mkfifoat.c: ... here.
2455
2456 * sysdeps/unix/utime.c: Moved ...
2457 * sysdeps/posix/utime.c: ... here.
2458
2459 * sysdeps/unix/time.c: Moved ...
2460 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
2461 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2462 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
2463
2464 * sysdeps/unix/nice.c: Moved ...
2465 * sysdeps/posix/nice.c: ... here.
2466
2467 * sysdeps/unix/alarm.c: Moved ...
2468 * sysdeps/posix/alarm.c: ... here.
2469
3bd9e993
RM
2470 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2471
d1f09384
JL
24722012-08-17 Jeff Law <law@redhat.com>
2473
2474 * intl/Makefile (codeset_mo): New variable.
2475 ($(codeset_mo)): New target.
2476 (tst-codeset.out): Depend on that. Remove explicit rule.
2477 (tst-gettext3.out, tst-gettext5.out): Likewise.
2478 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2479 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2480 * intl/tst-codeset.sh: Remove.
2481 * intl/tst-gettext3.sh: Likewise.
2482 * intl/tst-gettext5.sh: Likewise.
2483
2ae1ae5c
RM
24842012-08-17 Roland McGrath <roland@hack.frob.com>
2485
c31fdb83
RM
2486 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2487 * sysdeps/unix/syscalls.list: ... here.
2488
a0844057
RM
2489 * sysdeps/posix/getaddrinfo.c
2490 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2491 (gaiconf_init, gaiconf_reload): Use them.
2492 [!_STATBUF_ST_NSEC]
2493 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2494 Define using time_t rather than struct timespec.
2495
750c1f2a
RM
2496 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2497 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2498 Macros removed.
2499 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2500 [!NO_THREADS].
2501 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2502 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2503 Likewise.
2504
2ae1ae5c
RM
2505 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2506 __libc_cleanup_push argument.
2507
e66a42f5
RM
2508 * bits/param.h: New file.
2509 * misc/sys/param.h: New file.
2510 * include/sys/param.h: New file.
2511 * misc/Makefile (headers): Add bits/param.h.
2512 * sysdeps/generic/sys/param.h: File removed.
2513 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2514 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2515 * sysdeps/mach/hurd/bits/param.h: New file.
2516 * sysdeps/mach/hurd/sys/param.h: New file.
2517
b7c08a66
RM
2518 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2519 last change.
2520
b2e1c562
RM
2521 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2522 [_IO_MTSAFE_IO].
2523 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2524 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2525 New macros.
2526
c75ccd4c
RM
2527 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2528 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2529 rather than -D_IO_MTSAFE_IO conditionally.
2530 * stdio-common/Makefile (CPPFLAGS): Likewise.
2531 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2532 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2533 Use $(libio-mtsafe).
2534 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2535 of -D_IO_MTSAFE_IO.
2536 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2537 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2538 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2539 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2540 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2541 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2542 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2543 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2544 (CFLAGS-fread_u_chk.c): Likewise.
2545 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2546 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2547 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2548 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2549 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2550 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2551 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2552 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2553 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2554
2555 * libio/Makefile: Test [$(libc-reentrant) = yes]
2556 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2557
2558 * Makeconfig
2559 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2560 * sysdeps/pthread/configure: File removed.
2561 * sysdeps/pthread/Makeconfig: New file.
2562 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2563 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2564
d9195db8
GB
25652012-08-16 Gary Benson <gbenson@redhat.com>
2566
2567 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2568 unmapping the first object in a namespace.
2569
86466cd9
RM
25702012-08-16 Roland McGrath <roland@hack.frob.com>
2571
2572 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2573 (__internal_setnetgrent): ... this. Add internal_function to
2574 definition. Add libc_hidden_def.
2575 (setnetgrent): Update caller.
2576 (internal_endnetgrent): Renamed to ...
2577 (__internal_endnetgrent): ... this. Add internal_function to
2578 definition. Add libc_hidden_def.
2579 (endnetgrent): Update caller.
2580 (internal_getnetgrent_r): Renamed to ...
2581 (__internal_getnetgrent_r): ... this. Add internal_function to
2582 definition. Add libc_hidden_def.
2583 (__getnetgrent_r): Update caller.
2584 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2585
c3c8283c
JM
25862012-08-16 Joseph Myers <joseph@codesourcery.com>
2587
2588 * stdlib/longlong.h: Update from GCC.
2589
db1ee0a8
RM
25902012-08-16 Roland McGrath <roland@hack.frob.com>
2591
2592 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2593 on _QL, which is set by umul_ppmm but never used.
2594 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2595 variables, which are set by GMP macros but never used.
2596 * stdio-common/_itowa.c (_itowa): Likewise.
2597 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2598 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2599
30f69637
CD
26002012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2601
2602 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2603 struct La_sh_regs is not constant.
2604 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2605 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2606 and struct La_sparc64_regs are not constant.
2607
93a78ac4
JM
26082012-08-16 Joseph Myers <joseph@codesourcery.com>
2609
2610 * sysdeps/unix/sysv/linux/kernel-features.h
2611 (__ASSUME_POSIX_TIMERS): Remove.
2612 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2613 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2614 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2615 Make code unconditional.
2616 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2617 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2618 Make code unconditional.
2619 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2620 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2621 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2622 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2623 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2624 Make code unconditional.
2625 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2626 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2627 (__libc_missing_posix_timers): Remove.
2628
dd924cd7
RM
26292012-08-15 Roland McGrath <roland@hack.frob.com>
2630
4b4f2771
RM
2631 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2632 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2633
601c888b
RM
2634 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2635
176790a7
RM
2636 * elf/dl-sym.c: Include <stdlib.h>.
2637
329bc018
RM
2638 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2639 constants, which avoids warnings in 32-bit builds.
2640
e04e272d
RM
2641 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2642 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2643
952bf94a
RM
2644 * misc/lseek.c: File moved to ...
2645 * io/lseek.c: ... here.
2646
7c99b50a
RM
2647 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2648
dd924cd7
RM
2649 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2650 shifting LEN more than 31 bits at once.
2651
b3f479a8
LD
26522012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2653
2654 [BZ #14195]
8c4ae0d4
RM
2655 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2656 segmentation fault for a case of two empty input strings.
b3f479a8
LD
2657 * string/test-strncasecmp.c (check1): Renamed to...
2658 (bz12205): ...this.
2659 (bz14195): Add new testcase for two empty input strings and N > 0.
2660 (test_main): Call new testcase, adapt for renamed function.
2661
9c55864e
AJ
26622012-08-15 Andreas Jaeger <aj@suse.de>
2663
2664 [BZ #14090]
2665 * crypt/md5test2.c: New test, based on test supplied by Serge
2666 Belyshev <belyshev@depni.sinp.msu.ru>.
2667 * crypt/Makefile (xtests): Add md5test-giant..
2668 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2669
02dcb6c5
PE
26702012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2671
2672 [BZ #14090]
2673 * crypt/md5.c (md5_process_block): Don't assume the buffer
2674 length is less than 2**32.
2675 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2676 length is less than 2**64.
2677
a3f95dcc
RM
26782012-08-15 Roland McGrath <roland@hack.frob.com>
2679
be75d758
RM
2680 * string/str-two-way.h: Include <sys/param.h>.
2681 (MAX): Macro removed.
2682
7312ca90
RM
2683 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2684 Move #define and #undef of memmove to just before and after
2685 including <string.h>.
2686
9a0a5486
RM
2687 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2688 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2689 and after including <string.h>. Move declarations of
2690 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2691 to before #include "string/memmove.c".
2692
67cc348d
RM
2693 * include/dirent.h: Declare __getdirentries.
2694
a3f95dcc
RM
2695 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2696 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2697
ca98e171
MF
26982012-08-14 Mike Frysinger <vapier@gentoo.org>
2699
2700 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2701 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2702 * sysdeps/i386/configure: Regenerated.
2703 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2704 STABS_CURRENT_FILE, and STABS_FUN.
2705 (END): Remove call to STABS_FUN_END.
2706 (STABS_CURRENT_FILE1): Delete.
2707 (STABS_CURRENT_FILE): Likewise.
2708 (STABS_FUN): Likewise.
2709 (STABS_FUN_END): Likewise.
2710 (STABS_FUN2): Likewise.
2711 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2712 * sysdeps/x86_64/configure: Regenerated.
2713
5908bf46
RM
27142012-08-14 Roland McGrath <roland@hack.frob.com>
2715
2716 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 2717 * elf/dl-lookup.c: Likewise.
5908bf46 2718
f2c05b9e
JM
27192012-08-14 Joseph Myers <joseph@codesourcery.com>
2720
2721 * sysdeps/unix/sysv/linux/kernel-features.h
2722 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2723 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2724 unconditionally.
2725 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2726 unconditionally.
2727 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2728 condition on __ASSUME_CLONE_THREAD_FLAGS.
2729
e11f5155
AJ
27302012-08-14 Andreas Jaeger <aj@suse.de>
2731
2732 * sysdeps/i386/fpu/libm-test-ulps: Update.
2733
51a9ba86
MK
27342012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2735
2fdd4f78
AJ
2736 * include/atomic.h (atomic_exchange_and_add): Split into ...
2737 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2738 New atomic macros.
51a9ba86 2739
ba6cba9e
MT
27402012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2741
2742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2743
42443a47
JL
27442012-08-13 Jeff Law <law@redhat.com>
2745
2746 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2747 null byte in the output string.
2748
121dce05
JM
27492012-08-10 Joseph Myers <joseph@codesourcery.com>
2750
2751 * sysdeps/unix/sysv/linux/kernel-features.h
2752 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2753 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2754 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2755 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2756 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2757 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2758 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2759
bf51f568
JL
27602012-08-09 Jeff Law <law@redhat.com>
2761
2762 [BZ #13939]
2763 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2764 When avoid_arena is set, don't retry in the that arena. Pick the
2765 next one, whatever it might be.
2766 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2767 (arena_lock): Pass in new parameter to arena_get2.
2768 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2769 arena_get2.
2770 (__libc_malloc): Unify retrying after main arena failure with
2771 __libc_memalign version.
2772 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2773
f85fa270
L
27742012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2775
2776 [BZ #14166]
2777 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2778 to __redirect_strstr.
2779 (__strstr_sse42): Use typeof __redirect_strstr.
2780 (__strstr_ia32): Likewise.
2781 (__libc_strstr): New prototype.
2782 (strstr): Renamed to ...
2783 (__libc_strstr): This.
2784 (strstr): New strong alias of __libc_strstr.
2785 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2786 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2787 __redirect_time.
2788 Include <time.h>.
2789 (__libc_time): New prototype.
2790 (time_ifunc): Replace time with __libc_time.
2791 (time): New strong alias and hidden definition of __libc_time.
2792 (__GI_time): Remove strong alias.
2793 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2794 Include <stddef.h>.
2795 (memmove): Redefined to __redirect_memmove.
2796 (__memmove_sse2): Use typeof __redirect_memmove.
2797 (__memmove_ssse3): Likewise.
2798 (__memmove_ssse3_back): Likewise.
2799 (__libc_memmove): New prototype.
2800 (memmove): Renamed to ...
2801 (__libc_memmove): This.
2802 (memmove): New strong alias of __libc_memmove.
2803
33b4a91e
MS
28042012-08-08 Mark Salter <msalter@redhat.com>
2805
2806 * elf/elf.h
2807 (R_MN10300_TLS_GD): Define.
2808 (R_MN10300_TLS_LD): Likewise.
2809 (R_MN10300_TLS_LDO): Likewise.
2810 (R_MN10300_TLS_GOTIE): Likewise.
2811 (R_MN10300_TLS_IE): Likewise.
2812 (R_MN10300_TLS_LE): Likewise.
2813 (R_MN10300_TLS_DTPMOD): Likewise.
2814 (R_MN10300_TLS_DTPOFF): Likewise.
2815 (R_MN10300_TLS_TPOFF): Likewise.
2816 (R_MN10300_SYM_DIFF): Likewise.
2817 (R_MN10300_ALIGN): Likewise.
2818 (R_MN10300_NUM): Update.
2819
b36137f1
JM
28202012-08-08 Joseph Myers <joseph@codesourcery.com>
2821
2822 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2823 Remove.
2824
cdd915fd
RM
28252012-08-08 Roland McGrath <roland@hack.frob.com>
2826
a2433aac
RM
2827 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2828
cdd915fd
RM
2829 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2830 sysdeps/unix -> sysdeps/posix move.
2831 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2832
bf9b740a
AM
28332012-08-07 Allan McRae <allan@archlinux.org>
2834
2835 [BZ #14303]
2836 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2837 (SUNOS_CPP): Likewise.
2838 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2839 not found.
2840 (open_input): Call CPP using execvp.
2841
93df14ee
JM
28422012-08-07 Joseph Myers <joseph@codesourcery.com>
2843
2844 * sysdeps/unix/sysv/linux/kernel-features.h
2845 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2846 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2847 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2848 (__ASSUME_WAITID_SYSCALL): Likewise.
2849 * sysdeps/unix/sysv/linux/dl-execstack.c
2850 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2851 code unconditional.
2852 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2853 conditional code.
2854 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2855 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2856 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2857 code.
2858 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2859 unconditional.
2860 [__ASSUME_WAITID_SYSCALL]: Likewise.
2861 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2862
d34689de
RM
28632012-08-07 Roland McGrath <roland@hack.frob.com>
2864
a281decc
RM
2865 * sysdeps/unix/closedir.c: Renamed to ...
2866 * sysdeps/posix/closedir.c: ... here.
2867 * sysdeps/unix/dirfd.c: Renamed to ...
2868 * sysdeps/posix/dirfd.c: ... here.
2869 * sysdeps/unix/dirstream.h: Renamed to ...
2870 * sysdeps/posix/dirstream.h: ... here.
2871 * sysdeps/unix/fdopendir.c: Renamed to ...
2872 * sysdeps/posix/fdopendir.c: ... here.
2873 * sysdeps/unix/opendir.c: Renamed to ...
2874 * sysdeps/posix/opendir.c: ... here.
2875 * sysdeps/unix/readdir.c: Renamed to ...
2876 * sysdeps/posix/readdir.c: ... here.
2877 * sysdeps/unix/readdir_r.c: Renamed to ...
2878 * sysdeps/posix/readdir_r.c: ... here.
2879 * sysdeps/unix/rewinddir.c: Renamed to ...
2880 * sysdeps/posix/rewinddir.c: ... here.
2881 * sysdeps/unix/seekdir.c: Renamed to ...
2882 * sysdeps/posix/seekdir.c: ... here.
2883 * sysdeps/unix/telldir.c: Renamed to ...
2884 * sysdeps/posix/telldir.c: ... here.
2885 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2886 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2887 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2888 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2889
22895b47
RM
2890 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2891 * bits/fcntl.h: ... here.
2892
707a53b6
RM
2893 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2894 not 0.
2895 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2896 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2897 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2898 (struct flock): Move l_start, l_len to the beginning.
2899 Use __pid_t for l_pid.
2900 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2901 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2902 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2903 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2904 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2905 [__USE_LARGEFILE64] (struct flock64): New type.
2906 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2907
f0bd3e25
RM
2908 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2909 * bits/dirent.h: ... here.
2910
d34689de
RM
2911 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2912 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2913
6dad2c06
JM
29142012-08-07 Joseph Myers <joseph@codesourcery.com>
2915
2916 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2917 Change from 2.6.0 to 2.6.16.
2918 * sysdeps/unix/sysv/linux/configure: Regenerated.
2919 * sysdeps/unix/sysv/linux/kernel-features.h
2920 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2921 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2922 version.
2923 (__ASSUME_UTIMES): Likewise.
2924 (__ASSUME_CLONE_STOPPED): Remove.
2925 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2926 architectures, not kernel version.
2927 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2928 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2929 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2930 (__ASSUME_WAITID_SYSCALL): Likewise.
2931 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2932 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2933 * README: State 2.6.16 as minimum Linux kernel version. Do not
2934 refer to older versions.
2935
03af9520
RM
29362012-08-06 Roland McGrath <roland@hack.frob.com>
2937
8e49df1d
RM
2938 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2939 Define alphasort64 as an alias.
2940 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2941 Define versionsort64 as an alias.
2942 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2943 Define scandir64 as an alias.
2944 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2945 Define scandirat64 as an alias.
2946 * dirent/alphasort64.c (alphasort64):
2947 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2948 * dirent/versionsort64.c: Likewise.
2949 * dirent/scandir64.c: Likewise.
2950 * dirent/scandirat64.c: Likewise.
2951 * sysdeps/wordsize-64/alphasort.c: File removed.
2952 * sysdeps/wordsize-64/alphasort64.c: File removed.
2953 * sysdeps/wordsize-64/scandir.c: File removed.
2954 * sysdeps/wordsize-64/scandir64.c: File removed.
2955 * sysdeps/wordsize-64/scandirat.c: File removed.
2956 * sysdeps/wordsize-64/scandirat64.c: File removed.
2957 * sysdeps/wordsize-64/versionsort.c: File removed.
2958 * sysdeps/wordsize-64/versionsort64.c: File removed.
2959 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2960 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2961 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2962 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2963 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2964 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2965 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2966 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2967
2968 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2969 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2970 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2971 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2972 [defined __arch64__ || defined __sparcv9]
2973 (__INO_T_MATCHES_INO64_T): New macro.
2974 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2975 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2976 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2977 * sysdeps/unix/sysv/linux/bits/dirent.h
2978 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2979 (_DIRENT_MATCHES_DIRENT64): New macro.
2980
03af9520
RM
2981 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2982 Define lockf64 as an alias.
2983 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2984 Define fseeko64 as an alias.
2985 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2986 Define ftello64 as an alias.
2987 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2988 Define _IO_fgetpos64 and fgetpos64 as aliases.
2989 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2990 Define _IO_fsetpos64 and fsetpos64 as aliases.
2991 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2992 Conditionalize body on this.
2993 * libio/fseeko64.c: Likewise.
2994 * libio/ftello64.c: Likewise.
2995 * libio/iofgetpos64.c: Likewise.
2996 * libio/iofsetpos64.c: Likewise.
2997 * sysdeps/wordsize-64/lockf.c: File removed.
2998 * sysdeps/wordsize-64/lockf64.c: File removed.
2999 * sysdeps/wordsize-64/fseeko.c: File removed.
3000 * sysdeps/wordsize-64/fseeko64.c: File removed.
3001 * sysdeps/wordsize-64/ftello.c: File removed.
3002 * sysdeps/wordsize-64/ftello64.c: File removed.
3003 * sysdeps/wordsize-64/iofgetpos.c: File removed.
3004 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
3005 * sysdeps/wordsize-64/iofsetpos.c: File removed.
3006 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
3007 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
3008 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
3009 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
3010 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
3011 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
3012 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
3013 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
3014 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
3015 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
3016 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
3017
3018 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3019 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3020 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
3021 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3022 [defined __arch64__ || defined __sparcv9]
3023 (__OFF_T_MATCHES_OFF64_T): New macro.
3024 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3025 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3026 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3027 (__OFF_T_MATCHES_OFF64_T): New macro.
3028
c5757acd
L
30292012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3030
3031 * stdlib/secure-getenv.c (__secure_getenv): Replace
3032 GLIBC_2_16 with GLIBC_2_17.
3033
3a31811e
L
30342012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3035
3036 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
3037 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3038
faa2bccb
DM
30392012-08-03 David S. Miller <davem@davemloft.net>
3040
3041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3042
85fe1997
JM
30432012-08-03 Joseph Myers <joseph@codesourcery.com>
3044
3045 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
3046 Remove.
3047 (__ASSUME_CORRECT_SI_PID): Likewise.
3048 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
3049 (__ASSUME_TMPFS_NAME): Likewise.
3050 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
3051 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
3052 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
3053 (HAVE_AUX_SECURE): Make definition unconditional.
3054 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
3055 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
3056
4f75b7a0
RM
30572012-08-03 Roland McGrath <roland@hack.frob.com>
3058
3059 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
3060 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
3061 * sysdeps/mach/hurd/eloop-threshold.h: New file.
3062 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3063 __eloop_threshold instead of SYMLOOP_MAX.
3064
3065 * sysdeps/generic/eloop-threshold.h: New file.
3066 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
3067 of MAXSYMLINKS.
3068 * elf/chroot_canon.c (chroot_canon): Likewise.
3069
7aab07e4
JM
30702012-08-03 Joseph Myers <joseph@codesourcery.com>
3071
3072 [BZ #13717]
3073 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3074 Change to 2.6.0 everywhere.
3075 * sysdeps/unix/sysv/linux/configure: Regenerated.
3076 * sysdeps/unix/sysv/linux/kernel-features.h
3077 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3078 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3079 kernel versions.
3080 (__ASSUME_POSIX_TIMERS): Define unconditionally.
3081 (__ASSUME_FUTEX_REQUEUE): Remove.
3082 (__ASSUME_STATFS64): Define unconditionally.
3083 (__ASSUME_AT_SECURE): Likewise.
3084 (__ASSUME_CORRECT_SI_PID): Likewise.
3085 (__ASSUME_TGKILL): Define without depending on kernel version for
3086 i386.
3087 (__ASSUME_UTIMES): Likewise.
3088 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3089 kernel version.
3090 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3091 (__ASSUME_TMPFS_NAME): Likewise.
3092 * README: Update reference to Linux kernel versions.
3093
b67e9372
MP
30942012-08-02 Marek Polacek <polacek@redhat.com>
3095
1f529f7d 3096 [BZ# 14150]
b67e9372
MP
3097 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
3098 libc_cv_asm_type_prefix with %.
3099 * configure: Regenerated.
d2441631
RM
3100 * include/libc-symbols.h: Remove comment about
3101 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
3102 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3103 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3104 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3105 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3106 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3107 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3108 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3109 * elf/tst-unique2mod1.c: Likewise.
3110 * elf/tst-unique1mod2.c: Likewise.
3111 * elf/tst-unique1mod1.c: Likewise.
3112 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3113 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3114 Replace ASM_TYPE_DIRECTIVE with .type.
3115 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3116 * sysdeps/i386/sysdep.h: Likewise.
3117 * sysdeps/x86_64/sysdep.h: Likewise.
3118 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
3119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3120 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 3121 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
3122 * sysdeps/powerpc/powerpc32/sysdep.h:
3123 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
3124 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3125 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3126 * sysdeps/i386/fpu/e_powf.S: Likewise.
3127 * sysdeps/i386/fpu/e_expl.S: Likewise.
3128 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3129 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3130 * sysdeps/i386/fpu/e_pow.S: Likewise.
3131 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3132 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3133 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3134 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3135 * sysdeps/i386/fpu/e_log2.S: Likewise.
3136 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3137 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3138 * sysdeps/i386/fpu/e_powl.S: Likewise.
3139 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3140 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3141 * sysdeps/i386/fpu/e_logl.S: Likewise.
3142 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3143 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3144 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3145 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3146 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3147 * sysdeps/i386/fpu/e_log.S: Likewise.
3148 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3149 * sysdeps/i386/fpu/e_logf.S: Likewise.
3150 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3151 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3152 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3153 * sysdeps/i386/fpu/e_log10.S: Likewise.
3154 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3155 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3156 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3157 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3158 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3159 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3160 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3161 * sysdeps/i386/i686/strtok.S: Likewise.
3162 * sysdeps/i386/i386-mcount.S: Likewise.
3163 * sysdeps/i386/strtok.S: Likewise.
3164 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3165 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3166 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3167 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3168 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3169 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3170 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3171 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3172 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3173 * sysdeps/x86_64/_mcount.S: Likewise.
3174 * sysdeps/x86_64/strtok.S: Likewise.
3175 * sysdeps/sh/_mcount.S: Likewise.
3176
2747bf9a
RM
31772012-08-01 Roland McGrath <roland@hack.frob.com>
3178
3179 * libio/iofopen.c: Include <fcntl.h>.
3180 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3181 (_IO_fopen64, fopen64): Define as aliases.
3182 * libio/iofopen64.c: Include <fcntl.h>.
3183 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3184 Conditionalize body on this.
3185 * sysdeps/wordsize-64/iofopen.c: File removed.
3186 * sysdeps/wordsize-64/iofopen64.c: File removed.
3187
3fb791b8
MP
31882012-08-01 Marek Polacek <polacek@redhat.com>
3189
3190 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3191 Use dlfcn directly instead of a variable.
3192 (binfmt-subdir): Do not define.
3193 (dlfcn): Likewise.
3194
a9f1039f
JM
31952012-08-01 Joseph Myers <joseph@codesourcery.com>
3196
23bddc06
JM
3197 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3198 Remove all definitions.
3199 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3200 <kernel-features.h>.
3201 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3202 (miss_F_GETOWN_EX): Remove all definitions.
3203 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3204 macro definition.
3205 [!__ASSUME_FCNTL64]: Remove conditional code.
3206 [__ASSUME_FCNTL64]: Make code unconditional.
3207 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3208 <kernel-features.h>.
3209 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3210 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3211 (lockf64) [__NR_fcntl64]: Make code unconditional.
3212 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3213
a9f1039f
JM
3214 * sysdeps/unix/sysv/linux/kernel-features.h
3215 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3216 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3217 Make code unconditional.
3218 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3219 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3221 [__NR_vfork]: Make code unconditional.
3222 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3223 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3225 [__NR_vfork]: Make code unconditional.
3226 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3227 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3228
09c0ee5f
RM
32292012-08-01 Roland McGrath <roland@hack.frob.com>
3230
48aec5b9
RM
3231 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3232 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3233
cd97c966
RM
3234 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3235 Define mkstemp64 as an alias.
3f55550c
RM
3236 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3237 Define mkstemps64 as an alias.
cd97c966
RM
3238 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3239 Define mkostemp64 as an alias.
b8625cfc
RM
3240 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3241 Define mkostemps64 as an alias.
cd97c966
RM
3242 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3243 Conditionalize body on this.
3244 * misc/mkostemp64.c: Likewise.
b8625cfc 3245 * misc/mkostemps64.c: Likewise.
3f55550c 3246 * misc/mkstemps64.c: Likewise.
cd97c966
RM
3247 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3248 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3249 * sysdeps/wordsize-64/mkostemp.c: File removed.
3250 * sysdeps/wordsize-64/mkstemp.c: File removed.
3251 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3252 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3253 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3254 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3255
09c0ee5f
RM
3256 [BZ #14138]
3257 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3258 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3259 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3260 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3261
3262 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3263 compat_symbol macros from <shlib-compat.h> rather than the underlying
3264 default_symbol_version and symbol_version macros, so that DEFAULT
3265 lines in shlib-versions are respected.
3266 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3267
7e66ee51
FW
32682012-08-01 Florian Weimer <fweimer@redhat.com>
3269
3270 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3271 Declare with warn_unused_result.
3272 (setgid, setregid, setegid, setresgid): Likewise.
3273 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3274 Likewise.
3275 * WUR-REPORT: Remove set*id functions.
3276
d2a54255
PT
32772012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3278
3279 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3280
7ecdb005
RM
32812012-07-31 Roland McGrath <roland@hack.frob.com>
3282
789bd351
RM
3283 * include/sys/socket.h (__libc_accept, __libc_accept4):
3284 Add attribute_hidden.
3285 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3286
40ce302d
RM
3287 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3288 use of PTR_MANGLE.
3289 * inet/getnetgrent_r.c (setup): Likewise.
3290
7ecdb005
RM
3291 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3292
e2eabb2c
DM
32932012-07-31 David S. Miller <davem@davemloft.net>
3294
3295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3296
d0419dbf
JM
32972012-07-31 Joseph Myers <joseph@codesourcery.com>
3298
3299 [BZ #13629]
3300 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3301 value between 1.0 and 2.0 and smaller part has absolute value less
3302 than 1.0.
3303 * math/s_clog10.c (__clog10): Likewise.
3304 * math/s_clog10f.c (__clog10f): Likewise.
3305 * math/s_clog10l.c (__clog10l): Likewise.
3306 * math/s_clogf.c (__clogf): Likewise.
3307 * math/s_clogl.c (__clogl): Likewise.
3308 * math/libm-test.inc (clog_test): Add more tests.
3309 (clog10_test): Likewise.
3310 * sysdeps/i386/fpu/libm-test-ulps: Update.
3311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3312
2bc13872
FW
33132012-07-31 Florian Weimer <fweimer@redhat.com>
3314
3315 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3316 Exit with zero in case no suitable GID is found, and write a
3317 message to standard error.
3318
bea9b193
RM
33192012-07-30 Roland McGrath <roland@hack.frob.com>
3320
3321 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3322 rather than to 1.
3323 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3324 (MAXPATHLEN): Removed.
3325 (NOGROUP, NODEV): New macros.
3326 (setbit, clrbit, isset, isclr): New macros.
3327 (howmany, roundup, powerof2): New macros.
3328 (DEV_BSIZE): New macro.
3329
3330 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3331 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3332
3333 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3334 definition on [!__NO_LONG_DOUBLE_MATH].
3335
3336 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3337 PTR_MANGLE and PTR_DEMANGLE.
3338
3339 * socket/accept4.c (accept4): Rename to __libc_accept4.
3340 Define accept4 as a weak alias.
3341
3342 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3343 on [_DIRENT_HAVE_D_TYPE].
3344 * io/ftw.c (ftw_dir): Likewise.
3345
3346 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3347
3348 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3349
3350 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3351 Use the BSD numbers rather than the arbitrary ones we had.
3352 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3353 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3354 (SIGXCPU, SIGXFSZ): New macros.
3355 (_NSIG): Now 32.
3356
3357 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3358 initializer on [_LIBC_REENTRANT].
3359
3360 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3361 definitions inside [_POSIX_MAPPED_FILES].
3362
3363 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3364
3365 * dirent/opendir.c: Include <fcntl.h>.
3366
3367 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3368 (__libc_getspecific): Likewise.
3369 (__libc_key_create): Likewise.
3370
3371 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3372 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3373 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3374 (tmpfile64): Define as alias.
3375 * sysdeps/wordsize-64/tmpfile.c: File removed.
3376 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3377 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3378 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3379
3380 * stdio-common/vfscanf.c: Include <stdbool.h>.
3381 * nss/makedb.c: Likewise.
3382 * stdio-common/_i18n_number.h: Likewise.
3383 * argp/argp-help.c: Likewise.
3384 * posix/wordexp.c: Likewise.
3385 * sysdeps/posix/spawni.c: Likewise.
3386 * nss/nss_files/files-initgroups.c: Likewise.
3387 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3388 * nss/nss_files/files-initgroups.c: Likewise.
3389 * nss/nss_db/db-netgrp.c: Likewise.
3390 * nss/nss_db/db-initgroups.c: Likewise.
3391 * io/fchmodat.c: Include <sys/stat.h>.
3392
3393 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3394 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3395
3396 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3397 [HAVE_MMAP].
3398
3399 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3400 Add multiple inclusion protection.
3401
e5abc686
DM
34022012-07-27 David S. Miller <davem@davemloft.net>
3403
3404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3405
815e6fa3
GB
34062012-07-27 Gary Benson <gbenson@redhat.com>
3407
3408 [BZ #14298]
3409 * elf/rtld.c: Include <stap-probe.h>.
3410 (dl_main): Added static probes "init_start" and "init_complete".
3411 * elf/dl-load.c: Include <stap-probe.h>.
3412 (lose): Take new parameter "nsid".
3413 Added static probe "map_failed".
3414 (_dl_map_object_from_fd): Pass namespace id to lose.
3415 Added static probe "map_start".
3416 (open_verify): Pass namespace id to lose.
3417 * elf/dl-open.c: Include <stap-probe.h>.
3418 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3419 and "reloc_complete".
3420 * elf/dl-close.c: Include <stap-probe.h>.
3421 (_dl_close_worker): Added static probes "unmap_start" and
3422 "unmap_complete".
3423 * elf/rtld-debugger-interface.txt: New file documenting the above.
3424
9f98c16c
RM
34252012-07-26 Roland McGrath <roland@hack.frob.com>
3426
3427 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3428 rather than a string variable.
3429 * sunrpc/rpc_main.c (h_output): Likewise.
3430 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3431
f3c22df3
PT
34322012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3433
3434 * inet/check_native.c: New file.
3435
3129cfc6
JM
34362012-07-26 Joseph Myers <joseph@codesourcery.com>
3437
da865e95
JM
3438 [BZ #13629]
3439 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3440 if larger part has absolute value 1.0.
3441 * math/s_clog10.c (__clog10): Likewise.
3442 * math/s_clog10f.c (__clog10f): Likewise.
3443 * math/s_clog10l.c (__clog10l): Likewise.
3444 * math/s_clogf.c (__clogf): Likewise.
3445 * math/s_clogl.c (__clogl): Likewise.
3446 * math/libm-test.inc (clog_test): Add more tests.
3447 (clog10_test): Likewise.
3448 * sysdeps/i386/fpu/libm-test-ulps: Update.
3449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3450
3129cfc6
JM
3451 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3452 (pltexit): Likewise.
3453 (La_regs): Likewise.
3454 (La_retval): Likewise.
3455 (int_retval): Likewise.
3456 Update #error for removed macros to refer only to definitions in
3457 tst-audit.h.
3458 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3459 macro.
3460 (pltexit): Likewise.
3461 (La_regs): Likewise.
3462 (La_retval): Likewise.
3463 (int_retval): Likewise.
3464 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3465 macro.
3466 (pltexit): Likewise.
3467 (La_regs): Likewise.
3468 (La_retval): Likewise.
3469 (int_retval): Likewise.
3470 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3471 macro.
3472 (pltexit): Likewise.
3473 (La_regs): Likewise.
3474 (La_retval): Likewise.
3475 (int_retval): Likewise.
3476 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3477 macro.
3478 (pltexit): Likewise.
3479 (La_regs): Likewise.
3480 (La_retval): Likewise.
3481 (int_retval): Likewise.
3482 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3483 macro.
3484 (pltexit): Likewise.
3485 (La_regs): Likewise.
3486 (La_retval): Likewise.
3487 (int_retval): Likewise.
3488 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3489 macro.
3490 (pltexit): Likewise.
3491 (La_regs): Likewise.
3492 (La_retval): Likewise.
3493 (int_retval): Likewise.
3494 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3495 macro definitions in tst-audit.h.
3496 * sysdeps/i386/tst-audit.h: New file.
3497 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3498 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3499 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3500 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3501 * sysdeps/sh/tst-audit.h: Likewise.
3502 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3503 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3504 * sysdeps/x86_64/tst-audit.h: Likewise.
3505
bfc07087
AJ
35062012-07-26 Andreas Jaeger <aj@suse.de>
3507
b1b2aaf8
AJ
3508 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3509 ptrace.
3510
3511 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3512 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3513 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3514 PTRACE_O_MASK.
3515 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3516 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3517 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3518
bfc07087
AJ
3519 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3520 value.
3521
3522 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3523 _sigsys.
3524 (si_call_addr, si_syscall, si_arch): Define new macro.
3525 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3526 _sigsys.
3527 (si_call_addr, si_syscall, si_arch): Define new marcro.
3528 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3529 _sigsys.
3530 (si_call_addr, si_syscall, si_arch): Define new macro.
3531 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3532 _sigsys.
3533 (si_call_addr, si_syscall, si_arch): Define new macro.
3534
89b4b02f
JM
35352012-07-25 Joseph Myers <joseph@codesourcery.com>
3536
3537 [BZ #13717]
3538 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3539 Change to 2.4.21 where previously 2.4.1.
3540 * sysdeps/unix/sysv/linux/configure: Regenerated.
3541 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3542 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3543 Linux kernel version.
3544 (__ASSUME_STD_AUXV): Remove.
3545 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3546 kernel version.
3547 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3548 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3549 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3550 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3551 (__ASSUME_NETLINK_SUPPORT): Likewise.
3552 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3553 (__no_netlink_support): Remove conditional definition.
3554 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3555 Remove.
3556 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3557 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3558 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3559 (if_nameindex_ioctl): Remove.
3560 (if_nameindex_netlink): Do not handle __no_netlink_support.
3561 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3562 code.
3563 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3564 Remove conditional code.
3565 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3566 code.
3567 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3568 unconditional.
3569 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3570 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3571 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3572 Remove.
3573 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3574 [!__ASSUME_STD_AUXV]: Remove conditional code.
3575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3576 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3577 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3579 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3580 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3581 code.
3582 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3584 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3585 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3586 conditional code.
3587 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3589 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3590 code.
3591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3592 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3593 conditional code.
3594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3595 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3596 code unconditional.
3597 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3598 conditional code.
3599 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3600 unconditional.
3601 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3602 conditional code.
3603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3604 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3605 unconditional.
3606 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3607 conditional code.
3608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3609 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3610 code unconditional.
3611 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3612 conditional code.
3613 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3614 unconditional.
3615 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3616 conditional code.
3617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3618 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3619 code unconditional.
3620 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3621 conditional code.
3622 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3623 unconditional.
3624 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3625 conditional code.
3626
842a39cd
AS
36272012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3628
3629 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3630 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3631 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3632 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3633 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3634 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3635 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3636 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3637 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3638 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3639 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3640 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3641 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3642 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3643 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3644 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3645 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3646 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3647 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3649 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3650 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3651 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3652
84b3fd84
FW
36532012-07-25 Florian Weimer <fweimer@redhat.com>
3654
3655 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
3656 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3657 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3658 Introduce __libc_secure_getenv.
0c7936d5
FW
3659 * stdlib/Versions (2.17): Add secure_getenv
3660 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3661 * stdlib/secure-getenv.c: Rename __secure_getenv to
3662 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3663 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
3664 * stdlib/tst-secure-getenv.c: New.
3665 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
3666 * manual/startup.texi (Environment Access): Document
3667 secure_getenv.
84b3fd84
FW
3668 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3669 __libc_secure_getenv.
3670 * inet/ruserpass.c (ruserpass): Likewise.
3671 * malloc/mtrace.c (mtrace): Likewise.
3672 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 3673 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
3674 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3675 * sysdeps/posix/tempname.c: Likewise. Evaluate
3676 HAVE_SECURE_GETENV.
3677 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 3678 __secure_getenv to __libc_secure_getenv.
84b3fd84 3679 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
3680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3681 Likewise.
3682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3683 Likewise.
3684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3686 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 3691
56e49b71
JM
36922012-07-25 Joseph Myers <joseph@codesourcery.com>
3693
3694 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3695 (struct La_i86_retval): Likewise.
3696 (struct La_x86_64_regs): Likewise.
3697 (struct La_x86_64_retval): Likewise.
3698 (struct La_x32_regs): Likewise.
3699 (struct La_x32_retval): Likewise.
3700 (struct La_ppc32_regs): Likewise.
3701 (struct La_ppc32_retval): Likewise.
3702 (struct La_ppc64_regs): Likewise.
3703 (struct La_ppc64_retval): Likewise.
3704 (struct La_sh_regs): Likewise.
3705 (struct La_sh_retval): Likewise.
3706 (struct La_s390_32_regs): Likewise.
3707 (struct La_s390_32_retval): Likewise.
3708 (struct La_s390_64_regs): Likewise.
3709 (struct La_s390_64_retval): Likewise.
3710 (struct La_sparc32_regs): Likewise.
3711 (struct La_sparc32_retval): Likewise.
3712 (struct La_sparc64_regs): Likewise.
3713 (struct La_sparc64_retval): Likewise.
3714 (struct audit_ifaces): Remove architecture-specific pltenter and
3715 pltexit members.
3716 * sysdeps/i386/ldsodefs.h: New file.
3717 * sysdeps/powerpc/ldsodefs.h: Likewise.
3718 * sysdeps/s390/ldsodefs.h: Likewise.
3719 * sysdeps/sh/ldsodefs.h: Likewise.
3720 * sysdeps/sparc/ldsodefs.h: Likewise.
3721 * sysdeps/x86_64/ldsodefs.h: Likewise.
3722
354691b7
MP
37232012-07-25 Marek Polacek <polacek@redhat.com>
3724
3725 [BZ #6808]
3726 * math/libm-test.inc (yn_test): Add another test.
3727 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3728 to ERANGE when the result is +-Inf.
3729 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3730 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3731 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3732 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3733
bf9e2071
JM
37342012-07-24 Joseph Myers <joseph@codesourcery.com>
3735
3736 * conform/data/time.h-data (NULL): Use macro-constant. Require
3737 equal to 0.
3738 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3739 clock_t.
3740 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3741
57633811
TS
37422012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3743
3744 * configure.in <sysdeps resolving>: Correct printing
3745 Implies_before.
3746 * configure: Regenerate.
3747
c23c33b0
TS
37482012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3749
3750 * math/w_ilogb.c: Include <limits.h>.
3751 * math/w_ilogbl.c: Likewise.
3752
b5982523
JM
37532012-07-20 Joseph Myers <joseph@codesourcery.com>
3754
3755 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3756 va_copy. Document allowing for unavailable va_copy only as
3757 pre-C99 compatibility.
3758 * manual/string.texi (Copying and Concatenation): Use va_copy
3759 instead of __va_copy in concat example.
3760
ac4ea442
PT
37612012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3762
3763 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3764 (__sendto): Use create_address_port. Initialize APORT and deallocate
3765 it if not null.
3766
f98eafbd
PT
3767 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3768 with O_NOLINK passed to __file_name_lookup.
3769
898c7aab
PT
3770 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3771 with O_NOLINK passed to __file_name_lookup.
3772
0ced335a
PT
3773 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3774 negative N or less than NGIDS.
3775
b3404dbd
PT
3776 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3777 type to string_t. Set ERANGE as errno and return it if NAME is not big
3778 enough. Use memcpy instead of strncpy.
3779
0f48659e
JM
37802012-07-20 Joseph Myers <joseph@codesourcery.com>
3781
3782 * elf/Makefile (check-data): Remove.
3783 (localplt.data): New vpath directive.
3784 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3785 instead of $(check-data).
3786 * scripts/data/localplt-generic.data: Move to ...
3787 * sysdeps/generic/localplt.data: ... here.
3788 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3789 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3790 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3792 ... here.
3793 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3795 ... here.
3796 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3798 ... here.
3799 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3801 ... here.
3802 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3804 ... here.
3805 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3807 ... here.
3808
d37cbdaa
AZ
38092012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3810
3811 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3812 PPC32 and PPC64 files.
3813 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3814 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3815
46f85fc2
AK
38162012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3817
3818 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3819 __makecontext_ret to ...
3820 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3821 ... here and call exit if uc_link is NULL. New file.
3822 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3823 __makecontext_ret.S.
3824 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3825 __makecontext_ret to ...
3826 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3827 ... here and call exit if uc_link is NULL. New file.
3828 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3829 __makecontext_ret.S.
3830
08f43f9b
AK
38312012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3832
3833 * elf/elf.h (R_390_IRELATIVE): New definition.
3834 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3835 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3836 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3837 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3838 (elf_machine_lazy_rel): Likewise.
3839 * sysdeps/s390/dl-irel.h: New file.
3840 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3841 * sysdeps/s390/s390-64/memset.S: New asm code.
3842 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3843 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3844 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3845 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3846 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3847 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3848 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3849 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3850 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3851 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3852 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3853 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3854 * sysdeps/s390/s390-32/memset.S: New asm code.
3855 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3856
3b05db33
MP
38572012-07-17 Marek Polacek <polacek@redhat.com>
3858
3859 [BZ #14349]
3860 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3861 * sysdeps/s390/s390-64/configure.in: Likewise.
3862 * sysdeps/sparc/configure.in: Likewise.
3863 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3864 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3865 * sysdeps/i386/configure.in: Likewise.
3866 * sysdeps/x86_64/configure.in: Likewise.
3867 * sysdeps/sh/configure.in: Likewise.
3868 * sysdeps/s390/s390-32/configure: Regenerated.
3869 * sysdeps/s390/s390-64/configure: Likewise.
3870 * sysdeps/x86_64/configure: Likewise.
3871 * sysdeps/sh/configure: Likewise.
3872 * sysdeps/powerpc/powerpc64/configure: Likewise.
3873 * sysdeps/powerpc/powerpc32/configure: Likewise.
3874 * sysdeps/sparc/configure: Likwise.
3875 * sysdeps/i386/configure: Likewise.
3876
a66877c6
MP
3877 * elf/dl-open.c: Comment fixes.
3878
cfc82fd8
JM
38792012-07-17 Joseph Myers <joseph@codesourcery.com>
3880
bd29910a
JM
3881 * Makefile [CXX] (check-data): Remove.
3882 [CXX] (c++-types.data): New vpath directive.
3883 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3884 vpath. Do not allow for C++ type data being missing.
3885 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3886 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3887 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3888 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3889 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3890 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3891 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3893 ... here.
3894 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3896 ... here.
3897 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3899 ... here.
3900 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3902 ... here.
3903 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3905 ... here.
3906 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3908 ... here.
3909 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3911 ... here.
3912 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3914
cfc82fd8
JM
3915 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3916 definitions to architecture-specific files.
3917 (TLS_IE): Likewise.
3918 (TLS_LD): Likewise.
3919 (TLS_GD): Likewise.
3920 * sysdeps/i386/tls-macros.h: New file.
3921 * sysdeps/powerpc/tls-macros.h: Likewise.
3922 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3923 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3924 * sysdeps/sh/tls-macros.h: Likewise.
3925 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3926 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3927 * sysdeps/x86_64/tls-macros.h: Likewise.
3928
f7db3170
TS
39292012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3930
07cbfc23
TS
3931 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3932 zero value for regular exit case.
3933
f7db3170
TS
3934 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3935 (__start_context): Preserve zero value for regular exit case.
3936
dc97c227
TS
39372012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3938 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3939
3940 * manual/setjmp.texi (setcontext): Clarify normal process
3941 termination when uc_link is the null pointer.
3942 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3943 exit call.
3944
d0cd7d02
AS
39452012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3946
3947 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3948 preprocessor. Test for each exception mask separately.
3949
dd318934
AJ
39502012-07-16 Andreas Jaeger <aj@suse.de>
3951
3952 * po/ru.po: Update from translation team.
3953
8048311a
JM
39542012-07-15 Joseph Myers <joseph@codesourcery.com>
3955
3956 * conform/data/string.h-data (NULL): Use macro-constant. Require
3957 equal to 0.
3958 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3959 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3960 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3961 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3962 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3963
b637d46e
AJ
39642012-07-13 Andreas Jaeger <aj@suse.de>
3965
3966 * po/fr.po: Update from translation team.
3967
541428fe
MP
39682012-07-12 Marek Polacek <polacek@redhat.com>
3969
3970 [BZ #14173]
3971 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3972 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3973 loop condition.
3974
ec332e94
JM
39752012-07-12 Joseph Myers <joseph@codesourcery.com>
3976
3977 [BZ #13717]
3978 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3979 Change to 2.4.1 where previously 2.4.0.
3980 * sysdeps/unix/sysv/linux/configure: Regenerated.
3981 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3982 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3983 version.
3984 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3985 (__ASSUME_AT_CLKTCK): Remove.
3986 (__ASSUME_AT_PAGESIZE): Likewise.
3987 (__ASSUME_AT_XID): Likewise.
3988 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3989 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3990 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3991 unconditionally.
3992 (HAVE_AUX_PAGESIZE): Likewise.
3993 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3994 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3995 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3996
7b6e99be
JB
39972012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3998
3999 [BZ #14307]
4000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
4001 the temporary buffer used to invoke __gethostbyname2_r,
4002 __gethostbyaddr_r and gethostbyname4_r to make room for struct
4003 host_data / struct gaih_addrtuple.
4004 * resolv/nss_dns/dns-host.c (global scope): Move definition of
4005 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
4006 header file nss/nsswitch.h.
4007 * nss/nsswitch.h (global scope): Add definition of implementation
4008 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
4009 resolv/nss_dns/dns-host.c).
4010
608404eb
AJ
40112012-07-11 Andreas Jaeger <aj@suse.de>
4012
4013 * po/fr.po: Update from translation team.
4014
71220aca
AJ
4015 * po/sv.po: Update from translation team
4016 * po/fr.po: Another update from translation team.
4017
28cfe843
AZ
40182012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4019
4020 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4021 for subnormals or multiply small sinh result by itself.
4022 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4024
6b90f981
DM
40252012-07-11 David S. Miller <davem@davemloft.net>
4026
4027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4028
c6825772
AS
40292012-07-10 Andreas Schwab <schwab@linux-m68k.org>
4030
4031 [BZ #14347]
4032 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
4033 (INTERNAL_MARK): Shift it here.
4034
7b8e0d49
MP
40352012-07-10 Marek Polacek <polacek@redhat.com>
4036
4037 [BZ #14151]
4038 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
4039 libc_cv_asm_global_directive with .globl.
4040 * configure: Regenerated.
4041 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
4042 with .globl.
4043 * sysdeps/i386/configure: Regenerated.
4044 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
4045 with .globl.
4046 * sysdeps/x86_64/configure: Regenerated.
4047 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
4048 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
4049 * elf/tst-unique2mod2.c: Likewise.
4050 * elf/tst-unique2mod1.c: Likewise.
4051 * elf/tst-unique1mod2.c: Likewise.
4052 * elf/tst-unique1mod1.c: Likewise.
4053 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4054 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4055 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4056 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4057 * sysdeps/mach/sysdep.h: Likewise.
4058 * sysdeps/i386/sysdep.h: Likewise.
4059 * sysdeps/i386/i386-mcount.S: Likewise.
4060 * sysdeps/x86_64/_mcount.S: Likewise.
4061 * sysdeps/x86_64/sysdep.h: Likewise.
4062 * sysdeps/sh/_mcount.S: Likewise.
4063 * sysdeps/sh/sysdep.h: Likewise.
4064 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4065 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
4066 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
4067 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4068 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4069 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4070 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4071 * locale/localeinfo.h: Likewise.
4072 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4073 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4074
6c55cda3
RM
40752012-07-09 Roland McGrath <roland@hack.frob.com>
4076
4077 [BZ #14336]
4078 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4079 system".
4080 * manual/message.texi (The Uniforum approach): Likewise.
4081 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4082 (glibc iconv Implementation): Likewise.
4083
638a572e
JM
40842012-07-09 Joseph Myers <joseph@codesourcery.com>
4085
4086 [BZ #14337]
4087 * math/s_clog.c (__clog): Avoid scaling a value down where that
4088 could result in underflow.
4089 * math/s_clog10.c (__clog10): Likewise.
4090 * math/s_clog10f.c (__clog10f): Likewise.
4091 * math/s_clog10l.c (__clog10l): Likewise.
4092 * math/s_clogf.c (__clogf): Likewise.
4093 * math/s_clogl.c (__clogl): Likewise.
4094 * math/libm-test.inc (clog_test): Add more tests.
4095 (clog10_test): Likewise.
4096 * sysdeps/i386/fpu/libm-test-ulps: Update.
4097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4098
261f4859
AS
40992012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4100
0abaf3e4
AS
4101 [BZ #14283]
4102 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4103 by 7 not 8 to examine high bit of fractional part.
4104
261f4859
AS
4105 [BZ #14042]
4106 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4107 for call to __mcount_internal.
4108 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4109 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4110 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4111
f17ac40d
JM
41122012-07-06 Joseph Myers <joseph@codesourcery.com>
4113
9ad63c23
JM
4114 [BZ #14154]
4115 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4116 approximation for values within 0x1p-13f of an odd multiple of
4117 pi/4.
4118 * math/libm-test.inc (tan_test): Do not allow spurious underflow
4119 exception. Add more tests.
4120 * sysdeps/i386/fpu/libm-test-ulps: Update.
4121
f17ac40d
JM
4122 [BZ #6778]
4123 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4124 inputs and return -1 for them. Do not check for +Inf in case not
4125 reachable for +Inf.
4126 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4127 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4128 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4129 and return -1 for them. Do not check for +Inf in case not
4130 reachable for +Inf.
4131 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4132 define.
4133 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4134 and return -1 for them. Do not check for +Inf in case not
4135 reachable for +Inf.
4136 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
4137 spurious underflow.
4138 * sysdeps/i386/fpu/libm-test-ulps: Update.
4139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4140
fb21f89b
MF
41412012-07-06 Mike Frysinger <vapier@gentoo.org>
4142
4143 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4144
cdfe2c5e
JM
41452012-07-05 Joseph Myers <joseph@codesourcery.com>
4146
4147 [BZ #14157]
4148 [BZ #14331]
4149 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4150 could result in spurious underflow. Scale down values above
4151 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4152 * math/s_csqrtf.c (__csqrtf): Likewise.
4153 * math/s_csqrtl.c (__csqrtl): Likewise.
4154 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
4155 spurious underflow.
4156 * sysdeps/i386/fpu/libm-test-ulps: Update.
4157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4158
70d35b67
AS
41592012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4160
704bc459
AS
4161 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4162 xopen-msg.sed.
4163 * catgets/xopen-msg.awk: New file.
4164 * catgets/xopen-msg.sed: Removed.
4165
70d35b67
AS
4166 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4167 po2text.sed.
4168 * intl/po2test.awk: New file.
4169 * intl/po2test.sed: Removed.
4170
ca61cf32
JM
41712012-07-04 Joseph Myers <joseph@codesourcery.com>
4172
4173 [BZ #14328]
4174 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4175 or multiply small sinh result by itself.
4176 * math/s_ctanf.c (__ctanf): Likewise.
4177 * math/s_ctanh.c (__ctanh): Likewise.
4178 * math/s_ctanhf.c (__ctanhf): Likewise.
4179 * math/s_ctanhl.c (__ctanhl): Likewise.
4180 * math/s_ctanl.c (__ctanl): Likewise.
4181 * math/libm-test.inc (ctan_test_tonearest): New function.
4182 (ctan_test_towardzero): Likewise.
4183 (ctan_test_downward): Likewise.
4184 (ctan_test_upward): Likewise.
4185 (ctanh_test_tonearest): Likewise.
4186 (ctanh_test_towardzero): Likewise.
4187 (ctanh_test_downward): Likewise.
4188 (ctanh_test_upward): Likewise.
4189 (main): Call these new functions.
4190 * sysdeps/i386/fpu/libm-test-ulps: Update.
4191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4192
ca48a46a
MF
41932012-07-03 Mike Frysinger <vapier@gentoo.org>
4194
4195 * .gitignore: Delete /ports entry.
4196
9d63d37d
AJ
41972012-07-03 Andreas Jaeger <aj@suse.de>
4198
4199 * po/bg.po: Update from translation team.
4200 * po/cs.po: Likewise.
4201 * po/de.po: Likewise.
4202 * po/hr.po: Likewise.
4203 * po/nl.pl: Likewise.
4204 * po/pl.po: Likewise.
4205 * po/vi.po: Likewise.
4206
370ca3d2
JM
42072012-07-03 Joseph Myers <joseph@codesourcery.com>
4208
95f5a9a8
JM
4209 * Makeconfig [!+link] (+link-before-libc): New variable.
4210 [!+link] (+link-after-libc): Likewise.
4211 [!+link] (+link-tests): Likewise.
4212 [!+link] (+link): Define in terms of $(+link-before-libc) and
4213 $(+link-after-libc).
4214 [!+link-static] (+link-static-before-libc): New variable.
4215 [!+link-static] (+link-static-after-libc): Likewise.
4216 [!+link-static] (+link-static-tests): Likewise.
4217 [!+link-static] (+link-static): Define in terms of
4218 $(+link-static-before-libc) and $(+link-static-after-libc).
4219 [build-shared] (link-libc-before-gnulib): New variable.
4220 [build-shared] (link-libc-tests): Likewise.
4221 [build-shared] (link-libc): Define in terms of
4222 $(link-libc-before-gnulib).
4223 [!build-shared] (link-libc-tests): New variable.
4224 (link-libc-static-tests): New variable.
4225 [!gnulib] (gnulib-arch): New variable.
4226 [!gnulib] (gnulib-tests): Likewise.
4227 [!gnulib] (static-gnulib-arch): Likewise.
4228 [!gnulib] (static-gnulib-tests): Likewise.
4229 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4230 Define with "=" instead of ":=".
4231 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4232 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4233 * Rules (binaries-all-notests): New variable.
4234 (binaries-all-tests): Likewise.
4235 (binaries-static-notests): Likewise.
4236 (binaries-static-tests): Likewise.
4237 (binaries-all): Define using $(binaries-all-notests) and
4238 $(binaries-all-tests).
4239 (binaries-static): Define using $(binaries-static-notests) and
4240 $(binaries-static-tests).
4241 (binaries-shared-tests): New variable.
4242 (binaries-shared-notests): Likewise.
4243 (binaries-shared): Remove variable.
4244 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4245 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4246 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4247 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4248 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4249 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4250 * elf/Makefile (sln-modules): New variable.
4251 (extra-objs): Add $(sln-modules:=.o).
4252 (ldconfig-modules): Add static-stubs.
4253 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4254 * elf/static-stubs.c: New file.
4255
7a845b2c
JM
4256 [BZ #14283]
4257 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4258 by 7 not 8 to examine high bit of fractional part. Use volatile
4259 variables when splitting into final array of floats if
4260 __FLT_EVAL_METHOD__ != 0.
4261 * math/libm-test.inc (cos_test): Add another test.
4262 (sin_test): Likewise.
4263 * sysdeps/i386/fpu/libm-test-ulps: Update.
4264
e2283f38
JM
4265 [BZ #14273]
4266 * math/libm-test.inc (cosh_test): Add more tests.
4267
370ca3d2
JM
4268 * version.h (RELEASE): Set to "development".
4269 (VERSION): Set to "2.16.90".
4270
ee9247c3
CD
42712012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4272
4273 * NEWS: Update copyright. Remove last-updated date.
4274 Mention math library bug fixes and timezone data changes.
4275 * README: Mention GNU/Hurd, x32, and HPPA support status.
4276
4648c381
TS
42772012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4278
4279 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4280
aac78a43
AJ
42812012-06-27 Andreas Jaeger <aj@suse.de>
4282
4283 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4284
ed3dbfad
AJ
42852012-06-25 Andreas Jaeger <aj@suse.de>
4286
4287 * sysdeps/s390/fpu/libm-test-ulps: Update.
4288
4d0ee855
AS
42892012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4290 Thomas Schwinge <thomas@codesourcery.com>
4291
4292 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4293 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4294 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4295 fanotify_mark.
4296
af1bce34
TS
42972012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4298
a9fa33ba
TS
4299 * sysdeps/mach/start.c: Remove file.
4300 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4301 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4302 * sysdeps/sh/init-first.c: Likewise.
4303
58f902b8
TS
4304 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4305 registers for frame unwinding purposes, add CFI directives.
4306 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4307 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4308 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4309 Likewise.
4310
1518f58b
TS
4311 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4312 __fortify_fail returning.
4313 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4314
db9b5059
TS
4315 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4316 sysdeps/sh/____longjmp_chk.S.
4317 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4318 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4319 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4320 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4321
967705fe
TS
4322 * sysdeps/sh/abort-instr.h: New file.
4323 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4324 process in case exit returns.
4325
a9def8c4
TS
4326 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4327 initialize the GOT register before use.
4328
2a649725
TS
4329 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4330 calculation of ARGC > 4.
4331
af1bce34
TS
4332 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4333 meaningful names to some local labels.
4334
d230f50a
KK
43352012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4336 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4337
4338 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4339 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4340 (__arch_compare_and_exchange_val_16_acq): Likewise.
4341 (__arch_compare_and_exchange_val_32_acq): Likewise.
4342 (atomic_exchange_and_add): Fix gUSA sequence.
4343 (atomic_add): Likewise.
4344 (atomic_add_negative): Likewise.
4345 (atomic_add_zero): Likewise.
4346 (atomic_bit_test_set): Likewise.
4347
0479b305
AS
43482012-06-22 Andreas Schwab <schwab@redhat.com>
4349
4350 [BZ #13579]
4351 * include/link.h (struct link_map): Add l_free_initfini.
4352 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4353 l_initfini.
4354 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4355 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4356 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4357 set.
4358
0e3933b9
CD
43592012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4360
4361 * configure.in: Use AC_LANG_SOURCE.
4362 * configure: Regenerate.
4363
4248b1b1
RM
43642012-06-22 Roland McGrath <roland@hack.frob.com>
4365
4366 * configure.in (libc_cv_localstatedir): New substituted variable.
4367 * configure: Regenerated.
4368 * config.make.in (localstatedir): New variable, substituted from
4369 libc_cv_localstatedir.
4370 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4371 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4372 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4373 * sysdeps/gnu/configure: Regenerated.
4374
006dd861
JL
43752012-06-21 Jeff Law <law@redhat.com>
4376
4377 [BZ #14277]
4378 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4379 free. Simplify list management for _LIBC case.
4380
79662d42
JM
43812012-06-21 Joseph Myers <joseph@codesourcery.com>
4382
b7abb4bf
JM
4383 [BZ #14273]
4384 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4385 Clear sign bit of 64-bit integer value before comparing against
4386 overflow value.
4387
79662d42
JM
4388 * sysdeps/mach/configure: Regenerated.
4389
1f150908
L
43902012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4391
4392 [BZ #14278]
4393 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4394
28363bbf
JL
43952012-06-21 Jeff Law <law@redhat.com>
4396
4397 [BZ #13882]
4398 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4399 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 4400 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
4401 * elf/dl-open.c (dl_open_worker): Likewise.
4402
09615db4
CD
44032012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4404
4405 * scripts/list-sources.sh: Scan PORTS for translations.
4406 * po/libc.pot: Regenerated.
4407
2174c6dd
AJ
44082012-06-21 Andreas Jaeger <aj@suse.de>
4409
4410 [BZ #12194]
4411 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4412 warning.
4413 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4414 * bits/byteswap-16.h (__bswap_16): Likewise.
4415 * bits/byteswap.h (__bswap_constant_16): Likewise.
4416
3ee947b1
L
44172012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4418
4419 [BZ #14117]
a2f34833
L
4420 * sysdeps/i386/fpu_control.h: Removed.
4421 * sysdeps/x86_64/fpu_control.h: Moved to ...
4422 * sysdeps/x86/fpu_control.h: Here.
4423
3ee947b1
L
4424 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4425 (_FPU_SETCW): Likewise.
4426
ed1825f8
L
44272012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4428
25f1282a
L
4429 [BZ #14117]
4430 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4431 * sysdeps/x86/fpu/bits/mathinline.h: This.
4432 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4433
ed1825f8
L
4434 [BZ #14050]
4435 [BZ #14117]
4436 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4437 functions if __x86_64__ is defined.
4438
36d54b74
CLT
44392012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4440
4441 * string/endian.h: Add !__ASSEMBLER__ condition for including
4442 conversion interfaces.
4443
10285c21
JM
44442012-06-15 Joseph Myers <joseph@codesourcery.com>
4445
4446 [BZ #14241]
4447 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4448 of ABS(x) in calculating zero to negative powers other than odd
4449 integers.
4450 * math/libm-test.inc (pow_test): Add more tests.
4451
06c5abbd
AJ
44522012-06-15 Andreas Jaeger <aj@suse.de>
4453
4454 * manual/contrib.texi (Contributors): Update entry of Liubov
4455 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4456 Machado Filho.
4457
a3aeac40
CH
44582012-06-15 Cyril Hrubis <metan@ucw.cz>
4459
4460 * string/string.h: Add __wur to GNU version of strerror_r.
4461
49bdf4c1
L
44622012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4463
4464 [BZ #14229]
4465 * string/Makefile (tests): Add tst-strtok_r.
4466 * string/tst-strtok_r.c: New file.
4467 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4468 RAX_LP/RDX_LP on SAVE_PTR.
4469
834f9b8d
RM
44702012-06-14 Roland McGrath <roland@hack.frob.com>
4471
4472 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4473
75fa1921
JM
44742012-06-14 Joseph Myers <joseph@codesourcery.com>
4475
4476 * libm_test.inc (csqrt_test): Allow more spurious underflow
4477 exceptions.
4478 (j0_test): Likewise.
4479 (j1_test): Likewise.
4480 (y0_test): Likewise.
4481 (y1_test): Likewise.
4482
771766df
CD
44832012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4484
4485 * po/Makefile (libc.pot): Use UTF-8 charset.
4486
ceb9e56b
PP
44872012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4488
4489 [BZ #14210]
4490 Suppress sign-conversion warning from FD_SET.
4491 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4492 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4493 not unsigned long int.
4494 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4495
ddb28975
L
44962012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4497
4498 [BZ #14050]
4499 [BZ #14117]
4500 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4501 __extern_always_inline instead of __extern_inline.
4502 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4503 (__signbit): Likewise.
4504 (__signbitl): Support C++ namespace.
4505 (lrintf): New inline function.
4506 (lrint): Likewise.
4507 (llrintf): Likewise.
4508 (llrint): Likewise.
4509 (fmaxf): Likewise.
4510 (fmax): Likewise.
4511 (fminf): Likewise.
4512 (fmin): Likewise.
4513 (rint): Likewise.
4514 (rintf): Likewise.
4515 (ceil): Likewise.
4516 (ceilf): Likewise.
4517 (floor): Likewise.
4518 (floorf): Likewise.
4519 (nearbyint): Likewise.
4520 (nearbyintf): Likewise.
4521
d7b4fb26
TS
45222012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4523
4524 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4525 non-default versions.
4526
eb55f5c2
RM
45272012-06-11 Roland McGrath <roland@hack.frob.com>
4528
4529 [BZ #14218]
4530 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4531
366af02c
TS
45322012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4533
99ff6e5c
TS
4534 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4535 (FE_UPWARD, FE_DOWNWARD): Don't define.
4536 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4537 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4538
366af02c
TS
4539 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4540 reading it.
4541 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4542 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4543
793ea851
KK
45442012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4545
4546 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4547 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4548 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4549 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4550
a728a38f
L
45512012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4552
4553 [BZ #14117]
c08010c7
L
4554 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4555 * sysdeps/i386/fpu/Implies: New file.
4556 * sysdeps/x86_64/fpu/Implies: Likewise.
4557 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4558 * sysdeps/x86/fpu/bits/fenv.h: This.
4559
a728a38f
L
4560 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4561 __SSE_MATH__.
4562
6e230d11
SP
45632012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4564
4565 [BZ #14134]
4566 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4567 character 0xffff that matches the last element of the
4568 conversion table.
4569
1b671feb
AZ
45702012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4571
4572 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4573 fmodl commit.
4574
6043738b
AZ
45752012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4576
4577 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4578 values higher than 25.6283.
4579
34ae0b32
AZ
45802012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4581
4582 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4583 subnormal exponent extraction and add some __builtin_expect.
4584 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4585 Fix for subnormal mantissa calculation.
4586
1214ec8f
MF
45872012-06-04 Mike Frysinger <vapier@gentoo.org>
4588
4589 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4590 cpu2 is -1 and errno is not ENOSYS.
4591
f3d1f93c
L
45922012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4593
4594 [BZ #14117]
0e4a3cd7
L
4595 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4596 * sysdeps/x86/bits/string.h: This.
4597 * sysdeps/x86_64/bits/string.h: Removed.
4598
6704c645
L
4599 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4600 if not compiling for x86-64, but compiling for >= i486.
4601
48495318
L
4602 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4603 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4604
14adcbfc
L
4605 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4606 New macro from Linux kernel 3.4.0.
4607 (FP_XSTATE_MAGIC2): Likewise.
4608 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4609 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4610 (struct _fpx_sw_bytes): New struct.
4611 (struct _xsave_hdr): Likewise.
4612 (struct _ymmh_state): Likewise.
4613 (struct _xstate): Likewise.
4614
68e408ab
L
4615 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4616 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4617 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4618 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4619 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4620 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4621
f3d1f93c
L
4622 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4623 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4624 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4625 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4626 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4627 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4628
d9dc34cd
TMQMF
46292012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4630
4631 [BZ #13743]
4632 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4633 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4634 (sysdep_headers): Include sys/platform/ppc.h.
4635 * sysdeps/powerpc/test-gettimebase.c: Test for
4636 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4637 * manual/Makefile (appendices): Include platform.texi.
4638 * manual/contrib.texi (Contributors): Update @node pointers.
4639 * manual/maint.texi (Maintenance): Likewise.
4640 (Platform): New node.
4641 * manual/platform.texi: New file. Document the new features.
4642
4af3879c
SP
46432012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4644 Jakub Jelinek <jakub@redhat.com>
4645
4646 [BZ #14188]
4647 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4648 where __builtin_expect is unavailable.
4649
2fd6ff13
DM
46502012-06-03 David S. Miller <davem@davemloft.net>
4651
4652 * stdlib/longlong.h: Updated from GCC.
4653
173f7220
AS
46542012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4655
4656 [BZ #14042]
4657 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4658 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4659 __mcount_internal.
4660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4661 (GLIBC_2.16): Likewise.
4662
f34a1c6f
L
46632012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4664
4665 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4666
88a4576f
JM
46672012-06-01 Joseph Myers <joseph@codesourcery.com>
4668
ea32bcdd
JM
4669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4670 (default-abi): New variable.
4671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4672 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4673 variable.
4674 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4675 Likewise.
4676 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4677 Likewise.
4678 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4679 Likewise.
4680
88a4576f
JM
4681 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4682 definition. Document in comment.
4683
402fe938
DM
46842012-06-01 David S. Miller <davem@davemloft.net>
4685
4686 * stdlib/longlong.h: Updated from GCC.
4687
3553723f
L
46882012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4689
4690 [BZ #14117]
3bd872c4
L
4691 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4692 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4693 sys/debugreg.h sys/io.h here.
4694 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4695 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4696 sys/io.h.
4697 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4698 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4699 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4700 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4701 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4702 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4703
3553723f
L
4704 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4705 Define only if __x86_64__ is defined.
4706
4842e4fe
JM
47072012-06-01 Joseph Myers <joseph@codesourcery.com>
4708
c5bfe3d5
JM
4709 [BZ #14048]
4710 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4711 Use int64_t for variable i.
4712 * math/libm-test.inc (fmod_test): Add more tests.
4713
4842e4fe
JM
4714 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4715 z computation is not scheduled after fetestexcept.
4716 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4717 Use math_force_eval instead of asm to ensure calculation scheduled
4718 before exception test.
4719 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4720 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4721
efb73488
AJ
47222012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4723
4724 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4725 computation is not scheduled after fetestexcept.
4726
29bcce7c
L
47272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4728
4729 [BZ #14117]
4730 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4731 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4732
73a68f94
AZ
47332012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4734
4735 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4736 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4737
67b6df78
L
47382012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4739
edf2933a 4740 [BZ #14117]
ebc64a18
L
4741 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4742 <bits/wordsize.h>.
4743 (__WCHAR_MIN): Support __WORDSIZE == 64.
4744 (__WCHAR_MAX): Likewise.
4745
edf2933a
L
4746 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4747 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4748
57c6cf40
L
4749 [BZ #14183]
4750 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4751 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4752
67b6df78 4753 [BZ #14117]
8eb6281e
L
4754 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4755 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4756
aac639f4
L
4757 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4758 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4759
67b6df78
L
4760 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4761 Defined to 1 if __x86_64__ isn't defined.
4762 (_STAT_VER_LINUX_OLD): New.
4763 (st_atime): Remove duplicate.
4764 (st_mtime): Likewise.
4765 (st_ctime): Likewise.
4766
1c2cfe81
DM
47672012-05-31 David S. Miller <davem@davemloft.net>
4768
4769 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4770 entries.
4771
5be8418c
AS
47722012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4773
e7725326
AS
4774 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4775 gen-libm-test.pl.
4776
5be8418c
AS
4777 [BZ #14132]
4778 * elf/dl-reloc.c: Include <_itoa.h>.
4779 (_dl_reloc_bad_type): Remove use of INTUSE.
4780 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4781 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4782 * stdio-common/psiginfo.c (psiginfo): Likewise.
4783 * stdio-common/psignal.c (psignal): Likewise.
4784 * string/strsignal.c (strsignal): Likewise.
4785 * include/signal.h (_sys_siglist): Declare hidden proto.
4786 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4787 INTVARDEF with libc_hidden_data_def.
4788 * stdio-common/itoa-udigits.c: Likewise.
4789 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4790 (_itoa_lower_digits_internal): Remove declaration.
4791 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4792 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4793 (_sys_sigabbrev_internal): Remove aliases.
4794 (_sys_siglist): Define hidden alias.
4795
507352f1
MT
47962012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4797
4798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4799 bits/sysctl.h.
4800
42bbb1c3
L
48012012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4802
4803 [BZ #14117]
6bd784b6
L
4804 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4805 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4806
8bca20f0
L
4807 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4808 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4809 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4810 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4811 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4812 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4813
f9e890a9
L
4814 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4815 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4816 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4817
471101a1
L
4818 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4819 with __addr.
4820 (insw): Likewise.
4821 (insl): Likewise.
4822 (outsb): Likewise.
4823 (outsw): Likewise.
4824 (outsl): Likewise.
4825
6451c862
L
4826 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4827 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4828 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4829
a254b8c9
L
4830 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4831 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4832 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4833 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4834 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4835 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4836
b8dfdd92
L
4837 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4838 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4839
578cd270
L
4840 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4841 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4842
de662f5f
L
4843 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4844 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4845 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4846
25653439
L
4847 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4848 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4849 to ...
4850 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4851
6bad24a0
L
4852 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4853 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4854 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4855
42bbb1c3
L
4856 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4857 for x86-64.
4858 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4859
2d10d547
JM
48602012-05-31 Joseph Myers <joseph@codesourcery.com>
4861
4862 * math/math.h (M_El): Use two more decimal places.
4863 (M_LOG2El): Likewise.
4864 (M_LOG10El): Likewise.
4865 (M_LN2l): Likewise.
4866 (M_LN10l): Likewise.
4867 (M_PIl): Likewise.
4868 (M_PI_2l): Likewise.
4869 (M_PI_4l): Likewise.
4870 (M_1_PIl): Likewise.
4871 (M_2_PIl): Likewise.
4872 (M_2_SQRTPIl): Likewise.
4873 (M_SQRT2l): Likewise.
4874 (M_SQRT1_2l): Likewise.
4875
f230c29b
DM
48762012-05-31 David S. Miller <davem@davemloft.net>
4877
4878 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4879 values between float registers.
4880 * sysdeps/sparc/sparc64/memset.S: Likewise.
4881 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4882
fed806c3
MF
48832012-05-31 Mike Frysinger <vapier@gentoo.org>
4884
4885 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4886 -D_FORTIFY_SOURCE=1.
4887 (CPPFLAGS-tst-longjmp_chk.c): Define.
4888 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4889 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4890 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4891 CFLAGS-tst-wchar-h.c.
4892
30917259
MP
48932012-05-31 Marek Polacek <polacek@redhat.com>
4894
4895 [BZ #14132]
4896 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4897 __endmntent_internal): Remove declaration.
4898 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4899 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4900 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4901
1c58d5dc
DM
49022012-05-30 David S. Miller <davem@davemloft.net>
4903
4904 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4905 (___Q_simulate_exceptions): Use real FP ops rather than writing
4906 into the %fsr.
4907 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4908 Likewise.
4909
7dc00e0d
L
49102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4911
4912 [BZ #14117]
0bd53985
L
4913 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4914 * sysdeps/x86/bits/xtitypes.h: This.
4915
3a257e66
L
4916 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4917 * sysdeps/x86/bits/wordsize.h: This.
4918
62f62904
L
4919 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4920 * sysdeps/x86/bits/huge_vall.h: This.
4921
404fe9d9
L
4922 * sysdeps/i386/bits/select.h: Removed.
4923 * sysdeps/x86_64/bits/select.h: Renamed to ...
4924 * sysdeps/x86/bits/select.h: This.
4925
d48d0446
L
4926 * sysdeps/i386/bits/setjmp.h: Removed.
4927 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4928 * sysdeps/x86/bits/setjmp.h: This.
4929
7dc00e0d
L
4930 * sysdeps/i386/bits/mathdef.h: Removed.
4931 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4932 * sysdeps/x86/bits/mathdef.h: This.
4933
03277f8f
AS
49342012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4935
4936 [BZ #14132]
4937 * include/sys/socket.h (__connect_internal)
4938 (__libc_sa_len_internal): Remove declaration.
4939 (__connect, __libc_sa_len): Declare hidden_proto.
4940 (SA_LEN): Remove use of INTUSE.
4941 * socket/connect.c: Add libc_hidden_def.
4942 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4943 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4944 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4945 alias.
4946 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4947 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4948 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4949 of adding _internal alias.
4950
13764867
L
49512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4952
4953 [BZ #14117]
6bd97696
L
4954 * sysdeps/i386/bits/link.h: Removed.
4955 * sysdeps/i386/bits/linkmap.h: Likewise.
4956 * sysdeps/x86_64/bits/link.h: Renamed to ...
4957 * sysdeps/x86/bits/link.h: This.
4958 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4959 * sysdeps/x86/bits/linkmap.h: This.
4960
f726f0bb
L
4961 * sysdeps/i386/bits/endian.h: Removed.
4962 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4963 * sysdeps/x86/bits/endian.h: This.
4964
13764867
L
4965 * sysdeps/i386/bits/byteswap.h: Removed.
4966 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4967 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4968 * sysdeps/x86/bits/byteswap.h: This.
4969 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4970 * sysdeps/x86/bits/byteswap-16.h: This.
4971 * sysdeps/i386/Implies: Add x86.
4972 * sysdeps/x86_64/Implies: Likewise.
4973
ae251b0b
DM
49742012-05-30 David S. Miller <davem@davemloft.net>
4975
4976 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4977 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4978 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4979 (FP_TRAPPING_EXCEPTIONS): Define.
4980 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4981 (FP_TRAPPING_EXCEPTIONS): Define.
4982 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4983 subnormals only when inexact has been signalled or underflow
4984 exceptions are enabled.
4985 (_FP_PACK_CANONICAL): Likewise.
4986
d5c90867
L
49872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4988
4989 [BZ #14183]
4990 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4991 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4992
63f1549e
RH
49932012-05-30 Richard Henderson <rth@twiddle.net>
4994
8d8f2279
RH
4995 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4996 with #ifndef NOT_IN_libc.
4997
63f1549e
RH
4998 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4999 marked to avoid plt entry.
5000
0ab0291b
L
50012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5002
5003 [BZ #14112]
5004 * Makeconfig (default-abi): New macro.
5005 (abi-includes): Likewise.
5006 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
5007 $(abi-$(default-abi)-lib-soname) for soname if defined.
5008 ($(common-objpfx)gnu/lib-names.stmp): Generate from
5009 abi-variants.
5010 * Makefile (installed-stubs): Likewise.
5011 * include/stubs-biarch.h: Removed.
5012 * scripts/lib-names.awk: Only handle one library at a time.
5013 * scripts/soversions.awk: Remove WORDSIZE support.
5014 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
5015 entries.
5016 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
5017 Removed.
5018 (syscall-list-default-condition): Likewise.
5019 (syscall-list-default-condition): Likewise.
5020 (syscall-list-includes): Likewise.
5021 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
5022 syscall-list-* with abi-*. Handle undefined abi-variants.
5023 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
5024 * sysdeps/unix/sysv/linux/i386/Implies: New file.
5025 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
5026 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
5027 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
5028 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
5029 Removed.
5030 (syscall-list-32-options): Likewise.
5031 (syscall-list-32-condition): Likewise.
5032 (syscall-list-64-options): Likewise.
5033 (syscall-list-64-condition): Likewise.
5034 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
5035 macro.
5036 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
5037 Renamed to ...
5038 (abi-*): This.
5039 (abi-64-ld-soname): New macro.
5040 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
5041 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
5042 Renamed to ...
5043 (abi-*): This.
5044 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
5045 * sysdeps/x86_64/x32/shlib-versions: Likewise.
5046
4da0431d
JM
50472012-05-30 Joseph Myers <joseph@codesourcery.com>
5048
3a85279c
JM
5049 * sysdeps/unix/sysv/linux/kernel-features.h
5050 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
5051 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
5052 include <kernel-features.h>.
5053 [!__NR_ftruncate64]: Remove conditional code.
5054 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5055 [__NR_ftruncate64]: Make code unconditional.
5056 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5057 * sysdeps/unix/sysv/linux/truncate64.c: Do not
5058 include <kernel-features.h>.
5059 [!__NR_ftruncate64]: Remove conditional code.
5060 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5061 [__NR_ftruncate64]: Make code unconditional.
5062 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
5064 include <kernel-features.h>.
5065 [!__NR_ftruncate64]: Remove conditional code.
5066 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5067 [__NR_ftruncate64]: Make code unconditional.
5068 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5070 include <kernel-features.h>.
5071 [!__NR_ftruncate64]: Remove conditional code.
5072 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5073 [__NR_ftruncate64]: Make code unconditional.
5074 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5075
4da0431d
JM
5076 * configure.in (libc_cv_fpie): Weaken to a compile test using
5077 LIBC_TRY_CC_OPTION.
5078 * configure: Regenerated.
5079
11ef492c
AK
50802012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5081
5082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5086 Refreshed.
5087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5093 Refreshed.
5094
d66ef399
DM
50952012-05-27 David S. Miller <davem@davemloft.net>
5096
5097 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5098 (___Q_zero): New.
5099 (__Q_simulate_exceptions): Return void. Change to simulate
5100 exceptions by writing into the %fsr.
5101 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5102 (__Qp_handle_exceptions): Likewise.
5103 (numbers): Delete.
5104 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5105 __Qp_handle_exceptions.
5106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5107 __Qp_handle_exceptions.
5108 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5109 as unused and give dummy FP_RND_NEAREST initializer.
5110 (FP_INHIBIT_RESULTS): Define.
5111 (___Q_simulate_exceptions): Update declaration.
5112 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5113 formatting.
5114 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5115 as unused and give dummy FP_RND_NEAREST initializer.
5116 (__Qp_handle_exceptions): Update declaration.
5117 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5118 formatting.
5119
04fb54b5
TS
51202012-05-27 Thomas Schwinge <thomas@codesourcery.com>
5121
5122 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5123 the temporary FPU control word.
5124 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5125 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5126 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5127 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5128 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5129 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5130 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5131 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5132 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5133 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5134 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5135
3f99608f
KK
51362012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5137
5138 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5139 fields.
5140
65a4de4e
CLT
51412012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
5142
5143 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5144 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5145 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5146 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5147 Likewise.
5148 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5149 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5150 Likewise.
5151
15749d40
UD
51522012-05-27 Ulrich Drepper <drepper@gmail.com>
5153
5154 * po/h.po: Update from translation team.
5155
25dbcb27
AS
51562012-05-26 Andreas Schwab <schwab@linux-m68k.org>
5157
3d3f8e55
AS
5158 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5159
25dbcb27
AS
5160 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5161 handling of denormals.
5162 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5163 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5164 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5165 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5166 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5167 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5168 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5169 Likewise.
5170
7ad47a80 51712012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
5172
5173 [BZ #14152]
5174 * math/libm-test.inc (fma_test): Don't always expect underflow
5175 exception.
5176
9c6ea9fa
SP
51772012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5178
5179 [BZ #12416]
5180 * elf/tst-execstack.c: Include stackinfo.h.
5181 (do_test): Adjust test case to ensure that pthread_getattr_np
5182 behaviour remains the same after marking stack executable.
5183
a8239222
JM
51842012-05-25 Joseph Myers <joseph@codesourcery.com>
5185
5186 * sysdeps/unix/sysv/linux/kernel-features.h
5187 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5188 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5189 kernel-features.h.
5190 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5191 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5192 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5193 kernel-features.h.
5194 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5195 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5196
918b5606
L
51972012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5198
5199 * configure.in: Define the default includes to being none.
5200 * configure: Regenerated.
5201
3a097cc7
RM
52022012-05-25 Roland McGrath <roland@hack.frob.com>
5203
8422c9a5
RM
5204 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5205 * sysdeps/x86_64/setjmp.S: Likewise.
5206 * sysdeps/i386/bsd-setjmp.S: Likewise.
5207 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5208 * sysdeps/i386/setjmp.S: Likewise.
5209 * sysdeps/i386/__longjmp.S: Likewise.
5210 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5211 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5212
3a097cc7
RM
5213 * include/stap-probe.h: New file.
5214 * configure.in: Handle --enable-systemtap.
5215 * configure: Regenerated.
5216 * config.h.in (USE_STAP_PROBE): New #undef.
5217 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5218 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5219 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5220
21708942
JM
52212012-05-25 Joseph Myers <joseph@codesourcery.com>
5222
5223 [BZ #13717]
5224 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5225 to 2.4.0 where earlier.
5226 * sysdeps/unix/sysv/linux/configure: Regenerated.
5227 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5228 <kernel-features.h>.
5229 [__ASSUME_32BITUIDS]: Make code unconditional.
5230 [!__ASSUME_32BITUIDS]: Remove conditional code.
5231 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5232 <kernel-features.h>.
5233 [__ASSUME_32BITUIDS]: Make code unconditional.
5234 [!__ASSUME_32BITUIDS]: Remove conditional code.
5235 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5236 [__ASSUME_32BITUIDS]: Make code unconditional.
5237 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5238 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5239 <kernel-features.h>.
5240 [__ASSUME_32BITUIDS]: Make code unconditional.
5241 [!__ASSUME_32BITUIDS]: Remove conditional code.
5242 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5243 <kernel-features.h>.
5244 [__ASSUME_32BITUIDS]: Make code unconditional.
5245 [!__ASSUME_32BITUIDS]: Remove conditional code.
5246 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5247 <kernel-features.h>.
5248 [__ASSUME_32BITUIDS]: Make code unconditional.
5249 [!__ASSUME_32BITUIDS]: Remove conditional code.
5250 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5251 <kernel-features.h>.
5252 [__ASSUME_32BITUIDS]: Make code unconditional.
5253 [!__ASSUME_32BITUIDS]: Remove conditional code.
5254 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5255 <kernel-features.h>.
5256 [__ASSUME_32BITUIDS]: Make code unconditional.
5257 [!__ASSUME_32BITUIDS]: Remove conditional code.
5258 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5259 <kernel-features.h>.
5260 [__ASSUME_32BITUIDS]: Make code unconditional.
5261 [!__ASSUME_32BITUIDS]: Remove conditional code.
5262 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5263 <kernel-features.h>.
5264 [__ASSUME_32BITUIDS]: Make code unconditional.
5265 [!__ASSUME_32BITUIDS]: Remove conditional code.
5266 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5267 <kernel-features.h>.
5268 [__ASSUME_32BITUIDS]: Make code unconditional.
5269 [!__ASSUME_32BITUIDS]: Remove conditional code.
5270 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5271 <kernel-features.h>.
5272 [__ASSUME_32BITUIDS]: Make code unconditional.
5273 [!__ASSUME_32BITUIDS]: Remove conditional code.
5274 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5275 <kernel-features.h>.
5276 [__ASSUME_32BITUIDS]: Make code unconditional.
5277 [!__ASSUME_32BITUIDS]: Remove conditional code.
5278 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5279 <kernel-features.h>.
5280 [__NR_setresgid] (__setresgid): Do not declare.
5281 [__ASSUME_32BITUIDS]: Make code unconditional.
5282 [!__ASSUME_32BITUIDS]: Remove conditional code.
5283 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5284 <kernel-features.h>.
5285 [__NR_setresuid] (__setresuid): Do not declare.
5286 [__ASSUME_32BITUIDS]: Make code unconditional.
5287 [!__ASSUME_32BITUIDS]: Remove conditional code.
5288 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5289 <kernel-features.h>.
5290 [__ASSUME_32BITUIDS]: Make code unconditional.
5291 [!__ASSUME_32BITUIDS]: Remove conditional code.
5292 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5293 <kernel-features.h>.
5294 [__ASSUME_32BITUIDS]: Make code unconditional.
5295 [!__ASSUME_32BITUIDS]: Remove conditional code.
5296 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
5297 <kernel-features.h>.
5298 [__ASSUME_32BITUIDS]: Make code unconditional.
5299 [!__ASSUME_32BITUIDS]: Remove conditional code.
5300 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
5301 <kernel-features.h>.
5302 [__ASSUME_32BITUIDS]: Make code unconditional.
5303 [!__ASSUME_32BITUIDS]: Remove conditional code.
5304 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
5305 <kernel-features.h>.
5306 [__ASSUME_32BITUIDS]: Make code unconditional.
5307 [!__ASSUME_32BITUIDS]: Remove conditional code.
5308 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
5309 <kernel-features.h>.
5310 [__ASSUME_32BITUIDS]: Make code unconditional.
5311 [!__ASSUME_32BITUIDS]: Remove conditional code.
5312 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
5313 <kernel-features.h>.
5314 [__ASSUME_32BITUIDS]: Make code unconditional.
5315 [!__ASSUME_32BITUIDS]: Remove conditional code.
5316 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5317 <kernel-features.h>.
5318 [__ASSUME_32BITUIDS]: Make code unconditional.
5319 [!__ASSUME_32BITUIDS]: Remove conditional code.
5320 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5321 <kernel-features.h>.
5322 [__ASSUME_32BITUIDS]: Make code unconditional.
5323 [!__ASSUME_32BITUIDS]: Remove conditional code.
5324 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5325 <kernel-features.h>.
5326 [__ASSUME_32BITUIDS]: Make code unconditional.
5327 [!__ASSUME_32BITUIDS]: Remove conditional code.
5328 * sysdeps/unix/sysv/linux/kernel-features.h
5329 (__ASSUME_SETRESUID_SYSCALL): Remove.
5330 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5331 (__ASSUME_32BITUIDS): Likewise.
5332 (__ASSUME_LDT_WORKS): Likewise.
5333 (__ASSUME_O_DIRECTORY): Likewise.
5334 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5335 architecture but not kernel version.
5336 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5337 (__ASSUME_MMAP2_SYSCALL): Likewise.
5338 (__ASSUME_STAT64_SYSCALL): Likewise.
5339 (__ASSUME_IPC64): Likewise.
5340 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5341 <kernel-features.h>.
5342 [__ASSUME_32BITUIDS]: Make code unconditional.
5343 [!__ASSUME_32BITUIDS]: Remove conditional code.
5344 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5345 <kernel-features.h>.
5346 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5347 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5348 132096]: Remove conditional code.
5349 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5350 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5351 <kernel-features.h>.
5352 [__ASSUME_32BITUIDS]: Make code unconditional.
5353 [!__ASSUME_32BITUIDS]: Remove conditional code.
5354 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5355 <kernel-features.h>.
5356 [__ASSUME_32BITUIDS]: Make code unconditional.
5357 [!__ASSUME_32BITUIDS]: Remove conditional code.
5358 * sysdeps/unix/sysv/linux/setegid.c: Do not include
5359 <kernel-features.h>.
5360 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5361 unconditional.
5362 (__setresgid): Do not declare.
5363 [__ASSUME_32BITUIDS]: Make code unconditional.
5364 [!__ASSUME_32BITUIDS]: Remove conditional code.
5365 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5366 <kernel-features.h>.
5367 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5368 unconditional.
5369 (__setresuid): Do not declare.
5370 [__ASSUME_32BITUIDS]: Make code unconditional.
5371 [!__ASSUME_32BITUIDS]: Remove conditional code.
5372 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5373 <kernel-features.h>.
5374 [__ASSUME_32BITUIDS]: Make code unconditional.
5375 [!__ASSUME_32BITUIDS]: Remove conditional code.
5376 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5377 <kernel-features.h>.
5378 [__ASSUME_32BITUIDS]: Make code unconditional.
5379 [!__ASSUME_32BITUIDS]: Remove conditional code.
5380
a386f1cc
RH
53812012-05-25 Richard Henderson <rth@twiddle.net>
5382
5383 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5384 dl_hwcap to ifunc resolver.
5385 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5386 elf_ifunc_invoke.
5387 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5388 dl_hwcap to ifunc resolver.
5389 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5390
b6550497
JM
53912012-05-24 Joseph Myers <joseph@codesourcery.com>
5392
5393 [BZ #14153]
5394 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5395 for |x| <= 2**-26, not 2**-57.
5396 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5397 exception.
5398
b0bc23a1
JL
53992012-05-24 Jeff Law <law@redhat.com>
5400
5401 * stdio-common/Makefile (tests): Add bug25.
5402 * stdio-common/bug25.c: New test.
5403
347c92e9
L
54042012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5405
5406 [BZ #13576]
5407 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5408 multiple of MALLOC_ALIGNMENT in size.
5409 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5410
6bcc8b3f
JM
54112012-05-24 Joseph Myers <joseph@codesourcery.com>
5412
5413 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5414 Require >= 256.
5415 (FILENAME_MAX): Use macro-int-constant.
5416 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5417 (_IOFBF): Use macro-int-constant.
5418 (_IOLBF): Likewise.
5419 (_IONBF): Likewise.
5420 (SEEK_CUR): Likewise.
5421 (SEEK_END): Likewise.
5422 (SEEK_SET): Likewise.
5423 (TMP_MAX): Likewise.
5424 (EOF): Use macro-int-constant. Require < 0.
5425 (NULL): Use macro-constant. Require == 0.
5426 (stdin): Require type to be FILE *.
5427 (stdout): Likewise.
5428 (stderr): Likewise.
5429 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5430 macro-int-constant.
5431 (EXIT_SUCCESS): Likewise.
5432 (NULL): Use macro-constant. Require == 0.
5433 (RAND_MAX): Use macro-int-constant.
5434 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5435 [C99-based standards] (strtof): Require function.
5436 [C99-based standards] (strtold): Likewise.
5437 [C99-based standards] (strtoll): Likewise.
5438 [C99-based standards] (strtoull): Likewise.
5439 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5440 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5441 [ISO || ISO99 || ISO11] (math.h): Likewise.
5442 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5443 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5444 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5445
d18ea0c5
AS
54462012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5447
5448 [BZ #14132]
56d25bb8
AS
5449 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5450 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5451 * intl/dgettext.c (DCGETTEXT): Likewise.
5452 * intl/gettext.c (DCGETTEXT): Likewise.
5453 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5454 * posix/regex_internal.h (gettext): Likewise.
5455 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5456 Remove declaration.
5457 * include/argz.h (__argz_count_internal)
5458 (__argz_stringify_internal): Remove declaration.
5459 (__argz_count, __argz_stringify): Declare hidden proto.
5460 * intl/dcgettext.c: Remove use of INTDEF.
5461 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5462 * string/argz-stringify.c: Likewise.
5463 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5464 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5465 Declare hidden proto.
d18ea0c5
AS
5466 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5467 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5468 Declare hidden proto.
5469 * include/stdio.h (__asprintf_internal): Don't declare.
5470 (__asprintf): Don't define as macro. Declare hidden proto.
5471 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5472 (__fsetlocking): Declare hidden proto.
5473 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5474 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5475 hidden proto.
5476 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5477 (_IO_setlinebuf): Remove use of INTUSE.
5478 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5479 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5480 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5481 Remove declaration.
5482 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5483 (_IO_do_flush): Remove use of INTUSE.
5484 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5485 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5486 (_IO_adjust_column, _IO_least_wmarker)
5487 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5488 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5489 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5490 (_IO_default_doallocate, _IO_wdefault_doallocate)
5491 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5492 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5493 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5494 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5495 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5496 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5497 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5498 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5499 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5500 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5501 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5502 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5503 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5504 proto.
5505 (_IO_flush_all_internal, _IO_adjust_column_internal)
5506 (_IO_default_uflow_internal, _IO_default_finish_internal)
5507 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5508 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5509 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5510 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5511 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5512 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5513 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5514 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5515 (_IO_file_close_internal, _IO_file_close_it_internal)
5516 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5517 (_IO_file_init_internal, _IO_file_attach_internal)
5518 (_IO_file_fopen_internal, _IO_file_read_internal)
5519 (_IO_file_sync_internal, _IO_file_seek_internal)
5520 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5521 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5522 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5523 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5524 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5525 (_IO_list_all_internal, _IO_link_in_internal)
5526 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5527 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5528 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5529 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5530 (_IO_do_write_internal, _IO_padn_internal)
5531 (_IO_getline_info_internal, _IO_getline_internal)
5532 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5533 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5534 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5535 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5536 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5537 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5538 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5539 with libc_hidden_ver, remove use of INTUSE.
5540 * libio/genops.c: Likewise.
5541 * libio/freopen.c: Likewise.
5542 * libio/freopen64.c: Likewise.
5543 * libio/iofclose.c: Likewise.
5544 * libio/iofdopen.c: Likewise.
5545 * libio/iofflush.c: Likewise.
5546 * libio/iofflush_u.c: Likewise.
5547 * libio/iofgets.c: Likewise.
5548 * libio/iofgets_u.c: Likewise.
5549 * libio/iofopen.c: Likewise.
5550 * libio/iofopncook.c: Likewise.
5551 * libio/iofread.c: Likewise.
5552 * libio/iofread_u.c: Likewise.
5553 * libio/ioftell.c: Likewise.
5554 * libio/iofwrite.c: Likewise.
5555 * libio/iogetline.c: Likewise.
5556 * libio/iogets.c: Likewise.
5557 * libio/iogetwline.c: Likewise.
5558 * libio/iopadn.c: Likewise.
5559 * libio/iopopen.c: Likewise.
5560 * libio/ioseekoff.c: Likewise.
5561 * libio/ioseekpos.c: Likewise.
5562 * libio/iosetbuffer.c: Likewise.
5563 * libio/iosetvbuf.c: Likewise.
5564 * libio/ioungetc.c: Likewise.
5565 * libio/ioungetwc.c: Likewise.
5566 * libio/iovdprintf.c: Likewise.
5567 * libio/iovsprintf.c: Likewise.
5568 * libio/iovsscanf.c: Likewise.
5569 * libio/memstream.c: Likewise.
5570 * libio/obprintf.c: Likewise.
5571 * libio/oldfileops.c: Likewise.
5572 * libio/oldiofclose.c: Likewise.
5573 * libio/oldiofdopen.c: Likewise.
5574 * libio/oldiofopen.c: Likewise.
5575 * libio/oldiopopen.c: Likewise.
5576 * libio/oldstdfiles.c: Likewise.
5577 * libio/putc.c: Likewise.
5578 * libio/setbuf.c: Likewise.
5579 * libio/setlinebuf.c: Likewise.
5580 * libio/stdfiles.c: Likewise.
5581 * libio/strops.c: Likewise.
5582 * libio/vasprintf.c: Likewise.
5583 * libio/vscanf.c: Likewise.
5584 * libio/vsnprintf.c: Likewise.
5585 * libio/vswprintf.c: Likewise.
5586 * libio/wfiledoalloc.c: Likewise.
5587 * libio/wfileops.c: Likewise.
5588 * libio/wgenops.c: Likewise.
5589 * libio/wmemstream.c: Likewise.
5590 * libio/wstrops.c: Likewise.
5591 * libio/__fpurge.c: Likewise.
5592 * libio/__fsetlocking.c: Likewise.
5593 * assert/assert.c: Likewise.
5594 * debug/fgets_chk.c: Likewise.
5595 * debug/fgets_u_chk.c: Likewise.
5596 * debug/fread_chk.c: Likewise.
5597 * debug/fread_u_chk.c: Likewise.
5598 * debug/gets_chk.c: Likewise.
5599 * debug/obprintf_chk.c: Likewise.
5600 * debug/vasprintf_chk.c: Likewise.
5601 * debug/vdprintf_chk.c: Likewise.
5602 * debug/vsnprintf_chk.c: Likewise.
5603 * debug/vsprintf_chk.c: Likewise.
5604 * malloc/mtrace.c: Likewise.
5605 * misc/error.c: Likewise.
5606 * misc/syslog.c: Likewise.
5607 * stdio-common/asprintf.c: Likewise.
5608 * stdio-common/fxprintf.c: Likewise.
5609 * stdio-common/getw.c: Likewise.
5610 * stdio-common/isoc99_fscanf.c: Likewise.
5611 * stdio-common/isoc99_scanf.c: Likewise.
5612 * stdio-common/isoc99_vfscanf.c: Likewise.
5613 * stdio-common/isoc99_vscanf.c: Likewise.
5614 * stdio-common/isoc99_vsscanf.c: Likewise.
5615 * stdio-common/printf-prs.c: Likewise.
5616 * stdio-common/printf_fp.c: Likewise.
5617 * stdio-common/printf_fphex.c: Likewise.
5618 * stdio-common/printf_size.c: Likewise.
5619 * stdio-common/putw.c: Likewise.
5620 * stdio-common/scanf.c: Likewise.
5621 * stdio-common/sprintf.c: Likewise.
5622 * stdio-common/tmpfile.c: Likewise.
5623 * stdio-common/vfprintf.c: Likewise.
5624 * stdio-common/vfscanf.c: Likewise.
5625 * stdlib/strfmon_l.c: Likewise.
5626 * sunrpc/openchild.c: Likewise.
5627 * sunrpc/xdr_stdio.c: Likewise.
5628 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5629 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5630
d6c33fda
RM
56312012-05-24 Roland McGrath <roland@hack.frob.com>
5632
c1487492
RM
5633 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5634
5635 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5636 in the third column, to generate for the shared library an IFUNC
5637 that uses _dl_vdso_vsym.
5638 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5639 * Makeconfig (object-suffixes-noshared): New variable.
5640
5641 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5642 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5643 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5644 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5645
d6c33fda
RM
5646 [BZ #14132]
5647 * include/sys/time.h (__gettimeofday): Remove macro.
5648 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5649 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5650 Remove INTDEF.
5651 (__gettimeofday): Add libc_hidden_def.
5652 (gettimeofday): Add libc_hidden_weak.
5653 * sysdeps/mach/gettimeofday.c: Likewise.
5654 * sysdeps/posix/gettimeofday.c: Likewise.
5655 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5656 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5657 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5658 (__gettimeofday_internal): Remove strong_alias.
5659 (__gettimeofday): Add libc_hidden_def.
5660 (gettimeofday): Add libc_hidden_weak.
5661 * sysdeps/unix/syscalls.list (gettimeofday):
5662 Remove __gettimeofday_internal alias.
5663
b5a2bbe6
L
56642012-05-24 Daniel Jacobowitz <drow@false.org>
5665 H.J. Lu <hongjiu.lu@intel.com>
5666
5667 [BZ #12495]
5668 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5669 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5670 (largebin_index_32_big): New.
5671 (largebin_index): Use it for 16-byte alignment.
5672 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5673 correction with front_misalign.
5674
cfba4fda
L
56752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5676
7f907421
L
5677 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5678 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5679 Likewise.
5680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5681 Likewise.
5682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5683 Likewise.
5684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5685 Likewise.
5686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5687 Likewise.
5688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5689 Likewise.
5690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5691 Likewise.
5692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5693 Likewise.
5694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5695 Likewise.
5696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5697 Likewise.
5698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5699 Likewise.
5700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5701 Likewise.
5702
cfba4fda
L
5703 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5704 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5705
80bad0cc
JM
57062012-05-24 Joseph Myers <joseph@codesourcery.com>
5707
7a25eb06
JM
5708 [BZ #10846]
5709 [BZ #14036]
5710 * math/libm-test.inc (exp_test): Add test from bug 14036.
5711 (pow_test): Add test from bug 10846.
5712
795405f9
JM
5713 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5714 and other flags.
5715 (special_function): Do not include flags in test name.
5716 (parse_args): Likewise.
5717 * sysdeps/i386/fpu/libm-test-ulps: Update.
5718 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5719 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5720 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5722
80bad0cc
JM
5723 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5724 exceptions.
5725 * math/libm-test.inc ("Philosophy"): Update comment about
5726 exception testing.
5727 (UNDERFLOW_EXCEPTION): New macro.
5728 (UNDERFLOW_EXCEPTION_OK): Likewise.
5729 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5730 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5731 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5732 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5733 (INVALID_EXCEPTION_OK): Update value.
5734 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5735 (OVERFLOW_EXCEPTION_OK): Likewise.
5736 (IGNORE_ZERO_INF_SIGN): Likewise.
5737 (test_exceptions): Handle underflow exceptions.
5738 (acos_test): Update for underflow exception expectations.
5739 (cexp_test): Likewise.
5740 (clog_test): Likewise.
5741 (clog10_test): Likewise.
5742 (csqrt_test): Likewise.
5743 (ctan_test): Likewise.
5744 (ctanh_test): Likewise.
5745 (exp_test): Likewise.
5746 (exp10_test): Likewise.
5747 (exp2_test): Likewise.
5748 (expm1_test): Likewise.
5749 (fma_test): Likewise.
5750 (j0_test): Likewise.
5751 (jn_test): Likewise.
5752 (nexttoward_test): Likewise.
5753 (pow_test): Likewise.
5754 (scalbn_test): Likewise.
5755 (scalbln_test): Likewise.
5756 (tan_test): Likewise.
5757 (y1_test): Likewise.
5758 * sysdeps/i386/fpu/libm-test-ulps: Update.
5759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5760
9e0e3d0b
DM
57612012-05-23 David S. Miller <davem@davemloft.net>
5762
5763 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5764 (__libc_sigaction): Remove unused local variables.
5765
ccd0a08f
L
57662012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5767
5768 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5769
62bdf9a6
PE
57702012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5771
f8591f80
PE
5772 mktime: avoid signed integer overflow
5773 * time/mktime.c (__mktime_internal): Do not mishandle the case
5774 where diff == INT_MIN.
5775
94c7d826
PE
5776 mktime: simplify computation of average
5777 * time/mktime.c (ranged_convert): Use new time_t_avg function
5778 instead of rolling our own (probably-slower) code.
5779
ce73d683
PE
5780 mktime: do not assume signed right shift propagates sign bit
5781 * time/mktime.c (isdst_differ): New static function.
5782 (__mktime_internal): No need to normalize tm_isdst now.
5783 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5784 tm_isdst values.
5785
72a22e59
PE
5786 mktime: merge another wrapv change from gnulib
5787 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5788 from some compilers.
5789
68605433
PE
5790 mktime: remove incorrect attempt at unusual arithmetics
5791 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5792 The code didn't really work on such machines anyway.
5793 (TYPE_MINIMUM): Assume two's complement.
5794 (twos_complement_arithmetic): Verify that long_int and time_t
5795 are two's complement (or unsigned, in the latter case).
5796
03cf7fe3
PE
5797 mktime: check signed shifts on long_int and time_t, too
5798 * time/mktime.c (SHR): Check that shifts work as desired
5799 on the types long_int and time_t too, as SHR is used on
5800 such types.
5801
f04dfbc2
PE
5802 mktime: do not assume 'long' is wide enough
5803 * time/mktime.c (verify): Move decl up.
5804 (long_int): New type.
5805 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5806 to remove assumption in the code that 'long' is wide enough to
5807 store year values. This assumption is not true on x32 and on
5808 some non-glibc platforms.
5809
62bdf9a6
PE
5810 mktime: merge wrapv change from gnulib
5811 * time/mktime.c (WRAPV): New macro.
5812 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5813 (guess_time_tm, __mktime_internal): Do not assume that signed
5814 integer overflow wraps around; modern compilers generate code
5815 where this assumption is no longer valid.
5816
5e292e4f
L
58172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5818
5819 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5820 Replace "jmp L(pseudo_end)" with "ret".
5821 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5822 Likewise.
5823
8caf8c87
AJ
58242012-05-23 Andreas Jaeger <aj@suse.de>
5825
5826 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5827 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5828
1a09dc56
AJ
58292012-05-23 Andreas Jaeger <aj@suse.de>
5830 Maximilian Attems <max@stro.at>
5831
5832 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5833 New macros.
5834
1c87aba0
L
58352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5836
5837 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5838 code so that pseudo_end is just ret and the stack pointer is
5839 correct also for static library in error case.
5840
40e45bd5
JM
58412012-05-23 Joseph Myers <joseph@codesourcery.com>
5842
c2670533
JM
5843 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5844 move to syscalls.list.
5845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5849
40e45bd5
JM
5850 * manual/install.texi (Running make install): Do not mention Linux
5851 kernel version for which pt_chown is not needed.
5852 (Linux): Do not mention problems with nscd with 2.0 kernels.
5853 * INSTALL: Regenerated.
5854
be08eda5
AJ
58552012-05-23 Andreas Jaeger <aj@suse.de>
5856
5857 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5858 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5859 macro.
5860 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5861 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5862 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5863 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5864 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5865 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5866 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5867 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5868 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5869 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5870 * sysdeps/unix/sysv/linux/bits/in.h
5871 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5872
a6a056bb
RM
58732012-05-22 Roland McGrath <roland@hack.frob.com>
5874
5875 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5876 (PREPARE_VERSION): Just use assert instead, it will be elided
5877 under [NDEBUG] anyway.
5878
c9009328
L
58792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5880
5881 * sysdeps/unix/sysv/linux/Makefile: Include
5882 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5883 (sysdep_routines): Remove sysctl.
c9009328
L
5884 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5885 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5886 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5887 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5888 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5889
73338355
AJ
58902012-05-22 Andreas Jaeger <aj@suse.de>
5891
5892 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5893 that pseudo_end is just ret and the stack pointer is correct also
5894 for static library in error case.
5895
d44638b0
PP
58962012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5897
5898 [BZ #14122]
5899 * nss/nsswitch.c (defconfig_entries): New variable.
5900 (__nss_database_lookup): Don't leak defconfig entries.
5901 (nss_parse_service_list): Don't leak on error paths.
5902 (free_database_entries): New function.
5903 (free_defconfig): New function.
5904 (free_mem): Move common code to free_database_entries.
5905
31a39bd8
L
59062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5907
da0331a8
L
5908 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5909 Add arch_prctl.
5910 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5911
31a39bd8
L
5912 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5913 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5914 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5915 New macro.
5916 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5917 (INTERNAL_SYSCALL_TYPES): Likewise.
5918 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5919 (LOAD_REGS_TYPES_[1-6]): Likewise.
5920 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5921 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5922
45470df3
AZ
59232012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5924
5925 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5926 copysignl for GLIBC_2_0.
5927 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5928 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5929 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5930 logbl for GLIBC_2_0.
5931 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5932 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5933
98a61bcb
L
59342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5935
a4f6e481
L
5936 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5937 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5938
f63d5db6
L
5939 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5940 Use "neg %eax".
5941
98a61bcb
L
5942 * time/mktime.c: Update copyright years.
5943
95770f14
PE
59442012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5945
6226efbd
PE
5946 mktime: merge comment-quoting-style change from gnulib
5947 * time/mktime.c: Quote 'like this' in comments.
5948 The GNU coding standards suggest that we no longer quote `like this',
5949 as "`" and "'" are typically rendered asymmetrically nowadays.
5950 The typical gnulib style is to quote 'like this' when quoting
5951 code, and "like this" when quoting English.
5952
b99e4f78
PE
5953 * time/mktime.c (compile-command): Add "-I.".
5954
643e01e6
PE
5955 mktime: merge mktime-internal.h change from gnulib
5956 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5957
2554247d
PE
5958 mktime: merge time_r change from gnulib
5959 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5960
826dd0ab
PE
5961 mktime: merge DEBUG change from gnulib
5962 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5963 case system <time.h> has a #define.
5964
bd83aabe
PE
5965 mktime: merge <sys/types.h> change from gnulib
5966 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5967 since <time.t> is now guaranteed to define time_t.
5968
95770f14
PE
5969 mktime: merge HAVE_CONFIG_H change from gnulib
5970 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5971
5e1a27a9
L
59722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5973
0e44a77e
L
5974 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5975 Use "neg %eax".
5976
5e1a27a9
L
5977 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5978 __rlim_t cast.
5979 (struct rusage): Use anonymous union to pad each field to
5980 __syscall_slong_t.
5981
46259bec
DM
59822012-05-21 David S. Miller <davem@davemloft.net>
5983
5984 * Makefules (o-iterator): Remove .s cases.
5985 (compile-command.s): Delete.
5986 (COMPILE.s): Delete.
5987 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5988
59f0c22e
JM
59892012-05-21 Joseph Myers <joseph@codesourcery.com>
5990
5991 * configure.in (libc_cv_predef_stack_protector): Only consider
5992 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5993 * configure: Regenerated.
5994
20c07380
L
59952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5996
bbb3154b
L
5997 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5998 New macro. Use R*LP on int and pointer.
5999 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
6000 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
6001 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
6002 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
6003
20c07380
L
6004 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
6005 [__WORDSIZE_TIME64_COMPAT32] instead of
6006 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
6007 (struct utmp): Likewise.
6008 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
6009 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
6010 Renamed to ...
6011 (__WORDSIZE_TIME64_COMPAT32): This.
6012 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6013 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6014 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6015 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6016 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
6017 (__WORDSIZE_TIME64_COMPAT32): New macro.
6018
d8d1017e
AJ
60192012-05-21 Andreas Jaeger <aj@suse.de>
6020
6021 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
6022 only if [SHARED]. Add prototype for __wcschr_ia32.
6023
6c7fb145
RM
60242012-05-21 Roland McGrath <roland@hack.frob.com>
6025
6026 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
6027 of %rbp unmolested in the jmp_buf while mangling the low bits.
6028 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6029 unmolested high bits of %rbp while demangling the low bits.
6030 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6031
66274218
AJ
60322012-05-21 Andreas Jaeger <aj@suse.de>
6033
07c58f8f
AJ
6034 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
6035 * sunrpc/svc_simple.c: Use it for registerrpc.
6036 * sunrpc/xcrypt.c: Use it for passwd2des.
6037
66274218
AJ
6038 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
6039
61f65140
L
60402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6041
6042 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
6043 Don't define if [__SYSCALL_WORDSIZE != 32].
6044 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
6045 New macro.
6046
5fefb436
AJ
60472012-05-21 Bruno Haible <bruno@clisp.org>
6048 Andreas Jaeger <aj@suse.de>
6049
6050 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
6051 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6052 inptr and inend for must_buffer_ch.
6053 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
6054 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
6055 * stdio-common/Makefile (tests): Remove bug15.
6056 (bug15-ENV): Remove macro.
6057 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
6058 anymore.
6059
d8e272ab
AJ
60602012-05-19 Andreas Jaeger <aj@suse.de>
6061 Roland McGrath <roland@hack.frob.com>
6062
6063 * manual/contrib.texi: Completely rewritten. It contains now an
6064 alphabetical list of contributors and their contributions.
6065
4a56a162
RH
60662012-05-21 Richard Henderson <rth@twiddle.net>
6067
6068 * misc/getauxval.c (__getauxval): Use unsigned long int.
6069 * misc/sys/auxv.h: Include <sys/cdefs.h>.
6070 (getauxval): Use unsigned long int.
6071
d024d23c
L
60722012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6073
6074 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6075
cbc00a03
RM
60762012-05-21 Roland McGrath <roland@hack.frob.com>
6077
6078 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6079 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6080 __alignof__ (long double).
6081
478143fa
AZ
60822012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6083
6084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6085
c7683a6d
RH
60862012-05-20 Richard Henderson <rth@twiddle.net>
6087
6088 * misc/getauxval.c: New file.
6089 * misc/sys/auxv.h: New file.
6090 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6091 (routines): Add getauxval.
6092 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6093 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6094 * elf/dl-sysdep.c (_dl_auxv): Remove.
6095 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6096 * elf/dl-support.c (_dl_auxv): New variable.
6097 (_dl_aux_init): Initialize it.
6098 * manual/startup.texi (Auxiliary Vector): New node.
6099 * sysdeps/generic/bits/hwcap.h: New file.
6100 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6101 * sysdeps/powerpc/sysdep.h: ... here. Include it.
6102 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6103 * sysdeps/sparc/sysdep.h: ... here. Include it.
6104 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6105 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
6106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6107 Update.
c7683a6d
RH
6108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6111 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6116
a6f1845d
AZ
61172012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6118
6119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6120
cbcbe830
DM
61212012-05-19 David S. Miller <davem@davemloft.net>
6122
6123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6124
e0b16cc2
JM
61252012-05-19 Joseph Myers <joseph@codesourcery.com>
6126
6127 [BZ #14123]
6128 * math/s_ccosh.c: Include <float.h>
6129 (__ccosh): Avoid internal overflow calculating sinh and cosh
6130 values before multiplying by sin and cos values.
6131 * math/s_ccoshf.c: Likewise.
6132 * math/s_ccoshl.c: Likewise.
6133 * math/s_csin.c: Likewise.
6134 * math/s_csinf.c: Likewise.
6135 * math/s_csinl.c: Likewise.
6136 * math/s_csinh.c: Likewise.
6137 * math/s_csinhf.c: Likewise.
6138 * math/s_csinhl.c: Likewise.
6139 * math/libm-test.inc (ccos_test): Add more tests.
6140 (ccosh_test): Likewise.
6141 (csin_test): Likewise.
6142 (csinh_test): Likewise.
6143 * sysdeps/i386/fpu/libm-test-ulps: Update.
6144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6145
6ad13e08
L
61462012-05-19 H.J. Lu <hongjiu.lu@intel.com>
6147
f66f0ce8
L
6148 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6149 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6150
6ad13e08
L
6151 * sysdeps/x86_64/x32/_itoa.h: Add comment.
6152
b1d072a7
JM
61532012-05-19 Joseph Myers <joseph@codesourcery.com>
6154
6155 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6156 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6157 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6158 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6159 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6160 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6161 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6162 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6163 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6164 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6165 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6166 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6167 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6168 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6169 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6170 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6171 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6172 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6173 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6174 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6175 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6176 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6177 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6178 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6179 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6180 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6181 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6182 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6183 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6184 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6185 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6186
9eae47cb
AJ
61872012-05-18 Andreas Jaeger <aj@suse.de>
6188
6189 * csu/.gitignore: Delete.
6190
bb07f69f
L
61912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6192
6193 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6194 (timex): Use __syscall_slong_t.
6195
e6bdb741
AJ
61962012-05-18 Andreas Jaeger <aj@suse.de>
6197 Carlos O'Donell <carlos_odonell@mentor.com>
6198
6199 * manual/install.texi (Configuring and compiling): Update
6200 description about files modified in the source directory.
d6c33fda 6201 * INSTALL: Regenerated.
e6bdb741 6202
1b74487e
L
62032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6204
6205 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6206 value. Use "or" to set return value to -1.
6207 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6208 negate return value.
6209
a88b64b9
TMQMF
62102012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6211
6212 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6213 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6214 failure if the compiler has Graphite support disabled.
6215 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6216 Likewise.
6217 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6218 CFLAGS-memmove.c): Likewise.
6219 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6220 Likewise.
6221
3707636e
L
62222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6223
610b8622
L
6224 * sysdeps/x86_64/x32/_itoa.h: New file.
6225
7cd195df
L
6226 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6227 getdents system call only if kernel and user dirents have the
6228 same d_ino and d_off.
6229
94b07d20
L
6230 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6231 LLONG_MAX != LONG_MAX.
6232 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6233 (_fitoa_word): Likewise.
6234
18298070
L
6235 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6236 years.
6237 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6238 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6239 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6240
553c7ea4
L
6241 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6242 include <bits/wordsize.h>. Check __x86_64__ instead of
6243 __WORDSIZE.
6244 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6245 if __x86_64__ is defined. Use anonymous union on fpstate.
6246
3707636e
L
6247 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6248 anonymous union.
6249
b53ef01a
AS
62502012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6251
37fb1dc0
AS
6252 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6253 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6254 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6255 Refer to _rtld_local_ro instead of _rtld_global_ro.
6256 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6257 Likewise.
6258 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6259 Likewise.
6260 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6261 Likewise.
6262 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6263 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6264 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6265
b53ef01a
AS
6266 * sysdeps/powerpc/powerpc32/dl-machine.c
6267 (__elf_machine_runtime_setup) [PROF]: Don't reference
6268 _dl_prof_resolve.
6269
7a185db2
AJ
62702012-05-18 Andreas Jaeger <aj@suse.de>
6271
6272 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6273 function only available for GCCs before 3.4 since GCC 3.4
6274 introduced a builtin.
6275 (lrint): Likewise.
6276 (llrintf): Likewise.
6277 (llrint): Likewise.
6278 (fmaxf): Likewise.
6279 (fmax): Likewise.
6280 (fminf): Likewise.
6281 (fmin): Likewise.
6282 (rint): Likewise.
6283 (rintf): Likewise.
6284 (nearbyint): Likewise.
6285 (nearbyintf): Likewise.
6286 (ceil): Likewise.
6287 (ceilf): Likewise.
6288 (floor): Likewise.
6289 (floorf): Likewise.
6290
3e5aef87
L
62912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6292
428bd707
L
6293 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6294 on both fields and cast pointer to __syscall_ulong_t.
6295
3e5aef87
L
6296 * bits/types.h (__fsword_t): New type.
6297 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6298 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6299 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6300 (__FSWORD_T_TYPE): Likewise.
6301 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6302 (__FSWORD_T_TYPE): Likewise.
6303 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6304 (__FSWORD_T_TYPE): Likewise.
6305 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6306 (__FSWORD_T_TYPE): Likewise.
6307 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6308 __SWORD_TYPE with __fsword_t.
6309 (statfs64): Likewise.
6310
1ba7c3dc
DM
63112012-05-17 David S. Miller <davem@davemloft.net>
6312
6313 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6314
59910343
AJ
63152012-05-17 Andreas Jaeger <aj@suse.de>
6316
6317 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6318 warning.
6319
2e4c1e9e
L
63202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6321
6322 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6323
de7f5ce7
AJ
63242012-05-17 Andreas Jaeger <aj@suse.de>
6325
6326 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6327 when it is used.
6328
286abc3d
CM
63292012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6330
6331 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6332
477cc68e
L
63332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6334
6335 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6336 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6337
1a0994f5
CD
63382012-05-17 Andreas Jaeger <aj@suse.de>
6339 Carlos O'Donell <carlos_odonell@mentor.com>
6340
6341 [BZ #14059]
6342 * sysdeps/x86_64/multiarch/init-arch.h
6343 (bit_YMM_Usable): Rename to...
6344 (bit_AVX_Usable): ... this.
6345 (bit_FMA4_Usable): New macro.
6346 (bit_XMM_state): New macro.
6347 (bit_YMM_state): New macro.
6348 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6349 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6350 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6351 (CPUID_OSXSAVE): New macro.
6352 (CPUID_AVX): New macro.
6353 (CPUID_FMA4): New macro.
6354 (index_YMM_Usable): Rename to...
6355 (index_AVX_Usable): ... this.
6356 (HAS_AVX): Use HAS_ARCH_FEATURE.
6357 (HAS_FMA4): Likewise.
6358 (HAS_YMM_USABLE): Remove.
6359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6360 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6361 are present.
6362 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6363 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6364 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6365 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6366 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6367
0af797de
CM
63682012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6369
6370 * math/libm-test.c: Support platforms without multiple rounding modes.
6371 * math/bug-nextafter.c: Support platforms without FP exceptions.
6372 * math/bug-nexttoward.c: Likewise.
6373 * math/test-fenv.c: Likewise.
6374 * math/test-misc.c: Likewise.
6375 * stdlib/bug-getcontext.c: Likewise.
6376
e39745ff
AJ
63772012-05-17 Andreas Jaeger <aj@suse.de>
6378
6379 * manual/examples/search.c (critter_cmp): Change signature to
6380 avoid warnings.
6381 * manual/string.texi (Collation Functions): Likewise.
6382
48970aba
L
63832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6384
6385 * bits/types.h: Fold copyright years.
6386 * bits/typesizes.h: Likewise.
6387 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6388 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6389 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6390 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6391 * time/time.h: Likewise.
6392
bedee953
PP
63932012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6394
6395 [BZ #208]
6396 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6397 in instead of returning them. Return void.
6398 (__libc_mallinfo): Accumulate over all arenas.
6399 (__malloc_stats): Adjust for change in int_mallinfo interface.
6400
61653dfb
RM
64012012-05-16 Roland McGrath <roland@hack.frob.com>
6402
30b99d79
RM
6403 [BZ #10375]
6404 * configure.in (NM): Add AC_CHECK_TOOL for it.
6405 (libc_extra_cflags): New substituted variable.
6406 Check for -fstack-protector being used implicitly.
6407 * configure: Regenerated.
6408 * config.make.in (config-extra-cflags): New variable,
6409 gets @libc_extra_cflags@.
6410 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6411
61653dfb
RM
6412 [BZ #10375]
6413 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6414 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6415 * configure: Regenerated.
6416 * config.make.in (CPPUNDEFS): New substituted variable.
6417 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6418 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6419 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6420
661768bb
L
64212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6422
6423 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6424 (mq_attr): Use __syscall_slong_t.
6425
d4261567
L
64262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6427
6428 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6429 Check __x86_64__ instead of __WORDSIZE.
6430 (_STAT_VER_LINUX): Likewise.
6431 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6432 __syscall_ulong_t and __syscall_slong_t.
6433 (stat64): Likewise.
6434
cf3ff365
L
64352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6436
6437 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6438
76cf3e4d
L
64392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6440
6441 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6442
a637753a
L
64432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6444
6445 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6446 __syscall_ulong_t.
6447
d5e05119
L
6448 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6449 include <bits/wordsize.h>. Check __x86_64__ instead of
6450 __WORDSIZE.
6451 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6452 defined.
6453 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6454
f62ee380
L
6455 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6456 include <bits/wordsize.h>. Check __x86_64__ instead of
6457 __WORDSIZE.
6458 (user_regs_struct): Use "__extension__ unsigned long long"
6459 instead of "unsigned long" if __x86_64__ is defined.
6460 (user): Likewise. Pad after pointer field if __ILP32__ is
6461 defined.
6462
4e124ced
JM
64632012-05-16 Joseph Myers <joseph@codesourcery.com>
6464
6a3951a0
JM
6465 * configure.in (makeinfo): Require version 4.5 or later. Allow
6466 versions 5 to 9.
6467 * configure: Regenerated.
6468 * manual/install.texi (texinfo): Increase version requirement to
6469 4.5 or later.
6470 * INSTALL: Regenerated.
6471
4e124ced
JM
6472 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6473
953ca31a
L
64742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6475
6476 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6477
617aca05
L
6478 * sysdeps/x86_64/x32/ffs.c: New file.
6479
5762f7ae
L
6480 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6481 __syscall_ulong_t.
6482 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6483 defined. Use __syscall_ulong_t.
6484 (shminfo): Use __syscall_ulong_t.
6485 (shm_info): Likewise.
6486
a26b6856
L
6487 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6488 __syscall_ulong_t.
6489
cb2b9ef7
L
6490 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6491 <bits/wordsize.h>.
6492 (msgqnum_t): Use __syscall_ulong_t.
6493 (msglen_t): Likewise.
6494 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6495 __syscall_ulong_t.
6496
34683bb0
L
6497 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6498 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6499
84a68786
L
6500 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6501
48baa5f1
L
6502 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6503 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6504
180be88b
L
6505 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6506 __syscall_slong_t.
6507
5e90c8ad
L
6508 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6509 include <bits/wordsize.h>. Check __x86_64__ instead of
6510 __WORDSIZE.
6511
23dfb58b
L
6512 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6513 "unsigned long long int" if __x86_64__ is defined.
6514 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6515
ce5d54b0
L
6516 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6517 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6518 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6519
13dc9eac
L
6520 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6521 <stdint.h>.
6522 (GET_PC): Cast to uintptr_t first.
6523 (GET_FRAME): Likewise.
6524 (GET_STACK): Likewise.
6525
a7895d15
L
6526 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6527 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6528 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6529 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6530 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6531 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6532 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6533 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6534 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6535 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6536 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6537 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6538 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6539 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6540 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6541 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6542 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6543 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6544 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6545 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6546 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6547 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6548 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6549 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6550 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6551 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6552 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6553 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6554 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6555
656416c9
AS
65562012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6557
5bd66283
AS
6558 * Makerules (+depfiles): Also collect depfiles from .oS in
6559 $(extra-objs).
6560 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6561 .oS, $(libnldbl-routines)).
6562
656416c9
AS
6563 * Makerules (native-compile-mkdep-flags): Define.
6564 * sunrpc/Makefile (extra-objs): Add $(addprefix
6565 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6566 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6567 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6568 calling $(make-target-directory).
6569
a46f2169
L
65702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6571
6572 * bits/types.h (__snseconds_t): Removed.
6573 * time/time.h (struct timespec): Replace __snseconds_t with
6574 __syscall_slong_t.
6575 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6576 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6577 Likewise.
6578 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6579 (__SNSECONDS_T_TYPE): Likewise.
6580 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6581 (__SNSECONDS_T_TYPE): Likewise.
6582 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6583 (__SNSECONDS_T_TYPE): Likewise.
6584
6af6528b
L
65852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6586
6587 * sysdeps/mach/hurd/bits/typesizes.h
6588 (__SYSCALL_SLONG_TYPE): New macro.
6589 (__SYSCALL_ULONG_TYPE): Likewise.
6590
de986b56
L
65912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6592
6593 * bits/types.h (__syscall_slong_t): New type.
6594 (__syscall_ulong_t): Likewise.
6595
6596 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6597 (__SYSCALL_ULONG_TYPE): Likewise.
6598 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6599 (__SYSCALL_SLONG_TYPE): Likewise.
6600 (__SYSCALL_ULONG_TYPE): Likewise.
6601 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6602 (__SYSCALL_SLONG_TYPE): Likewise.
6603 (__SYSCALL_ULONG_TYPE): Likewise.
6604 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6605 (__SYSCALL_SLONG_TYPE): Likewise.
6606 (__SYSCALL_ULONG_TYPE): Likewise.
6607
85736dc7
L
66082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6609
6610 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6611 Add sigaltstack-offsets.sym.
6612 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6613 <sigaltstack-offsets.h>.
6614 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6615 longjmp_msg pointer.
6616 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6617 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6618 signal stack.
6619 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6620
cc03b296
JM
66212012-05-15 Joseph Myers <joseph@codesourcery.com>
6622
a9538892
JM
6623 * elf/stackguard-macros.h: Remove file.
6624 * sysdeps/generic/stackguard-macros.h: New file.
6625 * sysdeps/i386/stackguard-macros.h: Likewise.
6626 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6627 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6628 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6629 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6630 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6631 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6632 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6633 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6634 <elf/stackguard-macros.h>.
6635
cc03b296
JM
6636 [BZ #14109]
6637 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6638 __aligned__ in attribute.
6639 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6640 (gregset_t): Likewise.
6641
93171016
L
66422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6643
6644 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6645 * sysdeps/x86_64/64/Implies-after: Here. New file.
6646 * sysdeps/x86_64/x32/Implies-after: New file.
6647
d86813a0
L
66482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6649
6650 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6651 and access return value for _dl_profile_fixup. Use R10_LP to
6652 load frame size.
6653
2953ec75
L
66542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6655
6656 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6657
3b550e9e
L
66582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6659
6660 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6661 * sysdeps/x86_64/x32/sysdep.h: New file.
6662
eda41706
L
66632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6664
6665 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6666 * sysdeps/x86_64/setjmp.S: Likewise.
6667
9ea01d93
AZ
66682012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6669
6670 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6671 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6672 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6673 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6674 remove unused global constant.
6675
02a91938
CM
66762012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6677
6678 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6679 include of <not-cancel.h>.
6680
6540185f
RM
66812012-05-15 Roland McGrath <roland@hack.frob.com>
6682
6683 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6684
509072a0
AJ
66852012-05-15 Jeff Law <law@redhat.com>
6686 Andreas Jaeger <aj@suse.de>
6687
6688 [BZ #13594]
6689 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6690 out from...
6691 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6692 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6693 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6694 code changing __hst_map_handle.map.
6695
ba75122d
RM
66962012-05-15 Roland McGrath <roland@hack.frob.com>
6697
6698 * configure.in (sysnames): Look for Implies-before and Implies-after
6699 files.
6700 * configure: Regenerated.
6701
890d8bd8
L
67022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6703
6704 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6705 8-byte data alignment with LP_SIZE alignment.
6706
f6ee6623
L
67072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6708
6709 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6710 into R10_LP.
6711
ea2626f6
L
67122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6713
6714 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6715
085f715e
L
67162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6717
6718 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6719 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6720 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6721 Likewise.
6722 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6723
be8498fc
L
67242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6725
6726 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6727 (stackinfo_sub_sp): Likewise.
6728
70bc83b9
L
67292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6730
6731 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6732 RAX_LP.
6733
9bc0b730
L
67342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6735
6736 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6737 into R*_LP.
6738
6d2850e7
L
67392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6740
6741 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6742 sizes into R*_LP.
6743
3cb84561
L
67442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6745
6746 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6747
54e2ed81
L
67482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6749
6750 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6751 into R11_LP and load __x86_64_shared_cache_size_half into
6752 R8_LP.
6753
8a17f349
L
67542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6755
6756 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6757 R8_LP.
6758
777b1eea
AZ
67592012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6760
6761 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6762 logb for POWER7.
6763 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6764 logbf for POWER7.
6765 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6766 logbl for POWER7.
6767 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6768 powerpc32/power7/fpu/s_logb.c via #include.
6769 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6770 powerpc32/power7/fpu/s_logbf.c via #include.
6771 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6772 powerpc32/power7/fpu/s_logbl.c via #include.
6773
d20d4ac2
JM
67742012-05-15 Joseph Myers <joseph@codesourcery.com>
6775
6776 * README.libm: Remove file.
6777
6cdef1ab
L
67782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6779
6780 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6781 count for x32. Use R*_LP and omit operand-size suffix.
6782
0b254d8f
L
67832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6784
6785 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6786 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6787 * sysdeps/x86_64/x32/shlib-versions: New file.
6788
ceb809dc
RM
67892012-05-14 Roland McGrath <roland@hack.frob.com>
6790
6791 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6792 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6793 Use _dl_fatal_printf instead.
6794
37f1abd4
JM
67952012-05-14 Joseph Myers <joseph@codesourcery.com>
6796
6797 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6798 set if not set by the user. Do not allow for being unset.
6799 * sysdeps/unix/sysv/linux/configure: Regenerated.
6800
11de3a33
L
68012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6802
6803 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6804 the `q' suffix from lea and replace .quad with ASM_ADDR.
6805
e02f153a
L
68062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6807
6808 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6809 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6810 instead of $17.
6811 (PTR_DEMANGLE): Likewise.
6812
520ae0fd
L
68132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6814
6815 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6816 (LP_OP): Likewise.
6817 (ASM_ADDR): Likewise.
6818 (RAX_LP): Likewise.
6819 (RBP_LP): Likewise.
6820 (RBX_LP): Likewise.
6821 (RCX_LP): Likewise.
6822 (RDI_LP): Likewise.
6823 (RSI_LP): Likewise.
6824 (RSP_LP): Likewise.
6825 (R8_LP): Likewise.
6826 (R9_LP): Likewise.
6827 (R10_LP): Likewise.
6828 (R10_LP): Likewise.
6829 (R11_LP): Likewise.
6830 (R12_LP): Likewise.
6831 (R13_LP): Likewise.
6832 (R14_LP): Likewise.
6833 (R15_LP): Likewise.
6834
b985be81
L
68352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6836
6837 * sysdeps/x86_64/x32/dl-machine.h: New file.
6838
6a4888ff
AJ
68392012-05-14 Andreas Jaeger <aj@suse.de>
6840
6841 * manual/Makefile (subdir): Remove export of subdir.
6842 (all): Remove target.
6843 (.PHONY): Remove all from list.
6844 (mkinstalldirs): Remove.
6845 (.PHONY): Remove installdirs from list.
6846 ($(inst_infodir)/libc.info): Use make-target-directory.
6847 (installdirs): Remove.
6848 (subdir_%): Remove.
6849 (glibc-targets): Remove.
6850 (lib): Remove.
6851 (stubs): Remove.
6852 ($(objpfx)stubs ../po/manual.pot): Remove.
6853 ($(objpfx)stamp%): Remove.
6854 (make-target-directory): Remove.
6855 (subdir_install): Remove.
6856 (routines): Remove.
6857 (aux): Remove.
6858 (sources): Remove.
6859 (objects): Remove.
6860 (headers): Remove.
6861
6862 [BZ #13750]
6863 * manual/.gitignore: Remove, it's not needed anymore.
6864 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6865 all files in it.
6866 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6867 directory.
6868 (texis): Renamed to $(objpfx)texis.
6869 (texis-path): New, contains path to generated files.
6870 (chapters.%): Use texis-path for complete path, add extra argument
6871 libc-texinfo.sh.
6872 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6873 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6874 (summary,texi, stamp-summary): Use complete path of
6875 files. Generate files in build dir.
6876 (dir-add.texi): Build in build dir.
6877 (libm-err.texi,stamp-libm-err): Likewise.
6878 (version.texi, stamp-version): Likewise.
6879 (.%c.texi): Likewise.
6880 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6881 (mostlyclean): Remove target.
6882 (realclean): Remove target.
6883 (generated): Add new variable with contents from mostlyclean and
6884 realclean, remove entries duplicated in common-mostlyclean, add
6885 stamp-libm-err and stamp-version.
6886 (generated-dirs): Add libc directory.
6887 ($(inst_infodir)/libc.info): Install files from build dir.
6888
6889 * manual/install.texi (Configuring and compiling): Adjust since
6890 the info files are not part of the tar ball anymore.
6891
7ac77294
AJ
68922012-05-14 Andreas Jaeger <aj@suse.de>
6893
6894 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6895 variable.
6896
ffb7875d
JM
68972012-05-14 Joseph Myers <joseph@codesourcery.com>
6898
6899 [BZ #13717]
6900 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6901 to 2.2.0 where earlier.
6902 * sysdeps/unix/sysv/linux/configure: Regenerated.
6903 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6904 Remove conditional code.
6905 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6906 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6907 Remove conditional code.
6908 [!__NR_lchown]: Likewise.
6909 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6910 [__NR_lchown]: Likewise.
6911 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6912 comment referencing __ASSUME_LCHOWN_SYSCALL.
6913 * sysdeps/unix/sysv/linux/i386/sigaction.c
6914 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6915 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6916 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6917 Remove conditional code.
6918 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6919 (__protocol_available): Remove #if 0 code.
6920 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6921 conditional code.
6922 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6923 * sysdeps/unix/sysv/linux/kernel-features.h
6924 (__ASSUME_GETCWD_SYSCALL): Don't define.
6925 (__ASSUME_REALTIME_SIGNALS): Likewise.
6926 (__ASSUME_PREAD_SYSCALL): Likewise.
6927 (__ASSUME_PWRITE_SYSCALL): Likewise.
6928 (__ASSUME_POLL_SYSCALL): Likewise.
6929 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6930 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6931 non-SPARC.
6932 (__ASSUME_SIOCGIFNAME): Don't define.
6933 (__ASSUME_MSG_NOSIGNAL): Likewise.
6934 (__ASSUME_SENDFILE): Define unconditionally.
6935 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6936 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6937 conditional code.
6938 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6939 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6940 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6941 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6942 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6943 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6944 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6946 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6947 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6949 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6950 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6952 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6953 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6955 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6956 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6958 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6959 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6961 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6962 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6964 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6965 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6967 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6968 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6969 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6970 Remove conditional code.
6971 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6972 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6973 Remove conditional code.
6974 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6975 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6976 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6977 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6978 Remove conditional code.
6979 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6980 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6981 Remove conditional code.
6982 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6983 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6984 Remove conditional code.
6985 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6986 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6987 Remove conditional code.
6988 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6989 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6990 Remove conditional code.
6991 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6992 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6993 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6994 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6995 * sysdeps/unix/sysv/linux/sigaction.c
6996 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6997 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6998 * sysdeps/unix/sysv/linux/sigpending.c
6999 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7000 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7001 * sysdeps/unix/sysv/linux/sigprocmask.c
7002 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7003 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7004 * sysdeps/unix/sysv/linux/sigsuspend.c
7005 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7006 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7007 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7008 (__libc_missing_rt_sigs): Remove.
7009 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
7010 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
7011 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
7012 Remove conditional code.
7013 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
7014 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
7015 return 1.
7016 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
7017 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
7018 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
7019 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
7020
1bfb7291
AJ
70212012-05-14 Andreas Jaeger <aj@suse.de>
7022
caae5a81
AJ
7023 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
7024 it's not used in glibc.
7025 (__coshm1): Likewise.
7026 (__acosh1p): Likewise.
7027 (__sgn): Likewise.
7028
1bfb7291
AJ
7029 * manual/string.texi (Copying and Concatenation): Add missing
7030 variable in concat example.
7031 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7032
c044d724
L
70332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7034
144c5467 7035 [BZ #14103]
c044d724
L
7036 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
7037 __builtin_clzl with __builtin_clzll.
7038
2523c62b
L
70392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7040
7041 [BZ #14104]
7042 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
7043 libc_freeres_ptr.
7044
d7bb4c42
LD
70452012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7046
7047 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
7048 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
7049 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
7050 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
7051
9dc4e1fb
MF
70522012-05-14 Mike Frysinger <vapier@gentoo.org>
7053
7054 * NEWS: Update ia64 info.
7055
c7df0112
AS
70562012-05-12 Andreas Schwab <schwab@linux-m68k.org>
7057
7058 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
7059 used as bcopy.
7060
dc70356c
TS
70612012-05-12 Thomas Schwinge <thomas@codesourcery.com>
7062
7063 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
7064 * sysdeps/unix/syscalls.list (dup3): Likewise.
7065 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
7066 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7067
9fb1a21f
L
70682012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7069
7070 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
7071 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7072
4822a2a5
L
70732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7074
7075 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7076 thread pointer.
7077 (TLS_IE): Use mov/add instead of movq/addq to load thread
7078 pointer.
7079 (TLS_GD_PREFIX): New.
7080 (TLS_GD): Use it.
7081
842b81d6
DM
70822012-05-11 David S. Miller <davem@davemloft.net>
7083
7084 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7085 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7086 (_FPU_SETCW): Likewise.
7087
1cf463cd
L
70882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7089
7090 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7091 is 32-byte aligned.
7092
60cc4a18
AS
70932012-05-11 Andreas Schwab <schwab@linux-m68k.org>
7094
7095 [BZ #11837]
7096 * iconvdata/gb18030.c: Update tables.
7097 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
7098 characters specially.
7099 (BODY for TO_LOOP): Add encoding of missing ranges.
7100
febb44a4
TS
71012012-05-11 Thomas Schwinge <thomas@codesourcery.com>
7102
7103 [BZ #13673]
7104 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7105 * sysdeps/mach/hurd/dup3.c: Likewise.
7106 * sysdeps/mach/hurd/readlinkat.c: Likewise.
7107 * sysdeps/powerpc/memmove.c:: Likewise.
7108
0a10fb9e
L
71092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7110
7111 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7112 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7113
df8a552f
L
71142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7115
7116 * elf/elf.h (R_X86_64_RELATIVE64): New.
7117 (R_X86_64_NUM): Updated.
7118 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7119 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
7120 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7121 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7122 tst-quad1pie tst-quad2pie
7123 (modules-names): Add tst-quadmod1 tst-quadmod2.
7124 ($(objpfx)tst-quad1): New dependency.
7125 ($(objpfx)tst-quad2): Likewise.
7126 ($(objpfx)tst-quad1pie): Likewise.
7127 ($(objpfx)tst-quad2pie): Likewise.
7128 * sysdeps/x86_64/tst-quad1.c: New file.
7129 * sysdeps/x86_64/tst-quad1pie.c: New file.
7130 * sysdeps/x86_64/tst-quad2.c: Likewise.
7131 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7132 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7133 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7134 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7135 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7136
f34d6f84
ST
71372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7138
f42d41d1
ST
7139 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7140 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7141 * streams/stropts.h (t_scalar_t): Define type.
7142
3c3571fc
ST
7143 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7144 (_PATH_PRESERVE): Set to "/var/lib".
7145 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7146
61f06bd3
ST
7147 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7148 instead of int.
7149
918d4d71
ST
7150 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7151 if __dir_mkfile succeeded.
7152
f34d6f84
ST
7153 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7154 checking for _hurd_dtablesize. Unlock it right after having
7155 finished _hurd_dtable allocation.
7156
10589b4a
TS
71572012-05-10 Thomas Schwinge <thomas@schwinge.name>
7158
674cdbc7
TS
7159 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7160 * sysdeps/mach/hurd/configure: Regenerated.
7161 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7162 special-casing to...
7163 * sysdeps/gnu/configure.in: ... this new file.
7164 * sysdeps/unix/sysv/linux/configure: Regenerated.
7165 * sysdeps/gnu/configure: New generated file.
7166
8e41b99f
TS
7167 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7168 for Linux: use nsec instead of usec, as well as:
7169 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7170 members of type struct timespec.
7171 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7172 New macros.
7173 (struct stat64): Likewise.
7174 (_STATBUF_ST_NSEC): New macro.
7175 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7176
10589b4a
TS
7177 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7178 __strtoul_internal rather than strtoul.
7179
63643c85
PT
71802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7181
7182 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7183 and reject them.
7184
3faebe6a
ST
71852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7186
7187 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7188 which preserves existing values.
7189 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7190
c6474b07
PT
71912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7192
7193 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7194 TIMEOUT values. Return EINVAL for NFDS values either negative or
7195 greater than FD_SETSIZE.
7196
1043890b
ST
71972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7198
7199 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7200 allocated, call __vm_protect to finish enabling the existing space, and
7201 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7202 allocate the remainder.
7203
37ed8b9b
PT
72042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7205
7206 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7207 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7208
db653660
ST
72092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7210
37ed8b9b
PT
7211 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7212 sysdeps/mach/hurd/readlink.c.
b29d4053 7213
db653660
ST
7214 * posix/tst-sysconf.c (posix_options): Only use
7215 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7216 _POSIX_SYNCHRONIZED_IO when they are defined
7217 * sysdeps/mach/hurd/bits/posix_opt.h:
7218 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7219 (_XOPEN_REALTIME): Undefine macro.
7220 (_XOPEN_REALTIME_THREADS): Undefine macro.
7221 (_XOPEN_SHM): Undefine macro.
7222 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7223 macro to -1.
7224 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7225 macro to -1.
7226 (_POSIX_ASYNC_IO): Undefine macro.
7227 (_POSIX_PRIORITIZED_IO): Undefine macro.
7228 (_POSIX_SPIN_LOCKS): Define macro to -1.
7229
ee16e894
ST
7230 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7231 SA_NODEFER, SA_RESETHAND.
7232 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7233 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7234 F_DUPFD_CLOEXEC.
7235
6103ae3b
TS
72362012-05-10 Thomas Schwinge <thomas@schwinge.name>
7237
7238 * elf/Makefile (pldd-modules): Define unconditionally.
7239
80b4e5f3
TS
72402012-05-10 Thomas Schwinge <thomas@schwinge.name>
7241
7242 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7243
edadcbd6
ST
72442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7245
7246 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7247 Return ENOENT when name is empty.
7248 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7249
80694780
TS
72502012-05-10 Thomas Schwinge <thomas@schwinge.name>
7251
1792c087
TS
7252 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7253
80694780
TS
7254 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7255
6b645f0d
ST
72562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7257
80694780
TS
7258 Fix mlock in all cases except non-readable pages.
7259 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7260 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 7261
6b645f0d
ST
7262 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7263 (__mkdir): When path is `/', just fail with EEXIST.
7264 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7265
e468f8a3
TS
72662012-05-10 Thomas Schwinge <thomas@schwinge.name>
7267
7268 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7269 <sys/uio.h> (for writev).
7270 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7271 and <sys/param.h> (for MIN).
7272
a4186cff
PT
72732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7274
7275 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7276 REQUESTED_TIME. Properly set the remaining time and return EINTR
7277 if interrupted.
7278
510bbf14
TS
72792012-05-10 Thomas Schwinge <thomas@schwinge.name>
7280
7281 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7282 Depend on against $(link-rpcuserlibs).
7283
5d5722e8
ST
72842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7285
a4186cff
PT
7286 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7287 (__libc_stack_end): Do not use attribute_relro.
7288 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7289 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 7290 to libthread-provided value.
a4186cff
PT
7291 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7292 attribute_relro.
5d5722e8 7293
37233df9
TS
72942012-05-10 Thomas Schwinge <thomas@schwinge.name>
7295
be971a2b
TS
7296 [BZ #3748]
7297 * bits/libc-lock.h (__libc_once_get): New macro.
7298 * sysdeps/mach/bits/libc-lock.h: Likewise.
7299 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7300 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7301 instead of using implementation details.
7302
37233df9
TS
7303 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7304 * libio/freopen.c: Likewise.
7305 * libio/freopen64.c: Likewise.
7306 * misc/syslog.c: Likewise.
7307 * nscd/connections.c: Likewise.
7308 * nscd/netgroupcache.c: Likewise.
7309 * sysdeps/posix/getcwd.c: Likewise.
7310
38de94a5
RM
73112012-05-10 Roland McGrath <roland@hack.frob.com>
7312
7313 * math/w_ilogbf.c: Add #include <limits.h>.
7314
67530489
ST
73152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7316
a4186cff 7317 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
7318 path instead of returning without unlocking.
7319
67530489
ST
7320 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7321 immediate-write ioctls.
7322 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7323
5aa3a74a
TS
73242012-05-10 Thomas Schwinge <thomas@schwinge.name>
7325
18bad2ae
TS
7326 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7327 __builtin_frame_address instead of making assumptions about the
7328 location of the return address relative to DATA. Force early load of
7329 the return address.
7330 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7331 __builtin_frame_address.
7332
5aa3a74a
TS
7333 dup3 for GNU Hurd.
7334 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7335 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7336 implement dup3 and do some further code clean-ups.
7337 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7338 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7339
ecd0de9a
ST
73402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7341
cd9fa985
ST
7342 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7343
a4186cff
PT
7344 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7345 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7346 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7347 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7348 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7349 d->port.lock.
802ca5a5 7350
a4186cff
PT
7351 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7352 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7353 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 7354
bcf55240
TS
73552012-05-10 Thomas Schwinge <thomas@schwinge.name>
7356
6960eb42
TS
7357 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7358 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7359 definitions.
7360
eb43375f
TS
7361 accept4 for GNU Hurd.
7362 * include/sys/socket.h (__libc_accept4): New prototype.
7363 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7364 to implement __libc_accept4.
7365 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7366 __libc_accept4.
7367 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7368
bcf55240
TS
7369 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7370 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7371 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7372 signal-defines.sym.
7373
6178c55b
ST
73742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7375
a4186cff 7376 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 7377
6f080c2f
TS
73782012-05-10 Thomas Schwinge <thomas@schwinge.name>
7379
7380 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7381 assertion on O_CLOEXEC flag.
7382 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7383 * hurd/intern-fd.c: Likewise.
7384 * hurd/port2fd.c: Likewise.
7385
bcfe3a54
ST
73862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7387
7388 [BZ #3906]
7389 * bits/in.h (IPV6_PKTINFO): Define new macro.
7390 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7391
89c9aa49
AZ
73922012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7393
7394 [BZ #13954]
7395 [BZ #13955]
7396 [BZ #13956]
7397 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7398 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7399 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7400 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7401 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7402 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7403 * math/libm-test.inc (logb_test) : Additional logb tests.
7404
021db4be
AJ
74052012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7406 Andreas Jaeger <aj@suse.de>
7407
7408 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7409 * configure: Regenerated.
7410 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7411 * config.make.in (link-obsolete-rpc): New substituted variable.
7412 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7413 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7414 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7415 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7416 so that libc.a contains the symbols.
7417 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7418 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7419 * sunrpc/auth_none.c: Likewise.
7420 * sunrpc/auth_unix.c: Likewise.
7421 * sunrpc/authdes_prot.c: Likewise.
7422 * sunrpc/authuxprot.c: Likewise.
7423 * sunrpc/clnt_gen.c: Likewise.
7424 * sunrpc/clnt_perr.c: Likewise.
7425 * sunrpc/clnt_raw.c: Likewise.
7426 * sunrpc/clnt_simp.c: Likewise.
7427 * sunrpc/clnt_tcp.c: Likewise.
7428 * sunrpc/clnt_udp.c: Likewise.
7429 * sunrpc/clnt_unix.c: Likewise.
7430 * sunrpc/des_crypt.c: Likewise.
7431 * sunrpc/des_soft.c: Likewise.
7432 * sunrpc/get_myaddr.c: Likewise.
7433 * sunrpc/key_call.c: Likewise.
7434 * sunrpc/key_prot.c: Likewise.
7435 * sunrpc/netname.c: Likewise.
7436 * sunrpc/pm_getmaps.c: Likewise.
7437 * sunrpc/pm_getport.c: Likewise.
7438 * sunrpc/pmap_clnt.c: Likewise.
7439 * sunrpc/pmap_prot.c: Likewise.
7440 * sunrpc/pmap_prot2.c: Likewise.
7441 * sunrpc/pmap_rmt.c: Likewise.
7442 * sunrpc/publickey.c: Likewise.
7443 * sunrpc/rpc_cmsg.c: Likewise.
7444 * sunrpc/rpc_common.c: Likewise.
7445 * sunrpc/rpc_dtable.c: Likewise.
7446 * sunrpc/rpc_prot.c: Likewise.
7447 * sunrpc/rpc_thread.c: Likewise.
7448 * sunrpc/rtime.c: Likewise.
7449 * sunrpc/svc.c: Likewise.
7450 * sunrpc/svc_auth.c: Likewise.
7451 * sunrpc/svc_raw.c: Likewise.
7452 * sunrpc/svc_run.c: Likewise.
7453 * sunrpc/svc_tcp.c: Likewise.
7454 * sunrpc/svc_udp.c: Likewise.
7455 * sunrpc/svc_unix.c: Likewise.
7456 * sunrpc/svcauth_des.c: Likewise.
7457 * sunrpc/xcrypt.c: Likewise.
7458 * sunrpc/xdr.c: Likewise.
7459 * sunrpc/xdr_array.c: Likewise.
7460 * sunrpc/xdr_float.c: Likewise.
7461 * sunrpc/xdr_intXX_t.c: Likewise.
7462 * sunrpc/xdr_mem.c: Likewise.
7463 * sunrpc/xdr_rec.c: Likewise.
7464 * sunrpc/xdr_ref.c: Likewise.
7465 * sunrpc/xdr_sizeof.c: Likewise.
7466 * sunrpc/xdr_stdio.c: Likewise.
7467
b5c086a2
RM
74682012-05-10 Roland McGrath <roland@hack.frob.com>
7469
7470 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7471 change. Update copyright years.
7472
6d74dd09
JM
74732012-05-10 Joseph Myers <joseph@codesourcery.com>
7474
7475 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7476
28e72501
MK
74772012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7478 Joseph Myers <joseph@codesourcery.com>
7479 Paul Pluzhnikov <ppluzhnikov@google.com>
7480
7481 [BZ #14012]
7482 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7483 requiring rpcgen.
7484 [cross-compiling] (extra-libs): Likewise.
7485 [cross-compiling] (extra-libs-others): Likewise.
7486 [cross-compiling] (librpcsvc-routines): Likewise.
7487 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7488 [cross-compiling] (omit-deps): Likewise.
7489 (sunrpc-CPPFLAGS): New variable.
7490 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7491 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7492 (cross-rpcgen-objs): New variable.
7493 (extra-objs): Append $(cross-rpcgen-objs).
7494 ($(cross-rpcgen-objs)): New rule.
7495 ($(objpfx)cross-rpcgen): Likewise.
7496 (rpcgen-cmd): Define to use $(built-program-file). Expand
7497 comment.
7498 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7499 ($(objpfx)x%.stmp): Likewise.
7500 * sunrpc/proto.h [IS_IN_build] (_): Define.
7501 [IS_IN_build] (_libc_intl_domainname): Likewise.
7502
c8c59454
L
75032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7504
7505 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7506 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7507 and R_X86_64_TPOFF64.
7508
6f27cd16
JM
75092012-05-10 Joseph Myers <joseph@codesourcery.com>
7510
7511 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7512 sysdeps/unix/sysv/syscalls.list.
7513 (stime): Likewise.
7514 (utime): Likewise.
7515 * sysdeps/unix/sysv/syscalls.list: Remove file.
7516
02467e1c
PE
75172012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7518
7519 [BZ #3440]
7520 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7521 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7522 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7523 (__LC_IDENTIFICATION): Make these macros useful in #if
7524 expressions, as required by C99.
7525
da392631
AS
75262012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7527
7528 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7529 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7530 after this.
7531
8115f29b
L
75322012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7533
7534 * stdlib/longlong.h: Updated from GCC.
7535
bdd74070
AJ
75362012-05-09 Andreas Jaeger <aj@suse.de>
7537
edfe0dbe
AJ
7538 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7539 default is first entry.
7540 (run_mode): Set type.
7541 (main): Remove informal message about syslog.
7542 (options): Fix typo.
7543
bcfe3a54
ST
7544 [BZ #14053]
7545 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 7546 to asm.
bcfe3a54
ST
7547 (lrint): Likewise.
7548 (llrintf): Likewise.
7549 (llrint): Likewise.
7550 (rint): Likewise.
7551 (rintf): Likewise.
7552 (nearbyint): Likewise.
7553 (nearbyintf): Likewise.
bdd74070 7554
91d8d69e
AJ
75552012-05-09 Andreas Jaeger <aj@suse.de>
7556 Pedro Alves <palves@redhat.com>
7557
7558 * nscd/nscd.c (run_mode): Use enum.
7559 (main): Cleanup coding style issue.
7560
bb90b80b
AJ
75612012-05-09 Alexandre Oliva <aoliva@redhat.com>
7562 Andreas Jaeger <aj@suse.de>
7563
bcfe3a54
ST
7564 * nscd/nscd.c (go_background): Replaced with...
7565 (run_mode): ... this.
bb90b80b 7566 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
7567 (options): Add -F --foreground.
7568 (main): Implement it.
7569 (parse_opt): Parse it.
bb90b80b 7570
1a4b75a1
AJ
75712012-05-09 Andreas Jaeger <aj@suse.de>
7572
7573 [BZ #14083]
7574 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7575 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7576 -Wconversion warning.
7577 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7578 Likewise.
7579
b1cc2472
JM
75802012-05-09 Joseph Myers <joseph@codesourcery.com>
7581
7582 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7583 == 0.
7584 (LC_ALL): Use macro-int-constant.
7585 (LC_COLLATE): Likewise.
7586 (LC_CTYPE): Likewise.
7587 (LC_MESSAGES): Likewise.
7588 (LC_MONETARY): Likewise.
7589 (LC_NUMERIC): Likewise.
7590 (LC_TIME): Likewise.
7591 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7592 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7593 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7594 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7595 Specify type.
7596 [C99-based standards] (float_t): Expect type.
7597 [C99-based standards] (double_t): Expect type.
7598 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7599 type.
7600 [C99-based standards] (HUGE_VALL): Likewise.
7601 [C99-based standards] (INFINITY): Likewise.
7602 [C99-based standards] (NAN): Likewise.
7603 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7604 [C99-based standards] (FP_NAN): Likewise.
7605 [C99-based standards] (FP_NORMAL): Likewise.
7606 [C99-based standards] (FP_SUBNORMAL): Likewise.
7607 [C99-based standards] (FP_ZERO): Likewise.
7608 [C99-based standards] (FP_FAST_FMA): Use
7609 optional-macro-int-constant. Specify type. Require == 1.
7610 [C99-based standards] (FP_FAST_FMAF): Likewise.
7611 [C99-based standards] (FP_FAST_FMAL): Likewise.
7612 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7613 [C99-based standards] (FP_ILOGBNAN): Likewise.
7614 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7615 Specify type.
7616 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7617 [C99-based standards] (math_errhandling): Specify type.
7618 [ISO99 || ISO11] (signgam): Do not allow.
7619 [non-C99-based standards] (copysignf): Do not allow.
7620 [non-C99-based standards] (exp2f): Likewise.
7621 [non-C99-based standards] (log2f): Likewise.
7622 [non-C99-based standards] (modff): Allow.
7623 [non-C99-based standards] (erff): Do not allow.
7624 [non-C99-based standards] (erfcf): Likewise.
7625 [non-C99-based standards] (gammaf): Likewise.
7626 [non-C99-based standards] (hypotf): Likewise.
7627 [non-C99-based standards] (j0f): Likewise.
7628 [non-C99-based standards] (j1f): Likewise.
7629 [non-C99-based standards] (jnf): Likewise.
7630 [non-C99-based standards] (lgammaf): Likewise.
7631 [non-C99-based standards] (tgammaf): Likewise.
7632 [non-C99-based standards] (y0f): Likewise.
7633 [non-C99-based standards] (y1f): Likewise.
7634 [non-C99-based standards] (ynf): Likewise.
7635 [non-C99-based standards] (isnanf): Likewise.
7636 [non-C99-based standards] (acoshf): Likewise.
7637 [non-C99-based standards] (asinhf): Likewise.
7638 [non-C99-based standards] (atanhf): Likewise.
7639 [non-C99-based standards] (cbrtf): Likewise.
7640 [non-C99-based standards] (expm1f): Likewise.
7641 [non-C99-based standards] (ilogbf): Likewise.
7642 [non-C99-based standards] (log1pf): Likewise.
7643 [non-C99-based standards] (logbf): Likewise.
7644 [non-C99-based standards] (nextafterf): Likewise.
7645 [non-C99-based standards] (remainderf): Likewise.
7646 [non-C99-based standards] (rintf): Likewise.
7647 [non-C99-based standards] (scalbf): Likewise.
7648 [non-C99-based standards] (copysignl): Likewise.
7649 [non-C99-based standards] (exp2l): Likewise.
7650 [non-C99-based standards] (log2l): Likewise.
7651 [non-C99-based standards] (modfl): Allow.
7652 [non-C99-based standards] (erfl): Do not allow.
7653 [non-C99-based standards] (erfcl): Likewise.
7654 [non-C99-based standards] (gammal): Likewise.
7655 [non-C99-based standards] (hypotl): Likewise.
7656 [non-C99-based standards] (j0l): Likewise.
7657 [non-C99-based standards] (j1l): Likewise.
7658 [non-C99-based standards] (jnl): Likewise.
7659 [non-C99-based standards] (lgammal): Likewise.
7660 [non-C99-based standards] (tgammal): Likewise.
7661 [non-C99-based standards] (y0l): Likewise.
7662 [non-C99-based standards] (y1l): Likewise.
7663 [non-C99-based standards] (ynl): Likewise.
7664 [non-C99-based standards] (isnanl): Likewise.
7665 [non-C99-based standards] (acoshl): Likewise.
7666 [non-C99-based standards] (asinhl): Likewise.
7667 [non-C99-based standards] (atanhl): Likewise.
7668 [non-C99-based standards] (cbrtl): Likewise.
7669 [non-C99-based standards] (expm1l): Likewise.
7670 [non-C99-based standards] (ilogbl): Likewise.
7671 [non-C99-based standards] (log1pl): Likewise.
7672 [non-C99-based standards] (logbl): Likewise.
7673 [non-C99-based standards] (nextafterl): Likewise.
7674 [non-C99-based standards] (remainderl): Likewise.
7675 [non-C99-based standards] (rintl): Likewise.
7676 [non-C99-based standards] (scalbl): Likewise.
7677 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7678 [non-C99-based standards] (FP_*): Do not allow.
7679 [C99-based standards] (FP_*): Change to
7680 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7681 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7682 allow.
7683 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7684 (SIG_ERR): Likewise.
7685 [X/Open-based standards] (SIG_HOLD): Likewise.
7686 (SIG_IGN): Likewise.
7687 (SIGABRT): Use macro-int-constant. Specify type. Require
7688 positive value.
7689 (SIGFPE): Likewise.
7690 (SIGILL): Likewise.
7691 (SIGINT): Likewise.
7692 (SIGSEGV): Likewise.
7693 (SIGTER): Likewise.
7694 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7695 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7696 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7697 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7698 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7699 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7700 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7701 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7702 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7703 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7704 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7705 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7706 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7707 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7708 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7709 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7710 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7711 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7712 [X/Open-based standards] (SIGTRAP): Likewise.
7713 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7714 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7715 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7716 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7717 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7718 allow.
7719
b9f1922d
IW
77202012-05-08 Ian Wienand <ianw@vmware.com>
7721
7722 [BZ #14080]
7723 * time/tzset.c (__tzset_parse_tz): Update default rules for
7724 daylight time changes in the Energy Policy Act of 2005.
7725
1db86e88
AJ
77262012-05-09 Andreas Jaeger <aj@suse.de>
7727
7728 [BZ #13983]
7729 * elf/ldconfig.c (parse_conf): Change string to make clear that
7730 ldconfig only issued a warning if ld.so.conf does not exist.
7731
dee4a4e3
DM
77322012-05-08 David S. Miller <davem@davemloft.net>
7733
ee0db190
DM
7734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7735 movxtod instead of popping the value on the stack.
7736
dee4a4e3
DM
7737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7738
6a43ec98
CD
77392012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7740
7741 * config.h.in: Add HAVE_ARM_PCS_VFP.
7742
05c2c961
RMG
77432012-05-08 Roland Mc Grath <roland@hack.frob.com>
7744
bcfe3a54
ST
7745 [BZ #13979]
7746 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7747 checking but the checks are disabled for any reason.
05c2c961 7748
4b30f61a
L
77492012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7750
7751 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7752 and ELF64_R_TYPE with ELFW(R_TYPE).
7753
eee2bc67
JM
77542012-05-08 Joseph Myers <joseph@codesourcery.com>
7755
7ea5391a
JM
7756 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7757 (ulimit): Likewise.
7758
eee2bc67
JM
7759 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7760 (settimeofday): Likewise.
7761
abb66a67
MF
77622012-05-08 Mike Frysinger <vapier@gentoo.org>
7763
7764 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7765 a struct th_u2 inside the union, and move tu_block/tu_code into
7766 a new th_u3 union of tu_block/tu_code inside of that. Move
7767 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7768 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7769 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7770 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7771 (th_stuff): Change to th_u1.tu_stuff.
7772 (th_data): Define.
7773 (th_msg): Change to th_u1.th_u2.tu_data.
7774
7f18b530
DM
77752012-05-07 David S. Miller <davem@davemloft.net>
7776
05760585
DM
7777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7778
7f18b530
DM
7779 [BZ #14074]
7780 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7781 (SETUP_PIC_REG): Use it.
7782 (SETUP_PIC_REG_LEAF): Use it.
7783
495fd99f
JM
77842012-05-07 Joseph Myers <joseph@codesourcery.com>
7785
7786 [BZ #13885]
7787 [BZ #13923]
7788 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7789 USE_AS_EXPM1L.
7790 (EXPL_FINITE): Likewise.
7791 (FLDLOG): Likewise.
7792 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7793 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7794 e_expl.S.
7795 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7796 USE_AS_EXPM1L.
7797 (EXPL_FINITE): Likewise.
7798 (FLDLOG): Likewise.
7799 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7800 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7801 e_expl.S.
7802 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7803 test of -max_value argument for long double.
7804 * sysdeps/i386/fpu/libm-test-ulps: Update.
7805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7806
6693d694
DM
78072012-05-06 David S. Miller <davem@davemloft.net>
7808
7809 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7810 quad soft-float symbols whose references which are compiler
7811 generated.
7812 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7813
6c23e11c
JM
78142012-05-06 Joseph Myers <joseph@codesourcery.com>
7815
d8b82cad
JM
7816 [BZ #13884]
7817 [BZ #13914]
7818 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7819 USE_AS_EXP10L.
7820 (EXPL_FINITE): Likewise.
7821 (FLDLOG): Likewise.
7822 (c0): Likewise.
7823 (c1): Likewise.
7824 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7825 Adjust comments for base varying.
7826 (__expl_finite): Change alias to EXPL_FINITE.
7827 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7828 e_expl.S.
7829 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7830 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7831 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7832 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7833 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7834 USE_AS_EXP10L.
7835 (EXPL_FINITE): Likewise.
7836 (FLDLOG): Likewise.
7837 (c0): Likewise.
7838 (c1): Likewise.
7839 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7840 Adjust comments for base varying.
7841 (__expl_finite): Change alias to EXPL_FINITE.
7842 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7843 tests for bugs.
7844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7845
6c23e11c
JM
7846 [BZ #14064]
7847 * math/libm-test.inc (check_float_internal): Correct ulp
7848 calculation for subnormal expected results.
7849
29ba805c
AJ
78502012-05-06 Andreas Jaeger <aj@suse.de>
7851
7852 * Makeconfig (+math-flags): New, set to -frounding-math.
7853 (+cflags): Add +math-flags so that all of glibc gets compiled with
7854 it.
7855
7856 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7857
7b17aeda
JM
78582012-05-05 Joseph Myers <joseph@codesourcery.com>
7859
5779f134
JM
7860 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7861 Disable one test.
7862
41498f4d
JM
7863 [BZ #13787]
7864 [BZ #13922]
7865 [BZ #14036]
7866 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7867 (__ieee754_expl): Allow for and saturate large arguments.
7868 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7869 (u_threshold): Likewise.
7870 (__exp): Call __ieee754_exp before checking for overflow and
7871 underflow.
7872 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7873 (u_threshold): Likewise.
7874 (__expf): Call __ieee754_expf before checking for overflow and
7875 underflow.
7876 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7877 (u_threshold): Likewise.
7878 (__expl): Call __ieee754_expl before checking for overflow and
7879 underflow.
7880 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7881 (__ieee754_expl): Allow for and saturate large arguments.
7882 * math/libm-test.inc (exp_test): Add another test. Do not allow
7883 missing overflow exception on overflow.
7884 (expm1_test): Do not allow missing overflow exception on overflow.
7885
6698b8bf
JM
7886 * sysdeps/i386/fpu/e_expl.c: Move to ...
7887 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7888 rather than using inline asm.
7889 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7890 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7891 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7892
7b17aeda
JM
7893 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7894 (nice): Likewise.
7895 (poll): Likewise.
7896 (signal): Likewise.
7897 (time): Likewise.
7898 (times): Likewise.
7899
f7c85819
JM
79002012-05-04 Joseph Myers <joseph@codesourcery.com>
7901
7902 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7903 sysdeps/unix/common/syscalls.list.
7904 (fchmod): Likewise.
7905 (fchown): Likewise.
7906 (ftruncate): Likewise.
7907 (getrusage): Likewise.
7908 (gettimeofday): Likewise.
7909 (setpgid): Likewise.
7910 (setregid): Likewise.
7911 (setreuid): Likewise.
7912 (sigaction): Likewise.
7913 (truncate): Likewise.
7914 (vhangup): Likewise.
7915 * sysdeps/unix/common/syscalls.list: Remove file.
7916 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7917 * sysdeps/unix/sysv/linux/Implies: Likewise.
7918
336270d0
L
79192012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7920
7921 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7923 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7924 Moved to ...
7925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7926 Here.
7927 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7928 to ...
7929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7930 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7931 to ...
7932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7933 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7934 to ...
7935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7936 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7937 to ...
7938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7939 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7940 to ...
7941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7942 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7943 to ...
7944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7945 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7946 to ...
7947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7948 Here.
7949 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7950 to ...
7951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7952 Here.
7953 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7954 to ...
7955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7956 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7957 Moved to ...
7958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7959 Here.
7960 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7961 to ...
7962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7963
d128e450
JM
79642012-05-04 Joseph Myers <joseph@codesourcery.com>
7965
fa8ee516
JM
7966 * sysdeps/unix/common/bits/dirent.h: Remove file.
7967 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7968
d128e450
JM
7969 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7970 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7971 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7972 * sysdeps/unix/bsd/isatty.c: Likewise.
7973 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7974 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7975 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7976
ff8faaf0 79772012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 7978
62881be4 7979 [BZ #13563]
31dc8730
AZ
7980 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7981 long double comparison inaccuracies.
7982 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7984
6fef930c
AS
79852012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7986
7987 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7988 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7989
8f203e6c
JM
79902012-05-04 Joseph Myers <joseph@codesourcery.com>
7991
7992 [BZ #14049]
7993 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7994 nonzero digits before rounding a hex value.
7995 * stdlib/tst-strtod.c (tests): Add another test.
7996
5197d9c2
AK
79972012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7998
7999 * sysdeps/s390/fpu/libm-test-ulps: Update.
8000
f0c1dedf
AJ
80012012-05-03 Andreas Jaeger <aj@suse.de>
8002
8003 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
8004 does not get optimized out.
8005 (malloc_opt_barrier): New.
8006
a65ef2ae 80072012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 8008 Roland McGrath <roland@hack.frob.com>
a65ef2ae 8009
2b942cb7 8010 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 8011 intermediate file deletion.
2b942cb7 8012 (generated): Add .symlist files.
a65ef2ae 8013
54b71e02
JM
80142012-05-03 Joseph Myers <joseph@codesourcery.com>
8015
8016 [BZ #13775]
8017 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
8018 Redirect under this condition.
8019 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8020 [__USE_GNU] (__dprintf_chk): Not under this condition.
8021 [__USE_GNU] (__vdprintf_chk): Likewise.
8022 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
8023 under this condition.
8024 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8025 [__USE_XOPEN2K8] (dprintf): Define under this condition.
8026 [__USE_XOPEN2K8] (vdprintf): Likewise.
8027 [__USE_GNU] (__dprintf_chk): Not under this condition.
8028 [__USE_GNU] (__vdprintf_chk): Likewise.
8029 [__USE_GNU] (dprintf): Likewise.
8030 [__USE_GNU] (vdprintf): Likewise.
8031
d3dfcc41
RM
80322012-05-03 Roland McGrath <roland@hack.frob.com>
8033
8034 * elf/Makefile (common-generated): Set this instead of generated for
8035 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
8036 $(all-built-dso)-derived lists.
8037
7ac30cc5
AJ
80382012-05-03 Andreas Jaeger <aj@suse.de>
8039
0c51e550
AJ
8040 * sysdeps/i386/fpu/libm-test-ulps: Update.
8041
7ac30cc5
AJ
8042 * FAQ: Removed.
8043 * FAQ.in: Likewise.
8044 * scripts/gen-FAQ.pl: Likewise.
8045 * manual/install.texi (Installation): Point to online location of
8046 FAQ.
8047 * Makefile (files-for-dist): Remove FAQ.
8048 (FAQ): Remove.
8049
d4c2917f
AM
80502012-05-02 Allan McRae <allan@archlinux.org>
8051
8052 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
8053 (LDFLAGS-reldepmod5.so): Likewise.
8054 (LDFLAGS-reldep6mod1.so): Likewise.
8055 (LDFLAGS-reldep6mod4.so): Likewise.
8056 (LDFLAGS-reldep8mod3.so): Likewise.
8057 (LDFLAGS-unload4mod1.so): Likewise.
8058 (LDFLAGS-unload4mod2.so): Likewise.
8059 (LDFLAGS-tst-initorder): Likewise.
8060 (LDFLAGS-tst-initordera2.so): Likewise.
8061 (LDFLAGS-tst-initordera3.so): Likewise.
8062 (LDFLAGS-tst-initordera4.so): Likewise.
8063 (LDFLAGS-tst-initorderb2.so): Likewise.
8064 (LDFLAGS-noload): Likewise.
8065 (LDFLAGS-next): Likewise.
8066 (LDFLAGS-order2mod1.so): Likewise.
8067 (LDFLAGS-order2mod2.so): Likewise.
8068 (LDFLAGS-tst-initorder2): Likewise.
8069 (LDFLAGS-tst-initorder2a.so): Likewise.
8070 (LDFLAGS-tst-initorder2b.so): Likewise.
8071 (LDFLAGS-tst-initorder2c.so): Likewise.
8072 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8073
d77f993f
DM
80742012-05-02 David S. Miller <davem@davemloft.net>
8075
8076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8077
171a70b4
PP
80782012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8079
8080 [BZ #14055]
8081 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8082
0be196ad
AJ
80832012-05-02 Andreas Jaeger <aj@suse.de>
8084
8085 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8086 since we manipulate rounding mode.
8087 (CPPFLAGS-test-idouble.c): Likewise.
8088 (CPPFLAGS-test-ifloat.c): Likewise.
8089 (CFLAGS-test-ldouble.c): Likewise.
8090 (CFLAGS-test-double.c): Likewise.
8091 (CFLAGS-test-float.c): Likewise.
8092 (CFLAGS-test-misc.c): Likewise.
8093 (CFLAGS-test-test-fenv.c): Likewise.
8094
4f9d04aa
AZ
80952012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8096
2b942cb7
RM
8097 [BZ #2550]
8098 [BZ #2570]
8099 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8100 comparisons to determine direction to adjust input.
4f9d04aa 8101
82a79e7d
RM
81022012-05-01 Roland McGrath <roland@hack.frob.com>
8103
f5a01ca9
RM
8104 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8105 output to the target.
8106
90fe4186
RM
8107 * scripts/localplt.awk: New file.
8108 * elf/Makefile ($(objpfx)check-localplt): Target removed.
8109 (check-localplt-CFLAGS): Variable removed.
8110 ($(all-built-dso:=.jmprel)): New static pattern rule.
8111 (generated): Add those targets.
8112 (localplt-built-dso): New variable.
8113 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8114
8115 * elf/check-localplt.c: File removed.
8116
82397ed6
RM
8117 * scripts/check-execstack.awk: New file.
8118 * elf/Makefile ($(objpfx)check-execstack): Target removed.
8119 (check-execstack-CFLAGS): Variable removed.
8120 ($(objpfx)check-execstack.h): Target removed.
8121 ($(objpfx)execstack-default): New target.
8122 (generated): Add that instead of check-execstack.h.
8123 ($(all-built-dso:=.phdr)): New static pattern rule.
8124 (generated): Add those targets.
8125 * elf/check-execstack.c: File removed.
8126
82a79e7d
RM
8127 * scripts/check-textrel.awk: New file.
8128 * elf/Makefile ($(objpfx)check-textrel): Target removed.
8129 (check-textrel-CFLAGS): Variable removed.
8130 (all-built-dso): Use := to define.o
8131 ($(all-built-dso:=.dyn)): New static pattern rule.
8132 (generated): Add those targets.
8133 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8134 * config.make.in (READELF): New substituted variable.
8135 * elf/check-textrel.c: File removed.
8136
62fde54f 81372012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 8138
615605c9
JM
8139 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8140 allow.
8141 * conform/data/ctype.h-data [C99-based standards] (isblank):
8142 Expect function.
8143 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8144 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8145 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8146 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8147 Specify type. Require positive value.
8148 (EILSEQ): Likewise.
8149 (ERANGE): Likewise.
8150 [ISO || POSIX] (EILSEQ): Do not expect.
8151 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8152 Specify type. Require positive value.
8153 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8154 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8155 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8156 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8157 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8158 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8159 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8160 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8161 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8162 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8163 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8164 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8165 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8166 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8167 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8168 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8169 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8170 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8171 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8172 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8173 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8174 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8175 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8176 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8177 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8178 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8179 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8180 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8181 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8182 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8183 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8184 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8185 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8186 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8187 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8188 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8189 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8190 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8191 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8192 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8193 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8194 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8195 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8196 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8197 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8198 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8199 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8200 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8201 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8202 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8203 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8204 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8205 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8206 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8207 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8208 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8209 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8210 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8211 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8212 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8213 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8214 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8215 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8216 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8217 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8218 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8219 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8220 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8221 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8222 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8223 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8224 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8225 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8226 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8227 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8228 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8229 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8230 Require >= 2.
8231 (FLT_ROUNDS): Expect as macro, not constant.
8232 (FLT_MANT_DIG): Use macro-int-constant.
8233 (DBL_MANT_DIG): Likewise.
8234 (LDBL_MANT_DIG): Likewise.
8235 (FLT_DIG): Likewise.
8236 (DBL_DIG): Likewise.
8237 (LDBL_DIG): Likewise.
8238 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8239 (DBL_MIN_EXP): Likewise.
8240 (LDBL_MIN_EXP): Likewise.
8241 (FLT_MAX_EXP): Use macro-int-constant.
8242 (DBL_MAX_EXP): Likewise.
8243 (LDBL_MAX_EXP): Likewise.
8244 (FLT_MAX_10_EXP): Likewise.
8245 (DBL_MAX_10_EXP): Likewise.
8246 (LDBL_MAX_10_EXP): Likewise.
8247 (FLT_MAX): Use macro-constant.
8248 (DBL_MAX): Likewise.
8249 (LDBL_MAX): Likewise.
8250 (FLT_EPSILON): Use macro-constant. Give upper bound.
8251 (DBL_EPSILON): Likewise.
8252 (LDBL_EPSILON): Likewise.
8253 (FLT_MIN): Likewise.
8254 (DBL_MIN): Likewise.
8255 (LDBL_MIN): Likewise.
8256 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8257 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8258 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8259 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8260 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8261 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8262 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8263 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8264 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8265 [ISO11] (FLT_TRUE_MIN): Likewise.
8266 [ISO11] (LDBL_TRUE_MIN): Likewise.
8267 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8268 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8269 (SCHAR_MIN): Use macro-int-constant. Specify type.
8270 (SCHAR_MAX): Likewise.
8271 (UCHAR_MAX): Likewise.
8272 (CHAR_MIN): Likewise.
8273 (CHAR_MAX): Likewise.
8274 (MB_LEN_MAX): Use macro-int-constant.
8275 (SHRT_MIN): Use macro-int-constant. Specify type.
8276 (SHRT_MAX): Likewise.
8277 (USHRT_MAX): Likewise.
8278 (INT_MAX): Likewise.
8279 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8280 bound negative.
8281 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8282 bound with "U".
8283 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8284 bound with "L".
8285 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8286 bound negative. Suffix upper bound with "L".
8287 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8288 bound with "UL".
8289 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8290 Specify type.
8291 [C99-based standards] (LLONG_MAX): Likewise.
8292 [C99-based standards] (ULLONG_MAX): Likewise.
8293 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8294 == 0.
8295 [ISO11] (max_align_t): Require type.
8296 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8297
c9140a62
JM
8298 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8299 from $CFLAGS, without defining away __attribute__ calls.
8300 (checknamespace): Use $CFLAGS_namespace.
8301
9af0bf29
JM
8302 * conform/conformtest.pl (@keywords): Only include C99 keywords
8303 for standards based on C99 or C11.
8304
343222a2
JM
8305 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8306 Disable tests.
8307 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8308 UNIX98]: Likewise.
8309
661f8cf0
JM
8310 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8311 usability of symbols in #if.
8312
ee74b9cb
JM
8313 * conform/conformtest.pl: If macro or constant types start
8314 "promoted:", expect the symbol to be of the following type
8315 promoted by the integer promotions.
62fde54f 8316
aafc49b3
JM
8317 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8318 in one place. Also handle "macro-constant".
8319
fefdf574
JM
8320 * conform/conformtest.pl: Only accept expected macro values with
8321 "==". Parse all "macro" lines in one place.
8322 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8323
f2d922fe
JM
8324 * conform/conformtest.pl: Handle braced types on "constant" lines
8325 instead of handling "typed-constant".
8326 * conform/data/signal.h-data: Use "constant" instead of
8327 "typed-constant".
8328
d22956c9
JM
8329 * conform/conformtest.pl: Handle "optional-" at start of lines in
8330 one place rather than duplicating several cases. Handle each
8331 format of "macro" line with initial "optional-".
8332
028e2e38
JM
8333 * conform/conformtest.pl: Only accept expected constant or
8334 optional-constant values with "==". Parse all "constant" lines in
8335 one place. Parse all "optional-constant" lines in one place.
8336 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8337 * conform/data/fmtmsg.h-data: Likewise.
8338 * conform/data/netinet/in.h-data: Likewise.
8339 * conform/data/tar.h-data: Likewise.
8340 * conform/data/limits.h-data: Use "==" form on "constant" and
8341 "optional-constant" lines.
8342
1b8f2850
JM
8343 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8344 Use -std=c99 for XOPEN2K.
8345 (@knownproblems): Remove.
8346 (newtoken): Don't check %isknown.
8347
a05a144b
JM
8348 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8349 Do not expect macro.
8350 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8351 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8352 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8353 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8354 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8355 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8356 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8357 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8358 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8359 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8360 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8361 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8362 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8363 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8364 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8365 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8366 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8367 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8368 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8369 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8370 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8371 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8372 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8373 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8374 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8375 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8376 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8377 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8378 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8379 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8380 [XPG3] (acosh): Likewise.
8381 [XPG3] (asinh): Likewise.
8382 [XPG3] (atanh): Likewise.
8383 [XPG3] (cbrt): Likewise.
8384 [XPG3] (expm1): Likewise.
8385 [XPG3] (ilogb): Likewise.
8386 [XPG3] (log1p): Likewise.
8387 [XPG3] (logb): Likewise.
8388 [XPG3] (nextafter): Likewise.
8389 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8390 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8391 [XPG3] (remainder): Likewise.
8392 [XPG3] (rint): Likewise.
8393 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8394 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8395 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8396 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8397 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8398 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8399 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8400 [UNIX98 || XOPEN2K] (scalb): Expect.
8401 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8402 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8403 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8404 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8405 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8406 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8407 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8408 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8409 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8410 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8411 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8412 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8413 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8414 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8415 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8416 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8417 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8418 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8419 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8420 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8421 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8422 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8423 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8424 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8425 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8426 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8427 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8428 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8429 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8430 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8431 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8432 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8433 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8434 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8435 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8436 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8437 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8438 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8439 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8440 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8441 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8442 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8443 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8444 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8445 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8446 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8447 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8448 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8449 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8450 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8451 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8452 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8453 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8454 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8455 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8456 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8457 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8458 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8459 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8460 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8461 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8462 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8463 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8464 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8465 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8466 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8467 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8468 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8469 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8470 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8471 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8472 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8473 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8474 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8475 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8476 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8477 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8478 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8479 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8480 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8481 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8482 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8483 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8484 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8485 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8486 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8487 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8488 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8489 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8490 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8491 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8492 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8493 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8494 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8495 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8496 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8497 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8498 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8499 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8500 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8501 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8502 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8503 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8504 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8505 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8506 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8507 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8508 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8509 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8510 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8511 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8512 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8513 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8514 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8515 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8516 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8517 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8518 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8519 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8520 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8521 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8522 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8523 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8524 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8525 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8526 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8527 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8528 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8529 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8530 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8531 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8532 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8533 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8534 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8535 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8536 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8537 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8538
73c5ebe3
JM
8539 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8540 _XOPEN_SOURCE_EXTENDED for XPG4.
8541
39c33b6c
JM
8542 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8543
62fde54f
JM
8544 * Makeconfig (localtime): Remove variable.
8545 (inst_localtime-file): Likewise.
8546
0741d64c
AS
85472012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8548
8549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8550 Update.
8551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8552 Update.
8553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8554 Update.
8555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8556 Update.
8557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8558 Update.
8559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8560 Update.
8561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8562 Update.
8563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8564 Update.
8565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8566 Update.
8567
7cb029ee
JM
85682012-05-01 Joseph Myers <joseph@codesourcery.com>
8569
8570 [BZ #2550]
8571 [BZ #2570]
8572 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8573 comparisons to determine direction to adjust input.
8574 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8575 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8576 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8577 Likewise.
8578 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8579 Likewise.
8580 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8581 Likewise.
8582 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8583 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8584 Likewise.
8585 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8586 Likewise.
8587 * math/libm-test.inc (nexttoward_test): Add more tests.
8588
412bd966
AS
85892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8590
8591 [BZ #14040]
8592 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8593 in version GLIBC_2.1, not GLIBC_2.0.
8594 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8595 Likewise.
8596
9568c0c2
JM
85972012-04-30 Joseph Myers <joseph@codesourcery.com>
8598
adfbc8ac
JM
8599 [BZ #13942]
8600 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8601 (1 - x) * (1 + x).
8602 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8603 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8604 * math/libm-test.inc (acos_test): Add more tests.
8605 (asin_test): Likewise.
8606 * sysdeps/i386/fpu/libm-test-ulps: Update.
8607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8608
5ba3cc69
JM
8609 [BZ #14034]
8610 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8611 of square root.
8612 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8613 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8614 * math/libm-test.inc (acos_test_tonearest): New function.
8615 (acos_test_towardzero): Likewise.
8616 (acos_test_downward): Likewise.
8617 (acos_test_upward): Likewise.
8618 (asin_test_tonearest): Likewise.
8619 (asin_test_towardzero): Likewise.
8620 (asin_test_downward): Likewise.
8621 (asin_test_upward): Likewise.
8622 (main): Call the new functions.
8623 * sysdeps/i386/fpu/libm-test-ulps: Update.
8624 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8625
9568c0c2
JM
8626 [BZ #13884]
8627 [BZ #13924]
8628 * math/e_exp10.c: Include <float.h>.
8629 (__ieee754_exp10): Handle underflow here rather than multiplying
8630 large negative argument by M_LN10.
8631 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8632 of __ieee754_expf.
8633 * math/e_exp10l.c: Include <float.h>.
8634 (__ieee754_exp10l): Handle underflow here rather than multiplying
8635 large negative argument by M_LN10l.
8636 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8637 spurious overflow exception on underflow.
8638
5ac3ea17
MP
86392012-04-29 Marek Polacek <polacek@redhat.com>
8640
8641 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8642 (__fortify_function): New macro.
8643 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8644 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8645 __extern_always_inline.
8646 * libio/bits/stdio2.h: Likewise.
8647 * libio/bits/stdio.h: Likewise.
8648 * string/string.h: Likewise.
8649 * string/bits/string3.h: Likewise.
8650 * include/stdio.h: Likewise.
8651 * stdlib/bits/stdlib.h: Likewise.
8652 * stdlib/stdlib.h: Likewise.
8653 * rt/bits/mqueue2.h: Likewise.
8654 * rt/mqueue.h: Likewise.
8655 * posix/bits/unistd.h: Likewise.
8656 * posix/unistd.h: Likewise.
8657 * io/bits/poll2.h: Likewise.
8658 * io/bits/fcntl2.h: Likewise.
8659 * io/fcntl.h: Likewise.
8660 * io/sys/poll.h: Likewise.
8661 * misc/bits/syslog.h: Likewise.
8662 * misc/bits/syslog-ldbl.h: Likewise.
8663 * misc/sys/syslog.h: Likewise.
8664 * socket/bits/socket2.h: Likewise.
8665 * socket/sys/socket.h: Likewise.
8666 * debug/tst-chk1.c: Likewise.
8667 * wcsmbs/bits/wchar2.h: Likewise.
8668 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8669 * wcsmbs/wchar.h: Likewise.
8670
ecf0ebfb
AJ
86712012-04-29 Andreas Jaeger <aj@suse.de>
8672
8673 * Makerules (tests): Remove enable-check-abi protection.
8674 (check-abi-warn): Remove.
8675 (check-abi-%): Remove check-abi-warn usage.
8676
8677 * configure.in: Remove check-abi configure option.
8678 * configure: Regenerated.
8679 * config.make.in (enable-check-abi): Remove.
8680
6d5c57fa
AS
86812012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8682
24c5d07e 8683 [BZ #14033]
ded5180a
AS
8684 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8685 double functions to double *_finite functions.
8686
7e0d315d
AS
8687 [BZ #13941]
8688 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8689 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8690 LDBL_MIN_EXP.
8691 * stdio-common/Makefile (tests): Add tst-sprintf3.
8692 * stdio-common/tst-sprintf3.c: New file.
8693
6d5c57fa
AS
8694 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8695 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8696
0749ff8b
JM
86972012-04-28 Joseph Myers <joseph@codesourcery.com>
8698
8699 * conform/conformtest.pl: Remove duplicate typed-constant
8700 handling.
8701
8dbd5d7b
DM
87022012-04-28 David S. Miller <davem@davemloft.net>
8703
8704 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8705 (check-abi-%): Remove AWK script prerequisite and explicit
8706 abilist directory.
8707 (check-abi): Rewrite to just diff the symlist with the abilist.
8708 (config-tls, config-abi-config): Delete, no longer used.
8709 (update-abi-%): Remove AWK script and explicit abilist directory.
8710 (update-abi): Rewrite to simply compare and conditionally copy the
8711 symlist and the sysdep abilist file. Remove update-abi-config
8712 checks.
8713 * abilist/ld.abilist: Remove.
8714 * abilist/libBrokenLocale.abilist: Remove.
8715 * abilist/libanl.abilist: Remove.
8716 * abilist/libcrypt.abilist: Remove.
8717 * abilist/libdl.abilist: Remove.
8718 * abilist/librt.abilist: Remove.
8719 * abilist/libthread_db.abilist: Remove.
8720 * abilist/libutil.abilist: Remove.
8721 * scripts/extract-abilist.awk: Remove.
8722 * scripts/merge-abilist.awk: Remove.
8723 * sysdeps/generic/libcidn.abilist: New file.
8724 * sysdeps/generic/libnss_compat.abilist: New file.
8725 * sysdeps/generic/libnss_db.abilist: New file.
8726 * sysdeps/generic/libnss_dns.abilist: New file.
8727 * sysdeps/generic/libnss_files.abilist: New file.
8728 * sysdeps/generic/libnss_hesiod.abilist: New file.
8729 * sysdeps/generic/libnss_nis.abilist: New file.
8730 * sysdeps/generic/libnss_nisplus.abilist: New file.
8731 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8732 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8733 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8734 file.
8735 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8736 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8737 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8738 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8739 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8740 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8741 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8742 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8743 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8744 file.
8745 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8746 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8747 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8748 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8749 file.
8750 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8751 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8752 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8753 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8754 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8755 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8756 file.
8757 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8758 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8759 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8760 file.
8761 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8762 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8763 New file.
8764 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8765 New file.
8766 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8767 New file.
8768 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8769 New file.
8770 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8771 New file.
8772 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8773 New file.
8774 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8775 New file.
8776 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8777 New file.
8778 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8779 New file.
8780 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8781 New file.
8782 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8783 New file.
8784 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8785 New file.
8786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8787 New file.
8788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8789 file.
8790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8791 New file.
8792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8793 New file.
8794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8795 file.
8796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8797 New file.
8798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8799 New file.
8800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8801 file.
8802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8803 New file.
8804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8805 New file.
8806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8807 New file.
8808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8809 New file.
8810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8811 New file.
8812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8813 New file.
8814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8816 file.
8817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8818 New file.
8819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8820 file.
8821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8822 file.
8823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8824 file.
8825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8826 file.
8827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8828 file.
8829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8830 New file.
8831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8832 file.
8833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8834 file.
8835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8836 New file.
8837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8838 file.
8839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8841 file.
8842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8843 New file.
8844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8845 file.
8846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8847 file.
8848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8849 file.
8850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8851 file.
8852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8853 file.
8854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8855 New file.
8856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8857 file.
8858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8859 file.
8860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8861 New file.
8862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8863 file.
8864 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8865 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8866 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8867 file.
8868 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8869 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8870 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8871 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8872 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8873 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8874 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8875 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8876 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8877 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8880 file.
8881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8882 New file.
8883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8884 file.
8885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8886 file.
8887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8888 file.
8889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8890 file.
8891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8892 file.
8893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8894 New file.
8895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8896 New file.
8897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8898 file.
8899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8900 New file.
8901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8902 file.
8903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8905 file.
8906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8907 New file.
8908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8909 file.
8910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8911 file.
8912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8913 file.
8914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8915 file.
8916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8917 file.
8918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8919 New file.
8920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8921 New file.
8922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8923 file.
8924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8925 New file.
8926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8927 file.
8928
41d73a1b
JM
89292012-04-28 Joseph Myers <joseph@codesourcery.com>
8930
8931 * conform/conformtest.pl: Fix typo in handling typed-constant from
8932 allow-header.
8933
28aeeda4
JM
89342012-04-27 Joseph Myers <joseph@codesourcery.com>
8935
adae8f5e
JM
8936 * README: Cut down references to pre-2.6 Linux kernels and
8937 Linuxthreads. Update lists of configurations in libc and ports
8938 and sort alphabetically. Say "or newer" with Linux kernel version
8939 requirements.
8940
28aeeda4
JM
8941 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8942
a462cb63
RA
89432012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8944
8945 [BZ #887]
8946 * math/libm-test.inc (logb_test_downward): New test to expose
8947 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8948 rounding mode.
8949
6ad3493e
JM
89502012-04-27 Joseph Myers <joseph@codesourcery.com>
8951
8952 [BZ #14027]
8953 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8954 to be done.
8955 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8956 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8957
2ce4f015
JM
89582012-04-26 Joseph Myers <joseph@codesourcery.com>
8959
5aeb141a
JM
8960 * sysdeps/unix/i386/brk.S: Remove file.
8961 * sysdeps/unix/i386/dl-brk.S: Likewise.
8962 * sysdeps/unix/i386/pipe.S: Likewise.
8963 * sysdeps/unix/i386/sigreturn.S: Likewise.
8964 * sysdeps/unix/i386/syscall.S: Likewise.
8965 * sysdeps/unix/i386/vfork.S: Likewise.
8966 * sysdeps/unix/i386/wait.S: Likewise.
8967
7143acae
JM
8968 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8969 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8970
2ce4f015
JM
8971 * configure.in (arm*-none*): Do not allow without
8972 --enable-hacker-mode.
8973 (netbsd*): Remove case setting base_os.
8974 (386bsd*): Likewise.
8975 (freebsd*): Likewise.
8976 (bsdi*): Likewise.
8977 (osf*): Likewise.
8978 (sunos*): Likewise.
8979 (ultrix*): Likewise.
8980 (newsos*): Likewise.
8981 (dynix*): Likewise.
8982 (*bsd*): Likewise.
8983 (sysv*): Likewise.
8984 (isc*): Likewise.
8985 (esix*): Likewise.
8986 (sco*): Likewise.
8987 (minix*): Likewise.
8988 (irix4*): Likewise.
8989 (irix6*): Likewise.
8990 (solaris[2-9]*): Likewise.
8991 (none): Likewise.
8992 * configure: Regenerated.
8993
0ac229c8
AZ
89942012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8995
8996 [BZ #11521]
8997 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8998 overflow or cancellation in calculating denominator.
8999 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
9000 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
9001 down expression to avoid unexpected rounding in newer GCCs.
9002 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
9003
33f244f4
DM
90042012-04-26 David S. Miller <davem@davemloft.net>
9005
9006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
9007 long-double compat symbols.
9008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
9012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
9016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
9019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9021
cfa1f3e8
DM
90222012-04-25 David S. Miller <davem@davemloft.net>
9023
9024 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
9025 HWCAP_* values only after the memory barriers have been defined.
9026 (atomic_full_barrier): Define.
9027 (atomic_read_barrier): Define.
9028 (atomic_write_barrier): Define.
9029
6e236b92
SP
90302012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9031
9032 * shlib-versions: Add libgcc_s version information.
9033 * sysdeps/generic/libgcc_s.h: Remove.
9034 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
9035 libgcc_s.h.
9036 * sysdeps/gnu/unwind-resume.c: Likewise.
9037 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
9038
aab39a09
DM
90392012-04-25 David S. Miller <davem@davemloft.net>
9040
9041 * sysdeps/unix/sparc/brk.S: Delete.
9042 * sysdeps/unix/sparc/dl-brk.S: Delete.
9043 * sysdeps/unix/sparc/pipe.S: Delete.
9044 * sysdeps/unix/sparc/sysdep.S: Delete.
9045 * sysdeps/unix/sparc/sysdep.h: Delete.
9046 * sysdeps/unix/sparc/vfork.S: Delete.
9047 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
9048 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
9049 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
9050 ret_ERRVAL, r0, r1, MOVE): Define.
9051 (JUMPTARGET): Remove.
9052 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
9053 sysdeps/unix/sparc/sysdep.h
9054 (ENTRY, END): Remove.
9055 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9056
a3cc4f48
JM
90572012-04-25 Joseph Myers <joseph@codesourcery.com>
9058
2ed8cda2
JM
9059 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
9060 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
9061 -DIS_IN_build.
9062
35d76d59
JM
9063 * timezone/README: Update upstream location and email address for
9064 tzcode and tzdata.
9065 * timezone/zdump.c: Update from tzcode 2012b.
9066 * timezone/zic.c: Likewise.
9067
a3cc4f48
JM
9068 * configure.in (libc_cv_as_needed): Remove test.
9069 * configure: Regenerated.
9070 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
9071 conditional definition.
9072 [$(have-as-needed) != yes] (no-as-needed): Likewise.
9073 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9074 * config.make.in (have-as-needed): Remove variable.
9075
ceab42c3
SP
90762012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9077 Paul Pluzhnikov <ppluzhnikov@google.com>
9078
9079 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9080 strings correctly.
9081
3ce2865f
CLT
90822012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
9083
9084 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9085 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9086 * sysdeps/sh/strlen.S: Likewise.
9087
f37e0d68
JM
90882012-04-24 Joseph Myers <joseph@codesourcery.com>
9089
ae186e9a
JM
9090 * sysdeps/unix/fork.S: Remove file.
9091 * sysdeps/unix/i386/fork.S: Likewise.
9092 * sysdeps/unix/sparc/fork.S: Likewise.
9093
b96914af
JM
9094 * sysdeps/unix/system.c: Remove file.
9095 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9096
f37e0d68
JM
9097 * sysdeps/unix/getegid.S: Remove file.
9098 * sysdeps/unix/geteuid.S: Likewise.
9099
87ef29ca
RM
91002012-04-24 Roland McGrath <roland@hack.frob.com>
9101
83bcd236
RM
9102 * scripts/check-localplt.awk: New file.
9103 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9104 of diff.
9105 * scripts/data/localplt-generic.data: Add a comment.
9106
87ef29ca
RM
9107 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9108 NODE when __dir_mkfile failed.
9109 * sysdeps/mach/hurd/symlinkat.c: Likewise.
9110 Reported by Ludovic Courtès <ludo@gnu.org>.
9111
e5a6e567
AJ
91122012-04-24 Andreas Jaeger <aj@suse.de>
9113
9114 * Makerules (common-clean): Also remove gen-as-const-headers
9115 files.
9116
c1820385
JM
91172012-04-24 Joseph Myers <joseph@codesourcery.com>
9118
9119 * Makerules (native-compile): Do not change working directory for
9120 build. Use $(OUTPUT_OPTION) in command.
9121 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9122
94e02fc4
AZ
91232012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9124
9125 [BZ #13886]
9126 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9127 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9128 * math/libm-test.inc (floor_test): Add more tests.
9129 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9130
3a533ca3
JM
91312012-04-24 Joseph Myers <joseph@codesourcery.com>
9132
940ab4b3
JM
9133 * sysdeps/unix/getdents.c: Remove file.
9134 * sysdeps/unix/sysv/getdents.c: Likewise.
9135 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9136
90e037bd
JM
9137 * sysdeps/unix/syscalls.list (madvise): Add syscall from
9138 sysdeps/unix/mman/syscalls.list.
9139 (mmap): Likewise.
9140 (mprotect): Likewise.
9141 (msync): Likewise.
9142 (munmap): Likewise.
9143 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9144 * sysdeps/unix/mman/syscalls.list: Remove.
9145 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9146
3a533ca3
JM
9147 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9148 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9149 * configure: Regenerated.
9150 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9151 $(libgcc_s_suffix).
9152 * config.make.in (libgcc_s_suffix): Remove variable.
9153
1ad743de
JM
91542012-04-23 Joseph Myers <joseph@codesourcery.com>
9155
4ad451e2
JM
9156 * sysdeps/unix/sysv/gethostname.c: Move to ...
9157 * sysdeps/posix/gethostname.c: ... here.
9158
5e37ce39
JM
9159 * sysdeps/unix/execve.S: Remove file.
9160
1ad743de
JM
9161 * sysdeps/unix/_exit.S: Remove file.
9162
4e681b5b
AJ
91632012-04-23 Andreas Jaeger <aj@suse.de>
9164
9165 [BZ #13739]
9166 * manual/Makefile: Remove make dist support, there's no
9167 need for a stand-alone documentation tar ball.
9168 (TEXI2DVI): Define always, it's not in Makeconfig.
9169 (dist): Removed.
9170 (tar-it): Removed.
9171 (edition): Removed.
9172 (glibc-doc-$(edition).tar): Removed
9173 (%.Z): Removed.
9174 (%.gz): Removed.
9175 (%.uu): Removed.
9176 (ETAGS): Remove, it's in Makeconfig.
9177 (move-if-change): Remove, it's in Makeconfig.
9178
c0baea34
PE
91792013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9180
9181 [BZ #13970]
9182 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9183 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9184 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9185 (strtod_l, strtof_l, strtold_l): Remove __wur.
9186 It is not necessarily an error to ignore strtol's return value.
9187 One can reliably look at the stored endptr to decide whether
9188 the number had valid syntax.
9189
7c0616fa
AJ
91902012-04-21 Andreas Jaeger <aj@suse.de>
9191
803cb6b7 9192 [BZ #13739]
7c0616fa
AJ
9193 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9194
b0fe253f
JM
91952012-04-21 Joseph Myers <joseph@codesourcery.com>
9196
9197 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9198 * sysdeps/unix/sysv/Versions: Remove file.
9199
8280f22d
MT
92002012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9201
9202 [BZ #13927]
9203 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9204
75ce411f 92052012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
9206
9207 [BZ #7064]
9208 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9209 version from __vm86.
9210
097d59fa
JM
92112012-04-20 Joseph Myers <joseph@codesourcery.com>
9212
a90f3bcb
JM
9213 * sysdeps/unix/common/lxstat.c: Remove file.
9214 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9215
edc7ea78
JM
9216 * sysdeps/unix/sysv/Makefile: Remove file.
9217
cb78c221
JM
9218 * sysdeps/unix/sysv/direct.h: Remove file.
9219
efa6a45f
JM
9220 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9221 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9222 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9223 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9224 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9225 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9226 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9227
9c9f2d0c
JM
9228 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9229
4541c83b
JM
9230 * sysdeps/unix/xmknod.c: Remove file.
9231 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9232
f5d153a0
JM
9233 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9234
aa746595
JM
9235 * sysdeps/unix/sysv/i386/time.S: Remove file.
9236
cce5905e
JM
9237 * sysdeps/unix/fxstat.c: Remove file.
9238 * sysdeps/unix/xstat.c: Likewise.
9239 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9240
37fa3841
JM
9241 * sysdeps/unix/sysv/sigaction.c: Remove file.
9242
ff1962a3
JM
9243 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9244 (sysdep_headers): Remove variable.
9245 [termio.h not in sysdep_headers] (generated): Likewise.
9246 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9247 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9248 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9249 * sysdeps/unix/sysv/tcflow.c: Likewise.
9250 * sysdeps/unix/sysv/tcflush.c: Likewise.
9251 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9252 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9253 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9254 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9255 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9256
e7740d31
JM
9257 * sysdeps/unix/siglist.c: Remove file.
9258
ee06f18b
JM
9259 * sysdeps/unix/getppid.S: Remove file.
9260
097d59fa
JM
9261 * sysdeps/unix/mkdir.c: Remove file.
9262 * sysdeps/unix/rmdir.c: Likewise.
9263
ff3d51ec
AS
92642012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9265
9266 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9267 ERR_MAX value.
9268 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9269 errlist-compat value.
9270
50f81fd7
DM
92712012-04-18 David S. Miller <davem@davemloft.net>
9272
9273 * sysdeps/generic/memcopy.h (reg_char): Delete.
9274 * debug/strcat_chk.c: Use char, not reg_char.
9275 * debug/strcpy_chk.c: Likewise.
9276 * debug/strncat_chk.c: Likewise.
9277 * debug/strncpy_chk.c: Likewise.
9278 * string/memchr.c: Likewise.
9279 * string/memrchr.c: Likewise.
9280 * string/rawmemchr.c: Likewise.
9281 * string/strcat.c: Likewise.
9282 * string/strchr.c: Likewise.
9283 * string/strchrnul.c: Likewise.
9284 * string/strcmp.c: Likewise.
9285 * string/strcpy.c: Likewise.
9286 * string/strncat.c: Likewise.
9287 * string/strncmp.c: Likewise.
9288 * string/strncpy.c: Likewise.
9289
8ff41c46
WS
92902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9291
9292 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9293 __builtin_memcopy is called when src and dest ranges are known to not
9294 overlap.
9295
6b652f46
WS
92962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9297
9298 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9299 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9300 fwd_align_merge macro call.
9301 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9302 bwd_align_merge macro call.
9303 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9304
b282631e
WS
93052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9306
9307 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9308 bwd_align_merge macros.
9309 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9310 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9311 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9312
95aa737c
DM
93132012-04-18 David S. Miller <davem@davemloft.net>
9314
9315 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9316
7a99a614
AJ
93172012-04-18 Andreas Jaeger <aj@suse.de>
9318
9319 [BZ# 6794]
9320 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9321 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9322 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9323
9324 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9325 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9326 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9327
9328 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9329 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9330 Adjust for changed ldbl-128 files.
9331
9332 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9333 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9334 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9335
e5270c23
DM
93362012-04-17 David S. Miller <davem@davemloft.net>
9337
9338 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9339
fb5e92c9
AS
93402012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9341
9342 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9343 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9344 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9345 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9346 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9347 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9348
76da7265
AZ
93492012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9350
9351 [BZ #6794]
9352 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9353 * math/libm-test.inc: Add ilogb errno and exception tests.
9354 * math/w_ilogb.c: New file: ilogb wrapper.
9355 * math/w_ilogbf.c: New file: ilogbf wrapper.
9356 * math/w_ilogbl.c: New file: ilogbl wrapper.
9357 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9358 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9359 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9360 exception being thrown with 0.0 as argument.
9361 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9362 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9363 exception being thrown with 0.0 as argument.
9364 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9365 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9366 exception being thrown with 0.0 as argument.
9367 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9368 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9369 exception being thrown with 0.0 as argument.
9370 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9371 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 9372 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
9373 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9374 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9375 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9376 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9377 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9378 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9379
0396e69d
PB
93802012-04-17 Petr Baudis <pasky@ucw.cz>
9381
9382 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9383 with altivec.
9384
750b5926
MP
93852012-04-16 Marek Polacek <polacek@redhat.com>
9386
9387 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9388
751728a1
MP
93892012-04-16 Marek Polacek <polacek@redhat.com>
9390
9391 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9392 operands of fdivp instruction.
9393
34a27407
L
93942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9395
9396 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9397 * elf/tst-auditmod3b.c: Likewise.
9398 * elf/tst-auditmod4b.c: Likewise.
9399 * elf/tst-auditmod5b.c: Likewise.
9400 * elf/tst-auditmod6b.c: Likewise.
9401 * elf/tst-auditmod6c.c: Likewise.
9402 * elf/tst-auditmod7b.c: Likewise.
9403 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9404 * sysdeps/x86_64/preconfigure.in: Likewise.
9405 * sysdeps/x86_64/preconfigure: Regenerated.
9406
7e73e17d
L
94072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9408
9409 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9410 __ILP32__.
9411
c7a6ab72
AB
94122012-04-13 Antoine Balestrat <merkil33@gmail.com>
9413
9414 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9415 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9416
a9e8e0e0
CL
94172012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9418
9419 [BZ #13973]
9420 * locale/iso-639.def: Fix gl language name. Spotted by
9421 Yaron Shahrabani.
9422
ec98af7d
RM
94232012-04-12 Roland McGrath <roland@hack.frob.com>
9424
9425 [BZ #2074]
9426 * libio/libio.h (__io_write_fn): Update comment.
9427
247c3ede
PB
94282012-04-12 Petr Baudis <pasky@ucw.cz>
9429
9430 [BZ #2074]
9431 * stdio.texi (Hook Functions): The user provided writer function
9432 is not allowed to return -1.
9433
55939d6d
DM
94342012-04-11 David S. Miller <davem@davemloft.net>
9435
9436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9437
90020f5a
MF
94382012-04-11 Mike Frysinger <vapier@gentoo.org>
9439
9440 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9441 Add a leading slash to rtkaio.
9442
288f9098
JM
94432012-04-11 Jim Meyering <meyering@redhat.com>
9444
90020f5a
MF
9445 [BZ #11959]
9446 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9447 It is not necessarily an error to ignore fwrite's return
9448 value. One can reliably use ferror to test for errors after
9449 the fact.
288f9098 9450
4be2b570
L
94512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9452
9453 * bits/types.h (__snseconds_t): New type.
9454 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9455
9456 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9457 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9458 (__SNSECONDS_T_TYPE): Likewise.
9459 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9460 (__SNSECONDS_T_TYPE): Likewise.
9461 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9462 (__SNSECONDS_T_TYPE): Likewise.
9463
288f9098 94642012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
9465
9466 [BZ #2636]
9467 * manual/time.texi (Processor Time): Return type of times is
9468 elapsed real time since an arbitrary point in the past.
9469 (CPU Time): Move CLK_TCK from here...
9470 (Processor Time): ...to here. Correct description.
9471 * manual/conf.texi (Constants for Sysconf): Correct description of
9472 _SC_CLK_TCK.
9473
d7dd4413
DM
94742012-04-10 David S. Miller <davem@davemloft.net>
9475
9476 [BZ #13967]
9477 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9478 where the is a gap between DT_REL(A) and DT_JMPREL.
9479
b46068fc
L
94802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9481
9482 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9483 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9484 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9485
73d65cc3
SP
94862012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9487
9488 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9489 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9490 (dl_main): Handle --inhibit-cache.
9491 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9492 _dl_inhibit_cache.
9493 * elf/dl-load.c (_dl_map_object): Use it.
9494 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9495
bcc8d661
JM
94962012-04-09 Joseph Myers <joseph@codesourcery.com>
9497
8f9a2fae
JM
9498 [BZ #13872]
9499 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9500 (__ieee754_powl): Saturate large exponents rather than testing for
9501 overflow of y*log2(x).
9502 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9503 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9504 exceptions.
9505
bcc8d661
JM
9506 [BZ #11521]
9507 * math/s_ctan.c: Include <float.h>.
9508 (__ctan): Avoid internal overflow or cancellation in calculating
9509 denominator.
9510 * math/s_ctanf.c: Likewise.
9511 * math/s_ctanl.c: Likewise.
9512 * math/s_ctanh.c: Likewise.
9513 * math/s_ctanhf.c: Likewise.
9514 * math/s_ctanhl.c: Likewise.
9515 * math/libm-test.inc (ctan_test): Add more tests.
9516 (ctanh_test): Likewise.
9517 * sysdeps/i386/fpu/libm-test-ulps: Update.
9518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9519
823fbbb4
AJ
95202012-04-09 Andreas Jaeger <aj@suse.de>
9521
03879793
AJ
9522 [BZ #6894]
9523 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9524 is an optional BSD extension.
9525
823fbbb4
AJ
9526 [BZ #10254]
9527 * manual/stdio.texi (Opening Streams): Document additional fopen
9528 parameters.
9529
8de131cb
RM
95302012-04-09 Roland McGrath <roland@hack.frob.com>
9531
9532 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9533 %eax without telling the compiler.
9534
c0ed9d7d
CD
95352012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9536
9537 [BZ # 13963]
9538 * manual/install.texi: Use sourceware.org.
9539
c483f6b4
JM
95402012-04-09 Joseph Myers <joseph@codesourcery.com>
9541
d7dd9453
JM
9542 [BZ #13873]
9543 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9544 (__ieee754_pow): Generate overflow and underflow using huge*huge
9545 and tiny*tiny rather than just returning constant infinity or zero
9546 for large exponents.
9547 * math/libm-test.inc (pow_test): Require overflow exceptions for
9548 applicable cases of large exponents.
9549
c483f6b4
JM
9550 [BZ #706]
9551 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9552 (__ieee754_pow): Use iterative multiplication algorithm only for
9553 integer exponents with absolute value below 1024. Check for odd
9554 integer exponents when using algorithm for real exponents.
9555 * math/libm-test.inc (pow_test): Add more tests.
9556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9557
d2de7579
JM
95582012-04-08 Joseph Myers <joseph@codesourcery.com>
9559
9560 [BZ #13705]
9561 * math/libm-test.inc (exp_test): Do not allow overflow exception
9562 on underflow test.
9563
f77f1232
AJ
95642012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9565
9566 [BZ #13705]
9567 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9568 instead of __kernel_standard_f.
9569
3884932b
MF
95702012-04-08 Mike Frysinger <vapier@gentoo.org>
9571
9572 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9573 * sysdeps/x86_64/memset_chk.S: Likewise.
9574
54472e9c
AJ
95752012-04-08 Andreas Jaeger <aj@suse.de>
9576
6ab0fbfc
AJ
9577 [BZ #10153]
9578 * manual/startup.texi (Environment Access): Describe return value
9579 for putenv and setenv.
9580
61efba8c
AJ
9581 [BZ #6895]
9582 * manual/filesys.texi (Directory Entries): Add description for
9583 DT_LNK.
9584
95c3f29a
AJ
9585 [BZ #6890]
9586 * manual/filesys.texi (Directory Entries): Clarify that it's file
9587 system not operating system in the description of DT_UNKNOWN.
9588
54472e9c
AJ
9589 [BZ #6578]
9590 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9591
624254b1
SC
95922012-04-08 Stephen Compall <s11@member.fsf.org>
9593
9594 [BZ #6649]
9595 * manual/llio.texi (Opening and Closing Files): Add cross
9596 reference to explain mode argument.
9597
1e4920e0
MF
95982012-04-07 Mike Frysinger <vapier@gentoo.org>
9599
9600 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9601 * sysdeps/x86_64/memset_chk.S: Likewise.
9602
5ed848f3
DM
96032012-04-07 David S. Miller <davem@davemloft.net>
9604
9605 * elf/elf.h (R_SPARC_WDISP10): Define.
9606 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9607 R_SPARC_SIZE32.
9608 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9609 R_SPARC_SIZE64 and R_SPARC_H34.
9610
96154cd8
CD
96112012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9612
9613 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9614 conditions and remove no longer applicable assertion.
9615
9904dc47
L
96162012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9617
9618 * bits/byteswap.h: Include <features.h>.
9619 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9620 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9621
f8887d0a
L
96222012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9623
9624 * bits/byteswap.h (__bswap_16): Removed.
9625 Include <bits/byteswap-16.h> to get __bswap_16.
9626 * sysdeps/i386/bits/byteswap.h: Likewise.
9627 * sysdeps/s390/bits/byteswap.h: Likewise.
9628 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9629 * bits/byteswap-16.h: New file.
9630 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9631 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9632 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9633 * string/Makefile (headers): Add bits/byteswap-16.h.
9634
62470f60
PP
96352012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9636
9637 [BZ #13895]
9638 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9639 extra indirection.
9640 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9641 * nss/tst-nss-static.c: New.
9642
4dad7bab
RM
96432012-04-06 Robert Millan <rmh@gnu.org>
9644
9645 [BZ #6486]
9646 * manual/llio.texi (File Position Primitive): lseek
9647 refers to WHENCE when it really means OFFSET.
9648
e9142a17
AJ
96492012-04-06 Andreas Jaeger <aj@suse.de>
9650
2c040eff
AJ
9651 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9652 strncmp declarations.
9653
e9142a17
AJ
9654 * abilist/libc.abilist: Add __poll and __ppoll.
9655
ff9f1c5f
DM
96562012-04-05 David S. Miller <davem@davemloft.net>
9657
dcd2ae90
DM
9658 * scripts/check-local-headers.sh: Accept a host triplet in the
9659 path matched by the exclude regexp.
9660
993eb054
DM
9661 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9662 definition.
9663 * sysdeps/powerpc/powerpc32/dl-machine.h
9664 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9665 * sysdeps/s390/s390-32/dl-machine.h
9666 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9667 * sysdeps/sparc/sparc32/dl-machine.h
9668 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9669 * sysdeps/sparc/sparc64/dl-machine.h
9670 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9671
ff9f1c5f
DM
9672 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9673 lazy binding.
48e2e132 9674 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
9675 undefined symbol errors.
9676
48e2e132 9677 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
9678 DT_NEEDED entries.
9679
e80d6f94
MM
96802012-04-05 Michael Matz <matz@suse.de>
9681
9682 [BZ #13592]
9683 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9684
349fa79f
AJ
96852012-04-05 Andreas Jaeger <aj@suse.de>
9686
9687 [BZ #13908]
9688 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9689 comment.
9690
f402708f
KK
96912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9692
9693 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9694 which ROUND is no valid rounding mode.
9695
2ecccfc9
KK
96962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9697
9698 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9699 read again.
9700 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9701
8a53f50f
KK
97022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9703
9704 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9705 an exception using FPU order intentionally.
9706
97072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9708
9709 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9710 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9711 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9712 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9713
d653abb7
SJ
97142012-04-05 Simon Josefsson <simon@josefsson.org>
9715
9716 [BZ #12340]
9717 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9718 EINVAL when BUFLEN is too smal.
9719
c3b1bf7d
TS
97202012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9721
9722 [BZ #13553]
9723 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9724 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9725
b1aa60f3
AJ
97262012-04-03 Andreas Jaeger <aj@suse.de>
9727
c3b1bf7d 9728 [BZ #13938]
67f60a26
AJ
9729 * manual/setjmp.texi (System V contexts): Fix sentence.
9730
b1aa60f3
AJ
9731 [BZ #13926]
9732 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9733 New macro for this case.
9734 [!__GNUC__] (__bswap_64): New inline function for this case.
9735 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9736 * bits/byteswap.h: Likewise.
9737 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9738 ull, guard with __GLIBC_HAVE_LONG_LONG.
9739
9740 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9741 __GLIBC_HAVE_LONG_LONG.
9742
9743 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9744 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9745
39c59c35
TMQMF
97462012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9747
9748 [BZ #13691]
9749 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9750 inptr and inend, rather than using last_ch.
9751
135ffda8
DM
97522012-04-02 David S. Miller <davem@davemloft.net>
9753
9754 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9755 * stdio-common/printf-parse.h (read_int): Change return type to
9756 'int', return -1 on INT_MAX overflow.
9757 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9758 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9759 overflows INT_MAX. Check for overflow of in-format-string precision
9760 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9761 SIZE_MAX not INT_MAX for integer overflow test.
9762 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9763 skip the construct in the format string but do not record anything.
9764 * stdio-common/bug22.c: Adjust to test both width/prevision
9765 INT_MAX overflow as well as total length INT_MAX overflow. Check
9766 explicitly for proper errno values.
9767
228c019e
TS
97682012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9769
302cadd3
TS
9770 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9771 CHAR_MAX.
9772 * string/test-strcmp.c [! WIDE]: Likewise.
9773 * time/tst-mktime2.c: Likewise for INT_MAX.
9774 * string/test-string.h: #include <sys/param.h> for MIN.
9775
228c019e
TS
9776 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9777 * sysdeps/i386/init-first.c (init): Likewise.
9778 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9779 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9780 * sysdeps/sh/init-first.c (init): Likewise.
9781
cfa633f5
UD
97822012-04-01 Ulrich Drepper <drepper@gmail.com>
9783
9784 * po/ru.po: Update from translation team.
d1635ef8 9785 * po/vi.po: Likewise.
cfa633f5 9786
6cd0a5ea
SP
97872012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9788
9789 * resolv/nss_dns/dns-host.c: Merge copyright years.
9790
4b43400f
LD
97912012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9792
9793 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9794 Optimize memcpy with prefetch if
9795 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9796 src, dst pointers have unequal 16 byte alignments.
9797
48c41d04
SP
97982012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9799
9800 [BZ #13928]
9801 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9802 from a CNAME entry and return the minimum ttl for the query.
9803 (gaih_getanswer_slice): Likewise.
9804
b8dc394d
JL
98052012-03-30 Jeff Law <law@redhat.com>
9806
9807 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9808 due to long keys.
9809 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9810 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9811
2f5a5ed0
JL
9812 * resolv/nss_dns/dns-host.c: Update copyright year.
9813
1d39e359
UD
98142012-03-30 Ulrich Drepper <drepper@gmail.com>
9815
c030f70c 9816 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 9817 requests to save a system call. Fix check that all bytes are sent.
c030f70c 9818
1d39e359
UD
9819 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9820 comments for sendmmsg.
9821
98222012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
9823
9824 [BZ #13691]
9825 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9826 with only 1 character between 0x0041 and 0x01b0.
9827 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9828 * wcsmbs/tst-mbsnrtowcs.c: New file.
9829
20fde227
DM
98302012-03-29 David S. Miller <davem@davemloft.net>
9831
9832 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9833 small copies by hand.
9834
984a4237
JL
98352012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9836
9837 [BZ #13761]
9838 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9839 _nss_compat_initgroups_dyn): Fall back to malloc/free
9840 for large group memberships.
9841
18c9d62b
DM
98422012-03-28 David S. Miller <davem@davemloft.net>
9843
88d85d4f
DM
9844 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9845 that branches into memcpy.
9846 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9847 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9848 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9849 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9850 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9851 bits.
9852 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9853 implementation too.
9854 * sysdeps/sparc/mempcpy.S: New file.
9855
e5aa83e1
DM
9856 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9857 the IFUNC routine in the libc case.
9858 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9859
88570753
DM
9860 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9861 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9862 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9863 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9864 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9865 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9866 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9867 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9868
249d7567
DM
9869 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9870 loop to 256 bytes instead of 64 bytes and fix test signedness.
9871
18c9d62b
DM
9872 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9873 * sysdeps/sparc/sparc32/Makefile: rather than here...
9874 * sysdeps/sparc/sparc64/Makefile: and here.
9875
05f3d1f6
UD
98762012-03-28 Ulrich Drepper <drepper@gmail.com>
9877
9878 * malloc/mallocbug.c: Avoid warnings about unused variables.
9879
86ae07a8
JL
98802012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9881
9882 [BZ #13760]
9883 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9884 in the right place. Discard and retry query if response is
9885 larger than input buffer size.
9886
41bf21a1
JM
98872012-03-28 Joseph Myers <joseph@codesourcery.com>
9888
d6270972
JM
9889 [BZ #369]
9890 [BZ #2678]
9891 [BZ #3866]
9892 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9893 x for large integer exponent.
9894 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9895 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9896 sign of result as needed afterwards.
9897 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9898 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9899 result for underflowing pow the same as for overflow.
9900 (__kernel_standard_l): Handle powl overflow and underflow here
9901 rather than calling __kernel_standard.
9902 * math/libm-test.inc (pow_test): Add more tests.
9903
414fca03 9904 [BZ #3868]
41bf21a1
JM
9905 [BZ #13879]
9906 [BZ #13910]
9907 [BZ #13911]
9908 [BZ #13912]
9909 [BZ #13913]
9910 [BZ #13915]
9911 [BZ #13916]
9912 [BZ #13917]
9913 [BZ #13918]
9914 [BZ #13919]
9915 [BZ #13920]
9916 [BZ #13921]
9917 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9918 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9919 (__kernel_standard_l): New function.
9920 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9921 __kernel_standard.
9922 * math/w_acosl.c (__acosl): Likewise.
9923 * math/w_asinl.c (__asinl): Likewise.
9924 * math/w_atan2l.c (__atan2l): Likewise.
9925 * math/w_atanhl.c (__atanhl): Likewise.
9926 * math/w_coshl.c (__coshl): Likewise.
9927 * math/w_exp10l.c (__exp10l): Likewise.
9928 * math/w_exp2l.c (__exp2l): Likewise.
9929 * math/w_fmodl.c (__fmodl): Likewise.
9930 * math/w_hypotl.c (__hypotl): Likewise.
9931 * math/w_j0l.c (__j0l, __y0l): Likewise.
9932 * math/w_j1l.c (__j1l, __y1l): Likewise.
9933 * math/w_jnl.c (__jnl, __ynl): Likewise.
9934 * math/w_lgammal.c (__lgammal): Likewise.
9935 * math/w_log10l.c (__log10l): Likewise.
9936 * math/w_log2l.c (__log2l): Likewise.
9937 * math/w_logl.c (__logl): Likewise.
9938 * math/w_powl.c (__powl): Likewise.
9939 * math/w_remainderl.c (__remainderl): Likewise.
9940 * math/w_scalbl.c (sysv_scalbl): Likewise.
9941 * math/w_sinhl.c (__sinhl): Likewise.
9942 * math/w_sqrtl.c (__sqrtl): Likewise.
9943 * math/w_tgammal.c (__tgammal): Likewise.
9944 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9945 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9946 * math/libm-test.inc (acos_test): Add more tests.
9947 (acosh_test): Likewise.
9948 (asin_test): Likewise.
9949 (atanh_test): Likewise.
9950 (exp_test): Likewise.
9951 (exp10_test): Likewise.
9952 (exp2_test): Likewise.
9953 (expm1_test): Likewise.
9954 (lgamma_test): Likewise.
9955 (log_test): Likewise.
9956 (log10_test): Likewise.
9957 (log1p_test): Likewise.
9958 (log2_test): Likewise.
9959 (pow_test): Do not allow some spurious overflow exceptions.
9960 (sqrt_test): Add more tests.
9961 (tgamma_test): Likewise.
9962 (y0_test): Likewise.
9963 (y1_test): Likewise.
9964 (yn_test): Likewise.
9965
dd62fda6
AB
99662012-03-27 Anton Blanchard <anton@samba.org>
9967
9968 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9969 MAP_HUGETLB.
9970 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9971 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9972 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9973
1e3cdfda
AJ
99742012-03-27 David S. Miller <davem@davemloft.net>
9975
b855ab85
DM
9976 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9977
1e3cdfda
AJ
9978 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9979 have-as-vis3 check.
9980
99812012-03-27 Andreas Jaeger <aj@suse.de>
9982
9983 * sysdeps/x86_64/elf/configure.in: Moved to ...
9984 * sysdeps/x86_64/configure.in: ... here.
9985 * sysdeps/x86_64/elf/start.S: Moved to ...
9986 * sysdeps/x86_64/start.S: ... here.
9987 * sysdeps/x86_64/elf/configure: Delete.
9988
9989 * sysdeps/x86_64/configure.in: Merge contents from
9990 sysdeps/i386/configure.in (without i686 check).
9991
9992 * sysdeps/i386/elf/Versions: Merge into ...
9993 * sysdeps/i386/Versions: ... this.
9994 * sysdeps/i386/elf/Versions: Delete file.
9995 * sysdeps/i386/elf/start.S: Moved to ...
9996 * sysdeps/i386/start.S: ...here.
9997 * sysdeps/i386/elf/configure.in: Merge into...
9998 * sysdeps/i386/configure.in: ...here.
9999 * sysdeps/i386/elf/configure.in: Delete file.
10000 * sysdeps/i386/elf/configure: Delete file.
10001
10002 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
10003 * debug/backtracesyms.c: ... here.
10004 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
10005 * debug/backtracesymsfd.c: ... here.
10006 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
10007 * sysdeps/generic/ifunc-sel.h: ... here.
10008
10009 * sysdeps/unix/i386/start.c: Delete file.
10010 * sysdeps/unix/sparc/start.c: Delete file.
10011 * sysdeps/unix/start.c: Delete file.
10012
10013 * sysdeps/sh/elf/configure.in: Moved to ...
10014 * sysdeps/sh/configure.in: ... here.
10015 * sysdeps/sh/elf/start.S: Moved to ...
10016 * sysdeps/sh/start.S: ... here.
10017 * sysdeps/sh/elf/configure: Delete file.
10018
10019 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
10020 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
10021 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
10022 * sysdeps/powerpc/powerpc64/entry.h: ... here.
10023 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
10024 * sysdeps/powerpc/powerpc64/start.S: here.
10025 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
10026 * sysdeps/powerpc/powerpc64/Makefile: ... this.
10027 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
10028 * sysdeps/powerpc/powerpc64/configure.in: ... this.
10029 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
10030
10031 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
10032 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
10033 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
10034 * sysdeps/powerpc/powerpc32/start.S: ... here.
10035 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
10036 * sysdeps/powerpc/powerpc32/configure.in: ... this.
10037 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
10038
10039 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
10040 * sysdeps/powerpc/ifunc-sel.h: ... here.
10041 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
10042 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
10043
10044 * sysdeps/sparc/elf/configure.in: Moved to ...
10045 * sysdeps/sparc/configure.in: ... here.
10046 * sysdeps/sparc/elf/configure: Delete file.
10047 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
10048 * sysdeps/sparc/sparc32/start.S: ... here.
10049 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
10050 * sysdeps/sparc/sparc64/start.S: ... here.
10051 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
10052 * sysdeps/sparc/sparc32/Makefile: ... this.
10053 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
10054 * sysdeps/sparc/sparc64/Makefile: ... this.
10055
10056 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
10057 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
10058 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
10059 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
10060 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
10061 * sysdeps/s390/s390-32/setjmp.S: ... here.
10062 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
10063 * sysdeps/s390/s390-32/configure.in: ... here.
10064 * sysdeps/s390/s390-32/elf/configure: Delete file.
10065 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
10066 * sysdeps/s390/s390-32/start.S: ... here.
10067
10068 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
10069 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
10070 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
10071 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10072 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10073 * sysdeps/s390/s390-64/setjmp.S: ... here.
10074 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10075 * sysdeps/s390/s390-64/configure.in: ... here
10076 * sysdeps/s390/s390-64/elf/configure: Delete file.
10077 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10078 * sysdeps/s390/s390-64/start.S: ... here.
10079 * sysdeps/s390/s390-64/elf/configure: Delete.
10080
10081 * configure.in: Remove support for elf directories in sysdeps.
10082
10083 * configure: Regenerated.
10084 * sysdeps/i386/configure: Regenerated.
10085 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10086 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10087 * sysdeps/s390/s390-32/configure: Regenerated.
10088 * sysdeps/s390/s390-64/configure: Regenerated.
10089 * sysdeps/sh/configure: Regenerated.
10090 * sysdeps/sparc/configure: Regenerated.
10091 * sysdeps/x86_64/configure: Regenerated.
10092
a3f61311
AS
100932012-03-26 Andreas Schwab <schwab@linux-m68k.org>
10094
c876e002
AS
10095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10096
a3f61311
AS
10097 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10098 denormal result into account.
10099
ac4c54f0
RM
101002012-03-25 Roland McGrath <roland@hack.frob.com>
10101
10102 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10103 Reported by Allan McRae <allan@archlinux.org>.
10104
6a9b9c02
JL
101052012-03-23 Jeff Law <law@redhat.com>
10106
10107 * nss/getnssent.c (__nss_getent): Fix typo.
10108
4c42a0c1
DM
101092012-03-23 David S. Miller <davem@davemloft.net>
10110
10111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10112
1532c7ac
L
101132012-03-23 H.J. Lu <hongjiu.lu@intel.com>
10114
10115 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10116 to pad to uint64_t for each field.
10117 (dl_tls_index): Replace unsigned long with uint64_t.
10118
3ff42526
PP
101192012-03-23 Daniel Jacobowitz <dmj@google.com>
10120 Paul Pluzhnikov <ppluzhnikov@google.com>
10121
10122 [BZ #6528]
10123 * grp/Makefile (otherlibs): Don't set it.
10124 * inet/Makefile (otherlibs): Likewise.
10125 * login/Makefile (otherlibs): Likewise.
10126 * nscd/Makefile (otherlibs): Likewise.
10127 * posix/Makefile (otherlibs): Likewise.
10128 * pwd/Makefile (otherlibs): Likewise.
10129 * rt/Makefile (otherlibs): Likewise.
10130 * sunrpc/Makefile (otherlibs): Likewise.
10131 * nss/Makefile (otherlibs): Likewise.
10132 Add libnss_files to routines and static-only-routines.
10133 ($(objpfx)getent): Remove rule.
10134 * resolv/Makefile: Add libnss_dns and libresolv to routines and
10135 static-only-routines.
10136
7c69cd14
JM
101372012-03-22 Joseph Myers <joseph@codesourcery.com>
10138
10139 [BZ #13892]
10140 * math/s_cexp.c: Include <float.h>.
10141 (__cexp): Handle exp result overflowing not necessarily
10142 overflowing both real and imaginary parts of result.
10143 * math/s_cexpf.c: Likewise.
10144 * math/s_cexpl.c: Likewise.
10145 * math/libm-test.inc (cexp_test): Add more tests.
10146 * sysdeps/i386/fpu/libm-test-ulps: Update.
10147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10148
81b035fe
L
101492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10150
10151 * include/link.h (ELFW): New macro.
10152 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10153 Replace ELF64_R_TYPE with ELFW(R_TYPE).
10154
1da7940c
L
101552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10156
10157 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10158 with uint64_t.
10159
b749dbb9
L
101602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10161
10162 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10163 declaration.
10164 (struct La_x32_retval): Likewise.
10165
2ff87f3f
L
101662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10167
10168 * sysdeps/x86_64/preconfigure.in: New file.
10169 * sysdeps/x86_64/preconfigure: New generated file.
10170
c0df8e69
JM
101712012-03-22 Joseph Myers <joseph@codesourcery.com>
10172
48e44791
JM
10173 [BZ #13824]
10174 * math/e_exp2l.c: Include <float.h>.
10175 (__ieee754_exp2l): Handle overflow and underflow cases
10176 separately. Only pass fractional part of argument to
10177 __ieee754_expl.
10178 * math/libm-test.inc (exp2_test): Add more tests.
10179
c0df8e69
JM
10180 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10181 negating x to take absolute value.
10182 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10183 Likewise.
10184 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10185 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10186 Likewise.
10187 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10188 computing low part if x was negated.
10189 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10190
c8e43ba7
L
101912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10192
10193 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10194 la_x32_gnu_pltexit.
10195 (pltexit): Cast int_retval to ptrdiff_t.
10196 * elf/tst-auditmod3b.c: Likewise.
10197 * elf/tst-auditmod4b.c: Likewise.
10198 * elf/tst-auditmod5b.c: Likewise.
10199 * elf/tst-auditmod6b.c: Likewise.
10200 * elf/tst-auditmod6c.c: Likewise.
10201 * elf/tst-auditmod7b.c: Likewise.
10202
10203 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10204 and x32_gnu_pltexit.
10205
10206 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10207 __ELF_NATIVE_CLASS.
10208 (La_x32_regs): New macro.
10209 (La_x32_retval): Likewise.
10210 (la_x32_gnu_pltenter): New function prototype.
10211 (la_x32_gnu_pltexit): Likewise.
10212
7998fa78
AS
102132012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10214
dcb33988
AS
10215 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10216 exponent.
10217
233fc563
AS
10218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10219
7998fa78
AS
10220 * configure.in (libc_cv_cc_nofma): Check for option to disable
10221 generation of FMA instructions.
10222 * configure: Regenerate.
10223 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10224 * sysdeps/ieee754/dbl-64/Makefile: New file.
10225 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10226 Remove brandred-fma4.
10227 (CFLAGS-brandred-fma4.c): Remove.
10228 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10229 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10230 define.
10231 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10232 define.
10233
8e95c99a
L
102342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10235
10236 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10237 LLONG_MAX != LONG_MAX.
10238 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10239 (_fitoa_word): Likewise.
10240 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10241 LLONG_MAX != LONG_MAX.
10242 * stdio-common/_itowa.h: Include <_itoa.h>.
10243 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10244 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10245 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10246 only if not defined.
10247 (_ITOA_WORD_TYPE): Likewise.
10248 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10249 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10250
6f4db457
DM
102512012-03-21 David S. Miller <davem@davemloft.net>
10252
10253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10254
7785fe5a
L
102552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10256
10257 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10258 of x86_64 when setting libc_cv_slibdir, libdir and
10259 libc_cv_localedir.
10260 * sysdeps/unix/sysv/linux/configure: Regenerated.
10261
4535cd55
JM
102622012-03-21 Joseph Myers <joseph@codesourcery.com>
10263
10264 * manual/lang.texi (Old Varargs): Remove section.
10265 (How Variadic): Update menu.
10266 (va_start): Do not mention varargs.h.
10267
17228132
TS
102682012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10269 Joseph Myers <joseph@codesourcery.com>
10270
10271 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10272 link test.
10273 * configure: Regenerated.
10274
8149f976
TS
102752012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10276
05f3d1f6
UD
10277 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10278 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10279 conformtest.pl
8149f976 10280
1a4ac776
JM
102812012-03-21 Joseph Myers <joseph@codesourcery.com>
10282
be22ce65
JM
10283 * NOTES: Remove.
10284 * Makefile (files-for-dist): Remove NOTES.
10285 (NOTES): Remove rule.
10286 * README: Don't refer to NOTES.
10287 * manual/creature.texi: Don't include macros.texi.
10288 * manual/intro.texi (creature.texi): Remove comment referring to
10289 NOTES.
10290
40b601fb
JM
10291 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10292 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10293 * configure: Regenerated.
10294 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10295 LIBC_TRY_CC_OPTION.
10296 (libc_cv_as_i686): Likewise.
10297 (libc_cv_cc_avx): Likewise.
10298 (libc_cv_cc_sse2avx): Likewise.
10299 (libc_cv_cc_fma4): Likewise.
10300 (libc_cv_cc_novzeroupper): Likewise.
10301 * sysdeps/i386/configure: Regenerated.
10302
1a4ac776
JM
10303 [BZ #13883]
10304 * sysdeps/i386/fpu/s_cexp.S: Remove.
10305 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10306 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10307 * math/libm-test.inc (cexp_test): Add more tests.
10308 * sysdeps/i386/fpu/libm-test-ulps: Update.
10309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10310
a458e7fe
AM
103112012-03-21 Allan McRae <allan@archlinux.org>
10312
10313 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10314
0cb7efc5
JM
103152012-03-21 Joseph Myers <joseph@codesourcery.com>
10316
10317 [BZ #13871]
10318 * math/w_exp2.c: Do not include <float.h>.
10319 (o_threshold, u_threshold): Remove.
10320 (__exp2): Calculate result before checking finiteness and calling
10321 __kernel_standard.
10322 * math/w_exp2f.c: Likewise.
10323 * math/w_exp2l.c: Likewise.
10324 * math/libm-test.inc (exp2_test): Require overflow exception for
10325 1e6 input.
2460d3aa
JM
10326
10327 [BZ #3866]
10328 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10329 range of signed 64-bit integers before using fistpll. Remove
10330 checks for whether integers fit in mantissa bits.
10331 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10332 the range of signed 32-bit integers before using fistpl. Remove
10333 checks for whether integers fit in mantissa bits.
10334 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10335 (__ieee754_powl): Test for y outside the range of signed 64-bit
10336 integers before using fistpll. Reduce 64-bit values to 63-bit
10337 ones as needed.
10338 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10339 divide-by-zero is raised for zero to large negative powers.
10340 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10341 (__ieee754_powl): Test for y outside the range of signed 64-bit
10342 integers before using fistpll. Reduce 64-bit values to 63-bit
10343 ones as needed.
10344 * math/libm-test.inc (pow_test): Add more tests.
10345
eb96ffb0
L
103462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10347
10348 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10349 <stdio-common/_itoa.h>.
10350 * debug/segfault.c: Likewise.
10351 * elf/dl-cache.c: Likewise.
10352 * elf/dl-minimal.c: Likewise.
10353 * elf/dl-misc.c: Likewise.
10354 * elf/dl-sysdep.c: Likewise.
10355 * elf/dl-version.c: Likewise.
10356 * elf/rtld.c: Likewise.
10357 * hurd/hurdsock.c: Likewise.
10358 * hurd/lookup-retry.c: Likewise.
10359 * malloc/malloc.c: Likewise.
10360 * malloc/mtrace.c: Likewise.
10361 * nscd/nscd_getgr_r.c: Likewise.
10362 * nscd/nscd_getpw_r.c: Likewise.
10363 * nscd/nscd_getserv_r.c: Likewise.
10364 * posix/getopt_init.c: Likewise.
10365 * posix/wordexp.c: Likewise.
10366 * stdio-common/_itoa.c: Likewise.
10367 * stdio-common/printf_fphex.c: Likewise.
10368 * stdio-common/vfprintf.c: Likewise.
10369 * string/_strerror.c: Likewise.
10370 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10371 * sysdeps/i386/i686/hp-timing.h: Likewise.
10372 * sysdeps/mach/_strerror.c: Likewise.
10373 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10374 * sysdeps/mach/hurd/sethostid.c: Likewise.
10375 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10376 * sysdeps/mach/xpg-strerror.c: Likewise.
10377 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10378 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10379 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10380 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10381 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10382 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10383 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10384 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10385 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10386 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10387 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10388 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10389 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10390 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10391 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10392 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10393 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10394 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10395 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10396 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10397 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10398
10399 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10400
10401 * stdio-common/_itoa.h: Moved to ...
10402 * sysdeps/generic/_itoa.h: Here.
10403
10404 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10405
10406 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10407 instead of "_itoa.h" and "_itowa.h".
10408 * stdio-common/vfprintf.: Likewise.
10409
d1af992d
L
104102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10411
10412 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10413 <bits/wordsize.h>.
10414 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10415 (__signbit): Likwise.
10416 (llrintf): Likwise.
10417 (llrint): Likwise.
10418
114883e0
L
104192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10420
10421 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10422 __WORDSIZE != 64.
10423
c135cc1b
JM
104242012-03-20 Joseph Myers <joseph@codesourcery.com>
10425
10426 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10427 OVERFLOW_EXCEPTION_OK.
10428 * math/libm-test.inc ("Philosophy"): Update comment about
10429 exception testing.
10430 (OVERFLOW_EXCEPTION): Define.
10431 (OVERFLOW_EXCEPTION_OK): Likewise.
10432 (INVALID_EXCEPTION_OK): Renumber.
10433 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10434 (IGNORE_ZERO_INF_SIGN): Likewise.
10435 (test_exceptions): Handle FE_OVERFLOW.
10436 (exp10_test): Expect overflow exceptions.
10437 (exp2_test): Likewise.
10438 (expm1_test): Likewise.
10439 (nextafter_test): Likewise.
10440 (pow_test): Likewise.
10441 (scalbn_test): Likewise.
10442 (scalbln_test): Likewise.
10443
95443d88
L
104442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10445
10446 * sysdeps/x86_64/bits/atomic.h
10447 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10448 64bit integer.
10449 (atomic_exchange_acq): Likewise.
10450 (__arch_exchange_and_add_body): Likewise.
10451 (__arch_add_body): Likewise.
10452 (atomic_add_negative): Likewise.
10453 (atomic_add_zero): Likewise.
10454
490df6c4
L
104552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10456
c2722551 10457 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
10458 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10459
5e52b189
L
104602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10461
10462 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10463 Check __x86_64__ instead of __WORDSIZE.
10464
a9879d4c
L
104652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10466
10467 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10468
5df98260
DM
104692012-03-19 David S. Miller <davem@davemloft.net>
10470
e1497744
DM
10471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10472
5df98260
DM
10473 * sysdeps/sparc/fpu/fenv_private.h: New file.
10474 * sysdeps/sparc/fpu/math_private.h: Use it.
10475 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10476 Remove.
10477 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10478 (libc_feholdexcept_setroundl): Remove.
10479 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10480 Remove.
10481 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10482 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10483
b4c35121
L
104842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10485
10486 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10487 int64_t instead of long int.
10488 (INSERT_WORDS64): Likwise.
10489
56965fd7
L
104902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10491
10492 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10493 _Unwind_GetCFA return to _Unwind_Ptr first.
10494
83d1aec8
JM
104952012-03-19 Joseph Myers <joseph@codesourcery.com>
10496
1897ad44
JM
10497 [BZ #13629]
10498 * math/s_clog.c: Include <float.h>.
10499 (__clog): Scale large or subnormal inputs.
10500 * math/s_clogf.c: Likewise.
10501 * math/s_clogl.c: Likewise.
10502 * math/s_clog10.c: Include <float.h>.
10503 (M_LOG10_2): Define.
10504 (__clog10): Scale large or subnormal inputs.
10505 * math/s_clog10f.c: Likewise.
10506 * math/s_clog10l.c: Likewise.
10507 * math/libm-test.inc (clog_test): Add more tests.
10508 (clog10_test): Likewise.
10509 * sysdeps/i386/fpu/libm-test-ulps: Update.
10510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10511
7726d6a9
JM
10512 [BZ #11451]
10513 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10514 x and y.
10515 * math/libm-test.inc (atan2_test): Add another test.
10516
83d1aec8
JM
10517 * Makerules (common-objdir-compile): Remove.
10518 * sysdeps/unix/Makefile (config-generated): Do not add
10519 $(unix-generated) to variable.
10520 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10521 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10522 Remove rule.
10523 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10524 Likewise.
10525 [generic bits/local_lim.h] (before-compile): Do not append to
10526 variable.
10527 [generic bits/local_lim.h] (common-generated): Likewise.
10528 [generic sys/param.h] (before-compile): Do not append to variable.
10529 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10530 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10531 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10532 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10533 include.
10534 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10535 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10536 [generic sys/param.h] ($(addprefix
10537 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10538 [generic sys/param.h] (common-generated): Do not append to
10539 variable.
10540 [generic sys/param.h] (sysdep_headers): Likewise.
10541 [generic bits/errno.h] (before-compile): Do not append to
10542 variable.
10543 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10544 rule.
10545 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10546 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10547 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10548 [generic bits/errno.h] (common-generated): Do not append to
10549 variable.
10550 [generic bits/ioctls.h] (before-compile): Do not append to
10551 variable.
10552 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10553 rule.
10554 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10555 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10556 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10557 rule.
10558 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10559 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10560 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10561 [generic bits/ioctls.h] (common-generated): Do not append to
10562 variable.
10563 [generic sys/syscall.h] (syscall.h): Remove variable.
10564 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10565 rule.
10566 [generic sys/syscall.h] (before-compile): Do not append to
10567 variable.
10568 [generic sys/syscall.h] (common-generated): Likewise.
10569 * sysdeps/unix/errnos-tmpl.c: Remove file.
10570 * sysdeps/unix/errnos.awk: Likewise.
10571 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10572 * sysdeps/unix/ioctls.awk: Likewise.
10573 * sysdeps/unix/mk-local_lim.c: Likewise.
10574 * sysdeps/unix/snarf-ioctls: Likewise.
10575
4851a949
RH
105762012-03-19 Richard Henderson <rth@twiddle.net>
10577
bd37f2ee
RH
10578 * sysdeps/i386/fpu/fenv_private.h: New file.
10579 * sysdeps/i386/fpu/math_private.h: Use it.
10580 (math_opt_barrier, math_force_eval): Remove.
10581 (libc_feholdexcept_setround_53bit): Remove.
10582 (libc_feupdateenv_53bit): Remove.
10583 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10584 (math_opt_barrier, math_force_eval): Remove.
10585 (libc_feholdexcept): Remove.
10586 (libc_feholdexcept_setround): Remove.
10587 (libc_fetestexcept, libc_fesetenv): Remove.
10588 (libc_feupdateenv_test): Remove.
10589 (libc_feupdateenv, libc_feholdsetround): Remove.
10590 (libc_feresetround): Remove.
10591
d0adc922
RH
10592 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10593 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10594
0fe0f1f8
RH
10595 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10596 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10597 (libc_feupdateenv_testl): New.
10598 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10599 (libc_feupdateenv_testf): New.
10600 (libc_feupdateenv): Use libc_feupdateenv_test.
10601 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10602 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10603
eb92c487
RH
10604 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10605 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10606 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10607 (libc_feresetround_noex): New.
10608 (libc_feresetround_noexf): New.
10609 (libc_feresetround_noexl): New.
10610 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10611 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10612 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10613 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10614 SET_RESTORE_ROUND.
10615 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10616 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10617 (__cos): Likewise.
10618 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10619 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10620 SET_RESTORE_ROUND_NOEX.
10621 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10622 SET_RESTORE_ROUND_NOEXF.
10623 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10624 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10625 (libc_feholdsetroundf): New.
10626 (libc_feresetround, libc_feresetroundf): New.
10627
7d2e8012
RH
10628 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10629 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10630 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10631
b4dabbb4
RH
10632 * sysdeps/generic/math_private.h: Include <fenv.h>.
10633 (default_libc_feholdexcept): New.
10634 (default_libc_feholdexcept_setround): New.
10635 (default_libc_fesetenv, default_libc_feupdateenv): New.
10636 (libc_feholdexcept): Only define if undefined.
10637 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10638 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10639 (libc_feholdexcept_setroundl): Likewise.
10640 (libc_feholdexcept_setround_53bit): Likewise.
10641 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10642 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10643 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10644 (libc_feupdateenv_53bit): Likewise.
10645 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10646 (libc_feholdexcept): Convert from macro to inline function.
10647 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10648 (libc_fesetenv, libc_feupdateenv): Likewise.
10649
4851a949
RH
10650 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10651 not previously defined.
10652 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10653 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10654 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10655 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10656 * sysdeps/ieee754/flt-32/math_private.h: New file.
10657 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10658 math_private.h below SET_FLOAT_WORD.
10659 (__isnan, __isinf_ns, __finite): Remove.
10660 (__isnanf, __isinf_nsf, __finitef): Remove.
10661
e79d442e
AS
106622012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10663
10664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10665
90b80344
DM
106662012-03-17 David S. Miller <davem@davemloft.net>
10667
10668 [BZ #6471]
10669 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10670 for 2.16.
10671
edc21804
DM
106722012-03-16 David S. Miller <davem@davemloft.net>
10673
77e927af
DM
10674 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10675 warnings.
10676
374976dd
DM
10677 [BZ #6471]
10678 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10679 properly.
10680 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10681 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10682 sysdep_routines when subdir is sysvipc.
10683 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10684 __getshmlba helper.
10685
edc21804
DM
10686 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10687
473c3ef3
L
106882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10689
10690 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10691 [__LP64__].
10692
eb0f39b6
L
106932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10694
10695 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10696 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10697 (__lround): Renamed to ...
10698 (__llround): This. Replace long int with long long int.
10699 Define lround functions as aliases of llround functions.
10700 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10701
6b6cd74b
L
107022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10703
10704 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10705 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10706 adresses to uintptr_t. Replace "long int" and "unsigned long
10707 int" with "greg_t" on va_arg.
10708
f1a77b01
L
107092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10710
10711 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10712 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10713
10714 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10715 Move e_machine check before EI_CLASS check. Handle x32
10716 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10717 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10718 SKIP_EM_IA_64 and include
10719 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10720
10721 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10722 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10723 (add_system_dir): New macro.
10724
10725 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10726 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10727
11b90b9f
JM
107282012-03-16 Joseph Myers <joseph@codesourcery.com>
10729
c36e1d23
JM
10730 [BZ #2551]
10731 [BZ #2552]
10732 [BZ #2553]
10733 [BZ #2554]
10734 [BZ #2562]
10735 [BZ #2563]
10736 [BZ #2565]
10737 [BZ #2566]
10738 [BZ #2576]
10739 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10740 (y0): Likewise.
10741 * math/w_j0f.c (j0f): Likewise.
10742 (y0f): Likewise.
10743 * math/w_j0l.c (__j0l): Likewise.
10744 (__y0l): Likewise.
10745 * math/w_j1.c (j1): Likewise.
10746 (y1): Likewise.
10747 * math/w_j1f.c (j1f): Likewise.
10748 (y1f): Likewise.
10749 * math/w_j1l.c (__j1l): Likewise.
10750 (__y1l): Likewise.
10751 * math/w_jn.c (jn): Likewise.
10752 (yn): Likewise.
10753 * math/w_jnf.c (jnf): Likewise.
10754 (ynf): Likewise.
10755 * math/w_jnl.c (__jnl): Likewise.
10756 (__ynl): Likewise.
10757 * math/libm-test.inc (j0_test): Add more tests.
10758 (j1_test): Likewise.
10759 (jn_test): Likewise. Add trailing semicolon to existing test.
10760 (y0_test): Likewise.
10761 (y1_test): Likewise.
10762 * sysdeps/i386/fpu/libm-test-ulps: Update.
10763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10764
11b90b9f
JM
10765 [BZ #13851]
10766 [BZ #13854]
10767 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10768 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10769 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10770 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10771 (__tanl): Set errno for infinite argument.
10772 * sysdeps/i386/fpu/mptan.c: Remove.
10773 * sysdeps/i386/fpu/s_tan.S: Likewise.
10774 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10775 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10776 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10777 * math/libm-test.inc (tan_test): Add more tests and enable more
10778 tests for double and long double.
10779 * sysdeps/i386/fpu/libm-test-ulps: Update.
10780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10781
6a1bd2a1
JK
107822012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10783
10784 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10785 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10786
10a803e0
RM
107872012-03-16 Roland McGrath <roland@hack.frob.com>
10788
10789 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10790 * configure.in: Use it for both main tree and add-ons.
10791 * configure: Regenerated.
10792
f196c7f7
L
107932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10794
10795 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10796
8848d99d
JM
107972012-03-16 Joseph Myers <joseph@codesourcery.com>
10798
96cbe7f4
JM
10799 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10800 in comment.
10801
8848d99d
JM
10802 [BZ #13851]
10803 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10804 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10805 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10806 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10807 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10808 infinite argument.
10809 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10810 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10811 != 0 for prec == 2.
10812 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10813 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10814 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10815 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10816 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10817 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10818 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10819 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10820 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10821 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10822 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10823 * math/libm-test.inc (cos_test): Add more tests and enable more
10824 tests for long double.
10825 (sin_test): Likewise.
10826 (sincos_test): Likewise.
10827 * sysdeps/i386/fpu/libm-test-ulps: Update.
10828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10829
dd7f4703
DM
108302012-03-16 David S. Miller <davem@davemloft.net>
10831
10832 * sysdeps/sparc/fpu/math_private.h: New file.
10833
006f1daa
DM
108342012-03-15 David S. Miller <davem@davemloft.net>
10835
c0c83bc8
DM
10836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10837 file.
e6a62e18 10838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
10839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10840 file.
e6a62e18
DM
10841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10842 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10843 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10844 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10845 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10846 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10847 sysdep routines.
10848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10849
88cb87d9
DM
10850 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10851 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10852
006f1daa 10853 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
10854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10855 sparc-ifunc.h
006f1daa 10856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
10857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10858 Likewise.
10859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10860 Likewise.
006f1daa
DM
10861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
10864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10865 Likewise.
006f1daa
DM
10866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
10870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10871 Likewise.
10872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10873 Likewise.
006f1daa
DM
10874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10878 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10879 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10880 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10881 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10882 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10883 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10884 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10888 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10889 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10890 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10891 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10892 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10893 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10894 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10895 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10896 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10897 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10898
11e0098e
AS
108992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10900
10901 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10902 scaling.
10903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10904
e85b09d0
AJ
109052012-03-15 Andreas Jaeger <aj@suse.de>
10906
10907 [BZ #13852]
10908 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10909 ieee754/flt-32 implementation for sin, cos and sincos.
10910 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10911 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10912 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10913 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10914 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10915 ieee754/flt-32 implementation for tan.
10916
10917 * math/libm-test.inc (cos_test): Enable some large input tests for
10918 float as well
10919 (sin_test): Likewise.
10920 (sincos_test): Likewise.
10921 (tan_test): Add tests for large input.
10922
10923 * sysdeps/i386/fpu/libm-test-ulps: Update.
10924
81c64153
AJ
109252012-03-15 Andreas Jaeger <aj@suse.de>
10926
10927 [BZ #13658]
10928 * math/libm-test.inc (cos_test): Add more test cases.
10929 (sin_test): Likewise.
10930 (sincos_test): Likewise.
10931
7bbfa5c6
AJ
109322012-03-15 Andreas Jaeger <aj@suse.de>
10933
10934 [BZ #13837]
10935 * math/libm-test.inc (cos_test): Add a test case for large input
10936 value.
10937 (sin_test): Likewise.
10938 (sincos_test): Likewise.
10939
109402012-03-15 Andreas Jaeger <aj@suse.de>,
10941 Joseph Myers <joseph@codesourcery.com>
10942
10943 [BZ #13658]
0671f479 10944 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
10945 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10946 * sysdeps/i386/fpu/branred.c: Likewise.
10947 * sysdeps/i386/fpu/dosincos.c: Likewise.
10948 * sysdeps/i386/fpu/mpa.c: Likewise.
10949 * sysdeps/i386/fpu/s_cos.S: Likewise.
10950 * sysdeps/i386/fpu/s_sin.S: Likewise.
10951 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10952 * sysdeps/i386/fpu/sincos32.c: Likewise.
10953
10954 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10955 Define.
10956 (libc_feupdateenv_53bit): Define.
10957 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10958 Define.
10959 (libc_feupdateenv_53bit): Define.
10960
10961 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10962 53 bit (without extend i386 double precision).
10963
10964 * math/libm-test.inc (sincos_test): Add tests for large input.
10965 (sin): Likewise.
10966 (cos): Likewise.
10967
10968 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10969
9cad04ea
AS
109702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10971
10972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10973
f7062b9a
DM
109742012-03-15 David S. Miller <davem@davemloft.net>
10975
10976 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10977 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10978 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10979 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10984 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10985 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10986 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10987 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10988 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
10991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10992 file.
f7062b9a 10993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
10994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10995 file.
f7062b9a 10996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
10997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10998 file.
f7062b9a 10999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
11000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
11001 file.
f7062b9a
DM
11002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
11003 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
11004 fmin/fmax sysdep routines.
11005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11006
7bd951ff
DM
110072012-03-14 David S. Miller <davem@davemloft.net>
11008
559398ab
DM
11009 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
11010 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
11011 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
11012 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
11013 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
11014 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
11015 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
11016 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
11017 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
11018 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
11019 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
11020 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
11021 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
11022 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
11023 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
11024 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
11025 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
11026 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
11027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
11028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
11029 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
11030 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
11031 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
11032 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
11033 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
11034 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
11035 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
11036 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
11037 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
11038 routines.
11039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
11040 file.
559398ab 11041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
11042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
11043 file.
559398ab 11044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
11045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
11046 file.
559398ab 11047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
11048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
11049 file.
559398ab 11050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
11051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
11052 file.
559398ab 11053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
11054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
11055 file.
11056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
11057 file.
11058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
11059 file.
11060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
11061 file.
11062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
11063 New file.
11064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
11065 file.
11066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
11067 file.
559398ab 11068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
11069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
11070 file.
559398ab 11071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
11072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11073 file.
559398ab 11074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
11075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11076 file.
559398ab 11077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
11078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11079 VIS3 routines.
559398ab
DM
11080
11081 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11082 New file.
11083
5a1c1e32
DM
11084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11085
eae47a36
DM
11086 * sysdeps/sparc/configure.in: New file.
11087 * sysdeps/sparc/configure: Generate.
11088 * configure.in (libc_cv_sparc_as_vis3): Substitute.
11089 * configure: Regenerate.
11090 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11091 * config.make.in (have-as-vis3): New.
11092 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11093 available use -Av9d instead of -Av9a.
11094 * sysdeps/sparc/sparc64/Makefile: Likewise.
11095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
11096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11097 New file.
11098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11099 file.
11100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11101 New file.
11102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11103 file.
eae47a36
DM
11104 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11105 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11106 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11107 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11108 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11109
c0c83bc8
DM
11110 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11111 fzeros/fnegs to load 0x80000000 into a float register instead of
11112 using the stack.
7bd951ff
DM
11113 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11114
bd951ccb
JM
111152012-03-14 Joseph Myers <joseph@codesourcery.com>
11116
11117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11118 bits/syscall.h.
11119 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11120 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11121 ($(inst_includedir)/bits/syscall.h): Remove rule.
11122 ($(objpfx)bits/syscall.d): Include instead of
11123 $(objpfx)syscall-list.d.
11124 (generated): Change syscall-list.h and syscall-list.d to
11125 bits/syscall.h and bits/syscall.d.
11126
bb4e6db2
RM
111272012-03-14 Roland McGrath <roland@hack.frob.com>
11128
11129 [BZ #13846]
11130 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11131
aa4a2ae1
JM
111322012-03-14 Joseph Myers <joseph@codesourcery.com>
11133
e456826d
JM
11134 [BZ #13841]
11135 * math/s_csqrt.c: Include <float.h>.
11136 (__csqrt): Scale large or subnormal inputs.
11137 * math/s_csqrtf.c: Likewise.
11138 * math/s_csqrtl.c: Likewise.
11139 * math/libm-test.inc (csqrt_test): Add more tests.
11140 * sysdeps/i386/fpu/libm-test-ulps: Update.
11141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11142
aa4a2ae1
JM
11143 [BZ #13840]
11144 * math/libm-test.inc (hypot_test): Add more tests.
11145
7c10fd35
DM
111462012-03-13 David S. Miller <davem@davemloft.net>
11147
11148 [BZ #13840]
11149 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11150 double-precision for the calculation instead of scaling.
11151
f453b98b
JM
111522012-03-13 Joseph Myers <joseph@codesourcery.com>
11153
11154 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11155 manipulate bits before adding and subtracting TWO52[sx].
11156 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11157 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11158 Likewise.
11159 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11160
09a3453f
DM
111612012-03-13 David S. Miller <davem@davemloft.net>
11162
8e59da90
DM
11163 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11164 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11165 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11166 rtld-global-offsets.h
11167 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11168
2a8ab7f2
DM
11169 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11170 large parameters.
11171
10f62770
DM
11172 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11173
5f0bdb18
DM
11174 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11175 'err' in the ifdef scope in which it is actually used.
11176
09a3453f
DM
11177 * nss/nss_db/db-init.c: Include string.h
11178
b4b2eb5e
DM
111792012-03-12 David S. Miller <davem@davemloft.net>
11180
98bb2f1c
DM
11181 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11182 masking out of the most significant byte of random value used.
11183 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11184 Fix coding style in previous change.
11185
b4b2eb5e
DM
11186 * sysdeps/unix/sysv/linux/kernel-features.h
11187 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11188 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11189 expression.
11190 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11191 later.
11192
6e226b09
DM
111932012-03-11 David S. Miller <davem@davemloft.net>
11194
a1bcbd40
DM
11195 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11196 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11197 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11198 for 'resultvar' otherwise things get truncated on 64-bit.
11199
cb9d6174
DM
11200 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11201 Fix masking out of the most significant byte of random value used.
11202
6e226b09
DM
11203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11204
058c132d
AS
112052012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11206
11207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11208
2d2cd515
DM
112092012-03-09 David S. Miller <davem@davemloft.net>
11210
11211 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11212 variables with appropriate CPP guards.
11213 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11214 frame pointer, not the stack pointer. Correct layout comments. Fix test
11215 on resulting framesize and the management of the outregs buffer for pltexit.
11216 Preserve floating point return values across _dl_call_pltexit call.
11217 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11218 framesize and the management of the outregs buffer for pltexit.
11219 Preserve floating point return values across _dl_call_pltexit
11220 call.
11221 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11222 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11223 (print_exit): Fix format string for return register value.
11224
9a07f9d0
JM
112252012-03-10 Joseph Myers <joseph@codesourcery.com>
11226
11227 * sunrpc/Makefile (others): Add rpcgen.
11228 ($(objpfx)rpcgen): Remove special build rule and dependency on
11229 libc.
11230 * sunrpc/rpcgen.c: New file.
11231
547b5e30
PE
112322012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11233
c524201a
PE
11234 [BZ #13673]
11235 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11236 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11237 * sysdeps/i386/crti.S: Likewise.
11238 * sysdeps/i386/crtn.S: Likewise.
11239 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11240 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11241 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11242 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11243 * sysdeps/sh/crti.S: Likewise.
11244 * sysdeps/sh/crtn.S: Likewise.
11245 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11246
7b6235f2
PE
11247 [BZ #13673]
11248 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11249 with URL.
11250 * locale/programs/locfile-kw.gperf: Likewise.
11251 * locale/programs/charmap-kw.h: Regenerated.
11252 * locale/programs/locfile-kw.h: Likewise.
11253
547b5e30
PE
11254 [BZ #13673]
11255 * intl/plural.y: Replace FSF snail mail address with URL.
11256 * intl/plural.c: Regenerated.
11257
5f0a5dae
RH
112582012-03-09 Richard Henderson <rth@twiddle.net>
11259
11260 * include/math_private.h: Remove file.
11261 * math/math_private.h: Move file ...
11262 * sysdeps/generic/math_private.h: ... here.
11263
b8c03620
RH
11264 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11265 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11266 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11267
4e234f5d 11268 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
11269 and <math_private.h>.
11270 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11271 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11272 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11273 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11274 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11275 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11276 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11277 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11278 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11279 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11280 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11281 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11282 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11283 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11284 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11285 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11286 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11287 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11288 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11289 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11290 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11291 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11292 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11293 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11294 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11295 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11296 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11297 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11298 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11299 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11300 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11301 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11302 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11303 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11304 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11305 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11306 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11307 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11308 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11309 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11310 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11311 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11312 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11313 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11314 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11315 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11316 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11317 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11318 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11319 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11320 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11321 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11322 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11323 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11324 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11325 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11326 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11327 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11328 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11329 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11330 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11331 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11332 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11333 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11334 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11335 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11336 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11337 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11338 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11339 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11340 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11341 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11342 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11343 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11344 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11345 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11346 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11347 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11348 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11349 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11350 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11351 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11352 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11353 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11354 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11355 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11356 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11357 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11358 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11359 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11360 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11361 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11362 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11363 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11364 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11365 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11366 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11367 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11368 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11369 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11370 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11371 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11372 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11373 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11374 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11375 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11376 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11377 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11378 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11379 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11380 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11381 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11382 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11383 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11384 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11385 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11386 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11387 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11388 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11389 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11390 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11391 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11392 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11393 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11394 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11395 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11396 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11397 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11398 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11399 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11400 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11401 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11402 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11403 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11404 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11405 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11406 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11407 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11408 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11409 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11410 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11411 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11412 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11413 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11414 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11415 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11416 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11417 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11418 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11419 * sysdeps/ieee754/k_standard.c: Likewise.
11420 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11421 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11422 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11423 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11424 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11425 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11426 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11427 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11428 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11429 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11430 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11431 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11432 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11433 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11434 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11435 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11436 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11437 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11438 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11439 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11440 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11441 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11442 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11443 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11444 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11445 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11446 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11447 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11448 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11449 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11450 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11451 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11452 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11453 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11454 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11455 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11456 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11457 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11458 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11459 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11460 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11461 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11462 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11463 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11464 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11465 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11466 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11467 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11468 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11469 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11470 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11471 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11472 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11473 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11474 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11475 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11476 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11477 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11478 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11479 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11480 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11481 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11482 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11483 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11484 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11485 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11486 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11487 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11488 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11489 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11490 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11491 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11492 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11493 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11494 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11495 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11496 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11497 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11498 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11499 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11500 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11501 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11502 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11503 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11504 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11505 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11506 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11507 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11508 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11509 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11510 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11511 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11512 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11513 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11514 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11515 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11516 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11517 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11518 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11521 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11522 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11523 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11524 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11525 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11526 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11527 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11528 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11529 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11530 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11531 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11532 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11533 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11534 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11535 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11536 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11537 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11538 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11539 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11540 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11541 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11542 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11543 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11544 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11545 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11546 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11547 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11548 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11549 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11550 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11551 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11552 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11553 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11554 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11555 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11556 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11557 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11558 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11559 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11560 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11561 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11562 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11563 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11564 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11565 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11566 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11567 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11568 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11569 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11570 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11571 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11572 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11573 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11574 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11575 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11576 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11577 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11578 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11579 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11580 * sysdeps/ieee754/s_lib_version.c: Likewise.
11581 * sysdeps/ieee754/s_matherr.c: Likewise.
11582 * sysdeps/ieee754/s_signgam.c: Likewise.
11583 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11584 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11585 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11586 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11587 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11588 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11589 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11590 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11591 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11592 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11593 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11594 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11595 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11596 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11597 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11598 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11599 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11600 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11601 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11602 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11603 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 11604
1991fa03
JM
116052012-03-09 Joseph Myers <joseph@codesourcery.com>
11606
11607 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11608 * sunrpc/rpc_main.c: Likewise.
11609 * sunrpc/rpc_svcout.c: Likewise.
11610
60d6f5a6
DM
116112012-03-09 David S. Miller <davem@davemloft.net>
11612
11613 * include/math_private.h: New file.
11614
4962050e
JM
116152012-03-09 Joseph Myers <joseph@codesourcery.com>
11616
02a6f887
JM
11617 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11618 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11619 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11620 from <bits/socket_type.h>.
11621 (enum __socket_type): Don't define here.
11622 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11623 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11624 bits/socket_type.h.
11625
c6e013c1
JM
11626 [BZ #13566]
11627 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11628 checking __USE_GNU.
11629
4962050e
JM
11630 * Makerules ($(inst_includedir)/%.h): New rule.
11631 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11632 (install-others): Remove variable setting.
11633 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11634
38842f45
RH
116352012-03-08 Richard Henderson <rth@twiddle.net>
11636
67bb6da6
RH
11637 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11638 from macro to inline function; merge with the
11639 !__LIBC_INTERNAL_MATH_INLINES version.
11640 (__ieee754_sqrtf): Likewise.
11641
15194b4b
RH
11642 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11643 to inline function.
11644 (__rintf, __floor, __floorf): Likewise.
11645
64e21ede
RH
11646 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11647 macro to inline function.
11648 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11649
38842f45
RH
11650 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11651 not <math/math_private.h>.
11652
c64bf5fe
DM
116532012-03-08 David S. Miller <davem@davemloft.net>
11654
11655 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11656 copyright year.
11657 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11658
82d86f28
TS
116592012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11660
11661 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11662 normalization.
11663 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11664 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11665
aea5d727
UD
116662012-03-08 Ulrich Drepper <drepper@gmail.com>
11667
11668 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11669 be defined individually, they must be defined as a block. Define
11670 S for printing a string instead of hidint the different by using a
11671 macro for adding the 'l'.
11672 * stdio-common/tst-fphex-wide.c: Adjust.
11673
70bca0a3
MP
116742012-03-07 Marek Polacek <polacek@redhat.com>
11675
11676 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11677
65b81130
MP
116782012-03-08 Marek Polacek <polacek@redhat.com>
11679
11680 [BZ #13806]
11681 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11682 * stdio-common/tst-fphex.c: Define a few macros to make the
11683 test reusable. Use them.
11684 * stdio-common/tst-fphex-wide.c: New file.
11685
07037eeb
JM
116862012-03-08 Joseph Myers <joseph@codesourcery.com>
11687
a7a93d50
JM
11688 [BZ #6911]
11689 * manual/macros.texi (gnusystems): New macro.
11690 (nongnusystems): Likewise.
11691 (gnulinuxhurdsystems): Likewise.
11692 (gnuhurdsystems): Likewise..
11693 (gnulinuxsystems): Likewise.
11694 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11695 variants of the GNU system, not "GNU system".
11696 * manual/conf.texi: Likewise.
11697 * manual/errno.texi: Likewise. Update example of errno macro
11698 expansion.
11699 * manual/filesys.texi: Likewise.
11700 (getumask): Document as specific to GNU/Hurd.
11701 * manual/install.texi: Likewise. Reword some references to
11702 GNU/Linux.
11703 * manual/intro.texi: Likewise.
11704 * manual/io.texi: Likewise.
11705 (File Name Portability): Detail which constraints are inapplicable
11706 to all GNU systems and which are only inapplicable to GNU/Hurd.
11707 * manual/job.texi: Likewise.
11708 * manual/llio.texi: Likewise.
11709 (O_NOCTTY): Document as present on GNU/Linux.
11710 * manual/maint.texi: Likewise.
11711 * manual/memory.texi: Likewise.
11712 * manual/pattern.texi: Likewise.
11713 * manual/pipe.texi: Likewise.
11714 * manual/process.texi: Likewise.
11715 * manual/resource.texi: Likewise.
11716 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11717 child on GNU/Hurd.
11718 * manual/setjmp.texi: Likewise.
11719 * manual/signal.texi: Likewise.
11720 * manual/startup.texi: Likewise.
11721 * manual/stdio.texi: Likewise.
11722 * manual/terminal.texi: Likewise.
11723 (ONLCR): Document as POSIX.
11724 (OXTABS): Document availability on GNU/Linux as XTABS.
11725 (ONOEOT): Document availability separately from other bits.
11726 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11727 * manual/time.texi: Likewise.
11728 * manual/users.texi: Likewise.
11729 * INSTALL: Regenerated.
11730 * sysdeps/gnu/errlist.c: Regenerated.
11731
07037eeb
JM
11732 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11733 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11734 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11735 puts.
11736 * configure: Regenerated.
11737
d1d3431a
JM
117382012-03-07 Joseph Myers <joseph@codesourcery.com>
11739
af6a1e37
JM
11740 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11741 default includes instead of AC_HEADER_CHECK.
11742 * sysdeps/i386/configure: Regenerated.
11743
d1d3431a
JM
11744 [BZ #10716]
11745 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11746 * math/s_cacoshf.c (__cacoshf): Likewise.
11747 * math/s_cacoshl.c (__cacoshl): Likewise.
11748 * math/s_casinh.c (__casinh): Set signs of result from argument.
11749 * math/s_casinhf.c (__casinhf): Likewise.
11750 * math/s_casinhl.c (__casinhl): Likewise.
11751 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11752 (casinh_test): Add more tests.
11753 * sysdeps/i386/fpu/libm-test-ulps: Update.
11754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11755
482ff4da
UD
117562012-03-07 Ulrich Drepper <drepper@gmail.com>
11757
872fda05
UD
11758 * po/zh_TW.po: Update from translation team.
11759
a4300c7a
UD
11760 * login/Makefile (distribute): Remove variable.
11761 * catgets/Makefile: Likewise.
11762 * mach/Makefile: Likewise.
11763 * malloc/Makefile: Likewise.
11764 * misc/Makefile: Likewise.
11765 * iconv/Makefile: Likewise.
11766 * nscd/Makefile: Likewise.
11767 * hurd/Makefile: Likewise.
11768 * manual/Makefile: Likewise.
11769 * locale/Makefile: Likewise.
11770 * intl/Makefile: Likewise.
11771 * conform/Makefile: Likewise.
11772 * nss/Makefile: Likewise.
11773 * time/Makefile: Likewise.
11774 * soft-fp/Makefile: Likewise.
11775 * dirent/Makefile: Likewise.
11776 * gmon/Makefile: Likewise.
11777 * po/Makefile: Likewise.
11778 * rt/Makefile: Likewise.
11779 * socket/Makefile: Likewise.
11780 * math/Makefile: Likewise.
11781 * signal/Makefile: Likewise.
11782 * debug/Makefile: Likewise.
11783 * elf/Makefile: Likewise.
11784 * timezone/Makefile: Likewise.
11785 * stdlib/Makefile: Likewise.
11786 * iconvdata/Makefile: Likewise.
11787 * sunrpc/Makefile: Likewise.
11788 * io/Makefile: Likewise.
11789 * argp/Makefile: Likewise.
11790 * inet/Makefile: Likewise.
11791 * hesiod/Makefile: Likewise.
11792 * grp/Makefile: Likewise.
11793 * csu/Makefile: Likewise.
11794 * wctype/Makefile: Likewise.
11795 * crypt/Makefile: Likewise.
11796 * libio/Makefile: Likewise.
11797 * string/Makefile: Likewise.
11798 * nis/Makefile: Likewise.
11799 * resolv/Makefile: Likewise.
11800 * stdio-common/Makefile: Likewise.
11801 * wcsmbs/Makefile: Likewise.
11802 * dlfcn/Makefile: Likewise.
11803 * posix/Makefile: Likewise.
11804
3b7c4e74 11805 [BZ #6959]
482ff4da
UD
11806 * timezone/Makefile: Don't install timezone files, just the programs
11807 and scripts.
11808
f72ed77d
UD
118092012-03-06 Ulrich Drepper <drepper@gmail.com>
11810
a000466f
UD
11811 * nss/databases.def: Add missing gshadow entry.
11812
f72ed77d
UD
11813 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11814
a53b7a4e
MP
118152012-03-06 Marek Polacek <polacek@redhat.com>
11816
11817 [BZ #13726]
11818 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11819 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11820 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11821 * stdio-common/tst-long-dbl-fphex.c: New file.
11822
e9258400
DM
118232012-03-06 David S. Miller <davem@davemloft.net>
11824
11825 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11826 (set_obp_int): New function.
11827 (get_obp_int): New function.
11828 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
11829 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11830 Avoid unused variable warnings on 'val' and use builtin_expect.
11831 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11832 __builtin_expect.
e9258400
DM
11833 (INLINE_CLONE_SYSCALL): Likewise.
11834
3bd2c723
DM
118352012-03-05 David S. Miller <davem@davemloft.net>
11836
11837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11838
bbb78d03
AS
118392012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11840
884c5db4
AS
11841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11842
bbb78d03
AS
11843 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11844 only for |x| >= 40.
11845 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11846
1c9f702a 118472012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
11848
11849 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11850 Replace gettimeofday with __vdso_gettimeofday.
11851
7be16f82
RM
11852 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11853 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11854 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
11855
11856 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11857 time with __vdso_time.
11858
ed58a00f
JM
118592012-03-05 Joseph Myers <joseph@codesourcery.com>
11860
11861 * manual/lang.texi (size_t): Note types to which size_t may be
11862 equivalent with the GNU C Library, but do not describe when
11863 differences between them are significant.
11864
30ee4ced
AJ
118652012-03-05 Andreas Jaeger <aj@suse.de>
11866
11867 * sysdeps/i386/fpu/libm-test-ulps: Update.
11868
b7cd39e8
JM
118692012-03-05 Joseph Myers <joseph@codesourcery.com>
11870
11871 [BZ #3976]
11872 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11873 (__ieee754_pow): Save and restore rounding mode and use
11874 round-to-nearest for main computations.
11875 * math/libm-test.inc (pow_test_tonearest): New function.
11876 (pow_test_towardzero): Likewise.
11877 (pow_test_downward): Likewise.
11878 (pow_test_upward): Likewise.
11879 (main): Call the new functions.
11880 * sysdeps/i386/fpu/libm-test-ulps: Update.
11881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11882
11883 [BZ #3976]
11884 * math/libm-test.inc (cosh_test_tonearest): New function.
11885 (cosh_test_towardzero): Likewise.
11886 (cosh_test_downward): Likewise.
11887 (cosh_test_upward): Likewise.
11888 (sinh_test_tonearest): Likewise.
11889 (sinh_test_towardzero): Likewise.
11890 (sinh_test_downward): Likewise.
11891 (sinh_test_upward): Likewise.
11892 (main): Call the new functions.
11893 * sysdeps/i386/fpu/libm-test-ulps: Update.
11894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11895
6c6a98c9
TV
118962012-03-05 Tom de Vries <tom@codesourcery.com>
11897
11898 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11899 default stack guard is set in last bytes.
11900 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11901
21bb2d2e 119022012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11903
21bb2d2e 11904 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11905
21bb2d2e
AJ
11906 [BZ #13656]
11907 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11908 possibly allocate from heap instead of stack.
11909 * stdio-common/bug-vfprintf-nargs.c: New file.
11910 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11911
c6922934
AS
119122012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11913
11914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11915
bc957d53
MP
119162012-03-03 Marek Polacek <polacek@redhat.com>
11917
11918 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11919 * math/math_private.h: Likewise.
11920 * stdlib/tst-strtod.c: Likewise.
11921 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11922 * sysdeps/x86_64/bits/atomic.h: Likewise.
11923
6358490d
DM
119242012-03-02 David S. Miller <davem@davemloft.net>
11925
11926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11930 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11931 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11932 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11933 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11934
01ae168d
RM
119352012-03-02 Roland McGrath <roland@hack.frob.com>
11936
d9a17c07
RM
11937 [BZ #13792]
11938 * manual/examples/README: New file, says the example source files
11939 can be used under GPL>=2.
11940 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11941 line containing just "*/".
11942 * manual/examples/add.c: Add copyright header (GPL>=2).
11943 * manual/examples/argp-ex1.c: Likewise.
11944 * manual/examples/argp-ex2.c: Likewise.
11945 * manual/examples/argp-ex3.c: Likewise.
11946 * manual/examples/argp-ex4.c: Likewise.
11947 * manual/examples/atexit.c: Likewise.
11948 * manual/examples/db.c: Likewise.
11949 * manual/examples/dir.c: Likewise.
11950 * manual/examples/dir2.c: Likewise.
11951 * manual/examples/execinfo.c: Likewise.
11952 * manual/examples/filecli.c: Likewise.
11953 * manual/examples/filesrv.c: Likewise.
11954 * manual/examples/fmtmsgexpl.c: Likewise.
11955 * manual/examples/genpass.c: Likewise.
11956 * manual/examples/inetcli.c: Likewise.
11957 * manual/examples/inetsrv.c: Likewise.
11958 * manual/examples/isockad.c: Likewise.
11959 * manual/examples/longopt.c: Likewise.
11960 * manual/examples/memopen.c: Likewise.
11961 * manual/examples/memstrm.c: Likewise.
11962 * manual/examples/mkfsock.c: Likewise.
11963 * manual/examples/mkisock.c: Likewise.
11964 * manual/examples/mygetpass.c: Likewise.
11965 * manual/examples/pipe.c: Likewise.
11966 * manual/examples/popen.c: Likewise.
11967 * manual/examples/rprintf.c: Likewise.
11968 * manual/examples/search.c: Likewise.
11969 * manual/examples/select.c: Likewise.
11970 * manual/examples/setjmp.c: Likewise.
11971 * manual/examples/sigh1.c: Likewise.
11972 * manual/examples/sigusr.c: Likewise.
11973 * manual/examples/stpcpy.c: Likewise.
11974 * manual/examples/strdupa.c: Likewise.
11975 * manual/examples/strftim.c: Likewise.
11976 * manual/examples/strncat.c: Likewise.
11977 * manual/examples/subopt.c: Likewise.
11978 * manual/examples/swapcontext.c: Likewise.
11979 * manual/examples/termios.c: Likewise.
11980 * manual/examples/testopt.c: Likewise.
11981 * manual/examples/testpass.c: Likewise.
11982 * manual/examples/timeval_subtract.c: Likewise.
11983
01ae168d
RM
11984 [BZ #13792]
11985 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11986 function to ...
11987 * manual/timeval_subtract.c.texi: ... here, new file.
11988
49efa33d
DM
119892012-03-02 David S. Miller <davem@davemloft.net>
11990
11991 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11992
28afd92d
JM
119932012-03-02 Joseph Myers <joseph@codesourcery.com>
11994
804360ed
JM
11995 [BZ #3976]
11996 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11997 (__sin): Save and restore rounding mode and use round-to-nearest
11998 for all computations.
11999 (__cos): Save and restore rounding mode and use round-to-nearest
12000 for all computations.
12001 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
12002 <fenv.h>.
12003 (tan): Save and restore rounding mode and use round-to-nearest for
12004 all computations.
12005 * math/libm-test.inc (cos_test_tonearest): New function.
12006 (cos_test_towardzero): Likewise.
12007 (cos_test_downward): Likewise.
12008 (cos_test_upward): Likewise.
12009 (sin_test_tonearest): Likewise.
12010 (sin_test_towardzero): Likewise.
12011 (sin_test_downward): Likewise.
12012 (sin_test_upward): Likewise.
12013 (tan_test_tonearest): Likewise.
12014 (tan_test_towardzero): Likewise.
12015 (tan_test_downward): Likewise.
12016 (tan_test_upward): Likewise.
12017 (main): Call the new functions.
12018 * sysdeps/i386/fpu/libm-test-ulps: Update.
12019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12020
a6d06d7b
JM
12021 [BZ #10135]
12022 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
12023 small n, then large n, before computing and testing k+n.
12024 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12025 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12026 Likewise.
12027 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12028 Likewise.
12029 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12030 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12031 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12032 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12033 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12034 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12035 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12036 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
12037 * math/libm-test.inc (scalbn_test): Add more tests.
12038 (scalbln_test): Likewise.
12039
07e12bb3
JM
12040 * manual/filesys.texi (mode_t): Describe constraints on size and
12041 signedness, not exact equivalence to a particular type.
12042 (ino_t): Likewise.
12043 (ino64_t): Likewise.
12044 (dev_t): Likewise.
12045 (nlink_t): Likewise.
12046 (blkcnt_t): Likewise.
12047 (blkcnt64_t): Likewise.
12048 * manual/llio.texi (off_t): Likewise.
12049
28afd92d
JM
12050 [BZ #3976]
12051 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
12052 (__ieee754_exp): Save and restore rounding mode and use
12053 round-to-nearest for all computations.
12054 * math/libm-test.inc (exp_test_tonearest): New function.
12055 (exp_test_towardzero): Likewise.
12056 (exp_test_downward): Likewise.
12057 (exp_test_upward): Likewise.
12058 (main): Call the new functions.
12059 * sysdeps/i386/fpu/libm-test-ulps: Update.
12060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12061
b1eeb65d
CD
120622012-03-01 Chris Demetriou <cgd@google.com>
12063
12064 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
12065 have predictable order.
12066
53362a4b
DM
120672012-03-01 David S. Miller <davem@davemloft.net>
12068
3c969083
DM
12069 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
12070
759707de
DM
12071 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12072 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12073 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12074 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12075
dfdb8ff2
DM
12076 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12077 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12078 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12080 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12081 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12082 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12083 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12084 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12085
ead89f96
DM
12086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12087
7f66bd07
DM
12088 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12089 * sysdeps/sparc/fpu/libm-test-ulps: to here.
12090 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12091
53362a4b
DM
12092 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12093 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12094 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12095 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12096 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12097 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12098 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12099 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12100 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12101 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12102 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12103 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12104 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12105 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12106 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12107 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12108 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12109 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12110 * sysdeps/sparc/elf/configure: Regenerated.
12111
7b1902cb
JM
121122012-03-01 Joseph Myers <joseph@codesourcery.com>
12113
bec039bc
JM
12114 * configure.in (AS, LD): Require binutils 2.20 or later.
12115 * configure: Regenerated.
12116 * manual/install.texi (Tools for Compilation): Give binutils 2.20
12117 as required minimum version.
12118 * INSTALL: Regenerated.
12119
7b1902cb
JM
12120 [BZ #2541]
12121 [BZ #4108]
12122 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12123 before squaring exponent.
12124 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12125 bottom long double and 27 bits of top long double before squaring
12126 exponent.
12127 * math/libm-test.inc (erfc_test): Add more tests.
12128 * sysdeps/i386/fpu/libm-test-ulps: Update.
12129 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12131
f775c276
KT
121322012-03-01 Kai Tietz <ktietz@redhat.com>
12133
12134 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12135 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12136 containing bit-fields.
12137 * soft-fp/extended.h (_FP_UNION_E): Likewise.
12138 * soft-fp/single.h (_FP_UNION_S): Likewise.
12139 * soft-fp/double.h (_FP_UNION_D): Likewise.
12140
5b8a4d4a
JM
121412012-02-29 Joseph Myers <joseph@codesourcery.com>
12142
0bab47b6
JM
12143 [BZ #13786]
12144 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12145 not include ../strcmp.S.
12146 [USE_AS_STRNCASECMP_L]: Likewise.
12147 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12148 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12149 * sysdeps/i386/i686/multiarch/strncase_l-c.c
12150 (__strncasecmp_l_ia32): Define as alias to
12151 __strncasecmp_l_nonascii.
12152
0fcad3e2
JM
12153 [BZ #5794]
12154 * math/libm-test.inc (expm1_test): Add test for bug 5794.
12155 * sysdeps/i386/fpu/libm-test-ulps: Update.
12156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12157
5b8a4d4a
JM
12158 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12160
8fdceb2e
JL
121612012-02-29 Jeff Law <law@redhat.com>
12162
12163 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12164 out of bounds read.
12165
1f393a11
MP
121662012-02-29 Marek Polacek <polacek@redhat.com>
12167
12168 [BZ #13706]
12169 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12170 * elf/Makefile: Add rules to run tst-unused-dep.out.
12171
8847f037
DM
121722012-02-28 David S. Miller <davem@davemloft.net>
12173
12174 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12175 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12176 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12177 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12178 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12179 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12180
169d7f11
JM
121812012-02-29 Joseph Myers <joseph@codesourcery.com>
12182
12183 * math/libm-test.inc (llround_test): Move one test from
12184 lround_test. Use TEST_f_L in moved test.
12185 (lround_test): Move misplaced test to llround_test. Add testcase
12186 from bug 2561.
12187
39adf059
UD
121882012-02-28 Ulrich Drepper <drepper@gmail.com>
12189
12190 * sysdeps/x86_64/fpu/e_expf.S: New file.
12191 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12192
71b5d1c5
SB
121932012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12194
12195 [BZ #13637]
12196 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12197 of remain_len that may cause incomplete multi-byte character and
12198 false match.
12199 * posix/bug-regex33.c: New file.
12200 * posix/Makefile (tests): Add bug-regex33.
12201
1f77f049
JM
122022012-02-28 Joseph Myers <joseph@codesourcery.com>
12203
12204 * manual/macros.texi: New file.
12205 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12206 * manual/libc.texinfo: Include macros.texi.
12207 * manual/creatute.texi: Likewise.
12208 * manual/install.texi: Likewise.
12209 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12210 @glibcadj{} in references to the GNU C Library.
12211 * manual/charset.texi: Likewise.
12212 * manual/conf.texi: Likewise.
12213 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12214 when not using those macros.
12215 * manual/creature.texi: Likewise.
12216 * manual/crypt.texi: Likewise.
12217 * manual/errno.texi: Likewise.
12218 * manual/filesys.texi: Likewise.
12219 * manual/header.texi: Likewise.
12220 * manual/install.texi: Likewise.
12221 * manual/intro.texi: Likewise.
12222 * manual/io.texi: Likewise.
12223 * manual/job.texi: Likewise.
12224 * manual/lang.texi: Likewise.
12225 * manual/libc.texiinfo: Likewise.
12226 * manual/llio.texi: Likewise.
12227 * manual/locale.texi: Likewise.
12228 * manual/maint.texi: Likewise.
12229 * manual/math.texi: Likewise.
12230 * manual/memory.texi: Likewise.
12231 * manual/message.texi: Likewise.
12232 * manual/nss.texi: Likewise.
12233 * manual/pattern.texi: Likewise.
12234 * manual/process.texi: Likewise.
12235 * manual/resource.texi: Likewise.
12236 * manual/search.texi: Likewise.
12237 * manual/setjmp.texi: Likewise.
12238 * manual/signal.texi: Likewise.
12239 * manual/socket.texi: Likewise.
12240 * manual/startup.texi: Likewise.
12241 * manual/stdio.texi: Likewise.
12242 * manual/string.texi: Likewise.
12243 * manual/sysinfo.texi: Likewise.
12244 * manual/syslog.texi: Likewise.
12245 * manual/terminal.texi: Likewise.
12246 * manual/time.texi: Likewise.
12247 * manual/users.texi: Likewise.
12248 * INSTALL: Regenerated.
12249 * NOTES: Regenerated.
d40c5d54 12250 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 12251
450bf206
AS
122522012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12253
12254 * include/dirent.h: Include <dirstream.h> before
12255 <dirent/dirent.h>.
12256
741a235b
DM
122572012-02-28 David S. Miller <davem@davemloft.net>
12258
12259 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12260 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12261 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12262 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12263
d6b5aa58
DM
122642012-02-27 David S. Miller <davem@davemloft.net>
12265
1aff59a3
DM
12266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12268 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12269 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12270
d6b5aa58
DM
12271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12272 frame pointer instead of stack pointer relative arg slot.
12273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12274 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12275 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12276
433f48bf
CD
122772012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12278
12279 [BZ #3992]
12280 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12281
d674b76d
DM
122822012-02-27 David S. Miller <davem@davemloft.net>
12283
12284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12288 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12289 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12290 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12291 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12292
0e7727f7
JM
122932012-02-27 Joseph Myers <joseph@codesourcery.com>
12294
12295 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12296 later. Allow versions 5-9.
43be4ca2 12297 * configure: Regenerated.
0e7727f7
JM
12298 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12299 required minimum version and 4.6 as recommended version. Do not
12300 mention bugs in GCC 2.7 and 2.8.
43be4ca2 12301 * INSTALL: Regenerated.
0e7727f7 12302
a78bc654
DM
123032012-02-27 David S. Miller <davem@davemloft.net>
12304
428d5830
DM
12305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12309 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12310 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12311 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12312 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12313
a78bc654
DM
12314 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12315 manipulate bits before adding and subtracting TWO112[sx].
12316 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12317
4579f81c
RM
123182012-02-27 Roland McGrath <roland@hack.frob.com>
12319
36c8acb4
RM
12320 [BZ #13775]
12321 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12322 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12323 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12324 being in POSIX, because they are in 1003.1-2008.
12325
84ad622b
RM
12326 * rt/tst-aio.c: Include <fcntl.h>.
12327 * rt/tst-aio7.c: Likewise.
12328 * rt/tst-aio64.c: Likewise.
12329
4579f81c
RM
12330 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12331
abd923db
JM
123322012-02-27 Joseph Myers <joseph@codesourcery.com>
12333
12334 * manual/install.texi (--with-headers): Describe headers as
12335 interface headers, not private headers.
12336 (Specific advice for GNU/Linux systems): Describe use of headers
12337 from "make headers_install", not private headers from older
12338 kernels.
43be4ca2 12339 * INSTALL: Regenerated.
abd923db
JM
12340 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12341 Change to 2.6.19.
12342 * sysdeps/unix/sysv/linux/configure: Regenerated.
12343
6664049b
JM
12344 * manual/llio.texi (fclean): Remove documentation.
12345
bb8b6697
JM
12346 * manual/Makefile (libc-texi-generated): New variable. Include
12347 version.texi.
12348 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12349 $(libc-texi-generated), not duplicated list of files.
12350 (version.texi, stamp-version): New rules.
12351 (realclean): Remove $(libc-texi-generated), not individual files
12352 from that list. Do not remove dir-add.texinfo.
12353 * manual/libc.texinfo: Comment out uses of edition numbers and
12354 references to printed manual. Remove last-updated dates.
12355 (EDITION): Comment out.
12356 (ISBN): Likewise.
12357 (VERSION, UPDATED): Remove.
12358 (version.texi): Include.
12359
12e5c3b9
AS
123602012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12361
12362 * sysdeps/posix/spawni.c: Include <signal.h>.
12363 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12364 * sysdeps/pthread/aio_fsync.c: Likewise.
12365
4efeffc1 123662012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 12367
ba63ba08
UD
12368 * conform/Makefile (tests): Run only when not cross-compiling and
12369 when fast-check is not defined.
12370
d94a4670
UD
12371 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12372 * conform/data/limits.h-data: Fixes for POSIX2008.
12373 * conform/run-conformtest.sh: Run all tests.
12374 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12375 headers.
12376 * include/bits/dlfcn.h: Likewise.
12377 * include/langinfo.h: Likewise.
12378 * include/monetary.h: Likewise.
12379 * include/sys/poll.h: Likewise.
12380
12381 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12382 for __USE_GNU.
12383 * posix/spawn.h: Define __need_sigset_t.
12384 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12385 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12386 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12387 to get sigevent_t only.
12388 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12389 only for __USE_GNU.
12390 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12391 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12392 process_vm_writev only for __USE_GNU.
12393 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
12394
12395 * conform/Makefile: For now ignore errors from run-conformtest.
12396 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12397 POSIX to avoid namespace pollution. Don't prepend headers.
12398 * conform/data/aio.h-data: Fixes for POSIX testing.
12399 * conform/data/fcntl.h-data: Likewise.
12400 * conform/data/glob.h-data: Likewise.
12401 * conform/data/grp.h-data: Likewise.
12402 * conform/data/pthread.h-data: Likewise.
12403 * conform/data/pwd.h-data: Likewise.
12404 * conform/data/signal.h-data: Likewise.
12405 * conform/data/spawn.h-data: Likewise.
12406 * conform/data/stdio.h-data: Likewise.
12407 * conform/data/stdlib.h-data: Likewise.
12408 * conform/data/stropts.h-data: Likewise.
12409 * conform/data/sys/mman.h-data: Likewise.
12410 * conform/data/sys/stat.h-data: Likewise.
12411 * conform/data/sys/types.h-data: Likewise.
12412 * conform/data/sys/wait.h-data: Likewise.
12413 * conform/data/time.h-data: Likewise.
12414 * conform/data/unistd.h-data: Likewise.
12415 * conform/data/utime.h-data: Likewise.
12416
12417 * io/sys/stat.h: fchmod was always in POSIX.
12418 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12419 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12420 * rt/aio.h: Define __need_timespec before including <time.h>.
12421 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12422 struct. Add forward declaration of pthread_attr_t and use it in
12423 sigevent.
12424 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12425 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12426 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12427 always remove CLK_TCK definition.
12428
c20105c3
AS
124292012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12430
12431 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12432
7a270350
UD
124332012-02-25 Ulrich Drepper <drepper@gmail.com>
12434
31341567
UD
12435 * conform/run-conformtest.sh: New file.
12436 * conform/Makefile: Run run-conformtest for tests.
12437 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12438 support.
12439
12440 * conform/data/uchar.h-data: New file.
12441 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12442 * conform/data/arpa/inet.h-data: Likewise.
12443 * conform/data/assert.h-data: Likewise.
12444 * conform/data/complex.h-data: Likewise.
12445 * conform/data/cpio.h-data: Likewise.
12446 * conform/data/ctype.h-data: Likewise.
12447 * conform/data/dirent.h-data: Likewise.
12448 * conform/data/dlfcn.h-data: Likewise.
12449 * conform/data/errno.h-data: Likewise.
12450 * conform/data/fcntl.h-data: Likewise.
12451 * conform/data/float.h-data: Likewise.
12452 * conform/data/fmtmsg.h-data: Likewise.
12453 * conform/data/fnmatch.h-data: Likewise.
12454 * conform/data/ftw.h-data: Likewise.
12455 * conform/data/glob.h-data: Likewise.
12456 * conform/data/grp.h-data: Likewise.
12457 * conform/data/iconv.h-data: Likewise.
12458 * conform/data/inttypes.h-data: Likewise.
12459 * conform/data/langinfo.h-data: Likewise.
12460 * conform/data/libgen.h-data: Likewise.
12461 * conform/data/limits.h-data: Likewise.
12462 * conform/data/locale.h-data: Likewise.
12463 * conform/data/math.h-data: Likewise.
12464 * conform/data/monetary.h-data: Likewise.
12465 * conform/data/mqueue.h-data: Likewise.
12466 * conform/data/ndbm.h-data: Likewise.
12467 * conform/data/net/if.h-data: Likewise.
12468 * conform/data/netdb.h-data: Likewise.
12469 * conform/data/netinet/in.h-data: Likewise.
12470 * conform/data/nl_types.h-data: Likewise.
12471 * conform/data/poll.h-data: Likewise.
12472 * conform/data/pthread.h-data: Likewise.
12473 * conform/data/pwd.h-data: Likewise.
12474 * conform/data/regex.h-data: Likewise.
12475 * conform/data/sched.h-data: Likewise.
12476 * conform/data/search.h-data: Likewise.
12477 * conform/data/semaphore.h-data: Likewise.
12478 * conform/data/setjmp.h-data: Likewise.
12479 * conform/data/signal.h-data: Likewise.
12480 * conform/data/spawn.h-data: Likewise.
12481 * conform/data/stdarg.h-data: Likewise.
12482 * conform/data/stdio.h-data: Likewise.
12483 * conform/data/stdlib.h-data: Likewise.
12484 * conform/data/string.h-data: Likewise.
12485 * conform/data/strings.h-data: Likewise.
12486 * conform/data/stropts.h-data: Likewise.
12487 * conform/data/sys/ipc.h-data: Likewise.
12488 * conform/data/sys/mman.h-data: Likewise.
12489 * conform/data/sys/msg.h-data: Likewise.
12490 * conform/data/sys/resource.h-data: Likewise.
12491 * conform/data/sys/select.h-data: Likewise.
12492 * conform/data/sys/sem.h-data: Likewise.
12493 * conform/data/sys/shm.h-data: Likewise.
12494 * conform/data/sys/socket.h-data: Likewise.
12495 * conform/data/sys/stat.h-data: Likewise.
12496 * conform/data/sys/statvfs.h-data: Likewise.
12497 * conform/data/sys/time.h-data: Likewise.
12498 * conform/data/sys/timeb.h-data: Likewise.
12499 * conform/data/sys/times.h-data: Likewise.
12500 * conform/data/sys/types.h-data: Likewise.
12501 * conform/data/sys/uio.h-data: Likewise.
12502 * conform/data/sys/un.h-data: Likewise.
12503 * conform/data/sys/utsname.h-data: Likewise.
12504 * conform/data/sys/wait.h-data: Likewise.
12505 * conform/data/syslog.h-data: Likewise.
12506 * conform/data/tar.h-data: Likewise.
12507 * conform/data/termios.h-data: Likewise.
12508 * conform/data/utime.h-data: Likewise.
12509 * conform/data/utmpx.h-data: Likewise.
12510 * conform/data/varargs.h-data: Likewise.
12511 * conform/data/wchar.h-data: Likewise.
12512 * conform/data/wctype.h-data: Likewise.
12513 * conform/data/wordexp.h-data: Likewise.
12514
12515 * include/stropts.h: New file.
12516 * include/uchar.h: New file.
12517 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12518 * include/assert.h: Likewise.
12519 * include/ctype.h: Likewise.
12520 * include/dirent.h: Likewise.
12521 * include/dlfcn.h: Likewise.
12522 * include/fcntl.h: Likewise.
12523 * include/fnmatch.h: Likewise.
12524 * include/glob.h: Likewise.
12525 * include/grp.h: Likewise.
12526 * include/libio.h: Likewise.
12527 * include/locale.h: Likewise.
12528 * include/math.h: Likewise.
12529 * include/net/if.h: Likewise.
12530 * include/netdb.h: Likewise.
12531 * include/netinet/in.h: Likewise.
12532 * include/pthread.h: Likewise.
12533 * include/pwd.h: Likewise.
12534 * include/regex.h: Likewise.
12535 * include/sched.h: Likewise.
12536 * include/search.h: Likewise.
12537 * include/setjmp.h: Likewise.
12538 * include/signal.h: Likewise.
12539 * include/stdio.h: Likewise.
12540 * include/stdlib.h: Likewise.
12541 * include/string.h: Likewise.
12542 * include/sys/cdefs.h: Likewise.
12543 * include/sys/mman.h: Likewise.
12544 * include/sys/msg.h: Likewise.
12545 * include/sys/resource.h: Likewise.
12546 * include/sys/select.h: Likewise.
12547 * include/sys/socket.h: Likewise.
12548 * include/sys/stat.h: Likewise.
12549 * include/sys/statvfs.h: Likewise.
12550 * include/sys/time.h: Likewise.
12551 * include/sys/times.h: Likewise.
12552 * include/sys/uio.h: Likewise.
12553 * include/sys/utsname.h: Likewise.
12554 * include/sys/wait.h: Likewise.
12555 * include/termios.h: Likewise.
12556 * include/time.h: Likewise.
12557 * include/ulimit.h: Likewise.
12558 * include/unistd.h: Likewise.
12559 * include/utime.h: Likewise.
12560 * include/wchar.h: Likewise.
12561 * include/wctype.h: Likewise.
12562 * include/wordexp.h: Likewise.
12563
12564 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12565
7a270350
UD
12566 * time/time.h: TIME_UTC must be a macro.
12567 Make timespec_get available for ISO C11 only as well.
12568
7724defc
UD
125692012-02-24 Ulrich Drepper <drepper@gmail.com>
12570
12571 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12572 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12573
6b1d1d46
JM
125742012-02-24 Joseph Myers <joseph@codesourcery.com>
12575
12576 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 12577
0f8bbd69
JM
125782012-02-24 Joseph Myers <joseph@codesourcery.com>
12579
12580 * manual/texinfo.tex: Update to version 2012-01-19.16.
12581
66ab80bc
JM
125822012-02-24 Joseph Myers <joseph@codesourcery.com>
12583
12584 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12585
74981cc5
RM
125862012-02-24 Roland McGrath <roland@hack.frob.com>
12587
ee968201
RM
12588 [BZ #13738]
12589 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12590 * manual/fdl-1.3.texi: New file.
12591 * manual/fdl-1.1.texi: File removed.
12592
74981cc5
RM
12593 [BZ #13738]
12594 * manual/libc.texinfo (FDL_VERSION): New @set.
12595 Use it for mention of FDL in cover text.
12596 (Documentation License): Use it in @include file name.
12597
7bb764bc
JM
125982012-02-22 Joseph Myers <joseph@codesourcery.com>
12599 Roland McGrath <roland@hack.frob.com>
12600
12601 [BZ #5461]
12602 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12603 not LONG_LONG_MAX and LONG_LONG_MIN.
12604 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12605 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12606 name.
12607 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12608
6cbeae47
JM
126092012-02-22 Joseph Myers <joseph@codesourcery.com>
12610
12611 [BZ #2547]
12612 [BZ #11365]
12613 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12614 manipulate bits before adding and subtracting TWO23[sx].
12615 * math/libm-test.inc (nearbyint_test): Add more tests.
12616
fe45ce09
JM
126172012-02-22 Joseph Myers <joseph@codesourcery.com>
12618
12619 [BZ #2548]
12620 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12621 bits before adding and subtracting TWO23[sx].
12622 * math/libm-test.inc (rint_test): Add more tests.
12623 (rint_test_tonearest): Likewise.
12624 (rint_test_towardzero): Likewise.
12625 (rint_test_downward): Likewise.
12626 (rint_test_upward: Likewise.
12627
ff3b3d82
JM
126282012-02-22 Joseph Myers <joseph@codesourcery.com>
12629
12630 [BZ #10110]
12631 * include/stdc-predef.h: New file. Extracted from features.h.
12632 * include/features.h: Include stdc-predef.h.
12633 * Makefile (headers): Add stdc-predef.h.
12634 * CONFORMANCE (Compiler limitations): Update.
12635
ef0aab35
JM
126362012-02-22 Joseph Myers <joseph@codesourcery.com>
12637
12638 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12639
58639409
DM
126402012-02-21 David S. Miller <davem@davemloft.net>
12641
12642 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12643 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12644
c0e70b25
DM
126452012-02-20 David S. Miller <davem@davemloft.net>
12646
12647 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12648 using a normal save/restore sequence, rather than allocating a
12649 dummy stack frame just to store a frame pointer and restore.
12650 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12651
fb06851d
JM
126522012-02-21 Joseph Myers <joseph@codesourcery.com>
12653
12654 * manual/install.texi: Fix stray word in line-wrapped comment.
12655
7a8b71c3
DM
126562012-02-20 David S. Miller <davem@davemloft.net>
12657
d510c123
DM
12658 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12659 both binutils and gcc support GOTDATA.
12660
0722d7c2
DM
12661 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12662 "rd %pc" in the PIC register setup sequences.
12663
3d2b3019
DM
12664 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12665 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12666 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12667 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12668 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12669 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12670 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12671 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12672 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12673 (SYSCALL_ERROR_HANDLER): Likewise.
12674 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12675 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12676 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12677 (SYSCALL_ERROR_HANDLER): Likewise.
12678
c80098a9
DM
12679 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12680 (HAVE_GCC_GOTDATA): New.
12681 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12682 relocation support in both binutils and gcc.
12683 * sysdeps/sparc/elf/configure: Regenerate.
12684
3a2545a0
DM
12685 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12686 * sysdeps/sparc/sparc32/elf/configure: Delete.
12687 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12688 * sysdeps/sparc/sparc64/elf/configure: Delete.
12689 * sysdeps/sparc/elf/configure.in: New file.
12690 * sysdeps/sparc/elf/configure: Generate.
12691
7a8b71c3
DM
12692 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12693 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12694 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12695 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12696 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12697
f1e86fca
JM
126982012-02-21 Joseph Myers <joseph@codesourcery.com>
12699
12700 * manual/install.texi: Do not mention specific glibc version
12701 numbers.
12702 * manual/libc.texinfo (VERSION, UPDATED): Update.
12703 (@copying): Use @copyright{} and range of years.
12704
0e7dfaef
JM
127052012-02-21 Joseph Myers <joseph@codesourcery.com>
12706
12707 [BZ #13695]
12708 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12709 [crti.S not in sysdirs] (generated): Do not append.
12710 [crti.S not in sysdirs] (omit-deps): Likewise.
12711 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12712 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12713 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12714 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12715 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12716 Likewise.
12717 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12718 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12719 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12720 * csu/defs.awk: Remove file.
12721 * sysdeps/generic/initfini.c: Likewise.
12722 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12723 variable.
12724 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12725 Likewise.
12726
599af3ca
JM
127272012-02-20 Joseph Myers <joseph@codesourcery.com>
12728
12729 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12730 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12731 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12732 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12733 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12734 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12735 <bits/epoll.h>.
12736 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12737 (__EPOLL_PACKED): Define to empty if not defined by
12738 <bits/epoll.h>.
12739 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12741 bits/epoll.h.
12742
0e499750
JM
127432012-02-20 Joseph Myers <joseph@codesourcery.com>
12744
12745 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12746 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12747 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12748 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12749 <bits/timerfd.h>.
12750 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12751 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12752 bits/timerfd.h.
12753
5ad91f6e
JM
127542012-02-20 Joseph Myers <joseph@codesourcery.com>
12755
12756 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12757 in C locale.
12758 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12759 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12760 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12762
06b99b02
AJ
127632012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12764
12765 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12766 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12767
7638c0fd
AS
127682012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12769
12770 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12771 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12772 defined.
12773 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12774 Likewise.
12775 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12776 entry for 2.16.
12777
92221550
AJ
127782012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12779
12780 * math/w_acos.c: Use non-signaling floating-point comparisons.
12781 * math/w_acosf.c: Likewise.
12782 * math/w_acosh.c: Likewise.
12783 * math/w_acoshf.c: Likewise.
12784 * math/w_acoshl.c: Likewise.
12785 * math/w_acosl.c: Likewise.
12786 * math/w_asin.c: Likewise.
12787 * math/w_asinf.c: Likewise.
12788 * math/w_asinl.c: Likewise.
12789 * math/w_atanh.c: Likewise.
12790 * math/w_atanhf.c: Likewise.
12791 * math/w_atanhl.c: Likewise.
12792 * math/w_exp2.c: Likewise.
12793 * math/w_exp2f.c: Likewise.
12794 * math/w_exp2l.c: Likewise.
12795 * math/w_j0.c: Likewise.
12796 * math/w_j0f.c: Likewise.
12797 * math/w_j0l.c: Likewise.
12798 * math/w_j1.c: Likewise.
12799 * math/w_j1f.c: Likewise.
12800 * math/w_j1l.c: Likewise.
12801 * math/w_jn.c: Likewise.
12802 * math/w_jnf.c: Likewise.
12803 * math/w_log.c: Likewise.
12804 * math/w_log10.c: Likewise.
12805 * math/w_log10f.c: Likewise.
12806 * math/w_log10l.c: Likewise.
12807 * math/w_log2.c: Likewise.
12808 * math/w_log2f.c: Likewise.
12809 * math/w_log2l.c: Likewise.
12810 * math/w_logf.c: Likewise.
12811 * math/w_logl.c: Likewise.
12812 * math/w_sqrt.c: Likewise.
12813 * math/w_sqrtf.c: Likewise.
12814 * math/w_sqrtl.c: Likewise.
12815 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12816 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12817 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12818 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12819 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12820
ebaf36eb
JM
128212012-02-19 Joseph Myers <joseph@codesourcery.com>
12822
12823 [BZ #9739]
12824 * manual/string.texi (strnlen): Use correct parameter name in
12825 equivalent expression.
12826
71c254a6
JM
128272012-02-19 Joseph Myers <joseph@codesourcery.com>
12828
12829 [BZ #11174]
12830 * manual/users.texi (seteuid): Consistently use neweuid for
12831 argument name.
12832
16d2c631
JM
128332012-02-19 Joseph Myers <joseph@codesourcery.com>
12834
12835 [BZ #13704]
12836 * manual/nss.texi (Services in the NSS configuration): Correct
12837 list of services in example configuration file.
12838
cd837b09
NB
128392012-02-19 Nick Bowler <nbowler@draconx.ca>
12840
12841 [BZ #11322]
12842 * manual/arith.texi: Remove statements about negative zero
12843 behaving identically to zero.
12844
02c4bbad
JM
128452012-02-18 Joseph Myers <joseph@codesourcery.com>
12846
12847 [BZ #5993]
12848 * manual/install.texi: Do not document upgrading from libc5.
12849
366842e7
JM
128502012-02-18 Joseph Myers <joseph@codesourcery.com>
12851
12852 [BZ #4596]
12853 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12854
dd54084d
DM
128552012-02-18 David S. Miller <davem@davemloft.net>
12856
12857 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12858 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12859 %o7 across the call.
12860 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12861 instead.
12862 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12863 SETUP_PIC_REG_LEAF.
12864 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12865 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12866 * sysdeps/sparc/crtn.S: Likewise.
12867
2bcc53a3
UD
128682012-02-17 Ulrich Drepper <drepper@gmail.com>
12869
12870 * aout/Makefile: Remove.
12871
09c093b5
RK
128722012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12873
12874 [BZ #13058]
12875 * manual/examples/argp-ex1.c (main): Format definition in GNU
12876 style.
12877 * manual/examples/argp-ex2.c (main): Likewise.
12878 * manual/examples/argp-ex3.c (main): Likewise.
12879 * manual/examples/argp-ex4.c (main): Likewise.
12880 * manual/examples/longopt.c (main): Use new-style prototype
12881 definition.
12882 * manual/examples/strncat.c (main): Specify return type and use
12883 (void) for arguments.
12884 * manual/examples/subopt.c (main): Use char **argv argument.
12885
2ee633a2
JM
128862012-02-17 Joseph Myers <joseph@codesourcery.com>
12887
12888 [BZ #5077]
12889 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12890 rounding modes.
12891
0520adde
FB
128922012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12893
12894 [BZ #6907]
12895 * manual/string.texi (strchr): Change when strchrnul is
12896 recommended.
12897
3f4081cd
DGM
128982012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12899
12900 [BZ #174]
12901 * manual/locale.texi (setlocale): Document LOCPATH.
12902
d1b10e78
JM
129032012-02-17 Joseph Myers <joseph@codesourcery.com>
12904
12905 [BZ #10210]
12906 * manual/process.texi (execle): Move @dots{} before last argument.
12907
79c6869c
PB
129082012-02-17 Paul Bolle <pebolle@tiscali.nl>
12909
12910 [BZ #12047]
12911 * manual/charset.texi (Generic Charset Conversion): Fix typo
12912 (LC_TYPE -> LC_CTYPE).
12913
cc6e48bc
NB
129142012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12915
12916 [BZ #5805]
12917 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12918 (scalbnf): Likewise.
12919 (scalbnl): Likewise.
12920 (scalbln): Likewise.
12921 (scalblnf): Likewise.
12922 (scalblnl): Likewise.
12923 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12924 (vwarnx): Likewise.
12925 (verr): Likewise.
12926 (verrx): Likewise.
12927 * manual/filesys.texi (telldir): Use braces around return type.
12928 * manual/llio.texi (mmap): Add space after comma.
12929 (mmap64): Likewise.
12930 * manual/math.texi (jn): Use @var{} on parameter names.
12931 (jnf): Likewise.
12932 (jnl): Likewise.
12933 (yn): Likewise.
12934 (ynf): Likewise.
12935 (ynl): Likewise.
12936 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12937 line.
12938 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12939 "...".
12940 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12941 (sched_get_priority_max): Likewise.
12942 * manual/signal.texi (sigvec): Add space after comma.
12943 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12944 names.
12945 (if_indextoname): Likewise.
12946 (if_freenameindex): Likewise.
12947 (sendto): Use ',' instead of '.' in prototype.
12948 * manual/startup.texi (syscall): Use @dots{} instead of literal
12949 "...".
12950 * manual/stdio.texi (__fpending): Separate initial words of
12951 paragraph from @deftypefun line.
12952 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12953 "...".
12954 (vsyslog): Use @var{} on parameter names.
12955 * manual/terminal.texi (stty): Use @var{} on parameter names.
12956 * manual/users.texi (getutmp): Use @var{} on parameter names.
12957 (getutmpx): Likewise.
12958
5b23062f
JM
129592012-02-17 Joseph Myers <joseph@codesourcery.com>
12960
12961 [BZ #6884]
12962 * manual/stdio.texi (fopen): Fix typos in description of
12963 ",ccs=STRING".
12964
8dee4833
AJ
129652012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12966
12967 [BZ #4026]
12968 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12969 get clock_id definition.
12970
9078ce93
TS
129712012-02-17 Thomas Schwinge <thomas@schwinge.name>
12972
12973 [BZ #4822]
12974 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12975 (madvise): Cast every argument to void on its own.
12976
3835c55f
JM
129772012-02-17 Joseph Myers <joseph@codesourcery.com>
12978
12979 [BZ #9902]
12980 * manual/startup.texi (Exit Status): Fix typo.
12981
35c47e37
JM
129822012-02-17 Joseph Myers <joseph@codesourcery.com>
12983
12984 [BZ #10140]
12985 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12986 * manual/examples/argp-ex2.c: Likewise.
12987 * manual/examples/argp-ex3.c: Likewise.
12988
e3b69ca7
RH
129892012-02-16 Richard Henderson <rth@redhat.com>
12990
12991 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12992 * sysdeps/s390/s390-32/initfini.c: Remove.
12993 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12994 * sysdeps/s390/s390-64/initfini.c: Remove.
12995
df83af67
KK
129962012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12997
12998 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12999 compiler output for sysdeps/generic/initfini.c.
13000 * sysdeps/sh/elf/initfini.c: Remove file.
13001
f63f3380
DM
130022012-02-16 David S. Miller <davem@davemloft.net>
13003
fb59b3a4
DM
13004 [BZ #11494]
13005 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
13006
f63f3380
DM
13007 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
13008 * sysdeps/sparc/crti.S: New file.
13009 * sysdeps/sparc/crtn.S: New file.
13010 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
13011 * sysdeps/sparc/sparc64/Makefile: Likewise.
13012
df6a4a4a
MF
130132012-02-15 Mike Frysinger <vapier@gentoo.org>
13014
6dd8f3dc 13015 [BZ #3335]
df6a4a4a
MF
13016 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
13017
1cac7236
RM
130182012-02-15 Roland McGrath <roland@hack.frob.com>
13019
d2c736f8
RM
13020 [BZ #4822]
13021 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
13022
1cac7236
RM
13023 * mach/devstream.c (cookie_io_functions_t): Macro removed.
13024 (write, read, close): Likewise.
13025 Patch by Aurelien Jarno <aurelien@aurel32.net>.
13026
8e475601
JM
130272012-02-15 Joseph Myers <joseph@codesourcery.com>
13028
13029 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
13030 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
13031 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
13032 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
13033 <bits/signalfd.h>.
13034 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
13035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13036 bits/signalfd.h.
13037
ed656b40
MP
130382012-02-14 Marek Polacek <polacek@redhat.com>
13039
13040 * sysdeps/x86_64/crti.S: New file.
13041 * sysdeps/x86_64/crtn.S: New file.
13042 * sysdeps/x86_64/elf/initfini.c: Remove file.
13043
2a979d3a
JM
130442012-02-13 Joseph Myers <joseph@codesourcery.com>
13045
13046 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
13047 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
13048 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
13049 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
13050 <bits/inotify.h>.
13051 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
13052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13053 bits/inotify.h.
13054
2a418ac3
JM
130552012-02-13 Joseph Myers <joseph@codesourcery.com>
13056
13057 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
13058 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
13059 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
13060 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
13061 <bits/eventfd.h>.
13062 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
13063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13064 bits/eventfd.h.
13065
fb779be7
TS
130662012-02-10 Thomas Schwinge <thomas@codesourcery.com>
13067
e19e83c5
RM
13068 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
13069 __feraiseexcept instead of feraiseexcept.
7c35ffed 13070
fb779be7
TS
13071 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13072 nanosleep invocations.
13073 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13074 strings, and add error checking for a nanosleep invocations.
13075
59ba27a6
PE
130762012-02-09 Paul Eggert <eggert@cs.ucla.edu>
13077
13078 Replace FSF snail mail address with URLs, as per GNU coding standards.
13079 Most of the snail mail addresses were wrong anyway, and omitting
13080 them makes the source code easier to maintain. Almost all of the
13081 changes are to license notices and to locale LC_IDENTIFICATION
13082 addresses, except for this one:
13083 * manual/libc.texinfo: In "Published by", give the FSF's URL,
13084 not its snail mail address.
13085
57b957eb
RH
130862012-02-09 Richard Henderson <rth@twiddle.net>
13087
af850b1c
RH
13088 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13089 of kernel-features.h.
13090
57b957eb
RH
13091 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13092
6b73181a
MP
130932012-02-08 Marek Polacek <polacek@redhat.com>
13094
13095 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13096 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13097 * sysdeps/gnu/_G_config.h: Likewise.
13098 * sysdeps/generic/_G_config.h: Likewise.
13099
26ecc33a
AS
131002012-02-08 Andreas Schwab <schwab@linux-m68k.org>
13101
6c6dbc63
AS
13102 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13103 tests.
13104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13105
e216c012
AS
13106 * sysdeps/powerpc/powerpc32/crti.S: New file.
13107 * sysdeps/powerpc/powerpc32/crtn.S: New file.
13108 * sysdeps/powerpc/powerpc64/crti.S: New file.
13109 * sysdeps/powerpc/powerpc64/crtn.S: New file.
13110
26ecc33a
AS
13111 * Makeconfig (have-initfini): Don't set.
13112 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13113 * configure.in (nopic_initfini): Don't substitute.
13114 * config.h.in (HAVE_INITFINI): Don't #undef.
13115 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13116 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13117
3add8e13
JM
131182012-02-08 Joseph Myers <joseph@codesourcery.com>
13119
13120 Support crti.S and crtn.S provided directly by architectures.
13121 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13122 [crti.S in sysdirs] (omit-deps): Likewise.
13123 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13124 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13125 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13126 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13127 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13128 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13129 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13130 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13131 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13132 compiler output for sysdeps/generic/initfini.c.
13133 * sysdeps/i386/elf/Makefile: Remove file.
13134 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13135
a22f12b4
MP
131362012-02-07 Marek Polacek <polacek@redhat.com>
13137
13138 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13139 * sysdeps/gnu/_G_config.h: Likewise.
13140 * sysdeps/mach/hurd/_G_config.h: Likewise.
13141
148cf100
MP
131422012-02-07 Marek Polacek <polacek@redhat.com>
13143
13144 * math/Makefile (tests): Add tst-CMPLX2.
13145 * math/tst-CMPLX2.c: New file.
13146
cfdc0dd7
AS
131472012-02-07 Andreas Schwab <schwab@linux-m68k.org>
13148
84ba42c4
AS
13149 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13150
cfdc0dd7
AS
13151 * math/libm-test.inc (jn_test): Add missing L suffix.
13152
622c86f4
MP
131532012-02-06 Marek Polacek <polacek@redhat.com>
13154
13155 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13156 * sysdeps/i386/fpu/e_powf.S: Likewise.
13157 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13158 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13159 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13160 * sysdeps/i386/fpu/e_pow.S: Likewise.
13161 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13162 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13163 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13164 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13165 * sysdeps/i386/fpu/e_log2.S: Likewise.
13166 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13167 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13168 * sysdeps/i386/fpu/e_powl.S: Likewise.
13169 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13170 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13171 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13172 * sysdeps/i386/fpu/e_logl.S: Likewise.
13173 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13174 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13175 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13176 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13177 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13178 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13179 * sysdeps/i386/fpu/e_log.S: Likewise.
13180 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13181 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13182 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13183 * sysdeps/i386/fpu/e_logf.S: Likewise.
13184 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13185 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13186 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13187 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13188 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13189 * sysdeps/i386/fpu/e_log10.S: Likewise.
13190 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13191 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13192 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13193 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13194 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13195 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13196 * sysdeps/i386/asm-syntax.h: Likewise.
13197 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13198 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13199 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13200 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13201 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13202 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13203 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13204 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13205 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13206 * sysdeps/powerpc/sysdep.h: Likewise.
13207 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13208 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13209
d4a54ac6
JM
132102012-02-06 Joseph Myers <joseph@codesourcery.com>
13211
13212 [BZ #411]
13213 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13214
314054ea
JM
132152012-02-06 Joseph Myers <joseph@codesourcery.com>
13216
13217 * sysdeps/i386/sysdep.h: Include <features.h>.
13218 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13219 version.
13220
d8e0ca50
JM
132212012-02-05 Joseph Myers <joseph@codesourcery.com>
13222
13223 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13224 Define.
13225 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13226 LOAD_PIC_REG_STR.
13227
b1da7dd9
JM
132282012-02-03 Joseph Myers <joseph@codesourcery.com>
13229
13230 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13231 (SETUP_PIC_REG): Use GET_PC_THUNK.
13232 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13233 macro.
13234
9a1d9254
JM
132352012-02-03 Joseph Myers <joseph@codesourcery.com>
13236
13237 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13238 for non-PIC compilation.
13239 (SETUP_PIC_REG): Add .p2align directive.
13240 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13241 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13242 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13243 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13244 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13245 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13246 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13247 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13248 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13249 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13250 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13251 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13252 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13253 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13254 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13255 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13256 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13257 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13258 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13259 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13260 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13261 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13262 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13263 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13264 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13265 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13266 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13267 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13268 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13269 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13270 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13271 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13272 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13273 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13274 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13275 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13276 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13277 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13278 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13279 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13280 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13281
65dc3b75
JM
132822012-02-03 Joseph Myers <joseph@codesourcery.com>
13283
13284 * math/tst-CMPLX.c: Include <stdio.h>.
13285
d55bf177
JM
132862012-01-31 Joseph Myers <joseph@codesourcery.com>
13287
13288 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13289 float.
13290 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13291 * sysdeps/sparc/bits/mathdef.h: Likewise.
13292
69db4f8f
MP
132932012-01-31 Marek Polacek <polacek@redhat.com>
13294
13295 * libio/libio.h: Don't define _PARAMS.
13296 * locale/programs/config.h: Don't define PARAMS.
13297 * stdlib/strtol_l.c: Likewise.
13298 (__strtol_l): Remove PARAMS from the prototype.
13299
41b81892
UD
133002012-01-31 Ulrich Drepper <drepper@gmail.com>
13301
3b49edc0
UD
13302 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13303 names. Just use the correct names. Remove unnecessary wrapper
13304 functions.
13305 * malloc/arena.c: Likewise.
13306 * malloc/hooks.c: Likewise.
13307
41b81892
UD
13308 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13309 ARENA_TEST says not to. Simplify test for creation of a new arena.
13310 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13311
27a25b6e
UD
133122012-01-30 Ulrich Drepper <drepper@gmail.com>
13313
13314 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13315 into tail calls.
13316 (update_get_addr): New function.
13317 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13318 GET_ADDR_MODULE parameter.
13319
c8a89e7d
JM
133202012-01-30 Joseph Myers <joseph@codesourcery.com>
13321
13322 * crypt/cert.c: Remove __STDC__ conditionals.
13323 * crypt/crypt-entry.c: Likewise.
13324 * crypt/crypt_util.c: Likewise.
13325 * libio/filedoalloc.c: Likewise.
13326 * libio/fileops.c: Likewise.
13327 * libio/genops.c: Likewise.
13328 * libio/iofclose.c: Likewise.
13329 * libio/iofdopen.c: Likewise.
13330 * libio/iofopen.c: Likewise.
13331 * libio/iofopen64.c: Likewise.
13332 * libio/iogetdelim.c: Likewise.
13333 * libio/iopopen.c: Likewise.
13334 * libio/obprintf.c: Likewise.
13335 * libio/oldfileops.c: Likewise.
13336 * libio/oldiofclose.c: Likewise.
13337 * libio/oldiofdopen.c: Likewise.
13338 * libio/oldiofopen.c: Likewise.
13339 * libio/oldiopopen.c: Likewise.
13340 * libio/wfiledoalloc.c: Likewise.
13341 * libio/wgenops.c: Likewise.
13342 * locale/programs/xmalloc.c: Likewise.
13343 * misc/syslog.c: Likewise.
13344 * stdio-common/xbug.c: Likewise.
13345 * string/memchr.c: Likewise.
13346 * string/memcmp.c: Likewise.
13347 * string/memrchr.c: Likewise.
13348 * string/rawmemchr.c: Likewise.
13349 * sysdeps/posix/getcwd.c: Likewise.
13350 * time/strftime_l.c: Likewise.
13351
3b100462
JM
133522012-01-30 Joseph Myers <joseph@codesourcery.com>
13353
13354 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
13355 * config.make.in (config-cflags-sse2avx): Define.
13356 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13357 Fix typo.
13358
607998af
CM
133592012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13360
13361 * scripts/config.guess: Update from upstream config git repository.
13362 * scripts/config.sub: Likewise.
13363
3601428f
CM
133642012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13365
3ac8b282
CM
13366 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13367 (EM_NUM): Update.
13368 (R_TILEPRO_*, R_TILEGX_*): New macros.
13369
e034841e
CM
13370 * scripts/firstversions.awk: Fix bug in version range handling.
13371
540d7568
CM
13372 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13373
3601428f
CM
13374 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13375
463de862
CM
13376 * include/sys/epoll.h: New file.
13377 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13378 libc_hidden_def.
13379
73139a76
UD
133802012-01-28 Ulrich Drepper <drepper@gmail.com>
13381
96bc5b45
UD
13382 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13383 Avoid unnecessary __WORDSIZE == 64 test.
13384 (fmaxf): Use VEX format if possible.
13385 (fmax): Likewise.
13386 (fminf): Likewise.
13387 (fmin): Likewise.
13388
56f6f6a2
UD
13389 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13390 * math/math_private.h: Remove libc_fegetround* and
13391 libc_fesetround*.
13392 * sysdeps/i386/configure.in: Check for -msse2avx.
13393 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13394 also if SSE2AVX is defined.
13395 Remove libc_fegetround* and libc_fesetround*.
13396 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13397 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13398 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13399 of HAS_YMM_USABLE.
13400 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13401 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13402 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13403 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13404 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13405
73139a76
UD
13406 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13407
d73f93a4
AZ
134082012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13409
13410 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13411 size is not set.
13412 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13413
6ee65ed6
UD
134142012-01-27 Ulrich Drepper <drepper@gmail.com>
13415
13416 [BZ #13618]
13417 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13418 relocation.
13419 * Makeconfig (libm): Define.
13420 * elf/Makefile: Add rules to build and run tst-relsort1.
13421 * elf/tst-relsort1.c: New file.
13422 * elf/tst-relsort1mod1.c: New file.
13423 * elf/tst-relsort1mod2.c: New file.
13424
8db21882
JM
134252012-01-27 Joseph Myers <joseph@codesourcery.com>
13426
13427 * math/s_ldexp.c: Remove __STDC__ conditionals.
13428 * math/s_ldexpf.c: Likewise.
13429 * math/s_ldexpl.c: Likewise.
13430 * math/s_nextafter.c: Likewise.
13431 * math/s_nexttowardf.c: Likewise.
13432 * math/s_significand.c: Likewise.
13433 * math/s_significandf.c: Likewise.
13434 * math/s_significandl.c: Likewise.
13435 * math/w_jnl.c: Likewise.
13436 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13437 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13438 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13439 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13440 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13441 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13442 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13443 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13444 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13445 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13446 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13447 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13448 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13449 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13450 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13451 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13452 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13453 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13454 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13455 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13456 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13457 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13458 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13459 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13460 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13461 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13462 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13463 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13464 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13465 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13466 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13467 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13468 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13469 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13470 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13471 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13472 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13473 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13474 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13475 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13476 * sysdeps/ieee754/k_standard.c: Likewise.
13477 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13478 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13479 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13480 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13481 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13482 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13483 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13484 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13485 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13486 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13487 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13488 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13489 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13490 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13491 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13492 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13493 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13494 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13495 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13496 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13497 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13498 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13499 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13500 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13501 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13502 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13503 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13504 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13505 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13506 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13507 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13508 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13509 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13510 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13511 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13512 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13513 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13514 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13515 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13516 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13517 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13518 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13519 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13520 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13521 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13522 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13523 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13524 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13525 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13526 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13527 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13528 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13529 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13530 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13531 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13532 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13533 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13534 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13535 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13536 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13537 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13538 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13539 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13540 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13541 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13542 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13543 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13544 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13545 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13546 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13547 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13548 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13549 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13550 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13551 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13552 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13553 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13554 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13555 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13556 * sysdeps/ieee754/s_matherr.c: Likewise.
13557 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13558 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13559 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13560 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13561
965a54a4
JM
135622012-01-26 Joseph Myers <joseph@codesourcery.com>
13563
13564 * crypt/md5.h: Remove __STDC__ conditionals.
13565 * libio/libioP.h: Likewise.
13566 * locale/programs/config.h: Likewise.
13567 * sysdeps/generic/sysdep.h: Likewise.
13568 * sysdeps/i386/asm-syntax.h: Likewise.
13569 * sysdeps/s390/asm-syntax.h: Likewise.
13570 * sysdeps/unix/sysdep.h: Likewise.
13571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13573
7071ad79
JM
135742012-01-26 Joseph Myers <joseph@codesourcery.com>
13575
13576 * libio/libio.h: Remove __STDC__ conditionals.
13577 * malloc/obstack.h: Likewise.
13578 * math/complex.h: Likewise.
13579 * math/math.h: Likewise.
13580 * sysdeps/generic/_G_config.h: Likewise.
13581 * sysdeps/gnu/_G_config.h: Likewise.
13582 * sysdeps/mach/hurd/_G_config.h: Likewise.
13583 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13584 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13585 * sysdeps/sparc/bits/mathdef.h: Likewise.
13586
afc5ed09
UD
135872012-01-26 Ulrich Drepper <drepper@gmail.com>
13588
13589 [BZ #13583]
13590 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 13591 Clean up HAS_* macros.
afc5ed09 13592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
13593 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13594 possible.
13595 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13596 HAS_AVX.
13597 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13598 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13599 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13600 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13601 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 13602
bdb6de1d
JM
136032012-01-25 Joseph Myers <joseph@codesourcery.com>
13604
13605 * elf/tst-unique3.cc (gets): Remove declaration.
13606 * elf/tst-unique3lib.cc (gets): Likewise.
13607 * elf/tst-unique3lib2.cc (gets): Likewise.
13608 * elf/tst-unique4.cc (gets): Likewise.
13609
b15549e6
UD
136102012-01-24 Ulrich Drepper <drepper@gmail.com>
13611
13612 * include/stdio.h: Add C++ protection. Add gets declarations and
13613 definitions.
13614 * debug/tst-chk1.c: Don't declare gets here.
13615 * stdio-common/tst-gets.c: Likewise.
13616
a037381f
JM
136172012-01-24 Joseph Myers <joseph@codesourcery.com>
13618
13619 * posix/glob: Remove directory.
13620
f1d4aa75
JM
136212012-01-24 Joseph Myers <joseph@codesourcery.com>
13622
13623 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13624
81c0c964
PT
136252012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13626
13627 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13628 of the non-standard EPFNOSUPPORT.
13629
0ea698ae
ST
136302011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13631
13632 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13633 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13634 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13635
d220b117
UD
136362012-01-21 Ulrich Drepper <drepper@gmail.com>
13637
13638 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13639
3e1aa84e
UD
136402012-01-20 Ulrich Drepper <drepper@gmail.com>
13641
13642 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13643 transient errors.
13644 * nscd/grpcache.c (cache_addgr): Likewise.
13645 * nscd/hstcache.c (cache_addhst): Likewise.
13646 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13647 * nscd/pwdcache.c (cache_addpw): Likewise.
13648 * nscd/servicescache.c (cache_addserv): Likewise.
13649
400aa020
UD
136502012-01-16 Ulrich Drepper <drepper@gmail.com>
13651
d77e7869
UD
13652 * malloc/malloc.c: Various cleanups.
13653 * malloc/hooks.c: Likewise.
13654
400aa020
UD
13655 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13656 * stdlib/bug-fmtmsg1.c: New file.
13657
13658 * stdlib/fmtmsg.c (init): Add missing unlock.
13659 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13660
e0a309cf
MP
136612012-01-12 Marek Polacek <polacek@redhat.com>
13662
13663 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13664 and _GNU_SOURCE.
13665
929d11c7
WS
136662012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13667
13668 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13669 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13670 macro to ensure uniqueness of label name.
13671 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13672 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13673
41d0e869
UD
136742012-01-11 Ulrich Drepper <drepper@gmail.com>
13675
0cc5ed3b
UD
13676 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13677
41d0e869
UD
13678 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13679 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13680 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13681 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13682
a47a831a
UD
136832012-01-10 Ulrich Drepper <drepper@gmail.com>
13684
daa891c0
UD
13685 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13686
13687 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13688 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13689 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13690
e58ef0f2
UD
13691 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13692
a47a831a 13693 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
13694 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13695 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 13696 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
13697
13698 * math/bits/math-finite.h: Add ldexp support.
13699
a0bfc9c7
MP
137002012-01-10 Marek Polacek <polacek@redhat.com>
13701
13702 * locale/programs/localedef.h (show_archive_content): Add noreturn
13703 attribute.
13704
d6e97a1d
UD
137052012-01-09 Ulrich Drepper <drepper@gmail.com>
13706
13707 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13708
d5835c26
UD
137092012-01-08 Ulrich Drepper <drepper@gmail.com>
13710
e5f484c6
UD
13711 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13712
d5835c26
UD
13713 * io/Makefile (headers): Add bits/poll2.h.
13714
d1f741e9
WS
137152011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13716
13717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13718 typo #include statement.
13719
ec09c1c4
UD
137202012-01-08 Ulrich Drepper <drepper@gmail.com>
13721
13722 * include/sys/cdefs.h: Define __attribute_alloc_size.
13723 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13724 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13725 * elf/pldd.c: Likewise.
13726 * iconv/iconv_charmap.c: Likewise.
13727 * iconv/iconvconfig.c: Likewise.
13728 * iconv/strtab.c: Likewise.
13729 * locale/programs/locale.c: Likewise.
13730 * locale/programs/localedef.h: Likewise.
13731 * locale/programs/simple-hash.c: Likewise.
13732 * nscd/nscd.h: Likewise.
13733 * nss/makedb.c: Likewise.
13734 * sysdeps/generic/ldconfig.h: Likewise.
13735 * locale/programs/localedef.c: Remove xmalloc prototype.
13736 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13737
20b38e03
PP
137382012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13739
13740 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13741 appropriate.
13742
a0da5fe1
UD
137432012-01-08 Ulrich Drepper <drepper@gmail.com>
13744
1d5a644a 13745 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13746 * math/tst-CMPLX.c: New file.
1d5a644a 13747
8784a6db
UD
13748 * math/complex.h (CMPLXL): Fix typo.
13749
d9a216c0
UD
13750 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13751 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13752 GLIBC_2.16.
13753 * debug/tst-chk1.c: Add poll and ppoll tests.
13754 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13755 * include/sys/poll.h: Add hidden proto for ppoll.
13756 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13757 * sysdeps/mach/hurd/ppoll.c: Likewise.
13758 * io/ppoll.c: Likewise.
13759 * debug/poll_chk.c: New file.
13760 * debug/ppoll_chk.c: New file.
13761 * include/bits/poll2.h: New file.
13762 * io/bits/poll2.h: New file.
13763
ac097f5c
UD
13764 [BZ #1350]
13765 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13766
2119dcfa
UD
13767 * configure.in: static is always set to yes. Remove.
13768 * config.make.in: Don't set build-static.
13769 * Makeconfig: Remove use of build-static.
13770 * dlfcn/Makefile: Likewise.
13771 * elf/Makefile: Likewise.
13772 * math/Makefile: Likewise.
13773 * misc/Makefile: Likewise.
13774 * nptl/Makefile: Likewise.
13775 * sysdeps/mach/hurd/Makefile: Likewise.
13776
121766a9
UD
13777 * configure.in: PWD_P is not used anymore.
13778 * config.make.in: Remove PWD_P entry.
13779
51a1d39c 13780 * configure.in: Remove last remnants of RANLIB.
8720d066 13781 No need to check for signed size_t anymore.
215f4bdc
UD
13782 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13783 and IA-64.
3857022a 13784 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
13785 * aclocal.m4: Likewise.
13786
d3ed7225
UD
13787 * wcsmbs/mbrtoc16.c: Implement using towc function.
13788 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13789 * wcsmbs/wcsmbsload.c: Likewise.
13790 * iconv/gconv_simple.c: Likewise.
13791 * iconv/gconv_int.h: Likewise.
13792 * iconv/gconv_builtin.h: Likewise.
13793 * iconv/iconv_prog.c: Remove CHAR16 handling.
13794
13795 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13796
13797 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13798
a0da5fe1
UD
13799 * configure.in: Remove --with-elf and --enable-bounded options.
13800 Dont set base_machine for ia64. More non-ELF conditions removed.
13801 Remove testing and setting of leading underscore information.
13802 * config.make.in (build-bounded): Set to no.
13803 * config.h.in: Remove NO_UNDERSCORES entry.
13804 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13805 them.
13806 * csu/start.c: Remove !NO_UNDERSCORE code.
13807 * locale/localeinfo.h: Likewise.
13808 * sysdeps/generic/machine-gmon.h: Likewise.
13809 * sysdeps/generic/sysdep.h: Likewise.
13810 * sysdeps/i386/sysdep.h: Likewise.
13811 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13812 * sysdeps/mach/sysdep.h: Likewise.
13813 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13814 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13815 * sysdeps/sh/sysdep.h: Likewise.
13816 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13817 * sysdeps/unix/i386/sysdep.S: Likewise.
13818 * sysdeps/unix/sparc/start.c: Likewise.
13819 * sysdeps/unix/sparc/sysdep.S: Likewise.
13820 * sysdeps/unix/sparc/sysdep.h: Likewise.
13821 * sysdeps/unix/start.c: Likewise.
13822 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13823 * sysdeps/x86_64/sysdep.h: Likewise.
13824
df78418a
UD
138252012-01-07 Ulrich Drepper <drepper@gmail.com>
13826
a784e502
UD
13827 [BZ #13553]
13828 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13829 for non-gcc.
13830 * argp/argp-fmtstream.h: Use const instead __const.
13831 * argp/argp.h: Likewise.
13832 * assert/assert.h: Likewise.
13833 * bits/fenv.h: Likewise.
13834 * bits/sched.h: Likewise.
13835 * bits/sigset.h: Likewise.
13836 * bits/sigthread.h: Likewise.
13837 * catgets/nl_types.h: Likewise.
13838 * conform/data/pthread.h-data: Likewise.
13839 * crypt/crypt-private.h: Likewise.
13840 * crypt/crypt.h: Likewise.
13841 * crypt/crypt_util.c: Likewise.
13842 * ctype/ctype.h: Likewise.
13843 * debug/execinfo.h: Likewise.
13844 * debug/mbsnrtowcs_chk.c: Likewise.
13845 * debug/mbsrtowcs_chk.c: Likewise.
13846 * debug/wcsnrtombs_chk.c: Likewise.
13847 * debug/wcsrtombs_chk.c: Likewise.
13848 * debug/wcstombs_chk.c: Likewise.
13849 * dirent/dirent.h: Likewise.
13850 * dlfcn/dlfcn.h: Likewise.
13851 * elf/neededtest4.c: Likewise.
13852 * grp/grp.h: Likewise.
13853 * gshadow/gshadow.h: Likewise.
13854 * iconv/gconv.h: Likewise.
13855 * iconv/gconv_int.h: Likewise.
13856 * iconv/gconv_simple.c: Likewise.
13857 * iconv/iconv.h: Likewise.
13858 * iconv/loop.c: Likewise.
13859 * iconv/skeleton.c: Likewise.
13860 * include/aio.h: Likewise.
13861 * include/aliases.h: Likewise.
13862 * include/argz.h: Likewise.
13863 * include/arpa/inet.h: Likewise.
13864 * include/assert.h: Likewise.
13865 * include/dirent.h: Likewise.
13866 * include/dlfcn.h: Likewise.
13867 * include/execinfo.h: Likewise.
13868 * include/fcntl.h: Likewise.
13869 * include/fenv.h: Likewise.
13870 * include/glob.h: Likewise.
13871 * include/grp.h: Likewise.
13872 * include/libintl.h: Likewise.
13873 * include/mntent.h: Likewise.
13874 * include/netdb.h: Likewise.
13875 * include/pwd.h: Likewise.
13876 * include/rpc/netdb.h: Likewise.
13877 * include/sched.h: Likewise.
13878 * include/search.h: Likewise.
13879 * include/shadow.h: Likewise.
13880 * include/signal.h: Likewise.
13881 * include/stdio.h: Likewise.
13882 * include/stdlib.h: Likewise.
13883 * include/string.h: Likewise.
13884 * include/sys/socket.h: Likewise.
13885 * include/sys/stat.h: Likewise.
13886 * include/sys/statfs.h: Likewise.
13887 * include/sys/statvfs.h: Likewise.
13888 * include/sys/syslog.h: Likewise.
13889 * include/sys/time.h: Likewise.
13890 * include/sys/uio.h: Likewise.
13891 * include/time.h: Likewise.
13892 * include/unistd.h: Likewise.
13893 * include/utmp.h: Likewise.
13894 * include/wchar.h: Likewise.
13895 * include/wctype.h: Likewise.
13896 * inet/aliases.h: Likewise.
13897 * inet/arpa/inet.h: Likewise.
13898 * inet/netinet/ether.h: Likewise.
13899 * inet/netinet/in.h: Likewise.
13900 * intl/libintl.h: Likewise.
13901 * io/bits/fcntl2.h: Likewise.
13902 * io/fcntl.h: Likewise.
13903 * io/ftw.h: Likewise.
13904 * io/sys/poll.h: Likewise.
13905 * io/sys/stat.h: Likewise.
13906 * io/sys/statfs.h: Likewise.
13907 * io/sys/statvfs.h: Likewise.
13908 * io/utime.h: Likewise.
13909 * libio/bits/stdio.h: Likewise.
13910 * libio/bits/stdio2.h: Likewise.
13911 * libio/libio.h: Likewise.
13912 * libio/libioP.h: Likewise.
13913 * libio/stdio.h: Likewise.
13914 * locale/lc-ctype.c: Likewise.
13915 * locale/locale.h: Likewise.
13916 * login/utmp.h: Likewise.
13917 * malloc/arena.c: Likewise.
13918 * malloc/malloc.c: Likewise.
13919 * malloc/malloc.h: Likewise.
13920 * malloc/mcheck.c: Likewise.
13921 * malloc/mtrace.c: Likewise.
13922 * math/bits/mathcalls.h: Likewise.
13923 * math/fenv.h: Likewise.
13924 * math/math_private.h: Likewise.
13925 * misc/bits/error.h: Likewise.
13926 * misc/bits/syslog.h: Likewise.
13927 * misc/err.h: Likewise.
13928 * misc/error.h: Likewise.
13929 * misc/fstab.h: Likewise.
13930 * misc/mntent.h: Likewise.
13931 * misc/regexp.h: Likewise.
13932 * misc/search.h: Likewise.
13933 * misc/sgtty.h: Likewise.
13934 * misc/sys/mman.h: Likewise.
13935 * misc/sys/syslog.h: Likewise.
13936 * misc/sys/uio.h: Likewise.
13937 * misc/sys/xattr.h: Likewise.
13938 * misc/ttyent.h: Likewise.
13939 * nis/rpcsvc/ypclnt.h: Likewise.
13940 * nss/nss.h: Likewise.
13941 * posix/bits/unistd.h: Likewise.
13942 * posix/fnmatch.h: Likewise.
13943 * posix/glob.h: Likewise.
13944 * posix/sched.h: Likewise.
13945 * posix/spawn.h: Likewise.
13946 * posix/sys/wait.h: Likewise.
13947 * posix/unistd.h: Likewise.
13948 * posix/wordexp.h: Likewise.
13949 * pwd/pwd.h: Likewise.
13950 * resolv/netdb.h: Likewise.
13951 * resource/sys/resource.h: Likewise.
13952 * rt/aio.h: Likewise.
13953 * rt/bits/mqueue2.h: Likewise.
13954 * rt/mqueue.h: Likewise.
13955 * shadow/shadow.h: Likewise.
13956 * signal/signal.h: Likewise.
13957 * socket/send.c: Likewise.
13958 * socket/sendto.c: Likewise.
13959 * socket/sys/socket.h: Likewise.
13960 * stdio-common/printf.h: Likewise.
13961 * stdlib/bits/stdlib.h: Likewise.
13962 * stdlib/fmtmsg.h: Likewise.
13963 * stdlib/monetary.h: Likewise.
13964 * stdlib/stdlib.h: Likewise.
13965 * stdlib/ucontext.h: Likewise.
13966 * streams/stropts.h: Likewise.
13967 * string/argz.h: Likewise.
13968 * string/bits/string2.h: Likewise.
13969 * string/string.h: Likewise.
13970 * string/strings.h: Likewise.
13971 * sunrpc/rpc/auth.h: Likewise.
13972 * sunrpc/rpc/auth_des.h: Likewise.
13973 * sunrpc/rpc/clnt.h: Likewise.
13974 * sunrpc/rpc/netdb.h: Likewise.
13975 * sunrpc/rpc/pmap_clnt.h: Likewise.
13976 * sunrpc/rpc/xdr.h: Likewise.
13977 * sysdeps/generic/inttypes.h: Likewise.
13978 * sysdeps/generic/net/if.h: Likewise.
13979 * sysdeps/generic/sys/swap.h: Likewise.
13980 * sysdeps/gnu/net/if.h: Likewise.
13981 * sysdeps/gnu/utmpx.h: Likewise.
13982 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13983 * sysdeps/i386/i486/bits/string.h: Likewise.
13984 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13985 * sysdeps/s390/bits/string.h: Likewise.
13986 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13987 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13988 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13989 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13990 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13991 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13992 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13993 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13994 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13995 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13996 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13997 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13998 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13999 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14000 * sysdeps/unix/sysv/linux/readv.c: Likewise.
14001 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
14002 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14003 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14004 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14005 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14006 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14007 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
14008 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
14009 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
14010 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
14011 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
14012 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
14013 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14014 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
14015 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
14016 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
14017 * sysvipc/sys/ipc.h: Likewise.
14018 * sysvipc/sys/msg.h: Likewise.
14019 * sysvipc/sys/sem.h: Likewise.
14020 * sysvipc/sys/shm.h: Likewise.
14021 * termios/termios.h: Likewise.
14022 * time/sys/time.h: Likewise.
14023 * time/time.h: Likewise.
14024 * wcsmbs/bits/wchar2.h: Likewise.
14025 * wcsmbs/uchar.h: Likewise.
14026 * wcsmbs/wchar.h: Likewise.
14027 * wctype/wctype.h: Likewise.
14028
0269750c
UD
14029 [BZ #13551]
14030 * Makeconfig: Remove all but ELF support including AIX support.
14031 * Makerules: Likewise.
14032 * config.h.in: Likewise.
14033 * config.make.in: Likewise.
14034 * configure: Likewise.
14035 * configure.in: Likewise.
14036 * csu/Makefile: Likewise.
14037 * csu/version.c: Likewise.
14038 * debug/Makefile: Likewise.
14039 * dlfcn/Makefile: Likewise.
14040 * elf/Makefile: Likewise.
14041 * extra-lib.mk: Likewise.
14042 * iconv/Makefile: Likewise.
14043 * include/libc-symbols.h: Likewise.
14044 * include/shlib-compat.h: Likewise.
14045 * resolv/Makefile: Likewise.
14046 * resolv/res_libc.c: Likewise.
14047 * rt/Makefile: Likewise.
14048 * sysdeps/i386/asm-syntax.h: Likewise.
14049 * sysdeps/i386/sysdep.h: Likewise.
14050 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14051 * sysdeps/mach/sysdep.h: Likewise.
14052 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
14053 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
14054 * sysdeps/s390/asm-syntax.h: Likewise.
14055 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14056 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14057 * sysdeps/sh/sysdep.h: Likewise.
14058 * sysdeps/unix/sparc/sysdep.h: Likewise.
14059 * sysdeps/wordsize-32/divdi3.c: Likewise.
14060 * sysdeps/x86_64/sysdep.h: Likewise.
14061
00bbd29b
UD
14062 * argp/Versions: Remove _argp_unlock_xxx.
14063
14064 [BZ #13559]
14065 * abilist/ld.abilist: Update. Adjust for removal of tls option.
14066 * abilist/libBrokenLocale.abilist: Likewise.
14067 * abilist/libanl.abilist: Likewise.
14068 * abilist/libc.abilist: Likewise.
14069 * abilist/libcrypt.abilist: Likewise.
14070 * abilist/libdl.abilist: Likewise.
14071 * abilist/libm.abilist: Likewise.
14072 * abilist/libnsl.abilist: Likewise.
14073 * abilist/libpthread.abilist: Likewise.
14074 * abilist/libresolv.abilist: Likewise.
14075 * abilist/librt.abilist: Likewise.
14076 * abilist/libthread_db.abilist: Likewise.
14077 * abilist/libutil.abilist: Likewise.
14078 * abilist/libnss_db.abilist: New file.
14079
14080 * scripts/abilist.awk: Add support for indirect functions.
14081
a2693a0e
UD
14082 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14083
3f05895f
UD
14084 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14085
ecb6fb48
UD
14086 * shlib-versions: Remove entries for ports architectures.
14087
664f8cb9
UD
14088 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
14089 files in ports.
14090 * elf/stackguard-macros.h: Remove support for IA-64.
14091 * elf/tst-auditmod1.c: Likewise.
14092 * sysdeps/generic/ldsodefs.h: Likewise.
14093
7ae81d88
UD
14094 * sysdeps/unix/sysv/linux/configure.in: Ports should define
14095 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14096 configure files.
14097
bdeba135
UD
14098 [BZ #13552]
14099 * configure.in: Remove --enable-omitfp support.
14100 * FAQ.in: Adjust.
14101 * config.make.in: Likewise.
14102 * Makeconfig: Likewise.
14103 * manual/install.texi: Likewise.
14104
d75a0a62
UD
14105 In case anyone cares, the IA-64 architecture could move to ports.
14106 * sysdeps/ia64/*: Removed.
14107 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 14108 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 14109
dcc9756b
UD
14110 [BZ #13555]
14111 * configure.in: Remove entries for unsupported architectures.
14112
d3761ebc 14113 [BZ #13533]
9954432e
UD
14114 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14115 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
14116 routines.
14117 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14118 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14119 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
14120 fall back to using wcrtomb.
14121 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14122 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
14123 renaming.
14124 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14125 * wcsmbs/tst-c16c32-1.c: New file.
14126
14127 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14128 local variable.
14129
c3a87236
UD
14130 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14131
28926a1b
UD
14132 * elf/tst-unique3.cc: Add explicit declaration of gets.
14133 * elf/tst-unique3lib.cc: Likewise.
14134 * elf/tst-unique3lib2.cc: Likewise.
14135 * elf/tst-unique4.cc: Likewise.
14136
df78418a
UD
14137 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14138
8ecd6b2a
JM
141392012-01-06 Joseph Myers <joseph@codesourcery.com>
14140
14141 [BZ #13566]
14142 * assert/assert.h (static_assert): Don't define for C++.
14143 * libio/stdio.h (gets): Do declare for C++ <= C++11.
14144 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14145
9f115170
UD
141462012-01-03 Ulrich Drepper <drepper@gmail.com>
14147
5e0d0300
UD
14148 * iconv/loop.c (single loop): Fix assertion in storing of
14149 remaining bytes.
14150
9f115170
UD
14151 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14152
81fb02b0
UD
141532012-01-01 Ulrich Drepper <drepper@gmail.com>
14154
14155 * posix/getconf.c: Update copyright year.
14156 * nss/getent.c: Likewise.
a316c1f6 14157 * nss/makedb.c: Likewise.
81fb02b0
UD
14158 * iconv/iconvconfig.c: Likewise.
14159 * iconv/iconv_prog.c: Likewise.
14160 * elf/ldconfig.c: Likewise.
a316c1f6
UD
14161 * elf/pldd.c: Likewise.
14162 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
14163 * catgets/gencat.c: Likewise.
14164 * csu/version.c: Likewise.
14165 * elf/ldd.bash.in: Likewise.
14166 * elf/sprof.c (print_version): Likewise.
14167 * locale/programs/locale.c: Likewise.
14168 * locale/programs/localedef.c: Likewise.
a316c1f6 14169 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
14170 * nscd/nscd.c (print_version): Likewise.
14171 * debug/xtrace.sh: Likewise.
14172 * malloc/memusage.sh: Likewise.
14173 * malloc/mtrace.pl: Likewise.
14174 * debug/catchsegv.sh: Likewise.
14175
2ba92745
JJ
141762011-12-30 Jakub Jelinek <jakub@redhat.com>
14177
14178 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14179 pure attribute.
14180
dadebdae
UD
141812011-12-24 Ulrich Drepper <drepper@gmail.com>
14182
d3761ebc 14183 [BZ #13533]
db6af3eb
UD
14184 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14185 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14186 transformations.
14187 * iconv/gconv_int.h: Likewise.
14188 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14189 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14190 from libc for GLIBC_2.16.
14191 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14192 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14193 * wcsmbs/uchar.h: Really define mbstate_t.
14194 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14195 * wcsmbs/c16rtomb.c: New file.
14196 * wcsmbs/mbrtoc16.c: New file.
14197 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14198 for C/POSIX locale.
14199 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14200 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14201
dadebdae
UD
14202 * wcsmbs/wchar.h: Add missing __restrict.
14203
67371b56
UD
142042011-12-23 Ulrich Drepper <drepper@gmail.com>
14205
74033a25
UD
14206 [BZ #13532]
14207 * time/Makefile (routines): Add timespec_get.
14208 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14209 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14210 timespec for ISO C11.
14211 * time/timespec_get.c: New file.
14212 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14213 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14214
380d7e87
UD
14215 [BZ #13531]
14216 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14217 * stdlib/stdlib.h: Declare aligned_alloc.
14218 * Versions.def: Add GLIBC_2.16 for libc.
14219 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14220
4e9e7a35
UD
14221 [BZ 13527]
14222 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14223 ISO C11.
14224
380d7e87 14225 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
14226 code.
14227
03a71829
UD
14228 [BZ #13528]
14229 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14230
839e283e
UD
14231 [BZ #13529]
14232 * assert/assert.h (static_assert): Define.
14233
ce5294e2 14234 * version.h: Update for 2.16 development version.
90fa7312 14235
8d44e150 14236 [BZ #13526]
d7809905
UD
14237 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14238 _ISOC11_SOURCE.
14239
c0da14cd
UD
14240 * version.h (RELEASE): Bump for 2.15 release.
14241 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14242
530a3249
MP
14243 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14244 Patch by Marek Polacek <mpolacek@redhat.com>.
14245
67371b56
UD
14246 * bits/byteswap.h: Protect long long constants with __extension__.
14247 * sysdeps/i386/bits/byteswap.h: Likewise.
14248 * sysdeps/ia64/bits/byteswap.h: Likewise.
14249 * sysdeps/s390/bits/byteswap.h: Likewise.
14250 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14251
15db4de1
LD
142522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14253
14254 [BZ #13540]
bbe315ea
LD
14255 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14256 destination buffer.
15db4de1
LD
14257 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14258
2b2596b1
MP
142592011-12-23 Marek Polacek <polacek@redhat.com>
14260
14261 * elf/dl-addr.c (determine_info): Add inline keyword.
14262 * elf/tst-auditmod4b.c (check_avx): Likewise.
14263 * elf/tst-auditmod6b.c (check_avx): Likewise.
14264 * elf/tst-auditmod6c.c (check_avx): Likewise.
14265 * elf/tst-auditmod7b.c (check_avx): Likewise.
14266
70c6c246
UD
142672011-12-23 Ulrich Drepper <drepper@gmail.com>
14268
14269 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14270 !__SSE_MATH__.
14271
c044cf14
LD
142722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14273
15db4de1 14274 [BZ #13540]
c044cf14
LD
14275 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14276 processing for last bytes.
14277
6b13d9d9
BH
142782011-08-06 Bruno Haible <bruno@clisp.org>
14279
d455f537
BH
14280 [BZ #13061]
14281 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14282 U+0385, not to U+1FEE.
14283
6b13d9d9
BH
14284 [BZ #13062]
14285 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14286 entry for U+00A5 U+0301.
14287
db910efd
UD
142882011-12-22 Ulrich Drepper <drepper@gmail.com>
14289
27deeafc
UD
14290 [BZ #13166]
14291 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14292 buffer for the output is too small.
14293
aed9d171
UD
14294 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14295 optimization.
14296
db910efd
UD
14297 [BZ #13185]
14298 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14299 SSE flags if possible.
14300
2bd779ae
LD
143012011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14302
e7f9dac3 14303 [BZ #13540]
2bd779ae
LD
14304 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14305 processing for last bytes.
14306
154bfc16
JM
143072011-12-22 Joseph Myers <joseph@codesourcery.com>
14308
14309 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14310 (syscall-list-default-options, syscall-list-default-condition)
14311 (syscall-list-includes): Define.
14312 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14313 list of ABIs and options and #if conditions for each ABI. Do not
14314 handle common syscalls between ABIs specially.
14315 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14316 Remove.
14317 (syscall-list-variants, syscall-list-32bit-options)
14318 (syscall-list-32bit-condition, syscall-list-64bit-options)
14319 (syscall-list-64bit-condition): Define.
14320 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14321 (syscall-list-variants, syscall-list-32bit-options)
14322 (syscall-list-32bit-condition, syscall-list-64bit-options)
14323 (syscall-list-64bit-condition): Define.
14324 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14325 Remove.
14326 (syscall-list-variants, syscall-list-32bit-options)
14327 (syscall-list-32bit-condition, syscall-list-64bit-options)
14328 (syscall-list-64bit-condition): Define.
14329 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14330 Remove.
14331 (syscall-list-variants, syscall-list-32bit-options)
14332 (syscall-list-32bit-condition, syscall-list-64bit-options)
14333 (syscall-list-64bit-condition): Define.
14334
21eaf3a5
UD
143352011-12-22 Ulrich Drepper <drepper@gmail.com>
14336
16c6f992
UD
14337 * locale/iso-639.def: Add brx entry.
14338
41043168
UD
14339 [BZ #13328]
14340 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14341 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14342
21eaf3a5
UD
14343 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14344 __feraiseexcept_renamed.
14345
e3a851a2
UD
143462011-12-21 Ulrich Drepper <drepper@gmail.com>
14347
4920765e
UD
14348 [BZ #13538]
14349 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14350 EPOLLET with unsigned values.
14351 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14352 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14353
e3a851a2
UD
14354 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14355 to large cancellation.
14356 * math/s_cacoshf.c: Likewise.
14357 * math/s_cacoshl.c: Likewise.
14358
b27e24b8
RK
143592011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14360
14361 [BZ #13305]
aebefeee 14362 [BZ #12786]
b27e24b8
RK
14363 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14364 * math/s_cacoshf.c: Likewise.
14365 * math/s_cacoshl.c: Likewise.
14366
ee190f67
UD
143672011-12-21 Ulrich Drepper <drepper@gmail.com>
14368
14369 [BZ #13439]
14370 * iconv/gconv.h: Define __GCONV_SWAP.
14371 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14372 * iconvdata/utf-16.c: Likewise.
14373 * iconvdata/utf-32.c: Likewise.
14374
707f25df
AS
143752011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14376
14377 [BZ #13524]
14378 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14379 numerator after shifting it by one limb.
14380
d2daaa1e
RÁE
143812011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14382
14383 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14384 under [__USE_EXTERN_INLINES].
14385
a4647e72
UD
143862011-12-17 Ulrich Drepper <drepper@gmail.com>
14387
14388 [BZ #13446]
14389 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14390
f0b264f1
AZ
143912011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14392
14393 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14394 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14395 optimized code.
14396 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14397 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14398 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14399 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14400 for strncasecmp/strncasecmp_l compilation.
14401 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14402 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14403
8ef4f244
MP
144042011-12-08 Marek Polacek <mpolacek@redhat.com>
14405
14406 [BZ #13484]
14407 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14408 of __asm__.
14409
97ac2654
UD
144102011-12-17 Ulrich Drepper <drepper@gmail.com>
14411
14412 [BZ #13506]
14413 * time/tzfile.c (__tzfile_read): Check values from file header.
14414
91d2a845
WS
144152011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14416
14417 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14418 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14419 * powerpc/powerpc32/dl-start.S: Likewise.
14420 * powerpc/powerpc32/elf/start.S: Likewise.
14421 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14422 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14423 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14424 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14425 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14426 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14427 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14428 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14429 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14430 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14431 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14432 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14433 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14434 * powerpc/powerpc32/memset.S: Likewise.
14435 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14436 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14437 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14438 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14439 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14440 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14441 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14442 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14443 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14444 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14445 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14446 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14447 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14448
a1267ba1
AZ
144492011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14450
14451 * math/libm-test.inc: Added more nearbyint tests.
14452 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14453 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14454 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14455 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14456
ad8ac1bd
RL
144572011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14458
14459 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14460 FD_CLOEXEC.
14461
1d3e4b61
UD
144622011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14463
14464 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14465 Add wcscpy-ssse3 wcscpy-c.
14466 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14467 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14468 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14469 * sysdeps/x86_64/wcschr.S: New file.
14470 * sysdeps/x86_64/wcsrchr.S: New file.
14471 * string/test-strcmp.c: Remove checking of wcscmp function for
14472 wrong alignments.
14473 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14474 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14475 wcsrchr-sse2 wcsrchr-c.
14476 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14477 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14478 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14479 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14480 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14481 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14482 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14483 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14484 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14485 * wcsmbc/wcschr.c (WCSCHR): New macro.
14486
5b330a2d
UD
144872011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14488
14489 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14490 * wcsmbs/test-wcsrchr.c: New file.
14491 * string/test-strrchr.c: Add wcsrchr support.
14492 (WIDE): New macro.
14493 * wcsmbs/test-wcscpy.c: New file.
14494 * string/test-strcpy.c: Add wcscpy support.
14495 (WIDE): New macro.
26428b7c 14496
f039c043
UD
144972011-12-10 Ulrich Drepper <drepper@gmail.com>
14498
14499 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14500 the inner loop.
14501
850fb039
AS
145022011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14503
14504 [BZ #13472]
14505 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14506
4efbd5cb
UD
145072011-12-04 Ulrich Drepper <drepper@gmail.com>
14508
52ff5dd0 14509 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 14510 Minor optimizations.
52ff5dd0 14511
4efbd5cb
UD
14512 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14513 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14514 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14515
8a426e12
UD
145162011-12-03 Ulrich Drepper <drepper@gmail.com>
14517
aff2453d
UD
14518 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14519 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14520 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14521 for gcc to avoid warnings.
14522 * inet/Makefile (tests): Add tst-checks.
14523 * inet/tst-checks.c: New file.
14524
14525 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14526 warning.
14527
14528 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14529 __wmemcmp_sse2.
14530
14531 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14532 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14533
8a426e12
UD
14534 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14535
9bea3473
UD
145362011-12-02 Ulrich Drepper <drepper@gmail.com>
14537
3a965496
UD
14538 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14539 problem.
14540
9bea3473
UD
14541 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14542
f101631b
UD
145432011-11-29 Joseph Myers <joseph@codesourcery.com>
14544
14545 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14546 conditional on GCC version.
14547 (__arch_compare_and_exchange_val_8_acq)
14548 (__arch_compare_and_exchange_val_16_acq)
14549 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14550 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14551 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14552
a98275aa
UD
145532011-12-02 Joseph Myers <joseph@codesourcery.com>
14554
14555 * sysdeps/sh/backtrace.c: New file.
14556
d4cc29a2
AS
145572011-12-02 Andreas Schwab <schwab@redhat.com>
14558
14559 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14560 parenthesis.
14561
6257af2d
AS
145622011-12-01 Andreas Schwab <schwab@redhat.com>
14563
14564 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14565 falling back to utime.
14566
b5f44c1a
AS
145672011-11-30 Andreas Schwab <schwab@redhat.com>
14568
14569 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14570 expectations for float.
14571
f3a6cc0a
AS
145722011-11-29 Andreas Schwab <schwab@redhat.com>
14573
14574 * locale/weight.h (findidx): Add parameter len.
14575 * locale/weightwc.h (findidx): Likewise.
14576 * posix/fnmatch_loop.c (FCT): Adjust caller.
14577 * posix/regcomp.c (build_equiv_class): Likewise.
14578 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14579 * posix/regexec.c (check_node_accept_bytes): Likewise.
14580 * string/strcoll_l.c (STRCOLL): Likewise.
14581 * string/strxfrm_l.c (STRXFRM): Likewise.
14582
9d65ea3a
UD
145832011-11-17 Ulrich Drepper <drepper@gmail.com>
14584
14585 * Makefile.in: Remove CVSOPT handling.
14586 * configure.in: Remove use of AC_REVISION.
14587 * iconvdata/Makefile (distribute): No need to filter out CVS.
14588 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14589 handling.
14590
5583a086
AS
145912011-11-16 Andreas Schwab <schwab@redhat.com>
14592
14593 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14594 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14595 [USE_AS_STRNCASECMP_L]: Likewise.
14596 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14597 NO_TLS_DIRECT_SEG_REFS.
14598 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14599 Fix argument offsets for non-PIC.
14600 [USE_AS_STRNCASECMP_L]: Likewise.
14601 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14602 NO_TLS_DIRECT_SEG_REFS.
14603
d62a8200
UD
146042011-11-15 Ulrich Drepper <drepper@gmail.com>
14605
9d65ea3a 14606 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
14607 O_CLOEXEC.
14608 * locale/loadlocale.c (_nl_load_locale): Likewise.
14609
09f93bd3
AS
146102011-11-15 Andreas Schwab <schwab@redhat.com>
14611
446514f9
AS
14612 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14613 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14614 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14615 (SYSCALL_GETTIME): Set errno on error.
14616
09f93bd3
AS
14617 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14618 count references to noai6ai_cached.
14619
312be3f9
UD
146202011-11-15 Ulrich Drepper <drepper@gmail.com>
14621
14622 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14623
14624 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14625 FD_CLOEXEC for /proc/self/maps.
14626
14627 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14628 FD_CLOEXEC for /proc/meminfo.
14629
14630 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14631 gai.conf.
14632
14633 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14634 FD_CLOEXEC for given file.
14635
14636 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14637
14638 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14639 FD_CLOEXEC for /etc/hosts.
14640 (_gethtent): Likewise.
14641
14642 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14643
14644 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14645 cancellation and set FD_CLOEXEC for /etc/netgroup.
14646
14647 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14648 reading /etc/publickey.
14649
14650 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14651 allow cancellation when reading /etc/group.
14652
14653 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14654 cancellation.
14655 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14656
14657 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14658 when using data file.
14659
14660 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14661
14662 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14663 (write_nis_obj): Use "c" and "e" in fopen.
14664
14665 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14666
14667 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14668
14669 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14670
14671 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14672
14673 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14674 locale.alias.
14675
14676 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14677
14678 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14679
14680 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14681
14682 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14683 file parsing and set FD_CLOEXEC.
14684
82af0fa8
UD
146852011-11-14 Ulrich Drepper <drepper@gmail.com>
14686
14687 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14688
a5fb313c
AS
146892011-11-14 Andreas Schwab <schwab@redhat.com>
14690
14691 * malloc/arena.c (arena_get2): Don't call reused_arena when
14692 _int_new_arena failed.
14693
6abf3465
UD
146942011-11-14 Ulrich Drepper <drepper@gmail.com>
14695
14696 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14697 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14698 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14699 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14700 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14701 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14702 to compile strcasecmp and strncasecmp.
14703 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14704 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14705
14706 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14707
76e3966e
UD
147082011-11-13 Ulrich Drepper <drepper@gmail.com>
14709
14710 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14711 locale-defines.sym to gen-as-const-headers.
14712 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14713 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14714 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14715 to compile strcasecmp and strncasecmp.
14716 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14717 strcasecmp_l and strncasecmp_l.
14718 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14719 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14720 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14721 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14722 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14723 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14724 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14725 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14726 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14727 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14728 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14729
ab26144e
UD
147302011-11-12 Ulrich Drepper <drepper@gmail.com>
14731
7edb22ef
UD
14732 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14733 result of SYSDEP_GETTIME_CPU to retval.
14734 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14735 parameter list to macro. Remove trailing semicolon. Adjust users.
14736
9694fc44
UD
14737 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14738 variable.
14739
8ad89ef8
UD
14740 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14741 mantissa words.
14742 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14743
0c822ef9
UD
14744 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14745 from unused variable.
14746
874e0564
UD
14747 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14748 DWARF definitions.
14749 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14750 for assembling.
14751
3a2edc79
UD
14752 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14753 over namespaces.
14754
f3c2577f
UD
14755 * sunrpc/rpc_prot.c (rejected): Fix case value.
14756
294ce126
UD
14757 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14758 unsigned long long int to avoid warnings in shift.
14759
5e2b63c6
UD
14760 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14761 of use of trans.
14762 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14763 variable tmp.
14764
e7f4b08e
UD
14765 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14766 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14767 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14768
ab26144e
UD
14769 * nis/nis_table.c (nis_list): Use variable of correct type for
14770 result of __follow_path call.
14771
8a6d5255
AZ
147722011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14773
14774 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14775 of math functions ceil, trunc, floor, round, and sqrt, when
14776 avaliable on the platform.
14777 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14778 name clash.
14779 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14780 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14781 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14782
aaddc98c
MP
147832011-10-30 Marek Polacek <mpolacek@redhat.com>
14784
14785 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14786 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14787
95b7042b
RM
147882011-11-11 Roland McGrath <roland@hack.frob.com>
14789
14790 * include/unistd.h: Fix __readlink return type.
14791 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14792
57769839
UD
147932011-11-11 Ulrich Drepper <drepper@gmail.com>
14794
14795 * stdlib/ucontext.h: Undo last change for makecontext.
14796
edc5984d
AS
147972011-11-11 Andreas Schwab <schwab@redhat.com>
14798
98591e58
AS
14799 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14800
edc5984d
AS
14801 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14802 * setjmp/setjmp.h: Mark functions as non-leaf.
14803 * setjmp/bits/setjmp2.h: Likewise.
14804 * stdlib/ucontext.h: Likewise.
14805
77cdc054
AS
148062011-11-10 Andreas Schwab <schwab@redhat.com>
14807
14808 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14809 (reused_arena): Don't check arena limit.
14810 (arena_get2): Atomically check arena limit.
14811
fe72eebd
UD
148122011-11-08 Ulrich Drepper <drepper@gmail.com>
14813
5f078c32
UD
14814 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14815 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14816
fe72eebd
UD
14817 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14818 instructions.
14819
ae1bc2fa
AS
148202011-11-07 Andreas Schwab <schwab@redhat.com>
14821
7583a88d
AS
14822 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14823 handler when locking.
14824
ae1bc2fa
AS
14825 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14826 Fix size of allocated buffer.
14827
10fb0bfa
AS
148282011-11-04 Andreas Schwab <schwab@redhat.com>
14829
998832a4
AS
14830 [BZ #10103]
14831 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14832 declarations for long double functions.
14833 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14834
10fb0bfa
AS
14835 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14836
3d7ba52b
AS
148372011-11-03 Andreas Schwab <schwab@redhat.com>
14838
a9ae54a1
AS
14839 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14840 installed.
14841
3d7ba52b
AS
14842 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14843 is disabled.
14844
bc8db248
ST
148452011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14846
14847 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14848
45b96dd6
AS
148492011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14850
647776f6
AS
14851 * include/alloca.h (stackinfo_alloca_round): Define.
14852 (extend_alloca): Use it.
14853 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14854 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14855 here.
14856
d91a8b93
AS
14857 * scripts/check-local-headers.sh: Ignore libaudit.h.
14858
45b96dd6
AS
14859 * nscd/Makefile (extra-objs): Make recursively expanded.
14860
432d41ce
UD
148612011-11-01 Ulrich Drepper <drepper@gmail.com>
14862
34372fc6
UD
14863 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14864 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14865
fadb59f8
UD
14866 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14867 * posix/tst-rfc3484-2.c: Likewise.
14868 * posix/tst-rfc3484-3.c: Likewise.
14869
78239589
UD
14870 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14871 process_vm_writev.
14872 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14873 process_vm_writev.
14874 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14875 process_vm_writev from libc using GLIBC_2.15 version.
14876
432d41ce
UD
14877 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14878
02f9c6cf
PP
148792011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14880
14881 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14882 stack usage.
14883
3a2c0242
UD
148842011-10-31 Ulrich Drepper <drepper@gmail.com>
14885
f4ec4833
UD
14886 [BZ #13367]
14887 * nss/getent.c (initgroups_keys): Show error message in case no group
14888 names are given.
14889
3a2c0242
UD
14890 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14891 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14892 __bump_nl_timestamp.
14893 * nscd/connections (nscd_init): When host database is served open
14894 netlink socket and request notification about configuration changes.
14895 (main_loop_poll): Track netlink file descriptor and bump timestamp
14896 in case data becomes available.
14897 (main_loop_epoll): Likewise.
14898 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14899 (database_pers_head): Add extra_data fileds.
14900 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14901 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14902 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14903 Adjust caller.
14904 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14905 in6ai data, call __free_in6ai.
14906 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14907 Add -DHAVE_NETLINK.
14908 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14909 interface information. Reuse previous data if netlink timestamp
14910 is not changed.
14911 (__bump_nl_timestamp): New function.
14912 (__free_in6ai): New function.
14913
636064eb
UD
149142011-10-30 Ulrich Drepper <drepper@gmail.com>
14915
14916 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14917 close_not_cancel_no_status here.
14918 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14919
9beb2334
UD
149202011-10-29 Ulrich Drepper <drepper@gmail.com>
14921
6ef76f3b
UD
14922 [BZ #13276]
14923 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14924 return value.
14925
0ffc4f3e 14926 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
14927 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14928 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14929
cb95113e
UD
149302011-07-03 Andreas Jaeger <aj@suse.de>
14931
14932 [BZ #10709]
14933 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14934 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14935 * math/libm-test.inc (sin_test): Add test case.
14936
a1b560ff
UD
149372011-10-29 Ulrich Drepper <drepper@gmail.com>
14938
c9aaface
UD
14939 [BZ #13337]
14940 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14941 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14942
d272e7f1
UD
14943 * elf/chroot_canon.c (chroot_canon): Cleanups.
14944
1bc33071
UD
14945 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14946
1760874d
TJ
14947 [BZ #13335]
14948 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14949 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14950
51d91b18
UD
14951 * string/test-strchr.c: Make usable for strchrnul testing.
14952 * string/test-strchrnul.c: New file.
14953 * string/Makefile (strop-tests): Add strchrnul.
14954
a1b560ff 14955 * po/it.po: Update from translation team.
b611fb81 14956 * po/es.po: Likewise.
a1b560ff 14957
a5b81e1f
UD
149582011-10-28 Ulrich Drepper <drepper@gmail.com>
14959
fd52bc6d
UD
14960 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14961 the three constants needed as parameters. Drop the others.
14962 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14963 __m128i_strloadu_tolower.
52e4b9eb
UD
14964 Create and initialize variable zero and use it in all the places
14965 where _mm_setzero_si128 was used.
fd52bc6d 14966
a5b81e1f
UD
14967 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14968 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14969 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14970 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14971 anymore.
14972 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14973 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14974 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14975 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14976 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14977 __mpranred, __mptan.
14978 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14979 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14980 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14981 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14982 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14983 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14984 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14985 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14986 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14987
b4343346
AS
149882011-10-28 Andreas Schwab <schwab@redhat.com>
14989
0c92d8a8
AS
14990 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14991 redefine if SHARED.
14992 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14993
b4343346
AS
14994 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14995 wide char related routines to wcsmbs subdir.
14996
3871f58f
AS
149972011-10-27 Andreas Schwab <schwab@redhat.com>
14998
14999 [BZ #13344]
15000 * misc/sys/cdefs.h (__THROWNL): Define.
15001 * posix/unistd.h: Use __THREADNL instead of __THREAD
15002 for memory synchronization functions.
15003
94d44d9f
RM
150042011-10-26 Roland McGrath <roland@hack.frob.com>
15005
21b64b15 15006 [BZ #13349]
94d44d9f
RM
15007 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
15008 doesn't exist.
15009 * manual/stdio.texi (Obstack Streams): Node removed.
15010
f6ce9294
AS
150112011-10-26 Andreas Schwab <schwab@redhat.com>
15012
80479147
AS
15013 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
15014 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15015 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15016
f6ce9294
AS
15017 * math/math_private.h (math_force_eval): Allow non-addressable
15018 arguments.
15019 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
15020
618280a1
UD
150212011-10-25 Ulrich Drepper <drepper@gmail.com>
15022
e0016b11
UD
15023 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
15024 file is not needed.
15025
15026 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
15027 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15028 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15029 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15030 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15031 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15032 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15033 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
15034 Add AVX variants.
15035 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
15036 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
15037 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
15038 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
15039 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
15040 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
15041 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
15042 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
15043 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
15044 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
15045 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
15046 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
15047 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
15048 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
15049 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
15050 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
15051 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
15052 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
15053 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
15054
15055 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
15056 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
15057
618280a1
UD
15058 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
15059 place. Use VEX encoding when compiling for AVX.
15060
37822576
AS
150612011-10-25 Andreas Schwab <schwab@redhat.com>
15062
1f1e1947
AS
15063 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
15064 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15065
37822576
AS
15066 * string/test-strchr.c (do_test): Don't generate NUL bytes.
15067
31ea014d
UD
150682011-10-25 Ulrich Drepper <drepper@gmail.com>
15069
d7826aa1 15070 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 15071 useless if() expression.
d7826aa1
UD
15072 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15073 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15074 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15075 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15076 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15077 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15078 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15079 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15080 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15081 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15082 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15083 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15084 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15085 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15086 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15087 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15088 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15089 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15090 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15091
31ea014d
UD
15092 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15093
16437fec
AS
150942011-10-25 Andreas Schwab <schwab@redhat.com>
15095
15096 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15097 condition.
15098 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15099
31d3cc00
UD
151002011-10-25 Ulrich Drepper <drepper@gmail.com>
15101
15102 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15103 .text section. Avoid duplicate constants.
15104 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15105 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15106 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15107 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15108 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15109 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15110 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15111 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15112 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15113 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15114 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15115 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15116 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15117 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15118 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15119 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15120 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15121 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15122 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15123 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15124 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15125 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15126 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15127 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15128 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15129 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15130 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15131 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15132 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15133 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15134 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15135 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15136 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15137 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15138 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15139 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15140 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15141 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15142 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15143 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15144 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15145 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15146 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15147 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15148 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15149
58985aa9
UD
151502011-10-24 Ulrich Drepper <drepper@gmail.com>
15151
202c9deb
UD
15152 * sysdeps/x86_64/dla.h: Move to ...
15153 * sysdeps/x86_64/fpu/dla.h: ...here.
15154 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15155 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 15156
af968f62
UD
15157 * config.make.in: Add have-mfma4 entry.
15158 * configure.in: Substitute libc_cv_cc_fma4.
15159 * math/Makefile (dbl-only-routines): Add sincostab.
15160 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15161 Use __sincostab not sincos.
15162 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15163 name is a macro.
15164 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15165 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15166 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15167 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15168 using __copysign.
15169 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15170 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15171 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15172 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15173 and __inv.
15174 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15175 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15176 __copysign.
15177 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15178 define aliases when function name is a macro.
15179 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15180 sysdeps/ieee754/dbl-64/sincos.tbl.
15181 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15182 fma4-enabled routines.
15183 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15184 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15185 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15186 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15187 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15188 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15189 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15190 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15191 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15192 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15193 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15194 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15195 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15196 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15197 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15198 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15199 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15200 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15201 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15202 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15203 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15204 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15205 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15206 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15207 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15208 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15209 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15210 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15211 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15212 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15213
58985aa9
UD
15214 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15215 rename.
15216 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15217 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15218 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15219 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15220 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15221 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15222 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15223 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15224
a201fbcf
AS
152252011-10-24 Andreas Schwab <schwab@redhat.com>
15226
15227 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15228
fc2ee42a
LD
152292011-10-23 Ulrich Drepper <drepper@gmail.com>
15230
bb3129bd
UD
15231 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15232
0275fff8
UD
15233 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15234 prediction.
15235 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15236
2fa2ae85
UD
15237 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15238 Remove unused variable magic_bits.
15239 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15240
fc2ee42a
LD
15241 * string/strnlen.c: Define and use STRNLEN macro.
15242 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15243 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15244 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15245 * wcsmbs/wcslen.c: Define and use WCSLEN.
15246 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15247 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15248 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15249 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15250 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15251 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15252 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15253
ce7dd29f
LD
152542011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15255
15256 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15257 strnlen-sse2-no-bsf.
15258 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15259 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15260 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15261 Add strnlen support.
15262 (USE_AS_STRNLEN): New macro.
15263 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15264 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15265 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15266 * sysdeps/x86_64/wcslen.S: New file.
15267
979c70a3
MZ
152682011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15269
15270 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15271 XMM-moves are used for copying on small sizes.
15272
2d09f82f
LD
152732011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15274
15275 * wcsmbs/Makefile (strop-tests): Add wcschr.
15276 * wcsmbs/test-wcschr.c: New file.
15277 * string/test-strchr.c: Update.
15278 Add wcschr support.
15279 (WIDE): New macro.
15280
619fccca
LD
152812011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15282
2d09f82f 15283 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
15284 * wcsmbs/test-wcslen.c: New file.
15285 * string/test-strlen.c: Update.
15286 Add wcslen support.
15287 (WIDE): New macro.
15288
09f699ea
UD
152892011-10-23 Ulrich Drepper <drepper@gmail.com>
15290
15291 * po/it.po: Update from translation team.
15292
95584d3b
LD
152932011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15294
15295 * sysdeps/x86_64/wcscmp.S: Update.
15296 Fix wrong comparison semantics.
15297 wcscmp shall use signed comparison not unsigned.
15298 Don't use substraction to avoid overflow bug.
15299 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15300 * wcsmbc/wcscmp.c: Likewise.
15301 * string/test-strcmp.c: Likewise.
15302 Add new tests to check cases with negative values.
15303
c8b3296b
UD
153042011-10-23 Ulrich Drepper <drepper@gmail.com>
15305
15306 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15307 * sysdeps/x86_64/dla.h: ...here. New file.
15308 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15309 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15310 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15311 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15312 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15313 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15314 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15315 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15316 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15317
246ad57a
AS
153182011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15319
15320 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15321 __ynl_finite aliases.
15322
a1a87169
UD
153232011-10-22 Ulrich Drepper <drepper@gmail.com>
15324
0d355eb7
UD
15325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15326
a1a87169
UD
15327 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15328 define DLA_FMA.
15329 [DLA_FMA] (EMULV): Use DLA_FMA.
15330 [DLA_FMA] (MUL12): Use EMULV.
15331 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15332 that are not needed.
15333 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15334 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15335 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15336 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15337 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15338 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15339 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15340
ee2aafe0
AS
153412011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15342
15343 * math/s_nan.c: Undef __nan.
15344 * math/s_nanf.c: Undef __nanf.
15345 * math/s_nanl.c: Undef __nanl.
15346 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15347 "math_private.h".
15348
bc62c2fb
UD
153492011-10-22 Ulrich Drepper <drepper@gmail.com>
15350
77425c63
UD
15351 * math/s_catan.c: Add branch predictions.
15352 * math/s_catanf.c: Likewise.
15353 * math/s_catanh.c: Likewise.
15354 * math/s_catanhf.c: Likewise.
15355 * math/s_catanhl.c: Likewise.
15356 * math/s_catanl.c: Likewise.
15357 * math/s_cexp.c: Likewise.
15358 * math/s_cexpf.c: Likewise.
15359 * math/s_cexpl.c: Likewise.
15360 * math/s_clog.c: Likewise.
15361 * math/s_clog10.c: Likewise.
15362 * math/s_clog10f.c: Likewise.
15363 * math/s_clog10l.c: Likewise.
15364 * math/s_clogf.c: Likewise.
15365 * math/s_clogl.c: Likewise.
15366 * math/s_csqrt.c: Likewise.
15367 * math/s_csqrtf.c: Likewise.
15368 * math/s_csqrtl.c: Likewise.
15369 * math/s_ctanf.c: Likewise.
15370 * math/s_ctanh.c: Likewise.
15371 * math/s_ctanhf.c: Likewise.
15372 * math/s_ctanhl.c: Likewise.
15373 * math/s_ctanl.c: Likewise.
15374
bc62c2fb
UD
15375 * math/math_private.h: Define __nan, __nanf, __nanl.
15376 * math/s_cacosh.c: Include <math_private.h>.
15377 * math/s_cacoshl.c: Likewise.
15378 * math/s_casinh.c: Likewise.
15379 * math/s_casinhf.c: Likewise.
15380 * math/s_casinhl.c: Likewise.
15381 * math/s_ccos.c: Rely entire on ccosh.
15382 * math/s_ccosf.c: Rely entire on ccoshf.
15383 * math/s_ccosl.c: Rely entirely on ccoshl.
15384 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15385 Remove tests for FE_INVALID.
15386 * math/s_ccoshf.c: Likewise.
15387 * math/s_ccoshl.c: Likewise.
15388 * math/s_csin.c: Likewise.
15389 * math/s_csinf.c: Likewise.
15390 * math/s_csinh.c Likewise.
15391 * math/s_csinhf.c: Likewise.
15392 * math/s_csinhl.c: Likewise.
15393 * math/s_csinl.c: Likewise.
15394 * math/s_ctan.c: Likewise.
15395 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15396 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15397 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15398
8ec250a4
UD
153992011-10-21 Ulrich Drepper <drepper@gmail.com>
15400
c196fed8
UD
15401 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15402 compilation problems.
15403
8ec250a4
UD
15404 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15405 __builtin_expect.
15406
8d4f46c6
UD
154072011-10-20 Ulrich Drepper <drepper@gmail.com>
15408
ed72b654
UD
15409 * sysdeps/i386/configure.in: Test for -mfma4 option.
15410 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15411 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15412 COMMON_CPUID_INDEX_80000001.
15413 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15414 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15415 use it if FMA3 is not supported.
15416 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15417
8d4f46c6
UD
15418 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15419 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15420
d45c60c2
AS
154212011-10-20 Andreas Schwab <schwab@redhat.com>
15422
15423 [BZ #12892]
15424 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15425 it would create a cycle with a link time dependency.
15426
d9a4d2ab
UD
154272011-10-19 Ulrich Drepper <drepper@gmail.com>
15428
855d1560
UD
15429 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15430 instruction.
15431 * string/Makefile (strop-tests): Add rawmemchr.
15432 * string/test-rawmemchr.c: New file.
15433
d9a4d2ab
UD
15434 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15435 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15436 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15437 when compiling str{,n}casecmp and when AVX is available. Hook up
15438 new optimized code in initializers.
15439
8f3b1ffe
AS
154402011-10-19 Andreas Schwab <schwab@redhat.com>
15441
15442 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15443 __feraiseexcept instead of feraiseexcept.
15444
d38f1dba
UD
154452011-10-18 Ulrich Drepper <drepper@gmail.com>
15446
d9a8d0ab
UD
15447 * math/math_private.h: Define defaults for libc_fetestexcept and
15448 libc_feupdateenv.
15449 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15450 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15451 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15452 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15453 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15454 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15455 libc_fetestexcept and libc_feupdateenv.
15456
4855e3dd
UD
15457 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15458 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15459 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15460 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15461 libc_feholdexcept_setround.
15462
581d30e3
UD
15463 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15464 Add s_nearbyint-c and s_nearbyintf-c.
15465 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15466 nearbyintf inlines.
15467 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15468 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15469 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15470 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15471
d38f1dba
UD
15472 * math/math_private.h: Define defaults for libc_fegetround,
15473 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15474 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15475 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15476 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15477 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15478 standard functions.
15479 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15480 Remove comments and hacks for old compiler versions.
15481 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15482 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15483 libc_feholdexceptl.
15484
caa6c9d8
AS
154852011-10-18 Andreas Schwab <schwab@redhat.com>
15486
15487 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
15488 (__feraiseexcept_renamed): Add __NTH.
15489 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
15490 namespace violations.
15491
97c066e6
UD
154922011-10-17 Ulrich Drepper <drepper@gmail.com>
15493
99ce7b04
UD
15494 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15495
1004d182
UD
15496 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15497
228a984d
UD
15498 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15499 recently added interfaces.
15500 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15501
c8553a6a
UD
15502 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15503 about macro parameter expansion.
15504
ed22dcf6
UD
15505 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15506 __NO_MATH_INLINES is defined. Cleanups.
15507
15508 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15509 and __floorf is target has SSE4.1.
15510 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15511 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15512 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15513 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15514
b171c137
UD
15515 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15516 name.
15517 (floorf): Likewise.
15518
97c066e6
UD
15519 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15520
629f62ef
AS
155212011-10-17 Andreas Schwab <schwab@redhat.com>
15522
49a43d80
AS
15523 * misc/sys/cdefs.h: Fix last change.
15524
629f62ef
AS
15525 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15526 database lookup.
15527
e453f6cd
UD
155282011-10-16 Ulrich Drepper <drepper@gmail.com>
15529
aa78043a
UD
15530 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15531
ad0f5cad
UD
15532 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15533 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15534 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15535 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15536 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15537 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15538 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15539 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15540 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15541 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15542 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15543 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15544 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15545 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15546 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15547 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15548 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15549 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15550 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15551 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15552 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15553 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15554
15555 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15556 ceil, ceilf, floor, floorf.
15557
15558 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15559 Perform IRELATIVE relocations last.
15560
e453f6cd
UD
15561 * elf/do-rel.h: Add another parameter nrelative, replacing the
15562 local variable with the same name. Change name of the function
15563 to end in Rel or Rela (uppercase).
15564 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15565 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15566 elf_dynamic_do_##reloc function.
15567
fd5bdc09
UD
155682011-10-15 Ulrich Drepper <drepper@gmail.com>
15569
79b195b5
UD
15570 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15571 is sufficient, at least on modern CPUs.
15572
d4a28569
UD
15573 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15574
b61099b5
UD
15575 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15576 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15577
bcf01e6d
UD
15578 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15579 __expl_finite.
15580 * math/bits/math-finite.h: Add entries for exp.
15581 * math/e_expl.c: Add __*_finite alias.
15582 * sysdeps/i386/fpu/e_exp.S: Likewise.
15583 * sysdeps/i386/fpu/e_expf.S: Likewise.
15584 * sysdeps/i386/fpu/e_expl.c: Likewise.
15585 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15586 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15587 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15588 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15589 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15590 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15591 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15592
ba1a0d59
UD
15593 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15594 is sufficient, at least on modern CPUs.
15595
fd5bdc09
UD
15596 * ctype/ctype-info.c (__ctype_init): Define.
15597 * include/ctype.h (__ctype_init): Declare.
15598 (__ctype_b_loc): The variable is always initialized.
15599 (__ctype_toupper_loc): Likewise.
15600 (__ctype_tolower_loc): Likewise.
15601 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15602 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15603
7872cfb0
AS
156042011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15605
b468825a
AS
15606 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15607
7872cfb0
AS
15608 * configure.in: Also look in $cxxmachine/include for C++ system
15609 headers.
15610
be13f7bf
LD
156112011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15612
15613 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15614 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15615 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15616 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15617 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15618 (USE_AS_WMEMCMP): New macro.
15619 Fixing indents.
15620 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15621 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15622 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15623 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15624 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15625 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15626 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15627 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15628 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15629 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15630 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15631 (USE_AS_WMEMCMP): New macro.
15632 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15633 * sysdeps/string/test-memcmp.c: Update.
15634 Fix simple_wmemcmp.
15635 Add new tests.
15636 * wcsmbs/wmemcmp.c: Update.
15637 (WMEMCMP): New macro.
15638 Fix overflow bug.
15639
556a2007
AJ
156402011-10-12 Andreas Jaeger <aj@suse.de>
15641
15642 [BZ #13268]
15643 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15644
538faaa7
UD
156452011-10-15 Ulrich Drepper <drepper@gmail.com>
15646
ab6737ff
UD
15647 * libio/iofwide.c (do_length): Avoid warning.
15648
538faaa7
UD
15649 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15650
396a21b1
UD
156512011-10-14 Ulrich Drepper <drepper@gmail.com>
15652
cdf2901f
UD
15653 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15654
38ad40ce
UD
15655 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15656 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15657 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15658 * sysdeps/i386/i686/fpu/e_log.S: New file.
15659 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15660 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15661
396a21b1
UD
15662 * ctype/ctype.h: Add support for inlined isXXX functions when
15663 compiling C++ code.
15664
6b1f68c9
AS
156652011-10-14 Andreas Schwab <schwab@redhat.com>
15666
349290c0
AS
15667 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15668
6b1f68c9
AS
15669 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15670
f2282d42
RM
156712011-10-13 Roland McGrath <roland@hack.frob.com>
15672
15673 [BZ #13291]
15674 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15675
5298ffa8
AS
156762011-10-13 Andreas Schwab <schwab@redhat.com>
15677
714fad23
AS
15678 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15679 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15680 feraiseexcept.
15681
81dcc7fb
AS
15682 * sysdeps/x86_64/memrchr.S: Check for zero size.
15683
5298ffa8
AS
15684 * string/stratcliff.c: Add memrchr tests.
15685
951fbcec
LD
156862011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15687
15688 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15689 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15690 rawmemchr-sse2 rawmemchr-sse2-bsf.
15691 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15692 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15693 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15694 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15695 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15696 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15697 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15698 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15699 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15700 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15701 * string/memrchr.c (MEMRCHR): New macro.
15702
0ac5ae23
UD
157032011-10-12 Ulrich Drepper <drepper@gmail.com>
15704
15705 Add integration with gcc's -ffinite-math-only and optimize wrapper
15706 functions in libm.
15707 * Versions.def: Define GLIBC_2.15 version for libm.
15708 * math/Makefile (headers): Add bits/math-finite.h.
15709 * math/bits/math-finite.h: New file.
15710 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15711 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15712 * math/e_acoshl.c: Add __*_finite alias.
15713 * math/e_acosl.c: Likewise.
15714 * math/e_asinl.c: Likewise.
15715 * math/e_atan2l.c: Likewise.
15716 * math/e_atanhl.c: Likewise.
15717 * math/e_coshl.c: Likewise.
15718 * math/e_exp10.c: Likewise.
15719 * math/e_exp10f.c: Likewise.
15720 * math/e_exp10l.c: Likewise.
15721 * math/e_exp2l.c: Likewise.
15722 * math/e_fmodl.c: Likewise.
15723 * math/e_gammal_r.c: Likewise.
15724 * math/e_hypotl.c: Likewise.
15725 * math/e_j0l.c: Likewise.
15726 * math/e_j1l.c: Likewise.
15727 * math/e_jnl.c: Likewise.
15728 * math/e_lgammal_r.c: Likewise.
15729 * math/e_log10l.c: Likewise.
15730 * math/e_log2l.c: Likewise.
15731 * math/e_logl.c: Likewise.
15732 * math/e_powl.c: Likewise.
15733 * math/e_sinhl.c: Likewise.
15734 * math/e_sqrtl.c: Likewise.
15735 * math/e_scalb.c: Completely rewritten and optimized.
15736 * math/e_scalbf.c: Likewise.
15737 * math/e_scalbl.c: Likewise.
15738 * math/w_acos.c: Likewise.
15739 * math/w_acosf.c: Likewise.
15740 * math/w_acosl.c: Likewise.
15741 * math/w_acosh.c: Likewise.
15742 * math/w_acoshf.c: Likewise.
15743 * math/w_acoshl.c: Likewise.
15744 * math/w_asin.c: Likewise.
15745 * math/w_asinf.c: Likewise.
15746 * math/w_asinl.c: Likewise.
15747 * math/w_atan2.c: Likewise.
15748 * math/w_atan2f.c: Likewise.
15749 * math/w_atan2l.c: Likewise.
15750 * math/w_atanh.c: Likewise.
15751 * math/w_atanhf.c: Likewise.
15752 * math/w_atanhl.c: Likewise.
15753 * math/w_exp10.c: Likewise.
15754 * math/w_exp10f.c: Likewise.
15755 * math/w_exp10l.c: Likewise.
15756 * math/w_fmod.c: Likewise.
15757 * math/w_fmodf.c: Likewise.
15758 * math/w_fmodl.c: Likewise.
15759 * math/w_j0.c: Likewise.
15760 * math/w_j0f.c: Likewise.
15761 * math/w_j0l.c: Likewise.
15762 * math/w_j1.c: Likewise.
15763 * math/w_j1f.c: Likewise.
15764 * math/w_j1l.c: Likewise.
15765 * math/w_jn.c: Likewise.
15766 * math/w_jnf.c: Likewise.
15767 * math/w_log.c: Likewise.
15768 * math/w_logf.c: Likewise.
15769 * math/w_logl.c: Likewise.
15770 * math/w_log10.c: Likewise.
15771 * math/w_log10f.c: Likewise.
15772 * math/w_log10l.c: Likewise.
15773 * math/w_log2.c: Likewise.
15774 * math/w_log2f.c: Likewise.
15775 * math/w_log2l.c: Likewise.
15776 * math/w_pow.c: Likewise.
15777 * math/w_powf.c: Likewise.
15778 * math/w_powl.c: Likewise.
15779 * math/w_remainder.c: Likewise.
15780 * math/w_remainderf.c: Likewise.
15781 * math/w_remainderl.c: Likewise.
15782 * math/w_scalb.c: Likewise.
15783 * math/w_scalbf.c: Likewise.
15784 * math/w_scalbl.c: Likewise.
15785 * math/w_sqrt.c: Likewise.
15786 * math/w_sqrtf.c: Likewise.
15787 * math/w_sqrtl.c: Likewise.
15788 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15789 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15790 used.
15791 * math/math_private.h: Declare __kernel_standard_f.
15792 * math/w_cosh.c: Remove cruft and optimize a bit.
15793 * math/w_coshf.c: Likewise.
15794 * math/w_coshl.c: Likewise.
15795 * math/w_exp2.c: Likewise.
15796 * math/w_exp2f.c: Likewise.
15797 * math/w_exp2l.c: Likewise.
15798 * math/w_hypot.c: Likewise.
15799 * math/w_hypotf.c: Likewise.
15800 * math/w_hypotl.c: Likewise.
15801 * math/w_lgamma.c: Likewise.
15802 * math/w_lgamma_r.c: Likewise.
15803 * math/w_lgammaf.c: Likewise.
15804 * math/w_lgammaf_r.c: Likewise.
15805 * math/w_lgammal.c: Likewise.
15806 * math/w_lgammal_r.c: Likewise.
15807 * math/w_sinh.c: Likewise.
15808 * math/w_sinhf.c: Likewise.
15809 * math/w_sinhl.c: Likewise.
15810 * math/w_tgamma.c: Likewise.
15811 * math/w_tgammaf.c: Likewise.
15812 * math/w_tgammal.c: Likewise.
15813 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15814 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15815 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15816 Minor optimizations. Pretty printing. Remove cruft.
15817 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15818 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15819 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15820 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15821 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15822 * sysdeps/i386/fpu/e_asin.S: Likewise.
15823 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15824 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15825 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15826 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15827 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15828 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15829 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15830 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15831 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15832 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15833 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15834 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15835 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15836 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15837 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15838 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15839 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15840 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15841 * sysdeps/i386/fpu/e_log.S: Likewise.
15842 * sysdeps/i386/fpu/e_log10.S: Likewise.
15843 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15844 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15845 * sysdeps/i386/fpu/e_log2.S: Likewise.
15846 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15847 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15848 * sysdeps/i386/fpu/e_logf.S: Likewise.
15849 * sysdeps/i386/fpu/e_logl.S: Likewise.
15850 * sysdeps/i386/fpu/e_pow.S: Likewise.
15851 * sysdeps/i386/fpu/e_powf.S: Likewise.
15852 * sysdeps/i386/fpu/e_powl.S: Likewise.
15853 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15854 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15855 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15856 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15857 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15858 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15859 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15860 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15861 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15862 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15863 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15864 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15865 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15866 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15867 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15868 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15869 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15870 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15871 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15872 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15873 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15874 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15875 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15876 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15877 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15878 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15879 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15880 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15881 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15882 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15883 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15884 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15885 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15886 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15887 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15888 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15889 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15890 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15891 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15892 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15893 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15894 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15895 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15896 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15897 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15898 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15899 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15900 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15901 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15902 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15903 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15904 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15905 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15906 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15907 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15908 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15909 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15910 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15911 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15912 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15913 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15914 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15915 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15916 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15917 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15918 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15919 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15920 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15921 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15922 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15923 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15924 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15925 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15926 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15927 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15928 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15929 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15930 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15931 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15932 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15933 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15934 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15935 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15936 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15937 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15938 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15939 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15940 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15941 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15942 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15943 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15944 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15945 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15946 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15947 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15948 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15949 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15950 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15951 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15952 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15953 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15954 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15955 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15956 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15957 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15958 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15959 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15960 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15961 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15962 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15963 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15964 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15965 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15966 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15967 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15968 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15969 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15970 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15971 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15972 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15973 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15974 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15975 (__isnanf): Likewise.
15976 (__isinf_ns): Likewise.
15977 (__isinf_nsf): Likewise.
15978 (__finite): Likewise.
15979 (__finitef): Likewise.
15980 (__ieee754_sqrt): Define as macro.
15981 (__ieee754_sqrtf): Define as macro.
15982 (__ieee754_sqrtl): Define as macro.
15983 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15984 inlined copy.
15985 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15986 __FINITE_MATH_ONLY__ consistent.
15987 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15988
12cc2fcd
AS
159892011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15990
a843a204
AS
15991 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15992 of rawmemchr.
15993
12cc2fcd
AS
15994 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15995
c853acd5
UD
159962011-10-09 Ulrich Drepper <drepper@gmail.com>
15997
15998 * po/ja.po: Update from translation team.
15999
c658d255
RM
160002011-10-08 Roland McGrath <roland@hack.frob.com>
16001
110946e4
RM
16002 * locale/programs/locarchive.c (prepare_address_space): New function.
16003 (create_archive, enlarge_archive, open_archive): Use it.
16004
50604220
RM
16005 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
16006 inside [SHARED], where it is used.
16007
c658d255
RM
16008 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
16009
16010 * nss/getent.c (netgroup_keys): Remove unused variable.
16011 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16012
6a621eb7
UD
160132011-10-08 Ulrich Drepper <drepper@gmail.com>
16014
7edb55ce
UD
16015 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
16016 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
16017 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
16018 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
16019 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
16020 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
16021 * math/Makefile (libm-calls): Add s_isinf_ns.
16022 * math/divtc3.c: Use __isinf_nsl instead of isinf.
16023 * math/multc3.c: Likewise.
16024 * math/s_casin.c: Likewise.
16025 * math/s_casinf.c: Likewise.
16026 * math/s_casinl.c: Likewise.
16027 * math/s_ccos.c: Likewise.
16028 * math/s_ccosf.c: Likewise.
16029 * math/s_ccosl.c: Likewise.
16030 * math/s_ctan.c: Likewise.
16031 * math/s_ctanf.c: Likewise.
16032 * math/s_ctanh.c: Likewise.
16033 * math/s_ctanhf.c: Likewise.
16034 * math/s_ctanhl.c: Likewise.
16035 * math/s_ctanl.c: Likewise.
16036 * math/w_fmod.c: Likewise.
16037 * math/w_fmodf.c: Likewise.
16038 * math/w_fmodl.c: Likewise.
16039 * math/w_remainder.c: Likewise.
16040 * math/w_remainderf.c: Likewise.
16041 * math/w_remainderl.c: Likewise.
16042 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
16043 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
16044 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
16045 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
16046 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
16047 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
16048 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
16049 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
16050
187da0ae
UD
16051 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
16052 of the number.
16053 * stdio-common/printf_fphex.c: Likewise.
16054 * stdio-common/printf_size.c: Likewise.
16055
9277c064
UD
16056 * math/e_exp10.c: Include math_private.h using <...> not "...".
16057 * math/e_exp10f.c: Likewise.
16058 * math/e_exp10l.c: Likewise.
16059 * math/e_exp2l.c: Likewise.
16060 * math/e_j0l.c: Likewise.
16061 * math/e_j1l.c: Likewise.
16062 * math/e_jnl.c: Likewise.
16063 * math/e_lgammal_r.c: Likewise.
16064 * math/e_rem_pio2l.c: Likewise.
16065 * math/e_scalb.c: Likewise.
16066 * math/e_scalbf.c: Likewise.
16067 * math/e_scalbl.c: Likewise.
16068 * math/k_cosl.c: Likewise.
16069 * math/k_sinl.c: Likewise.
16070 * math/k_tanl.c: Likewise.
16071 * math/s_cacoshf.c: Likewise.
16072 * math/s_catan.c: Likewise.
16073 * math/s_catanf.c: Likewise.
16074 * math/s_catanh.c: Likewise.
16075 * math/s_catanhf.c: Likewise.
16076 * math/s_catanhl.c: Likewise.
16077 * math/s_catanl.c: Likewise.
16078 * math/s_ccosh.c: Likewise.
16079 * math/s_ccoshf.c: Likewise.
16080 * math/s_ccoshl.c: Likewise.
16081 * math/s_cexp.c: Likewise.
16082 * math/s_cexpf.c: Likewise.
16083 * math/s_cexpl.c: Likewise.
16084 * math/s_clog.c: Likewise.
16085 * math/s_clog10.c: Likewise.
16086 * math/s_clog10f.c: Likewise.
16087 * math/s_clog10l.c: Likewise.
16088 * math/s_clogf.c: Likewise.
16089 * math/s_clogl.c: Likewise.
16090 * math/s_csin.c: Likewise.
16091 * math/s_csinf.c: Likewise.
16092 * math/s_csinh.c: Likewise.
16093 * math/s_csinhf.c: Likewise.
16094 * math/s_csinhl.c: Likewise.
16095 * math/s_csinl.c: Likewise.
16096 * math/s_csqrt.c: Likewise.
16097 * math/s_csqrtf.c: Likewise.
16098 * math/s_csqrtl.c: Likewise.
16099 * math/s_ctan.c: Likewise.
16100 * math/s_ctanf.c: Likewise.
16101 * math/s_ctanh.c: Likewise.
16102 * math/s_ctanhf.c: Likewise.
16103 * math/s_ctanhl.c: Likewise.
16104 * math/s_ctanl.c: Likewise.
16105 * math/s_ldexp.c: Likewise.
16106 * math/s_ldexpf.c: Likewise.
16107 * math/s_ldexpl.c: Likewise.
16108 * math/s_significand.c: Likewise.
16109 * math/s_significandf.c: Likewise.
16110 * math/s_significandl.c: Likewise.
16111 * math/w_acos.c: Likewise.
16112 * math/w_acosf.c: Likewise.
16113 * math/w_acosh.c: Likewise.
16114 * math/w_acoshf.c: Likewise.
16115 * math/w_acoshl.c: Likewise.
16116 * math/w_acosl.c: Likewise.
16117 * math/w_asin.c: Likewise.
16118 * math/w_asinf.c: Likewise.
16119 * math/w_asinl.c: Likewise.
16120 * math/w_atan2.c: Likewise.
16121 * math/w_atan2f.c: Likewise.
16122 * math/w_atan2l.c: Likewise.
16123 * math/w_atanh.c: Likewise.
16124 * math/w_atanhf.c: Likewise.
16125 * math/w_atanhl.c: Likewise.
16126 * math/w_cosh.c: Likewise.
16127 * math/w_coshf.c: Likewise.
16128 * math/w_coshl.c: Likewise.
16129 * math/w_dremf.c: Likewise.
16130 * math/w_exp10.c: Likewise.
16131 * math/w_exp10f.c: Likewise.
16132 * math/w_exp10l.c: Likewise.
16133 * math/w_exp2.c: Likewise.
16134 * math/w_exp2f.c: Likewise.
16135 * math/w_fmod.c: Likewise.
16136 * math/w_fmodf.c: Likewise.
16137 * math/w_fmodl.c: Likewise.
16138 * math/w_hypot.c: Likewise.
16139 * math/w_hypotf.c: Likewise.
16140 * math/w_hypotl.c: Likewise.
16141 * math/w_j0.c: Likewise.
16142 * math/w_j0f.c: Likewise.
16143 * math/w_j0l.c: Likewise.
16144 * math/w_j1.c: Likewise.
16145 * math/w_j1f.c: Likewise.
16146 * math/w_j1l.c: Likewise.
16147 * math/w_jn.c: Likewise.
16148 * math/w_jnf.c: Likewise.
16149 * math/w_jnl.c: Likewise.
16150 * math/w_lgamma.c: Likewise.
16151 * math/w_lgamma_r.c: Likewise.
16152 * math/w_lgammaf.c: Likewise.
16153 * math/w_lgammaf_r.c: Likewise.
16154 * math/w_lgammal.c: Likewise.
16155 * math/w_lgammal_r.c: Likewise.
16156 * math/w_log.c: Likewise.
16157 * math/w_log10.c: Likewise.
16158 * math/w_log10f.c: Likewise.
16159 * math/w_log10l.c: Likewise.
16160 * math/w_log2.c: Likewise.
16161 * math/w_log2f.c: Likewise.
16162 * math/w_log2l.c: Likewise.
16163 * math/w_logf.c: Likewise.
16164 * math/w_logl.c: Likewise.
16165 * math/w_pow.c: Likewise.
16166 * math/w_powf.c: Likewise.
16167 * math/w_powl.c: Likewise.
16168 * math/w_remainder.c: Likewise.
16169 * math/w_remainderf.c: Likewise.
16170 * math/w_remainderl.c: Likewise.
16171 * math/w_scalb.c: Likewise.
16172 * math/w_scalbf.c: Likewise.
16173 * math/w_scalbl.c: Likewise.
16174 * math/w_sinh.c: Likewise.
16175 * math/w_sinhf.c: Likewise.
16176 * math/w_sinhl.c: Likewise.
16177 * math/w_sqrt.c: Likewise.
16178 * math/w_sqrtf.c: Likewise.
16179 * math/w_sqrtl.c: Likewise.
16180 * math/w_tgamma.c: Likewise.
16181 * math/w_tgammaf.c: Likewise.
16182 * math/w_tgammal.c: Likewise.
16183
6a621eb7
UD
16184 * po/ja.po: Update from translation team.
16185
bf582445
AJ
161862011-09-29 Andreas Jaeger <aj@suse.de>
16187
f9efbf3a
AJ
16188 [BZ #13179]
16189 * sunrpc/netname.c (netname2host): Fix logic.
16190
bf582445
AJ
16191 [BZ #6779]
16192 [BZ #6783]
16193 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16194 correctly.
16195 * math/w_remainder.c (__remainder): Likewise.
16196 * math/w_remainderf.c (__remainderf): Likewise.
16197 * math/libm-test.inc (remainder_test): Add test cases.
16198
48693bea
AK
161992011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16200
16201 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16202 sdiv_qrnnd.
16203
42622229
LD
162042011-10-07 Ulrich Drepper <drepper@gmail.com>
16205
16206 * string/test-memcmp.c: Avoid unncessary #defines.
16207 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16208
093ecf92
LD
162092011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16210
16211 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16212 Use new sse2 version for core i3 - i7 as it's faster
16213 than sse42 version.
16214 (bit_Prefer_PMINUB_for_stringop): New.
16215 * sysdeps/x86_64/rawmemchr.S: Update.
16216 Replace with faster SSE2 version.
16217 * sysdeps/x86_64/memrchr.S: New file.
16218 * sysdeps/x86_64/memchr.S: Update.
16219 Replace with faster SSE2 version.
16220
fde56e5c
MP
162212011-09-12 Marek Polacek <mpolacek@redhat.com>
16222
16223 * elf/dl-load.c (lose): Add cast to avoid warning.
16224
21fd49a9
UD
162252011-10-07 Ulrich Drepper <drepper@gmail.com>
16226
5a06e643
UD
16227 * po/ca.po: Update from translation team.
16228
684ae515
UD
16229 * inet/getnetgrent_r.c: Hook up nscd.
16230 * nscd/Makefile (routines): Add nscd_netgroup.
16231 (nscd-modules): Add netgroupcache.
16232 (CFLAGS-netgroupcache.c): Define.
16233 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16234 (cache_search): Add const to second parameter.
16235 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16236 INNETGR.
16237 (dbs): Add netgrdb entry.
16238 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16239 (verify_persistent_db): Handle netgrdb.
16240 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16241 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16242 GETFDNETGR.
16243 (netgroup_response_header): Define.
16244 (innetgroup_response_header): Define.
16245 (datahead): Add netgroup_response_header and innetgroup_response_header
16246 elements.
16247 * nscd/nscd.conf: Add entries for netgroup cache.
16248 * nscd/nscd.h (dbtype): Add netgrdb.
16249 (_PATH_NSCD_NETGROUP_DB): Define.
16250 (netgroup_iov_disabled): Declare.
16251 (xmalloc, xcalloc, xrealloc): Move declarations here.
16252 (cache_search): Adjust prototype.
16253 Add netgroup-related prototypes.
16254 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16255 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16256 (__nscd_innetgr): Declare.
16257 * nscd/selinux.c (perms): Use access_vector_t as element type and
16258 add netgroup-related initializers.
16259 * nscd/netgroupcache.c: New file.
16260 * nscd/nscd_netgroup.c: New file.
16261 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16262 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16263 For four parameters use innetgr.
16264 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16265 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16266 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16267 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16268
21fd49a9
UD
16269 * nscd/connections.c (register_traced_file): Don't register file
16270 for disabled databases.
16271
054c0457
UD
162722011-10-06 Ulrich Drepper <drepper@gmail.com>
16273
32b63198
UD
16274 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16275
054c0457
UD
16276 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16277 from tree and freeing node.
16278
64031225
JO
162792011-09-25 Jiri Olsa <jolsa@redhat.com>
16280
16281 * nss/nsswitch.c (__nss_database_lookup): Handle
16282 nss_parse_service_list out of memory case.
16283
0490345c
JO
162842011-09-15 Jiri Olsa <jolsa@redhat.com>
16285
16286 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16287 out of memory case.
16288
3a62d00d
AS
162892011-10-04 Andreas Schwab <schwab@redhat.com>
16290
16291 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16292 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16293 pass it down.
16294 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16295 elf_machine_rela, elf_machine_lazy_rel.
16296 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16297 (ELF_DYNAMIC_DO_REL): Likewise.
16298 (ELF_DYNAMIC_DO_RELA): Likewise.
16299 (ELF_DYNAMIC_RELOCATE): Likewise.
16300 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16301 to ELF_DYNAMIC_DO_REL.
16302 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16303 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16304 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16305 elf_machine_rela.
16306 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16307 skip_ifunc, don't call ifunc function if non-zero.
16308 (elf_machine_rela): Likewise.
16309 (elf_machine_lazy_rel): Likewise.
16310 (elf_machine_lazy_rela): Likewise.
16311 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16312 (elf_machine_lazy_rel): Likewise.
16313 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16314 Likewise.
16315 (elf_machine_lazy_rel): Likewise.
16316 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16317 Likewise.
16318 (elf_machine_lazy_rel): Likewise.
16319 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16320 (elf_machine_lazy_rel): Likewise.
16321 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16322 (elf_machine_lazy_rel): Likewise.
16323 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16324 (elf_machine_lazy_rel): Likewise.
16325 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16326 (elf_machine_lazy_rel): Likewise.
16327 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16328 (elf_machine_lazy_rel): Likewise.
16329 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16330 (elf_machine_lazy_rel): Likewise.
16331
68577918
UD
163322011-09-28 Ulrich Drepper <drepper@gmail.com>
16333
16334 * nss/nss_files/files-init.c (_nss_files_init): Use static
16335 initialization for all the *_traced_file variables.
16336
68822d74
AS
163372011-09-28 Andreas Schwab <schwab@redhat.com>
16338
16339 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16340
2056100b
RM
163412011-09-27 Roland McGrath <roland@hack.frob.com>
16342
16343 [BZ #13226]
16344 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16345
32c76b63
AS
163462011-09-27 Andreas Schwab <schwab@redhat.com>
16347
16348 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16349 Reread the line before reparsing it.
16350
bf972c9d
AS
163512011-09-26 Andreas Schwab <schwab@redhat.com>
16352
16353 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16354
e057a1b5
JM
163552011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16356 Maxim Kuvyrkov <maxim@codesourcery.com>
16357 Joseph Myers <joseph@codesourcery.com>
16358
16359 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16360 if needed for __stack_chk_guard.
16361
bc7e1c36
RM
163622011-09-19 Roland McGrath <roland@hack.frob.com>
16363
ecb1482f
RM
16364 * sysdeps/posix/spawni.c (script_execute): Always define it.
16365 It will be optimized away if unused.
16366 (maybe_script_execute): New function.
16367 (__spawni): Call it.
16368
bc7e1c36
RM
16369 * Makerules: Don't include tls.make.
16370 (config-tls): Always set to thread.
16371 * tls.make.c: File removed.
16372
1c3b002b
MF
163732011-09-19 Mike Frysinger <vapier@gentoo.org>
16374
16375 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16376 * config.make.in (CPPFLAGS-config): New substituted variable.
16377
2840865d
UD
163782011-09-15 Ulrich Drepper <drepper@gmail.com>
16379
88738eb6
UD
16380 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16381
cbf645a6 16382 [BZ #13192]
2840865d
UD
16383 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16384 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16385
b402e91a
RM
163862011-09-15 Roland McGrath <roland@hack.frob.com>
16387
16388 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16389 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16390 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16391 (CALL_FAIL): Likewise.
16392 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16393 (CALL_FAIL): Macro removed.
16394 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16395
4c1a1f71
UD
163962011-09-15 Ulrich Drepper <drepper@gmail.com>
16397
16398 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16399 for __FINITE_MATH_ONLY__ == 1.
16400
edc121be
AS
164012011-09-15 Andreas Schwab <schwab@redhat.com>
16402
16403 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16404 __ieee754_sqrt instead of sqrt.
16405 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16406 __ieee754_sqrtf instead of sqrtf.
16407 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16408 __floorf instead of floorf.
16409 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16410 __floorf, __truncf instead of floorf, truncf.
16411
cd205654
UD
164122011-09-14 Ulrich Drepper <drepper@gmail.com>
16413
ee4d0315
UD
16414 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16415
cd205654
UD
16416 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16417 __extern_always_inline.
16418 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16419 32-bit.
16420
48b67d71
AS
164212011-09-14 Andreas Schwab <schwab@redhat.com>
16422
16423 * elf/rtld.c (dl_main): Also relocate in dependency order when
16424 doing symbol dependency testing.
16425
1ae12c75
AS
164262011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16427
16428 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16429 Always define `refsym'.
16430
995a80df
AS
164312011-09-13 Andreas Schwab <schwab@redhat.com>
16432
e529793b
AS
16433 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16434 (__FD_ELT): Renamed from __FDELT.
16435 * misc/bits/select2.h (__FD_ELT): Likewise.
16436 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16437 __FD_MASK instead of __FDELT, __FDMASK.
16438 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16439 Likewise.
16440 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16441 Likewise.
16442
52d4fef8
AS
16443 * elf/Makefile (gen-ldd): Fix pattern.
16444
995a80df
AS
16445 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16446 (init_tls): Likewise.
16447
8682f8b0
UD
164482011-09-12 Ulrich Drepper <drepper@gmail.com>
16449
16450 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16451
de82006d
AS
164522011-09-12 Andreas Schwab <schwab@redhat.com>
16453
a7c8e6a1
AS
16454 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16455 `struct cmsghdr *' instead of `void *'.
16456 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16457 Likewise.
16458
0f31fe77
AS
164592011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16460
16461 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16462 if non-absolute.
16463 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16464 ldd_rewrite_script.
0f31fe77 16465
32b4c839
UD
164662011-09-11 Ulrich Drepper <drepper@gmail.com>
16467
83cd1420
UD
16468 * configure.in: Remove --with-tls option.
16469 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16470 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16471 out in case it is missing.
16472 * sysdeps/ia64/elf/configure.in: Likewise.
16473 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16474 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16475 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16476 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16477 * sysdeps/sh/elf/configure.in: Likewise.
16478 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16479 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16480 * sysdeps/x86_64/elf/configure.in: Likewise.
16481 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16482 * sysdeps/mach/hurd/tls.h: Likewise.
16483
633f745d
UD
16484 [BZ #13067]
16485 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16486
f318beb8
UD
16487 [BZ #13090]
16488 * configure.in: Fix use of AC_INIT.
16489
32b4c839
UD
16490 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16491
3ce1f295
UD
164922011-09-10 Ulrich Drepper <drepper@gmail.com>
16493
bb016596
UD
16494 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16495 __set_errno.
8e58439c
UD
16496 * malloc/hooks.c: Likewise.
16497
aebae053 16498 [BZ #11929]
02d46fc4
UD
16499 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16500 variables statically.
16501 (narenas): Initialize.
16502 (list_lock): Initialize.
bb016596
UD
16503 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16504 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
16505 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16506 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16507 Add initializers to main_arena and mp_.
16508 (malloc_state): Remove pagesize member. Change all users to use
16509 GLRO(dl_pagesize).
16510
16511 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16512 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16513 is always initialized.
16514
22a89187
UD
16515 * malloc/malloc.c: Removed unused configurations and dead code.
16516 * malloc/arena.c: Likewise.
16517 * malloc/hooks.c: Likewise.
02d46fc4 16518 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 16519
d063d164
UD
16520 * include/tls.h: Removed. USE___THREAD must always be defined.
16521 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16522 * elf/dl-libc.c: Likewise.
16523 * elf/dl-tsd.c: Likewise.
16524 * include/errno.h: Likewise.
16525 * include/netdb.h: Likewise.
16526 * include/resolv.h: Likewise.
16527 * inet/herrno-loc.c: Likewise.
16528 * inet/herrno.c: Likewise.
16529 * malloc/arena.c: Likewise.
16530 * malloc/hooks.c: Likewise.
16531 * malloc/malloc.c: Likewise.
16532 * resolv/res-state.c: Likewise.
16533 * resolv/res_libc.c: Likewise.
16534 * sysdeps/i386/dl-machine.h: Likewise.
16535 * sysdeps/ia64/dl-machine.h: Likewise.
16536 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16537 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16538 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16539 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16540 * sysdeps/sh/dl-machine.h: Likewise.
16541 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16542 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16543 * sysdeps/unix/i386/sysdep.S: Likewise.
16544 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16545 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16546 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16547 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16548 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16549 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16550 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16551 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16552 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16553 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16554 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16555 * sysdeps/x86_64/dl-machine.h: Likewise.
16556 * tls.make.c: Likewise.
16557
3ce1f295
UD
16558 * configure.in: Remove --with-__thread option. Make tests for
16559 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16560 tls_model attribute fail if no support is available. Remove
16561 USE_IN_LIBIO.
16562 * Makeconfig: Adjust for dropped configure option. All features are
16563 now mandatory.
16564 * Makerules: Likewise.
16565 * Versions.def: Likewise.
16566 * argp/argp-fmtstream.c: Likewise.
16567 * argp/argp-fmtstream.h: Likewise.
16568 * argp/argp-help.c: Likewise.
16569 * assert/assert.c: Likewise.
16570 * config.h.in: Likewise.
16571 * config.make.in: Likewise.
16572 * configure: Likewise.
16573 * configure.in: Likewise.
16574 * csu/Versions: Likewise.
16575 * csu/init.c: Likewise.
16576 * elf/tst-audit2.c: Likewise.
16577 * elf/tst-tls10.c: Likewise.
16578 * elf/tst-tls10.h: Likewise.
16579 * elf/tst-tls11.c: Likewise.
16580 * elf/tst-tls12.c: Likewise.
16581 * elf/tst-tls14.c: Likewise.
16582 * elf/tst-tlsmod11.c: Likewise.
16583 * elf/tst-tlsmod12.c: Likewise.
16584 * elf/tst-tlsmod13.c: Likewise.
16585 * elf/tst-tlsmod13a.c: Likewise.
16586 * elf/tst-tlsmod14a.c: Likewise.
16587 * elf/tst-tlsmod15b.c: Likewise.
16588 * elf/tst-tlsmod16a.c: Likewise.
16589 * elf/tst-tlsmod16b.c: Likewise.
16590 * elf/tst-tlsmod7.c: Likewise.
16591 * elf/tst-tlsmod8.c: Likewise.
16592 * elf/tst-tlsmod9.c: Likewise.
16593 * gmon/gmon.c: Likewise.
16594 * grp/fgetgrent_r.c: Likewise.
16595 * grp/putgrent.c: Likewise.
16596 * hurd/fopenport.c: Likewise.
16597 * include/libc-symbols.h: Likewise.
16598 * include/tls.h: Likewise.
16599 * intl/gettextP.h: Likewise.
16600 * intl/loadinfo.h: Likewise.
16601 * locale/global-locale.c: Likewise.
16602 * locale/localeinfo.h: Likewise.
16603 * mach/devstream.c: Likewise.
16604 * malloc/arena.c: Likewise.
16605 * malloc/set-freeres.c: Likewise.
16606 * misc/err.c: Likewise.
16607 * misc/getttyent.c: Likewise.
16608 * misc/mntent_r.c: Likewise.
16609 * posix/getopt.c: Likewise.
16610 * posix/wordexp.c: Likewise.
16611 * pwd/fgetpwent_r.c: Likewise.
16612 * resolv/Versions: Likewise.
16613 * resolv/res_hconf.c: Likewise.
16614 * shadow/fgetspent_r.c: Likewise.
16615 * shadow/putspent.c: Likewise.
16616 * stdio-common/printf_fphex.c: Likewise.
16617 * stdio-common/tmpfile.c: Likewise.
16618 * stdlib/abort.c: Likewise.
16619 * stdlib/fmtmsg.c: Likewise.
16620 * sunrpc/auth_unix.c: Likewise.
16621 * sunrpc/clnt_perr.c: Likewise.
16622 * sunrpc/clnt_tcp.c: Likewise.
16623 * sunrpc/clnt_udp.c: Likewise.
16624 * sunrpc/clnt_unix.c: Likewise.
16625 * sunrpc/openchild.c: Likewise.
16626 * sunrpc/svc_simple.c: Likewise.
16627 * sunrpc/svc_tcp.c: Likewise.
16628 * sunrpc/svc_udp.c: Likewise.
16629 * sunrpc/svc_unix.c: Likewise.
16630 * sunrpc/xdr.c: Likewise.
16631 * sunrpc/xdr_array.c: Likewise.
16632 * sunrpc/xdr_rec.c: Likewise.
16633 * sunrpc/xdr_ref.c: Likewise.
16634 * sunrpc/xdr_stdio.c: Likewise.
16635
1248c1c4
PB
166362011-09-09 Ulrich Drepper <drepper@gmail.com>
16637
16638 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16639
166402011-07-03 Andreas Jaeger <aj@suse.de>
16641
16642 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16643 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16644 regenerate with gen-libm-tests.pl.
16645
166462010-05-12 Petr Baudis <pasky@suse.cz>
16647
16648 [BZ #11589]
16649 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16650 around j0() zero points by switching to j1().
16651 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16652 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16653 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16654 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16655
f22e1074
UD
166562011-09-09 Ulrich Drepper <drepper@gmail.com>
16657
f19009c1
UD
16658 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16659 instead of 0.
16660 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16661 instead of 0. .
16662 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16663 Patch in part by Pavel Roskin <proski@gnu.org>.
16664
3f8cc204
UD
16665 [BZ #13138]
16666 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16667 realloc.
16668 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16669 Free memory block if necessary.
16670
f22e1074
UD
16671 [BZ #12847]
16672 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16673 be NULL. Don't lock in this case.
16674
0a2349f9
RM
166752011-09-09 Roland McGrath <roland@hack.frob.com>
16676
16677 * elf/elf.h (ELFOSABI_GNU): New macro.
16678 (ELFOSABI_LINUX): Define to that.
16679
f3cdd467
DZ
166802011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16681
16682 * string/strncat.c (strncat): Undef the symbol in case it has been
16683 defined in bits/string.h.
16684
74718d13
UD
166852011-09-09 Ulrich Drepper <drepper@gmail.com>
16686
633e9e0f
UD
16687 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16688
0a2349f9 16689 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
16690 link map.
16691
f9924780
AJ
166922011-08-17 Andreas Jaeger <aj@suse.de>
16693
16694 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16695
7f5517aa
PP
166962011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16697 Ian Lance Taylor <iant@google.com>
16698
16699 * math/libm-test.inc (lround_test): New testcase.
16700 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16701
762011fe
UD
167022011-09-08 Ulrich Drepper <drepper@gmail.com>
16703
92963737
UD
16704 * Makefile: Remove support for automatic cvs check-ins.
16705 * Makerules: Likewise.
16706 * config.make.in: Likewise.
16707 * configure.in: Likewise.
16708 * intl/Makefile: Likewise.
16709 * locale/Makefile: Likewise.
16710 * po/Makefile: Likewise.
16711 * posix/Makefile: Likewise.
16712 * sysdeps/gnu/Makefile: Likewise.
16713 * sysdeps/mach/hurd/Makefile: Likewise.
16714 * sysdeps/sparc/sparc32/Makefile: Likewise.
16715
b0727fd8
JS
16716 [BZ #13118]
16717 * posix/Makefile (bug-regex32-ENV): Define.
16718 Patch by John Stanley <jpsinthemix@verizon.net>.
16719
a0f33f99
UD
16720 * misc/Makefile (headers): Add bits/select2.h.
16721 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16722 * misc/bits/select2.h: New file.
16723 * include/bits/select2.h: New file.
16724 * debug/Makefile (routines): Add fdelt_chk.
16725 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16726 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16727 FD_ISSET.
16728 * debug/fdelt_chk.c: New file.
16729
762011fe
UD
16730 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16731 * wcsmbs/test-wmemcmp.c: Likewise.
16732 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16733 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16734
167352011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16736
16737 * string/Makefile (strop-tests): Add memcmp.
16738 * string/test-wmemcmp.c: New file.
16739 * string/test-memcmp.c: Add wmemcmp support.
16740
7f513ec8
RM
167412011-09-08 Roland McGrath <roland@hack.frob.com>
16742
0442afb4
RM
16743 [BZ #13153]
16744 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16745 2011-07-19 change.
16746
7f513ec8
RM
16747 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16748 garbage value in a __mach_port_mod_refs call in the cases of the
16749 task-self and thread-self ports.
16750
a12b2239
ST
167512011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16752
16753 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16754
610f9ab4
AS
167552011-09-08 Andreas Schwab <schwab@redhat.com>
16756
7f513ec8 16757 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 16758
48882a1a
LD
167592011-09-07 Ulrich Drepper <drepper@gmail.com>
16760
b49865be
UD
16761 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16762
fdc86bc9
UD
16763 * elf/dl-libc.c (dlerror_run): Pass back error code from
16764 dl_catch_error.
16765
c966526a
UD
16766 [BZ #13123]
16767 * elf/dl-load.c (lose): Free l_origin if it is valid.
16768
48882a1a
LD
16769 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16770 names.
16771 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16772 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16773 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16774 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16775 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16776 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16777
77a2a8b4
AZ
167782011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16779
16780 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16781 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16782 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16783 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16784 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16785 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16786 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16787 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16788 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16789 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16790
24f579d8
AM
167912011-08-15 Alan Modra <amodra@gmail.com>
16792
16793 [BZ #13092]
16794 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16795 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16796 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16797 ppc_mcount to static-only-routines.
16798 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16799 __mcount_internal.
16800 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16801 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16802
3d4837df
UD
168032011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16804
16805 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16806 for finite and infinity parameters.
16807
22700377
WS
168082011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16809
16810 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16811 and add nop instructions for throughput optimization.
16812 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16813
5025581e
WS
168142011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16815
16816 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16817 aligned copy for power7 with vector-scalar instructions.
16818 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16819
08a300c9
L
168202011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16821
16822 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16823 AVX check.
16824
59178ef9
AS
168252011-09-07 Andreas Schwab <schwab@redhat.com>
16826
16827 [BZ #13144]
16828 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16829 last change.
16830
e38ba7ab
UD
168312011-09-07 Ulrich Drepper <drepper@gmail.com>
16832
16833 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16834 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16835 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16836 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16837 clock_gettime.
16838
d53a73ac
UD
168392011-09-06 Ulrich Drepper <drepper@gmail.com>
16840
fc8bffcc
UD
16841 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16842 Forgot to demangle the pointer.
16843
ceaa0c5d
UD
16844 * sysdeps/i386/sysdep.h: Define atom_text_section.
16845 * sysdeps/x86_64/sysdep.h: Likewise.
16846 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16847 section with atom_text_section.
16848 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16849 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16850 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16851 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16852 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16853
a77d3c17
UD
16854 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16855 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16856 already be defined. Change to take two parameters and don't assign
16857 result to variable. Adjust all users.
16858 Define INTERNAL_GETTIME if not already defined.
16859 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16860 call.
16861 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16862 HAVE_CLOCK_GETTIME_VSYSCALL.
16863 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16864
d53a73ac
UD
16865 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16866 gettimeofday vsyscall, just use time.
16867
a8f84144
AS
168682011-09-06 Andreas Schwab <schwab@redhat.com>
16869
16870 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16871 <errno.h>.
16872
ef606249
UD
168732011-09-06 Ulrich Drepper <drepper@gmail.com>
16874
16875 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16876 syscall on x86-64.
16877 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16878 syscall.
16879 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16880 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16881 syscall if possible.
16882
6585cb60
UD
168832011-09-05 Ulrich Drepper <drepper@gmail.com>
16884
16885 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16886 e_ident. Don't pass to find_mapsXX.
16887 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16888
a5f524e4
LD
168892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16890
16891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16892 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16893 * sysdeps/x86_64/multiarch/strchr.S: Update.
16894 Check bit_slow_BSF bit.
16895 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16896 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16897 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16898
554881ef
UD
168992011-09-05 Ulrich Drepper <drepper@gmail.com>
16900
d96de963
UD
16901 [BZ #13134]
16902 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16903 before glibc 2.15.
16904 (tryshell): Define.
16905 (__spawni): Change last parameter to be flag. Test
16906 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16907 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16908 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16909 * posix/spawni.c: Likewise.
16910 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16911 * posix/spawnp.c: Likewise. Change normal version to use
16912 SPAWN_XFLAGS_USE_PATH.
16913 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16914 SPAWN_XFLAGS_TRY_SHELL.
16915
d48e5868
UD
16916 [BZ #13150]
16917 * posix/glob.h: Remove gcc 1.x support.
16918
554881ef
UD
16919 [BZ #13068]
16920 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16921
693fb948
LD
169222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16923
16924 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16925 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16926 strrchr-sse2-bsf
16927 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16928 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16929 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16930 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16931 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16932 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16933
1b48c537
UD
169342011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16935
49d42c37
UD
16936 * sysdeps/x86_64/wcscmp.S: New file.
16937
1b48c537
UD
16938 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16939 wcscmp-c wcscmp-sse2
16940 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16941 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16942 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16943 * wcsmbs/wcscmp.c: Allow renaming.
16944
15c95c5d
DM
169452011-09-05 David S. Miller <davem@davemloft.net>
16946
16947 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16948 stack slot, rather than the struct return pointer slot.
16949 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16950 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16952 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16953
2f0ad8f3
UD
169542011-09-05 Ulrich Drepper <drepper@gmail.com>
16955
d88ae418
UD
16956 * po/ja.po: Update from translation team.
16957
2f0ad8f3
UD
16958 [BZ #13144]
16959 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16960 kernel in 64-bit binaries.
16961
5f4318d1
DM
169622011-09-01 David S. Miller <davem@davemloft.net>
16963
16964 * elf/elf.h (HWCAP_SPARC_*): Move to..
16965 * sysdeps/sparc/sysdep.h: this new file and add new values.
16966 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16967 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16968 _DL_HWCAP_COUNT to 24.
16969 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16970 entries.
16971 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16972 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16973 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16974 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16975 instead of magic constants.
16976 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16977
3ba57516
DM
169782011-08-31 David S. Miller <davem@davemloft.net>
16979
16980 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16981 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16982 Reimplement to do errno handling inline.
16983 (SYSCALL_ERROR_HANDLER): New macro.
16984 (__SYSCALL_STRING): Do not do errno handling in asm.
16985 (__CLONE_SYSCALL_STRING): Delete.
16986 (__INTERNAL_SYSCALL_STRING): Delete.
16987 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16988 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16989 (PSEUDO): Reimplement to do errno handling inline.
16990 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16991 (SYSCALL_ERROR_HANDLER): New macro.
16992 (__SYSCALL_STRING): Do not do errno handling in asm.
16993 (__CLONE_SYSCALL_STRING): Delete.
16994 (__INTERNAL_SYSCALL_STRING): Delete.
16995 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16996 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16997 i386.
16998 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16999 (inline_syscall*): Add 'err' argument.
17000 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
17001 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
17002 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
17003 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
17004
17005 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
17006 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17007
2bc17433
AS
170082011-08-30 Andreas Schwab <schwab@redhat.com>
17009
17010 * elf/rtld.c (dl_main): Relocate objects in dependency order.
17011
fbeb5f4d
JO
170122011-08-29 Jiri Olsa <jolsa@redhat.com>
17013
17014 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
17015 directive.
17016
ad69cc26
DM
170172011-08-24 David S. Miller <davem@davemloft.net>
17018
17019 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
17020
39dd69df
AS
170212011-08-24 Andreas Schwab <schwab@redhat.com>
17022
17023 * elf/Makefile: Add rules to build and run unload8 test.
17024 * elf/unload8.c: New file.
17025 * elf/unload8mod1.c: New file.
17026 * elf/unload8mod1x.c: New file.
17027 * elf/unload8mod2.c: New file.
17028 * elf/unload8mod3.c: New file.
17029
17030 * elf/dl-close.c (_dl_close_worker): Reset private search list if
17031 it wasn't used.
17032
2c0b250a
DM
170332011-08-23 David S. Miller <davem@davemloft.net>
17034
17035 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
17036 subtract stack bias.
17037 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
17038 %sp not %fp in calculations.
17039 (_JMPBUF_UNWINDS_ADJ): Likewise.
17040
22044b48
DM
17041 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
17042 (aio_suspend): Call it to force an exception region around the
17043 AIO_MISC_WAIT() invocation.
17044
2cae4995
AS
170452011-08-23 Andreas Schwab <schwab@redhat.com>
17046
17047 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
17048 backslash.
17049
873a772e
AJ
170502011-07-04 Aurelien Jarno <aurelien@aurel32.net>
17051
17052 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
17053 protection macro.
17054 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
17055 and <dl-machine.h>.
17056 (Elf64_FuncDesc): Remove.
17057
25ad0df1
DM
170582011-08-22 David S. Miller <davem@davemloft.net>
17059
17060 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
17061 sigaltstack check, add missing cfi directives.
17062 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
17063 missing cfi directives, and sigaltstack handling.
17064
e888bcbe
AS
170652011-08-16 Andreas Schwab <schwab@redhat.com>
17066
17067 [BZ #11724]
17068 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
17069 object is seen twice.
17070 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17071
17072 * elf/Makefile (distribute): Add tst-initorder2.c.
17073 (tests): Add tst-initorder2.
17074 (modules-names): Add tst-initorder2a tst-initorder2b
17075 tst-initorder2c tst-initorder2d. Add rules to build them.
17076 ($(objpfx)tst-initorder2.out): New rule.
17077 * elf/tst-initorder2.c: New file.
17078 * elf/tst-initorder2.exp: New file.
17079
87162f46
AS
170802011-08-22 Andreas Schwab <schwab@redhat.com>
17081
70538b7f
AS
17082 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17083
f55ffe58
AS
17084 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17085 dependencies back to end of function.
17086
87162f46
AS
17087 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17088 $(elfobjdir)/ld.so.
17089
91b392a4
UD
170902011-08-21 Ulrich Drepper <drepper@gmail.com>
17091
17092 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17093 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17094 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17095 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17096 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17097 of __vdso_gettimeofday.
17098 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17099 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
17100 attribute_hidden.
17101 (_libc_vdso_platform_setup): Remove initialization of
17102 __vdso_gettimeofday and __vdso_time.
17103
5c43483f
UD
171042011-08-20 Ulrich Drepper <drepper@gmail.com>
17105
775a77e7
UD
17106 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17107 and fgetc_unlocked.
17108 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17109 getc_unlocked.
89f447ed 17110
49c74ba9
UD
17111 * elf/dl-open.c (add_to_global): Report additions to the global scope
17112 for LD_DEBUG=scopes.
17113 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 17114 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 17115
5c43483f
UD
17116 [BZ #13114]
17117 * stdio-common/Makefile (tests): Add bug24.
17118 * stdio-common/bug24.c: New file.
17119
a101b025
AJ
171202011-08-19 Andreas Jaeger <aj@suse.de>
17121
17122 [BZ #13114]
17123 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17124 non-existant file when using close-on-exec mode.
17125
c88f1766
UD
171262011-08-20 Ulrich Drepper <drepper@gmail.com>
17127
0276a718
UD
17128 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17129 the very first instruction.
17130
c88f1766
UD
17131 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17132 the CFI state in the end.
17133 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17134 inclusion of dl-trampoline.h.
17135 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17136
51ccffa0
AS
171372011-08-19 Andreas Schwab <schwab@redhat.com>
17138
94d7165f
AS
17139 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17140 expectations for long double.
17141
51ccffa0
AS
17142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17143 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17144
fd708658 171452011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
17146
17147 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17148 artificual limit depends upon the system page size.
17149
44f0a71e
UD
171502011-08-17 Ulrich Drepper <drepper@gmail.com>
17151
17152 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17153 * resolv/Makefile: Define CFLAGS-libresolv.
17154
8de79a24
AS
171552011-08-17 Andreas Schwab <schwab@redhat.com>
17156
17157 * nss/makedb.c (compute_tables): Make variables used in nested
17158 function static.
17159
27724598
UD
171602011-08-17 Ulrich Drepper <drepper@gmail.com>
17161
c5305d88
UD
17162 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17163 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17164 if buffer was too small.
17165
27724598
UD
17166 * elf/pldd.c (main): Attach to all threads in the process.
17167 Rewrite /proc handling to use *at functions.
17168
076fe015
UD
171692011-08-16 Ulrich Drepper <drepper@gmail.com>
17170
174baab3
UD
17171 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17172 specifies first scope to show.
17173 (dl_open_worker): Update callers. Move printing scope of new
17174 object to before the relocation.
44f0a71e 17175 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
17176 * sysdeps/generic/ldsodefs.h: Update declaration.
17177
076fe015
UD
17178 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17179 string for the scope number.
17180
a60df2c3
UD
171812011-08-14 Ulrich Drepper <drepper@gmail.com>
17182
17183 * nscd/servicescache.c (cache_addserv): Make sure written is always
17184 initialized.
17185
5e4287d1
RM
171862011-08-14 Roland McGrath <roland@hack.frob.com>
17187
85ae0589
RM
17188 * sysdeps/i386/i486/bits/atomic.h
17189 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17190 statement expression, so as to suppress "set but not used" warning.
17191 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17192
69f63097
RM
17193 * string/strncat.c (STRNCAT): Use prototype definition.
17194
675456ef
RM
17195 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17196 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17197 -Iprograms here.
17198 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17199 (localedef-modules): Add localedef.
17200 (locale-modules): Add locale.
17201
5e4287d1
RM
17202 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17203 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17204 to avoid a warning.
17205
9c96ff23
DM
172062011-08-14 David S. Miller <davem@davemloft.net>
17207
17208 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17209 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17210
f9ddf089
UD
172112011-08-13 Ulrich Drepper <drepper@gmail.com>
17212
44f0a71e 17213 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
17214 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17215 * elf/rtld.c (dl_main): Set l_name of vDSO.
17216 Call _dl_show_scope when DL_DEBUG_SCOPES.
17217 (process_dl_debug): Recognize scopes flag and also set it for all.
17218 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17219 Declare _dl_show_scope.
17220
1dc27704
UD
17221 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17222 (do_dlopen): Pass caller_dlopen to dl_open.
17223 (__libc_dlopen_mode): Initialize caller_dlopen.
17224
f9ddf089
UD
17225 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17226 of libc. Make tolower call locale-independent. Optimize a bit by
17227 using isdigit instead of isalnum.
17228 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17229
9ac533d3
UD
172302011-08-12 Ulrich Drepper <drepper@gmail.com>
17231
17232 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17233 was a dependency or dynamically loaded.
17234
89edf2e9
UD
172352011-08-11 Ulrich Drepper <drepper@gmail.com>
17236
8e999d29
UD
17237 * intl/l10nflist.c: Allow architecture-specific pop function.
17238 * sysdeps/x86_64/l10nflist.c: New file.
17239
89edf2e9
UD
17240 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17241 classification.
17242
14d96785
AS
172432011-08-10 Andreas Schwab <schwab@redhat.com>
17244
17245 * include/dirent.h: Add libc_hidden_proto for scandirat and
17246 scandirat64. Don't declare __scandirat64.
17247 * dirent/scandirat.c: Add libc_hidden_def.
17248 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17249 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17250
6761ac04
DM
172512011-08-10 David S. Miller <davem@davemloft.net>
17252
17253 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17254 enum.
17255 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17256 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17257 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17258
c55fbd1e
UD
172592011-08-09 Ulrich Drepper <drepper@gmail.com>
17260
17261 * Versions.def [libc]: Add GLIBC_2.15.
17262 * dirent/Makefile (routines): Add scandirat and scandirat64.
17263 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17264 GLIBC_2.15.
17265 * dirent/dirent.h: Declare scandirat and scandirat64.
17266 * dirent/scandirat.c: New file.
17267 * dirent/scandirat64.c: New file.
17268 * sysdeps/wordsize-64/scandirat.c: New file.
17269 * sysdeps/wordsize-64/scandirat64.c: New file.
17270 * dirent/opendir.c: Define opendirat.
17271 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17272 using scandirat.
17273 * dirent/scandir64.c: Adjust for scandir.c change.
17274 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17275 __scandirat64, and __scandir_cancel_handler.
17276 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17277 additional parameter and use openat instead of open (outside of ld.so).
17278 Add new __opendir as wrapper around __opendirat.
17279 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17280 here without requiring old scandirat implementation.
17281
879165f2
UD
172822011-08-08 Ulrich Drepper <drepper@gmail.com>
17283
17284 * dirent/scandir.c (cancel_handler): Renamed to
17285 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17286 defined. Adjust users.
17287 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17288 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17289
cb7e923b
UD
172902011-08-04 Ulrich Drepper <drepper@gmail.com>
17291
16292edd
UD
17292 * string/test-string.h (IMPL): Use __STRING to expand name and then
17293 stringify it.
17294
cb7e923b
UD
17295 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17296 of cleanups.
17297
cff82933
LD
172982011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17299
17300 * string/Makefile: Update.
17301 (strop-tests): Append strncat.
17302 * string/test-wcscmp.c: New file.
17303 New comprehensive test for wcscmp.
17304 * string/test-strcmp.c: Update.
17305 (WIDE): New define.
17306
9be9bfcc
AS
173072011-07-22 Andreas Schwab <schwab@redhat.com>
17308
17309 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17310 line.
17311
2e96f1c7
AS
173122011-07-26 Andreas Schwab <schwab@redhat.com>
17313
17314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17315 encoding to ACE if AI_IDN.
17316
85188888
JJ
173172011-08-01 Jakub Jelinek <jakub@redhat.com>
17318
17319 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17320 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17321
5fa16e9b
LD
173222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17323
17324 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17325 Fix overflow bug in strncat.
17326 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17327
17328 * string/test-strncat.c: Update.
17329 Add new tests for checking overflow bugs.
17330
173312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17332
17333 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17334 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17335 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17336 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17337 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17338 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17339 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17340 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17341 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17342
17343 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17344 (USE_AS_STRCAT): Define.
17345 Add strcat and strncat support.
17346 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17347
8c1a459f
AS
173482011-07-25 Andreas Schwab <schwab@redhat.com>
17349
17350 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17351 __n bigger than INT_MAX+1.
17352 (__strncmp_g): Likewise.
17353
bba33c28
UD
173542011-07-23 Ulrich Drepper <drepper@gmail.com>
17355
798be72d
UD
17356 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17357 * libio/stido.h: Likewise.
17358
8accd4dc
UD
17359 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17360 (AF_NFC): Define.
17361 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17362 (AF_NFC): Define.
17363
cbff0d96
UD
17364 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17365 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17366 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17367 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17368 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17369
9191c04a
UD
17370 [BZ #13021]
17371 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17372 installed.
17373
bba33c28
UD
17374 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17375 typo.
17376 (_dl_x86_64_save_sse): Likewise.
17377
90f139dd
UD
173782011-07-22 Ulrich Drepper <drepper@gmail.com>
17379
1aae088a
UD
17380 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17381 OSXSAVE.
17382 (_dl_x86_64_save_sse): Likewise.
17383
8e2045f5
UD
17384 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17385
90f139dd
UD
17386 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17387
1d002f25
AS
173882011-07-21 Andreas Schwab <schwab@redhat.com>
17389
17390 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17391 change.
17392 (_dl_x86_64_save_sse): Use correct AVX check.
17393
21137f89
UD
173942011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17395
17396 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17397 bug in strncpy/strncat.
17398 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17399
a65c0b7a
UD
174002011-07-21 Ulrich Drepper <drepper@gmail.com>
17401
17402 * string/tester.c (test_strcat): Add tests for different alignments
17403 of source and destination.
17404 (test_strncat): Likewise.
17405
6986b98a
UD
174062011-07-20 Ulrich Drepper <drepper@gmail.com>
17407
90bb2039
UD
17408 [BZ #12852]
17409 * posix/glob.c (glob): Check passed in values before using them in
17410 expressions to avoid some overflows.
17411 (glob_in_dir): Likewise.
17412
5644ef54
UD
17413 [BZ #13007]
17414 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17415 check for AVX enablement so that we don't crash with old kernels and
17416 new hardware.
17417 * elf/tst-audit4.c: Add same checks here.
17418 * elf/tst-audit6.c: Likewise.
17419
17420 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 17421
bfc9dc9b
AS
174222011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17423
17424 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17425
702e64bb
UD
174262011-07-20 Ulrich Drepper <drepper@gmail.com>
17427
17428 * po/cs.po: Update from translation team.
17429 * po/bg.po: Likewise.
17430
295e904f
MP
174312011-07-12 Marek Polacek <mpolacek@redhat.com>
17432
17433 * misc/sys/cdefs.h: Add support for const attribute.
17434 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17435 to gnu_dev_{major,minor,makedev} functions.
17436
3ff94596
MP
174372011-07-20 Marek Polacek <mpolacek@redhat.com>
17438
17439 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17440
28b59fca
AS
174412011-07-20 Andreas Schwab <schwab@redhat.com>
17442
17443 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17444 strlen results.
17445
19df733e
AK
174462011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17447
17448 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17449 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17450 register in order to avoid conflicts with the soft frame pointer
17451 being held in r11 when necessary.
17452 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17453 (INTERNAL_VSYSCALL_NCS): Likewise.
17454
c8835729
MP
174552011-07-14 Marek Polacek <mpolacek@redhat.com>
17456
17457 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17458 * elf/dl-fini.c (_dl_fini): Adjust caller.
17459 * elf/dl-close.c (_dl_close_worker): Likewise.
17460 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17461
b902330c
MP
174622011-07-15 Marek Polacek <mpolacek@redhat.com>
17463
8991e135
MP
17464 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17465 "aux_cache->nlibs < 0".
17466
b902330c
MP
17467 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17468 in the reload-count case.
17469
99710781
LD
174702011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17471
17472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17473 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17474 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17475 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17476 * sysdeps/x86_64/multiarch/strcat.S: New file.
17477 * sysdeps/x86_64/multiarch/strncat.S: New file.
17478 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17479 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17480 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17481 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17482 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17483 (USE_AS_STRCAT): Define.
17484 Add strcat and strncat support.
17485 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17486 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17487 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17488 * string/strncat.c: Update.
17489 (USE_AS_STRNCAT): Define.
17490 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17491 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17492 and i7.
17493 * sysdeps/x86_64/multiarch/init-arch.h
17494 (bit_Prefer_PMINUB_for_stringop): New.
17495 (index_Prefer_PMINUB_for_stringop): Likewise.
17496 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17497 bit_Prefer_PMINUB_for_stringop.
17498
7dc6bd90
UD
174992011-07-19 Ulrich Drepper <drepper@gmail.com>
17500
17501 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17502 buffer64.
17503 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17504 of casting of buffer.
17505 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17506 buffer32 and buffer64.
17507 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17508 writes instead of casting of buffer.
17509 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17510 buffer32.
17511 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17512 casting of buffer.
17513
e0e72284
AS
175142011-07-19 Andreas Schwab <schwab@redhat.com>
17515
17516 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17517
feb1eb0b
UD
175182011-07-19 Ulrich Drepper <drepper@gmail.com>
17519
17520 * nscd/nscd.c (termination_handler): Don't do anything for a database
17521 if it has not yet been initialized.
17522
298711ff
UD
175232011-07-18 Ulrich Drepper <drepper@gmail.com>
17524
17525 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17526
175272011-07-15 Marek Polacek <mpolacek@redhat.com>
17528
17529 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17530
f9d68389
UD
175312011-07-18 Ulrich Drepper <drepper@gmail.com>
17532
17533 * po/nl.po: Update from translation team.
17534 * po/sv.po: Likewise.
17535
db290cf5
RM
175362011-07-16 Roland McGrath <roland@hack.frob.com>
17537
17538 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17539 now disallowed by GCC.
5c550700 17540
fd5e21c7
RM
17541 * configure.in (use-default-link): Default to yes if a test -shared
17542 link meets our qualifications.
17543 * configure: Regenerated.
17544
5c550700
RM
17545 * config.make.in (output-format): New variable.
17546 * configure.in: Check for ld --print-output-format support.
17547 * configure: Regenerated.
17548 * Makerules ($(common-objpfx)format.lds)
17549 [$(output-format) != unknown]: Just use $(output-format),
17550 instead of the linker-script munging.
17551
9fa2c032
RM
175522011-07-14 Roland McGrath <roland@hack.frob.com>
17553
a6928d51
RM
17554 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17555 of $(common-objpfx)shlib.lds.
17556 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17557
661607b3
RM
17558 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17559 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17560
9fa2c032
RM
17561 * configure.in (-z relro check): Adjust test code to add a large
17562 writable data section after it.
17563 * configure: Regenerated.
17564
defe9061
RM
175652011-07-11 Roland McGrath <roland@hack.frob.com>
17566
17567 * configure.in (-z relro check): Fix test code to make the variable
17568 truly const.
17569 * configure: Regenerated.
17570
319b9ad4
UD
175712011-07-11 Ulrich Drepper <drepper@gmail.com>
17572
17573 * nscd/nscd.h (struct traced_file): Define.
17574 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17575 elements. Add traced_files.
17576 (inotify_fd): Declare.
17577 (register_traced_file): Declare.
17578 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17579 (inotify_fd): Export.
17580 (resolv_conf_descr): Remove.
17581 (nscd_init): Move inotify descriptor creation to main.
17582 Don't register files for notification here.
17583 (register_traced_file): New function.
17584 (invalidate_cache): Don't use reset_res to determine whether to call
17585 res_init, go through the list of registered files.
17586 (main_loop_poll): The inotify descriptors are now stored in the
17587 structures for the traced files.
17588 (main_loop_epoll): Likewise
17589 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17590 to __nss_disable_nscd.
17591 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17592 for a database anymore. Check the records for all the registered
17593 files instead.
17594 * nss/Makefile (libnss_files-routines): Add files-init.
17595 (libnss_db-routines): Add db-init.
17596 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17597 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17598 * nss/nss_db/db-init.c: New file.
17599 * nss/nss_files/files-init.c: New file.
17600 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17601 __nss_lookup_function.
17602 (__nss_lookup_function): Call nss_load_library.
17603 (nss_load_all_libraries): New function.
17604 (__nss_disable_nscd): Take parameter with callback function for files
17605 to register. Set is_nscd. Load all the DSOs for the NSS modules
17606 used for the cached services.
17607 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17608 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17609 options for features to all the files in nscd.
17610
17611 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17612
23bee3e8
RM
176132011-07-10 Roland McGrath <roland@hack.frob.com>
17614
17615 * csu/elf-init.c (__libc_csu_init): Comment typo.
17616
46a5b7f0
UD
176172011-07-09 Ulrich Drepper <drepper@gmail.com>
17618
17619 * po/pl.po: Update from translation team.
17620 * po/ja.po: Likewise.
17621 * po/ru.po: Likewise.
17622 * po/ko.po: Likewise.
17623 * po/fr.po: Likewise.
17624
d30cf5bb
RM
176252011-07-09 Roland McGrath <roland@hack.frob.com>
17626
113ddea4
RM
17627 * configure.in (.ctors/.dtors header and trailer check):
17628 Use an empirical test on a built program.
17629 * configure: Regenerated.
17630
574920b4
RM
17631 * configure.in (-z relro check): Use an empirical test on a built DSO.
17632 Detect, but do not require, on ia64.
17633 * configure: Regenerated.
17634
d30cf5bb
RM
17635 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17636 Update tests that use readelf to use $READELF instead.
17637 * configure: Regenerated.
17638
8538fdb3
UD
176392011-07-08 Ulrich Drepper <drepper@gmail.com>
17640
17641 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17642 if the result is not used.
17643
04d08991
AJ
176442011-07-05 Andreas Jaeger <aj@suse.de>
17645
17646 [BZ#9696]
17647 * stdlib/tst-strtod.c: Add testcase.
17648
de283087
AD
176492011-07-07 Ulrich Drepper <drepper@gmail.com>
17650
4e5f31c8 17651 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 17652 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
17653 The latter has a higher limit. Take additional parameter to pass to
17654 the new function.
17655 (__pathconf): Pass file to __statfs_link_max.
17656 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17657 __statfs_link_max.
17658 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17659 __statfs_link_max.
17660
de283087
AD
17661 [BZ #12868]
17662 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17663 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17664 Handle Lustre.
17665 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17666 (__statfs_filesize_max): Likewise.
17667 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17668
c75fa153
AJ
176692011-07-05 Andreas Jaeger <aj@suse.de>
17670
17671 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17672
1a544854
UD
176732011-07-06 Marek Polacek <mpolacek@redhat.com>
17674
17675 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17676 `status' variable.
17677 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17678 Likewise.
17679
6f0eec67
UD
176802011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17681
17682 * Makefile (strop-tests): Add strncat.
17683 * string/test-strncat.c: New file.
17684
aae30307
UD
176852011-06-30 Marek Polacek <mpolacek@redhat.com>
17686
17687 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17688
c0cfb5eb
UD
176892011-06-21 Andreas Jaeger <aj@suse.de>
17690
17691 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17692 Copy rule from iconvdata/Makefile.
17693
01636b21
UD
176942011-07-06 Ulrich Drepper <drepper@gmail.com>
17695
17696 [BZ #12922]
17697 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17698 but no long options are defined, just return 'W'.
17699
9895c8bc
UD
177002011-06-22 Marek Polacek <mpolacek@redhat.com>
17701
17702 [BZ #9696]
17703 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17704
5d4cf042
UD
177052011-07-06 Ulrich Drepper <drepper@gmail.com>
17706
17707 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17708 netgroups to read.
960e5535 17709 (innetgr): Likewise.
5d4cf042 17710
751eb97e
RM
177112011-07-05 Roland McGrath <roland@hack.frob.com>
17712
17713 * config.make.in (install_root): Default to $(DESTDIR).
17714
f15f1e45
UD
177152011-07-05 Ulrich Drepper <drepper@gmail.com>
17716
17717 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17718
4e34ac6a
RM
177192011-07-02 Roland McGrath <roland@hack.frob.com>
17720
5e9b6af4
RM
17721 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17722
84f9ea0f
RM
17723 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17724 containing directory rather than embedding absolute directory names.
17725
ea5ee9f7
RM
17726 * scripts/check-local-headers.sh: Rewritten using awk.
17727 Match by word, not by line. Print error messages for matches.
17728 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17729
1b74661a
RM
17730 * Makerules [shlib-lds-flags empty]:
17731 ($(common-objpfx)libc_pic.opts): New target.
17732 ($(common-objpfx)libc_pic.os.clean): New target.
17733 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17734
17735 * config.make.in (OBJCOPY): New variable.
17736 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17737 * configure: Regenerated.
17738
f781ef40
RM
17739 * config.make.in (use-default-link): New variable.
17740 * configure.in (use_default_link): Grok --with-default-link to set it.
17741 * configure: Regenerated.
17742 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17743 (shlib-lds, shlib-lds-flags): Define to empty.
17744
2d4fa81e
RM
17745 * Makerules (shlib-lds): New variable.
17746 (shlib-lds-flags): New variable.
17747 (build-shlib, build-moduile, build-module-asneeded): Use it.
17748 ($(common-objpfx)libc.so): Use $(shlib-lds).
17749 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17750 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17751
31fffa6b
RM
17752 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17753 DT_FLAGS/DT_FLAGS_1 with zero flags.
17754
4e34ac6a
RM
17755 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17756 linker script munging.
17757
fcfc776b
UD
177582011-07-02 Ulrich Drepper <drepper@gmail.com>
17759
17760 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17761 as 128-bit value.
17762 * crypt/sha512.c (sha512_process_block): Perform total addition using
17763 128-bit if possible.
17764 (__sha512_finish_ctx): Likewise.
17765 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17766 as 64-bit value.
17767 * crypt/sha256.c (SWAP64): Define.
17768 (sha256_process_block): Perform total addition using 64-bit if
17769 possible.
17770 (__sha256_finish_ctx): Likewise.
17771
99231d9a
UD
177722011-07-01 Ulrich Drepper <drepper@gmail.com>
17773
17774 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17775 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17776 * nscd/hstcache.c (cache_addhst): Likewise.
17777 * nscd/grpcache.c (cache_addgr): Likewise.
17778 * nscd/aicache.c (addhstaiX): Likewise
17779 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17780
445b4a53
TK
177812011-07-01 Thorsten Kukuk <kukuk@suse.de>
17782
17783 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17784 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17785 * nscd/hstcache.c (cache_addhst): Likewise.
17786 * nscd/grpcache.c (cache_addgr): Likewise.
17787 * nscd/aicache.c (addhstaiX): Likewise
17788
6d4d8e8e
AS
177892011-07-01 Andreas Schwab <schwab@redhat.com>
17790
17791 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17792 domain only when needed.
17793
89f654c5
AS
177942011-06-30 Andreas Schwab <schwab@redhat.com>
17795
17796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17797 is always restored.
17798
cf3b23ff
UD
177992011-06-29 Ulrich Drepper <drepper@gmail.com>
17800
17801 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17802 are re-adding the entry.
17803 * nscd/servicescache.c (cache_addserv): Likewise.
17804
751626f9
AJ
178052011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17806
17807 * sysdeps/generic/dl-irel.h: fix protection against multiple
17808 inclusions.
17809 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17810
9113ea1f
UD
178112011-06-28 Ulrich Drepper <drepper@gmail.com>
17812
5c0b8d90
UD
17813 [BZ #12935]
17814 * malloc/memusage.sh: Fix quoting in message.
17815 * debug/xtrace.sh: Likewise.
17816
9113ea1f
UD
17817 * configure.in: Remove support for --experimental-malloc option, make
17818 it the default.
17819 * config.make.in: Likewise.
17820 * malloc/Makefile: Likewise.
17821
a4172181
AS
178222011-06-27 Andreas Schwab <schwab@redhat.com>
17823
17824 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17825 two-byte characters.
17826
78a7eee7
RM
178272011-06-27 Roland McGrath <roland@hack.frob.com>
17828
62bede13
RM
17829 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17830 AC_CACHE_CHECK invocation.
17831 * configure: Regenerated.
17832
78a7eee7
RM
17833 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17834
5ce33a62
UD
178352011-06-27 Ulrich Drepper <drepper@gmail.com>
17836
034807a9
UD
17837 [BZ #12350]
17838 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17839 bit from old_res_options.
17840
4902da17
UD
17841 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17842
5ce33a62
UD
17843 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17844 value type for setfct.
17845
c2344f56
L
178462011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17847
17848 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17849 __gettimeofday instead of gettimeofday.
17850
68468076
UD
178512011-06-26 Ulrich Drepper <drepper@gmail.com>
17852
17853 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17854
acb0d739
L
178552011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17856
17857 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17858
17859 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17860 info.
17861
8912479f
L
178622011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17863
17864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17865 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17866 strcpy-sse2-unaligned strncpy-sse2-unaligned
17867 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17868 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17869 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17870 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17871 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17872 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17873 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17874 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17875 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17876 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17877 (STRCPY): Support SSE2 and SSSE3 versions.
17878
d5495a11
UD
178792011-06-24 Ulrich Drepper <drepper@gmail.com>
17880
17881 [BZ #12874]
17882 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17883 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17884 kernels which artificially limit size of requests.
17885
0b1cbaae
L
178862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17887
17888 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17889 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17890 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17891 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17892 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17893 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17894 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17895 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17896 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17897 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17898 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17899 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17900 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17901 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17902 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17903 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17904 Enable unaligned load optimization for Intel Core i3, i5 and i7
17905 processors.
17906 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17907 Define.
17908 (index_Fast_Unaligned_Load): Define.
17909 (HAS_FAST_UNALIGNED_LOAD): Define.
17910
07f494a0
MP
179112011-06-23 Marek Polacek <mpolacek@redhat.com>
17912
17913 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17914
fa3fc0fe
UD
179152011-06-22 Ulrich Drepper <drepper@gmail.com>
17916
17917 [BZ #12907]
17918 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17919 until it is clear that the information is realy needed.
17920 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17921
e12df166
AS
179222011-06-22 Andreas Schwab <schwab@redhat.com>
17923
17924 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17925
852eb34d
UD
179262011-06-22 Ulrich Drepper <drepper@gmail.com>
17927
84e2a551
UD
17928 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17929 /sys/devices/system/cpu/online if it is usable.
17930
852eb34d
UD
17931 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17932 reading the information from the /proc filesystem to once a second.
17933
6e502e19
UD
179342011-06-21 Andreas Jaeger <aj@suse.de>
17935
17936 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17937 NULL after inclusion of kernel headers.
17938
75d39ff2
UD
179392011-06-21 Ulrich Drepper <drepper@gmail.com>
17940
51f9aa6a
UD
17941 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17942 calls to internal_setent.
17943
c0244a9d
UD
17944 [BZ #12885]
17945 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17946 addresses using gethostbyname4_r ignore IPv4 addresses.
17947
c5e3c2ae
UD
17948 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17949 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17950
75d39ff2
UD
17951 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17952
42675c6f
DM
179532011-06-20 David S. Miller <davem@davemloft.net>
17954
17955 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17956 inclusions.
17957 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17958
17959 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17960 (elf_irel): Use it.
17961 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17962 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17963 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17964 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17965 * sysdeps/x86_64/dl-irel.h: Likewise.
17966
17967 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17968 * elf/dl-sym.c: Likewise.
17969
57912a71
UD
179702011-06-15 Ulrich Drepper <drepper@gmail.com>
17971
17972 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17973 need to dereference resplen2.
17974
ee22793d
AS
179752011-06-14 Andreas Schwab <schwab@redhat.com>
17976
17977 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17978
a9e836b0
UD
179792011-06-15 Ulrich Drepper <drepper@gmail.com>
17980
77fb9117
UD
17981 * Makeconfig: Define vardbdir and inst_vardbdir.
17982 * nss/Makefile: Add rules to install db-Makefile.
17983
40c1b22c
UD
17984 * nss/nss_db/db-XXX.c: Cleanup.
17985
9f2da732
UD
17986 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17987 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17988 GLIBC_PRIVATE.
17989 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17990 * nss/makedb.c: Implement -g option to specify that value strings
17991 are generated and should not be added to table iterated over for
17992 get*ent calls.
17993 * nss/nss_db/db-initgroups.c: New file.
17994
82e9a1f7
UD
17995 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17996 interface.
17997
c41af17e
UD
17998 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17999 (internal_getgrouplist): Adjust to name change.
18000 Update use_initgroups_entry if this is not the first call.
18001 * nss/databases.def: Add initgroups entry.
18002
a9e836b0
UD
18003 * nss/makedb.c (compute_tables): Check result of multiple hash table
18004 sizes to minimize maximum chain length.
18005
2666d441
UD
180062011-06-14 Ulrich Drepper <drepper@gmail.com>
18007
18008 * Versions.def: Add entry for libnss_db.
18009 * shlib-versions: Likewise.
18010 * nss/Makefile: Add rules to build libnss_db.
18011 * nss/Versions: Add libnss_db information. Organize libnss_files
18012 entries better.
18013 * nss/db-Makefile: Add gshadow support. Change rules for the new
18014 makedb progra. Some minor improvements to generate smaller files.
18015 * nss/nss_db/nss_db.h: Move NSS database header data structures to
18016 here from...
18017 * nss/makedb.c: ...here.
18018 Improve database format to be smaller and require less memory at
18019 runtime.
18020 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
18021 db anymore.
18022 * nss/nss_db/db-netgrp.c: Likewise.
18023 * nss/nss_db/db-open.c: Likewise.
18024 * nss/nss_files/flies-XXX.x: Adjust comments.
18025 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
18026 * nss/nss_files/files-grp.c: Likewise.
18027 * nss/nss_files/files-hosts.c: Likewise.
18028 * nss/nss_files/files-network.c: Likewise.
18029 * nss/nss_files/files-proto.c: Likewise.
18030 * nss/nss_files/files-pwd.c: Likewise.
18031 * nss/nss_files/files-rpc.c: Likewise.
18032 * nss/nss_files/files-service.c: Likewise.
18033 * nss/nss_files/files-sgrp.c: Likewise.
18034 * nss/nss_files/files-spwd.c: Likewise.
18035 * nss/nss_db/db-alias.c: Removed.
18036 * nss/nss_db/dummy-db.h: Removed.
18037
9ee76b5a
UD
180382011-06-02 Ulrich Drepper <drepper@gmail.com>
18039
18040 * nss/makedb.c: Rewritten to not use database library.
18041 * nss/Makefile: Update to build new makedb program.
18042
c71ca1f8
AJ
180432011-06-14 Andreas Jaeger <aj@suse.de>
18044
18045 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
18046 memset declaration.
18047
3154bfb8
UD
180482011-06-10 Andreas Schwab <schwab@redhat.com>
18049
18050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
18051 tmpbuf.
18052
b350afab
RM
180532011-06-10 Roland McGrath <roland@hack.frob.com>
18054
decd4e50
RM
18055 * Makerules (shlib.lds): Fail if the linker script comes out empty.
18056 * elf/Makefile ($(objpfx)ld.so): Likewise.
18057
5615eaf2
RM
18058 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
18059 Don't list ld.so twice in dependencies.
18060
18061 * posix/bug-regex31.c: Include <stdlib.h>.
18062
18063 * nscd/hstcache.c (cache_addhst): Remove unused variable.
18064
18065 * nis/nss_compat/compat-spwd.c
18066 (getspent_next_nss_netgr): Remove unused variable.
18067 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
18068
18069 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
18070 nonmembers" output to use the right array.
18071
18072 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18073
18074 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18075
18076 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18077 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18078 * catgets/gencat.c (read_input_file): Likewise.
18079 * locale/programs/locarchive.c (enlarge_archive): Likewise.
18080
18081 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18082 variable definition inside #if's controlling its use.
18083
18084 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18085
18086 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18087
18088 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18089
18090 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18091 unreachable code.
18092
18093 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18094
b68e08db
RM
18095 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18096 * configure: Regenerated.
18097
b350afab
RM
18098 * Makerules: Revert last change.
18099 * elf/Makefile: Likewise.
18100
28368601
RM
181012011-06-09 Roland McGrath <roland@hack.frob.com>
18102
18103 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18104 * elf/Makefile ($(objpfx)librtld.os): Likewise.
18105 (reloc-link): Likewise.
18106
11988f8f
UD
181072011-06-09 Ulrich Drepper <drepper@gmail.com>
18108
18109 * elf/Makefile: Add rules to build pldd.
18110 * elf/pldd.c: New file.
18111 * elf/pldd-xx.c: New file.
18112
e80fab37
UD
181132011-06-07 Ulrich Drepper <drepper@gmail.com>
18114
18115 * version.h: Update for 2.15 development version.
18116
9b849836
DM
181172011-06-07 David S. Miller <davem@davemloft.net>
18118
18119 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18120 ifuncs.
18121 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18122 elf_machine_lazy_rel): Likewise.
18123 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18124 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18125 elf_machine_lazy_rel): Likewise.
18126 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18127 dl_hwcap via passed in argument.
18128 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18129 Likewise.
18130
5a31b283
AK
181312011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18132
18133 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
18134
069e52f8
RM
181352011-06-06 Roland McGrath <roland@hack.frob.com>
18136
18137 [BZ #12849]
18138 * manual/fdl-1.1.texi: New file, verbatim from:
18139 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18140 * manual/lgpl-2.1.texi: New file, verbatim from:
18141 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18142 * manual/Makefile (licenses): New variable, list those new file names.
18143 (texis): Use it.
18144 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18145
18146 * manual/fdl.texi: File removed.
18147 * manual/lesser.texi: File removed.
18148 * manual/libc.texinfo (Copying, Documentation License):
18149 Use new @include file names, put @appendix directive before @include.
18150
f16846a5
JJ
181512011-06-04 Jakub Jelinek <jakub@redhat.com>
18152
18153 [BZ #12841]
18154 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18155 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18156 (mq_open): Add __NTH.
18157
3d29045b
L
181582011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18159
18160 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18161 Assume Intel Core i3/i5/i7 processor if AVX is available.
18162
8c297311
UD
181632011-05-31 Ulrich Drepper <drepper@gmail.com>
18164
18165 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18166 typo.
18167
c8fc0c91
UD
181682011-05-31 Andreas Schwab <schwab@redhat.com>
18169
18170 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18171 memory. Use alloca_account. Fix memory leak when retrying.
18172
5b27a807
UD
181732011-05-31 Ulrich Drepper <drepper@gmail.com>
18174
356f8bc6
UD
18175 * version.h (RELEASE): Bump for 2.14 release.
18176 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18177
5b27a807
UD
18178 * config.make.in (RANLIB): Remove entry.
18179
01f16ab0
UD
181802011-05-30 Ulrich Drepper <drepper@gmail.com>
18181
41fce8bd
UD
18182 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18183 (libc.pot): Work around missing support for .ksh extension in xgettext.
18184
4769ae77
UD
18185 [BZ #12684]
18186 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18187 if both request failed.
18188 (send_dg): In case of server errors clear resplen or *resplen2.
18189
6b1e7d19
UD
18190 [BZ #12454]
18191 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18192 when there are multiple maps.
18193 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18194 (_dl_fini): Remove test here.
18195
01f16ab0
UD
18196 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18197
b1ebd700
UD
181982011-05-29 Ulrich Drepper <drepper@gmail.com>
18199
7ae22829
UD
18200 [BZ #12350]
18201 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18202 bit from old_res_options.
18203 (gaih_inet): Likewise.
18204
553149f6 18205 [BZ #11099]
18a84741 18206 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
18207 as signed.
18208
652ffab1
UD
18209 * resolv/res_init.c (res_setoptions): Make the code more compact.
18210
16985fd0
UD
18211 [BZ #11558]
18212 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18213 set RES_USEVC.
18214
0464f746
UD
18215 [BZ #11634]
18216 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18217
7d17596c
UD
18218 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18219
cf6bbbd7
UD
18220 [BZ #11781]
18221 * malloc/malloc.h: Declare malloc hook variables as volatile.
18222
13f1ab36
UD
18223 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18224 in last patch.
18225
b1ebd700
UD
18226 [BZ #11799]
18227 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 18228 raise in the comment.
80e2212d
UD
18229 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18230 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18231 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 18232
ce67228d
UD
182332011-05-28 Ulrich Drepper <drepper@gmail.com>
18234
8887a920
UD
18235 [BZ #12811]
18236 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18237 grow the buffers more if it already has to be sufficient.
18238 (build_wcs_upper_buffer): Likewise.
18239 * posix/regexec.c (check_matching): Likewise.
18240 (clean_state_log_if_needed): Likewise.
18241 (extend_buffers): Don't enlarge buffers beyond size of the input
18242 buffer.
18243 Patches mostly by Emil Wojak <emil@wojak.eu>.
18244 * posix/bug-regex32.c: New file.
18245 * posix/Makefile (tests): Add bug-regex32.
18246
4f031072
UD
18247 * locale/findlocale.c (_nl_find_locale): Return right away if
18248 _nl_explode_name failed.
18249 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18250
d0478f0c
UD
18251 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18252
de81b246
UD
18253 * debug/xtrace.sh: Unify messages.
18254 * malloc/memusage.sh: Likewise.
18255
c738465a
UD
18256 [BZ #12813]
18257 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18258 time symbol from vDSO. Substitute with vsyscall if not available.
18259 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18260 __vdso_time.
18261
f1f929d7
UD
18262 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18263 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18264 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18265 Add sendmmsg and internal_sendmmsg.
18266 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18267 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18268 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18269
ce67228d
UD
18270 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18271 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18272 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18273
e57420c6
UD
182742011-05-27 Ulrich Drepper <drepper@gmail.com>
18275
a8509ca5
UD
18276 [BZ #12813]
18277 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18278 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18279 available.
18280 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18281 __vdso_getcpu.
18282
e57420c6
UD
18283 [BZ #12814]
18284 * iconvdata/Makefile (tests): Add bug-iconv9.
18285 * iconvdata/bug-iconv9.c: New file.
18286
4d07db15
AS
182872011-05-27 Andreas Schwab <schwab@redhat.com>
18288
18289 [BZ #12814]
18290 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18291
ea486f69
JJ
182922011-05-25 Jakub Jelinek <jakub@redhat.com>
18293
18294 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18295 (struct user_regs_struct): Change intcs field back to cs.
18296
6f038433
UD
182972011-05-25 Ulrich Drepper <drepper@gmail.com>
18298
18299 * po/ja.po: Update from translation team.
18300
67f86a25
UD
183012011-05-23 Ulrich Drepper <drepper@gmail.com>
18302
18303 [BZ #12795]
18304 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18305 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18306
def7fbd6
AS
183072011-05-20 Andreas Schwab <schwab@redhat.com>
18308
18309 * stdlib/longlong.h: Update from GCC.
18310
f50ef8f1
AS
183112011-05-23 Andreas Schwab <schwab@redhat.com>
18312
18313 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18314 parameter name.
18315 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18316 Add parameter name.
18317 (__sysconf): Pass it down.
18318
de7ce8f1
UD
183192011-05-22 Ulrich Drepper <drepper@gmail.com>
18320
f2962a71
UD
18321 [BZ #12671]
18322 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18323 some situations.
18324 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18325 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18326 add in in __libc_use_alloca calls. Adjust callers.
18327 (glob): Use malloc in some situations.
18328
de7ce8f1
UD
18329 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18330 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18331 pltexit.
18332
aec84f53
UD
183332011-05-21 Ulrich Drepper <drepper@gmail.com>
18334
05bb4a68
UD
18335 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18336 and CLOCK_BOOTTIME_ALARM.
18337
7ea72f99
UD
18338 [BZ #12782]
18339 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18340 is returned.
18341
7e4afad5
UD
18342 * string/_strerror.c (__strerror_r): Print negative errors as signed
18343 numbers.
18344
8e211fec
UD
18345 [BZ #12777]
18346 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18347 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18348 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18349
f7d82dc9
UD
18350 * configure.in: Fix typo in redirection and correct removal of test
18351 files in two cases.
18352
cc9e536d
UD
18353 [BZ #12788]
18354 * locale/setlocale.c (new_composite_name): Fix test to check for
18355 identical name of all categories.
18356
aec84f53
UD
18357 [BZ #12792]
18358 * libio/filedoalloc.c (local_isatty): New function.
18359 (_IO_file_doallocate): Use local_isatty.
18360 * stdio-common/perror.c (perror): In case a new stream is used
18361 forward the stream error.
18362 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18363 error flag.
18364
78e64fdc
RT
183652011-05-20 Ulrich Drepper <drepper@gmail.com>
18366
34a9094f
UD
18367 [BZ #11869]
18368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18369 alloca.
18370 * include/alloca.h (extend_alloca_account): Define.
18371
78e64fdc
RT
18372 [BZ #11857]
18373 * posix/regex.h: Fix comments with documentation of user-accessible
18374 fields after compilation and describe correct free'ing of pattern
18375 after re_compile_pattern.
18376 Patch by Reuben Thomas <rrt@sc3d.org>.
18377
457bddfc
RA
183782011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18379
18380 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18381 and -mno-altivec to prevent the compiler from using Altivec and/or
18382 VSX instructions when the corresponding registers are not available.
18383
a4527b51
AS
183842011-05-19 Andreas Schwab <schwab@redhat.com>
18385
18386 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18387
ed690b2f
UD
183882011-05-19 Ulrich Drepper <drepper@gmail.com>
18389
18390 * libio/freopen.c (freopen): Use __dup2, not dup2.
18391 * libio/freopen64.c (freopen64): Likewise.
18392
8db73634
L
183932011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18394
18395 [BZ #12775]
18396 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18397 * math/Makefile (tests): Add test-powl.
18398 (CFLAGS-test-powl.c): Define.
18399 * math/test-powl.c: New file.
18400
0a197a9d
L
184012011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18402
18403 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18404
ee30c380
UD
184052011-05-17 Ulrich Drepper <drepper@gmail.com>
18406
18407 [BZ #11837]
18408 * iconvdata/gb18030.c: Update to GB18020-2005.
18409
6ce75379
UD
184102011-05-16 Ulrich Drepper <drepper@gmail.com>
18411
a4b89fd8
AR
18412 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18413 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18414 Patch by Aharon Robbins <arnold@skeeve.com>.
18415
ea389b12
UD
18416 [BZ #11892]
18417 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18418 on the stack.
18419
68a3f91f
UD
18420 [BZ #11895]
18421 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18422 through underflows.
18423
15cc7dd1
UD
18424 [BZ #12766]
18425 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18426 point to strings before performing equality test for error_one_per_line
18427 mode.
18428
f3799213
UD
18429 [BZ #11697]
18430 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18431
d79a9c94
UD
18432 [BZ #11820]
18433 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18434 (struct user_fpregs_struct): Avoid __uint*_t types.
18435
56e5eb46
UD
18436 [BZ #6420]
18437 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18438 symbol info. Use it instead of calling _dl_addr locally.
18439 (lock_and_info): New function.
18440 (tr_freehook): Call lock_and_info and pass symbol info as additional
18441 parameter to tr_where.
18442 (tr_mallochook): Likewise.
18443 (tr_reallochook): Likewise.
18444 (tr_memalignhook): Likewise.
18445
6ce75379
UD
18446 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18447 used and couldn't be at all thread-safe.
18448
f8a3b5bf
UD
184492011-05-15 Ulrich Drepper <drepper@gmail.com>
18450
94b7cc37
UD
18451 * libio/freopen.c (freopen): Don't close old file descriptor
18452 before the new one is opened. Instead dup the new file descriptor
18453 to the old one after the new stream is created.
18454 * libio/freopen64.c (freopen64): Likewise.
18455 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18456 * libio/fileops.c (_IO_new_file_close_it): Handle new
18457 _IO_FLAGS2_NOCLOSE flag.
18458 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18459 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18460 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18461 _IO_FLAGS2_NOCLOSE flag.
18462 * include/unistd.h: Add hidden_proto for dup3.
18463 Define __have_dup3.
18464 * io/dup3.c: Define hidden symbol.
18465 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18466
bd25564e
UD
18467 [BZ #7101]
18468 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18469 when an incomplete long option is used.
18470 * posix/tst-getopt_long1.c: New file.
18471 * posix/Makefile (tests): Add tst-getopt_long1.
18472
c84cfef4
UD
18473 [BZ #10138]
18474 * scripts/config.guess: Update from autoconf-2.68.
18475 * scripts/config.sub: Likewise.
18476
3b85df27
UD
18477 [BZ #10157]
18478 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18479 tests into ...
18480 (has_cpuclock): ...this. New function.
18481 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18482 macro here based on has_cpuclock code.
18483
15a856b1
UD
18484 [BZ #10149]
18485 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18486 First byte (not low byte) is now always NUL.
18487 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18488
05f399e6
UD
18489 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18490 Use non-cancelable interfaces.
18491
10a52685 18492 [BZ #9809]
94ecc67d
UD
18493 * locale/iso-639.def: Add entry for Sorani.
18494
f8a3b5bf
UD
18495 [BZ #11901]
18496 * include/stdlib.h: Move include protection to the right place.
18497 Define abort_msg_s. Declare __abort_msg with it.
18498 * stdlib/abort.c (__abort_msg): Adjust type.
18499 * assert/assert.c (__assert_fail_base): New function. Majority
18500 of code from __assert_fail. Allocate memory for __abort_msg with
18501 mmap.
18502 (__assert_fail): Now call __assert_fail_base.
18503 * assert/assert-perr.c: Remove bulk of implementation. Use
18504 __assert_fail_base.
18505 * include/assert.hL Declare __assert_fail_base.
18506 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18507 mmap.
18508 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18509
1af4e298
UD
185102011-05-14 Ulrich Drepper <drepper@gmail.com>
18511
f8a3b5bf 18512 [BZ #11952]
d26dfc60
MG
18513 [BZ #12453]
18514 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18515 until all modules are registered in the DTV.
18516 * elf/Makefile: Add rules to build and run tst-tls19.
18517 * elf/tst-tls19.c: New file.
18518 * elf/tst-tls19mod1.c: New file.
18519 * elf/tst-tls19mod2.c: New file.
18520 * elf/tst-tls19mod3.c: New file.
18521 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18522
2fc54d6f
UD
18523 [BZ #12083]
18524 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18525 correctly.
18526
98d76b46
UD
18527 [BZ #12601]
18528 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18529 two-byte sequence errors.
18530 * iconvdata/Makefile (tests): Add bug-iconv8.
18531 * iconvdata/bug-iconv8.c: New file.
18532
da3c19ef
UD
18533 [BZ #12626]
18534 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18535 buf2 definition.
18536
ca408c15
UD
18537 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18538
d6f67f7d
UD
18539 [BZ #12432]
18540 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18541 (dummy_getcfa): New function.
18542 (init): Get _Unwind_GetCFA address, use dummy if not found.
18543 (backtrace_helper): In recursion check, also check whether CFA changes.
18544 (__backtrace): Completely initialize arg.
18545
1af4e298 18546 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
18547 storing incomplete byte sequence in state object. Avoid testing for
18548 guaranteed too small input if we know there is enough data available.
1af4e298 18549
da62f81b
AS
185502011-05-11 Andreas Schwab <schwab@redhat.com>
18551
18552 * Makeconfig (+link-pie): Indent.
18553 * Rules (binaries-pie): Define if $(have-fpie) and
18554 $(build-shared).
18555 (binaries-shared): Also filter out $(binaries-pie).
18556 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18557 * nscd/Makefile (others-pie): Add nscd.
18558 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18559 ($(objpfx)nscd): Remove command override.
18560 * login/Makefile (others-pie): Add pt_chown.
18561 ($(objpfx)pt_chown): Remove command override.
18562 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18563 remove command overrides.
18564
fcabc0f8
UD
185652011-05-13 Ulrich Drepper <drepper@gmail.com>
18566
20030ae6
UD
18567 * libio/tst_putwc.c: Fix error messages.
18568
fcabc0f8
UD
18569 [BZ #12724]
18570 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18571 currently writing and seek to current position when not.
18572 * libio/Makefile (tests): Add bug-fclose1.
18573 * libio/bug-fclose1.c: New file.
18574
320a5dc0
PB
185752011-05-12 Ulrich Drepper <drepper@gmail.com>
18576
18577 [BZ #12511]
18578 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18579 don't set DF_1_NODELETE here.
18580 (do_lookup_x): When entering new entry test for copy relocation
18581 and if necessary set DF_1_NODELETE flag.
18582 * elf/tst-unique4.cc: New file.
18583 * elf/tst-unique4.h: New file.
18584 * elf/tst-unique4lib.cc: New file.
18585 * elf/Makefile: Add rules to build and run tst-unique4.
18586 Patch by Piotr Bury <pbury@goahead.com>.
18587
22836f52
UD
185882011-05-11 Ulrich Drepper <drepper@gmail.com>
18589
f574184a
UD
18590 [BZ #12052]
18591 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18592
e1fb097f
UD
18593 [BZ #12625]
18594 * misc/mntent_r.c (addmntent): Flush the stream after the output
18595
22836f52
UD
18596 [BZ #12393]
18597 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18598 (is_trusted_path_normalize): Skip initial colon. Append slash
18599 to empty buffer. Duplicate is_trusted_path code but allow
18600 constructed patch to be prefix.
18601 (is_dst): Allow $ORIGIN followed by /.
18602 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18603 Correct testing of result of is_trusted_path_normalize
18604 (decompose_rpath): Fix warning.
18605
7b3b0b2a
UD
186062011-05-10 Ulrich Drepper <drepper@gmail.com>
18607
18608 [BZ #11257]
18609 * grp/initgroups.c (internal_getgrouplist): When we found the service
18610 list through the initgroups entry in nsswitch.conf do not always
18611 continue on a successful lookup. Don't always use the
eac80ce2 18612 __nss_group_database value if it is set.
7b3b0b2a
UD
18613 * nss/nsswitch.conf (initgroups): Change action for successful db
18614 lookup to continue for compatibility.
18615
2a81eaa5
UD
186162011-05-09 Ulrich Drepper <drepper@gmail.com>
18617
be97a69e
UD
18618 [BZ #11532]
18619 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18620 and CP774 modules.
18621 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18622 and CP774 modules.
18623 * iconvdata/tst-tables.sh: Likewise.
18624 * iconvdata/cp770.c: New file.
18625 * iconvdata/cp771.c: New file.
18626 * iconvdata/cp772.c: New file.
18627 * iconvdata/cp773.c: New file.
18628 * iconvdata/cp774.c: New file.
18629 * iconvdata/testdata/CP770: New file.
18630 * iconvdata/testdata/CP770..UTF8: New file.
18631 * iconvdata/testdata/CP771: New file.
18632 * iconvdata/testdata/CP771..UTF8: New file.
18633 * iconvdata/testdata/CP772: New file.
18634 * iconvdata/testdata/CP772..UTF8: New file.
18635 * iconvdata/testdata/CP773: New file.
18636 * iconvdata/testdata/CP773..UTF8: New file.
18637 * iconvdata/testdata/CP774: New file.
18638 * iconvdata/testdata/CP774..UTF8: New file.
18639
18640 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18641 END CHARMAP line.
18642 * iconvdata/gen-8bit-gap.sh: Likewise.
18643 * iconvdata/gen-8bit.sh: Likewise.
18644
c1e9e399
UD
18645 * locale/iso-639.def: Add ary entry.
18646
24c55fb3 18647 [BZ #11258]
96b4b1b0
UD
18648 * locale/C-translit.h.in: Add U20A1 transliteration.
18649
bdc2f971
KB
18650 [BZ #12178]
18651 * locale/iso-639.def: Add wae entry.
18652 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18653
2952b117
UD
18654 [BZ #12545]
18655 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18656 for n.
18657
2a81eaa5
UD
18658 [BZ #12711]
18659 * locale/C-translit.h.in: Add entry for U20B9.
18660 Patch by pravin.d.s@gmail.com.
18661
28377d1b
UD
186622011-05-08 Ulrich Drepper <drepper@gmail.com>
18663
7fb90fb8
UD
18664 [BZ #12713]
18665 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18666 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
18667 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18668 in rtld. Use *stat64.
7fb90fb8 18669 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 18670 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 18671 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
18672 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18673 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18674 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18675 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18676 __fstatat64 macros.
7fb90fb8
UD
18677 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18678 * dirent/rewinddir.c: Add libc_hidden_def.
18679 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 18680 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 18681
28377d1b
UD
18682 * include/dirent.h (__alloc_dir): Add flags parameter.
18683 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18684 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18685 __alloc_dir.
18686 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18687 from fdopendir if O_CLOEXEC is already set.
18688
66bdbaa4
AM
186892011-03-15 Alan Modra <amodra@gmail.com>
18690
18691 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18692 l_tls_firstbyte_offset non-zero. Save padding offset in
18693 l_tls_firstbyte_offset for later use.
18694 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18695 freeing static tls block.
18696
95721191
JN
186972011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18698
18699 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18700 where #ifdef was intended. The intent is to prevent ARG_MAX from
18701 being defined by the kernel headers.
18702
f87dfb1f
UD
187032011-05-07 Ulrich Drepper <drepper@gmail.com>
18704
18705 [BZ #12734]
18706 * resolv/resolv.h: Define RES_NOTLDQUERY.
18707 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18708 no-tld-query and set RES_NOTLDQUERY.
18709 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18710 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18711 modern BIND to search name as TLD unless forbidden.
18712
47c3cd7a
UD
187132011-05-07 Petr Baudis <pasky@suse.cz>
18714 Ulrich Drepper <drepper@gmail.com>
18715
18716 [BZ #12393]
18717 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18718 (is_trusted_path): ...to here.
c1e9ea35 18719 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 18720 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 18721 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 18722
8a35c912
PP
187232011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18724
18725 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18726 __BEGIN/__END_DECLS.
18727
acd41f47
UD
187282011-05-06 Ulrich Drepper <drepper@gmail.com>
18729
18730 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18731 NSS_STATUS_NOTFOUND if no record was found.
18732
597df647
AS
187332011-05-05 Andreas Schwab <schwab@redhat.com>
18734
18735 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18736 (headers-not-in-tirpc): Remove rpc/netdb.h
18737 * resolv/netdb.h: Revert last change.
18738
b9af1301
PP
187392011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18740
18741 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18742 circular dependency between libgcc.a and libc.a.
18743
4e34d5f5
AS
187442011-05-05 Andreas Schwab <schwab@redhat.com>
18745
18746 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18747 * nis/Makefile: Don't install rpcsvc/*.
18748 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18749 instead of <rpc/types.h>.
18750 (MAXHOSTNAMELEN): Define.
18751
00ee369c
AS
187522011-05-03 Andreas Schwab <schwab@redhat.com>
18753
18754 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18755
0b592a30
MB
187562011-04-28 Maciej Babinski <mbabinski@google.com>
18757
18758 [BZ #12714]
18759 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18760 gethostbyname4_r when IPv6 results are possible.
18761
6e04cbbe
UD
187622011-05-02 Ulrich Drepper <drepper@gmail.com>
18763
18764 [BZ #12723]
18765 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18766 _PC_PIPE_BUF handling.
18767
e4ecafe0
BH
187682011-04-30 Bruno Haible <bruno@clisp.org>
18769
18770 [BZ #12717]
18771 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18772 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18773 to 'int'.
18774 * inet/getnameinfo.c (getnameinfo): Likewise.
18775
125ee683
UD
187762011-04-29 Ulrich Drepper <drepper@gmail.com>
18777
18778 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18779 to groups setting in database lookup.
18780 * nss/nsswitch.conf: Add initgroups entry.
18781
b722481a
EB
187822011-04-22 Ulrich Drepper <drepper@gmail.com>
18783
18784 [BZ #12685]
18785 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18786 mode string.
18787 Patch by Eric Blake <eblake@redhat.com>.
18788
4df46dbd
L
187892011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18790
18791 * sunrpc/Makefile (need-export-routines): Add svc_run.
18792 (routines): Remove svc_run.
18793 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18794 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18795 * sunrpc/svc_run.c (svc_run): Likewise.
18796 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18797
e84142d2
UD
187982011-04-21 Ulrich Drepper <drepper@gmail.com>
18799
18800 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18801 problem in reallocation in last patch.
18802
877175d8
UD
188032011-04-20 Ulrich Drepper <drepper@gmail.com>
18804
18805 * sunrpc/Makefile: Move inclusion of Rules.
18806
ab8eed78
UD
188072011-04-19 Ulrich Drepper <drepper@gmail.com>
18808
18809 * nss/nss_files/files-initgroups.c: New file.
18810 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18811 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18812 _nss_files_initgroups_dyn.
18813
e3d8f584
RS
188142011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18815
18816 * elf/elf.h (R_ARM_IRELATIVE): Define.
18817
af190f45
UD
188182011-04-19 Ulrich Drepper <drepper@gmail.com>
18819
18820 * po/ru.po: Update from translation team.
18821
53cf59ef
UD
188222011-04-17 Ulrich Drepper <drepper@gmail.com>
18823
18824 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18825 dependencies.
18826
4c559bcd
MF
188272011-02-06 Mike Frysinger <vapier@gentoo.org>
18828
18829 [BZ #12653]
18830 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18831 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18832 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18833 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18834 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18835
4420675c
AS
188362011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18837
18838 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18839 differing bytes.
18840 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18841 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18842 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18843
75ea32ab
UD
188442011-04-17 Ulrich Drepper <drepper@gmail.com>
18845
18846 [BZ #12420]
18847 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18848 storing it.
18849 * stdlib/bug-getcontext.c: New file.
18850 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18851
27390476
AK
188522011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18853
18854 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18855 instructions into .machine "z9-109".
18856 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18857 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18858
10442705
AK
188592011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18860
18861 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18862 between environment variables and auxiliary vector.
18863
7b57bfe5
UD
188642011-04-16 Ulrich Drepper <drepper@gmail.com>
18865
18866 * Makefile: Add rules to build linkobj/libc.so.
18867 * include/libc-symbols.h: Define libc_hidden_nolink.
18868 * include/rpc/auth.h: Mark functions which are to be hidden.
18869 * include/rpc/auth_des.h: Likewise.
18870 * include/rpc/auth_unix.h: Likewise.
18871 * include/rpc/clnt.h: Likewise.
18872 * include/rpc/des_crypt.h: Likewise.
18873 * include/rpc/key_prot.h: Likewise.
18874 * include/rpc/pmap_clnt.h: Likewise.
18875 * include/rpc/pmap_prot.h: Likewise.
18876 * include/rpc/pmap_rmt.h: Likewise.
18877 * include/rpc/rpc_msg.h: Likewise.
18878 * include/rpc/svc.h: Likewise.
18879 * include/rpc/svc_auth.h: Likewise.
18880 * include/rpc/xdr.h: Likewise.
18881 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18882 * nss/Makefile: Likewise.
18883 * sunrpc/Makefile: Don't install headers. Build library with normal
18884 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18885 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18886 for the compat linking library. Remove use of INTDEF/INTUSE.
18887 * sunrpc/auth_none.c: Likewise.
18888 * sunrpc/auth_unix.c: Likewise.
18889 * sunrpc/authdes_prot.c: Likewise.
18890 * sunrpc/authuxprot.c: Likewise.
18891 * sunrpc/clnt_gen.c: Likewise.
18892 * sunrpc/clnt_perr.c: Likewise.
18893 * sunrpc/clnt_raw.c: Likewise.
18894 * sunrpc/clnt_simp.c: Likewise.
18895 * sunrpc/clnt_tcp.c: Likewise.
18896 * sunrpc/clnt_udp.c: Likewise.
18897 * sunrpc/clnt_unix.c: Likewise.
18898 * sunrpc/des_crypt.c: Likewise.
18899 * sunrpc/des_soft.c: Likewise.
18900 * sunrpc/get_myaddr.c: Likewise.
18901 * sunrpc/key_call.c: Likewise.
18902 * sunrpc/key_prot.c: Likewise.
18903 * sunrpc/netname.c: Likewise.
18904 * sunrpc/pm_getmaps.c: Likewise.
18905 * sunrpc/pm_getport.c: Likewise.
18906 * sunrpc/pmap_clnt.c: Likewise.
18907 * sunrpc/pmap_prot.c: Likewise.
18908 * sunrpc/pmap_prot2.c: Likewise.
18909 * sunrpc/pmap_rmt.c: Likewise.
18910 * sunrpc/publickey.c: Likewise.
18911 * sunrpc/rpc_cmsg.c: Likewise.
18912 * sunrpc/rpc_common.c: Likewise.
18913 * sunrpc/rpc_dtable.c: Likewise.
18914 * sunrpc/rpc_prot.c: Likewise.
18915 * sunrpc/rpc_thread.c: Likewise.
18916 * sunrpc/rtime.c: Likewise.
18917 * sunrpc/svc.c: Likewise.
18918 * sunrpc/svc_auth.c: Likewise.
18919 * sunrpc/svc_authux.c: Likewise.
18920 * sunrpc/svc_raw.c: Likewise.
18921 * sunrpc/svc_run.c: Likewise.
18922 * sunrpc/svc_simple.c: Likewise.
18923 * sunrpc/svc_tcp.c: Likewise.
18924 * sunrpc/svc_udp.c: Likewise.
18925 * sunrpc/svc_unix.c: Likewise.
18926 * sunrpc/svcauth_des.c: Likewise.
18927 * sunrpc/xcrypt.c: Likewise.
18928 * sunrpc/xdr.c: Likewise.
18929 * sunrpc/xdr_array.c: Likewise.
18930 * sunrpc/xdr_float.c: Likewise.
18931 * sunrpc/xdr_intXX_t.c: Likewise.
18932 * sunrpc/xdr_mem.c: Likewise.
18933 * sunrpc/xdr_rec.c: Likewise.
18934 * sunrpc/xdr_ref.c: Likewise.
18935 * sunrpc/xdr_sizeof.c: Likewise.
18936 * sunrpc/xdr_stdio.c: Likewise.
18937
e6c61494
UD
189382011-04-10 Ulrich Drepper <drepper@gmail.com>
18939
18940 [BZ #12650]
18941 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18942 * sysdeps/ia64/dl-tls.h: Likewise.
18943 * sysdeps/powerpc/dl-tls.h: Likewise.
18944 * sysdeps/s390/dl-tls.h: Likewise.
18945 * sysdeps/sh/dl-tls.h: Likewise.
18946 * sysdeps/sparc/dl-tls.h: Likewise.
18947 * sysdeps/x86_64/dl-tls.h: Likewise.
18948 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18949
34fe483e
AS
189502011-03-14 Andreas Schwab <schwab@redhat.com>
18951
18952 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18953 rpath element also skip the following colon.
18954 (expand_dynamic_string_token): Add is_path parameter and pass
18955 down to DL_DST_REQUIRED and _dl_dst_substitute.
18956 (decompose_rpath): Call expand_dynamic_string_token with
18957 non-zero is_path. Ignore empty rpaths.
18958 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18959 with zero is_path.
18960
f12a32e6
AS
189612011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18962
18963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18964 Make cancelable.
18965
38a7d692
UD
189662011-04-09 Ulrich Drepper <drepper@gmail.com>
18967
18968 [BZ #12655]
18969 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18970 Patch by Filipe David Manana <fdmanana@apache.org>.
18971
e451d22b
AS
189722011-04-07 Andreas Schwab <schwab@redhat.com>
18973
18974 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18975 Maintain aligned stack.
18976 (CHECK_RSP): Remove unused macro.
18977
dedc7c7b
UD
189782011-04-03 Ulrich Drepper <drepper@gmail.com>
18979
18980 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18981 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18982
94521213
UD
189832011-04-02 Ulrich Drepper <drepper@gmail.com>
18984
18985 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18986
8cb700c0 18987 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 18988
0354e355
L
189892011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18990
18991 [BZ #12518]
18992 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18993 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18994 * sysdeps/x86_64/memmove.c: New file.
18995 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18996 (memcpy): Renamed to ...
18997 (__new_memcpy): This.
18998 (memcpy): Provide GLIBC_2_14 memcpy.
18999 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
19000 (memcpy): Provide GLIBC_2_2_5 memcpy.
19001
8593482f
UD
190022011-04-01 Ulrich Drepper <drepper@gmail.com>
19003
19004 [BZ #12631]
19005 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
19006
81a5726b
AS
190072011-03-30 Andreas Schwab <schwab@redhat.com>
19008
19009 * misc/syncfs.c: New file.
19010 * misc/Makefile (routines): Add syncfs.
19011 * posix/unistd.h: Declare syncfs.
19012 * sysdeps/unix/syscalls.list: Add syncfs.
19013
00e5419f
AS
190142011-04-01 Andreas Schwab <schwab@redhat.com>
19015
19016 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
19017 open_by_handle_at.
19018 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19019 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19020 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19021 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19022 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19023 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
19024 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19025
748876bf
UD
190262011-04-01 Ulrich Drepper <drepper@gmail.com>
19027
658e451d
UD
19028 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
19029 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19030 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
19031 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19032 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19033 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19034 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19035
748876bf
UD
19036 * io/Makefile: Compile fallocate.c, fallocate64.c, and
19037 sync_file_range.c with -fexceptions.
19038 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
19039 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
19040 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19041 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19042 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
19043 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19044 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
19045 sync_file_range as cancellation point
19046 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
19047 now a wrapper around __call_sync_file_range with cancellation handling.
19048 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
19049 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
19050 function name to __call_sync_file_range.
19051 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
19052 Add call_sync_file_range.
748876bf 19053
6e63d5e1
AS
190542011-04-01 Andreas Schwab <schwab@redhat.com>
19055
19056 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 19057 bits/timex.h.
6e63d5e1 19058
46998f74
UD
190592011-04-01 Ulrich Drepper <drepper@gmail.com>
19060
4c1423ed
UD
19061 * iconv/iconv.h: Fix typo in comment.
19062 * io/fcntl.h: Likewise.
19063 * libio/stdio.h: Likewise.
19064 * posix/spawn.h: Likewise.
19065 * posix/unistd.h: Likewise.
19066 * stdlib/stdlib.h: Likewise.
19067 * time/time.h: Likewise.
19068 * wcsmbs/wchar.h: Likewise.
19069
158648c0
UD
19070 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
19071 open_by_handle): Add.
19072 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19073 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
19074 Augment a few comments.
19075 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19076 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19077 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19078 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19079 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19080 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19081 open_by_handle.
19082
46998f74
UD
19083 * io/fcntl.h (AT_EMPTY_PATH): Define.
19084
83fe108b
UD
190852011-03-30 Ulrich Drepper <drepper@gmail.com>
19086
19087 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19088 * sysdeps/unix/sysv/linux/bits/time.h: New file.
19089 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19090 to...
19091 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
19092 * Versions.def: Add GLIBC_2.14.
19093 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19094 Export.
83fe108b 19095
bb242059
UD
190962011-03-22 Ulrich Drepper <drepper@gmail.com>
19097
19098 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19099 round counter.
19100 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19101
c97a1282
L
191022011-03-20 H.J. Lu <hongjiu.lu@intel.com>
19103
19104 [BZ #12597]
19105 * string/test-strncmp.c (do_page_test): New function.
19106 (check2): Likewise.
19107 (test_main): Call check2.
19108 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19109
2a115601
UD
191102011-03-20 Ulrich Drepper <drepper@gmail.com>
19111
19112 [BZ #12587]
19113 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19114 Handle cache information in CPU leaf 4.
19115 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19116
8126d904
UD
191172011-03-18 Ulrich Drepper <drepper@gmail.com>
19118
042c49c6 19119 [BZ #12583]
8126d904
UD
19120 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19121 character representation.
19122 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19123
ccfe366e
RA
191242011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
19125
19126 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19127 END(__isnan) to END(__isnanf) to match function entry point/label
19128 EALIGN(__isnanf,...).
19129
c6e13027
JJ
191302011-03-10 Jakub Jelinek <jakub@redhat.com>
19131
19132 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19133
33f85a3f
UD
191342011-03-10 Ulrich Drepper <drepper@gmail.com>
19135
028478fa
UD
19136 [BZ #12510]
19137 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19138 copy from the symbol referenced in the relocation to initialize the
19139 used variable.
19140 Patch by Piotr Bury <pbury@goahead.com>.
19141 * elf/Makefile: Add rules to build and tst-unique3.
19142 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19143 * elf/tst-unique3.cc: New file.
19144 * elf/tst-unique3.h: New file.
19145 * elf/tst-unique3lib.cc: New file.
19146 * elf/tst-unique3lib2.cc: New file.
19147
33f85a3f
UD
19148 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19149
03592fc7
MF
191502011-03-10 Mike Frysinger <vapier@gentoo.org>
19151
19152 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19153 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
19154 to _start.
03592fc7 19155
6a5ee102
UD
191562011-03-06 Ulrich Drepper <drepper@gmail.com>
19157
19158 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19159 to-be-loaded object along a path to loader is ld.so.
19160
7e4ba49c
HJ
191612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19162 Ulrich Drepper <drepper@gmail.com>
19163
19164 * sysdeps/x86_64/memset.S: After aligning destination, code
19165 branches to different locations depending on the value of
19166 misalignment, when multiarch is enabled. Fix this.
19167
191682011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19169
19170 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19171 Set _x86_64_preferred_memory_instruction for AMD processsors.
19172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19173 Set bit_Prefer_SSE_for_memop for AMD processors.
19174
13a804de
UD
191752011-03-04 Ulrich Drepper <drepper@gmail.com>
19176
19177 * libio/fmemopen.c (fmemopen): Optimize a bit.
19178
9d25c392
AS
191792011-03-03 Andreas Schwab <schwab@redhat.com>
19180
19181 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19182
a5543c6a
RM
191832011-03-03 Roland McGrath <roland@redhat.com>
19184
19185 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19186
012d35f7
DM
191872011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19188
7e4ba49c 19189 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
19190 __bzero_ultra1 instead of __memset_ultra1.
19191
4bff6e01
AS
191922011-02-23 Andreas Schwab <schwab@redhat.com>
19193 Ulrich Drepper <drepper@gmail.com>
19194
19195 [BZ #12509]
19196 * include/link.h (struct link_map): Add l_orig_initfini.
19197 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19198 returning unsuccessfully.
19199 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19200 close of a file loaded at startup, restore the original l_initfini
19201 list.
19202 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19203 list, store the pointer.
19204 * elf/Makefile ($(objpfx)noload-mem): New rule.
19205 (noload-ENV): Define.
19206 (tests): Add $(objpfx)noload-mem.
19207 * elf/noload.c: Include <memcheck.h>.
19208 (main): Call mtrace. Close all opened handles.
19209
f2092faf
AS
192102011-02-17 Andreas Schwab <schwab@redhat.com>
19211
19212 [BZ #12454]
19213 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19214 dependencies are missing.
19215
6c8a2e88
ST
192162011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19217
f2092faf 19218 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
19219 Hurd needs munmap.
19220 * sysdeps/mach/hurd/ifreq.h: New file.
19221
84a42118
PB
192222011-01-27 Petr Baudis <pasky@suse.cz>
19223 Ulrich Drepper <drepper@gmail.com>
19224
071f805e 19225 [BZ 12445]#
84a42118
PB
19226 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19227 to extend_alloca().
19228 * stdio-common/bug23.c: New file.
19229 * stdio-common/Makefile (tests): Add bug23.
19230
e23fe25b
AS
192312010-09-28 Andreas Schwab <schwab@redhat.com>
19232 Ulrich Drepper <drepper@gmail.com>
19233
19234 [BZ #12489]
19235 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19236 before performing relro protection. At old place add assertion
19237 to make sure nothing changed.
19238
d3f02e10
NS
192392011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19240 Glauber de Oliveira Costa <glommer@gmail.com>
19241
19242 * elf/elf.h: Add new ARM TLS relocs.
19243
d55fd7a5
RA
192442011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19245
19246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19247 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19248 cast from r3.
19249 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19250 'tests' variable.
19251 * sysdeps/wordsize-64/tst-writev.c: New file.
19252
2206397e
RA
192532011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19254
19255 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19256 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19257 insns in _dl_start to prevent a TOC reference before relocs are
19258 resolved.
19259
e9433893
UD
192602011-02-15 Ulrich Drepper <drepper@gmail.com>
19261
19262 [BZ #12469]
19263 * Makeconfig: Remove RANLIB definition.
19264 * Makerules: Don't use RANLIB.
19265 * aclocal.m4: Remove ranlib test.
19266 * configure.in: No need to check for ranlib.
19267 * elf/rtld-Rules: Don't use RANLIB.
19268
f75286c6
ST
192692011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19270
8e31c82d
ST
19271 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19272 protection macro.
19273 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19274 inclusion protection macro.
19275
f75286c6
ST
19276 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19277 SIGRTMIN and SIGRTMAX and print information in that case only when
19278 SIGRTMIN is defined.
19279
c1d0e639
JJ
192802011-02-11 Jakub Jelinek <jakub@redhat.com>
19281
19282 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19283 arginfo fn returning -1.
19284
19285 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19286 and thousands string is zero terminated.
19287
edf9294e
AS
192882011-02-03 Andreas Schwab <schwab@redhat.com>
19289
19290 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19291 sysdeps/unix/sysv/linux/bits/socket.h.
19292
2b7e92df
ST
192932011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19294
edf9294e
AS
19295 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19296 (__CPU_COUNT): Remove old macros.
19297 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19298 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19299 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
19300 (__sched_cpualloc, __sched_cpufree): Add declarations.
19301
a4c7ea7b
UD
193022011-02-05 Ulrich Drepper <drepper@gmail.com>
19303
19304 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19305 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19306 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19307 (readdhstai): Return value of addhstaiX call.
19308 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19309 (addgrbyX): Return value returned by cache_addgr.
19310 (readdgrbyname): Return value returned by addgrbyX.
19311 (readdgrbygid): Likewise.
19312 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19313 (addpwbyX): Return value returned by cache_addpw.
19314 (readdpwbyname): Return value returned by addhstbyX.
19315 (readdpwbyuid): Likewise.
19316 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19317 (addservbyX): Return value returned by cache_addserv.
19318 (readdservbyname): Return value returned by addservbyX:
19319 (readdservbyport): Likewise.
19320 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19321 (addhstbyX): Return value returned by cache_addhst.
19322 (readdhstbyname): Return value returned by addhstbyX.
19323 (readdhstbyaddr): Likewise.
19324 (readdhstbynamev6): Likewise.
19325 (readdhstbyaddrv6): Likewise.
19326 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19327 (readdinitgroups): Return value returned by addinitgroupsX.
19328 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19329 (prune_cache): Keep track of timeout value of re-added entries.
19330 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19331 * nscd/nscd.h: Adjust prototypes of readd* functions.
19332
a0bf67cc
RM
193332011-02-04 Roland McGrath <roland@redhat.com>
19334
19335 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19336 (nis_stats): Likewise.
19337 * nis/nis_modify.c (nis_modify): Likewise.
19338 * nis/nis_remove.c (nis_remove): Likewise.
19339 * nis/nis_add.c (nis_add): Likewise.
19340
19341 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19342
19343 * posix/fnmatch_loop.c: Add some consts.
19344
19345 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19346
435b95eb
L
193472011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19348
19349 [BZ #12460]
19350 * config.make.in (config-cflags-novzeroupper): Define.
19351 * configure.in: Substitute libc_cv_cc_novzeroupper.
19352 * elf/Makefile (AVX-CFLAGS): Define.
19353 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19354 (CFLAGS-tst-auditmod4a.c): Likewise.
19355 (CFLAGS-tst-auditmod4b.c): Likewise.
19356 (CFLAGS-tst-auditmod6b.c): Likewise.
19357 (CFLAGS-tst-auditmod6c.c): Likewise.
19358 (CFLAGS-tst-auditmod7b.c): Likewise.
19359 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19360
8517b15e
UD
193612011-02-02 Ulrich Drepper <drepper@gmail.com>
19362
19363 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19364 function to the callback.
19365 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19366
10a656fe
AS
193672011-02-02 Andreas Schwab <schwab@redhat.com>
19368
19369 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19370 of errno.
19371
968dad0a
UD
193722011-01-19 Ulrich Drepper <drepper@gmail.com>
19373
9f94d2ea 19374 [BZ #11724]
968dad0a
UD
19375 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19376 of constructors.
19377 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19378 of destructors.
19379 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19380
19381 [BZ #11724]
19382 * elf/Makefile: Add rules to build and run new test.
19383 * elf/tst-initorder.c: New file.
19384 * elf/tst-initorder.exp: New file.
19385 * elf/tst-initordera1.c: New file.
19386 * elf/tst-initordera2.c: New file.
19387 * elf/tst-initordera3.c: New file.
19388 * elf/tst-initordera4.c: New file.
19389 * elf/tst-initorderb1.c: New file.
19390 * elf/tst-initorderb2.c: New file.
19391 * elf/tst-order-a1.c: New file.
19392 * elf/tst-order-a2.c: New file.
19393 * elf/tst-order-a3.c: New file.
19394 * elf/tst-order-a4.c: New file.
19395 * elf/tst-order-b1.c: New file.
19396 * elf/tst-order-b2.c: New file.
19397 * elf/tst-order-main.c: New file.
19398 New test case by George Gensure <werkt0@gmail.com>.
19399
86e92359
UD
194002010-10-01 Andreas Schwab <schwab@redhat.com>
19401
19402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19403 decoding ACE if AI_CANONIDN.
19404
5d5732b0
UD
194052011-01-18 Ulrich Drepper <drepper@gmail.com>
19406
19407 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19408
a77e8cbc
UD
194092011-01-17 Ulrich Drepper <drepper@gmail.com>
19410
6392473f
UD
19411 * version.h (RELEASE): Bump for 2.13 release.
19412 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19413
620a0529
UD
19414 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19415
18ba70a5
UD
19416 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19417 MADV_NOHUGEPAGE.
32465c3e
UD
19418 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19419 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19420 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19421 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19422 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19423 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19424
c0dafcf1
UD
19425 * posix/getconf.c: Update copyright year.
19426 * catgets/gencat.c: Likewise.
19427 * csu/version.c: Likewise.
19428 * debug/catchsegv.sh: Likewise.
19429 * debug/xtrace.sh: Likewise.
19430 * elf/ldconfig.c: Likewise.
19431 * elf/ldd.bash.in: Likewise.
19432 * elf/sprof.c (print_version): Likewise.
19433 * iconv/iconv_prog.c: Likewise.
19434 * iconv/iconvconfig.c: Likewise.
19435 * locale/programs/locale.c: Likewise.
19436 * locale/programs/localedef.c: Likewise.
19437 * malloc/memusage.sh: Likewise.
19438 * malloc/mtrace.pl: Likewise.
19439 * nscd/nscd.c (print_version): Likewise.
19440 * nss/getent.c: Likewise.
19441
a77e8cbc
UD
19442 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19443 PF_CAIF, and PF_ALG.
19444 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19445
77e8bddf
AS
194462011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19447
1f20b93a
AS
19448 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19449 (modules-names): Use them.
19450 (ifunc-test-modules, ifunc-pie-tests): Define.
19451 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19452 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19453 (test-extras): Likewise.
19454 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19455 $(compile-command.c).
19456 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19457 (all-built-dso): Define.
19458 (check-textrel.out, check-execstack.out): Depend on it.
19459
77e8bddf
AS
19460 * configure.in: Don't override --enable-multi-arch.
19461
bc425b33
UD
194622011-01-15 Ulrich Drepper <drepper@gmail.com>
19463
19464 [BZ #6812]
19465 * nscd/hstcache.c (tryagain): Define.
19466 (cache_addhst): Return tryagain not notfound for temporary errors.
19467 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19468 failed.
19469
794c3ad3
UD
194702011-01-14 Ulrich Drepper <drepper@gmail.com>
19471
70181fdd
UD
19472 [BZ #10563]
19473 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19474 to make the syscall.
19475 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19476
794c3ad3
UD
19477 [BZ #12378]
19478 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19479 and fall back to matching as normal character if the string ends before
19480 the matching ']' is found. This is what POSIX requires.
19481 * posix/testfnm.c: Adjust test result.
19482 * posix/globtest.sh: Adjust test result. Add new test.
19483 * posix/tst-fnmatch.input: Likewise.
19484 * posix/tst-fnmatch2.c: Add new test.
19485
68dc9497
AS
194862010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19487
19488 * elf/Makefile (check-execstack): Revert last change. Depend on
19489 check-execstack.h.
19490 (check-execstack.h): New target.
19491 (generated): Add check-execstack.h.
19492 * elf/check-execstack.c: Include "check-execstack.h".
19493 (main): Revert last change.
19494 (handle_file): Return zero if GNU_STACK is absent and
19495 DEFAULT_STACK_PERMS doesn't include PF_X.
19496
451f001b
UD
194972011-01-13 Ulrich Drepper <drepper@gmail.com>
19498
cfa28e56
UD
19499 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19500 in child fails because the descriptor is already closed.
8cf8ce17
UD
19501 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19502 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19503 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 19504
1086d70d
UD
19505 [BZ #12397]
19506 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19507 syscall.
19508
451f001b
UD
19509 [BZ #10484]
19510 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19511 temporary buffer used to handle multi lookups locally.
a85b5cb4 19512 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 19513
08769175
UD
195142011-01-12 Ulrich Drepper <drepper@gmail.com>
19515
19516 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19517 loader is ld.so.
19518
5e49c52e
UD
195192011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19520
19521 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19522 alignment for SSE2.
19523
60522a5f
UD
195242011-01-12 Ulrich Drepper <drepper@gmail.com>
19525
19526 [BZ #12394]
19527 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19528 characters. When rounding increased number of integer digits recompute
19529 number of groups.
19530 * stdio-common/tst-grouping.c: New file.
19531 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19532
f257bbd7
UD
195332011-01-09 Ulrich Drepper <drepper@gmail.com>
19534
19535 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19536 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19537
19538 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19539 void.
19540 * bits/select.h: Likewise.
19541
fa9c15cb
UD
195422011-01-08 Ulrich Drepper <drepper@gmail.com>
19543
19544 * po/ja.po: Update from translation team.
19545
16c2895f
DM
195462011-01-04 David S. Miller <davem@sunset.davemloft.net>
19547
19548 [BZ #11155]
19549 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19550 implementation just like for lxstat, fxstatat, et al.
19551
2543fef2
JM
195522010-12-27 Jim Meyering <meyering@redhat.com>
19553
19554 [BZ #12348]
19555 * posix/regexec.c (build_trtable): Return failure indication upon
19556 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19557
98727dbe
UD
195582010-12-25 Ulrich Drepper <drepper@gmail.com>
19559
5bd6dc5c
UD
19560 [BZ #12201]
19561 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19562 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19563 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19564 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19565
97983464
UD
19566 [BZ #12207]
19567 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19568
98727dbe
UD
19569 [BZ #12204]
19570 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19571 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19572
4a531bb0
L
195732010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19574
19575 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19576 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19577 script has SORT_BY_INIT_PRIORITY.
19578 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19579 NO_CTORS_DTORS_SECTIONS is defined.
19580 * elf/soinit.c: Likewise.
19581 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19582 NO_CTORS_DTORS_SECTIONS is defined.
19583 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19584 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19585 * sysdeps/sh/init-first.c: Likewise.
19586 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19587
07eb4b71
UD
195882010-12-24 Ulrich Drepper <drepper@gmail.com>
19589
19590 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19591 always use the slow path.
19592
30950a5f
RA
195932010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19594
19595 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19596 similar rule which adds the sysdep directories to the header search in
19597 order to pick up the correct platform stackinfo.h.
19598 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19599 perform test if it is, otherwise return successfully without testing.
19600 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19601 DEFAULT_STACK_PERMS define in stackinfo.h.
19602 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19603 defined in stackinfo.h.
19604 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19605 DEFAULT_STACK_PERMS defined in stackinfo.h.
19606 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19607 * sysdeps/ia64/stackinfo.h: Likewise.
19608 * sysdeps/s390/stackinfo.h: Likewise.
19609 * sysdeps/sh/stackinfo.h: Likewise.
19610 * sysdeps/sparc/stackinfo.h: Likewise.
19611 * sysdeps/x86_64/stackinfo.h: Likewise.
19612 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19613 PF_X for powerpc64. Retain PF_X for powerpc32.
19614
db753e2c
UD
196152010-12-19 Ulrich Drepper <drepper@gmail.com>
19616
14b697f7
UD
19617 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19618 accurately.
db753e2c
UD
19619 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19620 GETDENTS_64BIT_ALIGNED.
19621
28300719
UD
196222010-12-14 Ulrich Drepper <dreper@gmail.com>
19623
14b697f7 19624 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 19625
4f197237
AS
196262010-12-10 Andreas Schwab <schwab@redhat.com>
19627
dbb0472f
AS
19628 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19629 _GNU_SOURCE.
19630
4f197237
AS
19631 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19632 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19633 Remove __restrict.
19634 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19635 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19636
fb88ac72
UD
196372010-12-09 Ulrich Drepper <drepper@gmail.com>
19638
19639 [BZ #11655]
19640 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19641 are initialized.
19642
42acbb92
JJ
196432010-12-09 Jakub Jelinek <jakub@redhat.com>
19644
19645 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19646
c038d98d
UD
196472010-12-03 Ulrich Drepper <drepper@gmail.com>
19648
19649 * po/it.po: Update from translation team.
19650
3a4a2499
L
196512010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19652
19653 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19654 unused codes.
19655
1e24cf6e
UD
196562010-11-30 Ulrich Drepper <drepper@gmail.com>
19657
19658 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19659
a7690819
AS
196602010-11-24 Andreas Schwab <schwab@redhat.com>
19661
19662 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19663 specially.
19664 (gaih_getanswer_slice): Likewise.
19665
3bf8d1b1
JJ
196662010-10-20 Jakub Jelinek <jakub@redhat.com>
19667
19668 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19669
6db52fbb
PB
196702010-05-31 Petr Baudis <pasky@suse.cz>
19671
19672 [BZ #11149]
19673 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19674 silently even in the chroot mode.
19675
eaca7569
UD
196762010-11-22 Ulrich Drepper <drepper@gmail.com>
19677
19678 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19679 last patch a bit. Pretty printing
19680
3056dcdb
UD
196812010-05-31 Petr Baudis <pasky@suse.cz>
19682
19683 [BZ #10085]
19684 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19685 initialization of skip_initgroups_dyn.
19686
cf7c9078
UD
196872010-11-19 Ulrich Drepper <drepper@gmail.com>
19688
19689 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19690 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19691
a1fb5e3e
UD
196922010-11-16 Ulrich Drepper <drepper@gmail.com>
19693
19694 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19695
3540d66b
AS
196962010-11-11 Andreas Schwab <schwab@redhat.com>
19697
19698 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19699 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19700 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19701 ($(objpfx)tst-fnmatch-mem): New rule.
19702 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19703 * posix/tst-fnmatch.c (main): Call mtrace.
19704
13b69574
L
197052010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19706
19707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19708 Support Intel processor model 6 and model 0x2c.
19709
da93d214
LM
197102010-11-10 Luis Machado <luisgpm@br.ibm.com>
19711
19712 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19713 signed comparison.
19714
8ca52c6e
L
197152010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19716
19717 [BZ #12205]
19718 * string/test-strncasecmp.c (check_result): New function.
19719 (do_one_test): Use it.
19720 (check1): New function.
19721 (test_main): Use it.
19722 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19723 Support strcasecmp and strncasecmp.
19724
69da074d
UD
197252010-11-08 Ulrich Drepper <drepper@gmail.com>
19726
19727 [BZ #12194]
19728 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19729 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19730
ff02d528
L
197312010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19732
19733 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19734 IFUNC support.
19735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19736 memset-x86-64.
19737 * sysdeps/x86_64/multiarch/bzero.S: New file.
19738 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19739 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19740 * sysdeps/x86_64/multiarch/memset.S: New file.
19741 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19742 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19743 Set bit_Prefer_SSE_for_memop for Intel processors.
19744 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19745 Define.
19746 (index_Prefer_SSE_for_memop): Define.
19747 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19748
344d0b54
LM
197492010-11-04 Luis Machado <luisgpm@br.ibm.com>
19750
19751 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19752 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19753
c0dde15b
UD
197542010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19755
19756 [BZ #12191]
19757 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19758 (__x86_64_raw_data_cache_size_half): Likewise.
19759 (__x86_64_raw_shared_cache_size): Likewise.
19760 (__x86_64_raw_shared_cache_size_half): Likewise.
19761
19762 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19763 (__x86_64_raw_data_cache_size_half): Likewise.
19764 (__x86_64_raw_shared_cache_size): Likewise.
19765 (__x86_64_raw_shared_cache_size_half): Likewise.
19766 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19767 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19768 and __x86_64_raw_shared_cache_size_half. Round
19769 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19770 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19771 to multiple of 256 bytes.
19772
0e516e0e
MS
197732010-11-03 Ulrich Drepper <drepper@gmail.com>
19774
19775 [BZ #12167]
19776 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19777 of inacessible symlinks. Verify result of symlink before returning it.
19778 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19779 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19780
0e012e87
ER
197812010-10-28 Erich Ritz <erichritz@gmail.com>
19782
19783 * math/math.h (isinf): Fix typo in comment.
19784
de0ff7bc
UD
197852010-11-01 Ulrich Drepper <drepper@gmail.com>
19786
19787 * po/da.po: Update from translation team.
19788
fa41c84d
UD
197892010-10-26 Ulrich Drepper <drepper@gmail.com>
19790
19791 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19792 is added to the list.
19793
f0967738
AK
197942010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19795 Ulrich Drepper <drepper@gmail.com>
19796
19797 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19798 the global list here. Move code to...
19799 (_dl_add_to_namespace_list): ...here. New function.
19800 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19801 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19802 * elf/dl-load.c (lose): Don't remove the element from the list.
19803 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19804 (_dl_map_object): Likewise.
19805
198062010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
19807
19808 [BZ #12159]
19809 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19810 into all bytes of SSE register.
19811 Patch by Richard Li <richardpku@gmail.com>.
19812
f0967738 198132010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
19814
19815 [BZ #12140]
19816 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19817 perturbing.
19818
d0b9e94f
MB
198192010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19820
19821 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19822 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19823 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19824 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19826 submachine.
19827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19828
8e9f92e9
AS
198292010-10-22 Andreas Schwab <schwab@redhat.com>
19830
19831 * include/dlfcn.h (__RTLD_SECURE): Define.
19832 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19833 mode & __RTLD_SECURE instead.
19834 (open_path): Rename preloaded parameter to secure.
19835 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19836 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19837 * elf/dl-deps.c (openaux): Likewise.
19838 * elf/rtld.c (struct map_args): Remove is_preloaded.
19839 (map_doit): Don't use it.
19840 (dl_main): Likewise.
19841 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19842 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19843
bc96fbda
AS
198442010-09-09 Andreas Schwab <schwab@redhat.com>
19845
19846 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19847 (sysd-rules-targets): Remove duplicates.
19848 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19849 rtld-%.$o dependency.
19850
22cd1c9b
AS
198512010-10-18 Andreas Schwab <schwab@redhat.com>
19852
19853 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19854 _dl_map_object do it.
19855
18edac48
UD
198562010-10-19 Ulrich Drepper <drepper@gmail.com>
19857
19858 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19859 fast fma builtins, define the macros in the C99 standard.
19860 (FP_FAST_FMAF): Likewise.
19861 (FP_FAST_FMAL): Likewise.
19862 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19863
19864 * bits/mathdef.h: Update copyright year.
19865 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19866
d2050124
MM
198672010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19868
19869 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19870 builtins, define the macros in the C99 standard.
19871 (FP_FAST_FMAF): Likewise.
19872 (FP_FAST_FMAL): Likewise.
19873 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19874 multiply/add.
19875 (FP_FAST_FMAF): Likewise.
19876
475facd1
JJ
198772010-10-15 Jakub Jelinek <jakub@redhat.com>
19878
19879 [BZ #3268]
19880 * math/libm-test.inc (fma_test): Some new testcases.
19881 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19882 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19883 y and infinite z. Do multiplication by C already in long double.
19884 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19885 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19886 y and infinite z. Do bitwise or of inexact bit into u.d.
19887 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19888 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19889 * sysdeps/i386/fpu/s_fma.S: Removed.
19890 * sysdeps/i386/fpu/s_fmal.S: Removed.
19891
7c08a05c
JJ
198922010-10-16 Jakub Jelinek <jakub@redhat.com>
19893
19894 [BZ #3268]
19895 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19896 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19897 computation is not scheduled after fetestexcept. Fix value
19898 of minimum denormal long double.
19899
f3f7372d
JJ
199002010-10-14 Jakub Jelinek <jakub@redhat.com>
19901
19902 [BZ #3268]
19903 * math/libm-test.inc (fma_test): Add some more tests.
19904 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19905 correctly.
19906
14d43591
AS
199072010-10-15 Andreas Schwab <schwab@redhat.com>
19908
19909 * scripts/data/localplt-s390-linux-gnu.data: New file.
19910 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19911
5e908464
JJ
199122010-10-13 Jakub Jelinek <jakub@redhat.com>
19913
19914 [BZ #3268]
19915 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19916 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19917 instead of dbl-64.
19918 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19919 inlines.
19920 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19921 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19922 if one of x and y is very large and the other is subnormal.
19923 * sysdeps/s390/fpu/s_fmaf.c: New file.
19924 * sysdeps/s390/fpu/s_fma.c: New file.
19925 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19926 * sysdeps/powerpc/fpu/s_fma.S: New file.
19927 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19928 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19929 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19930
199312010-10-12 Jakub Jelinek <jakub@redhat.com>
19932
19933 [BZ #3268]
19934 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19935 fma tests.
19936 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19937 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19938 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19939 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19940 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19941 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19942 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19943
b833d51f
UD
199442010-10-12 Ulrich Drepper <drepper@redhat.com>
19945
19946 [BZ #12078]
19947 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19948 * posix/bug-regex31.input: Add test case.
19949
1751705d
UD
199502010-10-11 Ulrich Drepper <drepper@gmail.com>
19951
e9b9cbf5
UD
19952 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19953 * posix/bug-regex31.input: New file.
19954
19955 [BZ #12078]
19956 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19957 (parse_sub_exp): Fix last change, use postorder.
19958
ef06edbe
UD
19959 * posix/bug-regex31.c: New file.
19960 * posix/Makefile: Add rules to build and run bug-regex31.
19961
a129c80d
UD
19962 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19963
19964 [BZ #12078]
19965 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19966
b76b818e
UD
19967 [BZ #12108]
19968 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19969 to have entries in sys_siglist.
19970
1751705d
UD
19971 [BZ #12093]
19972 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19973 be NULL.
19974
9ff8d36f
JJ
199752010-10-07 Jakub Jelinek <jakub@redhat.com>
19976
19977 [BZ #3268]
19978 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19979 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19980 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19981 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19982 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19983 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19984 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19985 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19986 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19987 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19988 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19989 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19990 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19991 * math/ftestexcept.c (fetestexcept): Likewise.
19992 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19993 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19994 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19995 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19996 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19997 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19998 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19999
af325969
UD
200002010-10-11 Ulrich Drepper <drepper@gmail.com>
20001
c579b202 20002 [BZ #12107]
af325969
UD
20003 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
20004 newline.
20005
67a67b95
UD
200062010-10-06 Ulrich Drepper <drepper@gmail.com>
20007
20008 * string/bug-strstr1.c: New file.
20009 * string/Makefile: Add rules to build and run bug-strstr1.
20010
5fb308bc
EB
200112010-10-05 Eric Blake <eblake@redhat.com>
20012
20013 [BZ #12092]
20014 * string/str-two-way.h (two_way_long_needle): Always clear memory
20015 when skipping input due to the shift table.
20016
45db99c7
UD
200172010-10-03 Ulrich Drepper <drepper@gmail.com>
20018
3b111893
UD
20019 [BZ #12005]
20020 * malloc/mcheck.c: Handle large requests.
20021
45db99c7
UD
20022 [BZ #12077]
20023 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
20024 for strncmp and strncasecmp.
20025 * string/stratcliff.c: Add tests for strcmp and strncmp.
20026 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
20027
cf7a1eb8
NI
200282010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20029
20030 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
20031 __set_fpscr.
20032
6484ba5e
AJ
200332010-09-30 Andreas Jaeger <aj@suse.de>
20034
20035 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
20036 (CGROUP_SUPER_MAGIC): Define.
20037 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20038 Handle btrfs and cgroup file systems.
20039 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20040 Likewise.
20041
91c42559
LM
200422010-09-27 Luis Machado <luisgpm@br.ibm.com>
20043
20044 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
20045 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
20046
87a97932
AK
200472010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20048
20049 [BZ #12067]
20050 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
20051 trying to locate the ELF header.
20052
c21cc9bc
AS
200532010-09-27 Andreas Schwab <schwab@redhat.com>
20054
20055 [BZ #11611]
20056 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
20057 Mask out sign-bit copies when constructing f_fsid.
20058
315970f6
PB
200592010-09-24 Petr Baudis <pasky@suse.cz>
20060
20061 * debug/stack_chk_fail_local.c: Add missing licence exception.
20062 * debug/warning-nop.c: Likewise.
20063
1ac7a2c7
JM
200642010-09-15 Joseph Myers <joseph@codesourcery.com>
20065
20066 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
20067 implementing getdents64 using getdents syscall, set d_type if
20068 __ASSUME_GETDENTS32_D_TYPE.
20069
56801c50
AS
200702010-09-16 Andreas Schwab <schwab@redhat.com>
20071
20072 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20073 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20074
dda51327
UD
200752010-09-21 Ulrich Drepper <drepper@redhat.com>
20076
20077 [BZ #12037]
20078 * posix/unistd.h: Undo change of feature selection for ftruncate from
20079 2010-01-11.
20080
8ffcee4a
UD
200812010-09-20 Ulrich Drepper <drepper@redhat.com>
20082
a545ecd9 20083 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
20084 detection.
20085
e24f0a8b
AS
200862010-09-20 Andreas Schwab <schwab@redhat.com>
20087
20088 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20089 fanotify_mark.
20090 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20091
7291c56f
AS
200922010-09-14 Andreas Schwab <schwab@redhat.com>
20093
20094 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20095 variables after CHECK_SP call.
20096 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20097
bc5fb037
AS
200982010-09-13 Andreas Schwab <schwab@redhat.com>
20099 Ulrich Drepper <drepper@redhat.com>
20100
20101 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20102 re-relocationg ld.so.
20103 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20104 _dl_init_paths call.
20105 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
20106 here anymore.
20107
e66e7419
UD
201082010-09-14 Ulrich Drepper <drepper@redhat.com>
20109
20110 * resolv/res_init.c (__res_vinit): Count the default server we added.
20111
c044aa75
CLT
201122010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
20113 Ulrich Drepper <drepper@redhat.com>
20114
20115 [BZ #11968]
20116 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20117 (____longjmp_chk): Use %ebx for saving value across system call.
20118 Add unwind info.
20119
32cf4069
AS
201202010-09-06 Andreas Schwab <schwab@redhat.com>
20121
20122 * manual/Makefile: Don't mix pattern rules with normal rules.
20123
817328ee
AS
201242010-09-05 Andreas Schwab <schwab@linux-m68k.org>
20125
20126 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20127 operation.
20128 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20129 * libio/iofopncook.c (_IO_cookie_init): Likewise.
20130 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20131 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20132 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20133 Likewise.
20134
29fddf61
UD
201352010-09-04 Ulrich Drepper <drepper@redhat.com>
20136
20137 [BZ #11979]
20138 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20139 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20140
0959ffc9
UD
201412010-09-02 Ulrich Drepper <drepper@redhat.com>
20142
20143 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20144 * sysdeps/x86_64/addmul_1.S: Likewise.
20145 * sysdeps/x86_64/lshift.S: Likewise.
20146 * sysdeps/x86_64/mul_1.S: Likewise.
20147 * sysdeps/x86_64/rshift.S: Likewise.
20148 * sysdeps/x86_64/sub_n.S: Likewise.
20149 * sysdeps/x86_64/submul_1.S: Likewise.
20150
ece29840
ST
201512010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
20152
0959ffc9
UD
20153 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20154 Define __sched_param instead of SCHED_* and sched_param when
ece29840 20155 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 20156 * bits/sched.h [__need_schedparam]
ece29840 20157 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
20158 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20159 (__defined_schedparam): Define to 1.
ece29840
ST
20160 (__sched_param): New structure, identical to sched_param.
20161 (__need_schedparam): Undefine.
20162
e53a31fe
MF
201632010-08-31 Mike Frysinger <vapier@gentoo.org>
20164
fdc0c10d
MF
20165 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20166 (epoll_create1): Declare.
20167
e53a31fe
MF
20168 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20169
a726d796
AS
201702010-08-31 Andreas Schwab <schwab@redhat.com>
20171
20172 [BZ #7066]
20173 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20174 shifting retval into place.
20175
2f3e3dc7
UD
201762010-09-01 Ulrich Drepper <drepper@redhat.com>
20177
f2933da9
UD
20178 * nis/rpcsvc/nis.h: Update copyright notice.
20179 * nis/rpcsvc/nis.x: Likewise.
20180 * nis/rpcsvc/nis_callback.h: Likewise.
20181 * nis/rpcsvc/nis_callback.x: Likewise.
20182 * nis/rpcsvc/nis_object.x: Likewise.
20183 * nis/rpcsvc/nis_tags.h: Likewise.
20184 * nis/rpcsvc/yp.h: Likewise.
20185 * nis/rpcsvc/yp.x: Likewise.
20186 * nis/rpcsvc/ypupd.h: Likewise.
20187 * nis/yp_xdr.c: Likewise.
20188 * nis/ypupdate_xdr.c: Likewise.
20189
2f3e3dc7
UD
20190 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20191 mainly the body of pmap_getport. Add parameters to specify timeouts.
20192 (pmap_getport): Use __libc_rpc_getport.
20193 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20194 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20195 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20196
f3dcc2f9
AS
201972010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20198
20199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20200 fanotify_mark.
20201
6d34eb5b
RM
202022010-08-27 Roland McGrath <roland@redhat.com>
20203
20204 * sysdeps/i386/i686/multiarch/Makefile
20205 (CFLAGS-varshift.c): New variable.
20206
9ea3de11
UD
202072010-08-27 Ulrich Drepper <drepper@redhat.com>
20208
c96d23fc
UD
20209 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20210 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20211
9ea3de11
UD
20212 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20213
20214 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20215
623aac7f
L
202162010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20217
20218 * sysdeps/x86_64/strlen.S: Unroll the loop.
20219 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20220 strlen-sse2 strlen-sse2-bsf.
20221 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20222 __strlen_no_bsf if bit_Slow_BSF is set.
20223 (__strlen_sse42): Removed.
20224 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20225 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20226
8b2b7715
RM
202272010-08-25 Roland McGrath <roland@redhat.com>
20228
20229 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20230 * sysdeps/x86_64/multiarch/varshift.c: New file.
20231 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20232 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20233 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20234 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20235
e73015f2
L
202362010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20237
20238 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20239 strlen-sse2 strlen-sse2-bsf.
20240 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20241 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20242 (__strlen_sse2): Removed.
20243 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20244 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20246 bit_Slow_BSF for Atom.
20247 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20248 (index_Slow_BSF): Define.
20249 (HAS_SLOW_BSF): Define.
20250
df24a73e
UD
202512010-08-25 Ulrich Drepper <drepper@redhat.com>
20252
20253 [BZ #10851]
20254 * resolv/res_init.c (__res_vinit): When no server address at all
20255 is given default to loopback.
20256
f2ac4868
RM
202572010-08-24 Roland McGrath <roland@redhat.com>
20258
09055553
RM
20259 * configure.in: Remove config-name.h generation.
20260 * configure: Regenerated.
20261 * config-name.in: File removed.
20262 * scripts/config-uname.sh: New file.
20263 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20264 ($(objdir)config-name.h): New target.
20265
f2ac4868
RM
20266 * sunrpc/rpc_parse.h: Avoid nested comment.
20267
73f27d5e
RH
202682010-08-24 Richard Henderson <rth@redhat.com>
20269 Ulrich Drepper <drepper@redhat.com>
20270 H.J. Lu <hongjiu.lu@intel.com>
20271
20272 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20273 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20274 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20275 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20276 _mm_alignr_epi8 with _mm_loadu_si128.
20277 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20278 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20279 (__m128i_shift_right): Removed.
20280 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20281 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20282 * sysdeps/x86_64/multiarch/varshift.h: New file.
20283 * sysdeps/x86_64/multiarch/varshift.S: New file.
20284
84b9230c
MF
202852010-08-21 Mike Frysinger <vapier@gentoo.org>
20286
20287 * configure.in: Move assembler checks to before sysdep dir checking.
20288
9bbd0ddc
PB
202892010-08-20 Petr Baudis <pasky@suse.cz>
20290
20291 * LICENSES: Sync the sunrpc license.
20292
9da4bb31
UD
202932010-08-19 Ulrich Drepper <drepper@redhat.com>
20294
a7ab6ec8
UD
20295 * sunrpc/auth_des.c: Update copyright notice once again.
20296 * sunrpc/auth_none.c: Likewise.
20297 * sunrpc/auth_unix.c: Likewise.
20298 * sunrpc/authdes_prot.c: Likewise.
20299 * sunrpc/authuxprot.c: Likewise.
20300 * sunrpc/bindrsvprt.c: Likewise.
20301 * sunrpc/clnt_gen.c: Likewise.
20302 * sunrpc/clnt_perr.c: Likewise.
20303 * sunrpc/clnt_raw.c: Likewise.
20304 * sunrpc/clnt_simp.c: Likewise.
20305 * sunrpc/clnt_tcp.c: Likewise.
20306 * sunrpc/clnt_udp.c: Likewise.
20307 * sunrpc/clnt_unix.c: Likewise.
20308 * sunrpc/des_crypt.c: Likewise.
20309 * sunrpc/des_soft.c: Likewise.
20310 * sunrpc/get_myaddr.c: Likewise.
20311 * sunrpc/getrpcport.c: Likewise.
20312 * sunrpc/key_call.c: Likewise.
20313 * sunrpc/key_prot.c: Likewise.
20314 * sunrpc/openchild.c: Likewise.
20315 * sunrpc/pm_getmaps.c: Likewise.
20316 * sunrpc/pm_getport.c: Likewise.
20317 * sunrpc/pmap_clnt.c: Likewise.
20318 * sunrpc/pmap_prot.c: Likewise.
20319 * sunrpc/pmap_prot2.c: Likewise.
20320 * sunrpc/pmap_rmt.c: Likewise.
20321 * sunrpc/rpc/auth.h: Likewise.
20322 * sunrpc/rpc/auth_unix.h: Likewise.
20323 * sunrpc/rpc/clnt.h: Likewise.
20324 * sunrpc/rpc/des_crypt.h: Likewise.
20325 * sunrpc/rpc/key_prot.h: Likewise.
20326 * sunrpc/rpc/netdb.h: Likewise.
20327 * sunrpc/rpc/pmap_clnt.h: Likewise.
20328 * sunrpc/rpc/pmap_prot.h: Likewise.
20329 * sunrpc/rpc/pmap_rmt.h: Likewise.
20330 * sunrpc/rpc/rpc.h: Likewise.
20331 * sunrpc/rpc/rpc_des.h: Likewise.
20332 * sunrpc/rpc/rpc_msg.h: Likewise.
20333 * sunrpc/rpc/svc.h: Likewise.
20334 * sunrpc/rpc/svc_auth.h: Likewise.
20335 * sunrpc/rpc/types.h: Likewise.
20336 * sunrpc/rpc/xdr.h: Likewise.
20337 * sunrpc/rpc_clntout.c: Likewise.
20338 * sunrpc/rpc_cmsg.c: Likewise.
20339 * sunrpc/rpc_common.c: Likewise.
20340 * sunrpc/rpc_cout.c: Likewise.
20341 * sunrpc/rpc_dtable.c: Likewise.
20342 * sunrpc/rpc_hout.c: Likewise.
20343 * sunrpc/rpc_main.c: Likewise.
20344 * sunrpc/rpc_parse.c: Likewise.
20345 * sunrpc/rpc_parse.h: Likewise.
20346 * sunrpc/rpc_prot.c: Likewise.
20347 * sunrpc/rpc_sample.c: Likewise.
20348 * sunrpc/rpc_scan.c: Likewise.
20349 * sunrpc/rpc_scan.h: Likewise.
20350 * sunrpc/rpc_svcout.c: Likewise.
20351 * sunrpc/rpc_tblout.c: Likewise.
20352 * sunrpc/rpc_util.c: Likewise.
20353 * sunrpc/rpc_util.h: Likewise.
20354 * sunrpc/rpcinfo.c: Likewise.
20355 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20356 * sunrpc/rpcsvc/key_prot.x: Likewise.
20357 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20358 * sunrpc/rpcsvc/mount.x: Likewise.
20359 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20360 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20361 * sunrpc/rpcsvc/rex.x: Likewise.
20362 * sunrpc/rpcsvc/rstat.x: Likewise.
20363 * sunrpc/rpcsvc/rusers.x: Likewise.
20364 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20365 * sunrpc/rpcsvc/spray.x: Likewise.
20366 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20367 * sunrpc/rtime.c: Likewise.
20368 * sunrpc/svc.c: Likewise.
20369 * sunrpc/svc_auth.c: Likewise.
20370 * sunrpc/svc_authux.c: Likewise.
20371 * sunrpc/svc_raw.c: Likewise.
20372 * sunrpc/svc_run.c: Likewise.
20373 * sunrpc/svc_simple.c: Likewise.
20374 * sunrpc/svc_tcp.c: Likewise.
20375 * sunrpc/svc_udp.c: Likewise.
20376 * sunrpc/svc_unix.c: Likewise.
20377 * sunrpc/svcauth_des.c: Likewise.
20378 * sunrpc/xcrypt.c: Likewise.
20379 * sunrpc/xdr.c: Likewise.
20380 * sunrpc/xdr_array.c: Likewise.
20381 * sunrpc/xdr_float.c: Likewise.
20382 * sunrpc/xdr_mem.c: Likewise.
20383 * sunrpc/xdr_rec.c: Likewise.
20384 * sunrpc/xdr_ref.c: Likewise.
20385 * sunrpc/xdr_sizeof.c: Likewise.
20386 * sunrpc/xdr_stdio.c: Likewise.
20387
9da4bb31
UD
20388 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20389 handling.
20390
bdaa77bc
AS
203912010-08-19 Andreas Schwab <schwab@redhat.com>
20392
20393 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20394
fe2f79db
LM
203952010-08-19 Luis Machado <luisgpm@br.ibm.com>
20396
20397 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20398 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20399 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20400 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20401 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20402 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20403 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20404 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20405 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20406 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20407 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20408 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20409 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20410 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20411
b9b42ee0
AB
204122010-07-26 Anton Blanchard <anton@samba.org>
20413
20414 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20415 * malloc/arena.c (heap_trim): Likewise.
20416
1c06ba31
UD
204172010-08-16 Ulrich Drepper <drepper@redhat.com>
20418
20419 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20420 here. Not...
20421 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20422 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20423
f8392f40
L
204242010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20425
20426 * sysdeps/i386/elf/Makefile: New file.
20427
3162f12e
AS
204282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20429
20430 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20431 from fanotify_init.
20432 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20433 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20434
28c90b2c
UD
204352010-08-15 Ulrich Drepper <drepper@redhat.com>
20436
20437 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20438 of strncasecmp_l.
1feccb6c 20439 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 20440
ca6bb004
UD
204412010-08-14 Ulrich Drepper <drepper@redhat.com>
20442
e9f82e0d
UD
20443 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20444 strncase_l-nonascii.
20445 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20446 Add strncase_l-ssse3.
20447 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20448 * sysdeps/x86_64/strcmp.S: Likewise.
20449 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20450 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20451 * sysdeps/x86_64/strncase.S: New file.
20452 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20453 * sysdeps/x86_64/strncase_l.S: New file.
20454 * string/Makefile (strop-tests): Add strncasecmp.
20455 * string/test-strncasecmp.c: New file.
20456
20457 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20458 warning.
20459
ca6bb004
UD
20460 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20461 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20462
052fa7b3
AS
204632010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20464
20465 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20466
962dba78
UD
204672010-08-12 Ulrich Drepper <drepper@redhat.com>
20468
20469 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20470 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20471 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20472
bebff237
AM
204732010-05-01 Alan Modra <amodra@gmail.com>
20474
20475 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20476 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20477 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20478 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20479 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20480 tidying. Don't tail-call __sigjmp_save for static lib.
20481 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20482 save location.
20483 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20484 (CALL_MCOUNT): Add eh info, and nop after bl.
20485 (TAIL_CALL_SYSCALL_ERROR): New macro.
20486 (PSEUDO_RET): Use it.
20487 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20488 Correct save location of integer regs and cr.
20489 (_dl_profile_resolve): Correct cr save location. Delete nops
20490 after bl when SHARED. Reduce cfi size a little by better
20491 placement of cfi directives.
20492 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20493 make a stack frame. Instead use parm save area as a temp.
20494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20495 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20497 Don't make a stack frame for parent, use parm save area.
20498 Increase child stack frame to 112 bytes. Don't save unused reg,
20499 and adjust reg usage. Set up cfi on error recovery and
20500 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20502 (__makecontext): Add dummy nop after jump to exit.
20503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20504 Use correct parm save area and cr save, reduce stack frame.
20505 Correct cfi for possible PSEUDO_RET frame setup.
20506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20507 Branch to local label emitted by PSEUDO_RET rather than
20508 __syscall_error.
20509
02637374
AS
205102010-08-12 Andreas Schwab <schwab@redhat.com>
20511
20512 [BZ #11904]
20513 * locale/programs/locale.c (print_assignment): New function.
20514 (show_locale_vars): Use it.
20515
c3e2f19b
UD
205162010-08-11 Ulrich Drepper <drepper@redhat.com>
20517
3cdaa6ad
UD
20518 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20519 field.
20520 (struct statfs64): Likewise.
20521 (_STATFS_F_FLAGS): Define.
20522 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20523 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20524 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20525 (ST_VALID): Define locally.
20526 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20527 __statvfs_getflags, use the provided value.
20528 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20529 __ASSUME_STATFS_F_FLAGS.
20530
754f7da3
UD
20531 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20532
10b3bedc
UD
20533 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20534 Add sys/fanotify.h.
20535 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20536 fanotify_mask for GLIBC_2.13.
20537 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20538 fanotify_init and fanotify_mark.
20539 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20540 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20541
c08fb0d7
UD
20542 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20543 Add prlimit.
20544 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20545 prlimit64 for GLIBC_2.13.
20546 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20547 prlimit64.
20548 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20549 syscall.
20550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20551 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20552 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20553 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20554 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20555 add prlimit alias.
20556 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20557
15bac72b
UD
20558 [BZ #11903]
20559 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20560 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20561
c3e2f19b
UD
20562 * nss/Makefile: Add rules to build and run tst-nss-test1.
20563 * shlib-versions: Add entry for libnss_test1.
20564 * nss/nss_test1.c: New file.
20565 * nss/tst-nss-test1.c: New file.
20566
20567 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20568 (__nss_configure_lookup): Set appropriate entry in
20569 __nss_configure_lookup to true.
20570 * nss/nsswitch.h: Define enum with indeces of databases in
20571 databases and __nss_database_custom arrays. Declare
20572 __nss_database_custom.
20573 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20574 to avoid using nscd when custom rules are installed.
20575 * nss/getXXbyYY_r.c: Likewise.
20576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20577
20578 * nss/nss_files/files-parse.c: Whitespace fixes.
20579
f15ce4d8
UD
205802010-08-09 Ulrich Drepper <drepper@redhat.com>
20581
20582 [BZ #11883]
20583 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20584 * posix/fnmatch_loop.c: Likewise.
20585
d22e4cc9
AK
205862010-07-17 Andi Kleen <ak@linux.intel.com>
20587
20588 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20589 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20590 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20591 * Versions.def [GLIBC_2.13]: Add.
20592
805bc17d
UD
205932010-08-06 Ulrich Drepper <drepper@redhat.com>
20594
20595 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20596 Also fail if tpwd after pwuid call is NULL.
20597
5a42321d
ST
205982010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20599
20600 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20601 when converting to ms.
20602
fd3ebeda
ST
206032010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20604
20605 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20606 EOPNOTSUPP errors with ENOTTY.
20607 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20608 EOPNOTSUPP errors with ENOTTY.
20609
73507d3a
UD
206102010-07-31 Ulrich Drepper <drepper@redhat.com>
20611
20612 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20613 Add strcasecmp_l-ssse3.
20614 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20615 strcasecmp.
20616 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20617 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20618 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20619
fe36dd02
UD
206202010-07-30 Ulrich Drepper <drepper@redhat.com>
20621
66f6765a
UD
20622 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20623
42e08a54
UD
20624 * string/Makefile (strop-tests): Add strcasecmp.
20625 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20626 strcasecmp_l-nonascii.
20627 (gen-as-const-headers): Add locale-defines.sym.
20628 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20629 * sysdeps/x86_64/strcasecmp.S: New file.
20630 * sysdeps/x86_64/strcasecmp_l.S: New file.
20631 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20632 * sysdeps/x86_64/locale-defines.sym: New file.
20633 * string/test-strcasecmp.c: New file.
20634
fe36dd02
UD
20635 * string/test-strcasestr.c: Test both ends of the range of characters.
20636 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20637
48cbc0d6
RM
206382010-07-29 Roland McGrath <roland@redhat.com>
20639
76e6d6bc 20640 [BZ #11856]
48cbc0d6
RM
20641 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20642
880113d9
UD
206432010-07-27 Ulrich Drepper <drepper@redhat.com>
20644
20645 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20646 for ld.so.
20647
deb9cabb
AS
206482010-07-27 Andreas Schwab <schwab@redhat.com>
20649
20650 * manual/memory.texi (Malloc Tunable Parameters): Document
20651 M_PERTURB.
20652
1c7570ff
RM
206532010-07-26 Roland McGrath <roland@redhat.com>
20654
20655 [BZ #11840]
20656 * configure.in (-fgnu89-inline check): Set and substitute
20657 gnu89_inline, not libc_cv_gnu89_inline.
20658 * configure: Regenerated.
20659 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20660
24fb0f88
UD
206612010-07-26 Ulrich Drepper <drepper@redhat.com>
20662
20663 * string/test-strnlen.c: New file.
20664 * string/Makefile (strop-tests): Add strnlen.
20665 * string/tester.c (test_strnlen): Add a few more test cases.
20666 * string/tst-strlen.c: Better error reporting.
20667
20668 * sysdeps/x86_64/strnlen.S: New file.
20669
8e96b93a
UD
206702010-07-24 Ulrich Drepper <drepper@redhat.com>
20671
20672 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20673 lower-latency instructions.
20674
dbc676d4
UD
206752010-07-23 Ulrich Drepper <drepper@redhat.com>
20676
20677 * string/test-strcasestr.c: New file.
20678 * string/test-strstr.c: New file.
20679 * string/Makefile (strop-tests): Add strstr and strcasestr.
20680 * string/str-two-way.h: Don't undefine MAX.
20681 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20682
f6a31e0e
AS
206832010-07-21 Andreas Schwab <schwab@redhat.com>
20684
20685 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20686 strcasestr-nonascii.
20687 (CFLAGS-strcasestr-nonascii.c): Define.
20688 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20689 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20690 Remove unused attribute.
20691
5dbc3b6c
RM
206922010-07-20 Roland McGrath <roland@redhat.com>
20693
20694 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20695 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20696 ld.so.cache was broken. With it, there is no way to disable dsocaps
20697 like LD_HWCAP_MASK can disable hwcaps.
20698
23d101d8
EPM
206992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20700
20701 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20702
cc9f2e47
UD
207032010-07-16 Ulrich Drepper <drepper@redhat.com>
20704
20705 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20706 call in strcasestr.
20707 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20708 __strcasestr_sse42_nonascii.
20709 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20710 strcasestr-nonascii.c.
20711 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20712
77c1b069
LM
207132010-06-15 Luis Machado <luisgpm@br.ibm.com>
20714
20715 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20716 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20717 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20718 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20719
440566c3
UD
207202010-07-09 Ulrich Drepper <drepper@redhat.com>
20721
20722 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20723 fcntl.
20724
5be9d05d
AS
207252010-07-06 Andreas Schwab <schwab@redhat.com>
20726
c30b7ee2 20727 [BZ #11577]
5be9d05d
AS
20728 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20729 dl_signal_cerror.
20730
8a492a67
UD
207312010-07-06 Ulrich Drepper <drepper@redhat.com>
20732
20733 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20734 _PC_PIPE_BUF using F_GETPIPE_SZ.
20735
713df3d5
RM
207362010-07-05 Roland McGrath <roland@redhat.com>
20737
20738 * manual/arith.texi (Rounding Functions): Fix rint description
20739 implicit in round description.
20740
702e8f14
UD
207412010-07-02 Ulrich Drepper <drepper@redhat.com>
20742
20743 * elf/Makefile: Fix linking for a few tests to make recent linker
20744 happy.
20745
52ed8be9
AS
207462010-06-30 Andreas Schwab <schwab@redhat.com>
20747
20748 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20749 $(common-objpfx)libc_nonshared.a.
20750
f47c9a11
LM
207512010-06-21 Luis Machado <luisgpm@br.ibm.com>
20752
20753 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20754 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20755 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20756 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20757 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20758 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20759 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20760 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20775 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20776 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20777 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20778 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20779 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20780 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20781 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20782 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20783 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20784 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20785 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20786 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20801
6fb8cbcb
L
208022010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20803
20804 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20805 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20806 * string/memmove.c (memmove): Renamed to ...
20807 (MEMMOVE): ...this. Default to memmove.
20808 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20809 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20810 (END_CHK): Define.
20811 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20812 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20813 mempcpy-ssse3-back memmove-ssse3-back.
20814 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20815 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20816 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20817 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20818 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20819 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20820 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20821 * sysdeps/x86_64/multiarch/memmove.c: New file.
20822 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20823 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20824 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20825 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20826 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20827 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20828 Define.
20829 (index_Fast_Copy_Backward): Define.
20830 (HAS_ARCH_FEATURE): Define.
20831 (HAS_FAST_REP_STRING): Define.
20832 (HAS_FAST_COPY_BACKWARD): Define.
20833
4e733bac 208342010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
20835
20836 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20837 Restore proper fallback handling.
20838
63c4ed22
UD
208392010-06-19 Ulrich Drepper <drepper@redhat.com>
20840
ac2b484c
UD
20841 [BZ #11701]
20842 * posix/group_member.c (__group_member): Correct checking loop.
20843
63c4ed22
UD
20844 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20845 OOM in getpwuid_r correctly. Return error number when the caller
20846 should return, otherwise -1.
20847 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20848 call returning > 0 value.
20849 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20850
765ade4b
AS
208512010-06-07 Andreas Schwab <schwab@redhat.com>
20852
20853 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20854 libc_nonshared.a from targets in modules-names.
20855
80da2e09
KS
208562010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20857
20858 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20859 requires it.
20860
158db122
LM
208612010-06-10 Luis Machado <luisgpm@br.ibm.com>
20862
20863 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20864 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20865 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20866 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20867
caa78cf8
AS
208682010-06-02 Andreas Schwab <schwab@redhat.com>
20869
20870 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20871
b2ef2c01
UD
208722010-06-14 Ulrich Drepper <drepper@redhat.com>
20873
20874 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20875 and F_GETPIPE_SZ.
20876 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20877 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20878 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20879 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20880 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20881 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20882
fbd643b6
RM
208832010-06-14 Roland McGrath <roland@redhat.com>
20884
20885 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20886
f32f2869
JJ
208872010-06-07 Jakub Jelinek <jakub@redhat.com>
20888
20889 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20890 __REDIRECT followed by __THROW.
20891 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20892 * posix/getopt.h (getopt): Likewise.
20893
2a50c078
EPM
208942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20895
20896 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20897 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20898 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20899 in AT_FLAGS.
20900 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20901 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20902
eb5ad2eb
LM
209032010-05-28 Luis Machado <luisgpm@br.ibm.com>
20904
20905 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20906
3c88fe1e
L
209072010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20908
20909 [BZ #11640]
20910 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20911 Properly check family and model.
20912
d2f73151
TY
209132010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20914
20915 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20916
ebd2e13d
LM
209172010-05-24 Luis Machado <luisgpm@br.ibm.com>
20918
20919 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20920
b32b8b45
UD
209212010-05-21 Ulrich Drepper <drepper@redhat.com>
20922
20923 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20924 symbol reference.
20925
9acbe24d
AS
209262010-05-19 Andreas Schwab <schwab@redhat.com>
20927
20928 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20929 symbol reference.
20930
f0ccf6ea
AS
209312010-05-21 Andreas Schwab <schwab@redhat.com>
20932
3d04ff3a
AS
20933 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20934 and internal_recvmmsg.
20935 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20936 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20937 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20938 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20939
f0ccf6ea
AS
20940 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20941 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20942 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20943
5b08ac57
AS
209442010-05-20 Andreas Schwab <schwab@redhat.com>
20945
20946 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20947
4828935d
LM
209482010-05-17 Luis Machado <luisgpm@br.ibm.com>
20949
20950 POWER7 optimizations.
20951 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20952 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20953
373d545e
UD
209542010-05-19 Ulrich Drepper <drepper@redhat.com>
20955
20956 * version.h: Update for 2.13 development version.
20957
21a2b1ae
AS
209582010-05-12 Andrew Stubbs <ams@codesourcery.com>
20959
20960 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20961 exceptions. Return 0.
20962
3f7dcb2b
RM
209632010-05-07 Roland McGrath <roland@redhat.com>
20964
20965 * elf/ldconfig.c (main): Add a const.
20966
5f24d53a 209672010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 20968
a160f8d8
UD
20969 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20970 (args_options): Add no-idn option.
20971 (ahosts_keys_int): Add idn_flags to ai_flags.
20972 (parse_option): Handle 'i' option to clear idn_flags.
20973
5f24d53a
UD
20974 * malloc/malloc.c (_int_free): Possible race in the most recently
20975 added check. Only act on the data if no current modification
20976 happened.
265bb1ce
UD
20977
20978See ChangeLog.17 for earlier changes.
This page took 2.707305 seconds and 5 git commands to generate.