]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Test _ISOMAC in include/sys/syslog.h.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
dcdae19a
JM
12012-11-02 Joseph Myers <joseph@codesourcery.com>
2
3 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4 except include of <misc/sys/syslog.h>.
5
d6cffd3e
AS
62012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7
8 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
9 function returns with a NULL context exit with zero.
10
b3563932
TMQMF
112012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12
13 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14
b288a93d
L
152012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16
17 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18 (run_program_cmd): This.
19 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
20 (tst_langinfo): New variable. Use it.
21
a2421a68
SAS
222012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23
24 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25 floating point opcodes.
26
6f796e1b
TS
272012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28
7402596b
TS
29 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30 variable.
31
d0d4f868
TS
32 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33
6f796e1b
TS
34 * sysdeps/mach/hurd/powerpc: Remove directory.
35 * sysdeps/mach/powerpc: Likewise.
36
4da224a2
AS
372012-11-01 Andreas Schwab <schwab@linux-m68k.org>
38
39 * scripts/check-local-headers.sh: Ignore c++ headers.
40
341dd673
TS
412012-11-01 Thomas Schwinge <thomas@codesourcery.com>
42
43 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
44 __libc_cleanup_region_start argument.
45
473611b2
JM
462012-11-01 Joseph Myers <joseph@codesourcery.com>
47
48 [BZ #14784]
49 [BZ #14785]
50 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
51 x * y using scaling, not as x * y + z.
52 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54 * math/libm-test.inc (fma_test): Add more tests.
55 (fma_test_towardzero): Likewise.
56 (fma_test_downward): Likewise.
57 (fma_test_upward): Likewise.
58
4078da3d
TS
592012-11-01 Thomas Schwinge <thomas@codesourcery.com>
60
61 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
62
903252aa
JM
632012-10-31 Joseph Myers <joseph@codesourcery.com>
64
65 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
66 New variable.
67
cbc818d0
TS
682012-10-31 Thomas Schwinge <thomas@codesourcery.com>
69
70 * rt/tst-shm.c (worker): Correct checking for mmap failure.
71
5a03cb1e
AS
722012-10-31 Andreas Schwab <schwab@linux-m68k.org>
73
74 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75 Fix sort order.
76 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77 Likewise.
78
90aff2ff
TMQMF
792012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
80
81 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
82 Fix the order of the list for glibc 2.17.
83 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
84 Likewise.
85
1818fcb7
AS
862012-10-31 Andreas Schwab <schwab@linux-m68k.org>
87
88 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
89
ef82f4da
JM
902012-10-31 Joseph Myers <joseph@codesourcery.com>
91
16a0e2ec
JM
92 [BZ #14610]
93 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
94 for low part of x being zero before using __atanl (y).
95 * math/libm-test.inc (atan2_test): Add another test.
96
0eb69512
JM
97 * manual/install.texi (Configuring and compiling): Document
98 general use of test-wrapper and test-wrapper-env.
99 * INSTALL: Regenerated.
100
ef82f4da
JM
101 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
102 (__fma): Do not extract and scale down low bits on after-rounding
103 systems when result rounded to normal precision would have normal
104 exponent.
105 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
106 (__fmal): Do not extract and scale down low bits on after-rounding
107 systems when result rounded to normal precision would have normal
108 exponent.
109 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
110 (__fmal): Do not extract and scale down low bits on after-rounding
111 systems when result rounded to normal precision would have normal
112 exponent.
113 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
114 macro.
115 (fma_test): Add more tests.
116 (fma_test_towardzero): Likewise.
117 (fma_test_downward): Likewise.
118 (fma_test_upward): Likewise.
119
954ef0d9
L
1202012-10-30 H.J. Lu <hongjiu.lu@intel.com>
121
122 * sysdeps/i386/tininess.h: Renamed to ...
123 * sysdeps/x86/tininess.h: This.
124 * sysdeps/x86_64/tininess.h: Removed.
125
df61ffb2
JM
1262012-10-30 Joseph Myers <joseph@codesourcery.com>
127
128 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
129 input. Use $(build-program-cmd).
130 ($(objpfx)tst-array1-static.out): Likewise.
131 ($(objpfx)tst-array2.out): Likewise.
132 ($(objpfx)tst-array3.out): Likewise.
133 ($(objpfx)tst-array4.out): Likewise.
134 ($(objpfx)tst-array5.out): Likewise.
135 ($(objpfx)tst-array5-static.out): Likewise.
136
01767843
CM
1372012-10-30 Chris Metcalf <cmetcalf@tilera.com>
138
47cc1490
CM
139 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
140 if defined.
141
01767843
CM
142 * nss/nsswitch.h (nss_interface_function): Provide new
143 macro for use with NSS functions.
144 * grp/initgroups.c: Use new macro.
145 * nss/getXXbyYY.c: Likewise.
146 * nss/getXXbyYY_r.c: Likewise.
147 * nss/getXXent.c: Likewise.
148 * nss/getXXent_r.c: Likewise.
149 * sysdeps/posix/getaddrinfo.c: Likewise.
150
8321aa97
AJ
1512012-10-30 Andreas Jaeger <aj@suse.de>
152
153 * po/ru.po: Update Russion translation from translation project.
154
2a27fd6d
JM
1552012-10-30 Joseph Myers <joseph@codesourcery.com>
156
8627a232
JM
157 [BZ #14152]
158 [BZ #14783]
159 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
160 result and shift together with sticky bit instead of replicating
161 round-to-nearest rounding.
162 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
163 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
164 * math/libm-test.inc (fma_test): Add more tests. Do not permit
165 missing underflow exceptions.
166 (fma_test_towardzero): Add more tests.
167 (fma_test_downward): Likewise.
168 (fma_test_upward): Likewise.
169
2a27fd6d
JM
170 [BZ #14047]
171 * sysdeps/generic/tininess.h: New file.
172 * sysdeps/i386/tininess.h: Likewise.
173 * sysdeps/sh/tininess.h: Likewise.
174 * sysdeps/x86_64/tininess.h: Likewise.
175 * stdlib/tst-strtod-underflow.c: Likewise.
176 * stdlib/tst-tininess.c: Likewise.
177 * stdlib/strtod_l.c: Include <tininess.h>.
178 (round_and_return): Do not set errno for exact underflow cases.
179 Force an underflow exception when setting errno for underflow.
180 Determine underflow based on rounding to normal precision if
181 TININESS_AFTER_ROUNDING.
182 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
183 ERANGE for exact underflow cases.
184 * stdlib/Makefile (tests): Add tst-tininess and
185 tst-strtod-underflow.
186 ($(objpfx)tst-tininess): Use $(link-libm).
187 ($(objpfx)tst-strtod-underflow): Likewise.
188
e7170363
AJ
1892012-10-30 Andreas Jaeger <aj@suse.de>
190
e5088dc6
AJ
191 [BZ#14767]
192 * elf/Makefile (tests): Remove conditional for have-initfini-array
193 since this is now always required and the variable does not exist
194 anymore.
195 (tests-static): Likewise.
196 (modules-names): Likewise.
197
e7170363 198 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
199
200 * elf/tst-array1.c (fini_array): Make writeable so that it can be
201 merged with constructor/destructor.
202 (init_array): Likewise.
203 * elf/tst-array2dep.c (fini_array): Likewise.
204 (init_array): Likewise.
205
60457d8a
MF
2062012-10-29 Mike Frysinger <vapier@gentoo.org>
207
208 * manual/message.texi: Delete @cartouche tags.
209
8bece752
PT
2102012-10-29 Pino Toscano <toscano.pino@tiscali.it>
211
94ce799f
PT
212 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
213 EOPNOTSUPP.
214 * sysdeps/mach/hurd/fsync.c: Likewise.
215
8bece752
PT
216 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
217 [_POSIX_REALTIME_SIGNALS]: Change condition to
218 [_POSIX_REALTIME_SIGNALS > 0].
219
86ebe6b1
AJ
2202012-10-27 Andreas Jaeger <aj@suse.de>
221
222 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
223 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
224 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
225 [__WORDSIZE != 64]: Likewise.
226
54399c08
L
2272012-10-26 H.J. Lu <hongjiu.lu@intel.com>
228
229 * iconvdata/tst-table.sh: Remove ${SHELL}.
230 * iconvdata/tst-tables.sh: Likewise.
231
e2211bed
DM
2322012-10-25 David S. Miller <davem@davemloft.net>
233
234 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
235 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
236 of strtoull.
237
f303f97c
DM
238 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
239 ifunc-impl-list.c
240 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
241 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
242 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
243 file.
244
1e9d84cd
RM
2452012-10-25 Roland McGrath <roland@hack.frob.com>
246
247 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
248 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
249 __getdirentries.
250
df381762
JM
2512012-10-25 Joseph Myers <joseph@codesourcery.com>
252 Jim Blandy <jimb@codesourcery.com>
253
254 * scripts/cross-test-ssh.sh: New file.
255 * manual/install.texi (Configuring and compiling): Document use of
256 cross-test-ssh.sh.
257 * INSTALL: Regenerated.
258
bff64913
PT
2592012-10-25 Pino Toscano <toscano.pino@tiscali.it>
260
261 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
262 EOPNOTSUPP.
263
25fe8932
JM
2642012-10-25 Joseph Myers <joseph@codesourcery.com>
265
266 * Makeconfig (run-program-prefix): Fix comment.
267
cc1290d0
JM
2682012-10-24 Joseph Myers <joseph@codesourcery.com>
269 Jim Blandy <jimb@codesourcery.com>
270
271 * Makeconfig (test-wrapper): New variable,
272 (test-wrapper-env): Likewise.
273 [$(cross-compiling) = yes && $(test-wrapper) != ""]
274 (run-built-tests): Define to yes.
275 (run-program-prefix): Use $(test-wrapper).
276 (built-program-cmd): Likewise.
277 * Rules (make-test-out): Use $(test-wrapper-env) and
278 $(host-built-program-cmd).
279 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
280 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
281 tst-pathopt.sh.
282 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
283 $(test-wrapper-env) to tst-rtld-load-self.sh.
284 ($(objpfx)order2.out): Use $(test-wrapper).
285 ($(objpfx)tst-initorder.out): Likewise.
286 ($(objpfx)tst-initorder2.out): Likewise.
287 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
288 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
289 (test_wrapper_env): New variable. Use it to run ld.so.
290 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
291 Use it to run ld.so.
292 (test_wrapper_env): Likewise.
293 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
294 $(test-wrapper) to run-iconv-test.sh.
295 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
296 (ICONV): Use $test_wrapper.
297 * posix/Makefile ($(objpfx)globtest.out): Pass
298 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
299 globtest.sh, not $(run-program-prefix).
300 * posix/globtest.sh (run_via_rtld_prefix): New variable.
301 (test_wrapper): Likewise.
302 (test_wrapper_env): Likewise. Use it to run globtest with HOME
303 set together with run_via_rtld_prefix.
304 (run_program_prefix): Define in terms of test_wrapper and
305 run_via_rtld_prefix.
306
6e6249d0
RM
3072012-10-24 Roland McGrath <roland@hack.frob.com>
308
309 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
310 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
311 Targets removed.
312
313 [BZ #14743]
314 * include/time.h: Remove librt_hidden_proto (clock_gettime).
315 Declare __clock_getres, __clock_gettime, __clock_settime,
316 __clock_nanosleep, and __clock_getcpuclockid.
317 * rt/clock_gettime.c: Define __clock_gettime as an alias.
318 Remove librt_hidden_def (clock_gettime).
319 * sysdeps/unix/clock_gettime.c: Likewise.
320 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
321 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
322 * rt/clock_getres.c: Define __clock_getres as an alias.
323 * sysdeps/posix/clock_getres.c: Likewise.
324 * rt/clock_settime.c: Define __clock_settime as an alias.
325 * sysdeps/unix/clock_settime.c: Likewise.
326 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
327 * sysdeps/unix/clock_nanosleep.c: Likewise.
328 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
329 * rt/clock-compat.c: New file.
330 * rt/Makefile (librt-routines): Add clock-compat and move
331 $(clock-routines) to ...
332 (routines): ... here, new variable.
333 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
334 Don't add get_clockfreq here.
335 * rt/Versions (libc: GLIBC_2.17): New version set.
336 Add clock_* symbols here.
337 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
338 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
339 (GLIBC_2.17): Add clock_* symbols.
340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
342 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
344 Likewise.
345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
346 Likewise.
347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
351 * NEWS: Mention the move.
352
353 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
354 Use __open, __read, __close rather than their public counterparts.
355 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
356 (__get_clockfreq_via_cpuinfo): Likewise.
357 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
358 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
359
360 * config.h.in (HAVE_IFUNC): New #undef.
361 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
362 was successful.
363 * configure: Regenerated.
364
0cae3f4b
MF
3652012-10-24 Mike Frysinger <vapier@gentoo.org>
366
367 * configure.in: Move READELF check to start of file.
368 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
369 libc_cv_asm_gnu_indirect_function in the process.
370 * configure: Regenerated.
371
8175a253
MF
3722012-10-24 Mike Frysinger <vapier@gentoo.org>
373
374 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
375 send the output to /dev/null.
376 (libc_cv_cc_with_libunwind): Likewise.
377 (libc_cv_as_noexecstack): Likewise.
378 * configure: Regenerate.
379
0708a7d1
JM
3802012-10-24 Joseph Myers <joseph@codesourcery.com>
381
10b40d85
JM
382 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
383
0708a7d1
JM
384 * posix/globtest.sh (TMPDIR): Do not set.
385 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
386 (testout): Likewise.
387
9fddec1a
AJ
3882012-10-24 Andreas Jaeger <aj@suse.de>
389
3a8db22f
AJ
390 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
391 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
392 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
393 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
394 posix_fadvise64, posix_fallocate64.
395
9fddec1a
AJ
396 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
397 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
398 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
399 Likewise.
400 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
401 Likewise.
402 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
403
404 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
405 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
406 <bits/fcntl-linux.h>.
407 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
408
409 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
410 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
411 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
412 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
413 [__WORDSIZE != 64]: Likewise.
414
ebfd1bbd
JM
4152012-10-23 Joseph Myers <joseph@codesourcery.com>
416
03ac099f
JM
417 * Makeconfig (run-built-tests): New variable.
418 * Rules [$(cross-compiling) = yes]: Change condition to
419 [$(run-built-tests) = no].
420 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
421 to [$(run-built-tests) = yes].
422 * elf/Makefile [$(cross-compiling) = no]: Likewise
423 * grp/Makefile [$(cross-compiling) = no]: Likewise.
424 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
425 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
426 * intl/Makefile [$(cross-compiling) = no]: Likewise.
427 * io/Makefile [$(cross-compiling) = no]: Likewise.
428 * libio/Makefile [$(cross-compiling) = no]: Likewise.
429 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
430 * misc/Makefile [$(cross-compiling) = no]: Likewise.
431 * posix/Makefile [$(cross-compiling) = no]: Likewise.
432 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
433 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
434 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
435 * string/Makefile [$(cross-compiling) = no]: Likewise.
436
ebfd1bbd
JM
437 * posix/Makefile ($(objpfx)globtest.out): Pass
438 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
439 $(rtld-installed-name).
440 * posix/globtest.sh (elf_objpfx): Remove variable.
441 (rtld_installed_name): Likewise.
442 (library_path): Likewise.
443 (run_program_prefix): New variable. Use for running globtest
444 binary.
445
166bca24
JB
4462012-10-23 Jim Blandy <jimb@codesourcery.com>
447 Joseph Myers <joseph@codesourcery.com>
448
449 * Makeconfig (host-built-program-cmd): New variable.
450 * elf/Makefile (tst-stackguard1-ARGS): Use
451 $(host-built-program-cmd).
452 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
453 (tst-spawn-ARGS): Likewise.
454 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
455
88866099
JM
4562012-10-23 Joseph Myers <joseph@codesourcery.com>
457 Jim Blandy <jimb@codesourcery.com>
458
459 * Makeconfig (run-via-rtld-prefix): New variable.
460 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
461 (built-program-cmd): Likewise.
462
b4b4c296
AJ
4632012-10-22 Andreas Jaeger <aj@suse.de>
464
465 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
466 __O_RSYNC if it exists, otherwise to O_SYNC.
467
6fb54a22
JB
4682012-10-22 Jim Blandy <jimb@codesourcery.com>
469 Joseph Myers <joseph@codesourcery.com>
470
471 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
472 /dev/null.
473 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
474 from /dev/null
475 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
476 /dev/null.
477
481b90b9
AJ
4782012-10-22 Andreas Jaeger <aj@suse.de>
479
2a0e2669
AJ
480 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
481 Define always.
482 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
483
76e38f9a
AJ
484 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
485 bits/fcntl-linux.h.
486
7cd37b43
AJ
487 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
488 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
489
481b90b9
AJ
490 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
491 to __O_LARGEFILE.
492 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
493 to __O_LARGEFILE.
494
aba75984
JB
4952012-10-21 Jim Blandy <jimb@codesourcery.com>
496 Joseph Myers <joseph@codesourcery.com>
497
498 * config.make.in (NM): New variable.
499
88d4247f
AJ
5002012-10-21 Andreas Jaeger <aj@suse.de>
501
502 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
503 definitions and declarations that are provided by
504 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
505
f2eed205
L
5062012-10-20 H.J. Lu <hongjiu.lu@intel.com>
507
508 [BZ #14683]
509 * elf/Makefile (tests-static): Add tst-leaks1-static.
510 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
511 ($(objpfx)tst-leaks1-static): New rule.
512 ($(objpfx)tst-leaks1-static-mem): Likewise.
513 (tst-leaks1-static-ENV): New macro.
514 * elf/dl-open.c (dl_open_worker): Check the main application
515 only if SHARED is defined.
516 * elf/tst-leaks1-static.c: New file.
517
335e6931
AJ
5182012-10-20 Andreas Jaeger <aj@suse.de>
519
520 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
521 generic values for Linux.
522 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
523 and declarations that are provided by <bits/fcntl-linux.h> and
524 include <bits/fcntl-linux.h>.
525 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
526 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
527
ac5c94d3
RM
5282012-10-20 Roland McGrath <roland@hack.frob.com>
529
530 * io/fcntl.h: Move include of <bits/types.h> to the top and
531 include it unconditionally.
532
de54b33a
L
5332012-10-20 H.J. Lu <hongjiu.lu@intel.com>
534
228cfb01
L
535 * wcsmbs/Makefile (tests-ifunc): New variable.
536 (tests): Add $(tests-ifunc).
537 * wcsmbs/test-wcschr-ifunc.c: New file.
538 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
539 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
540 * wcsmbs/test-wcslen-ifunc.c: Likewise.
541 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
542 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
543
69f07e5f
L
544 * string/Makefile (tests-ifunc): New variable.
545 (tests): Add $(tests-ifunc).
546 * string/test-memccpy.c (TEST_NAME): New macro.
547 * string/test-memchr.c (TEST_NAME): Likewise.
548 * string/test-memcmp.c (TEST_NAME): Likewise.
549 * string/test-memcpy.c (TEST_NAME): Likewise.
550 * string/test-memmem.c (TEST_NAME): Likewise.
551 * string/test-memmove.c (TEST_NAME): Likewise.
552 * string/test-memset.c (TEST_NAME): Likewise.
553 * string/test-rawmemchr.c (TEST_NAME): Likewise.
554 * string/test-stpcpy.c (TEST_NAME): Likewise.
555 * string/test-stpncpy.c (TEST_NAME): Likewise.
556 * string/test-strcasecmp.c (TEST_NAME): Likewise.
557 * string/test-strcasestr.c (TEST_NAME): Likewise.
558 * string/test-strcat.c (TEST_NAME): Likewise.
559 * string/test-strchr.c (TEST_NAME): Likewise.
560 * string/test-strcmp.c(TEST_NAME): Likewise.
561 * string/test-strcpy.c (TEST_NAME): Likewise.
562 * string/test-strcspn.c (TEST_NAME): Likewise.
563 * string/test-strlen.c (TEST_NAME): Likewise.
564 * string/test-strncasecmp.c (TEST_NAME): Likewise.
565 * string/test-strncmp.c (TEST_NAME): Likewise.
566 * string/test-strncpy.c (TEST_NAME): Likewise.
567 * string/test-strnlen.c (TEST_NAME): Likewise.
568 * string/test-strpbrk.c (TEST_NAME): Likewise.
569 * string/test-strrchr.c (TEST_NAME): Likewise.
570 * string/test-strspn.c (TEST_NAME): Likewise.
571 * string/test-strstr.c (TEST_NAME): Likewise.
572 * string/test-bcopy-ifunc.c: New file.
573 * string/test-bzero-ifunc.c: Likewise.
574 * string/test-memccpy-ifunc.c: Likewise.
575 * string/test-memchr-ifunc.c: Likewise.
576 * string/test-memcmp-ifunc.c: Likewise.
577 * string/test-memcpy-ifunc.c: Likewise.
578 * string/test-memmem-ifunc.c: Likewise.
579 * string/test-memmove-ifunc.c: Likewise.
580 * string/test-mempcpy-ifunc.c: Likewise.
581 * string/test-memset-ifunc.c: Likewise.
582 * string/test-rawmemchr-ifunc.c: Likewise.
583 * string/test-stpcpy-ifunc.c: Likewise.
584 * string/test-stpncpy-ifunc.c: Likewise.
585 * string/test-strcasecmp-ifunc.c: Likewise.
586 * string/test-strcasestr-ifunc.c: Likewise.
587 * string/test-strcat-ifunc.c: Likewise.
588 * string/test-strchr-ifunc.c: Likewise.
589 * string/test-strchrnul-ifunc.c: Likewise.
590 * string/test-strcmp-ifunc.c: Likewise.
591 * string/test-strcpy-ifunc.c: Likewise.
592 * string/test-strcspn-ifunc.c: Likewise.
593 * string/test-strlen-ifunc.c: Likewise.
594 * string/test-strncasecmp-ifunc.c: Likewise.
595 * string/test-strncat-ifunc.c: Likewise.
596 * string/test-strncmp-ifunc.c: Likewise.
597 * string/test-strncpy-ifunc.c: Likewise.
598 * string/test-strnlen-ifunc.c: Likewise.
599 * string/test-strpbrk-ifunc.c: Likewise.
600 * string/test-strrchr-ifunc.c: Likewise.
601 * string/test-strspn-ifunc.c: Likewise.
602 * string/test-strstr-ifunc.c: Likewise.
603
de54b33a
L
604 * debug/Makefile (tests-ifunc): New variable.
605 (tests): Add $(tests-ifunc).
606 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
607 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
608 * debug/test-stpcpy_chk-ifunc.c: New file.
609 * debug/test-strcpy_chk-ifunc.c: Likewise.
610
88481c16
SP
6112012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
612
613 [BZ #13601]
614 * elf/dl-load.c (open_verify): Retry read if the entire ELF
615 header is not read in.
616
135948bd
JM
6172012-10-19 Joseph Myers <joseph@codesourcery.com>
618
89f1c388
JM
619 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
620 script to $(SHELL) as $<. Pass $(common-objpfx) to script
621 directly. Pass built executable to script as
622 $(built-program-cmd).
623 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
624 $testprogram without using LD_LIBRARY_PATH and $ldso.
625
e40a0d21
JM
626 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
627 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
628 $(rtld-installed-name).
629 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
630 (rtld_installed_name): Likewise.
631 (library_path): Likewise.
632 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
633 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
634 $(run-program-prefix) to tst-tables.sh.
635 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
636 it to run tst-table-from and tst-table-to.
637 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
638 Pass it to tst-table.sh.
639 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
640 $(run-program-prefix) to tst-gettext.sh.
641 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
642 tst-translit.sh.
643 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
644 tst-gettext2.sh.
645 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
646 to run tst-gettext.
647 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
648 to run tst-gettext2.
649 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
650 to run tst-translit.
651 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
652 $(run-program-prefix) to tst-mtrace.sh.
653 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
654 to run tst-mtrace.
655 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
656 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
657 $(rtld-installed-name).
658 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
659 (rtld_installed_name): Likewise.
660 (run_program_prefix): New variable. Use it to run wordexp-test.
661
728e272a
JM
662 * Makeconfig (ARCH): Remove all definitions.
663 (machine): Likewise.
664 [ARCH]: Remove conditional code.
665 [!objdir]: Give error.
666 [!objdir] (objpfx): Remove.
667 [!objdir] (common-objpfx): Likewise.
668 [!objdir] (common-objdir): Likewise.
669 * configure.in (config_makefile): Remove. Hardcode Makefile in
670 AC_CONFIG_FILES call.
671 * configure: Regenerated.
672
d528cdcf
JM
673 [BZ #13888]
674 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
675 or TMPDIR.
676 (testout): Likewise.
677
135948bd
JM
678 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
679 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
680 $(rtld-installed-name).
681 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
682 (rtld_installed_name): Likwise.
683 (runit): Remove function.
684 (run_getconf): New variable, Use it for running getconf binary.
685
38c78296
L
6862012-10-18 H.J. Lu <hongjiu.lu@intel.com>
687
688 [BZ #14716]
689 * string/test-memmem.c (check_result): New function.
690 (do_one_test): Use it.
691 (check1): New function.
692 (test_main): Use it.
693
d077f65f
MT
6942012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
695
696 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
697
ced52c71
JM
6982012-10-18 Joseph Myers <joseph@codesourcery.com>
699
700 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
701 (_G_LSEEK64): Likewise.
702 (_G_MMAP64): Likewise.
703 (_G_FSTAT64): Likewise.
704 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
705 (_G_LSEEK64): Likewise.
706 (_G_MMAP64): Likewise.
707 (_G_FSTAT64): Likewise.
708 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
709 unconditional. Call __mmap64 directly.
710 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
711 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
712 __lseek64 directly.
713 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
714 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
715 __mmap64 directly.
716 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
717 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
718 __lseek64 directly.
719 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
720 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
721 __lseek64 directly.
722 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
723 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
724 __lseek64 directly.
725 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
726 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
727 __fxstat64 directly.
728 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
729 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
730 unconditional.
731 (freopen64) [!_G_OPEN64]: Remove conditional code.
732 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
733 unconditional.
734 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
735 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
736 unconditional.
737 (ftello64) [!_G_LSEEK64]: Remove conditional code.
738 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
739 unconditional.
740 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
741 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
742 unconditional.
743 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
744 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
745 unconditional.
746 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
747 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
748 unconditional.
749 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
750 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
751 unconditional.
752 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
753
b741de23
SP
7542012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
755
756 [BZ #12140]
757 * manual/memory.texi (Malloc Tunable Parameters): Add note
758 about free list pointers overwriting some perturb bytes.
759 Wording suggested by Roland McGrath.
760
f9b9d9c9
JM
7612012-10-17 Joseph Myers <joseph@codesourcery.com>
762
763 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
764 (lgamma_test): Likewise.
765 (tgamma_test): Likewise.
766
172a631a
FW
7672012-10-16 Florian Weimer <fweimer@redhat.com>
768
769 [BZ #14700]
770 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
771 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
772
e9f37252
MK
7732012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
774
775 * NEWS: Mention BZ #14716.
776 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
777 when removing AVAILABLE1_USES_J macro.
778
d394eb74
L
7792012-10-12 H.J. Lu <hongjiu.lu@intel.com>
780
781 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
782 (__bswap_64): __uint64_t for unsigned 64-bit int.
783
ca38dc17
AS
7842012-10-12 Andreas Schwab <schwab@linux-m68k.org>
785
786 * include/string.h (memmem): Declare libc hidden alias.
787 * string/memmem.c (memmem): Define libc hidden alias.
788 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
789 __read, __close instead of open, read, close.
790
9a387d1f
L
7912012-10-11 H.J. Lu <hongjiu.lu@intel.com>
792
ac49ecaf
L
793 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
794 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
795 global and hidden.
796 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
797 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
798 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
799 Likewise.
800 (__rawmemchr_sse2): Likewise.
801 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
802 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
803 (__strchr_sse2): Likewise.
804 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
805 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
806 (__strcasecmp_sse2): Likewise.
807 (__strncasecmp_sse2): Likewise.
808 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
809 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
810 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
811 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
812 (__strrchr_sse2): Likewise.
813 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
814 ifunc-impl-list.c.
815 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
816 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
817 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
818 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
819 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
820 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
821 * sysdeps/x86_64/multiarch/memset.S: Likewise.
822 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
823 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
824 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
825 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
826 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
827 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
828 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
829 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
830 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
831 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
832 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
833 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
834 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
835 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
836 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
837 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
838 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
839 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
840 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
841 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
842 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
843 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
844 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
845
b090e8ea
L
846 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
847 global and hidden.
848 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
849 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
850 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
851 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
852 Likewise.
853 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
854 Likewise.
855 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
856 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
857 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
858 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
859 ifunc-impl-list.c.
860 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
861 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
862 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
863 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
864 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
865 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
866 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
867 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
868 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
869 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
870 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
871 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
872 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
873 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
874 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
875 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
876 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
877 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
878 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
879 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
880 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
881 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
882 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
883 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
884 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
885 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
886 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
887 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
888 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
889 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
890 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
891 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
892 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
893 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
894 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
895 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
896 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
897 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
898 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
899 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
900 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
901
11dd4af6
L
902 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
903 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
904 * include/ifunc-impl-list.h: New file.
905 * misc/ifunc-impl-list.c: Likewise.
906 * misc/Makefile (routines): Add ifunc-impl-list.
907 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
908 * string/test-string.h: Include <ifunc-impl-list.h>.
909 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
910 impl_array): New variables.
911 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
912 are defined.
913 (test_init): Call __libc_ifunc_impl_list to initialize
914 func_list if TEST_IFUNC and TEST_NAME are defined.
915
9a387d1f
L
916 * string/Makefile (strop-tests): Add bcopy and bzero.
917 * string/test-bcopy.c: New file.
918 * string/test-bzero.c: Likewise.
919 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
920 defined.
921 * string/test-memset.c: Support bzero test if TEST_BZERO is
922 defined.
923 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
924 __libc_memmove.
925 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
926 __libc_memset.
927 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
928 of memset.
929
472371b9
JM
9302012-10-10 Joseph Myers <joseph@codesourcery.com>
931
1e4a9536
JM
932 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
933 * configure: Regenerated.
934
d173d12e
JM
935 * Makeconfig (+link-static-before-libc): Don't include
936 $(link-static-libc).
937
472371b9
JM
938 * libio/libio.h (_IO_pos_t): Remove.
939
89a3ad0b
AO
9402012-10-10 Alexandre Oliva <aoliva@redhat.com>
941
942 * NEWS: Add note about FIPS mode. Wording suggested by Roland
943 McGrath.
944
e7451425
AO
9452012-10-10 Alexandre Oliva <aoliva@redhat.com>
946
947 * crypt/crypt-entry.c: Include fips-private.h.
948 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
949 * crypt/md5c-test.c (main): Tolerate disabled MD5.
950 * sysdeps/unix/sysv/linux/fips-private.h: New file.
951 * sysdeps/generic/fips-private.h: New file, dummy fallback.
952
4ba74a35
AO
9532012-10-10 Alexandre Oliva <aoliva@redhat.com>
954
955 * crypt/crypt-private.h: Include stdbool.h.
956 (_ufc_setup_salt_r): Return bool.
957 * crypt/crypt-entry.c: Include errno.h.
958 (__crypt_r): Return NULL with EINVAL for bad salt.
959 * crypt/crypt_util.c (bad_for_salt): New.
960 (_ufc_setup_salt_r): Check that salt is long enough and within
961 the specified alphabet.
962 * crypt/badsalttest.c: New file.
963 * crypt/Makefile (tests): Add it.
964 ($(objpfx)badsalttest): New.
965
f96f1242
MK
9662012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
967
968 * NEWS: Add entry for BZ #14602.
969
0e8e0c1c
JM
9702012-10-09 Joseph Myers <joseph@codesourcery.com>
971
972 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
973 type-generic.
974 * math/libm-test.inc: Update comment listing what functions and
975 macros are tested.
976 (isgreater_test): New function.
977 (isgreaterequal_test): Likewise.
978 (isless_test): Likewise.
979 (islessequal_test): Likewise.
980 (islessgreater_test): Likewise.
981 (isunordered_test): Likewise.
982 (main): Call the new functions.
983
273edc5e
RM
9842012-10-09 Roland McGrath <roland@hack.frob.com>
985
b8493de0
RM
986 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
987 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
988 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
989 * sysdeps/i386/configure: Regenerated.
990 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
991 * sysdeps/mach/configure: Regenerated.
992 * sysdeps/mach/hurd/configure: Regenerated.
993 * sysdeps/powerpc/configure: Regenerated.
994 * sysdeps/powerpc/powerpc32/configure: Regenerated.
995 * sysdeps/powerpc/powerpc64/configure: Regenerated.
996 * sysdeps/s390/s390-32/configure: Regenerated.
997 * sysdeps/s390/s390-64/configure: Regenerated.
998 * sysdeps/sh/configure: Regenerated.
999 * sysdeps/sparc/configure: Regenerated.
1000 * sysdeps/unix/sysv/linux/configure: Regenerated.
1001 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1002 * sysdeps/x86_64/configure: Regenerated.
1003
273edc5e
RM
1004 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
1005 defined. Don't check if MAP is NULL.
1006
c8450f70
JM
10072012-10-09 Joseph Myers <joseph@codesourcery.com>
1008
1009 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
1010 (_G_stat64): Likewise.
1011 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
1012 (_G_stat64): Likewise.
1013 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
1014 instead of struct _G_stat64.
1015 * libio/fileops.c (mmap_remap_check): Likewise.
1016 (decide_maybe_mmap): Likewise.
1017 (_IO_new_file_seekoff): Likewise.
1018 (_IO_file_stat): Likewise.
1019 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
1020 _G_off64_t.
1021 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
1022 instead of struct _G_stat64.
1023 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1024
57e605ba
MK
10252012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
1026
1027 [BZ #14602]
1028 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1029 Replace with ...
1030 (CHECK_EOL): New macro.
1031 (two_way_short_needle): Check beginning of haystack for EOL. Use
1032 CHECK_EOL.
1033 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1034 Replace with CHECK_EOL.
1035 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1036 Replace with CHECK_EOL.
1037
ef1bb361
JM
10382012-10-08 Joseph Myers <joseph@codesourcery.com>
1039
1040 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
1041 type-generic.
1042 * math/libm-test.inc: Update comment listing what functions and
1043 macros are tested.
1044 (finite_test): New function.
1045 (isinf_test): Likewise.
1046 (isnan_test): Likewise.
1047 (fpclassify_test): Test subnormal input.
1048 (isfinite_test): Likewise.
1049 (isnormal_test): Likewise.
1050 (main): Call the new functions.
1051
55f11534
JN
10522012-10-08 Jonathan Nieder <jrnieder@gmail.com>
1053
1054 [BZ #14660]
1055 * Makerules (%.dynsym): Force C locale when running
1056 $(OBJDUMP) --dynamic-syms.
1057
1ab29350
AS
10582012-10-08 Andreas Schwab <schwab@linux-m68k.org>
1059
1060 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
1061 <stdint.h>.
1062
f1ecb7ef
DM
10632012-10-06 David S. Miller <davem@davemloft.net>
1064
1065 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
1066 upper 32-bits of the length value in %o2 since we use branch-on-register
1067 tests which consider the entire 64-bit register.
1068
5d41d91a
L
10692012-10-06 H.J. Lu <hongjiu.lu@intel.com>
1070
1071 * string/test-strstr.c (check2): Add a test for page boundary.
1072
3baddb72
DM
10732012-10-05 David S. Miller <davem@davemloft.net>
1074
1075 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
1076 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
1077 file.
1078 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1079 sysdep_routines.
1080 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1081 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
1082 and bzero when HWCAP_SPARC_CRYPTO is present.
1083
9cee5585
L
10842012-10-05 H.J. Lu <hongjiu.lu@intel.com>
1085
d7e0dab9
L
1086 [BZ #14602]
1087 * string/test-strstr.c (check2): New function.
1088 (test_main): Call check2.
1089
03759f47
L
1090 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
1091 and bug-strchr1.
1092 * string/bug-strcasestr1.c (do_test): Moved to ...
1093 * string/test-strcasestr.c (check1): Here. New function.
1094 (do_one_test): Break out result checking code into ...
1095 (check_result): This. New function.
1096 (do_one_test): Call check_result.
1097 (test_main): Call check1.
1098 * string/bug-strchr1.c (do_test): Moved to ...
1099 * string/test-strchr.c (check1): Here. New function.
1100 (do_one_test): Break out result checking code into ...
1101 (check_result): This. New function.
1102 (do_one_test): Call check_result.
1103 (test_main): Call check1.
1104 * string/bug-strstr1.c (main): Moved to ...
1105 * string/test-strchr.c (check1): Here. New function.
1106 (do_one_test): Break out result checking code into ...
1107 (check_result): This. New function.
1108 (do_one_test): Call check_result.
1109 (test_main): Call check1.
1110 * string/bug-strcasestr1.c: Removed.
1111 * string/bug-strchr1.c: Likewise.
1112 * string/bug-strstr1.c: Likewise.
1113
53cea63e
L
1114 * elf/Makefile (dl-routines): Add hwcaps.
1115 * elf/dl-support.c (_dl_important_hwcaps): Removed.
1116 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
1117 (_dl_important_hwcaps): Moved to ...
1118 * elf/dl-hwcaps.c: Here. New file.
1119 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
1120
9cee5585 1121 [BZ #14557]
bb859b06
L
1122 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
1123 if IS_IN_rtld isn't defined.
1124
9cee5585
L
1125 * elf/dl-support.c (_dl_sysinfo_map): New.
1126 Include "get-dynamic-info.h" and "setup-vdso.h".
1127 (_dl_non_dynamic_init): Call setup_vdso.
1128 * elf/dynamic-link.h: Don't include <assert.h>.
1129 (elf_get_dynamic_info): Moved to ...
1130 * elf/get-dynamic-info.h: Here. New file.
1131 * elf/dynamic-link.h: Include "get-dynamic-info.h".
1132 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
1133 * elf/setup-vdso.h: Here. New file.
1134 * elf/rtld.c: Include "setup-vdso.h".
1135 (dl_main): Call setup_vdso.
1136
23c31b76
JM
11372012-10-05 Joseph Myers <joseph@codesourcery.com>
1138
28234b07
JM
1139 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1140 creal in comment listing functions tested. List finite, isinf,
1141 isnan, isless, islessequal, isgreater, isgreaterequal,
1142 islessgreater, isunordered, lgamma_r and pow10 as functions and
1143 macros not tested. Mention which functions not tested are aliases
1144 for other functions. Fix typo. Note that signs of NaNs are not
1145 tested.
1146
23c31b76
JM
1147 * scripts/config.guess: Update from config.git.
1148 * scripts/config.sub: Likewise.
1149
9043e228
RM
11502012-10-04 Roland McGrath <roland@hack.frob.com>
1151
1152 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1153 * misc/madvise.c (madvise): Renamed to __madvise.
1154 Make madvise a weak alias.
1155 * include/sys/mman.h: Declare __madvise.
1156 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1157 * sysdeps/unix/syscalls.list
1158 (madvise): Make __madvise the strong name, and madvise a weak alias.
1159 * sysdeps/unix/sysv/linux/syscalls.list
1160 (madvise, mmap): Remove redundant entries.
1161 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1162 * malloc/malloc.c (mtrim): Likewise.
1163 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1164
f57f8055
RM
11652012-10-03 Roland McGrath <roland@hack.frob.com>
1166
1167 * sysdeps/mach/hurd/dl-cache.c: File removed.
1168 * config.h.in (USE_LDCONFIG): New #undef.
1169 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1170 * configure: Regenerated.
1171 * elf/Makefile (dl-routines): Add dl-cache only under
1172 [$(use-ldconfig) = yes].
1173 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1174 cache on [USE_LDCONFIG].
1175 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1176 [USE_LDCONFIG].
1177 * elf/rtld.c (dl_main): Likewise.
1178
5bb0c10a
PT
11792012-10-03 Pino Toscano <toscano.pino@tiscali.it>
1180
1181 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1182 _SC_LEVEL4_CACHE_LINESIZE.
1183
010188c6
RM
11842012-10-03 Roland McGrath <roland@hack.frob.com>
1185
1186 * sysdeps/unix/bsd/confstr.h: File removed.
1187
b6c5ec07
AO
11882012-10-02 Alexandre Oliva <aoliva@redhat.com>
1189
1190 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1191 sys/sdt-config.h.
1192
408223d4
RM
11932012-10-02 Roland McGrath <roland@hack.frob.com>
1194
1195 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1196 Make 'mapoff' field ElfW(Off) rather than off_t.
1197
bb9510dc
DL
11982012-10-02 Dmitry V. Levin <ldv@altlinux.org>
1199
fc997c6e
DL
1200 * nscd/Makefile: Remove nscd-cflags and all its users.
1201 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1202 (CFLAGS-nonlib): Add compiler flags for nscd modules.
1203
bb9510dc
DL
1204 [BZ #10631]
1205 * malloc.c (malloc_printerr): Clarify error message.
1206
05699367
L
12072012-10-02 H.J. Lu <hongjiu.lu@intel.com>
1208
1209 [BZ #14648]
1210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1211 Set bit_FMA_Usable if FMA is supported.
1212 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1213 macro.
1214 (bit_FMA4_Usable): Updated.
1215 (index_FMA_Usable): New macro.
1216 (CPUID_FMA): Likewise
1217 (HAS_FMA): Defined with bit_FMA_Usable.
1218
51367701
RM
12192012-10-01 Roland McGrath <roland@hack.frob.com>
1220
1221 * bits/types.h (__swblk_t): Type removed.
1222 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1223 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1224 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1225 (__SWBLK_T_TYPE): Likewise.
1226 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1227 (__SWBLK_T_TYPE): Likewise.
1228 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1229 (__SWBLK_T_TYPE): Likewise.
1230 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1231 (__SWBLK_T_TYPE): Likewise.
1232
4d57bf63 12332012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 1234 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
1235
1236 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1237 (xdr_mapname): Use YPMAXMAP as maxsize.
1238 (xdr_peername): Use YPMAXPEER as maxsize.
1239 (xdr_keydat): Use YPAXRECORD as maxsize.
1240 (xdr_valdat): Use YPMAXRECORD as maxsize.
1241
93c65d43
RM
12422012-10-01 Roland McGrath <roland@hack.frob.com>
1243
497a03d6
RM
1244 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1245
93c65d43
RM
1246 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1247 * csu/init-first.c: ... here.
1248 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1249 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1250 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1251 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1252 * sysdeps/i386/init-first.c: File removed.
1253 * sysdeps/sh/init-first.c: File removed.
1254
bec749fd
JM
12552012-10-01 Joseph Myers <joseph@codesourcery.com>
1256
1257 [BZ #14645]
1258 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1259 if x * y might underflow to zero and z is zero.
1260 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1261 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1262 * math/libm-test.inc (min_subnorm_value): New variable.
1263 (fma_test): Add more tests.
1264 (fma_test_towardzero): Likewise.
1265 (fma_test_downward): Likewise
1266 (fma_test_upward): Likewise.
1267 (initialize): Set min_subnorm_value.
1268
8ec5b013
JM
12692012-09-29 Joseph Myers <joseph@codesourcery.com>
1270
1271 [BZ #14638]
1272 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1273 0 + 0.
1274 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1275 mode for addition resulting in exact zero.
1276 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1277 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1278 exact 0 + 0.
1279 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1280 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1281 * math/libm-test.inc (fma_test): Add more tests.
1282 (fma_test_towardzero): New function.
1283 (fma_test_downward): Likewise.
1284 (fma_test_upward): Likewise.
1285 (main): Call the new functions.
1286
b1fa802e
DM
12872012-09-28 David S. Miller <davem@davemloft.net>
1288
1289 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1290
d3b9fd9e
RM
12912012-09-28 Roland McGrath <roland@hack.frob.com>
1292
ea4d37b3
RM
1293 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1294 instead of SIGALRM.
1295
ac51c949
RM
1296 * sysdeps/gnu/_G_config.h: Moved to ...
1297 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1298 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1299 * sysdeps/generic/_G_config.h: ... here.
1300
28c195f7
RM
1301 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1302
848917f9
RM
1303 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1304
6bacf05b
RM
1305 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1306 Conditionalize target on [libnss_test1.so-version].
1307
91363dbb
RM
1308 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1309
cc87f7d8
RM
1310 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1311 (elfobjdir): Move out of conditionals.
1312
b1c608fe
RM
1313 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1314 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1315 (__nss_lookup_function): Conditionalize label remove_from_tree on
1316 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 1317
1d9a6d96
DM
13182012-09-28 David S. Miller <davem@davemloft.net>
1319
1320 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1321 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1322 file.
1323 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1324 sysdep_routines.
1325 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1326 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1327 when HWCAP_SPARC_CRYPTO is present.
1328
72581615
PT
13292012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1330
1331 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1332
715a900c
JL
13332012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1334
1335 [BZ #6530]
1336 * stdio-common/vfprintf.c (process_string_arg): Revert
1337 2000-07-22 change.
1338
13392011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1340
1341 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1342 for testcase.
1343 * stdio-common/tst-sprintf.c: Include <locale.h>
1344 (main): Test sprintf's handling of incomplete multibyte
1345 characters.
1346
9bac1d86
L
13472012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1348
1349 * elf/dl-runtime.c (VERSYMIDX): Removed.
1350 * elf/dl-version.c (VERSYMIDX): Likewise.
1351 * elf/do-rel.h (VERSYMIDX): Likewise.
1352 (VALIDX): Likewise.
1353 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1354 * elf/rtld.c (VALIDX): Likewise.
1355 (ADDRIDX): Likewise.
9bac1d86
L
1356 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1357 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1358 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
1359 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1360 (VALIDX): Likewise.
1361 (ADDRIDX): Likewise.
9bac1d86 1362
b31606c0
PT
13632012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1364
1365 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1366
11541177
JL
13672012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1368
1369 [BZ #11438]
1370 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1371 to global scope.
1372 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1373 addresses are in the same scope as 192.0.2/24.
1374 * posix/gai.conf: Document new scope table defaults.
1375
adb26fae
SP
13762012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1377
1378 [BZ #5298]
1379 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1380 for ftell. Compute offsets from write pointers instead.
1381 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1382
4573c6b0
SP
13832012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1384
1385 [BZ #14543]
1386 * libio/Makefile (tests): New test case tst-fseek.
1387 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1388 combination works in wide mode.
1389 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1390 state when the external buffer state changes.
1391
aa9bbfe6
DM
13922012-09-27 David S. Miller <davem@davemloft.net>
1393
1394 [BZ #14376]
1395 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1396 pass reloc->r_addend in as the 'high' argument to
1397 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1398
784421e7
DM
1399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1400
c39bc8b8
PT
14012012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1402
1403 * rt/tst-aio2.c: Include <pthread.h>.
1404 * rt/tst-aio3.c: Likewise.
1405
1ccc2399
SE
14062012-09-27 Steve Ellcey <sellcey@mips.com>
1407
1408 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1409
31ed4153
L
14102012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1411
25f5f885
L
1412 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1413 contents on [SHARED].
31ed4153 1414
b7bfe116
MP
14152012-09-26 Marek Polacek <polacek@redhat.com>
1416
1417 [BZ #14530]
1418 [BZ #13741]
1419 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1420 for C++ and GCC <4.3 as well as for non GCC compilers.
1421
43c4edba
MT
14222012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1423
1424 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1425
6a1bf82f
RM
14262012-09-25 Roland McGrath <roland@hack.frob.com>
1427
1428 * Makefile.in (all, install): Declare with .PHONY.
1429 Reported by Michael Hope <michael.hope@linaro.org>.
1430
8ad11b9a
TMQMF
14312012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1432
1433 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1434 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1435 system header.
1436 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1437 Likewise.
1438 (sydep_routines): Add the new and the internal functions.
1439 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1440 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1442 (GLIBC_2.17): Add the new function.
1443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1444 (GLIBC_2.17): Likewise.
1445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1446 (GLIBC_2.17): Likewise.
1447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1448 (GLIBC_2.17): Likewise.
1449 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1450
7e2fca8d
AM
14512012-09-25 Alan Modra <amodra@gmail.com>
1452
1453 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1454 Add release barrier before setting once_control to say
1455 initialisation is done. Add hints on lwarx. Use macro in
1456 place of isync.
1457 (clear_once_control): Add release barrier.
1458
b87c4b24
JM
14592012-09-25 Joseph Myers <joseph@codesourcery.com>
1460
d032e0d2
JM
1461 [BZ #13629]
1462 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1463 specially.
1464 * math/s_clog10.c (__clog10): Likewise.
1465 * math/s_clog10f.c (__clog10f): Likewise.
1466 * math/s_clog10l.c (__clog10l): Likewise.
1467 * math/s_clogf.c (__clogf): Likewise.
1468 * math/s_clogl.c (__clogl): Likewise.
1469 * math/Makefile (libm-calls): Add x2y2m1.
1470 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1471 (__x2y2m1): Likewise.
1472 (__x2y2m1l): Likewise.
1473 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1474 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1475 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1476 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1477 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1478 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1479 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1480 * sysdeps/i386/fpu/libm-test-ulps: Update.
1481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1482
b87c4b24
JM
1483 [BZ #14621]
1484 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1485 int as type of variable DEPTH.
1486 (glob): Use size_t instead of int as type of variables NEWCOUNT
1487 and OLD_PATHC.
1488
6d3bf199
LD
14892012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1490
22bf5c17
LD
1491 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1492 Add s_sincosf-sse2.
1493 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1494 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1495 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1496 macros for using routine as __sincosf_ia32.
1497 Use macro for function declaration and weak_alias.
1498 * sysdeps/i386/fpu/libm-test-ulps: Update.
1499
1500 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1501 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1502
1503 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
1504 subnormal argument.
1505 * math/s_cexpf.c (__cexpf): Likewise.
1506 * math/s_csinf.c (__csinf): Likewise.
1507 * math/s_csinhf.c (__csinhf): Likewise.
1508 * math/s_ctanf.c (__ctanf): Likewise.
1509 * math/s_ctanhf.c (__ctanhf): Likewise.
1510 * math/s_ccosh.c (__ccoshf): Likewise.
1511 * math/s_cexp.c (__cexpl): Likewise.
1512 * math/s_csin.c (__csin): Likewise.
1513 * math/s_csinh.c (__csinh): Likewise.
1514 * math/s_ctan.c (__ctan): Likewise.
1515 * math/s_ctanh.c (ctanh): Likewise.
1516 * math/s_ccoshl.c (__ccoshl): Likewise.
1517 * math/s_cexpl.c (__cexpl): Likewise.
1518 * math/s_csinl.c (__csinl): Likewise.
1519 * math/s_csinhl.c (__csinhl): Likewise.
1520 * math/s_ctanl.c (__ctanl): Likewise.
1521 * math/s_ctanhl.c (__ctanhl): Likewise.
1522
203e5603
JM
15232012-09-25 Joseph Myers <joseph@codesourcery.com>
1524
1525 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1526 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1527 (_IO_off_t): Define to __off_t, not _G_off_t.
1528 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1529 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1530 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1531 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1532 type of __dummy and __dummy2 fields.
1533 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1534 (_G_ssize_t): Likewise.
1535 (_G_off_t): Likewise.
1536 (_G_pid_t): Likewise.
1537 (_G_uid_t): Likewise.
1538 (_G_wchar_t): Likewise.
1539 (_G_wint_t): Likewise.
1540 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1541 (_G_ssize_t): Likewise.
1542 (_G_off_t): Likewise.
1543 (_G_pid_t): Likewise.
1544 (_G_uid_t): Likewise.
1545 (_G_wchar_t): Likewise.
1546 (_G_wint_t): Likewise.
1547 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1548 (_G_ssize_t): Likewise.
1549 (_G_off_t): Likewise.
1550 (_G_pid_t): Likewise.
1551 (_G_uid_t): Likewise.
1552 (_G_wchar_t): Likewise.
1553 (_G_wint_t): Likewise.
1554
9fab36eb
SP
15552012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1556
1557 * malloc/arena.c: Include malloc-sysdep.h.
1558 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1559 is sufficient to shrink the heap or an unmap is needed.
1560 * sysdeps/generic/malloc-sysdep.h: New file. Define
1561 new function check_may_shrink_heap.
1562 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1563 new function check_may_shrink_heap.
1564
2b4f00d1
SP
15652012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1566
1567 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1568 comments.
1569
9a9028b1
DL
15702012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1571
57c69bef
DL
1572 * catgets/test-gencat.sh: Add "set -e".
1573 * elf/tst-pathopt.sh: Likewise.
1574 * grp/tst_fgetgrent.sh: Likewise.
1575 * iconvdata/run-iconv-test.sh: Likewise.
1576 * intl/tst-gettext.sh: Likewise.
1577 * intl/tst-gettext2.sh: Likewise.
1578 * intl/tst-gettext4.sh: Likewise.
1579 * intl/tst-gettext6.sh: Likewise.
1580 * intl/tst-translit.sh: Likewise.
1581 * io/ftwtest-sh: Likewise.
1582 * libio/test-freopen.sh: Likewise.
1583 * malloc/tst-mtrace.sh: Likewise.
1584 * posix/globtest.sh: Likewise.
1585 * posix/tst-getconf.sh: Likewise.
1586 * posix/wordexp-tst.sh: Likewise.
1587 * stdio-common/tst-printf.sh: Likewise.
1588 * stdio-common/tst-unbputc.sh: Likewise.
1589 * stdlib/tst-fmtmsg.sh: Likewise.
1590 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1591 * catgets/Makefile: Do not specify -e option when running
1592 testsuite shell scripts.
1593 * elf/Makefile: Likewise.
1594 * grp/Makefile: Likewise.
1595 * iconvdata/Makefile: Likewise.
1596 * intl/Makefile: Likewise.
1597 * io/Makefile: Likewise.
1598 * libio/Makefile: Likewise.
1599 * malloc/Makefile: Likewise.
1600 * posix/Makefile: Likewise.
1601 * stdio-common/Makefile: Likewise.
1602 * stdlib/Makefile: Likewise.
1603 * sysdeps/x86_64/Makefile: Likewise.
1604
9a9028b1
DL
1605 * io/ftwtest-sh: Add copyright header.
1606 * posix/globtest.sh: Likewise.
1607 * posix/tst-getconf.sh: Likewise.
1608 * posix/wordexp-tst.sh: Likewise.
1609 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1610
ced6f16e
L
16112012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1612
94b32c39
L
1613 [BZ #13679]
1614 * Makeconfig (+link): Defined as $(+link-static) if
1615 $(build-shared) isn't yes.
1616 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1617 isn't yes.
1618 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1619
189e935b
L
1620 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1621
ced6f16e
L
1622 [BZ #14562]
1623 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1624 new chunk size with MALLOC_ALIGN_MASK.
1625
a9f8e53a
JM
16262012-09-24 Joseph Myers <joseph@codesourcery.com>
1627
1628 [BZ #5044]
1629 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1630 <rounding-mode.h>.
1631 (__printf_fphex): Determine rounding using get_rounding_mode and
1632 round_away.
1633 * stdio-common/tst-printf-round.c (struct hex_test): New
1634 structure.
1635 (hex_tests): New variable.
1636 (test_hex_in_one_mode): New function.
1637 (do_test): Also run tests for hex float output.
1638
43153109
JM
16392012-09-21 Joseph Myers <joseph@codesourcery.com>
1640
1641 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1642 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1643 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1644 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1645 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1646 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1647 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1648 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1649
8a26625d
JM
16502012-09-20 Joseph Myers <joseph@codesourcery.com>
1651
1652 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1653 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1654 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1655 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1656
f3fd569c
DL
16572012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1658
1659 [BZ #14579]
1660 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1661 mode only.
1662 * elf/tst-rtld-load-self.sh: New test.
1663 * elf/Makefile: Run it.
1664
63bbedd4
JM
16652012-09-18 Joseph Myers <joseph@codesourcery.com>
1666
1667 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1668 (tst-writev-ENV): Remove.
1669 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1670
626f8b6a
CM
16712012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1672
1673 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1674
b7aaa4d6
JM
16752012-09-17 Joseph Myers <joseph@codesourcery.com>
1676
1677 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1678 unconditional.
1679 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1680 Likewise.
1681 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1682 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1683 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1684 Likewise.
1685
65513990
L
16862012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1687
1688 [BZ #14587]
1689 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1690 * config.make.in (have-cpp-asm-debuginfo): Removed.
1691 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1692 * configure: Regenerated.
1693
784761be
JM
16942012-09-14 Joseph Myers <joseph@codesourcery.com>
1695
1696 [BZ #5044]
1697 * stdio-common/printf_fp.c: Include <stdbool.h> and
1698 <rounding-mode.h>.
1699 (___printf_fp): Determine rounding using get_rounding_mode and
1700 round_away.
1701 * stdio-common/tst-printf-round.c: New file.
1702 * stdio-common/Makefile (tests): Add tst-printf-round.
1703 (link-libm): New variable.
1704 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1705
9503345f
L
17062012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1707
1708 [BZ #14576]
1709 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1710 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1711 Likewise.
1712 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1713 Likewise.
1714
ad35fc00
JM
17152012-09-13 Joseph Myers <joseph@codesourcery.com>
1716
1717 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1718 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1719 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1720 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1721
6c9b0f68
JM
17222012-09-12 Joseph Myers <joseph@codesourcery.com>
1723
1724 [BZ #14518]
1725 * include/rounding-mode.h: New file.
1726 * sysdeps/generic/get-rounding-mode.h: Likewise.
1727 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1728 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1729 (MAX_VALUE): New macro.
1730 (MIN_VALUE): Likewise.
1731 (overflow_value): New function.
1732 (underflow_value): Likewise.
1733 (round_and_return): Use overflow_value and underflow_value to
1734 determine return values in overflow and underflow cases. Use
1735 round_away to determine rounding depending on rounding mode.
1736 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1737 determine return values in overflow and underflow cases.
1738 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1739 (struct test_results): New structure.
1740 (struct test): Use struct test_results to store expected results
1741 for all rounding modes.
1742 (TEST): Include expected results for all rounding modes.
1743 (test_in_one_mode): New function.
1744 (do_test): Use test_in_one_mode to compute and check results.
1745 Check results for all rounding modes.
1746 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1747 $(link-libm).
1748
19fcedd5
AM
17492012-12-09 Allan McRae <allan@archlinux.org>
1750
1e9d84cd 1751 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 1752
8bbfd2f1
JM
17532012-09-11 Joseph Myers <joseph@codesourcery.com>
1754
1755 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1756 (_G_int32_t): Likewise.
1757 (_G_uint16_t): Likewise.
1758 (_G_uint32_t): Likewise.
1759 (_G_HAVE_BOOL): Likewise.
1760 (_G_HAVE_ATEXIT): Likewise.
1761 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1762 (_G_HAVE_IO_FILE_OPEN): Likewise.
1763 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1764 (_G_int32_t): Likewise.
1765 (_G_uint16_t): Likewise.
1766 (_G_uint32_t): Likewise.
1767 (_G_HAVE_BOOL): Likewise.
1768 (_G_HAVE_ATEXIT): Likewise.
1769 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1770 (_G_HAVE_IO_FILE_OPEN): Likewise.
1771 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1772 (_G_int32_t): Likewise.
1773 (_G_uint16_t): Likewise.
1774 (_G_uint32_t): Likewise.
1775 (_G_HAVE_BOOL): Likewise.
1776 (_G_HAVE_ATEXIT): Likewise.
1777 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1778 (_G_HAVE_IO_FILE_OPEN): Likewise.
1779
b1dc5912
L
17802012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1781
1782 * csu/libc-tls.c: Update copyright years.
1783
0e886ef9
JM
17842012-09-10 Joseph Myers <joseph@codesourcery.com>
1785
28361c5e
JM
1786 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1787 [!_G_USING_THUNKS]: Remove conditional code.
1788 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1789 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1790
0e886ef9
JM
1791 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1792 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1793 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1794 (_G_VTABLE_LABEL_PREFIX): Likewise.
1795 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1796 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1797 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1798 (_G_VTABLE_LABEL_PREFIX): Likewise.
1799 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1800 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1801 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1802 (_G_VTABLE_LABEL_PREFIX): Likewise.
1803 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1804
bcba7aa2
L
18052012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1806
1807 * libio/Makefile: Include ../Makeconfig before tests.
1808 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1809 only if $(build-shared) is yes.
1810
06585ee8
L
1811 * iconv/gconv_db.c: Update copyright years.
1812
80ccd52c
LD
18132012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1814
1815 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1816 unwind info if defined PIC. Fix special cases description.
1817 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1818
1819 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1820 DP_HI_MASK entry.
1821 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1822
691bc9c1
L
18232012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1824
3d9b46b3
L
1825 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1826
de2139a9
L
1827 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1828 is NULL.
1829
5ca78dd0
L
1830 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1831 (LDLIBS-tst-chk4): This.
1832 (LDFLAGS-tst-chk5): Renamed to ...
1833 (LDLIBS-tst-chk5): This.
1834 (LDFLAGS-tst-chk6): Renamed to ...
1835 (LDLIBS-tst-chk6): This.
1836 (LDFLAGS-tst-lfschk4): Renamed to ...
1837 (LDLIBS-tst-lfschk4): This.
1838 (LDFLAGS-tst-lfschk5): Renamed to ...
1839 (LDLIBS-tst-lfschk5): This.
1840 (LDFLAGS-tst-lfschk6): Renamed to ...
1841 (LDLIBS-tst-lfschk6): This.
1842
691bc9c1
L
1843 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1844 on $(common-objpfx)soversions.mk.
1845
65cafb1c
JM
18462012-09-07 Joseph Myers <joseph@codesourcery.com>
1847
1848 [BZ #10014]
1849 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1850 example host name.
1851
c78ab094
SP
18522012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1853
1854 * malloc/arena.c (arena_get_retry): New function that gets
1855 another arena for the caller to try its request on.
1856 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1857 current arena cannot fulfill the request.
1858 (__libc_memalign): Likewise.
1859 (__libc_memalign): Likewise.
1860 (__libc_pvalloc): Likewise.
1861 (__libc_calloc): Likewise.
1862
01f49f59
JT
18632012-09-05 John Tobey <john.tobey@gmail.com>
1864
1865 [BZ #13542]
1866 * manual/arith.texi (Operations on Complex): Fix description
1867 of carg branch cut.
1868
4c23fed5
JM
18692012-09-06 Joseph Myers <joseph@codesourcery.com>
1870
1d3c8572
JM
1871 [BZ #10014]
1872 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1873 host name.
1874
4c23fed5
JM
1875 [BZ #10038]
1876 * manual/memory.texi (Memory): Make order of menu items match
1877 order of sections.
1878
04570aaa
L
18792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1880
1881 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1882 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1883 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1884
b80af2f4
L
18852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1886
1887 * csu/libc-tls.c (static_dtv): Renamed to ...
1888 (_dl_static_dtv): This. Make it global.
1889 (_dl_initial_dtv): Removed.
1890 (__libc_setup_tls): Updated.
1891 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1892 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1893 DL_INITIAL_DTV.
1894
2abe9f15
PM
18952012-09-06 Petr Machata <pmachata@redhat.com>
1896
1897 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1898 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1899 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1900 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1901
0948c3af
L
19022012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1903
1904 [BZ #14545]
1905 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1906 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1907 freeing dtv[-1].
1908
a5055ad1
L
19092012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1910
1911 [BZ #14544]
1912 * Makeconfig (link-static-before-libc): Replace $(+prector)
1913 with $(+prectorT).
1914 (link-static-after-libc): Replace $(+postctor) with
1915 $(+postctorT).
1916 (link-bounded): Replace $(+prector)/$(+postctor) with
1917 $(+prectorT)/$(+postctorT).
1918 (+prectorT): New macro.
1919 (+postctorT): Likewise.
1920
ed8c2ecd
JM
19212012-09-06 Joseph Myers <joseph@codesourcery.com>
1922
1923 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1924 (round_str): Handle values above the maximum for IBM long double
1925 as inexact.
1926 * stdlib/tst-strtod-round.c (tests): Regenerated.
1927
14c996c8
AK
19282012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1929
1930 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1931 assembler flag.
1932 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1933 zarch_nohighgprs around the zarch optimized routines.
1934 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1935 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1936 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1937 for zarch.
1938
430d6ce6
DM
19392012-09-05 David S. Miller <davem@davemloft.net>
1940
1941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1942
ff04dda4
DM
1943 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1944 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1945 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1946 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1947 entries.
1948
24d4e01b
AO
19492012-09-05 Alexandre Oliva <aoliva@redhat.com>
1950
1951 * malloc/arena.c: Fold copyright years.
1952 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1953
61d58174
AO
19542012-09-05 Alexandre Oliva <aoliva@redhat.com>
1955
1956 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1957
20196a5e
AO
19582012-09-05 Alexandre Oliva <aoliva@redhat.com>
1959
1960 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1961
5c447383
AO
19622012-09-05 Alexandre Oliva <aoliva@redhat.com>
1963
1964 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1965 change internal state upon failure.
1966
fad64255
AO
19672012-09-05 Alexandre Oliva <aoliva@redhat.com>
1968
1969 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1970 * malloc/memusage.c (mmap): Likewise.
1971 (mmap64, mremap): Likewise. Adjust name in comment.
1972
1ffb8c90
SP
19732012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1974
1975 * libio/fileops.c: Fix typos in comments.
1976 * libio/oldfileops.c: Likewise.
1977 * libio/wfileops.c: Likewise.
1978
6ef9cc37
SP
19792012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1980
1981 [BZ #1349]
1982 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1983 (tst-malloc-usable-ENV): Set environment for test case.
1984 * malloc/hooks.c (malloc_check_get_size): New function to get
1985 requested size.
1986 * malloc/malloc.c (musable): Use malloc_check_get_size.
1987 * malloc/tst-malloc-usable.c: New test case.
1988
4d038ae3
AS
19892012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1990
1991 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1992
c4e85184
AM
19932012-09-05 Allan McRae <allan@archlinux.org>
1994
b9dafc56 1995 [BZ #13966]
c4e85184
AM
1996 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1997 determine header location.
1998 * configure: Regenerated.
1999
e1343020
AS
20002012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2001
2002 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
2003 float format.
2004 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
2005 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
2006 format.
e1343020
AS
2007 (test): Regenerate.
2008
0a9f1987
DM
20092012-09-04 David S. Miller <davem@davemloft.net>
2010
2011 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
2012 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
2013 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2014
29237804
FW
20152012-09-04 Florian Weimer <fweimer@redhat.com>
2016
2017 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
2018 failures.
2019
edb3cb88
FW
2020 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
2021
60160d83
JM
20222012-09-04 Joseph Myers <joseph@codesourcery.com>
2023
2024 [BZ #9914]
2025 * libio/iogetdelim.c: Include <limits.h>.
2026 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
2027 + len + 1 would overflow.
2028
bcd6c8dc
AJ
20292012-09-03 Andreas Jaeger <aj@suse.de>
2030
2031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2032 * sysdeps/i386/fpu/libm-test-ulps: Update.
2033
4ffffbd2
LD
20342012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2035
2036 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2037 Add s_sinf-sse2, s_conf-sse2.
2038
2039 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
2040 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
2041 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
2042 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
2043
2044 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
2045 for using routine as __sinf_ia32.
2046 Use macro for function declaration and weak_alias.
2047 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
2048 for using routine as __cosf_ia32.
2049 Use macro for function declaration and weak_alias.
2050
2051 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
2052 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
2053
2054 * sysdeps/x86_64/fpu/s_sinf.S: New file.
2055 * sysdeps/x86_64/fpu/s_cosf.S: New file.
2056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2057
2058 * math/libm-test.inc (cos_test): Add more test cases.
2059 (sin_test): Likewise.
2060 (sincos_test): Likewise.
2061
511fa286
AK
20622012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2063
2064 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2065 (IFUNC_RESOLVE): Make pointers to the specialized implementations
2066 hidden.
2067 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2068
5f30cfec
L
20692012-09-02 H.J. Lu <hongjiu.lu@intel.com>
2070
2071 [BZ #14538]
2072 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
2073 first element of the GOT.
2074 (elf_machine_load_address): Return the difference between
2075 the runtime address of _DYNAMIC and elf_machine_dynamic ().
2076
0786794f
AM
20772012-09-01 Allan McRae <allan@archlinux.org>
2078
5f30cfec
L
2079 [BZ #13412]
2080 * configure.in (AWK): Require gawk version 3.0 or later.
2081 * configure: Regenerated.
0786794f 2082
26889eac
JM
20832012-09-01 Joseph Myers <joseph@codesourcery.com>
2084
2085 * sysdeps/unix/sysv/linux/kernel-features.h
2086 (__ASSUME_POSIX_CPU_TIMERS): Remove.
2087 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2088 [__NR_clock_getres]: Make code unconditional.
2089 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
2090 (clock_getcpuclockid): Remove code left unreachable by removal of
2091 conditionals.
2092 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
2093 code unconditional.
2094 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2095 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2096 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
2097 Make code unconditional.
2098 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2099 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2100 * sysdeps/unix/sysv/linux/clock_settime.c
2101 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
2102 conditional code.
2103 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
2104 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2105
d22e28b0
L
21062012-08-29 H.J. Lu <hongjiu.lu@intel.com>
2107
2108 [BZ #14476]
2109 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
2110 scripts/test-installation.pl.
2111
2112 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
2113 and $ld_so_version if it is set.
2114
050af9c4
SP
21152012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2116
2117 [BZ #14516]
2118 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
2119 failure if reading from procfs failed.
2120 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
2121
ad845c0b
JM
21222012-08-27 Joseph Myers <joseph@codesourcery.com>
2123
2124 * sysdeps/unix/sysv/linux/kernel-features.h
2125 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
2126 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2127 Remove conditional code.
2128 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2129 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
2130 Remove conditional code.
2131 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2132 * sysdeps/unix/sysv/linux/i386/fxstat.c
2133 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2134 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2135 * sysdeps/unix/sysv/linux/i386/fxstatat.c
2136 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2137 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2138 * sysdeps/unix/sysv/linux/i386/lxstat.c
2139 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2140 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2141 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2142 Remove conditional code.
2143 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2144 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2145 Remove conditional code.
2146 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2147 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2148 <kernel-features.h>.
2149 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2150 Remove.
2151 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2152 Remove conditional code.
2153 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2154 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2155 Remove conditional.
2156
5dbf56af
MF
21572012-08-27 Mike Frysinger <vapier@gentoo.org>
2158
2159 [BZ #5400]
2160 * NEWS: Add fixed bug number.
2161
d6e70f43
JM
21622012-08-27 Joseph Myers <joseph@codesourcery.com>
2163
7efb4737
JM
2164 [BZ #14519]
2165 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2166 underflowing exponent in case of negative sign.
2167 * stdlib/tst-strtod-round-data: Add more tests.
2168 * stdlib/tst-strtod-round.c (tests): Regenerated.
2169
af92131a
JM
2170 [BZ #3479]
2171 * stdlib/strtod_l.c (NDIG): Remove.
2172 (HEXNDIG): Likewise.
2173 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2174 smallest representable value.
2175 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2176 lie within an exact representation of 1/2 ulp of the result.
2177 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2178 unconditionally.
2179 (TENS_P9_IDX): Define unconditionally.
2180 (TENS_P9_SIZE): Likewise.
2181 (TENS_P10_IDX): Likewise.
2182 (TENS_P10_SIZE): Likewise.
2183 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2184 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2185 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2186 entries for 10^2^13 and 10^2^14.
2187 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2188 (TENS_P13_IDX): Define.
2189 (TENS_P13_SIZE): Likewise.
2190 (TENS_P14_IDX): Likewise.
2191 (TENS_P14_SIZE): Likewise.
2192 (_fpioconst_pow10): Change array size to
2193 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
2194 unconditional.
2195 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2196 1024]: Add entries for 10^2^13 and 10^2^14.
2197 [LAST_POW10 > _LAST_POW10]: Remove #error.
2198 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2199 (_fpioconst_pow10): Change array size to
2200 FPIOCONST_POW10_ARRAY_SIZE.
2201 * stdlib/gen-fpioconst.c: New file.
2202 * stdlib/gen-tst-strtod-round.c: Likewise.
2203 * stdlib/tst-strtod-round-data: Likewise.
2204 * stdlib/tst-strtod-round.c: Likewise.
2205 * stdlib/Makefile (tests): Add tst-strtod-round.
2206
d6e70f43
JM
2207 [BZ #14459]
2208 * stdlib/strtod_l.c: Include <stdint.h>.
2209 (NDEBUG): Do not define.
2210 (round_and_return): Change EXPONENT parameter to type intmax_t.
2211 Rearrange calculations to avoid internal overflow possibilities.
2212 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2213 Rearrange calculations to avoid internal overflow possibilities.
2214 Assert that number fits inside MPNSIZE limbs.
2215 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2216 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
2217 calculations and add assertions to avoid internal overflow
2218 possibilities. Add casts to avoid signed/unsigned operations.
2219 * stdlib/tst-strtod-overflow.c: New file.
2220 * stdlib/Makefile (tests): Add tst-strtod-overflow.
2221
1f529f7d
MP
22222012-08-25 Marek Polacek <polacek@redhat.com>
2223
2224 * time/time.h: Fix some typos in comments.
2225
59a629f1
RM
22262012-08-23 Roland McGrath <roland@hack.frob.com>
2227
2228 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2229 * posix/tst-rfc3484-2.c: Likewise.
2230 * posix/tst-rfc3484-3.c: Likewise.
2231
d3bafbc9
SM
22322012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2233
2234 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2235 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2236
4efcc022
JM
22372012-08-23 Joseph Myers <joseph@codesourcery.com>
2238
2239 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2240 #include of fxstatat64.c.
2241
3cc3ef96
RM
22422012-08-22 Roland McGrath <roland@hack.frob.com>
2243
f04e2132
RM
2244 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2245 * shadow/getspent_r.c: Likewise.
2246 * shadow/getspnam.c: Likewise.
2247 * shadow/getspnam_r.c: Likewise.
2248 * gshadow/getsgent.c: Likewise.
2249 * gshadow/getsgent_r.c: Likewise.
2250 * gshadow/getsgnam.c: Likewise.
2251 * gshadow/getsgnam_r.c: Likewise.
2252 * inet/getnetbyad.c: Likewise.
2253 * inet/getnetbyad_r.c: Likewise.
2254 * inet/getnetbynm.c: Likewise.
2255 * inet/getnetbynm_r.c: Likewise.
2256 * inet/getnetent.c: Likewise.
2257 * inet/getnetent_r.c: Likewise.
2258 * inet/getproto.c: Likewise.
2259 * inet/getproto_r.c: Likewise.
2260 * inet/getprtent.c: Likewise.
2261 * inet/getprtent_r.c: Likewise.
2262 * inet/getprtname.c: Likewise.
2263 * inet/getprtname_r.c: Likewise.
2264 * inet/getrpcbyname.c: Likewise.
2265 * inet/getrpcbyname_r.c: Likewise.
2266 * inet/getrpcbynumber.c: Likewise.
2267 * inet/getrpcbynumber_r.c: Likewise.
2268 * inet/getrpcent.c: Likewise.
2269 * inet/getrpcent_r.c: Likewise.
2270 * inet/getaliasent.c: Likewise.
2271 * inet/getaliasent_r.c: Likewise.
2272 * inet/getaliasname.c: Likewise.
2273 * inet/getaliasname_r.c: Likewise.
2274 * nscd/getgrgid_r.c: Likewise.
2275 * nscd/getgrnam_r.c: Likewise.
2276 * nscd/gethstbyad_r.c: Likewise.
2277 * nscd/gethstbynm3_r.c: Likewise.
2278 * nscd/getpwnam_r.c: Likewise.
2279 * nscd/getpwuid_r.c: Likewise.
2280 * nscd/getsrvbynm_r.c: Likewise.
2281 * nscd/getsrvbypt_r.c: Likewise.
2282 * nscd/gai.c: Likewise.
2283
c53d909c
RM
2284 * configure.in (build_nscd): New substituted variable, set
2285 by --disable-build-nscd and defaults to $use_nscd.
2286 * configure: Regenerated.
2287 * config.make.in (build-nscd): New substituted variable.
2288 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2289 Change conditional to require [$(build-nscd) = yes] as well.
2290 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2291
3cc3ef96
RM
2292 [BZ# 13696]
2293 * configure.in (use_nscd): New substituted variable, set by
2294 --disable-nscd. If enabled, define USE_NSCD.
2295 * configure: Regenerated.
2296 * config.h.in: Add USE_NSCD.
2297 * config.make.in (use-nscd): New substituted variable.
2298 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2299 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2300 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2301 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2302 (CFLAGS-getgrnam_r.c): Likewise.
2303 (CFLAGS-initgroups.c): Likewise.
2304 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2305 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2306 Variables removed.
2307 * inet/getnetgrent_r.c
2308 (nscd_setnetgrent): New function, broken out of ...
2309 (setnetgrent): ... here. Call it.
2310 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2311 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2312 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2313 * nscd/Makefile (routines, aux): Move definitions after include of
2314 Makeconfig. Conditionalize on [$(use-nscd) != no].
2315 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2316 Conditionalize on [USE_NSCD].
2317 (is_nscd, nscd_init_cb): Likewise.
2318 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2319 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2320 * nss/nss_db/db-init.c: Likewise.
2321 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2322 [USE_NSCD].
2323 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2324 (make_request): Use it.
2325 (cache_valid_p): New function.
2326 (__check_pf): Use it.
2327 * NEWS: Add item for --disable-nscd.
2328
07e51550
DL
23292012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2330
2331 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2332 to support sed >= 4.2.1-20-ga9bf076.
2333 * configure: Regenerated.
2334
35a5b08b
RM
23352012-08-22 Roland McGrath <roland@hack.frob.com>
2336
2337 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2338 Conditionalize whole body on [IREL].
2339
8479f23a
JL
23402012-08-22 Jeff Law <law@redhat.com>
2341
2342 [BZ #14505]
2343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2344 if the family is PF_UNSPEC.
2345
48da0b21
MF
23462012-08-22 Mike Frysinger <vapier@gentoo.org>
2347
2348 * Makerules (lib-version): Rename from V.
2349 (install-lib-nosubdir): Change V to lib-version.
2350
15d0da8c
WS
23512012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2352
2353 [BZ #14252]
2354 * powerpc32/power6/wcschr.c: New file.
2355 * powerpc32/power6/wcscpy.c: New file.
2356 * powerpc32/power6/wcsrchr.c: New file.
2357 * powerpc64/power6/wcschr.c: New file.
2358 * powerpc64/power6/wcscpy.c: New file.
2359 * powerpc64/power6/wcsrchr.c: New file.
2360
bcca0895
MK
23612012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2362
2363 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2364 (two_way_short_needle): Use it.
5a4aaa33
RM
2365 * string/strstr.c (AVAILABLE1_USES_J): Define.
2366 * string/strcasestr.c: Likewise.
99677e57
MK
2367
2368 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2369 array references.
2370 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2371
400726de
MK
2372 [BZ #11607]
2373 * NEWS: Add an entry.
2374 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2375 define their defaults.
2376 (two_way_short_needle): Detect end-of-string on-the-fly.
2377 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2378 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2379 * string/bug-strcasestr1.c: New test.
2380 * string/Makefile: Run it.
2381
20a71f2c
MK
23822012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2383
2384 [BZ #11607]
2385 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2386 the first character.
2387
21ad0558
RM
23882012-08-21 Roland McGrath <roland@hack.frob.com>
2389
2390 * csu/elf-init.c (__libc_csu_irel): Function removed.
2391 * csu/libc-start.c (apply_irel): New function.
2392 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2393
0e1d9911
JM
23942012-08-21 Joseph Myers <joseph@codesourcery.com>
2395
2396 * sysdeps/unix/sysv/linux/kernel-features.h
2397 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2398 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2399 <kernel-features.h>.
2400 [__NR_fadvise64_64]: Make code unconditional.
2401 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2402 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2403 !__NR_fadvise64_64)]: Likewise.
2404 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2405 !__NR_fadvise64_64))]: Likewise.
2406 [__NR_fadvise64]: Make code unconditional.
2407 [!__NR_fadvise64]: Remove conditional code.
2408 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2409 <kernel-features.h>.
2410 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2411 unconditional.
2412 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2413 conditional code.
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2415 not include <kernel-features.h>.
2416 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2417 unconditional.
2418 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2419 conditional code.
2420 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2421 include <kernel-features.h>.
2422 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2423 unconditional.
2424 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2425 conditional code.
2426
14a50c9d
WS
24272012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2428
2429 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2430 slight instruction rearrangements per scrollpipe analysis.
2431 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2432
c0f4faf0
RM
24332012-08-20 Roland McGrath <roland@hack.frob.com>
2434
696da859
RM
2435 * manual/syslog.texi (syslog; vsyslog, closelog):
2436 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2437 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2438
c0f4faf0
RM
2439 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2440 DSOCAPS to match condition on defining it.
2441
348363b2
JM
24422012-08-20 Joseph Myers <joseph@codesourcery.com>
2443
a35cbf28
JM
2444 * sysdeps/unix/sysv/linux/kernel-features.h
2445 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2447 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2448 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2450 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2451 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2453 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2454 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2455
445f7ecd
JM
2456 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2457 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2458
348363b2
JM
2459 * sysdeps/unix/sysv/linux/kernel-features.h
2460 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2461 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2462 unconditional.
2463 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2464 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2465 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2466 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2467 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2468 Make code unconditional.
2469 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2470 (__mmap64) [!__NR_mmap2]: Likewise.
2471 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2472 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2473 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2474 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2475 [__NR_mmap2]: Make code unconditional.
2476 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2477 (__mmap64) [!__NR_mmap2]: Likewise.
2478
bc5bc0e5
AK
24792012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2480
2481 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2482
88d506de
AJ
24832012-08-18 Andreas Jaeger <aj@suse.de>
2484
2485 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2486
493387d2
MF
24872012-08-18 Mike Frysinger <vapier@gentoo.org>
2488
2489 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2490 * include/unistd.h (__have_sock_cloexec): Likewise.
2491 (__have_pipe2): Likewise.
2492 (__have_dup3): Likewise.
2493
a277af22
MF
24942012-08-18 Mike Frysinger <vapier@gentoo.org>
2495
2496 [BZ #9685]
2497 * include/unistd.h (__have_pipe2): Change define into an extern int.
2498 (__have_dup3): Likewise.
2499 * socket/have_sock_cloexec.c: Include fcntl.h.
2500 (__have_pipe2): New variable.
2501 (__have_dup3): Likewise.
2502
fdab8fd3
MF
25032012-08-17 Mike Frysinger <vapier@gentoo.org>
2504
2505 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2506
31035e80
MP
25072012-08-17 Marek Polacek <polacek@redhat.com>
2508
2509 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2510 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2511
3bd9e993
RM
25122012-08-17 Roland McGrath <roland@hack.frob.com>
2513
c91c505f
RM
2514 * configure.in: Add AC_SUBST for sysheaders.
2515 * configure: Regenerated.
2516 * config.make.in (sysheaders): New substituted variable.
2517
7c6f9d53
RM
2518 * sysdeps/unix/mkfifo.c: Moved ...
2519 * sysdeps/posix/mkfifo.c: ... here.
2520 * sysdeps/unix/mkfifoat.c: Moved ...
2521 * sysdeps/posix/mkfifoat.c: ... here.
2522
2523 * sysdeps/unix/utime.c: Moved ...
2524 * sysdeps/posix/utime.c: ... here.
2525
2526 * sysdeps/unix/time.c: Moved ...
2527 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
2528 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2529 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
2530
2531 * sysdeps/unix/nice.c: Moved ...
2532 * sysdeps/posix/nice.c: ... here.
2533
2534 * sysdeps/unix/alarm.c: Moved ...
2535 * sysdeps/posix/alarm.c: ... here.
2536
3bd9e993
RM
2537 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2538
d1f09384
JL
25392012-08-17 Jeff Law <law@redhat.com>
2540
2541 * intl/Makefile (codeset_mo): New variable.
2542 ($(codeset_mo)): New target.
2543 (tst-codeset.out): Depend on that. Remove explicit rule.
2544 (tst-gettext3.out, tst-gettext5.out): Likewise.
2545 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2546 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2547 * intl/tst-codeset.sh: Remove.
2548 * intl/tst-gettext3.sh: Likewise.
2549 * intl/tst-gettext5.sh: Likewise.
2550
2ae1ae5c
RM
25512012-08-17 Roland McGrath <roland@hack.frob.com>
2552
c31fdb83
RM
2553 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2554 * sysdeps/unix/syscalls.list: ... here.
2555
a0844057
RM
2556 * sysdeps/posix/getaddrinfo.c
2557 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2558 (gaiconf_init, gaiconf_reload): Use them.
2559 [!_STATBUF_ST_NSEC]
2560 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2561 Define using time_t rather than struct timespec.
2562
750c1f2a
RM
2563 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2564 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2565 Macros removed.
2566 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2567 [!NO_THREADS].
2568 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2569 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2570 Likewise.
2571
2ae1ae5c
RM
2572 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2573 __libc_cleanup_push argument.
2574
e66a42f5
RM
2575 * bits/param.h: New file.
2576 * misc/sys/param.h: New file.
2577 * include/sys/param.h: New file.
2578 * misc/Makefile (headers): Add bits/param.h.
2579 * sysdeps/generic/sys/param.h: File removed.
2580 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2581 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2582 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 2583 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 2584
b7c08a66
RM
2585 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2586 last change.
2587
b2e1c562
RM
2588 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2589 [_IO_MTSAFE_IO].
2590 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2591 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2592 New macros.
2593
c75ccd4c
RM
2594 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2595 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2596 rather than -D_IO_MTSAFE_IO conditionally.
2597 * stdio-common/Makefile (CPPFLAGS): Likewise.
2598 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2599 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2600 Use $(libio-mtsafe).
2601 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2602 of -D_IO_MTSAFE_IO.
2603 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2604 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2605 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2606 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2607 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2608 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2609 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2610 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2611 (CFLAGS-fread_u_chk.c): Likewise.
2612 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2613 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2614 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2615 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2616 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2617 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2618 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2619 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2620 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2621
2622 * libio/Makefile: Test [$(libc-reentrant) = yes]
2623 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2624
2625 * Makeconfig
2626 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2627 * sysdeps/pthread/configure: File removed.
2628 * sysdeps/pthread/Makeconfig: New file.
2629 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2630 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2631
d9195db8
GB
26322012-08-16 Gary Benson <gbenson@redhat.com>
2633
2634 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2635 unmapping the first object in a namespace.
2636
86466cd9
RM
26372012-08-16 Roland McGrath <roland@hack.frob.com>
2638
2639 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2640 (__internal_setnetgrent): ... this. Add internal_function to
2641 definition. Add libc_hidden_def.
2642 (setnetgrent): Update caller.
2643 (internal_endnetgrent): Renamed to ...
2644 (__internal_endnetgrent): ... this. Add internal_function to
2645 definition. Add libc_hidden_def.
2646 (endnetgrent): Update caller.
2647 (internal_getnetgrent_r): Renamed to ...
2648 (__internal_getnetgrent_r): ... this. Add internal_function to
2649 definition. Add libc_hidden_def.
2650 (__getnetgrent_r): Update caller.
2651 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2652
c3c8283c
JM
26532012-08-16 Joseph Myers <joseph@codesourcery.com>
2654
2655 * stdlib/longlong.h: Update from GCC.
2656
db1ee0a8
RM
26572012-08-16 Roland McGrath <roland@hack.frob.com>
2658
2659 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2660 on _QL, which is set by umul_ppmm but never used.
2661 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2662 variables, which are set by GMP macros but never used.
2663 * stdio-common/_itowa.c (_itowa): Likewise.
2664 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2665 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2666
30f69637
CD
26672012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2668
2669 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2670 struct La_sh_regs is not constant.
2671 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2672 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2673 and struct La_sparc64_regs are not constant.
2674
93a78ac4
JM
26752012-08-16 Joseph Myers <joseph@codesourcery.com>
2676
2677 * sysdeps/unix/sysv/linux/kernel-features.h
2678 (__ASSUME_POSIX_TIMERS): Remove.
2679 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2680 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2681 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2682 Make code unconditional.
2683 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2684 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2685 Make code unconditional.
2686 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2687 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2688 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2689 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2690 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2691 Make code unconditional.
2692 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2693 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2694 (__libc_missing_posix_timers): Remove.
2695
dd924cd7
RM
26962012-08-15 Roland McGrath <roland@hack.frob.com>
2697
4b4f2771
RM
2698 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2699 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2700
601c888b
RM
2701 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2702
176790a7
RM
2703 * elf/dl-sym.c: Include <stdlib.h>.
2704
329bc018
RM
2705 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2706 constants, which avoids warnings in 32-bit builds.
2707
e04e272d
RM
2708 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2709 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2710
952bf94a
RM
2711 * misc/lseek.c: File moved to ...
2712 * io/lseek.c: ... here.
2713
7c99b50a
RM
2714 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2715
dd924cd7
RM
2716 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2717 shifting LEN more than 31 bits at once.
2718
b3f479a8
LD
27192012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2720
2721 [BZ #14195]
8c4ae0d4
RM
2722 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2723 segmentation fault for a case of two empty input strings.
b3f479a8
LD
2724 * string/test-strncasecmp.c (check1): Renamed to...
2725 (bz12205): ...this.
2726 (bz14195): Add new testcase for two empty input strings and N > 0.
2727 (test_main): Call new testcase, adapt for renamed function.
2728
9c55864e
AJ
27292012-08-15 Andreas Jaeger <aj@suse.de>
2730
2731 [BZ #14090]
2732 * crypt/md5test2.c: New test, based on test supplied by Serge
2733 Belyshev <belyshev@depni.sinp.msu.ru>.
2734 * crypt/Makefile (xtests): Add md5test-giant..
2735 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2736
02dcb6c5
PE
27372012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2738
2739 [BZ #14090]
2740 * crypt/md5.c (md5_process_block): Don't assume the buffer
2741 length is less than 2**32.
2742 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2743 length is less than 2**64.
2744
a3f95dcc
RM
27452012-08-15 Roland McGrath <roland@hack.frob.com>
2746
be75d758
RM
2747 * string/str-two-way.h: Include <sys/param.h>.
2748 (MAX): Macro removed.
2749
7312ca90
RM
2750 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2751 Move #define and #undef of memmove to just before and after
2752 including <string.h>.
2753
9a0a5486
RM
2754 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2755 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2756 and after including <string.h>. Move declarations of
2757 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2758 to before #include "string/memmove.c".
2759
67cc348d
RM
2760 * include/dirent.h: Declare __getdirentries.
2761
a3f95dcc
RM
2762 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2763 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2764
ca98e171
MF
27652012-08-14 Mike Frysinger <vapier@gentoo.org>
2766
2767 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2768 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2769 * sysdeps/i386/configure: Regenerated.
2770 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2771 STABS_CURRENT_FILE, and STABS_FUN.
2772 (END): Remove call to STABS_FUN_END.
2773 (STABS_CURRENT_FILE1): Delete.
2774 (STABS_CURRENT_FILE): Likewise.
2775 (STABS_FUN): Likewise.
2776 (STABS_FUN_END): Likewise.
2777 (STABS_FUN2): Likewise.
2778 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2779 * sysdeps/x86_64/configure: Regenerated.
2780
5908bf46
RM
27812012-08-14 Roland McGrath <roland@hack.frob.com>
2782
2783 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 2784 * elf/dl-lookup.c: Likewise.
5908bf46 2785
f2c05b9e
JM
27862012-08-14 Joseph Myers <joseph@codesourcery.com>
2787
2788 * sysdeps/unix/sysv/linux/kernel-features.h
2789 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2790 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2791 unconditionally.
2792 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2793 unconditionally.
2794 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2795 condition on __ASSUME_CLONE_THREAD_FLAGS.
2796
e11f5155
AJ
27972012-08-14 Andreas Jaeger <aj@suse.de>
2798
2799 * sysdeps/i386/fpu/libm-test-ulps: Update.
2800
51a9ba86
MK
28012012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2802
2fdd4f78
AJ
2803 * include/atomic.h (atomic_exchange_and_add): Split into ...
2804 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2805 New atomic macros.
51a9ba86 2806
ba6cba9e
MT
28072012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2808
2809 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2810
42443a47
JL
28112012-08-13 Jeff Law <law@redhat.com>
2812
2813 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2814 null byte in the output string.
2815
121dce05
JM
28162012-08-10 Joseph Myers <joseph@codesourcery.com>
2817
2818 * sysdeps/unix/sysv/linux/kernel-features.h
2819 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2820 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2821 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2822 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2823 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2824 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2825 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2826
bf51f568
JL
28272012-08-09 Jeff Law <law@redhat.com>
2828
2829 [BZ #13939]
2830 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2831 When avoid_arena is set, don't retry in the that arena. Pick the
2832 next one, whatever it might be.
2833 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2834 (arena_lock): Pass in new parameter to arena_get2.
2835 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2836 arena_get2.
2837 (__libc_malloc): Unify retrying after main arena failure with
2838 __libc_memalign version.
2839 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2840
f85fa270
L
28412012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2842
2843 [BZ #14166]
2844 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2845 to __redirect_strstr.
2846 (__strstr_sse42): Use typeof __redirect_strstr.
2847 (__strstr_ia32): Likewise.
2848 (__libc_strstr): New prototype.
2849 (strstr): Renamed to ...
2850 (__libc_strstr): This.
2851 (strstr): New strong alias of __libc_strstr.
2852 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2853 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2854 __redirect_time.
2855 Include <time.h>.
2856 (__libc_time): New prototype.
2857 (time_ifunc): Replace time with __libc_time.
2858 (time): New strong alias and hidden definition of __libc_time.
2859 (__GI_time): Remove strong alias.
2860 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2861 Include <stddef.h>.
2862 (memmove): Redefined to __redirect_memmove.
2863 (__memmove_sse2): Use typeof __redirect_memmove.
2864 (__memmove_ssse3): Likewise.
2865 (__memmove_ssse3_back): Likewise.
2866 (__libc_memmove): New prototype.
2867 (memmove): Renamed to ...
2868 (__libc_memmove): This.
2869 (memmove): New strong alias of __libc_memmove.
2870
33b4a91e
MS
28712012-08-08 Mark Salter <msalter@redhat.com>
2872
2873 * elf/elf.h
2874 (R_MN10300_TLS_GD): Define.
2875 (R_MN10300_TLS_LD): Likewise.
2876 (R_MN10300_TLS_LDO): Likewise.
2877 (R_MN10300_TLS_GOTIE): Likewise.
2878 (R_MN10300_TLS_IE): Likewise.
2879 (R_MN10300_TLS_LE): Likewise.
2880 (R_MN10300_TLS_DTPMOD): Likewise.
2881 (R_MN10300_TLS_DTPOFF): Likewise.
2882 (R_MN10300_TLS_TPOFF): Likewise.
2883 (R_MN10300_SYM_DIFF): Likewise.
2884 (R_MN10300_ALIGN): Likewise.
2885 (R_MN10300_NUM): Update.
2886
b36137f1
JM
28872012-08-08 Joseph Myers <joseph@codesourcery.com>
2888
2889 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2890 Remove.
2891
cdd915fd
RM
28922012-08-08 Roland McGrath <roland@hack.frob.com>
2893
a2433aac
RM
2894 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2895
cdd915fd
RM
2896 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2897 sysdeps/unix -> sysdeps/posix move.
2898 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2899
bf9b740a
AM
29002012-08-07 Allan McRae <allan@archlinux.org>
2901
2902 [BZ #14303]
2903 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2904 (SUNOS_CPP): Likewise.
2905 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2906 not found.
2907 (open_input): Call CPP using execvp.
2908
93df14ee
JM
29092012-08-07 Joseph Myers <joseph@codesourcery.com>
2910
2911 * sysdeps/unix/sysv/linux/kernel-features.h
2912 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2913 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2914 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2915 (__ASSUME_WAITID_SYSCALL): Likewise.
2916 * sysdeps/unix/sysv/linux/dl-execstack.c
2917 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2918 code unconditional.
2919 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2920 conditional code.
2921 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2922 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2923 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2924 code.
2925 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2926 unconditional.
2927 [__ASSUME_WAITID_SYSCALL]: Likewise.
2928 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2929
d34689de
RM
29302012-08-07 Roland McGrath <roland@hack.frob.com>
2931
a281decc
RM
2932 * sysdeps/unix/closedir.c: Renamed to ...
2933 * sysdeps/posix/closedir.c: ... here.
2934 * sysdeps/unix/dirfd.c: Renamed to ...
2935 * sysdeps/posix/dirfd.c: ... here.
2936 * sysdeps/unix/dirstream.h: Renamed to ...
2937 * sysdeps/posix/dirstream.h: ... here.
2938 * sysdeps/unix/fdopendir.c: Renamed to ...
2939 * sysdeps/posix/fdopendir.c: ... here.
2940 * sysdeps/unix/opendir.c: Renamed to ...
2941 * sysdeps/posix/opendir.c: ... here.
2942 * sysdeps/unix/readdir.c: Renamed to ...
2943 * sysdeps/posix/readdir.c: ... here.
2944 * sysdeps/unix/readdir_r.c: Renamed to ...
2945 * sysdeps/posix/readdir_r.c: ... here.
2946 * sysdeps/unix/rewinddir.c: Renamed to ...
2947 * sysdeps/posix/rewinddir.c: ... here.
2948 * sysdeps/unix/seekdir.c: Renamed to ...
2949 * sysdeps/posix/seekdir.c: ... here.
2950 * sysdeps/unix/telldir.c: Renamed to ...
2951 * sysdeps/posix/telldir.c: ... here.
2952 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2953 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2954 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2955 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2956
22895b47
RM
2957 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2958 * bits/fcntl.h: ... here.
2959
707a53b6
RM
2960 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2961 not 0.
2962 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2963 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2964 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2965 (struct flock): Move l_start, l_len to the beginning.
2966 Use __pid_t for l_pid.
2967 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2968 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2969 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2970 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2971 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2972 [__USE_LARGEFILE64] (struct flock64): New type.
2973 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2974
f0bd3e25
RM
2975 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2976 * bits/dirent.h: ... here.
2977
d34689de
RM
2978 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2979 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2980
6dad2c06
JM
29812012-08-07 Joseph Myers <joseph@codesourcery.com>
2982
2983 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2984 Change from 2.6.0 to 2.6.16.
2985 * sysdeps/unix/sysv/linux/configure: Regenerated.
2986 * sysdeps/unix/sysv/linux/kernel-features.h
2987 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2988 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2989 version.
2990 (__ASSUME_UTIMES): Likewise.
2991 (__ASSUME_CLONE_STOPPED): Remove.
2992 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2993 architectures, not kernel version.
2994 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2995 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2996 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2997 (__ASSUME_WAITID_SYSCALL): Likewise.
2998 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2999 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
3000 * README: State 2.6.16 as minimum Linux kernel version. Do not
3001 refer to older versions.
3002
03af9520
RM
30032012-08-06 Roland McGrath <roland@hack.frob.com>
3004
8e49df1d
RM
3005 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
3006 Define alphasort64 as an alias.
3007 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
3008 Define versionsort64 as an alias.
3009 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
3010 Define scandir64 as an alias.
3011 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
3012 Define scandirat64 as an alias.
3013 * dirent/alphasort64.c (alphasort64):
3014 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
3015 * dirent/versionsort64.c: Likewise.
3016 * dirent/scandir64.c: Likewise.
3017 * dirent/scandirat64.c: Likewise.
3018 * sysdeps/wordsize-64/alphasort.c: File removed.
3019 * sysdeps/wordsize-64/alphasort64.c: File removed.
3020 * sysdeps/wordsize-64/scandir.c: File removed.
3021 * sysdeps/wordsize-64/scandir64.c: File removed.
3022 * sysdeps/wordsize-64/scandirat.c: File removed.
3023 * sysdeps/wordsize-64/scandirat64.c: File removed.
3024 * sysdeps/wordsize-64/versionsort.c: File removed.
3025 * sysdeps/wordsize-64/versionsort64.c: File removed.
3026 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
3027 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
3028 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
3029 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
3030 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
3031 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
3032 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
3033 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
3034
3035 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
3036 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3037 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
3038 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3039 [defined __arch64__ || defined __sparcv9]
3040 (__INO_T_MATCHES_INO64_T): New macro.
3041 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3042 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
3043 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
3044 * sysdeps/unix/sysv/linux/bits/dirent.h
3045 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
3046 (_DIRENT_MATCHES_DIRENT64): New macro.
3047
03af9520
RM
3048 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
3049 Define lockf64 as an alias.
3050 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
3051 Define fseeko64 as an alias.
3052 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
3053 Define ftello64 as an alias.
3054 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
3055 Define _IO_fgetpos64 and fgetpos64 as aliases.
3056 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
3057 Define _IO_fsetpos64 and fsetpos64 as aliases.
3058 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
3059 Conditionalize body on this.
3060 * libio/fseeko64.c: Likewise.
3061 * libio/ftello64.c: Likewise.
3062 * libio/iofgetpos64.c: Likewise.
3063 * libio/iofsetpos64.c: Likewise.
3064 * sysdeps/wordsize-64/lockf.c: File removed.
3065 * sysdeps/wordsize-64/lockf64.c: File removed.
3066 * sysdeps/wordsize-64/fseeko.c: File removed.
3067 * sysdeps/wordsize-64/fseeko64.c: File removed.
3068 * sysdeps/wordsize-64/ftello.c: File removed.
3069 * sysdeps/wordsize-64/ftello64.c: File removed.
3070 * sysdeps/wordsize-64/iofgetpos.c: File removed.
3071 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
3072 * sysdeps/wordsize-64/iofsetpos.c: File removed.
3073 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
3074 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
3075 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
3076 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
3077 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
3078 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
3079 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
3080 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
3081 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
3082 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
3083 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
3084
3085 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3086 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3087 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
3088 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3089 [defined __arch64__ || defined __sparcv9]
3090 (__OFF_T_MATCHES_OFF64_T): New macro.
3091 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3092 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3093 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3094 (__OFF_T_MATCHES_OFF64_T): New macro.
3095
c5757acd
L
30962012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3097
3098 * stdlib/secure-getenv.c (__secure_getenv): Replace
3099 GLIBC_2_16 with GLIBC_2_17.
3100
3a31811e
L
31012012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3102
3103 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
3104 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3105
faa2bccb
DM
31062012-08-03 David S. Miller <davem@davemloft.net>
3107
3108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3109
85fe1997
JM
31102012-08-03 Joseph Myers <joseph@codesourcery.com>
3111
3112 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
3113 Remove.
3114 (__ASSUME_CORRECT_SI_PID): Likewise.
3115 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
3116 (__ASSUME_TMPFS_NAME): Likewise.
3117 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
3118 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
3119 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
3120 (HAVE_AUX_SECURE): Make definition unconditional.
3121 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
3122 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
3123
4f75b7a0
RM
31242012-08-03 Roland McGrath <roland@hack.frob.com>
3125
3126 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
3127 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
3128 * sysdeps/mach/hurd/eloop-threshold.h: New file.
3129 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3130 __eloop_threshold instead of SYMLOOP_MAX.
3131
3132 * sysdeps/generic/eloop-threshold.h: New file.
3133 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
3134 of MAXSYMLINKS.
3135 * elf/chroot_canon.c (chroot_canon): Likewise.
3136
7aab07e4
JM
31372012-08-03 Joseph Myers <joseph@codesourcery.com>
3138
3139 [BZ #13717]
3140 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3141 Change to 2.6.0 everywhere.
3142 * sysdeps/unix/sysv/linux/configure: Regenerated.
3143 * sysdeps/unix/sysv/linux/kernel-features.h
3144 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3145 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3146 kernel versions.
3147 (__ASSUME_POSIX_TIMERS): Define unconditionally.
3148 (__ASSUME_FUTEX_REQUEUE): Remove.
3149 (__ASSUME_STATFS64): Define unconditionally.
3150 (__ASSUME_AT_SECURE): Likewise.
3151 (__ASSUME_CORRECT_SI_PID): Likewise.
3152 (__ASSUME_TGKILL): Define without depending on kernel version for
3153 i386.
3154 (__ASSUME_UTIMES): Likewise.
3155 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3156 kernel version.
3157 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3158 (__ASSUME_TMPFS_NAME): Likewise.
3159 * README: Update reference to Linux kernel versions.
3160
b67e9372
MP
31612012-08-02 Marek Polacek <polacek@redhat.com>
3162
1f529f7d 3163 [BZ# 14150]
b67e9372
MP
3164 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
3165 libc_cv_asm_type_prefix with %.
3166 * configure: Regenerated.
d2441631
RM
3167 * include/libc-symbols.h: Remove comment about
3168 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
3169 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3170 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3171 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3172 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3173 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3174 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3175 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3176 * elf/tst-unique2mod1.c: Likewise.
3177 * elf/tst-unique1mod2.c: Likewise.
3178 * elf/tst-unique1mod1.c: Likewise.
3179 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3180 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3181 Replace ASM_TYPE_DIRECTIVE with .type.
3182 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3183 * sysdeps/i386/sysdep.h: Likewise.
3184 * sysdeps/x86_64/sysdep.h: Likewise.
3185 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
3186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3187 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 3188 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
3189 * sysdeps/powerpc/powerpc32/sysdep.h:
3190 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
3191 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3192 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3193 * sysdeps/i386/fpu/e_powf.S: Likewise.
3194 * sysdeps/i386/fpu/e_expl.S: Likewise.
3195 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3196 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3197 * sysdeps/i386/fpu/e_pow.S: Likewise.
3198 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3199 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3200 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3201 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3202 * sysdeps/i386/fpu/e_log2.S: Likewise.
3203 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3204 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3205 * sysdeps/i386/fpu/e_powl.S: Likewise.
3206 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3207 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3208 * sysdeps/i386/fpu/e_logl.S: Likewise.
3209 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3210 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3211 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3212 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3213 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3214 * sysdeps/i386/fpu/e_log.S: Likewise.
3215 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3216 * sysdeps/i386/fpu/e_logf.S: Likewise.
3217 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3218 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3219 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3220 * sysdeps/i386/fpu/e_log10.S: Likewise.
3221 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3222 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3223 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3224 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3225 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3226 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3227 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3228 * sysdeps/i386/i686/strtok.S: Likewise.
3229 * sysdeps/i386/i386-mcount.S: Likewise.
3230 * sysdeps/i386/strtok.S: Likewise.
3231 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3232 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3233 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3234 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3235 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3236 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3237 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3238 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3239 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3240 * sysdeps/x86_64/_mcount.S: Likewise.
3241 * sysdeps/x86_64/strtok.S: Likewise.
3242 * sysdeps/sh/_mcount.S: Likewise.
3243
2747bf9a
RM
32442012-08-01 Roland McGrath <roland@hack.frob.com>
3245
3246 * libio/iofopen.c: Include <fcntl.h>.
3247 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3248 (_IO_fopen64, fopen64): Define as aliases.
3249 * libio/iofopen64.c: Include <fcntl.h>.
3250 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3251 Conditionalize body on this.
3252 * sysdeps/wordsize-64/iofopen.c: File removed.
3253 * sysdeps/wordsize-64/iofopen64.c: File removed.
3254
3fb791b8
MP
32552012-08-01 Marek Polacek <polacek@redhat.com>
3256
3257 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3258 Use dlfcn directly instead of a variable.
3259 (binfmt-subdir): Do not define.
3260 (dlfcn): Likewise.
3261
a9f1039f
JM
32622012-08-01 Joseph Myers <joseph@codesourcery.com>
3263
23bddc06
JM
3264 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3265 Remove all definitions.
3266 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3267 <kernel-features.h>.
3268 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3269 (miss_F_GETOWN_EX): Remove all definitions.
3270 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3271 macro definition.
3272 [!__ASSUME_FCNTL64]: Remove conditional code.
3273 [__ASSUME_FCNTL64]: Make code unconditional.
3274 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3275 <kernel-features.h>.
3276 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3277 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3278 (lockf64) [__NR_fcntl64]: Make code unconditional.
3279 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3280
a9f1039f
JM
3281 * sysdeps/unix/sysv/linux/kernel-features.h
3282 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3283 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3284 Make code unconditional.
3285 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3286 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3288 [__NR_vfork]: Make code unconditional.
3289 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3290 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3292 [__NR_vfork]: Make code unconditional.
3293 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3294 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3295
09c0ee5f
RM
32962012-08-01 Roland McGrath <roland@hack.frob.com>
3297
48aec5b9
RM
3298 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3299 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3300
cd97c966
RM
3301 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3302 Define mkstemp64 as an alias.
3f55550c
RM
3303 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3304 Define mkstemps64 as an alias.
cd97c966
RM
3305 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3306 Define mkostemp64 as an alias.
b8625cfc
RM
3307 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3308 Define mkostemps64 as an alias.
cd97c966
RM
3309 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3310 Conditionalize body on this.
3311 * misc/mkostemp64.c: Likewise.
b8625cfc 3312 * misc/mkostemps64.c: Likewise.
3f55550c 3313 * misc/mkstemps64.c: Likewise.
cd97c966
RM
3314 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3315 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3316 * sysdeps/wordsize-64/mkostemp.c: File removed.
3317 * sysdeps/wordsize-64/mkstemp.c: File removed.
3318 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3319 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3320 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3321 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3322
09c0ee5f
RM
3323 [BZ #14138]
3324 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3325 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3326 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3327 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3328
3329 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3330 compat_symbol macros from <shlib-compat.h> rather than the underlying
3331 default_symbol_version and symbol_version macros, so that DEFAULT
3332 lines in shlib-versions are respected.
3333 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3334
7e66ee51
FW
33352012-08-01 Florian Weimer <fweimer@redhat.com>
3336
3337 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3338 Declare with warn_unused_result.
3339 (setgid, setregid, setegid, setresgid): Likewise.
3340 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3341 Likewise.
3342 * WUR-REPORT: Remove set*id functions.
3343
d2a54255
PT
33442012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3345
3346 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3347
7ecdb005
RM
33482012-07-31 Roland McGrath <roland@hack.frob.com>
3349
789bd351
RM
3350 * include/sys/socket.h (__libc_accept, __libc_accept4):
3351 Add attribute_hidden.
3352 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3353
40ce302d
RM
3354 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3355 use of PTR_MANGLE.
3356 * inet/getnetgrent_r.c (setup): Likewise.
3357
7ecdb005
RM
3358 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3359
e2eabb2c
DM
33602012-07-31 David S. Miller <davem@davemloft.net>
3361
3362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3363
d0419dbf
JM
33642012-07-31 Joseph Myers <joseph@codesourcery.com>
3365
3366 [BZ #13629]
3367 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3368 value between 1.0 and 2.0 and smaller part has absolute value less
3369 than 1.0.
3370 * math/s_clog10.c (__clog10): Likewise.
3371 * math/s_clog10f.c (__clog10f): Likewise.
3372 * math/s_clog10l.c (__clog10l): Likewise.
3373 * math/s_clogf.c (__clogf): Likewise.
3374 * math/s_clogl.c (__clogl): Likewise.
3375 * math/libm-test.inc (clog_test): Add more tests.
3376 (clog10_test): Likewise.
3377 * sysdeps/i386/fpu/libm-test-ulps: Update.
3378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3379
2bc13872
FW
33802012-07-31 Florian Weimer <fweimer@redhat.com>
3381
3382 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3383 Exit with zero in case no suitable GID is found, and write a
3384 message to standard error.
3385
bea9b193
RM
33862012-07-30 Roland McGrath <roland@hack.frob.com>
3387
3388 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3389 rather than to 1.
3390 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3391 (MAXPATHLEN): Removed.
3392 (NOGROUP, NODEV): New macros.
3393 (setbit, clrbit, isset, isclr): New macros.
3394 (howmany, roundup, powerof2): New macros.
3395 (DEV_BSIZE): New macro.
3396
3397 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3398 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3399
3400 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3401 definition on [!__NO_LONG_DOUBLE_MATH].
3402
3403 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3404 PTR_MANGLE and PTR_DEMANGLE.
3405
3406 * socket/accept4.c (accept4): Rename to __libc_accept4.
3407 Define accept4 as a weak alias.
3408
3409 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3410 on [_DIRENT_HAVE_D_TYPE].
3411 * io/ftw.c (ftw_dir): Likewise.
3412
3413 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3414
3415 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3416
3417 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3418 Use the BSD numbers rather than the arbitrary ones we had.
3419 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3420 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3421 (SIGXCPU, SIGXFSZ): New macros.
3422 (_NSIG): Now 32.
3423
3424 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3425 initializer on [_LIBC_REENTRANT].
3426
3427 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3428 definitions inside [_POSIX_MAPPED_FILES].
3429
3430 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3431
3432 * dirent/opendir.c: Include <fcntl.h>.
3433
3434 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3435 (__libc_getspecific): Likewise.
3436 (__libc_key_create): Likewise.
3437
3438 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3439 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3440 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3441 (tmpfile64): Define as alias.
3442 * sysdeps/wordsize-64/tmpfile.c: File removed.
3443 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3444 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3445 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3446
3447 * stdio-common/vfscanf.c: Include <stdbool.h>.
3448 * nss/makedb.c: Likewise.
3449 * stdio-common/_i18n_number.h: Likewise.
3450 * argp/argp-help.c: Likewise.
3451 * posix/wordexp.c: Likewise.
3452 * sysdeps/posix/spawni.c: Likewise.
3453 * nss/nss_files/files-initgroups.c: Likewise.
3454 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3455 * nss/nss_files/files-initgroups.c: Likewise.
3456 * nss/nss_db/db-netgrp.c: Likewise.
3457 * nss/nss_db/db-initgroups.c: Likewise.
3458 * io/fchmodat.c: Include <sys/stat.h>.
3459
3460 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3461 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3462
3463 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3464 [HAVE_MMAP].
3465
3466 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3467 Add multiple inclusion protection.
3468
e5abc686
DM
34692012-07-27 David S. Miller <davem@davemloft.net>
3470
3471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3472
815e6fa3
GB
34732012-07-27 Gary Benson <gbenson@redhat.com>
3474
3475 [BZ #14298]
3476 * elf/rtld.c: Include <stap-probe.h>.
3477 (dl_main): Added static probes "init_start" and "init_complete".
3478 * elf/dl-load.c: Include <stap-probe.h>.
3479 (lose): Take new parameter "nsid".
3480 Added static probe "map_failed".
3481 (_dl_map_object_from_fd): Pass namespace id to lose.
3482 Added static probe "map_start".
3483 (open_verify): Pass namespace id to lose.
3484 * elf/dl-open.c: Include <stap-probe.h>.
3485 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3486 and "reloc_complete".
3487 * elf/dl-close.c: Include <stap-probe.h>.
3488 (_dl_close_worker): Added static probes "unmap_start" and
3489 "unmap_complete".
3490 * elf/rtld-debugger-interface.txt: New file documenting the above.
3491
9f98c16c
RM
34922012-07-26 Roland McGrath <roland@hack.frob.com>
3493
3494 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3495 rather than a string variable.
3496 * sunrpc/rpc_main.c (h_output): Likewise.
3497 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3498
f3c22df3
PT
34992012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3500
3501 * inet/check_native.c: New file.
3502
3129cfc6
JM
35032012-07-26 Joseph Myers <joseph@codesourcery.com>
3504
da865e95
JM
3505 [BZ #13629]
3506 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3507 if larger part has absolute value 1.0.
3508 * math/s_clog10.c (__clog10): Likewise.
3509 * math/s_clog10f.c (__clog10f): Likewise.
3510 * math/s_clog10l.c (__clog10l): Likewise.
3511 * math/s_clogf.c (__clogf): Likewise.
3512 * math/s_clogl.c (__clogl): Likewise.
3513 * math/libm-test.inc (clog_test): Add more tests.
3514 (clog10_test): Likewise.
3515 * sysdeps/i386/fpu/libm-test-ulps: Update.
3516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3517
3129cfc6
JM
3518 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3519 (pltexit): Likewise.
3520 (La_regs): Likewise.
3521 (La_retval): Likewise.
3522 (int_retval): Likewise.
3523 Update #error for removed macros to refer only to definitions in
3524 tst-audit.h.
3525 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3526 macro.
3527 (pltexit): Likewise.
3528 (La_regs): Likewise.
3529 (La_retval): Likewise.
3530 (int_retval): Likewise.
3531 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3532 macro.
3533 (pltexit): Likewise.
3534 (La_regs): Likewise.
3535 (La_retval): Likewise.
3536 (int_retval): Likewise.
3537 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3538 macro.
3539 (pltexit): Likewise.
3540 (La_regs): Likewise.
3541 (La_retval): Likewise.
3542 (int_retval): Likewise.
3543 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3544 macro.
3545 (pltexit): Likewise.
3546 (La_regs): Likewise.
3547 (La_retval): Likewise.
3548 (int_retval): Likewise.
3549 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3550 macro.
3551 (pltexit): Likewise.
3552 (La_regs): Likewise.
3553 (La_retval): Likewise.
3554 (int_retval): Likewise.
3555 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3556 macro.
3557 (pltexit): Likewise.
3558 (La_regs): Likewise.
3559 (La_retval): Likewise.
3560 (int_retval): Likewise.
3561 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3562 macro definitions in tst-audit.h.
3563 * sysdeps/i386/tst-audit.h: New file.
3564 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3565 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3566 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3567 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3568 * sysdeps/sh/tst-audit.h: Likewise.
3569 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3570 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3571 * sysdeps/x86_64/tst-audit.h: Likewise.
3572
bfc07087
AJ
35732012-07-26 Andreas Jaeger <aj@suse.de>
3574
b1b2aaf8
AJ
3575 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3576 ptrace.
3577
3578 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3579 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3580 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3581 PTRACE_O_MASK.
3582 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3583 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3584 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3585
bfc07087
AJ
3586 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3587 value.
3588
3589 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3590 _sigsys.
3591 (si_call_addr, si_syscall, si_arch): Define new macro.
3592 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3593 _sigsys.
3594 (si_call_addr, si_syscall, si_arch): Define new marcro.
3595 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3596 _sigsys.
3597 (si_call_addr, si_syscall, si_arch): Define new macro.
3598 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3599 _sigsys.
3600 (si_call_addr, si_syscall, si_arch): Define new macro.
3601
89b4b02f
JM
36022012-07-25 Joseph Myers <joseph@codesourcery.com>
3603
3604 [BZ #13717]
3605 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3606 Change to 2.4.21 where previously 2.4.1.
3607 * sysdeps/unix/sysv/linux/configure: Regenerated.
3608 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3609 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3610 Linux kernel version.
3611 (__ASSUME_STD_AUXV): Remove.
3612 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3613 kernel version.
3614 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3615 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3616 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3617 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3618 (__ASSUME_NETLINK_SUPPORT): Likewise.
3619 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3620 (__no_netlink_support): Remove conditional definition.
3621 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3622 Remove.
3623 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3624 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3625 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3626 (if_nameindex_ioctl): Remove.
3627 (if_nameindex_netlink): Do not handle __no_netlink_support.
3628 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3629 code.
3630 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3631 Remove conditional code.
3632 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3633 code.
3634 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3635 unconditional.
3636 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3637 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3638 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3639 Remove.
3640 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3641 [!__ASSUME_STD_AUXV]: Remove conditional code.
3642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3643 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3644 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3646 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3647 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3648 code.
3649 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3651 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3652 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3653 conditional code.
3654 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3656 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3657 code.
3658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3659 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3660 conditional code.
3661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3662 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3663 code unconditional.
3664 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3665 conditional code.
3666 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3667 unconditional.
3668 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3669 conditional code.
3670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3671 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3672 unconditional.
3673 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3674 conditional code.
3675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3676 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3677 code unconditional.
3678 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3679 conditional code.
3680 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3681 unconditional.
3682 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3683 conditional code.
3684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3685 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3686 code unconditional.
3687 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3688 conditional code.
3689 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3690 unconditional.
3691 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3692 conditional code.
3693
842a39cd
AS
36942012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3695
3696 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3697 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3698 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3699 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3700 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3701 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3702 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3703 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3704 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3705 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3706 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3707 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3708 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3709 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3710 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3711 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3712 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3713 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3714 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3715 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3716 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3717 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3718 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3719
84b3fd84
FW
37202012-07-25 Florian Weimer <fweimer@redhat.com>
3721
3722 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
3723 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3724 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3725 Introduce __libc_secure_getenv.
0c7936d5
FW
3726 * stdlib/Versions (2.17): Add secure_getenv
3727 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3728 * stdlib/secure-getenv.c: Rename __secure_getenv to
3729 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3730 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
3731 * stdlib/tst-secure-getenv.c: New.
3732 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
3733 * manual/startup.texi (Environment Access): Document
3734 secure_getenv.
84b3fd84
FW
3735 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3736 __libc_secure_getenv.
3737 * inet/ruserpass.c (ruserpass): Likewise.
3738 * malloc/mtrace.c (mtrace): Likewise.
3739 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 3740 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
3741 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3742 * sysdeps/posix/tempname.c: Likewise. Evaluate
3743 HAVE_SECURE_GETENV.
3744 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 3745 __secure_getenv to __libc_secure_getenv.
84b3fd84 3746 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
3747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3748 Likewise.
3749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3750 Likewise.
3751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3753 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 3758
56e49b71
JM
37592012-07-25 Joseph Myers <joseph@codesourcery.com>
3760
3761 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3762 (struct La_i86_retval): Likewise.
3763 (struct La_x86_64_regs): Likewise.
3764 (struct La_x86_64_retval): Likewise.
3765 (struct La_x32_regs): Likewise.
3766 (struct La_x32_retval): Likewise.
3767 (struct La_ppc32_regs): Likewise.
3768 (struct La_ppc32_retval): Likewise.
3769 (struct La_ppc64_regs): Likewise.
3770 (struct La_ppc64_retval): Likewise.
3771 (struct La_sh_regs): Likewise.
3772 (struct La_sh_retval): Likewise.
3773 (struct La_s390_32_regs): Likewise.
3774 (struct La_s390_32_retval): Likewise.
3775 (struct La_s390_64_regs): Likewise.
3776 (struct La_s390_64_retval): Likewise.
3777 (struct La_sparc32_regs): Likewise.
3778 (struct La_sparc32_retval): Likewise.
3779 (struct La_sparc64_regs): Likewise.
3780 (struct La_sparc64_retval): Likewise.
3781 (struct audit_ifaces): Remove architecture-specific pltenter and
3782 pltexit members.
3783 * sysdeps/i386/ldsodefs.h: New file.
3784 * sysdeps/powerpc/ldsodefs.h: Likewise.
3785 * sysdeps/s390/ldsodefs.h: Likewise.
3786 * sysdeps/sh/ldsodefs.h: Likewise.
3787 * sysdeps/sparc/ldsodefs.h: Likewise.
3788 * sysdeps/x86_64/ldsodefs.h: Likewise.
3789
354691b7
MP
37902012-07-25 Marek Polacek <polacek@redhat.com>
3791
3792 [BZ #6808]
3793 * math/libm-test.inc (yn_test): Add another test.
3794 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3795 to ERANGE when the result is +-Inf.
3796 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3797 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3798 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3799 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3800
bf9e2071
JM
38012012-07-24 Joseph Myers <joseph@codesourcery.com>
3802
3803 * conform/data/time.h-data (NULL): Use macro-constant. Require
3804 equal to 0.
3805 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3806 clock_t.
3807 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3808
57633811
TS
38092012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3810
3811 * configure.in <sysdeps resolving>: Correct printing
3812 Implies_before.
3813 * configure: Regenerate.
3814
c23c33b0
TS
38152012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3816
3817 * math/w_ilogb.c: Include <limits.h>.
3818 * math/w_ilogbl.c: Likewise.
3819
b5982523
JM
38202012-07-20 Joseph Myers <joseph@codesourcery.com>
3821
3822 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3823 va_copy. Document allowing for unavailable va_copy only as
3824 pre-C99 compatibility.
3825 * manual/string.texi (Copying and Concatenation): Use va_copy
3826 instead of __va_copy in concat example.
3827
ac4ea442
PT
38282012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3829
3830 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3831 (__sendto): Use create_address_port. Initialize APORT and deallocate
3832 it if not null.
3833
f98eafbd
PT
3834 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3835 with O_NOLINK passed to __file_name_lookup.
3836
898c7aab
PT
3837 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3838 with O_NOLINK passed to __file_name_lookup.
3839
0ced335a
PT
3840 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3841 negative N or less than NGIDS.
3842
b3404dbd
PT
3843 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3844 type to string_t. Set ERANGE as errno and return it if NAME is not big
3845 enough. Use memcpy instead of strncpy.
3846
0f48659e
JM
38472012-07-20 Joseph Myers <joseph@codesourcery.com>
3848
3849 * elf/Makefile (check-data): Remove.
3850 (localplt.data): New vpath directive.
3851 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3852 instead of $(check-data).
3853 * scripts/data/localplt-generic.data: Move to ...
3854 * sysdeps/generic/localplt.data: ... here.
3855 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3856 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3857 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3859 ... here.
3860 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3862 ... here.
3863 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3865 ... here.
3866 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3868 ... here.
3869 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3871 ... here.
3872 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3874 ... here.
3875
d37cbdaa
AZ
38762012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3877
3878 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3879 PPC32 and PPC64 files.
3880 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3881 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3882
46f85fc2
AK
38832012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3884
3885 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3886 __makecontext_ret to ...
3887 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3888 ... here and call exit if uc_link is NULL. New file.
3889 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3890 __makecontext_ret.S.
3891 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3892 __makecontext_ret to ...
3893 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3894 ... here and call exit if uc_link is NULL. New file.
3895 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3896 __makecontext_ret.S.
3897
08f43f9b
AK
38982012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3899
3900 * elf/elf.h (R_390_IRELATIVE): New definition.
3901 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3902 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3903 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3904 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3905 (elf_machine_lazy_rel): Likewise.
3906 * sysdeps/s390/dl-irel.h: New file.
3907 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3908 * sysdeps/s390/s390-64/memset.S: New asm code.
3909 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3910 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3911 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3912 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3913 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3914 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3915 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3916 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3917 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3918 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3919 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3920 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3921 * sysdeps/s390/s390-32/memset.S: New asm code.
3922 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3923
3b05db33
MP
39242012-07-17 Marek Polacek <polacek@redhat.com>
3925
3926 [BZ #14349]
3927 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3928 * sysdeps/s390/s390-64/configure.in: Likewise.
3929 * sysdeps/sparc/configure.in: Likewise.
3930 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3931 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3932 * sysdeps/i386/configure.in: Likewise.
3933 * sysdeps/x86_64/configure.in: Likewise.
3934 * sysdeps/sh/configure.in: Likewise.
3935 * sysdeps/s390/s390-32/configure: Regenerated.
3936 * sysdeps/s390/s390-64/configure: Likewise.
3937 * sysdeps/x86_64/configure: Likewise.
3938 * sysdeps/sh/configure: Likewise.
3939 * sysdeps/powerpc/powerpc64/configure: Likewise.
3940 * sysdeps/powerpc/powerpc32/configure: Likewise.
3941 * sysdeps/sparc/configure: Likwise.
3942 * sysdeps/i386/configure: Likewise.
3943
a66877c6
MP
3944 * elf/dl-open.c: Comment fixes.
3945
cfc82fd8
JM
39462012-07-17 Joseph Myers <joseph@codesourcery.com>
3947
bd29910a
JM
3948 * Makefile [CXX] (check-data): Remove.
3949 [CXX] (c++-types.data): New vpath directive.
3950 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3951 vpath. Do not allow for C++ type data being missing.
3952 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3953 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3954 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3955 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3956 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3957 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3958 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3960 ... here.
3961 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3963 ... here.
3964 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3966 ... here.
3967 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3969 ... here.
3970 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3972 ... here.
3973 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3975 ... here.
3976 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3978 ... here.
3979 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3981
cfc82fd8
JM
3982 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3983 definitions to architecture-specific files.
3984 (TLS_IE): Likewise.
3985 (TLS_LD): Likewise.
3986 (TLS_GD): Likewise.
3987 * sysdeps/i386/tls-macros.h: New file.
3988 * sysdeps/powerpc/tls-macros.h: Likewise.
3989 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3990 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3991 * sysdeps/sh/tls-macros.h: Likewise.
3992 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3993 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3994 * sysdeps/x86_64/tls-macros.h: Likewise.
3995
f7db3170
TS
39962012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3997
07cbfc23
TS
3998 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3999 zero value for regular exit case.
4000
f7db3170
TS
4001 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4002 (__start_context): Preserve zero value for regular exit case.
4003
dc97c227
TS
40042012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4005 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4006
4007 * manual/setjmp.texi (setcontext): Clarify normal process
4008 termination when uc_link is the null pointer.
4009 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
4010 exit call.
4011
d0cd7d02
AS
40122012-07-16 Andreas Schwab <schwab@linux-m68k.org>
4013
4014 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
4015 preprocessor. Test for each exception mask separately.
4016
dd318934
AJ
40172012-07-16 Andreas Jaeger <aj@suse.de>
4018
4019 * po/ru.po: Update from translation team.
4020
8048311a
JM
40212012-07-15 Joseph Myers <joseph@codesourcery.com>
4022
4023 * conform/data/string.h-data (NULL): Use macro-constant. Require
4024 equal to 0.
4025 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4026 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4027 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
4028 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
4029 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4030
b637d46e
AJ
40312012-07-13 Andreas Jaeger <aj@suse.de>
4032
4033 * po/fr.po: Update from translation team.
4034
541428fe
MP
40352012-07-12 Marek Polacek <polacek@redhat.com>
4036
4037 [BZ #14173]
4038 * math/libm-test.inc (yn_test): Add test for BZ #14173.
4039 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
4040 loop condition.
4041
ec332e94
JM
40422012-07-12 Joseph Myers <joseph@codesourcery.com>
4043
4044 [BZ #13717]
4045 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4046 Change to 2.4.1 where previously 2.4.0.
4047 * sysdeps/unix/sysv/linux/configure: Regenerated.
4048 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
4049 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
4050 version.
4051 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
4052 (__ASSUME_AT_CLKTCK): Remove.
4053 (__ASSUME_AT_PAGESIZE): Likewise.
4054 (__ASSUME_AT_XID): Likewise.
4055 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
4056 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
4057 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
4058 unconditionally.
4059 (HAVE_AUX_PAGESIZE): Likewise.
4060 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
4061 [__ASSUME_AT_CLKTCK]: Make code unconditional.
4062 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
4063
7b6e99be
JB
40642012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
4065
4066 [BZ #14307]
4067 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
4068 the temporary buffer used to invoke __gethostbyname2_r,
4069 __gethostbyaddr_r and gethostbyname4_r to make room for struct
4070 host_data / struct gaih_addrtuple.
4071 * resolv/nss_dns/dns-host.c (global scope): Move definition of
4072 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
4073 header file nss/nsswitch.h.
4074 * nss/nsswitch.h (global scope): Add definition of implementation
4075 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
4076 resolv/nss_dns/dns-host.c).
4077
608404eb
AJ
40782012-07-11 Andreas Jaeger <aj@suse.de>
4079
4080 * po/fr.po: Update from translation team.
4081
71220aca
AJ
4082 * po/sv.po: Update from translation team
4083 * po/fr.po: Another update from translation team.
4084
28cfe843
AZ
40852012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4086
4087 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4088 for subnormals or multiply small sinh result by itself.
4089 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4091
6b90f981
DM
40922012-07-11 David S. Miller <davem@davemloft.net>
4093
4094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4095
c6825772
AS
40962012-07-10 Andreas Schwab <schwab@linux-m68k.org>
4097
4098 [BZ #14347]
4099 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
4100 (INTERNAL_MARK): Shift it here.
4101
7b8e0d49
MP
41022012-07-10 Marek Polacek <polacek@redhat.com>
4103
4104 [BZ #14151]
4105 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
4106 libc_cv_asm_global_directive with .globl.
4107 * configure: Regenerated.
4108 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
4109 with .globl.
4110 * sysdeps/i386/configure: Regenerated.
4111 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
4112 with .globl.
4113 * sysdeps/x86_64/configure: Regenerated.
4114 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
4115 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
4116 * elf/tst-unique2mod2.c: Likewise.
4117 * elf/tst-unique2mod1.c: Likewise.
4118 * elf/tst-unique1mod2.c: Likewise.
4119 * elf/tst-unique1mod1.c: Likewise.
4120 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4121 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4122 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4123 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4124 * sysdeps/mach/sysdep.h: Likewise.
4125 * sysdeps/i386/sysdep.h: Likewise.
4126 * sysdeps/i386/i386-mcount.S: Likewise.
4127 * sysdeps/x86_64/_mcount.S: Likewise.
4128 * sysdeps/x86_64/sysdep.h: Likewise.
4129 * sysdeps/sh/_mcount.S: Likewise.
4130 * sysdeps/sh/sysdep.h: Likewise.
4131 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4132 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
4133 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
4134 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4135 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4136 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4137 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4138 * locale/localeinfo.h: Likewise.
4139 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4140 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4141
6c55cda3
RM
41422012-07-09 Roland McGrath <roland@hack.frob.com>
4143
4144 [BZ #14336]
4145 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4146 system".
4147 * manual/message.texi (The Uniforum approach): Likewise.
4148 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4149 (glibc iconv Implementation): Likewise.
4150
638a572e
JM
41512012-07-09 Joseph Myers <joseph@codesourcery.com>
4152
4153 [BZ #14337]
4154 * math/s_clog.c (__clog): Avoid scaling a value down where that
4155 could result in underflow.
4156 * math/s_clog10.c (__clog10): Likewise.
4157 * math/s_clog10f.c (__clog10f): Likewise.
4158 * math/s_clog10l.c (__clog10l): Likewise.
4159 * math/s_clogf.c (__clogf): Likewise.
4160 * math/s_clogl.c (__clogl): Likewise.
4161 * math/libm-test.inc (clog_test): Add more tests.
4162 (clog10_test): Likewise.
4163 * sysdeps/i386/fpu/libm-test-ulps: Update.
4164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4165
261f4859
AS
41662012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4167
0abaf3e4
AS
4168 [BZ #14283]
4169 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4170 by 7 not 8 to examine high bit of fractional part.
4171
261f4859
AS
4172 [BZ #14042]
4173 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4174 for call to __mcount_internal.
4175 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4176 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4177 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4178
f17ac40d
JM
41792012-07-06 Joseph Myers <joseph@codesourcery.com>
4180
9ad63c23
JM
4181 [BZ #14154]
4182 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4183 approximation for values within 0x1p-13f of an odd multiple of
4184 pi/4.
4185 * math/libm-test.inc (tan_test): Do not allow spurious underflow
4186 exception. Add more tests.
4187 * sysdeps/i386/fpu/libm-test-ulps: Update.
4188
f17ac40d
JM
4189 [BZ #6778]
4190 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4191 inputs and return -1 for them. Do not check for +Inf in case not
4192 reachable for +Inf.
4193 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4194 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4195 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4196 and return -1 for them. Do not check for +Inf in case not
4197 reachable for +Inf.
4198 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4199 define.
4200 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4201 and return -1 for them. Do not check for +Inf in case not
4202 reachable for +Inf.
4203 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
4204 spurious underflow.
4205 * sysdeps/i386/fpu/libm-test-ulps: Update.
4206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4207
fb21f89b
MF
42082012-07-06 Mike Frysinger <vapier@gentoo.org>
4209
4210 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4211
cdfe2c5e
JM
42122012-07-05 Joseph Myers <joseph@codesourcery.com>
4213
4214 [BZ #14157]
4215 [BZ #14331]
4216 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4217 could result in spurious underflow. Scale down values above
4218 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4219 * math/s_csqrtf.c (__csqrtf): Likewise.
4220 * math/s_csqrtl.c (__csqrtl): Likewise.
4221 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
4222 spurious underflow.
4223 * sysdeps/i386/fpu/libm-test-ulps: Update.
4224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4225
70d35b67
AS
42262012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4227
704bc459
AS
4228 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4229 xopen-msg.sed.
4230 * catgets/xopen-msg.awk: New file.
4231 * catgets/xopen-msg.sed: Removed.
4232
70d35b67
AS
4233 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4234 po2text.sed.
4235 * intl/po2test.awk: New file.
4236 * intl/po2test.sed: Removed.
4237
ca61cf32
JM
42382012-07-04 Joseph Myers <joseph@codesourcery.com>
4239
4240 [BZ #14328]
4241 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4242 or multiply small sinh result by itself.
4243 * math/s_ctanf.c (__ctanf): Likewise.
4244 * math/s_ctanh.c (__ctanh): Likewise.
4245 * math/s_ctanhf.c (__ctanhf): Likewise.
4246 * math/s_ctanhl.c (__ctanhl): Likewise.
4247 * math/s_ctanl.c (__ctanl): Likewise.
4248 * math/libm-test.inc (ctan_test_tonearest): New function.
4249 (ctan_test_towardzero): Likewise.
4250 (ctan_test_downward): Likewise.
4251 (ctan_test_upward): Likewise.
4252 (ctanh_test_tonearest): Likewise.
4253 (ctanh_test_towardzero): Likewise.
4254 (ctanh_test_downward): Likewise.
4255 (ctanh_test_upward): Likewise.
4256 (main): Call these new functions.
4257 * sysdeps/i386/fpu/libm-test-ulps: Update.
4258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4259
ca48a46a
MF
42602012-07-03 Mike Frysinger <vapier@gentoo.org>
4261
4262 * .gitignore: Delete /ports entry.
4263
9d63d37d
AJ
42642012-07-03 Andreas Jaeger <aj@suse.de>
4265
4266 * po/bg.po: Update from translation team.
4267 * po/cs.po: Likewise.
4268 * po/de.po: Likewise.
4269 * po/hr.po: Likewise.
4270 * po/nl.pl: Likewise.
4271 * po/pl.po: Likewise.
4272 * po/vi.po: Likewise.
4273
370ca3d2
JM
42742012-07-03 Joseph Myers <joseph@codesourcery.com>
4275
95f5a9a8
JM
4276 * Makeconfig [!+link] (+link-before-libc): New variable.
4277 [!+link] (+link-after-libc): Likewise.
4278 [!+link] (+link-tests): Likewise.
4279 [!+link] (+link): Define in terms of $(+link-before-libc) and
4280 $(+link-after-libc).
4281 [!+link-static] (+link-static-before-libc): New variable.
4282 [!+link-static] (+link-static-after-libc): Likewise.
4283 [!+link-static] (+link-static-tests): Likewise.
4284 [!+link-static] (+link-static): Define in terms of
4285 $(+link-static-before-libc) and $(+link-static-after-libc).
4286 [build-shared] (link-libc-before-gnulib): New variable.
4287 [build-shared] (link-libc-tests): Likewise.
4288 [build-shared] (link-libc): Define in terms of
4289 $(link-libc-before-gnulib).
4290 [!build-shared] (link-libc-tests): New variable.
4291 (link-libc-static-tests): New variable.
4292 [!gnulib] (gnulib-arch): New variable.
4293 [!gnulib] (gnulib-tests): Likewise.
4294 [!gnulib] (static-gnulib-arch): Likewise.
4295 [!gnulib] (static-gnulib-tests): Likewise.
4296 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4297 Define with "=" instead of ":=".
4298 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4299 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4300 * Rules (binaries-all-notests): New variable.
4301 (binaries-all-tests): Likewise.
4302 (binaries-static-notests): Likewise.
4303 (binaries-static-tests): Likewise.
4304 (binaries-all): Define using $(binaries-all-notests) and
4305 $(binaries-all-tests).
4306 (binaries-static): Define using $(binaries-static-notests) and
4307 $(binaries-static-tests).
4308 (binaries-shared-tests): New variable.
4309 (binaries-shared-notests): Likewise.
4310 (binaries-shared): Remove variable.
4311 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4312 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4313 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4314 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4315 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4316 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4317 * elf/Makefile (sln-modules): New variable.
4318 (extra-objs): Add $(sln-modules:=.o).
4319 (ldconfig-modules): Add static-stubs.
4320 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4321 * elf/static-stubs.c: New file.
4322
7a845b2c
JM
4323 [BZ #14283]
4324 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4325 by 7 not 8 to examine high bit of fractional part. Use volatile
4326 variables when splitting into final array of floats if
4327 __FLT_EVAL_METHOD__ != 0.
4328 * math/libm-test.inc (cos_test): Add another test.
4329 (sin_test): Likewise.
4330 * sysdeps/i386/fpu/libm-test-ulps: Update.
4331
e2283f38
JM
4332 [BZ #14273]
4333 * math/libm-test.inc (cosh_test): Add more tests.
4334
370ca3d2
JM
4335 * version.h (RELEASE): Set to "development".
4336 (VERSION): Set to "2.16.90".
4337
ee9247c3
CD
43382012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4339
4340 * NEWS: Update copyright. Remove last-updated date.
4341 Mention math library bug fixes and timezone data changes.
4342 * README: Mention GNU/Hurd, x32, and HPPA support status.
4343
4648c381
TS
43442012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4345
4346 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4347
aac78a43
AJ
43482012-06-27 Andreas Jaeger <aj@suse.de>
4349
4350 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4351
ed3dbfad
AJ
43522012-06-25 Andreas Jaeger <aj@suse.de>
4353
4354 * sysdeps/s390/fpu/libm-test-ulps: Update.
4355
4d0ee855
AS
43562012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4357 Thomas Schwinge <thomas@codesourcery.com>
4358
4359 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4360 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4361 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4362 fanotify_mark.
4363
af1bce34
TS
43642012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4365
a9fa33ba
TS
4366 * sysdeps/mach/start.c: Remove file.
4367 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4368 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4369 * sysdeps/sh/init-first.c: Likewise.
4370
58f902b8
TS
4371 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4372 registers for frame unwinding purposes, add CFI directives.
4373 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4374 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4375 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4376 Likewise.
4377
1518f58b
TS
4378 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4379 __fortify_fail returning.
4380 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4381
db9b5059
TS
4382 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4383 sysdeps/sh/____longjmp_chk.S.
4384 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4385 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4386 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4387 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4388
967705fe
TS
4389 * sysdeps/sh/abort-instr.h: New file.
4390 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4391 process in case exit returns.
4392
a9def8c4
TS
4393 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4394 initialize the GOT register before use.
4395
2a649725
TS
4396 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4397 calculation of ARGC > 4.
4398
af1bce34
TS
4399 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4400 meaningful names to some local labels.
4401
d230f50a
KK
44022012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4403 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4404
4405 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4406 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4407 (__arch_compare_and_exchange_val_16_acq): Likewise.
4408 (__arch_compare_and_exchange_val_32_acq): Likewise.
4409 (atomic_exchange_and_add): Fix gUSA sequence.
4410 (atomic_add): Likewise.
4411 (atomic_add_negative): Likewise.
4412 (atomic_add_zero): Likewise.
4413 (atomic_bit_test_set): Likewise.
4414
0479b305
AS
44152012-06-22 Andreas Schwab <schwab@redhat.com>
4416
4417 [BZ #13579]
4418 * include/link.h (struct link_map): Add l_free_initfini.
4419 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4420 l_initfini.
4421 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4422 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4423 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4424 set.
4425
0e3933b9
CD
44262012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4427
4428 * configure.in: Use AC_LANG_SOURCE.
4429 * configure: Regenerate.
4430
4248b1b1
RM
44312012-06-22 Roland McGrath <roland@hack.frob.com>
4432
4433 * configure.in (libc_cv_localstatedir): New substituted variable.
4434 * configure: Regenerated.
4435 * config.make.in (localstatedir): New variable, substituted from
4436 libc_cv_localstatedir.
4437 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4438 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4439 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4440 * sysdeps/gnu/configure: Regenerated.
4441
006dd861
JL
44422012-06-21 Jeff Law <law@redhat.com>
4443
4444 [BZ #14277]
4445 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4446 free. Simplify list management for _LIBC case.
4447
79662d42
JM
44482012-06-21 Joseph Myers <joseph@codesourcery.com>
4449
b7abb4bf
JM
4450 [BZ #14273]
4451 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4452 Clear sign bit of 64-bit integer value before comparing against
4453 overflow value.
4454
79662d42
JM
4455 * sysdeps/mach/configure: Regenerated.
4456
1f150908
L
44572012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4458
4459 [BZ #14278]
4460 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4461
28363bbf
JL
44622012-06-21 Jeff Law <law@redhat.com>
4463
4464 [BZ #13882]
4465 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4466 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 4467 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
4468 * elf/dl-open.c (dl_open_worker): Likewise.
4469
09615db4
CD
44702012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4471
4472 * scripts/list-sources.sh: Scan PORTS for translations.
4473 * po/libc.pot: Regenerated.
4474
2174c6dd
AJ
44752012-06-21 Andreas Jaeger <aj@suse.de>
4476
4477 [BZ #12194]
4478 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4479 warning.
4480 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4481 * bits/byteswap-16.h (__bswap_16): Likewise.
4482 * bits/byteswap.h (__bswap_constant_16): Likewise.
4483
3ee947b1
L
44842012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4485
4486 [BZ #14117]
a2f34833
L
4487 * sysdeps/i386/fpu_control.h: Removed.
4488 * sysdeps/x86_64/fpu_control.h: Moved to ...
4489 * sysdeps/x86/fpu_control.h: Here.
4490
3ee947b1
L
4491 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4492 (_FPU_SETCW): Likewise.
4493
ed1825f8
L
44942012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4495
25f1282a
L
4496 [BZ #14117]
4497 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4498 * sysdeps/x86/fpu/bits/mathinline.h: This.
4499 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4500
ed1825f8
L
4501 [BZ #14050]
4502 [BZ #14117]
4503 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4504 functions if __x86_64__ is defined.
4505
36d54b74
CLT
45062012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4507
4508 * string/endian.h: Add !__ASSEMBLER__ condition for including
4509 conversion interfaces.
4510
10285c21
JM
45112012-06-15 Joseph Myers <joseph@codesourcery.com>
4512
4513 [BZ #14241]
4514 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4515 of ABS(x) in calculating zero to negative powers other than odd
4516 integers.
4517 * math/libm-test.inc (pow_test): Add more tests.
4518
06c5abbd
AJ
45192012-06-15 Andreas Jaeger <aj@suse.de>
4520
4521 * manual/contrib.texi (Contributors): Update entry of Liubov
4522 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4523 Machado Filho.
4524
a3aeac40
CH
45252012-06-15 Cyril Hrubis <metan@ucw.cz>
4526
4527 * string/string.h: Add __wur to GNU version of strerror_r.
4528
49bdf4c1
L
45292012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4530
4531 [BZ #14229]
4532 * string/Makefile (tests): Add tst-strtok_r.
4533 * string/tst-strtok_r.c: New file.
4534 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4535 RAX_LP/RDX_LP on SAVE_PTR.
4536
834f9b8d
RM
45372012-06-14 Roland McGrath <roland@hack.frob.com>
4538
4539 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4540
75fa1921
JM
45412012-06-14 Joseph Myers <joseph@codesourcery.com>
4542
4543 * libm_test.inc (csqrt_test): Allow more spurious underflow
4544 exceptions.
4545 (j0_test): Likewise.
4546 (j1_test): Likewise.
4547 (y0_test): Likewise.
4548 (y1_test): Likewise.
4549
771766df
CD
45502012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4551
4552 * po/Makefile (libc.pot): Use UTF-8 charset.
4553
ceb9e56b
PP
45542012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4555
4556 [BZ #14210]
4557 Suppress sign-conversion warning from FD_SET.
4558 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4559 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4560 not unsigned long int.
4561 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4562
ddb28975
L
45632012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4564
4565 [BZ #14050]
4566 [BZ #14117]
4567 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4568 __extern_always_inline instead of __extern_inline.
4569 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4570 (__signbit): Likewise.
4571 (__signbitl): Support C++ namespace.
4572 (lrintf): New inline function.
4573 (lrint): Likewise.
4574 (llrintf): Likewise.
4575 (llrint): Likewise.
4576 (fmaxf): Likewise.
4577 (fmax): Likewise.
4578 (fminf): Likewise.
4579 (fmin): Likewise.
4580 (rint): Likewise.
4581 (rintf): Likewise.
4582 (ceil): Likewise.
4583 (ceilf): Likewise.
4584 (floor): Likewise.
4585 (floorf): Likewise.
4586 (nearbyint): Likewise.
4587 (nearbyintf): Likewise.
4588
d7b4fb26
TS
45892012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4590
4591 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4592 non-default versions.
4593
eb55f5c2
RM
45942012-06-11 Roland McGrath <roland@hack.frob.com>
4595
4596 [BZ #14218]
4597 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4598
366af02c
TS
45992012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4600
99ff6e5c
TS
4601 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4602 (FE_UPWARD, FE_DOWNWARD): Don't define.
4603 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4604 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4605
366af02c
TS
4606 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4607 reading it.
4608 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4609 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4610
793ea851
KK
46112012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4612
4613 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4614 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4615 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4616 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4617
a728a38f
L
46182012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4619
4620 [BZ #14117]
c08010c7
L
4621 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4622 * sysdeps/i386/fpu/Implies: New file.
4623 * sysdeps/x86_64/fpu/Implies: Likewise.
4624 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4625 * sysdeps/x86/fpu/bits/fenv.h: This.
4626
a728a38f
L
4627 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4628 __SSE_MATH__.
4629
6e230d11
SP
46302012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4631
4632 [BZ #14134]
4633 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4634 character 0xffff that matches the last element of the
4635 conversion table.
4636
1b671feb
AZ
46372012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4638
4639 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4640 fmodl commit.
4641
6043738b
AZ
46422012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4643
4644 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4645 values higher than 25.6283.
4646
34ae0b32
AZ
46472012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4648
4649 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4650 subnormal exponent extraction and add some __builtin_expect.
4651 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4652 Fix for subnormal mantissa calculation.
4653
1214ec8f
MF
46542012-06-04 Mike Frysinger <vapier@gentoo.org>
4655
4656 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4657 cpu2 is -1 and errno is not ENOSYS.
4658
f3d1f93c
L
46592012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4660
4661 [BZ #14117]
0e4a3cd7
L
4662 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4663 * sysdeps/x86/bits/string.h: This.
4664 * sysdeps/x86_64/bits/string.h: Removed.
4665
6704c645
L
4666 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4667 if not compiling for x86-64, but compiling for >= i486.
4668
48495318
L
4669 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4670 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4671
14adcbfc
L
4672 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4673 New macro from Linux kernel 3.4.0.
4674 (FP_XSTATE_MAGIC2): Likewise.
4675 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4676 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4677 (struct _fpx_sw_bytes): New struct.
4678 (struct _xsave_hdr): Likewise.
4679 (struct _ymmh_state): Likewise.
4680 (struct _xstate): Likewise.
4681
68e408ab
L
4682 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4683 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4684 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4685 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4686 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4687 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4688
f3d1f93c
L
4689 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4690 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4691 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4692 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4693 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4694 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4695
d9dc34cd
TMQMF
46962012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4697
4698 [BZ #13743]
4699 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4700 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4701 (sysdep_headers): Include sys/platform/ppc.h.
4702 * sysdeps/powerpc/test-gettimebase.c: Test for
4703 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4704 * manual/Makefile (appendices): Include platform.texi.
4705 * manual/contrib.texi (Contributors): Update @node pointers.
4706 * manual/maint.texi (Maintenance): Likewise.
4707 (Platform): New node.
4708 * manual/platform.texi: New file. Document the new features.
4709
4af3879c
SP
47102012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4711 Jakub Jelinek <jakub@redhat.com>
4712
4713 [BZ #14188]
4714 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4715 where __builtin_expect is unavailable.
4716
2fd6ff13
DM
47172012-06-03 David S. Miller <davem@davemloft.net>
4718
4719 * stdlib/longlong.h: Updated from GCC.
4720
173f7220
AS
47212012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4722
4723 [BZ #14042]
4724 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4725 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4726 __mcount_internal.
4727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4728 (GLIBC_2.16): Likewise.
4729
f34a1c6f
L
47302012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4731
4732 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4733
88a4576f
JM
47342012-06-01 Joseph Myers <joseph@codesourcery.com>
4735
ea32bcdd
JM
4736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4737 (default-abi): New variable.
4738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4739 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4740 variable.
4741 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4742 Likewise.
4743 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4744 Likewise.
4745 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4746 Likewise.
4747
88a4576f
JM
4748 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4749 definition. Document in comment.
4750
402fe938
DM
47512012-06-01 David S. Miller <davem@davemloft.net>
4752
4753 * stdlib/longlong.h: Updated from GCC.
4754
3553723f
L
47552012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4756
4757 [BZ #14117]
3bd872c4
L
4758 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4759 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4760 sys/debugreg.h sys/io.h here.
4761 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4762 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4763 sys/io.h.
4764 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4765 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4766 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4767 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4768 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4769 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4770
3553723f
L
4771 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4772 Define only if __x86_64__ is defined.
4773
4842e4fe
JM
47742012-06-01 Joseph Myers <joseph@codesourcery.com>
4775
c5bfe3d5
JM
4776 [BZ #14048]
4777 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4778 Use int64_t for variable i.
4779 * math/libm-test.inc (fmod_test): Add more tests.
4780
4842e4fe
JM
4781 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4782 z computation is not scheduled after fetestexcept.
4783 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4784 Use math_force_eval instead of asm to ensure calculation scheduled
4785 before exception test.
4786 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4787 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4788
efb73488
AJ
47892012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4790
4791 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4792 computation is not scheduled after fetestexcept.
4793
29bcce7c
L
47942012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4795
4796 [BZ #14117]
4797 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4798 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4799
73a68f94
AZ
48002012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4801
4802 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4803 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4804
67b6df78
L
48052012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4806
edf2933a 4807 [BZ #14117]
ebc64a18
L
4808 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4809 <bits/wordsize.h>.
4810 (__WCHAR_MIN): Support __WORDSIZE == 64.
4811 (__WCHAR_MAX): Likewise.
4812
edf2933a
L
4813 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4814 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4815
57c6cf40
L
4816 [BZ #14183]
4817 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4818 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4819
67b6df78 4820 [BZ #14117]
8eb6281e
L
4821 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4822 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4823
aac639f4
L
4824 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4825 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4826
67b6df78
L
4827 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4828 Defined to 1 if __x86_64__ isn't defined.
4829 (_STAT_VER_LINUX_OLD): New.
4830 (st_atime): Remove duplicate.
4831 (st_mtime): Likewise.
4832 (st_ctime): Likewise.
4833
1c2cfe81
DM
48342012-05-31 David S. Miller <davem@davemloft.net>
4835
4836 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4837 entries.
4838
5be8418c
AS
48392012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4840
e7725326
AS
4841 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4842 gen-libm-test.pl.
4843
5be8418c
AS
4844 [BZ #14132]
4845 * elf/dl-reloc.c: Include <_itoa.h>.
4846 (_dl_reloc_bad_type): Remove use of INTUSE.
4847 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4848 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4849 * stdio-common/psiginfo.c (psiginfo): Likewise.
4850 * stdio-common/psignal.c (psignal): Likewise.
4851 * string/strsignal.c (strsignal): Likewise.
4852 * include/signal.h (_sys_siglist): Declare hidden proto.
4853 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4854 INTVARDEF with libc_hidden_data_def.
4855 * stdio-common/itoa-udigits.c: Likewise.
4856 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4857 (_itoa_lower_digits_internal): Remove declaration.
4858 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4859 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4860 (_sys_sigabbrev_internal): Remove aliases.
4861 (_sys_siglist): Define hidden alias.
4862
507352f1
MT
48632012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4864
4865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4866 bits/sysctl.h.
4867
42bbb1c3
L
48682012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4869
4870 [BZ #14117]
6bd784b6
L
4871 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4872 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4873
8bca20f0
L
4874 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4875 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4876 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4877 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4878 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4879 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4880
f9e890a9
L
4881 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4882 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4883 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4884
471101a1
L
4885 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4886 with __addr.
4887 (insw): Likewise.
4888 (insl): Likewise.
4889 (outsb): Likewise.
4890 (outsw): Likewise.
4891 (outsl): Likewise.
4892
6451c862
L
4893 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4894 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4895 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4896
a254b8c9
L
4897 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4898 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4899 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4900 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4901 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4902 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4903
b8dfdd92
L
4904 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4905 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4906
578cd270
L
4907 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4908 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4909
de662f5f
L
4910 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4911 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4912 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4913
25653439
L
4914 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4915 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4916 to ...
4917 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4918
6bad24a0
L
4919 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4920 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4921 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4922
42bbb1c3
L
4923 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4924 for x86-64.
4925 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4926
2d10d547
JM
49272012-05-31 Joseph Myers <joseph@codesourcery.com>
4928
4929 * math/math.h (M_El): Use two more decimal places.
4930 (M_LOG2El): Likewise.
4931 (M_LOG10El): Likewise.
4932 (M_LN2l): Likewise.
4933 (M_LN10l): Likewise.
4934 (M_PIl): Likewise.
4935 (M_PI_2l): Likewise.
4936 (M_PI_4l): Likewise.
4937 (M_1_PIl): Likewise.
4938 (M_2_PIl): Likewise.
4939 (M_2_SQRTPIl): Likewise.
4940 (M_SQRT2l): Likewise.
4941 (M_SQRT1_2l): Likewise.
4942
f230c29b
DM
49432012-05-31 David S. Miller <davem@davemloft.net>
4944
4945 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4946 values between float registers.
4947 * sysdeps/sparc/sparc64/memset.S: Likewise.
4948 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4949
fed806c3
MF
49502012-05-31 Mike Frysinger <vapier@gentoo.org>
4951
4952 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4953 -D_FORTIFY_SOURCE=1.
4954 (CPPFLAGS-tst-longjmp_chk.c): Define.
4955 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4956 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4957 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4958 CFLAGS-tst-wchar-h.c.
4959
30917259
MP
49602012-05-31 Marek Polacek <polacek@redhat.com>
4961
4962 [BZ #14132]
4963 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4964 __endmntent_internal): Remove declaration.
4965 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4966 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4967 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4968
1c58d5dc
DM
49692012-05-30 David S. Miller <davem@davemloft.net>
4970
4971 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4972 (___Q_simulate_exceptions): Use real FP ops rather than writing
4973 into the %fsr.
4974 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4975 Likewise.
4976
7dc00e0d
L
49772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4978
4979 [BZ #14117]
0bd53985
L
4980 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4981 * sysdeps/x86/bits/xtitypes.h: This.
4982
3a257e66
L
4983 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4984 * sysdeps/x86/bits/wordsize.h: This.
4985
62f62904
L
4986 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4987 * sysdeps/x86/bits/huge_vall.h: This.
4988
404fe9d9
L
4989 * sysdeps/i386/bits/select.h: Removed.
4990 * sysdeps/x86_64/bits/select.h: Renamed to ...
4991 * sysdeps/x86/bits/select.h: This.
4992
d48d0446
L
4993 * sysdeps/i386/bits/setjmp.h: Removed.
4994 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4995 * sysdeps/x86/bits/setjmp.h: This.
4996
7dc00e0d
L
4997 * sysdeps/i386/bits/mathdef.h: Removed.
4998 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4999 * sysdeps/x86/bits/mathdef.h: This.
5000
03277f8f
AS
50012012-05-30 Andreas Schwab <schwab@linux-m68k.org>
5002
5003 [BZ #14132]
5004 * include/sys/socket.h (__connect_internal)
5005 (__libc_sa_len_internal): Remove declaration.
5006 (__connect, __libc_sa_len): Declare hidden_proto.
5007 (SA_LEN): Remove use of INTUSE.
5008 * socket/connect.c: Add libc_hidden_def.
5009 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
5010 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
5011 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
5012 alias.
5013 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5014 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5015 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
5016 of adding _internal alias.
5017
13764867
L
50182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5019
5020 [BZ #14117]
6bd97696
L
5021 * sysdeps/i386/bits/link.h: Removed.
5022 * sysdeps/i386/bits/linkmap.h: Likewise.
5023 * sysdeps/x86_64/bits/link.h: Renamed to ...
5024 * sysdeps/x86/bits/link.h: This.
5025 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
5026 * sysdeps/x86/bits/linkmap.h: This.
5027
f726f0bb
L
5028 * sysdeps/i386/bits/endian.h: Removed.
5029 * sysdeps/x86_64/bits/endian.h: Renamed to ...
5030 * sysdeps/x86/bits/endian.h: This.
5031
13764867
L
5032 * sysdeps/i386/bits/byteswap.h: Removed.
5033 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5034 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
5035 * sysdeps/x86/bits/byteswap.h: This.
5036 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
5037 * sysdeps/x86/bits/byteswap-16.h: This.
5038 * sysdeps/i386/Implies: Add x86.
5039 * sysdeps/x86_64/Implies: Likewise.
5040
ae251b0b
DM
50412012-05-30 David S. Miller <davem@davemloft.net>
5042
5043 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
5044 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
5045 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5046 (FP_TRAPPING_EXCEPTIONS): Define.
5047 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5048 (FP_TRAPPING_EXCEPTIONS): Define.
5049 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
5050 subnormals only when inexact has been signalled or underflow
5051 exceptions are enabled.
5052 (_FP_PACK_CANONICAL): Likewise.
5053
d5c90867
L
50542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5055
5056 [BZ #14183]
5057 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
5058 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
5059
63f1549e
RH
50602012-05-30 Richard Henderson <rth@twiddle.net>
5061
8d8f2279
RH
5062 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
5063 with #ifndef NOT_IN_libc.
5064
63f1549e
RH
5065 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
5066 marked to avoid plt entry.
5067
0ab0291b
L
50682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5069
5070 [BZ #14112]
5071 * Makeconfig (default-abi): New macro.
5072 (abi-includes): Likewise.
5073 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
5074 $(abi-$(default-abi)-lib-soname) for soname if defined.
5075 ($(common-objpfx)gnu/lib-names.stmp): Generate from
5076 abi-variants.
5077 * Makefile (installed-stubs): Likewise.
5078 * include/stubs-biarch.h: Removed.
5079 * scripts/lib-names.awk: Only handle one library at a time.
5080 * scripts/soversions.awk: Remove WORDSIZE support.
5081 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
5082 entries.
5083 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
5084 Removed.
5085 (syscall-list-default-condition): Likewise.
5086 (syscall-list-default-condition): Likewise.
5087 (syscall-list-includes): Likewise.
5088 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
5089 syscall-list-* with abi-*. Handle undefined abi-variants.
5090 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
5091 * sysdeps/unix/sysv/linux/i386/Implies: New file.
5092 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
5093 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
5094 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
5095 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
5096 Removed.
5097 (syscall-list-32-options): Likewise.
5098 (syscall-list-32-condition): Likewise.
5099 (syscall-list-64-options): Likewise.
5100 (syscall-list-64-condition): Likewise.
5101 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
5102 macro.
5103 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
5104 Renamed to ...
5105 (abi-*): This.
5106 (abi-64-ld-soname): New macro.
5107 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
5108 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
5109 Renamed to ...
5110 (abi-*): This.
5111 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
5112 * sysdeps/x86_64/x32/shlib-versions: Likewise.
5113
4da0431d
JM
51142012-05-30 Joseph Myers <joseph@codesourcery.com>
5115
3a85279c
JM
5116 * sysdeps/unix/sysv/linux/kernel-features.h
5117 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
5118 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
5119 include <kernel-features.h>.
5120 [!__NR_ftruncate64]: Remove conditional code.
5121 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5122 [__NR_ftruncate64]: Make code unconditional.
5123 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5124 * sysdeps/unix/sysv/linux/truncate64.c: Do not
5125 include <kernel-features.h>.
5126 [!__NR_ftruncate64]: Remove conditional code.
5127 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5128 [__NR_ftruncate64]: Make code unconditional.
5129 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
5131 include <kernel-features.h>.
5132 [!__NR_ftruncate64]: Remove conditional code.
5133 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5134 [__NR_ftruncate64]: Make code unconditional.
5135 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5137 include <kernel-features.h>.
5138 [!__NR_ftruncate64]: Remove conditional code.
5139 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5140 [__NR_ftruncate64]: Make code unconditional.
5141 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5142
4da0431d
JM
5143 * configure.in (libc_cv_fpie): Weaken to a compile test using
5144 LIBC_TRY_CC_OPTION.
5145 * configure: Regenerated.
5146
11ef492c
AK
51472012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5148
5149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5153 Refreshed.
5154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5160 Refreshed.
5161
d66ef399
DM
51622012-05-27 David S. Miller <davem@davemloft.net>
5163
5164 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5165 (___Q_zero): New.
5166 (__Q_simulate_exceptions): Return void. Change to simulate
5167 exceptions by writing into the %fsr.
5168 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5169 (__Qp_handle_exceptions): Likewise.
5170 (numbers): Delete.
5171 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5172 __Qp_handle_exceptions.
5173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5174 __Qp_handle_exceptions.
5175 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5176 as unused and give dummy FP_RND_NEAREST initializer.
5177 (FP_INHIBIT_RESULTS): Define.
5178 (___Q_simulate_exceptions): Update declaration.
5179 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5180 formatting.
5181 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5182 as unused and give dummy FP_RND_NEAREST initializer.
5183 (__Qp_handle_exceptions): Update declaration.
5184 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5185 formatting.
5186
04fb54b5
TS
51872012-05-27 Thomas Schwinge <thomas@codesourcery.com>
5188
5189 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5190 the temporary FPU control word.
5191 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5192 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5193 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5194 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5195 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5196 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5197 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5198 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5199 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5200 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5201 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5202
3f99608f
KK
52032012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5204
5205 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5206 fields.
5207
65a4de4e
CLT
52082012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
5209
5210 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5211 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5212 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5213 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5214 Likewise.
5215 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5216 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5217 Likewise.
5218
15749d40
UD
52192012-05-27 Ulrich Drepper <drepper@gmail.com>
5220
5221 * po/h.po: Update from translation team.
5222
25dbcb27
AS
52232012-05-26 Andreas Schwab <schwab@linux-m68k.org>
5224
3d3f8e55
AS
5225 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5226
25dbcb27
AS
5227 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5228 handling of denormals.
5229 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5230 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5231 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5232 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5233 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5234 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5235 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5236 Likewise.
5237
7ad47a80 52382012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
5239
5240 [BZ #14152]
5241 * math/libm-test.inc (fma_test): Don't always expect underflow
5242 exception.
5243
9c6ea9fa
SP
52442012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5245
5246 [BZ #12416]
5247 * elf/tst-execstack.c: Include stackinfo.h.
5248 (do_test): Adjust test case to ensure that pthread_getattr_np
5249 behaviour remains the same after marking stack executable.
5250
a8239222
JM
52512012-05-25 Joseph Myers <joseph@codesourcery.com>
5252
5253 * sysdeps/unix/sysv/linux/kernel-features.h
5254 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5255 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5256 kernel-features.h.
5257 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5258 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5259 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5260 kernel-features.h.
5261 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5262 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5263
918b5606
L
52642012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5265
5266 * configure.in: Define the default includes to being none.
5267 * configure: Regenerated.
5268
3a097cc7
RM
52692012-05-25 Roland McGrath <roland@hack.frob.com>
5270
8422c9a5
RM
5271 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5272 * sysdeps/x86_64/setjmp.S: Likewise.
5273 * sysdeps/i386/bsd-setjmp.S: Likewise.
5274 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5275 * sysdeps/i386/setjmp.S: Likewise.
5276 * sysdeps/i386/__longjmp.S: Likewise.
5277 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5278 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5279
3a097cc7
RM
5280 * include/stap-probe.h: New file.
5281 * configure.in: Handle --enable-systemtap.
5282 * configure: Regenerated.
5283 * config.h.in (USE_STAP_PROBE): New #undef.
5284 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5285 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5286 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5287
21708942
JM
52882012-05-25 Joseph Myers <joseph@codesourcery.com>
5289
5290 [BZ #13717]
5291 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5292 to 2.4.0 where earlier.
5293 * sysdeps/unix/sysv/linux/configure: Regenerated.
5294 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5295 <kernel-features.h>.
5296 [__ASSUME_32BITUIDS]: Make code unconditional.
5297 [!__ASSUME_32BITUIDS]: Remove conditional code.
5298 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5299 <kernel-features.h>.
5300 [__ASSUME_32BITUIDS]: Make code unconditional.
5301 [!__ASSUME_32BITUIDS]: Remove conditional code.
5302 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5303 [__ASSUME_32BITUIDS]: Make code unconditional.
5304 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5305 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5306 <kernel-features.h>.
5307 [__ASSUME_32BITUIDS]: Make code unconditional.
5308 [!__ASSUME_32BITUIDS]: Remove conditional code.
5309 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5310 <kernel-features.h>.
5311 [__ASSUME_32BITUIDS]: Make code unconditional.
5312 [!__ASSUME_32BITUIDS]: Remove conditional code.
5313 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5314 <kernel-features.h>.
5315 [__ASSUME_32BITUIDS]: Make code unconditional.
5316 [!__ASSUME_32BITUIDS]: Remove conditional code.
5317 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5318 <kernel-features.h>.
5319 [__ASSUME_32BITUIDS]: Make code unconditional.
5320 [!__ASSUME_32BITUIDS]: Remove conditional code.
5321 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5322 <kernel-features.h>.
5323 [__ASSUME_32BITUIDS]: Make code unconditional.
5324 [!__ASSUME_32BITUIDS]: Remove conditional code.
5325 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5326 <kernel-features.h>.
5327 [__ASSUME_32BITUIDS]: Make code unconditional.
5328 [!__ASSUME_32BITUIDS]: Remove conditional code.
5329 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5330 <kernel-features.h>.
5331 [__ASSUME_32BITUIDS]: Make code unconditional.
5332 [!__ASSUME_32BITUIDS]: Remove conditional code.
5333 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5334 <kernel-features.h>.
5335 [__ASSUME_32BITUIDS]: Make code unconditional.
5336 [!__ASSUME_32BITUIDS]: Remove conditional code.
5337 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5338 <kernel-features.h>.
5339 [__ASSUME_32BITUIDS]: Make code unconditional.
5340 [!__ASSUME_32BITUIDS]: Remove conditional code.
5341 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5342 <kernel-features.h>.
5343 [__ASSUME_32BITUIDS]: Make code unconditional.
5344 [!__ASSUME_32BITUIDS]: Remove conditional code.
5345 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5346 <kernel-features.h>.
5347 [__NR_setresgid] (__setresgid): Do not declare.
5348 [__ASSUME_32BITUIDS]: Make code unconditional.
5349 [!__ASSUME_32BITUIDS]: Remove conditional code.
5350 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5351 <kernel-features.h>.
5352 [__NR_setresuid] (__setresuid): Do not declare.
5353 [__ASSUME_32BITUIDS]: Make code unconditional.
5354 [!__ASSUME_32BITUIDS]: Remove conditional code.
5355 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5356 <kernel-features.h>.
5357 [__ASSUME_32BITUIDS]: Make code unconditional.
5358 [!__ASSUME_32BITUIDS]: Remove conditional code.
5359 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5360 <kernel-features.h>.
5361 [__ASSUME_32BITUIDS]: Make code unconditional.
5362 [!__ASSUME_32BITUIDS]: Remove conditional code.
5363 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
5364 <kernel-features.h>.
5365 [__ASSUME_32BITUIDS]: Make code unconditional.
5366 [!__ASSUME_32BITUIDS]: Remove conditional code.
5367 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
5368 <kernel-features.h>.
5369 [__ASSUME_32BITUIDS]: Make code unconditional.
5370 [!__ASSUME_32BITUIDS]: Remove conditional code.
5371 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
5372 <kernel-features.h>.
5373 [__ASSUME_32BITUIDS]: Make code unconditional.
5374 [!__ASSUME_32BITUIDS]: Remove conditional code.
5375 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
5376 <kernel-features.h>.
5377 [__ASSUME_32BITUIDS]: Make code unconditional.
5378 [!__ASSUME_32BITUIDS]: Remove conditional code.
5379 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
5380 <kernel-features.h>.
5381 [__ASSUME_32BITUIDS]: Make code unconditional.
5382 [!__ASSUME_32BITUIDS]: Remove conditional code.
5383 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5384 <kernel-features.h>.
5385 [__ASSUME_32BITUIDS]: Make code unconditional.
5386 [!__ASSUME_32BITUIDS]: Remove conditional code.
5387 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5388 <kernel-features.h>.
5389 [__ASSUME_32BITUIDS]: Make code unconditional.
5390 [!__ASSUME_32BITUIDS]: Remove conditional code.
5391 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5392 <kernel-features.h>.
5393 [__ASSUME_32BITUIDS]: Make code unconditional.
5394 [!__ASSUME_32BITUIDS]: Remove conditional code.
5395 * sysdeps/unix/sysv/linux/kernel-features.h
5396 (__ASSUME_SETRESUID_SYSCALL): Remove.
5397 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5398 (__ASSUME_32BITUIDS): Likewise.
5399 (__ASSUME_LDT_WORKS): Likewise.
5400 (__ASSUME_O_DIRECTORY): Likewise.
5401 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5402 architecture but not kernel version.
5403 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5404 (__ASSUME_MMAP2_SYSCALL): Likewise.
5405 (__ASSUME_STAT64_SYSCALL): Likewise.
5406 (__ASSUME_IPC64): Likewise.
5407 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5408 <kernel-features.h>.
5409 [__ASSUME_32BITUIDS]: Make code unconditional.
5410 [!__ASSUME_32BITUIDS]: Remove conditional code.
5411 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5412 <kernel-features.h>.
5413 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5414 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5415 132096]: Remove conditional code.
5416 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5417 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5418 <kernel-features.h>.
5419 [__ASSUME_32BITUIDS]: Make code unconditional.
5420 [!__ASSUME_32BITUIDS]: Remove conditional code.
5421 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5422 <kernel-features.h>.
5423 [__ASSUME_32BITUIDS]: Make code unconditional.
5424 [!__ASSUME_32BITUIDS]: Remove conditional code.
5425 * sysdeps/unix/sysv/linux/setegid.c: Do not include
5426 <kernel-features.h>.
5427 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5428 unconditional.
5429 (__setresgid): Do not declare.
5430 [__ASSUME_32BITUIDS]: Make code unconditional.
5431 [!__ASSUME_32BITUIDS]: Remove conditional code.
5432 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5433 <kernel-features.h>.
5434 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5435 unconditional.
5436 (__setresuid): Do not declare.
5437 [__ASSUME_32BITUIDS]: Make code unconditional.
5438 [!__ASSUME_32BITUIDS]: Remove conditional code.
5439 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5440 <kernel-features.h>.
5441 [__ASSUME_32BITUIDS]: Make code unconditional.
5442 [!__ASSUME_32BITUIDS]: Remove conditional code.
5443 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5444 <kernel-features.h>.
5445 [__ASSUME_32BITUIDS]: Make code unconditional.
5446 [!__ASSUME_32BITUIDS]: Remove conditional code.
5447
a386f1cc
RH
54482012-05-25 Richard Henderson <rth@twiddle.net>
5449
5450 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5451 dl_hwcap to ifunc resolver.
5452 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5453 elf_ifunc_invoke.
5454 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5455 dl_hwcap to ifunc resolver.
5456 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5457
b6550497
JM
54582012-05-24 Joseph Myers <joseph@codesourcery.com>
5459
5460 [BZ #14153]
5461 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5462 for |x| <= 2**-26, not 2**-57.
5463 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5464 exception.
5465
b0bc23a1
JL
54662012-05-24 Jeff Law <law@redhat.com>
5467
5468 * stdio-common/Makefile (tests): Add bug25.
5469 * stdio-common/bug25.c: New test.
5470
347c92e9
L
54712012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5472
5473 [BZ #13576]
5474 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5475 multiple of MALLOC_ALIGNMENT in size.
5476 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5477
6bcc8b3f
JM
54782012-05-24 Joseph Myers <joseph@codesourcery.com>
5479
5480 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5481 Require >= 256.
5482 (FILENAME_MAX): Use macro-int-constant.
5483 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5484 (_IOFBF): Use macro-int-constant.
5485 (_IOLBF): Likewise.
5486 (_IONBF): Likewise.
5487 (SEEK_CUR): Likewise.
5488 (SEEK_END): Likewise.
5489 (SEEK_SET): Likewise.
5490 (TMP_MAX): Likewise.
5491 (EOF): Use macro-int-constant. Require < 0.
5492 (NULL): Use macro-constant. Require == 0.
5493 (stdin): Require type to be FILE *.
5494 (stdout): Likewise.
5495 (stderr): Likewise.
5496 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5497 macro-int-constant.
5498 (EXIT_SUCCESS): Likewise.
5499 (NULL): Use macro-constant. Require == 0.
5500 (RAND_MAX): Use macro-int-constant.
5501 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5502 [C99-based standards] (strtof): Require function.
5503 [C99-based standards] (strtold): Likewise.
5504 [C99-based standards] (strtoll): Likewise.
5505 [C99-based standards] (strtoull): Likewise.
5506 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5507 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5508 [ISO || ISO99 || ISO11] (math.h): Likewise.
5509 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5510 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5511 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5512
d18ea0c5
AS
55132012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5514
5515 [BZ #14132]
56d25bb8
AS
5516 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5517 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5518 * intl/dgettext.c (DCGETTEXT): Likewise.
5519 * intl/gettext.c (DCGETTEXT): Likewise.
5520 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5521 * posix/regex_internal.h (gettext): Likewise.
5522 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5523 Remove declaration.
5524 * include/argz.h (__argz_count_internal)
5525 (__argz_stringify_internal): Remove declaration.
5526 (__argz_count, __argz_stringify): Declare hidden proto.
5527 * intl/dcgettext.c: Remove use of INTDEF.
5528 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5529 * string/argz-stringify.c: Likewise.
5530 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5531 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5532 Declare hidden proto.
d18ea0c5
AS
5533 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5534 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5535 Declare hidden proto.
5536 * include/stdio.h (__asprintf_internal): Don't declare.
5537 (__asprintf): Don't define as macro. Declare hidden proto.
5538 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5539 (__fsetlocking): Declare hidden proto.
5540 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5541 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5542 hidden proto.
5543 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5544 (_IO_setlinebuf): Remove use of INTUSE.
5545 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5546 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5547 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5548 Remove declaration.
5549 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5550 (_IO_do_flush): Remove use of INTUSE.
5551 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5552 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5553 (_IO_adjust_column, _IO_least_wmarker)
5554 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5555 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5556 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5557 (_IO_default_doallocate, _IO_wdefault_doallocate)
5558 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5559 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5560 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5561 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5562 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5563 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5564 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5565 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5566 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5567 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5568 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5569 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5570 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5571 proto.
5572 (_IO_flush_all_internal, _IO_adjust_column_internal)
5573 (_IO_default_uflow_internal, _IO_default_finish_internal)
5574 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5575 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5576 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5577 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5578 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5579 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5580 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5581 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5582 (_IO_file_close_internal, _IO_file_close_it_internal)
5583 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5584 (_IO_file_init_internal, _IO_file_attach_internal)
5585 (_IO_file_fopen_internal, _IO_file_read_internal)
5586 (_IO_file_sync_internal, _IO_file_seek_internal)
5587 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5588 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5589 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5590 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5591 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5592 (_IO_list_all_internal, _IO_link_in_internal)
5593 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5594 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5595 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5596 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5597 (_IO_do_write_internal, _IO_padn_internal)
5598 (_IO_getline_info_internal, _IO_getline_internal)
5599 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5600 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5601 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5602 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5603 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5604 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5605 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5606 with libc_hidden_ver, remove use of INTUSE.
5607 * libio/genops.c: Likewise.
5608 * libio/freopen.c: Likewise.
5609 * libio/freopen64.c: Likewise.
5610 * libio/iofclose.c: Likewise.
5611 * libio/iofdopen.c: Likewise.
5612 * libio/iofflush.c: Likewise.
5613 * libio/iofflush_u.c: Likewise.
5614 * libio/iofgets.c: Likewise.
5615 * libio/iofgets_u.c: Likewise.
5616 * libio/iofopen.c: Likewise.
5617 * libio/iofopncook.c: Likewise.
5618 * libio/iofread.c: Likewise.
5619 * libio/iofread_u.c: Likewise.
5620 * libio/ioftell.c: Likewise.
5621 * libio/iofwrite.c: Likewise.
5622 * libio/iogetline.c: Likewise.
5623 * libio/iogets.c: Likewise.
5624 * libio/iogetwline.c: Likewise.
5625 * libio/iopadn.c: Likewise.
5626 * libio/iopopen.c: Likewise.
5627 * libio/ioseekoff.c: Likewise.
5628 * libio/ioseekpos.c: Likewise.
5629 * libio/iosetbuffer.c: Likewise.
5630 * libio/iosetvbuf.c: Likewise.
5631 * libio/ioungetc.c: Likewise.
5632 * libio/ioungetwc.c: Likewise.
5633 * libio/iovdprintf.c: Likewise.
5634 * libio/iovsprintf.c: Likewise.
5635 * libio/iovsscanf.c: Likewise.
5636 * libio/memstream.c: Likewise.
5637 * libio/obprintf.c: Likewise.
5638 * libio/oldfileops.c: Likewise.
5639 * libio/oldiofclose.c: Likewise.
5640 * libio/oldiofdopen.c: Likewise.
5641 * libio/oldiofopen.c: Likewise.
5642 * libio/oldiopopen.c: Likewise.
5643 * libio/oldstdfiles.c: Likewise.
5644 * libio/putc.c: Likewise.
5645 * libio/setbuf.c: Likewise.
5646 * libio/setlinebuf.c: Likewise.
5647 * libio/stdfiles.c: Likewise.
5648 * libio/strops.c: Likewise.
5649 * libio/vasprintf.c: Likewise.
5650 * libio/vscanf.c: Likewise.
5651 * libio/vsnprintf.c: Likewise.
5652 * libio/vswprintf.c: Likewise.
5653 * libio/wfiledoalloc.c: Likewise.
5654 * libio/wfileops.c: Likewise.
5655 * libio/wgenops.c: Likewise.
5656 * libio/wmemstream.c: Likewise.
5657 * libio/wstrops.c: Likewise.
5658 * libio/__fpurge.c: Likewise.
5659 * libio/__fsetlocking.c: Likewise.
5660 * assert/assert.c: Likewise.
5661 * debug/fgets_chk.c: Likewise.
5662 * debug/fgets_u_chk.c: Likewise.
5663 * debug/fread_chk.c: Likewise.
5664 * debug/fread_u_chk.c: Likewise.
5665 * debug/gets_chk.c: Likewise.
5666 * debug/obprintf_chk.c: Likewise.
5667 * debug/vasprintf_chk.c: Likewise.
5668 * debug/vdprintf_chk.c: Likewise.
5669 * debug/vsnprintf_chk.c: Likewise.
5670 * debug/vsprintf_chk.c: Likewise.
5671 * malloc/mtrace.c: Likewise.
5672 * misc/error.c: Likewise.
5673 * misc/syslog.c: Likewise.
5674 * stdio-common/asprintf.c: Likewise.
5675 * stdio-common/fxprintf.c: Likewise.
5676 * stdio-common/getw.c: Likewise.
5677 * stdio-common/isoc99_fscanf.c: Likewise.
5678 * stdio-common/isoc99_scanf.c: Likewise.
5679 * stdio-common/isoc99_vfscanf.c: Likewise.
5680 * stdio-common/isoc99_vscanf.c: Likewise.
5681 * stdio-common/isoc99_vsscanf.c: Likewise.
5682 * stdio-common/printf-prs.c: Likewise.
5683 * stdio-common/printf_fp.c: Likewise.
5684 * stdio-common/printf_fphex.c: Likewise.
5685 * stdio-common/printf_size.c: Likewise.
5686 * stdio-common/putw.c: Likewise.
5687 * stdio-common/scanf.c: Likewise.
5688 * stdio-common/sprintf.c: Likewise.
5689 * stdio-common/tmpfile.c: Likewise.
5690 * stdio-common/vfprintf.c: Likewise.
5691 * stdio-common/vfscanf.c: Likewise.
5692 * stdlib/strfmon_l.c: Likewise.
5693 * sunrpc/openchild.c: Likewise.
5694 * sunrpc/xdr_stdio.c: Likewise.
5695 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5696 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5697
d6c33fda
RM
56982012-05-24 Roland McGrath <roland@hack.frob.com>
5699
c1487492
RM
5700 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5701
5702 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5703 in the third column, to generate for the shared library an IFUNC
5704 that uses _dl_vdso_vsym.
5705 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5706 * Makeconfig (object-suffixes-noshared): New variable.
5707
5708 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5709 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5710 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5711 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5712
d6c33fda
RM
5713 [BZ #14132]
5714 * include/sys/time.h (__gettimeofday): Remove macro.
5715 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5716 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5717 Remove INTDEF.
5718 (__gettimeofday): Add libc_hidden_def.
5719 (gettimeofday): Add libc_hidden_weak.
5720 * sysdeps/mach/gettimeofday.c: Likewise.
5721 * sysdeps/posix/gettimeofday.c: Likewise.
5722 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5723 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5724 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5725 (__gettimeofday_internal): Remove strong_alias.
5726 (__gettimeofday): Add libc_hidden_def.
5727 (gettimeofday): Add libc_hidden_weak.
5728 * sysdeps/unix/syscalls.list (gettimeofday):
5729 Remove __gettimeofday_internal alias.
5730
b5a2bbe6
L
57312012-05-24 Daniel Jacobowitz <drow@false.org>
5732 H.J. Lu <hongjiu.lu@intel.com>
5733
5734 [BZ #12495]
5735 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5736 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5737 (largebin_index_32_big): New.
5738 (largebin_index): Use it for 16-byte alignment.
5739 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5740 correction with front_misalign.
5741
cfba4fda
L
57422012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5743
7f907421
L
5744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5746 Likewise.
5747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5748 Likewise.
5749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5750 Likewise.
5751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5752 Likewise.
5753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5754 Likewise.
5755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5756 Likewise.
5757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5758 Likewise.
5759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5760 Likewise.
5761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5762 Likewise.
5763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5764 Likewise.
5765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5766 Likewise.
5767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5768 Likewise.
5769
cfba4fda
L
5770 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5771 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5772
80bad0cc
JM
57732012-05-24 Joseph Myers <joseph@codesourcery.com>
5774
7a25eb06
JM
5775 [BZ #10846]
5776 [BZ #14036]
5777 * math/libm-test.inc (exp_test): Add test from bug 14036.
5778 (pow_test): Add test from bug 10846.
5779
795405f9
JM
5780 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5781 and other flags.
5782 (special_function): Do not include flags in test name.
5783 (parse_args): Likewise.
5784 * sysdeps/i386/fpu/libm-test-ulps: Update.
5785 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5786 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5787 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5789
80bad0cc
JM
5790 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5791 exceptions.
5792 * math/libm-test.inc ("Philosophy"): Update comment about
5793 exception testing.
5794 (UNDERFLOW_EXCEPTION): New macro.
5795 (UNDERFLOW_EXCEPTION_OK): Likewise.
5796 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5797 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5798 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5799 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5800 (INVALID_EXCEPTION_OK): Update value.
5801 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5802 (OVERFLOW_EXCEPTION_OK): Likewise.
5803 (IGNORE_ZERO_INF_SIGN): Likewise.
5804 (test_exceptions): Handle underflow exceptions.
5805 (acos_test): Update for underflow exception expectations.
5806 (cexp_test): Likewise.
5807 (clog_test): Likewise.
5808 (clog10_test): Likewise.
5809 (csqrt_test): Likewise.
5810 (ctan_test): Likewise.
5811 (ctanh_test): Likewise.
5812 (exp_test): Likewise.
5813 (exp10_test): Likewise.
5814 (exp2_test): Likewise.
5815 (expm1_test): Likewise.
5816 (fma_test): Likewise.
5817 (j0_test): Likewise.
5818 (jn_test): Likewise.
5819 (nexttoward_test): Likewise.
5820 (pow_test): Likewise.
5821 (scalbn_test): Likewise.
5822 (scalbln_test): Likewise.
5823 (tan_test): Likewise.
5824 (y1_test): Likewise.
5825 * sysdeps/i386/fpu/libm-test-ulps: Update.
5826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5827
9e0e3d0b
DM
58282012-05-23 David S. Miller <davem@davemloft.net>
5829
5830 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5831 (__libc_sigaction): Remove unused local variables.
5832
ccd0a08f
L
58332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5834
5835 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5836
62bdf9a6
PE
58372012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5838
f8591f80
PE
5839 mktime: avoid signed integer overflow
5840 * time/mktime.c (__mktime_internal): Do not mishandle the case
5841 where diff == INT_MIN.
5842
94c7d826
PE
5843 mktime: simplify computation of average
5844 * time/mktime.c (ranged_convert): Use new time_t_avg function
5845 instead of rolling our own (probably-slower) code.
5846
ce73d683
PE
5847 mktime: do not assume signed right shift propagates sign bit
5848 * time/mktime.c (isdst_differ): New static function.
5849 (__mktime_internal): No need to normalize tm_isdst now.
5850 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5851 tm_isdst values.
5852
72a22e59
PE
5853 mktime: merge another wrapv change from gnulib
5854 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5855 from some compilers.
5856
68605433
PE
5857 mktime: remove incorrect attempt at unusual arithmetics
5858 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5859 The code didn't really work on such machines anyway.
5860 (TYPE_MINIMUM): Assume two's complement.
5861 (twos_complement_arithmetic): Verify that long_int and time_t
5862 are two's complement (or unsigned, in the latter case).
5863
03cf7fe3
PE
5864 mktime: check signed shifts on long_int and time_t, too
5865 * time/mktime.c (SHR): Check that shifts work as desired
5866 on the types long_int and time_t too, as SHR is used on
5867 such types.
5868
f04dfbc2
PE
5869 mktime: do not assume 'long' is wide enough
5870 * time/mktime.c (verify): Move decl up.
5871 (long_int): New type.
5872 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5873 to remove assumption in the code that 'long' is wide enough to
5874 store year values. This assumption is not true on x32 and on
5875 some non-glibc platforms.
5876
62bdf9a6
PE
5877 mktime: merge wrapv change from gnulib
5878 * time/mktime.c (WRAPV): New macro.
5879 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5880 (guess_time_tm, __mktime_internal): Do not assume that signed
5881 integer overflow wraps around; modern compilers generate code
5882 where this assumption is no longer valid.
5883
5e292e4f
L
58842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5885
5886 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5887 Replace "jmp L(pseudo_end)" with "ret".
5888 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5889 Likewise.
5890
8caf8c87
AJ
58912012-05-23 Andreas Jaeger <aj@suse.de>
5892
5893 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5894 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5895
1a09dc56
AJ
58962012-05-23 Andreas Jaeger <aj@suse.de>
5897 Maximilian Attems <max@stro.at>
5898
5899 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5900 New macros.
5901
1c87aba0
L
59022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5903
5904 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5905 code so that pseudo_end is just ret and the stack pointer is
5906 correct also for static library in error case.
5907
40e45bd5
JM
59082012-05-23 Joseph Myers <joseph@codesourcery.com>
5909
c2670533
JM
5910 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5911 move to syscalls.list.
5912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5916
40e45bd5
JM
5917 * manual/install.texi (Running make install): Do not mention Linux
5918 kernel version for which pt_chown is not needed.
5919 (Linux): Do not mention problems with nscd with 2.0 kernels.
5920 * INSTALL: Regenerated.
5921
be08eda5
AJ
59222012-05-23 Andreas Jaeger <aj@suse.de>
5923
5924 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5925 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5926 macro.
5927 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5928 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5929 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5930 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5931 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5932 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5933 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5934 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5935 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5936 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5937 * sysdeps/unix/sysv/linux/bits/in.h
5938 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5939
a6a056bb
RM
59402012-05-22 Roland McGrath <roland@hack.frob.com>
5941
5942 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5943 (PREPARE_VERSION): Just use assert instead, it will be elided
5944 under [NDEBUG] anyway.
5945
c9009328
L
59462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5947
5948 * sysdeps/unix/sysv/linux/Makefile: Include
5949 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5950 (sysdep_routines): Remove sysctl.
c9009328
L
5951 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5952 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5953 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5954 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5955 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5956
73338355
AJ
59572012-05-22 Andreas Jaeger <aj@suse.de>
5958
5959 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5960 that pseudo_end is just ret and the stack pointer is correct also
5961 for static library in error case.
5962
d44638b0
PP
59632012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5964
5965 [BZ #14122]
5966 * nss/nsswitch.c (defconfig_entries): New variable.
5967 (__nss_database_lookup): Don't leak defconfig entries.
5968 (nss_parse_service_list): Don't leak on error paths.
5969 (free_database_entries): New function.
5970 (free_defconfig): New function.
5971 (free_mem): Move common code to free_database_entries.
5972
31a39bd8
L
59732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5974
da0331a8
L
5975 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5976 Add arch_prctl.
5977 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5978
31a39bd8
L
5979 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5980 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5981 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5982 New macro.
5983 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5984 (INTERNAL_SYSCALL_TYPES): Likewise.
5985 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5986 (LOAD_REGS_TYPES_[1-6]): Likewise.
5987 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5988 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5989
45470df3
AZ
59902012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5991
5992 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5993 copysignl for GLIBC_2_0.
5994 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5995 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5996 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5997 logbl for GLIBC_2_0.
5998 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5999 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6000
98a61bcb
L
60012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6002
a4f6e481
L
6003 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
6004 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6005
f63d5db6
L
6006 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6007 Use "neg %eax".
6008
98a61bcb
L
6009 * time/mktime.c: Update copyright years.
6010
95770f14
PE
60112012-05-22 Paul Eggert <eggert@cs.ucla.edu>
6012
6226efbd
PE
6013 mktime: merge comment-quoting-style change from gnulib
6014 * time/mktime.c: Quote 'like this' in comments.
6015 The GNU coding standards suggest that we no longer quote `like this',
6016 as "`" and "'" are typically rendered asymmetrically nowadays.
6017 The typical gnulib style is to quote 'like this' when quoting
6018 code, and "like this" when quoting English.
6019
b99e4f78
PE
6020 * time/mktime.c (compile-command): Add "-I.".
6021
643e01e6
PE
6022 mktime: merge mktime-internal.h change from gnulib
6023 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
6024
2554247d
PE
6025 mktime: merge time_r change from gnulib
6026 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
6027
826dd0ab
PE
6028 mktime: merge DEBUG change from gnulib
6029 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
6030 case system <time.h> has a #define.
6031
bd83aabe
PE
6032 mktime: merge <sys/types.h> change from gnulib
6033 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
6034 since <time.t> is now guaranteed to define time_t.
6035
95770f14
PE
6036 mktime: merge HAVE_CONFIG_H change from gnulib
6037 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
6038
5e1a27a9
L
60392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6040
0e44a77e
L
6041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6042 Use "neg %eax".
6043
5e1a27a9
L
6044 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
6045 __rlim_t cast.
6046 (struct rusage): Use anonymous union to pad each field to
6047 __syscall_slong_t.
6048
46259bec
DM
60492012-05-21 David S. Miller <davem@davemloft.net>
6050
6051 * Makefules (o-iterator): Remove .s cases.
6052 (compile-command.s): Delete.
6053 (COMPILE.s): Delete.
6054 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
6055
59f0c22e
JM
60562012-05-21 Joseph Myers <joseph@codesourcery.com>
6057
6058 * configure.in (libc_cv_predef_stack_protector): Only consider
6059 "foobar" and "__stack_chk_fail" lines in libc_undefs.
6060 * configure: Regenerated.
6061
20c07380
L
60622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6063
bbb3154b
L
6064 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6065 New macro. Use R*LP on int and pointer.
6066 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
6067 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
6068 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
6069 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
6070
20c07380
L
6071 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
6072 [__WORDSIZE_TIME64_COMPAT32] instead of
6073 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
6074 (struct utmp): Likewise.
6075 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
6076 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
6077 Renamed to ...
6078 (__WORDSIZE_TIME64_COMPAT32): This.
6079 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6080 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6081 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6082 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6083 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
6084 (__WORDSIZE_TIME64_COMPAT32): New macro.
6085
d8d1017e
AJ
60862012-05-21 Andreas Jaeger <aj@suse.de>
6087
6088 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
6089 only if [SHARED]. Add prototype for __wcschr_ia32.
6090
6c7fb145
RM
60912012-05-21 Roland McGrath <roland@hack.frob.com>
6092
6093 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
6094 of %rbp unmolested in the jmp_buf while mangling the low bits.
6095 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6096 unmolested high bits of %rbp while demangling the low bits.
6097 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6098
66274218
AJ
60992012-05-21 Andreas Jaeger <aj@suse.de>
6100
07c58f8f
AJ
6101 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
6102 * sunrpc/svc_simple.c: Use it for registerrpc.
6103 * sunrpc/xcrypt.c: Use it for passwd2des.
6104
66274218
AJ
6105 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
6106
61f65140
L
61072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6108
6109 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
6110 Don't define if [__SYSCALL_WORDSIZE != 32].
6111 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
6112 New macro.
6113
5fefb436
AJ
61142012-05-21 Bruno Haible <bruno@clisp.org>
6115 Andreas Jaeger <aj@suse.de>
6116
6117 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
6118 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6119 inptr and inend for must_buffer_ch.
6120 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
6121 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
6122 * stdio-common/Makefile (tests): Remove bug15.
6123 (bug15-ENV): Remove macro.
6124 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
6125 anymore.
6126
d8e272ab
AJ
61272012-05-19 Andreas Jaeger <aj@suse.de>
6128 Roland McGrath <roland@hack.frob.com>
6129
6130 * manual/contrib.texi: Completely rewritten. It contains now an
6131 alphabetical list of contributors and their contributions.
6132
4a56a162
RH
61332012-05-21 Richard Henderson <rth@twiddle.net>
6134
6135 * misc/getauxval.c (__getauxval): Use unsigned long int.
6136 * misc/sys/auxv.h: Include <sys/cdefs.h>.
6137 (getauxval): Use unsigned long int.
6138
d024d23c
L
61392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6140
6141 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6142
cbc00a03
RM
61432012-05-21 Roland McGrath <roland@hack.frob.com>
6144
6145 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6146 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6147 __alignof__ (long double).
6148
478143fa
AZ
61492012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6150
6151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6152
c7683a6d
RH
61532012-05-20 Richard Henderson <rth@twiddle.net>
6154
6155 * misc/getauxval.c: New file.
6156 * misc/sys/auxv.h: New file.
6157 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6158 (routines): Add getauxval.
6159 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6160 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6161 * elf/dl-sysdep.c (_dl_auxv): Remove.
6162 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6163 * elf/dl-support.c (_dl_auxv): New variable.
6164 (_dl_aux_init): Initialize it.
6165 * manual/startup.texi (Auxiliary Vector): New node.
6166 * sysdeps/generic/bits/hwcap.h: New file.
6167 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6168 * sysdeps/powerpc/sysdep.h: ... here. Include it.
6169 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6170 * sysdeps/sparc/sysdep.h: ... here. Include it.
6171 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6172 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
6173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6174 Update.
c7683a6d
RH
6175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6178 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6183
a6f1845d
AZ
61842012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6185
6186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6187
cbcbe830
DM
61882012-05-19 David S. Miller <davem@davemloft.net>
6189
6190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6191
e0b16cc2
JM
61922012-05-19 Joseph Myers <joseph@codesourcery.com>
6193
6194 [BZ #14123]
6195 * math/s_ccosh.c: Include <float.h>
6196 (__ccosh): Avoid internal overflow calculating sinh and cosh
6197 values before multiplying by sin and cos values.
6198 * math/s_ccoshf.c: Likewise.
6199 * math/s_ccoshl.c: Likewise.
6200 * math/s_csin.c: Likewise.
6201 * math/s_csinf.c: Likewise.
6202 * math/s_csinl.c: Likewise.
6203 * math/s_csinh.c: Likewise.
6204 * math/s_csinhf.c: Likewise.
6205 * math/s_csinhl.c: Likewise.
6206 * math/libm-test.inc (ccos_test): Add more tests.
6207 (ccosh_test): Likewise.
6208 (csin_test): Likewise.
6209 (csinh_test): Likewise.
6210 * sysdeps/i386/fpu/libm-test-ulps: Update.
6211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6212
6ad13e08
L
62132012-05-19 H.J. Lu <hongjiu.lu@intel.com>
6214
f66f0ce8
L
6215 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6216 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6217
6ad13e08
L
6218 * sysdeps/x86_64/x32/_itoa.h: Add comment.
6219
b1d072a7
JM
62202012-05-19 Joseph Myers <joseph@codesourcery.com>
6221
6222 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6223 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6224 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6225 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6226 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6227 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6228 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6229 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6230 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6231 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6232 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6233 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6234 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6235 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6236 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6237 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6238 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6239 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6240 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6241 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6242 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6243 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6244 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6245 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6246 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6247 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6248 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6249 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6250 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6251 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6252 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6253
9eae47cb
AJ
62542012-05-18 Andreas Jaeger <aj@suse.de>
6255
6256 * csu/.gitignore: Delete.
6257
bb07f69f
L
62582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6259
6260 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6261 (timex): Use __syscall_slong_t.
6262
e6bdb741
AJ
62632012-05-18 Andreas Jaeger <aj@suse.de>
6264 Carlos O'Donell <carlos_odonell@mentor.com>
6265
6266 * manual/install.texi (Configuring and compiling): Update
6267 description about files modified in the source directory.
d6c33fda 6268 * INSTALL: Regenerated.
e6bdb741 6269
1b74487e
L
62702012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6271
6272 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6273 value. Use "or" to set return value to -1.
6274 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6275 negate return value.
6276
a88b64b9
TMQMF
62772012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6278
6279 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6280 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6281 failure if the compiler has Graphite support disabled.
6282 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6283 Likewise.
6284 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6285 CFLAGS-memmove.c): Likewise.
6286 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6287 Likewise.
6288
3707636e
L
62892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6290
610b8622
L
6291 * sysdeps/x86_64/x32/_itoa.h: New file.
6292
7cd195df
L
6293 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6294 getdents system call only if kernel and user dirents have the
6295 same d_ino and d_off.
6296
94b07d20
L
6297 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6298 LLONG_MAX != LONG_MAX.
6299 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6300 (_fitoa_word): Likewise.
6301
18298070
L
6302 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6303 years.
6304 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6305 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6306 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6307
553c7ea4
L
6308 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6309 include <bits/wordsize.h>. Check __x86_64__ instead of
6310 __WORDSIZE.
6311 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6312 if __x86_64__ is defined. Use anonymous union on fpstate.
6313
3707636e
L
6314 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6315 anonymous union.
6316
b53ef01a
AS
63172012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6318
37fb1dc0
AS
6319 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6320 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6321 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6322 Refer to _rtld_local_ro instead of _rtld_global_ro.
6323 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6324 Likewise.
6325 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6326 Likewise.
6327 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6328 Likewise.
6329 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6330 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6331 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6332
b53ef01a
AS
6333 * sysdeps/powerpc/powerpc32/dl-machine.c
6334 (__elf_machine_runtime_setup) [PROF]: Don't reference
6335 _dl_prof_resolve.
6336
7a185db2
AJ
63372012-05-18 Andreas Jaeger <aj@suse.de>
6338
6339 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6340 function only available for GCCs before 3.4 since GCC 3.4
6341 introduced a builtin.
6342 (lrint): Likewise.
6343 (llrintf): Likewise.
6344 (llrint): Likewise.
6345 (fmaxf): Likewise.
6346 (fmax): Likewise.
6347 (fminf): Likewise.
6348 (fmin): Likewise.
6349 (rint): Likewise.
6350 (rintf): Likewise.
6351 (nearbyint): Likewise.
6352 (nearbyintf): Likewise.
6353 (ceil): Likewise.
6354 (ceilf): Likewise.
6355 (floor): Likewise.
6356 (floorf): Likewise.
6357
3e5aef87
L
63582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6359
428bd707
L
6360 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6361 on both fields and cast pointer to __syscall_ulong_t.
6362
3e5aef87
L
6363 * bits/types.h (__fsword_t): New type.
6364 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6365 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6366 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6367 (__FSWORD_T_TYPE): Likewise.
6368 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6369 (__FSWORD_T_TYPE): Likewise.
6370 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6371 (__FSWORD_T_TYPE): Likewise.
6372 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6373 (__FSWORD_T_TYPE): Likewise.
6374 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6375 __SWORD_TYPE with __fsword_t.
6376 (statfs64): Likewise.
6377
1ba7c3dc
DM
63782012-05-17 David S. Miller <davem@davemloft.net>
6379
6380 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6381
59910343
AJ
63822012-05-17 Andreas Jaeger <aj@suse.de>
6383
6384 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6385 warning.
6386
2e4c1e9e
L
63872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6388
6389 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6390
de7f5ce7
AJ
63912012-05-17 Andreas Jaeger <aj@suse.de>
6392
6393 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6394 when it is used.
6395
286abc3d
CM
63962012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6397
6398 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6399
477cc68e
L
64002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6401
6402 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6403 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6404
1a0994f5
CD
64052012-05-17 Andreas Jaeger <aj@suse.de>
6406 Carlos O'Donell <carlos_odonell@mentor.com>
6407
6408 [BZ #14059]
6409 * sysdeps/x86_64/multiarch/init-arch.h
6410 (bit_YMM_Usable): Rename to...
6411 (bit_AVX_Usable): ... this.
6412 (bit_FMA4_Usable): New macro.
6413 (bit_XMM_state): New macro.
6414 (bit_YMM_state): New macro.
6415 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6416 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6417 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6418 (CPUID_OSXSAVE): New macro.
6419 (CPUID_AVX): New macro.
6420 (CPUID_FMA4): New macro.
6421 (index_YMM_Usable): Rename to...
6422 (index_AVX_Usable): ... this.
6423 (HAS_AVX): Use HAS_ARCH_FEATURE.
6424 (HAS_FMA4): Likewise.
6425 (HAS_YMM_USABLE): Remove.
6426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6427 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6428 are present.
6429 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6430 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6431 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6432 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6433 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6434
0af797de
CM
64352012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6436
6437 * math/libm-test.c: Support platforms without multiple rounding modes.
6438 * math/bug-nextafter.c: Support platforms without FP exceptions.
6439 * math/bug-nexttoward.c: Likewise.
6440 * math/test-fenv.c: Likewise.
6441 * math/test-misc.c: Likewise.
6442 * stdlib/bug-getcontext.c: Likewise.
6443
e39745ff
AJ
64442012-05-17 Andreas Jaeger <aj@suse.de>
6445
6446 * manual/examples/search.c (critter_cmp): Change signature to
6447 avoid warnings.
6448 * manual/string.texi (Collation Functions): Likewise.
6449
48970aba
L
64502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6451
6452 * bits/types.h: Fold copyright years.
6453 * bits/typesizes.h: Likewise.
6454 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6455 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6456 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6457 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6458 * time/time.h: Likewise.
6459
bedee953
PP
64602012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6461
6462 [BZ #208]
6463 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6464 in instead of returning them. Return void.
6465 (__libc_mallinfo): Accumulate over all arenas.
6466 (__malloc_stats): Adjust for change in int_mallinfo interface.
6467
61653dfb
RM
64682012-05-16 Roland McGrath <roland@hack.frob.com>
6469
30b99d79
RM
6470 [BZ #10375]
6471 * configure.in (NM): Add AC_CHECK_TOOL for it.
6472 (libc_extra_cflags): New substituted variable.
6473 Check for -fstack-protector being used implicitly.
6474 * configure: Regenerated.
6475 * config.make.in (config-extra-cflags): New variable,
6476 gets @libc_extra_cflags@.
6477 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6478
61653dfb
RM
6479 [BZ #10375]
6480 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6481 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6482 * configure: Regenerated.
6483 * config.make.in (CPPUNDEFS): New substituted variable.
6484 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6485 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6486 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6487
661768bb
L
64882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6489
6490 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6491 (mq_attr): Use __syscall_slong_t.
6492
d4261567
L
64932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6494
6495 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6496 Check __x86_64__ instead of __WORDSIZE.
6497 (_STAT_VER_LINUX): Likewise.
6498 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6499 __syscall_ulong_t and __syscall_slong_t.
6500 (stat64): Likewise.
6501
cf3ff365
L
65022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6503
6504 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6505
76cf3e4d
L
65062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6507
6508 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6509
a637753a
L
65102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6511
6512 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6513 __syscall_ulong_t.
6514
d5e05119
L
6515 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6516 include <bits/wordsize.h>. Check __x86_64__ instead of
6517 __WORDSIZE.
6518 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6519 defined.
6520 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6521
f62ee380
L
6522 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6523 include <bits/wordsize.h>. Check __x86_64__ instead of
6524 __WORDSIZE.
6525 (user_regs_struct): Use "__extension__ unsigned long long"
6526 instead of "unsigned long" if __x86_64__ is defined.
6527 (user): Likewise. Pad after pointer field if __ILP32__ is
6528 defined.
6529
4e124ced
JM
65302012-05-16 Joseph Myers <joseph@codesourcery.com>
6531
6a3951a0
JM
6532 * configure.in (makeinfo): Require version 4.5 or later. Allow
6533 versions 5 to 9.
6534 * configure: Regenerated.
6535 * manual/install.texi (texinfo): Increase version requirement to
6536 4.5 or later.
6537 * INSTALL: Regenerated.
6538
4e124ced
JM
6539 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6540
953ca31a
L
65412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6542
6543 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6544
617aca05
L
6545 * sysdeps/x86_64/x32/ffs.c: New file.
6546
5762f7ae
L
6547 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6548 __syscall_ulong_t.
6549 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6550 defined. Use __syscall_ulong_t.
6551 (shminfo): Use __syscall_ulong_t.
6552 (shm_info): Likewise.
6553
a26b6856
L
6554 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6555 __syscall_ulong_t.
6556
cb2b9ef7
L
6557 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6558 <bits/wordsize.h>.
6559 (msgqnum_t): Use __syscall_ulong_t.
6560 (msglen_t): Likewise.
6561 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6562 __syscall_ulong_t.
6563
34683bb0
L
6564 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6565 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6566
84a68786
L
6567 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6568
48baa5f1
L
6569 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6570 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6571
180be88b
L
6572 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6573 __syscall_slong_t.
6574
5e90c8ad
L
6575 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6576 include <bits/wordsize.h>. Check __x86_64__ instead of
6577 __WORDSIZE.
6578
23dfb58b
L
6579 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6580 "unsigned long long int" if __x86_64__ is defined.
6581 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6582
ce5d54b0
L
6583 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6584 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6585 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6586
13dc9eac
L
6587 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6588 <stdint.h>.
6589 (GET_PC): Cast to uintptr_t first.
6590 (GET_FRAME): Likewise.
6591 (GET_STACK): Likewise.
6592
a7895d15
L
6593 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6594 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6595 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6596 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6597 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6598 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6599 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6600 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6601 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6602 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6603 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6604 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6605 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6606 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6607 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6608 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6609 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6610 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6611 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6612 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6613 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6614 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6615 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6616 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6617 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6618 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6619 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6620 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6621 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6622
656416c9
AS
66232012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6624
5bd66283
AS
6625 * Makerules (+depfiles): Also collect depfiles from .oS in
6626 $(extra-objs).
6627 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6628 .oS, $(libnldbl-routines)).
6629
656416c9
AS
6630 * Makerules (native-compile-mkdep-flags): Define.
6631 * sunrpc/Makefile (extra-objs): Add $(addprefix
6632 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6633 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6634 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6635 calling $(make-target-directory).
6636
a46f2169
L
66372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6638
6639 * bits/types.h (__snseconds_t): Removed.
6640 * time/time.h (struct timespec): Replace __snseconds_t with
6641 __syscall_slong_t.
6642 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6643 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6644 Likewise.
6645 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6646 (__SNSECONDS_T_TYPE): Likewise.
6647 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6648 (__SNSECONDS_T_TYPE): Likewise.
6649 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6650 (__SNSECONDS_T_TYPE): Likewise.
6651
6af6528b
L
66522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6653
6654 * sysdeps/mach/hurd/bits/typesizes.h
6655 (__SYSCALL_SLONG_TYPE): New macro.
6656 (__SYSCALL_ULONG_TYPE): Likewise.
6657
de986b56
L
66582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6659
6660 * bits/types.h (__syscall_slong_t): New type.
6661 (__syscall_ulong_t): Likewise.
6662
6663 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6664 (__SYSCALL_ULONG_TYPE): Likewise.
6665 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6666 (__SYSCALL_SLONG_TYPE): Likewise.
6667 (__SYSCALL_ULONG_TYPE): Likewise.
6668 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6669 (__SYSCALL_SLONG_TYPE): Likewise.
6670 (__SYSCALL_ULONG_TYPE): Likewise.
6671 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6672 (__SYSCALL_SLONG_TYPE): Likewise.
6673 (__SYSCALL_ULONG_TYPE): Likewise.
6674
85736dc7
L
66752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6676
6677 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6678 Add sigaltstack-offsets.sym.
6679 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6680 <sigaltstack-offsets.h>.
6681 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6682 longjmp_msg pointer.
6683 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6684 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6685 signal stack.
6686 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6687
cc03b296
JM
66882012-05-15 Joseph Myers <joseph@codesourcery.com>
6689
a9538892
JM
6690 * elf/stackguard-macros.h: Remove file.
6691 * sysdeps/generic/stackguard-macros.h: New file.
6692 * sysdeps/i386/stackguard-macros.h: Likewise.
6693 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6694 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6695 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6696 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6697 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6698 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6699 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6700 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6701 <elf/stackguard-macros.h>.
6702
cc03b296
JM
6703 [BZ #14109]
6704 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6705 __aligned__ in attribute.
6706 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6707 (gregset_t): Likewise.
6708
93171016
L
67092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6710
6711 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6712 * sysdeps/x86_64/64/Implies-after: Here. New file.
6713 * sysdeps/x86_64/x32/Implies-after: New file.
6714
d86813a0
L
67152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6716
6717 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6718 and access return value for _dl_profile_fixup. Use R10_LP to
6719 load frame size.
6720
2953ec75
L
67212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6722
6723 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6724
3b550e9e
L
67252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6726
6727 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6728 * sysdeps/x86_64/x32/sysdep.h: New file.
6729
eda41706
L
67302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6731
6732 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6733 * sysdeps/x86_64/setjmp.S: Likewise.
6734
9ea01d93
AZ
67352012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6736
6737 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6738 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6739 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6740 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6741 remove unused global constant.
6742
02a91938
CM
67432012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6744
6745 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6746 include of <not-cancel.h>.
6747
6540185f
RM
67482012-05-15 Roland McGrath <roland@hack.frob.com>
6749
6750 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6751
509072a0
AJ
67522012-05-15 Jeff Law <law@redhat.com>
6753 Andreas Jaeger <aj@suse.de>
6754
6755 [BZ #13594]
6756 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6757 out from...
6758 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6759 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6760 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6761 code changing __hst_map_handle.map.
6762
ba75122d
RM
67632012-05-15 Roland McGrath <roland@hack.frob.com>
6764
6765 * configure.in (sysnames): Look for Implies-before and Implies-after
6766 files.
6767 * configure: Regenerated.
6768
890d8bd8
L
67692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6770
6771 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6772 8-byte data alignment with LP_SIZE alignment.
6773
f6ee6623
L
67742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6775
6776 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6777 into R10_LP.
6778
ea2626f6
L
67792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6780
6781 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6782
085f715e
L
67832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6784
6785 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6786 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6787 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6788 Likewise.
6789 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6790
be8498fc
L
67912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6792
6793 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6794 (stackinfo_sub_sp): Likewise.
6795
70bc83b9
L
67962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6797
6798 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6799 RAX_LP.
6800
9bc0b730
L
68012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6802
6803 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6804 into R*_LP.
6805
6d2850e7
L
68062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6807
6808 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6809 sizes into R*_LP.
6810
3cb84561
L
68112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6812
6813 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6814
54e2ed81
L
68152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6816
6817 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6818 into R11_LP and load __x86_64_shared_cache_size_half into
6819 R8_LP.
6820
8a17f349
L
68212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6822
6823 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6824 R8_LP.
6825
777b1eea
AZ
68262012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6827
6828 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6829 logb for POWER7.
6830 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6831 logbf for POWER7.
6832 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6833 logbl for POWER7.
6834 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6835 powerpc32/power7/fpu/s_logb.c via #include.
6836 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6837 powerpc32/power7/fpu/s_logbf.c via #include.
6838 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6839 powerpc32/power7/fpu/s_logbl.c via #include.
6840
d20d4ac2
JM
68412012-05-15 Joseph Myers <joseph@codesourcery.com>
6842
6843 * README.libm: Remove file.
6844
6cdef1ab
L
68452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6846
6847 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6848 count for x32. Use R*_LP and omit operand-size suffix.
6849
0b254d8f
L
68502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6851
6852 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6853 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6854 * sysdeps/x86_64/x32/shlib-versions: New file.
6855
ceb809dc
RM
68562012-05-14 Roland McGrath <roland@hack.frob.com>
6857
6858 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6859 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6860 Use _dl_fatal_printf instead.
6861
37f1abd4
JM
68622012-05-14 Joseph Myers <joseph@codesourcery.com>
6863
6864 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6865 set if not set by the user. Do not allow for being unset.
6866 * sysdeps/unix/sysv/linux/configure: Regenerated.
6867
11de3a33
L
68682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6869
6870 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6871 the `q' suffix from lea and replace .quad with ASM_ADDR.
6872
e02f153a
L
68732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6874
6875 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6876 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6877 instead of $17.
6878 (PTR_DEMANGLE): Likewise.
6879
520ae0fd
L
68802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6881
6882 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6883 (LP_OP): Likewise.
6884 (ASM_ADDR): Likewise.
6885 (RAX_LP): Likewise.
6886 (RBP_LP): Likewise.
6887 (RBX_LP): Likewise.
6888 (RCX_LP): Likewise.
6889 (RDI_LP): Likewise.
6890 (RSI_LP): Likewise.
6891 (RSP_LP): Likewise.
6892 (R8_LP): Likewise.
6893 (R9_LP): Likewise.
6894 (R10_LP): Likewise.
6895 (R10_LP): Likewise.
6896 (R11_LP): Likewise.
6897 (R12_LP): Likewise.
6898 (R13_LP): Likewise.
6899 (R14_LP): Likewise.
6900 (R15_LP): Likewise.
6901
b985be81
L
69022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6903
6904 * sysdeps/x86_64/x32/dl-machine.h: New file.
6905
6a4888ff
AJ
69062012-05-14 Andreas Jaeger <aj@suse.de>
6907
6908 * manual/Makefile (subdir): Remove export of subdir.
6909 (all): Remove target.
6910 (.PHONY): Remove all from list.
6911 (mkinstalldirs): Remove.
6912 (.PHONY): Remove installdirs from list.
6913 ($(inst_infodir)/libc.info): Use make-target-directory.
6914 (installdirs): Remove.
6915 (subdir_%): Remove.
6916 (glibc-targets): Remove.
6917 (lib): Remove.
6918 (stubs): Remove.
6919 ($(objpfx)stubs ../po/manual.pot): Remove.
6920 ($(objpfx)stamp%): Remove.
6921 (make-target-directory): Remove.
6922 (subdir_install): Remove.
6923 (routines): Remove.
6924 (aux): Remove.
6925 (sources): Remove.
6926 (objects): Remove.
6927 (headers): Remove.
6928
6929 [BZ #13750]
6930 * manual/.gitignore: Remove, it's not needed anymore.
6931 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6932 all files in it.
6933 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6934 directory.
6935 (texis): Renamed to $(objpfx)texis.
6936 (texis-path): New, contains path to generated files.
6937 (chapters.%): Use texis-path for complete path, add extra argument
6938 libc-texinfo.sh.
6939 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6940 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6941 (summary,texi, stamp-summary): Use complete path of
6942 files. Generate files in build dir.
6943 (dir-add.texi): Build in build dir.
6944 (libm-err.texi,stamp-libm-err): Likewise.
6945 (version.texi, stamp-version): Likewise.
6946 (.%c.texi): Likewise.
6947 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6948 (mostlyclean): Remove target.
6949 (realclean): Remove target.
6950 (generated): Add new variable with contents from mostlyclean and
6951 realclean, remove entries duplicated in common-mostlyclean, add
6952 stamp-libm-err and stamp-version.
6953 (generated-dirs): Add libc directory.
6954 ($(inst_infodir)/libc.info): Install files from build dir.
6955
6956 * manual/install.texi (Configuring and compiling): Adjust since
6957 the info files are not part of the tar ball anymore.
6958
7ac77294
AJ
69592012-05-14 Andreas Jaeger <aj@suse.de>
6960
6961 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6962 variable.
6963
ffb7875d
JM
69642012-05-14 Joseph Myers <joseph@codesourcery.com>
6965
6966 [BZ #13717]
6967 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6968 to 2.2.0 where earlier.
6969 * sysdeps/unix/sysv/linux/configure: Regenerated.
6970 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6971 Remove conditional code.
6972 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6973 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6974 Remove conditional code.
6975 [!__NR_lchown]: Likewise.
6976 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6977 [__NR_lchown]: Likewise.
6978 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6979 comment referencing __ASSUME_LCHOWN_SYSCALL.
6980 * sysdeps/unix/sysv/linux/i386/sigaction.c
6981 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6982 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6983 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6984 Remove conditional code.
6985 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6986 (__protocol_available): Remove #if 0 code.
6987 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6988 conditional code.
6989 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6990 * sysdeps/unix/sysv/linux/kernel-features.h
6991 (__ASSUME_GETCWD_SYSCALL): Don't define.
6992 (__ASSUME_REALTIME_SIGNALS): Likewise.
6993 (__ASSUME_PREAD_SYSCALL): Likewise.
6994 (__ASSUME_PWRITE_SYSCALL): Likewise.
6995 (__ASSUME_POLL_SYSCALL): Likewise.
6996 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6997 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6998 non-SPARC.
6999 (__ASSUME_SIOCGIFNAME): Don't define.
7000 (__ASSUME_MSG_NOSIGNAL): Likewise.
7001 (__ASSUME_SENDFILE): Define unconditionally.
7002 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
7003 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
7004 conditional code.
7005 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
7006 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
7007 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7008 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7009 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
7010 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7011 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
7013 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7014 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7016 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7017 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
7019 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7020 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7022 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7023 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
7025 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7026 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
7028 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7029 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
7031 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7032 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
7034 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7035 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7036 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
7037 Remove conditional code.
7038 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7039 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7040 Remove conditional code.
7041 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7042 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
7043 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
7044 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7045 Remove conditional code.
7046 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7047 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
7048 Remove conditional code.
7049 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7050 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
7051 Remove conditional code.
7052 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7053 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7054 Remove conditional code.
7055 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7056 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7057 Remove conditional code.
7058 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7059 * sysdeps/unix/sysv/linux/sh/pwrite64.c
7060 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7061 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7062 * sysdeps/unix/sysv/linux/sigaction.c
7063 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7064 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7065 * sysdeps/unix/sysv/linux/sigpending.c
7066 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7067 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7068 * sysdeps/unix/sysv/linux/sigprocmask.c
7069 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7070 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7071 * sysdeps/unix/sysv/linux/sigsuspend.c
7072 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7073 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7074 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7075 (__libc_missing_rt_sigs): Remove.
7076 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
7077 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
7078 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
7079 Remove conditional code.
7080 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
7081 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
7082 return 1.
7083 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
7084 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
7085 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
7086 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
7087
1bfb7291
AJ
70882012-05-14 Andreas Jaeger <aj@suse.de>
7089
caae5a81
AJ
7090 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
7091 it's not used in glibc.
7092 (__coshm1): Likewise.
7093 (__acosh1p): Likewise.
7094 (__sgn): Likewise.
7095
1bfb7291
AJ
7096 * manual/string.texi (Copying and Concatenation): Add missing
7097 variable in concat example.
7098 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7099
c044d724
L
71002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7101
144c5467 7102 [BZ #14103]
c044d724
L
7103 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
7104 __builtin_clzl with __builtin_clzll.
7105
2523c62b
L
71062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7107
7108 [BZ #14104]
7109 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
7110 libc_freeres_ptr.
7111
d7bb4c42
LD
71122012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7113
7114 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
7115 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
7116 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
7117 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
7118
9dc4e1fb
MF
71192012-05-14 Mike Frysinger <vapier@gentoo.org>
7120
7121 * NEWS: Update ia64 info.
7122
c7df0112
AS
71232012-05-12 Andreas Schwab <schwab@linux-m68k.org>
7124
7125 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
7126 used as bcopy.
7127
dc70356c
TS
71282012-05-12 Thomas Schwinge <thomas@codesourcery.com>
7129
7130 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
7131 * sysdeps/unix/syscalls.list (dup3): Likewise.
7132 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
7133 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7134
9fb1a21f
L
71352012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7136
7137 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
7138 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7139
4822a2a5
L
71402012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7141
7142 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7143 thread pointer.
7144 (TLS_IE): Use mov/add instead of movq/addq to load thread
7145 pointer.
7146 (TLS_GD_PREFIX): New.
7147 (TLS_GD): Use it.
7148
842b81d6
DM
71492012-05-11 David S. Miller <davem@davemloft.net>
7150
7151 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7152 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7153 (_FPU_SETCW): Likewise.
7154
1cf463cd
L
71552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7156
7157 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7158 is 32-byte aligned.
7159
60cc4a18
AS
71602012-05-11 Andreas Schwab <schwab@linux-m68k.org>
7161
7162 [BZ #11837]
7163 * iconvdata/gb18030.c: Update tables.
7164 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
7165 characters specially.
7166 (BODY for TO_LOOP): Add encoding of missing ranges.
7167
febb44a4
TS
71682012-05-11 Thomas Schwinge <thomas@codesourcery.com>
7169
7170 [BZ #13673]
7171 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7172 * sysdeps/mach/hurd/dup3.c: Likewise.
7173 * sysdeps/mach/hurd/readlinkat.c: Likewise.
7174 * sysdeps/powerpc/memmove.c:: Likewise.
7175
0a10fb9e
L
71762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7177
7178 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7179 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7180
df8a552f
L
71812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7182
7183 * elf/elf.h (R_X86_64_RELATIVE64): New.
7184 (R_X86_64_NUM): Updated.
7185 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7186 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
7187 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7188 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7189 tst-quad1pie tst-quad2pie
7190 (modules-names): Add tst-quadmod1 tst-quadmod2.
7191 ($(objpfx)tst-quad1): New dependency.
7192 ($(objpfx)tst-quad2): Likewise.
7193 ($(objpfx)tst-quad1pie): Likewise.
7194 ($(objpfx)tst-quad2pie): Likewise.
7195 * sysdeps/x86_64/tst-quad1.c: New file.
7196 * sysdeps/x86_64/tst-quad1pie.c: New file.
7197 * sysdeps/x86_64/tst-quad2.c: Likewise.
7198 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7199 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7200 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7201 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7202 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7203
f34d6f84
ST
72042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7205
f42d41d1
ST
7206 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7207 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7208 * streams/stropts.h (t_scalar_t): Define type.
7209
3c3571fc
ST
7210 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7211 (_PATH_PRESERVE): Set to "/var/lib".
7212 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7213
61f06bd3
ST
7214 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7215 instead of int.
7216
918d4d71
ST
7217 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7218 if __dir_mkfile succeeded.
7219
f34d6f84
ST
7220 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7221 checking for _hurd_dtablesize. Unlock it right after having
7222 finished _hurd_dtable allocation.
7223
10589b4a
TS
72242012-05-10 Thomas Schwinge <thomas@schwinge.name>
7225
674cdbc7
TS
7226 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7227 * sysdeps/mach/hurd/configure: Regenerated.
7228 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7229 special-casing to...
7230 * sysdeps/gnu/configure.in: ... this new file.
7231 * sysdeps/unix/sysv/linux/configure: Regenerated.
7232 * sysdeps/gnu/configure: New generated file.
7233
8e41b99f
TS
7234 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7235 for Linux: use nsec instead of usec, as well as:
7236 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7237 members of type struct timespec.
7238 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7239 New macros.
7240 (struct stat64): Likewise.
7241 (_STATBUF_ST_NSEC): New macro.
7242 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7243
10589b4a
TS
7244 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7245 __strtoul_internal rather than strtoul.
7246
63643c85
PT
72472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7248
7249 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7250 and reject them.
7251
3faebe6a
ST
72522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7253
7254 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7255 which preserves existing values.
7256 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7257
c6474b07
PT
72582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7259
7260 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7261 TIMEOUT values. Return EINVAL for NFDS values either negative or
7262 greater than FD_SETSIZE.
7263
1043890b
ST
72642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7265
7266 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7267 allocated, call __vm_protect to finish enabling the existing space, and
7268 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7269 allocate the remainder.
7270
37ed8b9b
PT
72712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7272
7273 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7274 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7275
db653660
ST
72762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7277
37ed8b9b
PT
7278 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7279 sysdeps/mach/hurd/readlink.c.
b29d4053 7280
db653660
ST
7281 * posix/tst-sysconf.c (posix_options): Only use
7282 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7283 _POSIX_SYNCHRONIZED_IO when they are defined
7284 * sysdeps/mach/hurd/bits/posix_opt.h:
7285 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7286 (_XOPEN_REALTIME): Undefine macro.
7287 (_XOPEN_REALTIME_THREADS): Undefine macro.
7288 (_XOPEN_SHM): Undefine macro.
7289 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7290 macro to -1.
7291 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7292 macro to -1.
7293 (_POSIX_ASYNC_IO): Undefine macro.
7294 (_POSIX_PRIORITIZED_IO): Undefine macro.
7295 (_POSIX_SPIN_LOCKS): Define macro to -1.
7296
ee16e894
ST
7297 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7298 SA_NODEFER, SA_RESETHAND.
7299 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7300 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7301 F_DUPFD_CLOEXEC.
7302
6103ae3b
TS
73032012-05-10 Thomas Schwinge <thomas@schwinge.name>
7304
7305 * elf/Makefile (pldd-modules): Define unconditionally.
7306
80b4e5f3
TS
73072012-05-10 Thomas Schwinge <thomas@schwinge.name>
7308
7309 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7310
edadcbd6
ST
73112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7312
7313 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7314 Return ENOENT when name is empty.
7315 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7316
80694780
TS
73172012-05-10 Thomas Schwinge <thomas@schwinge.name>
7318
1792c087
TS
7319 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7320
80694780
TS
7321 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7322
6b645f0d
ST
73232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7324
80694780
TS
7325 Fix mlock in all cases except non-readable pages.
7326 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7327 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 7328
6b645f0d
ST
7329 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7330 (__mkdir): When path is `/', just fail with EEXIST.
7331 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7332
e468f8a3
TS
73332012-05-10 Thomas Schwinge <thomas@schwinge.name>
7334
7335 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7336 <sys/uio.h> (for writev).
7337 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7338 and <sys/param.h> (for MIN).
7339
a4186cff
PT
73402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7341
7342 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7343 REQUESTED_TIME. Properly set the remaining time and return EINTR
7344 if interrupted.
7345
510bbf14
TS
73462012-05-10 Thomas Schwinge <thomas@schwinge.name>
7347
7348 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7349 Depend on against $(link-rpcuserlibs).
7350
5d5722e8
ST
73512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7352
a4186cff
PT
7353 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7354 (__libc_stack_end): Do not use attribute_relro.
7355 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7356 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 7357 to libthread-provided value.
a4186cff
PT
7358 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7359 attribute_relro.
5d5722e8 7360
37233df9
TS
73612012-05-10 Thomas Schwinge <thomas@schwinge.name>
7362
be971a2b
TS
7363 [BZ #3748]
7364 * bits/libc-lock.h (__libc_once_get): New macro.
7365 * sysdeps/mach/bits/libc-lock.h: Likewise.
7366 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7367 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7368 instead of using implementation details.
7369
37233df9
TS
7370 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7371 * libio/freopen.c: Likewise.
7372 * libio/freopen64.c: Likewise.
7373 * misc/syslog.c: Likewise.
7374 * nscd/connections.c: Likewise.
7375 * nscd/netgroupcache.c: Likewise.
7376 * sysdeps/posix/getcwd.c: Likewise.
7377
38de94a5
RM
73782012-05-10 Roland McGrath <roland@hack.frob.com>
7379
7380 * math/w_ilogbf.c: Add #include <limits.h>.
7381
67530489
ST
73822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7383
a4186cff 7384 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
7385 path instead of returning without unlocking.
7386
67530489
ST
7387 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7388 immediate-write ioctls.
7389 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7390
5aa3a74a
TS
73912012-05-10 Thomas Schwinge <thomas@schwinge.name>
7392
18bad2ae
TS
7393 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7394 __builtin_frame_address instead of making assumptions about the
7395 location of the return address relative to DATA. Force early load of
7396 the return address.
7397 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7398 __builtin_frame_address.
7399
5aa3a74a
TS
7400 dup3 for GNU Hurd.
7401 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7402 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7403 implement dup3 and do some further code clean-ups.
7404 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7405 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7406
ecd0de9a
ST
74072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7408
cd9fa985
ST
7409 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7410
a4186cff
PT
7411 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7412 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7413 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7414 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7415 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7416 d->port.lock.
802ca5a5 7417
a4186cff
PT
7418 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7419 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7420 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 7421
bcf55240
TS
74222012-05-10 Thomas Schwinge <thomas@schwinge.name>
7423
6960eb42
TS
7424 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7425 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7426 definitions.
7427
eb43375f
TS
7428 accept4 for GNU Hurd.
7429 * include/sys/socket.h (__libc_accept4): New prototype.
7430 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7431 to implement __libc_accept4.
7432 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7433 __libc_accept4.
7434 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7435
bcf55240
TS
7436 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7437 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7438 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7439 signal-defines.sym.
7440
6178c55b
ST
74412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7442
a4186cff 7443 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 7444
6f080c2f
TS
74452012-05-10 Thomas Schwinge <thomas@schwinge.name>
7446
7447 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7448 assertion on O_CLOEXEC flag.
7449 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7450 * hurd/intern-fd.c: Likewise.
7451 * hurd/port2fd.c: Likewise.
7452
bcfe3a54
ST
74532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7454
7455 [BZ #3906]
7456 * bits/in.h (IPV6_PKTINFO): Define new macro.
7457 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7458
89c9aa49
AZ
74592012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7460
7461 [BZ #13954]
7462 [BZ #13955]
7463 [BZ #13956]
7464 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7465 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7466 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7467 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7468 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7469 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7470 * math/libm-test.inc (logb_test) : Additional logb tests.
7471
021db4be
AJ
74722012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7473 Andreas Jaeger <aj@suse.de>
7474
7475 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7476 * configure: Regenerated.
7477 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7478 * config.make.in (link-obsolete-rpc): New substituted variable.
7479 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7480 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7481 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7482 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7483 so that libc.a contains the symbols.
7484 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7485 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7486 * sunrpc/auth_none.c: Likewise.
7487 * sunrpc/auth_unix.c: Likewise.
7488 * sunrpc/authdes_prot.c: Likewise.
7489 * sunrpc/authuxprot.c: Likewise.
7490 * sunrpc/clnt_gen.c: Likewise.
7491 * sunrpc/clnt_perr.c: Likewise.
7492 * sunrpc/clnt_raw.c: Likewise.
7493 * sunrpc/clnt_simp.c: Likewise.
7494 * sunrpc/clnt_tcp.c: Likewise.
7495 * sunrpc/clnt_udp.c: Likewise.
7496 * sunrpc/clnt_unix.c: Likewise.
7497 * sunrpc/des_crypt.c: Likewise.
7498 * sunrpc/des_soft.c: Likewise.
7499 * sunrpc/get_myaddr.c: Likewise.
7500 * sunrpc/key_call.c: Likewise.
7501 * sunrpc/key_prot.c: Likewise.
7502 * sunrpc/netname.c: Likewise.
7503 * sunrpc/pm_getmaps.c: Likewise.
7504 * sunrpc/pm_getport.c: Likewise.
7505 * sunrpc/pmap_clnt.c: Likewise.
7506 * sunrpc/pmap_prot.c: Likewise.
7507 * sunrpc/pmap_prot2.c: Likewise.
7508 * sunrpc/pmap_rmt.c: Likewise.
7509 * sunrpc/publickey.c: Likewise.
7510 * sunrpc/rpc_cmsg.c: Likewise.
7511 * sunrpc/rpc_common.c: Likewise.
7512 * sunrpc/rpc_dtable.c: Likewise.
7513 * sunrpc/rpc_prot.c: Likewise.
7514 * sunrpc/rpc_thread.c: Likewise.
7515 * sunrpc/rtime.c: Likewise.
7516 * sunrpc/svc.c: Likewise.
7517 * sunrpc/svc_auth.c: Likewise.
7518 * sunrpc/svc_raw.c: Likewise.
7519 * sunrpc/svc_run.c: Likewise.
7520 * sunrpc/svc_tcp.c: Likewise.
7521 * sunrpc/svc_udp.c: Likewise.
7522 * sunrpc/svc_unix.c: Likewise.
7523 * sunrpc/svcauth_des.c: Likewise.
7524 * sunrpc/xcrypt.c: Likewise.
7525 * sunrpc/xdr.c: Likewise.
7526 * sunrpc/xdr_array.c: Likewise.
7527 * sunrpc/xdr_float.c: Likewise.
7528 * sunrpc/xdr_intXX_t.c: Likewise.
7529 * sunrpc/xdr_mem.c: Likewise.
7530 * sunrpc/xdr_rec.c: Likewise.
7531 * sunrpc/xdr_ref.c: Likewise.
7532 * sunrpc/xdr_sizeof.c: Likewise.
7533 * sunrpc/xdr_stdio.c: Likewise.
7534
b5c086a2
RM
75352012-05-10 Roland McGrath <roland@hack.frob.com>
7536
7537 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7538 change. Update copyright years.
7539
6d74dd09
JM
75402012-05-10 Joseph Myers <joseph@codesourcery.com>
7541
7542 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7543
28e72501
MK
75442012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7545 Joseph Myers <joseph@codesourcery.com>
7546 Paul Pluzhnikov <ppluzhnikov@google.com>
7547
7548 [BZ #14012]
7549 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7550 requiring rpcgen.
7551 [cross-compiling] (extra-libs): Likewise.
7552 [cross-compiling] (extra-libs-others): Likewise.
7553 [cross-compiling] (librpcsvc-routines): Likewise.
7554 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7555 [cross-compiling] (omit-deps): Likewise.
7556 (sunrpc-CPPFLAGS): New variable.
7557 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7558 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7559 (cross-rpcgen-objs): New variable.
7560 (extra-objs): Append $(cross-rpcgen-objs).
7561 ($(cross-rpcgen-objs)): New rule.
7562 ($(objpfx)cross-rpcgen): Likewise.
7563 (rpcgen-cmd): Define to use $(built-program-file). Expand
7564 comment.
7565 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7566 ($(objpfx)x%.stmp): Likewise.
7567 * sunrpc/proto.h [IS_IN_build] (_): Define.
7568 [IS_IN_build] (_libc_intl_domainname): Likewise.
7569
c8c59454
L
75702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7571
7572 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7573 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7574 and R_X86_64_TPOFF64.
7575
6f27cd16
JM
75762012-05-10 Joseph Myers <joseph@codesourcery.com>
7577
7578 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7579 sysdeps/unix/sysv/syscalls.list.
7580 (stime): Likewise.
7581 (utime): Likewise.
7582 * sysdeps/unix/sysv/syscalls.list: Remove file.
7583
02467e1c
PE
75842012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7585
7586 [BZ #3440]
7587 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7588 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7589 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7590 (__LC_IDENTIFICATION): Make these macros useful in #if
7591 expressions, as required by C99.
7592
da392631
AS
75932012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7594
7595 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7596 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7597 after this.
7598
8115f29b
L
75992012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7600
7601 * stdlib/longlong.h: Updated from GCC.
7602
bdd74070
AJ
76032012-05-09 Andreas Jaeger <aj@suse.de>
7604
edfe0dbe
AJ
7605 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7606 default is first entry.
7607 (run_mode): Set type.
7608 (main): Remove informal message about syslog.
7609 (options): Fix typo.
7610
bcfe3a54
ST
7611 [BZ #14053]
7612 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 7613 to asm.
bcfe3a54
ST
7614 (lrint): Likewise.
7615 (llrintf): Likewise.
7616 (llrint): Likewise.
7617 (rint): Likewise.
7618 (rintf): Likewise.
7619 (nearbyint): Likewise.
7620 (nearbyintf): Likewise.
bdd74070 7621
91d8d69e
AJ
76222012-05-09 Andreas Jaeger <aj@suse.de>
7623 Pedro Alves <palves@redhat.com>
7624
7625 * nscd/nscd.c (run_mode): Use enum.
7626 (main): Cleanup coding style issue.
7627
bb90b80b
AJ
76282012-05-09 Alexandre Oliva <aoliva@redhat.com>
7629 Andreas Jaeger <aj@suse.de>
7630
bcfe3a54
ST
7631 * nscd/nscd.c (go_background): Replaced with...
7632 (run_mode): ... this.
bb90b80b 7633 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
7634 (options): Add -F --foreground.
7635 (main): Implement it.
7636 (parse_opt): Parse it.
bb90b80b 7637
1a4b75a1
AJ
76382012-05-09 Andreas Jaeger <aj@suse.de>
7639
7640 [BZ #14083]
7641 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7642 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7643 -Wconversion warning.
7644 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7645 Likewise.
7646
b1cc2472
JM
76472012-05-09 Joseph Myers <joseph@codesourcery.com>
7648
7649 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7650 == 0.
7651 (LC_ALL): Use macro-int-constant.
7652 (LC_COLLATE): Likewise.
7653 (LC_CTYPE): Likewise.
7654 (LC_MESSAGES): Likewise.
7655 (LC_MONETARY): Likewise.
7656 (LC_NUMERIC): Likewise.
7657 (LC_TIME): Likewise.
7658 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7659 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7660 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7661 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7662 Specify type.
7663 [C99-based standards] (float_t): Expect type.
7664 [C99-based standards] (double_t): Expect type.
7665 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7666 type.
7667 [C99-based standards] (HUGE_VALL): Likewise.
7668 [C99-based standards] (INFINITY): Likewise.
7669 [C99-based standards] (NAN): Likewise.
7670 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7671 [C99-based standards] (FP_NAN): Likewise.
7672 [C99-based standards] (FP_NORMAL): Likewise.
7673 [C99-based standards] (FP_SUBNORMAL): Likewise.
7674 [C99-based standards] (FP_ZERO): Likewise.
7675 [C99-based standards] (FP_FAST_FMA): Use
7676 optional-macro-int-constant. Specify type. Require == 1.
7677 [C99-based standards] (FP_FAST_FMAF): Likewise.
7678 [C99-based standards] (FP_FAST_FMAL): Likewise.
7679 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7680 [C99-based standards] (FP_ILOGBNAN): Likewise.
7681 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7682 Specify type.
7683 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7684 [C99-based standards] (math_errhandling): Specify type.
7685 [ISO99 || ISO11] (signgam): Do not allow.
7686 [non-C99-based standards] (copysignf): Do not allow.
7687 [non-C99-based standards] (exp2f): Likewise.
7688 [non-C99-based standards] (log2f): Likewise.
7689 [non-C99-based standards] (modff): Allow.
7690 [non-C99-based standards] (erff): Do not allow.
7691 [non-C99-based standards] (erfcf): Likewise.
7692 [non-C99-based standards] (gammaf): Likewise.
7693 [non-C99-based standards] (hypotf): Likewise.
7694 [non-C99-based standards] (j0f): Likewise.
7695 [non-C99-based standards] (j1f): Likewise.
7696 [non-C99-based standards] (jnf): Likewise.
7697 [non-C99-based standards] (lgammaf): Likewise.
7698 [non-C99-based standards] (tgammaf): Likewise.
7699 [non-C99-based standards] (y0f): Likewise.
7700 [non-C99-based standards] (y1f): Likewise.
7701 [non-C99-based standards] (ynf): Likewise.
7702 [non-C99-based standards] (isnanf): Likewise.
7703 [non-C99-based standards] (acoshf): Likewise.
7704 [non-C99-based standards] (asinhf): Likewise.
7705 [non-C99-based standards] (atanhf): Likewise.
7706 [non-C99-based standards] (cbrtf): Likewise.
7707 [non-C99-based standards] (expm1f): Likewise.
7708 [non-C99-based standards] (ilogbf): Likewise.
7709 [non-C99-based standards] (log1pf): Likewise.
7710 [non-C99-based standards] (logbf): Likewise.
7711 [non-C99-based standards] (nextafterf): Likewise.
7712 [non-C99-based standards] (remainderf): Likewise.
7713 [non-C99-based standards] (rintf): Likewise.
7714 [non-C99-based standards] (scalbf): Likewise.
7715 [non-C99-based standards] (copysignl): Likewise.
7716 [non-C99-based standards] (exp2l): Likewise.
7717 [non-C99-based standards] (log2l): Likewise.
7718 [non-C99-based standards] (modfl): Allow.
7719 [non-C99-based standards] (erfl): Do not allow.
7720 [non-C99-based standards] (erfcl): Likewise.
7721 [non-C99-based standards] (gammal): Likewise.
7722 [non-C99-based standards] (hypotl): Likewise.
7723 [non-C99-based standards] (j0l): Likewise.
7724 [non-C99-based standards] (j1l): Likewise.
7725 [non-C99-based standards] (jnl): Likewise.
7726 [non-C99-based standards] (lgammal): Likewise.
7727 [non-C99-based standards] (tgammal): Likewise.
7728 [non-C99-based standards] (y0l): Likewise.
7729 [non-C99-based standards] (y1l): Likewise.
7730 [non-C99-based standards] (ynl): Likewise.
7731 [non-C99-based standards] (isnanl): Likewise.
7732 [non-C99-based standards] (acoshl): Likewise.
7733 [non-C99-based standards] (asinhl): Likewise.
7734 [non-C99-based standards] (atanhl): Likewise.
7735 [non-C99-based standards] (cbrtl): Likewise.
7736 [non-C99-based standards] (expm1l): Likewise.
7737 [non-C99-based standards] (ilogbl): Likewise.
7738 [non-C99-based standards] (log1pl): Likewise.
7739 [non-C99-based standards] (logbl): Likewise.
7740 [non-C99-based standards] (nextafterl): Likewise.
7741 [non-C99-based standards] (remainderl): Likewise.
7742 [non-C99-based standards] (rintl): Likewise.
7743 [non-C99-based standards] (scalbl): Likewise.
7744 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7745 [non-C99-based standards] (FP_*): Do not allow.
7746 [C99-based standards] (FP_*): Change to
7747 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7748 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7749 allow.
7750 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7751 (SIG_ERR): Likewise.
7752 [X/Open-based standards] (SIG_HOLD): Likewise.
7753 (SIG_IGN): Likewise.
7754 (SIGABRT): Use macro-int-constant. Specify type. Require
7755 positive value.
7756 (SIGFPE): Likewise.
7757 (SIGILL): Likewise.
7758 (SIGINT): Likewise.
7759 (SIGSEGV): Likewise.
7760 (SIGTER): Likewise.
7761 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7762 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7763 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7764 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7765 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7766 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7767 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7768 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7769 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7770 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7771 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7772 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7773 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7774 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7775 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7776 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7777 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7778 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7779 [X/Open-based standards] (SIGTRAP): Likewise.
7780 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7781 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7782 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7783 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7784 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7785 allow.
7786
b9f1922d
IW
77872012-05-08 Ian Wienand <ianw@vmware.com>
7788
7789 [BZ #14080]
7790 * time/tzset.c (__tzset_parse_tz): Update default rules for
7791 daylight time changes in the Energy Policy Act of 2005.
7792
1db86e88
AJ
77932012-05-09 Andreas Jaeger <aj@suse.de>
7794
7795 [BZ #13983]
7796 * elf/ldconfig.c (parse_conf): Change string to make clear that
7797 ldconfig only issued a warning if ld.so.conf does not exist.
7798
dee4a4e3
DM
77992012-05-08 David S. Miller <davem@davemloft.net>
7800
ee0db190
DM
7801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7802 movxtod instead of popping the value on the stack.
7803
dee4a4e3
DM
7804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7805
6a43ec98
CD
78062012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7807
7808 * config.h.in: Add HAVE_ARM_PCS_VFP.
7809
05c2c961
RMG
78102012-05-08 Roland Mc Grath <roland@hack.frob.com>
7811
bcfe3a54
ST
7812 [BZ #13979]
7813 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7814 checking but the checks are disabled for any reason.
05c2c961 7815
4b30f61a
L
78162012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7817
7818 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7819 and ELF64_R_TYPE with ELFW(R_TYPE).
7820
eee2bc67
JM
78212012-05-08 Joseph Myers <joseph@codesourcery.com>
7822
7ea5391a
JM
7823 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7824 (ulimit): Likewise.
7825
eee2bc67
JM
7826 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7827 (settimeofday): Likewise.
7828
abb66a67
MF
78292012-05-08 Mike Frysinger <vapier@gentoo.org>
7830
7831 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7832 a struct th_u2 inside the union, and move tu_block/tu_code into
7833 a new th_u3 union of tu_block/tu_code inside of that. Move
7834 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7835 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7836 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7837 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7838 (th_stuff): Change to th_u1.tu_stuff.
7839 (th_data): Define.
7840 (th_msg): Change to th_u1.th_u2.tu_data.
7841
7f18b530
DM
78422012-05-07 David S. Miller <davem@davemloft.net>
7843
05760585
DM
7844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7845
7f18b530
DM
7846 [BZ #14074]
7847 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7848 (SETUP_PIC_REG): Use it.
7849 (SETUP_PIC_REG_LEAF): Use it.
7850
495fd99f
JM
78512012-05-07 Joseph Myers <joseph@codesourcery.com>
7852
7853 [BZ #13885]
7854 [BZ #13923]
7855 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7856 USE_AS_EXPM1L.
7857 (EXPL_FINITE): Likewise.
7858 (FLDLOG): Likewise.
7859 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7860 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7861 e_expl.S.
7862 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7863 USE_AS_EXPM1L.
7864 (EXPL_FINITE): Likewise.
7865 (FLDLOG): Likewise.
7866 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7867 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7868 e_expl.S.
7869 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7870 test of -max_value argument for long double.
7871 * sysdeps/i386/fpu/libm-test-ulps: Update.
7872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7873
6693d694
DM
78742012-05-06 David S. Miller <davem@davemloft.net>
7875
7876 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7877 quad soft-float symbols whose references which are compiler
7878 generated.
7879 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7880
6c23e11c
JM
78812012-05-06 Joseph Myers <joseph@codesourcery.com>
7882
d8b82cad
JM
7883 [BZ #13884]
7884 [BZ #13914]
7885 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7886 USE_AS_EXP10L.
7887 (EXPL_FINITE): Likewise.
7888 (FLDLOG): Likewise.
7889 (c0): Likewise.
7890 (c1): Likewise.
7891 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7892 Adjust comments for base varying.
7893 (__expl_finite): Change alias to EXPL_FINITE.
7894 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7895 e_expl.S.
7896 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7897 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7898 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7899 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7900 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7901 USE_AS_EXP10L.
7902 (EXPL_FINITE): Likewise.
7903 (FLDLOG): Likewise.
7904 (c0): Likewise.
7905 (c1): Likewise.
7906 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7907 Adjust comments for base varying.
7908 (__expl_finite): Change alias to EXPL_FINITE.
7909 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7910 tests for bugs.
7911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7912
6c23e11c
JM
7913 [BZ #14064]
7914 * math/libm-test.inc (check_float_internal): Correct ulp
7915 calculation for subnormal expected results.
7916
29ba805c
AJ
79172012-05-06 Andreas Jaeger <aj@suse.de>
7918
7919 * Makeconfig (+math-flags): New, set to -frounding-math.
7920 (+cflags): Add +math-flags so that all of glibc gets compiled with
7921 it.
7922
7923 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7924
7b17aeda
JM
79252012-05-05 Joseph Myers <joseph@codesourcery.com>
7926
5779f134
JM
7927 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7928 Disable one test.
7929
41498f4d
JM
7930 [BZ #13787]
7931 [BZ #13922]
7932 [BZ #14036]
7933 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7934 (__ieee754_expl): Allow for and saturate large arguments.
7935 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7936 (u_threshold): Likewise.
7937 (__exp): Call __ieee754_exp before checking for overflow and
7938 underflow.
7939 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7940 (u_threshold): Likewise.
7941 (__expf): Call __ieee754_expf before checking for overflow and
7942 underflow.
7943 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7944 (u_threshold): Likewise.
7945 (__expl): Call __ieee754_expl before checking for overflow and
7946 underflow.
7947 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7948 (__ieee754_expl): Allow for and saturate large arguments.
7949 * math/libm-test.inc (exp_test): Add another test. Do not allow
7950 missing overflow exception on overflow.
7951 (expm1_test): Do not allow missing overflow exception on overflow.
7952
6698b8bf
JM
7953 * sysdeps/i386/fpu/e_expl.c: Move to ...
7954 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7955 rather than using inline asm.
7956 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7957 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7958 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7959
7b17aeda
JM
7960 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7961 (nice): Likewise.
7962 (poll): Likewise.
7963 (signal): Likewise.
7964 (time): Likewise.
7965 (times): Likewise.
7966
f7c85819
JM
79672012-05-04 Joseph Myers <joseph@codesourcery.com>
7968
7969 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7970 sysdeps/unix/common/syscalls.list.
7971 (fchmod): Likewise.
7972 (fchown): Likewise.
7973 (ftruncate): Likewise.
7974 (getrusage): Likewise.
7975 (gettimeofday): Likewise.
7976 (setpgid): Likewise.
7977 (setregid): Likewise.
7978 (setreuid): Likewise.
7979 (sigaction): Likewise.
7980 (truncate): Likewise.
7981 (vhangup): Likewise.
7982 * sysdeps/unix/common/syscalls.list: Remove file.
7983 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7984 * sysdeps/unix/sysv/linux/Implies: Likewise.
7985
336270d0
L
79862012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7987
7988 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7990 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7991 Moved to ...
7992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7993 Here.
7994 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7995 to ...
7996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7997 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7998 to ...
7999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
8000 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
8001 to ...
8002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
8003 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
8004 to ...
8005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
8006 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
8007 to ...
8008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
8009 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
8010 to ...
8011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
8012 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
8013 to ...
8014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8015 Here.
8016 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
8017 to ...
8018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
8019 Here.
8020 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
8021 to ...
8022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
8023 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
8024 Moved to ...
8025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
8026 Here.
8027 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
8028 to ...
8029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
8030
d128e450
JM
80312012-05-04 Joseph Myers <joseph@codesourcery.com>
8032
fa8ee516
JM
8033 * sysdeps/unix/common/bits/dirent.h: Remove file.
8034 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8035
d128e450
JM
8036 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
8037 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
8038 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
8039 * sysdeps/unix/bsd/isatty.c: Likewise.
8040 * sysdeps/unix/bsd/tcdrain.c: Likewise.
8041 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
8042 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
8043
ff8faaf0 80442012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 8045
62881be4 8046 [BZ #13563]
31dc8730
AZ
8047 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
8048 long double comparison inaccuracies.
8049 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8051
6fef930c
AS
80522012-05-04 Andreas Schwab <schwab@linux-m68k.org>
8053
8054 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
8055 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
8056
8f203e6c
JM
80572012-05-04 Joseph Myers <joseph@codesourcery.com>
8058
8059 [BZ #14049]
8060 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
8061 nonzero digits before rounding a hex value.
8062 * stdlib/tst-strtod.c (tests): Add another test.
8063
5197d9c2
AK
80642012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8065
8066 * sysdeps/s390/fpu/libm-test-ulps: Update.
8067
f0c1dedf
AJ
80682012-05-03 Andreas Jaeger <aj@suse.de>
8069
8070 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
8071 does not get optimized out.
8072 (malloc_opt_barrier): New.
8073
a65ef2ae 80742012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 8075 Roland McGrath <roland@hack.frob.com>
a65ef2ae 8076
2b942cb7 8077 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 8078 intermediate file deletion.
2b942cb7 8079 (generated): Add .symlist files.
a65ef2ae 8080
54b71e02
JM
80812012-05-03 Joseph Myers <joseph@codesourcery.com>
8082
8083 [BZ #13775]
8084 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
8085 Redirect under this condition.
8086 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8087 [__USE_GNU] (__dprintf_chk): Not under this condition.
8088 [__USE_GNU] (__vdprintf_chk): Likewise.
8089 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
8090 under this condition.
8091 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8092 [__USE_XOPEN2K8] (dprintf): Define under this condition.
8093 [__USE_XOPEN2K8] (vdprintf): Likewise.
8094 [__USE_GNU] (__dprintf_chk): Not under this condition.
8095 [__USE_GNU] (__vdprintf_chk): Likewise.
8096 [__USE_GNU] (dprintf): Likewise.
8097 [__USE_GNU] (vdprintf): Likewise.
8098
d3dfcc41
RM
80992012-05-03 Roland McGrath <roland@hack.frob.com>
8100
8101 * elf/Makefile (common-generated): Set this instead of generated for
8102 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
8103 $(all-built-dso)-derived lists.
8104
7ac30cc5
AJ
81052012-05-03 Andreas Jaeger <aj@suse.de>
8106
0c51e550
AJ
8107 * sysdeps/i386/fpu/libm-test-ulps: Update.
8108
7ac30cc5
AJ
8109 * FAQ: Removed.
8110 * FAQ.in: Likewise.
8111 * scripts/gen-FAQ.pl: Likewise.
8112 * manual/install.texi (Installation): Point to online location of
8113 FAQ.
8114 * Makefile (files-for-dist): Remove FAQ.
8115 (FAQ): Remove.
8116
d4c2917f
AM
81172012-05-02 Allan McRae <allan@archlinux.org>
8118
8119 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
8120 (LDFLAGS-reldepmod5.so): Likewise.
8121 (LDFLAGS-reldep6mod1.so): Likewise.
8122 (LDFLAGS-reldep6mod4.so): Likewise.
8123 (LDFLAGS-reldep8mod3.so): Likewise.
8124 (LDFLAGS-unload4mod1.so): Likewise.
8125 (LDFLAGS-unload4mod2.so): Likewise.
8126 (LDFLAGS-tst-initorder): Likewise.
8127 (LDFLAGS-tst-initordera2.so): Likewise.
8128 (LDFLAGS-tst-initordera3.so): Likewise.
8129 (LDFLAGS-tst-initordera4.so): Likewise.
8130 (LDFLAGS-tst-initorderb2.so): Likewise.
8131 (LDFLAGS-noload): Likewise.
8132 (LDFLAGS-next): Likewise.
8133 (LDFLAGS-order2mod1.so): Likewise.
8134 (LDFLAGS-order2mod2.so): Likewise.
8135 (LDFLAGS-tst-initorder2): Likewise.
8136 (LDFLAGS-tst-initorder2a.so): Likewise.
8137 (LDFLAGS-tst-initorder2b.so): Likewise.
8138 (LDFLAGS-tst-initorder2c.so): Likewise.
8139 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8140
d77f993f
DM
81412012-05-02 David S. Miller <davem@davemloft.net>
8142
8143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8144
171a70b4
PP
81452012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8146
8147 [BZ #14055]
8148 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8149
0be196ad
AJ
81502012-05-02 Andreas Jaeger <aj@suse.de>
8151
8152 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8153 since we manipulate rounding mode.
8154 (CPPFLAGS-test-idouble.c): Likewise.
8155 (CPPFLAGS-test-ifloat.c): Likewise.
8156 (CFLAGS-test-ldouble.c): Likewise.
8157 (CFLAGS-test-double.c): Likewise.
8158 (CFLAGS-test-float.c): Likewise.
8159 (CFLAGS-test-misc.c): Likewise.
8160 (CFLAGS-test-test-fenv.c): Likewise.
8161
4f9d04aa
AZ
81622012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8163
2b942cb7
RM
8164 [BZ #2550]
8165 [BZ #2570]
8166 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8167 comparisons to determine direction to adjust input.
4f9d04aa 8168
82a79e7d
RM
81692012-05-01 Roland McGrath <roland@hack.frob.com>
8170
f5a01ca9
RM
8171 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8172 output to the target.
8173
90fe4186
RM
8174 * scripts/localplt.awk: New file.
8175 * elf/Makefile ($(objpfx)check-localplt): Target removed.
8176 (check-localplt-CFLAGS): Variable removed.
8177 ($(all-built-dso:=.jmprel)): New static pattern rule.
8178 (generated): Add those targets.
8179 (localplt-built-dso): New variable.
8180 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8181
8182 * elf/check-localplt.c: File removed.
8183
82397ed6
RM
8184 * scripts/check-execstack.awk: New file.
8185 * elf/Makefile ($(objpfx)check-execstack): Target removed.
8186 (check-execstack-CFLAGS): Variable removed.
8187 ($(objpfx)check-execstack.h): Target removed.
8188 ($(objpfx)execstack-default): New target.
8189 (generated): Add that instead of check-execstack.h.
8190 ($(all-built-dso:=.phdr)): New static pattern rule.
8191 (generated): Add those targets.
8192 * elf/check-execstack.c: File removed.
8193
82a79e7d
RM
8194 * scripts/check-textrel.awk: New file.
8195 * elf/Makefile ($(objpfx)check-textrel): Target removed.
8196 (check-textrel-CFLAGS): Variable removed.
8197 (all-built-dso): Use := to define.o
8198 ($(all-built-dso:=.dyn)): New static pattern rule.
8199 (generated): Add those targets.
8200 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8201 * config.make.in (READELF): New substituted variable.
8202 * elf/check-textrel.c: File removed.
8203
62fde54f 82042012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 8205
615605c9
JM
8206 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8207 allow.
8208 * conform/data/ctype.h-data [C99-based standards] (isblank):
8209 Expect function.
8210 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8211 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8212 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8213 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8214 Specify type. Require positive value.
8215 (EILSEQ): Likewise.
8216 (ERANGE): Likewise.
8217 [ISO || POSIX] (EILSEQ): Do not expect.
8218 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8219 Specify type. Require positive value.
8220 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8221 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8222 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8223 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8224 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8225 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8226 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8227 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8228 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8229 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8230 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8231 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8232 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8233 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8234 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8235 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8236 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8237 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8238 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8239 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8240 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8241 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8242 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8243 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8244 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8245 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8246 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8247 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8248 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8249 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8250 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8251 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8252 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8253 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8254 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8255 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8256 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8257 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8258 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8259 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8260 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8261 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8262 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8263 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8264 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8265 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8266 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8267 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8268 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8269 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8270 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8271 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8272 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8273 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8274 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8275 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8276 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8277 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8278 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8279 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8280 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8281 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8282 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8283 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8284 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8285 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8286 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8287 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8288 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8289 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8290 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8291 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8292 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8293 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8294 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8295 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8296 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8297 Require >= 2.
8298 (FLT_ROUNDS): Expect as macro, not constant.
8299 (FLT_MANT_DIG): Use macro-int-constant.
8300 (DBL_MANT_DIG): Likewise.
8301 (LDBL_MANT_DIG): Likewise.
8302 (FLT_DIG): Likewise.
8303 (DBL_DIG): Likewise.
8304 (LDBL_DIG): Likewise.
8305 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8306 (DBL_MIN_EXP): Likewise.
8307 (LDBL_MIN_EXP): Likewise.
8308 (FLT_MAX_EXP): Use macro-int-constant.
8309 (DBL_MAX_EXP): Likewise.
8310 (LDBL_MAX_EXP): Likewise.
8311 (FLT_MAX_10_EXP): Likewise.
8312 (DBL_MAX_10_EXP): Likewise.
8313 (LDBL_MAX_10_EXP): Likewise.
8314 (FLT_MAX): Use macro-constant.
8315 (DBL_MAX): Likewise.
8316 (LDBL_MAX): Likewise.
8317 (FLT_EPSILON): Use macro-constant. Give upper bound.
8318 (DBL_EPSILON): Likewise.
8319 (LDBL_EPSILON): Likewise.
8320 (FLT_MIN): Likewise.
8321 (DBL_MIN): Likewise.
8322 (LDBL_MIN): Likewise.
8323 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8324 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8325 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8326 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8327 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8328 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8329 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8330 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8331 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8332 [ISO11] (FLT_TRUE_MIN): Likewise.
8333 [ISO11] (LDBL_TRUE_MIN): Likewise.
8334 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8335 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8336 (SCHAR_MIN): Use macro-int-constant. Specify type.
8337 (SCHAR_MAX): Likewise.
8338 (UCHAR_MAX): Likewise.
8339 (CHAR_MIN): Likewise.
8340 (CHAR_MAX): Likewise.
8341 (MB_LEN_MAX): Use macro-int-constant.
8342 (SHRT_MIN): Use macro-int-constant. Specify type.
8343 (SHRT_MAX): Likewise.
8344 (USHRT_MAX): Likewise.
8345 (INT_MAX): Likewise.
8346 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8347 bound negative.
8348 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8349 bound with "U".
8350 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8351 bound with "L".
8352 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8353 bound negative. Suffix upper bound with "L".
8354 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8355 bound with "UL".
8356 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8357 Specify type.
8358 [C99-based standards] (LLONG_MAX): Likewise.
8359 [C99-based standards] (ULLONG_MAX): Likewise.
8360 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8361 == 0.
8362 [ISO11] (max_align_t): Require type.
8363 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8364
c9140a62
JM
8365 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8366 from $CFLAGS, without defining away __attribute__ calls.
8367 (checknamespace): Use $CFLAGS_namespace.
8368
9af0bf29
JM
8369 * conform/conformtest.pl (@keywords): Only include C99 keywords
8370 for standards based on C99 or C11.
8371
343222a2
JM
8372 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8373 Disable tests.
8374 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8375 UNIX98]: Likewise.
8376
661f8cf0
JM
8377 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8378 usability of symbols in #if.
8379
ee74b9cb
JM
8380 * conform/conformtest.pl: If macro or constant types start
8381 "promoted:", expect the symbol to be of the following type
8382 promoted by the integer promotions.
62fde54f 8383
aafc49b3
JM
8384 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8385 in one place. Also handle "macro-constant".
8386
fefdf574
JM
8387 * conform/conformtest.pl: Only accept expected macro values with
8388 "==". Parse all "macro" lines in one place.
8389 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8390
f2d922fe
JM
8391 * conform/conformtest.pl: Handle braced types on "constant" lines
8392 instead of handling "typed-constant".
8393 * conform/data/signal.h-data: Use "constant" instead of
8394 "typed-constant".
8395
d22956c9
JM
8396 * conform/conformtest.pl: Handle "optional-" at start of lines in
8397 one place rather than duplicating several cases. Handle each
8398 format of "macro" line with initial "optional-".
8399
028e2e38
JM
8400 * conform/conformtest.pl: Only accept expected constant or
8401 optional-constant values with "==". Parse all "constant" lines in
8402 one place. Parse all "optional-constant" lines in one place.
8403 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8404 * conform/data/fmtmsg.h-data: Likewise.
8405 * conform/data/netinet/in.h-data: Likewise.
8406 * conform/data/tar.h-data: Likewise.
8407 * conform/data/limits.h-data: Use "==" form on "constant" and
8408 "optional-constant" lines.
8409
1b8f2850
JM
8410 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8411 Use -std=c99 for XOPEN2K.
8412 (@knownproblems): Remove.
8413 (newtoken): Don't check %isknown.
8414
a05a144b
JM
8415 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8416 Do not expect macro.
8417 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8418 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8419 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8420 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8421 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8422 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8423 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8424 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8425 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8426 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8427 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8428 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8429 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8430 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8431 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8432 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8433 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8434 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8435 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8436 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8437 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8438 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8439 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8440 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8441 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8442 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8443 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8444 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8445 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8446 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8447 [XPG3] (acosh): Likewise.
8448 [XPG3] (asinh): Likewise.
8449 [XPG3] (atanh): Likewise.
8450 [XPG3] (cbrt): Likewise.
8451 [XPG3] (expm1): Likewise.
8452 [XPG3] (ilogb): Likewise.
8453 [XPG3] (log1p): Likewise.
8454 [XPG3] (logb): Likewise.
8455 [XPG3] (nextafter): Likewise.
8456 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8457 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8458 [XPG3] (remainder): Likewise.
8459 [XPG3] (rint): Likewise.
8460 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8461 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8462 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8463 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8464 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8465 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8466 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8467 [UNIX98 || XOPEN2K] (scalb): Expect.
8468 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8469 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8470 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8471 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8472 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8473 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8474 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8475 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8476 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8477 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8478 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8479 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8480 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8481 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8482 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8483 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8484 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8485 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8486 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8487 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8488 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8489 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8490 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8491 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8492 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8493 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8494 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8495 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8496 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8497 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8498 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8499 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8500 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8501 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8502 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8503 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8504 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8505 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8506 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8507 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8508 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8509 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8510 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8511 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8512 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8513 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8514 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8515 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8516 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8517 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8518 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8519 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8520 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8521 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8522 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8523 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8524 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8525 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8526 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8527 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8528 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8529 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8530 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8531 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8532 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8533 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8534 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8535 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8536 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8537 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8538 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8539 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8540 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8541 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8542 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8543 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8544 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8545 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8546 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8547 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8548 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8549 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8550 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8551 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8552 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8553 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8554 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8555 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8556 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8557 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8558 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8559 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8560 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8561 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8562 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8563 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8564 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8565 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8566 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8567 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8568 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8569 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8570 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8571 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8572 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8573 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8574 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8575 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8576 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8577 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8578 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8579 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8580 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8581 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8582 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8583 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8584 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8585 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8586 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8587 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8588 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8589 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8590 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8591 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8592 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8593 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8594 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8595 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8596 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8597 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8598 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8599 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8600 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8601 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8602 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8603 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8604 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8605
73c5ebe3
JM
8606 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8607 _XOPEN_SOURCE_EXTENDED for XPG4.
8608
39c33b6c
JM
8609 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8610
62fde54f
JM
8611 * Makeconfig (localtime): Remove variable.
8612 (inst_localtime-file): Likewise.
8613
0741d64c
AS
86142012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8615
8616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8617 Update.
8618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8619 Update.
8620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8621 Update.
8622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8623 Update.
8624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8625 Update.
8626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8627 Update.
8628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8629 Update.
8630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8631 Update.
8632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8633 Update.
8634
7cb029ee
JM
86352012-05-01 Joseph Myers <joseph@codesourcery.com>
8636
8637 [BZ #2550]
8638 [BZ #2570]
8639 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8640 comparisons to determine direction to adjust input.
8641 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8642 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8643 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8644 Likewise.
8645 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8646 Likewise.
8647 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8648 Likewise.
8649 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8650 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8651 Likewise.
8652 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8653 Likewise.
8654 * math/libm-test.inc (nexttoward_test): Add more tests.
8655
412bd966
AS
86562012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8657
8658 [BZ #14040]
8659 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8660 in version GLIBC_2.1, not GLIBC_2.0.
8661 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8662 Likewise.
8663
9568c0c2
JM
86642012-04-30 Joseph Myers <joseph@codesourcery.com>
8665
adfbc8ac
JM
8666 [BZ #13942]
8667 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8668 (1 - x) * (1 + x).
8669 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8670 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8671 * math/libm-test.inc (acos_test): Add more tests.
8672 (asin_test): Likewise.
8673 * sysdeps/i386/fpu/libm-test-ulps: Update.
8674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8675
5ba3cc69
JM
8676 [BZ #14034]
8677 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8678 of square root.
8679 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8680 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8681 * math/libm-test.inc (acos_test_tonearest): New function.
8682 (acos_test_towardzero): Likewise.
8683 (acos_test_downward): Likewise.
8684 (acos_test_upward): Likewise.
8685 (asin_test_tonearest): Likewise.
8686 (asin_test_towardzero): Likewise.
8687 (asin_test_downward): Likewise.
8688 (asin_test_upward): Likewise.
8689 (main): Call the new functions.
8690 * sysdeps/i386/fpu/libm-test-ulps: Update.
8691 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8692
9568c0c2
JM
8693 [BZ #13884]
8694 [BZ #13924]
8695 * math/e_exp10.c: Include <float.h>.
8696 (__ieee754_exp10): Handle underflow here rather than multiplying
8697 large negative argument by M_LN10.
8698 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8699 of __ieee754_expf.
8700 * math/e_exp10l.c: Include <float.h>.
8701 (__ieee754_exp10l): Handle underflow here rather than multiplying
8702 large negative argument by M_LN10l.
8703 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8704 spurious overflow exception on underflow.
8705
5ac3ea17
MP
87062012-04-29 Marek Polacek <polacek@redhat.com>
8707
8708 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8709 (__fortify_function): New macro.
8710 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8711 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8712 __extern_always_inline.
8713 * libio/bits/stdio2.h: Likewise.
8714 * libio/bits/stdio.h: Likewise.
8715 * string/string.h: Likewise.
8716 * string/bits/string3.h: Likewise.
8717 * include/stdio.h: Likewise.
8718 * stdlib/bits/stdlib.h: Likewise.
8719 * stdlib/stdlib.h: Likewise.
8720 * rt/bits/mqueue2.h: Likewise.
8721 * rt/mqueue.h: Likewise.
8722 * posix/bits/unistd.h: Likewise.
8723 * posix/unistd.h: Likewise.
8724 * io/bits/poll2.h: Likewise.
8725 * io/bits/fcntl2.h: Likewise.
8726 * io/fcntl.h: Likewise.
8727 * io/sys/poll.h: Likewise.
8728 * misc/bits/syslog.h: Likewise.
8729 * misc/bits/syslog-ldbl.h: Likewise.
8730 * misc/sys/syslog.h: Likewise.
8731 * socket/bits/socket2.h: Likewise.
8732 * socket/sys/socket.h: Likewise.
8733 * debug/tst-chk1.c: Likewise.
8734 * wcsmbs/bits/wchar2.h: Likewise.
8735 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8736 * wcsmbs/wchar.h: Likewise.
8737
ecf0ebfb
AJ
87382012-04-29 Andreas Jaeger <aj@suse.de>
8739
8740 * Makerules (tests): Remove enable-check-abi protection.
8741 (check-abi-warn): Remove.
8742 (check-abi-%): Remove check-abi-warn usage.
8743
8744 * configure.in: Remove check-abi configure option.
8745 * configure: Regenerated.
8746 * config.make.in (enable-check-abi): Remove.
8747
6d5c57fa
AS
87482012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8749
24c5d07e 8750 [BZ #14033]
ded5180a
AS
8751 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8752 double functions to double *_finite functions.
8753
7e0d315d
AS
8754 [BZ #13941]
8755 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8756 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8757 LDBL_MIN_EXP.
8758 * stdio-common/Makefile (tests): Add tst-sprintf3.
8759 * stdio-common/tst-sprintf3.c: New file.
8760
6d5c57fa
AS
8761 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8762 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8763
0749ff8b
JM
87642012-04-28 Joseph Myers <joseph@codesourcery.com>
8765
8766 * conform/conformtest.pl: Remove duplicate typed-constant
8767 handling.
8768
8dbd5d7b
DM
87692012-04-28 David S. Miller <davem@davemloft.net>
8770
8771 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8772 (check-abi-%): Remove AWK script prerequisite and explicit
8773 abilist directory.
8774 (check-abi): Rewrite to just diff the symlist with the abilist.
8775 (config-tls, config-abi-config): Delete, no longer used.
8776 (update-abi-%): Remove AWK script and explicit abilist directory.
8777 (update-abi): Rewrite to simply compare and conditionally copy the
8778 symlist and the sysdep abilist file. Remove update-abi-config
8779 checks.
8780 * abilist/ld.abilist: Remove.
8781 * abilist/libBrokenLocale.abilist: Remove.
8782 * abilist/libanl.abilist: Remove.
8783 * abilist/libcrypt.abilist: Remove.
8784 * abilist/libdl.abilist: Remove.
8785 * abilist/librt.abilist: Remove.
8786 * abilist/libthread_db.abilist: Remove.
8787 * abilist/libutil.abilist: Remove.
8788 * scripts/extract-abilist.awk: Remove.
8789 * scripts/merge-abilist.awk: Remove.
8790 * sysdeps/generic/libcidn.abilist: New file.
8791 * sysdeps/generic/libnss_compat.abilist: New file.
8792 * sysdeps/generic/libnss_db.abilist: New file.
8793 * sysdeps/generic/libnss_dns.abilist: New file.
8794 * sysdeps/generic/libnss_files.abilist: New file.
8795 * sysdeps/generic/libnss_hesiod.abilist: New file.
8796 * sysdeps/generic/libnss_nis.abilist: New file.
8797 * sysdeps/generic/libnss_nisplus.abilist: New file.
8798 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8799 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8800 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8801 file.
8802 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8803 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8804 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8805 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8806 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8807 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8808 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8809 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8810 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8811 file.
8812 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8813 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8814 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8815 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8816 file.
8817 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8818 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8819 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8820 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8821 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8822 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8823 file.
8824 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8825 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8826 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8827 file.
8828 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8830 New file.
8831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8832 New file.
8833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8834 New file.
8835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8836 New file.
8837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8838 New file.
8839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8840 New file.
8841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8842 New file.
8843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8844 New file.
8845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8846 New file.
8847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8848 New file.
8849 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8850 New file.
8851 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8852 New file.
8853 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8854 New file.
8855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8856 file.
8857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8858 New file.
8859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8860 New file.
8861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8862 file.
8863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8864 New file.
8865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8866 New file.
8867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8868 file.
8869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8870 New file.
8871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8872 New file.
8873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8874 New file.
8875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8876 New file.
8877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8878 New file.
8879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8880 New file.
8881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8883 file.
8884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8885 New file.
8886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8887 file.
8888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8889 file.
8890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8891 file.
8892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8893 file.
8894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8895 file.
8896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8897 New file.
8898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8899 file.
8900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8901 file.
8902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8903 New file.
8904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8905 file.
8906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8908 file.
8909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8910 New file.
8911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8912 file.
8913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8914 file.
8915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8916 file.
8917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8918 file.
8919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8920 file.
8921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8922 New file.
8923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8924 file.
8925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8926 file.
8927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8928 New file.
8929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8930 file.
8931 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8932 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8933 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8934 file.
8935 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8936 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8937 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8938 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8939 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8940 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8941 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8942 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8943 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8944 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8947 file.
8948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8949 New file.
8950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8951 file.
8952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8953 file.
8954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8955 file.
8956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8957 file.
8958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8959 file.
8960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8961 New file.
8962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8963 New file.
8964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8965 file.
8966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8967 New file.
8968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8969 file.
8970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8972 file.
8973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8974 New file.
8975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8976 file.
8977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8978 file.
8979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8980 file.
8981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8982 file.
8983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8984 file.
8985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8986 New file.
8987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8988 New file.
8989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8990 file.
8991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8992 New file.
8993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8994 file.
8995
41d73a1b
JM
89962012-04-28 Joseph Myers <joseph@codesourcery.com>
8997
8998 * conform/conformtest.pl: Fix typo in handling typed-constant from
8999 allow-header.
9000
28aeeda4
JM
90012012-04-27 Joseph Myers <joseph@codesourcery.com>
9002
adae8f5e
JM
9003 * README: Cut down references to pre-2.6 Linux kernels and
9004 Linuxthreads. Update lists of configurations in libc and ports
9005 and sort alphabetically. Say "or newer" with Linux kernel version
9006 requirements.
9007
28aeeda4
JM
9008 * config.h.in [IS_IN_build]: Allow compiling without optimization.
9009
a462cb63
RA
90102012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9011
9012 [BZ #887]
9013 * math/libm-test.inc (logb_test_downward): New test to expose
9014 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
9015 rounding mode.
9016
6ad3493e
JM
90172012-04-27 Joseph Myers <joseph@codesourcery.com>
9018
9019 [BZ #14027]
9020 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
9021 to be done.
9022 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
9023 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
9024
2ce4f015
JM
90252012-04-26 Joseph Myers <joseph@codesourcery.com>
9026
5aeb141a
JM
9027 * sysdeps/unix/i386/brk.S: Remove file.
9028 * sysdeps/unix/i386/dl-brk.S: Likewise.
9029 * sysdeps/unix/i386/pipe.S: Likewise.
9030 * sysdeps/unix/i386/sigreturn.S: Likewise.
9031 * sysdeps/unix/i386/syscall.S: Likewise.
9032 * sysdeps/unix/i386/vfork.S: Likewise.
9033 * sysdeps/unix/i386/wait.S: Likewise.
9034
7143acae
JM
9035 * sysdeps/unix/common/tcsendbrk.c: Move to ...
9036 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
9037
2ce4f015
JM
9038 * configure.in (arm*-none*): Do not allow without
9039 --enable-hacker-mode.
9040 (netbsd*): Remove case setting base_os.
9041 (386bsd*): Likewise.
9042 (freebsd*): Likewise.
9043 (bsdi*): Likewise.
9044 (osf*): Likewise.
9045 (sunos*): Likewise.
9046 (ultrix*): Likewise.
9047 (newsos*): Likewise.
9048 (dynix*): Likewise.
9049 (*bsd*): Likewise.
9050 (sysv*): Likewise.
9051 (isc*): Likewise.
9052 (esix*): Likewise.
9053 (sco*): Likewise.
9054 (minix*): Likewise.
9055 (irix4*): Likewise.
9056 (irix6*): Likewise.
9057 (solaris[2-9]*): Likewise.
9058 (none): Likewise.
9059 * configure: Regenerated.
9060
0ac229c8
AZ
90612012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9062
9063 [BZ #11521]
9064 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
9065 overflow or cancellation in calculating denominator.
9066 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
9067 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
9068 down expression to avoid unexpected rounding in newer GCCs.
9069 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
9070
33f244f4
DM
90712012-04-26 David S. Miller <davem@davemloft.net>
9072
9073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
9074 long-double compat symbols.
9075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
9079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
9083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
9086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9088
cfa1f3e8
DM
90892012-04-25 David S. Miller <davem@davemloft.net>
9090
9091 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
9092 HWCAP_* values only after the memory barriers have been defined.
9093 (atomic_full_barrier): Define.
9094 (atomic_read_barrier): Define.
9095 (atomic_write_barrier): Define.
9096
6e236b92
SP
90972012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9098
9099 * shlib-versions: Add libgcc_s version information.
9100 * sysdeps/generic/libgcc_s.h: Remove.
9101 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
9102 libgcc_s.h.
9103 * sysdeps/gnu/unwind-resume.c: Likewise.
9104 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
9105
aab39a09
DM
91062012-04-25 David S. Miller <davem@davemloft.net>
9107
9108 * sysdeps/unix/sparc/brk.S: Delete.
9109 * sysdeps/unix/sparc/dl-brk.S: Delete.
9110 * sysdeps/unix/sparc/pipe.S: Delete.
9111 * sysdeps/unix/sparc/sysdep.S: Delete.
9112 * sysdeps/unix/sparc/sysdep.h: Delete.
9113 * sysdeps/unix/sparc/vfork.S: Delete.
9114 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
9115 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
9116 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
9117 ret_ERRVAL, r0, r1, MOVE): Define.
9118 (JUMPTARGET): Remove.
9119 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
9120 sysdeps/unix/sparc/sysdep.h
9121 (ENTRY, END): Remove.
9122 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9123
a3cc4f48
JM
91242012-04-25 Joseph Myers <joseph@codesourcery.com>
9125
2ed8cda2
JM
9126 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
9127 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
9128 -DIS_IN_build.
9129
35d76d59
JM
9130 * timezone/README: Update upstream location and email address for
9131 tzcode and tzdata.
9132 * timezone/zdump.c: Update from tzcode 2012b.
9133 * timezone/zic.c: Likewise.
9134
a3cc4f48
JM
9135 * configure.in (libc_cv_as_needed): Remove test.
9136 * configure: Regenerated.
9137 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
9138 conditional definition.
9139 [$(have-as-needed) != yes] (no-as-needed): Likewise.
9140 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9141 * config.make.in (have-as-needed): Remove variable.
9142
ceab42c3
SP
91432012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9144 Paul Pluzhnikov <ppluzhnikov@google.com>
9145
9146 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9147 strings correctly.
9148
3ce2865f
CLT
91492012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
9150
9151 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9152 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9153 * sysdeps/sh/strlen.S: Likewise.
9154
f37e0d68
JM
91552012-04-24 Joseph Myers <joseph@codesourcery.com>
9156
ae186e9a
JM
9157 * sysdeps/unix/fork.S: Remove file.
9158 * sysdeps/unix/i386/fork.S: Likewise.
9159 * sysdeps/unix/sparc/fork.S: Likewise.
9160
b96914af
JM
9161 * sysdeps/unix/system.c: Remove file.
9162 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9163
f37e0d68
JM
9164 * sysdeps/unix/getegid.S: Remove file.
9165 * sysdeps/unix/geteuid.S: Likewise.
9166
87ef29ca
RM
91672012-04-24 Roland McGrath <roland@hack.frob.com>
9168
83bcd236
RM
9169 * scripts/check-localplt.awk: New file.
9170 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9171 of diff.
9172 * scripts/data/localplt-generic.data: Add a comment.
9173
87ef29ca
RM
9174 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9175 NODE when __dir_mkfile failed.
9176 * sysdeps/mach/hurd/symlinkat.c: Likewise.
9177 Reported by Ludovic Courtès <ludo@gnu.org>.
9178
e5a6e567
AJ
91792012-04-24 Andreas Jaeger <aj@suse.de>
9180
9181 * Makerules (common-clean): Also remove gen-as-const-headers
9182 files.
9183
c1820385
JM
91842012-04-24 Joseph Myers <joseph@codesourcery.com>
9185
9186 * Makerules (native-compile): Do not change working directory for
9187 build. Use $(OUTPUT_OPTION) in command.
9188 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9189
94e02fc4
AZ
91902012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9191
9192 [BZ #13886]
9193 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9194 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9195 * math/libm-test.inc (floor_test): Add more tests.
9196 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9197
3a533ca3
JM
91982012-04-24 Joseph Myers <joseph@codesourcery.com>
9199
940ab4b3
JM
9200 * sysdeps/unix/getdents.c: Remove file.
9201 * sysdeps/unix/sysv/getdents.c: Likewise.
9202 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9203
90e037bd
JM
9204 * sysdeps/unix/syscalls.list (madvise): Add syscall from
9205 sysdeps/unix/mman/syscalls.list.
9206 (mmap): Likewise.
9207 (mprotect): Likewise.
9208 (msync): Likewise.
9209 (munmap): Likewise.
9210 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9211 * sysdeps/unix/mman/syscalls.list: Remove.
9212 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9213
3a533ca3
JM
9214 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9215 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9216 * configure: Regenerated.
9217 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9218 $(libgcc_s_suffix).
9219 * config.make.in (libgcc_s_suffix): Remove variable.
9220
1ad743de
JM
92212012-04-23 Joseph Myers <joseph@codesourcery.com>
9222
4ad451e2
JM
9223 * sysdeps/unix/sysv/gethostname.c: Move to ...
9224 * sysdeps/posix/gethostname.c: ... here.
9225
5e37ce39
JM
9226 * sysdeps/unix/execve.S: Remove file.
9227
1ad743de
JM
9228 * sysdeps/unix/_exit.S: Remove file.
9229
4e681b5b
AJ
92302012-04-23 Andreas Jaeger <aj@suse.de>
9231
9232 [BZ #13739]
9233 * manual/Makefile: Remove make dist support, there's no
9234 need for a stand-alone documentation tar ball.
9235 (TEXI2DVI): Define always, it's not in Makeconfig.
9236 (dist): Removed.
9237 (tar-it): Removed.
9238 (edition): Removed.
9239 (glibc-doc-$(edition).tar): Removed
9240 (%.Z): Removed.
9241 (%.gz): Removed.
9242 (%.uu): Removed.
9243 (ETAGS): Remove, it's in Makeconfig.
9244 (move-if-change): Remove, it's in Makeconfig.
9245
c0baea34
PE
92462013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9247
9248 [BZ #13970]
9249 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9250 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9251 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9252 (strtod_l, strtof_l, strtold_l): Remove __wur.
9253 It is not necessarily an error to ignore strtol's return value.
9254 One can reliably look at the stored endptr to decide whether
9255 the number had valid syntax.
9256
7c0616fa
AJ
92572012-04-21 Andreas Jaeger <aj@suse.de>
9258
803cb6b7 9259 [BZ #13739]
7c0616fa
AJ
9260 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9261
b0fe253f
JM
92622012-04-21 Joseph Myers <joseph@codesourcery.com>
9263
9264 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9265 * sysdeps/unix/sysv/Versions: Remove file.
9266
8280f22d
MT
92672012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9268
9269 [BZ #13927]
9270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9271
75ce411f 92722012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
9273
9274 [BZ #7064]
9275 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9276 version from __vm86.
9277
097d59fa
JM
92782012-04-20 Joseph Myers <joseph@codesourcery.com>
9279
a90f3bcb
JM
9280 * sysdeps/unix/common/lxstat.c: Remove file.
9281 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9282
edc7ea78
JM
9283 * sysdeps/unix/sysv/Makefile: Remove file.
9284
cb78c221
JM
9285 * sysdeps/unix/sysv/direct.h: Remove file.
9286
efa6a45f
JM
9287 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9288 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9289 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9290 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9291 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9292 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9293 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9294
9c9f2d0c
JM
9295 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9296
4541c83b
JM
9297 * sysdeps/unix/xmknod.c: Remove file.
9298 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9299
f5d153a0
JM
9300 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9301
aa746595
JM
9302 * sysdeps/unix/sysv/i386/time.S: Remove file.
9303
cce5905e
JM
9304 * sysdeps/unix/fxstat.c: Remove file.
9305 * sysdeps/unix/xstat.c: Likewise.
9306 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9307
37fa3841
JM
9308 * sysdeps/unix/sysv/sigaction.c: Remove file.
9309
ff1962a3
JM
9310 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9311 (sysdep_headers): Remove variable.
9312 [termio.h not in sysdep_headers] (generated): Likewise.
9313 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9314 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9315 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9316 * sysdeps/unix/sysv/tcflow.c: Likewise.
9317 * sysdeps/unix/sysv/tcflush.c: Likewise.
9318 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9319 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9320 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9321 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9322 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9323
e7740d31
JM
9324 * sysdeps/unix/siglist.c: Remove file.
9325
ee06f18b
JM
9326 * sysdeps/unix/getppid.S: Remove file.
9327
097d59fa
JM
9328 * sysdeps/unix/mkdir.c: Remove file.
9329 * sysdeps/unix/rmdir.c: Likewise.
9330
ff3d51ec
AS
93312012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9332
9333 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9334 ERR_MAX value.
9335 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9336 errlist-compat value.
9337
50f81fd7
DM
93382012-04-18 David S. Miller <davem@davemloft.net>
9339
9340 * sysdeps/generic/memcopy.h (reg_char): Delete.
9341 * debug/strcat_chk.c: Use char, not reg_char.
9342 * debug/strcpy_chk.c: Likewise.
9343 * debug/strncat_chk.c: Likewise.
9344 * debug/strncpy_chk.c: Likewise.
9345 * string/memchr.c: Likewise.
9346 * string/memrchr.c: Likewise.
9347 * string/rawmemchr.c: Likewise.
9348 * string/strcat.c: Likewise.
9349 * string/strchr.c: Likewise.
9350 * string/strchrnul.c: Likewise.
9351 * string/strcmp.c: Likewise.
9352 * string/strcpy.c: Likewise.
9353 * string/strncat.c: Likewise.
9354 * string/strncmp.c: Likewise.
9355 * string/strncpy.c: Likewise.
9356
8ff41c46
WS
93572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9358
9359 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9360 __builtin_memcopy is called when src and dest ranges are known to not
9361 overlap.
9362
6b652f46
WS
93632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9364
9365 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9366 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9367 fwd_align_merge macro call.
9368 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9369 bwd_align_merge macro call.
9370 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9371
b282631e
WS
93722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9373
9374 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9375 bwd_align_merge macros.
9376 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9377 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9378 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9379
95aa737c
DM
93802012-04-18 David S. Miller <davem@davemloft.net>
9381
9382 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9383
7a99a614
AJ
93842012-04-18 Andreas Jaeger <aj@suse.de>
9385
9386 [BZ# 6794]
9387 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9388 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9389 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9390
9391 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9392 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9393 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9394
9395 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9396 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9397 Adjust for changed ldbl-128 files.
9398
9399 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9400 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9401 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9402
e5270c23
DM
94032012-04-17 David S. Miller <davem@davemloft.net>
9404
9405 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9406
fb5e92c9
AS
94072012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9408
9409 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9410 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9411 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9412 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9413 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9414 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9415
76da7265
AZ
94162012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9417
9418 [BZ #6794]
9419 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9420 * math/libm-test.inc: Add ilogb errno and exception tests.
9421 * math/w_ilogb.c: New file: ilogb wrapper.
9422 * math/w_ilogbf.c: New file: ilogbf wrapper.
9423 * math/w_ilogbl.c: New file: ilogbl wrapper.
9424 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9425 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9426 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9427 exception being thrown with 0.0 as argument.
9428 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9429 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9430 exception being thrown with 0.0 as argument.
9431 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9432 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9433 exception being thrown with 0.0 as argument.
9434 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9435 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9436 exception being thrown with 0.0 as argument.
9437 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9438 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 9439 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
9440 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9441 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9442 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9443 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9444 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9445 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9446
0396e69d
PB
94472012-04-17 Petr Baudis <pasky@ucw.cz>
9448
9449 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9450 with altivec.
9451
750b5926
MP
94522012-04-16 Marek Polacek <polacek@redhat.com>
9453
9454 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9455
751728a1
MP
94562012-04-16 Marek Polacek <polacek@redhat.com>
9457
9458 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9459 operands of fdivp instruction.
9460
34a27407
L
94612012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9462
9463 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9464 * elf/tst-auditmod3b.c: Likewise.
9465 * elf/tst-auditmod4b.c: Likewise.
9466 * elf/tst-auditmod5b.c: Likewise.
9467 * elf/tst-auditmod6b.c: Likewise.
9468 * elf/tst-auditmod6c.c: Likewise.
9469 * elf/tst-auditmod7b.c: Likewise.
9470 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9471 * sysdeps/x86_64/preconfigure.in: Likewise.
9472 * sysdeps/x86_64/preconfigure: Regenerated.
9473
7e73e17d
L
94742012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9475
9476 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9477 __ILP32__.
9478
c7a6ab72
AB
94792012-04-13 Antoine Balestrat <merkil33@gmail.com>
9480
9481 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9482 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9483
a9e8e0e0
CL
94842012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9485
9486 [BZ #13973]
9487 * locale/iso-639.def: Fix gl language name. Spotted by
9488 Yaron Shahrabani.
9489
ec98af7d
RM
94902012-04-12 Roland McGrath <roland@hack.frob.com>
9491
9492 [BZ #2074]
9493 * libio/libio.h (__io_write_fn): Update comment.
9494
247c3ede
PB
94952012-04-12 Petr Baudis <pasky@ucw.cz>
9496
9497 [BZ #2074]
9498 * stdio.texi (Hook Functions): The user provided writer function
9499 is not allowed to return -1.
9500
55939d6d
DM
95012012-04-11 David S. Miller <davem@davemloft.net>
9502
9503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9504
90020f5a
MF
95052012-04-11 Mike Frysinger <vapier@gentoo.org>
9506
9507 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9508 Add a leading slash to rtkaio.
9509
288f9098
JM
95102012-04-11 Jim Meyering <meyering@redhat.com>
9511
90020f5a
MF
9512 [BZ #11959]
9513 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9514 It is not necessarily an error to ignore fwrite's return
9515 value. One can reliably use ferror to test for errors after
9516 the fact.
288f9098 9517
4be2b570
L
95182012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9519
9520 * bits/types.h (__snseconds_t): New type.
9521 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9522
9523 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9524 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9525 (__SNSECONDS_T_TYPE): Likewise.
9526 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9527 (__SNSECONDS_T_TYPE): Likewise.
9528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9529 (__SNSECONDS_T_TYPE): Likewise.
9530
288f9098 95312012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
9532
9533 [BZ #2636]
9534 * manual/time.texi (Processor Time): Return type of times is
9535 elapsed real time since an arbitrary point in the past.
9536 (CPU Time): Move CLK_TCK from here...
9537 (Processor Time): ...to here. Correct description.
9538 * manual/conf.texi (Constants for Sysconf): Correct description of
9539 _SC_CLK_TCK.
9540
d7dd4413
DM
95412012-04-10 David S. Miller <davem@davemloft.net>
9542
9543 [BZ #13967]
9544 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9545 where the is a gap between DT_REL(A) and DT_JMPREL.
9546
b46068fc
L
95472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9548
9549 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9550 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9551 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9552
73d65cc3
SP
95532012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9554
9555 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9556 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9557 (dl_main): Handle --inhibit-cache.
9558 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9559 _dl_inhibit_cache.
9560 * elf/dl-load.c (_dl_map_object): Use it.
9561 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9562
bcc8d661
JM
95632012-04-09 Joseph Myers <joseph@codesourcery.com>
9564
8f9a2fae
JM
9565 [BZ #13872]
9566 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9567 (__ieee754_powl): Saturate large exponents rather than testing for
9568 overflow of y*log2(x).
9569 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9570 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9571 exceptions.
9572
bcc8d661
JM
9573 [BZ #11521]
9574 * math/s_ctan.c: Include <float.h>.
9575 (__ctan): Avoid internal overflow or cancellation in calculating
9576 denominator.
9577 * math/s_ctanf.c: Likewise.
9578 * math/s_ctanl.c: Likewise.
9579 * math/s_ctanh.c: Likewise.
9580 * math/s_ctanhf.c: Likewise.
9581 * math/s_ctanhl.c: Likewise.
9582 * math/libm-test.inc (ctan_test): Add more tests.
9583 (ctanh_test): Likewise.
9584 * sysdeps/i386/fpu/libm-test-ulps: Update.
9585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9586
823fbbb4
AJ
95872012-04-09 Andreas Jaeger <aj@suse.de>
9588
03879793
AJ
9589 [BZ #6894]
9590 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9591 is an optional BSD extension.
9592
823fbbb4
AJ
9593 [BZ #10254]
9594 * manual/stdio.texi (Opening Streams): Document additional fopen
9595 parameters.
9596
8de131cb
RM
95972012-04-09 Roland McGrath <roland@hack.frob.com>
9598
9599 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9600 %eax without telling the compiler.
9601
c0ed9d7d
CD
96022012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9603
9604 [BZ # 13963]
9605 * manual/install.texi: Use sourceware.org.
9606
c483f6b4
JM
96072012-04-09 Joseph Myers <joseph@codesourcery.com>
9608
d7dd9453
JM
9609 [BZ #13873]
9610 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9611 (__ieee754_pow): Generate overflow and underflow using huge*huge
9612 and tiny*tiny rather than just returning constant infinity or zero
9613 for large exponents.
9614 * math/libm-test.inc (pow_test): Require overflow exceptions for
9615 applicable cases of large exponents.
9616
c483f6b4
JM
9617 [BZ #706]
9618 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9619 (__ieee754_pow): Use iterative multiplication algorithm only for
9620 integer exponents with absolute value below 1024. Check for odd
9621 integer exponents when using algorithm for real exponents.
9622 * math/libm-test.inc (pow_test): Add more tests.
9623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9624
d2de7579
JM
96252012-04-08 Joseph Myers <joseph@codesourcery.com>
9626
9627 [BZ #13705]
9628 * math/libm-test.inc (exp_test): Do not allow overflow exception
9629 on underflow test.
9630
f77f1232
AJ
96312012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9632
9633 [BZ #13705]
9634 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9635 instead of __kernel_standard_f.
9636
3884932b
MF
96372012-04-08 Mike Frysinger <vapier@gentoo.org>
9638
9639 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9640 * sysdeps/x86_64/memset_chk.S: Likewise.
9641
54472e9c
AJ
96422012-04-08 Andreas Jaeger <aj@suse.de>
9643
6ab0fbfc
AJ
9644 [BZ #10153]
9645 * manual/startup.texi (Environment Access): Describe return value
9646 for putenv and setenv.
9647
61efba8c
AJ
9648 [BZ #6895]
9649 * manual/filesys.texi (Directory Entries): Add description for
9650 DT_LNK.
9651
95c3f29a
AJ
9652 [BZ #6890]
9653 * manual/filesys.texi (Directory Entries): Clarify that it's file
9654 system not operating system in the description of DT_UNKNOWN.
9655
54472e9c
AJ
9656 [BZ #6578]
9657 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9658
624254b1
SC
96592012-04-08 Stephen Compall <s11@member.fsf.org>
9660
9661 [BZ #6649]
9662 * manual/llio.texi (Opening and Closing Files): Add cross
9663 reference to explain mode argument.
9664
1e4920e0
MF
96652012-04-07 Mike Frysinger <vapier@gentoo.org>
9666
9667 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9668 * sysdeps/x86_64/memset_chk.S: Likewise.
9669
5ed848f3
DM
96702012-04-07 David S. Miller <davem@davemloft.net>
9671
9672 * elf/elf.h (R_SPARC_WDISP10): Define.
9673 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9674 R_SPARC_SIZE32.
9675 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9676 R_SPARC_SIZE64 and R_SPARC_H34.
9677
96154cd8
CD
96782012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9679
9680 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9681 conditions and remove no longer applicable assertion.
9682
9904dc47
L
96832012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9684
9685 * bits/byteswap.h: Include <features.h>.
9686 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9687 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9688
f8887d0a
L
96892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9690
9691 * bits/byteswap.h (__bswap_16): Removed.
9692 Include <bits/byteswap-16.h> to get __bswap_16.
9693 * sysdeps/i386/bits/byteswap.h: Likewise.
9694 * sysdeps/s390/bits/byteswap.h: Likewise.
9695 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9696 * bits/byteswap-16.h: New file.
9697 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9698 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9699 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9700 * string/Makefile (headers): Add bits/byteswap-16.h.
9701
62470f60
PP
97022012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9703
9704 [BZ #13895]
9705 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9706 extra indirection.
9707 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9708 * nss/tst-nss-static.c: New.
9709
4dad7bab
RM
97102012-04-06 Robert Millan <rmh@gnu.org>
9711
9712 [BZ #6486]
9713 * manual/llio.texi (File Position Primitive): lseek
9714 refers to WHENCE when it really means OFFSET.
9715
e9142a17
AJ
97162012-04-06 Andreas Jaeger <aj@suse.de>
9717
2c040eff
AJ
9718 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9719 strncmp declarations.
9720
e9142a17
AJ
9721 * abilist/libc.abilist: Add __poll and __ppoll.
9722
ff9f1c5f
DM
97232012-04-05 David S. Miller <davem@davemloft.net>
9724
dcd2ae90
DM
9725 * scripts/check-local-headers.sh: Accept a host triplet in the
9726 path matched by the exclude regexp.
9727
993eb054
DM
9728 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9729 definition.
9730 * sysdeps/powerpc/powerpc32/dl-machine.h
9731 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9732 * sysdeps/s390/s390-32/dl-machine.h
9733 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9734 * sysdeps/sparc/sparc32/dl-machine.h
9735 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9736 * sysdeps/sparc/sparc64/dl-machine.h
9737 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9738
ff9f1c5f
DM
9739 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9740 lazy binding.
48e2e132 9741 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
9742 undefined symbol errors.
9743
48e2e132 9744 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
9745 DT_NEEDED entries.
9746
e80d6f94
MM
97472012-04-05 Michael Matz <matz@suse.de>
9748
9749 [BZ #13592]
9750 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9751
349fa79f
AJ
97522012-04-05 Andreas Jaeger <aj@suse.de>
9753
9754 [BZ #13908]
9755 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9756 comment.
9757
f402708f
KK
97582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9759
9760 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9761 which ROUND is no valid rounding mode.
9762
2ecccfc9
KK
97632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9764
9765 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9766 read again.
9767 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9768
8a53f50f
KK
97692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9770
9771 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9772 an exception using FPU order intentionally.
9773
97742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9775
9776 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9777 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9778 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9779 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9780
d653abb7
SJ
97812012-04-05 Simon Josefsson <simon@josefsson.org>
9782
9783 [BZ #12340]
9784 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9785 EINVAL when BUFLEN is too smal.
9786
c3b1bf7d
TS
97872012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9788
9789 [BZ #13553]
9790 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9791 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9792
b1aa60f3
AJ
97932012-04-03 Andreas Jaeger <aj@suse.de>
9794
c3b1bf7d 9795 [BZ #13938]
67f60a26
AJ
9796 * manual/setjmp.texi (System V contexts): Fix sentence.
9797
b1aa60f3
AJ
9798 [BZ #13926]
9799 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9800 New macro for this case.
9801 [!__GNUC__] (__bswap_64): New inline function for this case.
9802 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9803 * bits/byteswap.h: Likewise.
9804 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9805 ull, guard with __GLIBC_HAVE_LONG_LONG.
9806
9807 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9808 __GLIBC_HAVE_LONG_LONG.
9809
9810 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9811 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9812
39c59c35
TMQMF
98132012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9814
9815 [BZ #13691]
9816 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9817 inptr and inend, rather than using last_ch.
9818
135ffda8
DM
98192012-04-02 David S. Miller <davem@davemloft.net>
9820
9821 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9822 * stdio-common/printf-parse.h (read_int): Change return type to
9823 'int', return -1 on INT_MAX overflow.
9824 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9825 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9826 overflows INT_MAX. Check for overflow of in-format-string precision
9827 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9828 SIZE_MAX not INT_MAX for integer overflow test.
9829 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9830 skip the construct in the format string but do not record anything.
9831 * stdio-common/bug22.c: Adjust to test both width/prevision
9832 INT_MAX overflow as well as total length INT_MAX overflow. Check
9833 explicitly for proper errno values.
9834
228c019e
TS
98352012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9836
302cadd3
TS
9837 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9838 CHAR_MAX.
9839 * string/test-strcmp.c [! WIDE]: Likewise.
9840 * time/tst-mktime2.c: Likewise for INT_MAX.
9841 * string/test-string.h: #include <sys/param.h> for MIN.
9842
228c019e
TS
9843 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9844 * sysdeps/i386/init-first.c (init): Likewise.
9845 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9846 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9847 * sysdeps/sh/init-first.c (init): Likewise.
9848
cfa633f5
UD
98492012-04-01 Ulrich Drepper <drepper@gmail.com>
9850
9851 * po/ru.po: Update from translation team.
d1635ef8 9852 * po/vi.po: Likewise.
cfa633f5 9853
6cd0a5ea
SP
98542012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9855
9856 * resolv/nss_dns/dns-host.c: Merge copyright years.
9857
4b43400f
LD
98582012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9859
9860 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9861 Optimize memcpy with prefetch if
9862 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9863 src, dst pointers have unequal 16 byte alignments.
9864
48c41d04
SP
98652012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9866
9867 [BZ #13928]
9868 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9869 from a CNAME entry and return the minimum ttl for the query.
9870 (gaih_getanswer_slice): Likewise.
9871
b8dc394d
JL
98722012-03-30 Jeff Law <law@redhat.com>
9873
9874 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9875 due to long keys.
9876 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9877 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9878
2f5a5ed0
JL
9879 * resolv/nss_dns/dns-host.c: Update copyright year.
9880
1d39e359
UD
98812012-03-30 Ulrich Drepper <drepper@gmail.com>
9882
c030f70c 9883 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 9884 requests to save a system call. Fix check that all bytes are sent.
c030f70c 9885
1d39e359
UD
9886 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9887 comments for sendmmsg.
9888
98892012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
9890
9891 [BZ #13691]
9892 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9893 with only 1 character between 0x0041 and 0x01b0.
9894 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9895 * wcsmbs/tst-mbsnrtowcs.c: New file.
9896
20fde227
DM
98972012-03-29 David S. Miller <davem@davemloft.net>
9898
9899 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9900 small copies by hand.
9901
984a4237
JL
99022012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9903
9904 [BZ #13761]
9905 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9906 _nss_compat_initgroups_dyn): Fall back to malloc/free
9907 for large group memberships.
9908
18c9d62b
DM
99092012-03-28 David S. Miller <davem@davemloft.net>
9910
88d85d4f
DM
9911 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9912 that branches into memcpy.
9913 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9914 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9915 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9916 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9917 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9918 bits.
9919 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9920 implementation too.
9921 * sysdeps/sparc/mempcpy.S: New file.
9922
e5aa83e1
DM
9923 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9924 the IFUNC routine in the libc case.
9925 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9926
88570753
DM
9927 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9928 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9929 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9930 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9931 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9932 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9933 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9934 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9935
249d7567
DM
9936 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9937 loop to 256 bytes instead of 64 bytes and fix test signedness.
9938
18c9d62b
DM
9939 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9940 * sysdeps/sparc/sparc32/Makefile: rather than here...
9941 * sysdeps/sparc/sparc64/Makefile: and here.
9942
05f3d1f6
UD
99432012-03-28 Ulrich Drepper <drepper@gmail.com>
9944
9945 * malloc/mallocbug.c: Avoid warnings about unused variables.
9946
86ae07a8
JL
99472012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9948
9949 [BZ #13760]
9950 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9951 in the right place. Discard and retry query if response is
9952 larger than input buffer size.
9953
41bf21a1
JM
99542012-03-28 Joseph Myers <joseph@codesourcery.com>
9955
d6270972
JM
9956 [BZ #369]
9957 [BZ #2678]
9958 [BZ #3866]
9959 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9960 x for large integer exponent.
9961 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9962 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9963 sign of result as needed afterwards.
9964 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9965 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9966 result for underflowing pow the same as for overflow.
9967 (__kernel_standard_l): Handle powl overflow and underflow here
9968 rather than calling __kernel_standard.
9969 * math/libm-test.inc (pow_test): Add more tests.
9970
414fca03 9971 [BZ #3868]
41bf21a1
JM
9972 [BZ #13879]
9973 [BZ #13910]
9974 [BZ #13911]
9975 [BZ #13912]
9976 [BZ #13913]
9977 [BZ #13915]
9978 [BZ #13916]
9979 [BZ #13917]
9980 [BZ #13918]
9981 [BZ #13919]
9982 [BZ #13920]
9983 [BZ #13921]
9984 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9985 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9986 (__kernel_standard_l): New function.
9987 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9988 __kernel_standard.
9989 * math/w_acosl.c (__acosl): Likewise.
9990 * math/w_asinl.c (__asinl): Likewise.
9991 * math/w_atan2l.c (__atan2l): Likewise.
9992 * math/w_atanhl.c (__atanhl): Likewise.
9993 * math/w_coshl.c (__coshl): Likewise.
9994 * math/w_exp10l.c (__exp10l): Likewise.
9995 * math/w_exp2l.c (__exp2l): Likewise.
9996 * math/w_fmodl.c (__fmodl): Likewise.
9997 * math/w_hypotl.c (__hypotl): Likewise.
9998 * math/w_j0l.c (__j0l, __y0l): Likewise.
9999 * math/w_j1l.c (__j1l, __y1l): Likewise.
10000 * math/w_jnl.c (__jnl, __ynl): Likewise.
10001 * math/w_lgammal.c (__lgammal): Likewise.
10002 * math/w_log10l.c (__log10l): Likewise.
10003 * math/w_log2l.c (__log2l): Likewise.
10004 * math/w_logl.c (__logl): Likewise.
10005 * math/w_powl.c (__powl): Likewise.
10006 * math/w_remainderl.c (__remainderl): Likewise.
10007 * math/w_scalbl.c (sysv_scalbl): Likewise.
10008 * math/w_sinhl.c (__sinhl): Likewise.
10009 * math/w_sqrtl.c (__sqrtl): Likewise.
10010 * math/w_tgammal.c (__tgammal): Likewise.
10011 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
10012 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
10013 * math/libm-test.inc (acos_test): Add more tests.
10014 (acosh_test): Likewise.
10015 (asin_test): Likewise.
10016 (atanh_test): Likewise.
10017 (exp_test): Likewise.
10018 (exp10_test): Likewise.
10019 (exp2_test): Likewise.
10020 (expm1_test): Likewise.
10021 (lgamma_test): Likewise.
10022 (log_test): Likewise.
10023 (log10_test): Likewise.
10024 (log1p_test): Likewise.
10025 (log2_test): Likewise.
10026 (pow_test): Do not allow some spurious overflow exceptions.
10027 (sqrt_test): Add more tests.
10028 (tgamma_test): Likewise.
10029 (y0_test): Likewise.
10030 (y1_test): Likewise.
10031 (yn_test): Likewise.
10032
dd62fda6
AB
100332012-03-27 Anton Blanchard <anton@samba.org>
10034
10035 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
10036 MAP_HUGETLB.
10037 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10038 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10039 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10040
1e3cdfda
AJ
100412012-03-27 David S. Miller <davem@davemloft.net>
10042
b855ab85
DM
10043 * conform/Makefile: Run run-conformtest.sh using $(BASH).
10044
1e3cdfda
AJ
10045 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
10046 have-as-vis3 check.
10047
100482012-03-27 Andreas Jaeger <aj@suse.de>
10049
10050 * sysdeps/x86_64/elf/configure.in: Moved to ...
10051 * sysdeps/x86_64/configure.in: ... here.
10052 * sysdeps/x86_64/elf/start.S: Moved to ...
10053 * sysdeps/x86_64/start.S: ... here.
10054 * sysdeps/x86_64/elf/configure: Delete.
10055
10056 * sysdeps/x86_64/configure.in: Merge contents from
10057 sysdeps/i386/configure.in (without i686 check).
10058
10059 * sysdeps/i386/elf/Versions: Merge into ...
10060 * sysdeps/i386/Versions: ... this.
10061 * sysdeps/i386/elf/Versions: Delete file.
10062 * sysdeps/i386/elf/start.S: Moved to ...
10063 * sysdeps/i386/start.S: ...here.
10064 * sysdeps/i386/elf/configure.in: Merge into...
10065 * sysdeps/i386/configure.in: ...here.
10066 * sysdeps/i386/elf/configure.in: Delete file.
10067 * sysdeps/i386/elf/configure: Delete file.
10068
10069 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
10070 * debug/backtracesyms.c: ... here.
10071 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
10072 * debug/backtracesymsfd.c: ... here.
10073 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
10074 * sysdeps/generic/ifunc-sel.h: ... here.
10075
10076 * sysdeps/unix/i386/start.c: Delete file.
10077 * sysdeps/unix/sparc/start.c: Delete file.
10078 * sysdeps/unix/start.c: Delete file.
10079
10080 * sysdeps/sh/elf/configure.in: Moved to ...
10081 * sysdeps/sh/configure.in: ... here.
10082 * sysdeps/sh/elf/start.S: Moved to ...
10083 * sysdeps/sh/start.S: ... here.
10084 * sysdeps/sh/elf/configure: Delete file.
10085
10086 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
10087 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
10088 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
10089 * sysdeps/powerpc/powerpc64/entry.h: ... here.
10090 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
10091 * sysdeps/powerpc/powerpc64/start.S: here.
10092 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
10093 * sysdeps/powerpc/powerpc64/Makefile: ... this.
10094 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
10095 * sysdeps/powerpc/powerpc64/configure.in: ... this.
10096 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
10097
10098 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
10099 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
10100 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
10101 * sysdeps/powerpc/powerpc32/start.S: ... here.
10102 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
10103 * sysdeps/powerpc/powerpc32/configure.in: ... this.
10104 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
10105
10106 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
10107 * sysdeps/powerpc/ifunc-sel.h: ... here.
10108 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
10109 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
10110
10111 * sysdeps/sparc/elf/configure.in: Moved to ...
10112 * sysdeps/sparc/configure.in: ... here.
10113 * sysdeps/sparc/elf/configure: Delete file.
10114 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
10115 * sysdeps/sparc/sparc32/start.S: ... here.
10116 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
10117 * sysdeps/sparc/sparc64/start.S: ... here.
10118 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
10119 * sysdeps/sparc/sparc32/Makefile: ... this.
10120 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
10121 * sysdeps/sparc/sparc64/Makefile: ... this.
10122
10123 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
10124 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
10125 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
10126 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
10127 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
10128 * sysdeps/s390/s390-32/setjmp.S: ... here.
10129 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
10130 * sysdeps/s390/s390-32/configure.in: ... here.
10131 * sysdeps/s390/s390-32/elf/configure: Delete file.
10132 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
10133 * sysdeps/s390/s390-32/start.S: ... here.
10134
10135 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
10136 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
10137 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
10138 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10139 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10140 * sysdeps/s390/s390-64/setjmp.S: ... here.
10141 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10142 * sysdeps/s390/s390-64/configure.in: ... here
10143 * sysdeps/s390/s390-64/elf/configure: Delete file.
10144 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10145 * sysdeps/s390/s390-64/start.S: ... here.
10146 * sysdeps/s390/s390-64/elf/configure: Delete.
10147
10148 * configure.in: Remove support for elf directories in sysdeps.
10149
10150 * configure: Regenerated.
10151 * sysdeps/i386/configure: Regenerated.
10152 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10153 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10154 * sysdeps/s390/s390-32/configure: Regenerated.
10155 * sysdeps/s390/s390-64/configure: Regenerated.
10156 * sysdeps/sh/configure: Regenerated.
10157 * sysdeps/sparc/configure: Regenerated.
10158 * sysdeps/x86_64/configure: Regenerated.
10159
a3f61311
AS
101602012-03-26 Andreas Schwab <schwab@linux-m68k.org>
10161
c876e002
AS
10162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10163
a3f61311
AS
10164 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10165 denormal result into account.
10166
ac4c54f0
RM
101672012-03-25 Roland McGrath <roland@hack.frob.com>
10168
10169 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10170 Reported by Allan McRae <allan@archlinux.org>.
10171
6a9b9c02
JL
101722012-03-23 Jeff Law <law@redhat.com>
10173
10174 * nss/getnssent.c (__nss_getent): Fix typo.
10175
4c42a0c1
DM
101762012-03-23 David S. Miller <davem@davemloft.net>
10177
10178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10179
1532c7ac
L
101802012-03-23 H.J. Lu <hongjiu.lu@intel.com>
10181
10182 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10183 to pad to uint64_t for each field.
10184 (dl_tls_index): Replace unsigned long with uint64_t.
10185
3ff42526
PP
101862012-03-23 Daniel Jacobowitz <dmj@google.com>
10187 Paul Pluzhnikov <ppluzhnikov@google.com>
10188
10189 [BZ #6528]
10190 * grp/Makefile (otherlibs): Don't set it.
10191 * inet/Makefile (otherlibs): Likewise.
10192 * login/Makefile (otherlibs): Likewise.
10193 * nscd/Makefile (otherlibs): Likewise.
10194 * posix/Makefile (otherlibs): Likewise.
10195 * pwd/Makefile (otherlibs): Likewise.
10196 * rt/Makefile (otherlibs): Likewise.
10197 * sunrpc/Makefile (otherlibs): Likewise.
10198 * nss/Makefile (otherlibs): Likewise.
10199 Add libnss_files to routines and static-only-routines.
10200 ($(objpfx)getent): Remove rule.
10201 * resolv/Makefile: Add libnss_dns and libresolv to routines and
10202 static-only-routines.
10203
7c69cd14
JM
102042012-03-22 Joseph Myers <joseph@codesourcery.com>
10205
10206 [BZ #13892]
10207 * math/s_cexp.c: Include <float.h>.
10208 (__cexp): Handle exp result overflowing not necessarily
10209 overflowing both real and imaginary parts of result.
10210 * math/s_cexpf.c: Likewise.
10211 * math/s_cexpl.c: Likewise.
10212 * math/libm-test.inc (cexp_test): Add more tests.
10213 * sysdeps/i386/fpu/libm-test-ulps: Update.
10214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10215
81b035fe
L
102162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10217
10218 * include/link.h (ELFW): New macro.
10219 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10220 Replace ELF64_R_TYPE with ELFW(R_TYPE).
10221
1da7940c
L
102222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10223
10224 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10225 with uint64_t.
10226
b749dbb9
L
102272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10228
10229 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10230 declaration.
10231 (struct La_x32_retval): Likewise.
10232
2ff87f3f
L
102332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10234
10235 * sysdeps/x86_64/preconfigure.in: New file.
10236 * sysdeps/x86_64/preconfigure: New generated file.
10237
c0df8e69
JM
102382012-03-22 Joseph Myers <joseph@codesourcery.com>
10239
48e44791
JM
10240 [BZ #13824]
10241 * math/e_exp2l.c: Include <float.h>.
10242 (__ieee754_exp2l): Handle overflow and underflow cases
10243 separately. Only pass fractional part of argument to
10244 __ieee754_expl.
10245 * math/libm-test.inc (exp2_test): Add more tests.
10246
c0df8e69
JM
10247 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10248 negating x to take absolute value.
10249 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10250 Likewise.
10251 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10252 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10253 Likewise.
10254 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10255 computing low part if x was negated.
10256 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10257
c8e43ba7
L
102582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10259
10260 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10261 la_x32_gnu_pltexit.
10262 (pltexit): Cast int_retval to ptrdiff_t.
10263 * elf/tst-auditmod3b.c: Likewise.
10264 * elf/tst-auditmod4b.c: Likewise.
10265 * elf/tst-auditmod5b.c: Likewise.
10266 * elf/tst-auditmod6b.c: Likewise.
10267 * elf/tst-auditmod6c.c: Likewise.
10268 * elf/tst-auditmod7b.c: Likewise.
10269
10270 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10271 and x32_gnu_pltexit.
10272
10273 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10274 __ELF_NATIVE_CLASS.
10275 (La_x32_regs): New macro.
10276 (La_x32_retval): Likewise.
10277 (la_x32_gnu_pltenter): New function prototype.
10278 (la_x32_gnu_pltexit): Likewise.
10279
7998fa78
AS
102802012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10281
dcb33988
AS
10282 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10283 exponent.
10284
233fc563
AS
10285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10286
7998fa78
AS
10287 * configure.in (libc_cv_cc_nofma): Check for option to disable
10288 generation of FMA instructions.
10289 * configure: Regenerate.
10290 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10291 * sysdeps/ieee754/dbl-64/Makefile: New file.
10292 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10293 Remove brandred-fma4.
10294 (CFLAGS-brandred-fma4.c): Remove.
10295 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10296 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10297 define.
10298 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10299 define.
10300
8e95c99a
L
103012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10302
10303 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10304 LLONG_MAX != LONG_MAX.
10305 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10306 (_fitoa_word): Likewise.
10307 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10308 LLONG_MAX != LONG_MAX.
10309 * stdio-common/_itowa.h: Include <_itoa.h>.
10310 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10311 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10312 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10313 only if not defined.
10314 (_ITOA_WORD_TYPE): Likewise.
10315 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10316 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10317
6f4db457
DM
103182012-03-21 David S. Miller <davem@davemloft.net>
10319
10320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10321
7785fe5a
L
103222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10323
10324 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10325 of x86_64 when setting libc_cv_slibdir, libdir and
10326 libc_cv_localedir.
10327 * sysdeps/unix/sysv/linux/configure: Regenerated.
10328
4535cd55
JM
103292012-03-21 Joseph Myers <joseph@codesourcery.com>
10330
10331 * manual/lang.texi (Old Varargs): Remove section.
10332 (How Variadic): Update menu.
10333 (va_start): Do not mention varargs.h.
10334
17228132
TS
103352012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10336 Joseph Myers <joseph@codesourcery.com>
10337
10338 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10339 link test.
10340 * configure: Regenerated.
10341
8149f976
TS
103422012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10343
05f3d1f6
UD
10344 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10345 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10346 conformtest.pl
8149f976 10347
1a4ac776
JM
103482012-03-21 Joseph Myers <joseph@codesourcery.com>
10349
be22ce65
JM
10350 * NOTES: Remove.
10351 * Makefile (files-for-dist): Remove NOTES.
10352 (NOTES): Remove rule.
10353 * README: Don't refer to NOTES.
10354 * manual/creature.texi: Don't include macros.texi.
10355 * manual/intro.texi (creature.texi): Remove comment referring to
10356 NOTES.
10357
40b601fb
JM
10358 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10359 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10360 * configure: Regenerated.
10361 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10362 LIBC_TRY_CC_OPTION.
10363 (libc_cv_as_i686): Likewise.
10364 (libc_cv_cc_avx): Likewise.
10365 (libc_cv_cc_sse2avx): Likewise.
10366 (libc_cv_cc_fma4): Likewise.
10367 (libc_cv_cc_novzeroupper): Likewise.
10368 * sysdeps/i386/configure: Regenerated.
10369
1a4ac776
JM
10370 [BZ #13883]
10371 * sysdeps/i386/fpu/s_cexp.S: Remove.
10372 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10373 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10374 * math/libm-test.inc (cexp_test): Add more tests.
10375 * sysdeps/i386/fpu/libm-test-ulps: Update.
10376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10377
a458e7fe
AM
103782012-03-21 Allan McRae <allan@archlinux.org>
10379
10380 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10381
0cb7efc5
JM
103822012-03-21 Joseph Myers <joseph@codesourcery.com>
10383
10384 [BZ #13871]
10385 * math/w_exp2.c: Do not include <float.h>.
10386 (o_threshold, u_threshold): Remove.
10387 (__exp2): Calculate result before checking finiteness and calling
10388 __kernel_standard.
10389 * math/w_exp2f.c: Likewise.
10390 * math/w_exp2l.c: Likewise.
10391 * math/libm-test.inc (exp2_test): Require overflow exception for
10392 1e6 input.
2460d3aa
JM
10393
10394 [BZ #3866]
10395 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10396 range of signed 64-bit integers before using fistpll. Remove
10397 checks for whether integers fit in mantissa bits.
10398 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10399 the range of signed 32-bit integers before using fistpl. Remove
10400 checks for whether integers fit in mantissa bits.
10401 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10402 (__ieee754_powl): Test for y outside the range of signed 64-bit
10403 integers before using fistpll. Reduce 64-bit values to 63-bit
10404 ones as needed.
10405 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10406 divide-by-zero is raised for zero to large negative powers.
10407 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10408 (__ieee754_powl): Test for y outside the range of signed 64-bit
10409 integers before using fistpll. Reduce 64-bit values to 63-bit
10410 ones as needed.
10411 * math/libm-test.inc (pow_test): Add more tests.
10412
eb96ffb0
L
104132012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10414
10415 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10416 <stdio-common/_itoa.h>.
10417 * debug/segfault.c: Likewise.
10418 * elf/dl-cache.c: Likewise.
10419 * elf/dl-minimal.c: Likewise.
10420 * elf/dl-misc.c: Likewise.
10421 * elf/dl-sysdep.c: Likewise.
10422 * elf/dl-version.c: Likewise.
10423 * elf/rtld.c: Likewise.
10424 * hurd/hurdsock.c: Likewise.
10425 * hurd/lookup-retry.c: Likewise.
10426 * malloc/malloc.c: Likewise.
10427 * malloc/mtrace.c: Likewise.
10428 * nscd/nscd_getgr_r.c: Likewise.
10429 * nscd/nscd_getpw_r.c: Likewise.
10430 * nscd/nscd_getserv_r.c: Likewise.
10431 * posix/getopt_init.c: Likewise.
10432 * posix/wordexp.c: Likewise.
10433 * stdio-common/_itoa.c: Likewise.
10434 * stdio-common/printf_fphex.c: Likewise.
10435 * stdio-common/vfprintf.c: Likewise.
10436 * string/_strerror.c: Likewise.
10437 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10438 * sysdeps/i386/i686/hp-timing.h: Likewise.
10439 * sysdeps/mach/_strerror.c: Likewise.
10440 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10441 * sysdeps/mach/hurd/sethostid.c: Likewise.
10442 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10443 * sysdeps/mach/xpg-strerror.c: Likewise.
10444 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10445 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10446 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10447 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10448 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10449 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10450 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10451 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10452 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10453 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10454 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10455 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10456 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10457 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10458 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10459 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10460 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10461 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10462 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10463 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10464 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10465
10466 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10467
10468 * stdio-common/_itoa.h: Moved to ...
10469 * sysdeps/generic/_itoa.h: Here.
10470
10471 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10472
10473 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10474 instead of "_itoa.h" and "_itowa.h".
10475 * stdio-common/vfprintf.: Likewise.
10476
d1af992d
L
104772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10478
10479 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10480 <bits/wordsize.h>.
10481 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10482 (__signbit): Likwise.
10483 (llrintf): Likwise.
10484 (llrint): Likwise.
10485
114883e0
L
104862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10487
10488 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10489 __WORDSIZE != 64.
10490
c135cc1b
JM
104912012-03-20 Joseph Myers <joseph@codesourcery.com>
10492
10493 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10494 OVERFLOW_EXCEPTION_OK.
10495 * math/libm-test.inc ("Philosophy"): Update comment about
10496 exception testing.
10497 (OVERFLOW_EXCEPTION): Define.
10498 (OVERFLOW_EXCEPTION_OK): Likewise.
10499 (INVALID_EXCEPTION_OK): Renumber.
10500 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10501 (IGNORE_ZERO_INF_SIGN): Likewise.
10502 (test_exceptions): Handle FE_OVERFLOW.
10503 (exp10_test): Expect overflow exceptions.
10504 (exp2_test): Likewise.
10505 (expm1_test): Likewise.
10506 (nextafter_test): Likewise.
10507 (pow_test): Likewise.
10508 (scalbn_test): Likewise.
10509 (scalbln_test): Likewise.
10510
95443d88
L
105112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10512
10513 * sysdeps/x86_64/bits/atomic.h
10514 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10515 64bit integer.
10516 (atomic_exchange_acq): Likewise.
10517 (__arch_exchange_and_add_body): Likewise.
10518 (__arch_add_body): Likewise.
10519 (atomic_add_negative): Likewise.
10520 (atomic_add_zero): Likewise.
10521
490df6c4
L
105222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10523
c2722551 10524 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
10525 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10526
5e52b189
L
105272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10528
10529 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10530 Check __x86_64__ instead of __WORDSIZE.
10531
a9879d4c
L
105322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10533
10534 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10535
5df98260
DM
105362012-03-19 David S. Miller <davem@davemloft.net>
10537
e1497744
DM
10538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10539
5df98260
DM
10540 * sysdeps/sparc/fpu/fenv_private.h: New file.
10541 * sysdeps/sparc/fpu/math_private.h: Use it.
10542 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10543 Remove.
10544 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10545 (libc_feholdexcept_setroundl): Remove.
10546 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10547 Remove.
10548 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10549 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10550
b4c35121
L
105512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10552
10553 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10554 int64_t instead of long int.
10555 (INSERT_WORDS64): Likwise.
10556
56965fd7
L
105572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10558
10559 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10560 _Unwind_GetCFA return to _Unwind_Ptr first.
10561
83d1aec8
JM
105622012-03-19 Joseph Myers <joseph@codesourcery.com>
10563
1897ad44
JM
10564 [BZ #13629]
10565 * math/s_clog.c: Include <float.h>.
10566 (__clog): Scale large or subnormal inputs.
10567 * math/s_clogf.c: Likewise.
10568 * math/s_clogl.c: Likewise.
10569 * math/s_clog10.c: Include <float.h>.
10570 (M_LOG10_2): Define.
10571 (__clog10): Scale large or subnormal inputs.
10572 * math/s_clog10f.c: Likewise.
10573 * math/s_clog10l.c: Likewise.
10574 * math/libm-test.inc (clog_test): Add more tests.
10575 (clog10_test): Likewise.
10576 * sysdeps/i386/fpu/libm-test-ulps: Update.
10577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10578
7726d6a9
JM
10579 [BZ #11451]
10580 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10581 x and y.
10582 * math/libm-test.inc (atan2_test): Add another test.
10583
83d1aec8
JM
10584 * Makerules (common-objdir-compile): Remove.
10585 * sysdeps/unix/Makefile (config-generated): Do not add
10586 $(unix-generated) to variable.
10587 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10588 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10589 Remove rule.
10590 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10591 Likewise.
10592 [generic bits/local_lim.h] (before-compile): Do not append to
10593 variable.
10594 [generic bits/local_lim.h] (common-generated): Likewise.
10595 [generic sys/param.h] (before-compile): Do not append to variable.
10596 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10597 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10598 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10599 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10600 include.
10601 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10602 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10603 [generic sys/param.h] ($(addprefix
10604 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10605 [generic sys/param.h] (common-generated): Do not append to
10606 variable.
10607 [generic sys/param.h] (sysdep_headers): Likewise.
10608 [generic bits/errno.h] (before-compile): Do not append to
10609 variable.
10610 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10611 rule.
10612 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10613 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10614 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10615 [generic bits/errno.h] (common-generated): Do not append to
10616 variable.
10617 [generic bits/ioctls.h] (before-compile): Do not append to
10618 variable.
10619 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10620 rule.
10621 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10622 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10623 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10624 rule.
10625 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10626 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10627 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10628 [generic bits/ioctls.h] (common-generated): Do not append to
10629 variable.
10630 [generic sys/syscall.h] (syscall.h): Remove variable.
10631 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10632 rule.
10633 [generic sys/syscall.h] (before-compile): Do not append to
10634 variable.
10635 [generic sys/syscall.h] (common-generated): Likewise.
10636 * sysdeps/unix/errnos-tmpl.c: Remove file.
10637 * sysdeps/unix/errnos.awk: Likewise.
10638 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10639 * sysdeps/unix/ioctls.awk: Likewise.
10640 * sysdeps/unix/mk-local_lim.c: Likewise.
10641 * sysdeps/unix/snarf-ioctls: Likewise.
10642
4851a949
RH
106432012-03-19 Richard Henderson <rth@twiddle.net>
10644
bd37f2ee
RH
10645 * sysdeps/i386/fpu/fenv_private.h: New file.
10646 * sysdeps/i386/fpu/math_private.h: Use it.
10647 (math_opt_barrier, math_force_eval): Remove.
10648 (libc_feholdexcept_setround_53bit): Remove.
10649 (libc_feupdateenv_53bit): Remove.
10650 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10651 (math_opt_barrier, math_force_eval): Remove.
10652 (libc_feholdexcept): Remove.
10653 (libc_feholdexcept_setround): Remove.
10654 (libc_fetestexcept, libc_fesetenv): Remove.
10655 (libc_feupdateenv_test): Remove.
10656 (libc_feupdateenv, libc_feholdsetround): Remove.
10657 (libc_feresetround): Remove.
10658
d0adc922
RH
10659 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10660 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10661
0fe0f1f8
RH
10662 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10663 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10664 (libc_feupdateenv_testl): New.
10665 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10666 (libc_feupdateenv_testf): New.
10667 (libc_feupdateenv): Use libc_feupdateenv_test.
10668 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10669 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10670
eb92c487
RH
10671 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10672 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10673 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10674 (libc_feresetround_noex): New.
10675 (libc_feresetround_noexf): New.
10676 (libc_feresetround_noexl): New.
10677 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10678 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10679 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10680 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10681 SET_RESTORE_ROUND.
10682 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10683 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10684 (__cos): Likewise.
10685 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10686 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10687 SET_RESTORE_ROUND_NOEX.
10688 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10689 SET_RESTORE_ROUND_NOEXF.
10690 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10691 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10692 (libc_feholdsetroundf): New.
10693 (libc_feresetround, libc_feresetroundf): New.
10694
7d2e8012
RH
10695 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10696 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10697 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10698
b4dabbb4
RH
10699 * sysdeps/generic/math_private.h: Include <fenv.h>.
10700 (default_libc_feholdexcept): New.
10701 (default_libc_feholdexcept_setround): New.
10702 (default_libc_fesetenv, default_libc_feupdateenv): New.
10703 (libc_feholdexcept): Only define if undefined.
10704 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10705 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10706 (libc_feholdexcept_setroundl): Likewise.
10707 (libc_feholdexcept_setround_53bit): Likewise.
10708 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10709 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10710 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10711 (libc_feupdateenv_53bit): Likewise.
10712 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10713 (libc_feholdexcept): Convert from macro to inline function.
10714 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10715 (libc_fesetenv, libc_feupdateenv): Likewise.
10716
4851a949
RH
10717 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10718 not previously defined.
10719 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10720 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10721 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10722 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10723 * sysdeps/ieee754/flt-32/math_private.h: New file.
10724 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10725 math_private.h below SET_FLOAT_WORD.
10726 (__isnan, __isinf_ns, __finite): Remove.
10727 (__isnanf, __isinf_nsf, __finitef): Remove.
10728
e79d442e
AS
107292012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10730
10731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10732
90b80344
DM
107332012-03-17 David S. Miller <davem@davemloft.net>
10734
10735 [BZ #6471]
10736 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10737 for 2.16.
10738
edc21804
DM
107392012-03-16 David S. Miller <davem@davemloft.net>
10740
77e927af
DM
10741 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10742 warnings.
10743
374976dd
DM
10744 [BZ #6471]
10745 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10746 properly.
10747 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10748 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10749 sysdep_routines when subdir is sysvipc.
10750 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10751 __getshmlba helper.
10752
edc21804
DM
10753 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10754
473c3ef3
L
107552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10756
10757 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10758 [__LP64__].
10759
eb0f39b6
L
107602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10761
10762 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10763 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10764 (__lround): Renamed to ...
10765 (__llround): This. Replace long int with long long int.
10766 Define lround functions as aliases of llround functions.
10767 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10768
6b6cd74b
L
107692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10770
10771 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10772 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10773 adresses to uintptr_t. Replace "long int" and "unsigned long
10774 int" with "greg_t" on va_arg.
10775
f1a77b01
L
107762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10777
10778 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10779 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10780
10781 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10782 Move e_machine check before EI_CLASS check. Handle x32
10783 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10784 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10785 SKIP_EM_IA_64 and include
10786 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10787
10788 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10789 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10790 (add_system_dir): New macro.
10791
10792 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10793 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10794
11b90b9f
JM
107952012-03-16 Joseph Myers <joseph@codesourcery.com>
10796
c36e1d23
JM
10797 [BZ #2551]
10798 [BZ #2552]
10799 [BZ #2553]
10800 [BZ #2554]
10801 [BZ #2562]
10802 [BZ #2563]
10803 [BZ #2565]
10804 [BZ #2566]
10805 [BZ #2576]
10806 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10807 (y0): Likewise.
10808 * math/w_j0f.c (j0f): Likewise.
10809 (y0f): Likewise.
10810 * math/w_j0l.c (__j0l): Likewise.
10811 (__y0l): Likewise.
10812 * math/w_j1.c (j1): Likewise.
10813 (y1): Likewise.
10814 * math/w_j1f.c (j1f): Likewise.
10815 (y1f): Likewise.
10816 * math/w_j1l.c (__j1l): Likewise.
10817 (__y1l): Likewise.
10818 * math/w_jn.c (jn): Likewise.
10819 (yn): Likewise.
10820 * math/w_jnf.c (jnf): Likewise.
10821 (ynf): Likewise.
10822 * math/w_jnl.c (__jnl): Likewise.
10823 (__ynl): Likewise.
10824 * math/libm-test.inc (j0_test): Add more tests.
10825 (j1_test): Likewise.
10826 (jn_test): Likewise. Add trailing semicolon to existing test.
10827 (y0_test): Likewise.
10828 (y1_test): Likewise.
10829 * sysdeps/i386/fpu/libm-test-ulps: Update.
10830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10831
11b90b9f
JM
10832 [BZ #13851]
10833 [BZ #13854]
10834 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10835 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10836 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10837 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10838 (__tanl): Set errno for infinite argument.
10839 * sysdeps/i386/fpu/mptan.c: Remove.
10840 * sysdeps/i386/fpu/s_tan.S: Likewise.
10841 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10842 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10843 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10844 * math/libm-test.inc (tan_test): Add more tests and enable more
10845 tests for double and long double.
10846 * sysdeps/i386/fpu/libm-test-ulps: Update.
10847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10848
6a1bd2a1
JK
108492012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10850
10851 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10852 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10853
10a803e0
RM
108542012-03-16 Roland McGrath <roland@hack.frob.com>
10855
10856 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10857 * configure.in: Use it for both main tree and add-ons.
10858 * configure: Regenerated.
10859
f196c7f7
L
108602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10861
10862 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10863
8848d99d
JM
108642012-03-16 Joseph Myers <joseph@codesourcery.com>
10865
96cbe7f4
JM
10866 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10867 in comment.
10868
8848d99d
JM
10869 [BZ #13851]
10870 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10871 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10872 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10873 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10874 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10875 infinite argument.
10876 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10877 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10878 != 0 for prec == 2.
10879 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10880 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10881 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10882 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10883 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10884 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10885 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10886 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10887 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10888 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10889 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10890 * math/libm-test.inc (cos_test): Add more tests and enable more
10891 tests for long double.
10892 (sin_test): Likewise.
10893 (sincos_test): Likewise.
10894 * sysdeps/i386/fpu/libm-test-ulps: Update.
10895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10896
dd7f4703
DM
108972012-03-16 David S. Miller <davem@davemloft.net>
10898
10899 * sysdeps/sparc/fpu/math_private.h: New file.
10900
006f1daa
DM
109012012-03-15 David S. Miller <davem@davemloft.net>
10902
c0c83bc8
DM
10903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10904 file.
e6a62e18 10905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
10906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10907 file.
e6a62e18
DM
10908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10913 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10914 sysdep routines.
10915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10916
88cb87d9
DM
10917 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10918 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10919
006f1daa 10920 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
10921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10922 sparc-ifunc.h
006f1daa 10923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
10924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10925 Likewise.
10926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10927 Likewise.
006f1daa
DM
10928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
10931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10932 Likewise.
006f1daa
DM
10933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
10937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10938 Likewise.
10939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10940 Likewise.
006f1daa
DM
10941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10946 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10947 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10948 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10949 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10950 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10952 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10953 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10954 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10957 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10958 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10959 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10960 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10961 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10962 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10963 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10964 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10965
11e0098e
AS
109662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10967
10968 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10969 scaling.
10970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10971
e85b09d0
AJ
109722012-03-15 Andreas Jaeger <aj@suse.de>
10973
10974 [BZ #13852]
10975 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10976 ieee754/flt-32 implementation for sin, cos and sincos.
10977 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10978 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10979 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10980 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10981 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10982 ieee754/flt-32 implementation for tan.
10983
10984 * math/libm-test.inc (cos_test): Enable some large input tests for
10985 float as well
10986 (sin_test): Likewise.
10987 (sincos_test): Likewise.
10988 (tan_test): Add tests for large input.
10989
10990 * sysdeps/i386/fpu/libm-test-ulps: Update.
10991
81c64153
AJ
109922012-03-15 Andreas Jaeger <aj@suse.de>
10993
10994 [BZ #13658]
10995 * math/libm-test.inc (cos_test): Add more test cases.
10996 (sin_test): Likewise.
10997 (sincos_test): Likewise.
10998
7bbfa5c6
AJ
109992012-03-15 Andreas Jaeger <aj@suse.de>
11000
11001 [BZ #13837]
11002 * math/libm-test.inc (cos_test): Add a test case for large input
11003 value.
11004 (sin_test): Likewise.
11005 (sincos_test): Likewise.
11006
110072012-03-15 Andreas Jaeger <aj@suse.de>,
11008 Joseph Myers <joseph@codesourcery.com>
11009
11010 [BZ #13658]
0671f479 11011 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
11012 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
11013 * sysdeps/i386/fpu/branred.c: Likewise.
11014 * sysdeps/i386/fpu/dosincos.c: Likewise.
11015 * sysdeps/i386/fpu/mpa.c: Likewise.
11016 * sysdeps/i386/fpu/s_cos.S: Likewise.
11017 * sysdeps/i386/fpu/s_sin.S: Likewise.
11018 * sysdeps/i386/fpu/s_sincos.S: Likewise.
11019 * sysdeps/i386/fpu/sincos32.c: Likewise.
11020
11021 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
11022 Define.
11023 (libc_feupdateenv_53bit): Define.
11024 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
11025 Define.
11026 (libc_feupdateenv_53bit): Define.
11027
11028 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
11029 53 bit (without extend i386 double precision).
11030
11031 * math/libm-test.inc (sincos_test): Add tests for large input.
11032 (sin): Likewise.
11033 (cos): Likewise.
11034
11035 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11036
9cad04ea
AS
110372012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11038
11039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11040
f7062b9a
DM
110412012-03-15 David S. Miller <davem@davemloft.net>
11042
11043 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
11044 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
11045 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
11046 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
11047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
11048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
11049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
11050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
11051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
11052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
11053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
11054 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
11055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
11056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
11057 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
11058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
11059 file.
f7062b9a 11060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
11061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
11062 file.
f7062b9a 11063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
11064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
11065 file.
f7062b9a 11066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
11067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
11068 file.
f7062b9a
DM
11069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
11070 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
11071 fmin/fmax sysdep routines.
11072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11073
7bd951ff
DM
110742012-03-14 David S. Miller <davem@davemloft.net>
11075
559398ab
DM
11076 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
11077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
11078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
11079 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
11080 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
11081 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
11082 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
11083 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
11084 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
11085 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
11086 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
11087 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
11088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
11089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
11090 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
11091 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
11092 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
11093 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
11094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
11095 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
11096 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
11097 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
11098 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
11099 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
11100 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
11101 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
11102 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
11103 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
11104 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
11105 routines.
11106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
11107 file.
559398ab 11108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
11109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
11110 file.
559398ab 11111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
11112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
11113 file.
559398ab 11114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
11115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
11116 file.
559398ab 11117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
11118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
11119 file.
559398ab 11120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
11121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
11122 file.
11123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
11124 file.
11125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
11126 file.
11127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
11128 file.
11129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
11130 New file.
11131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
11132 file.
11133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
11134 file.
559398ab 11135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
11136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
11137 file.
559398ab 11138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
11139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11140 file.
559398ab 11141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
11142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11143 file.
559398ab 11144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
11145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11146 VIS3 routines.
559398ab
DM
11147
11148 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11149 New file.
11150
5a1c1e32
DM
11151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11152
eae47a36
DM
11153 * sysdeps/sparc/configure.in: New file.
11154 * sysdeps/sparc/configure: Generate.
11155 * configure.in (libc_cv_sparc_as_vis3): Substitute.
11156 * configure: Regenerate.
11157 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11158 * config.make.in (have-as-vis3): New.
11159 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11160 available use -Av9d instead of -Av9a.
11161 * sysdeps/sparc/sparc64/Makefile: Likewise.
11162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
11163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11164 New file.
11165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11166 file.
11167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11168 New file.
11169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11170 file.
eae47a36
DM
11171 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11172 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11173 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11174 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11175 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11176
c0c83bc8
DM
11177 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11178 fzeros/fnegs to load 0x80000000 into a float register instead of
11179 using the stack.
7bd951ff
DM
11180 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11181
bd951ccb
JM
111822012-03-14 Joseph Myers <joseph@codesourcery.com>
11183
11184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11185 bits/syscall.h.
11186 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11187 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11188 ($(inst_includedir)/bits/syscall.h): Remove rule.
11189 ($(objpfx)bits/syscall.d): Include instead of
11190 $(objpfx)syscall-list.d.
11191 (generated): Change syscall-list.h and syscall-list.d to
11192 bits/syscall.h and bits/syscall.d.
11193
bb4e6db2
RM
111942012-03-14 Roland McGrath <roland@hack.frob.com>
11195
11196 [BZ #13846]
11197 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11198
aa4a2ae1
JM
111992012-03-14 Joseph Myers <joseph@codesourcery.com>
11200
e456826d
JM
11201 [BZ #13841]
11202 * math/s_csqrt.c: Include <float.h>.
11203 (__csqrt): Scale large or subnormal inputs.
11204 * math/s_csqrtf.c: Likewise.
11205 * math/s_csqrtl.c: Likewise.
11206 * math/libm-test.inc (csqrt_test): Add more tests.
11207 * sysdeps/i386/fpu/libm-test-ulps: Update.
11208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11209
aa4a2ae1
JM
11210 [BZ #13840]
11211 * math/libm-test.inc (hypot_test): Add more tests.
11212
7c10fd35
DM
112132012-03-13 David S. Miller <davem@davemloft.net>
11214
11215 [BZ #13840]
11216 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11217 double-precision for the calculation instead of scaling.
11218
f453b98b
JM
112192012-03-13 Joseph Myers <joseph@codesourcery.com>
11220
11221 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11222 manipulate bits before adding and subtracting TWO52[sx].
11223 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11224 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11225 Likewise.
11226 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11227
09a3453f
DM
112282012-03-13 David S. Miller <davem@davemloft.net>
11229
8e59da90
DM
11230 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11231 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11232 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11233 rtld-global-offsets.h
11234 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11235
2a8ab7f2
DM
11236 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11237 large parameters.
11238
10f62770
DM
11239 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11240
5f0bdb18
DM
11241 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11242 'err' in the ifdef scope in which it is actually used.
11243
09a3453f
DM
11244 * nss/nss_db/db-init.c: Include string.h
11245
b4b2eb5e
DM
112462012-03-12 David S. Miller <davem@davemloft.net>
11247
98bb2f1c
DM
11248 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11249 masking out of the most significant byte of random value used.
11250 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11251 Fix coding style in previous change.
11252
b4b2eb5e
DM
11253 * sysdeps/unix/sysv/linux/kernel-features.h
11254 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11255 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11256 expression.
11257 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11258 later.
11259
6e226b09
DM
112602012-03-11 David S. Miller <davem@davemloft.net>
11261
a1bcbd40
DM
11262 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11263 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11264 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11265 for 'resultvar' otherwise things get truncated on 64-bit.
11266
cb9d6174
DM
11267 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11268 Fix masking out of the most significant byte of random value used.
11269
6e226b09
DM
11270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11271
058c132d
AS
112722012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11273
11274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11275
2d2cd515
DM
112762012-03-09 David S. Miller <davem@davemloft.net>
11277
11278 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11279 variables with appropriate CPP guards.
11280 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11281 frame pointer, not the stack pointer. Correct layout comments. Fix test
11282 on resulting framesize and the management of the outregs buffer for pltexit.
11283 Preserve floating point return values across _dl_call_pltexit call.
11284 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11285 framesize and the management of the outregs buffer for pltexit.
11286 Preserve floating point return values across _dl_call_pltexit
11287 call.
11288 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11289 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11290 (print_exit): Fix format string for return register value.
11291
9a07f9d0
JM
112922012-03-10 Joseph Myers <joseph@codesourcery.com>
11293
11294 * sunrpc/Makefile (others): Add rpcgen.
11295 ($(objpfx)rpcgen): Remove special build rule and dependency on
11296 libc.
11297 * sunrpc/rpcgen.c: New file.
11298
547b5e30
PE
112992012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11300
c524201a
PE
11301 [BZ #13673]
11302 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11303 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11304 * sysdeps/i386/crti.S: Likewise.
11305 * sysdeps/i386/crtn.S: Likewise.
11306 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11307 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11308 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11309 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11310 * sysdeps/sh/crti.S: Likewise.
11311 * sysdeps/sh/crtn.S: Likewise.
11312 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11313
7b6235f2
PE
11314 [BZ #13673]
11315 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11316 with URL.
11317 * locale/programs/locfile-kw.gperf: Likewise.
11318 * locale/programs/charmap-kw.h: Regenerated.
11319 * locale/programs/locfile-kw.h: Likewise.
11320
547b5e30
PE
11321 [BZ #13673]
11322 * intl/plural.y: Replace FSF snail mail address with URL.
11323 * intl/plural.c: Regenerated.
11324
5f0a5dae
RH
113252012-03-09 Richard Henderson <rth@twiddle.net>
11326
11327 * include/math_private.h: Remove file.
11328 * math/math_private.h: Move file ...
11329 * sysdeps/generic/math_private.h: ... here.
11330
b8c03620
RH
11331 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11332 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11333 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11334
4e234f5d 11335 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
11336 and <math_private.h>.
11337 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11338 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11339 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11340 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11341 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11342 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11343 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11344 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11345 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11346 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11347 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11348 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11349 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11350 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11351 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11352 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11353 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11354 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11355 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11356 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11357 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11358 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11359 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11360 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11361 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11362 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11363 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11364 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11365 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11366 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11367 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11368 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11369 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11370 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11371 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11372 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11373 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11374 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11375 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11376 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11377 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11378 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11379 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11380 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11381 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11382 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11383 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11384 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11385 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11386 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11387 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11388 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11389 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11390 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11391 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11392 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11393 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11394 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11395 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11396 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11397 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11398 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11399 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11400 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11401 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11402 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11403 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11404 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11405 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11406 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11407 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11408 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11409 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11410 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11411 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11412 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11413 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11414 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11415 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11416 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11417 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11418 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11419 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11420 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11421 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11422 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11423 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11424 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11425 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11426 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11427 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11428 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11429 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11430 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11431 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11432 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11433 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11434 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11435 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11436 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11437 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11438 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11439 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11440 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11441 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11442 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11443 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11444 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11445 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11446 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11447 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11448 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11449 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11450 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11451 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11452 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11453 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11454 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11455 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11456 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11457 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11458 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11459 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11460 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11461 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11462 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11463 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11464 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11465 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11466 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11467 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11468 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11469 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11470 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11471 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11472 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11473 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11474 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11475 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11476 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11477 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11478 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11479 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11480 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11481 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11482 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11483 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11484 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11485 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11486 * sysdeps/ieee754/k_standard.c: Likewise.
11487 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11488 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11489 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11490 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11491 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11492 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11493 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11494 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11495 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11496 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11497 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11498 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11499 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11500 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11501 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11502 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11503 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11504 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11505 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11506 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11507 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11508 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11509 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11510 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11511 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11512 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11513 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11514 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11515 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11516 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11517 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11518 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11521 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11522 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11523 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11524 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11525 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11526 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11527 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11528 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11529 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11530 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11531 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11532 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11533 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11534 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11535 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11536 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11537 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11538 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11539 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11540 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11541 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11542 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11543 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11544 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11545 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11546 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11547 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11548 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11549 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11550 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11551 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11552 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11553 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11554 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11555 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11556 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11557 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11558 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11559 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11560 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11561 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11562 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11563 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11564 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11565 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11566 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11567 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11568 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11569 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11570 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11571 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11572 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11573 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11574 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11575 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11576 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11577 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11578 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11579 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11580 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11581 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11582 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11583 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11584 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11585 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11586 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11587 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11588 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11589 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11590 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11591 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11592 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11593 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11594 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11595 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11596 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11597 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11598 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11599 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11600 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11601 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11602 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11603 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11604 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11605 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11606 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11607 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11608 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11609 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11610 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11611 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11612 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11613 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11614 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11615 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11616 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11617 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11618 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11619 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11620 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11621 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11622 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11623 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11624 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11625 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11626 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11627 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11628 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11629 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11630 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11631 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11632 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11633 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11634 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11635 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11636 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11637 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11638 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11639 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11640 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11641 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11642 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11643 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11644 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11645 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11646 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11647 * sysdeps/ieee754/s_lib_version.c: Likewise.
11648 * sysdeps/ieee754/s_matherr.c: Likewise.
11649 * sysdeps/ieee754/s_signgam.c: Likewise.
11650 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11651 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11652 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11653 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11654 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11655 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11656 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11657 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11658 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11659 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11660 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11661 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11662 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11663 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11664 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11665 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11666 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11667 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11668 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11669 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11670 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 11671
1991fa03
JM
116722012-03-09 Joseph Myers <joseph@codesourcery.com>
11673
11674 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11675 * sunrpc/rpc_main.c: Likewise.
11676 * sunrpc/rpc_svcout.c: Likewise.
11677
60d6f5a6
DM
116782012-03-09 David S. Miller <davem@davemloft.net>
11679
11680 * include/math_private.h: New file.
11681
4962050e
JM
116822012-03-09 Joseph Myers <joseph@codesourcery.com>
11683
02a6f887
JM
11684 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11685 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11686 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11687 from <bits/socket_type.h>.
11688 (enum __socket_type): Don't define here.
11689 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11690 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11691 bits/socket_type.h.
11692
c6e013c1
JM
11693 [BZ #13566]
11694 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11695 checking __USE_GNU.
11696
4962050e
JM
11697 * Makerules ($(inst_includedir)/%.h): New rule.
11698 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11699 (install-others): Remove variable setting.
11700 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11701
38842f45
RH
117022012-03-08 Richard Henderson <rth@twiddle.net>
11703
67bb6da6
RH
11704 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11705 from macro to inline function; merge with the
11706 !__LIBC_INTERNAL_MATH_INLINES version.
11707 (__ieee754_sqrtf): Likewise.
11708
15194b4b
RH
11709 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11710 to inline function.
11711 (__rintf, __floor, __floorf): Likewise.
11712
64e21ede
RH
11713 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11714 macro to inline function.
11715 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11716
38842f45
RH
11717 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11718 not <math/math_private.h>.
11719
c64bf5fe
DM
117202012-03-08 David S. Miller <davem@davemloft.net>
11721
11722 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11723 copyright year.
11724 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11725
82d86f28
TS
117262012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11727
11728 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11729 normalization.
11730 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11731 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11732
aea5d727
UD
117332012-03-08 Ulrich Drepper <drepper@gmail.com>
11734
11735 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11736 be defined individually, they must be defined as a block. Define
11737 S for printing a string instead of hidint the different by using a
11738 macro for adding the 'l'.
11739 * stdio-common/tst-fphex-wide.c: Adjust.
11740
70bca0a3
MP
117412012-03-07 Marek Polacek <polacek@redhat.com>
11742
11743 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11744
65b81130
MP
117452012-03-08 Marek Polacek <polacek@redhat.com>
11746
11747 [BZ #13806]
11748 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11749 * stdio-common/tst-fphex.c: Define a few macros to make the
11750 test reusable. Use them.
11751 * stdio-common/tst-fphex-wide.c: New file.
11752
07037eeb
JM
117532012-03-08 Joseph Myers <joseph@codesourcery.com>
11754
a7a93d50
JM
11755 [BZ #6911]
11756 * manual/macros.texi (gnusystems): New macro.
11757 (nongnusystems): Likewise.
11758 (gnulinuxhurdsystems): Likewise.
11759 (gnuhurdsystems): Likewise..
11760 (gnulinuxsystems): Likewise.
11761 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11762 variants of the GNU system, not "GNU system".
11763 * manual/conf.texi: Likewise.
11764 * manual/errno.texi: Likewise. Update example of errno macro
11765 expansion.
11766 * manual/filesys.texi: Likewise.
11767 (getumask): Document as specific to GNU/Hurd.
11768 * manual/install.texi: Likewise. Reword some references to
11769 GNU/Linux.
11770 * manual/intro.texi: Likewise.
11771 * manual/io.texi: Likewise.
11772 (File Name Portability): Detail which constraints are inapplicable
11773 to all GNU systems and which are only inapplicable to GNU/Hurd.
11774 * manual/job.texi: Likewise.
11775 * manual/llio.texi: Likewise.
11776 (O_NOCTTY): Document as present on GNU/Linux.
11777 * manual/maint.texi: Likewise.
11778 * manual/memory.texi: Likewise.
11779 * manual/pattern.texi: Likewise.
11780 * manual/pipe.texi: Likewise.
11781 * manual/process.texi: Likewise.
11782 * manual/resource.texi: Likewise.
11783 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11784 child on GNU/Hurd.
11785 * manual/setjmp.texi: Likewise.
11786 * manual/signal.texi: Likewise.
11787 * manual/startup.texi: Likewise.
11788 * manual/stdio.texi: Likewise.
11789 * manual/terminal.texi: Likewise.
11790 (ONLCR): Document as POSIX.
11791 (OXTABS): Document availability on GNU/Linux as XTABS.
11792 (ONOEOT): Document availability separately from other bits.
11793 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11794 * manual/time.texi: Likewise.
11795 * manual/users.texi: Likewise.
11796 * INSTALL: Regenerated.
11797 * sysdeps/gnu/errlist.c: Regenerated.
11798
07037eeb
JM
11799 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11800 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11801 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11802 puts.
11803 * configure: Regenerated.
11804
d1d3431a
JM
118052012-03-07 Joseph Myers <joseph@codesourcery.com>
11806
af6a1e37
JM
11807 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11808 default includes instead of AC_HEADER_CHECK.
11809 * sysdeps/i386/configure: Regenerated.
11810
d1d3431a
JM
11811 [BZ #10716]
11812 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11813 * math/s_cacoshf.c (__cacoshf): Likewise.
11814 * math/s_cacoshl.c (__cacoshl): Likewise.
11815 * math/s_casinh.c (__casinh): Set signs of result from argument.
11816 * math/s_casinhf.c (__casinhf): Likewise.
11817 * math/s_casinhl.c (__casinhl): Likewise.
11818 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11819 (casinh_test): Add more tests.
11820 * sysdeps/i386/fpu/libm-test-ulps: Update.
11821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11822
482ff4da
UD
118232012-03-07 Ulrich Drepper <drepper@gmail.com>
11824
872fda05
UD
11825 * po/zh_TW.po: Update from translation team.
11826
a4300c7a
UD
11827 * login/Makefile (distribute): Remove variable.
11828 * catgets/Makefile: Likewise.
11829 * mach/Makefile: Likewise.
11830 * malloc/Makefile: Likewise.
11831 * misc/Makefile: Likewise.
11832 * iconv/Makefile: Likewise.
11833 * nscd/Makefile: Likewise.
11834 * hurd/Makefile: Likewise.
11835 * manual/Makefile: Likewise.
11836 * locale/Makefile: Likewise.
11837 * intl/Makefile: Likewise.
11838 * conform/Makefile: Likewise.
11839 * nss/Makefile: Likewise.
11840 * time/Makefile: Likewise.
11841 * soft-fp/Makefile: Likewise.
11842 * dirent/Makefile: Likewise.
11843 * gmon/Makefile: Likewise.
11844 * po/Makefile: Likewise.
11845 * rt/Makefile: Likewise.
11846 * socket/Makefile: Likewise.
11847 * math/Makefile: Likewise.
11848 * signal/Makefile: Likewise.
11849 * debug/Makefile: Likewise.
11850 * elf/Makefile: Likewise.
11851 * timezone/Makefile: Likewise.
11852 * stdlib/Makefile: Likewise.
11853 * iconvdata/Makefile: Likewise.
11854 * sunrpc/Makefile: Likewise.
11855 * io/Makefile: Likewise.
11856 * argp/Makefile: Likewise.
11857 * inet/Makefile: Likewise.
11858 * hesiod/Makefile: Likewise.
11859 * grp/Makefile: Likewise.
11860 * csu/Makefile: Likewise.
11861 * wctype/Makefile: Likewise.
11862 * crypt/Makefile: Likewise.
11863 * libio/Makefile: Likewise.
11864 * string/Makefile: Likewise.
11865 * nis/Makefile: Likewise.
11866 * resolv/Makefile: Likewise.
11867 * stdio-common/Makefile: Likewise.
11868 * wcsmbs/Makefile: Likewise.
11869 * dlfcn/Makefile: Likewise.
11870 * posix/Makefile: Likewise.
11871
3b7c4e74 11872 [BZ #6959]
482ff4da
UD
11873 * timezone/Makefile: Don't install timezone files, just the programs
11874 and scripts.
11875
f72ed77d
UD
118762012-03-06 Ulrich Drepper <drepper@gmail.com>
11877
a000466f
UD
11878 * nss/databases.def: Add missing gshadow entry.
11879
f72ed77d
UD
11880 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11881
a53b7a4e
MP
118822012-03-06 Marek Polacek <polacek@redhat.com>
11883
11884 [BZ #13726]
11885 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11886 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11887 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11888 * stdio-common/tst-long-dbl-fphex.c: New file.
11889
e9258400
DM
118902012-03-06 David S. Miller <davem@davemloft.net>
11891
11892 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11893 (set_obp_int): New function.
11894 (get_obp_int): New function.
11895 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
11896 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11897 Avoid unused variable warnings on 'val' and use builtin_expect.
11898 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11899 __builtin_expect.
e9258400
DM
11900 (INLINE_CLONE_SYSCALL): Likewise.
11901
3bd2c723
DM
119022012-03-05 David S. Miller <davem@davemloft.net>
11903
11904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11905
bbb78d03
AS
119062012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11907
884c5db4
AS
11908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11909
bbb78d03
AS
11910 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11911 only for |x| >= 40.
11912 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11913
1c9f702a 119142012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
11915
11916 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11917 Replace gettimeofday with __vdso_gettimeofday.
11918
7be16f82
RM
11919 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11920 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11921 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
11922
11923 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11924 time with __vdso_time.
11925
ed58a00f
JM
119262012-03-05 Joseph Myers <joseph@codesourcery.com>
11927
11928 * manual/lang.texi (size_t): Note types to which size_t may be
11929 equivalent with the GNU C Library, but do not describe when
11930 differences between them are significant.
11931
30ee4ced
AJ
119322012-03-05 Andreas Jaeger <aj@suse.de>
11933
11934 * sysdeps/i386/fpu/libm-test-ulps: Update.
11935
b7cd39e8
JM
119362012-03-05 Joseph Myers <joseph@codesourcery.com>
11937
11938 [BZ #3976]
11939 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11940 (__ieee754_pow): Save and restore rounding mode and use
11941 round-to-nearest for main computations.
11942 * math/libm-test.inc (pow_test_tonearest): New function.
11943 (pow_test_towardzero): Likewise.
11944 (pow_test_downward): Likewise.
11945 (pow_test_upward): Likewise.
11946 (main): Call the new functions.
11947 * sysdeps/i386/fpu/libm-test-ulps: Update.
11948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11949
11950 [BZ #3976]
11951 * math/libm-test.inc (cosh_test_tonearest): New function.
11952 (cosh_test_towardzero): Likewise.
11953 (cosh_test_downward): Likewise.
11954 (cosh_test_upward): Likewise.
11955 (sinh_test_tonearest): Likewise.
11956 (sinh_test_towardzero): Likewise.
11957 (sinh_test_downward): Likewise.
11958 (sinh_test_upward): Likewise.
11959 (main): Call the new functions.
11960 * sysdeps/i386/fpu/libm-test-ulps: Update.
11961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11962
6c6a98c9
TV
119632012-03-05 Tom de Vries <tom@codesourcery.com>
11964
11965 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11966 default stack guard is set in last bytes.
11967 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11968
21bb2d2e 119692012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11970
21bb2d2e 11971 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11972
21bb2d2e
AJ
11973 [BZ #13656]
11974 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11975 possibly allocate from heap instead of stack.
11976 * stdio-common/bug-vfprintf-nargs.c: New file.
11977 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11978
c6922934
AS
119792012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11980
11981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11982
bc957d53
MP
119832012-03-03 Marek Polacek <polacek@redhat.com>
11984
11985 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11986 * math/math_private.h: Likewise.
11987 * stdlib/tst-strtod.c: Likewise.
11988 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11989 * sysdeps/x86_64/bits/atomic.h: Likewise.
11990
6358490d
DM
119912012-03-02 David S. Miller <davem@davemloft.net>
11992
11993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11997 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11998 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11999 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
12000 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
12001
01ae168d
RM
120022012-03-02 Roland McGrath <roland@hack.frob.com>
12003
d9a17c07
RM
12004 [BZ #13792]
12005 * manual/examples/README: New file, says the example source files
12006 can be used under GPL>=2.
12007 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
12008 line containing just "*/".
12009 * manual/examples/add.c: Add copyright header (GPL>=2).
12010 * manual/examples/argp-ex1.c: Likewise.
12011 * manual/examples/argp-ex2.c: Likewise.
12012 * manual/examples/argp-ex3.c: Likewise.
12013 * manual/examples/argp-ex4.c: Likewise.
12014 * manual/examples/atexit.c: Likewise.
12015 * manual/examples/db.c: Likewise.
12016 * manual/examples/dir.c: Likewise.
12017 * manual/examples/dir2.c: Likewise.
12018 * manual/examples/execinfo.c: Likewise.
12019 * manual/examples/filecli.c: Likewise.
12020 * manual/examples/filesrv.c: Likewise.
12021 * manual/examples/fmtmsgexpl.c: Likewise.
12022 * manual/examples/genpass.c: Likewise.
12023 * manual/examples/inetcli.c: Likewise.
12024 * manual/examples/inetsrv.c: Likewise.
12025 * manual/examples/isockad.c: Likewise.
12026 * manual/examples/longopt.c: Likewise.
12027 * manual/examples/memopen.c: Likewise.
12028 * manual/examples/memstrm.c: Likewise.
12029 * manual/examples/mkfsock.c: Likewise.
12030 * manual/examples/mkisock.c: Likewise.
12031 * manual/examples/mygetpass.c: Likewise.
12032 * manual/examples/pipe.c: Likewise.
12033 * manual/examples/popen.c: Likewise.
12034 * manual/examples/rprintf.c: Likewise.
12035 * manual/examples/search.c: Likewise.
12036 * manual/examples/select.c: Likewise.
12037 * manual/examples/setjmp.c: Likewise.
12038 * manual/examples/sigh1.c: Likewise.
12039 * manual/examples/sigusr.c: Likewise.
12040 * manual/examples/stpcpy.c: Likewise.
12041 * manual/examples/strdupa.c: Likewise.
12042 * manual/examples/strftim.c: Likewise.
12043 * manual/examples/strncat.c: Likewise.
12044 * manual/examples/subopt.c: Likewise.
12045 * manual/examples/swapcontext.c: Likewise.
12046 * manual/examples/termios.c: Likewise.
12047 * manual/examples/testopt.c: Likewise.
12048 * manual/examples/testpass.c: Likewise.
12049 * manual/examples/timeval_subtract.c: Likewise.
12050
01ae168d
RM
12051 [BZ #13792]
12052 * manual/time.texi (Elapsed Time): Move timeval_subtract example
12053 function to ...
12054 * manual/timeval_subtract.c.texi: ... here, new file.
12055
49efa33d
DM
120562012-03-02 David S. Miller <davem@davemloft.net>
12057
12058 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
12059
28afd92d
JM
120602012-03-02 Joseph Myers <joseph@codesourcery.com>
12061
804360ed
JM
12062 [BZ #3976]
12063 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
12064 (__sin): Save and restore rounding mode and use round-to-nearest
12065 for all computations.
12066 (__cos): Save and restore rounding mode and use round-to-nearest
12067 for all computations.
12068 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
12069 <fenv.h>.
12070 (tan): Save and restore rounding mode and use round-to-nearest for
12071 all computations.
12072 * math/libm-test.inc (cos_test_tonearest): New function.
12073 (cos_test_towardzero): Likewise.
12074 (cos_test_downward): Likewise.
12075 (cos_test_upward): Likewise.
12076 (sin_test_tonearest): Likewise.
12077 (sin_test_towardzero): Likewise.
12078 (sin_test_downward): Likewise.
12079 (sin_test_upward): Likewise.
12080 (tan_test_tonearest): Likewise.
12081 (tan_test_towardzero): Likewise.
12082 (tan_test_downward): Likewise.
12083 (tan_test_upward): Likewise.
12084 (main): Call the new functions.
12085 * sysdeps/i386/fpu/libm-test-ulps: Update.
12086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12087
a6d06d7b
JM
12088 [BZ #10135]
12089 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
12090 small n, then large n, before computing and testing k+n.
12091 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12092 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12093 Likewise.
12094 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12095 Likewise.
12096 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12097 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12098 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12099 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12100 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12101 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12102 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12103 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
12104 * math/libm-test.inc (scalbn_test): Add more tests.
12105 (scalbln_test): Likewise.
12106
07e12bb3
JM
12107 * manual/filesys.texi (mode_t): Describe constraints on size and
12108 signedness, not exact equivalence to a particular type.
12109 (ino_t): Likewise.
12110 (ino64_t): Likewise.
12111 (dev_t): Likewise.
12112 (nlink_t): Likewise.
12113 (blkcnt_t): Likewise.
12114 (blkcnt64_t): Likewise.
12115 * manual/llio.texi (off_t): Likewise.
12116
28afd92d
JM
12117 [BZ #3976]
12118 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
12119 (__ieee754_exp): Save and restore rounding mode and use
12120 round-to-nearest for all computations.
12121 * math/libm-test.inc (exp_test_tonearest): New function.
12122 (exp_test_towardzero): Likewise.
12123 (exp_test_downward): Likewise.
12124 (exp_test_upward): Likewise.
12125 (main): Call the new functions.
12126 * sysdeps/i386/fpu/libm-test-ulps: Update.
12127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12128
b1eeb65d
CD
121292012-03-01 Chris Demetriou <cgd@google.com>
12130
12131 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
12132 have predictable order.
12133
53362a4b
DM
121342012-03-01 David S. Miller <davem@davemloft.net>
12135
3c969083
DM
12136 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
12137
759707de
DM
12138 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12139 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12140 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12141 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12142
dfdb8ff2
DM
12143 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12144 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12145 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12147 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12148 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12149 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12150 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12151 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12152
ead89f96
DM
12153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12154
7f66bd07
DM
12155 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12156 * sysdeps/sparc/fpu/libm-test-ulps: to here.
12157 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12158
53362a4b
DM
12159 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12160 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12161 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12162 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12163 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12164 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12165 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12166 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12167 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12168 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12169 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12170 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12171 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12172 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12173 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12174 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12175 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12176 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12177 * sysdeps/sparc/elf/configure: Regenerated.
12178
7b1902cb
JM
121792012-03-01 Joseph Myers <joseph@codesourcery.com>
12180
bec039bc
JM
12181 * configure.in (AS, LD): Require binutils 2.20 or later.
12182 * configure: Regenerated.
12183 * manual/install.texi (Tools for Compilation): Give binutils 2.20
12184 as required minimum version.
12185 * INSTALL: Regenerated.
12186
7b1902cb
JM
12187 [BZ #2541]
12188 [BZ #4108]
12189 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12190 before squaring exponent.
12191 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12192 bottom long double and 27 bits of top long double before squaring
12193 exponent.
12194 * math/libm-test.inc (erfc_test): Add more tests.
12195 * sysdeps/i386/fpu/libm-test-ulps: Update.
12196 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12198
f775c276
KT
121992012-03-01 Kai Tietz <ktietz@redhat.com>
12200
12201 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12202 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12203 containing bit-fields.
12204 * soft-fp/extended.h (_FP_UNION_E): Likewise.
12205 * soft-fp/single.h (_FP_UNION_S): Likewise.
12206 * soft-fp/double.h (_FP_UNION_D): Likewise.
12207
5b8a4d4a
JM
122082012-02-29 Joseph Myers <joseph@codesourcery.com>
12209
0bab47b6
JM
12210 [BZ #13786]
12211 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12212 not include ../strcmp.S.
12213 [USE_AS_STRNCASECMP_L]: Likewise.
12214 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12215 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12216 * sysdeps/i386/i686/multiarch/strncase_l-c.c
12217 (__strncasecmp_l_ia32): Define as alias to
12218 __strncasecmp_l_nonascii.
12219
0fcad3e2
JM
12220 [BZ #5794]
12221 * math/libm-test.inc (expm1_test): Add test for bug 5794.
12222 * sysdeps/i386/fpu/libm-test-ulps: Update.
12223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12224
5b8a4d4a
JM
12225 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12227
8fdceb2e
JL
122282012-02-29 Jeff Law <law@redhat.com>
12229
12230 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12231 out of bounds read.
12232
1f393a11
MP
122332012-02-29 Marek Polacek <polacek@redhat.com>
12234
12235 [BZ #13706]
12236 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12237 * elf/Makefile: Add rules to run tst-unused-dep.out.
12238
8847f037
DM
122392012-02-28 David S. Miller <davem@davemloft.net>
12240
12241 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12242 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12243 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12244 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12245 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12246 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12247
169d7f11
JM
122482012-02-29 Joseph Myers <joseph@codesourcery.com>
12249
12250 * math/libm-test.inc (llround_test): Move one test from
12251 lround_test. Use TEST_f_L in moved test.
12252 (lround_test): Move misplaced test to llround_test. Add testcase
12253 from bug 2561.
12254
39adf059
UD
122552012-02-28 Ulrich Drepper <drepper@gmail.com>
12256
12257 * sysdeps/x86_64/fpu/e_expf.S: New file.
12258 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12259
71b5d1c5
SB
122602012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12261
12262 [BZ #13637]
12263 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12264 of remain_len that may cause incomplete multi-byte character and
12265 false match.
12266 * posix/bug-regex33.c: New file.
12267 * posix/Makefile (tests): Add bug-regex33.
12268
1f77f049
JM
122692012-02-28 Joseph Myers <joseph@codesourcery.com>
12270
12271 * manual/macros.texi: New file.
12272 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12273 * manual/libc.texinfo: Include macros.texi.
12274 * manual/creatute.texi: Likewise.
12275 * manual/install.texi: Likewise.
12276 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12277 @glibcadj{} in references to the GNU C Library.
12278 * manual/charset.texi: Likewise.
12279 * manual/conf.texi: Likewise.
12280 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12281 when not using those macros.
12282 * manual/creature.texi: Likewise.
12283 * manual/crypt.texi: Likewise.
12284 * manual/errno.texi: Likewise.
12285 * manual/filesys.texi: Likewise.
12286 * manual/header.texi: Likewise.
12287 * manual/install.texi: Likewise.
12288 * manual/intro.texi: Likewise.
12289 * manual/io.texi: Likewise.
12290 * manual/job.texi: Likewise.
12291 * manual/lang.texi: Likewise.
12292 * manual/libc.texiinfo: Likewise.
12293 * manual/llio.texi: Likewise.
12294 * manual/locale.texi: Likewise.
12295 * manual/maint.texi: Likewise.
12296 * manual/math.texi: Likewise.
12297 * manual/memory.texi: Likewise.
12298 * manual/message.texi: Likewise.
12299 * manual/nss.texi: Likewise.
12300 * manual/pattern.texi: Likewise.
12301 * manual/process.texi: Likewise.
12302 * manual/resource.texi: Likewise.
12303 * manual/search.texi: Likewise.
12304 * manual/setjmp.texi: Likewise.
12305 * manual/signal.texi: Likewise.
12306 * manual/socket.texi: Likewise.
12307 * manual/startup.texi: Likewise.
12308 * manual/stdio.texi: Likewise.
12309 * manual/string.texi: Likewise.
12310 * manual/sysinfo.texi: Likewise.
12311 * manual/syslog.texi: Likewise.
12312 * manual/terminal.texi: Likewise.
12313 * manual/time.texi: Likewise.
12314 * manual/users.texi: Likewise.
12315 * INSTALL: Regenerated.
12316 * NOTES: Regenerated.
d40c5d54 12317 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 12318
450bf206
AS
123192012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12320
12321 * include/dirent.h: Include <dirstream.h> before
12322 <dirent/dirent.h>.
12323
741a235b
DM
123242012-02-28 David S. Miller <davem@davemloft.net>
12325
12326 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12327 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12328 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12329 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12330
d6b5aa58
DM
123312012-02-27 David S. Miller <davem@davemloft.net>
12332
1aff59a3
DM
12333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12335 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12336 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12337
d6b5aa58
DM
12338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12339 frame pointer instead of stack pointer relative arg slot.
12340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12341 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12342 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12343
433f48bf
CD
123442012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12345
12346 [BZ #3992]
12347 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12348
d674b76d
DM
123492012-02-27 David S. Miller <davem@davemloft.net>
12350
12351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12355 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12356 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12357 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12358 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12359
0e7727f7
JM
123602012-02-27 Joseph Myers <joseph@codesourcery.com>
12361
12362 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12363 later. Allow versions 5-9.
43be4ca2 12364 * configure: Regenerated.
0e7727f7
JM
12365 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12366 required minimum version and 4.6 as recommended version. Do not
12367 mention bugs in GCC 2.7 and 2.8.
43be4ca2 12368 * INSTALL: Regenerated.
0e7727f7 12369
a78bc654
DM
123702012-02-27 David S. Miller <davem@davemloft.net>
12371
428d5830
DM
12372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12376 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12377 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12378 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12379 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12380
a78bc654
DM
12381 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12382 manipulate bits before adding and subtracting TWO112[sx].
12383 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12384
4579f81c
RM
123852012-02-27 Roland McGrath <roland@hack.frob.com>
12386
36c8acb4
RM
12387 [BZ #13775]
12388 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12389 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12390 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12391 being in POSIX, because they are in 1003.1-2008.
12392
84ad622b
RM
12393 * rt/tst-aio.c: Include <fcntl.h>.
12394 * rt/tst-aio7.c: Likewise.
12395 * rt/tst-aio64.c: Likewise.
12396
4579f81c
RM
12397 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12398
abd923db
JM
123992012-02-27 Joseph Myers <joseph@codesourcery.com>
12400
12401 * manual/install.texi (--with-headers): Describe headers as
12402 interface headers, not private headers.
12403 (Specific advice for GNU/Linux systems): Describe use of headers
12404 from "make headers_install", not private headers from older
12405 kernels.
43be4ca2 12406 * INSTALL: Regenerated.
abd923db
JM
12407 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12408 Change to 2.6.19.
12409 * sysdeps/unix/sysv/linux/configure: Regenerated.
12410
6664049b
JM
12411 * manual/llio.texi (fclean): Remove documentation.
12412
bb8b6697
JM
12413 * manual/Makefile (libc-texi-generated): New variable. Include
12414 version.texi.
12415 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12416 $(libc-texi-generated), not duplicated list of files.
12417 (version.texi, stamp-version): New rules.
12418 (realclean): Remove $(libc-texi-generated), not individual files
12419 from that list. Do not remove dir-add.texinfo.
12420 * manual/libc.texinfo: Comment out uses of edition numbers and
12421 references to printed manual. Remove last-updated dates.
12422 (EDITION): Comment out.
12423 (ISBN): Likewise.
12424 (VERSION, UPDATED): Remove.
12425 (version.texi): Include.
12426
12e5c3b9
AS
124272012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12428
12429 * sysdeps/posix/spawni.c: Include <signal.h>.
12430 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12431 * sysdeps/pthread/aio_fsync.c: Likewise.
12432
4efeffc1 124332012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 12434
ba63ba08
UD
12435 * conform/Makefile (tests): Run only when not cross-compiling and
12436 when fast-check is not defined.
12437
d94a4670
UD
12438 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12439 * conform/data/limits.h-data: Fixes for POSIX2008.
12440 * conform/run-conformtest.sh: Run all tests.
12441 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12442 headers.
12443 * include/bits/dlfcn.h: Likewise.
12444 * include/langinfo.h: Likewise.
12445 * include/monetary.h: Likewise.
12446 * include/sys/poll.h: Likewise.
12447
12448 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12449 for __USE_GNU.
12450 * posix/spawn.h: Define __need_sigset_t.
12451 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12452 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12453 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12454 to get sigevent_t only.
12455 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12456 only for __USE_GNU.
12457 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12458 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12459 process_vm_writev only for __USE_GNU.
12460 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
12461
12462 * conform/Makefile: For now ignore errors from run-conformtest.
12463 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12464 POSIX to avoid namespace pollution. Don't prepend headers.
12465 * conform/data/aio.h-data: Fixes for POSIX testing.
12466 * conform/data/fcntl.h-data: Likewise.
12467 * conform/data/glob.h-data: Likewise.
12468 * conform/data/grp.h-data: Likewise.
12469 * conform/data/pthread.h-data: Likewise.
12470 * conform/data/pwd.h-data: Likewise.
12471 * conform/data/signal.h-data: Likewise.
12472 * conform/data/spawn.h-data: Likewise.
12473 * conform/data/stdio.h-data: Likewise.
12474 * conform/data/stdlib.h-data: Likewise.
12475 * conform/data/stropts.h-data: Likewise.
12476 * conform/data/sys/mman.h-data: Likewise.
12477 * conform/data/sys/stat.h-data: Likewise.
12478 * conform/data/sys/types.h-data: Likewise.
12479 * conform/data/sys/wait.h-data: Likewise.
12480 * conform/data/time.h-data: Likewise.
12481 * conform/data/unistd.h-data: Likewise.
12482 * conform/data/utime.h-data: Likewise.
12483
12484 * io/sys/stat.h: fchmod was always in POSIX.
12485 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12486 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12487 * rt/aio.h: Define __need_timespec before including <time.h>.
12488 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12489 struct. Add forward declaration of pthread_attr_t and use it in
12490 sigevent.
12491 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12492 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12493 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12494 always remove CLK_TCK definition.
12495
c20105c3
AS
124962012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12497
12498 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12499
7a270350
UD
125002012-02-25 Ulrich Drepper <drepper@gmail.com>
12501
31341567
UD
12502 * conform/run-conformtest.sh: New file.
12503 * conform/Makefile: Run run-conformtest for tests.
12504 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12505 support.
12506
12507 * conform/data/uchar.h-data: New file.
12508 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12509 * conform/data/arpa/inet.h-data: Likewise.
12510 * conform/data/assert.h-data: Likewise.
12511 * conform/data/complex.h-data: Likewise.
12512 * conform/data/cpio.h-data: Likewise.
12513 * conform/data/ctype.h-data: Likewise.
12514 * conform/data/dirent.h-data: Likewise.
12515 * conform/data/dlfcn.h-data: Likewise.
12516 * conform/data/errno.h-data: Likewise.
12517 * conform/data/fcntl.h-data: Likewise.
12518 * conform/data/float.h-data: Likewise.
12519 * conform/data/fmtmsg.h-data: Likewise.
12520 * conform/data/fnmatch.h-data: Likewise.
12521 * conform/data/ftw.h-data: Likewise.
12522 * conform/data/glob.h-data: Likewise.
12523 * conform/data/grp.h-data: Likewise.
12524 * conform/data/iconv.h-data: Likewise.
12525 * conform/data/inttypes.h-data: Likewise.
12526 * conform/data/langinfo.h-data: Likewise.
12527 * conform/data/libgen.h-data: Likewise.
12528 * conform/data/limits.h-data: Likewise.
12529 * conform/data/locale.h-data: Likewise.
12530 * conform/data/math.h-data: Likewise.
12531 * conform/data/monetary.h-data: Likewise.
12532 * conform/data/mqueue.h-data: Likewise.
12533 * conform/data/ndbm.h-data: Likewise.
12534 * conform/data/net/if.h-data: Likewise.
12535 * conform/data/netdb.h-data: Likewise.
12536 * conform/data/netinet/in.h-data: Likewise.
12537 * conform/data/nl_types.h-data: Likewise.
12538 * conform/data/poll.h-data: Likewise.
12539 * conform/data/pthread.h-data: Likewise.
12540 * conform/data/pwd.h-data: Likewise.
12541 * conform/data/regex.h-data: Likewise.
12542 * conform/data/sched.h-data: Likewise.
12543 * conform/data/search.h-data: Likewise.
12544 * conform/data/semaphore.h-data: Likewise.
12545 * conform/data/setjmp.h-data: Likewise.
12546 * conform/data/signal.h-data: Likewise.
12547 * conform/data/spawn.h-data: Likewise.
12548 * conform/data/stdarg.h-data: Likewise.
12549 * conform/data/stdio.h-data: Likewise.
12550 * conform/data/stdlib.h-data: Likewise.
12551 * conform/data/string.h-data: Likewise.
12552 * conform/data/strings.h-data: Likewise.
12553 * conform/data/stropts.h-data: Likewise.
12554 * conform/data/sys/ipc.h-data: Likewise.
12555 * conform/data/sys/mman.h-data: Likewise.
12556 * conform/data/sys/msg.h-data: Likewise.
12557 * conform/data/sys/resource.h-data: Likewise.
12558 * conform/data/sys/select.h-data: Likewise.
12559 * conform/data/sys/sem.h-data: Likewise.
12560 * conform/data/sys/shm.h-data: Likewise.
12561 * conform/data/sys/socket.h-data: Likewise.
12562 * conform/data/sys/stat.h-data: Likewise.
12563 * conform/data/sys/statvfs.h-data: Likewise.
12564 * conform/data/sys/time.h-data: Likewise.
12565 * conform/data/sys/timeb.h-data: Likewise.
12566 * conform/data/sys/times.h-data: Likewise.
12567 * conform/data/sys/types.h-data: Likewise.
12568 * conform/data/sys/uio.h-data: Likewise.
12569 * conform/data/sys/un.h-data: Likewise.
12570 * conform/data/sys/utsname.h-data: Likewise.
12571 * conform/data/sys/wait.h-data: Likewise.
12572 * conform/data/syslog.h-data: Likewise.
12573 * conform/data/tar.h-data: Likewise.
12574 * conform/data/termios.h-data: Likewise.
12575 * conform/data/utime.h-data: Likewise.
12576 * conform/data/utmpx.h-data: Likewise.
12577 * conform/data/varargs.h-data: Likewise.
12578 * conform/data/wchar.h-data: Likewise.
12579 * conform/data/wctype.h-data: Likewise.
12580 * conform/data/wordexp.h-data: Likewise.
12581
12582 * include/stropts.h: New file.
12583 * include/uchar.h: New file.
12584 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12585 * include/assert.h: Likewise.
12586 * include/ctype.h: Likewise.
12587 * include/dirent.h: Likewise.
12588 * include/dlfcn.h: Likewise.
12589 * include/fcntl.h: Likewise.
12590 * include/fnmatch.h: Likewise.
12591 * include/glob.h: Likewise.
12592 * include/grp.h: Likewise.
12593 * include/libio.h: Likewise.
12594 * include/locale.h: Likewise.
12595 * include/math.h: Likewise.
12596 * include/net/if.h: Likewise.
12597 * include/netdb.h: Likewise.
12598 * include/netinet/in.h: Likewise.
12599 * include/pthread.h: Likewise.
12600 * include/pwd.h: Likewise.
12601 * include/regex.h: Likewise.
12602 * include/sched.h: Likewise.
12603 * include/search.h: Likewise.
12604 * include/setjmp.h: Likewise.
12605 * include/signal.h: Likewise.
12606 * include/stdio.h: Likewise.
12607 * include/stdlib.h: Likewise.
12608 * include/string.h: Likewise.
12609 * include/sys/cdefs.h: Likewise.
12610 * include/sys/mman.h: Likewise.
12611 * include/sys/msg.h: Likewise.
12612 * include/sys/resource.h: Likewise.
12613 * include/sys/select.h: Likewise.
12614 * include/sys/socket.h: Likewise.
12615 * include/sys/stat.h: Likewise.
12616 * include/sys/statvfs.h: Likewise.
12617 * include/sys/time.h: Likewise.
12618 * include/sys/times.h: Likewise.
12619 * include/sys/uio.h: Likewise.
12620 * include/sys/utsname.h: Likewise.
12621 * include/sys/wait.h: Likewise.
12622 * include/termios.h: Likewise.
12623 * include/time.h: Likewise.
12624 * include/ulimit.h: Likewise.
12625 * include/unistd.h: Likewise.
12626 * include/utime.h: Likewise.
12627 * include/wchar.h: Likewise.
12628 * include/wctype.h: Likewise.
12629 * include/wordexp.h: Likewise.
12630
12631 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12632
7a270350
UD
12633 * time/time.h: TIME_UTC must be a macro.
12634 Make timespec_get available for ISO C11 only as well.
12635
7724defc
UD
126362012-02-24 Ulrich Drepper <drepper@gmail.com>
12637
12638 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12639 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12640
6b1d1d46
JM
126412012-02-24 Joseph Myers <joseph@codesourcery.com>
12642
12643 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 12644
0f8bbd69
JM
126452012-02-24 Joseph Myers <joseph@codesourcery.com>
12646
12647 * manual/texinfo.tex: Update to version 2012-01-19.16.
12648
66ab80bc
JM
126492012-02-24 Joseph Myers <joseph@codesourcery.com>
12650
12651 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12652
74981cc5
RM
126532012-02-24 Roland McGrath <roland@hack.frob.com>
12654
ee968201
RM
12655 [BZ #13738]
12656 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12657 * manual/fdl-1.3.texi: New file.
12658 * manual/fdl-1.1.texi: File removed.
12659
74981cc5
RM
12660 [BZ #13738]
12661 * manual/libc.texinfo (FDL_VERSION): New @set.
12662 Use it for mention of FDL in cover text.
12663 (Documentation License): Use it in @include file name.
12664
7bb764bc
JM
126652012-02-22 Joseph Myers <joseph@codesourcery.com>
12666 Roland McGrath <roland@hack.frob.com>
12667
12668 [BZ #5461]
12669 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12670 not LONG_LONG_MAX and LONG_LONG_MIN.
12671 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12672 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12673 name.
12674 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12675
6cbeae47
JM
126762012-02-22 Joseph Myers <joseph@codesourcery.com>
12677
12678 [BZ #2547]
12679 [BZ #11365]
12680 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12681 manipulate bits before adding and subtracting TWO23[sx].
12682 * math/libm-test.inc (nearbyint_test): Add more tests.
12683
fe45ce09
JM
126842012-02-22 Joseph Myers <joseph@codesourcery.com>
12685
12686 [BZ #2548]
12687 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12688 bits before adding and subtracting TWO23[sx].
12689 * math/libm-test.inc (rint_test): Add more tests.
12690 (rint_test_tonearest): Likewise.
12691 (rint_test_towardzero): Likewise.
12692 (rint_test_downward): Likewise.
12693 (rint_test_upward: Likewise.
12694
ff3b3d82
JM
126952012-02-22 Joseph Myers <joseph@codesourcery.com>
12696
12697 [BZ #10110]
12698 * include/stdc-predef.h: New file. Extracted from features.h.
12699 * include/features.h: Include stdc-predef.h.
12700 * Makefile (headers): Add stdc-predef.h.
12701 * CONFORMANCE (Compiler limitations): Update.
12702
ef0aab35
JM
127032012-02-22 Joseph Myers <joseph@codesourcery.com>
12704
12705 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12706
58639409
DM
127072012-02-21 David S. Miller <davem@davemloft.net>
12708
12709 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12710 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12711
c0e70b25
DM
127122012-02-20 David S. Miller <davem@davemloft.net>
12713
12714 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12715 using a normal save/restore sequence, rather than allocating a
12716 dummy stack frame just to store a frame pointer and restore.
12717 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12718
fb06851d
JM
127192012-02-21 Joseph Myers <joseph@codesourcery.com>
12720
12721 * manual/install.texi: Fix stray word in line-wrapped comment.
12722
7a8b71c3
DM
127232012-02-20 David S. Miller <davem@davemloft.net>
12724
d510c123
DM
12725 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12726 both binutils and gcc support GOTDATA.
12727
0722d7c2
DM
12728 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12729 "rd %pc" in the PIC register setup sequences.
12730
3d2b3019
DM
12731 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12732 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12733 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12734 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12735 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12736 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12737 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12738 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12740 (SYSCALL_ERROR_HANDLER): Likewise.
12741 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12742 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12743 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12744 (SYSCALL_ERROR_HANDLER): Likewise.
12745
c80098a9
DM
12746 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12747 (HAVE_GCC_GOTDATA): New.
12748 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12749 relocation support in both binutils and gcc.
12750 * sysdeps/sparc/elf/configure: Regenerate.
12751
3a2545a0
DM
12752 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12753 * sysdeps/sparc/sparc32/elf/configure: Delete.
12754 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12755 * sysdeps/sparc/sparc64/elf/configure: Delete.
12756 * sysdeps/sparc/elf/configure.in: New file.
12757 * sysdeps/sparc/elf/configure: Generate.
12758
7a8b71c3
DM
12759 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12760 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12761 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12762 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12763 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12764
f1e86fca
JM
127652012-02-21 Joseph Myers <joseph@codesourcery.com>
12766
12767 * manual/install.texi: Do not mention specific glibc version
12768 numbers.
12769 * manual/libc.texinfo (VERSION, UPDATED): Update.
12770 (@copying): Use @copyright{} and range of years.
12771
0e7dfaef
JM
127722012-02-21 Joseph Myers <joseph@codesourcery.com>
12773
12774 [BZ #13695]
12775 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12776 [crti.S not in sysdirs] (generated): Do not append.
12777 [crti.S not in sysdirs] (omit-deps): Likewise.
12778 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12779 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12780 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12781 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12782 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12783 Likewise.
12784 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12785 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12786 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12787 * csu/defs.awk: Remove file.
12788 * sysdeps/generic/initfini.c: Likewise.
12789 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12790 variable.
12791 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12792 Likewise.
12793
599af3ca
JM
127942012-02-20 Joseph Myers <joseph@codesourcery.com>
12795
12796 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12797 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12798 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12799 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12800 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12801 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12802 <bits/epoll.h>.
12803 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12804 (__EPOLL_PACKED): Define to empty if not defined by
12805 <bits/epoll.h>.
12806 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12807 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12808 bits/epoll.h.
12809
0e499750
JM
128102012-02-20 Joseph Myers <joseph@codesourcery.com>
12811
12812 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12813 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12814 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12815 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12816 <bits/timerfd.h>.
12817 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12819 bits/timerfd.h.
12820
5ad91f6e
JM
128212012-02-20 Joseph Myers <joseph@codesourcery.com>
12822
12823 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12824 in C locale.
12825 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12826 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12827 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12829
06b99b02
AJ
128302012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12831
12832 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12833 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12834
7638c0fd
AS
128352012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12836
12837 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12838 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12839 defined.
12840 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12841 Likewise.
12842 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12843 entry for 2.16.
12844
92221550
AJ
128452012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12846
12847 * math/w_acos.c: Use non-signaling floating-point comparisons.
12848 * math/w_acosf.c: Likewise.
12849 * math/w_acosh.c: Likewise.
12850 * math/w_acoshf.c: Likewise.
12851 * math/w_acoshl.c: Likewise.
12852 * math/w_acosl.c: Likewise.
12853 * math/w_asin.c: Likewise.
12854 * math/w_asinf.c: Likewise.
12855 * math/w_asinl.c: Likewise.
12856 * math/w_atanh.c: Likewise.
12857 * math/w_atanhf.c: Likewise.
12858 * math/w_atanhl.c: Likewise.
12859 * math/w_exp2.c: Likewise.
12860 * math/w_exp2f.c: Likewise.
12861 * math/w_exp2l.c: Likewise.
12862 * math/w_j0.c: Likewise.
12863 * math/w_j0f.c: Likewise.
12864 * math/w_j0l.c: Likewise.
12865 * math/w_j1.c: Likewise.
12866 * math/w_j1f.c: Likewise.
12867 * math/w_j1l.c: Likewise.
12868 * math/w_jn.c: Likewise.
12869 * math/w_jnf.c: Likewise.
12870 * math/w_log.c: Likewise.
12871 * math/w_log10.c: Likewise.
12872 * math/w_log10f.c: Likewise.
12873 * math/w_log10l.c: Likewise.
12874 * math/w_log2.c: Likewise.
12875 * math/w_log2f.c: Likewise.
12876 * math/w_log2l.c: Likewise.
12877 * math/w_logf.c: Likewise.
12878 * math/w_logl.c: Likewise.
12879 * math/w_sqrt.c: Likewise.
12880 * math/w_sqrtf.c: Likewise.
12881 * math/w_sqrtl.c: Likewise.
12882 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12883 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12884 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12885 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12886 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12887
ebaf36eb
JM
128882012-02-19 Joseph Myers <joseph@codesourcery.com>
12889
12890 [BZ #9739]
12891 * manual/string.texi (strnlen): Use correct parameter name in
12892 equivalent expression.
12893
71c254a6
JM
128942012-02-19 Joseph Myers <joseph@codesourcery.com>
12895
12896 [BZ #11174]
12897 * manual/users.texi (seteuid): Consistently use neweuid for
12898 argument name.
12899
16d2c631
JM
129002012-02-19 Joseph Myers <joseph@codesourcery.com>
12901
12902 [BZ #13704]
12903 * manual/nss.texi (Services in the NSS configuration): Correct
12904 list of services in example configuration file.
12905
cd837b09
NB
129062012-02-19 Nick Bowler <nbowler@draconx.ca>
12907
12908 [BZ #11322]
12909 * manual/arith.texi: Remove statements about negative zero
12910 behaving identically to zero.
12911
02c4bbad
JM
129122012-02-18 Joseph Myers <joseph@codesourcery.com>
12913
12914 [BZ #5993]
12915 * manual/install.texi: Do not document upgrading from libc5.
12916
366842e7
JM
129172012-02-18 Joseph Myers <joseph@codesourcery.com>
12918
12919 [BZ #4596]
12920 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12921
dd54084d
DM
129222012-02-18 David S. Miller <davem@davemloft.net>
12923
12924 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12925 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12926 %o7 across the call.
12927 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12928 instead.
12929 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12930 SETUP_PIC_REG_LEAF.
12931 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12932 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12933 * sysdeps/sparc/crtn.S: Likewise.
12934
2bcc53a3
UD
129352012-02-17 Ulrich Drepper <drepper@gmail.com>
12936
12937 * aout/Makefile: Remove.
12938
09c093b5
RK
129392012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12940
12941 [BZ #13058]
12942 * manual/examples/argp-ex1.c (main): Format definition in GNU
12943 style.
12944 * manual/examples/argp-ex2.c (main): Likewise.
12945 * manual/examples/argp-ex3.c (main): Likewise.
12946 * manual/examples/argp-ex4.c (main): Likewise.
12947 * manual/examples/longopt.c (main): Use new-style prototype
12948 definition.
12949 * manual/examples/strncat.c (main): Specify return type and use
12950 (void) for arguments.
12951 * manual/examples/subopt.c (main): Use char **argv argument.
12952
2ee633a2
JM
129532012-02-17 Joseph Myers <joseph@codesourcery.com>
12954
12955 [BZ #5077]
12956 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12957 rounding modes.
12958
0520adde
FB
129592012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12960
12961 [BZ #6907]
12962 * manual/string.texi (strchr): Change when strchrnul is
12963 recommended.
12964
3f4081cd
DGM
129652012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12966
12967 [BZ #174]
12968 * manual/locale.texi (setlocale): Document LOCPATH.
12969
d1b10e78
JM
129702012-02-17 Joseph Myers <joseph@codesourcery.com>
12971
12972 [BZ #10210]
12973 * manual/process.texi (execle): Move @dots{} before last argument.
12974
79c6869c
PB
129752012-02-17 Paul Bolle <pebolle@tiscali.nl>
12976
12977 [BZ #12047]
12978 * manual/charset.texi (Generic Charset Conversion): Fix typo
12979 (LC_TYPE -> LC_CTYPE).
12980
cc6e48bc
NB
129812012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12982
12983 [BZ #5805]
12984 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12985 (scalbnf): Likewise.
12986 (scalbnl): Likewise.
12987 (scalbln): Likewise.
12988 (scalblnf): Likewise.
12989 (scalblnl): Likewise.
12990 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12991 (vwarnx): Likewise.
12992 (verr): Likewise.
12993 (verrx): Likewise.
12994 * manual/filesys.texi (telldir): Use braces around return type.
12995 * manual/llio.texi (mmap): Add space after comma.
12996 (mmap64): Likewise.
12997 * manual/math.texi (jn): Use @var{} on parameter names.
12998 (jnf): Likewise.
12999 (jnl): Likewise.
13000 (yn): Likewise.
13001 (ynf): Likewise.
13002 (ynl): Likewise.
13003 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
13004 line.
13005 * manual/resource.texi (ulimit): Use @dots{} instead of literal
13006 "...".
13007 (sched_get_priority_min): Remove semicolon on @deftypefun line.
13008 (sched_get_priority_max): Likewise.
13009 * manual/signal.texi (sigvec): Add space after comma.
13010 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
13011 names.
13012 (if_indextoname): Likewise.
13013 (if_freenameindex): Likewise.
13014 (sendto): Use ',' instead of '.' in prototype.
13015 * manual/startup.texi (syscall): Use @dots{} instead of literal
13016 "...".
13017 * manual/stdio.texi (__fpending): Separate initial words of
13018 paragraph from @deftypefun line.
13019 * manual/syslog.texi (syslog): Use @dots{} instead of literal
13020 "...".
13021 (vsyslog): Use @var{} on parameter names.
13022 * manual/terminal.texi (stty): Use @var{} on parameter names.
13023 * manual/users.texi (getutmp): Use @var{} on parameter names.
13024 (getutmpx): Likewise.
13025
5b23062f
JM
130262012-02-17 Joseph Myers <joseph@codesourcery.com>
13027
13028 [BZ #6884]
13029 * manual/stdio.texi (fopen): Fix typos in description of
13030 ",ccs=STRING".
13031
8dee4833
AJ
130322012-02-17 Aurelien Jarno <aurelien@aurel32.net>
13033
13034 [BZ #4026]
13035 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
13036 get clock_id definition.
13037
9078ce93
TS
130382012-02-17 Thomas Schwinge <thomas@schwinge.name>
13039
13040 [BZ #4822]
13041 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
13042 (madvise): Cast every argument to void on its own.
13043
3835c55f
JM
130442012-02-17 Joseph Myers <joseph@codesourcery.com>
13045
13046 [BZ #9902]
13047 * manual/startup.texi (Exit Status): Fix typo.
13048
35c47e37
JM
130492012-02-17 Joseph Myers <joseph@codesourcery.com>
13050
13051 [BZ #10140]
13052 * manual/examples/argp-ex1.c: Include <stdlib.h>.
13053 * manual/examples/argp-ex2.c: Likewise.
13054 * manual/examples/argp-ex3.c: Likewise.
13055
e3b69ca7
RH
130562012-02-16 Richard Henderson <rth@redhat.com>
13057
13058 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
13059 * sysdeps/s390/s390-32/initfini.c: Remove.
13060 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
13061 * sysdeps/s390/s390-64/initfini.c: Remove.
13062
df83af67
KK
130632012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13064
13065 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
13066 compiler output for sysdeps/generic/initfini.c.
13067 * sysdeps/sh/elf/initfini.c: Remove file.
13068
f63f3380
DM
130692012-02-16 David S. Miller <davem@davemloft.net>
13070
fb59b3a4
DM
13071 [BZ #11494]
13072 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
13073
f63f3380
DM
13074 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
13075 * sysdeps/sparc/crti.S: New file.
13076 * sysdeps/sparc/crtn.S: New file.
13077 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
13078 * sysdeps/sparc/sparc64/Makefile: Likewise.
13079
df6a4a4a
MF
130802012-02-15 Mike Frysinger <vapier@gentoo.org>
13081
6dd8f3dc 13082 [BZ #3335]
df6a4a4a
MF
13083 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
13084
1cac7236
RM
130852012-02-15 Roland McGrath <roland@hack.frob.com>
13086
d2c736f8
RM
13087 [BZ #4822]
13088 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
13089
1cac7236
RM
13090 * mach/devstream.c (cookie_io_functions_t): Macro removed.
13091 (write, read, close): Likewise.
13092 Patch by Aurelien Jarno <aurelien@aurel32.net>.
13093
8e475601
JM
130942012-02-15 Joseph Myers <joseph@codesourcery.com>
13095
13096 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
13097 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
13098 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
13099 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
13100 <bits/signalfd.h>.
13101 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
13102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13103 bits/signalfd.h.
13104
ed656b40
MP
131052012-02-14 Marek Polacek <polacek@redhat.com>
13106
13107 * sysdeps/x86_64/crti.S: New file.
13108 * sysdeps/x86_64/crtn.S: New file.
13109 * sysdeps/x86_64/elf/initfini.c: Remove file.
13110
2a979d3a
JM
131112012-02-13 Joseph Myers <joseph@codesourcery.com>
13112
13113 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
13114 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
13115 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
13116 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
13117 <bits/inotify.h>.
13118 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
13119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13120 bits/inotify.h.
13121
2a418ac3
JM
131222012-02-13 Joseph Myers <joseph@codesourcery.com>
13123
13124 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
13125 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
13126 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
13127 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
13128 <bits/eventfd.h>.
13129 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
13130 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13131 bits/eventfd.h.
13132
fb779be7
TS
131332012-02-10 Thomas Schwinge <thomas@codesourcery.com>
13134
e19e83c5
RM
13135 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
13136 __feraiseexcept instead of feraiseexcept.
7c35ffed 13137
fb779be7
TS
13138 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13139 nanosleep invocations.
13140 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13141 strings, and add error checking for a nanosleep invocations.
13142
59ba27a6
PE
131432012-02-09 Paul Eggert <eggert@cs.ucla.edu>
13144
13145 Replace FSF snail mail address with URLs, as per GNU coding standards.
13146 Most of the snail mail addresses were wrong anyway, and omitting
13147 them makes the source code easier to maintain. Almost all of the
13148 changes are to license notices and to locale LC_IDENTIFICATION
13149 addresses, except for this one:
13150 * manual/libc.texinfo: In "Published by", give the FSF's URL,
13151 not its snail mail address.
13152
57b957eb
RH
131532012-02-09 Richard Henderson <rth@twiddle.net>
13154
af850b1c
RH
13155 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13156 of kernel-features.h.
13157
57b957eb
RH
13158 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13159
6b73181a
MP
131602012-02-08 Marek Polacek <polacek@redhat.com>
13161
13162 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13163 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13164 * sysdeps/gnu/_G_config.h: Likewise.
13165 * sysdeps/generic/_G_config.h: Likewise.
13166
26ecc33a
AS
131672012-02-08 Andreas Schwab <schwab@linux-m68k.org>
13168
6c6dbc63
AS
13169 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13170 tests.
13171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13172
e216c012
AS
13173 * sysdeps/powerpc/powerpc32/crti.S: New file.
13174 * sysdeps/powerpc/powerpc32/crtn.S: New file.
13175 * sysdeps/powerpc/powerpc64/crti.S: New file.
13176 * sysdeps/powerpc/powerpc64/crtn.S: New file.
13177
26ecc33a
AS
13178 * Makeconfig (have-initfini): Don't set.
13179 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13180 * configure.in (nopic_initfini): Don't substitute.
13181 * config.h.in (HAVE_INITFINI): Don't #undef.
13182 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13183 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13184
3add8e13
JM
131852012-02-08 Joseph Myers <joseph@codesourcery.com>
13186
13187 Support crti.S and crtn.S provided directly by architectures.
13188 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13189 [crti.S in sysdirs] (omit-deps): Likewise.
13190 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13191 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13192 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13193 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13194 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13195 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13196 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13197 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13198 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13199 compiler output for sysdeps/generic/initfini.c.
13200 * sysdeps/i386/elf/Makefile: Remove file.
13201 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13202
a22f12b4
MP
132032012-02-07 Marek Polacek <polacek@redhat.com>
13204
13205 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13206 * sysdeps/gnu/_G_config.h: Likewise.
13207 * sysdeps/mach/hurd/_G_config.h: Likewise.
13208
148cf100
MP
132092012-02-07 Marek Polacek <polacek@redhat.com>
13210
13211 * math/Makefile (tests): Add tst-CMPLX2.
13212 * math/tst-CMPLX2.c: New file.
13213
cfdc0dd7
AS
132142012-02-07 Andreas Schwab <schwab@linux-m68k.org>
13215
84ba42c4
AS
13216 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13217
cfdc0dd7
AS
13218 * math/libm-test.inc (jn_test): Add missing L suffix.
13219
622c86f4
MP
132202012-02-06 Marek Polacek <polacek@redhat.com>
13221
13222 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13223 * sysdeps/i386/fpu/e_powf.S: Likewise.
13224 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13225 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13226 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13227 * sysdeps/i386/fpu/e_pow.S: Likewise.
13228 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13229 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13230 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13231 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13232 * sysdeps/i386/fpu/e_log2.S: Likewise.
13233 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13234 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13235 * sysdeps/i386/fpu/e_powl.S: Likewise.
13236 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13237 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13238 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13239 * sysdeps/i386/fpu/e_logl.S: Likewise.
13240 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13241 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13242 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13243 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13244 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13245 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13246 * sysdeps/i386/fpu/e_log.S: Likewise.
13247 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13248 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13249 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13250 * sysdeps/i386/fpu/e_logf.S: Likewise.
13251 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13252 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13253 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13254 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13255 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13256 * sysdeps/i386/fpu/e_log10.S: Likewise.
13257 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13258 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13259 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13260 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13261 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13262 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13263 * sysdeps/i386/asm-syntax.h: Likewise.
13264 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13265 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13266 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13267 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13268 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13269 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13270 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13271 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13272 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13273 * sysdeps/powerpc/sysdep.h: Likewise.
13274 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13275 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13276
d4a54ac6
JM
132772012-02-06 Joseph Myers <joseph@codesourcery.com>
13278
13279 [BZ #411]
13280 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13281
314054ea
JM
132822012-02-06 Joseph Myers <joseph@codesourcery.com>
13283
13284 * sysdeps/i386/sysdep.h: Include <features.h>.
13285 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13286 version.
13287
d8e0ca50
JM
132882012-02-05 Joseph Myers <joseph@codesourcery.com>
13289
13290 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13291 Define.
13292 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13293 LOAD_PIC_REG_STR.
13294
b1da7dd9
JM
132952012-02-03 Joseph Myers <joseph@codesourcery.com>
13296
13297 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13298 (SETUP_PIC_REG): Use GET_PC_THUNK.
13299 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13300 macro.
13301
9a1d9254
JM
133022012-02-03 Joseph Myers <joseph@codesourcery.com>
13303
13304 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13305 for non-PIC compilation.
13306 (SETUP_PIC_REG): Add .p2align directive.
13307 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13308 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13309 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13310 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13311 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13312 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13313 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13314 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13315 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13316 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13317 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13318 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13319 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13320 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13321 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13322 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13323 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13324 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13325 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13326 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13327 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13328 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13329 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13330 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13331 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13332 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13333 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13334 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13335 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13336 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13337 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13338 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13339 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13340 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13341 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13342 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13343 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13344 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13345 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13346 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13347 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13348
65dc3b75
JM
133492012-02-03 Joseph Myers <joseph@codesourcery.com>
13350
13351 * math/tst-CMPLX.c: Include <stdio.h>.
13352
d55bf177
JM
133532012-01-31 Joseph Myers <joseph@codesourcery.com>
13354
13355 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13356 float.
13357 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13358 * sysdeps/sparc/bits/mathdef.h: Likewise.
13359
69db4f8f
MP
133602012-01-31 Marek Polacek <polacek@redhat.com>
13361
13362 * libio/libio.h: Don't define _PARAMS.
13363 * locale/programs/config.h: Don't define PARAMS.
13364 * stdlib/strtol_l.c: Likewise.
13365 (__strtol_l): Remove PARAMS from the prototype.
13366
41b81892
UD
133672012-01-31 Ulrich Drepper <drepper@gmail.com>
13368
3b49edc0
UD
13369 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13370 names. Just use the correct names. Remove unnecessary wrapper
13371 functions.
13372 * malloc/arena.c: Likewise.
13373 * malloc/hooks.c: Likewise.
13374
41b81892
UD
13375 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13376 ARENA_TEST says not to. Simplify test for creation of a new arena.
13377 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13378
27a25b6e
UD
133792012-01-30 Ulrich Drepper <drepper@gmail.com>
13380
13381 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13382 into tail calls.
13383 (update_get_addr): New function.
13384 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13385 GET_ADDR_MODULE parameter.
13386
c8a89e7d
JM
133872012-01-30 Joseph Myers <joseph@codesourcery.com>
13388
13389 * crypt/cert.c: Remove __STDC__ conditionals.
13390 * crypt/crypt-entry.c: Likewise.
13391 * crypt/crypt_util.c: Likewise.
13392 * libio/filedoalloc.c: Likewise.
13393 * libio/fileops.c: Likewise.
13394 * libio/genops.c: Likewise.
13395 * libio/iofclose.c: Likewise.
13396 * libio/iofdopen.c: Likewise.
13397 * libio/iofopen.c: Likewise.
13398 * libio/iofopen64.c: Likewise.
13399 * libio/iogetdelim.c: Likewise.
13400 * libio/iopopen.c: Likewise.
13401 * libio/obprintf.c: Likewise.
13402 * libio/oldfileops.c: Likewise.
13403 * libio/oldiofclose.c: Likewise.
13404 * libio/oldiofdopen.c: Likewise.
13405 * libio/oldiofopen.c: Likewise.
13406 * libio/oldiopopen.c: Likewise.
13407 * libio/wfiledoalloc.c: Likewise.
13408 * libio/wgenops.c: Likewise.
13409 * locale/programs/xmalloc.c: Likewise.
13410 * misc/syslog.c: Likewise.
13411 * stdio-common/xbug.c: Likewise.
13412 * string/memchr.c: Likewise.
13413 * string/memcmp.c: Likewise.
13414 * string/memrchr.c: Likewise.
13415 * string/rawmemchr.c: Likewise.
13416 * sysdeps/posix/getcwd.c: Likewise.
13417 * time/strftime_l.c: Likewise.
13418
3b100462
JM
134192012-01-30 Joseph Myers <joseph@codesourcery.com>
13420
13421 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
13422 * config.make.in (config-cflags-sse2avx): Define.
13423 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13424 Fix typo.
13425
607998af
CM
134262012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13427
13428 * scripts/config.guess: Update from upstream config git repository.
13429 * scripts/config.sub: Likewise.
13430
3601428f
CM
134312012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13432
3ac8b282
CM
13433 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13434 (EM_NUM): Update.
13435 (R_TILEPRO_*, R_TILEGX_*): New macros.
13436
e034841e
CM
13437 * scripts/firstversions.awk: Fix bug in version range handling.
13438
540d7568
CM
13439 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13440
3601428f
CM
13441 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13442
463de862
CM
13443 * include/sys/epoll.h: New file.
13444 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13445 libc_hidden_def.
13446
73139a76
UD
134472012-01-28 Ulrich Drepper <drepper@gmail.com>
13448
96bc5b45
UD
13449 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13450 Avoid unnecessary __WORDSIZE == 64 test.
13451 (fmaxf): Use VEX format if possible.
13452 (fmax): Likewise.
13453 (fminf): Likewise.
13454 (fmin): Likewise.
13455
56f6f6a2
UD
13456 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13457 * math/math_private.h: Remove libc_fegetround* and
13458 libc_fesetround*.
13459 * sysdeps/i386/configure.in: Check for -msse2avx.
13460 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13461 also if SSE2AVX is defined.
13462 Remove libc_fegetround* and libc_fesetround*.
13463 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13464 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13465 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13466 of HAS_YMM_USABLE.
13467 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13468 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13469 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13470 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13471 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13472
73139a76
UD
13473 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13474
d73f93a4
AZ
134752012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13476
13477 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13478 size is not set.
13479 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13480
6ee65ed6
UD
134812012-01-27 Ulrich Drepper <drepper@gmail.com>
13482
13483 [BZ #13618]
13484 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13485 relocation.
13486 * Makeconfig (libm): Define.
13487 * elf/Makefile: Add rules to build and run tst-relsort1.
13488 * elf/tst-relsort1.c: New file.
13489 * elf/tst-relsort1mod1.c: New file.
13490 * elf/tst-relsort1mod2.c: New file.
13491
8db21882
JM
134922012-01-27 Joseph Myers <joseph@codesourcery.com>
13493
13494 * math/s_ldexp.c: Remove __STDC__ conditionals.
13495 * math/s_ldexpf.c: Likewise.
13496 * math/s_ldexpl.c: Likewise.
13497 * math/s_nextafter.c: Likewise.
13498 * math/s_nexttowardf.c: Likewise.
13499 * math/s_significand.c: Likewise.
13500 * math/s_significandf.c: Likewise.
13501 * math/s_significandl.c: Likewise.
13502 * math/w_jnl.c: Likewise.
13503 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13504 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13505 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13506 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13507 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13508 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13509 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13510 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13511 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13512 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13513 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13514 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13515 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13516 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13517 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13518 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13519 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13520 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13521 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13522 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13523 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13524 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13525 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13526 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13527 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13528 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13529 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13530 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13531 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13532 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13533 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13534 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13535 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13536 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13537 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13538 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13539 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13540 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13541 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13542 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13543 * sysdeps/ieee754/k_standard.c: Likewise.
13544 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13545 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13546 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13547 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13548 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13549 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13550 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13551 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13552 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13553 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13554 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13555 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13556 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13557 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13558 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13559 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13560 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13561 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13562 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13563 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13564 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13565 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13566 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13567 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13568 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13569 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13570 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13571 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13572 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13573 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13574 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13575 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13576 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13577 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13578 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13579 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13580 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13581 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13582 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13583 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13584 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13585 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13586 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13587 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13588 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13589 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13590 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13591 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13592 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13593 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13594 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13595 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13596 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13597 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13598 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13599 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13600 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13601 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13602 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13603 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13604 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13605 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13606 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13607 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13608 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13609 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13610 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13611 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13612 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13613 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13614 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13615 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13616 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13617 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13618 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13619 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13620 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13621 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13622 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13623 * sysdeps/ieee754/s_matherr.c: Likewise.
13624 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13625 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13626 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13627 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13628
965a54a4
JM
136292012-01-26 Joseph Myers <joseph@codesourcery.com>
13630
13631 * crypt/md5.h: Remove __STDC__ conditionals.
13632 * libio/libioP.h: Likewise.
13633 * locale/programs/config.h: Likewise.
13634 * sysdeps/generic/sysdep.h: Likewise.
13635 * sysdeps/i386/asm-syntax.h: Likewise.
13636 * sysdeps/s390/asm-syntax.h: Likewise.
13637 * sysdeps/unix/sysdep.h: Likewise.
13638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13640
7071ad79
JM
136412012-01-26 Joseph Myers <joseph@codesourcery.com>
13642
13643 * libio/libio.h: Remove __STDC__ conditionals.
13644 * malloc/obstack.h: Likewise.
13645 * math/complex.h: Likewise.
13646 * math/math.h: Likewise.
13647 * sysdeps/generic/_G_config.h: Likewise.
13648 * sysdeps/gnu/_G_config.h: Likewise.
13649 * sysdeps/mach/hurd/_G_config.h: Likewise.
13650 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13651 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13652 * sysdeps/sparc/bits/mathdef.h: Likewise.
13653
afc5ed09
UD
136542012-01-26 Ulrich Drepper <drepper@gmail.com>
13655
13656 [BZ #13583]
13657 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 13658 Clean up HAS_* macros.
afc5ed09 13659 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
13660 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13661 possible.
13662 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13663 HAS_AVX.
13664 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13665 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13666 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13667 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13668 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 13669
bdb6de1d
JM
136702012-01-25 Joseph Myers <joseph@codesourcery.com>
13671
13672 * elf/tst-unique3.cc (gets): Remove declaration.
13673 * elf/tst-unique3lib.cc (gets): Likewise.
13674 * elf/tst-unique3lib2.cc (gets): Likewise.
13675 * elf/tst-unique4.cc (gets): Likewise.
13676
b15549e6
UD
136772012-01-24 Ulrich Drepper <drepper@gmail.com>
13678
13679 * include/stdio.h: Add C++ protection. Add gets declarations and
13680 definitions.
13681 * debug/tst-chk1.c: Don't declare gets here.
13682 * stdio-common/tst-gets.c: Likewise.
13683
a037381f
JM
136842012-01-24 Joseph Myers <joseph@codesourcery.com>
13685
13686 * posix/glob: Remove directory.
13687
f1d4aa75
JM
136882012-01-24 Joseph Myers <joseph@codesourcery.com>
13689
13690 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13691
81c0c964
PT
136922012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13693
13694 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13695 of the non-standard EPFNOSUPPORT.
13696
0ea698ae
ST
136972011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13698
13699 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13700 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13701 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13702
d220b117
UD
137032012-01-21 Ulrich Drepper <drepper@gmail.com>
13704
13705 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13706
3e1aa84e
UD
137072012-01-20 Ulrich Drepper <drepper@gmail.com>
13708
13709 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13710 transient errors.
13711 * nscd/grpcache.c (cache_addgr): Likewise.
13712 * nscd/hstcache.c (cache_addhst): Likewise.
13713 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13714 * nscd/pwdcache.c (cache_addpw): Likewise.
13715 * nscd/servicescache.c (cache_addserv): Likewise.
13716
400aa020
UD
137172012-01-16 Ulrich Drepper <drepper@gmail.com>
13718
d77e7869
UD
13719 * malloc/malloc.c: Various cleanups.
13720 * malloc/hooks.c: Likewise.
13721
400aa020
UD
13722 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13723 * stdlib/bug-fmtmsg1.c: New file.
13724
13725 * stdlib/fmtmsg.c (init): Add missing unlock.
13726 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13727
e0a309cf
MP
137282012-01-12 Marek Polacek <polacek@redhat.com>
13729
13730 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13731 and _GNU_SOURCE.
13732
929d11c7
WS
137332012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13734
13735 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13736 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13737 macro to ensure uniqueness of label name.
13738 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13739 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13740
41d0e869
UD
137412012-01-11 Ulrich Drepper <drepper@gmail.com>
13742
0cc5ed3b
UD
13743 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13744
41d0e869
UD
13745 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13746 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13747 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13748 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13749
a47a831a
UD
137502012-01-10 Ulrich Drepper <drepper@gmail.com>
13751
daa891c0
UD
13752 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13753
13754 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13755 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13756 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13757
e58ef0f2
UD
13758 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13759
a47a831a 13760 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
13761 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13762 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 13763 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
13764
13765 * math/bits/math-finite.h: Add ldexp support.
13766
a0bfc9c7
MP
137672012-01-10 Marek Polacek <polacek@redhat.com>
13768
13769 * locale/programs/localedef.h (show_archive_content): Add noreturn
13770 attribute.
13771
d6e97a1d
UD
137722012-01-09 Ulrich Drepper <drepper@gmail.com>
13773
13774 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13775
d5835c26
UD
137762012-01-08 Ulrich Drepper <drepper@gmail.com>
13777
e5f484c6
UD
13778 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13779
d5835c26
UD
13780 * io/Makefile (headers): Add bits/poll2.h.
13781
d1f741e9
WS
137822011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13783
13784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13785 typo #include statement.
13786
ec09c1c4
UD
137872012-01-08 Ulrich Drepper <drepper@gmail.com>
13788
13789 * include/sys/cdefs.h: Define __attribute_alloc_size.
13790 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13791 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13792 * elf/pldd.c: Likewise.
13793 * iconv/iconv_charmap.c: Likewise.
13794 * iconv/iconvconfig.c: Likewise.
13795 * iconv/strtab.c: Likewise.
13796 * locale/programs/locale.c: Likewise.
13797 * locale/programs/localedef.h: Likewise.
13798 * locale/programs/simple-hash.c: Likewise.
13799 * nscd/nscd.h: Likewise.
13800 * nss/makedb.c: Likewise.
13801 * sysdeps/generic/ldconfig.h: Likewise.
13802 * locale/programs/localedef.c: Remove xmalloc prototype.
13803 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13804
20b38e03
PP
138052012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13806
13807 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13808 appropriate.
13809
a0da5fe1
UD
138102012-01-08 Ulrich Drepper <drepper@gmail.com>
13811
1d5a644a 13812 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13813 * math/tst-CMPLX.c: New file.
1d5a644a 13814
8784a6db
UD
13815 * math/complex.h (CMPLXL): Fix typo.
13816
d9a216c0
UD
13817 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13818 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13819 GLIBC_2.16.
13820 * debug/tst-chk1.c: Add poll and ppoll tests.
13821 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13822 * include/sys/poll.h: Add hidden proto for ppoll.
13823 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13824 * sysdeps/mach/hurd/ppoll.c: Likewise.
13825 * io/ppoll.c: Likewise.
13826 * debug/poll_chk.c: New file.
13827 * debug/ppoll_chk.c: New file.
13828 * include/bits/poll2.h: New file.
13829 * io/bits/poll2.h: New file.
13830
ac097f5c
UD
13831 [BZ #1350]
13832 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13833
2119dcfa
UD
13834 * configure.in: static is always set to yes. Remove.
13835 * config.make.in: Don't set build-static.
13836 * Makeconfig: Remove use of build-static.
13837 * dlfcn/Makefile: Likewise.
13838 * elf/Makefile: Likewise.
13839 * math/Makefile: Likewise.
13840 * misc/Makefile: Likewise.
13841 * nptl/Makefile: Likewise.
13842 * sysdeps/mach/hurd/Makefile: Likewise.
13843
121766a9
UD
13844 * configure.in: PWD_P is not used anymore.
13845 * config.make.in: Remove PWD_P entry.
13846
51a1d39c 13847 * configure.in: Remove last remnants of RANLIB.
8720d066 13848 No need to check for signed size_t anymore.
215f4bdc
UD
13849 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13850 and IA-64.
3857022a 13851 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
13852 * aclocal.m4: Likewise.
13853
d3ed7225
UD
13854 * wcsmbs/mbrtoc16.c: Implement using towc function.
13855 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13856 * wcsmbs/wcsmbsload.c: Likewise.
13857 * iconv/gconv_simple.c: Likewise.
13858 * iconv/gconv_int.h: Likewise.
13859 * iconv/gconv_builtin.h: Likewise.
13860 * iconv/iconv_prog.c: Remove CHAR16 handling.
13861
13862 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13863
13864 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13865
a0da5fe1
UD
13866 * configure.in: Remove --with-elf and --enable-bounded options.
13867 Dont set base_machine for ia64. More non-ELF conditions removed.
13868 Remove testing and setting of leading underscore information.
13869 * config.make.in (build-bounded): Set to no.
13870 * config.h.in: Remove NO_UNDERSCORES entry.
13871 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13872 them.
13873 * csu/start.c: Remove !NO_UNDERSCORE code.
13874 * locale/localeinfo.h: Likewise.
13875 * sysdeps/generic/machine-gmon.h: Likewise.
13876 * sysdeps/generic/sysdep.h: Likewise.
13877 * sysdeps/i386/sysdep.h: Likewise.
13878 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13879 * sysdeps/mach/sysdep.h: Likewise.
13880 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13881 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13882 * sysdeps/sh/sysdep.h: Likewise.
13883 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13884 * sysdeps/unix/i386/sysdep.S: Likewise.
13885 * sysdeps/unix/sparc/start.c: Likewise.
13886 * sysdeps/unix/sparc/sysdep.S: Likewise.
13887 * sysdeps/unix/sparc/sysdep.h: Likewise.
13888 * sysdeps/unix/start.c: Likewise.
13889 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13890 * sysdeps/x86_64/sysdep.h: Likewise.
13891
df78418a
UD
138922012-01-07 Ulrich Drepper <drepper@gmail.com>
13893
a784e502
UD
13894 [BZ #13553]
13895 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13896 for non-gcc.
13897 * argp/argp-fmtstream.h: Use const instead __const.
13898 * argp/argp.h: Likewise.
13899 * assert/assert.h: Likewise.
13900 * bits/fenv.h: Likewise.
13901 * bits/sched.h: Likewise.
13902 * bits/sigset.h: Likewise.
13903 * bits/sigthread.h: Likewise.
13904 * catgets/nl_types.h: Likewise.
13905 * conform/data/pthread.h-data: Likewise.
13906 * crypt/crypt-private.h: Likewise.
13907 * crypt/crypt.h: Likewise.
13908 * crypt/crypt_util.c: Likewise.
13909 * ctype/ctype.h: Likewise.
13910 * debug/execinfo.h: Likewise.
13911 * debug/mbsnrtowcs_chk.c: Likewise.
13912 * debug/mbsrtowcs_chk.c: Likewise.
13913 * debug/wcsnrtombs_chk.c: Likewise.
13914 * debug/wcsrtombs_chk.c: Likewise.
13915 * debug/wcstombs_chk.c: Likewise.
13916 * dirent/dirent.h: Likewise.
13917 * dlfcn/dlfcn.h: Likewise.
13918 * elf/neededtest4.c: Likewise.
13919 * grp/grp.h: Likewise.
13920 * gshadow/gshadow.h: Likewise.
13921 * iconv/gconv.h: Likewise.
13922 * iconv/gconv_int.h: Likewise.
13923 * iconv/gconv_simple.c: Likewise.
13924 * iconv/iconv.h: Likewise.
13925 * iconv/loop.c: Likewise.
13926 * iconv/skeleton.c: Likewise.
13927 * include/aio.h: Likewise.
13928 * include/aliases.h: Likewise.
13929 * include/argz.h: Likewise.
13930 * include/arpa/inet.h: Likewise.
13931 * include/assert.h: Likewise.
13932 * include/dirent.h: Likewise.
13933 * include/dlfcn.h: Likewise.
13934 * include/execinfo.h: Likewise.
13935 * include/fcntl.h: Likewise.
13936 * include/fenv.h: Likewise.
13937 * include/glob.h: Likewise.
13938 * include/grp.h: Likewise.
13939 * include/libintl.h: Likewise.
13940 * include/mntent.h: Likewise.
13941 * include/netdb.h: Likewise.
13942 * include/pwd.h: Likewise.
13943 * include/rpc/netdb.h: Likewise.
13944 * include/sched.h: Likewise.
13945 * include/search.h: Likewise.
13946 * include/shadow.h: Likewise.
13947 * include/signal.h: Likewise.
13948 * include/stdio.h: Likewise.
13949 * include/stdlib.h: Likewise.
13950 * include/string.h: Likewise.
13951 * include/sys/socket.h: Likewise.
13952 * include/sys/stat.h: Likewise.
13953 * include/sys/statfs.h: Likewise.
13954 * include/sys/statvfs.h: Likewise.
13955 * include/sys/syslog.h: Likewise.
13956 * include/sys/time.h: Likewise.
13957 * include/sys/uio.h: Likewise.
13958 * include/time.h: Likewise.
13959 * include/unistd.h: Likewise.
13960 * include/utmp.h: Likewise.
13961 * include/wchar.h: Likewise.
13962 * include/wctype.h: Likewise.
13963 * inet/aliases.h: Likewise.
13964 * inet/arpa/inet.h: Likewise.
13965 * inet/netinet/ether.h: Likewise.
13966 * inet/netinet/in.h: Likewise.
13967 * intl/libintl.h: Likewise.
13968 * io/bits/fcntl2.h: Likewise.
13969 * io/fcntl.h: Likewise.
13970 * io/ftw.h: Likewise.
13971 * io/sys/poll.h: Likewise.
13972 * io/sys/stat.h: Likewise.
13973 * io/sys/statfs.h: Likewise.
13974 * io/sys/statvfs.h: Likewise.
13975 * io/utime.h: Likewise.
13976 * libio/bits/stdio.h: Likewise.
13977 * libio/bits/stdio2.h: Likewise.
13978 * libio/libio.h: Likewise.
13979 * libio/libioP.h: Likewise.
13980 * libio/stdio.h: Likewise.
13981 * locale/lc-ctype.c: Likewise.
13982 * locale/locale.h: Likewise.
13983 * login/utmp.h: Likewise.
13984 * malloc/arena.c: Likewise.
13985 * malloc/malloc.c: Likewise.
13986 * malloc/malloc.h: Likewise.
13987 * malloc/mcheck.c: Likewise.
13988 * malloc/mtrace.c: Likewise.
13989 * math/bits/mathcalls.h: Likewise.
13990 * math/fenv.h: Likewise.
13991 * math/math_private.h: Likewise.
13992 * misc/bits/error.h: Likewise.
13993 * misc/bits/syslog.h: Likewise.
13994 * misc/err.h: Likewise.
13995 * misc/error.h: Likewise.
13996 * misc/fstab.h: Likewise.
13997 * misc/mntent.h: Likewise.
13998 * misc/regexp.h: Likewise.
13999 * misc/search.h: Likewise.
14000 * misc/sgtty.h: Likewise.
14001 * misc/sys/mman.h: Likewise.
14002 * misc/sys/syslog.h: Likewise.
14003 * misc/sys/uio.h: Likewise.
14004 * misc/sys/xattr.h: Likewise.
14005 * misc/ttyent.h: Likewise.
14006 * nis/rpcsvc/ypclnt.h: Likewise.
14007 * nss/nss.h: Likewise.
14008 * posix/bits/unistd.h: Likewise.
14009 * posix/fnmatch.h: Likewise.
14010 * posix/glob.h: Likewise.
14011 * posix/sched.h: Likewise.
14012 * posix/spawn.h: Likewise.
14013 * posix/sys/wait.h: Likewise.
14014 * posix/unistd.h: Likewise.
14015 * posix/wordexp.h: Likewise.
14016 * pwd/pwd.h: Likewise.
14017 * resolv/netdb.h: Likewise.
14018 * resource/sys/resource.h: Likewise.
14019 * rt/aio.h: Likewise.
14020 * rt/bits/mqueue2.h: Likewise.
14021 * rt/mqueue.h: Likewise.
14022 * shadow/shadow.h: Likewise.
14023 * signal/signal.h: Likewise.
14024 * socket/send.c: Likewise.
14025 * socket/sendto.c: Likewise.
14026 * socket/sys/socket.h: Likewise.
14027 * stdio-common/printf.h: Likewise.
14028 * stdlib/bits/stdlib.h: Likewise.
14029 * stdlib/fmtmsg.h: Likewise.
14030 * stdlib/monetary.h: Likewise.
14031 * stdlib/stdlib.h: Likewise.
14032 * stdlib/ucontext.h: Likewise.
14033 * streams/stropts.h: Likewise.
14034 * string/argz.h: Likewise.
14035 * string/bits/string2.h: Likewise.
14036 * string/string.h: Likewise.
14037 * string/strings.h: Likewise.
14038 * sunrpc/rpc/auth.h: Likewise.
14039 * sunrpc/rpc/auth_des.h: Likewise.
14040 * sunrpc/rpc/clnt.h: Likewise.
14041 * sunrpc/rpc/netdb.h: Likewise.
14042 * sunrpc/rpc/pmap_clnt.h: Likewise.
14043 * sunrpc/rpc/xdr.h: Likewise.
14044 * sysdeps/generic/inttypes.h: Likewise.
14045 * sysdeps/generic/net/if.h: Likewise.
14046 * sysdeps/generic/sys/swap.h: Likewise.
14047 * sysdeps/gnu/net/if.h: Likewise.
14048 * sysdeps/gnu/utmpx.h: Likewise.
14049 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
14050 * sysdeps/i386/i486/bits/string.h: Likewise.
14051 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
14052 * sysdeps/s390/bits/string.h: Likewise.
14053 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
14054 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
14055 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
14056 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
14057 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14058 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
14059 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
14060 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
14061 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
14062 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14063 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
14064 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14065 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
14066 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14067 * sysdeps/unix/sysv/linux/readv.c: Likewise.
14068 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
14069 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14070 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14071 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14072 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14073 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14074 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
14075 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
14076 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
14077 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
14078 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
14079 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
14080 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14081 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
14082 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
14083 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
14084 * sysvipc/sys/ipc.h: Likewise.
14085 * sysvipc/sys/msg.h: Likewise.
14086 * sysvipc/sys/sem.h: Likewise.
14087 * sysvipc/sys/shm.h: Likewise.
14088 * termios/termios.h: Likewise.
14089 * time/sys/time.h: Likewise.
14090 * time/time.h: Likewise.
14091 * wcsmbs/bits/wchar2.h: Likewise.
14092 * wcsmbs/uchar.h: Likewise.
14093 * wcsmbs/wchar.h: Likewise.
14094 * wctype/wctype.h: Likewise.
14095
0269750c
UD
14096 [BZ #13551]
14097 * Makeconfig: Remove all but ELF support including AIX support.
14098 * Makerules: Likewise.
14099 * config.h.in: Likewise.
14100 * config.make.in: Likewise.
14101 * configure: Likewise.
14102 * configure.in: Likewise.
14103 * csu/Makefile: Likewise.
14104 * csu/version.c: Likewise.
14105 * debug/Makefile: Likewise.
14106 * dlfcn/Makefile: Likewise.
14107 * elf/Makefile: Likewise.
14108 * extra-lib.mk: Likewise.
14109 * iconv/Makefile: Likewise.
14110 * include/libc-symbols.h: Likewise.
14111 * include/shlib-compat.h: Likewise.
14112 * resolv/Makefile: Likewise.
14113 * resolv/res_libc.c: Likewise.
14114 * rt/Makefile: Likewise.
14115 * sysdeps/i386/asm-syntax.h: Likewise.
14116 * sysdeps/i386/sysdep.h: Likewise.
14117 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14118 * sysdeps/mach/sysdep.h: Likewise.
14119 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
14120 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
14121 * sysdeps/s390/asm-syntax.h: Likewise.
14122 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14123 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14124 * sysdeps/sh/sysdep.h: Likewise.
14125 * sysdeps/unix/sparc/sysdep.h: Likewise.
14126 * sysdeps/wordsize-32/divdi3.c: Likewise.
14127 * sysdeps/x86_64/sysdep.h: Likewise.
14128
00bbd29b
UD
14129 * argp/Versions: Remove _argp_unlock_xxx.
14130
14131 [BZ #13559]
14132 * abilist/ld.abilist: Update. Adjust for removal of tls option.
14133 * abilist/libBrokenLocale.abilist: Likewise.
14134 * abilist/libanl.abilist: Likewise.
14135 * abilist/libc.abilist: Likewise.
14136 * abilist/libcrypt.abilist: Likewise.
14137 * abilist/libdl.abilist: Likewise.
14138 * abilist/libm.abilist: Likewise.
14139 * abilist/libnsl.abilist: Likewise.
14140 * abilist/libpthread.abilist: Likewise.
14141 * abilist/libresolv.abilist: Likewise.
14142 * abilist/librt.abilist: Likewise.
14143 * abilist/libthread_db.abilist: Likewise.
14144 * abilist/libutil.abilist: Likewise.
14145 * abilist/libnss_db.abilist: New file.
14146
14147 * scripts/abilist.awk: Add support for indirect functions.
14148
a2693a0e
UD
14149 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14150
3f05895f
UD
14151 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14152
ecb6fb48
UD
14153 * shlib-versions: Remove entries for ports architectures.
14154
664f8cb9
UD
14155 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
14156 files in ports.
14157 * elf/stackguard-macros.h: Remove support for IA-64.
14158 * elf/tst-auditmod1.c: Likewise.
14159 * sysdeps/generic/ldsodefs.h: Likewise.
14160
7ae81d88
UD
14161 * sysdeps/unix/sysv/linux/configure.in: Ports should define
14162 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14163 configure files.
14164
bdeba135
UD
14165 [BZ #13552]
14166 * configure.in: Remove --enable-omitfp support.
14167 * FAQ.in: Adjust.
14168 * config.make.in: Likewise.
14169 * Makeconfig: Likewise.
14170 * manual/install.texi: Likewise.
14171
d75a0a62
UD
14172 In case anyone cares, the IA-64 architecture could move to ports.
14173 * sysdeps/ia64/*: Removed.
14174 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 14175 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 14176
dcc9756b
UD
14177 [BZ #13555]
14178 * configure.in: Remove entries for unsupported architectures.
14179
d3761ebc 14180 [BZ #13533]
9954432e
UD
14181 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14182 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
14183 routines.
14184 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14185 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14186 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
14187 fall back to using wcrtomb.
14188 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14189 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
14190 renaming.
14191 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14192 * wcsmbs/tst-c16c32-1.c: New file.
14193
14194 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14195 local variable.
14196
c3a87236
UD
14197 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14198
28926a1b
UD
14199 * elf/tst-unique3.cc: Add explicit declaration of gets.
14200 * elf/tst-unique3lib.cc: Likewise.
14201 * elf/tst-unique3lib2.cc: Likewise.
14202 * elf/tst-unique4.cc: Likewise.
14203
df78418a
UD
14204 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14205
8ecd6b2a
JM
142062012-01-06 Joseph Myers <joseph@codesourcery.com>
14207
14208 [BZ #13566]
14209 * assert/assert.h (static_assert): Don't define for C++.
14210 * libio/stdio.h (gets): Do declare for C++ <= C++11.
14211 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14212
9f115170
UD
142132012-01-03 Ulrich Drepper <drepper@gmail.com>
14214
5e0d0300
UD
14215 * iconv/loop.c (single loop): Fix assertion in storing of
14216 remaining bytes.
14217
9f115170
UD
14218 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14219
81fb02b0
UD
142202012-01-01 Ulrich Drepper <drepper@gmail.com>
14221
14222 * posix/getconf.c: Update copyright year.
14223 * nss/getent.c: Likewise.
a316c1f6 14224 * nss/makedb.c: Likewise.
81fb02b0
UD
14225 * iconv/iconvconfig.c: Likewise.
14226 * iconv/iconv_prog.c: Likewise.
14227 * elf/ldconfig.c: Likewise.
a316c1f6
UD
14228 * elf/pldd.c: Likewise.
14229 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
14230 * catgets/gencat.c: Likewise.
14231 * csu/version.c: Likewise.
14232 * elf/ldd.bash.in: Likewise.
14233 * elf/sprof.c (print_version): Likewise.
14234 * locale/programs/locale.c: Likewise.
14235 * locale/programs/localedef.c: Likewise.
a316c1f6 14236 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
14237 * nscd/nscd.c (print_version): Likewise.
14238 * debug/xtrace.sh: Likewise.
14239 * malloc/memusage.sh: Likewise.
14240 * malloc/mtrace.pl: Likewise.
14241 * debug/catchsegv.sh: Likewise.
14242
2ba92745
JJ
142432011-12-30 Jakub Jelinek <jakub@redhat.com>
14244
14245 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14246 pure attribute.
14247
dadebdae
UD
142482011-12-24 Ulrich Drepper <drepper@gmail.com>
14249
d3761ebc 14250 [BZ #13533]
db6af3eb
UD
14251 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14252 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14253 transformations.
14254 * iconv/gconv_int.h: Likewise.
14255 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14256 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14257 from libc for GLIBC_2.16.
14258 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14259 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14260 * wcsmbs/uchar.h: Really define mbstate_t.
14261 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14262 * wcsmbs/c16rtomb.c: New file.
14263 * wcsmbs/mbrtoc16.c: New file.
14264 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14265 for C/POSIX locale.
14266 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14267 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14268
dadebdae
UD
14269 * wcsmbs/wchar.h: Add missing __restrict.
14270
67371b56
UD
142712011-12-23 Ulrich Drepper <drepper@gmail.com>
14272
74033a25
UD
14273 [BZ #13532]
14274 * time/Makefile (routines): Add timespec_get.
14275 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14276 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14277 timespec for ISO C11.
14278 * time/timespec_get.c: New file.
14279 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14280 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14281
380d7e87
UD
14282 [BZ #13531]
14283 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14284 * stdlib/stdlib.h: Declare aligned_alloc.
14285 * Versions.def: Add GLIBC_2.16 for libc.
14286 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14287
4e9e7a35
UD
14288 [BZ 13527]
14289 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14290 ISO C11.
14291
380d7e87 14292 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
14293 code.
14294
03a71829
UD
14295 [BZ #13528]
14296 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14297
839e283e
UD
14298 [BZ #13529]
14299 * assert/assert.h (static_assert): Define.
14300
ce5294e2 14301 * version.h: Update for 2.16 development version.
90fa7312 14302
8d44e150 14303 [BZ #13526]
d7809905
UD
14304 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14305 _ISOC11_SOURCE.
14306
c0da14cd
UD
14307 * version.h (RELEASE): Bump for 2.15 release.
14308 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14309
530a3249
MP
14310 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14311 Patch by Marek Polacek <mpolacek@redhat.com>.
14312
67371b56
UD
14313 * bits/byteswap.h: Protect long long constants with __extension__.
14314 * sysdeps/i386/bits/byteswap.h: Likewise.
14315 * sysdeps/ia64/bits/byteswap.h: Likewise.
14316 * sysdeps/s390/bits/byteswap.h: Likewise.
14317 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14318
15db4de1
LD
143192011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14320
14321 [BZ #13540]
bbe315ea
LD
14322 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14323 destination buffer.
15db4de1
LD
14324 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14325
2b2596b1
MP
143262011-12-23 Marek Polacek <polacek@redhat.com>
14327
14328 * elf/dl-addr.c (determine_info): Add inline keyword.
14329 * elf/tst-auditmod4b.c (check_avx): Likewise.
14330 * elf/tst-auditmod6b.c (check_avx): Likewise.
14331 * elf/tst-auditmod6c.c (check_avx): Likewise.
14332 * elf/tst-auditmod7b.c (check_avx): Likewise.
14333
70c6c246
UD
143342011-12-23 Ulrich Drepper <drepper@gmail.com>
14335
14336 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14337 !__SSE_MATH__.
14338
c044cf14
LD
143392011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14340
15db4de1 14341 [BZ #13540]
c044cf14
LD
14342 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14343 processing for last bytes.
14344
6b13d9d9
BH
143452011-08-06 Bruno Haible <bruno@clisp.org>
14346
d455f537
BH
14347 [BZ #13061]
14348 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14349 U+0385, not to U+1FEE.
14350
6b13d9d9
BH
14351 [BZ #13062]
14352 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14353 entry for U+00A5 U+0301.
14354
db910efd
UD
143552011-12-22 Ulrich Drepper <drepper@gmail.com>
14356
27deeafc
UD
14357 [BZ #13166]
14358 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14359 buffer for the output is too small.
14360
aed9d171
UD
14361 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14362 optimization.
14363
db910efd
UD
14364 [BZ #13185]
14365 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14366 SSE flags if possible.
14367
2bd779ae
LD
143682011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14369
e7f9dac3 14370 [BZ #13540]
2bd779ae
LD
14371 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14372 processing for last bytes.
14373
154bfc16
JM
143742011-12-22 Joseph Myers <joseph@codesourcery.com>
14375
14376 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14377 (syscall-list-default-options, syscall-list-default-condition)
14378 (syscall-list-includes): Define.
14379 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14380 list of ABIs and options and #if conditions for each ABI. Do not
14381 handle common syscalls between ABIs specially.
14382 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14383 Remove.
14384 (syscall-list-variants, syscall-list-32bit-options)
14385 (syscall-list-32bit-condition, syscall-list-64bit-options)
14386 (syscall-list-64bit-condition): Define.
14387 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14388 (syscall-list-variants, syscall-list-32bit-options)
14389 (syscall-list-32bit-condition, syscall-list-64bit-options)
14390 (syscall-list-64bit-condition): Define.
14391 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14392 Remove.
14393 (syscall-list-variants, syscall-list-32bit-options)
14394 (syscall-list-32bit-condition, syscall-list-64bit-options)
14395 (syscall-list-64bit-condition): Define.
14396 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14397 Remove.
14398 (syscall-list-variants, syscall-list-32bit-options)
14399 (syscall-list-32bit-condition, syscall-list-64bit-options)
14400 (syscall-list-64bit-condition): Define.
14401
21eaf3a5
UD
144022011-12-22 Ulrich Drepper <drepper@gmail.com>
14403
16c6f992
UD
14404 * locale/iso-639.def: Add brx entry.
14405
41043168
UD
14406 [BZ #13328]
14407 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14408 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14409
21eaf3a5
UD
14410 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14411 __feraiseexcept_renamed.
14412
e3a851a2
UD
144132011-12-21 Ulrich Drepper <drepper@gmail.com>
14414
4920765e
UD
14415 [BZ #13538]
14416 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14417 EPOLLET with unsigned values.
14418 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14419 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14420
e3a851a2
UD
14421 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14422 to large cancellation.
14423 * math/s_cacoshf.c: Likewise.
14424 * math/s_cacoshl.c: Likewise.
14425
b27e24b8
RK
144262011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14427
14428 [BZ #13305]
aebefeee 14429 [BZ #12786]
b27e24b8
RK
14430 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14431 * math/s_cacoshf.c: Likewise.
14432 * math/s_cacoshl.c: Likewise.
14433
ee190f67
UD
144342011-12-21 Ulrich Drepper <drepper@gmail.com>
14435
14436 [BZ #13439]
14437 * iconv/gconv.h: Define __GCONV_SWAP.
14438 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14439 * iconvdata/utf-16.c: Likewise.
14440 * iconvdata/utf-32.c: Likewise.
14441
707f25df
AS
144422011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14443
14444 [BZ #13524]
14445 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14446 numerator after shifting it by one limb.
14447
d2daaa1e
RÁE
144482011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14449
14450 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14451 under [__USE_EXTERN_INLINES].
14452
a4647e72
UD
144532011-12-17 Ulrich Drepper <drepper@gmail.com>
14454
14455 [BZ #13446]
14456 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14457
f0b264f1
AZ
144582011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14459
14460 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14461 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14462 optimized code.
14463 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14464 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14465 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14466 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14467 for strncasecmp/strncasecmp_l compilation.
14468 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14469 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14470
8ef4f244
MP
144712011-12-08 Marek Polacek <mpolacek@redhat.com>
14472
14473 [BZ #13484]
14474 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14475 of __asm__.
14476
97ac2654
UD
144772011-12-17 Ulrich Drepper <drepper@gmail.com>
14478
14479 [BZ #13506]
14480 * time/tzfile.c (__tzfile_read): Check values from file header.
14481
91d2a845
WS
144822011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14483
14484 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14485 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14486 * powerpc/powerpc32/dl-start.S: Likewise.
14487 * powerpc/powerpc32/elf/start.S: Likewise.
14488 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14489 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14490 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14491 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14492 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14493 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14494 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14495 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14496 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14497 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14498 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14499 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14500 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14501 * powerpc/powerpc32/memset.S: Likewise.
14502 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14503 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14504 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14505 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14506 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14507 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14508 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14509 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14510 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14511 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14512 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14513 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14514 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14515
a1267ba1
AZ
145162011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14517
14518 * math/libm-test.inc: Added more nearbyint tests.
14519 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14520 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14521 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14522 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14523
ad8ac1bd
RL
145242011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14525
14526 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14527 FD_CLOEXEC.
14528
1d3e4b61
UD
145292011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14530
14531 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14532 Add wcscpy-ssse3 wcscpy-c.
14533 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14534 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14535 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14536 * sysdeps/x86_64/wcschr.S: New file.
14537 * sysdeps/x86_64/wcsrchr.S: New file.
14538 * string/test-strcmp.c: Remove checking of wcscmp function for
14539 wrong alignments.
14540 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14541 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14542 wcsrchr-sse2 wcsrchr-c.
14543 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14544 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14545 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14546 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14547 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14548 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14549 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14550 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14551 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14552 * wcsmbc/wcschr.c (WCSCHR): New macro.
14553
5b330a2d
UD
145542011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14555
14556 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14557 * wcsmbs/test-wcsrchr.c: New file.
14558 * string/test-strrchr.c: Add wcsrchr support.
14559 (WIDE): New macro.
14560 * wcsmbs/test-wcscpy.c: New file.
14561 * string/test-strcpy.c: Add wcscpy support.
14562 (WIDE): New macro.
26428b7c 14563
f039c043
UD
145642011-12-10 Ulrich Drepper <drepper@gmail.com>
14565
14566 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14567 the inner loop.
14568
850fb039
AS
145692011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14570
14571 [BZ #13472]
14572 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14573
4efbd5cb
UD
145742011-12-04 Ulrich Drepper <drepper@gmail.com>
14575
52ff5dd0 14576 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 14577 Minor optimizations.
52ff5dd0 14578
4efbd5cb
UD
14579 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14580 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14581 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14582
8a426e12
UD
145832011-12-03 Ulrich Drepper <drepper@gmail.com>
14584
aff2453d
UD
14585 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14586 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14587 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14588 for gcc to avoid warnings.
14589 * inet/Makefile (tests): Add tst-checks.
14590 * inet/tst-checks.c: New file.
14591
14592 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14593 warning.
14594
14595 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14596 __wmemcmp_sse2.
14597
14598 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14599 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14600
8a426e12
UD
14601 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14602
9bea3473
UD
146032011-12-02 Ulrich Drepper <drepper@gmail.com>
14604
3a965496
UD
14605 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14606 problem.
14607
9bea3473
UD
14608 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14609
f101631b
UD
146102011-11-29 Joseph Myers <joseph@codesourcery.com>
14611
14612 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14613 conditional on GCC version.
14614 (__arch_compare_and_exchange_val_8_acq)
14615 (__arch_compare_and_exchange_val_16_acq)
14616 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14617 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14618 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14619
a98275aa
UD
146202011-12-02 Joseph Myers <joseph@codesourcery.com>
14621
14622 * sysdeps/sh/backtrace.c: New file.
14623
d4cc29a2
AS
146242011-12-02 Andreas Schwab <schwab@redhat.com>
14625
14626 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14627 parenthesis.
14628
6257af2d
AS
146292011-12-01 Andreas Schwab <schwab@redhat.com>
14630
14631 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14632 falling back to utime.
14633
b5f44c1a
AS
146342011-11-30 Andreas Schwab <schwab@redhat.com>
14635
14636 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14637 expectations for float.
14638
f3a6cc0a
AS
146392011-11-29 Andreas Schwab <schwab@redhat.com>
14640
14641 * locale/weight.h (findidx): Add parameter len.
14642 * locale/weightwc.h (findidx): Likewise.
14643 * posix/fnmatch_loop.c (FCT): Adjust caller.
14644 * posix/regcomp.c (build_equiv_class): Likewise.
14645 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14646 * posix/regexec.c (check_node_accept_bytes): Likewise.
14647 * string/strcoll_l.c (STRCOLL): Likewise.
14648 * string/strxfrm_l.c (STRXFRM): Likewise.
14649
9d65ea3a
UD
146502011-11-17 Ulrich Drepper <drepper@gmail.com>
14651
14652 * Makefile.in: Remove CVSOPT handling.
14653 * configure.in: Remove use of AC_REVISION.
14654 * iconvdata/Makefile (distribute): No need to filter out CVS.
14655 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14656 handling.
14657
5583a086
AS
146582011-11-16 Andreas Schwab <schwab@redhat.com>
14659
14660 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14661 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14662 [USE_AS_STRNCASECMP_L]: Likewise.
14663 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14664 NO_TLS_DIRECT_SEG_REFS.
14665 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14666 Fix argument offsets for non-PIC.
14667 [USE_AS_STRNCASECMP_L]: Likewise.
14668 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14669 NO_TLS_DIRECT_SEG_REFS.
14670
d62a8200
UD
146712011-11-15 Ulrich Drepper <drepper@gmail.com>
14672
9d65ea3a 14673 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
14674 O_CLOEXEC.
14675 * locale/loadlocale.c (_nl_load_locale): Likewise.
14676
09f93bd3
AS
146772011-11-15 Andreas Schwab <schwab@redhat.com>
14678
446514f9
AS
14679 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14680 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14681 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14682 (SYSCALL_GETTIME): Set errno on error.
14683
09f93bd3
AS
14684 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14685 count references to noai6ai_cached.
14686
312be3f9
UD
146872011-11-15 Ulrich Drepper <drepper@gmail.com>
14688
14689 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14690
14691 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14692 FD_CLOEXEC for /proc/self/maps.
14693
14694 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14695 FD_CLOEXEC for /proc/meminfo.
14696
14697 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14698 gai.conf.
14699
14700 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14701 FD_CLOEXEC for given file.
14702
14703 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14704
14705 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14706 FD_CLOEXEC for /etc/hosts.
14707 (_gethtent): Likewise.
14708
14709 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14710
14711 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14712 cancellation and set FD_CLOEXEC for /etc/netgroup.
14713
14714 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14715 reading /etc/publickey.
14716
14717 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14718 allow cancellation when reading /etc/group.
14719
14720 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14721 cancellation.
14722 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14723
14724 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14725 when using data file.
14726
14727 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14728
14729 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14730 (write_nis_obj): Use "c" and "e" in fopen.
14731
14732 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14733
14734 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14735
14736 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14737
14738 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14739
14740 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14741 locale.alias.
14742
14743 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14744
14745 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14746
14747 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14748
14749 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14750 file parsing and set FD_CLOEXEC.
14751
82af0fa8
UD
147522011-11-14 Ulrich Drepper <drepper@gmail.com>
14753
14754 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14755
a5fb313c
AS
147562011-11-14 Andreas Schwab <schwab@redhat.com>
14757
14758 * malloc/arena.c (arena_get2): Don't call reused_arena when
14759 _int_new_arena failed.
14760
6abf3465
UD
147612011-11-14 Ulrich Drepper <drepper@gmail.com>
14762
14763 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14764 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14765 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14766 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14767 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14768 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14769 to compile strcasecmp and strncasecmp.
14770 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14771 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14772
14773 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14774
76e3966e
UD
147752011-11-13 Ulrich Drepper <drepper@gmail.com>
14776
14777 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14778 locale-defines.sym to gen-as-const-headers.
14779 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14780 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14781 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14782 to compile strcasecmp and strncasecmp.
14783 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14784 strcasecmp_l and strncasecmp_l.
14785 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14786 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14787 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14788 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14789 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14790 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14791 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14792 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14793 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14794 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14795 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14796
ab26144e
UD
147972011-11-12 Ulrich Drepper <drepper@gmail.com>
14798
7edb22ef
UD
14799 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14800 result of SYSDEP_GETTIME_CPU to retval.
14801 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14802 parameter list to macro. Remove trailing semicolon. Adjust users.
14803
9694fc44
UD
14804 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14805 variable.
14806
8ad89ef8
UD
14807 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14808 mantissa words.
14809 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14810
0c822ef9
UD
14811 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14812 from unused variable.
14813
874e0564
UD
14814 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14815 DWARF definitions.
14816 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14817 for assembling.
14818
3a2edc79
UD
14819 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14820 over namespaces.
14821
f3c2577f
UD
14822 * sunrpc/rpc_prot.c (rejected): Fix case value.
14823
294ce126
UD
14824 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14825 unsigned long long int to avoid warnings in shift.
14826
5e2b63c6
UD
14827 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14828 of use of trans.
14829 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14830 variable tmp.
14831
e7f4b08e
UD
14832 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14833 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14834 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14835
ab26144e
UD
14836 * nis/nis_table.c (nis_list): Use variable of correct type for
14837 result of __follow_path call.
14838
8a6d5255
AZ
148392011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14840
14841 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14842 of math functions ceil, trunc, floor, round, and sqrt, when
14843 avaliable on the platform.
14844 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14845 name clash.
14846 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14847 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14848 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14849
aaddc98c
MP
148502011-10-30 Marek Polacek <mpolacek@redhat.com>
14851
14852 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14853 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14854
95b7042b
RM
148552011-11-11 Roland McGrath <roland@hack.frob.com>
14856
14857 * include/unistd.h: Fix __readlink return type.
14858 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14859
57769839
UD
148602011-11-11 Ulrich Drepper <drepper@gmail.com>
14861
14862 * stdlib/ucontext.h: Undo last change for makecontext.
14863
edc5984d
AS
148642011-11-11 Andreas Schwab <schwab@redhat.com>
14865
98591e58
AS
14866 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14867
edc5984d
AS
14868 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14869 * setjmp/setjmp.h: Mark functions as non-leaf.
14870 * setjmp/bits/setjmp2.h: Likewise.
14871 * stdlib/ucontext.h: Likewise.
14872
77cdc054
AS
148732011-11-10 Andreas Schwab <schwab@redhat.com>
14874
14875 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14876 (reused_arena): Don't check arena limit.
14877 (arena_get2): Atomically check arena limit.
14878
fe72eebd
UD
148792011-11-08 Ulrich Drepper <drepper@gmail.com>
14880
5f078c32
UD
14881 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14882 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14883
fe72eebd
UD
14884 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14885 instructions.
14886
ae1bc2fa
AS
148872011-11-07 Andreas Schwab <schwab@redhat.com>
14888
7583a88d
AS
14889 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14890 handler when locking.
14891
ae1bc2fa
AS
14892 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14893 Fix size of allocated buffer.
14894
10fb0bfa
AS
148952011-11-04 Andreas Schwab <schwab@redhat.com>
14896
998832a4
AS
14897 [BZ #10103]
14898 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14899 declarations for long double functions.
14900 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14901
10fb0bfa
AS
14902 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14903
3d7ba52b
AS
149042011-11-03 Andreas Schwab <schwab@redhat.com>
14905
a9ae54a1
AS
14906 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14907 installed.
14908
3d7ba52b
AS
14909 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14910 is disabled.
14911
bc8db248
ST
149122011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14913
14914 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14915
45b96dd6
AS
149162011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14917
647776f6
AS
14918 * include/alloca.h (stackinfo_alloca_round): Define.
14919 (extend_alloca): Use it.
14920 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14921 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14922 here.
14923
d91a8b93
AS
14924 * scripts/check-local-headers.sh: Ignore libaudit.h.
14925
45b96dd6
AS
14926 * nscd/Makefile (extra-objs): Make recursively expanded.
14927
432d41ce
UD
149282011-11-01 Ulrich Drepper <drepper@gmail.com>
14929
34372fc6
UD
14930 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14931 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14932
fadb59f8
UD
14933 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14934 * posix/tst-rfc3484-2.c: Likewise.
14935 * posix/tst-rfc3484-3.c: Likewise.
14936
78239589
UD
14937 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14938 process_vm_writev.
14939 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14940 process_vm_writev.
14941 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14942 process_vm_writev from libc using GLIBC_2.15 version.
14943
432d41ce
UD
14944 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14945
02f9c6cf
PP
149462011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14947
14948 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14949 stack usage.
14950
3a2c0242
UD
149512011-10-31 Ulrich Drepper <drepper@gmail.com>
14952
f4ec4833
UD
14953 [BZ #13367]
14954 * nss/getent.c (initgroups_keys): Show error message in case no group
14955 names are given.
14956
3a2c0242
UD
14957 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14958 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14959 __bump_nl_timestamp.
14960 * nscd/connections (nscd_init): When host database is served open
14961 netlink socket and request notification about configuration changes.
14962 (main_loop_poll): Track netlink file descriptor and bump timestamp
14963 in case data becomes available.
14964 (main_loop_epoll): Likewise.
14965 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14966 (database_pers_head): Add extra_data fileds.
14967 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14968 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14969 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14970 Adjust caller.
14971 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14972 in6ai data, call __free_in6ai.
14973 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14974 Add -DHAVE_NETLINK.
14975 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14976 interface information. Reuse previous data if netlink timestamp
14977 is not changed.
14978 (__bump_nl_timestamp): New function.
14979 (__free_in6ai): New function.
14980
636064eb
UD
149812011-10-30 Ulrich Drepper <drepper@gmail.com>
14982
14983 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14984 close_not_cancel_no_status here.
14985 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14986
9beb2334
UD
149872011-10-29 Ulrich Drepper <drepper@gmail.com>
14988
6ef76f3b
UD
14989 [BZ #13276]
14990 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14991 return value.
14992
0ffc4f3e 14993 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
14994 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14995 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14996
cb95113e
UD
149972011-07-03 Andreas Jaeger <aj@suse.de>
14998
14999 [BZ #10709]
15000 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
15001 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
15002 * math/libm-test.inc (sin_test): Add test case.
15003
a1b560ff
UD
150042011-10-29 Ulrich Drepper <drepper@gmail.com>
15005
c9aaface
UD
15006 [BZ #13337]
15007 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
15008 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15009
d272e7f1
UD
15010 * elf/chroot_canon.c (chroot_canon): Cleanups.
15011
1bc33071
UD
15012 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
15013
1760874d
TJ
15014 [BZ #13335]
15015 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
15016 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15017
51d91b18
UD
15018 * string/test-strchr.c: Make usable for strchrnul testing.
15019 * string/test-strchrnul.c: New file.
15020 * string/Makefile (strop-tests): Add strchrnul.
15021
a1b560ff 15022 * po/it.po: Update from translation team.
b611fb81 15023 * po/es.po: Likewise.
a1b560ff 15024
a5b81e1f
UD
150252011-10-28 Ulrich Drepper <drepper@gmail.com>
15026
fd52bc6d
UD
15027 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
15028 the three constants needed as parameters. Drop the others.
15029 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
15030 __m128i_strloadu_tolower.
52e4b9eb
UD
15031 Create and initialize variable zero and use it in all the places
15032 where _mm_setzero_si128 was used.
fd52bc6d 15033
a5b81e1f
UD
15034 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
15035 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
15036 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
15037 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
15038 anymore.
15039 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
15040 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
15041 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
15042 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
15043 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
15044 __mpranred, __mptan.
15045 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
15046 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
15047 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
15048 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
15049 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
15050 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
15051 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
15052 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
15053 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
15054
b4343346
AS
150552011-10-28 Andreas Schwab <schwab@redhat.com>
15056
0c92d8a8
AS
15057 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
15058 redefine if SHARED.
15059 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
15060
b4343346
AS
15061 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
15062 wide char related routines to wcsmbs subdir.
15063
3871f58f
AS
150642011-10-27 Andreas Schwab <schwab@redhat.com>
15065
15066 [BZ #13344]
15067 * misc/sys/cdefs.h (__THROWNL): Define.
15068 * posix/unistd.h: Use __THREADNL instead of __THREAD
15069 for memory synchronization functions.
15070
94d44d9f
RM
150712011-10-26 Roland McGrath <roland@hack.frob.com>
15072
21b64b15 15073 [BZ #13349]
94d44d9f
RM
15074 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
15075 doesn't exist.
15076 * manual/stdio.texi (Obstack Streams): Node removed.
15077
f6ce9294
AS
150782011-10-26 Andreas Schwab <schwab@redhat.com>
15079
80479147
AS
15080 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
15081 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15082 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15083
f6ce9294
AS
15084 * math/math_private.h (math_force_eval): Allow non-addressable
15085 arguments.
15086 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
15087
618280a1
UD
150882011-10-25 Ulrich Drepper <drepper@gmail.com>
15089
e0016b11
UD
15090 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
15091 file is not needed.
15092
15093 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
15094 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15095 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15096 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15097 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15098 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15099 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15100 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
15101 Add AVX variants.
15102 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
15103 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
15104 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
15105 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
15106 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
15107 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
15108 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
15109 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
15110 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
15111 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
15112 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
15113 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
15114 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
15115 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
15116 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
15117 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
15118 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
15119 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
15120 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
15121
15122 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
15123 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
15124
618280a1
UD
15125 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
15126 place. Use VEX encoding when compiling for AVX.
15127
37822576
AS
151282011-10-25 Andreas Schwab <schwab@redhat.com>
15129
1f1e1947
AS
15130 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
15131 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15132
37822576
AS
15133 * string/test-strchr.c (do_test): Don't generate NUL bytes.
15134
31ea014d
UD
151352011-10-25 Ulrich Drepper <drepper@gmail.com>
15136
d7826aa1 15137 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 15138 useless if() expression.
d7826aa1
UD
15139 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15140 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15141 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15142 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15143 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15144 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15145 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15146 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15147 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15148 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15149 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15150 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15151 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15152 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15153 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15154 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15155 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15156 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15157 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15158
31ea014d
UD
15159 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15160
16437fec
AS
151612011-10-25 Andreas Schwab <schwab@redhat.com>
15162
15163 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15164 condition.
15165 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15166
31d3cc00
UD
151672011-10-25 Ulrich Drepper <drepper@gmail.com>
15168
15169 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15170 .text section. Avoid duplicate constants.
15171 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15172 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15173 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15174 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15175 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15176 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15177 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15179 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15180 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15181 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15182 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15183 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15184 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15185 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15186 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15187 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15188 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15189 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15190 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15191 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15192 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15193 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15194 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15195 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15196 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15197 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15198 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15199 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15200 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15201 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15202 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15203 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15204 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15205 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15206 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15207 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15208 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15209 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15210 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15211 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15212 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15213 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15214 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15215 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15216
58985aa9
UD
152172011-10-24 Ulrich Drepper <drepper@gmail.com>
15218
202c9deb
UD
15219 * sysdeps/x86_64/dla.h: Move to ...
15220 * sysdeps/x86_64/fpu/dla.h: ...here.
15221 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15222 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 15223
af968f62
UD
15224 * config.make.in: Add have-mfma4 entry.
15225 * configure.in: Substitute libc_cv_cc_fma4.
15226 * math/Makefile (dbl-only-routines): Add sincostab.
15227 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15228 Use __sincostab not sincos.
15229 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15230 name is a macro.
15231 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15232 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15233 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15234 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15235 using __copysign.
15236 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15237 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15238 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15239 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15240 and __inv.
15241 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15242 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15243 __copysign.
15244 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15245 define aliases when function name is a macro.
15246 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15247 sysdeps/ieee754/dbl-64/sincos.tbl.
15248 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15249 fma4-enabled routines.
15250 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15251 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15252 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15253 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15254 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15255 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15256 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15257 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15258 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15259 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15260 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15261 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15262 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15263 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15264 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15265 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15266 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15267 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15268 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15269 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15270 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15271 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15272 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15273 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15274 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15275 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15276 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15277 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15278 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15279 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15280
58985aa9
UD
15281 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15282 rename.
15283 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15284 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15285 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15286 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15287 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15288 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15289 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15290 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15291
a201fbcf
AS
152922011-10-24 Andreas Schwab <schwab@redhat.com>
15293
15294 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15295
fc2ee42a
LD
152962011-10-23 Ulrich Drepper <drepper@gmail.com>
15297
bb3129bd
UD
15298 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15299
0275fff8
UD
15300 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15301 prediction.
15302 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15303
2fa2ae85
UD
15304 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15305 Remove unused variable magic_bits.
15306 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15307
fc2ee42a
LD
15308 * string/strnlen.c: Define and use STRNLEN macro.
15309 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15310 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15311 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15312 * wcsmbs/wcslen.c: Define and use WCSLEN.
15313 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15314 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15315 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15316 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15317 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15318 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15319 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15320
ce7dd29f
LD
153212011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15322
15323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15324 strnlen-sse2-no-bsf.
15325 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15326 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15327 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15328 Add strnlen support.
15329 (USE_AS_STRNLEN): New macro.
15330 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15331 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15332 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15333 * sysdeps/x86_64/wcslen.S: New file.
15334
979c70a3
MZ
153352011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15336
15337 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15338 XMM-moves are used for copying on small sizes.
15339
2d09f82f
LD
153402011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15341
15342 * wcsmbs/Makefile (strop-tests): Add wcschr.
15343 * wcsmbs/test-wcschr.c: New file.
15344 * string/test-strchr.c: Update.
15345 Add wcschr support.
15346 (WIDE): New macro.
15347
619fccca
LD
153482011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15349
2d09f82f 15350 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
15351 * wcsmbs/test-wcslen.c: New file.
15352 * string/test-strlen.c: Update.
15353 Add wcslen support.
15354 (WIDE): New macro.
15355
09f699ea
UD
153562011-10-23 Ulrich Drepper <drepper@gmail.com>
15357
15358 * po/it.po: Update from translation team.
15359
95584d3b
LD
153602011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15361
15362 * sysdeps/x86_64/wcscmp.S: Update.
15363 Fix wrong comparison semantics.
15364 wcscmp shall use signed comparison not unsigned.
15365 Don't use substraction to avoid overflow bug.
15366 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15367 * wcsmbc/wcscmp.c: Likewise.
15368 * string/test-strcmp.c: Likewise.
15369 Add new tests to check cases with negative values.
15370
c8b3296b
UD
153712011-10-23 Ulrich Drepper <drepper@gmail.com>
15372
15373 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15374 * sysdeps/x86_64/dla.h: ...here. New file.
15375 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15376 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15377 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15378 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15379 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15380 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15381 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15382 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15383 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15384
246ad57a
AS
153852011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15386
15387 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15388 __ynl_finite aliases.
15389
a1a87169
UD
153902011-10-22 Ulrich Drepper <drepper@gmail.com>
15391
0d355eb7
UD
15392 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15393
a1a87169
UD
15394 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15395 define DLA_FMA.
15396 [DLA_FMA] (EMULV): Use DLA_FMA.
15397 [DLA_FMA] (MUL12): Use EMULV.
15398 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15399 that are not needed.
15400 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15401 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15402 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15403 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15404 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15405 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15406 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15407
ee2aafe0
AS
154082011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15409
15410 * math/s_nan.c: Undef __nan.
15411 * math/s_nanf.c: Undef __nanf.
15412 * math/s_nanl.c: Undef __nanl.
15413 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15414 "math_private.h".
15415
bc62c2fb
UD
154162011-10-22 Ulrich Drepper <drepper@gmail.com>
15417
77425c63
UD
15418 * math/s_catan.c: Add branch predictions.
15419 * math/s_catanf.c: Likewise.
15420 * math/s_catanh.c: Likewise.
15421 * math/s_catanhf.c: Likewise.
15422 * math/s_catanhl.c: Likewise.
15423 * math/s_catanl.c: Likewise.
15424 * math/s_cexp.c: Likewise.
15425 * math/s_cexpf.c: Likewise.
15426 * math/s_cexpl.c: Likewise.
15427 * math/s_clog.c: Likewise.
15428 * math/s_clog10.c: Likewise.
15429 * math/s_clog10f.c: Likewise.
15430 * math/s_clog10l.c: Likewise.
15431 * math/s_clogf.c: Likewise.
15432 * math/s_clogl.c: Likewise.
15433 * math/s_csqrt.c: Likewise.
15434 * math/s_csqrtf.c: Likewise.
15435 * math/s_csqrtl.c: Likewise.
15436 * math/s_ctanf.c: Likewise.
15437 * math/s_ctanh.c: Likewise.
15438 * math/s_ctanhf.c: Likewise.
15439 * math/s_ctanhl.c: Likewise.
15440 * math/s_ctanl.c: Likewise.
15441
bc62c2fb
UD
15442 * math/math_private.h: Define __nan, __nanf, __nanl.
15443 * math/s_cacosh.c: Include <math_private.h>.
15444 * math/s_cacoshl.c: Likewise.
15445 * math/s_casinh.c: Likewise.
15446 * math/s_casinhf.c: Likewise.
15447 * math/s_casinhl.c: Likewise.
15448 * math/s_ccos.c: Rely entire on ccosh.
15449 * math/s_ccosf.c: Rely entire on ccoshf.
15450 * math/s_ccosl.c: Rely entirely on ccoshl.
15451 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15452 Remove tests for FE_INVALID.
15453 * math/s_ccoshf.c: Likewise.
15454 * math/s_ccoshl.c: Likewise.
15455 * math/s_csin.c: Likewise.
15456 * math/s_csinf.c: Likewise.
15457 * math/s_csinh.c Likewise.
15458 * math/s_csinhf.c: Likewise.
15459 * math/s_csinhl.c: Likewise.
15460 * math/s_csinl.c: Likewise.
15461 * math/s_ctan.c: Likewise.
15462 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15463 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15464 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15465
8ec250a4
UD
154662011-10-21 Ulrich Drepper <drepper@gmail.com>
15467
c196fed8
UD
15468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15469 compilation problems.
15470
8ec250a4
UD
15471 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15472 __builtin_expect.
15473
8d4f46c6
UD
154742011-10-20 Ulrich Drepper <drepper@gmail.com>
15475
ed72b654
UD
15476 * sysdeps/i386/configure.in: Test for -mfma4 option.
15477 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15478 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15479 COMMON_CPUID_INDEX_80000001.
15480 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15481 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15482 use it if FMA3 is not supported.
15483 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15484
8d4f46c6
UD
15485 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15486 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15487
d45c60c2
AS
154882011-10-20 Andreas Schwab <schwab@redhat.com>
15489
15490 [BZ #12892]
15491 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15492 it would create a cycle with a link time dependency.
15493
d9a4d2ab
UD
154942011-10-19 Ulrich Drepper <drepper@gmail.com>
15495
855d1560
UD
15496 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15497 instruction.
15498 * string/Makefile (strop-tests): Add rawmemchr.
15499 * string/test-rawmemchr.c: New file.
15500
d9a4d2ab
UD
15501 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15502 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15503 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15504 when compiling str{,n}casecmp and when AVX is available. Hook up
15505 new optimized code in initializers.
15506
8f3b1ffe
AS
155072011-10-19 Andreas Schwab <schwab@redhat.com>
15508
15509 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15510 __feraiseexcept instead of feraiseexcept.
15511
d38f1dba
UD
155122011-10-18 Ulrich Drepper <drepper@gmail.com>
15513
d9a8d0ab
UD
15514 * math/math_private.h: Define defaults for libc_fetestexcept and
15515 libc_feupdateenv.
15516 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15517 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15518 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15519 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15520 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15521 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15522 libc_fetestexcept and libc_feupdateenv.
15523
4855e3dd
UD
15524 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15525 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15526 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15527 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15528 libc_feholdexcept_setround.
15529
581d30e3
UD
15530 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15531 Add s_nearbyint-c and s_nearbyintf-c.
15532 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15533 nearbyintf inlines.
15534 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15535 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15536 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15537 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15538
d38f1dba
UD
15539 * math/math_private.h: Define defaults for libc_fegetround,
15540 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15541 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15542 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15543 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15544 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15545 standard functions.
15546 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15547 Remove comments and hacks for old compiler versions.
15548 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15549 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15550 libc_feholdexceptl.
15551
caa6c9d8
AS
155522011-10-18 Andreas Schwab <schwab@redhat.com>
15553
15554 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
15555 (__feraiseexcept_renamed): Add __NTH.
15556 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
15557 namespace violations.
15558
97c066e6
UD
155592011-10-17 Ulrich Drepper <drepper@gmail.com>
15560
99ce7b04
UD
15561 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15562
1004d182
UD
15563 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15564
228a984d
UD
15565 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15566 recently added interfaces.
15567 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15568
c8553a6a
UD
15569 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15570 about macro parameter expansion.
15571
ed22dcf6
UD
15572 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15573 __NO_MATH_INLINES is defined. Cleanups.
15574
15575 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15576 and __floorf is target has SSE4.1.
15577 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15578 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15579 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15580 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15581
b171c137
UD
15582 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15583 name.
15584 (floorf): Likewise.
15585
97c066e6
UD
15586 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15587
629f62ef
AS
155882011-10-17 Andreas Schwab <schwab@redhat.com>
15589
49a43d80
AS
15590 * misc/sys/cdefs.h: Fix last change.
15591
629f62ef
AS
15592 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15593 database lookup.
15594
e453f6cd
UD
155952011-10-16 Ulrich Drepper <drepper@gmail.com>
15596
aa78043a
UD
15597 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15598
ad0f5cad
UD
15599 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15600 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15601 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15602 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15603 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15604 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15605 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15606 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15607 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15608 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15609 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15610 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15611 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15612 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15613 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15614 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15615 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15616 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15617 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15618 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15619 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15620 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15621
15622 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15623 ceil, ceilf, floor, floorf.
15624
15625 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15626 Perform IRELATIVE relocations last.
15627
e453f6cd
UD
15628 * elf/do-rel.h: Add another parameter nrelative, replacing the
15629 local variable with the same name. Change name of the function
15630 to end in Rel or Rela (uppercase).
15631 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15632 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15633 elf_dynamic_do_##reloc function.
15634
fd5bdc09
UD
156352011-10-15 Ulrich Drepper <drepper@gmail.com>
15636
79b195b5
UD
15637 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15638 is sufficient, at least on modern CPUs.
15639
d4a28569
UD
15640 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15641
b61099b5
UD
15642 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15643 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15644
bcf01e6d
UD
15645 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15646 __expl_finite.
15647 * math/bits/math-finite.h: Add entries for exp.
15648 * math/e_expl.c: Add __*_finite alias.
15649 * sysdeps/i386/fpu/e_exp.S: Likewise.
15650 * sysdeps/i386/fpu/e_expf.S: Likewise.
15651 * sysdeps/i386/fpu/e_expl.c: Likewise.
15652 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15653 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15654 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15655 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15656 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15657 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15658 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15659
ba1a0d59
UD
15660 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15661 is sufficient, at least on modern CPUs.
15662
fd5bdc09
UD
15663 * ctype/ctype-info.c (__ctype_init): Define.
15664 * include/ctype.h (__ctype_init): Declare.
15665 (__ctype_b_loc): The variable is always initialized.
15666 (__ctype_toupper_loc): Likewise.
15667 (__ctype_tolower_loc): Likewise.
15668 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15669 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15670
7872cfb0
AS
156712011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15672
b468825a
AS
15673 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15674
7872cfb0
AS
15675 * configure.in: Also look in $cxxmachine/include for C++ system
15676 headers.
15677
be13f7bf
LD
156782011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15679
15680 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15681 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15682 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15683 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15684 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15685 (USE_AS_WMEMCMP): New macro.
15686 Fixing indents.
15687 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15688 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15689 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15690 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15691 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15692 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15693 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15694 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15695 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15696 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15697 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15698 (USE_AS_WMEMCMP): New macro.
15699 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15700 * sysdeps/string/test-memcmp.c: Update.
15701 Fix simple_wmemcmp.
15702 Add new tests.
15703 * wcsmbs/wmemcmp.c: Update.
15704 (WMEMCMP): New macro.
15705 Fix overflow bug.
15706
556a2007
AJ
157072011-10-12 Andreas Jaeger <aj@suse.de>
15708
15709 [BZ #13268]
15710 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15711
538faaa7
UD
157122011-10-15 Ulrich Drepper <drepper@gmail.com>
15713
ab6737ff
UD
15714 * libio/iofwide.c (do_length): Avoid warning.
15715
538faaa7
UD
15716 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15717
396a21b1
UD
157182011-10-14 Ulrich Drepper <drepper@gmail.com>
15719
cdf2901f
UD
15720 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15721
38ad40ce
UD
15722 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15723 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15724 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15725 * sysdeps/i386/i686/fpu/e_log.S: New file.
15726 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15727 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15728
396a21b1
UD
15729 * ctype/ctype.h: Add support for inlined isXXX functions when
15730 compiling C++ code.
15731
6b1f68c9
AS
157322011-10-14 Andreas Schwab <schwab@redhat.com>
15733
349290c0
AS
15734 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15735
6b1f68c9
AS
15736 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15737
f2282d42
RM
157382011-10-13 Roland McGrath <roland@hack.frob.com>
15739
15740 [BZ #13291]
15741 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15742
5298ffa8
AS
157432011-10-13 Andreas Schwab <schwab@redhat.com>
15744
714fad23
AS
15745 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15746 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15747 feraiseexcept.
15748
81dcc7fb
AS
15749 * sysdeps/x86_64/memrchr.S: Check for zero size.
15750
5298ffa8
AS
15751 * string/stratcliff.c: Add memrchr tests.
15752
951fbcec
LD
157532011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15754
15755 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15756 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15757 rawmemchr-sse2 rawmemchr-sse2-bsf.
15758 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15759 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15760 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15761 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15762 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15763 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15764 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15765 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15766 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15767 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15768 * string/memrchr.c (MEMRCHR): New macro.
15769
0ac5ae23
UD
157702011-10-12 Ulrich Drepper <drepper@gmail.com>
15771
15772 Add integration with gcc's -ffinite-math-only and optimize wrapper
15773 functions in libm.
15774 * Versions.def: Define GLIBC_2.15 version for libm.
15775 * math/Makefile (headers): Add bits/math-finite.h.
15776 * math/bits/math-finite.h: New file.
15777 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15778 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15779 * math/e_acoshl.c: Add __*_finite alias.
15780 * math/e_acosl.c: Likewise.
15781 * math/e_asinl.c: Likewise.
15782 * math/e_atan2l.c: Likewise.
15783 * math/e_atanhl.c: Likewise.
15784 * math/e_coshl.c: Likewise.
15785 * math/e_exp10.c: Likewise.
15786 * math/e_exp10f.c: Likewise.
15787 * math/e_exp10l.c: Likewise.
15788 * math/e_exp2l.c: Likewise.
15789 * math/e_fmodl.c: Likewise.
15790 * math/e_gammal_r.c: Likewise.
15791 * math/e_hypotl.c: Likewise.
15792 * math/e_j0l.c: Likewise.
15793 * math/e_j1l.c: Likewise.
15794 * math/e_jnl.c: Likewise.
15795 * math/e_lgammal_r.c: Likewise.
15796 * math/e_log10l.c: Likewise.
15797 * math/e_log2l.c: Likewise.
15798 * math/e_logl.c: Likewise.
15799 * math/e_powl.c: Likewise.
15800 * math/e_sinhl.c: Likewise.
15801 * math/e_sqrtl.c: Likewise.
15802 * math/e_scalb.c: Completely rewritten and optimized.
15803 * math/e_scalbf.c: Likewise.
15804 * math/e_scalbl.c: Likewise.
15805 * math/w_acos.c: Likewise.
15806 * math/w_acosf.c: Likewise.
15807 * math/w_acosl.c: Likewise.
15808 * math/w_acosh.c: Likewise.
15809 * math/w_acoshf.c: Likewise.
15810 * math/w_acoshl.c: Likewise.
15811 * math/w_asin.c: Likewise.
15812 * math/w_asinf.c: Likewise.
15813 * math/w_asinl.c: Likewise.
15814 * math/w_atan2.c: Likewise.
15815 * math/w_atan2f.c: Likewise.
15816 * math/w_atan2l.c: Likewise.
15817 * math/w_atanh.c: Likewise.
15818 * math/w_atanhf.c: Likewise.
15819 * math/w_atanhl.c: Likewise.
15820 * math/w_exp10.c: Likewise.
15821 * math/w_exp10f.c: Likewise.
15822 * math/w_exp10l.c: Likewise.
15823 * math/w_fmod.c: Likewise.
15824 * math/w_fmodf.c: Likewise.
15825 * math/w_fmodl.c: Likewise.
15826 * math/w_j0.c: Likewise.
15827 * math/w_j0f.c: Likewise.
15828 * math/w_j0l.c: Likewise.
15829 * math/w_j1.c: Likewise.
15830 * math/w_j1f.c: Likewise.
15831 * math/w_j1l.c: Likewise.
15832 * math/w_jn.c: Likewise.
15833 * math/w_jnf.c: Likewise.
15834 * math/w_log.c: Likewise.
15835 * math/w_logf.c: Likewise.
15836 * math/w_logl.c: Likewise.
15837 * math/w_log10.c: Likewise.
15838 * math/w_log10f.c: Likewise.
15839 * math/w_log10l.c: Likewise.
15840 * math/w_log2.c: Likewise.
15841 * math/w_log2f.c: Likewise.
15842 * math/w_log2l.c: Likewise.
15843 * math/w_pow.c: Likewise.
15844 * math/w_powf.c: Likewise.
15845 * math/w_powl.c: Likewise.
15846 * math/w_remainder.c: Likewise.
15847 * math/w_remainderf.c: Likewise.
15848 * math/w_remainderl.c: Likewise.
15849 * math/w_scalb.c: Likewise.
15850 * math/w_scalbf.c: Likewise.
15851 * math/w_scalbl.c: Likewise.
15852 * math/w_sqrt.c: Likewise.
15853 * math/w_sqrtf.c: Likewise.
15854 * math/w_sqrtl.c: Likewise.
15855 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15856 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15857 used.
15858 * math/math_private.h: Declare __kernel_standard_f.
15859 * math/w_cosh.c: Remove cruft and optimize a bit.
15860 * math/w_coshf.c: Likewise.
15861 * math/w_coshl.c: Likewise.
15862 * math/w_exp2.c: Likewise.
15863 * math/w_exp2f.c: Likewise.
15864 * math/w_exp2l.c: Likewise.
15865 * math/w_hypot.c: Likewise.
15866 * math/w_hypotf.c: Likewise.
15867 * math/w_hypotl.c: Likewise.
15868 * math/w_lgamma.c: Likewise.
15869 * math/w_lgamma_r.c: Likewise.
15870 * math/w_lgammaf.c: Likewise.
15871 * math/w_lgammaf_r.c: Likewise.
15872 * math/w_lgammal.c: Likewise.
15873 * math/w_lgammal_r.c: Likewise.
15874 * math/w_sinh.c: Likewise.
15875 * math/w_sinhf.c: Likewise.
15876 * math/w_sinhl.c: Likewise.
15877 * math/w_tgamma.c: Likewise.
15878 * math/w_tgammaf.c: Likewise.
15879 * math/w_tgammal.c: Likewise.
15880 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15881 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15882 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15883 Minor optimizations. Pretty printing. Remove cruft.
15884 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15885 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15886 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15887 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15888 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15889 * sysdeps/i386/fpu/e_asin.S: Likewise.
15890 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15891 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15892 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15893 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15894 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15895 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15896 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15897 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15898 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15899 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15900 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15901 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15902 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15903 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15904 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15905 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15906 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15907 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15908 * sysdeps/i386/fpu/e_log.S: Likewise.
15909 * sysdeps/i386/fpu/e_log10.S: Likewise.
15910 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15911 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15912 * sysdeps/i386/fpu/e_log2.S: Likewise.
15913 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15914 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15915 * sysdeps/i386/fpu/e_logf.S: Likewise.
15916 * sysdeps/i386/fpu/e_logl.S: Likewise.
15917 * sysdeps/i386/fpu/e_pow.S: Likewise.
15918 * sysdeps/i386/fpu/e_powf.S: Likewise.
15919 * sysdeps/i386/fpu/e_powl.S: Likewise.
15920 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15921 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15922 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15923 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15924 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15925 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15926 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15927 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15928 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15929 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15930 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15932 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15933 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15934 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15935 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15936 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15937 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15938 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15939 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15940 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15941 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15942 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15943 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15944 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15945 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15946 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15947 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15948 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15949 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15950 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15951 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15952 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15953 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15954 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15955 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15956 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15957 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15958 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15959 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15960 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15961 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15962 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15963 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15964 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15965 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15966 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15967 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15968 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15969 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15970 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15971 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15972 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15973 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15974 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15975 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15976 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15977 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15978 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15979 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15980 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15981 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15982 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15983 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15984 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15985 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15986 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15987 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15988 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15989 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15990 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15991 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15992 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15993 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15994 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15995 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15996 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15997 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15998 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15999 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16000 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16001 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16002 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16003 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16004 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16005 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16006 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16007 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16008 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16009 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16010 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16011 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16012 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16013 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16014 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16015 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16016 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16017 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16018 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16019 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16020 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16021 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16022 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16023 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16024 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16025 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16026 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
16027 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
16028 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
16029 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
16030 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
16031 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
16032 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
16033 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16034 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16035 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16036 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16037 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
16038 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16039 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
16040 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
16041 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
16042 (__isnanf): Likewise.
16043 (__isinf_ns): Likewise.
16044 (__isinf_nsf): Likewise.
16045 (__finite): Likewise.
16046 (__finitef): Likewise.
16047 (__ieee754_sqrt): Define as macro.
16048 (__ieee754_sqrtf): Define as macro.
16049 (__ieee754_sqrtl): Define as macro.
16050 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
16051 inlined copy.
16052 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
16053 __FINITE_MATH_ONLY__ consistent.
16054 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
16055
12cc2fcd
AS
160562011-10-10 Andreas Schwab <schwab@linux-m68k.org>
16057
a843a204
AS
16058 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
16059 of rawmemchr.
16060
12cc2fcd
AS
16061 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
16062
c853acd5
UD
160632011-10-09 Ulrich Drepper <drepper@gmail.com>
16064
16065 * po/ja.po: Update from translation team.
16066
c658d255
RM
160672011-10-08 Roland McGrath <roland@hack.frob.com>
16068
110946e4
RM
16069 * locale/programs/locarchive.c (prepare_address_space): New function.
16070 (create_archive, enlarge_archive, open_archive): Use it.
16071
50604220
RM
16072 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
16073 inside [SHARED], where it is used.
16074
c658d255
RM
16075 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
16076
16077 * nss/getent.c (netgroup_keys): Remove unused variable.
16078 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16079
6a621eb7
UD
160802011-10-08 Ulrich Drepper <drepper@gmail.com>
16081
7edb55ce
UD
16082 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
16083 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
16084 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
16085 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
16086 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
16087 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
16088 * math/Makefile (libm-calls): Add s_isinf_ns.
16089 * math/divtc3.c: Use __isinf_nsl instead of isinf.
16090 * math/multc3.c: Likewise.
16091 * math/s_casin.c: Likewise.
16092 * math/s_casinf.c: Likewise.
16093 * math/s_casinl.c: Likewise.
16094 * math/s_ccos.c: Likewise.
16095 * math/s_ccosf.c: Likewise.
16096 * math/s_ccosl.c: Likewise.
16097 * math/s_ctan.c: Likewise.
16098 * math/s_ctanf.c: Likewise.
16099 * math/s_ctanh.c: Likewise.
16100 * math/s_ctanhf.c: Likewise.
16101 * math/s_ctanhl.c: Likewise.
16102 * math/s_ctanl.c: Likewise.
16103 * math/w_fmod.c: Likewise.
16104 * math/w_fmodf.c: Likewise.
16105 * math/w_fmodl.c: Likewise.
16106 * math/w_remainder.c: Likewise.
16107 * math/w_remainderf.c: Likewise.
16108 * math/w_remainderl.c: Likewise.
16109 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
16110 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
16111 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
16112 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
16113 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
16114 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
16115 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
16116 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
16117
187da0ae
UD
16118 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
16119 of the number.
16120 * stdio-common/printf_fphex.c: Likewise.
16121 * stdio-common/printf_size.c: Likewise.
16122
9277c064
UD
16123 * math/e_exp10.c: Include math_private.h using <...> not "...".
16124 * math/e_exp10f.c: Likewise.
16125 * math/e_exp10l.c: Likewise.
16126 * math/e_exp2l.c: Likewise.
16127 * math/e_j0l.c: Likewise.
16128 * math/e_j1l.c: Likewise.
16129 * math/e_jnl.c: Likewise.
16130 * math/e_lgammal_r.c: Likewise.
16131 * math/e_rem_pio2l.c: Likewise.
16132 * math/e_scalb.c: Likewise.
16133 * math/e_scalbf.c: Likewise.
16134 * math/e_scalbl.c: Likewise.
16135 * math/k_cosl.c: Likewise.
16136 * math/k_sinl.c: Likewise.
16137 * math/k_tanl.c: Likewise.
16138 * math/s_cacoshf.c: Likewise.
16139 * math/s_catan.c: Likewise.
16140 * math/s_catanf.c: Likewise.
16141 * math/s_catanh.c: Likewise.
16142 * math/s_catanhf.c: Likewise.
16143 * math/s_catanhl.c: Likewise.
16144 * math/s_catanl.c: Likewise.
16145 * math/s_ccosh.c: Likewise.
16146 * math/s_ccoshf.c: Likewise.
16147 * math/s_ccoshl.c: Likewise.
16148 * math/s_cexp.c: Likewise.
16149 * math/s_cexpf.c: Likewise.
16150 * math/s_cexpl.c: Likewise.
16151 * math/s_clog.c: Likewise.
16152 * math/s_clog10.c: Likewise.
16153 * math/s_clog10f.c: Likewise.
16154 * math/s_clog10l.c: Likewise.
16155 * math/s_clogf.c: Likewise.
16156 * math/s_clogl.c: Likewise.
16157 * math/s_csin.c: Likewise.
16158 * math/s_csinf.c: Likewise.
16159 * math/s_csinh.c: Likewise.
16160 * math/s_csinhf.c: Likewise.
16161 * math/s_csinhl.c: Likewise.
16162 * math/s_csinl.c: Likewise.
16163 * math/s_csqrt.c: Likewise.
16164 * math/s_csqrtf.c: Likewise.
16165 * math/s_csqrtl.c: Likewise.
16166 * math/s_ctan.c: Likewise.
16167 * math/s_ctanf.c: Likewise.
16168 * math/s_ctanh.c: Likewise.
16169 * math/s_ctanhf.c: Likewise.
16170 * math/s_ctanhl.c: Likewise.
16171 * math/s_ctanl.c: Likewise.
16172 * math/s_ldexp.c: Likewise.
16173 * math/s_ldexpf.c: Likewise.
16174 * math/s_ldexpl.c: Likewise.
16175 * math/s_significand.c: Likewise.
16176 * math/s_significandf.c: Likewise.
16177 * math/s_significandl.c: Likewise.
16178 * math/w_acos.c: Likewise.
16179 * math/w_acosf.c: Likewise.
16180 * math/w_acosh.c: Likewise.
16181 * math/w_acoshf.c: Likewise.
16182 * math/w_acoshl.c: Likewise.
16183 * math/w_acosl.c: Likewise.
16184 * math/w_asin.c: Likewise.
16185 * math/w_asinf.c: Likewise.
16186 * math/w_asinl.c: Likewise.
16187 * math/w_atan2.c: Likewise.
16188 * math/w_atan2f.c: Likewise.
16189 * math/w_atan2l.c: Likewise.
16190 * math/w_atanh.c: Likewise.
16191 * math/w_atanhf.c: Likewise.
16192 * math/w_atanhl.c: Likewise.
16193 * math/w_cosh.c: Likewise.
16194 * math/w_coshf.c: Likewise.
16195 * math/w_coshl.c: Likewise.
16196 * math/w_dremf.c: Likewise.
16197 * math/w_exp10.c: Likewise.
16198 * math/w_exp10f.c: Likewise.
16199 * math/w_exp10l.c: Likewise.
16200 * math/w_exp2.c: Likewise.
16201 * math/w_exp2f.c: Likewise.
16202 * math/w_fmod.c: Likewise.
16203 * math/w_fmodf.c: Likewise.
16204 * math/w_fmodl.c: Likewise.
16205 * math/w_hypot.c: Likewise.
16206 * math/w_hypotf.c: Likewise.
16207 * math/w_hypotl.c: Likewise.
16208 * math/w_j0.c: Likewise.
16209 * math/w_j0f.c: Likewise.
16210 * math/w_j0l.c: Likewise.
16211 * math/w_j1.c: Likewise.
16212 * math/w_j1f.c: Likewise.
16213 * math/w_j1l.c: Likewise.
16214 * math/w_jn.c: Likewise.
16215 * math/w_jnf.c: Likewise.
16216 * math/w_jnl.c: Likewise.
16217 * math/w_lgamma.c: Likewise.
16218 * math/w_lgamma_r.c: Likewise.
16219 * math/w_lgammaf.c: Likewise.
16220 * math/w_lgammaf_r.c: Likewise.
16221 * math/w_lgammal.c: Likewise.
16222 * math/w_lgammal_r.c: Likewise.
16223 * math/w_log.c: Likewise.
16224 * math/w_log10.c: Likewise.
16225 * math/w_log10f.c: Likewise.
16226 * math/w_log10l.c: Likewise.
16227 * math/w_log2.c: Likewise.
16228 * math/w_log2f.c: Likewise.
16229 * math/w_log2l.c: Likewise.
16230 * math/w_logf.c: Likewise.
16231 * math/w_logl.c: Likewise.
16232 * math/w_pow.c: Likewise.
16233 * math/w_powf.c: Likewise.
16234 * math/w_powl.c: Likewise.
16235 * math/w_remainder.c: Likewise.
16236 * math/w_remainderf.c: Likewise.
16237 * math/w_remainderl.c: Likewise.
16238 * math/w_scalb.c: Likewise.
16239 * math/w_scalbf.c: Likewise.
16240 * math/w_scalbl.c: Likewise.
16241 * math/w_sinh.c: Likewise.
16242 * math/w_sinhf.c: Likewise.
16243 * math/w_sinhl.c: Likewise.
16244 * math/w_sqrt.c: Likewise.
16245 * math/w_sqrtf.c: Likewise.
16246 * math/w_sqrtl.c: Likewise.
16247 * math/w_tgamma.c: Likewise.
16248 * math/w_tgammaf.c: Likewise.
16249 * math/w_tgammal.c: Likewise.
16250
6a621eb7
UD
16251 * po/ja.po: Update from translation team.
16252
bf582445
AJ
162532011-09-29 Andreas Jaeger <aj@suse.de>
16254
f9efbf3a
AJ
16255 [BZ #13179]
16256 * sunrpc/netname.c (netname2host): Fix logic.
16257
bf582445
AJ
16258 [BZ #6779]
16259 [BZ #6783]
16260 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16261 correctly.
16262 * math/w_remainder.c (__remainder): Likewise.
16263 * math/w_remainderf.c (__remainderf): Likewise.
16264 * math/libm-test.inc (remainder_test): Add test cases.
16265
48693bea
AK
162662011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16267
16268 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16269 sdiv_qrnnd.
16270
42622229
LD
162712011-10-07 Ulrich Drepper <drepper@gmail.com>
16272
16273 * string/test-memcmp.c: Avoid unncessary #defines.
16274 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16275
093ecf92
LD
162762011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16277
16278 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16279 Use new sse2 version for core i3 - i7 as it's faster
16280 than sse42 version.
16281 (bit_Prefer_PMINUB_for_stringop): New.
16282 * sysdeps/x86_64/rawmemchr.S: Update.
16283 Replace with faster SSE2 version.
16284 * sysdeps/x86_64/memrchr.S: New file.
16285 * sysdeps/x86_64/memchr.S: Update.
16286 Replace with faster SSE2 version.
16287
fde56e5c
MP
162882011-09-12 Marek Polacek <mpolacek@redhat.com>
16289
16290 * elf/dl-load.c (lose): Add cast to avoid warning.
16291
21fd49a9
UD
162922011-10-07 Ulrich Drepper <drepper@gmail.com>
16293
5a06e643
UD
16294 * po/ca.po: Update from translation team.
16295
684ae515
UD
16296 * inet/getnetgrent_r.c: Hook up nscd.
16297 * nscd/Makefile (routines): Add nscd_netgroup.
16298 (nscd-modules): Add netgroupcache.
16299 (CFLAGS-netgroupcache.c): Define.
16300 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16301 (cache_search): Add const to second parameter.
16302 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16303 INNETGR.
16304 (dbs): Add netgrdb entry.
16305 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16306 (verify_persistent_db): Handle netgrdb.
16307 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16308 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16309 GETFDNETGR.
16310 (netgroup_response_header): Define.
16311 (innetgroup_response_header): Define.
16312 (datahead): Add netgroup_response_header and innetgroup_response_header
16313 elements.
16314 * nscd/nscd.conf: Add entries for netgroup cache.
16315 * nscd/nscd.h (dbtype): Add netgrdb.
16316 (_PATH_NSCD_NETGROUP_DB): Define.
16317 (netgroup_iov_disabled): Declare.
16318 (xmalloc, xcalloc, xrealloc): Move declarations here.
16319 (cache_search): Adjust prototype.
16320 Add netgroup-related prototypes.
16321 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16322 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16323 (__nscd_innetgr): Declare.
16324 * nscd/selinux.c (perms): Use access_vector_t as element type and
16325 add netgroup-related initializers.
16326 * nscd/netgroupcache.c: New file.
16327 * nscd/nscd_netgroup.c: New file.
16328 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16329 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16330 For four parameters use innetgr.
16331 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16332 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16333 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16334 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16335
21fd49a9
UD
16336 * nscd/connections.c (register_traced_file): Don't register file
16337 for disabled databases.
16338
054c0457
UD
163392011-10-06 Ulrich Drepper <drepper@gmail.com>
16340
32b63198
UD
16341 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16342
054c0457
UD
16343 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16344 from tree and freeing node.
16345
64031225
JO
163462011-09-25 Jiri Olsa <jolsa@redhat.com>
16347
16348 * nss/nsswitch.c (__nss_database_lookup): Handle
16349 nss_parse_service_list out of memory case.
16350
0490345c
JO
163512011-09-15 Jiri Olsa <jolsa@redhat.com>
16352
16353 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16354 out of memory case.
16355
3a62d00d
AS
163562011-10-04 Andreas Schwab <schwab@redhat.com>
16357
16358 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16359 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16360 pass it down.
16361 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16362 elf_machine_rela, elf_machine_lazy_rel.
16363 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16364 (ELF_DYNAMIC_DO_REL): Likewise.
16365 (ELF_DYNAMIC_DO_RELA): Likewise.
16366 (ELF_DYNAMIC_RELOCATE): Likewise.
16367 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16368 to ELF_DYNAMIC_DO_REL.
16369 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16370 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16371 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16372 elf_machine_rela.
16373 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16374 skip_ifunc, don't call ifunc function if non-zero.
16375 (elf_machine_rela): Likewise.
16376 (elf_machine_lazy_rel): Likewise.
16377 (elf_machine_lazy_rela): Likewise.
16378 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16379 (elf_machine_lazy_rel): Likewise.
16380 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16381 Likewise.
16382 (elf_machine_lazy_rel): Likewise.
16383 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16384 Likewise.
16385 (elf_machine_lazy_rel): Likewise.
16386 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16387 (elf_machine_lazy_rel): Likewise.
16388 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16389 (elf_machine_lazy_rel): Likewise.
16390 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16391 (elf_machine_lazy_rel): Likewise.
16392 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16393 (elf_machine_lazy_rel): Likewise.
16394 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16395 (elf_machine_lazy_rel): Likewise.
16396 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16397 (elf_machine_lazy_rel): Likewise.
16398
68577918
UD
163992011-09-28 Ulrich Drepper <drepper@gmail.com>
16400
16401 * nss/nss_files/files-init.c (_nss_files_init): Use static
16402 initialization for all the *_traced_file variables.
16403
68822d74
AS
164042011-09-28 Andreas Schwab <schwab@redhat.com>
16405
16406 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16407
2056100b
RM
164082011-09-27 Roland McGrath <roland@hack.frob.com>
16409
16410 [BZ #13226]
16411 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16412
32c76b63
AS
164132011-09-27 Andreas Schwab <schwab@redhat.com>
16414
16415 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16416 Reread the line before reparsing it.
16417
bf972c9d
AS
164182011-09-26 Andreas Schwab <schwab@redhat.com>
16419
16420 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16421
e057a1b5
JM
164222011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16423 Maxim Kuvyrkov <maxim@codesourcery.com>
16424 Joseph Myers <joseph@codesourcery.com>
16425
16426 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16427 if needed for __stack_chk_guard.
16428
bc7e1c36
RM
164292011-09-19 Roland McGrath <roland@hack.frob.com>
16430
ecb1482f
RM
16431 * sysdeps/posix/spawni.c (script_execute): Always define it.
16432 It will be optimized away if unused.
16433 (maybe_script_execute): New function.
16434 (__spawni): Call it.
16435
bc7e1c36
RM
16436 * Makerules: Don't include tls.make.
16437 (config-tls): Always set to thread.
16438 * tls.make.c: File removed.
16439
1c3b002b
MF
164402011-09-19 Mike Frysinger <vapier@gentoo.org>
16441
16442 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16443 * config.make.in (CPPFLAGS-config): New substituted variable.
16444
2840865d
UD
164452011-09-15 Ulrich Drepper <drepper@gmail.com>
16446
88738eb6
UD
16447 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16448
cbf645a6 16449 [BZ #13192]
2840865d
UD
16450 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16451 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16452
b402e91a
RM
164532011-09-15 Roland McGrath <roland@hack.frob.com>
16454
16455 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16456 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16457 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16458 (CALL_FAIL): Likewise.
16459 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16460 (CALL_FAIL): Macro removed.
16461 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16462
4c1a1f71
UD
164632011-09-15 Ulrich Drepper <drepper@gmail.com>
16464
16465 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16466 for __FINITE_MATH_ONLY__ == 1.
16467
edc121be
AS
164682011-09-15 Andreas Schwab <schwab@redhat.com>
16469
16470 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16471 __ieee754_sqrt instead of sqrt.
16472 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16473 __ieee754_sqrtf instead of sqrtf.
16474 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16475 __floorf instead of floorf.
16476 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16477 __floorf, __truncf instead of floorf, truncf.
16478
cd205654
UD
164792011-09-14 Ulrich Drepper <drepper@gmail.com>
16480
ee4d0315
UD
16481 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16482
cd205654
UD
16483 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16484 __extern_always_inline.
16485 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16486 32-bit.
16487
48b67d71
AS
164882011-09-14 Andreas Schwab <schwab@redhat.com>
16489
16490 * elf/rtld.c (dl_main): Also relocate in dependency order when
16491 doing symbol dependency testing.
16492
1ae12c75
AS
164932011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16494
16495 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16496 Always define `refsym'.
16497
995a80df
AS
164982011-09-13 Andreas Schwab <schwab@redhat.com>
16499
e529793b
AS
16500 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16501 (__FD_ELT): Renamed from __FDELT.
16502 * misc/bits/select2.h (__FD_ELT): Likewise.
16503 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16504 __FD_MASK instead of __FDELT, __FDMASK.
16505 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16506 Likewise.
16507 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16508 Likewise.
16509
52d4fef8
AS
16510 * elf/Makefile (gen-ldd): Fix pattern.
16511
995a80df
AS
16512 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16513 (init_tls): Likewise.
16514
8682f8b0
UD
165152011-09-12 Ulrich Drepper <drepper@gmail.com>
16516
16517 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16518
de82006d
AS
165192011-09-12 Andreas Schwab <schwab@redhat.com>
16520
a7c8e6a1
AS
16521 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16522 `struct cmsghdr *' instead of `void *'.
16523 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16524 Likewise.
16525
0f31fe77
AS
165262011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16527
16528 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16529 if non-absolute.
16530 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16531 ldd_rewrite_script.
0f31fe77 16532
32b4c839
UD
165332011-09-11 Ulrich Drepper <drepper@gmail.com>
16534
83cd1420
UD
16535 * configure.in: Remove --with-tls option.
16536 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16537 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16538 out in case it is missing.
16539 * sysdeps/ia64/elf/configure.in: Likewise.
16540 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16541 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16542 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16543 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16544 * sysdeps/sh/elf/configure.in: Likewise.
16545 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16546 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16547 * sysdeps/x86_64/elf/configure.in: Likewise.
16548 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16549 * sysdeps/mach/hurd/tls.h: Likewise.
16550
633f745d
UD
16551 [BZ #13067]
16552 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16553
f318beb8
UD
16554 [BZ #13090]
16555 * configure.in: Fix use of AC_INIT.
16556
32b4c839
UD
16557 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16558
3ce1f295
UD
165592011-09-10 Ulrich Drepper <drepper@gmail.com>
16560
bb016596
UD
16561 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16562 __set_errno.
8e58439c
UD
16563 * malloc/hooks.c: Likewise.
16564
aebae053 16565 [BZ #11929]
02d46fc4
UD
16566 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16567 variables statically.
16568 (narenas): Initialize.
16569 (list_lock): Initialize.
bb016596
UD
16570 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16571 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
16572 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16573 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16574 Add initializers to main_arena and mp_.
16575 (malloc_state): Remove pagesize member. Change all users to use
16576 GLRO(dl_pagesize).
16577
16578 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16579 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16580 is always initialized.
16581
22a89187
UD
16582 * malloc/malloc.c: Removed unused configurations and dead code.
16583 * malloc/arena.c: Likewise.
16584 * malloc/hooks.c: Likewise.
02d46fc4 16585 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 16586
d063d164
UD
16587 * include/tls.h: Removed. USE___THREAD must always be defined.
16588 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16589 * elf/dl-libc.c: Likewise.
16590 * elf/dl-tsd.c: Likewise.
16591 * include/errno.h: Likewise.
16592 * include/netdb.h: Likewise.
16593 * include/resolv.h: Likewise.
16594 * inet/herrno-loc.c: Likewise.
16595 * inet/herrno.c: Likewise.
16596 * malloc/arena.c: Likewise.
16597 * malloc/hooks.c: Likewise.
16598 * malloc/malloc.c: Likewise.
16599 * resolv/res-state.c: Likewise.
16600 * resolv/res_libc.c: Likewise.
16601 * sysdeps/i386/dl-machine.h: Likewise.
16602 * sysdeps/ia64/dl-machine.h: Likewise.
16603 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16604 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16605 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16606 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16607 * sysdeps/sh/dl-machine.h: Likewise.
16608 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16609 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16610 * sysdeps/unix/i386/sysdep.S: Likewise.
16611 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16612 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16613 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16614 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16615 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16616 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16617 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16618 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16619 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16621 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16622 * sysdeps/x86_64/dl-machine.h: Likewise.
16623 * tls.make.c: Likewise.
16624
3ce1f295
UD
16625 * configure.in: Remove --with-__thread option. Make tests for
16626 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16627 tls_model attribute fail if no support is available. Remove
16628 USE_IN_LIBIO.
16629 * Makeconfig: Adjust for dropped configure option. All features are
16630 now mandatory.
16631 * Makerules: Likewise.
16632 * Versions.def: Likewise.
16633 * argp/argp-fmtstream.c: Likewise.
16634 * argp/argp-fmtstream.h: Likewise.
16635 * argp/argp-help.c: Likewise.
16636 * assert/assert.c: Likewise.
16637 * config.h.in: Likewise.
16638 * config.make.in: Likewise.
16639 * configure: Likewise.
16640 * configure.in: Likewise.
16641 * csu/Versions: Likewise.
16642 * csu/init.c: Likewise.
16643 * elf/tst-audit2.c: Likewise.
16644 * elf/tst-tls10.c: Likewise.
16645 * elf/tst-tls10.h: Likewise.
16646 * elf/tst-tls11.c: Likewise.
16647 * elf/tst-tls12.c: Likewise.
16648 * elf/tst-tls14.c: Likewise.
16649 * elf/tst-tlsmod11.c: Likewise.
16650 * elf/tst-tlsmod12.c: Likewise.
16651 * elf/tst-tlsmod13.c: Likewise.
16652 * elf/tst-tlsmod13a.c: Likewise.
16653 * elf/tst-tlsmod14a.c: Likewise.
16654 * elf/tst-tlsmod15b.c: Likewise.
16655 * elf/tst-tlsmod16a.c: Likewise.
16656 * elf/tst-tlsmod16b.c: Likewise.
16657 * elf/tst-tlsmod7.c: Likewise.
16658 * elf/tst-tlsmod8.c: Likewise.
16659 * elf/tst-tlsmod9.c: Likewise.
16660 * gmon/gmon.c: Likewise.
16661 * grp/fgetgrent_r.c: Likewise.
16662 * grp/putgrent.c: Likewise.
16663 * hurd/fopenport.c: Likewise.
16664 * include/libc-symbols.h: Likewise.
16665 * include/tls.h: Likewise.
16666 * intl/gettextP.h: Likewise.
16667 * intl/loadinfo.h: Likewise.
16668 * locale/global-locale.c: Likewise.
16669 * locale/localeinfo.h: Likewise.
16670 * mach/devstream.c: Likewise.
16671 * malloc/arena.c: Likewise.
16672 * malloc/set-freeres.c: Likewise.
16673 * misc/err.c: Likewise.
16674 * misc/getttyent.c: Likewise.
16675 * misc/mntent_r.c: Likewise.
16676 * posix/getopt.c: Likewise.
16677 * posix/wordexp.c: Likewise.
16678 * pwd/fgetpwent_r.c: Likewise.
16679 * resolv/Versions: Likewise.
16680 * resolv/res_hconf.c: Likewise.
16681 * shadow/fgetspent_r.c: Likewise.
16682 * shadow/putspent.c: Likewise.
16683 * stdio-common/printf_fphex.c: Likewise.
16684 * stdio-common/tmpfile.c: Likewise.
16685 * stdlib/abort.c: Likewise.
16686 * stdlib/fmtmsg.c: Likewise.
16687 * sunrpc/auth_unix.c: Likewise.
16688 * sunrpc/clnt_perr.c: Likewise.
16689 * sunrpc/clnt_tcp.c: Likewise.
16690 * sunrpc/clnt_udp.c: Likewise.
16691 * sunrpc/clnt_unix.c: Likewise.
16692 * sunrpc/openchild.c: Likewise.
16693 * sunrpc/svc_simple.c: Likewise.
16694 * sunrpc/svc_tcp.c: Likewise.
16695 * sunrpc/svc_udp.c: Likewise.
16696 * sunrpc/svc_unix.c: Likewise.
16697 * sunrpc/xdr.c: Likewise.
16698 * sunrpc/xdr_array.c: Likewise.
16699 * sunrpc/xdr_rec.c: Likewise.
16700 * sunrpc/xdr_ref.c: Likewise.
16701 * sunrpc/xdr_stdio.c: Likewise.
16702
1248c1c4
PB
167032011-09-09 Ulrich Drepper <drepper@gmail.com>
16704
16705 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16706
167072011-07-03 Andreas Jaeger <aj@suse.de>
16708
16709 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16710 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16711 regenerate with gen-libm-tests.pl.
16712
167132010-05-12 Petr Baudis <pasky@suse.cz>
16714
16715 [BZ #11589]
16716 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16717 around j0() zero points by switching to j1().
16718 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16719 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16720 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16721 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16722
f22e1074
UD
167232011-09-09 Ulrich Drepper <drepper@gmail.com>
16724
f19009c1
UD
16725 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16726 instead of 0.
16727 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16728 instead of 0. .
16729 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16730 Patch in part by Pavel Roskin <proski@gnu.org>.
16731
3f8cc204
UD
16732 [BZ #13138]
16733 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16734 realloc.
16735 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16736 Free memory block if necessary.
16737
f22e1074
UD
16738 [BZ #12847]
16739 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16740 be NULL. Don't lock in this case.
16741
0a2349f9
RM
167422011-09-09 Roland McGrath <roland@hack.frob.com>
16743
16744 * elf/elf.h (ELFOSABI_GNU): New macro.
16745 (ELFOSABI_LINUX): Define to that.
16746
f3cdd467
DZ
167472011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16748
16749 * string/strncat.c (strncat): Undef the symbol in case it has been
16750 defined in bits/string.h.
16751
74718d13
UD
167522011-09-09 Ulrich Drepper <drepper@gmail.com>
16753
633e9e0f
UD
16754 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16755
0a2349f9 16756 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
16757 link map.
16758
f9924780
AJ
167592011-08-17 Andreas Jaeger <aj@suse.de>
16760
16761 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16762
7f5517aa
PP
167632011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16764 Ian Lance Taylor <iant@google.com>
16765
16766 * math/libm-test.inc (lround_test): New testcase.
16767 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16768
762011fe
UD
167692011-09-08 Ulrich Drepper <drepper@gmail.com>
16770
92963737
UD
16771 * Makefile: Remove support for automatic cvs check-ins.
16772 * Makerules: Likewise.
16773 * config.make.in: Likewise.
16774 * configure.in: Likewise.
16775 * intl/Makefile: Likewise.
16776 * locale/Makefile: Likewise.
16777 * po/Makefile: Likewise.
16778 * posix/Makefile: Likewise.
16779 * sysdeps/gnu/Makefile: Likewise.
16780 * sysdeps/mach/hurd/Makefile: Likewise.
16781 * sysdeps/sparc/sparc32/Makefile: Likewise.
16782
b0727fd8
JS
16783 [BZ #13118]
16784 * posix/Makefile (bug-regex32-ENV): Define.
16785 Patch by John Stanley <jpsinthemix@verizon.net>.
16786
a0f33f99
UD
16787 * misc/Makefile (headers): Add bits/select2.h.
16788 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16789 * misc/bits/select2.h: New file.
16790 * include/bits/select2.h: New file.
16791 * debug/Makefile (routines): Add fdelt_chk.
16792 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16793 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16794 FD_ISSET.
16795 * debug/fdelt_chk.c: New file.
16796
762011fe
UD
16797 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16798 * wcsmbs/test-wmemcmp.c: Likewise.
16799 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16800 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16801
168022011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16803
16804 * string/Makefile (strop-tests): Add memcmp.
16805 * string/test-wmemcmp.c: New file.
16806 * string/test-memcmp.c: Add wmemcmp support.
16807
7f513ec8
RM
168082011-09-08 Roland McGrath <roland@hack.frob.com>
16809
0442afb4
RM
16810 [BZ #13153]
16811 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16812 2011-07-19 change.
16813
7f513ec8
RM
16814 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16815 garbage value in a __mach_port_mod_refs call in the cases of the
16816 task-self and thread-self ports.
16817
a12b2239
ST
168182011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16819
16820 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16821
610f9ab4
AS
168222011-09-08 Andreas Schwab <schwab@redhat.com>
16823
7f513ec8 16824 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 16825
48882a1a
LD
168262011-09-07 Ulrich Drepper <drepper@gmail.com>
16827
b49865be
UD
16828 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16829
fdc86bc9
UD
16830 * elf/dl-libc.c (dlerror_run): Pass back error code from
16831 dl_catch_error.
16832
c966526a
UD
16833 [BZ #13123]
16834 * elf/dl-load.c (lose): Free l_origin if it is valid.
16835
48882a1a
LD
16836 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16837 names.
16838 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16839 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16840 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16841 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16842 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16843 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16844
77a2a8b4
AZ
168452011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16846
16847 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16848 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16849 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16850 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16851 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16852 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16853 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16854 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16855 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16856 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16857
24f579d8
AM
168582011-08-15 Alan Modra <amodra@gmail.com>
16859
16860 [BZ #13092]
16861 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16862 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16863 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16864 ppc_mcount to static-only-routines.
16865 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16866 __mcount_internal.
16867 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16868 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16869
3d4837df
UD
168702011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16871
16872 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16873 for finite and infinity parameters.
16874
22700377
WS
168752011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16876
16877 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16878 and add nop instructions for throughput optimization.
16879 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16880
5025581e
WS
168812011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16882
16883 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16884 aligned copy for power7 with vector-scalar instructions.
16885 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16886
08a300c9
L
168872011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16888
16889 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16890 AVX check.
16891
59178ef9
AS
168922011-09-07 Andreas Schwab <schwab@redhat.com>
16893
16894 [BZ #13144]
16895 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16896 last change.
16897
e38ba7ab
UD
168982011-09-07 Ulrich Drepper <drepper@gmail.com>
16899
16900 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16901 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16902 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16903 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16904 clock_gettime.
16905
d53a73ac
UD
169062011-09-06 Ulrich Drepper <drepper@gmail.com>
16907
fc8bffcc
UD
16908 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16909 Forgot to demangle the pointer.
16910
ceaa0c5d
UD
16911 * sysdeps/i386/sysdep.h: Define atom_text_section.
16912 * sysdeps/x86_64/sysdep.h: Likewise.
16913 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16914 section with atom_text_section.
16915 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16916 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16917 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16918 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16919 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16920
a77d3c17
UD
16921 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16922 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16923 already be defined. Change to take two parameters and don't assign
16924 result to variable. Adjust all users.
16925 Define INTERNAL_GETTIME if not already defined.
16926 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16927 call.
16928 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16929 HAVE_CLOCK_GETTIME_VSYSCALL.
16930 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16931
d53a73ac
UD
16932 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16933 gettimeofday vsyscall, just use time.
16934
a8f84144
AS
169352011-09-06 Andreas Schwab <schwab@redhat.com>
16936
16937 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16938 <errno.h>.
16939
ef606249
UD
169402011-09-06 Ulrich Drepper <drepper@gmail.com>
16941
16942 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16943 syscall on x86-64.
16944 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16945 syscall.
16946 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16947 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16948 syscall if possible.
16949
6585cb60
UD
169502011-09-05 Ulrich Drepper <drepper@gmail.com>
16951
16952 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16953 e_ident. Don't pass to find_mapsXX.
16954 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16955
a5f524e4
LD
169562011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16957
16958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16959 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16960 * sysdeps/x86_64/multiarch/strchr.S: Update.
16961 Check bit_slow_BSF bit.
16962 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16963 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16964 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16965
554881ef
UD
169662011-09-05 Ulrich Drepper <drepper@gmail.com>
16967
d96de963
UD
16968 [BZ #13134]
16969 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16970 before glibc 2.15.
16971 (tryshell): Define.
16972 (__spawni): Change last parameter to be flag. Test
16973 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16974 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16975 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16976 * posix/spawni.c: Likewise.
16977 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16978 * posix/spawnp.c: Likewise. Change normal version to use
16979 SPAWN_XFLAGS_USE_PATH.
16980 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16981 SPAWN_XFLAGS_TRY_SHELL.
16982
d48e5868
UD
16983 [BZ #13150]
16984 * posix/glob.h: Remove gcc 1.x support.
16985
554881ef
UD
16986 [BZ #13068]
16987 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16988
693fb948
LD
169892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16990
16991 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16992 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16993 strrchr-sse2-bsf
16994 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16995 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16996 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16997 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16998 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16999 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
17000
1b48c537
UD
170012011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17002
49d42c37
UD
17003 * sysdeps/x86_64/wcscmp.S: New file.
17004
1b48c537
UD
17005 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
17006 wcscmp-c wcscmp-sse2
17007 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
17008 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
17009 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
17010 * wcsmbs/wcscmp.c: Allow renaming.
17011
15c95c5d
DM
170122011-09-05 David S. Miller <davem@davemloft.net>
17013
17014 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
17015 stack slot, rather than the struct return pointer slot.
17016 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
17017 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
17018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
17019 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
17020
2f0ad8f3
UD
170212011-09-05 Ulrich Drepper <drepper@gmail.com>
17022
d88ae418
UD
17023 * po/ja.po: Update from translation team.
17024
2f0ad8f3
UD
17025 [BZ #13144]
17026 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
17027 kernel in 64-bit binaries.
17028
5f4318d1
DM
170292011-09-01 David S. Miller <davem@davemloft.net>
17030
17031 * elf/elf.h (HWCAP_SPARC_*): Move to..
17032 * sysdeps/sparc/sysdep.h: this new file and add new values.
17033 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
17034 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
17035 _DL_HWCAP_COUNT to 24.
17036 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17037 entries.
17038 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
17039 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
17040 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
17041 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
17042 instead of magic constants.
17043 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17044
3ba57516
DM
170452011-08-31 David S. Miller <davem@davemloft.net>
17046
17047 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
17048 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
17049 Reimplement to do errno handling inline.
17050 (SYSCALL_ERROR_HANDLER): New macro.
17051 (__SYSCALL_STRING): Do not do errno handling in asm.
17052 (__CLONE_SYSCALL_STRING): Delete.
17053 (__INTERNAL_SYSCALL_STRING): Delete.
17054 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
17055 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
17056 (PSEUDO): Reimplement to do errno handling inline.
17057 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
17058 (SYSCALL_ERROR_HANDLER): New macro.
17059 (__SYSCALL_STRING): Do not do errno handling in asm.
17060 (__CLONE_SYSCALL_STRING): Delete.
17061 (__INTERNAL_SYSCALL_STRING): Delete.
17062 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
17063 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
17064 i386.
17065 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
17066 (inline_syscall*): Add 'err' argument.
17067 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
17068 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
17069 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
17070 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
17071
17072 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
17073 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17074
2bc17433
AS
170752011-08-30 Andreas Schwab <schwab@redhat.com>
17076
17077 * elf/rtld.c (dl_main): Relocate objects in dependency order.
17078
fbeb5f4d
JO
170792011-08-29 Jiri Olsa <jolsa@redhat.com>
17080
17081 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
17082 directive.
17083
ad69cc26
DM
170842011-08-24 David S. Miller <davem@davemloft.net>
17085
17086 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
17087
39dd69df
AS
170882011-08-24 Andreas Schwab <schwab@redhat.com>
17089
17090 * elf/Makefile: Add rules to build and run unload8 test.
17091 * elf/unload8.c: New file.
17092 * elf/unload8mod1.c: New file.
17093 * elf/unload8mod1x.c: New file.
17094 * elf/unload8mod2.c: New file.
17095 * elf/unload8mod3.c: New file.
17096
17097 * elf/dl-close.c (_dl_close_worker): Reset private search list if
17098 it wasn't used.
17099
2c0b250a
DM
171002011-08-23 David S. Miller <davem@davemloft.net>
17101
17102 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
17103 subtract stack bias.
17104 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
17105 %sp not %fp in calculations.
17106 (_JMPBUF_UNWINDS_ADJ): Likewise.
17107
22044b48
DM
17108 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
17109 (aio_suspend): Call it to force an exception region around the
17110 AIO_MISC_WAIT() invocation.
17111
2cae4995
AS
171122011-08-23 Andreas Schwab <schwab@redhat.com>
17113
17114 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
17115 backslash.
17116
873a772e
AJ
171172011-07-04 Aurelien Jarno <aurelien@aurel32.net>
17118
17119 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
17120 protection macro.
17121 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
17122 and <dl-machine.h>.
17123 (Elf64_FuncDesc): Remove.
17124
25ad0df1
DM
171252011-08-22 David S. Miller <davem@davemloft.net>
17126
17127 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
17128 sigaltstack check, add missing cfi directives.
17129 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
17130 missing cfi directives, and sigaltstack handling.
17131
e888bcbe
AS
171322011-08-16 Andreas Schwab <schwab@redhat.com>
17133
17134 [BZ #11724]
17135 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
17136 object is seen twice.
17137 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17138
17139 * elf/Makefile (distribute): Add tst-initorder2.c.
17140 (tests): Add tst-initorder2.
17141 (modules-names): Add tst-initorder2a tst-initorder2b
17142 tst-initorder2c tst-initorder2d. Add rules to build them.
17143 ($(objpfx)tst-initorder2.out): New rule.
17144 * elf/tst-initorder2.c: New file.
17145 * elf/tst-initorder2.exp: New file.
17146
87162f46
AS
171472011-08-22 Andreas Schwab <schwab@redhat.com>
17148
70538b7f
AS
17149 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17150
f55ffe58
AS
17151 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17152 dependencies back to end of function.
17153
87162f46
AS
17154 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17155 $(elfobjdir)/ld.so.
17156
91b392a4
UD
171572011-08-21 Ulrich Drepper <drepper@gmail.com>
17158
17159 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17160 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17161 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17162 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17163 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17164 of __vdso_gettimeofday.
17165 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17166 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
17167 attribute_hidden.
17168 (_libc_vdso_platform_setup): Remove initialization of
17169 __vdso_gettimeofday and __vdso_time.
17170
5c43483f
UD
171712011-08-20 Ulrich Drepper <drepper@gmail.com>
17172
775a77e7
UD
17173 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17174 and fgetc_unlocked.
17175 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17176 getc_unlocked.
89f447ed 17177
49c74ba9
UD
17178 * elf/dl-open.c (add_to_global): Report additions to the global scope
17179 for LD_DEBUG=scopes.
17180 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 17181 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 17182
5c43483f
UD
17183 [BZ #13114]
17184 * stdio-common/Makefile (tests): Add bug24.
17185 * stdio-common/bug24.c: New file.
17186
a101b025
AJ
171872011-08-19 Andreas Jaeger <aj@suse.de>
17188
17189 [BZ #13114]
17190 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17191 non-existant file when using close-on-exec mode.
17192
c88f1766
UD
171932011-08-20 Ulrich Drepper <drepper@gmail.com>
17194
0276a718
UD
17195 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17196 the very first instruction.
17197
c88f1766
UD
17198 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17199 the CFI state in the end.
17200 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17201 inclusion of dl-trampoline.h.
17202 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17203
51ccffa0
AS
172042011-08-19 Andreas Schwab <schwab@redhat.com>
17205
94d7165f
AS
17206 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17207 expectations for long double.
17208
51ccffa0
AS
17209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17210 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17211
fd708658 172122011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
17213
17214 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17215 artificual limit depends upon the system page size.
17216
44f0a71e
UD
172172011-08-17 Ulrich Drepper <drepper@gmail.com>
17218
17219 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17220 * resolv/Makefile: Define CFLAGS-libresolv.
17221
8de79a24
AS
172222011-08-17 Andreas Schwab <schwab@redhat.com>
17223
17224 * nss/makedb.c (compute_tables): Make variables used in nested
17225 function static.
17226
27724598
UD
172272011-08-17 Ulrich Drepper <drepper@gmail.com>
17228
c5305d88
UD
17229 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17230 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17231 if buffer was too small.
17232
27724598
UD
17233 * elf/pldd.c (main): Attach to all threads in the process.
17234 Rewrite /proc handling to use *at functions.
17235
076fe015
UD
172362011-08-16 Ulrich Drepper <drepper@gmail.com>
17237
174baab3
UD
17238 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17239 specifies first scope to show.
17240 (dl_open_worker): Update callers. Move printing scope of new
17241 object to before the relocation.
44f0a71e 17242 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
17243 * sysdeps/generic/ldsodefs.h: Update declaration.
17244
076fe015
UD
17245 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17246 string for the scope number.
17247
a60df2c3
UD
172482011-08-14 Ulrich Drepper <drepper@gmail.com>
17249
17250 * nscd/servicescache.c (cache_addserv): Make sure written is always
17251 initialized.
17252
5e4287d1
RM
172532011-08-14 Roland McGrath <roland@hack.frob.com>
17254
85ae0589
RM
17255 * sysdeps/i386/i486/bits/atomic.h
17256 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17257 statement expression, so as to suppress "set but not used" warning.
17258 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17259
69f63097
RM
17260 * string/strncat.c (STRNCAT): Use prototype definition.
17261
675456ef
RM
17262 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17263 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17264 -Iprograms here.
17265 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17266 (localedef-modules): Add localedef.
17267 (locale-modules): Add locale.
17268
5e4287d1
RM
17269 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17270 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17271 to avoid a warning.
17272
9c96ff23
DM
172732011-08-14 David S. Miller <davem@davemloft.net>
17274
17275 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17276 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17277
f9ddf089
UD
172782011-08-13 Ulrich Drepper <drepper@gmail.com>
17279
44f0a71e 17280 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
17281 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17282 * elf/rtld.c (dl_main): Set l_name of vDSO.
17283 Call _dl_show_scope when DL_DEBUG_SCOPES.
17284 (process_dl_debug): Recognize scopes flag and also set it for all.
17285 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17286 Declare _dl_show_scope.
17287
1dc27704
UD
17288 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17289 (do_dlopen): Pass caller_dlopen to dl_open.
17290 (__libc_dlopen_mode): Initialize caller_dlopen.
17291
f9ddf089
UD
17292 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17293 of libc. Make tolower call locale-independent. Optimize a bit by
17294 using isdigit instead of isalnum.
17295 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17296
9ac533d3
UD
172972011-08-12 Ulrich Drepper <drepper@gmail.com>
17298
17299 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17300 was a dependency or dynamically loaded.
17301
89edf2e9
UD
173022011-08-11 Ulrich Drepper <drepper@gmail.com>
17303
8e999d29
UD
17304 * intl/l10nflist.c: Allow architecture-specific pop function.
17305 * sysdeps/x86_64/l10nflist.c: New file.
17306
89edf2e9
UD
17307 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17308 classification.
17309
14d96785
AS
173102011-08-10 Andreas Schwab <schwab@redhat.com>
17311
17312 * include/dirent.h: Add libc_hidden_proto for scandirat and
17313 scandirat64. Don't declare __scandirat64.
17314 * dirent/scandirat.c: Add libc_hidden_def.
17315 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17316 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17317
6761ac04
DM
173182011-08-10 David S. Miller <davem@davemloft.net>
17319
17320 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17321 enum.
17322 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17323 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17324 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17325
c55fbd1e
UD
173262011-08-09 Ulrich Drepper <drepper@gmail.com>
17327
17328 * Versions.def [libc]: Add GLIBC_2.15.
17329 * dirent/Makefile (routines): Add scandirat and scandirat64.
17330 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17331 GLIBC_2.15.
17332 * dirent/dirent.h: Declare scandirat and scandirat64.
17333 * dirent/scandirat.c: New file.
17334 * dirent/scandirat64.c: New file.
17335 * sysdeps/wordsize-64/scandirat.c: New file.
17336 * sysdeps/wordsize-64/scandirat64.c: New file.
17337 * dirent/opendir.c: Define opendirat.
17338 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17339 using scandirat.
17340 * dirent/scandir64.c: Adjust for scandir.c change.
17341 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17342 __scandirat64, and __scandir_cancel_handler.
17343 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17344 additional parameter and use openat instead of open (outside of ld.so).
17345 Add new __opendir as wrapper around __opendirat.
17346 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17347 here without requiring old scandirat implementation.
17348
879165f2
UD
173492011-08-08 Ulrich Drepper <drepper@gmail.com>
17350
17351 * dirent/scandir.c (cancel_handler): Renamed to
17352 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17353 defined. Adjust users.
17354 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17355 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17356
cb7e923b
UD
173572011-08-04 Ulrich Drepper <drepper@gmail.com>
17358
16292edd
UD
17359 * string/test-string.h (IMPL): Use __STRING to expand name and then
17360 stringify it.
17361
cb7e923b
UD
17362 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17363 of cleanups.
17364
cff82933
LD
173652011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17366
17367 * string/Makefile: Update.
17368 (strop-tests): Append strncat.
17369 * string/test-wcscmp.c: New file.
17370 New comprehensive test for wcscmp.
17371 * string/test-strcmp.c: Update.
17372 (WIDE): New define.
17373
9be9bfcc
AS
173742011-07-22 Andreas Schwab <schwab@redhat.com>
17375
17376 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17377 line.
17378
2e96f1c7
AS
173792011-07-26 Andreas Schwab <schwab@redhat.com>
17380
17381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17382 encoding to ACE if AI_IDN.
17383
85188888
JJ
173842011-08-01 Jakub Jelinek <jakub@redhat.com>
17385
17386 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17387 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17388
5fa16e9b
LD
173892011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17390
17391 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17392 Fix overflow bug in strncat.
17393 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17394
17395 * string/test-strncat.c: Update.
17396 Add new tests for checking overflow bugs.
17397
173982011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17399
17400 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17401 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17402 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17403 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17404 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17405 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17406 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17407 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17408 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17409
17410 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17411 (USE_AS_STRCAT): Define.
17412 Add strcat and strncat support.
17413 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17414
8c1a459f
AS
174152011-07-25 Andreas Schwab <schwab@redhat.com>
17416
17417 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17418 __n bigger than INT_MAX+1.
17419 (__strncmp_g): Likewise.
17420
bba33c28
UD
174212011-07-23 Ulrich Drepper <drepper@gmail.com>
17422
798be72d
UD
17423 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17424 * libio/stido.h: Likewise.
17425
8accd4dc
UD
17426 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17427 (AF_NFC): Define.
17428 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17429 (AF_NFC): Define.
17430
cbff0d96
UD
17431 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17432 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17433 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17434 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17435 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17436
9191c04a
UD
17437 [BZ #13021]
17438 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17439 installed.
17440
bba33c28
UD
17441 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17442 typo.
17443 (_dl_x86_64_save_sse): Likewise.
17444
90f139dd
UD
174452011-07-22 Ulrich Drepper <drepper@gmail.com>
17446
1aae088a
UD
17447 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17448 OSXSAVE.
17449 (_dl_x86_64_save_sse): Likewise.
17450
8e2045f5
UD
17451 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17452
90f139dd
UD
17453 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17454
1d002f25
AS
174552011-07-21 Andreas Schwab <schwab@redhat.com>
17456
17457 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17458 change.
17459 (_dl_x86_64_save_sse): Use correct AVX check.
17460
21137f89
UD
174612011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17462
17463 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17464 bug in strncpy/strncat.
17465 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17466
a65c0b7a
UD
174672011-07-21 Ulrich Drepper <drepper@gmail.com>
17468
17469 * string/tester.c (test_strcat): Add tests for different alignments
17470 of source and destination.
17471 (test_strncat): Likewise.
17472
6986b98a
UD
174732011-07-20 Ulrich Drepper <drepper@gmail.com>
17474
90bb2039
UD
17475 [BZ #12852]
17476 * posix/glob.c (glob): Check passed in values before using them in
17477 expressions to avoid some overflows.
17478 (glob_in_dir): Likewise.
17479
5644ef54
UD
17480 [BZ #13007]
17481 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17482 check for AVX enablement so that we don't crash with old kernels and
17483 new hardware.
17484 * elf/tst-audit4.c: Add same checks here.
17485 * elf/tst-audit6.c: Likewise.
17486
17487 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 17488
bfc9dc9b
AS
174892011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17490
17491 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17492
702e64bb
UD
174932011-07-20 Ulrich Drepper <drepper@gmail.com>
17494
17495 * po/cs.po: Update from translation team.
17496 * po/bg.po: Likewise.
17497
295e904f
MP
174982011-07-12 Marek Polacek <mpolacek@redhat.com>
17499
17500 * misc/sys/cdefs.h: Add support for const attribute.
17501 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17502 to gnu_dev_{major,minor,makedev} functions.
17503
3ff94596
MP
175042011-07-20 Marek Polacek <mpolacek@redhat.com>
17505
17506 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17507
28b59fca
AS
175082011-07-20 Andreas Schwab <schwab@redhat.com>
17509
17510 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17511 strlen results.
17512
19df733e
AK
175132011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17514
17515 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17516 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17517 register in order to avoid conflicts with the soft frame pointer
17518 being held in r11 when necessary.
17519 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17520 (INTERNAL_VSYSCALL_NCS): Likewise.
17521
c8835729
MP
175222011-07-14 Marek Polacek <mpolacek@redhat.com>
17523
17524 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17525 * elf/dl-fini.c (_dl_fini): Adjust caller.
17526 * elf/dl-close.c (_dl_close_worker): Likewise.
17527 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17528
b902330c
MP
175292011-07-15 Marek Polacek <mpolacek@redhat.com>
17530
8991e135
MP
17531 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17532 "aux_cache->nlibs < 0".
17533
b902330c
MP
17534 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17535 in the reload-count case.
17536
99710781
LD
175372011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17538
17539 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17540 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17541 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17542 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17543 * sysdeps/x86_64/multiarch/strcat.S: New file.
17544 * sysdeps/x86_64/multiarch/strncat.S: New file.
17545 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17546 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17547 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17548 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17549 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17550 (USE_AS_STRCAT): Define.
17551 Add strcat and strncat support.
17552 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17553 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17554 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17555 * string/strncat.c: Update.
17556 (USE_AS_STRNCAT): Define.
17557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17558 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17559 and i7.
17560 * sysdeps/x86_64/multiarch/init-arch.h
17561 (bit_Prefer_PMINUB_for_stringop): New.
17562 (index_Prefer_PMINUB_for_stringop): Likewise.
17563 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17564 bit_Prefer_PMINUB_for_stringop.
17565
7dc6bd90
UD
175662011-07-19 Ulrich Drepper <drepper@gmail.com>
17567
17568 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17569 buffer64.
17570 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17571 of casting of buffer.
17572 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17573 buffer32 and buffer64.
17574 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17575 writes instead of casting of buffer.
17576 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17577 buffer32.
17578 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17579 casting of buffer.
17580
e0e72284
AS
175812011-07-19 Andreas Schwab <schwab@redhat.com>
17582
17583 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17584
feb1eb0b
UD
175852011-07-19 Ulrich Drepper <drepper@gmail.com>
17586
17587 * nscd/nscd.c (termination_handler): Don't do anything for a database
17588 if it has not yet been initialized.
17589
298711ff
UD
175902011-07-18 Ulrich Drepper <drepper@gmail.com>
17591
17592 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17593
175942011-07-15 Marek Polacek <mpolacek@redhat.com>
17595
17596 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17597
f9d68389
UD
175982011-07-18 Ulrich Drepper <drepper@gmail.com>
17599
17600 * po/nl.po: Update from translation team.
17601 * po/sv.po: Likewise.
17602
db290cf5
RM
176032011-07-16 Roland McGrath <roland@hack.frob.com>
17604
17605 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17606 now disallowed by GCC.
5c550700 17607
fd5e21c7
RM
17608 * configure.in (use-default-link): Default to yes if a test -shared
17609 link meets our qualifications.
17610 * configure: Regenerated.
17611
5c550700
RM
17612 * config.make.in (output-format): New variable.
17613 * configure.in: Check for ld --print-output-format support.
17614 * configure: Regenerated.
17615 * Makerules ($(common-objpfx)format.lds)
17616 [$(output-format) != unknown]: Just use $(output-format),
17617 instead of the linker-script munging.
17618
9fa2c032
RM
176192011-07-14 Roland McGrath <roland@hack.frob.com>
17620
a6928d51
RM
17621 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17622 of $(common-objpfx)shlib.lds.
17623 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17624
661607b3
RM
17625 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17626 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17627
9fa2c032
RM
17628 * configure.in (-z relro check): Adjust test code to add a large
17629 writable data section after it.
17630 * configure: Regenerated.
17631
defe9061
RM
176322011-07-11 Roland McGrath <roland@hack.frob.com>
17633
17634 * configure.in (-z relro check): Fix test code to make the variable
17635 truly const.
17636 * configure: Regenerated.
17637
319b9ad4
UD
176382011-07-11 Ulrich Drepper <drepper@gmail.com>
17639
17640 * nscd/nscd.h (struct traced_file): Define.
17641 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17642 elements. Add traced_files.
17643 (inotify_fd): Declare.
17644 (register_traced_file): Declare.
17645 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17646 (inotify_fd): Export.
17647 (resolv_conf_descr): Remove.
17648 (nscd_init): Move inotify descriptor creation to main.
17649 Don't register files for notification here.
17650 (register_traced_file): New function.
17651 (invalidate_cache): Don't use reset_res to determine whether to call
17652 res_init, go through the list of registered files.
17653 (main_loop_poll): The inotify descriptors are now stored in the
17654 structures for the traced files.
17655 (main_loop_epoll): Likewise
17656 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17657 to __nss_disable_nscd.
17658 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17659 for a database anymore. Check the records for all the registered
17660 files instead.
17661 * nss/Makefile (libnss_files-routines): Add files-init.
17662 (libnss_db-routines): Add db-init.
17663 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17664 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17665 * nss/nss_db/db-init.c: New file.
17666 * nss/nss_files/files-init.c: New file.
17667 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17668 __nss_lookup_function.
17669 (__nss_lookup_function): Call nss_load_library.
17670 (nss_load_all_libraries): New function.
17671 (__nss_disable_nscd): Take parameter with callback function for files
17672 to register. Set is_nscd. Load all the DSOs for the NSS modules
17673 used for the cached services.
17674 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17675 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17676 options for features to all the files in nscd.
17677
17678 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17679
23bee3e8
RM
176802011-07-10 Roland McGrath <roland@hack.frob.com>
17681
17682 * csu/elf-init.c (__libc_csu_init): Comment typo.
17683
46a5b7f0
UD
176842011-07-09 Ulrich Drepper <drepper@gmail.com>
17685
17686 * po/pl.po: Update from translation team.
17687 * po/ja.po: Likewise.
17688 * po/ru.po: Likewise.
17689 * po/ko.po: Likewise.
17690 * po/fr.po: Likewise.
17691
d30cf5bb
RM
176922011-07-09 Roland McGrath <roland@hack.frob.com>
17693
113ddea4
RM
17694 * configure.in (.ctors/.dtors header and trailer check):
17695 Use an empirical test on a built program.
17696 * configure: Regenerated.
17697
574920b4
RM
17698 * configure.in (-z relro check): Use an empirical test on a built DSO.
17699 Detect, but do not require, on ia64.
17700 * configure: Regenerated.
17701
d30cf5bb
RM
17702 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17703 Update tests that use readelf to use $READELF instead.
17704 * configure: Regenerated.
17705
8538fdb3
UD
177062011-07-08 Ulrich Drepper <drepper@gmail.com>
17707
17708 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17709 if the result is not used.
17710
04d08991
AJ
177112011-07-05 Andreas Jaeger <aj@suse.de>
17712
17713 [BZ#9696]
17714 * stdlib/tst-strtod.c: Add testcase.
17715
de283087
AD
177162011-07-07 Ulrich Drepper <drepper@gmail.com>
17717
4e5f31c8 17718 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 17719 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
17720 The latter has a higher limit. Take additional parameter to pass to
17721 the new function.
17722 (__pathconf): Pass file to __statfs_link_max.
17723 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17724 __statfs_link_max.
17725 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17726 __statfs_link_max.
17727
de283087
AD
17728 [BZ #12868]
17729 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17730 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17731 Handle Lustre.
17732 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17733 (__statfs_filesize_max): Likewise.
17734 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17735
c75fa153
AJ
177362011-07-05 Andreas Jaeger <aj@suse.de>
17737
17738 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17739
1a544854
UD
177402011-07-06 Marek Polacek <mpolacek@redhat.com>
17741
17742 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17743 `status' variable.
17744 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17745 Likewise.
17746
6f0eec67
UD
177472011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17748
17749 * Makefile (strop-tests): Add strncat.
17750 * string/test-strncat.c: New file.
17751
aae30307
UD
177522011-06-30 Marek Polacek <mpolacek@redhat.com>
17753
17754 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17755
c0cfb5eb
UD
177562011-06-21 Andreas Jaeger <aj@suse.de>
17757
17758 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17759 Copy rule from iconvdata/Makefile.
17760
01636b21
UD
177612011-07-06 Ulrich Drepper <drepper@gmail.com>
17762
17763 [BZ #12922]
17764 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17765 but no long options are defined, just return 'W'.
17766
9895c8bc
UD
177672011-06-22 Marek Polacek <mpolacek@redhat.com>
17768
17769 [BZ #9696]
17770 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17771
5d4cf042
UD
177722011-07-06 Ulrich Drepper <drepper@gmail.com>
17773
17774 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17775 netgroups to read.
960e5535 17776 (innetgr): Likewise.
5d4cf042 17777
751eb97e
RM
177782011-07-05 Roland McGrath <roland@hack.frob.com>
17779
17780 * config.make.in (install_root): Default to $(DESTDIR).
17781
f15f1e45
UD
177822011-07-05 Ulrich Drepper <drepper@gmail.com>
17783
17784 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17785
4e34ac6a
RM
177862011-07-02 Roland McGrath <roland@hack.frob.com>
17787
5e9b6af4
RM
17788 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17789
84f9ea0f
RM
17790 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17791 containing directory rather than embedding absolute directory names.
17792
ea5ee9f7
RM
17793 * scripts/check-local-headers.sh: Rewritten using awk.
17794 Match by word, not by line. Print error messages for matches.
17795 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17796
1b74661a
RM
17797 * Makerules [shlib-lds-flags empty]:
17798 ($(common-objpfx)libc_pic.opts): New target.
17799 ($(common-objpfx)libc_pic.os.clean): New target.
17800 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17801
17802 * config.make.in (OBJCOPY): New variable.
17803 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17804 * configure: Regenerated.
17805
f781ef40
RM
17806 * config.make.in (use-default-link): New variable.
17807 * configure.in (use_default_link): Grok --with-default-link to set it.
17808 * configure: Regenerated.
17809 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17810 (shlib-lds, shlib-lds-flags): Define to empty.
17811
2d4fa81e
RM
17812 * Makerules (shlib-lds): New variable.
17813 (shlib-lds-flags): New variable.
17814 (build-shlib, build-moduile, build-module-asneeded): Use it.
17815 ($(common-objpfx)libc.so): Use $(shlib-lds).
17816 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17817 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17818
31fffa6b
RM
17819 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17820 DT_FLAGS/DT_FLAGS_1 with zero flags.
17821
4e34ac6a
RM
17822 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17823 linker script munging.
17824
fcfc776b
UD
178252011-07-02 Ulrich Drepper <drepper@gmail.com>
17826
17827 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17828 as 128-bit value.
17829 * crypt/sha512.c (sha512_process_block): Perform total addition using
17830 128-bit if possible.
17831 (__sha512_finish_ctx): Likewise.
17832 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17833 as 64-bit value.
17834 * crypt/sha256.c (SWAP64): Define.
17835 (sha256_process_block): Perform total addition using 64-bit if
17836 possible.
17837 (__sha256_finish_ctx): Likewise.
17838
99231d9a
UD
178392011-07-01 Ulrich Drepper <drepper@gmail.com>
17840
17841 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17842 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17843 * nscd/hstcache.c (cache_addhst): Likewise.
17844 * nscd/grpcache.c (cache_addgr): Likewise.
17845 * nscd/aicache.c (addhstaiX): Likewise
17846 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17847
445b4a53
TK
178482011-07-01 Thorsten Kukuk <kukuk@suse.de>
17849
17850 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17851 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17852 * nscd/hstcache.c (cache_addhst): Likewise.
17853 * nscd/grpcache.c (cache_addgr): Likewise.
17854 * nscd/aicache.c (addhstaiX): Likewise
17855
6d4d8e8e
AS
178562011-07-01 Andreas Schwab <schwab@redhat.com>
17857
17858 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17859 domain only when needed.
17860
89f654c5
AS
178612011-06-30 Andreas Schwab <schwab@redhat.com>
17862
17863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17864 is always restored.
17865
cf3b23ff
UD
178662011-06-29 Ulrich Drepper <drepper@gmail.com>
17867
17868 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17869 are re-adding the entry.
17870 * nscd/servicescache.c (cache_addserv): Likewise.
17871
751626f9
AJ
178722011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17873
17874 * sysdeps/generic/dl-irel.h: fix protection against multiple
17875 inclusions.
17876 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17877
9113ea1f
UD
178782011-06-28 Ulrich Drepper <drepper@gmail.com>
17879
5c0b8d90
UD
17880 [BZ #12935]
17881 * malloc/memusage.sh: Fix quoting in message.
17882 * debug/xtrace.sh: Likewise.
17883
9113ea1f
UD
17884 * configure.in: Remove support for --experimental-malloc option, make
17885 it the default.
17886 * config.make.in: Likewise.
17887 * malloc/Makefile: Likewise.
17888
a4172181
AS
178892011-06-27 Andreas Schwab <schwab@redhat.com>
17890
17891 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17892 two-byte characters.
17893
78a7eee7
RM
178942011-06-27 Roland McGrath <roland@hack.frob.com>
17895
62bede13
RM
17896 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17897 AC_CACHE_CHECK invocation.
17898 * configure: Regenerated.
17899
78a7eee7
RM
17900 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17901
5ce33a62
UD
179022011-06-27 Ulrich Drepper <drepper@gmail.com>
17903
034807a9
UD
17904 [BZ #12350]
17905 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17906 bit from old_res_options.
17907
4902da17
UD
17908 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17909
5ce33a62
UD
17910 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17911 value type for setfct.
17912
c2344f56
L
179132011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17914
17915 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17916 __gettimeofday instead of gettimeofday.
17917
68468076
UD
179182011-06-26 Ulrich Drepper <drepper@gmail.com>
17919
17920 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17921
acb0d739
L
179222011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17923
17924 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17925
17926 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17927 info.
17928
8912479f
L
179292011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17930
17931 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17932 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17933 strcpy-sse2-unaligned strncpy-sse2-unaligned
17934 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17935 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17936 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17937 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17938 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17939 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17940 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17941 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17942 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17943 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17944 (STRCPY): Support SSE2 and SSSE3 versions.
17945
d5495a11
UD
179462011-06-24 Ulrich Drepper <drepper@gmail.com>
17947
17948 [BZ #12874]
17949 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17950 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17951 kernels which artificially limit size of requests.
17952
0b1cbaae
L
179532011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17954
17955 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17956 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17957 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17958 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17959 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17960 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17961 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17962 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17963 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17964 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17965 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17966 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17967 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17968 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17969 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17971 Enable unaligned load optimization for Intel Core i3, i5 and i7
17972 processors.
17973 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17974 Define.
17975 (index_Fast_Unaligned_Load): Define.
17976 (HAS_FAST_UNALIGNED_LOAD): Define.
17977
07f494a0
MP
179782011-06-23 Marek Polacek <mpolacek@redhat.com>
17979
17980 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17981
fa3fc0fe
UD
179822011-06-22 Ulrich Drepper <drepper@gmail.com>
17983
17984 [BZ #12907]
17985 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17986 until it is clear that the information is realy needed.
17987 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17988
e12df166
AS
179892011-06-22 Andreas Schwab <schwab@redhat.com>
17990
17991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17992
852eb34d
UD
179932011-06-22 Ulrich Drepper <drepper@gmail.com>
17994
84e2a551
UD
17995 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17996 /sys/devices/system/cpu/online if it is usable.
17997
852eb34d
UD
17998 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17999 reading the information from the /proc filesystem to once a second.
18000
6e502e19
UD
180012011-06-21 Andreas Jaeger <aj@suse.de>
18002
18003 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
18004 NULL after inclusion of kernel headers.
18005
75d39ff2
UD
180062011-06-21 Ulrich Drepper <drepper@gmail.com>
18007
51f9aa6a
UD
18008 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
18009 calls to internal_setent.
18010
c0244a9d
UD
18011 [BZ #12885]
18012 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
18013 addresses using gethostbyname4_r ignore IPv4 addresses.
18014
c5e3c2ae
UD
18015 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
18016 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
18017
75d39ff2
UD
18018 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
18019
42675c6f
DM
180202011-06-20 David S. Miller <davem@davemloft.net>
18021
18022 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
18023 inclusions.
18024 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
18025
18026 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
18027 (elf_irel): Use it.
18028 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
18029 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
18030 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
18031 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
18032 * sysdeps/x86_64/dl-irel.h: Likewise.
18033
18034 * elf/dl-runtime.c: Use elf_ifunc_invoke.
18035 * elf/dl-sym.c: Likewise.
18036
57912a71
UD
180372011-06-15 Ulrich Drepper <drepper@gmail.com>
18038
18039 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
18040 need to dereference resplen2.
18041
ee22793d
AS
180422011-06-14 Andreas Schwab <schwab@redhat.com>
18043
18044 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
18045
a9e836b0
UD
180462011-06-15 Ulrich Drepper <drepper@gmail.com>
18047
77fb9117
UD
18048 * Makeconfig: Define vardbdir and inst_vardbdir.
18049 * nss/Makefile: Add rules to install db-Makefile.
18050
40c1b22c
UD
18051 * nss/nss_db/db-XXX.c: Cleanup.
18052
9f2da732
UD
18053 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
18054 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
18055 GLIBC_PRIVATE.
18056 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
18057 * nss/makedb.c: Implement -g option to specify that value strings
18058 are generated and should not be added to table iterated over for
18059 get*ent calls.
18060 * nss/nss_db/db-initgroups.c: New file.
18061
82e9a1f7
UD
18062 * nss/getent.c: Add support for initgroups lookups through getgrouplist
18063 interface.
18064
c41af17e
UD
18065 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
18066 (internal_getgrouplist): Adjust to name change.
18067 Update use_initgroups_entry if this is not the first call.
18068 * nss/databases.def: Add initgroups entry.
18069
a9e836b0
UD
18070 * nss/makedb.c (compute_tables): Check result of multiple hash table
18071 sizes to minimize maximum chain length.
18072
2666d441
UD
180732011-06-14 Ulrich Drepper <drepper@gmail.com>
18074
18075 * Versions.def: Add entry for libnss_db.
18076 * shlib-versions: Likewise.
18077 * nss/Makefile: Add rules to build libnss_db.
18078 * nss/Versions: Add libnss_db information. Organize libnss_files
18079 entries better.
18080 * nss/db-Makefile: Add gshadow support. Change rules for the new
18081 makedb progra. Some minor improvements to generate smaller files.
18082 * nss/nss_db/nss_db.h: Move NSS database header data structures to
18083 here from...
18084 * nss/makedb.c: ...here.
18085 Improve database format to be smaller and require less memory at
18086 runtime.
18087 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
18088 db anymore.
18089 * nss/nss_db/db-netgrp.c: Likewise.
18090 * nss/nss_db/db-open.c: Likewise.
18091 * nss/nss_files/flies-XXX.x: Adjust comments.
18092 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
18093 * nss/nss_files/files-grp.c: Likewise.
18094 * nss/nss_files/files-hosts.c: Likewise.
18095 * nss/nss_files/files-network.c: Likewise.
18096 * nss/nss_files/files-proto.c: Likewise.
18097 * nss/nss_files/files-pwd.c: Likewise.
18098 * nss/nss_files/files-rpc.c: Likewise.
18099 * nss/nss_files/files-service.c: Likewise.
18100 * nss/nss_files/files-sgrp.c: Likewise.
18101 * nss/nss_files/files-spwd.c: Likewise.
18102 * nss/nss_db/db-alias.c: Removed.
18103 * nss/nss_db/dummy-db.h: Removed.
18104
9ee76b5a
UD
181052011-06-02 Ulrich Drepper <drepper@gmail.com>
18106
18107 * nss/makedb.c: Rewritten to not use database library.
18108 * nss/Makefile: Update to build new makedb program.
18109
c71ca1f8
AJ
181102011-06-14 Andreas Jaeger <aj@suse.de>
18111
18112 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
18113 memset declaration.
18114
3154bfb8
UD
181152011-06-10 Andreas Schwab <schwab@redhat.com>
18116
18117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
18118 tmpbuf.
18119
b350afab
RM
181202011-06-10 Roland McGrath <roland@hack.frob.com>
18121
decd4e50
RM
18122 * Makerules (shlib.lds): Fail if the linker script comes out empty.
18123 * elf/Makefile ($(objpfx)ld.so): Likewise.
18124
5615eaf2
RM
18125 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
18126 Don't list ld.so twice in dependencies.
18127
18128 * posix/bug-regex31.c: Include <stdlib.h>.
18129
18130 * nscd/hstcache.c (cache_addhst): Remove unused variable.
18131
18132 * nis/nss_compat/compat-spwd.c
18133 (getspent_next_nss_netgr): Remove unused variable.
18134 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
18135
18136 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
18137 nonmembers" output to use the right array.
18138
18139 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18140
18141 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18142
18143 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18144 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18145 * catgets/gencat.c (read_input_file): Likewise.
18146 * locale/programs/locarchive.c (enlarge_archive): Likewise.
18147
18148 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18149 variable definition inside #if's controlling its use.
18150
18151 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18152
18153 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18154
18155 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18156
18157 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18158 unreachable code.
18159
18160 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18161
b68e08db
RM
18162 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18163 * configure: Regenerated.
18164
b350afab
RM
18165 * Makerules: Revert last change.
18166 * elf/Makefile: Likewise.
18167
28368601
RM
181682011-06-09 Roland McGrath <roland@hack.frob.com>
18169
18170 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18171 * elf/Makefile ($(objpfx)librtld.os): Likewise.
18172 (reloc-link): Likewise.
18173
11988f8f
UD
181742011-06-09 Ulrich Drepper <drepper@gmail.com>
18175
18176 * elf/Makefile: Add rules to build pldd.
18177 * elf/pldd.c: New file.
18178 * elf/pldd-xx.c: New file.
18179
e80fab37
UD
181802011-06-07 Ulrich Drepper <drepper@gmail.com>
18181
18182 * version.h: Update for 2.15 development version.
18183
9b849836
DM
181842011-06-07 David S. Miller <davem@davemloft.net>
18185
18186 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18187 ifuncs.
18188 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18189 elf_machine_lazy_rel): Likewise.
18190 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18191 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18192 elf_machine_lazy_rel): Likewise.
18193 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18194 dl_hwcap via passed in argument.
18195 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18196 Likewise.
18197
5a31b283
AK
181982011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18199
18200 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
18201
069e52f8
RM
182022011-06-06 Roland McGrath <roland@hack.frob.com>
18203
18204 [BZ #12849]
18205 * manual/fdl-1.1.texi: New file, verbatim from:
18206 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18207 * manual/lgpl-2.1.texi: New file, verbatim from:
18208 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18209 * manual/Makefile (licenses): New variable, list those new file names.
18210 (texis): Use it.
18211 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18212
18213 * manual/fdl.texi: File removed.
18214 * manual/lesser.texi: File removed.
18215 * manual/libc.texinfo (Copying, Documentation License):
18216 Use new @include file names, put @appendix directive before @include.
18217
f16846a5
JJ
182182011-06-04 Jakub Jelinek <jakub@redhat.com>
18219
18220 [BZ #12841]
18221 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18222 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18223 (mq_open): Add __NTH.
18224
3d29045b
L
182252011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18226
18227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18228 Assume Intel Core i3/i5/i7 processor if AVX is available.
18229
8c297311
UD
182302011-05-31 Ulrich Drepper <drepper@gmail.com>
18231
18232 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18233 typo.
18234
c8fc0c91
UD
182352011-05-31 Andreas Schwab <schwab@redhat.com>
18236
18237 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18238 memory. Use alloca_account. Fix memory leak when retrying.
18239
5b27a807
UD
182402011-05-31 Ulrich Drepper <drepper@gmail.com>
18241
356f8bc6
UD
18242 * version.h (RELEASE): Bump for 2.14 release.
18243 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18244
5b27a807
UD
18245 * config.make.in (RANLIB): Remove entry.
18246
01f16ab0
UD
182472011-05-30 Ulrich Drepper <drepper@gmail.com>
18248
41fce8bd
UD
18249 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18250 (libc.pot): Work around missing support for .ksh extension in xgettext.
18251
4769ae77
UD
18252 [BZ #12684]
18253 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18254 if both request failed.
18255 (send_dg): In case of server errors clear resplen or *resplen2.
18256
6b1e7d19
UD
18257 [BZ #12454]
18258 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18259 when there are multiple maps.
18260 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18261 (_dl_fini): Remove test here.
18262
01f16ab0
UD
18263 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18264
b1ebd700
UD
182652011-05-29 Ulrich Drepper <drepper@gmail.com>
18266
7ae22829
UD
18267 [BZ #12350]
18268 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18269 bit from old_res_options.
18270 (gaih_inet): Likewise.
18271
553149f6 18272 [BZ #11099]
18a84741 18273 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
18274 as signed.
18275
652ffab1
UD
18276 * resolv/res_init.c (res_setoptions): Make the code more compact.
18277
16985fd0
UD
18278 [BZ #11558]
18279 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18280 set RES_USEVC.
18281
0464f746
UD
18282 [BZ #11634]
18283 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18284
7d17596c
UD
18285 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18286
cf6bbbd7
UD
18287 [BZ #11781]
18288 * malloc/malloc.h: Declare malloc hook variables as volatile.
18289
13f1ab36
UD
18290 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18291 in last patch.
18292
b1ebd700
UD
18293 [BZ #11799]
18294 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 18295 raise in the comment.
80e2212d
UD
18296 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18297 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18298 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 18299
ce67228d
UD
183002011-05-28 Ulrich Drepper <drepper@gmail.com>
18301
8887a920
UD
18302 [BZ #12811]
18303 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18304 grow the buffers more if it already has to be sufficient.
18305 (build_wcs_upper_buffer): Likewise.
18306 * posix/regexec.c (check_matching): Likewise.
18307 (clean_state_log_if_needed): Likewise.
18308 (extend_buffers): Don't enlarge buffers beyond size of the input
18309 buffer.
18310 Patches mostly by Emil Wojak <emil@wojak.eu>.
18311 * posix/bug-regex32.c: New file.
18312 * posix/Makefile (tests): Add bug-regex32.
18313
4f031072
UD
18314 * locale/findlocale.c (_nl_find_locale): Return right away if
18315 _nl_explode_name failed.
18316 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18317
d0478f0c
UD
18318 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18319
de81b246
UD
18320 * debug/xtrace.sh: Unify messages.
18321 * malloc/memusage.sh: Likewise.
18322
c738465a
UD
18323 [BZ #12813]
18324 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18325 time symbol from vDSO. Substitute with vsyscall if not available.
18326 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18327 __vdso_time.
18328
f1f929d7
UD
18329 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18330 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18331 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18332 Add sendmmsg and internal_sendmmsg.
18333 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18334 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18335 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18336
ce67228d
UD
18337 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18338 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18339 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18340
e57420c6
UD
183412011-05-27 Ulrich Drepper <drepper@gmail.com>
18342
a8509ca5
UD
18343 [BZ #12813]
18344 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18345 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18346 available.
18347 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18348 __vdso_getcpu.
18349
e57420c6
UD
18350 [BZ #12814]
18351 * iconvdata/Makefile (tests): Add bug-iconv9.
18352 * iconvdata/bug-iconv9.c: New file.
18353
4d07db15
AS
183542011-05-27 Andreas Schwab <schwab@redhat.com>
18355
18356 [BZ #12814]
18357 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18358
ea486f69
JJ
183592011-05-25 Jakub Jelinek <jakub@redhat.com>
18360
18361 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18362 (struct user_regs_struct): Change intcs field back to cs.
18363
6f038433
UD
183642011-05-25 Ulrich Drepper <drepper@gmail.com>
18365
18366 * po/ja.po: Update from translation team.
18367
67f86a25
UD
183682011-05-23 Ulrich Drepper <drepper@gmail.com>
18369
18370 [BZ #12795]
18371 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18372 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18373
def7fbd6
AS
183742011-05-20 Andreas Schwab <schwab@redhat.com>
18375
18376 * stdlib/longlong.h: Update from GCC.
18377
f50ef8f1
AS
183782011-05-23 Andreas Schwab <schwab@redhat.com>
18379
18380 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18381 parameter name.
18382 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18383 Add parameter name.
18384 (__sysconf): Pass it down.
18385
de7ce8f1
UD
183862011-05-22 Ulrich Drepper <drepper@gmail.com>
18387
f2962a71
UD
18388 [BZ #12671]
18389 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18390 some situations.
18391 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18392 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18393 add in in __libc_use_alloca calls. Adjust callers.
18394 (glob): Use malloc in some situations.
18395
de7ce8f1
UD
18396 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18397 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18398 pltexit.
18399
aec84f53
UD
184002011-05-21 Ulrich Drepper <drepper@gmail.com>
18401
05bb4a68
UD
18402 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18403 and CLOCK_BOOTTIME_ALARM.
18404
7ea72f99
UD
18405 [BZ #12782]
18406 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18407 is returned.
18408
7e4afad5
UD
18409 * string/_strerror.c (__strerror_r): Print negative errors as signed
18410 numbers.
18411
8e211fec
UD
18412 [BZ #12777]
18413 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18414 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18415 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18416
f7d82dc9
UD
18417 * configure.in: Fix typo in redirection and correct removal of test
18418 files in two cases.
18419
cc9e536d
UD
18420 [BZ #12788]
18421 * locale/setlocale.c (new_composite_name): Fix test to check for
18422 identical name of all categories.
18423
aec84f53
UD
18424 [BZ #12792]
18425 * libio/filedoalloc.c (local_isatty): New function.
18426 (_IO_file_doallocate): Use local_isatty.
18427 * stdio-common/perror.c (perror): In case a new stream is used
18428 forward the stream error.
18429 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18430 error flag.
18431
78e64fdc
RT
184322011-05-20 Ulrich Drepper <drepper@gmail.com>
18433
34a9094f
UD
18434 [BZ #11869]
18435 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18436 alloca.
18437 * include/alloca.h (extend_alloca_account): Define.
18438
78e64fdc
RT
18439 [BZ #11857]
18440 * posix/regex.h: Fix comments with documentation of user-accessible
18441 fields after compilation and describe correct free'ing of pattern
18442 after re_compile_pattern.
18443 Patch by Reuben Thomas <rrt@sc3d.org>.
18444
457bddfc
RA
184452011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18446
18447 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18448 and -mno-altivec to prevent the compiler from using Altivec and/or
18449 VSX instructions when the corresponding registers are not available.
18450
a4527b51
AS
184512011-05-19 Andreas Schwab <schwab@redhat.com>
18452
18453 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18454
ed690b2f
UD
184552011-05-19 Ulrich Drepper <drepper@gmail.com>
18456
18457 * libio/freopen.c (freopen): Use __dup2, not dup2.
18458 * libio/freopen64.c (freopen64): Likewise.
18459
8db73634
L
184602011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18461
18462 [BZ #12775]
18463 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18464 * math/Makefile (tests): Add test-powl.
18465 (CFLAGS-test-powl.c): Define.
18466 * math/test-powl.c: New file.
18467
0a197a9d
L
184682011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18469
18470 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18471
ee30c380
UD
184722011-05-17 Ulrich Drepper <drepper@gmail.com>
18473
18474 [BZ #11837]
18475 * iconvdata/gb18030.c: Update to GB18020-2005.
18476
6ce75379
UD
184772011-05-16 Ulrich Drepper <drepper@gmail.com>
18478
a4b89fd8
AR
18479 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18480 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18481 Patch by Aharon Robbins <arnold@skeeve.com>.
18482
ea389b12
UD
18483 [BZ #11892]
18484 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18485 on the stack.
18486
68a3f91f
UD
18487 [BZ #11895]
18488 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18489 through underflows.
18490
15cc7dd1
UD
18491 [BZ #12766]
18492 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18493 point to strings before performing equality test for error_one_per_line
18494 mode.
18495
f3799213
UD
18496 [BZ #11697]
18497 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18498
d79a9c94
UD
18499 [BZ #11820]
18500 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18501 (struct user_fpregs_struct): Avoid __uint*_t types.
18502
56e5eb46
UD
18503 [BZ #6420]
18504 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18505 symbol info. Use it instead of calling _dl_addr locally.
18506 (lock_and_info): New function.
18507 (tr_freehook): Call lock_and_info and pass symbol info as additional
18508 parameter to tr_where.
18509 (tr_mallochook): Likewise.
18510 (tr_reallochook): Likewise.
18511 (tr_memalignhook): Likewise.
18512
6ce75379
UD
18513 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18514 used and couldn't be at all thread-safe.
18515
f8a3b5bf
UD
185162011-05-15 Ulrich Drepper <drepper@gmail.com>
18517
94b7cc37
UD
18518 * libio/freopen.c (freopen): Don't close old file descriptor
18519 before the new one is opened. Instead dup the new file descriptor
18520 to the old one after the new stream is created.
18521 * libio/freopen64.c (freopen64): Likewise.
18522 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18523 * libio/fileops.c (_IO_new_file_close_it): Handle new
18524 _IO_FLAGS2_NOCLOSE flag.
18525 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18526 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18527 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18528 _IO_FLAGS2_NOCLOSE flag.
18529 * include/unistd.h: Add hidden_proto for dup3.
18530 Define __have_dup3.
18531 * io/dup3.c: Define hidden symbol.
18532 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18533
bd25564e
UD
18534 [BZ #7101]
18535 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18536 when an incomplete long option is used.
18537 * posix/tst-getopt_long1.c: New file.
18538 * posix/Makefile (tests): Add tst-getopt_long1.
18539
c84cfef4
UD
18540 [BZ #10138]
18541 * scripts/config.guess: Update from autoconf-2.68.
18542 * scripts/config.sub: Likewise.
18543
3b85df27
UD
18544 [BZ #10157]
18545 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18546 tests into ...
18547 (has_cpuclock): ...this. New function.
18548 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18549 macro here based on has_cpuclock code.
18550
15a856b1
UD
18551 [BZ #10149]
18552 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18553 First byte (not low byte) is now always NUL.
18554 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18555
05f399e6
UD
18556 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18557 Use non-cancelable interfaces.
18558
10a52685 18559 [BZ #9809]
94ecc67d
UD
18560 * locale/iso-639.def: Add entry for Sorani.
18561
f8a3b5bf
UD
18562 [BZ #11901]
18563 * include/stdlib.h: Move include protection to the right place.
18564 Define abort_msg_s. Declare __abort_msg with it.
18565 * stdlib/abort.c (__abort_msg): Adjust type.
18566 * assert/assert.c (__assert_fail_base): New function. Majority
18567 of code from __assert_fail. Allocate memory for __abort_msg with
18568 mmap.
18569 (__assert_fail): Now call __assert_fail_base.
18570 * assert/assert-perr.c: Remove bulk of implementation. Use
18571 __assert_fail_base.
18572 * include/assert.hL Declare __assert_fail_base.
18573 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18574 mmap.
18575 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18576
1af4e298
UD
185772011-05-14 Ulrich Drepper <drepper@gmail.com>
18578
f8a3b5bf 18579 [BZ #11952]
d26dfc60
MG
18580 [BZ #12453]
18581 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18582 until all modules are registered in the DTV.
18583 * elf/Makefile: Add rules to build and run tst-tls19.
18584 * elf/tst-tls19.c: New file.
18585 * elf/tst-tls19mod1.c: New file.
18586 * elf/tst-tls19mod2.c: New file.
18587 * elf/tst-tls19mod3.c: New file.
18588 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18589
2fc54d6f
UD
18590 [BZ #12083]
18591 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18592 correctly.
18593
98d76b46
UD
18594 [BZ #12601]
18595 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18596 two-byte sequence errors.
18597 * iconvdata/Makefile (tests): Add bug-iconv8.
18598 * iconvdata/bug-iconv8.c: New file.
18599
da3c19ef
UD
18600 [BZ #12626]
18601 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18602 buf2 definition.
18603
ca408c15
UD
18604 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18605
d6f67f7d
UD
18606 [BZ #12432]
18607 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18608 (dummy_getcfa): New function.
18609 (init): Get _Unwind_GetCFA address, use dummy if not found.
18610 (backtrace_helper): In recursion check, also check whether CFA changes.
18611 (__backtrace): Completely initialize arg.
18612
1af4e298 18613 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
18614 storing incomplete byte sequence in state object. Avoid testing for
18615 guaranteed too small input if we know there is enough data available.
1af4e298 18616
da62f81b
AS
186172011-05-11 Andreas Schwab <schwab@redhat.com>
18618
18619 * Makeconfig (+link-pie): Indent.
18620 * Rules (binaries-pie): Define if $(have-fpie) and
18621 $(build-shared).
18622 (binaries-shared): Also filter out $(binaries-pie).
18623 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18624 * nscd/Makefile (others-pie): Add nscd.
18625 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18626 ($(objpfx)nscd): Remove command override.
18627 * login/Makefile (others-pie): Add pt_chown.
18628 ($(objpfx)pt_chown): Remove command override.
18629 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18630 remove command overrides.
18631
fcabc0f8
UD
186322011-05-13 Ulrich Drepper <drepper@gmail.com>
18633
20030ae6
UD
18634 * libio/tst_putwc.c: Fix error messages.
18635
fcabc0f8
UD
18636 [BZ #12724]
18637 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18638 currently writing and seek to current position when not.
18639 * libio/Makefile (tests): Add bug-fclose1.
18640 * libio/bug-fclose1.c: New file.
18641
320a5dc0
PB
186422011-05-12 Ulrich Drepper <drepper@gmail.com>
18643
18644 [BZ #12511]
18645 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18646 don't set DF_1_NODELETE here.
18647 (do_lookup_x): When entering new entry test for copy relocation
18648 and if necessary set DF_1_NODELETE flag.
18649 * elf/tst-unique4.cc: New file.
18650 * elf/tst-unique4.h: New file.
18651 * elf/tst-unique4lib.cc: New file.
18652 * elf/Makefile: Add rules to build and run tst-unique4.
18653 Patch by Piotr Bury <pbury@goahead.com>.
18654
22836f52
UD
186552011-05-11 Ulrich Drepper <drepper@gmail.com>
18656
f574184a
UD
18657 [BZ #12052]
18658 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18659
e1fb097f
UD
18660 [BZ #12625]
18661 * misc/mntent_r.c (addmntent): Flush the stream after the output
18662
22836f52
UD
18663 [BZ #12393]
18664 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18665 (is_trusted_path_normalize): Skip initial colon. Append slash
18666 to empty buffer. Duplicate is_trusted_path code but allow
18667 constructed patch to be prefix.
18668 (is_dst): Allow $ORIGIN followed by /.
18669 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18670 Correct testing of result of is_trusted_path_normalize
18671 (decompose_rpath): Fix warning.
18672
7b3b0b2a
UD
186732011-05-10 Ulrich Drepper <drepper@gmail.com>
18674
18675 [BZ #11257]
18676 * grp/initgroups.c (internal_getgrouplist): When we found the service
18677 list through the initgroups entry in nsswitch.conf do not always
18678 continue on a successful lookup. Don't always use the
eac80ce2 18679 __nss_group_database value if it is set.
7b3b0b2a
UD
18680 * nss/nsswitch.conf (initgroups): Change action for successful db
18681 lookup to continue for compatibility.
18682
2a81eaa5
UD
186832011-05-09 Ulrich Drepper <drepper@gmail.com>
18684
be97a69e
UD
18685 [BZ #11532]
18686 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18687 and CP774 modules.
18688 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18689 and CP774 modules.
18690 * iconvdata/tst-tables.sh: Likewise.
18691 * iconvdata/cp770.c: New file.
18692 * iconvdata/cp771.c: New file.
18693 * iconvdata/cp772.c: New file.
18694 * iconvdata/cp773.c: New file.
18695 * iconvdata/cp774.c: New file.
18696 * iconvdata/testdata/CP770: New file.
18697 * iconvdata/testdata/CP770..UTF8: New file.
18698 * iconvdata/testdata/CP771: New file.
18699 * iconvdata/testdata/CP771..UTF8: New file.
18700 * iconvdata/testdata/CP772: New file.
18701 * iconvdata/testdata/CP772..UTF8: New file.
18702 * iconvdata/testdata/CP773: New file.
18703 * iconvdata/testdata/CP773..UTF8: New file.
18704 * iconvdata/testdata/CP774: New file.
18705 * iconvdata/testdata/CP774..UTF8: New file.
18706
18707 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18708 END CHARMAP line.
18709 * iconvdata/gen-8bit-gap.sh: Likewise.
18710 * iconvdata/gen-8bit.sh: Likewise.
18711
c1e9e399
UD
18712 * locale/iso-639.def: Add ary entry.
18713
24c55fb3 18714 [BZ #11258]
96b4b1b0
UD
18715 * locale/C-translit.h.in: Add U20A1 transliteration.
18716
bdc2f971
KB
18717 [BZ #12178]
18718 * locale/iso-639.def: Add wae entry.
18719 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18720
2952b117
UD
18721 [BZ #12545]
18722 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18723 for n.
18724
2a81eaa5
UD
18725 [BZ #12711]
18726 * locale/C-translit.h.in: Add entry for U20B9.
18727 Patch by pravin.d.s@gmail.com.
18728
28377d1b
UD
187292011-05-08 Ulrich Drepper <drepper@gmail.com>
18730
7fb90fb8
UD
18731 [BZ #12713]
18732 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18733 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
18734 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18735 in rtld. Use *stat64.
7fb90fb8 18736 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 18737 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 18738 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
18739 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18740 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18741 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18742 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18743 __fstatat64 macros.
7fb90fb8
UD
18744 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18745 * dirent/rewinddir.c: Add libc_hidden_def.
18746 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 18747 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 18748
28377d1b
UD
18749 * include/dirent.h (__alloc_dir): Add flags parameter.
18750 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18751 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18752 __alloc_dir.
18753 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18754 from fdopendir if O_CLOEXEC is already set.
18755
66bdbaa4
AM
187562011-03-15 Alan Modra <amodra@gmail.com>
18757
18758 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18759 l_tls_firstbyte_offset non-zero. Save padding offset in
18760 l_tls_firstbyte_offset for later use.
18761 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18762 freeing static tls block.
18763
95721191
JN
187642011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18765
18766 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18767 where #ifdef was intended. The intent is to prevent ARG_MAX from
18768 being defined by the kernel headers.
18769
f87dfb1f
UD
187702011-05-07 Ulrich Drepper <drepper@gmail.com>
18771
18772 [BZ #12734]
18773 * resolv/resolv.h: Define RES_NOTLDQUERY.
18774 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18775 no-tld-query and set RES_NOTLDQUERY.
18776 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18777 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18778 modern BIND to search name as TLD unless forbidden.
18779
47c3cd7a
UD
187802011-05-07 Petr Baudis <pasky@suse.cz>
18781 Ulrich Drepper <drepper@gmail.com>
18782
18783 [BZ #12393]
18784 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18785 (is_trusted_path): ...to here.
c1e9ea35 18786 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 18787 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 18788 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 18789
8a35c912
PP
187902011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18791
18792 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18793 __BEGIN/__END_DECLS.
18794
acd41f47
UD
187952011-05-06 Ulrich Drepper <drepper@gmail.com>
18796
18797 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18798 NSS_STATUS_NOTFOUND if no record was found.
18799
597df647
AS
188002011-05-05 Andreas Schwab <schwab@redhat.com>
18801
18802 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18803 (headers-not-in-tirpc): Remove rpc/netdb.h
18804 * resolv/netdb.h: Revert last change.
18805
b9af1301
PP
188062011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18807
18808 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18809 circular dependency between libgcc.a and libc.a.
18810
4e34d5f5
AS
188112011-05-05 Andreas Schwab <schwab@redhat.com>
18812
18813 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18814 * nis/Makefile: Don't install rpcsvc/*.
18815 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18816 instead of <rpc/types.h>.
18817 (MAXHOSTNAMELEN): Define.
18818
00ee369c
AS
188192011-05-03 Andreas Schwab <schwab@redhat.com>
18820
18821 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18822
0b592a30
MB
188232011-04-28 Maciej Babinski <mbabinski@google.com>
18824
18825 [BZ #12714]
18826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18827 gethostbyname4_r when IPv6 results are possible.
18828
6e04cbbe
UD
188292011-05-02 Ulrich Drepper <drepper@gmail.com>
18830
18831 [BZ #12723]
18832 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18833 _PC_PIPE_BUF handling.
18834
e4ecafe0
BH
188352011-04-30 Bruno Haible <bruno@clisp.org>
18836
18837 [BZ #12717]
18838 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18839 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18840 to 'int'.
18841 * inet/getnameinfo.c (getnameinfo): Likewise.
18842
125ee683
UD
188432011-04-29 Ulrich Drepper <drepper@gmail.com>
18844
18845 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18846 to groups setting in database lookup.
18847 * nss/nsswitch.conf: Add initgroups entry.
18848
b722481a
EB
188492011-04-22 Ulrich Drepper <drepper@gmail.com>
18850
18851 [BZ #12685]
18852 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18853 mode string.
18854 Patch by Eric Blake <eblake@redhat.com>.
18855
4df46dbd
L
188562011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18857
18858 * sunrpc/Makefile (need-export-routines): Add svc_run.
18859 (routines): Remove svc_run.
18860 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18861 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18862 * sunrpc/svc_run.c (svc_run): Likewise.
18863 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18864
e84142d2
UD
188652011-04-21 Ulrich Drepper <drepper@gmail.com>
18866
18867 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18868 problem in reallocation in last patch.
18869
877175d8
UD
188702011-04-20 Ulrich Drepper <drepper@gmail.com>
18871
18872 * sunrpc/Makefile: Move inclusion of Rules.
18873
ab8eed78
UD
188742011-04-19 Ulrich Drepper <drepper@gmail.com>
18875
18876 * nss/nss_files/files-initgroups.c: New file.
18877 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18878 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18879 _nss_files_initgroups_dyn.
18880
e3d8f584
RS
188812011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18882
18883 * elf/elf.h (R_ARM_IRELATIVE): Define.
18884
af190f45
UD
188852011-04-19 Ulrich Drepper <drepper@gmail.com>
18886
18887 * po/ru.po: Update from translation team.
18888
53cf59ef
UD
188892011-04-17 Ulrich Drepper <drepper@gmail.com>
18890
18891 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18892 dependencies.
18893
4c559bcd
MF
188942011-02-06 Mike Frysinger <vapier@gentoo.org>
18895
18896 [BZ #12653]
18897 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18898 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18899 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18900 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18901 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18902
4420675c
AS
189032011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18904
18905 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18906 differing bytes.
18907 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18908 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18909 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18910
75ea32ab
UD
189112011-04-17 Ulrich Drepper <drepper@gmail.com>
18912
18913 [BZ #12420]
18914 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18915 storing it.
18916 * stdlib/bug-getcontext.c: New file.
18917 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18918
27390476
AK
189192011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18920
18921 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18922 instructions into .machine "z9-109".
18923 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18924 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18925
10442705
AK
189262011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18927
18928 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18929 between environment variables and auxiliary vector.
18930
7b57bfe5
UD
189312011-04-16 Ulrich Drepper <drepper@gmail.com>
18932
18933 * Makefile: Add rules to build linkobj/libc.so.
18934 * include/libc-symbols.h: Define libc_hidden_nolink.
18935 * include/rpc/auth.h: Mark functions which are to be hidden.
18936 * include/rpc/auth_des.h: Likewise.
18937 * include/rpc/auth_unix.h: Likewise.
18938 * include/rpc/clnt.h: Likewise.
18939 * include/rpc/des_crypt.h: Likewise.
18940 * include/rpc/key_prot.h: Likewise.
18941 * include/rpc/pmap_clnt.h: Likewise.
18942 * include/rpc/pmap_prot.h: Likewise.
18943 * include/rpc/pmap_rmt.h: Likewise.
18944 * include/rpc/rpc_msg.h: Likewise.
18945 * include/rpc/svc.h: Likewise.
18946 * include/rpc/svc_auth.h: Likewise.
18947 * include/rpc/xdr.h: Likewise.
18948 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18949 * nss/Makefile: Likewise.
18950 * sunrpc/Makefile: Don't install headers. Build library with normal
18951 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18952 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18953 for the compat linking library. Remove use of INTDEF/INTUSE.
18954 * sunrpc/auth_none.c: Likewise.
18955 * sunrpc/auth_unix.c: Likewise.
18956 * sunrpc/authdes_prot.c: Likewise.
18957 * sunrpc/authuxprot.c: Likewise.
18958 * sunrpc/clnt_gen.c: Likewise.
18959 * sunrpc/clnt_perr.c: Likewise.
18960 * sunrpc/clnt_raw.c: Likewise.
18961 * sunrpc/clnt_simp.c: Likewise.
18962 * sunrpc/clnt_tcp.c: Likewise.
18963 * sunrpc/clnt_udp.c: Likewise.
18964 * sunrpc/clnt_unix.c: Likewise.
18965 * sunrpc/des_crypt.c: Likewise.
18966 * sunrpc/des_soft.c: Likewise.
18967 * sunrpc/get_myaddr.c: Likewise.
18968 * sunrpc/key_call.c: Likewise.
18969 * sunrpc/key_prot.c: Likewise.
18970 * sunrpc/netname.c: Likewise.
18971 * sunrpc/pm_getmaps.c: Likewise.
18972 * sunrpc/pm_getport.c: Likewise.
18973 * sunrpc/pmap_clnt.c: Likewise.
18974 * sunrpc/pmap_prot.c: Likewise.
18975 * sunrpc/pmap_prot2.c: Likewise.
18976 * sunrpc/pmap_rmt.c: Likewise.
18977 * sunrpc/publickey.c: Likewise.
18978 * sunrpc/rpc_cmsg.c: Likewise.
18979 * sunrpc/rpc_common.c: Likewise.
18980 * sunrpc/rpc_dtable.c: Likewise.
18981 * sunrpc/rpc_prot.c: Likewise.
18982 * sunrpc/rpc_thread.c: Likewise.
18983 * sunrpc/rtime.c: Likewise.
18984 * sunrpc/svc.c: Likewise.
18985 * sunrpc/svc_auth.c: Likewise.
18986 * sunrpc/svc_authux.c: Likewise.
18987 * sunrpc/svc_raw.c: Likewise.
18988 * sunrpc/svc_run.c: Likewise.
18989 * sunrpc/svc_simple.c: Likewise.
18990 * sunrpc/svc_tcp.c: Likewise.
18991 * sunrpc/svc_udp.c: Likewise.
18992 * sunrpc/svc_unix.c: Likewise.
18993 * sunrpc/svcauth_des.c: Likewise.
18994 * sunrpc/xcrypt.c: Likewise.
18995 * sunrpc/xdr.c: Likewise.
18996 * sunrpc/xdr_array.c: Likewise.
18997 * sunrpc/xdr_float.c: Likewise.
18998 * sunrpc/xdr_intXX_t.c: Likewise.
18999 * sunrpc/xdr_mem.c: Likewise.
19000 * sunrpc/xdr_rec.c: Likewise.
19001 * sunrpc/xdr_ref.c: Likewise.
19002 * sunrpc/xdr_sizeof.c: Likewise.
19003 * sunrpc/xdr_stdio.c: Likewise.
19004
e6c61494
UD
190052011-04-10 Ulrich Drepper <drepper@gmail.com>
19006
19007 [BZ #12650]
19008 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
19009 * sysdeps/ia64/dl-tls.h: Likewise.
19010 * sysdeps/powerpc/dl-tls.h: Likewise.
19011 * sysdeps/s390/dl-tls.h: Likewise.
19012 * sysdeps/sh/dl-tls.h: Likewise.
19013 * sysdeps/sparc/dl-tls.h: Likewise.
19014 * sysdeps/x86_64/dl-tls.h: Likewise.
19015 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
19016
34fe483e
AS
190172011-03-14 Andreas Schwab <schwab@redhat.com>
19018
19019 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
19020 rpath element also skip the following colon.
19021 (expand_dynamic_string_token): Add is_path parameter and pass
19022 down to DL_DST_REQUIRED and _dl_dst_substitute.
19023 (decompose_rpath): Call expand_dynamic_string_token with
19024 non-zero is_path. Ignore empty rpaths.
19025 (_dl_map_object_from_fd): Call expand_dynamic_string_token
19026 with zero is_path.
19027
f12a32e6
AS
190282011-04-08 Andreas Schwab <schwab@linux-m68k.org>
19029
19030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19031 Make cancelable.
19032
38a7d692
UD
190332011-04-09 Ulrich Drepper <drepper@gmail.com>
19034
19035 [BZ #12655]
19036 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
19037 Patch by Filipe David Manana <fdmanana@apache.org>.
19038
e451d22b
AS
190392011-04-07 Andreas Schwab <schwab@redhat.com>
19040
19041 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
19042 Maintain aligned stack.
19043 (CHECK_RSP): Remove unused macro.
19044
dedc7c7b
UD
190452011-04-03 Ulrich Drepper <drepper@gmail.com>
19046
19047 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
19048 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
19049
94521213
UD
190502011-04-02 Ulrich Drepper <drepper@gmail.com>
19051
19052 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
19053
8cb700c0 19054 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 19055
0354e355
L
190562011-03-26 H.J. Lu <hongjiu.lu@intel.com>
19057
19058 [BZ #12518]
19059 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
19060 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
19061 * sysdeps/x86_64/memmove.c: New file.
19062 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
19063 (memcpy): Renamed to ...
19064 (__new_memcpy): This.
19065 (memcpy): Provide GLIBC_2_14 memcpy.
19066 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
19067 (memcpy): Provide GLIBC_2_2_5 memcpy.
19068
8593482f
UD
190692011-04-01 Ulrich Drepper <drepper@gmail.com>
19070
19071 [BZ #12631]
19072 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
19073
81a5726b
AS
190742011-03-30 Andreas Schwab <schwab@redhat.com>
19075
19076 * misc/syncfs.c: New file.
19077 * misc/Makefile (routines): Add syncfs.
19078 * posix/unistd.h: Declare syncfs.
19079 * sysdeps/unix/syscalls.list: Add syncfs.
19080
00e5419f
AS
190812011-04-01 Andreas Schwab <schwab@redhat.com>
19082
19083 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
19084 open_by_handle_at.
19085 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19086 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19087 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19088 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19089 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19090 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
19091 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19092
748876bf
UD
190932011-04-01 Ulrich Drepper <drepper@gmail.com>
19094
658e451d
UD
19095 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
19096 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19097 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
19098 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19099 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19100 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19101 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19102
748876bf
UD
19103 * io/Makefile: Compile fallocate.c, fallocate64.c, and
19104 sync_file_range.c with -fexceptions.
19105 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
19106 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
19107 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19108 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19109 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
19110 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19111 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
19112 sync_file_range as cancellation point
19113 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
19114 now a wrapper around __call_sync_file_range with cancellation handling.
19115 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
19116 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
19117 function name to __call_sync_file_range.
19118 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
19119 Add call_sync_file_range.
748876bf 19120
6e63d5e1
AS
191212011-04-01 Andreas Schwab <schwab@redhat.com>
19122
19123 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 19124 bits/timex.h.
6e63d5e1 19125
46998f74
UD
191262011-04-01 Ulrich Drepper <drepper@gmail.com>
19127
4c1423ed
UD
19128 * iconv/iconv.h: Fix typo in comment.
19129 * io/fcntl.h: Likewise.
19130 * libio/stdio.h: Likewise.
19131 * posix/spawn.h: Likewise.
19132 * posix/unistd.h: Likewise.
19133 * stdlib/stdlib.h: Likewise.
19134 * time/time.h: Likewise.
19135 * wcsmbs/wchar.h: Likewise.
19136
158648c0
UD
19137 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
19138 open_by_handle): Add.
19139 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19140 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
19141 Augment a few comments.
19142 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19143 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19144 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19145 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19146 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19147 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19148 open_by_handle.
19149
46998f74
UD
19150 * io/fcntl.h (AT_EMPTY_PATH): Define.
19151
83fe108b
UD
191522011-03-30 Ulrich Drepper <drepper@gmail.com>
19153
19154 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19155 * sysdeps/unix/sysv/linux/bits/time.h: New file.
19156 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19157 to...
19158 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
19159 * Versions.def: Add GLIBC_2.14.
19160 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19161 Export.
83fe108b 19162
bb242059
UD
191632011-03-22 Ulrich Drepper <drepper@gmail.com>
19164
19165 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19166 round counter.
19167 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19168
c97a1282
L
191692011-03-20 H.J. Lu <hongjiu.lu@intel.com>
19170
19171 [BZ #12597]
19172 * string/test-strncmp.c (do_page_test): New function.
19173 (check2): Likewise.
19174 (test_main): Call check2.
19175 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19176
2a115601
UD
191772011-03-20 Ulrich Drepper <drepper@gmail.com>
19178
19179 [BZ #12587]
19180 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19181 Handle cache information in CPU leaf 4.
19182 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19183
8126d904
UD
191842011-03-18 Ulrich Drepper <drepper@gmail.com>
19185
042c49c6 19186 [BZ #12583]
8126d904
UD
19187 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19188 character representation.
19189 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19190
ccfe366e
RA
191912011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
19192
19193 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19194 END(__isnan) to END(__isnanf) to match function entry point/label
19195 EALIGN(__isnanf,...).
19196
c6e13027
JJ
191972011-03-10 Jakub Jelinek <jakub@redhat.com>
19198
19199 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19200
33f85a3f
UD
192012011-03-10 Ulrich Drepper <drepper@gmail.com>
19202
028478fa
UD
19203 [BZ #12510]
19204 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19205 copy from the symbol referenced in the relocation to initialize the
19206 used variable.
19207 Patch by Piotr Bury <pbury@goahead.com>.
19208 * elf/Makefile: Add rules to build and tst-unique3.
19209 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19210 * elf/tst-unique3.cc: New file.
19211 * elf/tst-unique3.h: New file.
19212 * elf/tst-unique3lib.cc: New file.
19213 * elf/tst-unique3lib2.cc: New file.
19214
33f85a3f
UD
19215 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19216
03592fc7
MF
192172011-03-10 Mike Frysinger <vapier@gentoo.org>
19218
19219 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19220 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
19221 to _start.
03592fc7 19222
6a5ee102
UD
192232011-03-06 Ulrich Drepper <drepper@gmail.com>
19224
19225 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19226 to-be-loaded object along a path to loader is ld.so.
19227
7e4ba49c
HJ
192282011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19229 Ulrich Drepper <drepper@gmail.com>
19230
19231 * sysdeps/x86_64/memset.S: After aligning destination, code
19232 branches to different locations depending on the value of
19233 misalignment, when multiarch is enabled. Fix this.
19234
192352011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19236
19237 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19238 Set _x86_64_preferred_memory_instruction for AMD processsors.
19239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19240 Set bit_Prefer_SSE_for_memop for AMD processors.
19241
13a804de
UD
192422011-03-04 Ulrich Drepper <drepper@gmail.com>
19243
19244 * libio/fmemopen.c (fmemopen): Optimize a bit.
19245
9d25c392
AS
192462011-03-03 Andreas Schwab <schwab@redhat.com>
19247
19248 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19249
a5543c6a
RM
192502011-03-03 Roland McGrath <roland@redhat.com>
19251
19252 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19253
012d35f7
DM
192542011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19255
7e4ba49c 19256 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
19257 __bzero_ultra1 instead of __memset_ultra1.
19258
4bff6e01
AS
192592011-02-23 Andreas Schwab <schwab@redhat.com>
19260 Ulrich Drepper <drepper@gmail.com>
19261
19262 [BZ #12509]
19263 * include/link.h (struct link_map): Add l_orig_initfini.
19264 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19265 returning unsuccessfully.
19266 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19267 close of a file loaded at startup, restore the original l_initfini
19268 list.
19269 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19270 list, store the pointer.
19271 * elf/Makefile ($(objpfx)noload-mem): New rule.
19272 (noload-ENV): Define.
19273 (tests): Add $(objpfx)noload-mem.
19274 * elf/noload.c: Include <memcheck.h>.
19275 (main): Call mtrace. Close all opened handles.
19276
f2092faf
AS
192772011-02-17 Andreas Schwab <schwab@redhat.com>
19278
19279 [BZ #12454]
19280 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19281 dependencies are missing.
19282
6c8a2e88
ST
192832011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19284
f2092faf 19285 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
19286 Hurd needs munmap.
19287 * sysdeps/mach/hurd/ifreq.h: New file.
19288
84a42118
PB
192892011-01-27 Petr Baudis <pasky@suse.cz>
19290 Ulrich Drepper <drepper@gmail.com>
19291
071f805e 19292 [BZ 12445]#
84a42118
PB
19293 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19294 to extend_alloca().
19295 * stdio-common/bug23.c: New file.
19296 * stdio-common/Makefile (tests): Add bug23.
19297
e23fe25b
AS
192982010-09-28 Andreas Schwab <schwab@redhat.com>
19299 Ulrich Drepper <drepper@gmail.com>
19300
19301 [BZ #12489]
19302 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19303 before performing relro protection. At old place add assertion
19304 to make sure nothing changed.
19305
d3f02e10
NS
193062011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19307 Glauber de Oliveira Costa <glommer@gmail.com>
19308
19309 * elf/elf.h: Add new ARM TLS relocs.
19310
d55fd7a5
RA
193112011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19312
19313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19314 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19315 cast from r3.
19316 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19317 'tests' variable.
19318 * sysdeps/wordsize-64/tst-writev.c: New file.
19319
2206397e
RA
193202011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19321
19322 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19323 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19324 insns in _dl_start to prevent a TOC reference before relocs are
19325 resolved.
19326
e9433893
UD
193272011-02-15 Ulrich Drepper <drepper@gmail.com>
19328
19329 [BZ #12469]
19330 * Makeconfig: Remove RANLIB definition.
19331 * Makerules: Don't use RANLIB.
19332 * aclocal.m4: Remove ranlib test.
19333 * configure.in: No need to check for ranlib.
19334 * elf/rtld-Rules: Don't use RANLIB.
19335
f75286c6
ST
193362011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19337
8e31c82d
ST
19338 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19339 protection macro.
19340 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19341 inclusion protection macro.
19342
f75286c6
ST
19343 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19344 SIGRTMIN and SIGRTMAX and print information in that case only when
19345 SIGRTMIN is defined.
19346
c1d0e639
JJ
193472011-02-11 Jakub Jelinek <jakub@redhat.com>
19348
19349 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19350 arginfo fn returning -1.
19351
19352 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19353 and thousands string is zero terminated.
19354
edf9294e
AS
193552011-02-03 Andreas Schwab <schwab@redhat.com>
19356
19357 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19358 sysdeps/unix/sysv/linux/bits/socket.h.
19359
2b7e92df
ST
193602011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19361
edf9294e
AS
19362 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19363 (__CPU_COUNT): Remove old macros.
19364 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19365 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19366 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
19367 (__sched_cpualloc, __sched_cpufree): Add declarations.
19368
a4c7ea7b
UD
193692011-02-05 Ulrich Drepper <drepper@gmail.com>
19370
19371 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19372 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19373 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19374 (readdhstai): Return value of addhstaiX call.
19375 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19376 (addgrbyX): Return value returned by cache_addgr.
19377 (readdgrbyname): Return value returned by addgrbyX.
19378 (readdgrbygid): Likewise.
19379 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19380 (addpwbyX): Return value returned by cache_addpw.
19381 (readdpwbyname): Return value returned by addhstbyX.
19382 (readdpwbyuid): Likewise.
19383 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19384 (addservbyX): Return value returned by cache_addserv.
19385 (readdservbyname): Return value returned by addservbyX:
19386 (readdservbyport): Likewise.
19387 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19388 (addhstbyX): Return value returned by cache_addhst.
19389 (readdhstbyname): Return value returned by addhstbyX.
19390 (readdhstbyaddr): Likewise.
19391 (readdhstbynamev6): Likewise.
19392 (readdhstbyaddrv6): Likewise.
19393 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19394 (readdinitgroups): Return value returned by addinitgroupsX.
19395 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19396 (prune_cache): Keep track of timeout value of re-added entries.
19397 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19398 * nscd/nscd.h: Adjust prototypes of readd* functions.
19399
a0bf67cc
RM
194002011-02-04 Roland McGrath <roland@redhat.com>
19401
19402 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19403 (nis_stats): Likewise.
19404 * nis/nis_modify.c (nis_modify): Likewise.
19405 * nis/nis_remove.c (nis_remove): Likewise.
19406 * nis/nis_add.c (nis_add): Likewise.
19407
19408 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19409
19410 * posix/fnmatch_loop.c: Add some consts.
19411
19412 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19413
435b95eb
L
194142011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19415
19416 [BZ #12460]
19417 * config.make.in (config-cflags-novzeroupper): Define.
19418 * configure.in: Substitute libc_cv_cc_novzeroupper.
19419 * elf/Makefile (AVX-CFLAGS): Define.
19420 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19421 (CFLAGS-tst-auditmod4a.c): Likewise.
19422 (CFLAGS-tst-auditmod4b.c): Likewise.
19423 (CFLAGS-tst-auditmod6b.c): Likewise.
19424 (CFLAGS-tst-auditmod6c.c): Likewise.
19425 (CFLAGS-tst-auditmod7b.c): Likewise.
19426 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19427
8517b15e
UD
194282011-02-02 Ulrich Drepper <drepper@gmail.com>
19429
19430 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19431 function to the callback.
19432 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19433
10a656fe
AS
194342011-02-02 Andreas Schwab <schwab@redhat.com>
19435
19436 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19437 of errno.
19438
968dad0a
UD
194392011-01-19 Ulrich Drepper <drepper@gmail.com>
19440
9f94d2ea 19441 [BZ #11724]
968dad0a
UD
19442 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19443 of constructors.
19444 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19445 of destructors.
19446 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19447
19448 [BZ #11724]
19449 * elf/Makefile: Add rules to build and run new test.
19450 * elf/tst-initorder.c: New file.
19451 * elf/tst-initorder.exp: New file.
19452 * elf/tst-initordera1.c: New file.
19453 * elf/tst-initordera2.c: New file.
19454 * elf/tst-initordera3.c: New file.
19455 * elf/tst-initordera4.c: New file.
19456 * elf/tst-initorderb1.c: New file.
19457 * elf/tst-initorderb2.c: New file.
19458 * elf/tst-order-a1.c: New file.
19459 * elf/tst-order-a2.c: New file.
19460 * elf/tst-order-a3.c: New file.
19461 * elf/tst-order-a4.c: New file.
19462 * elf/tst-order-b1.c: New file.
19463 * elf/tst-order-b2.c: New file.
19464 * elf/tst-order-main.c: New file.
19465 New test case by George Gensure <werkt0@gmail.com>.
19466
86e92359
UD
194672010-10-01 Andreas Schwab <schwab@redhat.com>
19468
19469 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19470 decoding ACE if AI_CANONIDN.
19471
5d5732b0
UD
194722011-01-18 Ulrich Drepper <drepper@gmail.com>
19473
19474 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19475
a77e8cbc
UD
194762011-01-17 Ulrich Drepper <drepper@gmail.com>
19477
6392473f
UD
19478 * version.h (RELEASE): Bump for 2.13 release.
19479 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19480
620a0529
UD
19481 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19482
18ba70a5
UD
19483 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19484 MADV_NOHUGEPAGE.
32465c3e
UD
19485 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19486 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19487 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19488 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19489 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19490 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19491
c0dafcf1
UD
19492 * posix/getconf.c: Update copyright year.
19493 * catgets/gencat.c: Likewise.
19494 * csu/version.c: Likewise.
19495 * debug/catchsegv.sh: Likewise.
19496 * debug/xtrace.sh: Likewise.
19497 * elf/ldconfig.c: Likewise.
19498 * elf/ldd.bash.in: Likewise.
19499 * elf/sprof.c (print_version): Likewise.
19500 * iconv/iconv_prog.c: Likewise.
19501 * iconv/iconvconfig.c: Likewise.
19502 * locale/programs/locale.c: Likewise.
19503 * locale/programs/localedef.c: Likewise.
19504 * malloc/memusage.sh: Likewise.
19505 * malloc/mtrace.pl: Likewise.
19506 * nscd/nscd.c (print_version): Likewise.
19507 * nss/getent.c: Likewise.
19508
a77e8cbc
UD
19509 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19510 PF_CAIF, and PF_ALG.
19511 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19512
77e8bddf
AS
195132011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19514
1f20b93a
AS
19515 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19516 (modules-names): Use them.
19517 (ifunc-test-modules, ifunc-pie-tests): Define.
19518 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19519 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19520 (test-extras): Likewise.
19521 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19522 $(compile-command.c).
19523 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19524 (all-built-dso): Define.
19525 (check-textrel.out, check-execstack.out): Depend on it.
19526
77e8bddf
AS
19527 * configure.in: Don't override --enable-multi-arch.
19528
bc425b33
UD
195292011-01-15 Ulrich Drepper <drepper@gmail.com>
19530
19531 [BZ #6812]
19532 * nscd/hstcache.c (tryagain): Define.
19533 (cache_addhst): Return tryagain not notfound for temporary errors.
19534 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19535 failed.
19536
794c3ad3
UD
195372011-01-14 Ulrich Drepper <drepper@gmail.com>
19538
70181fdd
UD
19539 [BZ #10563]
19540 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19541 to make the syscall.
19542 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19543
794c3ad3
UD
19544 [BZ #12378]
19545 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19546 and fall back to matching as normal character if the string ends before
19547 the matching ']' is found. This is what POSIX requires.
19548 * posix/testfnm.c: Adjust test result.
19549 * posix/globtest.sh: Adjust test result. Add new test.
19550 * posix/tst-fnmatch.input: Likewise.
19551 * posix/tst-fnmatch2.c: Add new test.
19552
68dc9497
AS
195532010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19554
19555 * elf/Makefile (check-execstack): Revert last change. Depend on
19556 check-execstack.h.
19557 (check-execstack.h): New target.
19558 (generated): Add check-execstack.h.
19559 * elf/check-execstack.c: Include "check-execstack.h".
19560 (main): Revert last change.
19561 (handle_file): Return zero if GNU_STACK is absent and
19562 DEFAULT_STACK_PERMS doesn't include PF_X.
19563
451f001b
UD
195642011-01-13 Ulrich Drepper <drepper@gmail.com>
19565
cfa28e56
UD
19566 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19567 in child fails because the descriptor is already closed.
8cf8ce17
UD
19568 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19569 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19570 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 19571
1086d70d
UD
19572 [BZ #12397]
19573 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19574 syscall.
19575
451f001b
UD
19576 [BZ #10484]
19577 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19578 temporary buffer used to handle multi lookups locally.
a85b5cb4 19579 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 19580
08769175
UD
195812011-01-12 Ulrich Drepper <drepper@gmail.com>
19582
19583 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19584 loader is ld.so.
19585
5e49c52e
UD
195862011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19587
19588 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19589 alignment for SSE2.
19590
60522a5f
UD
195912011-01-12 Ulrich Drepper <drepper@gmail.com>
19592
19593 [BZ #12394]
19594 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19595 characters. When rounding increased number of integer digits recompute
19596 number of groups.
19597 * stdio-common/tst-grouping.c: New file.
19598 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19599
f257bbd7
UD
196002011-01-09 Ulrich Drepper <drepper@gmail.com>
19601
19602 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19603 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19604
19605 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19606 void.
19607 * bits/select.h: Likewise.
19608
fa9c15cb
UD
196092011-01-08 Ulrich Drepper <drepper@gmail.com>
19610
19611 * po/ja.po: Update from translation team.
19612
16c2895f
DM
196132011-01-04 David S. Miller <davem@sunset.davemloft.net>
19614
19615 [BZ #11155]
19616 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19617 implementation just like for lxstat, fxstatat, et al.
19618
2543fef2
JM
196192010-12-27 Jim Meyering <meyering@redhat.com>
19620
19621 [BZ #12348]
19622 * posix/regexec.c (build_trtable): Return failure indication upon
19623 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19624
98727dbe
UD
196252010-12-25 Ulrich Drepper <drepper@gmail.com>
19626
5bd6dc5c
UD
19627 [BZ #12201]
19628 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19629 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19630 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19631 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19632
97983464
UD
19633 [BZ #12207]
19634 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19635
98727dbe
UD
19636 [BZ #12204]
19637 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19638 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19639
4a531bb0
L
196402010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19641
19642 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19643 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19644 script has SORT_BY_INIT_PRIORITY.
19645 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19646 NO_CTORS_DTORS_SECTIONS is defined.
19647 * elf/soinit.c: Likewise.
19648 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19649 NO_CTORS_DTORS_SECTIONS is defined.
19650 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19651 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19652 * sysdeps/sh/init-first.c: Likewise.
19653 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19654
07eb4b71
UD
196552010-12-24 Ulrich Drepper <drepper@gmail.com>
19656
19657 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19658 always use the slow path.
19659
30950a5f
RA
196602010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19661
19662 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19663 similar rule which adds the sysdep directories to the header search in
19664 order to pick up the correct platform stackinfo.h.
19665 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19666 perform test if it is, otherwise return successfully without testing.
19667 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19668 DEFAULT_STACK_PERMS define in stackinfo.h.
19669 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19670 defined in stackinfo.h.
19671 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19672 DEFAULT_STACK_PERMS defined in stackinfo.h.
19673 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19674 * sysdeps/ia64/stackinfo.h: Likewise.
19675 * sysdeps/s390/stackinfo.h: Likewise.
19676 * sysdeps/sh/stackinfo.h: Likewise.
19677 * sysdeps/sparc/stackinfo.h: Likewise.
19678 * sysdeps/x86_64/stackinfo.h: Likewise.
19679 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19680 PF_X for powerpc64. Retain PF_X for powerpc32.
19681
db753e2c
UD
196822010-12-19 Ulrich Drepper <drepper@gmail.com>
19683
14b697f7
UD
19684 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19685 accurately.
db753e2c
UD
19686 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19687 GETDENTS_64BIT_ALIGNED.
19688
28300719
UD
196892010-12-14 Ulrich Drepper <dreper@gmail.com>
19690
14b697f7 19691 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 19692
4f197237
AS
196932010-12-10 Andreas Schwab <schwab@redhat.com>
19694
dbb0472f
AS
19695 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19696 _GNU_SOURCE.
19697
4f197237
AS
19698 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19699 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19700 Remove __restrict.
19701 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19702 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19703
fb88ac72
UD
197042010-12-09 Ulrich Drepper <drepper@gmail.com>
19705
19706 [BZ #11655]
19707 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19708 are initialized.
19709
42acbb92
JJ
197102010-12-09 Jakub Jelinek <jakub@redhat.com>
19711
19712 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19713
c038d98d
UD
197142010-12-03 Ulrich Drepper <drepper@gmail.com>
19715
19716 * po/it.po: Update from translation team.
19717
3a4a2499
L
197182010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19719
19720 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19721 unused codes.
19722
1e24cf6e
UD
197232010-11-30 Ulrich Drepper <drepper@gmail.com>
19724
19725 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19726
a7690819
AS
197272010-11-24 Andreas Schwab <schwab@redhat.com>
19728
19729 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19730 specially.
19731 (gaih_getanswer_slice): Likewise.
19732
3bf8d1b1
JJ
197332010-10-20 Jakub Jelinek <jakub@redhat.com>
19734
19735 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19736
6db52fbb
PB
197372010-05-31 Petr Baudis <pasky@suse.cz>
19738
19739 [BZ #11149]
19740 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19741 silently even in the chroot mode.
19742
eaca7569
UD
197432010-11-22 Ulrich Drepper <drepper@gmail.com>
19744
19745 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19746 last patch a bit. Pretty printing
19747
3056dcdb
UD
197482010-05-31 Petr Baudis <pasky@suse.cz>
19749
19750 [BZ #10085]
19751 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19752 initialization of skip_initgroups_dyn.
19753
cf7c9078
UD
197542010-11-19 Ulrich Drepper <drepper@gmail.com>
19755
19756 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19757 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19758
a1fb5e3e
UD
197592010-11-16 Ulrich Drepper <drepper@gmail.com>
19760
19761 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19762
3540d66b
AS
197632010-11-11 Andreas Schwab <schwab@redhat.com>
19764
19765 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19766 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19767 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19768 ($(objpfx)tst-fnmatch-mem): New rule.
19769 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19770 * posix/tst-fnmatch.c (main): Call mtrace.
19771
13b69574
L
197722010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19773
19774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19775 Support Intel processor model 6 and model 0x2c.
19776
da93d214
LM
197772010-11-10 Luis Machado <luisgpm@br.ibm.com>
19778
19779 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19780 signed comparison.
19781
8ca52c6e
L
197822010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19783
19784 [BZ #12205]
19785 * string/test-strncasecmp.c (check_result): New function.
19786 (do_one_test): Use it.
19787 (check1): New function.
19788 (test_main): Use it.
19789 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19790 Support strcasecmp and strncasecmp.
19791
69da074d
UD
197922010-11-08 Ulrich Drepper <drepper@gmail.com>
19793
19794 [BZ #12194]
19795 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19796 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19797
ff02d528
L
197982010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19799
19800 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19801 IFUNC support.
19802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19803 memset-x86-64.
19804 * sysdeps/x86_64/multiarch/bzero.S: New file.
19805 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19806 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19807 * sysdeps/x86_64/multiarch/memset.S: New file.
19808 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19809 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19810 Set bit_Prefer_SSE_for_memop for Intel processors.
19811 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19812 Define.
19813 (index_Prefer_SSE_for_memop): Define.
19814 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19815
344d0b54
LM
198162010-11-04 Luis Machado <luisgpm@br.ibm.com>
19817
19818 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19819 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19820
c0dde15b
UD
198212010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19822
19823 [BZ #12191]
19824 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19825 (__x86_64_raw_data_cache_size_half): Likewise.
19826 (__x86_64_raw_shared_cache_size): Likewise.
19827 (__x86_64_raw_shared_cache_size_half): Likewise.
19828
19829 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19830 (__x86_64_raw_data_cache_size_half): Likewise.
19831 (__x86_64_raw_shared_cache_size): Likewise.
19832 (__x86_64_raw_shared_cache_size_half): Likewise.
19833 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19834 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19835 and __x86_64_raw_shared_cache_size_half. Round
19836 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19837 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19838 to multiple of 256 bytes.
19839
0e516e0e
MS
198402010-11-03 Ulrich Drepper <drepper@gmail.com>
19841
19842 [BZ #12167]
19843 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19844 of inacessible symlinks. Verify result of symlink before returning it.
19845 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19846 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19847
0e012e87
ER
198482010-10-28 Erich Ritz <erichritz@gmail.com>
19849
19850 * math/math.h (isinf): Fix typo in comment.
19851
de0ff7bc
UD
198522010-11-01 Ulrich Drepper <drepper@gmail.com>
19853
19854 * po/da.po: Update from translation team.
19855
fa41c84d
UD
198562010-10-26 Ulrich Drepper <drepper@gmail.com>
19857
19858 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19859 is added to the list.
19860
f0967738
AK
198612010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19862 Ulrich Drepper <drepper@gmail.com>
19863
19864 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19865 the global list here. Move code to...
19866 (_dl_add_to_namespace_list): ...here. New function.
19867 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19868 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19869 * elf/dl-load.c (lose): Don't remove the element from the list.
19870 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19871 (_dl_map_object): Likewise.
19872
198732010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
19874
19875 [BZ #12159]
19876 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19877 into all bytes of SSE register.
19878 Patch by Richard Li <richardpku@gmail.com>.
19879
f0967738 198802010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
19881
19882 [BZ #12140]
19883 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19884 perturbing.
19885
d0b9e94f
MB
198862010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19887
19888 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19889 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19890 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19891 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19893 submachine.
19894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19895
8e9f92e9
AS
198962010-10-22 Andreas Schwab <schwab@redhat.com>
19897
19898 * include/dlfcn.h (__RTLD_SECURE): Define.
19899 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19900 mode & __RTLD_SECURE instead.
19901 (open_path): Rename preloaded parameter to secure.
19902 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19903 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19904 * elf/dl-deps.c (openaux): Likewise.
19905 * elf/rtld.c (struct map_args): Remove is_preloaded.
19906 (map_doit): Don't use it.
19907 (dl_main): Likewise.
19908 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19909 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19910
bc96fbda
AS
199112010-09-09 Andreas Schwab <schwab@redhat.com>
19912
19913 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19914 (sysd-rules-targets): Remove duplicates.
19915 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19916 rtld-%.$o dependency.
19917
22cd1c9b
AS
199182010-10-18 Andreas Schwab <schwab@redhat.com>
19919
19920 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19921 _dl_map_object do it.
19922
18edac48
UD
199232010-10-19 Ulrich Drepper <drepper@gmail.com>
19924
19925 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19926 fast fma builtins, define the macros in the C99 standard.
19927 (FP_FAST_FMAF): Likewise.
19928 (FP_FAST_FMAL): Likewise.
19929 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19930
19931 * bits/mathdef.h: Update copyright year.
19932 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19933
d2050124
MM
199342010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19935
19936 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19937 builtins, define the macros in the C99 standard.
19938 (FP_FAST_FMAF): Likewise.
19939 (FP_FAST_FMAL): Likewise.
19940 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19941 multiply/add.
19942 (FP_FAST_FMAF): Likewise.
19943
475facd1
JJ
199442010-10-15 Jakub Jelinek <jakub@redhat.com>
19945
19946 [BZ #3268]
19947 * math/libm-test.inc (fma_test): Some new testcases.
19948 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19949 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19950 y and infinite z. Do multiplication by C already in long double.
19951 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19952 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19953 y and infinite z. Do bitwise or of inexact bit into u.d.
19954 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19955 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19956 * sysdeps/i386/fpu/s_fma.S: Removed.
19957 * sysdeps/i386/fpu/s_fmal.S: Removed.
19958
7c08a05c
JJ
199592010-10-16 Jakub Jelinek <jakub@redhat.com>
19960
19961 [BZ #3268]
19962 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19963 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19964 computation is not scheduled after fetestexcept. Fix value
19965 of minimum denormal long double.
19966
f3f7372d
JJ
199672010-10-14 Jakub Jelinek <jakub@redhat.com>
19968
19969 [BZ #3268]
19970 * math/libm-test.inc (fma_test): Add some more tests.
19971 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19972 correctly.
19973
14d43591
AS
199742010-10-15 Andreas Schwab <schwab@redhat.com>
19975
19976 * scripts/data/localplt-s390-linux-gnu.data: New file.
19977 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19978
5e908464
JJ
199792010-10-13 Jakub Jelinek <jakub@redhat.com>
19980
19981 [BZ #3268]
19982 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19983 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19984 instead of dbl-64.
19985 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19986 inlines.
19987 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19988 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19989 if one of x and y is very large and the other is subnormal.
19990 * sysdeps/s390/fpu/s_fmaf.c: New file.
19991 * sysdeps/s390/fpu/s_fma.c: New file.
19992 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19993 * sysdeps/powerpc/fpu/s_fma.S: New file.
19994 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19995 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19996 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19997
199982010-10-12 Jakub Jelinek <jakub@redhat.com>
19999
20000 [BZ #3268]
20001 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
20002 fma tests.
20003 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
20004 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
20005 * sysdeps/i386/i686/multiarch/s_fma.c: Include
20006 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
20007 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
20008 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
20009 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
20010
b833d51f
UD
200112010-10-12 Ulrich Drepper <drepper@redhat.com>
20012
20013 [BZ #12078]
20014 * posix/regcomp.c (parse_branch): One more memory leak plugged.
20015 * posix/bug-regex31.input: Add test case.
20016
1751705d
UD
200172010-10-11 Ulrich Drepper <drepper@gmail.com>
20018
e9b9cbf5
UD
20019 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
20020 * posix/bug-regex31.input: New file.
20021
20022 [BZ #12078]
20023 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
20024 (parse_sub_exp): Fix last change, use postorder.
20025
ef06edbe
UD
20026 * posix/bug-regex31.c: New file.
20027 * posix/Makefile: Add rules to build and run bug-regex31.
20028
a129c80d
UD
20029 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
20030
20031 [BZ #12078]
20032 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
20033
b76b818e
UD
20034 [BZ #12108]
20035 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
20036 to have entries in sys_siglist.
20037
1751705d
UD
20038 [BZ #12093]
20039 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
20040 be NULL.
20041
9ff8d36f
JJ
200422010-10-07 Jakub Jelinek <jakub@redhat.com>
20043
20044 [BZ #3268]
20045 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
20046 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
20047 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20048 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
20049 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20050 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
20051 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
20052 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
20053 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
20054 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
20055 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
20056 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
20057 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20058 * math/ftestexcept.c (fetestexcept): Likewise.
20059 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
20060 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
20061 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20062 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
20063 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
20064 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
20065 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20066
af325969
UD
200672010-10-11 Ulrich Drepper <drepper@gmail.com>
20068
c579b202 20069 [BZ #12107]
af325969
UD
20070 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
20071 newline.
20072
67a67b95
UD
200732010-10-06 Ulrich Drepper <drepper@gmail.com>
20074
20075 * string/bug-strstr1.c: New file.
20076 * string/Makefile: Add rules to build and run bug-strstr1.
20077
5fb308bc
EB
200782010-10-05 Eric Blake <eblake@redhat.com>
20079
20080 [BZ #12092]
20081 * string/str-two-way.h (two_way_long_needle): Always clear memory
20082 when skipping input due to the shift table.
20083
45db99c7
UD
200842010-10-03 Ulrich Drepper <drepper@gmail.com>
20085
3b111893
UD
20086 [BZ #12005]
20087 * malloc/mcheck.c: Handle large requests.
20088
45db99c7
UD
20089 [BZ #12077]
20090 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
20091 for strncmp and strncasecmp.
20092 * string/stratcliff.c: Add tests for strcmp and strncmp.
20093 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
20094
cf7a1eb8
NI
200952010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20096
20097 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
20098 __set_fpscr.
20099
6484ba5e
AJ
201002010-09-30 Andreas Jaeger <aj@suse.de>
20101
20102 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
20103 (CGROUP_SUPER_MAGIC): Define.
20104 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20105 Handle btrfs and cgroup file systems.
20106 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20107 Likewise.
20108
91c42559
LM
201092010-09-27 Luis Machado <luisgpm@br.ibm.com>
20110
20111 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
20112 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
20113
87a97932
AK
201142010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20115
20116 [BZ #12067]
20117 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
20118 trying to locate the ELF header.
20119
c21cc9bc
AS
201202010-09-27 Andreas Schwab <schwab@redhat.com>
20121
20122 [BZ #11611]
20123 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
20124 Mask out sign-bit copies when constructing f_fsid.
20125
315970f6
PB
201262010-09-24 Petr Baudis <pasky@suse.cz>
20127
20128 * debug/stack_chk_fail_local.c: Add missing licence exception.
20129 * debug/warning-nop.c: Likewise.
20130
1ac7a2c7
JM
201312010-09-15 Joseph Myers <joseph@codesourcery.com>
20132
20133 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
20134 implementing getdents64 using getdents syscall, set d_type if
20135 __ASSUME_GETDENTS32_D_TYPE.
20136
56801c50
AS
201372010-09-16 Andreas Schwab <schwab@redhat.com>
20138
20139 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20140 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20141
dda51327
UD
201422010-09-21 Ulrich Drepper <drepper@redhat.com>
20143
20144 [BZ #12037]
20145 * posix/unistd.h: Undo change of feature selection for ftruncate from
20146 2010-01-11.
20147
8ffcee4a
UD
201482010-09-20 Ulrich Drepper <drepper@redhat.com>
20149
a545ecd9 20150 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
20151 detection.
20152
e24f0a8b
AS
201532010-09-20 Andreas Schwab <schwab@redhat.com>
20154
20155 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20156 fanotify_mark.
20157 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20158
7291c56f
AS
201592010-09-14 Andreas Schwab <schwab@redhat.com>
20160
20161 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20162 variables after CHECK_SP call.
20163 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20164
bc5fb037
AS
201652010-09-13 Andreas Schwab <schwab@redhat.com>
20166 Ulrich Drepper <drepper@redhat.com>
20167
20168 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20169 re-relocationg ld.so.
20170 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20171 _dl_init_paths call.
20172 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
20173 here anymore.
20174
e66e7419
UD
201752010-09-14 Ulrich Drepper <drepper@redhat.com>
20176
20177 * resolv/res_init.c (__res_vinit): Count the default server we added.
20178
c044aa75
CLT
201792010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
20180 Ulrich Drepper <drepper@redhat.com>
20181
20182 [BZ #11968]
20183 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20184 (____longjmp_chk): Use %ebx for saving value across system call.
20185 Add unwind info.
20186
32cf4069
AS
201872010-09-06 Andreas Schwab <schwab@redhat.com>
20188
20189 * manual/Makefile: Don't mix pattern rules with normal rules.
20190
817328ee
AS
201912010-09-05 Andreas Schwab <schwab@linux-m68k.org>
20192
20193 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20194 operation.
20195 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20196 * libio/iofopncook.c (_IO_cookie_init): Likewise.
20197 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20198 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20199 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20200 Likewise.
20201
29fddf61
UD
202022010-09-04 Ulrich Drepper <drepper@redhat.com>
20203
20204 [BZ #11979]
20205 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20206 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20207
0959ffc9
UD
202082010-09-02 Ulrich Drepper <drepper@redhat.com>
20209
20210 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20211 * sysdeps/x86_64/addmul_1.S: Likewise.
20212 * sysdeps/x86_64/lshift.S: Likewise.
20213 * sysdeps/x86_64/mul_1.S: Likewise.
20214 * sysdeps/x86_64/rshift.S: Likewise.
20215 * sysdeps/x86_64/sub_n.S: Likewise.
20216 * sysdeps/x86_64/submul_1.S: Likewise.
20217
ece29840
ST
202182010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
20219
0959ffc9
UD
20220 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20221 Define __sched_param instead of SCHED_* and sched_param when
ece29840 20222 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 20223 * bits/sched.h [__need_schedparam]
ece29840 20224 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
20225 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20226 (__defined_schedparam): Define to 1.
ece29840
ST
20227 (__sched_param): New structure, identical to sched_param.
20228 (__need_schedparam): Undefine.
20229
e53a31fe
MF
202302010-08-31 Mike Frysinger <vapier@gentoo.org>
20231
fdc0c10d
MF
20232 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20233 (epoll_create1): Declare.
20234
e53a31fe
MF
20235 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20236
a726d796
AS
202372010-08-31 Andreas Schwab <schwab@redhat.com>
20238
20239 [BZ #7066]
20240 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20241 shifting retval into place.
20242
2f3e3dc7
UD
202432010-09-01 Ulrich Drepper <drepper@redhat.com>
20244
f2933da9
UD
20245 * nis/rpcsvc/nis.h: Update copyright notice.
20246 * nis/rpcsvc/nis.x: Likewise.
20247 * nis/rpcsvc/nis_callback.h: Likewise.
20248 * nis/rpcsvc/nis_callback.x: Likewise.
20249 * nis/rpcsvc/nis_object.x: Likewise.
20250 * nis/rpcsvc/nis_tags.h: Likewise.
20251 * nis/rpcsvc/yp.h: Likewise.
20252 * nis/rpcsvc/yp.x: Likewise.
20253 * nis/rpcsvc/ypupd.h: Likewise.
20254 * nis/yp_xdr.c: Likewise.
20255 * nis/ypupdate_xdr.c: Likewise.
20256
2f3e3dc7
UD
20257 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20258 mainly the body of pmap_getport. Add parameters to specify timeouts.
20259 (pmap_getport): Use __libc_rpc_getport.
20260 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20261 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20262 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20263
f3dcc2f9
AS
202642010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20265
20266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20267 fanotify_mark.
20268
6d34eb5b
RM
202692010-08-27 Roland McGrath <roland@redhat.com>
20270
20271 * sysdeps/i386/i686/multiarch/Makefile
20272 (CFLAGS-varshift.c): New variable.
20273
9ea3de11
UD
202742010-08-27 Ulrich Drepper <drepper@redhat.com>
20275
c96d23fc
UD
20276 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20277 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20278
9ea3de11
UD
20279 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20280
20281 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20282
623aac7f
L
202832010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20284
20285 * sysdeps/x86_64/strlen.S: Unroll the loop.
20286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20287 strlen-sse2 strlen-sse2-bsf.
20288 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20289 __strlen_no_bsf if bit_Slow_BSF is set.
20290 (__strlen_sse42): Removed.
20291 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20292 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20293
8b2b7715
RM
202942010-08-25 Roland McGrath <roland@redhat.com>
20295
20296 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20297 * sysdeps/x86_64/multiarch/varshift.c: New file.
20298 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20299 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20300 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20301 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20302
e73015f2
L
203032010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20304
20305 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20306 strlen-sse2 strlen-sse2-bsf.
20307 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20308 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20309 (__strlen_sse2): Removed.
20310 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20311 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20312 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20313 bit_Slow_BSF for Atom.
20314 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20315 (index_Slow_BSF): Define.
20316 (HAS_SLOW_BSF): Define.
20317
df24a73e
UD
203182010-08-25 Ulrich Drepper <drepper@redhat.com>
20319
20320 [BZ #10851]
20321 * resolv/res_init.c (__res_vinit): When no server address at all
20322 is given default to loopback.
20323
f2ac4868
RM
203242010-08-24 Roland McGrath <roland@redhat.com>
20325
09055553
RM
20326 * configure.in: Remove config-name.h generation.
20327 * configure: Regenerated.
20328 * config-name.in: File removed.
20329 * scripts/config-uname.sh: New file.
20330 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20331 ($(objdir)config-name.h): New target.
20332
f2ac4868
RM
20333 * sunrpc/rpc_parse.h: Avoid nested comment.
20334
73f27d5e
RH
203352010-08-24 Richard Henderson <rth@redhat.com>
20336 Ulrich Drepper <drepper@redhat.com>
20337 H.J. Lu <hongjiu.lu@intel.com>
20338
20339 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20340 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20341 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20342 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20343 _mm_alignr_epi8 with _mm_loadu_si128.
20344 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20345 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20346 (__m128i_shift_right): Removed.
20347 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20348 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20349 * sysdeps/x86_64/multiarch/varshift.h: New file.
20350 * sysdeps/x86_64/multiarch/varshift.S: New file.
20351
84b9230c
MF
203522010-08-21 Mike Frysinger <vapier@gentoo.org>
20353
20354 * configure.in: Move assembler checks to before sysdep dir checking.
20355
9bbd0ddc
PB
203562010-08-20 Petr Baudis <pasky@suse.cz>
20357
20358 * LICENSES: Sync the sunrpc license.
20359
9da4bb31
UD
203602010-08-19 Ulrich Drepper <drepper@redhat.com>
20361
a7ab6ec8
UD
20362 * sunrpc/auth_des.c: Update copyright notice once again.
20363 * sunrpc/auth_none.c: Likewise.
20364 * sunrpc/auth_unix.c: Likewise.
20365 * sunrpc/authdes_prot.c: Likewise.
20366 * sunrpc/authuxprot.c: Likewise.
20367 * sunrpc/bindrsvprt.c: Likewise.
20368 * sunrpc/clnt_gen.c: Likewise.
20369 * sunrpc/clnt_perr.c: Likewise.
20370 * sunrpc/clnt_raw.c: Likewise.
20371 * sunrpc/clnt_simp.c: Likewise.
20372 * sunrpc/clnt_tcp.c: Likewise.
20373 * sunrpc/clnt_udp.c: Likewise.
20374 * sunrpc/clnt_unix.c: Likewise.
20375 * sunrpc/des_crypt.c: Likewise.
20376 * sunrpc/des_soft.c: Likewise.
20377 * sunrpc/get_myaddr.c: Likewise.
20378 * sunrpc/getrpcport.c: Likewise.
20379 * sunrpc/key_call.c: Likewise.
20380 * sunrpc/key_prot.c: Likewise.
20381 * sunrpc/openchild.c: Likewise.
20382 * sunrpc/pm_getmaps.c: Likewise.
20383 * sunrpc/pm_getport.c: Likewise.
20384 * sunrpc/pmap_clnt.c: Likewise.
20385 * sunrpc/pmap_prot.c: Likewise.
20386 * sunrpc/pmap_prot2.c: Likewise.
20387 * sunrpc/pmap_rmt.c: Likewise.
20388 * sunrpc/rpc/auth.h: Likewise.
20389 * sunrpc/rpc/auth_unix.h: Likewise.
20390 * sunrpc/rpc/clnt.h: Likewise.
20391 * sunrpc/rpc/des_crypt.h: Likewise.
20392 * sunrpc/rpc/key_prot.h: Likewise.
20393 * sunrpc/rpc/netdb.h: Likewise.
20394 * sunrpc/rpc/pmap_clnt.h: Likewise.
20395 * sunrpc/rpc/pmap_prot.h: Likewise.
20396 * sunrpc/rpc/pmap_rmt.h: Likewise.
20397 * sunrpc/rpc/rpc.h: Likewise.
20398 * sunrpc/rpc/rpc_des.h: Likewise.
20399 * sunrpc/rpc/rpc_msg.h: Likewise.
20400 * sunrpc/rpc/svc.h: Likewise.
20401 * sunrpc/rpc/svc_auth.h: Likewise.
20402 * sunrpc/rpc/types.h: Likewise.
20403 * sunrpc/rpc/xdr.h: Likewise.
20404 * sunrpc/rpc_clntout.c: Likewise.
20405 * sunrpc/rpc_cmsg.c: Likewise.
20406 * sunrpc/rpc_common.c: Likewise.
20407 * sunrpc/rpc_cout.c: Likewise.
20408 * sunrpc/rpc_dtable.c: Likewise.
20409 * sunrpc/rpc_hout.c: Likewise.
20410 * sunrpc/rpc_main.c: Likewise.
20411 * sunrpc/rpc_parse.c: Likewise.
20412 * sunrpc/rpc_parse.h: Likewise.
20413 * sunrpc/rpc_prot.c: Likewise.
20414 * sunrpc/rpc_sample.c: Likewise.
20415 * sunrpc/rpc_scan.c: Likewise.
20416 * sunrpc/rpc_scan.h: Likewise.
20417 * sunrpc/rpc_svcout.c: Likewise.
20418 * sunrpc/rpc_tblout.c: Likewise.
20419 * sunrpc/rpc_util.c: Likewise.
20420 * sunrpc/rpc_util.h: Likewise.
20421 * sunrpc/rpcinfo.c: Likewise.
20422 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20423 * sunrpc/rpcsvc/key_prot.x: Likewise.
20424 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20425 * sunrpc/rpcsvc/mount.x: Likewise.
20426 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20427 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20428 * sunrpc/rpcsvc/rex.x: Likewise.
20429 * sunrpc/rpcsvc/rstat.x: Likewise.
20430 * sunrpc/rpcsvc/rusers.x: Likewise.
20431 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20432 * sunrpc/rpcsvc/spray.x: Likewise.
20433 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20434 * sunrpc/rtime.c: Likewise.
20435 * sunrpc/svc.c: Likewise.
20436 * sunrpc/svc_auth.c: Likewise.
20437 * sunrpc/svc_authux.c: Likewise.
20438 * sunrpc/svc_raw.c: Likewise.
20439 * sunrpc/svc_run.c: Likewise.
20440 * sunrpc/svc_simple.c: Likewise.
20441 * sunrpc/svc_tcp.c: Likewise.
20442 * sunrpc/svc_udp.c: Likewise.
20443 * sunrpc/svc_unix.c: Likewise.
20444 * sunrpc/svcauth_des.c: Likewise.
20445 * sunrpc/xcrypt.c: Likewise.
20446 * sunrpc/xdr.c: Likewise.
20447 * sunrpc/xdr_array.c: Likewise.
20448 * sunrpc/xdr_float.c: Likewise.
20449 * sunrpc/xdr_mem.c: Likewise.
20450 * sunrpc/xdr_rec.c: Likewise.
20451 * sunrpc/xdr_ref.c: Likewise.
20452 * sunrpc/xdr_sizeof.c: Likewise.
20453 * sunrpc/xdr_stdio.c: Likewise.
20454
9da4bb31
UD
20455 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20456 handling.
20457
bdaa77bc
AS
204582010-08-19 Andreas Schwab <schwab@redhat.com>
20459
20460 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20461
fe2f79db
LM
204622010-08-19 Luis Machado <luisgpm@br.ibm.com>
20463
20464 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20465 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20466 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20467 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20468 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20469 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20470 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20471 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20472 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20473 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20474 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20475 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20476 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20477 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20478
b9b42ee0
AB
204792010-07-26 Anton Blanchard <anton@samba.org>
20480
20481 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20482 * malloc/arena.c (heap_trim): Likewise.
20483
1c06ba31
UD
204842010-08-16 Ulrich Drepper <drepper@redhat.com>
20485
20486 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20487 here. Not...
20488 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20489 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20490
f8392f40
L
204912010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20492
20493 * sysdeps/i386/elf/Makefile: New file.
20494
3162f12e
AS
204952010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20496
20497 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20498 from fanotify_init.
20499 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20500 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20501
28c90b2c
UD
205022010-08-15 Ulrich Drepper <drepper@redhat.com>
20503
20504 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20505 of strncasecmp_l.
1feccb6c 20506 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 20507
ca6bb004
UD
205082010-08-14 Ulrich Drepper <drepper@redhat.com>
20509
e9f82e0d
UD
20510 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20511 strncase_l-nonascii.
20512 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20513 Add strncase_l-ssse3.
20514 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20515 * sysdeps/x86_64/strcmp.S: Likewise.
20516 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20517 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20518 * sysdeps/x86_64/strncase.S: New file.
20519 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20520 * sysdeps/x86_64/strncase_l.S: New file.
20521 * string/Makefile (strop-tests): Add strncasecmp.
20522 * string/test-strncasecmp.c: New file.
20523
20524 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20525 warning.
20526
ca6bb004
UD
20527 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20528 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20529
052fa7b3
AS
205302010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20531
20532 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20533
962dba78
UD
205342010-08-12 Ulrich Drepper <drepper@redhat.com>
20535
20536 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20537 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20538 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20539
bebff237
AM
205402010-05-01 Alan Modra <amodra@gmail.com>
20541
20542 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20543 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20544 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20545 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20546 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20547 tidying. Don't tail-call __sigjmp_save for static lib.
20548 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20549 save location.
20550 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20551 (CALL_MCOUNT): Add eh info, and nop after bl.
20552 (TAIL_CALL_SYSCALL_ERROR): New macro.
20553 (PSEUDO_RET): Use it.
20554 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20555 Correct save location of integer regs and cr.
20556 (_dl_profile_resolve): Correct cr save location. Delete nops
20557 after bl when SHARED. Reduce cfi size a little by better
20558 placement of cfi directives.
20559 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20560 make a stack frame. Instead use parm save area as a temp.
20561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20562 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20564 Don't make a stack frame for parent, use parm save area.
20565 Increase child stack frame to 112 bytes. Don't save unused reg,
20566 and adjust reg usage. Set up cfi on error recovery and
20567 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20569 (__makecontext): Add dummy nop after jump to exit.
20570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20571 Use correct parm save area and cr save, reduce stack frame.
20572 Correct cfi for possible PSEUDO_RET frame setup.
20573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20574 Branch to local label emitted by PSEUDO_RET rather than
20575 __syscall_error.
20576
02637374
AS
205772010-08-12 Andreas Schwab <schwab@redhat.com>
20578
20579 [BZ #11904]
20580 * locale/programs/locale.c (print_assignment): New function.
20581 (show_locale_vars): Use it.
20582
c3e2f19b
UD
205832010-08-11 Ulrich Drepper <drepper@redhat.com>
20584
3cdaa6ad
UD
20585 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20586 field.
20587 (struct statfs64): Likewise.
20588 (_STATFS_F_FLAGS): Define.
20589 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20590 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20591 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20592 (ST_VALID): Define locally.
20593 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20594 __statvfs_getflags, use the provided value.
20595 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20596 __ASSUME_STATFS_F_FLAGS.
20597
754f7da3
UD
20598 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20599
10b3bedc
UD
20600 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20601 Add sys/fanotify.h.
20602 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20603 fanotify_mask for GLIBC_2.13.
20604 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20605 fanotify_init and fanotify_mark.
20606 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20607 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20608
c08fb0d7
UD
20609 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20610 Add prlimit.
20611 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20612 prlimit64 for GLIBC_2.13.
20613 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20614 prlimit64.
20615 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20616 syscall.
20617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20618 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20619 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20620 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20621 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20622 add prlimit alias.
20623 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20624
15bac72b
UD
20625 [BZ #11903]
20626 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20627 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20628
c3e2f19b
UD
20629 * nss/Makefile: Add rules to build and run tst-nss-test1.
20630 * shlib-versions: Add entry for libnss_test1.
20631 * nss/nss_test1.c: New file.
20632 * nss/tst-nss-test1.c: New file.
20633
20634 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20635 (__nss_configure_lookup): Set appropriate entry in
20636 __nss_configure_lookup to true.
20637 * nss/nsswitch.h: Define enum with indeces of databases in
20638 databases and __nss_database_custom arrays. Declare
20639 __nss_database_custom.
20640 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20641 to avoid using nscd when custom rules are installed.
20642 * nss/getXXbyYY_r.c: Likewise.
20643 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20644
20645 * nss/nss_files/files-parse.c: Whitespace fixes.
20646
f15ce4d8
UD
206472010-08-09 Ulrich Drepper <drepper@redhat.com>
20648
20649 [BZ #11883]
20650 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20651 * posix/fnmatch_loop.c: Likewise.
20652
d22e4cc9
AK
206532010-07-17 Andi Kleen <ak@linux.intel.com>
20654
20655 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20656 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20657 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20658 * Versions.def [GLIBC_2.13]: Add.
20659
805bc17d
UD
206602010-08-06 Ulrich Drepper <drepper@redhat.com>
20661
20662 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20663 Also fail if tpwd after pwuid call is NULL.
20664
5a42321d
ST
206652010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20666
20667 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20668 when converting to ms.
20669
fd3ebeda
ST
206702010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20671
20672 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20673 EOPNOTSUPP errors with ENOTTY.
20674 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20675 EOPNOTSUPP errors with ENOTTY.
20676
73507d3a
UD
206772010-07-31 Ulrich Drepper <drepper@redhat.com>
20678
20679 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20680 Add strcasecmp_l-ssse3.
20681 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20682 strcasecmp.
20683 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20684 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20685 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20686
fe36dd02
UD
206872010-07-30 Ulrich Drepper <drepper@redhat.com>
20688
66f6765a
UD
20689 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20690
42e08a54
UD
20691 * string/Makefile (strop-tests): Add strcasecmp.
20692 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20693 strcasecmp_l-nonascii.
20694 (gen-as-const-headers): Add locale-defines.sym.
20695 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20696 * sysdeps/x86_64/strcasecmp.S: New file.
20697 * sysdeps/x86_64/strcasecmp_l.S: New file.
20698 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20699 * sysdeps/x86_64/locale-defines.sym: New file.
20700 * string/test-strcasecmp.c: New file.
20701
fe36dd02
UD
20702 * string/test-strcasestr.c: Test both ends of the range of characters.
20703 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20704
48cbc0d6
RM
207052010-07-29 Roland McGrath <roland@redhat.com>
20706
76e6d6bc 20707 [BZ #11856]
48cbc0d6
RM
20708 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20709
880113d9
UD
207102010-07-27 Ulrich Drepper <drepper@redhat.com>
20711
20712 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20713 for ld.so.
20714
deb9cabb
AS
207152010-07-27 Andreas Schwab <schwab@redhat.com>
20716
20717 * manual/memory.texi (Malloc Tunable Parameters): Document
20718 M_PERTURB.
20719
1c7570ff
RM
207202010-07-26 Roland McGrath <roland@redhat.com>
20721
20722 [BZ #11840]
20723 * configure.in (-fgnu89-inline check): Set and substitute
20724 gnu89_inline, not libc_cv_gnu89_inline.
20725 * configure: Regenerated.
20726 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20727
24fb0f88
UD
207282010-07-26 Ulrich Drepper <drepper@redhat.com>
20729
20730 * string/test-strnlen.c: New file.
20731 * string/Makefile (strop-tests): Add strnlen.
20732 * string/tester.c (test_strnlen): Add a few more test cases.
20733 * string/tst-strlen.c: Better error reporting.
20734
20735 * sysdeps/x86_64/strnlen.S: New file.
20736
8e96b93a
UD
207372010-07-24 Ulrich Drepper <drepper@redhat.com>
20738
20739 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20740 lower-latency instructions.
20741
dbc676d4
UD
207422010-07-23 Ulrich Drepper <drepper@redhat.com>
20743
20744 * string/test-strcasestr.c: New file.
20745 * string/test-strstr.c: New file.
20746 * string/Makefile (strop-tests): Add strstr and strcasestr.
20747 * string/str-two-way.h: Don't undefine MAX.
20748 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20749
f6a31e0e
AS
207502010-07-21 Andreas Schwab <schwab@redhat.com>
20751
20752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20753 strcasestr-nonascii.
20754 (CFLAGS-strcasestr-nonascii.c): Define.
20755 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20756 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20757 Remove unused attribute.
20758
5dbc3b6c
RM
207592010-07-20 Roland McGrath <roland@redhat.com>
20760
20761 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20762 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20763 ld.so.cache was broken. With it, there is no way to disable dsocaps
20764 like LD_HWCAP_MASK can disable hwcaps.
20765
23d101d8
EPM
207662010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20767
20768 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20769
cc9f2e47
UD
207702010-07-16 Ulrich Drepper <drepper@redhat.com>
20771
20772 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20773 call in strcasestr.
20774 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20775 __strcasestr_sse42_nonascii.
20776 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20777 strcasestr-nonascii.c.
20778 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20779
77c1b069
LM
207802010-06-15 Luis Machado <luisgpm@br.ibm.com>
20781
20782 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20783 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20784 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20785 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20786
440566c3
UD
207872010-07-09 Ulrich Drepper <drepper@redhat.com>
20788
20789 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20790 fcntl.
20791
5be9d05d
AS
207922010-07-06 Andreas Schwab <schwab@redhat.com>
20793
c30b7ee2 20794 [BZ #11577]
5be9d05d
AS
20795 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20796 dl_signal_cerror.
20797
8a492a67
UD
207982010-07-06 Ulrich Drepper <drepper@redhat.com>
20799
20800 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20801 _PC_PIPE_BUF using F_GETPIPE_SZ.
20802
713df3d5
RM
208032010-07-05 Roland McGrath <roland@redhat.com>
20804
20805 * manual/arith.texi (Rounding Functions): Fix rint description
20806 implicit in round description.
20807
702e8f14
UD
208082010-07-02 Ulrich Drepper <drepper@redhat.com>
20809
20810 * elf/Makefile: Fix linking for a few tests to make recent linker
20811 happy.
20812
52ed8be9
AS
208132010-06-30 Andreas Schwab <schwab@redhat.com>
20814
20815 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20816 $(common-objpfx)libc_nonshared.a.
20817
f47c9a11
LM
208182010-06-21 Luis Machado <luisgpm@br.ibm.com>
20819
20820 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20821 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20822 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20823 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20824 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20825 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20826 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20827 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20842 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20843 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20844 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20845 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20846 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20847 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20848 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20849 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20850 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20851 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20852 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20853 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20868
6fb8cbcb
L
208692010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20870
20871 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20872 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20873 * string/memmove.c (memmove): Renamed to ...
20874 (MEMMOVE): ...this. Default to memmove.
20875 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20876 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20877 (END_CHK): Define.
20878 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20879 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20880 mempcpy-ssse3-back memmove-ssse3-back.
20881 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20882 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20883 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20884 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20885 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20886 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20887 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20888 * sysdeps/x86_64/multiarch/memmove.c: New file.
20889 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20890 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20891 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20892 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20893 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20894 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20895 Define.
20896 (index_Fast_Copy_Backward): Define.
20897 (HAS_ARCH_FEATURE): Define.
20898 (HAS_FAST_REP_STRING): Define.
20899 (HAS_FAST_COPY_BACKWARD): Define.
20900
4e733bac 209012010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
20902
20903 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20904 Restore proper fallback handling.
20905
63c4ed22
UD
209062010-06-19 Ulrich Drepper <drepper@redhat.com>
20907
ac2b484c
UD
20908 [BZ #11701]
20909 * posix/group_member.c (__group_member): Correct checking loop.
20910
63c4ed22
UD
20911 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20912 OOM in getpwuid_r correctly. Return error number when the caller
20913 should return, otherwise -1.
20914 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20915 call returning > 0 value.
20916 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20917
765ade4b
AS
209182010-06-07 Andreas Schwab <schwab@redhat.com>
20919
20920 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20921 libc_nonshared.a from targets in modules-names.
20922
80da2e09
KS
209232010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20924
20925 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20926 requires it.
20927
158db122
LM
209282010-06-10 Luis Machado <luisgpm@br.ibm.com>
20929
20930 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20931 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20932 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20933 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20934
caa78cf8
AS
209352010-06-02 Andreas Schwab <schwab@redhat.com>
20936
20937 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20938
b2ef2c01
UD
209392010-06-14 Ulrich Drepper <drepper@redhat.com>
20940
20941 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20942 and F_GETPIPE_SZ.
20943 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20944 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20945 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20946 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20947 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20948 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20949
fbd643b6
RM
209502010-06-14 Roland McGrath <roland@redhat.com>
20951
20952 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20953
f32f2869
JJ
209542010-06-07 Jakub Jelinek <jakub@redhat.com>
20955
20956 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20957 __REDIRECT followed by __THROW.
20958 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20959 * posix/getopt.h (getopt): Likewise.
20960
2a50c078
EPM
209612010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20962
20963 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20964 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20965 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20966 in AT_FLAGS.
20967 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20968 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20969
eb5ad2eb
LM
209702010-05-28 Luis Machado <luisgpm@br.ibm.com>
20971
20972 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20973
3c88fe1e
L
209742010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20975
20976 [BZ #11640]
20977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20978 Properly check family and model.
20979
d2f73151
TY
209802010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20981
20982 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20983
ebd2e13d
LM
209842010-05-24 Luis Machado <luisgpm@br.ibm.com>
20985
20986 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20987
b32b8b45
UD
209882010-05-21 Ulrich Drepper <drepper@redhat.com>
20989
20990 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20991 symbol reference.
20992
9acbe24d
AS
209932010-05-19 Andreas Schwab <schwab@redhat.com>
20994
20995 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20996 symbol reference.
20997
f0ccf6ea
AS
209982010-05-21 Andreas Schwab <schwab@redhat.com>
20999
3d04ff3a
AS
21000 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
21001 and internal_recvmmsg.
21002 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
21003 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
21004 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
21005 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
21006
f0ccf6ea
AS
21007 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
21008 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21009 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21010
5b08ac57
AS
210112010-05-20 Andreas Schwab <schwab@redhat.com>
21012
21013 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
21014
4828935d
LM
210152010-05-17 Luis Machado <luisgpm@br.ibm.com>
21016
21017 POWER7 optimizations.
21018 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
21019 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
21020
373d545e
UD
210212010-05-19 Ulrich Drepper <drepper@redhat.com>
21022
21023 * version.h: Update for 2.13 development version.
21024
21a2b1ae
AS
210252010-05-12 Andrew Stubbs <ams@codesourcery.com>
21026
21027 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
21028 exceptions. Return 0.
21029
3f7dcb2b
RM
210302010-05-07 Roland McGrath <roland@redhat.com>
21031
21032 * elf/ldconfig.c (main): Add a const.
21033
5f24d53a 210342010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 21035
a160f8d8
UD
21036 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
21037 (args_options): Add no-idn option.
21038 (ahosts_keys_int): Add idn_flags to ai_flags.
21039 (parse_option): Handle 'i' option to clear idn_flags.
21040
5f24d53a
UD
21041 * malloc/malloc.c (_int_free): Possible race in the most recently
21042 added check. Only act on the data if no current modification
21043 happened.
265bb1ce
UD
21044
21045See ChangeLog.17 for earlier changes.