]> sourceware.org Git - glibc.git/blame - ChangeLog
Direct __ppc_get_timebase to __builtin_ppc_get_timebase for GCC 4.8+.
[glibc.git] / ChangeLog
CommitLineData
d7d08bde
TMQMF
12012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5 of the internal implementation.
6
dcdae19a
JM
72012-11-02 Joseph Myers <joseph@codesourcery.com>
8
9 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10 except include of <misc/sys/syslog.h>.
11
d6cffd3e
AS
122012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13
14 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15 function returns with a NULL context exit with zero.
16
b3563932
TMQMF
172012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18
19 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
20
b288a93d
L
212012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22
23 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24 (run_program_cmd): This.
25 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26 (tst_langinfo): New variable. Use it.
27
a2421a68
SAS
282012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29
30 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31 floating point opcodes.
32
6f796e1b
TS
332012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34
7402596b
TS
35 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36 variable.
37
d0d4f868
TS
38 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
39
6f796e1b
TS
40 * sysdeps/mach/hurd/powerpc: Remove directory.
41 * sysdeps/mach/powerpc: Likewise.
42
4da224a2
AS
432012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44
45 * scripts/check-local-headers.sh: Ignore c++ headers.
46
341dd673
TS
472012-11-01 Thomas Schwinge <thomas@codesourcery.com>
48
49 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
50 __libc_cleanup_region_start argument.
51
473611b2
JM
522012-11-01 Joseph Myers <joseph@codesourcery.com>
53
54 [BZ #14784]
55 [BZ #14785]
56 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
57 x * y using scaling, not as x * y + z.
58 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60 * math/libm-test.inc (fma_test): Add more tests.
61 (fma_test_towardzero): Likewise.
62 (fma_test_downward): Likewise.
63 (fma_test_upward): Likewise.
64
4078da3d
TS
652012-11-01 Thomas Schwinge <thomas@codesourcery.com>
66
67 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
68
903252aa
JM
692012-10-31 Joseph Myers <joseph@codesourcery.com>
70
71 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
72 New variable.
73
cbc818d0
TS
742012-10-31 Thomas Schwinge <thomas@codesourcery.com>
75
76 * rt/tst-shm.c (worker): Correct checking for mmap failure.
77
5a03cb1e
AS
782012-10-31 Andreas Schwab <schwab@linux-m68k.org>
79
80 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81 Fix sort order.
82 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
83 Likewise.
84
90aff2ff
TMQMF
852012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
86
87 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
88 Fix the order of the list for glibc 2.17.
89 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
90 Likewise.
91
1818fcb7
AS
922012-10-31 Andreas Schwab <schwab@linux-m68k.org>
93
94 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
95
ef82f4da
JM
962012-10-31 Joseph Myers <joseph@codesourcery.com>
97
16a0e2ec
JM
98 [BZ #14610]
99 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
100 for low part of x being zero before using __atanl (y).
101 * math/libm-test.inc (atan2_test): Add another test.
102
0eb69512
JM
103 * manual/install.texi (Configuring and compiling): Document
104 general use of test-wrapper and test-wrapper-env.
105 * INSTALL: Regenerated.
106
ef82f4da
JM
107 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
108 (__fma): Do not extract and scale down low bits on after-rounding
109 systems when result rounded to normal precision would have normal
110 exponent.
111 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
112 (__fmal): Do not extract and scale down low bits on after-rounding
113 systems when result rounded to normal precision would have normal
114 exponent.
115 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
116 (__fmal): Do not extract and scale down low bits on after-rounding
117 systems when result rounded to normal precision would have normal
118 exponent.
119 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
120 macro.
121 (fma_test): Add more tests.
122 (fma_test_towardzero): Likewise.
123 (fma_test_downward): Likewise.
124 (fma_test_upward): Likewise.
125
954ef0d9
L
1262012-10-30 H.J. Lu <hongjiu.lu@intel.com>
127
128 * sysdeps/i386/tininess.h: Renamed to ...
129 * sysdeps/x86/tininess.h: This.
130 * sysdeps/x86_64/tininess.h: Removed.
131
df61ffb2
JM
1322012-10-30 Joseph Myers <joseph@codesourcery.com>
133
134 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
135 input. Use $(build-program-cmd).
136 ($(objpfx)tst-array1-static.out): Likewise.
137 ($(objpfx)tst-array2.out): Likewise.
138 ($(objpfx)tst-array3.out): Likewise.
139 ($(objpfx)tst-array4.out): Likewise.
140 ($(objpfx)tst-array5.out): Likewise.
141 ($(objpfx)tst-array5-static.out): Likewise.
142
01767843
CM
1432012-10-30 Chris Metcalf <cmetcalf@tilera.com>
144
47cc1490
CM
145 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
146 if defined.
147
01767843
CM
148 * nss/nsswitch.h (nss_interface_function): Provide new
149 macro for use with NSS functions.
150 * grp/initgroups.c: Use new macro.
151 * nss/getXXbyYY.c: Likewise.
152 * nss/getXXbyYY_r.c: Likewise.
153 * nss/getXXent.c: Likewise.
154 * nss/getXXent_r.c: Likewise.
155 * sysdeps/posix/getaddrinfo.c: Likewise.
156
8321aa97
AJ
1572012-10-30 Andreas Jaeger <aj@suse.de>
158
159 * po/ru.po: Update Russion translation from translation project.
160
2a27fd6d
JM
1612012-10-30 Joseph Myers <joseph@codesourcery.com>
162
8627a232
JM
163 [BZ #14152]
164 [BZ #14783]
165 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
166 result and shift together with sticky bit instead of replicating
167 round-to-nearest rounding.
168 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
169 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
170 * math/libm-test.inc (fma_test): Add more tests. Do not permit
171 missing underflow exceptions.
172 (fma_test_towardzero): Add more tests.
173 (fma_test_downward): Likewise.
174 (fma_test_upward): Likewise.
175
2a27fd6d
JM
176 [BZ #14047]
177 * sysdeps/generic/tininess.h: New file.
178 * sysdeps/i386/tininess.h: Likewise.
179 * sysdeps/sh/tininess.h: Likewise.
180 * sysdeps/x86_64/tininess.h: Likewise.
181 * stdlib/tst-strtod-underflow.c: Likewise.
182 * stdlib/tst-tininess.c: Likewise.
183 * stdlib/strtod_l.c: Include <tininess.h>.
184 (round_and_return): Do not set errno for exact underflow cases.
185 Force an underflow exception when setting errno for underflow.
186 Determine underflow based on rounding to normal precision if
187 TININESS_AFTER_ROUNDING.
188 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
189 ERANGE for exact underflow cases.
190 * stdlib/Makefile (tests): Add tst-tininess and
191 tst-strtod-underflow.
192 ($(objpfx)tst-tininess): Use $(link-libm).
193 ($(objpfx)tst-strtod-underflow): Likewise.
194
e7170363
AJ
1952012-10-30 Andreas Jaeger <aj@suse.de>
196
e5088dc6
AJ
197 [BZ#14767]
198 * elf/Makefile (tests): Remove conditional for have-initfini-array
199 since this is now always required and the variable does not exist
200 anymore.
201 (tests-static): Likewise.
202 (modules-names): Likewise.
203
e7170363 204 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
205
206 * elf/tst-array1.c (fini_array): Make writeable so that it can be
207 merged with constructor/destructor.
208 (init_array): Likewise.
209 * elf/tst-array2dep.c (fini_array): Likewise.
210 (init_array): Likewise.
211
60457d8a
MF
2122012-10-29 Mike Frysinger <vapier@gentoo.org>
213
214 * manual/message.texi: Delete @cartouche tags.
215
8bece752
PT
2162012-10-29 Pino Toscano <toscano.pino@tiscali.it>
217
94ce799f
PT
218 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
219 EOPNOTSUPP.
220 * sysdeps/mach/hurd/fsync.c: Likewise.
221
8bece752
PT
222 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
223 [_POSIX_REALTIME_SIGNALS]: Change condition to
224 [_POSIX_REALTIME_SIGNALS > 0].
225
86ebe6b1
AJ
2262012-10-27 Andreas Jaeger <aj@suse.de>
227
228 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
229 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
230 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
231 [__WORDSIZE != 64]: Likewise.
232
54399c08
L
2332012-10-26 H.J. Lu <hongjiu.lu@intel.com>
234
235 * iconvdata/tst-table.sh: Remove ${SHELL}.
236 * iconvdata/tst-tables.sh: Likewise.
237
e2211bed
DM
2382012-10-25 David S. Miller <davem@davemloft.net>
239
240 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
241 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
242 of strtoull.
243
f303f97c
DM
244 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
245 ifunc-impl-list.c
246 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
247 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
248 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
249 file.
250
1e9d84cd
RM
2512012-10-25 Roland McGrath <roland@hack.frob.com>
252
253 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
254 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
255 __getdirentries.
256
df381762
JM
2572012-10-25 Joseph Myers <joseph@codesourcery.com>
258 Jim Blandy <jimb@codesourcery.com>
259
260 * scripts/cross-test-ssh.sh: New file.
261 * manual/install.texi (Configuring and compiling): Document use of
262 cross-test-ssh.sh.
263 * INSTALL: Regenerated.
264
bff64913
PT
2652012-10-25 Pino Toscano <toscano.pino@tiscali.it>
266
267 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
268 EOPNOTSUPP.
269
25fe8932
JM
2702012-10-25 Joseph Myers <joseph@codesourcery.com>
271
272 * Makeconfig (run-program-prefix): Fix comment.
273
cc1290d0
JM
2742012-10-24 Joseph Myers <joseph@codesourcery.com>
275 Jim Blandy <jimb@codesourcery.com>
276
277 * Makeconfig (test-wrapper): New variable,
278 (test-wrapper-env): Likewise.
279 [$(cross-compiling) = yes && $(test-wrapper) != ""]
280 (run-built-tests): Define to yes.
281 (run-program-prefix): Use $(test-wrapper).
282 (built-program-cmd): Likewise.
283 * Rules (make-test-out): Use $(test-wrapper-env) and
284 $(host-built-program-cmd).
285 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
286 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
287 tst-pathopt.sh.
288 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
289 $(test-wrapper-env) to tst-rtld-load-self.sh.
290 ($(objpfx)order2.out): Use $(test-wrapper).
291 ($(objpfx)tst-initorder.out): Likewise.
292 ($(objpfx)tst-initorder2.out): Likewise.
293 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
294 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
295 (test_wrapper_env): New variable. Use it to run ld.so.
296 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
297 Use it to run ld.so.
298 (test_wrapper_env): Likewise.
299 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
300 $(test-wrapper) to run-iconv-test.sh.
301 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
302 (ICONV): Use $test_wrapper.
303 * posix/Makefile ($(objpfx)globtest.out): Pass
304 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
305 globtest.sh, not $(run-program-prefix).
306 * posix/globtest.sh (run_via_rtld_prefix): New variable.
307 (test_wrapper): Likewise.
308 (test_wrapper_env): Likewise. Use it to run globtest with HOME
309 set together with run_via_rtld_prefix.
310 (run_program_prefix): Define in terms of test_wrapper and
311 run_via_rtld_prefix.
312
6e6249d0
RM
3132012-10-24 Roland McGrath <roland@hack.frob.com>
314
315 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
316 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
317 Targets removed.
318
319 [BZ #14743]
320 * include/time.h: Remove librt_hidden_proto (clock_gettime).
321 Declare __clock_getres, __clock_gettime, __clock_settime,
322 __clock_nanosleep, and __clock_getcpuclockid.
323 * rt/clock_gettime.c: Define __clock_gettime as an alias.
324 Remove librt_hidden_def (clock_gettime).
325 * sysdeps/unix/clock_gettime.c: Likewise.
326 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
327 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
328 * rt/clock_getres.c: Define __clock_getres as an alias.
329 * sysdeps/posix/clock_getres.c: Likewise.
330 * rt/clock_settime.c: Define __clock_settime as an alias.
331 * sysdeps/unix/clock_settime.c: Likewise.
332 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
333 * sysdeps/unix/clock_nanosleep.c: Likewise.
334 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
335 * rt/clock-compat.c: New file.
336 * rt/Makefile (librt-routines): Add clock-compat and move
337 $(clock-routines) to ...
338 (routines): ... here, new variable.
339 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
340 Don't add get_clockfreq here.
341 * rt/Versions (libc: GLIBC_2.17): New version set.
342 Add clock_* symbols here.
343 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
344 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
345 (GLIBC_2.17): Add clock_* symbols.
346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
348 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
350 Likewise.
351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
352 Likewise.
353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
357 * NEWS: Mention the move.
358
359 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
360 Use __open, __read, __close rather than their public counterparts.
361 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
362 (__get_clockfreq_via_cpuinfo): Likewise.
363 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
364 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
365
366 * config.h.in (HAVE_IFUNC): New #undef.
367 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
368 was successful.
369 * configure: Regenerated.
370
0cae3f4b
MF
3712012-10-24 Mike Frysinger <vapier@gentoo.org>
372
373 * configure.in: Move READELF check to start of file.
374 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
375 libc_cv_asm_gnu_indirect_function in the process.
376 * configure: Regenerated.
377
8175a253
MF
3782012-10-24 Mike Frysinger <vapier@gentoo.org>
379
380 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
381 send the output to /dev/null.
382 (libc_cv_cc_with_libunwind): Likewise.
383 (libc_cv_as_noexecstack): Likewise.
384 * configure: Regenerate.
385
0708a7d1
JM
3862012-10-24 Joseph Myers <joseph@codesourcery.com>
387
10b40d85
JM
388 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
389
0708a7d1
JM
390 * posix/globtest.sh (TMPDIR): Do not set.
391 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
392 (testout): Likewise.
393
9fddec1a
AJ
3942012-10-24 Andreas Jaeger <aj@suse.de>
395
3a8db22f
AJ
396 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
397 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
398 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
399 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
400 posix_fadvise64, posix_fallocate64.
401
9fddec1a
AJ
402 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
403 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
404 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
405 Likewise.
406 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
407 Likewise.
408 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
409
410 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
411 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
412 <bits/fcntl-linux.h>.
413 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
414
415 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
416 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
417 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
418 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
419 [__WORDSIZE != 64]: Likewise.
420
ebfd1bbd
JM
4212012-10-23 Joseph Myers <joseph@codesourcery.com>
422
03ac099f
JM
423 * Makeconfig (run-built-tests): New variable.
424 * Rules [$(cross-compiling) = yes]: Change condition to
425 [$(run-built-tests) = no].
426 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
427 to [$(run-built-tests) = yes].
428 * elf/Makefile [$(cross-compiling) = no]: Likewise
429 * grp/Makefile [$(cross-compiling) = no]: Likewise.
430 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
431 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
432 * intl/Makefile [$(cross-compiling) = no]: Likewise.
433 * io/Makefile [$(cross-compiling) = no]: Likewise.
434 * libio/Makefile [$(cross-compiling) = no]: Likewise.
435 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
436 * misc/Makefile [$(cross-compiling) = no]: Likewise.
437 * posix/Makefile [$(cross-compiling) = no]: Likewise.
438 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
439 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
440 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
441 * string/Makefile [$(cross-compiling) = no]: Likewise.
442
ebfd1bbd
JM
443 * posix/Makefile ($(objpfx)globtest.out): Pass
444 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
445 $(rtld-installed-name).
446 * posix/globtest.sh (elf_objpfx): Remove variable.
447 (rtld_installed_name): Likewise.
448 (library_path): Likewise.
449 (run_program_prefix): New variable. Use for running globtest
450 binary.
451
166bca24
JB
4522012-10-23 Jim Blandy <jimb@codesourcery.com>
453 Joseph Myers <joseph@codesourcery.com>
454
455 * Makeconfig (host-built-program-cmd): New variable.
456 * elf/Makefile (tst-stackguard1-ARGS): Use
457 $(host-built-program-cmd).
458 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
459 (tst-spawn-ARGS): Likewise.
460 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
461
88866099
JM
4622012-10-23 Joseph Myers <joseph@codesourcery.com>
463 Jim Blandy <jimb@codesourcery.com>
464
465 * Makeconfig (run-via-rtld-prefix): New variable.
466 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
467 (built-program-cmd): Likewise.
468
b4b4c296
AJ
4692012-10-22 Andreas Jaeger <aj@suse.de>
470
471 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
472 __O_RSYNC if it exists, otherwise to O_SYNC.
473
6fb54a22
JB
4742012-10-22 Jim Blandy <jimb@codesourcery.com>
475 Joseph Myers <joseph@codesourcery.com>
476
477 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
478 /dev/null.
479 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
480 from /dev/null
481 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
482 /dev/null.
483
481b90b9
AJ
4842012-10-22 Andreas Jaeger <aj@suse.de>
485
2a0e2669
AJ
486 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
487 Define always.
488 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
489
76e38f9a
AJ
490 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
491 bits/fcntl-linux.h.
492
7cd37b43
AJ
493 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
494 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
495
481b90b9
AJ
496 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
497 to __O_LARGEFILE.
498 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
499 to __O_LARGEFILE.
500
aba75984
JB
5012012-10-21 Jim Blandy <jimb@codesourcery.com>
502 Joseph Myers <joseph@codesourcery.com>
503
504 * config.make.in (NM): New variable.
505
88d4247f
AJ
5062012-10-21 Andreas Jaeger <aj@suse.de>
507
508 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
509 definitions and declarations that are provided by
510 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
511
f2eed205
L
5122012-10-20 H.J. Lu <hongjiu.lu@intel.com>
513
514 [BZ #14683]
515 * elf/Makefile (tests-static): Add tst-leaks1-static.
516 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
517 ($(objpfx)tst-leaks1-static): New rule.
518 ($(objpfx)tst-leaks1-static-mem): Likewise.
519 (tst-leaks1-static-ENV): New macro.
520 * elf/dl-open.c (dl_open_worker): Check the main application
521 only if SHARED is defined.
522 * elf/tst-leaks1-static.c: New file.
523
335e6931
AJ
5242012-10-20 Andreas Jaeger <aj@suse.de>
525
526 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
527 generic values for Linux.
528 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
529 and declarations that are provided by <bits/fcntl-linux.h> and
530 include <bits/fcntl-linux.h>.
531 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
532 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
533
ac5c94d3
RM
5342012-10-20 Roland McGrath <roland@hack.frob.com>
535
536 * io/fcntl.h: Move include of <bits/types.h> to the top and
537 include it unconditionally.
538
de54b33a
L
5392012-10-20 H.J. Lu <hongjiu.lu@intel.com>
540
228cfb01
L
541 * wcsmbs/Makefile (tests-ifunc): New variable.
542 (tests): Add $(tests-ifunc).
543 * wcsmbs/test-wcschr-ifunc.c: New file.
544 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
545 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
546 * wcsmbs/test-wcslen-ifunc.c: Likewise.
547 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
548 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
549
69f07e5f
L
550 * string/Makefile (tests-ifunc): New variable.
551 (tests): Add $(tests-ifunc).
552 * string/test-memccpy.c (TEST_NAME): New macro.
553 * string/test-memchr.c (TEST_NAME): Likewise.
554 * string/test-memcmp.c (TEST_NAME): Likewise.
555 * string/test-memcpy.c (TEST_NAME): Likewise.
556 * string/test-memmem.c (TEST_NAME): Likewise.
557 * string/test-memmove.c (TEST_NAME): Likewise.
558 * string/test-memset.c (TEST_NAME): Likewise.
559 * string/test-rawmemchr.c (TEST_NAME): Likewise.
560 * string/test-stpcpy.c (TEST_NAME): Likewise.
561 * string/test-stpncpy.c (TEST_NAME): Likewise.
562 * string/test-strcasecmp.c (TEST_NAME): Likewise.
563 * string/test-strcasestr.c (TEST_NAME): Likewise.
564 * string/test-strcat.c (TEST_NAME): Likewise.
565 * string/test-strchr.c (TEST_NAME): Likewise.
566 * string/test-strcmp.c(TEST_NAME): Likewise.
567 * string/test-strcpy.c (TEST_NAME): Likewise.
568 * string/test-strcspn.c (TEST_NAME): Likewise.
569 * string/test-strlen.c (TEST_NAME): Likewise.
570 * string/test-strncasecmp.c (TEST_NAME): Likewise.
571 * string/test-strncmp.c (TEST_NAME): Likewise.
572 * string/test-strncpy.c (TEST_NAME): Likewise.
573 * string/test-strnlen.c (TEST_NAME): Likewise.
574 * string/test-strpbrk.c (TEST_NAME): Likewise.
575 * string/test-strrchr.c (TEST_NAME): Likewise.
576 * string/test-strspn.c (TEST_NAME): Likewise.
577 * string/test-strstr.c (TEST_NAME): Likewise.
578 * string/test-bcopy-ifunc.c: New file.
579 * string/test-bzero-ifunc.c: Likewise.
580 * string/test-memccpy-ifunc.c: Likewise.
581 * string/test-memchr-ifunc.c: Likewise.
582 * string/test-memcmp-ifunc.c: Likewise.
583 * string/test-memcpy-ifunc.c: Likewise.
584 * string/test-memmem-ifunc.c: Likewise.
585 * string/test-memmove-ifunc.c: Likewise.
586 * string/test-mempcpy-ifunc.c: Likewise.
587 * string/test-memset-ifunc.c: Likewise.
588 * string/test-rawmemchr-ifunc.c: Likewise.
589 * string/test-stpcpy-ifunc.c: Likewise.
590 * string/test-stpncpy-ifunc.c: Likewise.
591 * string/test-strcasecmp-ifunc.c: Likewise.
592 * string/test-strcasestr-ifunc.c: Likewise.
593 * string/test-strcat-ifunc.c: Likewise.
594 * string/test-strchr-ifunc.c: Likewise.
595 * string/test-strchrnul-ifunc.c: Likewise.
596 * string/test-strcmp-ifunc.c: Likewise.
597 * string/test-strcpy-ifunc.c: Likewise.
598 * string/test-strcspn-ifunc.c: Likewise.
599 * string/test-strlen-ifunc.c: Likewise.
600 * string/test-strncasecmp-ifunc.c: Likewise.
601 * string/test-strncat-ifunc.c: Likewise.
602 * string/test-strncmp-ifunc.c: Likewise.
603 * string/test-strncpy-ifunc.c: Likewise.
604 * string/test-strnlen-ifunc.c: Likewise.
605 * string/test-strpbrk-ifunc.c: Likewise.
606 * string/test-strrchr-ifunc.c: Likewise.
607 * string/test-strspn-ifunc.c: Likewise.
608 * string/test-strstr-ifunc.c: Likewise.
609
de54b33a
L
610 * debug/Makefile (tests-ifunc): New variable.
611 (tests): Add $(tests-ifunc).
612 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
613 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
614 * debug/test-stpcpy_chk-ifunc.c: New file.
615 * debug/test-strcpy_chk-ifunc.c: Likewise.
616
88481c16
SP
6172012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
618
619 [BZ #13601]
620 * elf/dl-load.c (open_verify): Retry read if the entire ELF
621 header is not read in.
622
135948bd
JM
6232012-10-19 Joseph Myers <joseph@codesourcery.com>
624
89f1c388
JM
625 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
626 script to $(SHELL) as $<. Pass $(common-objpfx) to script
627 directly. Pass built executable to script as
628 $(built-program-cmd).
629 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
630 $testprogram without using LD_LIBRARY_PATH and $ldso.
631
e40a0d21
JM
632 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
633 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
634 $(rtld-installed-name).
635 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
636 (rtld_installed_name): Likewise.
637 (library_path): Likewise.
638 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
639 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
640 $(run-program-prefix) to tst-tables.sh.
641 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
642 it to run tst-table-from and tst-table-to.
643 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
644 Pass it to tst-table.sh.
645 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
646 $(run-program-prefix) to tst-gettext.sh.
647 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
648 tst-translit.sh.
649 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
650 tst-gettext2.sh.
651 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
652 to run tst-gettext.
653 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
654 to run tst-gettext2.
655 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
656 to run tst-translit.
657 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
658 $(run-program-prefix) to tst-mtrace.sh.
659 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
660 to run tst-mtrace.
661 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
662 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
663 $(rtld-installed-name).
664 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
665 (rtld_installed_name): Likewise.
666 (run_program_prefix): New variable. Use it to run wordexp-test.
667
728e272a
JM
668 * Makeconfig (ARCH): Remove all definitions.
669 (machine): Likewise.
670 [ARCH]: Remove conditional code.
671 [!objdir]: Give error.
672 [!objdir] (objpfx): Remove.
673 [!objdir] (common-objpfx): Likewise.
674 [!objdir] (common-objdir): Likewise.
675 * configure.in (config_makefile): Remove. Hardcode Makefile in
676 AC_CONFIG_FILES call.
677 * configure: Regenerated.
678
d528cdcf
JM
679 [BZ #13888]
680 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
681 or TMPDIR.
682 (testout): Likewise.
683
135948bd
JM
684 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
685 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
686 $(rtld-installed-name).
687 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
688 (rtld_installed_name): Likwise.
689 (runit): Remove function.
690 (run_getconf): New variable, Use it for running getconf binary.
691
38c78296
L
6922012-10-18 H.J. Lu <hongjiu.lu@intel.com>
693
694 [BZ #14716]
695 * string/test-memmem.c (check_result): New function.
696 (do_one_test): Use it.
697 (check1): New function.
698 (test_main): Use it.
699
d077f65f
MT
7002012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
701
702 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
703
ced52c71
JM
7042012-10-18 Joseph Myers <joseph@codesourcery.com>
705
706 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
707 (_G_LSEEK64): Likewise.
708 (_G_MMAP64): Likewise.
709 (_G_FSTAT64): Likewise.
710 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
711 (_G_LSEEK64): Likewise.
712 (_G_MMAP64): Likewise.
713 (_G_FSTAT64): Likewise.
714 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
715 unconditional. Call __mmap64 directly.
716 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
717 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
718 __lseek64 directly.
719 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
720 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
721 __mmap64 directly.
722 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
723 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
724 __lseek64 directly.
725 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
726 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
727 __lseek64 directly.
728 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
729 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
730 __lseek64 directly.
731 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
732 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
733 __fxstat64 directly.
734 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
735 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
736 unconditional.
737 (freopen64) [!_G_OPEN64]: Remove conditional code.
738 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
739 unconditional.
740 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
741 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
742 unconditional.
743 (ftello64) [!_G_LSEEK64]: Remove conditional code.
744 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
745 unconditional.
746 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
747 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
748 unconditional.
749 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
750 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
751 unconditional.
752 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
753 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
754 unconditional.
755 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
756 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
757 unconditional.
758 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
759
b741de23
SP
7602012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
761
762 [BZ #12140]
763 * manual/memory.texi (Malloc Tunable Parameters): Add note
764 about free list pointers overwriting some perturb bytes.
765 Wording suggested by Roland McGrath.
766
f9b9d9c9
JM
7672012-10-17 Joseph Myers <joseph@codesourcery.com>
768
769 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
770 (lgamma_test): Likewise.
771 (tgamma_test): Likewise.
772
172a631a
FW
7732012-10-16 Florian Weimer <fweimer@redhat.com>
774
775 [BZ #14700]
776 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
777 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
778
e9f37252
MK
7792012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
780
781 * NEWS: Mention BZ #14716.
782 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
783 when removing AVAILABLE1_USES_J macro.
784
d394eb74
L
7852012-10-12 H.J. Lu <hongjiu.lu@intel.com>
786
787 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
788 (__bswap_64): __uint64_t for unsigned 64-bit int.
789
ca38dc17
AS
7902012-10-12 Andreas Schwab <schwab@linux-m68k.org>
791
792 * include/string.h (memmem): Declare libc hidden alias.
793 * string/memmem.c (memmem): Define libc hidden alias.
794 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
795 __read, __close instead of open, read, close.
796
9a387d1f
L
7972012-10-11 H.J. Lu <hongjiu.lu@intel.com>
798
ac49ecaf
L
799 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
800 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
801 global and hidden.
802 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
803 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
804 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
805 Likewise.
806 (__rawmemchr_sse2): Likewise.
807 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
808 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
809 (__strchr_sse2): Likewise.
810 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
811 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
812 (__strcasecmp_sse2): Likewise.
813 (__strncasecmp_sse2): Likewise.
814 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
815 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
816 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
817 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
818 (__strrchr_sse2): Likewise.
819 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
820 ifunc-impl-list.c.
821 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
822 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
823 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
824 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
825 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
826 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
827 * sysdeps/x86_64/multiarch/memset.S: Likewise.
828 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
829 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
830 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
831 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
832 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
833 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
834 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
835 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
836 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
837 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
838 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
839 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
840 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
841 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
842 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
843 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
844 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
845 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
846 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
847 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
848 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
849 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
850 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
851
b090e8ea
L
852 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
853 global and hidden.
854 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
855 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
856 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
857 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
858 Likewise.
859 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
860 Likewise.
861 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
862 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
863 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
864 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
865 ifunc-impl-list.c.
866 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
867 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
868 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
869 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
870 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
871 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
872 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
873 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
874 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
875 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
876 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
877 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
878 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
879 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
880 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
881 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
882 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
883 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
884 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
885 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
886 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
887 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
888 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
889 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
890 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
891 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
892 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
893 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
894 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
895 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
896 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
897 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
898 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
899 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
900 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
901 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
902 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
903 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
904 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
905 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
906 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
907
11dd4af6
L
908 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
909 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
910 * include/ifunc-impl-list.h: New file.
911 * misc/ifunc-impl-list.c: Likewise.
912 * misc/Makefile (routines): Add ifunc-impl-list.
913 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
914 * string/test-string.h: Include <ifunc-impl-list.h>.
915 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
916 impl_array): New variables.
917 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
918 are defined.
919 (test_init): Call __libc_ifunc_impl_list to initialize
920 func_list if TEST_IFUNC and TEST_NAME are defined.
921
9a387d1f
L
922 * string/Makefile (strop-tests): Add bcopy and bzero.
923 * string/test-bcopy.c: New file.
924 * string/test-bzero.c: Likewise.
925 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
926 defined.
927 * string/test-memset.c: Support bzero test if TEST_BZERO is
928 defined.
929 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
930 __libc_memmove.
931 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
932 __libc_memset.
933 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
934 of memset.
935
472371b9
JM
9362012-10-10 Joseph Myers <joseph@codesourcery.com>
937
1e4a9536
JM
938 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
939 * configure: Regenerated.
940
d173d12e
JM
941 * Makeconfig (+link-static-before-libc): Don't include
942 $(link-static-libc).
943
472371b9
JM
944 * libio/libio.h (_IO_pos_t): Remove.
945
89a3ad0b
AO
9462012-10-10 Alexandre Oliva <aoliva@redhat.com>
947
948 * NEWS: Add note about FIPS mode. Wording suggested by Roland
949 McGrath.
950
e7451425
AO
9512012-10-10 Alexandre Oliva <aoliva@redhat.com>
952
953 * crypt/crypt-entry.c: Include fips-private.h.
954 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
955 * crypt/md5c-test.c (main): Tolerate disabled MD5.
956 * sysdeps/unix/sysv/linux/fips-private.h: New file.
957 * sysdeps/generic/fips-private.h: New file, dummy fallback.
958
4ba74a35
AO
9592012-10-10 Alexandre Oliva <aoliva@redhat.com>
960
961 * crypt/crypt-private.h: Include stdbool.h.
962 (_ufc_setup_salt_r): Return bool.
963 * crypt/crypt-entry.c: Include errno.h.
964 (__crypt_r): Return NULL with EINVAL for bad salt.
965 * crypt/crypt_util.c (bad_for_salt): New.
966 (_ufc_setup_salt_r): Check that salt is long enough and within
967 the specified alphabet.
968 * crypt/badsalttest.c: New file.
969 * crypt/Makefile (tests): Add it.
970 ($(objpfx)badsalttest): New.
971
f96f1242
MK
9722012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
973
974 * NEWS: Add entry for BZ #14602.
975
0e8e0c1c
JM
9762012-10-09 Joseph Myers <joseph@codesourcery.com>
977
978 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
979 type-generic.
980 * math/libm-test.inc: Update comment listing what functions and
981 macros are tested.
982 (isgreater_test): New function.
983 (isgreaterequal_test): Likewise.
984 (isless_test): Likewise.
985 (islessequal_test): Likewise.
986 (islessgreater_test): Likewise.
987 (isunordered_test): Likewise.
988 (main): Call the new functions.
989
273edc5e
RM
9902012-10-09 Roland McGrath <roland@hack.frob.com>
991
b8493de0
RM
992 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
993 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
994 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
995 * sysdeps/i386/configure: Regenerated.
996 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
997 * sysdeps/mach/configure: Regenerated.
998 * sysdeps/mach/hurd/configure: Regenerated.
999 * sysdeps/powerpc/configure: Regenerated.
1000 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1001 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1002 * sysdeps/s390/s390-32/configure: Regenerated.
1003 * sysdeps/s390/s390-64/configure: Regenerated.
1004 * sysdeps/sh/configure: Regenerated.
1005 * sysdeps/sparc/configure: Regenerated.
1006 * sysdeps/unix/sysv/linux/configure: Regenerated.
1007 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1008 * sysdeps/x86_64/configure: Regenerated.
1009
273edc5e
RM
1010 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
1011 defined. Don't check if MAP is NULL.
1012
c8450f70
JM
10132012-10-09 Joseph Myers <joseph@codesourcery.com>
1014
1015 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
1016 (_G_stat64): Likewise.
1017 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
1018 (_G_stat64): Likewise.
1019 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
1020 instead of struct _G_stat64.
1021 * libio/fileops.c (mmap_remap_check): Likewise.
1022 (decide_maybe_mmap): Likewise.
1023 (_IO_new_file_seekoff): Likewise.
1024 (_IO_file_stat): Likewise.
1025 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
1026 _G_off64_t.
1027 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
1028 instead of struct _G_stat64.
1029 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1030
57e605ba
MK
10312012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
1032
1033 [BZ #14602]
1034 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1035 Replace with ...
1036 (CHECK_EOL): New macro.
1037 (two_way_short_needle): Check beginning of haystack for EOL. Use
1038 CHECK_EOL.
1039 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1040 Replace with CHECK_EOL.
1041 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1042 Replace with CHECK_EOL.
1043
ef1bb361
JM
10442012-10-08 Joseph Myers <joseph@codesourcery.com>
1045
1046 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
1047 type-generic.
1048 * math/libm-test.inc: Update comment listing what functions and
1049 macros are tested.
1050 (finite_test): New function.
1051 (isinf_test): Likewise.
1052 (isnan_test): Likewise.
1053 (fpclassify_test): Test subnormal input.
1054 (isfinite_test): Likewise.
1055 (isnormal_test): Likewise.
1056 (main): Call the new functions.
1057
55f11534
JN
10582012-10-08 Jonathan Nieder <jrnieder@gmail.com>
1059
1060 [BZ #14660]
1061 * Makerules (%.dynsym): Force C locale when running
1062 $(OBJDUMP) --dynamic-syms.
1063
1ab29350
AS
10642012-10-08 Andreas Schwab <schwab@linux-m68k.org>
1065
1066 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
1067 <stdint.h>.
1068
f1ecb7ef
DM
10692012-10-06 David S. Miller <davem@davemloft.net>
1070
1071 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
1072 upper 32-bits of the length value in %o2 since we use branch-on-register
1073 tests which consider the entire 64-bit register.
1074
5d41d91a
L
10752012-10-06 H.J. Lu <hongjiu.lu@intel.com>
1076
1077 * string/test-strstr.c (check2): Add a test for page boundary.
1078
3baddb72
DM
10792012-10-05 David S. Miller <davem@davemloft.net>
1080
1081 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
1082 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
1083 file.
1084 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1085 sysdep_routines.
1086 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1087 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
1088 and bzero when HWCAP_SPARC_CRYPTO is present.
1089
9cee5585
L
10902012-10-05 H.J. Lu <hongjiu.lu@intel.com>
1091
d7e0dab9
L
1092 [BZ #14602]
1093 * string/test-strstr.c (check2): New function.
1094 (test_main): Call check2.
1095
03759f47
L
1096 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
1097 and bug-strchr1.
1098 * string/bug-strcasestr1.c (do_test): Moved to ...
1099 * string/test-strcasestr.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-strchr1.c (do_test): 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-strstr1.c (main): Moved to ...
1111 * string/test-strchr.c (check1): Here. New function.
1112 (do_one_test): Break out result checking code into ...
1113 (check_result): This. New function.
1114 (do_one_test): Call check_result.
1115 (test_main): Call check1.
1116 * string/bug-strcasestr1.c: Removed.
1117 * string/bug-strchr1.c: Likewise.
1118 * string/bug-strstr1.c: Likewise.
1119
53cea63e
L
1120 * elf/Makefile (dl-routines): Add hwcaps.
1121 * elf/dl-support.c (_dl_important_hwcaps): Removed.
1122 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
1123 (_dl_important_hwcaps): Moved to ...
1124 * elf/dl-hwcaps.c: Here. New file.
1125 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
1126
9cee5585 1127 [BZ #14557]
bb859b06
L
1128 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
1129 if IS_IN_rtld isn't defined.
1130
9cee5585
L
1131 * elf/dl-support.c (_dl_sysinfo_map): New.
1132 Include "get-dynamic-info.h" and "setup-vdso.h".
1133 (_dl_non_dynamic_init): Call setup_vdso.
1134 * elf/dynamic-link.h: Don't include <assert.h>.
1135 (elf_get_dynamic_info): Moved to ...
1136 * elf/get-dynamic-info.h: Here. New file.
1137 * elf/dynamic-link.h: Include "get-dynamic-info.h".
1138 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
1139 * elf/setup-vdso.h: Here. New file.
1140 * elf/rtld.c: Include "setup-vdso.h".
1141 (dl_main): Call setup_vdso.
1142
23c31b76
JM
11432012-10-05 Joseph Myers <joseph@codesourcery.com>
1144
28234b07
JM
1145 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1146 creal in comment listing functions tested. List finite, isinf,
1147 isnan, isless, islessequal, isgreater, isgreaterequal,
1148 islessgreater, isunordered, lgamma_r and pow10 as functions and
1149 macros not tested. Mention which functions not tested are aliases
1150 for other functions. Fix typo. Note that signs of NaNs are not
1151 tested.
1152
23c31b76
JM
1153 * scripts/config.guess: Update from config.git.
1154 * scripts/config.sub: Likewise.
1155
9043e228
RM
11562012-10-04 Roland McGrath <roland@hack.frob.com>
1157
1158 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1159 * misc/madvise.c (madvise): Renamed to __madvise.
1160 Make madvise a weak alias.
1161 * include/sys/mman.h: Declare __madvise.
1162 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1163 * sysdeps/unix/syscalls.list
1164 (madvise): Make __madvise the strong name, and madvise a weak alias.
1165 * sysdeps/unix/sysv/linux/syscalls.list
1166 (madvise, mmap): Remove redundant entries.
1167 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1168 * malloc/malloc.c (mtrim): Likewise.
1169 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1170
f57f8055
RM
11712012-10-03 Roland McGrath <roland@hack.frob.com>
1172
1173 * sysdeps/mach/hurd/dl-cache.c: File removed.
1174 * config.h.in (USE_LDCONFIG): New #undef.
1175 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1176 * configure: Regenerated.
1177 * elf/Makefile (dl-routines): Add dl-cache only under
1178 [$(use-ldconfig) = yes].
1179 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1180 cache on [USE_LDCONFIG].
1181 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1182 [USE_LDCONFIG].
1183 * elf/rtld.c (dl_main): Likewise.
1184
5bb0c10a
PT
11852012-10-03 Pino Toscano <toscano.pino@tiscali.it>
1186
1187 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1188 _SC_LEVEL4_CACHE_LINESIZE.
1189
010188c6
RM
11902012-10-03 Roland McGrath <roland@hack.frob.com>
1191
1192 * sysdeps/unix/bsd/confstr.h: File removed.
1193
b6c5ec07
AO
11942012-10-02 Alexandre Oliva <aoliva@redhat.com>
1195
1196 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1197 sys/sdt-config.h.
1198
408223d4
RM
11992012-10-02 Roland McGrath <roland@hack.frob.com>
1200
1201 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1202 Make 'mapoff' field ElfW(Off) rather than off_t.
1203
bb9510dc
DL
12042012-10-02 Dmitry V. Levin <ldv@altlinux.org>
1205
fc997c6e
DL
1206 * nscd/Makefile: Remove nscd-cflags and all its users.
1207 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1208 (CFLAGS-nonlib): Add compiler flags for nscd modules.
1209
bb9510dc
DL
1210 [BZ #10631]
1211 * malloc.c (malloc_printerr): Clarify error message.
1212
05699367
L
12132012-10-02 H.J. Lu <hongjiu.lu@intel.com>
1214
1215 [BZ #14648]
1216 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1217 Set bit_FMA_Usable if FMA is supported.
1218 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1219 macro.
1220 (bit_FMA4_Usable): Updated.
1221 (index_FMA_Usable): New macro.
1222 (CPUID_FMA): Likewise
1223 (HAS_FMA): Defined with bit_FMA_Usable.
1224
51367701
RM
12252012-10-01 Roland McGrath <roland@hack.frob.com>
1226
1227 * bits/types.h (__swblk_t): Type removed.
1228 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1229 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1230 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1231 (__SWBLK_T_TYPE): Likewise.
1232 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1233 (__SWBLK_T_TYPE): Likewise.
1234 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1235 (__SWBLK_T_TYPE): Likewise.
1236 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1237 (__SWBLK_T_TYPE): Likewise.
1238
4d57bf63 12392012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 1240 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
1241
1242 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1243 (xdr_mapname): Use YPMAXMAP as maxsize.
1244 (xdr_peername): Use YPMAXPEER as maxsize.
1245 (xdr_keydat): Use YPAXRECORD as maxsize.
1246 (xdr_valdat): Use YPMAXRECORD as maxsize.
1247
93c65d43
RM
12482012-10-01 Roland McGrath <roland@hack.frob.com>
1249
497a03d6
RM
1250 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1251
93c65d43
RM
1252 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1253 * csu/init-first.c: ... here.
1254 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1255 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1256 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1257 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1258 * sysdeps/i386/init-first.c: File removed.
1259 * sysdeps/sh/init-first.c: File removed.
1260
bec749fd
JM
12612012-10-01 Joseph Myers <joseph@codesourcery.com>
1262
1263 [BZ #14645]
1264 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1265 if x * y might underflow to zero and z is zero.
1266 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1267 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1268 * math/libm-test.inc (min_subnorm_value): New variable.
1269 (fma_test): Add more tests.
1270 (fma_test_towardzero): Likewise.
1271 (fma_test_downward): Likewise
1272 (fma_test_upward): Likewise.
1273 (initialize): Set min_subnorm_value.
1274
8ec5b013
JM
12752012-09-29 Joseph Myers <joseph@codesourcery.com>
1276
1277 [BZ #14638]
1278 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1279 0 + 0.
1280 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1281 mode for addition resulting in exact zero.
1282 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1283 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1284 exact 0 + 0.
1285 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1286 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1287 * math/libm-test.inc (fma_test): Add more tests.
1288 (fma_test_towardzero): New function.
1289 (fma_test_downward): Likewise.
1290 (fma_test_upward): Likewise.
1291 (main): Call the new functions.
1292
b1fa802e
DM
12932012-09-28 David S. Miller <davem@davemloft.net>
1294
1295 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1296
d3b9fd9e
RM
12972012-09-28 Roland McGrath <roland@hack.frob.com>
1298
ea4d37b3
RM
1299 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1300 instead of SIGALRM.
1301
ac51c949
RM
1302 * sysdeps/gnu/_G_config.h: Moved to ...
1303 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1304 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1305 * sysdeps/generic/_G_config.h: ... here.
1306
28c195f7
RM
1307 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1308
848917f9
RM
1309 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1310
6bacf05b
RM
1311 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1312 Conditionalize target on [libnss_test1.so-version].
1313
91363dbb
RM
1314 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1315
cc87f7d8
RM
1316 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1317 (elfobjdir): Move out of conditionals.
1318
b1c608fe
RM
1319 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1320 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1321 (__nss_lookup_function): Conditionalize label remove_from_tree on
1322 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 1323
1d9a6d96
DM
13242012-09-28 David S. Miller <davem@davemloft.net>
1325
1326 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1327 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1328 file.
1329 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1330 sysdep_routines.
1331 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1332 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1333 when HWCAP_SPARC_CRYPTO is present.
1334
72581615
PT
13352012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1336
1337 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1338
715a900c
JL
13392012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1340
1341 [BZ #6530]
1342 * stdio-common/vfprintf.c (process_string_arg): Revert
1343 2000-07-22 change.
1344
13452011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1346
1347 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1348 for testcase.
1349 * stdio-common/tst-sprintf.c: Include <locale.h>
1350 (main): Test sprintf's handling of incomplete multibyte
1351 characters.
1352
9bac1d86
L
13532012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1354
1355 * elf/dl-runtime.c (VERSYMIDX): Removed.
1356 * elf/dl-version.c (VERSYMIDX): Likewise.
1357 * elf/do-rel.h (VERSYMIDX): Likewise.
1358 (VALIDX): Likewise.
1359 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1360 * elf/rtld.c (VALIDX): Likewise.
1361 (ADDRIDX): Likewise.
9bac1d86
L
1362 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1363 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1364 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
1365 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1366 (VALIDX): Likewise.
1367 (ADDRIDX): Likewise.
9bac1d86 1368
b31606c0
PT
13692012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1370
1371 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1372
11541177
JL
13732012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1374
1375 [BZ #11438]
1376 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1377 to global scope.
1378 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1379 addresses are in the same scope as 192.0.2/24.
1380 * posix/gai.conf: Document new scope table defaults.
1381
adb26fae
SP
13822012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1383
1384 [BZ #5298]
1385 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1386 for ftell. Compute offsets from write pointers instead.
1387 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1388
4573c6b0
SP
13892012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1390
1391 [BZ #14543]
1392 * libio/Makefile (tests): New test case tst-fseek.
1393 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1394 combination works in wide mode.
1395 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1396 state when the external buffer state changes.
1397
aa9bbfe6
DM
13982012-09-27 David S. Miller <davem@davemloft.net>
1399
1400 [BZ #14376]
1401 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1402 pass reloc->r_addend in as the 'high' argument to
1403 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1404
784421e7
DM
1405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1406
c39bc8b8
PT
14072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1408
1409 * rt/tst-aio2.c: Include <pthread.h>.
1410 * rt/tst-aio3.c: Likewise.
1411
1ccc2399
SE
14122012-09-27 Steve Ellcey <sellcey@mips.com>
1413
1414 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1415
31ed4153
L
14162012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1417
25f5f885
L
1418 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1419 contents on [SHARED].
31ed4153 1420
b7bfe116
MP
14212012-09-26 Marek Polacek <polacek@redhat.com>
1422
1423 [BZ #14530]
1424 [BZ #13741]
1425 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1426 for C++ and GCC <4.3 as well as for non GCC compilers.
1427
43c4edba
MT
14282012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1429
1430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1431
6a1bf82f
RM
14322012-09-25 Roland McGrath <roland@hack.frob.com>
1433
1434 * Makefile.in (all, install): Declare with .PHONY.
1435 Reported by Michael Hope <michael.hope@linaro.org>.
1436
8ad11b9a
TMQMF
14372012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1438
1439 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1440 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1441 system header.
1442 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1443 Likewise.
1444 (sydep_routines): Add the new and the internal functions.
1445 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1446 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1448 (GLIBC_2.17): Add the new function.
1449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1450 (GLIBC_2.17): Likewise.
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1452 (GLIBC_2.17): Likewise.
1453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1454 (GLIBC_2.17): Likewise.
1455 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1456
7e2fca8d
AM
14572012-09-25 Alan Modra <amodra@gmail.com>
1458
1459 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1460 Add release barrier before setting once_control to say
1461 initialisation is done. Add hints on lwarx. Use macro in
1462 place of isync.
1463 (clear_once_control): Add release barrier.
1464
b87c4b24
JM
14652012-09-25 Joseph Myers <joseph@codesourcery.com>
1466
d032e0d2
JM
1467 [BZ #13629]
1468 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1469 specially.
1470 * math/s_clog10.c (__clog10): Likewise.
1471 * math/s_clog10f.c (__clog10f): Likewise.
1472 * math/s_clog10l.c (__clog10l): Likewise.
1473 * math/s_clogf.c (__clogf): Likewise.
1474 * math/s_clogl.c (__clogl): Likewise.
1475 * math/Makefile (libm-calls): Add x2y2m1.
1476 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1477 (__x2y2m1): Likewise.
1478 (__x2y2m1l): Likewise.
1479 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1480 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1481 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1482 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1483 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1484 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1485 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1486 * sysdeps/i386/fpu/libm-test-ulps: Update.
1487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1488
b87c4b24
JM
1489 [BZ #14621]
1490 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1491 int as type of variable DEPTH.
1492 (glob): Use size_t instead of int as type of variables NEWCOUNT
1493 and OLD_PATHC.
1494
6d3bf199
LD
14952012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1496
22bf5c17
LD
1497 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1498 Add s_sincosf-sse2.
1499 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1500 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1501 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1502 macros for using routine as __sincosf_ia32.
1503 Use macro for function declaration and weak_alias.
1504 * sysdeps/i386/fpu/libm-test-ulps: Update.
1505
1506 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1508
1509 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
1510 subnormal argument.
1511 * math/s_cexpf.c (__cexpf): Likewise.
1512 * math/s_csinf.c (__csinf): Likewise.
1513 * math/s_csinhf.c (__csinhf): Likewise.
1514 * math/s_ctanf.c (__ctanf): Likewise.
1515 * math/s_ctanhf.c (__ctanhf): Likewise.
1516 * math/s_ccosh.c (__ccoshf): Likewise.
1517 * math/s_cexp.c (__cexpl): Likewise.
1518 * math/s_csin.c (__csin): Likewise.
1519 * math/s_csinh.c (__csinh): Likewise.
1520 * math/s_ctan.c (__ctan): Likewise.
1521 * math/s_ctanh.c (ctanh): Likewise.
1522 * math/s_ccoshl.c (__ccoshl): Likewise.
1523 * math/s_cexpl.c (__cexpl): Likewise.
1524 * math/s_csinl.c (__csinl): Likewise.
1525 * math/s_csinhl.c (__csinhl): Likewise.
1526 * math/s_ctanl.c (__ctanl): Likewise.
1527 * math/s_ctanhl.c (__ctanhl): Likewise.
1528
203e5603
JM
15292012-09-25 Joseph Myers <joseph@codesourcery.com>
1530
1531 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1532 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1533 (_IO_off_t): Define to __off_t, not _G_off_t.
1534 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1535 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1536 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1537 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1538 type of __dummy and __dummy2 fields.
1539 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1540 (_G_ssize_t): Likewise.
1541 (_G_off_t): Likewise.
1542 (_G_pid_t): Likewise.
1543 (_G_uid_t): Likewise.
1544 (_G_wchar_t): Likewise.
1545 (_G_wint_t): Likewise.
1546 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1547 (_G_ssize_t): Likewise.
1548 (_G_off_t): Likewise.
1549 (_G_pid_t): Likewise.
1550 (_G_uid_t): Likewise.
1551 (_G_wchar_t): Likewise.
1552 (_G_wint_t): Likewise.
1553 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1554 (_G_ssize_t): Likewise.
1555 (_G_off_t): Likewise.
1556 (_G_pid_t): Likewise.
1557 (_G_uid_t): Likewise.
1558 (_G_wchar_t): Likewise.
1559 (_G_wint_t): Likewise.
1560
9fab36eb
SP
15612012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1562
1563 * malloc/arena.c: Include malloc-sysdep.h.
1564 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1565 is sufficient to shrink the heap or an unmap is needed.
1566 * sysdeps/generic/malloc-sysdep.h: New file. Define
1567 new function check_may_shrink_heap.
1568 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1569 new function check_may_shrink_heap.
1570
2b4f00d1
SP
15712012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1572
1573 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1574 comments.
1575
9a9028b1
DL
15762012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1577
57c69bef
DL
1578 * catgets/test-gencat.sh: Add "set -e".
1579 * elf/tst-pathopt.sh: Likewise.
1580 * grp/tst_fgetgrent.sh: Likewise.
1581 * iconvdata/run-iconv-test.sh: Likewise.
1582 * intl/tst-gettext.sh: Likewise.
1583 * intl/tst-gettext2.sh: Likewise.
1584 * intl/tst-gettext4.sh: Likewise.
1585 * intl/tst-gettext6.sh: Likewise.
1586 * intl/tst-translit.sh: Likewise.
1587 * io/ftwtest-sh: Likewise.
1588 * libio/test-freopen.sh: Likewise.
1589 * malloc/tst-mtrace.sh: Likewise.
1590 * posix/globtest.sh: Likewise.
1591 * posix/tst-getconf.sh: Likewise.
1592 * posix/wordexp-tst.sh: Likewise.
1593 * stdio-common/tst-printf.sh: Likewise.
1594 * stdio-common/tst-unbputc.sh: Likewise.
1595 * stdlib/tst-fmtmsg.sh: Likewise.
1596 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1597 * catgets/Makefile: Do not specify -e option when running
1598 testsuite shell scripts.
1599 * elf/Makefile: Likewise.
1600 * grp/Makefile: Likewise.
1601 * iconvdata/Makefile: Likewise.
1602 * intl/Makefile: Likewise.
1603 * io/Makefile: Likewise.
1604 * libio/Makefile: Likewise.
1605 * malloc/Makefile: Likewise.
1606 * posix/Makefile: Likewise.
1607 * stdio-common/Makefile: Likewise.
1608 * stdlib/Makefile: Likewise.
1609 * sysdeps/x86_64/Makefile: Likewise.
1610
9a9028b1
DL
1611 * io/ftwtest-sh: Add copyright header.
1612 * posix/globtest.sh: Likewise.
1613 * posix/tst-getconf.sh: Likewise.
1614 * posix/wordexp-tst.sh: Likewise.
1615 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1616
ced6f16e
L
16172012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1618
94b32c39
L
1619 [BZ #13679]
1620 * Makeconfig (+link): Defined as $(+link-static) if
1621 $(build-shared) isn't yes.
1622 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1623 isn't yes.
1624 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1625
189e935b
L
1626 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1627
ced6f16e
L
1628 [BZ #14562]
1629 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1630 new chunk size with MALLOC_ALIGN_MASK.
1631
a9f8e53a
JM
16322012-09-24 Joseph Myers <joseph@codesourcery.com>
1633
1634 [BZ #5044]
1635 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1636 <rounding-mode.h>.
1637 (__printf_fphex): Determine rounding using get_rounding_mode and
1638 round_away.
1639 * stdio-common/tst-printf-round.c (struct hex_test): New
1640 structure.
1641 (hex_tests): New variable.
1642 (test_hex_in_one_mode): New function.
1643 (do_test): Also run tests for hex float output.
1644
43153109
JM
16452012-09-21 Joseph Myers <joseph@codesourcery.com>
1646
1647 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1648 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1649 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1650 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1651 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1652 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1653 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1654 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1655
8a26625d
JM
16562012-09-20 Joseph Myers <joseph@codesourcery.com>
1657
1658 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1659 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1660 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1661 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1662
f3fd569c
DL
16632012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1664
1665 [BZ #14579]
1666 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1667 mode only.
1668 * elf/tst-rtld-load-self.sh: New test.
1669 * elf/Makefile: Run it.
1670
63bbedd4
JM
16712012-09-18 Joseph Myers <joseph@codesourcery.com>
1672
1673 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1674 (tst-writev-ENV): Remove.
1675 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1676
626f8b6a
CM
16772012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1678
1679 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1680
b7aaa4d6
JM
16812012-09-17 Joseph Myers <joseph@codesourcery.com>
1682
1683 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1684 unconditional.
1685 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1686 Likewise.
1687 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1688 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1689 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1690 Likewise.
1691
65513990
L
16922012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1693
1694 [BZ #14587]
1695 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1696 * config.make.in (have-cpp-asm-debuginfo): Removed.
1697 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1698 * configure: Regenerated.
1699
784761be
JM
17002012-09-14 Joseph Myers <joseph@codesourcery.com>
1701
1702 [BZ #5044]
1703 * stdio-common/printf_fp.c: Include <stdbool.h> and
1704 <rounding-mode.h>.
1705 (___printf_fp): Determine rounding using get_rounding_mode and
1706 round_away.
1707 * stdio-common/tst-printf-round.c: New file.
1708 * stdio-common/Makefile (tests): Add tst-printf-round.
1709 (link-libm): New variable.
1710 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1711
9503345f
L
17122012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1713
1714 [BZ #14576]
1715 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1716 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1717 Likewise.
1718 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1719 Likewise.
1720
ad35fc00
JM
17212012-09-13 Joseph Myers <joseph@codesourcery.com>
1722
1723 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1724 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1725 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1726 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1727
6c9b0f68
JM
17282012-09-12 Joseph Myers <joseph@codesourcery.com>
1729
1730 [BZ #14518]
1731 * include/rounding-mode.h: New file.
1732 * sysdeps/generic/get-rounding-mode.h: Likewise.
1733 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1734 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1735 (MAX_VALUE): New macro.
1736 (MIN_VALUE): Likewise.
1737 (overflow_value): New function.
1738 (underflow_value): Likewise.
1739 (round_and_return): Use overflow_value and underflow_value to
1740 determine return values in overflow and underflow cases. Use
1741 round_away to determine rounding depending on rounding mode.
1742 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1743 determine return values in overflow and underflow cases.
1744 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1745 (struct test_results): New structure.
1746 (struct test): Use struct test_results to store expected results
1747 for all rounding modes.
1748 (TEST): Include expected results for all rounding modes.
1749 (test_in_one_mode): New function.
1750 (do_test): Use test_in_one_mode to compute and check results.
1751 Check results for all rounding modes.
1752 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1753 $(link-libm).
1754
19fcedd5
AM
17552012-12-09 Allan McRae <allan@archlinux.org>
1756
1e9d84cd 1757 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 1758
8bbfd2f1
JM
17592012-09-11 Joseph Myers <joseph@codesourcery.com>
1760
1761 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1762 (_G_int32_t): Likewise.
1763 (_G_uint16_t): Likewise.
1764 (_G_uint32_t): Likewise.
1765 (_G_HAVE_BOOL): Likewise.
1766 (_G_HAVE_ATEXIT): Likewise.
1767 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1768 (_G_HAVE_IO_FILE_OPEN): Likewise.
1769 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1770 (_G_int32_t): Likewise.
1771 (_G_uint16_t): Likewise.
1772 (_G_uint32_t): Likewise.
1773 (_G_HAVE_BOOL): Likewise.
1774 (_G_HAVE_ATEXIT): Likewise.
1775 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1776 (_G_HAVE_IO_FILE_OPEN): Likewise.
1777 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1778 (_G_int32_t): Likewise.
1779 (_G_uint16_t): Likewise.
1780 (_G_uint32_t): Likewise.
1781 (_G_HAVE_BOOL): Likewise.
1782 (_G_HAVE_ATEXIT): Likewise.
1783 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1784 (_G_HAVE_IO_FILE_OPEN): Likewise.
1785
b1dc5912
L
17862012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1787
1788 * csu/libc-tls.c: Update copyright years.
1789
0e886ef9
JM
17902012-09-10 Joseph Myers <joseph@codesourcery.com>
1791
28361c5e
JM
1792 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1793 [!_G_USING_THUNKS]: Remove conditional code.
1794 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1795 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1796
0e886ef9
JM
1797 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1798 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1799 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1800 (_G_VTABLE_LABEL_PREFIX): Likewise.
1801 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1802 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1803 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1804 (_G_VTABLE_LABEL_PREFIX): Likewise.
1805 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1806 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1807 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1808 (_G_VTABLE_LABEL_PREFIX): Likewise.
1809 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1810
bcba7aa2
L
18112012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1812
1813 * libio/Makefile: Include ../Makeconfig before tests.
1814 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1815 only if $(build-shared) is yes.
1816
06585ee8
L
1817 * iconv/gconv_db.c: Update copyright years.
1818
80ccd52c
LD
18192012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1820
1821 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1822 unwind info if defined PIC. Fix special cases description.
1823 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1824
1825 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1826 DP_HI_MASK entry.
1827 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1828
691bc9c1
L
18292012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1830
3d9b46b3
L
1831 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1832
de2139a9
L
1833 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1834 is NULL.
1835
5ca78dd0
L
1836 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1837 (LDLIBS-tst-chk4): This.
1838 (LDFLAGS-tst-chk5): Renamed to ...
1839 (LDLIBS-tst-chk5): This.
1840 (LDFLAGS-tst-chk6): Renamed to ...
1841 (LDLIBS-tst-chk6): This.
1842 (LDFLAGS-tst-lfschk4): Renamed to ...
1843 (LDLIBS-tst-lfschk4): This.
1844 (LDFLAGS-tst-lfschk5): Renamed to ...
1845 (LDLIBS-tst-lfschk5): This.
1846 (LDFLAGS-tst-lfschk6): Renamed to ...
1847 (LDLIBS-tst-lfschk6): This.
1848
691bc9c1
L
1849 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1850 on $(common-objpfx)soversions.mk.
1851
65cafb1c
JM
18522012-09-07 Joseph Myers <joseph@codesourcery.com>
1853
1854 [BZ #10014]
1855 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1856 example host name.
1857
c78ab094
SP
18582012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1859
1860 * malloc/arena.c (arena_get_retry): New function that gets
1861 another arena for the caller to try its request on.
1862 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1863 current arena cannot fulfill the request.
1864 (__libc_memalign): Likewise.
1865 (__libc_memalign): Likewise.
1866 (__libc_pvalloc): Likewise.
1867 (__libc_calloc): Likewise.
1868
01f49f59
JT
18692012-09-05 John Tobey <john.tobey@gmail.com>
1870
1871 [BZ #13542]
1872 * manual/arith.texi (Operations on Complex): Fix description
1873 of carg branch cut.
1874
4c23fed5
JM
18752012-09-06 Joseph Myers <joseph@codesourcery.com>
1876
1d3c8572
JM
1877 [BZ #10014]
1878 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1879 host name.
1880
4c23fed5
JM
1881 [BZ #10038]
1882 * manual/memory.texi (Memory): Make order of menu items match
1883 order of sections.
1884
04570aaa
L
18852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1886
1887 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1888 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1889 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1890
b80af2f4
L
18912012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1892
1893 * csu/libc-tls.c (static_dtv): Renamed to ...
1894 (_dl_static_dtv): This. Make it global.
1895 (_dl_initial_dtv): Removed.
1896 (__libc_setup_tls): Updated.
1897 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1898 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1899 DL_INITIAL_DTV.
1900
2abe9f15
PM
19012012-09-06 Petr Machata <pmachata@redhat.com>
1902
1903 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1904 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1905 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1906 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1907
0948c3af
L
19082012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1909
1910 [BZ #14545]
1911 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1912 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1913 freeing dtv[-1].
1914
a5055ad1
L
19152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1916
1917 [BZ #14544]
1918 * Makeconfig (link-static-before-libc): Replace $(+prector)
1919 with $(+prectorT).
1920 (link-static-after-libc): Replace $(+postctor) with
1921 $(+postctorT).
1922 (link-bounded): Replace $(+prector)/$(+postctor) with
1923 $(+prectorT)/$(+postctorT).
1924 (+prectorT): New macro.
1925 (+postctorT): Likewise.
1926
ed8c2ecd
JM
19272012-09-06 Joseph Myers <joseph@codesourcery.com>
1928
1929 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1930 (round_str): Handle values above the maximum for IBM long double
1931 as inexact.
1932 * stdlib/tst-strtod-round.c (tests): Regenerated.
1933
14c996c8
AK
19342012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1935
1936 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1937 assembler flag.
1938 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1939 zarch_nohighgprs around the zarch optimized routines.
1940 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1941 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1942 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1943 for zarch.
1944
430d6ce6
DM
19452012-09-05 David S. Miller <davem@davemloft.net>
1946
1947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1948
ff04dda4
DM
1949 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1950 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1951 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1952 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1953 entries.
1954
24d4e01b
AO
19552012-09-05 Alexandre Oliva <aoliva@redhat.com>
1956
1957 * malloc/arena.c: Fold copyright years.
1958 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1959
61d58174
AO
19602012-09-05 Alexandre Oliva <aoliva@redhat.com>
1961
1962 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1963
20196a5e
AO
19642012-09-05 Alexandre Oliva <aoliva@redhat.com>
1965
1966 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1967
5c447383
AO
19682012-09-05 Alexandre Oliva <aoliva@redhat.com>
1969
1970 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1971 change internal state upon failure.
1972
fad64255
AO
19732012-09-05 Alexandre Oliva <aoliva@redhat.com>
1974
1975 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1976 * malloc/memusage.c (mmap): Likewise.
1977 (mmap64, mremap): Likewise. Adjust name in comment.
1978
1ffb8c90
SP
19792012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1980
1981 * libio/fileops.c: Fix typos in comments.
1982 * libio/oldfileops.c: Likewise.
1983 * libio/wfileops.c: Likewise.
1984
6ef9cc37
SP
19852012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1986
1987 [BZ #1349]
1988 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1989 (tst-malloc-usable-ENV): Set environment for test case.
1990 * malloc/hooks.c (malloc_check_get_size): New function to get
1991 requested size.
1992 * malloc/malloc.c (musable): Use malloc_check_get_size.
1993 * malloc/tst-malloc-usable.c: New test case.
1994
4d038ae3
AS
19952012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1996
1997 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1998
c4e85184
AM
19992012-09-05 Allan McRae <allan@archlinux.org>
2000
b9dafc56 2001 [BZ #13966]
c4e85184
AM
2002 * configure.in (CXX_SYSINCLUDES): Use compiler output to
2003 determine header location.
2004 * configure: Regenerated.
2005
e1343020
AS
20062012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2007
2008 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
2009 float format.
2010 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
2011 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
2012 format.
e1343020
AS
2013 (test): Regenerate.
2014
0a9f1987
DM
20152012-09-04 David S. Miller <davem@davemloft.net>
2016
2017 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
2018 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
2019 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2020
29237804
FW
20212012-09-04 Florian Weimer <fweimer@redhat.com>
2022
2023 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
2024 failures.
2025
edb3cb88
FW
2026 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
2027
60160d83
JM
20282012-09-04 Joseph Myers <joseph@codesourcery.com>
2029
2030 [BZ #9914]
2031 * libio/iogetdelim.c: Include <limits.h>.
2032 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
2033 + len + 1 would overflow.
2034
bcd6c8dc
AJ
20352012-09-03 Andreas Jaeger <aj@suse.de>
2036
2037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2038 * sysdeps/i386/fpu/libm-test-ulps: Update.
2039
4ffffbd2
LD
20402012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2041
2042 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2043 Add s_sinf-sse2, s_conf-sse2.
2044
2045 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
2046 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
2047 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
2048 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
2049
2050 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
2051 for using routine as __sinf_ia32.
2052 Use macro for function declaration and weak_alias.
2053 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
2054 for using routine as __cosf_ia32.
2055 Use macro for function declaration and weak_alias.
2056
2057 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
2058 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
2059
2060 * sysdeps/x86_64/fpu/s_sinf.S: New file.
2061 * sysdeps/x86_64/fpu/s_cosf.S: New file.
2062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2063
2064 * math/libm-test.inc (cos_test): Add more test cases.
2065 (sin_test): Likewise.
2066 (sincos_test): Likewise.
2067
511fa286
AK
20682012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2069
2070 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2071 (IFUNC_RESOLVE): Make pointers to the specialized implementations
2072 hidden.
2073 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2074
5f30cfec
L
20752012-09-02 H.J. Lu <hongjiu.lu@intel.com>
2076
2077 [BZ #14538]
2078 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
2079 first element of the GOT.
2080 (elf_machine_load_address): Return the difference between
2081 the runtime address of _DYNAMIC and elf_machine_dynamic ().
2082
0786794f
AM
20832012-09-01 Allan McRae <allan@archlinux.org>
2084
5f30cfec
L
2085 [BZ #13412]
2086 * configure.in (AWK): Require gawk version 3.0 or later.
2087 * configure: Regenerated.
0786794f 2088
26889eac
JM
20892012-09-01 Joseph Myers <joseph@codesourcery.com>
2090
2091 * sysdeps/unix/sysv/linux/kernel-features.h
2092 (__ASSUME_POSIX_CPU_TIMERS): Remove.
2093 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2094 [__NR_clock_getres]: Make code unconditional.
2095 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
2096 (clock_getcpuclockid): Remove code left unreachable by removal of
2097 conditionals.
2098 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
2099 code unconditional.
2100 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2101 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2102 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
2103 Make code unconditional.
2104 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2105 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2106 * sysdeps/unix/sysv/linux/clock_settime.c
2107 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
2108 conditional code.
2109 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
2110 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2111
d22e28b0
L
21122012-08-29 H.J. Lu <hongjiu.lu@intel.com>
2113
2114 [BZ #14476]
2115 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
2116 scripts/test-installation.pl.
2117
2118 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
2119 and $ld_so_version if it is set.
2120
050af9c4
SP
21212012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2122
2123 [BZ #14516]
2124 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
2125 failure if reading from procfs failed.
2126 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
2127
ad845c0b
JM
21282012-08-27 Joseph Myers <joseph@codesourcery.com>
2129
2130 * sysdeps/unix/sysv/linux/kernel-features.h
2131 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
2132 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2133 Remove conditional code.
2134 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2135 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
2136 Remove conditional code.
2137 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2138 * sysdeps/unix/sysv/linux/i386/fxstat.c
2139 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2140 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2141 * sysdeps/unix/sysv/linux/i386/fxstatat.c
2142 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2143 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2144 * sysdeps/unix/sysv/linux/i386/lxstat.c
2145 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2146 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2147 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2148 Remove conditional code.
2149 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2150 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2151 Remove conditional code.
2152 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2153 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2154 <kernel-features.h>.
2155 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2156 Remove.
2157 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2158 Remove conditional code.
2159 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2160 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2161 Remove conditional.
2162
5dbf56af
MF
21632012-08-27 Mike Frysinger <vapier@gentoo.org>
2164
2165 [BZ #5400]
2166 * NEWS: Add fixed bug number.
2167
d6e70f43
JM
21682012-08-27 Joseph Myers <joseph@codesourcery.com>
2169
7efb4737
JM
2170 [BZ #14519]
2171 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2172 underflowing exponent in case of negative sign.
2173 * stdlib/tst-strtod-round-data: Add more tests.
2174 * stdlib/tst-strtod-round.c (tests): Regenerated.
2175
af92131a
JM
2176 [BZ #3479]
2177 * stdlib/strtod_l.c (NDIG): Remove.
2178 (HEXNDIG): Likewise.
2179 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2180 smallest representable value.
2181 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2182 lie within an exact representation of 1/2 ulp of the result.
2183 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2184 unconditionally.
2185 (TENS_P9_IDX): Define unconditionally.
2186 (TENS_P9_SIZE): Likewise.
2187 (TENS_P10_IDX): Likewise.
2188 (TENS_P10_SIZE): Likewise.
2189 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2190 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2191 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2192 entries for 10^2^13 and 10^2^14.
2193 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2194 (TENS_P13_IDX): Define.
2195 (TENS_P13_SIZE): Likewise.
2196 (TENS_P14_IDX): Likewise.
2197 (TENS_P14_SIZE): Likewise.
2198 (_fpioconst_pow10): Change array size to
2199 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
2200 unconditional.
2201 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2202 1024]: Add entries for 10^2^13 and 10^2^14.
2203 [LAST_POW10 > _LAST_POW10]: Remove #error.
2204 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2205 (_fpioconst_pow10): Change array size to
2206 FPIOCONST_POW10_ARRAY_SIZE.
2207 * stdlib/gen-fpioconst.c: New file.
2208 * stdlib/gen-tst-strtod-round.c: Likewise.
2209 * stdlib/tst-strtod-round-data: Likewise.
2210 * stdlib/tst-strtod-round.c: Likewise.
2211 * stdlib/Makefile (tests): Add tst-strtod-round.
2212
d6e70f43
JM
2213 [BZ #14459]
2214 * stdlib/strtod_l.c: Include <stdint.h>.
2215 (NDEBUG): Do not define.
2216 (round_and_return): Change EXPONENT parameter to type intmax_t.
2217 Rearrange calculations to avoid internal overflow possibilities.
2218 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2219 Rearrange calculations to avoid internal overflow possibilities.
2220 Assert that number fits inside MPNSIZE limbs.
2221 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2222 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
2223 calculations and add assertions to avoid internal overflow
2224 possibilities. Add casts to avoid signed/unsigned operations.
2225 * stdlib/tst-strtod-overflow.c: New file.
2226 * stdlib/Makefile (tests): Add tst-strtod-overflow.
2227
1f529f7d
MP
22282012-08-25 Marek Polacek <polacek@redhat.com>
2229
2230 * time/time.h: Fix some typos in comments.
2231
59a629f1
RM
22322012-08-23 Roland McGrath <roland@hack.frob.com>
2233
2234 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2235 * posix/tst-rfc3484-2.c: Likewise.
2236 * posix/tst-rfc3484-3.c: Likewise.
2237
d3bafbc9
SM
22382012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2239
2240 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2241 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2242
4efcc022
JM
22432012-08-23 Joseph Myers <joseph@codesourcery.com>
2244
2245 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2246 #include of fxstatat64.c.
2247
3cc3ef96
RM
22482012-08-22 Roland McGrath <roland@hack.frob.com>
2249
f04e2132
RM
2250 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2251 * shadow/getspent_r.c: Likewise.
2252 * shadow/getspnam.c: Likewise.
2253 * shadow/getspnam_r.c: Likewise.
2254 * gshadow/getsgent.c: Likewise.
2255 * gshadow/getsgent_r.c: Likewise.
2256 * gshadow/getsgnam.c: Likewise.
2257 * gshadow/getsgnam_r.c: Likewise.
2258 * inet/getnetbyad.c: Likewise.
2259 * inet/getnetbyad_r.c: Likewise.
2260 * inet/getnetbynm.c: Likewise.
2261 * inet/getnetbynm_r.c: Likewise.
2262 * inet/getnetent.c: Likewise.
2263 * inet/getnetent_r.c: Likewise.
2264 * inet/getproto.c: Likewise.
2265 * inet/getproto_r.c: Likewise.
2266 * inet/getprtent.c: Likewise.
2267 * inet/getprtent_r.c: Likewise.
2268 * inet/getprtname.c: Likewise.
2269 * inet/getprtname_r.c: Likewise.
2270 * inet/getrpcbyname.c: Likewise.
2271 * inet/getrpcbyname_r.c: Likewise.
2272 * inet/getrpcbynumber.c: Likewise.
2273 * inet/getrpcbynumber_r.c: Likewise.
2274 * inet/getrpcent.c: Likewise.
2275 * inet/getrpcent_r.c: Likewise.
2276 * inet/getaliasent.c: Likewise.
2277 * inet/getaliasent_r.c: Likewise.
2278 * inet/getaliasname.c: Likewise.
2279 * inet/getaliasname_r.c: Likewise.
2280 * nscd/getgrgid_r.c: Likewise.
2281 * nscd/getgrnam_r.c: Likewise.
2282 * nscd/gethstbyad_r.c: Likewise.
2283 * nscd/gethstbynm3_r.c: Likewise.
2284 * nscd/getpwnam_r.c: Likewise.
2285 * nscd/getpwuid_r.c: Likewise.
2286 * nscd/getsrvbynm_r.c: Likewise.
2287 * nscd/getsrvbypt_r.c: Likewise.
2288 * nscd/gai.c: Likewise.
2289
c53d909c
RM
2290 * configure.in (build_nscd): New substituted variable, set
2291 by --disable-build-nscd and defaults to $use_nscd.
2292 * configure: Regenerated.
2293 * config.make.in (build-nscd): New substituted variable.
2294 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2295 Change conditional to require [$(build-nscd) = yes] as well.
2296 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2297
3cc3ef96
RM
2298 [BZ# 13696]
2299 * configure.in (use_nscd): New substituted variable, set by
2300 --disable-nscd. If enabled, define USE_NSCD.
2301 * configure: Regenerated.
2302 * config.h.in: Add USE_NSCD.
2303 * config.make.in (use-nscd): New substituted variable.
2304 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2305 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2306 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2307 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2308 (CFLAGS-getgrnam_r.c): Likewise.
2309 (CFLAGS-initgroups.c): Likewise.
2310 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2311 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2312 Variables removed.
2313 * inet/getnetgrent_r.c
2314 (nscd_setnetgrent): New function, broken out of ...
2315 (setnetgrent): ... here. Call it.
2316 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2317 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2318 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2319 * nscd/Makefile (routines, aux): Move definitions after include of
2320 Makeconfig. Conditionalize on [$(use-nscd) != no].
2321 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2322 Conditionalize on [USE_NSCD].
2323 (is_nscd, nscd_init_cb): Likewise.
2324 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2325 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2326 * nss/nss_db/db-init.c: Likewise.
2327 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2328 [USE_NSCD].
2329 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2330 (make_request): Use it.
2331 (cache_valid_p): New function.
2332 (__check_pf): Use it.
2333 * NEWS: Add item for --disable-nscd.
2334
07e51550
DL
23352012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2336
2337 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2338 to support sed >= 4.2.1-20-ga9bf076.
2339 * configure: Regenerated.
2340
35a5b08b
RM
23412012-08-22 Roland McGrath <roland@hack.frob.com>
2342
2343 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2344 Conditionalize whole body on [IREL].
2345
8479f23a
JL
23462012-08-22 Jeff Law <law@redhat.com>
2347
2348 [BZ #14505]
2349 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2350 if the family is PF_UNSPEC.
2351
48da0b21
MF
23522012-08-22 Mike Frysinger <vapier@gentoo.org>
2353
2354 * Makerules (lib-version): Rename from V.
2355 (install-lib-nosubdir): Change V to lib-version.
2356
15d0da8c
WS
23572012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2358
2359 [BZ #14252]
2360 * powerpc32/power6/wcschr.c: New file.
2361 * powerpc32/power6/wcscpy.c: New file.
2362 * powerpc32/power6/wcsrchr.c: New file.
2363 * powerpc64/power6/wcschr.c: New file.
2364 * powerpc64/power6/wcscpy.c: New file.
2365 * powerpc64/power6/wcsrchr.c: New file.
2366
bcca0895
MK
23672012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2368
2369 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2370 (two_way_short_needle): Use it.
5a4aaa33
RM
2371 * string/strstr.c (AVAILABLE1_USES_J): Define.
2372 * string/strcasestr.c: Likewise.
99677e57
MK
2373
2374 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2375 array references.
2376 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2377
400726de
MK
2378 [BZ #11607]
2379 * NEWS: Add an entry.
2380 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2381 define their defaults.
2382 (two_way_short_needle): Detect end-of-string on-the-fly.
2383 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2384 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2385 * string/bug-strcasestr1.c: New test.
2386 * string/Makefile: Run it.
2387
20a71f2c
MK
23882012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2389
2390 [BZ #11607]
2391 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2392 the first character.
2393
21ad0558
RM
23942012-08-21 Roland McGrath <roland@hack.frob.com>
2395
2396 * csu/elf-init.c (__libc_csu_irel): Function removed.
2397 * csu/libc-start.c (apply_irel): New function.
2398 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2399
0e1d9911
JM
24002012-08-21 Joseph Myers <joseph@codesourcery.com>
2401
2402 * sysdeps/unix/sysv/linux/kernel-features.h
2403 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2404 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2405 <kernel-features.h>.
2406 [__NR_fadvise64_64]: Make code unconditional.
2407 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2408 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2409 !__NR_fadvise64_64)]: Likewise.
2410 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2411 !__NR_fadvise64_64))]: Likewise.
2412 [__NR_fadvise64]: Make code unconditional.
2413 [!__NR_fadvise64]: Remove conditional code.
2414 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2415 <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/powerpc/powerpc32/posix_fadvise64.c: Do
2421 not 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 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2427 include <kernel-features.h>.
2428 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2429 unconditional.
2430 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2431 conditional code.
2432
14a50c9d
WS
24332012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2434
2435 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2436 slight instruction rearrangements per scrollpipe analysis.
2437 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2438
c0f4faf0
RM
24392012-08-20 Roland McGrath <roland@hack.frob.com>
2440
696da859
RM
2441 * manual/syslog.texi (syslog; vsyslog, closelog):
2442 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2443 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2444
c0f4faf0
RM
2445 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2446 DSOCAPS to match condition on defining it.
2447
348363b2
JM
24482012-08-20 Joseph Myers <joseph@codesourcery.com>
2449
a35cbf28
JM
2450 * sysdeps/unix/sysv/linux/kernel-features.h
2451 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2453 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2454 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2456 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2457 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2459 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2460 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2461
445f7ecd
JM
2462 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2463 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2464
348363b2
JM
2465 * sysdeps/unix/sysv/linux/kernel-features.h
2466 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2467 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2468 unconditional.
2469 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2470 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2471 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2472 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2473 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2474 Make code unconditional.
2475 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2476 (__mmap64) [!__NR_mmap2]: Likewise.
2477 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2478 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2479 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2480 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2481 [__NR_mmap2]: Make code unconditional.
2482 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2483 (__mmap64) [!__NR_mmap2]: Likewise.
2484
bc5bc0e5
AK
24852012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2486
2487 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2488
88d506de
AJ
24892012-08-18 Andreas Jaeger <aj@suse.de>
2490
2491 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2492
493387d2
MF
24932012-08-18 Mike Frysinger <vapier@gentoo.org>
2494
2495 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2496 * include/unistd.h (__have_sock_cloexec): Likewise.
2497 (__have_pipe2): Likewise.
2498 (__have_dup3): Likewise.
2499
a277af22
MF
25002012-08-18 Mike Frysinger <vapier@gentoo.org>
2501
2502 [BZ #9685]
2503 * include/unistd.h (__have_pipe2): Change define into an extern int.
2504 (__have_dup3): Likewise.
2505 * socket/have_sock_cloexec.c: Include fcntl.h.
2506 (__have_pipe2): New variable.
2507 (__have_dup3): Likewise.
2508
fdab8fd3
MF
25092012-08-17 Mike Frysinger <vapier@gentoo.org>
2510
2511 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2512
31035e80
MP
25132012-08-17 Marek Polacek <polacek@redhat.com>
2514
2515 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2516 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2517
3bd9e993
RM
25182012-08-17 Roland McGrath <roland@hack.frob.com>
2519
c91c505f
RM
2520 * configure.in: Add AC_SUBST for sysheaders.
2521 * configure: Regenerated.
2522 * config.make.in (sysheaders): New substituted variable.
2523
7c6f9d53
RM
2524 * sysdeps/unix/mkfifo.c: Moved ...
2525 * sysdeps/posix/mkfifo.c: ... here.
2526 * sysdeps/unix/mkfifoat.c: Moved ...
2527 * sysdeps/posix/mkfifoat.c: ... here.
2528
2529 * sysdeps/unix/utime.c: Moved ...
2530 * sysdeps/posix/utime.c: ... here.
2531
2532 * sysdeps/unix/time.c: Moved ...
2533 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
2534 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2535 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
2536
2537 * sysdeps/unix/nice.c: Moved ...
2538 * sysdeps/posix/nice.c: ... here.
2539
2540 * sysdeps/unix/alarm.c: Moved ...
2541 * sysdeps/posix/alarm.c: ... here.
2542
3bd9e993
RM
2543 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2544
d1f09384
JL
25452012-08-17 Jeff Law <law@redhat.com>
2546
2547 * intl/Makefile (codeset_mo): New variable.
2548 ($(codeset_mo)): New target.
2549 (tst-codeset.out): Depend on that. Remove explicit rule.
2550 (tst-gettext3.out, tst-gettext5.out): Likewise.
2551 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2552 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2553 * intl/tst-codeset.sh: Remove.
2554 * intl/tst-gettext3.sh: Likewise.
2555 * intl/tst-gettext5.sh: Likewise.
2556
2ae1ae5c
RM
25572012-08-17 Roland McGrath <roland@hack.frob.com>
2558
c31fdb83
RM
2559 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2560 * sysdeps/unix/syscalls.list: ... here.
2561
a0844057
RM
2562 * sysdeps/posix/getaddrinfo.c
2563 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2564 (gaiconf_init, gaiconf_reload): Use them.
2565 [!_STATBUF_ST_NSEC]
2566 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2567 Define using time_t rather than struct timespec.
2568
750c1f2a
RM
2569 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2570 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2571 Macros removed.
2572 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2573 [!NO_THREADS].
2574 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2575 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2576 Likewise.
2577
2ae1ae5c
RM
2578 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2579 __libc_cleanup_push argument.
2580
e66a42f5
RM
2581 * bits/param.h: New file.
2582 * misc/sys/param.h: New file.
2583 * include/sys/param.h: New file.
2584 * misc/Makefile (headers): Add bits/param.h.
2585 * sysdeps/generic/sys/param.h: File removed.
2586 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2587 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2588 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 2589 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 2590
b7c08a66
RM
2591 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2592 last change.
2593
b2e1c562
RM
2594 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2595 [_IO_MTSAFE_IO].
2596 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2597 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2598 New macros.
2599
c75ccd4c
RM
2600 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2601 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2602 rather than -D_IO_MTSAFE_IO conditionally.
2603 * stdio-common/Makefile (CPPFLAGS): Likewise.
2604 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2605 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2606 Use $(libio-mtsafe).
2607 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2608 of -D_IO_MTSAFE_IO.
2609 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2610 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2611 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2612 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2613 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2614 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2615 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2616 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2617 (CFLAGS-fread_u_chk.c): Likewise.
2618 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2619 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2620 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2621 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2622 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2623 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2624 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2625 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2626 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2627
2628 * libio/Makefile: Test [$(libc-reentrant) = yes]
2629 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2630
2631 * Makeconfig
2632 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2633 * sysdeps/pthread/configure: File removed.
2634 * sysdeps/pthread/Makeconfig: New file.
2635 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2636 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2637
d9195db8
GB
26382012-08-16 Gary Benson <gbenson@redhat.com>
2639
2640 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2641 unmapping the first object in a namespace.
2642
86466cd9
RM
26432012-08-16 Roland McGrath <roland@hack.frob.com>
2644
2645 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2646 (__internal_setnetgrent): ... this. Add internal_function to
2647 definition. Add libc_hidden_def.
2648 (setnetgrent): Update caller.
2649 (internal_endnetgrent): Renamed to ...
2650 (__internal_endnetgrent): ... this. Add internal_function to
2651 definition. Add libc_hidden_def.
2652 (endnetgrent): Update caller.
2653 (internal_getnetgrent_r): Renamed to ...
2654 (__internal_getnetgrent_r): ... this. Add internal_function to
2655 definition. Add libc_hidden_def.
2656 (__getnetgrent_r): Update caller.
2657 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2658
c3c8283c
JM
26592012-08-16 Joseph Myers <joseph@codesourcery.com>
2660
2661 * stdlib/longlong.h: Update from GCC.
2662
db1ee0a8
RM
26632012-08-16 Roland McGrath <roland@hack.frob.com>
2664
2665 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2666 on _QL, which is set by umul_ppmm but never used.
2667 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2668 variables, which are set by GMP macros but never used.
2669 * stdio-common/_itowa.c (_itowa): Likewise.
2670 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2671 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2672
30f69637
CD
26732012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2674
2675 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2676 struct La_sh_regs is not constant.
2677 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2678 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2679 and struct La_sparc64_regs are not constant.
2680
93a78ac4
JM
26812012-08-16 Joseph Myers <joseph@codesourcery.com>
2682
2683 * sysdeps/unix/sysv/linux/kernel-features.h
2684 (__ASSUME_POSIX_TIMERS): Remove.
2685 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2686 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2687 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2688 Make code unconditional.
2689 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2690 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2691 Make code unconditional.
2692 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2693 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2694 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2695 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2696 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2697 Make code unconditional.
2698 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2699 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2700 (__libc_missing_posix_timers): Remove.
2701
dd924cd7
RM
27022012-08-15 Roland McGrath <roland@hack.frob.com>
2703
4b4f2771
RM
2704 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2705 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2706
601c888b
RM
2707 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2708
176790a7
RM
2709 * elf/dl-sym.c: Include <stdlib.h>.
2710
329bc018
RM
2711 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2712 constants, which avoids warnings in 32-bit builds.
2713
e04e272d
RM
2714 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2715 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2716
952bf94a
RM
2717 * misc/lseek.c: File moved to ...
2718 * io/lseek.c: ... here.
2719
7c99b50a
RM
2720 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2721
dd924cd7
RM
2722 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2723 shifting LEN more than 31 bits at once.
2724
b3f479a8
LD
27252012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2726
2727 [BZ #14195]
8c4ae0d4
RM
2728 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2729 segmentation fault for a case of two empty input strings.
b3f479a8
LD
2730 * string/test-strncasecmp.c (check1): Renamed to...
2731 (bz12205): ...this.
2732 (bz14195): Add new testcase for two empty input strings and N > 0.
2733 (test_main): Call new testcase, adapt for renamed function.
2734
9c55864e
AJ
27352012-08-15 Andreas Jaeger <aj@suse.de>
2736
2737 [BZ #14090]
2738 * crypt/md5test2.c: New test, based on test supplied by Serge
2739 Belyshev <belyshev@depni.sinp.msu.ru>.
2740 * crypt/Makefile (xtests): Add md5test-giant..
2741 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2742
02dcb6c5
PE
27432012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2744
2745 [BZ #14090]
2746 * crypt/md5.c (md5_process_block): Don't assume the buffer
2747 length is less than 2**32.
2748 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2749 length is less than 2**64.
2750
a3f95dcc
RM
27512012-08-15 Roland McGrath <roland@hack.frob.com>
2752
be75d758
RM
2753 * string/str-two-way.h: Include <sys/param.h>.
2754 (MAX): Macro removed.
2755
7312ca90
RM
2756 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2757 Move #define and #undef of memmove to just before and after
2758 including <string.h>.
2759
9a0a5486
RM
2760 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2761 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2762 and after including <string.h>. Move declarations of
2763 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2764 to before #include "string/memmove.c".
2765
67cc348d
RM
2766 * include/dirent.h: Declare __getdirentries.
2767
a3f95dcc
RM
2768 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2769 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2770
ca98e171
MF
27712012-08-14 Mike Frysinger <vapier@gentoo.org>
2772
2773 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2774 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2775 * sysdeps/i386/configure: Regenerated.
2776 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2777 STABS_CURRENT_FILE, and STABS_FUN.
2778 (END): Remove call to STABS_FUN_END.
2779 (STABS_CURRENT_FILE1): Delete.
2780 (STABS_CURRENT_FILE): Likewise.
2781 (STABS_FUN): Likewise.
2782 (STABS_FUN_END): Likewise.
2783 (STABS_FUN2): Likewise.
2784 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2785 * sysdeps/x86_64/configure: Regenerated.
2786
5908bf46
RM
27872012-08-14 Roland McGrath <roland@hack.frob.com>
2788
2789 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 2790 * elf/dl-lookup.c: Likewise.
5908bf46 2791
f2c05b9e
JM
27922012-08-14 Joseph Myers <joseph@codesourcery.com>
2793
2794 * sysdeps/unix/sysv/linux/kernel-features.h
2795 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2796 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2797 unconditionally.
2798 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2799 unconditionally.
2800 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2801 condition on __ASSUME_CLONE_THREAD_FLAGS.
2802
e11f5155
AJ
28032012-08-14 Andreas Jaeger <aj@suse.de>
2804
2805 * sysdeps/i386/fpu/libm-test-ulps: Update.
2806
51a9ba86
MK
28072012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2808
2fdd4f78
AJ
2809 * include/atomic.h (atomic_exchange_and_add): Split into ...
2810 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2811 New atomic macros.
51a9ba86 2812
ba6cba9e
MT
28132012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2814
2815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2816
42443a47
JL
28172012-08-13 Jeff Law <law@redhat.com>
2818
2819 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2820 null byte in the output string.
2821
121dce05
JM
28222012-08-10 Joseph Myers <joseph@codesourcery.com>
2823
2824 * sysdeps/unix/sysv/linux/kernel-features.h
2825 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2826 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2827 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2828 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2829 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2830 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2831 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2832
bf51f568
JL
28332012-08-09 Jeff Law <law@redhat.com>
2834
2835 [BZ #13939]
2836 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2837 When avoid_arena is set, don't retry in the that arena. Pick the
2838 next one, whatever it might be.
2839 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2840 (arena_lock): Pass in new parameter to arena_get2.
2841 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2842 arena_get2.
2843 (__libc_malloc): Unify retrying after main arena failure with
2844 __libc_memalign version.
2845 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2846
f85fa270
L
28472012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2848
2849 [BZ #14166]
2850 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2851 to __redirect_strstr.
2852 (__strstr_sse42): Use typeof __redirect_strstr.
2853 (__strstr_ia32): Likewise.
2854 (__libc_strstr): New prototype.
2855 (strstr): Renamed to ...
2856 (__libc_strstr): This.
2857 (strstr): New strong alias of __libc_strstr.
2858 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2859 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2860 __redirect_time.
2861 Include <time.h>.
2862 (__libc_time): New prototype.
2863 (time_ifunc): Replace time with __libc_time.
2864 (time): New strong alias and hidden definition of __libc_time.
2865 (__GI_time): Remove strong alias.
2866 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2867 Include <stddef.h>.
2868 (memmove): Redefined to __redirect_memmove.
2869 (__memmove_sse2): Use typeof __redirect_memmove.
2870 (__memmove_ssse3): Likewise.
2871 (__memmove_ssse3_back): Likewise.
2872 (__libc_memmove): New prototype.
2873 (memmove): Renamed to ...
2874 (__libc_memmove): This.
2875 (memmove): New strong alias of __libc_memmove.
2876
33b4a91e
MS
28772012-08-08 Mark Salter <msalter@redhat.com>
2878
2879 * elf/elf.h
2880 (R_MN10300_TLS_GD): Define.
2881 (R_MN10300_TLS_LD): Likewise.
2882 (R_MN10300_TLS_LDO): Likewise.
2883 (R_MN10300_TLS_GOTIE): Likewise.
2884 (R_MN10300_TLS_IE): Likewise.
2885 (R_MN10300_TLS_LE): Likewise.
2886 (R_MN10300_TLS_DTPMOD): Likewise.
2887 (R_MN10300_TLS_DTPOFF): Likewise.
2888 (R_MN10300_TLS_TPOFF): Likewise.
2889 (R_MN10300_SYM_DIFF): Likewise.
2890 (R_MN10300_ALIGN): Likewise.
2891 (R_MN10300_NUM): Update.
2892
b36137f1
JM
28932012-08-08 Joseph Myers <joseph@codesourcery.com>
2894
2895 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2896 Remove.
2897
cdd915fd
RM
28982012-08-08 Roland McGrath <roland@hack.frob.com>
2899
a2433aac
RM
2900 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2901
cdd915fd
RM
2902 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2903 sysdeps/unix -> sysdeps/posix move.
2904 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2905
bf9b740a
AM
29062012-08-07 Allan McRae <allan@archlinux.org>
2907
2908 [BZ #14303]
2909 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2910 (SUNOS_CPP): Likewise.
2911 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2912 not found.
2913 (open_input): Call CPP using execvp.
2914
93df14ee
JM
29152012-08-07 Joseph Myers <joseph@codesourcery.com>
2916
2917 * sysdeps/unix/sysv/linux/kernel-features.h
2918 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2919 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2920 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2921 (__ASSUME_WAITID_SYSCALL): Likewise.
2922 * sysdeps/unix/sysv/linux/dl-execstack.c
2923 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2924 code unconditional.
2925 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2926 conditional code.
2927 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2928 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2929 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2930 code.
2931 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2932 unconditional.
2933 [__ASSUME_WAITID_SYSCALL]: Likewise.
2934 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2935
d34689de
RM
29362012-08-07 Roland McGrath <roland@hack.frob.com>
2937
a281decc
RM
2938 * sysdeps/unix/closedir.c: Renamed to ...
2939 * sysdeps/posix/closedir.c: ... here.
2940 * sysdeps/unix/dirfd.c: Renamed to ...
2941 * sysdeps/posix/dirfd.c: ... here.
2942 * sysdeps/unix/dirstream.h: Renamed to ...
2943 * sysdeps/posix/dirstream.h: ... here.
2944 * sysdeps/unix/fdopendir.c: Renamed to ...
2945 * sysdeps/posix/fdopendir.c: ... here.
2946 * sysdeps/unix/opendir.c: Renamed to ...
2947 * sysdeps/posix/opendir.c: ... here.
2948 * sysdeps/unix/readdir.c: Renamed to ...
2949 * sysdeps/posix/readdir.c: ... here.
2950 * sysdeps/unix/readdir_r.c: Renamed to ...
2951 * sysdeps/posix/readdir_r.c: ... here.
2952 * sysdeps/unix/rewinddir.c: Renamed to ...
2953 * sysdeps/posix/rewinddir.c: ... here.
2954 * sysdeps/unix/seekdir.c: Renamed to ...
2955 * sysdeps/posix/seekdir.c: ... here.
2956 * sysdeps/unix/telldir.c: Renamed to ...
2957 * sysdeps/posix/telldir.c: ... here.
2958 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2959 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2960 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2961 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2962
22895b47
RM
2963 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2964 * bits/fcntl.h: ... here.
2965
707a53b6
RM
2966 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2967 not 0.
2968 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2969 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2970 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2971 (struct flock): Move l_start, l_len to the beginning.
2972 Use __pid_t for l_pid.
2973 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2974 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2975 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2976 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2977 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2978 [__USE_LARGEFILE64] (struct flock64): New type.
2979 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2980
f0bd3e25
RM
2981 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2982 * bits/dirent.h: ... here.
2983
d34689de
RM
2984 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2985 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2986
6dad2c06
JM
29872012-08-07 Joseph Myers <joseph@codesourcery.com>
2988
2989 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2990 Change from 2.6.0 to 2.6.16.
2991 * sysdeps/unix/sysv/linux/configure: Regenerated.
2992 * sysdeps/unix/sysv/linux/kernel-features.h
2993 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2994 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2995 version.
2996 (__ASSUME_UTIMES): Likewise.
2997 (__ASSUME_CLONE_STOPPED): Remove.
2998 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2999 architectures, not kernel version.
3000 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
3001 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3002 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3003 (__ASSUME_WAITID_SYSCALL): Likewise.
3004 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
3005 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
3006 * README: State 2.6.16 as minimum Linux kernel version. Do not
3007 refer to older versions.
3008
03af9520
RM
30092012-08-06 Roland McGrath <roland@hack.frob.com>
3010
8e49df1d
RM
3011 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
3012 Define alphasort64 as an alias.
3013 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
3014 Define versionsort64 as an alias.
3015 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
3016 Define scandir64 as an alias.
3017 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
3018 Define scandirat64 as an alias.
3019 * dirent/alphasort64.c (alphasort64):
3020 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
3021 * dirent/versionsort64.c: Likewise.
3022 * dirent/scandir64.c: Likewise.
3023 * dirent/scandirat64.c: Likewise.
3024 * sysdeps/wordsize-64/alphasort.c: File removed.
3025 * sysdeps/wordsize-64/alphasort64.c: File removed.
3026 * sysdeps/wordsize-64/scandir.c: File removed.
3027 * sysdeps/wordsize-64/scandir64.c: File removed.
3028 * sysdeps/wordsize-64/scandirat.c: File removed.
3029 * sysdeps/wordsize-64/scandirat64.c: File removed.
3030 * sysdeps/wordsize-64/versionsort.c: File removed.
3031 * sysdeps/wordsize-64/versionsort64.c: File removed.
3032 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
3033 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
3034 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
3035 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
3036 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
3037 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
3038 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
3039 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
3040
3041 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
3042 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3043 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
3044 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3045 [defined __arch64__ || defined __sparcv9]
3046 (__INO_T_MATCHES_INO64_T): New macro.
3047 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3048 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
3049 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
3050 * sysdeps/unix/sysv/linux/bits/dirent.h
3051 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
3052 (_DIRENT_MATCHES_DIRENT64): New macro.
3053
03af9520
RM
3054 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
3055 Define lockf64 as an alias.
3056 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
3057 Define fseeko64 as an alias.
3058 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
3059 Define ftello64 as an alias.
3060 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
3061 Define _IO_fgetpos64 and fgetpos64 as aliases.
3062 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
3063 Define _IO_fsetpos64 and fsetpos64 as aliases.
3064 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
3065 Conditionalize body on this.
3066 * libio/fseeko64.c: Likewise.
3067 * libio/ftello64.c: Likewise.
3068 * libio/iofgetpos64.c: Likewise.
3069 * libio/iofsetpos64.c: Likewise.
3070 * sysdeps/wordsize-64/lockf.c: File removed.
3071 * sysdeps/wordsize-64/lockf64.c: File removed.
3072 * sysdeps/wordsize-64/fseeko.c: File removed.
3073 * sysdeps/wordsize-64/fseeko64.c: File removed.
3074 * sysdeps/wordsize-64/ftello.c: File removed.
3075 * sysdeps/wordsize-64/ftello64.c: File removed.
3076 * sysdeps/wordsize-64/iofgetpos.c: File removed.
3077 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
3078 * sysdeps/wordsize-64/iofsetpos.c: File removed.
3079 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
3080 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
3081 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
3082 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
3083 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
3084 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
3085 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
3086 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
3087 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
3088 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
3089 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
3090
3091 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3092 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3093 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
3094 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3095 [defined __arch64__ || defined __sparcv9]
3096 (__OFF_T_MATCHES_OFF64_T): New macro.
3097 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3098 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3099 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3100 (__OFF_T_MATCHES_OFF64_T): New macro.
3101
c5757acd
L
31022012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3103
3104 * stdlib/secure-getenv.c (__secure_getenv): Replace
3105 GLIBC_2_16 with GLIBC_2_17.
3106
3a31811e
L
31072012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3108
3109 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
3110 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3111
faa2bccb
DM
31122012-08-03 David S. Miller <davem@davemloft.net>
3113
3114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3115
85fe1997
JM
31162012-08-03 Joseph Myers <joseph@codesourcery.com>
3117
3118 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
3119 Remove.
3120 (__ASSUME_CORRECT_SI_PID): Likewise.
3121 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
3122 (__ASSUME_TMPFS_NAME): Likewise.
3123 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
3124 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
3125 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
3126 (HAVE_AUX_SECURE): Make definition unconditional.
3127 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
3128 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
3129
4f75b7a0
RM
31302012-08-03 Roland McGrath <roland@hack.frob.com>
3131
3132 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
3133 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
3134 * sysdeps/mach/hurd/eloop-threshold.h: New file.
3135 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3136 __eloop_threshold instead of SYMLOOP_MAX.
3137
3138 * sysdeps/generic/eloop-threshold.h: New file.
3139 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
3140 of MAXSYMLINKS.
3141 * elf/chroot_canon.c (chroot_canon): Likewise.
3142
7aab07e4
JM
31432012-08-03 Joseph Myers <joseph@codesourcery.com>
3144
3145 [BZ #13717]
3146 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3147 Change to 2.6.0 everywhere.
3148 * sysdeps/unix/sysv/linux/configure: Regenerated.
3149 * sysdeps/unix/sysv/linux/kernel-features.h
3150 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3151 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3152 kernel versions.
3153 (__ASSUME_POSIX_TIMERS): Define unconditionally.
3154 (__ASSUME_FUTEX_REQUEUE): Remove.
3155 (__ASSUME_STATFS64): Define unconditionally.
3156 (__ASSUME_AT_SECURE): Likewise.
3157 (__ASSUME_CORRECT_SI_PID): Likewise.
3158 (__ASSUME_TGKILL): Define without depending on kernel version for
3159 i386.
3160 (__ASSUME_UTIMES): Likewise.
3161 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3162 kernel version.
3163 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3164 (__ASSUME_TMPFS_NAME): Likewise.
3165 * README: Update reference to Linux kernel versions.
3166
b67e9372
MP
31672012-08-02 Marek Polacek <polacek@redhat.com>
3168
1f529f7d 3169 [BZ# 14150]
b67e9372
MP
3170 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
3171 libc_cv_asm_type_prefix with %.
3172 * configure: Regenerated.
d2441631
RM
3173 * include/libc-symbols.h: Remove comment about
3174 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
3175 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3176 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3177 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3178 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3179 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3180 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3181 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3182 * elf/tst-unique2mod1.c: Likewise.
3183 * elf/tst-unique1mod2.c: Likewise.
3184 * elf/tst-unique1mod1.c: Likewise.
3185 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3186 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3187 Replace ASM_TYPE_DIRECTIVE with .type.
3188 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3189 * sysdeps/i386/sysdep.h: Likewise.
3190 * sysdeps/x86_64/sysdep.h: Likewise.
3191 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
3192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3193 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 3194 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
3195 * sysdeps/powerpc/powerpc32/sysdep.h:
3196 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
3197 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3198 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3199 * sysdeps/i386/fpu/e_powf.S: Likewise.
3200 * sysdeps/i386/fpu/e_expl.S: Likewise.
3201 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3202 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3203 * sysdeps/i386/fpu/e_pow.S: Likewise.
3204 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3205 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3206 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3207 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3208 * sysdeps/i386/fpu/e_log2.S: Likewise.
3209 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3210 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3211 * sysdeps/i386/fpu/e_powl.S: Likewise.
3212 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3213 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3214 * sysdeps/i386/fpu/e_logl.S: Likewise.
3215 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3216 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3217 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3218 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3219 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3220 * sysdeps/i386/fpu/e_log.S: Likewise.
3221 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3222 * sysdeps/i386/fpu/e_logf.S: Likewise.
3223 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3224 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3225 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3226 * sysdeps/i386/fpu/e_log10.S: Likewise.
3227 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3228 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3229 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3230 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3231 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3232 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3233 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3234 * sysdeps/i386/i686/strtok.S: Likewise.
3235 * sysdeps/i386/i386-mcount.S: Likewise.
3236 * sysdeps/i386/strtok.S: Likewise.
3237 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3238 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3239 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3240 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3241 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3242 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3243 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3244 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3245 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3246 * sysdeps/x86_64/_mcount.S: Likewise.
3247 * sysdeps/x86_64/strtok.S: Likewise.
3248 * sysdeps/sh/_mcount.S: Likewise.
3249
2747bf9a
RM
32502012-08-01 Roland McGrath <roland@hack.frob.com>
3251
3252 * libio/iofopen.c: Include <fcntl.h>.
3253 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3254 (_IO_fopen64, fopen64): Define as aliases.
3255 * libio/iofopen64.c: Include <fcntl.h>.
3256 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3257 Conditionalize body on this.
3258 * sysdeps/wordsize-64/iofopen.c: File removed.
3259 * sysdeps/wordsize-64/iofopen64.c: File removed.
3260
3fb791b8
MP
32612012-08-01 Marek Polacek <polacek@redhat.com>
3262
3263 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3264 Use dlfcn directly instead of a variable.
3265 (binfmt-subdir): Do not define.
3266 (dlfcn): Likewise.
3267
a9f1039f
JM
32682012-08-01 Joseph Myers <joseph@codesourcery.com>
3269
23bddc06
JM
3270 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3271 Remove all definitions.
3272 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3273 <kernel-features.h>.
3274 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3275 (miss_F_GETOWN_EX): Remove all definitions.
3276 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3277 macro definition.
3278 [!__ASSUME_FCNTL64]: Remove conditional code.
3279 [__ASSUME_FCNTL64]: Make code unconditional.
3280 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3281 <kernel-features.h>.
3282 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3283 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3284 (lockf64) [__NR_fcntl64]: Make code unconditional.
3285 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3286
a9f1039f
JM
3287 * sysdeps/unix/sysv/linux/kernel-features.h
3288 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3289 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3290 Make code unconditional.
3291 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3292 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3294 [__NR_vfork]: Make code unconditional.
3295 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3296 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3298 [__NR_vfork]: Make code unconditional.
3299 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3300 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3301
09c0ee5f
RM
33022012-08-01 Roland McGrath <roland@hack.frob.com>
3303
48aec5b9
RM
3304 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3305 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3306
cd97c966
RM
3307 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3308 Define mkstemp64 as an alias.
3f55550c
RM
3309 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3310 Define mkstemps64 as an alias.
cd97c966
RM
3311 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3312 Define mkostemp64 as an alias.
b8625cfc
RM
3313 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3314 Define mkostemps64 as an alias.
cd97c966
RM
3315 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3316 Conditionalize body on this.
3317 * misc/mkostemp64.c: Likewise.
b8625cfc 3318 * misc/mkostemps64.c: Likewise.
3f55550c 3319 * misc/mkstemps64.c: Likewise.
cd97c966
RM
3320 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3321 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3322 * sysdeps/wordsize-64/mkostemp.c: File removed.
3323 * sysdeps/wordsize-64/mkstemp.c: File removed.
3324 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3325 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3326 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3327 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3328
09c0ee5f
RM
3329 [BZ #14138]
3330 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3331 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3332 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3333 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3334
3335 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3336 compat_symbol macros from <shlib-compat.h> rather than the underlying
3337 default_symbol_version and symbol_version macros, so that DEFAULT
3338 lines in shlib-versions are respected.
3339 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3340
7e66ee51
FW
33412012-08-01 Florian Weimer <fweimer@redhat.com>
3342
3343 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3344 Declare with warn_unused_result.
3345 (setgid, setregid, setegid, setresgid): Likewise.
3346 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3347 Likewise.
3348 * WUR-REPORT: Remove set*id functions.
3349
d2a54255
PT
33502012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3351
3352 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3353
7ecdb005
RM
33542012-07-31 Roland McGrath <roland@hack.frob.com>
3355
789bd351
RM
3356 * include/sys/socket.h (__libc_accept, __libc_accept4):
3357 Add attribute_hidden.
3358 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3359
40ce302d
RM
3360 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3361 use of PTR_MANGLE.
3362 * inet/getnetgrent_r.c (setup): Likewise.
3363
7ecdb005
RM
3364 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3365
e2eabb2c
DM
33662012-07-31 David S. Miller <davem@davemloft.net>
3367
3368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3369
d0419dbf
JM
33702012-07-31 Joseph Myers <joseph@codesourcery.com>
3371
3372 [BZ #13629]
3373 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3374 value between 1.0 and 2.0 and smaller part has absolute value less
3375 than 1.0.
3376 * math/s_clog10.c (__clog10): Likewise.
3377 * math/s_clog10f.c (__clog10f): Likewise.
3378 * math/s_clog10l.c (__clog10l): Likewise.
3379 * math/s_clogf.c (__clogf): Likewise.
3380 * math/s_clogl.c (__clogl): Likewise.
3381 * math/libm-test.inc (clog_test): Add more tests.
3382 (clog10_test): Likewise.
3383 * sysdeps/i386/fpu/libm-test-ulps: Update.
3384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3385
2bc13872
FW
33862012-07-31 Florian Weimer <fweimer@redhat.com>
3387
3388 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3389 Exit with zero in case no suitable GID is found, and write a
3390 message to standard error.
3391
bea9b193
RM
33922012-07-30 Roland McGrath <roland@hack.frob.com>
3393
3394 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3395 rather than to 1.
3396 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3397 (MAXPATHLEN): Removed.
3398 (NOGROUP, NODEV): New macros.
3399 (setbit, clrbit, isset, isclr): New macros.
3400 (howmany, roundup, powerof2): New macros.
3401 (DEV_BSIZE): New macro.
3402
3403 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3404 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3405
3406 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3407 definition on [!__NO_LONG_DOUBLE_MATH].
3408
3409 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3410 PTR_MANGLE and PTR_DEMANGLE.
3411
3412 * socket/accept4.c (accept4): Rename to __libc_accept4.
3413 Define accept4 as a weak alias.
3414
3415 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3416 on [_DIRENT_HAVE_D_TYPE].
3417 * io/ftw.c (ftw_dir): Likewise.
3418
3419 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3420
3421 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3422
3423 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3424 Use the BSD numbers rather than the arbitrary ones we had.
3425 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3426 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3427 (SIGXCPU, SIGXFSZ): New macros.
3428 (_NSIG): Now 32.
3429
3430 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3431 initializer on [_LIBC_REENTRANT].
3432
3433 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3434 definitions inside [_POSIX_MAPPED_FILES].
3435
3436 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3437
3438 * dirent/opendir.c: Include <fcntl.h>.
3439
3440 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3441 (__libc_getspecific): Likewise.
3442 (__libc_key_create): Likewise.
3443
3444 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3445 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3446 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3447 (tmpfile64): Define as alias.
3448 * sysdeps/wordsize-64/tmpfile.c: File removed.
3449 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3450 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3451 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3452
3453 * stdio-common/vfscanf.c: Include <stdbool.h>.
3454 * nss/makedb.c: Likewise.
3455 * stdio-common/_i18n_number.h: Likewise.
3456 * argp/argp-help.c: Likewise.
3457 * posix/wordexp.c: Likewise.
3458 * sysdeps/posix/spawni.c: Likewise.
3459 * nss/nss_files/files-initgroups.c: Likewise.
3460 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3461 * nss/nss_files/files-initgroups.c: Likewise.
3462 * nss/nss_db/db-netgrp.c: Likewise.
3463 * nss/nss_db/db-initgroups.c: Likewise.
3464 * io/fchmodat.c: Include <sys/stat.h>.
3465
3466 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3467 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3468
3469 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3470 [HAVE_MMAP].
3471
3472 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3473 Add multiple inclusion protection.
3474
e5abc686
DM
34752012-07-27 David S. Miller <davem@davemloft.net>
3476
3477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3478
815e6fa3
GB
34792012-07-27 Gary Benson <gbenson@redhat.com>
3480
3481 [BZ #14298]
3482 * elf/rtld.c: Include <stap-probe.h>.
3483 (dl_main): Added static probes "init_start" and "init_complete".
3484 * elf/dl-load.c: Include <stap-probe.h>.
3485 (lose): Take new parameter "nsid".
3486 Added static probe "map_failed".
3487 (_dl_map_object_from_fd): Pass namespace id to lose.
3488 Added static probe "map_start".
3489 (open_verify): Pass namespace id to lose.
3490 * elf/dl-open.c: Include <stap-probe.h>.
3491 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3492 and "reloc_complete".
3493 * elf/dl-close.c: Include <stap-probe.h>.
3494 (_dl_close_worker): Added static probes "unmap_start" and
3495 "unmap_complete".
3496 * elf/rtld-debugger-interface.txt: New file documenting the above.
3497
9f98c16c
RM
34982012-07-26 Roland McGrath <roland@hack.frob.com>
3499
3500 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3501 rather than a string variable.
3502 * sunrpc/rpc_main.c (h_output): Likewise.
3503 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3504
f3c22df3
PT
35052012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3506
3507 * inet/check_native.c: New file.
3508
3129cfc6
JM
35092012-07-26 Joseph Myers <joseph@codesourcery.com>
3510
da865e95
JM
3511 [BZ #13629]
3512 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3513 if larger part has absolute value 1.0.
3514 * math/s_clog10.c (__clog10): Likewise.
3515 * math/s_clog10f.c (__clog10f): Likewise.
3516 * math/s_clog10l.c (__clog10l): Likewise.
3517 * math/s_clogf.c (__clogf): Likewise.
3518 * math/s_clogl.c (__clogl): Likewise.
3519 * math/libm-test.inc (clog_test): Add more tests.
3520 (clog10_test): Likewise.
3521 * sysdeps/i386/fpu/libm-test-ulps: Update.
3522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3523
3129cfc6
JM
3524 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3525 (pltexit): Likewise.
3526 (La_regs): Likewise.
3527 (La_retval): Likewise.
3528 (int_retval): Likewise.
3529 Update #error for removed macros to refer only to definitions in
3530 tst-audit.h.
3531 * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.c (pltenter): Remove all definitions of
3556 macro.
3557 (pltexit): Likewise.
3558 (La_regs): Likewise.
3559 (La_retval): Likewise.
3560 (int_retval): Likewise.
3561 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3562 macro.
3563 (pltexit): Likewise.
3564 (La_regs): Likewise.
3565 (La_retval): Likewise.
3566 (int_retval): Likewise.
3567 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3568 macro definitions in tst-audit.h.
3569 * sysdeps/i386/tst-audit.h: New file.
3570 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3571 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3572 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3573 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3574 * sysdeps/sh/tst-audit.h: Likewise.
3575 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3576 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3577 * sysdeps/x86_64/tst-audit.h: Likewise.
3578
bfc07087
AJ
35792012-07-26 Andreas Jaeger <aj@suse.de>
3580
b1b2aaf8
AJ
3581 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3582 ptrace.
3583
3584 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3585 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3586 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3587 PTRACE_O_MASK.
3588 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3589 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3590 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3591
bfc07087
AJ
3592 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3593 value.
3594
3595 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3596 _sigsys.
3597 (si_call_addr, si_syscall, si_arch): Define new macro.
3598 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3599 _sigsys.
3600 (si_call_addr, si_syscall, si_arch): Define new marcro.
3601 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3602 _sigsys.
3603 (si_call_addr, si_syscall, si_arch): Define new macro.
3604 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3605 _sigsys.
3606 (si_call_addr, si_syscall, si_arch): Define new macro.
3607
89b4b02f
JM
36082012-07-25 Joseph Myers <joseph@codesourcery.com>
3609
3610 [BZ #13717]
3611 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3612 Change to 2.4.21 where previously 2.4.1.
3613 * sysdeps/unix/sysv/linux/configure: Regenerated.
3614 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3615 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3616 Linux kernel version.
3617 (__ASSUME_STD_AUXV): Remove.
3618 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3619 kernel version.
3620 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3621 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3622 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3623 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3624 (__ASSUME_NETLINK_SUPPORT): Likewise.
3625 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3626 (__no_netlink_support): Remove conditional definition.
3627 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3628 Remove.
3629 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3630 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3631 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3632 (if_nameindex_ioctl): Remove.
3633 (if_nameindex_netlink): Do not handle __no_netlink_support.
3634 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3635 code.
3636 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3637 Remove conditional code.
3638 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3639 code.
3640 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3641 unconditional.
3642 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3643 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3644 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3645 Remove.
3646 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3647 [!__ASSUME_STD_AUXV]: Remove conditional code.
3648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3649 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3650 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3652 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3653 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3654 code.
3655 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3657 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3658 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3659 conditional code.
3660 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3662 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3663 code.
3664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3665 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3666 conditional code.
3667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3668 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3669 code unconditional.
3670 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3671 conditional code.
3672 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3673 unconditional.
3674 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3675 conditional code.
3676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3677 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3678 unconditional.
3679 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3680 conditional code.
3681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3682 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3683 code unconditional.
3684 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3685 conditional code.
3686 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3687 unconditional.
3688 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3689 conditional code.
3690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3691 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3692 code unconditional.
3693 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3694 conditional code.
3695 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3696 unconditional.
3697 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3698 conditional code.
3699
842a39cd
AS
37002012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3701
3702 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3703 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3704 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3705 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3706 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3707 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3708 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3709 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3710 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3711 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3712 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3713 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3714 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3715 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3716 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3717 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3718 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3719 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3720 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3721 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3722 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3723 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3724 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3725
84b3fd84
FW
37262012-07-25 Florian Weimer <fweimer@redhat.com>
3727
3728 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
3729 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3730 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3731 Introduce __libc_secure_getenv.
0c7936d5
FW
3732 * stdlib/Versions (2.17): Add secure_getenv
3733 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3734 * stdlib/secure-getenv.c: Rename __secure_getenv to
3735 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3736 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
3737 * stdlib/tst-secure-getenv.c: New.
3738 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
3739 * manual/startup.texi (Environment Access): Document
3740 secure_getenv.
84b3fd84
FW
3741 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3742 __libc_secure_getenv.
3743 * inet/ruserpass.c (ruserpass): Likewise.
3744 * malloc/mtrace.c (mtrace): Likewise.
3745 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 3746 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
3747 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3748 * sysdeps/posix/tempname.c: Likewise. Evaluate
3749 HAVE_SECURE_GETENV.
3750 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 3751 __secure_getenv to __libc_secure_getenv.
84b3fd84 3752 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
3753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3754 Likewise.
3755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3756 Likewise.
3757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3759 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 3764
56e49b71
JM
37652012-07-25 Joseph Myers <joseph@codesourcery.com>
3766
3767 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3768 (struct La_i86_retval): Likewise.
3769 (struct La_x86_64_regs): Likewise.
3770 (struct La_x86_64_retval): Likewise.
3771 (struct La_x32_regs): Likewise.
3772 (struct La_x32_retval): Likewise.
3773 (struct La_ppc32_regs): Likewise.
3774 (struct La_ppc32_retval): Likewise.
3775 (struct La_ppc64_regs): Likewise.
3776 (struct La_ppc64_retval): Likewise.
3777 (struct La_sh_regs): Likewise.
3778 (struct La_sh_retval): Likewise.
3779 (struct La_s390_32_regs): Likewise.
3780 (struct La_s390_32_retval): Likewise.
3781 (struct La_s390_64_regs): Likewise.
3782 (struct La_s390_64_retval): Likewise.
3783 (struct La_sparc32_regs): Likewise.
3784 (struct La_sparc32_retval): Likewise.
3785 (struct La_sparc64_regs): Likewise.
3786 (struct La_sparc64_retval): Likewise.
3787 (struct audit_ifaces): Remove architecture-specific pltenter and
3788 pltexit members.
3789 * sysdeps/i386/ldsodefs.h: New file.
3790 * sysdeps/powerpc/ldsodefs.h: Likewise.
3791 * sysdeps/s390/ldsodefs.h: Likewise.
3792 * sysdeps/sh/ldsodefs.h: Likewise.
3793 * sysdeps/sparc/ldsodefs.h: Likewise.
3794 * sysdeps/x86_64/ldsodefs.h: Likewise.
3795
354691b7
MP
37962012-07-25 Marek Polacek <polacek@redhat.com>
3797
3798 [BZ #6808]
3799 * math/libm-test.inc (yn_test): Add another test.
3800 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3801 to ERANGE when the result is +-Inf.
3802 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3803 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3804 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3805 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3806
bf9e2071
JM
38072012-07-24 Joseph Myers <joseph@codesourcery.com>
3808
3809 * conform/data/time.h-data (NULL): Use macro-constant. Require
3810 equal to 0.
3811 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3812 clock_t.
3813 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3814
57633811
TS
38152012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3816
3817 * configure.in <sysdeps resolving>: Correct printing
3818 Implies_before.
3819 * configure: Regenerate.
3820
c23c33b0
TS
38212012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3822
3823 * math/w_ilogb.c: Include <limits.h>.
3824 * math/w_ilogbl.c: Likewise.
3825
b5982523
JM
38262012-07-20 Joseph Myers <joseph@codesourcery.com>
3827
3828 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3829 va_copy. Document allowing for unavailable va_copy only as
3830 pre-C99 compatibility.
3831 * manual/string.texi (Copying and Concatenation): Use va_copy
3832 instead of __va_copy in concat example.
3833
ac4ea442
PT
38342012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3835
3836 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3837 (__sendto): Use create_address_port. Initialize APORT and deallocate
3838 it if not null.
3839
f98eafbd
PT
3840 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3841 with O_NOLINK passed to __file_name_lookup.
3842
898c7aab
PT
3843 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3844 with O_NOLINK passed to __file_name_lookup.
3845
0ced335a
PT
3846 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3847 negative N or less than NGIDS.
3848
b3404dbd
PT
3849 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3850 type to string_t. Set ERANGE as errno and return it if NAME is not big
3851 enough. Use memcpy instead of strncpy.
3852
0f48659e
JM
38532012-07-20 Joseph Myers <joseph@codesourcery.com>
3854
3855 * elf/Makefile (check-data): Remove.
3856 (localplt.data): New vpath directive.
3857 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3858 instead of $(check-data).
3859 * scripts/data/localplt-generic.data: Move to ...
3860 * sysdeps/generic/localplt.data: ... here.
3861 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3862 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3863 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3865 ... here.
3866 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3868 ... here.
3869 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3871 ... here.
3872 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3874 ... here.
3875 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3877 ... here.
3878 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3880 ... here.
3881
d37cbdaa
AZ
38822012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3883
3884 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3885 PPC32 and PPC64 files.
3886 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3887 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3888
46f85fc2
AK
38892012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3890
3891 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3892 __makecontext_ret to ...
3893 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3894 ... here and call exit if uc_link is NULL. New file.
3895 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3896 __makecontext_ret.S.
3897 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3898 __makecontext_ret to ...
3899 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3900 ... here and call exit if uc_link is NULL. New file.
3901 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3902 __makecontext_ret.S.
3903
08f43f9b
AK
39042012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3905
3906 * elf/elf.h (R_390_IRELATIVE): New definition.
3907 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3908 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3909 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3910 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3911 (elf_machine_lazy_rel): Likewise.
3912 * sysdeps/s390/dl-irel.h: New file.
3913 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3914 * sysdeps/s390/s390-64/memset.S: New asm code.
3915 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3916 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3917 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3918 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3919 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3920 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3921 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3922 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3923 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3924 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3925 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3926 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3927 * sysdeps/s390/s390-32/memset.S: New asm code.
3928 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3929
3b05db33
MP
39302012-07-17 Marek Polacek <polacek@redhat.com>
3931
3932 [BZ #14349]
3933 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3934 * sysdeps/s390/s390-64/configure.in: Likewise.
3935 * sysdeps/sparc/configure.in: Likewise.
3936 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3937 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3938 * sysdeps/i386/configure.in: Likewise.
3939 * sysdeps/x86_64/configure.in: Likewise.
3940 * sysdeps/sh/configure.in: Likewise.
3941 * sysdeps/s390/s390-32/configure: Regenerated.
3942 * sysdeps/s390/s390-64/configure: Likewise.
3943 * sysdeps/x86_64/configure: Likewise.
3944 * sysdeps/sh/configure: Likewise.
3945 * sysdeps/powerpc/powerpc64/configure: Likewise.
3946 * sysdeps/powerpc/powerpc32/configure: Likewise.
3947 * sysdeps/sparc/configure: Likwise.
3948 * sysdeps/i386/configure: Likewise.
3949
a66877c6
MP
3950 * elf/dl-open.c: Comment fixes.
3951
cfc82fd8
JM
39522012-07-17 Joseph Myers <joseph@codesourcery.com>
3953
bd29910a
JM
3954 * Makefile [CXX] (check-data): Remove.
3955 [CXX] (c++-types.data): New vpath directive.
3956 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3957 vpath. Do not allow for C++ type data being missing.
3958 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3959 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3960 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3961 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3962 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3963 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3964 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3966 ... here.
3967 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3969 ... here.
3970 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3972 ... here.
3973 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3975 ... here.
3976 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3978 ... here.
3979 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3981 ... here.
3982 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3984 ... here.
3985 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3987
cfc82fd8
JM
3988 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3989 definitions to architecture-specific files.
3990 (TLS_IE): Likewise.
3991 (TLS_LD): Likewise.
3992 (TLS_GD): Likewise.
3993 * sysdeps/i386/tls-macros.h: New file.
3994 * sysdeps/powerpc/tls-macros.h: Likewise.
3995 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3996 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3997 * sysdeps/sh/tls-macros.h: Likewise.
3998 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3999 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
4000 * sysdeps/x86_64/tls-macros.h: Likewise.
4001
f7db3170
TS
40022012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4003
07cbfc23
TS
4004 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
4005 zero value for regular exit case.
4006
f7db3170
TS
4007 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4008 (__start_context): Preserve zero value for regular exit case.
4009
dc97c227
TS
40102012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4011 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4012
4013 * manual/setjmp.texi (setcontext): Clarify normal process
4014 termination when uc_link is the null pointer.
4015 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
4016 exit call.
4017
d0cd7d02
AS
40182012-07-16 Andreas Schwab <schwab@linux-m68k.org>
4019
4020 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
4021 preprocessor. Test for each exception mask separately.
4022
dd318934
AJ
40232012-07-16 Andreas Jaeger <aj@suse.de>
4024
4025 * po/ru.po: Update from translation team.
4026
8048311a
JM
40272012-07-15 Joseph Myers <joseph@codesourcery.com>
4028
4029 * conform/data/string.h-data (NULL): Use macro-constant. Require
4030 equal to 0.
4031 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4032 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4033 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
4034 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
4035 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4036
b637d46e
AJ
40372012-07-13 Andreas Jaeger <aj@suse.de>
4038
4039 * po/fr.po: Update from translation team.
4040
541428fe
MP
40412012-07-12 Marek Polacek <polacek@redhat.com>
4042
4043 [BZ #14173]
4044 * math/libm-test.inc (yn_test): Add test for BZ #14173.
4045 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
4046 loop condition.
4047
ec332e94
JM
40482012-07-12 Joseph Myers <joseph@codesourcery.com>
4049
4050 [BZ #13717]
4051 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4052 Change to 2.4.1 where previously 2.4.0.
4053 * sysdeps/unix/sysv/linux/configure: Regenerated.
4054 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
4055 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
4056 version.
4057 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
4058 (__ASSUME_AT_CLKTCK): Remove.
4059 (__ASSUME_AT_PAGESIZE): Likewise.
4060 (__ASSUME_AT_XID): Likewise.
4061 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
4062 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
4063 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
4064 unconditionally.
4065 (HAVE_AUX_PAGESIZE): Likewise.
4066 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
4067 [__ASSUME_AT_CLKTCK]: Make code unconditional.
4068 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
4069
7b6e99be
JB
40702012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
4071
4072 [BZ #14307]
4073 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
4074 the temporary buffer used to invoke __gethostbyname2_r,
4075 __gethostbyaddr_r and gethostbyname4_r to make room for struct
4076 host_data / struct gaih_addrtuple.
4077 * resolv/nss_dns/dns-host.c (global scope): Move definition of
4078 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
4079 header file nss/nsswitch.h.
4080 * nss/nsswitch.h (global scope): Add definition of implementation
4081 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
4082 resolv/nss_dns/dns-host.c).
4083
608404eb
AJ
40842012-07-11 Andreas Jaeger <aj@suse.de>
4085
4086 * po/fr.po: Update from translation team.
4087
71220aca
AJ
4088 * po/sv.po: Update from translation team
4089 * po/fr.po: Another update from translation team.
4090
28cfe843
AZ
40912012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4092
4093 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4094 for subnormals or multiply small sinh result by itself.
4095 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4097
6b90f981
DM
40982012-07-11 David S. Miller <davem@davemloft.net>
4099
4100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4101
c6825772
AS
41022012-07-10 Andreas Schwab <schwab@linux-m68k.org>
4103
4104 [BZ #14347]
4105 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
4106 (INTERNAL_MARK): Shift it here.
4107
7b8e0d49
MP
41082012-07-10 Marek Polacek <polacek@redhat.com>
4109
4110 [BZ #14151]
4111 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
4112 libc_cv_asm_global_directive with .globl.
4113 * configure: Regenerated.
4114 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
4115 with .globl.
4116 * sysdeps/i386/configure: Regenerated.
4117 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
4118 with .globl.
4119 * sysdeps/x86_64/configure: Regenerated.
4120 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
4121 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
4122 * elf/tst-unique2mod2.c: Likewise.
4123 * elf/tst-unique2mod1.c: Likewise.
4124 * elf/tst-unique1mod2.c: Likewise.
4125 * elf/tst-unique1mod1.c: Likewise.
4126 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4127 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4128 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4129 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4130 * sysdeps/mach/sysdep.h: Likewise.
4131 * sysdeps/i386/sysdep.h: Likewise.
4132 * sysdeps/i386/i386-mcount.S: Likewise.
4133 * sysdeps/x86_64/_mcount.S: Likewise.
4134 * sysdeps/x86_64/sysdep.h: Likewise.
4135 * sysdeps/sh/_mcount.S: Likewise.
4136 * sysdeps/sh/sysdep.h: Likewise.
4137 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4138 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
4139 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
4140 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4141 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4142 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4143 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4144 * locale/localeinfo.h: Likewise.
4145 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4146 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4147
6c55cda3
RM
41482012-07-09 Roland McGrath <roland@hack.frob.com>
4149
4150 [BZ #14336]
4151 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4152 system".
4153 * manual/message.texi (The Uniforum approach): Likewise.
4154 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4155 (glibc iconv Implementation): Likewise.
4156
638a572e
JM
41572012-07-09 Joseph Myers <joseph@codesourcery.com>
4158
4159 [BZ #14337]
4160 * math/s_clog.c (__clog): Avoid scaling a value down where that
4161 could result in underflow.
4162 * math/s_clog10.c (__clog10): Likewise.
4163 * math/s_clog10f.c (__clog10f): Likewise.
4164 * math/s_clog10l.c (__clog10l): Likewise.
4165 * math/s_clogf.c (__clogf): Likewise.
4166 * math/s_clogl.c (__clogl): Likewise.
4167 * math/libm-test.inc (clog_test): Add more tests.
4168 (clog10_test): Likewise.
4169 * sysdeps/i386/fpu/libm-test-ulps: Update.
4170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4171
261f4859
AS
41722012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4173
0abaf3e4
AS
4174 [BZ #14283]
4175 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4176 by 7 not 8 to examine high bit of fractional part.
4177
261f4859
AS
4178 [BZ #14042]
4179 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4180 for call to __mcount_internal.
4181 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4182 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4183 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4184
f17ac40d
JM
41852012-07-06 Joseph Myers <joseph@codesourcery.com>
4186
9ad63c23
JM
4187 [BZ #14154]
4188 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4189 approximation for values within 0x1p-13f of an odd multiple of
4190 pi/4.
4191 * math/libm-test.inc (tan_test): Do not allow spurious underflow
4192 exception. Add more tests.
4193 * sysdeps/i386/fpu/libm-test-ulps: Update.
4194
f17ac40d
JM
4195 [BZ #6778]
4196 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4197 inputs and return -1 for them. Do not check for +Inf in case not
4198 reachable for +Inf.
4199 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4200 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4201 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4202 and return -1 for them. Do not check for +Inf in case not
4203 reachable for +Inf.
4204 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4205 define.
4206 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4207 and return -1 for them. Do not check for +Inf in case not
4208 reachable for +Inf.
4209 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
4210 spurious underflow.
4211 * sysdeps/i386/fpu/libm-test-ulps: Update.
4212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4213
fb21f89b
MF
42142012-07-06 Mike Frysinger <vapier@gentoo.org>
4215
4216 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4217
cdfe2c5e
JM
42182012-07-05 Joseph Myers <joseph@codesourcery.com>
4219
4220 [BZ #14157]
4221 [BZ #14331]
4222 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4223 could result in spurious underflow. Scale down values above
4224 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4225 * math/s_csqrtf.c (__csqrtf): Likewise.
4226 * math/s_csqrtl.c (__csqrtl): Likewise.
4227 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
4228 spurious underflow.
4229 * sysdeps/i386/fpu/libm-test-ulps: Update.
4230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4231
70d35b67
AS
42322012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4233
704bc459
AS
4234 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4235 xopen-msg.sed.
4236 * catgets/xopen-msg.awk: New file.
4237 * catgets/xopen-msg.sed: Removed.
4238
70d35b67
AS
4239 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4240 po2text.sed.
4241 * intl/po2test.awk: New file.
4242 * intl/po2test.sed: Removed.
4243
ca61cf32
JM
42442012-07-04 Joseph Myers <joseph@codesourcery.com>
4245
4246 [BZ #14328]
4247 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4248 or multiply small sinh result by itself.
4249 * math/s_ctanf.c (__ctanf): Likewise.
4250 * math/s_ctanh.c (__ctanh): Likewise.
4251 * math/s_ctanhf.c (__ctanhf): Likewise.
4252 * math/s_ctanhl.c (__ctanhl): Likewise.
4253 * math/s_ctanl.c (__ctanl): Likewise.
4254 * math/libm-test.inc (ctan_test_tonearest): New function.
4255 (ctan_test_towardzero): Likewise.
4256 (ctan_test_downward): Likewise.
4257 (ctan_test_upward): Likewise.
4258 (ctanh_test_tonearest): Likewise.
4259 (ctanh_test_towardzero): Likewise.
4260 (ctanh_test_downward): Likewise.
4261 (ctanh_test_upward): Likewise.
4262 (main): Call these new functions.
4263 * sysdeps/i386/fpu/libm-test-ulps: Update.
4264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4265
ca48a46a
MF
42662012-07-03 Mike Frysinger <vapier@gentoo.org>
4267
4268 * .gitignore: Delete /ports entry.
4269
9d63d37d
AJ
42702012-07-03 Andreas Jaeger <aj@suse.de>
4271
4272 * po/bg.po: Update from translation team.
4273 * po/cs.po: Likewise.
4274 * po/de.po: Likewise.
4275 * po/hr.po: Likewise.
4276 * po/nl.pl: Likewise.
4277 * po/pl.po: Likewise.
4278 * po/vi.po: Likewise.
4279
370ca3d2
JM
42802012-07-03 Joseph Myers <joseph@codesourcery.com>
4281
95f5a9a8
JM
4282 * Makeconfig [!+link] (+link-before-libc): New variable.
4283 [!+link] (+link-after-libc): Likewise.
4284 [!+link] (+link-tests): Likewise.
4285 [!+link] (+link): Define in terms of $(+link-before-libc) and
4286 $(+link-after-libc).
4287 [!+link-static] (+link-static-before-libc): New variable.
4288 [!+link-static] (+link-static-after-libc): Likewise.
4289 [!+link-static] (+link-static-tests): Likewise.
4290 [!+link-static] (+link-static): Define in terms of
4291 $(+link-static-before-libc) and $(+link-static-after-libc).
4292 [build-shared] (link-libc-before-gnulib): New variable.
4293 [build-shared] (link-libc-tests): Likewise.
4294 [build-shared] (link-libc): Define in terms of
4295 $(link-libc-before-gnulib).
4296 [!build-shared] (link-libc-tests): New variable.
4297 (link-libc-static-tests): New variable.
4298 [!gnulib] (gnulib-arch): New variable.
4299 [!gnulib] (gnulib-tests): Likewise.
4300 [!gnulib] (static-gnulib-arch): Likewise.
4301 [!gnulib] (static-gnulib-tests): Likewise.
4302 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4303 Define with "=" instead of ":=".
4304 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4305 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4306 * Rules (binaries-all-notests): New variable.
4307 (binaries-all-tests): Likewise.
4308 (binaries-static-notests): Likewise.
4309 (binaries-static-tests): Likewise.
4310 (binaries-all): Define using $(binaries-all-notests) and
4311 $(binaries-all-tests).
4312 (binaries-static): Define using $(binaries-static-notests) and
4313 $(binaries-static-tests).
4314 (binaries-shared-tests): New variable.
4315 (binaries-shared-notests): Likewise.
4316 (binaries-shared): Remove variable.
4317 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4318 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4319 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4320 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4321 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4322 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4323 * elf/Makefile (sln-modules): New variable.
4324 (extra-objs): Add $(sln-modules:=.o).
4325 (ldconfig-modules): Add static-stubs.
4326 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4327 * elf/static-stubs.c: New file.
4328
7a845b2c
JM
4329 [BZ #14283]
4330 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4331 by 7 not 8 to examine high bit of fractional part. Use volatile
4332 variables when splitting into final array of floats if
4333 __FLT_EVAL_METHOD__ != 0.
4334 * math/libm-test.inc (cos_test): Add another test.
4335 (sin_test): Likewise.
4336 * sysdeps/i386/fpu/libm-test-ulps: Update.
4337
e2283f38
JM
4338 [BZ #14273]
4339 * math/libm-test.inc (cosh_test): Add more tests.
4340
370ca3d2
JM
4341 * version.h (RELEASE): Set to "development".
4342 (VERSION): Set to "2.16.90".
4343
ee9247c3
CD
43442012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4345
4346 * NEWS: Update copyright. Remove last-updated date.
4347 Mention math library bug fixes and timezone data changes.
4348 * README: Mention GNU/Hurd, x32, and HPPA support status.
4349
4648c381
TS
43502012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4351
4352 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4353
aac78a43
AJ
43542012-06-27 Andreas Jaeger <aj@suse.de>
4355
4356 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4357
ed3dbfad
AJ
43582012-06-25 Andreas Jaeger <aj@suse.de>
4359
4360 * sysdeps/s390/fpu/libm-test-ulps: Update.
4361
4d0ee855
AS
43622012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4363 Thomas Schwinge <thomas@codesourcery.com>
4364
4365 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4366 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4367 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4368 fanotify_mark.
4369
af1bce34
TS
43702012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4371
a9fa33ba
TS
4372 * sysdeps/mach/start.c: Remove file.
4373 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4374 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4375 * sysdeps/sh/init-first.c: Likewise.
4376
58f902b8
TS
4377 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4378 registers for frame unwinding purposes, add CFI directives.
4379 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4380 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4381 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4382 Likewise.
4383
1518f58b
TS
4384 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4385 __fortify_fail returning.
4386 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4387
db9b5059
TS
4388 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4389 sysdeps/sh/____longjmp_chk.S.
4390 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4391 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4392 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4393 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4394
967705fe
TS
4395 * sysdeps/sh/abort-instr.h: New file.
4396 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4397 process in case exit returns.
4398
a9def8c4
TS
4399 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4400 initialize the GOT register before use.
4401
2a649725
TS
4402 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4403 calculation of ARGC > 4.
4404
af1bce34
TS
4405 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4406 meaningful names to some local labels.
4407
d230f50a
KK
44082012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4409 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4410
4411 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4412 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4413 (__arch_compare_and_exchange_val_16_acq): Likewise.
4414 (__arch_compare_and_exchange_val_32_acq): Likewise.
4415 (atomic_exchange_and_add): Fix gUSA sequence.
4416 (atomic_add): Likewise.
4417 (atomic_add_negative): Likewise.
4418 (atomic_add_zero): Likewise.
4419 (atomic_bit_test_set): Likewise.
4420
0479b305
AS
44212012-06-22 Andreas Schwab <schwab@redhat.com>
4422
4423 [BZ #13579]
4424 * include/link.h (struct link_map): Add l_free_initfini.
4425 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4426 l_initfini.
4427 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4428 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4429 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4430 set.
4431
0e3933b9
CD
44322012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4433
4434 * configure.in: Use AC_LANG_SOURCE.
4435 * configure: Regenerate.
4436
4248b1b1
RM
44372012-06-22 Roland McGrath <roland@hack.frob.com>
4438
4439 * configure.in (libc_cv_localstatedir): New substituted variable.
4440 * configure: Regenerated.
4441 * config.make.in (localstatedir): New variable, substituted from
4442 libc_cv_localstatedir.
4443 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4444 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4445 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4446 * sysdeps/gnu/configure: Regenerated.
4447
006dd861
JL
44482012-06-21 Jeff Law <law@redhat.com>
4449
4450 [BZ #14277]
4451 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4452 free. Simplify list management for _LIBC case.
4453
79662d42
JM
44542012-06-21 Joseph Myers <joseph@codesourcery.com>
4455
b7abb4bf
JM
4456 [BZ #14273]
4457 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4458 Clear sign bit of 64-bit integer value before comparing against
4459 overflow value.
4460
79662d42
JM
4461 * sysdeps/mach/configure: Regenerated.
4462
1f150908
L
44632012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4464
4465 [BZ #14278]
4466 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4467
28363bbf
JL
44682012-06-21 Jeff Law <law@redhat.com>
4469
4470 [BZ #13882]
4471 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4472 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 4473 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
4474 * elf/dl-open.c (dl_open_worker): Likewise.
4475
09615db4
CD
44762012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4477
4478 * scripts/list-sources.sh: Scan PORTS for translations.
4479 * po/libc.pot: Regenerated.
4480
2174c6dd
AJ
44812012-06-21 Andreas Jaeger <aj@suse.de>
4482
4483 [BZ #12194]
4484 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4485 warning.
4486 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4487 * bits/byteswap-16.h (__bswap_16): Likewise.
4488 * bits/byteswap.h (__bswap_constant_16): Likewise.
4489
3ee947b1
L
44902012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4491
4492 [BZ #14117]
a2f34833
L
4493 * sysdeps/i386/fpu_control.h: Removed.
4494 * sysdeps/x86_64/fpu_control.h: Moved to ...
4495 * sysdeps/x86/fpu_control.h: Here.
4496
3ee947b1
L
4497 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4498 (_FPU_SETCW): Likewise.
4499
ed1825f8
L
45002012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4501
25f1282a
L
4502 [BZ #14117]
4503 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4504 * sysdeps/x86/fpu/bits/mathinline.h: This.
4505 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4506
ed1825f8
L
4507 [BZ #14050]
4508 [BZ #14117]
4509 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4510 functions if __x86_64__ is defined.
4511
36d54b74
CLT
45122012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4513
4514 * string/endian.h: Add !__ASSEMBLER__ condition for including
4515 conversion interfaces.
4516
10285c21
JM
45172012-06-15 Joseph Myers <joseph@codesourcery.com>
4518
4519 [BZ #14241]
4520 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4521 of ABS(x) in calculating zero to negative powers other than odd
4522 integers.
4523 * math/libm-test.inc (pow_test): Add more tests.
4524
06c5abbd
AJ
45252012-06-15 Andreas Jaeger <aj@suse.de>
4526
4527 * manual/contrib.texi (Contributors): Update entry of Liubov
4528 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4529 Machado Filho.
4530
a3aeac40
CH
45312012-06-15 Cyril Hrubis <metan@ucw.cz>
4532
4533 * string/string.h: Add __wur to GNU version of strerror_r.
4534
49bdf4c1
L
45352012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4536
4537 [BZ #14229]
4538 * string/Makefile (tests): Add tst-strtok_r.
4539 * string/tst-strtok_r.c: New file.
4540 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4541 RAX_LP/RDX_LP on SAVE_PTR.
4542
834f9b8d
RM
45432012-06-14 Roland McGrath <roland@hack.frob.com>
4544
4545 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4546
75fa1921
JM
45472012-06-14 Joseph Myers <joseph@codesourcery.com>
4548
4549 * libm_test.inc (csqrt_test): Allow more spurious underflow
4550 exceptions.
4551 (j0_test): Likewise.
4552 (j1_test): Likewise.
4553 (y0_test): Likewise.
4554 (y1_test): Likewise.
4555
771766df
CD
45562012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4557
4558 * po/Makefile (libc.pot): Use UTF-8 charset.
4559
ceb9e56b
PP
45602012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4561
4562 [BZ #14210]
4563 Suppress sign-conversion warning from FD_SET.
4564 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4565 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4566 not unsigned long int.
4567 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4568
ddb28975
L
45692012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4570
4571 [BZ #14050]
4572 [BZ #14117]
4573 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4574 __extern_always_inline instead of __extern_inline.
4575 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4576 (__signbit): Likewise.
4577 (__signbitl): Support C++ namespace.
4578 (lrintf): New inline function.
4579 (lrint): Likewise.
4580 (llrintf): Likewise.
4581 (llrint): Likewise.
4582 (fmaxf): Likewise.
4583 (fmax): Likewise.
4584 (fminf): Likewise.
4585 (fmin): Likewise.
4586 (rint): Likewise.
4587 (rintf): Likewise.
4588 (ceil): Likewise.
4589 (ceilf): Likewise.
4590 (floor): Likewise.
4591 (floorf): Likewise.
4592 (nearbyint): Likewise.
4593 (nearbyintf): Likewise.
4594
d7b4fb26
TS
45952012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4596
4597 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4598 non-default versions.
4599
eb55f5c2
RM
46002012-06-11 Roland McGrath <roland@hack.frob.com>
4601
4602 [BZ #14218]
4603 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4604
366af02c
TS
46052012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4606
99ff6e5c
TS
4607 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4608 (FE_UPWARD, FE_DOWNWARD): Don't define.
4609 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4610 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4611
366af02c
TS
4612 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4613 reading it.
4614 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4615 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4616
793ea851
KK
46172012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4618
4619 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4620 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4621 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4622 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4623
a728a38f
L
46242012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4625
4626 [BZ #14117]
c08010c7
L
4627 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4628 * sysdeps/i386/fpu/Implies: New file.
4629 * sysdeps/x86_64/fpu/Implies: Likewise.
4630 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4631 * sysdeps/x86/fpu/bits/fenv.h: This.
4632
a728a38f
L
4633 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4634 __SSE_MATH__.
4635
6e230d11
SP
46362012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4637
4638 [BZ #14134]
4639 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4640 character 0xffff that matches the last element of the
4641 conversion table.
4642
1b671feb
AZ
46432012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4644
4645 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4646 fmodl commit.
4647
6043738b
AZ
46482012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4649
4650 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4651 values higher than 25.6283.
4652
34ae0b32
AZ
46532012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4654
4655 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4656 subnormal exponent extraction and add some __builtin_expect.
4657 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4658 Fix for subnormal mantissa calculation.
4659
1214ec8f
MF
46602012-06-04 Mike Frysinger <vapier@gentoo.org>
4661
4662 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4663 cpu2 is -1 and errno is not ENOSYS.
4664
f3d1f93c
L
46652012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4666
4667 [BZ #14117]
0e4a3cd7
L
4668 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4669 * sysdeps/x86/bits/string.h: This.
4670 * sysdeps/x86_64/bits/string.h: Removed.
4671
6704c645
L
4672 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4673 if not compiling for x86-64, but compiling for >= i486.
4674
48495318
L
4675 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4676 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4677
14adcbfc
L
4678 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4679 New macro from Linux kernel 3.4.0.
4680 (FP_XSTATE_MAGIC2): Likewise.
4681 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4682 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4683 (struct _fpx_sw_bytes): New struct.
4684 (struct _xsave_hdr): Likewise.
4685 (struct _ymmh_state): Likewise.
4686 (struct _xstate): Likewise.
4687
68e408ab
L
4688 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4689 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4690 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4691 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4692 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4693 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4694
f3d1f93c
L
4695 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4696 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4697 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4698 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4699 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4700 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4701
d9dc34cd
TMQMF
47022012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4703
4704 [BZ #13743]
4705 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4706 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4707 (sysdep_headers): Include sys/platform/ppc.h.
4708 * sysdeps/powerpc/test-gettimebase.c: Test for
4709 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4710 * manual/Makefile (appendices): Include platform.texi.
4711 * manual/contrib.texi (Contributors): Update @node pointers.
4712 * manual/maint.texi (Maintenance): Likewise.
4713 (Platform): New node.
4714 * manual/platform.texi: New file. Document the new features.
4715
4af3879c
SP
47162012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4717 Jakub Jelinek <jakub@redhat.com>
4718
4719 [BZ #14188]
4720 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4721 where __builtin_expect is unavailable.
4722
2fd6ff13
DM
47232012-06-03 David S. Miller <davem@davemloft.net>
4724
4725 * stdlib/longlong.h: Updated from GCC.
4726
173f7220
AS
47272012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4728
4729 [BZ #14042]
4730 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4731 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4732 __mcount_internal.
4733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4734 (GLIBC_2.16): Likewise.
4735
f34a1c6f
L
47362012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4737
4738 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4739
88a4576f
JM
47402012-06-01 Joseph Myers <joseph@codesourcery.com>
4741
ea32bcdd
JM
4742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4743 (default-abi): New variable.
4744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4745 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4746 variable.
4747 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4748 Likewise.
4749 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4750 Likewise.
4751 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4752 Likewise.
4753
88a4576f
JM
4754 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4755 definition. Document in comment.
4756
402fe938
DM
47572012-06-01 David S. Miller <davem@davemloft.net>
4758
4759 * stdlib/longlong.h: Updated from GCC.
4760
3553723f
L
47612012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4762
4763 [BZ #14117]
3bd872c4
L
4764 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4765 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4766 sys/debugreg.h sys/io.h here.
4767 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4768 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4769 sys/io.h.
4770 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4771 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4772 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4773 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4774 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4775 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4776
3553723f
L
4777 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4778 Define only if __x86_64__ is defined.
4779
4842e4fe
JM
47802012-06-01 Joseph Myers <joseph@codesourcery.com>
4781
c5bfe3d5
JM
4782 [BZ #14048]
4783 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4784 Use int64_t for variable i.
4785 * math/libm-test.inc (fmod_test): Add more tests.
4786
4842e4fe
JM
4787 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4788 z computation is not scheduled after fetestexcept.
4789 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4790 Use math_force_eval instead of asm to ensure calculation scheduled
4791 before exception test.
4792 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4793 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4794
efb73488
AJ
47952012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4796
4797 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4798 computation is not scheduled after fetestexcept.
4799
29bcce7c
L
48002012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4801
4802 [BZ #14117]
4803 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4804 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4805
73a68f94
AZ
48062012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4807
4808 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4809 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4810
67b6df78
L
48112012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4812
edf2933a 4813 [BZ #14117]
ebc64a18
L
4814 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4815 <bits/wordsize.h>.
4816 (__WCHAR_MIN): Support __WORDSIZE == 64.
4817 (__WCHAR_MAX): Likewise.
4818
edf2933a
L
4819 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4820 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4821
57c6cf40
L
4822 [BZ #14183]
4823 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4824 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4825
67b6df78 4826 [BZ #14117]
8eb6281e
L
4827 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4828 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4829
aac639f4
L
4830 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4831 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4832
67b6df78
L
4833 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4834 Defined to 1 if __x86_64__ isn't defined.
4835 (_STAT_VER_LINUX_OLD): New.
4836 (st_atime): Remove duplicate.
4837 (st_mtime): Likewise.
4838 (st_ctime): Likewise.
4839
1c2cfe81
DM
48402012-05-31 David S. Miller <davem@davemloft.net>
4841
4842 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4843 entries.
4844
5be8418c
AS
48452012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4846
e7725326
AS
4847 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4848 gen-libm-test.pl.
4849
5be8418c
AS
4850 [BZ #14132]
4851 * elf/dl-reloc.c: Include <_itoa.h>.
4852 (_dl_reloc_bad_type): Remove use of INTUSE.
4853 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4854 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4855 * stdio-common/psiginfo.c (psiginfo): Likewise.
4856 * stdio-common/psignal.c (psignal): Likewise.
4857 * string/strsignal.c (strsignal): Likewise.
4858 * include/signal.h (_sys_siglist): Declare hidden proto.
4859 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4860 INTVARDEF with libc_hidden_data_def.
4861 * stdio-common/itoa-udigits.c: Likewise.
4862 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4863 (_itoa_lower_digits_internal): Remove declaration.
4864 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4865 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4866 (_sys_sigabbrev_internal): Remove aliases.
4867 (_sys_siglist): Define hidden alias.
4868
507352f1
MT
48692012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4870
4871 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4872 bits/sysctl.h.
4873
42bbb1c3
L
48742012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4875
4876 [BZ #14117]
6bd784b6
L
4877 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4878 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4879
8bca20f0
L
4880 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4881 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4882 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4883 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4884 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4885 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4886
f9e890a9
L
4887 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4888 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4889 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4890
471101a1
L
4891 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4892 with __addr.
4893 (insw): Likewise.
4894 (insl): Likewise.
4895 (outsb): Likewise.
4896 (outsw): Likewise.
4897 (outsl): Likewise.
4898
6451c862
L
4899 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4900 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4901 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4902
a254b8c9
L
4903 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4904 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4905 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4906 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4907 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4908 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4909
b8dfdd92
L
4910 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4911 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4912
578cd270
L
4913 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4914 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4915
de662f5f
L
4916 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4917 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4918 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4919
25653439
L
4920 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4921 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4922 to ...
4923 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4924
6bad24a0
L
4925 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4926 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4927 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4928
42bbb1c3
L
4929 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4930 for x86-64.
4931 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4932
2d10d547
JM
49332012-05-31 Joseph Myers <joseph@codesourcery.com>
4934
4935 * math/math.h (M_El): Use two more decimal places.
4936 (M_LOG2El): Likewise.
4937 (M_LOG10El): Likewise.
4938 (M_LN2l): Likewise.
4939 (M_LN10l): Likewise.
4940 (M_PIl): Likewise.
4941 (M_PI_2l): Likewise.
4942 (M_PI_4l): Likewise.
4943 (M_1_PIl): Likewise.
4944 (M_2_PIl): Likewise.
4945 (M_2_SQRTPIl): Likewise.
4946 (M_SQRT2l): Likewise.
4947 (M_SQRT1_2l): Likewise.
4948
f230c29b
DM
49492012-05-31 David S. Miller <davem@davemloft.net>
4950
4951 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4952 values between float registers.
4953 * sysdeps/sparc/sparc64/memset.S: Likewise.
4954 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4955
fed806c3
MF
49562012-05-31 Mike Frysinger <vapier@gentoo.org>
4957
4958 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4959 -D_FORTIFY_SOURCE=1.
4960 (CPPFLAGS-tst-longjmp_chk.c): Define.
4961 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4962 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4963 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4964 CFLAGS-tst-wchar-h.c.
4965
30917259
MP
49662012-05-31 Marek Polacek <polacek@redhat.com>
4967
4968 [BZ #14132]
4969 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4970 __endmntent_internal): Remove declaration.
4971 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4972 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4973 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4974
1c58d5dc
DM
49752012-05-30 David S. Miller <davem@davemloft.net>
4976
4977 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4978 (___Q_simulate_exceptions): Use real FP ops rather than writing
4979 into the %fsr.
4980 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4981 Likewise.
4982
7dc00e0d
L
49832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4984
4985 [BZ #14117]
0bd53985
L
4986 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4987 * sysdeps/x86/bits/xtitypes.h: This.
4988
3a257e66
L
4989 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4990 * sysdeps/x86/bits/wordsize.h: This.
4991
62f62904
L
4992 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4993 * sysdeps/x86/bits/huge_vall.h: This.
4994
404fe9d9
L
4995 * sysdeps/i386/bits/select.h: Removed.
4996 * sysdeps/x86_64/bits/select.h: Renamed to ...
4997 * sysdeps/x86/bits/select.h: This.
4998
d48d0446
L
4999 * sysdeps/i386/bits/setjmp.h: Removed.
5000 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
5001 * sysdeps/x86/bits/setjmp.h: This.
5002
7dc00e0d
L
5003 * sysdeps/i386/bits/mathdef.h: Removed.
5004 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
5005 * sysdeps/x86/bits/mathdef.h: This.
5006
03277f8f
AS
50072012-05-30 Andreas Schwab <schwab@linux-m68k.org>
5008
5009 [BZ #14132]
5010 * include/sys/socket.h (__connect_internal)
5011 (__libc_sa_len_internal): Remove declaration.
5012 (__connect, __libc_sa_len): Declare hidden_proto.
5013 (SA_LEN): Remove use of INTUSE.
5014 * socket/connect.c: Add libc_hidden_def.
5015 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
5016 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
5017 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
5018 alias.
5019 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5020 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5021 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
5022 of adding _internal alias.
5023
13764867
L
50242012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5025
5026 [BZ #14117]
6bd97696
L
5027 * sysdeps/i386/bits/link.h: Removed.
5028 * sysdeps/i386/bits/linkmap.h: Likewise.
5029 * sysdeps/x86_64/bits/link.h: Renamed to ...
5030 * sysdeps/x86/bits/link.h: This.
5031 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
5032 * sysdeps/x86/bits/linkmap.h: This.
5033
f726f0bb
L
5034 * sysdeps/i386/bits/endian.h: Removed.
5035 * sysdeps/x86_64/bits/endian.h: Renamed to ...
5036 * sysdeps/x86/bits/endian.h: This.
5037
13764867
L
5038 * sysdeps/i386/bits/byteswap.h: Removed.
5039 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5040 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
5041 * sysdeps/x86/bits/byteswap.h: This.
5042 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
5043 * sysdeps/x86/bits/byteswap-16.h: This.
5044 * sysdeps/i386/Implies: Add x86.
5045 * sysdeps/x86_64/Implies: Likewise.
5046
ae251b0b
DM
50472012-05-30 David S. Miller <davem@davemloft.net>
5048
5049 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
5050 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
5051 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5052 (FP_TRAPPING_EXCEPTIONS): Define.
5053 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5054 (FP_TRAPPING_EXCEPTIONS): Define.
5055 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
5056 subnormals only when inexact has been signalled or underflow
5057 exceptions are enabled.
5058 (_FP_PACK_CANONICAL): Likewise.
5059
d5c90867
L
50602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5061
5062 [BZ #14183]
5063 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
5064 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
5065
63f1549e
RH
50662012-05-30 Richard Henderson <rth@twiddle.net>
5067
8d8f2279
RH
5068 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
5069 with #ifndef NOT_IN_libc.
5070
63f1549e
RH
5071 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
5072 marked to avoid plt entry.
5073
0ab0291b
L
50742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5075
5076 [BZ #14112]
5077 * Makeconfig (default-abi): New macro.
5078 (abi-includes): Likewise.
5079 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
5080 $(abi-$(default-abi)-lib-soname) for soname if defined.
5081 ($(common-objpfx)gnu/lib-names.stmp): Generate from
5082 abi-variants.
5083 * Makefile (installed-stubs): Likewise.
5084 * include/stubs-biarch.h: Removed.
5085 * scripts/lib-names.awk: Only handle one library at a time.
5086 * scripts/soversions.awk: Remove WORDSIZE support.
5087 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
5088 entries.
5089 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
5090 Removed.
5091 (syscall-list-default-condition): Likewise.
5092 (syscall-list-default-condition): Likewise.
5093 (syscall-list-includes): Likewise.
5094 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
5095 syscall-list-* with abi-*. Handle undefined abi-variants.
5096 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
5097 * sysdeps/unix/sysv/linux/i386/Implies: New file.
5098 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
5099 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
5100 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
5101 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
5102 Removed.
5103 (syscall-list-32-options): Likewise.
5104 (syscall-list-32-condition): Likewise.
5105 (syscall-list-64-options): Likewise.
5106 (syscall-list-64-condition): Likewise.
5107 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
5108 macro.
5109 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
5110 Renamed to ...
5111 (abi-*): This.
5112 (abi-64-ld-soname): New macro.
5113 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
5114 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
5115 Renamed to ...
5116 (abi-*): This.
5117 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
5118 * sysdeps/x86_64/x32/shlib-versions: Likewise.
5119
4da0431d
JM
51202012-05-30 Joseph Myers <joseph@codesourcery.com>
5121
3a85279c
JM
5122 * sysdeps/unix/sysv/linux/kernel-features.h
5123 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
5124 * sysdeps/unix/sysv/linux/ftruncate64.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/truncate64.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/ftruncate64.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 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5143 include <kernel-features.h>.
5144 [!__NR_ftruncate64]: Remove conditional code.
5145 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5146 [__NR_ftruncate64]: Make code unconditional.
5147 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5148
4da0431d
JM
5149 * configure.in (libc_cv_fpie): Weaken to a compile test using
5150 LIBC_TRY_CC_OPTION.
5151 * configure: Regenerated.
5152
11ef492c
AK
51532012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5154
5155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5159 Refreshed.
5160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5166 Refreshed.
5167
d66ef399
DM
51682012-05-27 David S. Miller <davem@davemloft.net>
5169
5170 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5171 (___Q_zero): New.
5172 (__Q_simulate_exceptions): Return void. Change to simulate
5173 exceptions by writing into the %fsr.
5174 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5175 (__Qp_handle_exceptions): Likewise.
5176 (numbers): Delete.
5177 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5178 __Qp_handle_exceptions.
5179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5180 __Qp_handle_exceptions.
5181 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5182 as unused and give dummy FP_RND_NEAREST initializer.
5183 (FP_INHIBIT_RESULTS): Define.
5184 (___Q_simulate_exceptions): Update declaration.
5185 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5186 formatting.
5187 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5188 as unused and give dummy FP_RND_NEAREST initializer.
5189 (__Qp_handle_exceptions): Update declaration.
5190 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5191 formatting.
5192
04fb54b5
TS
51932012-05-27 Thomas Schwinge <thomas@codesourcery.com>
5194
5195 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5196 the temporary FPU control word.
5197 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5198 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5199 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5200 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5201 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5202 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5203 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5204 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5205 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5206 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5207 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5208
3f99608f
KK
52092012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5210
5211 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5212 fields.
5213
65a4de4e
CLT
52142012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
5215
5216 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5217 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5218 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5219 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5220 Likewise.
5221 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5222 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5223 Likewise.
5224
15749d40
UD
52252012-05-27 Ulrich Drepper <drepper@gmail.com>
5226
5227 * po/h.po: Update from translation team.
5228
25dbcb27
AS
52292012-05-26 Andreas Schwab <schwab@linux-m68k.org>
5230
3d3f8e55
AS
5231 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5232
25dbcb27
AS
5233 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5234 handling of denormals.
5235 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5236 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5237 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5238 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5239 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5240 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5241 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5242 Likewise.
5243
7ad47a80 52442012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
5245
5246 [BZ #14152]
5247 * math/libm-test.inc (fma_test): Don't always expect underflow
5248 exception.
5249
9c6ea9fa
SP
52502012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5251
5252 [BZ #12416]
5253 * elf/tst-execstack.c: Include stackinfo.h.
5254 (do_test): Adjust test case to ensure that pthread_getattr_np
5255 behaviour remains the same after marking stack executable.
5256
a8239222
JM
52572012-05-25 Joseph Myers <joseph@codesourcery.com>
5258
5259 * sysdeps/unix/sysv/linux/kernel-features.h
5260 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5261 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5262 kernel-features.h.
5263 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5264 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5265 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5266 kernel-features.h.
5267 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5268 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5269
918b5606
L
52702012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5271
5272 * configure.in: Define the default includes to being none.
5273 * configure: Regenerated.
5274
3a097cc7
RM
52752012-05-25 Roland McGrath <roland@hack.frob.com>
5276
8422c9a5
RM
5277 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5278 * sysdeps/x86_64/setjmp.S: Likewise.
5279 * sysdeps/i386/bsd-setjmp.S: Likewise.
5280 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5281 * sysdeps/i386/setjmp.S: Likewise.
5282 * sysdeps/i386/__longjmp.S: Likewise.
5283 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5284 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5285
3a097cc7
RM
5286 * include/stap-probe.h: New file.
5287 * configure.in: Handle --enable-systemtap.
5288 * configure: Regenerated.
5289 * config.h.in (USE_STAP_PROBE): New #undef.
5290 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5291 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5292 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5293
21708942
JM
52942012-05-25 Joseph Myers <joseph@codesourcery.com>
5295
5296 [BZ #13717]
5297 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5298 to 2.4.0 where earlier.
5299 * sysdeps/unix/sysv/linux/configure: Regenerated.
5300 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5301 <kernel-features.h>.
5302 [__ASSUME_32BITUIDS]: Make code unconditional.
5303 [!__ASSUME_32BITUIDS]: Remove conditional code.
5304 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5305 <kernel-features.h>.
5306 [__ASSUME_32BITUIDS]: Make code unconditional.
5307 [!__ASSUME_32BITUIDS]: Remove conditional code.
5308 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5309 [__ASSUME_32BITUIDS]: Make code unconditional.
5310 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5311 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5312 <kernel-features.h>.
5313 [__ASSUME_32BITUIDS]: Make code unconditional.
5314 [!__ASSUME_32BITUIDS]: Remove conditional code.
5315 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5316 <kernel-features.h>.
5317 [__ASSUME_32BITUIDS]: Make code unconditional.
5318 [!__ASSUME_32BITUIDS]: Remove conditional code.
5319 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5320 <kernel-features.h>.
5321 [__ASSUME_32BITUIDS]: Make code unconditional.
5322 [!__ASSUME_32BITUIDS]: Remove conditional code.
5323 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5324 <kernel-features.h>.
5325 [__ASSUME_32BITUIDS]: Make code unconditional.
5326 [!__ASSUME_32BITUIDS]: Remove conditional code.
5327 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5328 <kernel-features.h>.
5329 [__ASSUME_32BITUIDS]: Make code unconditional.
5330 [!__ASSUME_32BITUIDS]: Remove conditional code.
5331 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5332 <kernel-features.h>.
5333 [__ASSUME_32BITUIDS]: Make code unconditional.
5334 [!__ASSUME_32BITUIDS]: Remove conditional code.
5335 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5336 <kernel-features.h>.
5337 [__ASSUME_32BITUIDS]: Make code unconditional.
5338 [!__ASSUME_32BITUIDS]: Remove conditional code.
5339 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5340 <kernel-features.h>.
5341 [__ASSUME_32BITUIDS]: Make code unconditional.
5342 [!__ASSUME_32BITUIDS]: Remove conditional code.
5343 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5344 <kernel-features.h>.
5345 [__ASSUME_32BITUIDS]: Make code unconditional.
5346 [!__ASSUME_32BITUIDS]: Remove conditional code.
5347 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5348 <kernel-features.h>.
5349 [__ASSUME_32BITUIDS]: Make code unconditional.
5350 [!__ASSUME_32BITUIDS]: Remove conditional code.
5351 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5352 <kernel-features.h>.
5353 [__NR_setresgid] (__setresgid): Do not declare.
5354 [__ASSUME_32BITUIDS]: Make code unconditional.
5355 [!__ASSUME_32BITUIDS]: Remove conditional code.
5356 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5357 <kernel-features.h>.
5358 [__NR_setresuid] (__setresuid): Do not declare.
5359 [__ASSUME_32BITUIDS]: Make code unconditional.
5360 [!__ASSUME_32BITUIDS]: Remove conditional code.
5361 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5362 <kernel-features.h>.
5363 [__ASSUME_32BITUIDS]: Make code unconditional.
5364 [!__ASSUME_32BITUIDS]: Remove conditional code.
5365 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5366 <kernel-features.h>.
5367 [__ASSUME_32BITUIDS]: Make code unconditional.
5368 [!__ASSUME_32BITUIDS]: Remove conditional code.
5369 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
5370 <kernel-features.h>.
5371 [__ASSUME_32BITUIDS]: Make code unconditional.
5372 [!__ASSUME_32BITUIDS]: Remove conditional code.
5373 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
5374 <kernel-features.h>.
5375 [__ASSUME_32BITUIDS]: Make code unconditional.
5376 [!__ASSUME_32BITUIDS]: Remove conditional code.
5377 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
5378 <kernel-features.h>.
5379 [__ASSUME_32BITUIDS]: Make code unconditional.
5380 [!__ASSUME_32BITUIDS]: Remove conditional code.
5381 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
5382 <kernel-features.h>.
5383 [__ASSUME_32BITUIDS]: Make code unconditional.
5384 [!__ASSUME_32BITUIDS]: Remove conditional code.
5385 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
5386 <kernel-features.h>.
5387 [__ASSUME_32BITUIDS]: Make code unconditional.
5388 [!__ASSUME_32BITUIDS]: Remove conditional code.
5389 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5390 <kernel-features.h>.
5391 [__ASSUME_32BITUIDS]: Make code unconditional.
5392 [!__ASSUME_32BITUIDS]: Remove conditional code.
5393 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5394 <kernel-features.h>.
5395 [__ASSUME_32BITUIDS]: Make code unconditional.
5396 [!__ASSUME_32BITUIDS]: Remove conditional code.
5397 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5398 <kernel-features.h>.
5399 [__ASSUME_32BITUIDS]: Make code unconditional.
5400 [!__ASSUME_32BITUIDS]: Remove conditional code.
5401 * sysdeps/unix/sysv/linux/kernel-features.h
5402 (__ASSUME_SETRESUID_SYSCALL): Remove.
5403 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5404 (__ASSUME_32BITUIDS): Likewise.
5405 (__ASSUME_LDT_WORKS): Likewise.
5406 (__ASSUME_O_DIRECTORY): Likewise.
5407 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5408 architecture but not kernel version.
5409 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5410 (__ASSUME_MMAP2_SYSCALL): Likewise.
5411 (__ASSUME_STAT64_SYSCALL): Likewise.
5412 (__ASSUME_IPC64): Likewise.
5413 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5414 <kernel-features.h>.
5415 [__ASSUME_32BITUIDS]: Make code unconditional.
5416 [!__ASSUME_32BITUIDS]: Remove conditional code.
5417 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5418 <kernel-features.h>.
5419 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5420 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5421 132096]: Remove conditional code.
5422 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5423 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5424 <kernel-features.h>.
5425 [__ASSUME_32BITUIDS]: Make code unconditional.
5426 [!__ASSUME_32BITUIDS]: Remove conditional code.
5427 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5428 <kernel-features.h>.
5429 [__ASSUME_32BITUIDS]: Make code unconditional.
5430 [!__ASSUME_32BITUIDS]: Remove conditional code.
5431 * sysdeps/unix/sysv/linux/setegid.c: Do not include
5432 <kernel-features.h>.
5433 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5434 unconditional.
5435 (__setresgid): Do not declare.
5436 [__ASSUME_32BITUIDS]: Make code unconditional.
5437 [!__ASSUME_32BITUIDS]: Remove conditional code.
5438 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5439 <kernel-features.h>.
5440 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5441 unconditional.
5442 (__setresuid): Do not declare.
5443 [__ASSUME_32BITUIDS]: Make code unconditional.
5444 [!__ASSUME_32BITUIDS]: Remove conditional code.
5445 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5446 <kernel-features.h>.
5447 [__ASSUME_32BITUIDS]: Make code unconditional.
5448 [!__ASSUME_32BITUIDS]: Remove conditional code.
5449 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5450 <kernel-features.h>.
5451 [__ASSUME_32BITUIDS]: Make code unconditional.
5452 [!__ASSUME_32BITUIDS]: Remove conditional code.
5453
a386f1cc
RH
54542012-05-25 Richard Henderson <rth@twiddle.net>
5455
5456 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5457 dl_hwcap to ifunc resolver.
5458 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5459 elf_ifunc_invoke.
5460 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5461 dl_hwcap to ifunc resolver.
5462 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5463
b6550497
JM
54642012-05-24 Joseph Myers <joseph@codesourcery.com>
5465
5466 [BZ #14153]
5467 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5468 for |x| <= 2**-26, not 2**-57.
5469 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5470 exception.
5471
b0bc23a1
JL
54722012-05-24 Jeff Law <law@redhat.com>
5473
5474 * stdio-common/Makefile (tests): Add bug25.
5475 * stdio-common/bug25.c: New test.
5476
347c92e9
L
54772012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5478
5479 [BZ #13576]
5480 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5481 multiple of MALLOC_ALIGNMENT in size.
5482 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5483
6bcc8b3f
JM
54842012-05-24 Joseph Myers <joseph@codesourcery.com>
5485
5486 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5487 Require >= 256.
5488 (FILENAME_MAX): Use macro-int-constant.
5489 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5490 (_IOFBF): Use macro-int-constant.
5491 (_IOLBF): Likewise.
5492 (_IONBF): Likewise.
5493 (SEEK_CUR): Likewise.
5494 (SEEK_END): Likewise.
5495 (SEEK_SET): Likewise.
5496 (TMP_MAX): Likewise.
5497 (EOF): Use macro-int-constant. Require < 0.
5498 (NULL): Use macro-constant. Require == 0.
5499 (stdin): Require type to be FILE *.
5500 (stdout): Likewise.
5501 (stderr): Likewise.
5502 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5503 macro-int-constant.
5504 (EXIT_SUCCESS): Likewise.
5505 (NULL): Use macro-constant. Require == 0.
5506 (RAND_MAX): Use macro-int-constant.
5507 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5508 [C99-based standards] (strtof): Require function.
5509 [C99-based standards] (strtold): Likewise.
5510 [C99-based standards] (strtoll): Likewise.
5511 [C99-based standards] (strtoull): Likewise.
5512 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5513 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5514 [ISO || ISO99 || ISO11] (math.h): Likewise.
5515 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5516 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5517 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5518
d18ea0c5
AS
55192012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5520
5521 [BZ #14132]
56d25bb8
AS
5522 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5523 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5524 * intl/dgettext.c (DCGETTEXT): Likewise.
5525 * intl/gettext.c (DCGETTEXT): Likewise.
5526 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5527 * posix/regex_internal.h (gettext): Likewise.
5528 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5529 Remove declaration.
5530 * include/argz.h (__argz_count_internal)
5531 (__argz_stringify_internal): Remove declaration.
5532 (__argz_count, __argz_stringify): Declare hidden proto.
5533 * intl/dcgettext.c: Remove use of INTDEF.
5534 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5535 * string/argz-stringify.c: Likewise.
5536 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5537 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5538 Declare hidden proto.
d18ea0c5
AS
5539 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5540 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5541 Declare hidden proto.
5542 * include/stdio.h (__asprintf_internal): Don't declare.
5543 (__asprintf): Don't define as macro. Declare hidden proto.
5544 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5545 (__fsetlocking): Declare hidden proto.
5546 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5547 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5548 hidden proto.
5549 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5550 (_IO_setlinebuf): Remove use of INTUSE.
5551 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5552 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5553 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5554 Remove declaration.
5555 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5556 (_IO_do_flush): Remove use of INTUSE.
5557 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5558 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5559 (_IO_adjust_column, _IO_least_wmarker)
5560 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5561 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5562 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5563 (_IO_default_doallocate, _IO_wdefault_doallocate)
5564 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5565 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5566 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5567 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5568 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5569 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5570 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5571 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5572 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5573 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5574 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5575 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5576 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5577 proto.
5578 (_IO_flush_all_internal, _IO_adjust_column_internal)
5579 (_IO_default_uflow_internal, _IO_default_finish_internal)
5580 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5581 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5582 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5583 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5584 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5585 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5586 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5587 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5588 (_IO_file_close_internal, _IO_file_close_it_internal)
5589 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5590 (_IO_file_init_internal, _IO_file_attach_internal)
5591 (_IO_file_fopen_internal, _IO_file_read_internal)
5592 (_IO_file_sync_internal, _IO_file_seek_internal)
5593 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5594 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5595 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5596 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5597 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5598 (_IO_list_all_internal, _IO_link_in_internal)
5599 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5600 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5601 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5602 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5603 (_IO_do_write_internal, _IO_padn_internal)
5604 (_IO_getline_info_internal, _IO_getline_internal)
5605 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5606 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5607 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5608 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5609 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5610 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5611 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5612 with libc_hidden_ver, remove use of INTUSE.
5613 * libio/genops.c: Likewise.
5614 * libio/freopen.c: Likewise.
5615 * libio/freopen64.c: Likewise.
5616 * libio/iofclose.c: Likewise.
5617 * libio/iofdopen.c: Likewise.
5618 * libio/iofflush.c: Likewise.
5619 * libio/iofflush_u.c: Likewise.
5620 * libio/iofgets.c: Likewise.
5621 * libio/iofgets_u.c: Likewise.
5622 * libio/iofopen.c: Likewise.
5623 * libio/iofopncook.c: Likewise.
5624 * libio/iofread.c: Likewise.
5625 * libio/iofread_u.c: Likewise.
5626 * libio/ioftell.c: Likewise.
5627 * libio/iofwrite.c: Likewise.
5628 * libio/iogetline.c: Likewise.
5629 * libio/iogets.c: Likewise.
5630 * libio/iogetwline.c: Likewise.
5631 * libio/iopadn.c: Likewise.
5632 * libio/iopopen.c: Likewise.
5633 * libio/ioseekoff.c: Likewise.
5634 * libio/ioseekpos.c: Likewise.
5635 * libio/iosetbuffer.c: Likewise.
5636 * libio/iosetvbuf.c: Likewise.
5637 * libio/ioungetc.c: Likewise.
5638 * libio/ioungetwc.c: Likewise.
5639 * libio/iovdprintf.c: Likewise.
5640 * libio/iovsprintf.c: Likewise.
5641 * libio/iovsscanf.c: Likewise.
5642 * libio/memstream.c: Likewise.
5643 * libio/obprintf.c: Likewise.
5644 * libio/oldfileops.c: Likewise.
5645 * libio/oldiofclose.c: Likewise.
5646 * libio/oldiofdopen.c: Likewise.
5647 * libio/oldiofopen.c: Likewise.
5648 * libio/oldiopopen.c: Likewise.
5649 * libio/oldstdfiles.c: Likewise.
5650 * libio/putc.c: Likewise.
5651 * libio/setbuf.c: Likewise.
5652 * libio/setlinebuf.c: Likewise.
5653 * libio/stdfiles.c: Likewise.
5654 * libio/strops.c: Likewise.
5655 * libio/vasprintf.c: Likewise.
5656 * libio/vscanf.c: Likewise.
5657 * libio/vsnprintf.c: Likewise.
5658 * libio/vswprintf.c: Likewise.
5659 * libio/wfiledoalloc.c: Likewise.
5660 * libio/wfileops.c: Likewise.
5661 * libio/wgenops.c: Likewise.
5662 * libio/wmemstream.c: Likewise.
5663 * libio/wstrops.c: Likewise.
5664 * libio/__fpurge.c: Likewise.
5665 * libio/__fsetlocking.c: Likewise.
5666 * assert/assert.c: Likewise.
5667 * debug/fgets_chk.c: Likewise.
5668 * debug/fgets_u_chk.c: Likewise.
5669 * debug/fread_chk.c: Likewise.
5670 * debug/fread_u_chk.c: Likewise.
5671 * debug/gets_chk.c: Likewise.
5672 * debug/obprintf_chk.c: Likewise.
5673 * debug/vasprintf_chk.c: Likewise.
5674 * debug/vdprintf_chk.c: Likewise.
5675 * debug/vsnprintf_chk.c: Likewise.
5676 * debug/vsprintf_chk.c: Likewise.
5677 * malloc/mtrace.c: Likewise.
5678 * misc/error.c: Likewise.
5679 * misc/syslog.c: Likewise.
5680 * stdio-common/asprintf.c: Likewise.
5681 * stdio-common/fxprintf.c: Likewise.
5682 * stdio-common/getw.c: Likewise.
5683 * stdio-common/isoc99_fscanf.c: Likewise.
5684 * stdio-common/isoc99_scanf.c: Likewise.
5685 * stdio-common/isoc99_vfscanf.c: Likewise.
5686 * stdio-common/isoc99_vscanf.c: Likewise.
5687 * stdio-common/isoc99_vsscanf.c: Likewise.
5688 * stdio-common/printf-prs.c: Likewise.
5689 * stdio-common/printf_fp.c: Likewise.
5690 * stdio-common/printf_fphex.c: Likewise.
5691 * stdio-common/printf_size.c: Likewise.
5692 * stdio-common/putw.c: Likewise.
5693 * stdio-common/scanf.c: Likewise.
5694 * stdio-common/sprintf.c: Likewise.
5695 * stdio-common/tmpfile.c: Likewise.
5696 * stdio-common/vfprintf.c: Likewise.
5697 * stdio-common/vfscanf.c: Likewise.
5698 * stdlib/strfmon_l.c: Likewise.
5699 * sunrpc/openchild.c: Likewise.
5700 * sunrpc/xdr_stdio.c: Likewise.
5701 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5702 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5703
d6c33fda
RM
57042012-05-24 Roland McGrath <roland@hack.frob.com>
5705
c1487492
RM
5706 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5707
5708 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5709 in the third column, to generate for the shared library an IFUNC
5710 that uses _dl_vdso_vsym.
5711 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5712 * Makeconfig (object-suffixes-noshared): New variable.
5713
5714 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5715 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5716 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5717 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5718
d6c33fda
RM
5719 [BZ #14132]
5720 * include/sys/time.h (__gettimeofday): Remove macro.
5721 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5722 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5723 Remove INTDEF.
5724 (__gettimeofday): Add libc_hidden_def.
5725 (gettimeofday): Add libc_hidden_weak.
5726 * sysdeps/mach/gettimeofday.c: Likewise.
5727 * sysdeps/posix/gettimeofday.c: Likewise.
5728 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5729 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5730 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5731 (__gettimeofday_internal): Remove strong_alias.
5732 (__gettimeofday): Add libc_hidden_def.
5733 (gettimeofday): Add libc_hidden_weak.
5734 * sysdeps/unix/syscalls.list (gettimeofday):
5735 Remove __gettimeofday_internal alias.
5736
b5a2bbe6
L
57372012-05-24 Daniel Jacobowitz <drow@false.org>
5738 H.J. Lu <hongjiu.lu@intel.com>
5739
5740 [BZ #12495]
5741 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5742 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5743 (largebin_index_32_big): New.
5744 (largebin_index): Use it for 16-byte alignment.
5745 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5746 correction with front_misalign.
5747
cfba4fda
L
57482012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5749
7f907421
L
5750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5752 Likewise.
5753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5754 Likewise.
5755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5756 Likewise.
5757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5758 Likewise.
5759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5760 Likewise.
5761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5762 Likewise.
5763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5764 Likewise.
5765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5766 Likewise.
5767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5768 Likewise.
5769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5770 Likewise.
5771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5772 Likewise.
5773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5774 Likewise.
5775
cfba4fda
L
5776 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5777 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5778
80bad0cc
JM
57792012-05-24 Joseph Myers <joseph@codesourcery.com>
5780
7a25eb06
JM
5781 [BZ #10846]
5782 [BZ #14036]
5783 * math/libm-test.inc (exp_test): Add test from bug 14036.
5784 (pow_test): Add test from bug 10846.
5785
795405f9
JM
5786 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5787 and other flags.
5788 (special_function): Do not include flags in test name.
5789 (parse_args): Likewise.
5790 * sysdeps/i386/fpu/libm-test-ulps: Update.
5791 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5792 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5793 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5795
80bad0cc
JM
5796 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5797 exceptions.
5798 * math/libm-test.inc ("Philosophy"): Update comment about
5799 exception testing.
5800 (UNDERFLOW_EXCEPTION): New macro.
5801 (UNDERFLOW_EXCEPTION_OK): Likewise.
5802 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5803 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5804 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5805 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5806 (INVALID_EXCEPTION_OK): Update value.
5807 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5808 (OVERFLOW_EXCEPTION_OK): Likewise.
5809 (IGNORE_ZERO_INF_SIGN): Likewise.
5810 (test_exceptions): Handle underflow exceptions.
5811 (acos_test): Update for underflow exception expectations.
5812 (cexp_test): Likewise.
5813 (clog_test): Likewise.
5814 (clog10_test): Likewise.
5815 (csqrt_test): Likewise.
5816 (ctan_test): Likewise.
5817 (ctanh_test): Likewise.
5818 (exp_test): Likewise.
5819 (exp10_test): Likewise.
5820 (exp2_test): Likewise.
5821 (expm1_test): Likewise.
5822 (fma_test): Likewise.
5823 (j0_test): Likewise.
5824 (jn_test): Likewise.
5825 (nexttoward_test): Likewise.
5826 (pow_test): Likewise.
5827 (scalbn_test): Likewise.
5828 (scalbln_test): Likewise.
5829 (tan_test): Likewise.
5830 (y1_test): Likewise.
5831 * sysdeps/i386/fpu/libm-test-ulps: Update.
5832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5833
9e0e3d0b
DM
58342012-05-23 David S. Miller <davem@davemloft.net>
5835
5836 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5837 (__libc_sigaction): Remove unused local variables.
5838
ccd0a08f
L
58392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5840
5841 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5842
62bdf9a6
PE
58432012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5844
f8591f80
PE
5845 mktime: avoid signed integer overflow
5846 * time/mktime.c (__mktime_internal): Do not mishandle the case
5847 where diff == INT_MIN.
5848
94c7d826
PE
5849 mktime: simplify computation of average
5850 * time/mktime.c (ranged_convert): Use new time_t_avg function
5851 instead of rolling our own (probably-slower) code.
5852
ce73d683
PE
5853 mktime: do not assume signed right shift propagates sign bit
5854 * time/mktime.c (isdst_differ): New static function.
5855 (__mktime_internal): No need to normalize tm_isdst now.
5856 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5857 tm_isdst values.
5858
72a22e59
PE
5859 mktime: merge another wrapv change from gnulib
5860 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5861 from some compilers.
5862
68605433
PE
5863 mktime: remove incorrect attempt at unusual arithmetics
5864 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5865 The code didn't really work on such machines anyway.
5866 (TYPE_MINIMUM): Assume two's complement.
5867 (twos_complement_arithmetic): Verify that long_int and time_t
5868 are two's complement (or unsigned, in the latter case).
5869
03cf7fe3
PE
5870 mktime: check signed shifts on long_int and time_t, too
5871 * time/mktime.c (SHR): Check that shifts work as desired
5872 on the types long_int and time_t too, as SHR is used on
5873 such types.
5874
f04dfbc2
PE
5875 mktime: do not assume 'long' is wide enough
5876 * time/mktime.c (verify): Move decl up.
5877 (long_int): New type.
5878 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5879 to remove assumption in the code that 'long' is wide enough to
5880 store year values. This assumption is not true on x32 and on
5881 some non-glibc platforms.
5882
62bdf9a6
PE
5883 mktime: merge wrapv change from gnulib
5884 * time/mktime.c (WRAPV): New macro.
5885 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5886 (guess_time_tm, __mktime_internal): Do not assume that signed
5887 integer overflow wraps around; modern compilers generate code
5888 where this assumption is no longer valid.
5889
5e292e4f
L
58902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5891
5892 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5893 Replace "jmp L(pseudo_end)" with "ret".
5894 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5895 Likewise.
5896
8caf8c87
AJ
58972012-05-23 Andreas Jaeger <aj@suse.de>
5898
5899 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5900 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5901
1a09dc56
AJ
59022012-05-23 Andreas Jaeger <aj@suse.de>
5903 Maximilian Attems <max@stro.at>
5904
5905 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5906 New macros.
5907
1c87aba0
L
59082012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5909
5910 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5911 code so that pseudo_end is just ret and the stack pointer is
5912 correct also for static library in error case.
5913
40e45bd5
JM
59142012-05-23 Joseph Myers <joseph@codesourcery.com>
5915
c2670533
JM
5916 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5917 move to syscalls.list.
5918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5922
40e45bd5
JM
5923 * manual/install.texi (Running make install): Do not mention Linux
5924 kernel version for which pt_chown is not needed.
5925 (Linux): Do not mention problems with nscd with 2.0 kernels.
5926 * INSTALL: Regenerated.
5927
be08eda5
AJ
59282012-05-23 Andreas Jaeger <aj@suse.de>
5929
5930 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5931 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5932 macro.
5933 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5934 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5935 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5936 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5937 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5938 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5939 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5940 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5941 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5942 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5943 * sysdeps/unix/sysv/linux/bits/in.h
5944 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5945
a6a056bb
RM
59462012-05-22 Roland McGrath <roland@hack.frob.com>
5947
5948 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5949 (PREPARE_VERSION): Just use assert instead, it will be elided
5950 under [NDEBUG] anyway.
5951
c9009328
L
59522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5953
5954 * sysdeps/unix/sysv/linux/Makefile: Include
5955 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5956 (sysdep_routines): Remove sysctl.
c9009328
L
5957 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5958 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5959 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5960 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5961 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5962
73338355
AJ
59632012-05-22 Andreas Jaeger <aj@suse.de>
5964
5965 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5966 that pseudo_end is just ret and the stack pointer is correct also
5967 for static library in error case.
5968
d44638b0
PP
59692012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5970
5971 [BZ #14122]
5972 * nss/nsswitch.c (defconfig_entries): New variable.
5973 (__nss_database_lookup): Don't leak defconfig entries.
5974 (nss_parse_service_list): Don't leak on error paths.
5975 (free_database_entries): New function.
5976 (free_defconfig): New function.
5977 (free_mem): Move common code to free_database_entries.
5978
31a39bd8
L
59792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5980
da0331a8
L
5981 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5982 Add arch_prctl.
5983 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5984
31a39bd8
L
5985 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5986 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5987 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5988 New macro.
5989 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5990 (INTERNAL_SYSCALL_TYPES): Likewise.
5991 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5992 (LOAD_REGS_TYPES_[1-6]): Likewise.
5993 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5994 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5995
45470df3
AZ
59962012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5997
5998 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5999 copysignl for GLIBC_2_0.
6000 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
6001 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
6002 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
6003 logbl for GLIBC_2_0.
6004 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6005 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6006
98a61bcb
L
60072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6008
a4f6e481
L
6009 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
6010 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6011
f63d5db6
L
6012 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6013 Use "neg %eax".
6014
98a61bcb
L
6015 * time/mktime.c: Update copyright years.
6016
95770f14
PE
60172012-05-22 Paul Eggert <eggert@cs.ucla.edu>
6018
6226efbd
PE
6019 mktime: merge comment-quoting-style change from gnulib
6020 * time/mktime.c: Quote 'like this' in comments.
6021 The GNU coding standards suggest that we no longer quote `like this',
6022 as "`" and "'" are typically rendered asymmetrically nowadays.
6023 The typical gnulib style is to quote 'like this' when quoting
6024 code, and "like this" when quoting English.
6025
b99e4f78
PE
6026 * time/mktime.c (compile-command): Add "-I.".
6027
643e01e6
PE
6028 mktime: merge mktime-internal.h change from gnulib
6029 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
6030
2554247d
PE
6031 mktime: merge time_r change from gnulib
6032 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
6033
826dd0ab
PE
6034 mktime: merge DEBUG change from gnulib
6035 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
6036 case system <time.h> has a #define.
6037
bd83aabe
PE
6038 mktime: merge <sys/types.h> change from gnulib
6039 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
6040 since <time.t> is now guaranteed to define time_t.
6041
95770f14
PE
6042 mktime: merge HAVE_CONFIG_H change from gnulib
6043 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
6044
5e1a27a9
L
60452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6046
0e44a77e
L
6047 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6048 Use "neg %eax".
6049
5e1a27a9
L
6050 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
6051 __rlim_t cast.
6052 (struct rusage): Use anonymous union to pad each field to
6053 __syscall_slong_t.
6054
46259bec
DM
60552012-05-21 David S. Miller <davem@davemloft.net>
6056
6057 * Makefules (o-iterator): Remove .s cases.
6058 (compile-command.s): Delete.
6059 (COMPILE.s): Delete.
6060 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
6061
59f0c22e
JM
60622012-05-21 Joseph Myers <joseph@codesourcery.com>
6063
6064 * configure.in (libc_cv_predef_stack_protector): Only consider
6065 "foobar" and "__stack_chk_fail" lines in libc_undefs.
6066 * configure: Regenerated.
6067
20c07380
L
60682012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6069
bbb3154b
L
6070 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6071 New macro. Use R*LP on int and pointer.
6072 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
6073 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
6074 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
6075 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
6076
20c07380
L
6077 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
6078 [__WORDSIZE_TIME64_COMPAT32] instead of
6079 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
6080 (struct utmp): Likewise.
6081 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
6082 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
6083 Renamed to ...
6084 (__WORDSIZE_TIME64_COMPAT32): This.
6085 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6086 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6087 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6088 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6089 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
6090 (__WORDSIZE_TIME64_COMPAT32): New macro.
6091
d8d1017e
AJ
60922012-05-21 Andreas Jaeger <aj@suse.de>
6093
6094 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
6095 only if [SHARED]. Add prototype for __wcschr_ia32.
6096
6c7fb145
RM
60972012-05-21 Roland McGrath <roland@hack.frob.com>
6098
6099 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
6100 of %rbp unmolested in the jmp_buf while mangling the low bits.
6101 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6102 unmolested high bits of %rbp while demangling the low bits.
6103 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6104
66274218
AJ
61052012-05-21 Andreas Jaeger <aj@suse.de>
6106
07c58f8f
AJ
6107 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
6108 * sunrpc/svc_simple.c: Use it for registerrpc.
6109 * sunrpc/xcrypt.c: Use it for passwd2des.
6110
66274218
AJ
6111 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
6112
61f65140
L
61132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6114
6115 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
6116 Don't define if [__SYSCALL_WORDSIZE != 32].
6117 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
6118 New macro.
6119
5fefb436
AJ
61202012-05-21 Bruno Haible <bruno@clisp.org>
6121 Andreas Jaeger <aj@suse.de>
6122
6123 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
6124 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6125 inptr and inend for must_buffer_ch.
6126 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
6127 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
6128 * stdio-common/Makefile (tests): Remove bug15.
6129 (bug15-ENV): Remove macro.
6130 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
6131 anymore.
6132
d8e272ab
AJ
61332012-05-19 Andreas Jaeger <aj@suse.de>
6134 Roland McGrath <roland@hack.frob.com>
6135
6136 * manual/contrib.texi: Completely rewritten. It contains now an
6137 alphabetical list of contributors and their contributions.
6138
4a56a162
RH
61392012-05-21 Richard Henderson <rth@twiddle.net>
6140
6141 * misc/getauxval.c (__getauxval): Use unsigned long int.
6142 * misc/sys/auxv.h: Include <sys/cdefs.h>.
6143 (getauxval): Use unsigned long int.
6144
d024d23c
L
61452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6146
6147 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6148
cbc00a03
RM
61492012-05-21 Roland McGrath <roland@hack.frob.com>
6150
6151 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6152 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6153 __alignof__ (long double).
6154
478143fa
AZ
61552012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6156
6157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6158
c7683a6d
RH
61592012-05-20 Richard Henderson <rth@twiddle.net>
6160
6161 * misc/getauxval.c: New file.
6162 * misc/sys/auxv.h: New file.
6163 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6164 (routines): Add getauxval.
6165 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6166 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6167 * elf/dl-sysdep.c (_dl_auxv): Remove.
6168 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6169 * elf/dl-support.c (_dl_auxv): New variable.
6170 (_dl_aux_init): Initialize it.
6171 * manual/startup.texi (Auxiliary Vector): New node.
6172 * sysdeps/generic/bits/hwcap.h: New file.
6173 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6174 * sysdeps/powerpc/sysdep.h: ... here. Include it.
6175 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6176 * sysdeps/sparc/sysdep.h: ... here. Include it.
6177 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6178 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
6179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6180 Update.
c7683a6d
RH
6181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6184 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6189
a6f1845d
AZ
61902012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6191
6192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6193
cbcbe830
DM
61942012-05-19 David S. Miller <davem@davemloft.net>
6195
6196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6197
e0b16cc2
JM
61982012-05-19 Joseph Myers <joseph@codesourcery.com>
6199
6200 [BZ #14123]
6201 * math/s_ccosh.c: Include <float.h>
6202 (__ccosh): Avoid internal overflow calculating sinh and cosh
6203 values before multiplying by sin and cos values.
6204 * math/s_ccoshf.c: Likewise.
6205 * math/s_ccoshl.c: Likewise.
6206 * math/s_csin.c: Likewise.
6207 * math/s_csinf.c: Likewise.
6208 * math/s_csinl.c: Likewise.
6209 * math/s_csinh.c: Likewise.
6210 * math/s_csinhf.c: Likewise.
6211 * math/s_csinhl.c: Likewise.
6212 * math/libm-test.inc (ccos_test): Add more tests.
6213 (ccosh_test): Likewise.
6214 (csin_test): Likewise.
6215 (csinh_test): Likewise.
6216 * sysdeps/i386/fpu/libm-test-ulps: Update.
6217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6218
6ad13e08
L
62192012-05-19 H.J. Lu <hongjiu.lu@intel.com>
6220
f66f0ce8
L
6221 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6222 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6223
6ad13e08
L
6224 * sysdeps/x86_64/x32/_itoa.h: Add comment.
6225
b1d072a7
JM
62262012-05-19 Joseph Myers <joseph@codesourcery.com>
6227
6228 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6229 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6230 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6231 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6232 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6233 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6234 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6235 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6236 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6237 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6238 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6239 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6240 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6241 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6242 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6243 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6244 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6245 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6246 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6247 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6248 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6249 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6250 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6251 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6252 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6253 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6254 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6255 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6256 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6257 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6258 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6259
9eae47cb
AJ
62602012-05-18 Andreas Jaeger <aj@suse.de>
6261
6262 * csu/.gitignore: Delete.
6263
bb07f69f
L
62642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6265
6266 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6267 (timex): Use __syscall_slong_t.
6268
e6bdb741
AJ
62692012-05-18 Andreas Jaeger <aj@suse.de>
6270 Carlos O'Donell <carlos_odonell@mentor.com>
6271
6272 * manual/install.texi (Configuring and compiling): Update
6273 description about files modified in the source directory.
d6c33fda 6274 * INSTALL: Regenerated.
e6bdb741 6275
1b74487e
L
62762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6277
6278 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6279 value. Use "or" to set return value to -1.
6280 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6281 negate return value.
6282
a88b64b9
TMQMF
62832012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6284
6285 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6286 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6287 failure if the compiler has Graphite support disabled.
6288 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6289 Likewise.
6290 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6291 CFLAGS-memmove.c): Likewise.
6292 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6293 Likewise.
6294
3707636e
L
62952012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6296
610b8622
L
6297 * sysdeps/x86_64/x32/_itoa.h: New file.
6298
7cd195df
L
6299 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6300 getdents system call only if kernel and user dirents have the
6301 same d_ino and d_off.
6302
94b07d20
L
6303 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6304 LLONG_MAX != LONG_MAX.
6305 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6306 (_fitoa_word): Likewise.
6307
18298070
L
6308 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6309 years.
6310 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6311 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6312 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6313
553c7ea4
L
6314 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6315 include <bits/wordsize.h>. Check __x86_64__ instead of
6316 __WORDSIZE.
6317 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6318 if __x86_64__ is defined. Use anonymous union on fpstate.
6319
3707636e
L
6320 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6321 anonymous union.
6322
b53ef01a
AS
63232012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6324
37fb1dc0
AS
6325 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6326 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6327 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6328 Refer to _rtld_local_ro instead of _rtld_global_ro.
6329 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6330 Likewise.
6331 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6332 Likewise.
6333 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6334 Likewise.
6335 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6336 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6337 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6338
b53ef01a
AS
6339 * sysdeps/powerpc/powerpc32/dl-machine.c
6340 (__elf_machine_runtime_setup) [PROF]: Don't reference
6341 _dl_prof_resolve.
6342
7a185db2
AJ
63432012-05-18 Andreas Jaeger <aj@suse.de>
6344
6345 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6346 function only available for GCCs before 3.4 since GCC 3.4
6347 introduced a builtin.
6348 (lrint): Likewise.
6349 (llrintf): Likewise.
6350 (llrint): Likewise.
6351 (fmaxf): Likewise.
6352 (fmax): Likewise.
6353 (fminf): Likewise.
6354 (fmin): Likewise.
6355 (rint): Likewise.
6356 (rintf): Likewise.
6357 (nearbyint): Likewise.
6358 (nearbyintf): Likewise.
6359 (ceil): Likewise.
6360 (ceilf): Likewise.
6361 (floor): Likewise.
6362 (floorf): Likewise.
6363
3e5aef87
L
63642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6365
428bd707
L
6366 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6367 on both fields and cast pointer to __syscall_ulong_t.
6368
3e5aef87
L
6369 * bits/types.h (__fsword_t): New type.
6370 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6371 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6372 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6373 (__FSWORD_T_TYPE): Likewise.
6374 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6375 (__FSWORD_T_TYPE): Likewise.
6376 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6377 (__FSWORD_T_TYPE): Likewise.
6378 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6379 (__FSWORD_T_TYPE): Likewise.
6380 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6381 __SWORD_TYPE with __fsword_t.
6382 (statfs64): Likewise.
6383
1ba7c3dc
DM
63842012-05-17 David S. Miller <davem@davemloft.net>
6385
6386 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6387
59910343
AJ
63882012-05-17 Andreas Jaeger <aj@suse.de>
6389
6390 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6391 warning.
6392
2e4c1e9e
L
63932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6394
6395 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6396
de7f5ce7
AJ
63972012-05-17 Andreas Jaeger <aj@suse.de>
6398
6399 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6400 when it is used.
6401
286abc3d
CM
64022012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6403
6404 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6405
477cc68e
L
64062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6407
6408 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6409 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6410
1a0994f5
CD
64112012-05-17 Andreas Jaeger <aj@suse.de>
6412 Carlos O'Donell <carlos_odonell@mentor.com>
6413
6414 [BZ #14059]
6415 * sysdeps/x86_64/multiarch/init-arch.h
6416 (bit_YMM_Usable): Rename to...
6417 (bit_AVX_Usable): ... this.
6418 (bit_FMA4_Usable): New macro.
6419 (bit_XMM_state): New macro.
6420 (bit_YMM_state): New macro.
6421 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6422 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6423 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6424 (CPUID_OSXSAVE): New macro.
6425 (CPUID_AVX): New macro.
6426 (CPUID_FMA4): New macro.
6427 (index_YMM_Usable): Rename to...
6428 (index_AVX_Usable): ... this.
6429 (HAS_AVX): Use HAS_ARCH_FEATURE.
6430 (HAS_FMA4): Likewise.
6431 (HAS_YMM_USABLE): Remove.
6432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6433 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6434 are present.
6435 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6436 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6437 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6438 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6439 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6440
0af797de
CM
64412012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6442
6443 * math/libm-test.c: Support platforms without multiple rounding modes.
6444 * math/bug-nextafter.c: Support platforms without FP exceptions.
6445 * math/bug-nexttoward.c: Likewise.
6446 * math/test-fenv.c: Likewise.
6447 * math/test-misc.c: Likewise.
6448 * stdlib/bug-getcontext.c: Likewise.
6449
e39745ff
AJ
64502012-05-17 Andreas Jaeger <aj@suse.de>
6451
6452 * manual/examples/search.c (critter_cmp): Change signature to
6453 avoid warnings.
6454 * manual/string.texi (Collation Functions): Likewise.
6455
48970aba
L
64562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6457
6458 * bits/types.h: Fold copyright years.
6459 * bits/typesizes.h: Likewise.
6460 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6461 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6462 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6463 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6464 * time/time.h: Likewise.
6465
bedee953
PP
64662012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6467
6468 [BZ #208]
6469 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6470 in instead of returning them. Return void.
6471 (__libc_mallinfo): Accumulate over all arenas.
6472 (__malloc_stats): Adjust for change in int_mallinfo interface.
6473
61653dfb
RM
64742012-05-16 Roland McGrath <roland@hack.frob.com>
6475
30b99d79
RM
6476 [BZ #10375]
6477 * configure.in (NM): Add AC_CHECK_TOOL for it.
6478 (libc_extra_cflags): New substituted variable.
6479 Check for -fstack-protector being used implicitly.
6480 * configure: Regenerated.
6481 * config.make.in (config-extra-cflags): New variable,
6482 gets @libc_extra_cflags@.
6483 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6484
61653dfb
RM
6485 [BZ #10375]
6486 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6487 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6488 * configure: Regenerated.
6489 * config.make.in (CPPUNDEFS): New substituted variable.
6490 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6491 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6492 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6493
661768bb
L
64942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6495
6496 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6497 (mq_attr): Use __syscall_slong_t.
6498
d4261567
L
64992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6500
6501 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6502 Check __x86_64__ instead of __WORDSIZE.
6503 (_STAT_VER_LINUX): Likewise.
6504 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6505 __syscall_ulong_t and __syscall_slong_t.
6506 (stat64): Likewise.
6507
cf3ff365
L
65082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6509
6510 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6511
76cf3e4d
L
65122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6513
6514 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6515
a637753a
L
65162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6517
6518 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6519 __syscall_ulong_t.
6520
d5e05119
L
6521 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6522 include <bits/wordsize.h>. Check __x86_64__ instead of
6523 __WORDSIZE.
6524 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6525 defined.
6526 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6527
f62ee380
L
6528 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6529 include <bits/wordsize.h>. Check __x86_64__ instead of
6530 __WORDSIZE.
6531 (user_regs_struct): Use "__extension__ unsigned long long"
6532 instead of "unsigned long" if __x86_64__ is defined.
6533 (user): Likewise. Pad after pointer field if __ILP32__ is
6534 defined.
6535
4e124ced
JM
65362012-05-16 Joseph Myers <joseph@codesourcery.com>
6537
6a3951a0
JM
6538 * configure.in (makeinfo): Require version 4.5 or later. Allow
6539 versions 5 to 9.
6540 * configure: Regenerated.
6541 * manual/install.texi (texinfo): Increase version requirement to
6542 4.5 or later.
6543 * INSTALL: Regenerated.
6544
4e124ced
JM
6545 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6546
953ca31a
L
65472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6548
6549 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6550
617aca05
L
6551 * sysdeps/x86_64/x32/ffs.c: New file.
6552
5762f7ae
L
6553 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6554 __syscall_ulong_t.
6555 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6556 defined. Use __syscall_ulong_t.
6557 (shminfo): Use __syscall_ulong_t.
6558 (shm_info): Likewise.
6559
a26b6856
L
6560 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6561 __syscall_ulong_t.
6562
cb2b9ef7
L
6563 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6564 <bits/wordsize.h>.
6565 (msgqnum_t): Use __syscall_ulong_t.
6566 (msglen_t): Likewise.
6567 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6568 __syscall_ulong_t.
6569
34683bb0
L
6570 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6571 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6572
84a68786
L
6573 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6574
48baa5f1
L
6575 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6576 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6577
180be88b
L
6578 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6579 __syscall_slong_t.
6580
5e90c8ad
L
6581 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6582 include <bits/wordsize.h>. Check __x86_64__ instead of
6583 __WORDSIZE.
6584
23dfb58b
L
6585 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6586 "unsigned long long int" if __x86_64__ is defined.
6587 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6588
ce5d54b0
L
6589 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6590 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6591 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6592
13dc9eac
L
6593 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6594 <stdint.h>.
6595 (GET_PC): Cast to uintptr_t first.
6596 (GET_FRAME): Likewise.
6597 (GET_STACK): Likewise.
6598
a7895d15
L
6599 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6600 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6601 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6602 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6603 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6604 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6605 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6606 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6607 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6608 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6609 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6610 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6611 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6612 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6613 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6614 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6615 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6616 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6617 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6618 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6619 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6620 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6621 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6622 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6623 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6624 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6625 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6626 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6627 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6628
656416c9
AS
66292012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6630
5bd66283
AS
6631 * Makerules (+depfiles): Also collect depfiles from .oS in
6632 $(extra-objs).
6633 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6634 .oS, $(libnldbl-routines)).
6635
656416c9
AS
6636 * Makerules (native-compile-mkdep-flags): Define.
6637 * sunrpc/Makefile (extra-objs): Add $(addprefix
6638 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6639 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6640 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6641 calling $(make-target-directory).
6642
a46f2169
L
66432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6644
6645 * bits/types.h (__snseconds_t): Removed.
6646 * time/time.h (struct timespec): Replace __snseconds_t with
6647 __syscall_slong_t.
6648 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6649 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6650 Likewise.
6651 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6652 (__SNSECONDS_T_TYPE): Likewise.
6653 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6654 (__SNSECONDS_T_TYPE): Likewise.
6655 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6656 (__SNSECONDS_T_TYPE): Likewise.
6657
6af6528b
L
66582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6659
6660 * sysdeps/mach/hurd/bits/typesizes.h
6661 (__SYSCALL_SLONG_TYPE): New macro.
6662 (__SYSCALL_ULONG_TYPE): Likewise.
6663
de986b56
L
66642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6665
6666 * bits/types.h (__syscall_slong_t): New type.
6667 (__syscall_ulong_t): Likewise.
6668
6669 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6670 (__SYSCALL_ULONG_TYPE): Likewise.
6671 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6672 (__SYSCALL_SLONG_TYPE): Likewise.
6673 (__SYSCALL_ULONG_TYPE): Likewise.
6674 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6675 (__SYSCALL_SLONG_TYPE): Likewise.
6676 (__SYSCALL_ULONG_TYPE): Likewise.
6677 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6678 (__SYSCALL_SLONG_TYPE): Likewise.
6679 (__SYSCALL_ULONG_TYPE): Likewise.
6680
85736dc7
L
66812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6682
6683 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6684 Add sigaltstack-offsets.sym.
6685 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6686 <sigaltstack-offsets.h>.
6687 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6688 longjmp_msg pointer.
6689 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6690 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6691 signal stack.
6692 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6693
cc03b296
JM
66942012-05-15 Joseph Myers <joseph@codesourcery.com>
6695
a9538892
JM
6696 * elf/stackguard-macros.h: Remove file.
6697 * sysdeps/generic/stackguard-macros.h: New file.
6698 * sysdeps/i386/stackguard-macros.h: Likewise.
6699 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6700 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6701 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6702 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6703 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6704 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6705 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6706 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6707 <elf/stackguard-macros.h>.
6708
cc03b296
JM
6709 [BZ #14109]
6710 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6711 __aligned__ in attribute.
6712 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6713 (gregset_t): Likewise.
6714
93171016
L
67152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6716
6717 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6718 * sysdeps/x86_64/64/Implies-after: Here. New file.
6719 * sysdeps/x86_64/x32/Implies-after: New file.
6720
d86813a0
L
67212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6722
6723 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6724 and access return value for _dl_profile_fixup. Use R10_LP to
6725 load frame size.
6726
2953ec75
L
67272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6728
6729 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6730
3b550e9e
L
67312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6732
6733 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6734 * sysdeps/x86_64/x32/sysdep.h: New file.
6735
eda41706
L
67362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6737
6738 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6739 * sysdeps/x86_64/setjmp.S: Likewise.
6740
9ea01d93
AZ
67412012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6742
6743 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6744 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6745 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6746 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6747 remove unused global constant.
6748
02a91938
CM
67492012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6750
6751 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6752 include of <not-cancel.h>.
6753
6540185f
RM
67542012-05-15 Roland McGrath <roland@hack.frob.com>
6755
6756 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6757
509072a0
AJ
67582012-05-15 Jeff Law <law@redhat.com>
6759 Andreas Jaeger <aj@suse.de>
6760
6761 [BZ #13594]
6762 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6763 out from...
6764 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6765 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6766 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6767 code changing __hst_map_handle.map.
6768
ba75122d
RM
67692012-05-15 Roland McGrath <roland@hack.frob.com>
6770
6771 * configure.in (sysnames): Look for Implies-before and Implies-after
6772 files.
6773 * configure: Regenerated.
6774
890d8bd8
L
67752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6776
6777 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6778 8-byte data alignment with LP_SIZE alignment.
6779
f6ee6623
L
67802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6781
6782 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6783 into R10_LP.
6784
ea2626f6
L
67852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6786
6787 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6788
085f715e
L
67892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6790
6791 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6792 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6793 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6794 Likewise.
6795 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6796
be8498fc
L
67972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6798
6799 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6800 (stackinfo_sub_sp): Likewise.
6801
70bc83b9
L
68022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6803
6804 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6805 RAX_LP.
6806
9bc0b730
L
68072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6808
6809 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6810 into R*_LP.
6811
6d2850e7
L
68122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6813
6814 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6815 sizes into R*_LP.
6816
3cb84561
L
68172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6818
6819 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6820
54e2ed81
L
68212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6822
6823 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6824 into R11_LP and load __x86_64_shared_cache_size_half into
6825 R8_LP.
6826
8a17f349
L
68272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6828
6829 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6830 R8_LP.
6831
777b1eea
AZ
68322012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6833
6834 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6835 logb for POWER7.
6836 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6837 logbf for POWER7.
6838 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6839 logbl for POWER7.
6840 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6841 powerpc32/power7/fpu/s_logb.c via #include.
6842 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6843 powerpc32/power7/fpu/s_logbf.c via #include.
6844 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6845 powerpc32/power7/fpu/s_logbl.c via #include.
6846
d20d4ac2
JM
68472012-05-15 Joseph Myers <joseph@codesourcery.com>
6848
6849 * README.libm: Remove file.
6850
6cdef1ab
L
68512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6852
6853 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6854 count for x32. Use R*_LP and omit operand-size suffix.
6855
0b254d8f
L
68562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6857
6858 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6859 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6860 * sysdeps/x86_64/x32/shlib-versions: New file.
6861
ceb809dc
RM
68622012-05-14 Roland McGrath <roland@hack.frob.com>
6863
6864 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6865 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6866 Use _dl_fatal_printf instead.
6867
37f1abd4
JM
68682012-05-14 Joseph Myers <joseph@codesourcery.com>
6869
6870 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6871 set if not set by the user. Do not allow for being unset.
6872 * sysdeps/unix/sysv/linux/configure: Regenerated.
6873
11de3a33
L
68742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6875
6876 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6877 the `q' suffix from lea and replace .quad with ASM_ADDR.
6878
e02f153a
L
68792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6880
6881 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6882 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6883 instead of $17.
6884 (PTR_DEMANGLE): Likewise.
6885
520ae0fd
L
68862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6887
6888 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6889 (LP_OP): Likewise.
6890 (ASM_ADDR): Likewise.
6891 (RAX_LP): Likewise.
6892 (RBP_LP): Likewise.
6893 (RBX_LP): Likewise.
6894 (RCX_LP): Likewise.
6895 (RDI_LP): Likewise.
6896 (RSI_LP): Likewise.
6897 (RSP_LP): Likewise.
6898 (R8_LP): Likewise.
6899 (R9_LP): Likewise.
6900 (R10_LP): Likewise.
6901 (R10_LP): Likewise.
6902 (R11_LP): Likewise.
6903 (R12_LP): Likewise.
6904 (R13_LP): Likewise.
6905 (R14_LP): Likewise.
6906 (R15_LP): Likewise.
6907
b985be81
L
69082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6909
6910 * sysdeps/x86_64/x32/dl-machine.h: New file.
6911
6a4888ff
AJ
69122012-05-14 Andreas Jaeger <aj@suse.de>
6913
6914 * manual/Makefile (subdir): Remove export of subdir.
6915 (all): Remove target.
6916 (.PHONY): Remove all from list.
6917 (mkinstalldirs): Remove.
6918 (.PHONY): Remove installdirs from list.
6919 ($(inst_infodir)/libc.info): Use make-target-directory.
6920 (installdirs): Remove.
6921 (subdir_%): Remove.
6922 (glibc-targets): Remove.
6923 (lib): Remove.
6924 (stubs): Remove.
6925 ($(objpfx)stubs ../po/manual.pot): Remove.
6926 ($(objpfx)stamp%): Remove.
6927 (make-target-directory): Remove.
6928 (subdir_install): Remove.
6929 (routines): Remove.
6930 (aux): Remove.
6931 (sources): Remove.
6932 (objects): Remove.
6933 (headers): Remove.
6934
6935 [BZ #13750]
6936 * manual/.gitignore: Remove, it's not needed anymore.
6937 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6938 all files in it.
6939 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6940 directory.
6941 (texis): Renamed to $(objpfx)texis.
6942 (texis-path): New, contains path to generated files.
6943 (chapters.%): Use texis-path for complete path, add extra argument
6944 libc-texinfo.sh.
6945 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6946 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6947 (summary,texi, stamp-summary): Use complete path of
6948 files. Generate files in build dir.
6949 (dir-add.texi): Build in build dir.
6950 (libm-err.texi,stamp-libm-err): Likewise.
6951 (version.texi, stamp-version): Likewise.
6952 (.%c.texi): Likewise.
6953 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6954 (mostlyclean): Remove target.
6955 (realclean): Remove target.
6956 (generated): Add new variable with contents from mostlyclean and
6957 realclean, remove entries duplicated in common-mostlyclean, add
6958 stamp-libm-err and stamp-version.
6959 (generated-dirs): Add libc directory.
6960 ($(inst_infodir)/libc.info): Install files from build dir.
6961
6962 * manual/install.texi (Configuring and compiling): Adjust since
6963 the info files are not part of the tar ball anymore.
6964
7ac77294
AJ
69652012-05-14 Andreas Jaeger <aj@suse.de>
6966
6967 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6968 variable.
6969
ffb7875d
JM
69702012-05-14 Joseph Myers <joseph@codesourcery.com>
6971
6972 [BZ #13717]
6973 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6974 to 2.2.0 where earlier.
6975 * sysdeps/unix/sysv/linux/configure: Regenerated.
6976 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6977 Remove conditional code.
6978 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6979 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6980 Remove conditional code.
6981 [!__NR_lchown]: Likewise.
6982 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6983 [__NR_lchown]: Likewise.
6984 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6985 comment referencing __ASSUME_LCHOWN_SYSCALL.
6986 * sysdeps/unix/sysv/linux/i386/sigaction.c
6987 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6988 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6989 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6990 Remove conditional code.
6991 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6992 (__protocol_available): Remove #if 0 code.
6993 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6994 conditional code.
6995 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6996 * sysdeps/unix/sysv/linux/kernel-features.h
6997 (__ASSUME_GETCWD_SYSCALL): Don't define.
6998 (__ASSUME_REALTIME_SIGNALS): Likewise.
6999 (__ASSUME_PREAD_SYSCALL): Likewise.
7000 (__ASSUME_PWRITE_SYSCALL): Likewise.
7001 (__ASSUME_POLL_SYSCALL): Likewise.
7002 (__ASSUME_LCHOWN_SYSCALL): Likewise.
7003 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
7004 non-SPARC.
7005 (__ASSUME_SIOCGIFNAME): Don't define.
7006 (__ASSUME_MSG_NOSIGNAL): Likewise.
7007 (__ASSUME_SENDFILE): Define unconditionally.
7008 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
7009 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
7010 conditional code.
7011 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
7012 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
7013 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7014 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7015 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
7016 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7017 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
7019 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7020 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7022 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7023 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
7025 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7026 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7028 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7029 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
7031 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7032 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
7034 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7035 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
7037 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7038 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
7040 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7041 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7042 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
7043 Remove conditional code.
7044 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7045 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7046 Remove conditional code.
7047 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7048 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
7049 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
7050 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7051 Remove conditional code.
7052 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7053 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
7054 Remove conditional code.
7055 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7056 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
7057 Remove conditional code.
7058 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7059 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7060 Remove conditional code.
7061 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7062 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7063 Remove conditional code.
7064 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7065 * sysdeps/unix/sysv/linux/sh/pwrite64.c
7066 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7067 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7068 * sysdeps/unix/sysv/linux/sigaction.c
7069 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7070 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7071 * sysdeps/unix/sysv/linux/sigpending.c
7072 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7073 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7074 * sysdeps/unix/sysv/linux/sigprocmask.c
7075 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7076 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7077 * sysdeps/unix/sysv/linux/sigsuspend.c
7078 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7079 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7080 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7081 (__libc_missing_rt_sigs): Remove.
7082 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
7083 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
7084 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
7085 Remove conditional code.
7086 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
7087 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
7088 return 1.
7089 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
7090 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
7091 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
7092 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
7093
1bfb7291
AJ
70942012-05-14 Andreas Jaeger <aj@suse.de>
7095
caae5a81
AJ
7096 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
7097 it's not used in glibc.
7098 (__coshm1): Likewise.
7099 (__acosh1p): Likewise.
7100 (__sgn): Likewise.
7101
1bfb7291
AJ
7102 * manual/string.texi (Copying and Concatenation): Add missing
7103 variable in concat example.
7104 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7105
c044d724
L
71062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7107
144c5467 7108 [BZ #14103]
c044d724
L
7109 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
7110 __builtin_clzl with __builtin_clzll.
7111
2523c62b
L
71122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7113
7114 [BZ #14104]
7115 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
7116 libc_freeres_ptr.
7117
d7bb4c42
LD
71182012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7119
7120 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
7121 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
7122 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
7123 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
7124
9dc4e1fb
MF
71252012-05-14 Mike Frysinger <vapier@gentoo.org>
7126
7127 * NEWS: Update ia64 info.
7128
c7df0112
AS
71292012-05-12 Andreas Schwab <schwab@linux-m68k.org>
7130
7131 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
7132 used as bcopy.
7133
dc70356c
TS
71342012-05-12 Thomas Schwinge <thomas@codesourcery.com>
7135
7136 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
7137 * sysdeps/unix/syscalls.list (dup3): Likewise.
7138 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
7139 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7140
9fb1a21f
L
71412012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7142
7143 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
7144 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7145
4822a2a5
L
71462012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7147
7148 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7149 thread pointer.
7150 (TLS_IE): Use mov/add instead of movq/addq to load thread
7151 pointer.
7152 (TLS_GD_PREFIX): New.
7153 (TLS_GD): Use it.
7154
842b81d6
DM
71552012-05-11 David S. Miller <davem@davemloft.net>
7156
7157 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7158 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7159 (_FPU_SETCW): Likewise.
7160
1cf463cd
L
71612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7162
7163 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7164 is 32-byte aligned.
7165
60cc4a18
AS
71662012-05-11 Andreas Schwab <schwab@linux-m68k.org>
7167
7168 [BZ #11837]
7169 * iconvdata/gb18030.c: Update tables.
7170 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
7171 characters specially.
7172 (BODY for TO_LOOP): Add encoding of missing ranges.
7173
febb44a4
TS
71742012-05-11 Thomas Schwinge <thomas@codesourcery.com>
7175
7176 [BZ #13673]
7177 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7178 * sysdeps/mach/hurd/dup3.c: Likewise.
7179 * sysdeps/mach/hurd/readlinkat.c: Likewise.
7180 * sysdeps/powerpc/memmove.c:: Likewise.
7181
0a10fb9e
L
71822012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7183
7184 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7185 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7186
df8a552f
L
71872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7188
7189 * elf/elf.h (R_X86_64_RELATIVE64): New.
7190 (R_X86_64_NUM): Updated.
7191 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7192 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
7193 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7194 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7195 tst-quad1pie tst-quad2pie
7196 (modules-names): Add tst-quadmod1 tst-quadmod2.
7197 ($(objpfx)tst-quad1): New dependency.
7198 ($(objpfx)tst-quad2): Likewise.
7199 ($(objpfx)tst-quad1pie): Likewise.
7200 ($(objpfx)tst-quad2pie): Likewise.
7201 * sysdeps/x86_64/tst-quad1.c: New file.
7202 * sysdeps/x86_64/tst-quad1pie.c: New file.
7203 * sysdeps/x86_64/tst-quad2.c: Likewise.
7204 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7205 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7206 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7207 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7208 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7209
f34d6f84
ST
72102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7211
f42d41d1
ST
7212 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7213 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7214 * streams/stropts.h (t_scalar_t): Define type.
7215
3c3571fc
ST
7216 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7217 (_PATH_PRESERVE): Set to "/var/lib".
7218 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7219
61f06bd3
ST
7220 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7221 instead of int.
7222
918d4d71
ST
7223 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7224 if __dir_mkfile succeeded.
7225
f34d6f84
ST
7226 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7227 checking for _hurd_dtablesize. Unlock it right after having
7228 finished _hurd_dtable allocation.
7229
10589b4a
TS
72302012-05-10 Thomas Schwinge <thomas@schwinge.name>
7231
674cdbc7
TS
7232 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7233 * sysdeps/mach/hurd/configure: Regenerated.
7234 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7235 special-casing to...
7236 * sysdeps/gnu/configure.in: ... this new file.
7237 * sysdeps/unix/sysv/linux/configure: Regenerated.
7238 * sysdeps/gnu/configure: New generated file.
7239
8e41b99f
TS
7240 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7241 for Linux: use nsec instead of usec, as well as:
7242 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7243 members of type struct timespec.
7244 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7245 New macros.
7246 (struct stat64): Likewise.
7247 (_STATBUF_ST_NSEC): New macro.
7248 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7249
10589b4a
TS
7250 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7251 __strtoul_internal rather than strtoul.
7252
63643c85
PT
72532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7254
7255 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7256 and reject them.
7257
3faebe6a
ST
72582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7259
7260 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7261 which preserves existing values.
7262 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7263
c6474b07
PT
72642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7265
7266 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7267 TIMEOUT values. Return EINVAL for NFDS values either negative or
7268 greater than FD_SETSIZE.
7269
1043890b
ST
72702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7271
7272 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7273 allocated, call __vm_protect to finish enabling the existing space, and
7274 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7275 allocate the remainder.
7276
37ed8b9b
PT
72772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7278
7279 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7280 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7281
db653660
ST
72822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7283
37ed8b9b
PT
7284 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7285 sysdeps/mach/hurd/readlink.c.
b29d4053 7286
db653660
ST
7287 * posix/tst-sysconf.c (posix_options): Only use
7288 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7289 _POSIX_SYNCHRONIZED_IO when they are defined
7290 * sysdeps/mach/hurd/bits/posix_opt.h:
7291 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7292 (_XOPEN_REALTIME): Undefine macro.
7293 (_XOPEN_REALTIME_THREADS): Undefine macro.
7294 (_XOPEN_SHM): Undefine macro.
7295 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7296 macro to -1.
7297 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7298 macro to -1.
7299 (_POSIX_ASYNC_IO): Undefine macro.
7300 (_POSIX_PRIORITIZED_IO): Undefine macro.
7301 (_POSIX_SPIN_LOCKS): Define macro to -1.
7302
ee16e894
ST
7303 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7304 SA_NODEFER, SA_RESETHAND.
7305 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7306 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7307 F_DUPFD_CLOEXEC.
7308
6103ae3b
TS
73092012-05-10 Thomas Schwinge <thomas@schwinge.name>
7310
7311 * elf/Makefile (pldd-modules): Define unconditionally.
7312
80b4e5f3
TS
73132012-05-10 Thomas Schwinge <thomas@schwinge.name>
7314
7315 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7316
edadcbd6
ST
73172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7318
7319 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7320 Return ENOENT when name is empty.
7321 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7322
80694780
TS
73232012-05-10 Thomas Schwinge <thomas@schwinge.name>
7324
1792c087
TS
7325 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7326
80694780
TS
7327 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7328
6b645f0d
ST
73292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7330
80694780
TS
7331 Fix mlock in all cases except non-readable pages.
7332 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7333 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 7334
6b645f0d
ST
7335 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7336 (__mkdir): When path is `/', just fail with EEXIST.
7337 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7338
e468f8a3
TS
73392012-05-10 Thomas Schwinge <thomas@schwinge.name>
7340
7341 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7342 <sys/uio.h> (for writev).
7343 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7344 and <sys/param.h> (for MIN).
7345
a4186cff
PT
73462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7347
7348 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7349 REQUESTED_TIME. Properly set the remaining time and return EINTR
7350 if interrupted.
7351
510bbf14
TS
73522012-05-10 Thomas Schwinge <thomas@schwinge.name>
7353
7354 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7355 Depend on against $(link-rpcuserlibs).
7356
5d5722e8
ST
73572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7358
a4186cff
PT
7359 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7360 (__libc_stack_end): Do not use attribute_relro.
7361 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7362 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 7363 to libthread-provided value.
a4186cff
PT
7364 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7365 attribute_relro.
5d5722e8 7366
37233df9
TS
73672012-05-10 Thomas Schwinge <thomas@schwinge.name>
7368
be971a2b
TS
7369 [BZ #3748]
7370 * bits/libc-lock.h (__libc_once_get): New macro.
7371 * sysdeps/mach/bits/libc-lock.h: Likewise.
7372 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7373 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7374 instead of using implementation details.
7375
37233df9
TS
7376 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7377 * libio/freopen.c: Likewise.
7378 * libio/freopen64.c: Likewise.
7379 * misc/syslog.c: Likewise.
7380 * nscd/connections.c: Likewise.
7381 * nscd/netgroupcache.c: Likewise.
7382 * sysdeps/posix/getcwd.c: Likewise.
7383
38de94a5
RM
73842012-05-10 Roland McGrath <roland@hack.frob.com>
7385
7386 * math/w_ilogbf.c: Add #include <limits.h>.
7387
67530489
ST
73882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7389
a4186cff 7390 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
7391 path instead of returning without unlocking.
7392
67530489
ST
7393 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7394 immediate-write ioctls.
7395 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7396
5aa3a74a
TS
73972012-05-10 Thomas Schwinge <thomas@schwinge.name>
7398
18bad2ae
TS
7399 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7400 __builtin_frame_address instead of making assumptions about the
7401 location of the return address relative to DATA. Force early load of
7402 the return address.
7403 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7404 __builtin_frame_address.
7405
5aa3a74a
TS
7406 dup3 for GNU Hurd.
7407 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7408 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7409 implement dup3 and do some further code clean-ups.
7410 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7411 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7412
ecd0de9a
ST
74132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7414
cd9fa985
ST
7415 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7416
a4186cff
PT
7417 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7418 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7419 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7420 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7421 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7422 d->port.lock.
802ca5a5 7423
a4186cff
PT
7424 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7425 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7426 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 7427
bcf55240
TS
74282012-05-10 Thomas Schwinge <thomas@schwinge.name>
7429
6960eb42
TS
7430 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7431 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7432 definitions.
7433
eb43375f
TS
7434 accept4 for GNU Hurd.
7435 * include/sys/socket.h (__libc_accept4): New prototype.
7436 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7437 to implement __libc_accept4.
7438 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7439 __libc_accept4.
7440 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7441
bcf55240
TS
7442 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7443 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7444 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7445 signal-defines.sym.
7446
6178c55b
ST
74472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7448
a4186cff 7449 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 7450
6f080c2f
TS
74512012-05-10 Thomas Schwinge <thomas@schwinge.name>
7452
7453 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7454 assertion on O_CLOEXEC flag.
7455 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7456 * hurd/intern-fd.c: Likewise.
7457 * hurd/port2fd.c: Likewise.
7458
bcfe3a54
ST
74592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7460
7461 [BZ #3906]
7462 * bits/in.h (IPV6_PKTINFO): Define new macro.
7463 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7464
89c9aa49
AZ
74652012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7466
7467 [BZ #13954]
7468 [BZ #13955]
7469 [BZ #13956]
7470 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7471 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7472 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7473 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7474 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7475 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7476 * math/libm-test.inc (logb_test) : Additional logb tests.
7477
021db4be
AJ
74782012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7479 Andreas Jaeger <aj@suse.de>
7480
7481 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7482 * configure: Regenerated.
7483 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7484 * config.make.in (link-obsolete-rpc): New substituted variable.
7485 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7486 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7487 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7488 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7489 so that libc.a contains the symbols.
7490 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7491 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7492 * sunrpc/auth_none.c: Likewise.
7493 * sunrpc/auth_unix.c: Likewise.
7494 * sunrpc/authdes_prot.c: Likewise.
7495 * sunrpc/authuxprot.c: Likewise.
7496 * sunrpc/clnt_gen.c: Likewise.
7497 * sunrpc/clnt_perr.c: Likewise.
7498 * sunrpc/clnt_raw.c: Likewise.
7499 * sunrpc/clnt_simp.c: Likewise.
7500 * sunrpc/clnt_tcp.c: Likewise.
7501 * sunrpc/clnt_udp.c: Likewise.
7502 * sunrpc/clnt_unix.c: Likewise.
7503 * sunrpc/des_crypt.c: Likewise.
7504 * sunrpc/des_soft.c: Likewise.
7505 * sunrpc/get_myaddr.c: Likewise.
7506 * sunrpc/key_call.c: Likewise.
7507 * sunrpc/key_prot.c: Likewise.
7508 * sunrpc/netname.c: Likewise.
7509 * sunrpc/pm_getmaps.c: Likewise.
7510 * sunrpc/pm_getport.c: Likewise.
7511 * sunrpc/pmap_clnt.c: Likewise.
7512 * sunrpc/pmap_prot.c: Likewise.
7513 * sunrpc/pmap_prot2.c: Likewise.
7514 * sunrpc/pmap_rmt.c: Likewise.
7515 * sunrpc/publickey.c: Likewise.
7516 * sunrpc/rpc_cmsg.c: Likewise.
7517 * sunrpc/rpc_common.c: Likewise.
7518 * sunrpc/rpc_dtable.c: Likewise.
7519 * sunrpc/rpc_prot.c: Likewise.
7520 * sunrpc/rpc_thread.c: Likewise.
7521 * sunrpc/rtime.c: Likewise.
7522 * sunrpc/svc.c: Likewise.
7523 * sunrpc/svc_auth.c: Likewise.
7524 * sunrpc/svc_raw.c: Likewise.
7525 * sunrpc/svc_run.c: Likewise.
7526 * sunrpc/svc_tcp.c: Likewise.
7527 * sunrpc/svc_udp.c: Likewise.
7528 * sunrpc/svc_unix.c: Likewise.
7529 * sunrpc/svcauth_des.c: Likewise.
7530 * sunrpc/xcrypt.c: Likewise.
7531 * sunrpc/xdr.c: Likewise.
7532 * sunrpc/xdr_array.c: Likewise.
7533 * sunrpc/xdr_float.c: Likewise.
7534 * sunrpc/xdr_intXX_t.c: Likewise.
7535 * sunrpc/xdr_mem.c: Likewise.
7536 * sunrpc/xdr_rec.c: Likewise.
7537 * sunrpc/xdr_ref.c: Likewise.
7538 * sunrpc/xdr_sizeof.c: Likewise.
7539 * sunrpc/xdr_stdio.c: Likewise.
7540
b5c086a2
RM
75412012-05-10 Roland McGrath <roland@hack.frob.com>
7542
7543 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7544 change. Update copyright years.
7545
6d74dd09
JM
75462012-05-10 Joseph Myers <joseph@codesourcery.com>
7547
7548 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7549
28e72501
MK
75502012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7551 Joseph Myers <joseph@codesourcery.com>
7552 Paul Pluzhnikov <ppluzhnikov@google.com>
7553
7554 [BZ #14012]
7555 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7556 requiring rpcgen.
7557 [cross-compiling] (extra-libs): Likewise.
7558 [cross-compiling] (extra-libs-others): Likewise.
7559 [cross-compiling] (librpcsvc-routines): Likewise.
7560 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7561 [cross-compiling] (omit-deps): Likewise.
7562 (sunrpc-CPPFLAGS): New variable.
7563 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7564 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7565 (cross-rpcgen-objs): New variable.
7566 (extra-objs): Append $(cross-rpcgen-objs).
7567 ($(cross-rpcgen-objs)): New rule.
7568 ($(objpfx)cross-rpcgen): Likewise.
7569 (rpcgen-cmd): Define to use $(built-program-file). Expand
7570 comment.
7571 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7572 ($(objpfx)x%.stmp): Likewise.
7573 * sunrpc/proto.h [IS_IN_build] (_): Define.
7574 [IS_IN_build] (_libc_intl_domainname): Likewise.
7575
c8c59454
L
75762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7577
7578 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7579 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7580 and R_X86_64_TPOFF64.
7581
6f27cd16
JM
75822012-05-10 Joseph Myers <joseph@codesourcery.com>
7583
7584 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7585 sysdeps/unix/sysv/syscalls.list.
7586 (stime): Likewise.
7587 (utime): Likewise.
7588 * sysdeps/unix/sysv/syscalls.list: Remove file.
7589
02467e1c
PE
75902012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7591
7592 [BZ #3440]
7593 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7594 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7595 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7596 (__LC_IDENTIFICATION): Make these macros useful in #if
7597 expressions, as required by C99.
7598
da392631
AS
75992012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7600
7601 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7602 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7603 after this.
7604
8115f29b
L
76052012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7606
7607 * stdlib/longlong.h: Updated from GCC.
7608
bdd74070
AJ
76092012-05-09 Andreas Jaeger <aj@suse.de>
7610
edfe0dbe
AJ
7611 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7612 default is first entry.
7613 (run_mode): Set type.
7614 (main): Remove informal message about syslog.
7615 (options): Fix typo.
7616
bcfe3a54
ST
7617 [BZ #14053]
7618 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 7619 to asm.
bcfe3a54
ST
7620 (lrint): Likewise.
7621 (llrintf): Likewise.
7622 (llrint): Likewise.
7623 (rint): Likewise.
7624 (rintf): Likewise.
7625 (nearbyint): Likewise.
7626 (nearbyintf): Likewise.
bdd74070 7627
91d8d69e
AJ
76282012-05-09 Andreas Jaeger <aj@suse.de>
7629 Pedro Alves <palves@redhat.com>
7630
7631 * nscd/nscd.c (run_mode): Use enum.
7632 (main): Cleanup coding style issue.
7633
bb90b80b
AJ
76342012-05-09 Alexandre Oliva <aoliva@redhat.com>
7635 Andreas Jaeger <aj@suse.de>
7636
bcfe3a54
ST
7637 * nscd/nscd.c (go_background): Replaced with...
7638 (run_mode): ... this.
bb90b80b 7639 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
7640 (options): Add -F --foreground.
7641 (main): Implement it.
7642 (parse_opt): Parse it.
bb90b80b 7643
1a4b75a1
AJ
76442012-05-09 Andreas Jaeger <aj@suse.de>
7645
7646 [BZ #14083]
7647 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7648 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7649 -Wconversion warning.
7650 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7651 Likewise.
7652
b1cc2472
JM
76532012-05-09 Joseph Myers <joseph@codesourcery.com>
7654
7655 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7656 == 0.
7657 (LC_ALL): Use macro-int-constant.
7658 (LC_COLLATE): Likewise.
7659 (LC_CTYPE): Likewise.
7660 (LC_MESSAGES): Likewise.
7661 (LC_MONETARY): Likewise.
7662 (LC_NUMERIC): Likewise.
7663 (LC_TIME): Likewise.
7664 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7665 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7666 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7667 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7668 Specify type.
7669 [C99-based standards] (float_t): Expect type.
7670 [C99-based standards] (double_t): Expect type.
7671 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7672 type.
7673 [C99-based standards] (HUGE_VALL): Likewise.
7674 [C99-based standards] (INFINITY): Likewise.
7675 [C99-based standards] (NAN): Likewise.
7676 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7677 [C99-based standards] (FP_NAN): Likewise.
7678 [C99-based standards] (FP_NORMAL): Likewise.
7679 [C99-based standards] (FP_SUBNORMAL): Likewise.
7680 [C99-based standards] (FP_ZERO): Likewise.
7681 [C99-based standards] (FP_FAST_FMA): Use
7682 optional-macro-int-constant. Specify type. Require == 1.
7683 [C99-based standards] (FP_FAST_FMAF): Likewise.
7684 [C99-based standards] (FP_FAST_FMAL): Likewise.
7685 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7686 [C99-based standards] (FP_ILOGBNAN): Likewise.
7687 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7688 Specify type.
7689 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7690 [C99-based standards] (math_errhandling): Specify type.
7691 [ISO99 || ISO11] (signgam): Do not allow.
7692 [non-C99-based standards] (copysignf): Do not allow.
7693 [non-C99-based standards] (exp2f): Likewise.
7694 [non-C99-based standards] (log2f): Likewise.
7695 [non-C99-based standards] (modff): Allow.
7696 [non-C99-based standards] (erff): Do not allow.
7697 [non-C99-based standards] (erfcf): Likewise.
7698 [non-C99-based standards] (gammaf): Likewise.
7699 [non-C99-based standards] (hypotf): Likewise.
7700 [non-C99-based standards] (j0f): Likewise.
7701 [non-C99-based standards] (j1f): Likewise.
7702 [non-C99-based standards] (jnf): Likewise.
7703 [non-C99-based standards] (lgammaf): Likewise.
7704 [non-C99-based standards] (tgammaf): Likewise.
7705 [non-C99-based standards] (y0f): Likewise.
7706 [non-C99-based standards] (y1f): Likewise.
7707 [non-C99-based standards] (ynf): Likewise.
7708 [non-C99-based standards] (isnanf): Likewise.
7709 [non-C99-based standards] (acoshf): Likewise.
7710 [non-C99-based standards] (asinhf): Likewise.
7711 [non-C99-based standards] (atanhf): Likewise.
7712 [non-C99-based standards] (cbrtf): Likewise.
7713 [non-C99-based standards] (expm1f): Likewise.
7714 [non-C99-based standards] (ilogbf): Likewise.
7715 [non-C99-based standards] (log1pf): Likewise.
7716 [non-C99-based standards] (logbf): Likewise.
7717 [non-C99-based standards] (nextafterf): Likewise.
7718 [non-C99-based standards] (remainderf): Likewise.
7719 [non-C99-based standards] (rintf): Likewise.
7720 [non-C99-based standards] (scalbf): Likewise.
7721 [non-C99-based standards] (copysignl): Likewise.
7722 [non-C99-based standards] (exp2l): Likewise.
7723 [non-C99-based standards] (log2l): Likewise.
7724 [non-C99-based standards] (modfl): Allow.
7725 [non-C99-based standards] (erfl): Do not allow.
7726 [non-C99-based standards] (erfcl): Likewise.
7727 [non-C99-based standards] (gammal): Likewise.
7728 [non-C99-based standards] (hypotl): Likewise.
7729 [non-C99-based standards] (j0l): Likewise.
7730 [non-C99-based standards] (j1l): Likewise.
7731 [non-C99-based standards] (jnl): Likewise.
7732 [non-C99-based standards] (lgammal): Likewise.
7733 [non-C99-based standards] (tgammal): Likewise.
7734 [non-C99-based standards] (y0l): Likewise.
7735 [non-C99-based standards] (y1l): Likewise.
7736 [non-C99-based standards] (ynl): Likewise.
7737 [non-C99-based standards] (isnanl): Likewise.
7738 [non-C99-based standards] (acoshl): Likewise.
7739 [non-C99-based standards] (asinhl): Likewise.
7740 [non-C99-based standards] (atanhl): Likewise.
7741 [non-C99-based standards] (cbrtl): Likewise.
7742 [non-C99-based standards] (expm1l): Likewise.
7743 [non-C99-based standards] (ilogbl): Likewise.
7744 [non-C99-based standards] (log1pl): Likewise.
7745 [non-C99-based standards] (logbl): Likewise.
7746 [non-C99-based standards] (nextafterl): Likewise.
7747 [non-C99-based standards] (remainderl): Likewise.
7748 [non-C99-based standards] (rintl): Likewise.
7749 [non-C99-based standards] (scalbl): Likewise.
7750 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7751 [non-C99-based standards] (FP_*): Do not allow.
7752 [C99-based standards] (FP_*): Change to
7753 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7754 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7755 allow.
7756 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7757 (SIG_ERR): Likewise.
7758 [X/Open-based standards] (SIG_HOLD): Likewise.
7759 (SIG_IGN): Likewise.
7760 (SIGABRT): Use macro-int-constant. Specify type. Require
7761 positive value.
7762 (SIGFPE): Likewise.
7763 (SIGILL): Likewise.
7764 (SIGINT): Likewise.
7765 (SIGSEGV): Likewise.
7766 (SIGTER): Likewise.
7767 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7768 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7769 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7770 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7771 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7772 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7773 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7774 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7775 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7776 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7777 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7778 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7779 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7780 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7781 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7782 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7783 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7784 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7785 [X/Open-based standards] (SIGTRAP): Likewise.
7786 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7787 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7788 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7789 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7790 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7791 allow.
7792
b9f1922d
IW
77932012-05-08 Ian Wienand <ianw@vmware.com>
7794
7795 [BZ #14080]
7796 * time/tzset.c (__tzset_parse_tz): Update default rules for
7797 daylight time changes in the Energy Policy Act of 2005.
7798
1db86e88
AJ
77992012-05-09 Andreas Jaeger <aj@suse.de>
7800
7801 [BZ #13983]
7802 * elf/ldconfig.c (parse_conf): Change string to make clear that
7803 ldconfig only issued a warning if ld.so.conf does not exist.
7804
dee4a4e3
DM
78052012-05-08 David S. Miller <davem@davemloft.net>
7806
ee0db190
DM
7807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7808 movxtod instead of popping the value on the stack.
7809
dee4a4e3
DM
7810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7811
6a43ec98
CD
78122012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7813
7814 * config.h.in: Add HAVE_ARM_PCS_VFP.
7815
05c2c961
RMG
78162012-05-08 Roland Mc Grath <roland@hack.frob.com>
7817
bcfe3a54
ST
7818 [BZ #13979]
7819 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7820 checking but the checks are disabled for any reason.
05c2c961 7821
4b30f61a
L
78222012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7823
7824 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7825 and ELF64_R_TYPE with ELFW(R_TYPE).
7826
eee2bc67
JM
78272012-05-08 Joseph Myers <joseph@codesourcery.com>
7828
7ea5391a
JM
7829 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7830 (ulimit): Likewise.
7831
eee2bc67
JM
7832 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7833 (settimeofday): Likewise.
7834
abb66a67
MF
78352012-05-08 Mike Frysinger <vapier@gentoo.org>
7836
7837 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7838 a struct th_u2 inside the union, and move tu_block/tu_code into
7839 a new th_u3 union of tu_block/tu_code inside of that. Move
7840 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7841 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7842 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7843 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7844 (th_stuff): Change to th_u1.tu_stuff.
7845 (th_data): Define.
7846 (th_msg): Change to th_u1.th_u2.tu_data.
7847
7f18b530
DM
78482012-05-07 David S. Miller <davem@davemloft.net>
7849
05760585
DM
7850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7851
7f18b530
DM
7852 [BZ #14074]
7853 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7854 (SETUP_PIC_REG): Use it.
7855 (SETUP_PIC_REG_LEAF): Use it.
7856
495fd99f
JM
78572012-05-07 Joseph Myers <joseph@codesourcery.com>
7858
7859 [BZ #13885]
7860 [BZ #13923]
7861 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7862 USE_AS_EXPM1L.
7863 (EXPL_FINITE): Likewise.
7864 (FLDLOG): Likewise.
7865 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7866 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7867 e_expl.S.
7868 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7869 USE_AS_EXPM1L.
7870 (EXPL_FINITE): Likewise.
7871 (FLDLOG): Likewise.
7872 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7873 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7874 e_expl.S.
7875 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7876 test of -max_value argument for long double.
7877 * sysdeps/i386/fpu/libm-test-ulps: Update.
7878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7879
6693d694
DM
78802012-05-06 David S. Miller <davem@davemloft.net>
7881
7882 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7883 quad soft-float symbols whose references which are compiler
7884 generated.
7885 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7886
6c23e11c
JM
78872012-05-06 Joseph Myers <joseph@codesourcery.com>
7888
d8b82cad
JM
7889 [BZ #13884]
7890 [BZ #13914]
7891 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7892 USE_AS_EXP10L.
7893 (EXPL_FINITE): Likewise.
7894 (FLDLOG): Likewise.
7895 (c0): Likewise.
7896 (c1): Likewise.
7897 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7898 Adjust comments for base varying.
7899 (__expl_finite): Change alias to EXPL_FINITE.
7900 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7901 e_expl.S.
7902 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7903 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7904 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7905 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7906 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7907 USE_AS_EXP10L.
7908 (EXPL_FINITE): Likewise.
7909 (FLDLOG): Likewise.
7910 (c0): Likewise.
7911 (c1): Likewise.
7912 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7913 Adjust comments for base varying.
7914 (__expl_finite): Change alias to EXPL_FINITE.
7915 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7916 tests for bugs.
7917 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7918
6c23e11c
JM
7919 [BZ #14064]
7920 * math/libm-test.inc (check_float_internal): Correct ulp
7921 calculation for subnormal expected results.
7922
29ba805c
AJ
79232012-05-06 Andreas Jaeger <aj@suse.de>
7924
7925 * Makeconfig (+math-flags): New, set to -frounding-math.
7926 (+cflags): Add +math-flags so that all of glibc gets compiled with
7927 it.
7928
7929 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7930
7b17aeda
JM
79312012-05-05 Joseph Myers <joseph@codesourcery.com>
7932
5779f134
JM
7933 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7934 Disable one test.
7935
41498f4d
JM
7936 [BZ #13787]
7937 [BZ #13922]
7938 [BZ #14036]
7939 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7940 (__ieee754_expl): Allow for and saturate large arguments.
7941 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7942 (u_threshold): Likewise.
7943 (__exp): Call __ieee754_exp before checking for overflow and
7944 underflow.
7945 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7946 (u_threshold): Likewise.
7947 (__expf): Call __ieee754_expf before checking for overflow and
7948 underflow.
7949 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7950 (u_threshold): Likewise.
7951 (__expl): Call __ieee754_expl before checking for overflow and
7952 underflow.
7953 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7954 (__ieee754_expl): Allow for and saturate large arguments.
7955 * math/libm-test.inc (exp_test): Add another test. Do not allow
7956 missing overflow exception on overflow.
7957 (expm1_test): Do not allow missing overflow exception on overflow.
7958
6698b8bf
JM
7959 * sysdeps/i386/fpu/e_expl.c: Move to ...
7960 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7961 rather than using inline asm.
7962 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7963 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7964 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7965
7b17aeda
JM
7966 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7967 (nice): Likewise.
7968 (poll): Likewise.
7969 (signal): Likewise.
7970 (time): Likewise.
7971 (times): Likewise.
7972
f7c85819
JM
79732012-05-04 Joseph Myers <joseph@codesourcery.com>
7974
7975 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7976 sysdeps/unix/common/syscalls.list.
7977 (fchmod): Likewise.
7978 (fchown): Likewise.
7979 (ftruncate): Likewise.
7980 (getrusage): Likewise.
7981 (gettimeofday): Likewise.
7982 (setpgid): Likewise.
7983 (setregid): Likewise.
7984 (setreuid): Likewise.
7985 (sigaction): Likewise.
7986 (truncate): Likewise.
7987 (vhangup): Likewise.
7988 * sysdeps/unix/common/syscalls.list: Remove file.
7989 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7990 * sysdeps/unix/sysv/linux/Implies: Likewise.
7991
336270d0
L
79922012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7993
7994 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7996 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7997 Moved to ...
7998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7999 Here.
8000 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
8001 to ...
8002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
8003 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
8004 to ...
8005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
8006 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
8007 to ...
8008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
8009 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
8010 to ...
8011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
8012 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
8013 to ...
8014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
8015 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
8016 to ...
8017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
8018 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
8019 to ...
8020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8021 Here.
8022 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
8023 to ...
8024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
8025 Here.
8026 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
8027 to ...
8028 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
8029 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
8030 Moved to ...
8031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
8032 Here.
8033 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
8034 to ...
8035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
8036
d128e450
JM
80372012-05-04 Joseph Myers <joseph@codesourcery.com>
8038
fa8ee516
JM
8039 * sysdeps/unix/common/bits/dirent.h: Remove file.
8040 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8041
d128e450
JM
8042 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
8043 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
8044 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
8045 * sysdeps/unix/bsd/isatty.c: Likewise.
8046 * sysdeps/unix/bsd/tcdrain.c: Likewise.
8047 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
8048 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
8049
ff8faaf0 80502012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 8051
62881be4 8052 [BZ #13563]
31dc8730
AZ
8053 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
8054 long double comparison inaccuracies.
8055 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8057
6fef930c
AS
80582012-05-04 Andreas Schwab <schwab@linux-m68k.org>
8059
8060 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
8061 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
8062
8f203e6c
JM
80632012-05-04 Joseph Myers <joseph@codesourcery.com>
8064
8065 [BZ #14049]
8066 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
8067 nonzero digits before rounding a hex value.
8068 * stdlib/tst-strtod.c (tests): Add another test.
8069
5197d9c2
AK
80702012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8071
8072 * sysdeps/s390/fpu/libm-test-ulps: Update.
8073
f0c1dedf
AJ
80742012-05-03 Andreas Jaeger <aj@suse.de>
8075
8076 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
8077 does not get optimized out.
8078 (malloc_opt_barrier): New.
8079
a65ef2ae 80802012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 8081 Roland McGrath <roland@hack.frob.com>
a65ef2ae 8082
2b942cb7 8083 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 8084 intermediate file deletion.
2b942cb7 8085 (generated): Add .symlist files.
a65ef2ae 8086
54b71e02
JM
80872012-05-03 Joseph Myers <joseph@codesourcery.com>
8088
8089 [BZ #13775]
8090 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
8091 Redirect under this condition.
8092 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8093 [__USE_GNU] (__dprintf_chk): Not under this condition.
8094 [__USE_GNU] (__vdprintf_chk): Likewise.
8095 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
8096 under this condition.
8097 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8098 [__USE_XOPEN2K8] (dprintf): Define under this condition.
8099 [__USE_XOPEN2K8] (vdprintf): Likewise.
8100 [__USE_GNU] (__dprintf_chk): Not under this condition.
8101 [__USE_GNU] (__vdprintf_chk): Likewise.
8102 [__USE_GNU] (dprintf): Likewise.
8103 [__USE_GNU] (vdprintf): Likewise.
8104
d3dfcc41
RM
81052012-05-03 Roland McGrath <roland@hack.frob.com>
8106
8107 * elf/Makefile (common-generated): Set this instead of generated for
8108 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
8109 $(all-built-dso)-derived lists.
8110
7ac30cc5
AJ
81112012-05-03 Andreas Jaeger <aj@suse.de>
8112
0c51e550
AJ
8113 * sysdeps/i386/fpu/libm-test-ulps: Update.
8114
7ac30cc5
AJ
8115 * FAQ: Removed.
8116 * FAQ.in: Likewise.
8117 * scripts/gen-FAQ.pl: Likewise.
8118 * manual/install.texi (Installation): Point to online location of
8119 FAQ.
8120 * Makefile (files-for-dist): Remove FAQ.
8121 (FAQ): Remove.
8122
d4c2917f
AM
81232012-05-02 Allan McRae <allan@archlinux.org>
8124
8125 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
8126 (LDFLAGS-reldepmod5.so): Likewise.
8127 (LDFLAGS-reldep6mod1.so): Likewise.
8128 (LDFLAGS-reldep6mod4.so): Likewise.
8129 (LDFLAGS-reldep8mod3.so): Likewise.
8130 (LDFLAGS-unload4mod1.so): Likewise.
8131 (LDFLAGS-unload4mod2.so): Likewise.
8132 (LDFLAGS-tst-initorder): Likewise.
8133 (LDFLAGS-tst-initordera2.so): Likewise.
8134 (LDFLAGS-tst-initordera3.so): Likewise.
8135 (LDFLAGS-tst-initordera4.so): Likewise.
8136 (LDFLAGS-tst-initorderb2.so): Likewise.
8137 (LDFLAGS-noload): Likewise.
8138 (LDFLAGS-next): Likewise.
8139 (LDFLAGS-order2mod1.so): Likewise.
8140 (LDFLAGS-order2mod2.so): Likewise.
8141 (LDFLAGS-tst-initorder2): Likewise.
8142 (LDFLAGS-tst-initorder2a.so): Likewise.
8143 (LDFLAGS-tst-initorder2b.so): Likewise.
8144 (LDFLAGS-tst-initorder2c.so): Likewise.
8145 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8146
d77f993f
DM
81472012-05-02 David S. Miller <davem@davemloft.net>
8148
8149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8150
171a70b4
PP
81512012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8152
8153 [BZ #14055]
8154 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8155
0be196ad
AJ
81562012-05-02 Andreas Jaeger <aj@suse.de>
8157
8158 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8159 since we manipulate rounding mode.
8160 (CPPFLAGS-test-idouble.c): Likewise.
8161 (CPPFLAGS-test-ifloat.c): Likewise.
8162 (CFLAGS-test-ldouble.c): Likewise.
8163 (CFLAGS-test-double.c): Likewise.
8164 (CFLAGS-test-float.c): Likewise.
8165 (CFLAGS-test-misc.c): Likewise.
8166 (CFLAGS-test-test-fenv.c): Likewise.
8167
4f9d04aa
AZ
81682012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8169
2b942cb7
RM
8170 [BZ #2550]
8171 [BZ #2570]
8172 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8173 comparisons to determine direction to adjust input.
4f9d04aa 8174
82a79e7d
RM
81752012-05-01 Roland McGrath <roland@hack.frob.com>
8176
f5a01ca9
RM
8177 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8178 output to the target.
8179
90fe4186
RM
8180 * scripts/localplt.awk: New file.
8181 * elf/Makefile ($(objpfx)check-localplt): Target removed.
8182 (check-localplt-CFLAGS): Variable removed.
8183 ($(all-built-dso:=.jmprel)): New static pattern rule.
8184 (generated): Add those targets.
8185 (localplt-built-dso): New variable.
8186 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8187
8188 * elf/check-localplt.c: File removed.
8189
82397ed6
RM
8190 * scripts/check-execstack.awk: New file.
8191 * elf/Makefile ($(objpfx)check-execstack): Target removed.
8192 (check-execstack-CFLAGS): Variable removed.
8193 ($(objpfx)check-execstack.h): Target removed.
8194 ($(objpfx)execstack-default): New target.
8195 (generated): Add that instead of check-execstack.h.
8196 ($(all-built-dso:=.phdr)): New static pattern rule.
8197 (generated): Add those targets.
8198 * elf/check-execstack.c: File removed.
8199
82a79e7d
RM
8200 * scripts/check-textrel.awk: New file.
8201 * elf/Makefile ($(objpfx)check-textrel): Target removed.
8202 (check-textrel-CFLAGS): Variable removed.
8203 (all-built-dso): Use := to define.o
8204 ($(all-built-dso:=.dyn)): New static pattern rule.
8205 (generated): Add those targets.
8206 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8207 * config.make.in (READELF): New substituted variable.
8208 * elf/check-textrel.c: File removed.
8209
62fde54f 82102012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 8211
615605c9
JM
8212 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8213 allow.
8214 * conform/data/ctype.h-data [C99-based standards] (isblank):
8215 Expect function.
8216 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8217 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8218 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8219 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8220 Specify type. Require positive value.
8221 (EILSEQ): Likewise.
8222 (ERANGE): Likewise.
8223 [ISO || POSIX] (EILSEQ): Do not expect.
8224 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8225 Specify type. Require positive value.
8226 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8227 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8228 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8229 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8230 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8231 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8232 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8233 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8234 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8235 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8236 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8237 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8238 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8239 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8240 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8241 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8242 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8243 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8244 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8245 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8246 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8247 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8248 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8249 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8250 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8251 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8252 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8253 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8254 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8255 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8256 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8257 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8258 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8259 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8260 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8261 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8262 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8263 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8264 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8265 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8266 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8267 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8268 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8269 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8270 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8271 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8272 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8273 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8274 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8275 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8276 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8277 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8278 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8279 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8280 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8281 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8282 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8283 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8284 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8285 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8286 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8287 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8288 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8289 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8290 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8291 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8292 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8293 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8294 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8295 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8296 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8297 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8298 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8299 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8300 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8301 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8302 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8303 Require >= 2.
8304 (FLT_ROUNDS): Expect as macro, not constant.
8305 (FLT_MANT_DIG): Use macro-int-constant.
8306 (DBL_MANT_DIG): Likewise.
8307 (LDBL_MANT_DIG): Likewise.
8308 (FLT_DIG): Likewise.
8309 (DBL_DIG): Likewise.
8310 (LDBL_DIG): Likewise.
8311 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8312 (DBL_MIN_EXP): Likewise.
8313 (LDBL_MIN_EXP): Likewise.
8314 (FLT_MAX_EXP): Use macro-int-constant.
8315 (DBL_MAX_EXP): Likewise.
8316 (LDBL_MAX_EXP): Likewise.
8317 (FLT_MAX_10_EXP): Likewise.
8318 (DBL_MAX_10_EXP): Likewise.
8319 (LDBL_MAX_10_EXP): Likewise.
8320 (FLT_MAX): Use macro-constant.
8321 (DBL_MAX): Likewise.
8322 (LDBL_MAX): Likewise.
8323 (FLT_EPSILON): Use macro-constant. Give upper bound.
8324 (DBL_EPSILON): Likewise.
8325 (LDBL_EPSILON): Likewise.
8326 (FLT_MIN): Likewise.
8327 (DBL_MIN): Likewise.
8328 (LDBL_MIN): Likewise.
8329 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8330 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8331 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8332 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8333 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8334 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8335 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8336 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8337 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8338 [ISO11] (FLT_TRUE_MIN): Likewise.
8339 [ISO11] (LDBL_TRUE_MIN): Likewise.
8340 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8341 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8342 (SCHAR_MIN): Use macro-int-constant. Specify type.
8343 (SCHAR_MAX): Likewise.
8344 (UCHAR_MAX): Likewise.
8345 (CHAR_MIN): Likewise.
8346 (CHAR_MAX): Likewise.
8347 (MB_LEN_MAX): Use macro-int-constant.
8348 (SHRT_MIN): Use macro-int-constant. Specify type.
8349 (SHRT_MAX): Likewise.
8350 (USHRT_MAX): Likewise.
8351 (INT_MAX): Likewise.
8352 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8353 bound negative.
8354 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8355 bound with "U".
8356 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8357 bound with "L".
8358 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8359 bound negative. Suffix upper bound with "L".
8360 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8361 bound with "UL".
8362 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8363 Specify type.
8364 [C99-based standards] (LLONG_MAX): Likewise.
8365 [C99-based standards] (ULLONG_MAX): Likewise.
8366 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8367 == 0.
8368 [ISO11] (max_align_t): Require type.
8369 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8370
c9140a62
JM
8371 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8372 from $CFLAGS, without defining away __attribute__ calls.
8373 (checknamespace): Use $CFLAGS_namespace.
8374
9af0bf29
JM
8375 * conform/conformtest.pl (@keywords): Only include C99 keywords
8376 for standards based on C99 or C11.
8377
343222a2
JM
8378 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8379 Disable tests.
8380 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8381 UNIX98]: Likewise.
8382
661f8cf0
JM
8383 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8384 usability of symbols in #if.
8385
ee74b9cb
JM
8386 * conform/conformtest.pl: If macro or constant types start
8387 "promoted:", expect the symbol to be of the following type
8388 promoted by the integer promotions.
62fde54f 8389
aafc49b3
JM
8390 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8391 in one place. Also handle "macro-constant".
8392
fefdf574
JM
8393 * conform/conformtest.pl: Only accept expected macro values with
8394 "==". Parse all "macro" lines in one place.
8395 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8396
f2d922fe
JM
8397 * conform/conformtest.pl: Handle braced types on "constant" lines
8398 instead of handling "typed-constant".
8399 * conform/data/signal.h-data: Use "constant" instead of
8400 "typed-constant".
8401
d22956c9
JM
8402 * conform/conformtest.pl: Handle "optional-" at start of lines in
8403 one place rather than duplicating several cases. Handle each
8404 format of "macro" line with initial "optional-".
8405
028e2e38
JM
8406 * conform/conformtest.pl: Only accept expected constant or
8407 optional-constant values with "==". Parse all "constant" lines in
8408 one place. Parse all "optional-constant" lines in one place.
8409 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8410 * conform/data/fmtmsg.h-data: Likewise.
8411 * conform/data/netinet/in.h-data: Likewise.
8412 * conform/data/tar.h-data: Likewise.
8413 * conform/data/limits.h-data: Use "==" form on "constant" and
8414 "optional-constant" lines.
8415
1b8f2850
JM
8416 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8417 Use -std=c99 for XOPEN2K.
8418 (@knownproblems): Remove.
8419 (newtoken): Don't check %isknown.
8420
a05a144b
JM
8421 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8422 Do not expect macro.
8423 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8424 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8425 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8426 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8427 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8428 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8429 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8430 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8431 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8432 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8433 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8434 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8435 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8436 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8437 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8438 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8439 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8440 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8441 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8442 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8443 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8444 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8445 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8446 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8447 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8448 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8449 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8450 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8451 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8452 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8453 [XPG3] (acosh): Likewise.
8454 [XPG3] (asinh): Likewise.
8455 [XPG3] (atanh): Likewise.
8456 [XPG3] (cbrt): Likewise.
8457 [XPG3] (expm1): Likewise.
8458 [XPG3] (ilogb): Likewise.
8459 [XPG3] (log1p): Likewise.
8460 [XPG3] (logb): Likewise.
8461 [XPG3] (nextafter): Likewise.
8462 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8463 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8464 [XPG3] (remainder): Likewise.
8465 [XPG3] (rint): Likewise.
8466 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8467 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8468 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8469 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8470 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8471 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8472 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8473 [UNIX98 || XOPEN2K] (scalb): Expect.
8474 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8475 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8476 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8477 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8478 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8479 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8480 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8481 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8482 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8483 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8484 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8485 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8486 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8487 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8488 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8489 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8490 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8491 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8492 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8493 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8494 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8495 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8496 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8497 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8498 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8499 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8500 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8501 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8502 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8503 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8504 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8505 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8506 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8507 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8508 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8509 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8510 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8511 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8512 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8513 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8514 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8515 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8516 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8517 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8518 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8519 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8520 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8521 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8522 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8523 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8524 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8525 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8526 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8527 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8528 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8529 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8530 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8531 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8532 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8533 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8534 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8535 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8536 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8537 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8538 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8539 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8540 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8541 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8542 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8543 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8544 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8545 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8546 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8547 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8548 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8549 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8550 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8551 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8552 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8553 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8554 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8555 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8556 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8557 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8558 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8559 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8560 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8561 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8562 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8563 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8564 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8565 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8566 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8567 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8568 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8569 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8570 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8571 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8572 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8573 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8574 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8575 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8576 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8577 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8578 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8579 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8580 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8581 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8582 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8583 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8584 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8585 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8586 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8587 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8588 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8589 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8590 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8591 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8592 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8593 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8594 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8595 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8596 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8597 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8598 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8599 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8600 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8601 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8602 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8603 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8604 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8605 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8606 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8607 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8608 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8609 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8610 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8611
73c5ebe3
JM
8612 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8613 _XOPEN_SOURCE_EXTENDED for XPG4.
8614
39c33b6c
JM
8615 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8616
62fde54f
JM
8617 * Makeconfig (localtime): Remove variable.
8618 (inst_localtime-file): Likewise.
8619
0741d64c
AS
86202012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8621
8622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8623 Update.
8624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8625 Update.
8626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8627 Update.
8628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8629 Update.
8630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8631 Update.
8632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8633 Update.
8634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8635 Update.
8636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8637 Update.
8638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8639 Update.
8640
7cb029ee
JM
86412012-05-01 Joseph Myers <joseph@codesourcery.com>
8642
8643 [BZ #2550]
8644 [BZ #2570]
8645 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8646 comparisons to determine direction to adjust input.
8647 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8648 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8649 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8650 Likewise.
8651 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8652 Likewise.
8653 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8654 Likewise.
8655 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8656 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8657 Likewise.
8658 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8659 Likewise.
8660 * math/libm-test.inc (nexttoward_test): Add more tests.
8661
412bd966
AS
86622012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8663
8664 [BZ #14040]
8665 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8666 in version GLIBC_2.1, not GLIBC_2.0.
8667 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8668 Likewise.
8669
9568c0c2
JM
86702012-04-30 Joseph Myers <joseph@codesourcery.com>
8671
adfbc8ac
JM
8672 [BZ #13942]
8673 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8674 (1 - x) * (1 + x).
8675 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8676 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8677 * math/libm-test.inc (acos_test): Add more tests.
8678 (asin_test): Likewise.
8679 * sysdeps/i386/fpu/libm-test-ulps: Update.
8680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8681
5ba3cc69
JM
8682 [BZ #14034]
8683 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8684 of square root.
8685 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8686 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8687 * math/libm-test.inc (acos_test_tonearest): New function.
8688 (acos_test_towardzero): Likewise.
8689 (acos_test_downward): Likewise.
8690 (acos_test_upward): Likewise.
8691 (asin_test_tonearest): Likewise.
8692 (asin_test_towardzero): Likewise.
8693 (asin_test_downward): Likewise.
8694 (asin_test_upward): Likewise.
8695 (main): Call the new functions.
8696 * sysdeps/i386/fpu/libm-test-ulps: Update.
8697 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8698
9568c0c2
JM
8699 [BZ #13884]
8700 [BZ #13924]
8701 * math/e_exp10.c: Include <float.h>.
8702 (__ieee754_exp10): Handle underflow here rather than multiplying
8703 large negative argument by M_LN10.
8704 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8705 of __ieee754_expf.
8706 * math/e_exp10l.c: Include <float.h>.
8707 (__ieee754_exp10l): Handle underflow here rather than multiplying
8708 large negative argument by M_LN10l.
8709 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8710 spurious overflow exception on underflow.
8711
5ac3ea17
MP
87122012-04-29 Marek Polacek <polacek@redhat.com>
8713
8714 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8715 (__fortify_function): New macro.
8716 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8717 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8718 __extern_always_inline.
8719 * libio/bits/stdio2.h: Likewise.
8720 * libio/bits/stdio.h: Likewise.
8721 * string/string.h: Likewise.
8722 * string/bits/string3.h: Likewise.
8723 * include/stdio.h: Likewise.
8724 * stdlib/bits/stdlib.h: Likewise.
8725 * stdlib/stdlib.h: Likewise.
8726 * rt/bits/mqueue2.h: Likewise.
8727 * rt/mqueue.h: Likewise.
8728 * posix/bits/unistd.h: Likewise.
8729 * posix/unistd.h: Likewise.
8730 * io/bits/poll2.h: Likewise.
8731 * io/bits/fcntl2.h: Likewise.
8732 * io/fcntl.h: Likewise.
8733 * io/sys/poll.h: Likewise.
8734 * misc/bits/syslog.h: Likewise.
8735 * misc/bits/syslog-ldbl.h: Likewise.
8736 * misc/sys/syslog.h: Likewise.
8737 * socket/bits/socket2.h: Likewise.
8738 * socket/sys/socket.h: Likewise.
8739 * debug/tst-chk1.c: Likewise.
8740 * wcsmbs/bits/wchar2.h: Likewise.
8741 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8742 * wcsmbs/wchar.h: Likewise.
8743
ecf0ebfb
AJ
87442012-04-29 Andreas Jaeger <aj@suse.de>
8745
8746 * Makerules (tests): Remove enable-check-abi protection.
8747 (check-abi-warn): Remove.
8748 (check-abi-%): Remove check-abi-warn usage.
8749
8750 * configure.in: Remove check-abi configure option.
8751 * configure: Regenerated.
8752 * config.make.in (enable-check-abi): Remove.
8753
6d5c57fa
AS
87542012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8755
24c5d07e 8756 [BZ #14033]
ded5180a
AS
8757 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8758 double functions to double *_finite functions.
8759
7e0d315d
AS
8760 [BZ #13941]
8761 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8762 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8763 LDBL_MIN_EXP.
8764 * stdio-common/Makefile (tests): Add tst-sprintf3.
8765 * stdio-common/tst-sprintf3.c: New file.
8766
6d5c57fa
AS
8767 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8768 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8769
0749ff8b
JM
87702012-04-28 Joseph Myers <joseph@codesourcery.com>
8771
8772 * conform/conformtest.pl: Remove duplicate typed-constant
8773 handling.
8774
8dbd5d7b
DM
87752012-04-28 David S. Miller <davem@davemloft.net>
8776
8777 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8778 (check-abi-%): Remove AWK script prerequisite and explicit
8779 abilist directory.
8780 (check-abi): Rewrite to just diff the symlist with the abilist.
8781 (config-tls, config-abi-config): Delete, no longer used.
8782 (update-abi-%): Remove AWK script and explicit abilist directory.
8783 (update-abi): Rewrite to simply compare and conditionally copy the
8784 symlist and the sysdep abilist file. Remove update-abi-config
8785 checks.
8786 * abilist/ld.abilist: Remove.
8787 * abilist/libBrokenLocale.abilist: Remove.
8788 * abilist/libanl.abilist: Remove.
8789 * abilist/libcrypt.abilist: Remove.
8790 * abilist/libdl.abilist: Remove.
8791 * abilist/librt.abilist: Remove.
8792 * abilist/libthread_db.abilist: Remove.
8793 * abilist/libutil.abilist: Remove.
8794 * scripts/extract-abilist.awk: Remove.
8795 * scripts/merge-abilist.awk: Remove.
8796 * sysdeps/generic/libcidn.abilist: New file.
8797 * sysdeps/generic/libnss_compat.abilist: New file.
8798 * sysdeps/generic/libnss_db.abilist: New file.
8799 * sysdeps/generic/libnss_dns.abilist: New file.
8800 * sysdeps/generic/libnss_files.abilist: New file.
8801 * sysdeps/generic/libnss_hesiod.abilist: New file.
8802 * sysdeps/generic/libnss_nis.abilist: New file.
8803 * sysdeps/generic/libnss_nisplus.abilist: New file.
8804 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8805 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8806 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8807 file.
8808 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8809 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8810 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8811 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8812 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8813 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8814 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8815 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8816 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8817 file.
8818 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8819 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8820 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8821 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8822 file.
8823 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8824 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8825 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8826 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8827 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8828 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8829 file.
8830 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8831 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8832 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8833 file.
8834 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8836 New file.
8837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8838 New file.
8839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8840 New file.
8841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8842 New file.
8843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8844 New file.
8845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8846 New file.
8847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8848 New file.
8849 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8850 New file.
8851 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8852 New file.
8853 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8854 New file.
8855 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8856 New file.
8857 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8858 New file.
8859 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8860 New file.
8861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8862 file.
8863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8864 New file.
8865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8866 New file.
8867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8868 file.
8869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8870 New file.
8871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8872 New file.
8873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8874 file.
8875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8876 New file.
8877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8878 New file.
8879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8880 New file.
8881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8882 New file.
8883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8884 New file.
8885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8886 New file.
8887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8889 file.
8890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8891 New file.
8892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8893 file.
8894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8895 file.
8896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8897 file.
8898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8899 file.
8900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8901 file.
8902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8903 New file.
8904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8905 file.
8906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8907 file.
8908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8909 New file.
8910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8911 file.
8912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8914 file.
8915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8916 New file.
8917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8918 file.
8919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8920 file.
8921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8922 file.
8923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8924 file.
8925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8926 file.
8927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8928 New file.
8929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8930 file.
8931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8932 file.
8933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8934 New file.
8935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8936 file.
8937 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8938 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8939 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8940 file.
8941 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8942 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8943 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8944 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8945 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8946 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8947 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8948 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8949 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8950 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8953 file.
8954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8955 New file.
8956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8957 file.
8958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8959 file.
8960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8961 file.
8962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8963 file.
8964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8965 file.
8966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8967 New file.
8968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8969 New file.
8970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8971 file.
8972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8973 New file.
8974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8975 file.
8976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8978 file.
8979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8980 New file.
8981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8982 file.
8983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8984 file.
8985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8986 file.
8987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8988 file.
8989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8990 file.
8991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8992 New file.
8993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8994 New file.
8995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8996 file.
8997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8998 New file.
8999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
9000 file.
9001
41d73a1b
JM
90022012-04-28 Joseph Myers <joseph@codesourcery.com>
9003
9004 * conform/conformtest.pl: Fix typo in handling typed-constant from
9005 allow-header.
9006
28aeeda4
JM
90072012-04-27 Joseph Myers <joseph@codesourcery.com>
9008
adae8f5e
JM
9009 * README: Cut down references to pre-2.6 Linux kernels and
9010 Linuxthreads. Update lists of configurations in libc and ports
9011 and sort alphabetically. Say "or newer" with Linux kernel version
9012 requirements.
9013
28aeeda4
JM
9014 * config.h.in [IS_IN_build]: Allow compiling without optimization.
9015
a462cb63
RA
90162012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9017
9018 [BZ #887]
9019 * math/libm-test.inc (logb_test_downward): New test to expose
9020 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
9021 rounding mode.
9022
6ad3493e
JM
90232012-04-27 Joseph Myers <joseph@codesourcery.com>
9024
9025 [BZ #14027]
9026 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
9027 to be done.
9028 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
9029 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
9030
2ce4f015
JM
90312012-04-26 Joseph Myers <joseph@codesourcery.com>
9032
5aeb141a
JM
9033 * sysdeps/unix/i386/brk.S: Remove file.
9034 * sysdeps/unix/i386/dl-brk.S: Likewise.
9035 * sysdeps/unix/i386/pipe.S: Likewise.
9036 * sysdeps/unix/i386/sigreturn.S: Likewise.
9037 * sysdeps/unix/i386/syscall.S: Likewise.
9038 * sysdeps/unix/i386/vfork.S: Likewise.
9039 * sysdeps/unix/i386/wait.S: Likewise.
9040
7143acae
JM
9041 * sysdeps/unix/common/tcsendbrk.c: Move to ...
9042 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
9043
2ce4f015
JM
9044 * configure.in (arm*-none*): Do not allow without
9045 --enable-hacker-mode.
9046 (netbsd*): Remove case setting base_os.
9047 (386bsd*): Likewise.
9048 (freebsd*): Likewise.
9049 (bsdi*): Likewise.
9050 (osf*): Likewise.
9051 (sunos*): Likewise.
9052 (ultrix*): Likewise.
9053 (newsos*): Likewise.
9054 (dynix*): Likewise.
9055 (*bsd*): Likewise.
9056 (sysv*): Likewise.
9057 (isc*): Likewise.
9058 (esix*): Likewise.
9059 (sco*): Likewise.
9060 (minix*): Likewise.
9061 (irix4*): Likewise.
9062 (irix6*): Likewise.
9063 (solaris[2-9]*): Likewise.
9064 (none): Likewise.
9065 * configure: Regenerated.
9066
0ac229c8
AZ
90672012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9068
9069 [BZ #11521]
9070 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
9071 overflow or cancellation in calculating denominator.
9072 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
9073 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
9074 down expression to avoid unexpected rounding in newer GCCs.
9075 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
9076
33f244f4
DM
90772012-04-26 David S. Miller <davem@davemloft.net>
9078
9079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
9080 long-double compat symbols.
9081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
9085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
9089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
9092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9094
cfa1f3e8
DM
90952012-04-25 David S. Miller <davem@davemloft.net>
9096
9097 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
9098 HWCAP_* values only after the memory barriers have been defined.
9099 (atomic_full_barrier): Define.
9100 (atomic_read_barrier): Define.
9101 (atomic_write_barrier): Define.
9102
6e236b92
SP
91032012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9104
9105 * shlib-versions: Add libgcc_s version information.
9106 * sysdeps/generic/libgcc_s.h: Remove.
9107 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
9108 libgcc_s.h.
9109 * sysdeps/gnu/unwind-resume.c: Likewise.
9110 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
9111
aab39a09
DM
91122012-04-25 David S. Miller <davem@davemloft.net>
9113
9114 * sysdeps/unix/sparc/brk.S: Delete.
9115 * sysdeps/unix/sparc/dl-brk.S: Delete.
9116 * sysdeps/unix/sparc/pipe.S: Delete.
9117 * sysdeps/unix/sparc/sysdep.S: Delete.
9118 * sysdeps/unix/sparc/sysdep.h: Delete.
9119 * sysdeps/unix/sparc/vfork.S: Delete.
9120 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
9121 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
9122 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
9123 ret_ERRVAL, r0, r1, MOVE): Define.
9124 (JUMPTARGET): Remove.
9125 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
9126 sysdeps/unix/sparc/sysdep.h
9127 (ENTRY, END): Remove.
9128 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9129
a3cc4f48
JM
91302012-04-25 Joseph Myers <joseph@codesourcery.com>
9131
2ed8cda2
JM
9132 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
9133 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
9134 -DIS_IN_build.
9135
35d76d59
JM
9136 * timezone/README: Update upstream location and email address for
9137 tzcode and tzdata.
9138 * timezone/zdump.c: Update from tzcode 2012b.
9139 * timezone/zic.c: Likewise.
9140
a3cc4f48
JM
9141 * configure.in (libc_cv_as_needed): Remove test.
9142 * configure: Regenerated.
9143 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
9144 conditional definition.
9145 [$(have-as-needed) != yes] (no-as-needed): Likewise.
9146 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9147 * config.make.in (have-as-needed): Remove variable.
9148
ceab42c3
SP
91492012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9150 Paul Pluzhnikov <ppluzhnikov@google.com>
9151
9152 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9153 strings correctly.
9154
3ce2865f
CLT
91552012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
9156
9157 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9158 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9159 * sysdeps/sh/strlen.S: Likewise.
9160
f37e0d68
JM
91612012-04-24 Joseph Myers <joseph@codesourcery.com>
9162
ae186e9a
JM
9163 * sysdeps/unix/fork.S: Remove file.
9164 * sysdeps/unix/i386/fork.S: Likewise.
9165 * sysdeps/unix/sparc/fork.S: Likewise.
9166
b96914af
JM
9167 * sysdeps/unix/system.c: Remove file.
9168 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9169
f37e0d68
JM
9170 * sysdeps/unix/getegid.S: Remove file.
9171 * sysdeps/unix/geteuid.S: Likewise.
9172
87ef29ca
RM
91732012-04-24 Roland McGrath <roland@hack.frob.com>
9174
83bcd236
RM
9175 * scripts/check-localplt.awk: New file.
9176 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9177 of diff.
9178 * scripts/data/localplt-generic.data: Add a comment.
9179
87ef29ca
RM
9180 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9181 NODE when __dir_mkfile failed.
9182 * sysdeps/mach/hurd/symlinkat.c: Likewise.
9183 Reported by Ludovic Courtès <ludo@gnu.org>.
9184
e5a6e567
AJ
91852012-04-24 Andreas Jaeger <aj@suse.de>
9186
9187 * Makerules (common-clean): Also remove gen-as-const-headers
9188 files.
9189
c1820385
JM
91902012-04-24 Joseph Myers <joseph@codesourcery.com>
9191
9192 * Makerules (native-compile): Do not change working directory for
9193 build. Use $(OUTPUT_OPTION) in command.
9194 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9195
94e02fc4
AZ
91962012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9197
9198 [BZ #13886]
9199 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9200 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9201 * math/libm-test.inc (floor_test): Add more tests.
9202 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9203
3a533ca3
JM
92042012-04-24 Joseph Myers <joseph@codesourcery.com>
9205
940ab4b3
JM
9206 * sysdeps/unix/getdents.c: Remove file.
9207 * sysdeps/unix/sysv/getdents.c: Likewise.
9208 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9209
90e037bd
JM
9210 * sysdeps/unix/syscalls.list (madvise): Add syscall from
9211 sysdeps/unix/mman/syscalls.list.
9212 (mmap): Likewise.
9213 (mprotect): Likewise.
9214 (msync): Likewise.
9215 (munmap): Likewise.
9216 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9217 * sysdeps/unix/mman/syscalls.list: Remove.
9218 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9219
3a533ca3
JM
9220 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9221 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9222 * configure: Regenerated.
9223 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9224 $(libgcc_s_suffix).
9225 * config.make.in (libgcc_s_suffix): Remove variable.
9226
1ad743de
JM
92272012-04-23 Joseph Myers <joseph@codesourcery.com>
9228
4ad451e2
JM
9229 * sysdeps/unix/sysv/gethostname.c: Move to ...
9230 * sysdeps/posix/gethostname.c: ... here.
9231
5e37ce39
JM
9232 * sysdeps/unix/execve.S: Remove file.
9233
1ad743de
JM
9234 * sysdeps/unix/_exit.S: Remove file.
9235
4e681b5b
AJ
92362012-04-23 Andreas Jaeger <aj@suse.de>
9237
9238 [BZ #13739]
9239 * manual/Makefile: Remove make dist support, there's no
9240 need for a stand-alone documentation tar ball.
9241 (TEXI2DVI): Define always, it's not in Makeconfig.
9242 (dist): Removed.
9243 (tar-it): Removed.
9244 (edition): Removed.
9245 (glibc-doc-$(edition).tar): Removed
9246 (%.Z): Removed.
9247 (%.gz): Removed.
9248 (%.uu): Removed.
9249 (ETAGS): Remove, it's in Makeconfig.
9250 (move-if-change): Remove, it's in Makeconfig.
9251
c0baea34
PE
92522013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9253
9254 [BZ #13970]
9255 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9256 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9257 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9258 (strtod_l, strtof_l, strtold_l): Remove __wur.
9259 It is not necessarily an error to ignore strtol's return value.
9260 One can reliably look at the stored endptr to decide whether
9261 the number had valid syntax.
9262
7c0616fa
AJ
92632012-04-21 Andreas Jaeger <aj@suse.de>
9264
803cb6b7 9265 [BZ #13739]
7c0616fa
AJ
9266 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9267
b0fe253f
JM
92682012-04-21 Joseph Myers <joseph@codesourcery.com>
9269
9270 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9271 * sysdeps/unix/sysv/Versions: Remove file.
9272
8280f22d
MT
92732012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9274
9275 [BZ #13927]
9276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9277
75ce411f 92782012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
9279
9280 [BZ #7064]
9281 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9282 version from __vm86.
9283
097d59fa
JM
92842012-04-20 Joseph Myers <joseph@codesourcery.com>
9285
a90f3bcb
JM
9286 * sysdeps/unix/common/lxstat.c: Remove file.
9287 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9288
edc7ea78
JM
9289 * sysdeps/unix/sysv/Makefile: Remove file.
9290
cb78c221
JM
9291 * sysdeps/unix/sysv/direct.h: Remove file.
9292
efa6a45f
JM
9293 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9294 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9295 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9296 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9297 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9298 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9299 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9300
9c9f2d0c
JM
9301 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9302
4541c83b
JM
9303 * sysdeps/unix/xmknod.c: Remove file.
9304 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9305
f5d153a0
JM
9306 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9307
aa746595
JM
9308 * sysdeps/unix/sysv/i386/time.S: Remove file.
9309
cce5905e
JM
9310 * sysdeps/unix/fxstat.c: Remove file.
9311 * sysdeps/unix/xstat.c: Likewise.
9312 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9313
37fa3841
JM
9314 * sysdeps/unix/sysv/sigaction.c: Remove file.
9315
ff1962a3
JM
9316 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9317 (sysdep_headers): Remove variable.
9318 [termio.h not in sysdep_headers] (generated): Likewise.
9319 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9320 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9321 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9322 * sysdeps/unix/sysv/tcflow.c: Likewise.
9323 * sysdeps/unix/sysv/tcflush.c: Likewise.
9324 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9325 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9326 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9327 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9328 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9329
e7740d31
JM
9330 * sysdeps/unix/siglist.c: Remove file.
9331
ee06f18b
JM
9332 * sysdeps/unix/getppid.S: Remove file.
9333
097d59fa
JM
9334 * sysdeps/unix/mkdir.c: Remove file.
9335 * sysdeps/unix/rmdir.c: Likewise.
9336
ff3d51ec
AS
93372012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9338
9339 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9340 ERR_MAX value.
9341 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9342 errlist-compat value.
9343
50f81fd7
DM
93442012-04-18 David S. Miller <davem@davemloft.net>
9345
9346 * sysdeps/generic/memcopy.h (reg_char): Delete.
9347 * debug/strcat_chk.c: Use char, not reg_char.
9348 * debug/strcpy_chk.c: Likewise.
9349 * debug/strncat_chk.c: Likewise.
9350 * debug/strncpy_chk.c: Likewise.
9351 * string/memchr.c: Likewise.
9352 * string/memrchr.c: Likewise.
9353 * string/rawmemchr.c: Likewise.
9354 * string/strcat.c: Likewise.
9355 * string/strchr.c: Likewise.
9356 * string/strchrnul.c: Likewise.
9357 * string/strcmp.c: Likewise.
9358 * string/strcpy.c: Likewise.
9359 * string/strncat.c: Likewise.
9360 * string/strncmp.c: Likewise.
9361 * string/strncpy.c: Likewise.
9362
8ff41c46
WS
93632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9364
9365 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9366 __builtin_memcopy is called when src and dest ranges are known to not
9367 overlap.
9368
6b652f46
WS
93692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9370
9371 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9372 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9373 fwd_align_merge macro call.
9374 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9375 bwd_align_merge macro call.
9376 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9377
b282631e
WS
93782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9379
9380 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9381 bwd_align_merge macros.
9382 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9383 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9384 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9385
95aa737c
DM
93862012-04-18 David S. Miller <davem@davemloft.net>
9387
9388 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9389
7a99a614
AJ
93902012-04-18 Andreas Jaeger <aj@suse.de>
9391
9392 [BZ# 6794]
9393 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9394 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9395 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9396
9397 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9398 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9399 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9400
9401 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9402 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9403 Adjust for changed ldbl-128 files.
9404
9405 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9406 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9407 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9408
e5270c23
DM
94092012-04-17 David S. Miller <davem@davemloft.net>
9410
9411 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9412
fb5e92c9
AS
94132012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9414
9415 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9416 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9417 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9418 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9419 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9420 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9421
76da7265
AZ
94222012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9423
9424 [BZ #6794]
9425 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9426 * math/libm-test.inc: Add ilogb errno and exception tests.
9427 * math/w_ilogb.c: New file: ilogb wrapper.
9428 * math/w_ilogbf.c: New file: ilogbf wrapper.
9429 * math/w_ilogbl.c: New file: ilogbl wrapper.
9430 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9431 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9432 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9433 exception being thrown with 0.0 as argument.
9434 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9435 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9436 exception being thrown with 0.0 as argument.
9437 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9438 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9439 exception being thrown with 0.0 as argument.
9440 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9441 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9442 exception being thrown with 0.0 as argument.
9443 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9444 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 9445 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
9446 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9447 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9448 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9449 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9450 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9451 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9452
0396e69d
PB
94532012-04-17 Petr Baudis <pasky@ucw.cz>
9454
9455 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9456 with altivec.
9457
750b5926
MP
94582012-04-16 Marek Polacek <polacek@redhat.com>
9459
9460 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9461
751728a1
MP
94622012-04-16 Marek Polacek <polacek@redhat.com>
9463
9464 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9465 operands of fdivp instruction.
9466
34a27407
L
94672012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9468
9469 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9470 * elf/tst-auditmod3b.c: Likewise.
9471 * elf/tst-auditmod4b.c: Likewise.
9472 * elf/tst-auditmod5b.c: Likewise.
9473 * elf/tst-auditmod6b.c: Likewise.
9474 * elf/tst-auditmod6c.c: Likewise.
9475 * elf/tst-auditmod7b.c: Likewise.
9476 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9477 * sysdeps/x86_64/preconfigure.in: Likewise.
9478 * sysdeps/x86_64/preconfigure: Regenerated.
9479
7e73e17d
L
94802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9481
9482 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9483 __ILP32__.
9484
c7a6ab72
AB
94852012-04-13 Antoine Balestrat <merkil33@gmail.com>
9486
9487 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9488 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9489
a9e8e0e0
CL
94902012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9491
9492 [BZ #13973]
9493 * locale/iso-639.def: Fix gl language name. Spotted by
9494 Yaron Shahrabani.
9495
ec98af7d
RM
94962012-04-12 Roland McGrath <roland@hack.frob.com>
9497
9498 [BZ #2074]
9499 * libio/libio.h (__io_write_fn): Update comment.
9500
247c3ede
PB
95012012-04-12 Petr Baudis <pasky@ucw.cz>
9502
9503 [BZ #2074]
9504 * stdio.texi (Hook Functions): The user provided writer function
9505 is not allowed to return -1.
9506
55939d6d
DM
95072012-04-11 David S. Miller <davem@davemloft.net>
9508
9509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9510
90020f5a
MF
95112012-04-11 Mike Frysinger <vapier@gentoo.org>
9512
9513 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9514 Add a leading slash to rtkaio.
9515
288f9098
JM
95162012-04-11 Jim Meyering <meyering@redhat.com>
9517
90020f5a
MF
9518 [BZ #11959]
9519 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9520 It is not necessarily an error to ignore fwrite's return
9521 value. One can reliably use ferror to test for errors after
9522 the fact.
288f9098 9523
4be2b570
L
95242012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9525
9526 * bits/types.h (__snseconds_t): New type.
9527 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9528
9529 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9530 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9531 (__SNSECONDS_T_TYPE): Likewise.
9532 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9533 (__SNSECONDS_T_TYPE): Likewise.
9534 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9535 (__SNSECONDS_T_TYPE): Likewise.
9536
288f9098 95372012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
9538
9539 [BZ #2636]
9540 * manual/time.texi (Processor Time): Return type of times is
9541 elapsed real time since an arbitrary point in the past.
9542 (CPU Time): Move CLK_TCK from here...
9543 (Processor Time): ...to here. Correct description.
9544 * manual/conf.texi (Constants for Sysconf): Correct description of
9545 _SC_CLK_TCK.
9546
d7dd4413
DM
95472012-04-10 David S. Miller <davem@davemloft.net>
9548
9549 [BZ #13967]
9550 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9551 where the is a gap between DT_REL(A) and DT_JMPREL.
9552
b46068fc
L
95532012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9554
9555 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9556 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9557 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9558
73d65cc3
SP
95592012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9560
9561 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9562 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9563 (dl_main): Handle --inhibit-cache.
9564 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9565 _dl_inhibit_cache.
9566 * elf/dl-load.c (_dl_map_object): Use it.
9567 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9568
bcc8d661
JM
95692012-04-09 Joseph Myers <joseph@codesourcery.com>
9570
8f9a2fae
JM
9571 [BZ #13872]
9572 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9573 (__ieee754_powl): Saturate large exponents rather than testing for
9574 overflow of y*log2(x).
9575 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9576 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9577 exceptions.
9578
bcc8d661
JM
9579 [BZ #11521]
9580 * math/s_ctan.c: Include <float.h>.
9581 (__ctan): Avoid internal overflow or cancellation in calculating
9582 denominator.
9583 * math/s_ctanf.c: Likewise.
9584 * math/s_ctanl.c: Likewise.
9585 * math/s_ctanh.c: Likewise.
9586 * math/s_ctanhf.c: Likewise.
9587 * math/s_ctanhl.c: Likewise.
9588 * math/libm-test.inc (ctan_test): Add more tests.
9589 (ctanh_test): Likewise.
9590 * sysdeps/i386/fpu/libm-test-ulps: Update.
9591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9592
823fbbb4
AJ
95932012-04-09 Andreas Jaeger <aj@suse.de>
9594
03879793
AJ
9595 [BZ #6894]
9596 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9597 is an optional BSD extension.
9598
823fbbb4
AJ
9599 [BZ #10254]
9600 * manual/stdio.texi (Opening Streams): Document additional fopen
9601 parameters.
9602
8de131cb
RM
96032012-04-09 Roland McGrath <roland@hack.frob.com>
9604
9605 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9606 %eax without telling the compiler.
9607
c0ed9d7d
CD
96082012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9609
9610 [BZ # 13963]
9611 * manual/install.texi: Use sourceware.org.
9612
c483f6b4
JM
96132012-04-09 Joseph Myers <joseph@codesourcery.com>
9614
d7dd9453
JM
9615 [BZ #13873]
9616 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9617 (__ieee754_pow): Generate overflow and underflow using huge*huge
9618 and tiny*tiny rather than just returning constant infinity or zero
9619 for large exponents.
9620 * math/libm-test.inc (pow_test): Require overflow exceptions for
9621 applicable cases of large exponents.
9622
c483f6b4
JM
9623 [BZ #706]
9624 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9625 (__ieee754_pow): Use iterative multiplication algorithm only for
9626 integer exponents with absolute value below 1024. Check for odd
9627 integer exponents when using algorithm for real exponents.
9628 * math/libm-test.inc (pow_test): Add more tests.
9629 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9630
d2de7579
JM
96312012-04-08 Joseph Myers <joseph@codesourcery.com>
9632
9633 [BZ #13705]
9634 * math/libm-test.inc (exp_test): Do not allow overflow exception
9635 on underflow test.
9636
f77f1232
AJ
96372012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9638
9639 [BZ #13705]
9640 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9641 instead of __kernel_standard_f.
9642
3884932b
MF
96432012-04-08 Mike Frysinger <vapier@gentoo.org>
9644
9645 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9646 * sysdeps/x86_64/memset_chk.S: Likewise.
9647
54472e9c
AJ
96482012-04-08 Andreas Jaeger <aj@suse.de>
9649
6ab0fbfc
AJ
9650 [BZ #10153]
9651 * manual/startup.texi (Environment Access): Describe return value
9652 for putenv and setenv.
9653
61efba8c
AJ
9654 [BZ #6895]
9655 * manual/filesys.texi (Directory Entries): Add description for
9656 DT_LNK.
9657
95c3f29a
AJ
9658 [BZ #6890]
9659 * manual/filesys.texi (Directory Entries): Clarify that it's file
9660 system not operating system in the description of DT_UNKNOWN.
9661
54472e9c
AJ
9662 [BZ #6578]
9663 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9664
624254b1
SC
96652012-04-08 Stephen Compall <s11@member.fsf.org>
9666
9667 [BZ #6649]
9668 * manual/llio.texi (Opening and Closing Files): Add cross
9669 reference to explain mode argument.
9670
1e4920e0
MF
96712012-04-07 Mike Frysinger <vapier@gentoo.org>
9672
9673 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9674 * sysdeps/x86_64/memset_chk.S: Likewise.
9675
5ed848f3
DM
96762012-04-07 David S. Miller <davem@davemloft.net>
9677
9678 * elf/elf.h (R_SPARC_WDISP10): Define.
9679 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9680 R_SPARC_SIZE32.
9681 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9682 R_SPARC_SIZE64 and R_SPARC_H34.
9683
96154cd8
CD
96842012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9685
9686 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9687 conditions and remove no longer applicable assertion.
9688
9904dc47
L
96892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9690
9691 * bits/byteswap.h: Include <features.h>.
9692 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9693 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9694
f8887d0a
L
96952012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9696
9697 * bits/byteswap.h (__bswap_16): Removed.
9698 Include <bits/byteswap-16.h> to get __bswap_16.
9699 * sysdeps/i386/bits/byteswap.h: Likewise.
9700 * sysdeps/s390/bits/byteswap.h: Likewise.
9701 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9702 * bits/byteswap-16.h: New file.
9703 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9704 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9705 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9706 * string/Makefile (headers): Add bits/byteswap-16.h.
9707
62470f60
PP
97082012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9709
9710 [BZ #13895]
9711 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9712 extra indirection.
9713 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9714 * nss/tst-nss-static.c: New.
9715
4dad7bab
RM
97162012-04-06 Robert Millan <rmh@gnu.org>
9717
9718 [BZ #6486]
9719 * manual/llio.texi (File Position Primitive): lseek
9720 refers to WHENCE when it really means OFFSET.
9721
e9142a17
AJ
97222012-04-06 Andreas Jaeger <aj@suse.de>
9723
2c040eff
AJ
9724 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9725 strncmp declarations.
9726
e9142a17
AJ
9727 * abilist/libc.abilist: Add __poll and __ppoll.
9728
ff9f1c5f
DM
97292012-04-05 David S. Miller <davem@davemloft.net>
9730
dcd2ae90
DM
9731 * scripts/check-local-headers.sh: Accept a host triplet in the
9732 path matched by the exclude regexp.
9733
993eb054
DM
9734 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9735 definition.
9736 * sysdeps/powerpc/powerpc32/dl-machine.h
9737 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9738 * sysdeps/s390/s390-32/dl-machine.h
9739 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9740 * sysdeps/sparc/sparc32/dl-machine.h
9741 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9742 * sysdeps/sparc/sparc64/dl-machine.h
9743 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9744
ff9f1c5f
DM
9745 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9746 lazy binding.
48e2e132 9747 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
9748 undefined symbol errors.
9749
48e2e132 9750 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
9751 DT_NEEDED entries.
9752
e80d6f94
MM
97532012-04-05 Michael Matz <matz@suse.de>
9754
9755 [BZ #13592]
9756 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9757
349fa79f
AJ
97582012-04-05 Andreas Jaeger <aj@suse.de>
9759
9760 [BZ #13908]
9761 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9762 comment.
9763
f402708f
KK
97642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9765
9766 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9767 which ROUND is no valid rounding mode.
9768
2ecccfc9
KK
97692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9770
9771 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9772 read again.
9773 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9774
8a53f50f
KK
97752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9776
9777 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9778 an exception using FPU order intentionally.
9779
97802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9781
9782 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9783 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9784 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9785 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9786
d653abb7
SJ
97872012-04-05 Simon Josefsson <simon@josefsson.org>
9788
9789 [BZ #12340]
9790 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9791 EINVAL when BUFLEN is too smal.
9792
c3b1bf7d
TS
97932012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9794
9795 [BZ #13553]
9796 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9797 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9798
b1aa60f3
AJ
97992012-04-03 Andreas Jaeger <aj@suse.de>
9800
c3b1bf7d 9801 [BZ #13938]
67f60a26
AJ
9802 * manual/setjmp.texi (System V contexts): Fix sentence.
9803
b1aa60f3
AJ
9804 [BZ #13926]
9805 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9806 New macro for this case.
9807 [!__GNUC__] (__bswap_64): New inline function for this case.
9808 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9809 * bits/byteswap.h: Likewise.
9810 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9811 ull, guard with __GLIBC_HAVE_LONG_LONG.
9812
9813 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9814 __GLIBC_HAVE_LONG_LONG.
9815
9816 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9817 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9818
39c59c35
TMQMF
98192012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9820
9821 [BZ #13691]
9822 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9823 inptr and inend, rather than using last_ch.
9824
135ffda8
DM
98252012-04-02 David S. Miller <davem@davemloft.net>
9826
9827 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9828 * stdio-common/printf-parse.h (read_int): Change return type to
9829 'int', return -1 on INT_MAX overflow.
9830 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9831 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9832 overflows INT_MAX. Check for overflow of in-format-string precision
9833 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9834 SIZE_MAX not INT_MAX for integer overflow test.
9835 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9836 skip the construct in the format string but do not record anything.
9837 * stdio-common/bug22.c: Adjust to test both width/prevision
9838 INT_MAX overflow as well as total length INT_MAX overflow. Check
9839 explicitly for proper errno values.
9840
228c019e
TS
98412012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9842
302cadd3
TS
9843 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9844 CHAR_MAX.
9845 * string/test-strcmp.c [! WIDE]: Likewise.
9846 * time/tst-mktime2.c: Likewise for INT_MAX.
9847 * string/test-string.h: #include <sys/param.h> for MIN.
9848
228c019e
TS
9849 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9850 * sysdeps/i386/init-first.c (init): Likewise.
9851 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9852 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9853 * sysdeps/sh/init-first.c (init): Likewise.
9854
cfa633f5
UD
98552012-04-01 Ulrich Drepper <drepper@gmail.com>
9856
9857 * po/ru.po: Update from translation team.
d1635ef8 9858 * po/vi.po: Likewise.
cfa633f5 9859
6cd0a5ea
SP
98602012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9861
9862 * resolv/nss_dns/dns-host.c: Merge copyright years.
9863
4b43400f
LD
98642012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9865
9866 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9867 Optimize memcpy with prefetch if
9868 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9869 src, dst pointers have unequal 16 byte alignments.
9870
48c41d04
SP
98712012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9872
9873 [BZ #13928]
9874 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9875 from a CNAME entry and return the minimum ttl for the query.
9876 (gaih_getanswer_slice): Likewise.
9877
b8dc394d
JL
98782012-03-30 Jeff Law <law@redhat.com>
9879
9880 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9881 due to long keys.
9882 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9883 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9884
2f5a5ed0
JL
9885 * resolv/nss_dns/dns-host.c: Update copyright year.
9886
1d39e359
UD
98872012-03-30 Ulrich Drepper <drepper@gmail.com>
9888
c030f70c 9889 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 9890 requests to save a system call. Fix check that all bytes are sent.
c030f70c 9891
1d39e359
UD
9892 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9893 comments for sendmmsg.
9894
98952012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
9896
9897 [BZ #13691]
9898 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9899 with only 1 character between 0x0041 and 0x01b0.
9900 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9901 * wcsmbs/tst-mbsnrtowcs.c: New file.
9902
20fde227
DM
99032012-03-29 David S. Miller <davem@davemloft.net>
9904
9905 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9906 small copies by hand.
9907
984a4237
JL
99082012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9909
9910 [BZ #13761]
9911 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9912 _nss_compat_initgroups_dyn): Fall back to malloc/free
9913 for large group memberships.
9914
18c9d62b
DM
99152012-03-28 David S. Miller <davem@davemloft.net>
9916
88d85d4f
DM
9917 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9918 that branches into memcpy.
9919 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9920 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9921 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9922 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9923 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9924 bits.
9925 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9926 implementation too.
9927 * sysdeps/sparc/mempcpy.S: New file.
9928
e5aa83e1
DM
9929 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9930 the IFUNC routine in the libc case.
9931 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9932
88570753
DM
9933 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9934 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9935 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9936 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9937 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9938 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9939 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9940 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9941
249d7567
DM
9942 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9943 loop to 256 bytes instead of 64 bytes and fix test signedness.
9944
18c9d62b
DM
9945 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9946 * sysdeps/sparc/sparc32/Makefile: rather than here...
9947 * sysdeps/sparc/sparc64/Makefile: and here.
9948
05f3d1f6
UD
99492012-03-28 Ulrich Drepper <drepper@gmail.com>
9950
9951 * malloc/mallocbug.c: Avoid warnings about unused variables.
9952
86ae07a8
JL
99532012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9954
9955 [BZ #13760]
9956 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9957 in the right place. Discard and retry query if response is
9958 larger than input buffer size.
9959
41bf21a1
JM
99602012-03-28 Joseph Myers <joseph@codesourcery.com>
9961
d6270972
JM
9962 [BZ #369]
9963 [BZ #2678]
9964 [BZ #3866]
9965 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9966 x for large integer exponent.
9967 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9968 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9969 sign of result as needed afterwards.
9970 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9971 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9972 result for underflowing pow the same as for overflow.
9973 (__kernel_standard_l): Handle powl overflow and underflow here
9974 rather than calling __kernel_standard.
9975 * math/libm-test.inc (pow_test): Add more tests.
9976
414fca03 9977 [BZ #3868]
41bf21a1
JM
9978 [BZ #13879]
9979 [BZ #13910]
9980 [BZ #13911]
9981 [BZ #13912]
9982 [BZ #13913]
9983 [BZ #13915]
9984 [BZ #13916]
9985 [BZ #13917]
9986 [BZ #13918]
9987 [BZ #13919]
9988 [BZ #13920]
9989 [BZ #13921]
9990 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9991 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9992 (__kernel_standard_l): New function.
9993 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9994 __kernel_standard.
9995 * math/w_acosl.c (__acosl): Likewise.
9996 * math/w_asinl.c (__asinl): Likewise.
9997 * math/w_atan2l.c (__atan2l): Likewise.
9998 * math/w_atanhl.c (__atanhl): Likewise.
9999 * math/w_coshl.c (__coshl): Likewise.
10000 * math/w_exp10l.c (__exp10l): Likewise.
10001 * math/w_exp2l.c (__exp2l): Likewise.
10002 * math/w_fmodl.c (__fmodl): Likewise.
10003 * math/w_hypotl.c (__hypotl): Likewise.
10004 * math/w_j0l.c (__j0l, __y0l): Likewise.
10005 * math/w_j1l.c (__j1l, __y1l): Likewise.
10006 * math/w_jnl.c (__jnl, __ynl): Likewise.
10007 * math/w_lgammal.c (__lgammal): Likewise.
10008 * math/w_log10l.c (__log10l): Likewise.
10009 * math/w_log2l.c (__log2l): Likewise.
10010 * math/w_logl.c (__logl): Likewise.
10011 * math/w_powl.c (__powl): Likewise.
10012 * math/w_remainderl.c (__remainderl): Likewise.
10013 * math/w_scalbl.c (sysv_scalbl): Likewise.
10014 * math/w_sinhl.c (__sinhl): Likewise.
10015 * math/w_sqrtl.c (__sqrtl): Likewise.
10016 * math/w_tgammal.c (__tgammal): Likewise.
10017 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
10018 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
10019 * math/libm-test.inc (acos_test): Add more tests.
10020 (acosh_test): Likewise.
10021 (asin_test): Likewise.
10022 (atanh_test): Likewise.
10023 (exp_test): Likewise.
10024 (exp10_test): Likewise.
10025 (exp2_test): Likewise.
10026 (expm1_test): Likewise.
10027 (lgamma_test): Likewise.
10028 (log_test): Likewise.
10029 (log10_test): Likewise.
10030 (log1p_test): Likewise.
10031 (log2_test): Likewise.
10032 (pow_test): Do not allow some spurious overflow exceptions.
10033 (sqrt_test): Add more tests.
10034 (tgamma_test): Likewise.
10035 (y0_test): Likewise.
10036 (y1_test): Likewise.
10037 (yn_test): Likewise.
10038
dd62fda6
AB
100392012-03-27 Anton Blanchard <anton@samba.org>
10040
10041 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
10042 MAP_HUGETLB.
10043 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10044 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10045 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10046
1e3cdfda
AJ
100472012-03-27 David S. Miller <davem@davemloft.net>
10048
b855ab85
DM
10049 * conform/Makefile: Run run-conformtest.sh using $(BASH).
10050
1e3cdfda
AJ
10051 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
10052 have-as-vis3 check.
10053
100542012-03-27 Andreas Jaeger <aj@suse.de>
10055
10056 * sysdeps/x86_64/elf/configure.in: Moved to ...
10057 * sysdeps/x86_64/configure.in: ... here.
10058 * sysdeps/x86_64/elf/start.S: Moved to ...
10059 * sysdeps/x86_64/start.S: ... here.
10060 * sysdeps/x86_64/elf/configure: Delete.
10061
10062 * sysdeps/x86_64/configure.in: Merge contents from
10063 sysdeps/i386/configure.in (without i686 check).
10064
10065 * sysdeps/i386/elf/Versions: Merge into ...
10066 * sysdeps/i386/Versions: ... this.
10067 * sysdeps/i386/elf/Versions: Delete file.
10068 * sysdeps/i386/elf/start.S: Moved to ...
10069 * sysdeps/i386/start.S: ...here.
10070 * sysdeps/i386/elf/configure.in: Merge into...
10071 * sysdeps/i386/configure.in: ...here.
10072 * sysdeps/i386/elf/configure.in: Delete file.
10073 * sysdeps/i386/elf/configure: Delete file.
10074
10075 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
10076 * debug/backtracesyms.c: ... here.
10077 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
10078 * debug/backtracesymsfd.c: ... here.
10079 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
10080 * sysdeps/generic/ifunc-sel.h: ... here.
10081
10082 * sysdeps/unix/i386/start.c: Delete file.
10083 * sysdeps/unix/sparc/start.c: Delete file.
10084 * sysdeps/unix/start.c: Delete file.
10085
10086 * sysdeps/sh/elf/configure.in: Moved to ...
10087 * sysdeps/sh/configure.in: ... here.
10088 * sysdeps/sh/elf/start.S: Moved to ...
10089 * sysdeps/sh/start.S: ... here.
10090 * sysdeps/sh/elf/configure: Delete file.
10091
10092 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
10093 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
10094 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
10095 * sysdeps/powerpc/powerpc64/entry.h: ... here.
10096 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
10097 * sysdeps/powerpc/powerpc64/start.S: here.
10098 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
10099 * sysdeps/powerpc/powerpc64/Makefile: ... this.
10100 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
10101 * sysdeps/powerpc/powerpc64/configure.in: ... this.
10102 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
10103
10104 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
10105 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
10106 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
10107 * sysdeps/powerpc/powerpc32/start.S: ... here.
10108 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
10109 * sysdeps/powerpc/powerpc32/configure.in: ... this.
10110 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
10111
10112 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
10113 * sysdeps/powerpc/ifunc-sel.h: ... here.
10114 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
10115 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
10116
10117 * sysdeps/sparc/elf/configure.in: Moved to ...
10118 * sysdeps/sparc/configure.in: ... here.
10119 * sysdeps/sparc/elf/configure: Delete file.
10120 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
10121 * sysdeps/sparc/sparc32/start.S: ... here.
10122 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
10123 * sysdeps/sparc/sparc64/start.S: ... here.
10124 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
10125 * sysdeps/sparc/sparc32/Makefile: ... this.
10126 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
10127 * sysdeps/sparc/sparc64/Makefile: ... this.
10128
10129 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
10130 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
10131 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
10132 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
10133 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
10134 * sysdeps/s390/s390-32/setjmp.S: ... here.
10135 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
10136 * sysdeps/s390/s390-32/configure.in: ... here.
10137 * sysdeps/s390/s390-32/elf/configure: Delete file.
10138 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
10139 * sysdeps/s390/s390-32/start.S: ... here.
10140
10141 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
10142 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
10143 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
10144 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10145 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10146 * sysdeps/s390/s390-64/setjmp.S: ... here.
10147 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10148 * sysdeps/s390/s390-64/configure.in: ... here
10149 * sysdeps/s390/s390-64/elf/configure: Delete file.
10150 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10151 * sysdeps/s390/s390-64/start.S: ... here.
10152 * sysdeps/s390/s390-64/elf/configure: Delete.
10153
10154 * configure.in: Remove support for elf directories in sysdeps.
10155
10156 * configure: Regenerated.
10157 * sysdeps/i386/configure: Regenerated.
10158 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10159 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10160 * sysdeps/s390/s390-32/configure: Regenerated.
10161 * sysdeps/s390/s390-64/configure: Regenerated.
10162 * sysdeps/sh/configure: Regenerated.
10163 * sysdeps/sparc/configure: Regenerated.
10164 * sysdeps/x86_64/configure: Regenerated.
10165
a3f61311
AS
101662012-03-26 Andreas Schwab <schwab@linux-m68k.org>
10167
c876e002
AS
10168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10169
a3f61311
AS
10170 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10171 denormal result into account.
10172
ac4c54f0
RM
101732012-03-25 Roland McGrath <roland@hack.frob.com>
10174
10175 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10176 Reported by Allan McRae <allan@archlinux.org>.
10177
6a9b9c02
JL
101782012-03-23 Jeff Law <law@redhat.com>
10179
10180 * nss/getnssent.c (__nss_getent): Fix typo.
10181
4c42a0c1
DM
101822012-03-23 David S. Miller <davem@davemloft.net>
10183
10184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10185
1532c7ac
L
101862012-03-23 H.J. Lu <hongjiu.lu@intel.com>
10187
10188 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10189 to pad to uint64_t for each field.
10190 (dl_tls_index): Replace unsigned long with uint64_t.
10191
3ff42526
PP
101922012-03-23 Daniel Jacobowitz <dmj@google.com>
10193 Paul Pluzhnikov <ppluzhnikov@google.com>
10194
10195 [BZ #6528]
10196 * grp/Makefile (otherlibs): Don't set it.
10197 * inet/Makefile (otherlibs): Likewise.
10198 * login/Makefile (otherlibs): Likewise.
10199 * nscd/Makefile (otherlibs): Likewise.
10200 * posix/Makefile (otherlibs): Likewise.
10201 * pwd/Makefile (otherlibs): Likewise.
10202 * rt/Makefile (otherlibs): Likewise.
10203 * sunrpc/Makefile (otherlibs): Likewise.
10204 * nss/Makefile (otherlibs): Likewise.
10205 Add libnss_files to routines and static-only-routines.
10206 ($(objpfx)getent): Remove rule.
10207 * resolv/Makefile: Add libnss_dns and libresolv to routines and
10208 static-only-routines.
10209
7c69cd14
JM
102102012-03-22 Joseph Myers <joseph@codesourcery.com>
10211
10212 [BZ #13892]
10213 * math/s_cexp.c: Include <float.h>.
10214 (__cexp): Handle exp result overflowing not necessarily
10215 overflowing both real and imaginary parts of result.
10216 * math/s_cexpf.c: Likewise.
10217 * math/s_cexpl.c: Likewise.
10218 * math/libm-test.inc (cexp_test): Add more tests.
10219 * sysdeps/i386/fpu/libm-test-ulps: Update.
10220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10221
81b035fe
L
102222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10223
10224 * include/link.h (ELFW): New macro.
10225 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10226 Replace ELF64_R_TYPE with ELFW(R_TYPE).
10227
1da7940c
L
102282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10229
10230 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10231 with uint64_t.
10232
b749dbb9
L
102332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10234
10235 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10236 declaration.
10237 (struct La_x32_retval): Likewise.
10238
2ff87f3f
L
102392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10240
10241 * sysdeps/x86_64/preconfigure.in: New file.
10242 * sysdeps/x86_64/preconfigure: New generated file.
10243
c0df8e69
JM
102442012-03-22 Joseph Myers <joseph@codesourcery.com>
10245
48e44791
JM
10246 [BZ #13824]
10247 * math/e_exp2l.c: Include <float.h>.
10248 (__ieee754_exp2l): Handle overflow and underflow cases
10249 separately. Only pass fractional part of argument to
10250 __ieee754_expl.
10251 * math/libm-test.inc (exp2_test): Add more tests.
10252
c0df8e69
JM
10253 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10254 negating x to take absolute value.
10255 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10256 Likewise.
10257 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10258 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10259 Likewise.
10260 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10261 computing low part if x was negated.
10262 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10263
c8e43ba7
L
102642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10265
10266 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10267 la_x32_gnu_pltexit.
10268 (pltexit): Cast int_retval to ptrdiff_t.
10269 * elf/tst-auditmod3b.c: Likewise.
10270 * elf/tst-auditmod4b.c: Likewise.
10271 * elf/tst-auditmod5b.c: Likewise.
10272 * elf/tst-auditmod6b.c: Likewise.
10273 * elf/tst-auditmod6c.c: Likewise.
10274 * elf/tst-auditmod7b.c: Likewise.
10275
10276 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10277 and x32_gnu_pltexit.
10278
10279 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10280 __ELF_NATIVE_CLASS.
10281 (La_x32_regs): New macro.
10282 (La_x32_retval): Likewise.
10283 (la_x32_gnu_pltenter): New function prototype.
10284 (la_x32_gnu_pltexit): Likewise.
10285
7998fa78
AS
102862012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10287
dcb33988
AS
10288 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10289 exponent.
10290
233fc563
AS
10291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10292
7998fa78
AS
10293 * configure.in (libc_cv_cc_nofma): Check for option to disable
10294 generation of FMA instructions.
10295 * configure: Regenerate.
10296 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10297 * sysdeps/ieee754/dbl-64/Makefile: New file.
10298 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10299 Remove brandred-fma4.
10300 (CFLAGS-brandred-fma4.c): Remove.
10301 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10302 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10303 define.
10304 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10305 define.
10306
8e95c99a
L
103072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10308
10309 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10310 LLONG_MAX != LONG_MAX.
10311 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10312 (_fitoa_word): Likewise.
10313 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10314 LLONG_MAX != LONG_MAX.
10315 * stdio-common/_itowa.h: Include <_itoa.h>.
10316 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10317 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10318 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10319 only if not defined.
10320 (_ITOA_WORD_TYPE): Likewise.
10321 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10322 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10323
6f4db457
DM
103242012-03-21 David S. Miller <davem@davemloft.net>
10325
10326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10327
7785fe5a
L
103282012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10329
10330 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10331 of x86_64 when setting libc_cv_slibdir, libdir and
10332 libc_cv_localedir.
10333 * sysdeps/unix/sysv/linux/configure: Regenerated.
10334
4535cd55
JM
103352012-03-21 Joseph Myers <joseph@codesourcery.com>
10336
10337 * manual/lang.texi (Old Varargs): Remove section.
10338 (How Variadic): Update menu.
10339 (va_start): Do not mention varargs.h.
10340
17228132
TS
103412012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10342 Joseph Myers <joseph@codesourcery.com>
10343
10344 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10345 link test.
10346 * configure: Regenerated.
10347
8149f976
TS
103482012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10349
05f3d1f6
UD
10350 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10351 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10352 conformtest.pl
8149f976 10353
1a4ac776
JM
103542012-03-21 Joseph Myers <joseph@codesourcery.com>
10355
be22ce65
JM
10356 * NOTES: Remove.
10357 * Makefile (files-for-dist): Remove NOTES.
10358 (NOTES): Remove rule.
10359 * README: Don't refer to NOTES.
10360 * manual/creature.texi: Don't include macros.texi.
10361 * manual/intro.texi (creature.texi): Remove comment referring to
10362 NOTES.
10363
40b601fb
JM
10364 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10365 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10366 * configure: Regenerated.
10367 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10368 LIBC_TRY_CC_OPTION.
10369 (libc_cv_as_i686): Likewise.
10370 (libc_cv_cc_avx): Likewise.
10371 (libc_cv_cc_sse2avx): Likewise.
10372 (libc_cv_cc_fma4): Likewise.
10373 (libc_cv_cc_novzeroupper): Likewise.
10374 * sysdeps/i386/configure: Regenerated.
10375
1a4ac776
JM
10376 [BZ #13883]
10377 * sysdeps/i386/fpu/s_cexp.S: Remove.
10378 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10379 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10380 * math/libm-test.inc (cexp_test): Add more tests.
10381 * sysdeps/i386/fpu/libm-test-ulps: Update.
10382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10383
a458e7fe
AM
103842012-03-21 Allan McRae <allan@archlinux.org>
10385
10386 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10387
0cb7efc5
JM
103882012-03-21 Joseph Myers <joseph@codesourcery.com>
10389
10390 [BZ #13871]
10391 * math/w_exp2.c: Do not include <float.h>.
10392 (o_threshold, u_threshold): Remove.
10393 (__exp2): Calculate result before checking finiteness and calling
10394 __kernel_standard.
10395 * math/w_exp2f.c: Likewise.
10396 * math/w_exp2l.c: Likewise.
10397 * math/libm-test.inc (exp2_test): Require overflow exception for
10398 1e6 input.
2460d3aa
JM
10399
10400 [BZ #3866]
10401 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10402 range of signed 64-bit integers before using fistpll. Remove
10403 checks for whether integers fit in mantissa bits.
10404 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10405 the range of signed 32-bit integers before using fistpl. Remove
10406 checks for whether integers fit in mantissa bits.
10407 * sysdeps/i386/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 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10412 divide-by-zero is raised for zero to large negative powers.
10413 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10414 (__ieee754_powl): Test for y outside the range of signed 64-bit
10415 integers before using fistpll. Reduce 64-bit values to 63-bit
10416 ones as needed.
10417 * math/libm-test.inc (pow_test): Add more tests.
10418
eb96ffb0
L
104192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10420
10421 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10422 <stdio-common/_itoa.h>.
10423 * debug/segfault.c: Likewise.
10424 * elf/dl-cache.c: Likewise.
10425 * elf/dl-minimal.c: Likewise.
10426 * elf/dl-misc.c: Likewise.
10427 * elf/dl-sysdep.c: Likewise.
10428 * elf/dl-version.c: Likewise.
10429 * elf/rtld.c: Likewise.
10430 * hurd/hurdsock.c: Likewise.
10431 * hurd/lookup-retry.c: Likewise.
10432 * malloc/malloc.c: Likewise.
10433 * malloc/mtrace.c: Likewise.
10434 * nscd/nscd_getgr_r.c: Likewise.
10435 * nscd/nscd_getpw_r.c: Likewise.
10436 * nscd/nscd_getserv_r.c: Likewise.
10437 * posix/getopt_init.c: Likewise.
10438 * posix/wordexp.c: Likewise.
10439 * stdio-common/_itoa.c: Likewise.
10440 * stdio-common/printf_fphex.c: Likewise.
10441 * stdio-common/vfprintf.c: Likewise.
10442 * string/_strerror.c: Likewise.
10443 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10444 * sysdeps/i386/i686/hp-timing.h: Likewise.
10445 * sysdeps/mach/_strerror.c: Likewise.
10446 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10447 * sysdeps/mach/hurd/sethostid.c: Likewise.
10448 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10449 * sysdeps/mach/xpg-strerror.c: Likewise.
10450 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10451 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10452 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10453 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10454 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10455 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10456 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10457 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10458 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10459 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10460 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10461 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10462 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10463 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10464 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10465 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10466 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10467 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10468 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10469 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10470 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10471
10472 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10473
10474 * stdio-common/_itoa.h: Moved to ...
10475 * sysdeps/generic/_itoa.h: Here.
10476
10477 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10478
10479 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10480 instead of "_itoa.h" and "_itowa.h".
10481 * stdio-common/vfprintf.: Likewise.
10482
d1af992d
L
104832012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10484
10485 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10486 <bits/wordsize.h>.
10487 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10488 (__signbit): Likwise.
10489 (llrintf): Likwise.
10490 (llrint): Likwise.
10491
114883e0
L
104922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10493
10494 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10495 __WORDSIZE != 64.
10496
c135cc1b
JM
104972012-03-20 Joseph Myers <joseph@codesourcery.com>
10498
10499 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10500 OVERFLOW_EXCEPTION_OK.
10501 * math/libm-test.inc ("Philosophy"): Update comment about
10502 exception testing.
10503 (OVERFLOW_EXCEPTION): Define.
10504 (OVERFLOW_EXCEPTION_OK): Likewise.
10505 (INVALID_EXCEPTION_OK): Renumber.
10506 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10507 (IGNORE_ZERO_INF_SIGN): Likewise.
10508 (test_exceptions): Handle FE_OVERFLOW.
10509 (exp10_test): Expect overflow exceptions.
10510 (exp2_test): Likewise.
10511 (expm1_test): Likewise.
10512 (nextafter_test): Likewise.
10513 (pow_test): Likewise.
10514 (scalbn_test): Likewise.
10515 (scalbln_test): Likewise.
10516
95443d88
L
105172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10518
10519 * sysdeps/x86_64/bits/atomic.h
10520 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10521 64bit integer.
10522 (atomic_exchange_acq): Likewise.
10523 (__arch_exchange_and_add_body): Likewise.
10524 (__arch_add_body): Likewise.
10525 (atomic_add_negative): Likewise.
10526 (atomic_add_zero): Likewise.
10527
490df6c4
L
105282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10529
c2722551 10530 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
10531 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10532
5e52b189
L
105332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10534
10535 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10536 Check __x86_64__ instead of __WORDSIZE.
10537
a9879d4c
L
105382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10539
10540 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10541
5df98260
DM
105422012-03-19 David S. Miller <davem@davemloft.net>
10543
e1497744
DM
10544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10545
5df98260
DM
10546 * sysdeps/sparc/fpu/fenv_private.h: New file.
10547 * sysdeps/sparc/fpu/math_private.h: Use it.
10548 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10549 Remove.
10550 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10551 (libc_feholdexcept_setroundl): Remove.
10552 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10553 Remove.
10554 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10555 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10556
b4c35121
L
105572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10558
10559 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10560 int64_t instead of long int.
10561 (INSERT_WORDS64): Likwise.
10562
56965fd7
L
105632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10564
10565 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10566 _Unwind_GetCFA return to _Unwind_Ptr first.
10567
83d1aec8
JM
105682012-03-19 Joseph Myers <joseph@codesourcery.com>
10569
1897ad44
JM
10570 [BZ #13629]
10571 * math/s_clog.c: Include <float.h>.
10572 (__clog): Scale large or subnormal inputs.
10573 * math/s_clogf.c: Likewise.
10574 * math/s_clogl.c: Likewise.
10575 * math/s_clog10.c: Include <float.h>.
10576 (M_LOG10_2): Define.
10577 (__clog10): Scale large or subnormal inputs.
10578 * math/s_clog10f.c: Likewise.
10579 * math/s_clog10l.c: Likewise.
10580 * math/libm-test.inc (clog_test): Add more tests.
10581 (clog10_test): Likewise.
10582 * sysdeps/i386/fpu/libm-test-ulps: Update.
10583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10584
7726d6a9
JM
10585 [BZ #11451]
10586 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10587 x and y.
10588 * math/libm-test.inc (atan2_test): Add another test.
10589
83d1aec8
JM
10590 * Makerules (common-objdir-compile): Remove.
10591 * sysdeps/unix/Makefile (config-generated): Do not add
10592 $(unix-generated) to variable.
10593 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10594 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10595 Remove rule.
10596 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10597 Likewise.
10598 [generic bits/local_lim.h] (before-compile): Do not append to
10599 variable.
10600 [generic bits/local_lim.h] (common-generated): Likewise.
10601 [generic sys/param.h] (before-compile): Do not append to variable.
10602 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10603 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10604 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10605 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10606 include.
10607 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10608 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10609 [generic sys/param.h] ($(addprefix
10610 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10611 [generic sys/param.h] (common-generated): Do not append to
10612 variable.
10613 [generic sys/param.h] (sysdep_headers): Likewise.
10614 [generic bits/errno.h] (before-compile): Do not append to
10615 variable.
10616 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10617 rule.
10618 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10619 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10620 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10621 [generic bits/errno.h] (common-generated): Do not append to
10622 variable.
10623 [generic bits/ioctls.h] (before-compile): Do not append to
10624 variable.
10625 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10626 rule.
10627 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10628 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10629 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10630 rule.
10631 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10632 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10633 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10634 [generic bits/ioctls.h] (common-generated): Do not append to
10635 variable.
10636 [generic sys/syscall.h] (syscall.h): Remove variable.
10637 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10638 rule.
10639 [generic sys/syscall.h] (before-compile): Do not append to
10640 variable.
10641 [generic sys/syscall.h] (common-generated): Likewise.
10642 * sysdeps/unix/errnos-tmpl.c: Remove file.
10643 * sysdeps/unix/errnos.awk: Likewise.
10644 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10645 * sysdeps/unix/ioctls.awk: Likewise.
10646 * sysdeps/unix/mk-local_lim.c: Likewise.
10647 * sysdeps/unix/snarf-ioctls: Likewise.
10648
4851a949
RH
106492012-03-19 Richard Henderson <rth@twiddle.net>
10650
bd37f2ee
RH
10651 * sysdeps/i386/fpu/fenv_private.h: New file.
10652 * sysdeps/i386/fpu/math_private.h: Use it.
10653 (math_opt_barrier, math_force_eval): Remove.
10654 (libc_feholdexcept_setround_53bit): Remove.
10655 (libc_feupdateenv_53bit): Remove.
10656 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10657 (math_opt_barrier, math_force_eval): Remove.
10658 (libc_feholdexcept): Remove.
10659 (libc_feholdexcept_setround): Remove.
10660 (libc_fetestexcept, libc_fesetenv): Remove.
10661 (libc_feupdateenv_test): Remove.
10662 (libc_feupdateenv, libc_feholdsetround): Remove.
10663 (libc_feresetround): Remove.
10664
d0adc922
RH
10665 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10666 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10667
0fe0f1f8
RH
10668 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10669 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10670 (libc_feupdateenv_testl): New.
10671 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10672 (libc_feupdateenv_testf): New.
10673 (libc_feupdateenv): Use libc_feupdateenv_test.
10674 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10675 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10676
eb92c487
RH
10677 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10678 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10679 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10680 (libc_feresetround_noex): New.
10681 (libc_feresetround_noexf): New.
10682 (libc_feresetround_noexl): New.
10683 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10684 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10685 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10686 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10687 SET_RESTORE_ROUND.
10688 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10689 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10690 (__cos): Likewise.
10691 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10692 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10693 SET_RESTORE_ROUND_NOEX.
10694 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10695 SET_RESTORE_ROUND_NOEXF.
10696 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10697 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10698 (libc_feholdsetroundf): New.
10699 (libc_feresetround, libc_feresetroundf): New.
10700
7d2e8012
RH
10701 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10702 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10703 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10704
b4dabbb4
RH
10705 * sysdeps/generic/math_private.h: Include <fenv.h>.
10706 (default_libc_feholdexcept): New.
10707 (default_libc_feholdexcept_setround): New.
10708 (default_libc_fesetenv, default_libc_feupdateenv): New.
10709 (libc_feholdexcept): Only define if undefined.
10710 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10711 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10712 (libc_feholdexcept_setroundl): Likewise.
10713 (libc_feholdexcept_setround_53bit): Likewise.
10714 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10715 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10716 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10717 (libc_feupdateenv_53bit): Likewise.
10718 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10719 (libc_feholdexcept): Convert from macro to inline function.
10720 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10721 (libc_fesetenv, libc_feupdateenv): Likewise.
10722
4851a949
RH
10723 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10724 not previously defined.
10725 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10726 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10727 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10728 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10729 * sysdeps/ieee754/flt-32/math_private.h: New file.
10730 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10731 math_private.h below SET_FLOAT_WORD.
10732 (__isnan, __isinf_ns, __finite): Remove.
10733 (__isnanf, __isinf_nsf, __finitef): Remove.
10734
e79d442e
AS
107352012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10736
10737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10738
90b80344
DM
107392012-03-17 David S. Miller <davem@davemloft.net>
10740
10741 [BZ #6471]
10742 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10743 for 2.16.
10744
edc21804
DM
107452012-03-16 David S. Miller <davem@davemloft.net>
10746
77e927af
DM
10747 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10748 warnings.
10749
374976dd
DM
10750 [BZ #6471]
10751 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10752 properly.
10753 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10754 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10755 sysdep_routines when subdir is sysvipc.
10756 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10757 __getshmlba helper.
10758
edc21804
DM
10759 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10760
473c3ef3
L
107612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10762
10763 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10764 [__LP64__].
10765
eb0f39b6
L
107662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10767
10768 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10769 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10770 (__lround): Renamed to ...
10771 (__llround): This. Replace long int with long long int.
10772 Define lround functions as aliases of llround functions.
10773 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10774
6b6cd74b
L
107752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10776
10777 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10778 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10779 adresses to uintptr_t. Replace "long int" and "unsigned long
10780 int" with "greg_t" on va_arg.
10781
f1a77b01
L
107822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10783
10784 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10785 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10786
10787 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10788 Move e_machine check before EI_CLASS check. Handle x32
10789 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10790 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10791 SKIP_EM_IA_64 and include
10792 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10793
10794 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10795 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10796 (add_system_dir): New macro.
10797
10798 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10799 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10800
11b90b9f
JM
108012012-03-16 Joseph Myers <joseph@codesourcery.com>
10802
c36e1d23
JM
10803 [BZ #2551]
10804 [BZ #2552]
10805 [BZ #2553]
10806 [BZ #2554]
10807 [BZ #2562]
10808 [BZ #2563]
10809 [BZ #2565]
10810 [BZ #2566]
10811 [BZ #2576]
10812 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10813 (y0): Likewise.
10814 * math/w_j0f.c (j0f): Likewise.
10815 (y0f): Likewise.
10816 * math/w_j0l.c (__j0l): Likewise.
10817 (__y0l): Likewise.
10818 * math/w_j1.c (j1): Likewise.
10819 (y1): Likewise.
10820 * math/w_j1f.c (j1f): Likewise.
10821 (y1f): Likewise.
10822 * math/w_j1l.c (__j1l): Likewise.
10823 (__y1l): Likewise.
10824 * math/w_jn.c (jn): Likewise.
10825 (yn): Likewise.
10826 * math/w_jnf.c (jnf): Likewise.
10827 (ynf): Likewise.
10828 * math/w_jnl.c (__jnl): Likewise.
10829 (__ynl): Likewise.
10830 * math/libm-test.inc (j0_test): Add more tests.
10831 (j1_test): Likewise.
10832 (jn_test): Likewise. Add trailing semicolon to existing test.
10833 (y0_test): Likewise.
10834 (y1_test): Likewise.
10835 * sysdeps/i386/fpu/libm-test-ulps: Update.
10836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10837
11b90b9f
JM
10838 [BZ #13851]
10839 [BZ #13854]
10840 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10841 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10842 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10843 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10844 (__tanl): Set errno for infinite argument.
10845 * sysdeps/i386/fpu/mptan.c: Remove.
10846 * sysdeps/i386/fpu/s_tan.S: Likewise.
10847 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10848 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10849 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10850 * math/libm-test.inc (tan_test): Add more tests and enable more
10851 tests for double and long double.
10852 * sysdeps/i386/fpu/libm-test-ulps: Update.
10853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10854
6a1bd2a1
JK
108552012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10856
10857 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10858 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10859
10a803e0
RM
108602012-03-16 Roland McGrath <roland@hack.frob.com>
10861
10862 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10863 * configure.in: Use it for both main tree and add-ons.
10864 * configure: Regenerated.
10865
f196c7f7
L
108662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10867
10868 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10869
8848d99d
JM
108702012-03-16 Joseph Myers <joseph@codesourcery.com>
10871
96cbe7f4
JM
10872 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10873 in comment.
10874
8848d99d
JM
10875 [BZ #13851]
10876 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10877 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10878 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10879 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10880 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10881 infinite argument.
10882 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10883 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10884 != 0 for prec == 2.
10885 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10886 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10887 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10888 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10889 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10890 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10891 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10892 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10893 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10894 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10895 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10896 * math/libm-test.inc (cos_test): Add more tests and enable more
10897 tests for long double.
10898 (sin_test): Likewise.
10899 (sincos_test): Likewise.
10900 * sysdeps/i386/fpu/libm-test-ulps: Update.
10901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10902
dd7f4703
DM
109032012-03-16 David S. Miller <davem@davemloft.net>
10904
10905 * sysdeps/sparc/fpu/math_private.h: New file.
10906
006f1daa
DM
109072012-03-15 David S. Miller <davem@davemloft.net>
10908
c0c83bc8
DM
10909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10910 file.
e6a62e18 10911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
10912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10913 file.
e6a62e18
DM
10914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10915 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10916 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10919 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10920 sysdep routines.
10921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10922
88cb87d9
DM
10923 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10924 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10925
006f1daa 10926 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
10927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10928 sparc-ifunc.h
006f1daa 10929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
10930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10931 Likewise.
10932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10933 Likewise.
006f1daa
DM
10934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
10937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10938 Likewise.
006f1daa
DM
10939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
10943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10944 Likewise.
10945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10946 Likewise.
006f1daa
DM
10947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10952 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10953 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10954 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10955 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10956 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10959 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10960 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10961 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10962 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10963 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10964 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10965 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10966 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10967 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10968 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10969 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10970 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10971
11e0098e
AS
109722012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10973
10974 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10975 scaling.
10976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10977
e85b09d0
AJ
109782012-03-15 Andreas Jaeger <aj@suse.de>
10979
10980 [BZ #13852]
10981 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10982 ieee754/flt-32 implementation for sin, cos and sincos.
10983 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10984 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10985 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10986 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10987 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10988 ieee754/flt-32 implementation for tan.
10989
10990 * math/libm-test.inc (cos_test): Enable some large input tests for
10991 float as well
10992 (sin_test): Likewise.
10993 (sincos_test): Likewise.
10994 (tan_test): Add tests for large input.
10995
10996 * sysdeps/i386/fpu/libm-test-ulps: Update.
10997
81c64153
AJ
109982012-03-15 Andreas Jaeger <aj@suse.de>
10999
11000 [BZ #13658]
11001 * math/libm-test.inc (cos_test): Add more test cases.
11002 (sin_test): Likewise.
11003 (sincos_test): Likewise.
11004
7bbfa5c6
AJ
110052012-03-15 Andreas Jaeger <aj@suse.de>
11006
11007 [BZ #13837]
11008 * math/libm-test.inc (cos_test): Add a test case for large input
11009 value.
11010 (sin_test): Likewise.
11011 (sincos_test): Likewise.
11012
110132012-03-15 Andreas Jaeger <aj@suse.de>,
11014 Joseph Myers <joseph@codesourcery.com>
11015
11016 [BZ #13658]
0671f479 11017 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
11018 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
11019 * sysdeps/i386/fpu/branred.c: Likewise.
11020 * sysdeps/i386/fpu/dosincos.c: Likewise.
11021 * sysdeps/i386/fpu/mpa.c: Likewise.
11022 * sysdeps/i386/fpu/s_cos.S: Likewise.
11023 * sysdeps/i386/fpu/s_sin.S: Likewise.
11024 * sysdeps/i386/fpu/s_sincos.S: Likewise.
11025 * sysdeps/i386/fpu/sincos32.c: Likewise.
11026
11027 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
11028 Define.
11029 (libc_feupdateenv_53bit): Define.
11030 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
11031 Define.
11032 (libc_feupdateenv_53bit): Define.
11033
11034 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
11035 53 bit (without extend i386 double precision).
11036
11037 * math/libm-test.inc (sincos_test): Add tests for large input.
11038 (sin): Likewise.
11039 (cos): Likewise.
11040
11041 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11042
9cad04ea
AS
110432012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11044
11045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11046
f7062b9a
DM
110472012-03-15 David S. Miller <davem@davemloft.net>
11048
11049 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
11050 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
11051 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
11052 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
11053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
11054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
11055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
11056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
11057 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
11058 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
11059 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
11060 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
11061 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
11062 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
11063 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
11064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
11065 file.
f7062b9a 11066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
11067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
11068 file.
f7062b9a 11069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
11070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
11071 file.
f7062b9a 11072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
11073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
11074 file.
f7062b9a
DM
11075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
11076 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
11077 fmin/fmax sysdep routines.
11078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11079
7bd951ff
DM
110802012-03-14 David S. Miller <davem@davemloft.net>
11081
559398ab
DM
11082 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
11083 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
11084 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
11085 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
11086 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
11087 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
11088 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
11089 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
11090 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
11091 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
11092 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
11093 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
11094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
11095 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
11096 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
11097 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
11098 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
11099 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
11100 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
11101 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
11102 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
11103 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
11104 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
11105 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
11106 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
11107 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
11108 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
11109 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
11110 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
11111 routines.
11112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
11113 file.
559398ab 11114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
11115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
11116 file.
559398ab 11117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
11118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
11119 file.
559398ab 11120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
11121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
11122 file.
559398ab 11123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
11124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
11125 file.
559398ab 11126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
11127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
11128 file.
11129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
11130 file.
11131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
11132 file.
11133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
11134 file.
11135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
11136 New file.
11137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
11138 file.
11139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
11140 file.
559398ab 11141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
11142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
11143 file.
559398ab 11144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
11145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11146 file.
559398ab 11147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
11148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11149 file.
559398ab 11150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
11151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11152 VIS3 routines.
559398ab
DM
11153
11154 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11155 New file.
11156
5a1c1e32
DM
11157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11158
eae47a36
DM
11159 * sysdeps/sparc/configure.in: New file.
11160 * sysdeps/sparc/configure: Generate.
11161 * configure.in (libc_cv_sparc_as_vis3): Substitute.
11162 * configure: Regenerate.
11163 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11164 * config.make.in (have-as-vis3): New.
11165 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11166 available use -Av9d instead of -Av9a.
11167 * sysdeps/sparc/sparc64/Makefile: Likewise.
11168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
11169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11170 New file.
11171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11172 file.
11173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11174 New file.
11175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11176 file.
eae47a36
DM
11177 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11178 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11179 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11180 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11181 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11182
c0c83bc8
DM
11183 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11184 fzeros/fnegs to load 0x80000000 into a float register instead of
11185 using the stack.
7bd951ff
DM
11186 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11187
bd951ccb
JM
111882012-03-14 Joseph Myers <joseph@codesourcery.com>
11189
11190 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11191 bits/syscall.h.
11192 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11193 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11194 ($(inst_includedir)/bits/syscall.h): Remove rule.
11195 ($(objpfx)bits/syscall.d): Include instead of
11196 $(objpfx)syscall-list.d.
11197 (generated): Change syscall-list.h and syscall-list.d to
11198 bits/syscall.h and bits/syscall.d.
11199
bb4e6db2
RM
112002012-03-14 Roland McGrath <roland@hack.frob.com>
11201
11202 [BZ #13846]
11203 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11204
aa4a2ae1
JM
112052012-03-14 Joseph Myers <joseph@codesourcery.com>
11206
e456826d
JM
11207 [BZ #13841]
11208 * math/s_csqrt.c: Include <float.h>.
11209 (__csqrt): Scale large or subnormal inputs.
11210 * math/s_csqrtf.c: Likewise.
11211 * math/s_csqrtl.c: Likewise.
11212 * math/libm-test.inc (csqrt_test): Add more tests.
11213 * sysdeps/i386/fpu/libm-test-ulps: Update.
11214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11215
aa4a2ae1
JM
11216 [BZ #13840]
11217 * math/libm-test.inc (hypot_test): Add more tests.
11218
7c10fd35
DM
112192012-03-13 David S. Miller <davem@davemloft.net>
11220
11221 [BZ #13840]
11222 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11223 double-precision for the calculation instead of scaling.
11224
f453b98b
JM
112252012-03-13 Joseph Myers <joseph@codesourcery.com>
11226
11227 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11228 manipulate bits before adding and subtracting TWO52[sx].
11229 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11230 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11231 Likewise.
11232 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11233
09a3453f
DM
112342012-03-13 David S. Miller <davem@davemloft.net>
11235
8e59da90
DM
11236 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11237 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11238 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11239 rtld-global-offsets.h
11240 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11241
2a8ab7f2
DM
11242 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11243 large parameters.
11244
10f62770
DM
11245 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11246
5f0bdb18
DM
11247 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11248 'err' in the ifdef scope in which it is actually used.
11249
09a3453f
DM
11250 * nss/nss_db/db-init.c: Include string.h
11251
b4b2eb5e
DM
112522012-03-12 David S. Miller <davem@davemloft.net>
11253
98bb2f1c
DM
11254 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11255 masking out of the most significant byte of random value used.
11256 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11257 Fix coding style in previous change.
11258
b4b2eb5e
DM
11259 * sysdeps/unix/sysv/linux/kernel-features.h
11260 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11261 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11262 expression.
11263 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11264 later.
11265
6e226b09
DM
112662012-03-11 David S. Miller <davem@davemloft.net>
11267
a1bcbd40
DM
11268 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11269 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11270 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11271 for 'resultvar' otherwise things get truncated on 64-bit.
11272
cb9d6174
DM
11273 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11274 Fix masking out of the most significant byte of random value used.
11275
6e226b09
DM
11276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11277
058c132d
AS
112782012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11279
11280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11281
2d2cd515
DM
112822012-03-09 David S. Miller <davem@davemloft.net>
11283
11284 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11285 variables with appropriate CPP guards.
11286 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11287 frame pointer, not the stack pointer. Correct layout comments. Fix test
11288 on resulting framesize and the management of the outregs buffer for pltexit.
11289 Preserve floating point return values across _dl_call_pltexit call.
11290 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11291 framesize and the management of the outregs buffer for pltexit.
11292 Preserve floating point return values across _dl_call_pltexit
11293 call.
11294 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11295 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11296 (print_exit): Fix format string for return register value.
11297
9a07f9d0
JM
112982012-03-10 Joseph Myers <joseph@codesourcery.com>
11299
11300 * sunrpc/Makefile (others): Add rpcgen.
11301 ($(objpfx)rpcgen): Remove special build rule and dependency on
11302 libc.
11303 * sunrpc/rpcgen.c: New file.
11304
547b5e30
PE
113052012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11306
c524201a
PE
11307 [BZ #13673]
11308 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11309 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11310 * sysdeps/i386/crti.S: Likewise.
11311 * sysdeps/i386/crtn.S: Likewise.
11312 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11313 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11314 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11315 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11316 * sysdeps/sh/crti.S: Likewise.
11317 * sysdeps/sh/crtn.S: Likewise.
11318 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11319
7b6235f2
PE
11320 [BZ #13673]
11321 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11322 with URL.
11323 * locale/programs/locfile-kw.gperf: Likewise.
11324 * locale/programs/charmap-kw.h: Regenerated.
11325 * locale/programs/locfile-kw.h: Likewise.
11326
547b5e30
PE
11327 [BZ #13673]
11328 * intl/plural.y: Replace FSF snail mail address with URL.
11329 * intl/plural.c: Regenerated.
11330
5f0a5dae
RH
113312012-03-09 Richard Henderson <rth@twiddle.net>
11332
11333 * include/math_private.h: Remove file.
11334 * math/math_private.h: Move file ...
11335 * sysdeps/generic/math_private.h: ... here.
11336
b8c03620
RH
11337 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11338 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11339 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11340
4e234f5d 11341 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
11342 and <math_private.h>.
11343 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11344 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11345 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11346 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11347 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11348 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11349 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11350 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11351 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11352 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11353 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11354 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11355 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11356 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11357 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11358 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11359 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11360 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11361 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11362 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11363 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11364 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11365 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11366 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11367 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11368 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11369 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11370 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11371 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11372 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11373 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11374 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11375 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11376 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11377 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11378 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11379 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11380 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11381 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11382 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11383 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11384 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11385 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11386 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11387 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11388 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11389 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11390 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11391 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11392 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11393 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11394 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11395 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11396 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11397 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11398 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11399 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11400 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11401 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11402 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11403 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11404 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11405 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11406 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11407 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11408 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11409 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11410 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11411 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11412 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11413 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11414 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11415 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11416 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11417 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11418 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11419 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11420 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11421 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11422 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11423 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11424 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11425 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11426 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11427 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11428 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11429 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11430 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11431 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11432 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11433 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11434 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11435 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11436 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11437 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11438 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11439 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11440 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11441 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11442 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11443 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11444 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11445 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11446 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11447 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11448 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11449 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11450 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11451 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11452 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11453 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11454 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11455 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11456 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11457 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11458 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11459 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11460 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11461 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11462 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11463 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11464 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11465 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11466 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11467 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11468 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11469 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11470 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11471 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11472 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11473 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11474 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11475 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11476 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11477 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11478 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11479 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11480 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11481 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11482 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11483 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11484 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11485 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11486 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11487 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11488 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11489 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11490 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11491 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11492 * sysdeps/ieee754/k_standard.c: Likewise.
11493 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11494 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11495 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11496 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11497 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11498 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11499 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11500 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11501 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11502 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11503 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11504 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11505 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11506 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11507 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11508 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11509 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11510 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11511 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11512 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11513 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11514 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11515 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11516 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11517 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11518 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11521 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11522 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11523 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11524 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11525 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11526 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11527 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11528 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11529 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11530 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11531 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11532 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11533 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11534 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11535 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11536 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11537 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11538 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11539 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11540 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11541 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11542 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11543 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11544 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11545 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11546 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11547 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11548 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11549 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11550 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11551 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11552 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11553 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11554 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11555 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11556 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11557 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11558 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11559 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11560 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11561 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11562 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11563 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11564 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11565 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11566 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11567 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11568 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11569 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11570 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11571 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11572 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11573 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11574 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11575 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11576 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11577 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11578 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11579 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11580 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11581 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11582 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11583 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11584 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11585 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11586 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11587 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11588 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11589 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11590 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11591 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11592 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11593 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11594 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11595 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11596 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11597 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11598 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11599 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11600 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11601 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11602 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11603 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11604 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11605 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11606 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11607 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11608 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11609 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11610 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11611 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11612 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11613 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11614 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11615 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11616 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11617 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11618 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11619 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11620 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11621 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11622 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11623 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11624 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11625 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11626 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11627 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11628 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11629 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11630 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11631 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11632 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11633 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11634 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11635 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11636 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11637 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11638 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11639 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11640 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11641 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11642 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11643 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11644 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11645 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11646 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11647 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11648 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11649 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11650 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11651 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11652 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11653 * sysdeps/ieee754/s_lib_version.c: Likewise.
11654 * sysdeps/ieee754/s_matherr.c: Likewise.
11655 * sysdeps/ieee754/s_signgam.c: Likewise.
11656 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11657 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11658 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11659 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11660 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11661 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11662 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11663 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11664 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11665 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11666 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11667 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11668 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11669 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11670 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11671 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11672 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11673 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11674 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11675 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11676 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 11677
1991fa03
JM
116782012-03-09 Joseph Myers <joseph@codesourcery.com>
11679
11680 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11681 * sunrpc/rpc_main.c: Likewise.
11682 * sunrpc/rpc_svcout.c: Likewise.
11683
60d6f5a6
DM
116842012-03-09 David S. Miller <davem@davemloft.net>
11685
11686 * include/math_private.h: New file.
11687
4962050e
JM
116882012-03-09 Joseph Myers <joseph@codesourcery.com>
11689
02a6f887
JM
11690 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11691 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11692 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11693 from <bits/socket_type.h>.
11694 (enum __socket_type): Don't define here.
11695 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11696 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11697 bits/socket_type.h.
11698
c6e013c1
JM
11699 [BZ #13566]
11700 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11701 checking __USE_GNU.
11702
4962050e
JM
11703 * Makerules ($(inst_includedir)/%.h): New rule.
11704 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11705 (install-others): Remove variable setting.
11706 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11707
38842f45
RH
117082012-03-08 Richard Henderson <rth@twiddle.net>
11709
67bb6da6
RH
11710 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11711 from macro to inline function; merge with the
11712 !__LIBC_INTERNAL_MATH_INLINES version.
11713 (__ieee754_sqrtf): Likewise.
11714
15194b4b
RH
11715 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11716 to inline function.
11717 (__rintf, __floor, __floorf): Likewise.
11718
64e21ede
RH
11719 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11720 macro to inline function.
11721 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11722
38842f45
RH
11723 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11724 not <math/math_private.h>.
11725
c64bf5fe
DM
117262012-03-08 David S. Miller <davem@davemloft.net>
11727
11728 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11729 copyright year.
11730 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11731
82d86f28
TS
117322012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11733
11734 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11735 normalization.
11736 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11737 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11738
aea5d727
UD
117392012-03-08 Ulrich Drepper <drepper@gmail.com>
11740
11741 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11742 be defined individually, they must be defined as a block. Define
11743 S for printing a string instead of hidint the different by using a
11744 macro for adding the 'l'.
11745 * stdio-common/tst-fphex-wide.c: Adjust.
11746
70bca0a3
MP
117472012-03-07 Marek Polacek <polacek@redhat.com>
11748
11749 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11750
65b81130
MP
117512012-03-08 Marek Polacek <polacek@redhat.com>
11752
11753 [BZ #13806]
11754 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11755 * stdio-common/tst-fphex.c: Define a few macros to make the
11756 test reusable. Use them.
11757 * stdio-common/tst-fphex-wide.c: New file.
11758
07037eeb
JM
117592012-03-08 Joseph Myers <joseph@codesourcery.com>
11760
a7a93d50
JM
11761 [BZ #6911]
11762 * manual/macros.texi (gnusystems): New macro.
11763 (nongnusystems): Likewise.
11764 (gnulinuxhurdsystems): Likewise.
11765 (gnuhurdsystems): Likewise..
11766 (gnulinuxsystems): Likewise.
11767 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11768 variants of the GNU system, not "GNU system".
11769 * manual/conf.texi: Likewise.
11770 * manual/errno.texi: Likewise. Update example of errno macro
11771 expansion.
11772 * manual/filesys.texi: Likewise.
11773 (getumask): Document as specific to GNU/Hurd.
11774 * manual/install.texi: Likewise. Reword some references to
11775 GNU/Linux.
11776 * manual/intro.texi: Likewise.
11777 * manual/io.texi: Likewise.
11778 (File Name Portability): Detail which constraints are inapplicable
11779 to all GNU systems and which are only inapplicable to GNU/Hurd.
11780 * manual/job.texi: Likewise.
11781 * manual/llio.texi: Likewise.
11782 (O_NOCTTY): Document as present on GNU/Linux.
11783 * manual/maint.texi: Likewise.
11784 * manual/memory.texi: Likewise.
11785 * manual/pattern.texi: Likewise.
11786 * manual/pipe.texi: Likewise.
11787 * manual/process.texi: Likewise.
11788 * manual/resource.texi: Likewise.
11789 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11790 child on GNU/Hurd.
11791 * manual/setjmp.texi: Likewise.
11792 * manual/signal.texi: Likewise.
11793 * manual/startup.texi: Likewise.
11794 * manual/stdio.texi: Likewise.
11795 * manual/terminal.texi: Likewise.
11796 (ONLCR): Document as POSIX.
11797 (OXTABS): Document availability on GNU/Linux as XTABS.
11798 (ONOEOT): Document availability separately from other bits.
11799 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11800 * manual/time.texi: Likewise.
11801 * manual/users.texi: Likewise.
11802 * INSTALL: Regenerated.
11803 * sysdeps/gnu/errlist.c: Regenerated.
11804
07037eeb
JM
11805 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11806 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11807 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11808 puts.
11809 * configure: Regenerated.
11810
d1d3431a
JM
118112012-03-07 Joseph Myers <joseph@codesourcery.com>
11812
af6a1e37
JM
11813 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11814 default includes instead of AC_HEADER_CHECK.
11815 * sysdeps/i386/configure: Regenerated.
11816
d1d3431a
JM
11817 [BZ #10716]
11818 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11819 * math/s_cacoshf.c (__cacoshf): Likewise.
11820 * math/s_cacoshl.c (__cacoshl): Likewise.
11821 * math/s_casinh.c (__casinh): Set signs of result from argument.
11822 * math/s_casinhf.c (__casinhf): Likewise.
11823 * math/s_casinhl.c (__casinhl): Likewise.
11824 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11825 (casinh_test): Add more tests.
11826 * sysdeps/i386/fpu/libm-test-ulps: Update.
11827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11828
482ff4da
UD
118292012-03-07 Ulrich Drepper <drepper@gmail.com>
11830
872fda05
UD
11831 * po/zh_TW.po: Update from translation team.
11832
a4300c7a
UD
11833 * login/Makefile (distribute): Remove variable.
11834 * catgets/Makefile: Likewise.
11835 * mach/Makefile: Likewise.
11836 * malloc/Makefile: Likewise.
11837 * misc/Makefile: Likewise.
11838 * iconv/Makefile: Likewise.
11839 * nscd/Makefile: Likewise.
11840 * hurd/Makefile: Likewise.
11841 * manual/Makefile: Likewise.
11842 * locale/Makefile: Likewise.
11843 * intl/Makefile: Likewise.
11844 * conform/Makefile: Likewise.
11845 * nss/Makefile: Likewise.
11846 * time/Makefile: Likewise.
11847 * soft-fp/Makefile: Likewise.
11848 * dirent/Makefile: Likewise.
11849 * gmon/Makefile: Likewise.
11850 * po/Makefile: Likewise.
11851 * rt/Makefile: Likewise.
11852 * socket/Makefile: Likewise.
11853 * math/Makefile: Likewise.
11854 * signal/Makefile: Likewise.
11855 * debug/Makefile: Likewise.
11856 * elf/Makefile: Likewise.
11857 * timezone/Makefile: Likewise.
11858 * stdlib/Makefile: Likewise.
11859 * iconvdata/Makefile: Likewise.
11860 * sunrpc/Makefile: Likewise.
11861 * io/Makefile: Likewise.
11862 * argp/Makefile: Likewise.
11863 * inet/Makefile: Likewise.
11864 * hesiod/Makefile: Likewise.
11865 * grp/Makefile: Likewise.
11866 * csu/Makefile: Likewise.
11867 * wctype/Makefile: Likewise.
11868 * crypt/Makefile: Likewise.
11869 * libio/Makefile: Likewise.
11870 * string/Makefile: Likewise.
11871 * nis/Makefile: Likewise.
11872 * resolv/Makefile: Likewise.
11873 * stdio-common/Makefile: Likewise.
11874 * wcsmbs/Makefile: Likewise.
11875 * dlfcn/Makefile: Likewise.
11876 * posix/Makefile: Likewise.
11877
3b7c4e74 11878 [BZ #6959]
482ff4da
UD
11879 * timezone/Makefile: Don't install timezone files, just the programs
11880 and scripts.
11881
f72ed77d
UD
118822012-03-06 Ulrich Drepper <drepper@gmail.com>
11883
a000466f
UD
11884 * nss/databases.def: Add missing gshadow entry.
11885
f72ed77d
UD
11886 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11887
a53b7a4e
MP
118882012-03-06 Marek Polacek <polacek@redhat.com>
11889
11890 [BZ #13726]
11891 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11892 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11893 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11894 * stdio-common/tst-long-dbl-fphex.c: New file.
11895
e9258400
DM
118962012-03-06 David S. Miller <davem@davemloft.net>
11897
11898 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11899 (set_obp_int): New function.
11900 (get_obp_int): New function.
11901 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
11902 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11903 Avoid unused variable warnings on 'val' and use builtin_expect.
11904 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11905 __builtin_expect.
e9258400
DM
11906 (INLINE_CLONE_SYSCALL): Likewise.
11907
3bd2c723
DM
119082012-03-05 David S. Miller <davem@davemloft.net>
11909
11910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11911
bbb78d03
AS
119122012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11913
884c5db4
AS
11914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11915
bbb78d03
AS
11916 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11917 only for |x| >= 40.
11918 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11919
1c9f702a 119202012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
11921
11922 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11923 Replace gettimeofday with __vdso_gettimeofday.
11924
7be16f82
RM
11925 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11926 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11927 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
11928
11929 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11930 time with __vdso_time.
11931
ed58a00f
JM
119322012-03-05 Joseph Myers <joseph@codesourcery.com>
11933
11934 * manual/lang.texi (size_t): Note types to which size_t may be
11935 equivalent with the GNU C Library, but do not describe when
11936 differences between them are significant.
11937
30ee4ced
AJ
119382012-03-05 Andreas Jaeger <aj@suse.de>
11939
11940 * sysdeps/i386/fpu/libm-test-ulps: Update.
11941
b7cd39e8
JM
119422012-03-05 Joseph Myers <joseph@codesourcery.com>
11943
11944 [BZ #3976]
11945 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11946 (__ieee754_pow): Save and restore rounding mode and use
11947 round-to-nearest for main computations.
11948 * math/libm-test.inc (pow_test_tonearest): New function.
11949 (pow_test_towardzero): Likewise.
11950 (pow_test_downward): Likewise.
11951 (pow_test_upward): Likewise.
11952 (main): Call the new functions.
11953 * sysdeps/i386/fpu/libm-test-ulps: Update.
11954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11955
11956 [BZ #3976]
11957 * math/libm-test.inc (cosh_test_tonearest): New function.
11958 (cosh_test_towardzero): Likewise.
11959 (cosh_test_downward): Likewise.
11960 (cosh_test_upward): Likewise.
11961 (sinh_test_tonearest): Likewise.
11962 (sinh_test_towardzero): Likewise.
11963 (sinh_test_downward): Likewise.
11964 (sinh_test_upward): Likewise.
11965 (main): Call the new functions.
11966 * sysdeps/i386/fpu/libm-test-ulps: Update.
11967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11968
6c6a98c9
TV
119692012-03-05 Tom de Vries <tom@codesourcery.com>
11970
11971 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11972 default stack guard is set in last bytes.
11973 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11974
21bb2d2e 119752012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11976
21bb2d2e 11977 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11978
21bb2d2e
AJ
11979 [BZ #13656]
11980 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11981 possibly allocate from heap instead of stack.
11982 * stdio-common/bug-vfprintf-nargs.c: New file.
11983 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11984
c6922934
AS
119852012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11986
11987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11988
bc957d53
MP
119892012-03-03 Marek Polacek <polacek@redhat.com>
11990
11991 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11992 * math/math_private.h: Likewise.
11993 * stdlib/tst-strtod.c: Likewise.
11994 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11995 * sysdeps/x86_64/bits/atomic.h: Likewise.
11996
6358490d
DM
119972012-03-02 David S. Miller <davem@davemloft.net>
11998
11999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
12000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
12001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
12002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
12003 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
12004 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
12005 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
12006 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
12007
01ae168d
RM
120082012-03-02 Roland McGrath <roland@hack.frob.com>
12009
d9a17c07
RM
12010 [BZ #13792]
12011 * manual/examples/README: New file, says the example source files
12012 can be used under GPL>=2.
12013 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
12014 line containing just "*/".
12015 * manual/examples/add.c: Add copyright header (GPL>=2).
12016 * manual/examples/argp-ex1.c: Likewise.
12017 * manual/examples/argp-ex2.c: Likewise.
12018 * manual/examples/argp-ex3.c: Likewise.
12019 * manual/examples/argp-ex4.c: Likewise.
12020 * manual/examples/atexit.c: Likewise.
12021 * manual/examples/db.c: Likewise.
12022 * manual/examples/dir.c: Likewise.
12023 * manual/examples/dir2.c: Likewise.
12024 * manual/examples/execinfo.c: Likewise.
12025 * manual/examples/filecli.c: Likewise.
12026 * manual/examples/filesrv.c: Likewise.
12027 * manual/examples/fmtmsgexpl.c: Likewise.
12028 * manual/examples/genpass.c: Likewise.
12029 * manual/examples/inetcli.c: Likewise.
12030 * manual/examples/inetsrv.c: Likewise.
12031 * manual/examples/isockad.c: Likewise.
12032 * manual/examples/longopt.c: Likewise.
12033 * manual/examples/memopen.c: Likewise.
12034 * manual/examples/memstrm.c: Likewise.
12035 * manual/examples/mkfsock.c: Likewise.
12036 * manual/examples/mkisock.c: Likewise.
12037 * manual/examples/mygetpass.c: Likewise.
12038 * manual/examples/pipe.c: Likewise.
12039 * manual/examples/popen.c: Likewise.
12040 * manual/examples/rprintf.c: Likewise.
12041 * manual/examples/search.c: Likewise.
12042 * manual/examples/select.c: Likewise.
12043 * manual/examples/setjmp.c: Likewise.
12044 * manual/examples/sigh1.c: Likewise.
12045 * manual/examples/sigusr.c: Likewise.
12046 * manual/examples/stpcpy.c: Likewise.
12047 * manual/examples/strdupa.c: Likewise.
12048 * manual/examples/strftim.c: Likewise.
12049 * manual/examples/strncat.c: Likewise.
12050 * manual/examples/subopt.c: Likewise.
12051 * manual/examples/swapcontext.c: Likewise.
12052 * manual/examples/termios.c: Likewise.
12053 * manual/examples/testopt.c: Likewise.
12054 * manual/examples/testpass.c: Likewise.
12055 * manual/examples/timeval_subtract.c: Likewise.
12056
01ae168d
RM
12057 [BZ #13792]
12058 * manual/time.texi (Elapsed Time): Move timeval_subtract example
12059 function to ...
12060 * manual/timeval_subtract.c.texi: ... here, new file.
12061
49efa33d
DM
120622012-03-02 David S. Miller <davem@davemloft.net>
12063
12064 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
12065
28afd92d
JM
120662012-03-02 Joseph Myers <joseph@codesourcery.com>
12067
804360ed
JM
12068 [BZ #3976]
12069 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
12070 (__sin): Save and restore rounding mode and use round-to-nearest
12071 for all computations.
12072 (__cos): Save and restore rounding mode and use round-to-nearest
12073 for all computations.
12074 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
12075 <fenv.h>.
12076 (tan): Save and restore rounding mode and use round-to-nearest for
12077 all computations.
12078 * math/libm-test.inc (cos_test_tonearest): New function.
12079 (cos_test_towardzero): Likewise.
12080 (cos_test_downward): Likewise.
12081 (cos_test_upward): Likewise.
12082 (sin_test_tonearest): Likewise.
12083 (sin_test_towardzero): Likewise.
12084 (sin_test_downward): Likewise.
12085 (sin_test_upward): Likewise.
12086 (tan_test_tonearest): Likewise.
12087 (tan_test_towardzero): Likewise.
12088 (tan_test_downward): Likewise.
12089 (tan_test_upward): Likewise.
12090 (main): Call the new functions.
12091 * sysdeps/i386/fpu/libm-test-ulps: Update.
12092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12093
a6d06d7b
JM
12094 [BZ #10135]
12095 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
12096 small n, then large n, before computing and testing k+n.
12097 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12098 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12099 Likewise.
12100 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12101 Likewise.
12102 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12103 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12104 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12105 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12106 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12107 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12108 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12109 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
12110 * math/libm-test.inc (scalbn_test): Add more tests.
12111 (scalbln_test): Likewise.
12112
07e12bb3
JM
12113 * manual/filesys.texi (mode_t): Describe constraints on size and
12114 signedness, not exact equivalence to a particular type.
12115 (ino_t): Likewise.
12116 (ino64_t): Likewise.
12117 (dev_t): Likewise.
12118 (nlink_t): Likewise.
12119 (blkcnt_t): Likewise.
12120 (blkcnt64_t): Likewise.
12121 * manual/llio.texi (off_t): Likewise.
12122
28afd92d
JM
12123 [BZ #3976]
12124 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
12125 (__ieee754_exp): Save and restore rounding mode and use
12126 round-to-nearest for all computations.
12127 * math/libm-test.inc (exp_test_tonearest): New function.
12128 (exp_test_towardzero): Likewise.
12129 (exp_test_downward): Likewise.
12130 (exp_test_upward): Likewise.
12131 (main): Call the new functions.
12132 * sysdeps/i386/fpu/libm-test-ulps: Update.
12133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12134
b1eeb65d
CD
121352012-03-01 Chris Demetriou <cgd@google.com>
12136
12137 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
12138 have predictable order.
12139
53362a4b
DM
121402012-03-01 David S. Miller <davem@davemloft.net>
12141
3c969083
DM
12142 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
12143
759707de
DM
12144 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12145 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12146 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12147 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12148
dfdb8ff2
DM
12149 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12150 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12151 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12153 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12154 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12155 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12156 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12157 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12158
ead89f96
DM
12159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12160
7f66bd07
DM
12161 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12162 * sysdeps/sparc/fpu/libm-test-ulps: to here.
12163 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12164
53362a4b
DM
12165 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12166 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12167 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12168 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12169 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12170 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12171 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12172 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12173 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12174 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12175 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12176 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12177 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12178 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12179 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12180 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12181 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12182 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12183 * sysdeps/sparc/elf/configure: Regenerated.
12184
7b1902cb
JM
121852012-03-01 Joseph Myers <joseph@codesourcery.com>
12186
bec039bc
JM
12187 * configure.in (AS, LD): Require binutils 2.20 or later.
12188 * configure: Regenerated.
12189 * manual/install.texi (Tools for Compilation): Give binutils 2.20
12190 as required minimum version.
12191 * INSTALL: Regenerated.
12192
7b1902cb
JM
12193 [BZ #2541]
12194 [BZ #4108]
12195 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12196 before squaring exponent.
12197 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12198 bottom long double and 27 bits of top long double before squaring
12199 exponent.
12200 * math/libm-test.inc (erfc_test): Add more tests.
12201 * sysdeps/i386/fpu/libm-test-ulps: Update.
12202 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12204
f775c276
KT
122052012-03-01 Kai Tietz <ktietz@redhat.com>
12206
12207 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12208 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12209 containing bit-fields.
12210 * soft-fp/extended.h (_FP_UNION_E): Likewise.
12211 * soft-fp/single.h (_FP_UNION_S): Likewise.
12212 * soft-fp/double.h (_FP_UNION_D): Likewise.
12213
5b8a4d4a
JM
122142012-02-29 Joseph Myers <joseph@codesourcery.com>
12215
0bab47b6
JM
12216 [BZ #13786]
12217 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12218 not include ../strcmp.S.
12219 [USE_AS_STRNCASECMP_L]: Likewise.
12220 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12221 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12222 * sysdeps/i386/i686/multiarch/strncase_l-c.c
12223 (__strncasecmp_l_ia32): Define as alias to
12224 __strncasecmp_l_nonascii.
12225
0fcad3e2
JM
12226 [BZ #5794]
12227 * math/libm-test.inc (expm1_test): Add test for bug 5794.
12228 * sysdeps/i386/fpu/libm-test-ulps: Update.
12229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12230
5b8a4d4a
JM
12231 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12233
8fdceb2e
JL
122342012-02-29 Jeff Law <law@redhat.com>
12235
12236 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12237 out of bounds read.
12238
1f393a11
MP
122392012-02-29 Marek Polacek <polacek@redhat.com>
12240
12241 [BZ #13706]
12242 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12243 * elf/Makefile: Add rules to run tst-unused-dep.out.
12244
8847f037
DM
122452012-02-28 David S. Miller <davem@davemloft.net>
12246
12247 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12248 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12249 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12250 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12251 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12252 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12253
169d7f11
JM
122542012-02-29 Joseph Myers <joseph@codesourcery.com>
12255
12256 * math/libm-test.inc (llround_test): Move one test from
12257 lround_test. Use TEST_f_L in moved test.
12258 (lround_test): Move misplaced test to llround_test. Add testcase
12259 from bug 2561.
12260
39adf059
UD
122612012-02-28 Ulrich Drepper <drepper@gmail.com>
12262
12263 * sysdeps/x86_64/fpu/e_expf.S: New file.
12264 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12265
71b5d1c5
SB
122662012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12267
12268 [BZ #13637]
12269 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12270 of remain_len that may cause incomplete multi-byte character and
12271 false match.
12272 * posix/bug-regex33.c: New file.
12273 * posix/Makefile (tests): Add bug-regex33.
12274
1f77f049
JM
122752012-02-28 Joseph Myers <joseph@codesourcery.com>
12276
12277 * manual/macros.texi: New file.
12278 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12279 * manual/libc.texinfo: Include macros.texi.
12280 * manual/creatute.texi: Likewise.
12281 * manual/install.texi: Likewise.
12282 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12283 @glibcadj{} in references to the GNU C Library.
12284 * manual/charset.texi: Likewise.
12285 * manual/conf.texi: Likewise.
12286 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12287 when not using those macros.
12288 * manual/creature.texi: Likewise.
12289 * manual/crypt.texi: Likewise.
12290 * manual/errno.texi: Likewise.
12291 * manual/filesys.texi: Likewise.
12292 * manual/header.texi: Likewise.
12293 * manual/install.texi: Likewise.
12294 * manual/intro.texi: Likewise.
12295 * manual/io.texi: Likewise.
12296 * manual/job.texi: Likewise.
12297 * manual/lang.texi: Likewise.
12298 * manual/libc.texiinfo: Likewise.
12299 * manual/llio.texi: Likewise.
12300 * manual/locale.texi: Likewise.
12301 * manual/maint.texi: Likewise.
12302 * manual/math.texi: Likewise.
12303 * manual/memory.texi: Likewise.
12304 * manual/message.texi: Likewise.
12305 * manual/nss.texi: Likewise.
12306 * manual/pattern.texi: Likewise.
12307 * manual/process.texi: Likewise.
12308 * manual/resource.texi: Likewise.
12309 * manual/search.texi: Likewise.
12310 * manual/setjmp.texi: Likewise.
12311 * manual/signal.texi: Likewise.
12312 * manual/socket.texi: Likewise.
12313 * manual/startup.texi: Likewise.
12314 * manual/stdio.texi: Likewise.
12315 * manual/string.texi: Likewise.
12316 * manual/sysinfo.texi: Likewise.
12317 * manual/syslog.texi: Likewise.
12318 * manual/terminal.texi: Likewise.
12319 * manual/time.texi: Likewise.
12320 * manual/users.texi: Likewise.
12321 * INSTALL: Regenerated.
12322 * NOTES: Regenerated.
d40c5d54 12323 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 12324
450bf206
AS
123252012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12326
12327 * include/dirent.h: Include <dirstream.h> before
12328 <dirent/dirent.h>.
12329
741a235b
DM
123302012-02-28 David S. Miller <davem@davemloft.net>
12331
12332 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12333 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12334 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12335 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12336
d6b5aa58
DM
123372012-02-27 David S. Miller <davem@davemloft.net>
12338
1aff59a3
DM
12339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12341 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12342 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12343
d6b5aa58
DM
12344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12345 frame pointer instead of stack pointer relative arg slot.
12346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12347 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12348 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12349
433f48bf
CD
123502012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12351
12352 [BZ #3992]
12353 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12354
d674b76d
DM
123552012-02-27 David S. Miller <davem@davemloft.net>
12356
12357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12361 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12362 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12363 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12364 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12365
0e7727f7
JM
123662012-02-27 Joseph Myers <joseph@codesourcery.com>
12367
12368 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12369 later. Allow versions 5-9.
43be4ca2 12370 * configure: Regenerated.
0e7727f7
JM
12371 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12372 required minimum version and 4.6 as recommended version. Do not
12373 mention bugs in GCC 2.7 and 2.8.
43be4ca2 12374 * INSTALL: Regenerated.
0e7727f7 12375
a78bc654
DM
123762012-02-27 David S. Miller <davem@davemloft.net>
12377
428d5830
DM
12378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12382 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12383 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12384 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12385 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12386
a78bc654
DM
12387 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12388 manipulate bits before adding and subtracting TWO112[sx].
12389 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12390
4579f81c
RM
123912012-02-27 Roland McGrath <roland@hack.frob.com>
12392
36c8acb4
RM
12393 [BZ #13775]
12394 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12395 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12396 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12397 being in POSIX, because they are in 1003.1-2008.
12398
84ad622b
RM
12399 * rt/tst-aio.c: Include <fcntl.h>.
12400 * rt/tst-aio7.c: Likewise.
12401 * rt/tst-aio64.c: Likewise.
12402
4579f81c
RM
12403 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12404
abd923db
JM
124052012-02-27 Joseph Myers <joseph@codesourcery.com>
12406
12407 * manual/install.texi (--with-headers): Describe headers as
12408 interface headers, not private headers.
12409 (Specific advice for GNU/Linux systems): Describe use of headers
12410 from "make headers_install", not private headers from older
12411 kernels.
43be4ca2 12412 * INSTALL: Regenerated.
abd923db
JM
12413 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12414 Change to 2.6.19.
12415 * sysdeps/unix/sysv/linux/configure: Regenerated.
12416
6664049b
JM
12417 * manual/llio.texi (fclean): Remove documentation.
12418
bb8b6697
JM
12419 * manual/Makefile (libc-texi-generated): New variable. Include
12420 version.texi.
12421 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12422 $(libc-texi-generated), not duplicated list of files.
12423 (version.texi, stamp-version): New rules.
12424 (realclean): Remove $(libc-texi-generated), not individual files
12425 from that list. Do not remove dir-add.texinfo.
12426 * manual/libc.texinfo: Comment out uses of edition numbers and
12427 references to printed manual. Remove last-updated dates.
12428 (EDITION): Comment out.
12429 (ISBN): Likewise.
12430 (VERSION, UPDATED): Remove.
12431 (version.texi): Include.
12432
12e5c3b9
AS
124332012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12434
12435 * sysdeps/posix/spawni.c: Include <signal.h>.
12436 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12437 * sysdeps/pthread/aio_fsync.c: Likewise.
12438
4efeffc1 124392012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 12440
ba63ba08
UD
12441 * conform/Makefile (tests): Run only when not cross-compiling and
12442 when fast-check is not defined.
12443
d94a4670
UD
12444 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12445 * conform/data/limits.h-data: Fixes for POSIX2008.
12446 * conform/run-conformtest.sh: Run all tests.
12447 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12448 headers.
12449 * include/bits/dlfcn.h: Likewise.
12450 * include/langinfo.h: Likewise.
12451 * include/monetary.h: Likewise.
12452 * include/sys/poll.h: Likewise.
12453
12454 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12455 for __USE_GNU.
12456 * posix/spawn.h: Define __need_sigset_t.
12457 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12458 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12459 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12460 to get sigevent_t only.
12461 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12462 only for __USE_GNU.
12463 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12464 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12465 process_vm_writev only for __USE_GNU.
12466 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
12467
12468 * conform/Makefile: For now ignore errors from run-conformtest.
12469 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12470 POSIX to avoid namespace pollution. Don't prepend headers.
12471 * conform/data/aio.h-data: Fixes for POSIX testing.
12472 * conform/data/fcntl.h-data: Likewise.
12473 * conform/data/glob.h-data: Likewise.
12474 * conform/data/grp.h-data: Likewise.
12475 * conform/data/pthread.h-data: Likewise.
12476 * conform/data/pwd.h-data: Likewise.
12477 * conform/data/signal.h-data: Likewise.
12478 * conform/data/spawn.h-data: Likewise.
12479 * conform/data/stdio.h-data: Likewise.
12480 * conform/data/stdlib.h-data: Likewise.
12481 * conform/data/stropts.h-data: Likewise.
12482 * conform/data/sys/mman.h-data: Likewise.
12483 * conform/data/sys/stat.h-data: Likewise.
12484 * conform/data/sys/types.h-data: Likewise.
12485 * conform/data/sys/wait.h-data: Likewise.
12486 * conform/data/time.h-data: Likewise.
12487 * conform/data/unistd.h-data: Likewise.
12488 * conform/data/utime.h-data: Likewise.
12489
12490 * io/sys/stat.h: fchmod was always in POSIX.
12491 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12492 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12493 * rt/aio.h: Define __need_timespec before including <time.h>.
12494 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12495 struct. Add forward declaration of pthread_attr_t and use it in
12496 sigevent.
12497 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12498 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12499 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12500 always remove CLK_TCK definition.
12501
c20105c3
AS
125022012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12503
12504 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12505
7a270350
UD
125062012-02-25 Ulrich Drepper <drepper@gmail.com>
12507
31341567
UD
12508 * conform/run-conformtest.sh: New file.
12509 * conform/Makefile: Run run-conformtest for tests.
12510 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12511 support.
12512
12513 * conform/data/uchar.h-data: New file.
12514 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12515 * conform/data/arpa/inet.h-data: Likewise.
12516 * conform/data/assert.h-data: Likewise.
12517 * conform/data/complex.h-data: Likewise.
12518 * conform/data/cpio.h-data: Likewise.
12519 * conform/data/ctype.h-data: Likewise.
12520 * conform/data/dirent.h-data: Likewise.
12521 * conform/data/dlfcn.h-data: Likewise.
12522 * conform/data/errno.h-data: Likewise.
12523 * conform/data/fcntl.h-data: Likewise.
12524 * conform/data/float.h-data: Likewise.
12525 * conform/data/fmtmsg.h-data: Likewise.
12526 * conform/data/fnmatch.h-data: Likewise.
12527 * conform/data/ftw.h-data: Likewise.
12528 * conform/data/glob.h-data: Likewise.
12529 * conform/data/grp.h-data: Likewise.
12530 * conform/data/iconv.h-data: Likewise.
12531 * conform/data/inttypes.h-data: Likewise.
12532 * conform/data/langinfo.h-data: Likewise.
12533 * conform/data/libgen.h-data: Likewise.
12534 * conform/data/limits.h-data: Likewise.
12535 * conform/data/locale.h-data: Likewise.
12536 * conform/data/math.h-data: Likewise.
12537 * conform/data/monetary.h-data: Likewise.
12538 * conform/data/mqueue.h-data: Likewise.
12539 * conform/data/ndbm.h-data: Likewise.
12540 * conform/data/net/if.h-data: Likewise.
12541 * conform/data/netdb.h-data: Likewise.
12542 * conform/data/netinet/in.h-data: Likewise.
12543 * conform/data/nl_types.h-data: Likewise.
12544 * conform/data/poll.h-data: Likewise.
12545 * conform/data/pthread.h-data: Likewise.
12546 * conform/data/pwd.h-data: Likewise.
12547 * conform/data/regex.h-data: Likewise.
12548 * conform/data/sched.h-data: Likewise.
12549 * conform/data/search.h-data: Likewise.
12550 * conform/data/semaphore.h-data: Likewise.
12551 * conform/data/setjmp.h-data: Likewise.
12552 * conform/data/signal.h-data: Likewise.
12553 * conform/data/spawn.h-data: Likewise.
12554 * conform/data/stdarg.h-data: Likewise.
12555 * conform/data/stdio.h-data: Likewise.
12556 * conform/data/stdlib.h-data: Likewise.
12557 * conform/data/string.h-data: Likewise.
12558 * conform/data/strings.h-data: Likewise.
12559 * conform/data/stropts.h-data: Likewise.
12560 * conform/data/sys/ipc.h-data: Likewise.
12561 * conform/data/sys/mman.h-data: Likewise.
12562 * conform/data/sys/msg.h-data: Likewise.
12563 * conform/data/sys/resource.h-data: Likewise.
12564 * conform/data/sys/select.h-data: Likewise.
12565 * conform/data/sys/sem.h-data: Likewise.
12566 * conform/data/sys/shm.h-data: Likewise.
12567 * conform/data/sys/socket.h-data: Likewise.
12568 * conform/data/sys/stat.h-data: Likewise.
12569 * conform/data/sys/statvfs.h-data: Likewise.
12570 * conform/data/sys/time.h-data: Likewise.
12571 * conform/data/sys/timeb.h-data: Likewise.
12572 * conform/data/sys/times.h-data: Likewise.
12573 * conform/data/sys/types.h-data: Likewise.
12574 * conform/data/sys/uio.h-data: Likewise.
12575 * conform/data/sys/un.h-data: Likewise.
12576 * conform/data/sys/utsname.h-data: Likewise.
12577 * conform/data/sys/wait.h-data: Likewise.
12578 * conform/data/syslog.h-data: Likewise.
12579 * conform/data/tar.h-data: Likewise.
12580 * conform/data/termios.h-data: Likewise.
12581 * conform/data/utime.h-data: Likewise.
12582 * conform/data/utmpx.h-data: Likewise.
12583 * conform/data/varargs.h-data: Likewise.
12584 * conform/data/wchar.h-data: Likewise.
12585 * conform/data/wctype.h-data: Likewise.
12586 * conform/data/wordexp.h-data: Likewise.
12587
12588 * include/stropts.h: New file.
12589 * include/uchar.h: New file.
12590 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12591 * include/assert.h: Likewise.
12592 * include/ctype.h: Likewise.
12593 * include/dirent.h: Likewise.
12594 * include/dlfcn.h: Likewise.
12595 * include/fcntl.h: Likewise.
12596 * include/fnmatch.h: Likewise.
12597 * include/glob.h: Likewise.
12598 * include/grp.h: Likewise.
12599 * include/libio.h: Likewise.
12600 * include/locale.h: Likewise.
12601 * include/math.h: Likewise.
12602 * include/net/if.h: Likewise.
12603 * include/netdb.h: Likewise.
12604 * include/netinet/in.h: Likewise.
12605 * include/pthread.h: Likewise.
12606 * include/pwd.h: Likewise.
12607 * include/regex.h: Likewise.
12608 * include/sched.h: Likewise.
12609 * include/search.h: Likewise.
12610 * include/setjmp.h: Likewise.
12611 * include/signal.h: Likewise.
12612 * include/stdio.h: Likewise.
12613 * include/stdlib.h: Likewise.
12614 * include/string.h: Likewise.
12615 * include/sys/cdefs.h: Likewise.
12616 * include/sys/mman.h: Likewise.
12617 * include/sys/msg.h: Likewise.
12618 * include/sys/resource.h: Likewise.
12619 * include/sys/select.h: Likewise.
12620 * include/sys/socket.h: Likewise.
12621 * include/sys/stat.h: Likewise.
12622 * include/sys/statvfs.h: Likewise.
12623 * include/sys/time.h: Likewise.
12624 * include/sys/times.h: Likewise.
12625 * include/sys/uio.h: Likewise.
12626 * include/sys/utsname.h: Likewise.
12627 * include/sys/wait.h: Likewise.
12628 * include/termios.h: Likewise.
12629 * include/time.h: Likewise.
12630 * include/ulimit.h: Likewise.
12631 * include/unistd.h: Likewise.
12632 * include/utime.h: Likewise.
12633 * include/wchar.h: Likewise.
12634 * include/wctype.h: Likewise.
12635 * include/wordexp.h: Likewise.
12636
12637 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12638
7a270350
UD
12639 * time/time.h: TIME_UTC must be a macro.
12640 Make timespec_get available for ISO C11 only as well.
12641
7724defc
UD
126422012-02-24 Ulrich Drepper <drepper@gmail.com>
12643
12644 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12645 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12646
6b1d1d46
JM
126472012-02-24 Joseph Myers <joseph@codesourcery.com>
12648
12649 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 12650
0f8bbd69
JM
126512012-02-24 Joseph Myers <joseph@codesourcery.com>
12652
12653 * manual/texinfo.tex: Update to version 2012-01-19.16.
12654
66ab80bc
JM
126552012-02-24 Joseph Myers <joseph@codesourcery.com>
12656
12657 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12658
74981cc5
RM
126592012-02-24 Roland McGrath <roland@hack.frob.com>
12660
ee968201
RM
12661 [BZ #13738]
12662 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12663 * manual/fdl-1.3.texi: New file.
12664 * manual/fdl-1.1.texi: File removed.
12665
74981cc5
RM
12666 [BZ #13738]
12667 * manual/libc.texinfo (FDL_VERSION): New @set.
12668 Use it for mention of FDL in cover text.
12669 (Documentation License): Use it in @include file name.
12670
7bb764bc
JM
126712012-02-22 Joseph Myers <joseph@codesourcery.com>
12672 Roland McGrath <roland@hack.frob.com>
12673
12674 [BZ #5461]
12675 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12676 not LONG_LONG_MAX and LONG_LONG_MIN.
12677 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12678 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12679 name.
12680 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12681
6cbeae47
JM
126822012-02-22 Joseph Myers <joseph@codesourcery.com>
12683
12684 [BZ #2547]
12685 [BZ #11365]
12686 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12687 manipulate bits before adding and subtracting TWO23[sx].
12688 * math/libm-test.inc (nearbyint_test): Add more tests.
12689
fe45ce09
JM
126902012-02-22 Joseph Myers <joseph@codesourcery.com>
12691
12692 [BZ #2548]
12693 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12694 bits before adding and subtracting TWO23[sx].
12695 * math/libm-test.inc (rint_test): Add more tests.
12696 (rint_test_tonearest): Likewise.
12697 (rint_test_towardzero): Likewise.
12698 (rint_test_downward): Likewise.
12699 (rint_test_upward: Likewise.
12700
ff3b3d82
JM
127012012-02-22 Joseph Myers <joseph@codesourcery.com>
12702
12703 [BZ #10110]
12704 * include/stdc-predef.h: New file. Extracted from features.h.
12705 * include/features.h: Include stdc-predef.h.
12706 * Makefile (headers): Add stdc-predef.h.
12707 * CONFORMANCE (Compiler limitations): Update.
12708
ef0aab35
JM
127092012-02-22 Joseph Myers <joseph@codesourcery.com>
12710
12711 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12712
58639409
DM
127132012-02-21 David S. Miller <davem@davemloft.net>
12714
12715 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12716 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12717
c0e70b25
DM
127182012-02-20 David S. Miller <davem@davemloft.net>
12719
12720 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12721 using a normal save/restore sequence, rather than allocating a
12722 dummy stack frame just to store a frame pointer and restore.
12723 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12724
fb06851d
JM
127252012-02-21 Joseph Myers <joseph@codesourcery.com>
12726
12727 * manual/install.texi: Fix stray word in line-wrapped comment.
12728
7a8b71c3
DM
127292012-02-20 David S. Miller <davem@davemloft.net>
12730
d510c123
DM
12731 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12732 both binutils and gcc support GOTDATA.
12733
0722d7c2
DM
12734 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12735 "rd %pc" in the PIC register setup sequences.
12736
3d2b3019
DM
12737 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12738 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12739 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12740 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12741 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12742 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12743 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12744 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12745 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12746 (SYSCALL_ERROR_HANDLER): Likewise.
12747 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12748 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12749 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12750 (SYSCALL_ERROR_HANDLER): Likewise.
12751
c80098a9
DM
12752 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12753 (HAVE_GCC_GOTDATA): New.
12754 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12755 relocation support in both binutils and gcc.
12756 * sysdeps/sparc/elf/configure: Regenerate.
12757
3a2545a0
DM
12758 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12759 * sysdeps/sparc/sparc32/elf/configure: Delete.
12760 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12761 * sysdeps/sparc/sparc64/elf/configure: Delete.
12762 * sysdeps/sparc/elf/configure.in: New file.
12763 * sysdeps/sparc/elf/configure: Generate.
12764
7a8b71c3
DM
12765 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12766 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12767 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12768 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12769 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12770
f1e86fca
JM
127712012-02-21 Joseph Myers <joseph@codesourcery.com>
12772
12773 * manual/install.texi: Do not mention specific glibc version
12774 numbers.
12775 * manual/libc.texinfo (VERSION, UPDATED): Update.
12776 (@copying): Use @copyright{} and range of years.
12777
0e7dfaef
JM
127782012-02-21 Joseph Myers <joseph@codesourcery.com>
12779
12780 [BZ #13695]
12781 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12782 [crti.S not in sysdirs] (generated): Do not append.
12783 [crti.S not in sysdirs] (omit-deps): Likewise.
12784 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12785 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12786 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12787 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12788 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12789 Likewise.
12790 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12791 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12792 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12793 * csu/defs.awk: Remove file.
12794 * sysdeps/generic/initfini.c: Likewise.
12795 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12796 variable.
12797 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12798 Likewise.
12799
599af3ca
JM
128002012-02-20 Joseph Myers <joseph@codesourcery.com>
12801
12802 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12803 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12804 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12805 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12806 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12807 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12808 <bits/epoll.h>.
12809 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12810 (__EPOLL_PACKED): Define to empty if not defined by
12811 <bits/epoll.h>.
12812 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12814 bits/epoll.h.
12815
0e499750
JM
128162012-02-20 Joseph Myers <joseph@codesourcery.com>
12817
12818 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12819 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12820 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12821 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12822 <bits/timerfd.h>.
12823 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12824 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12825 bits/timerfd.h.
12826
5ad91f6e
JM
128272012-02-20 Joseph Myers <joseph@codesourcery.com>
12828
12829 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12830 in C locale.
12831 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12832 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12833 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12835
06b99b02
AJ
128362012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12837
12838 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12839 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12840
7638c0fd
AS
128412012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12842
12843 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12844 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12845 defined.
12846 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12847 Likewise.
12848 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12849 entry for 2.16.
12850
92221550
AJ
128512012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12852
12853 * math/w_acos.c: Use non-signaling floating-point comparisons.
12854 * math/w_acosf.c: Likewise.
12855 * math/w_acosh.c: Likewise.
12856 * math/w_acoshf.c: Likewise.
12857 * math/w_acoshl.c: Likewise.
12858 * math/w_acosl.c: Likewise.
12859 * math/w_asin.c: Likewise.
12860 * math/w_asinf.c: Likewise.
12861 * math/w_asinl.c: Likewise.
12862 * math/w_atanh.c: Likewise.
12863 * math/w_atanhf.c: Likewise.
12864 * math/w_atanhl.c: Likewise.
12865 * math/w_exp2.c: Likewise.
12866 * math/w_exp2f.c: Likewise.
12867 * math/w_exp2l.c: Likewise.
12868 * math/w_j0.c: Likewise.
12869 * math/w_j0f.c: Likewise.
12870 * math/w_j0l.c: Likewise.
12871 * math/w_j1.c: Likewise.
12872 * math/w_j1f.c: Likewise.
12873 * math/w_j1l.c: Likewise.
12874 * math/w_jn.c: Likewise.
12875 * math/w_jnf.c: Likewise.
12876 * math/w_log.c: Likewise.
12877 * math/w_log10.c: Likewise.
12878 * math/w_log10f.c: Likewise.
12879 * math/w_log10l.c: Likewise.
12880 * math/w_log2.c: Likewise.
12881 * math/w_log2f.c: Likewise.
12882 * math/w_log2l.c: Likewise.
12883 * math/w_logf.c: Likewise.
12884 * math/w_logl.c: Likewise.
12885 * math/w_sqrt.c: Likewise.
12886 * math/w_sqrtf.c: Likewise.
12887 * math/w_sqrtl.c: Likewise.
12888 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12889 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12890 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12891 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12892 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12893
ebaf36eb
JM
128942012-02-19 Joseph Myers <joseph@codesourcery.com>
12895
12896 [BZ #9739]
12897 * manual/string.texi (strnlen): Use correct parameter name in
12898 equivalent expression.
12899
71c254a6
JM
129002012-02-19 Joseph Myers <joseph@codesourcery.com>
12901
12902 [BZ #11174]
12903 * manual/users.texi (seteuid): Consistently use neweuid for
12904 argument name.
12905
16d2c631
JM
129062012-02-19 Joseph Myers <joseph@codesourcery.com>
12907
12908 [BZ #13704]
12909 * manual/nss.texi (Services in the NSS configuration): Correct
12910 list of services in example configuration file.
12911
cd837b09
NB
129122012-02-19 Nick Bowler <nbowler@draconx.ca>
12913
12914 [BZ #11322]
12915 * manual/arith.texi: Remove statements about negative zero
12916 behaving identically to zero.
12917
02c4bbad
JM
129182012-02-18 Joseph Myers <joseph@codesourcery.com>
12919
12920 [BZ #5993]
12921 * manual/install.texi: Do not document upgrading from libc5.
12922
366842e7
JM
129232012-02-18 Joseph Myers <joseph@codesourcery.com>
12924
12925 [BZ #4596]
12926 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12927
dd54084d
DM
129282012-02-18 David S. Miller <davem@davemloft.net>
12929
12930 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12931 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12932 %o7 across the call.
12933 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12934 instead.
12935 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12936 SETUP_PIC_REG_LEAF.
12937 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12938 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12939 * sysdeps/sparc/crtn.S: Likewise.
12940
2bcc53a3
UD
129412012-02-17 Ulrich Drepper <drepper@gmail.com>
12942
12943 * aout/Makefile: Remove.
12944
09c093b5
RK
129452012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12946
12947 [BZ #13058]
12948 * manual/examples/argp-ex1.c (main): Format definition in GNU
12949 style.
12950 * manual/examples/argp-ex2.c (main): Likewise.
12951 * manual/examples/argp-ex3.c (main): Likewise.
12952 * manual/examples/argp-ex4.c (main): Likewise.
12953 * manual/examples/longopt.c (main): Use new-style prototype
12954 definition.
12955 * manual/examples/strncat.c (main): Specify return type and use
12956 (void) for arguments.
12957 * manual/examples/subopt.c (main): Use char **argv argument.
12958
2ee633a2
JM
129592012-02-17 Joseph Myers <joseph@codesourcery.com>
12960
12961 [BZ #5077]
12962 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12963 rounding modes.
12964
0520adde
FB
129652012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12966
12967 [BZ #6907]
12968 * manual/string.texi (strchr): Change when strchrnul is
12969 recommended.
12970
3f4081cd
DGM
129712012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12972
12973 [BZ #174]
12974 * manual/locale.texi (setlocale): Document LOCPATH.
12975
d1b10e78
JM
129762012-02-17 Joseph Myers <joseph@codesourcery.com>
12977
12978 [BZ #10210]
12979 * manual/process.texi (execle): Move @dots{} before last argument.
12980
79c6869c
PB
129812012-02-17 Paul Bolle <pebolle@tiscali.nl>
12982
12983 [BZ #12047]
12984 * manual/charset.texi (Generic Charset Conversion): Fix typo
12985 (LC_TYPE -> LC_CTYPE).
12986
cc6e48bc
NB
129872012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12988
12989 [BZ #5805]
12990 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12991 (scalbnf): Likewise.
12992 (scalbnl): Likewise.
12993 (scalbln): Likewise.
12994 (scalblnf): Likewise.
12995 (scalblnl): Likewise.
12996 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12997 (vwarnx): Likewise.
12998 (verr): Likewise.
12999 (verrx): Likewise.
13000 * manual/filesys.texi (telldir): Use braces around return type.
13001 * manual/llio.texi (mmap): Add space after comma.
13002 (mmap64): Likewise.
13003 * manual/math.texi (jn): Use @var{} on parameter names.
13004 (jnf): Likewise.
13005 (jnl): Likewise.
13006 (yn): Likewise.
13007 (ynf): Likewise.
13008 (ynl): Likewise.
13009 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
13010 line.
13011 * manual/resource.texi (ulimit): Use @dots{} instead of literal
13012 "...".
13013 (sched_get_priority_min): Remove semicolon on @deftypefun line.
13014 (sched_get_priority_max): Likewise.
13015 * manual/signal.texi (sigvec): Add space after comma.
13016 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
13017 names.
13018 (if_indextoname): Likewise.
13019 (if_freenameindex): Likewise.
13020 (sendto): Use ',' instead of '.' in prototype.
13021 * manual/startup.texi (syscall): Use @dots{} instead of literal
13022 "...".
13023 * manual/stdio.texi (__fpending): Separate initial words of
13024 paragraph from @deftypefun line.
13025 * manual/syslog.texi (syslog): Use @dots{} instead of literal
13026 "...".
13027 (vsyslog): Use @var{} on parameter names.
13028 * manual/terminal.texi (stty): Use @var{} on parameter names.
13029 * manual/users.texi (getutmp): Use @var{} on parameter names.
13030 (getutmpx): Likewise.
13031
5b23062f
JM
130322012-02-17 Joseph Myers <joseph@codesourcery.com>
13033
13034 [BZ #6884]
13035 * manual/stdio.texi (fopen): Fix typos in description of
13036 ",ccs=STRING".
13037
8dee4833
AJ
130382012-02-17 Aurelien Jarno <aurelien@aurel32.net>
13039
13040 [BZ #4026]
13041 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
13042 get clock_id definition.
13043
9078ce93
TS
130442012-02-17 Thomas Schwinge <thomas@schwinge.name>
13045
13046 [BZ #4822]
13047 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
13048 (madvise): Cast every argument to void on its own.
13049
3835c55f
JM
130502012-02-17 Joseph Myers <joseph@codesourcery.com>
13051
13052 [BZ #9902]
13053 * manual/startup.texi (Exit Status): Fix typo.
13054
35c47e37
JM
130552012-02-17 Joseph Myers <joseph@codesourcery.com>
13056
13057 [BZ #10140]
13058 * manual/examples/argp-ex1.c: Include <stdlib.h>.
13059 * manual/examples/argp-ex2.c: Likewise.
13060 * manual/examples/argp-ex3.c: Likewise.
13061
e3b69ca7
RH
130622012-02-16 Richard Henderson <rth@redhat.com>
13063
13064 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
13065 * sysdeps/s390/s390-32/initfini.c: Remove.
13066 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
13067 * sysdeps/s390/s390-64/initfini.c: Remove.
13068
df83af67
KK
130692012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13070
13071 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
13072 compiler output for sysdeps/generic/initfini.c.
13073 * sysdeps/sh/elf/initfini.c: Remove file.
13074
f63f3380
DM
130752012-02-16 David S. Miller <davem@davemloft.net>
13076
fb59b3a4
DM
13077 [BZ #11494]
13078 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
13079
f63f3380
DM
13080 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
13081 * sysdeps/sparc/crti.S: New file.
13082 * sysdeps/sparc/crtn.S: New file.
13083 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
13084 * sysdeps/sparc/sparc64/Makefile: Likewise.
13085
df6a4a4a
MF
130862012-02-15 Mike Frysinger <vapier@gentoo.org>
13087
6dd8f3dc 13088 [BZ #3335]
df6a4a4a
MF
13089 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
13090
1cac7236
RM
130912012-02-15 Roland McGrath <roland@hack.frob.com>
13092
d2c736f8
RM
13093 [BZ #4822]
13094 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
13095
1cac7236
RM
13096 * mach/devstream.c (cookie_io_functions_t): Macro removed.
13097 (write, read, close): Likewise.
13098 Patch by Aurelien Jarno <aurelien@aurel32.net>.
13099
8e475601
JM
131002012-02-15 Joseph Myers <joseph@codesourcery.com>
13101
13102 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
13103 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
13104 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
13105 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
13106 <bits/signalfd.h>.
13107 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
13108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13109 bits/signalfd.h.
13110
ed656b40
MP
131112012-02-14 Marek Polacek <polacek@redhat.com>
13112
13113 * sysdeps/x86_64/crti.S: New file.
13114 * sysdeps/x86_64/crtn.S: New file.
13115 * sysdeps/x86_64/elf/initfini.c: Remove file.
13116
2a979d3a
JM
131172012-02-13 Joseph Myers <joseph@codesourcery.com>
13118
13119 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
13120 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
13121 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
13122 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
13123 <bits/inotify.h>.
13124 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
13125 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13126 bits/inotify.h.
13127
2a418ac3
JM
131282012-02-13 Joseph Myers <joseph@codesourcery.com>
13129
13130 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
13131 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
13132 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
13133 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
13134 <bits/eventfd.h>.
13135 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
13136 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13137 bits/eventfd.h.
13138
fb779be7
TS
131392012-02-10 Thomas Schwinge <thomas@codesourcery.com>
13140
e19e83c5
RM
13141 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
13142 __feraiseexcept instead of feraiseexcept.
7c35ffed 13143
fb779be7
TS
13144 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13145 nanosleep invocations.
13146 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13147 strings, and add error checking for a nanosleep invocations.
13148
59ba27a6
PE
131492012-02-09 Paul Eggert <eggert@cs.ucla.edu>
13150
13151 Replace FSF snail mail address with URLs, as per GNU coding standards.
13152 Most of the snail mail addresses were wrong anyway, and omitting
13153 them makes the source code easier to maintain. Almost all of the
13154 changes are to license notices and to locale LC_IDENTIFICATION
13155 addresses, except for this one:
13156 * manual/libc.texinfo: In "Published by", give the FSF's URL,
13157 not its snail mail address.
13158
57b957eb
RH
131592012-02-09 Richard Henderson <rth@twiddle.net>
13160
af850b1c
RH
13161 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13162 of kernel-features.h.
13163
57b957eb
RH
13164 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13165
6b73181a
MP
131662012-02-08 Marek Polacek <polacek@redhat.com>
13167
13168 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13169 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13170 * sysdeps/gnu/_G_config.h: Likewise.
13171 * sysdeps/generic/_G_config.h: Likewise.
13172
26ecc33a
AS
131732012-02-08 Andreas Schwab <schwab@linux-m68k.org>
13174
6c6dbc63
AS
13175 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13176 tests.
13177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13178
e216c012
AS
13179 * sysdeps/powerpc/powerpc32/crti.S: New file.
13180 * sysdeps/powerpc/powerpc32/crtn.S: New file.
13181 * sysdeps/powerpc/powerpc64/crti.S: New file.
13182 * sysdeps/powerpc/powerpc64/crtn.S: New file.
13183
26ecc33a
AS
13184 * Makeconfig (have-initfini): Don't set.
13185 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13186 * configure.in (nopic_initfini): Don't substitute.
13187 * config.h.in (HAVE_INITFINI): Don't #undef.
13188 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13189 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13190
3add8e13
JM
131912012-02-08 Joseph Myers <joseph@codesourcery.com>
13192
13193 Support crti.S and crtn.S provided directly by architectures.
13194 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13195 [crti.S in sysdirs] (omit-deps): Likewise.
13196 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13197 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13198 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13199 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13200 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13201 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13202 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13203 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13204 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13205 compiler output for sysdeps/generic/initfini.c.
13206 * sysdeps/i386/elf/Makefile: Remove file.
13207 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13208
a22f12b4
MP
132092012-02-07 Marek Polacek <polacek@redhat.com>
13210
13211 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13212 * sysdeps/gnu/_G_config.h: Likewise.
13213 * sysdeps/mach/hurd/_G_config.h: Likewise.
13214
148cf100
MP
132152012-02-07 Marek Polacek <polacek@redhat.com>
13216
13217 * math/Makefile (tests): Add tst-CMPLX2.
13218 * math/tst-CMPLX2.c: New file.
13219
cfdc0dd7
AS
132202012-02-07 Andreas Schwab <schwab@linux-m68k.org>
13221
84ba42c4
AS
13222 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13223
cfdc0dd7
AS
13224 * math/libm-test.inc (jn_test): Add missing L suffix.
13225
622c86f4
MP
132262012-02-06 Marek Polacek <polacek@redhat.com>
13227
13228 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13229 * sysdeps/i386/fpu/e_powf.S: Likewise.
13230 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13231 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13232 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13233 * sysdeps/i386/fpu/e_pow.S: Likewise.
13234 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13235 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13236 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13237 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13238 * sysdeps/i386/fpu/e_log2.S: Likewise.
13239 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13240 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13241 * sysdeps/i386/fpu/e_powl.S: Likewise.
13242 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13243 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13244 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13245 * sysdeps/i386/fpu/e_logl.S: Likewise.
13246 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13247 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13248 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13249 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13250 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13251 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13252 * sysdeps/i386/fpu/e_log.S: Likewise.
13253 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13254 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13255 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13256 * sysdeps/i386/fpu/e_logf.S: Likewise.
13257 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13258 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13259 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13260 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13261 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13262 * sysdeps/i386/fpu/e_log10.S: Likewise.
13263 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13264 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13265 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13266 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13267 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13268 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13269 * sysdeps/i386/asm-syntax.h: Likewise.
13270 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13271 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13272 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13273 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13274 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13275 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13276 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13277 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13278 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13279 * sysdeps/powerpc/sysdep.h: Likewise.
13280 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13281 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13282
d4a54ac6
JM
132832012-02-06 Joseph Myers <joseph@codesourcery.com>
13284
13285 [BZ #411]
13286 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13287
314054ea
JM
132882012-02-06 Joseph Myers <joseph@codesourcery.com>
13289
13290 * sysdeps/i386/sysdep.h: Include <features.h>.
13291 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13292 version.
13293
d8e0ca50
JM
132942012-02-05 Joseph Myers <joseph@codesourcery.com>
13295
13296 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13297 Define.
13298 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13299 LOAD_PIC_REG_STR.
13300
b1da7dd9
JM
133012012-02-03 Joseph Myers <joseph@codesourcery.com>
13302
13303 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13304 (SETUP_PIC_REG): Use GET_PC_THUNK.
13305 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13306 macro.
13307
9a1d9254
JM
133082012-02-03 Joseph Myers <joseph@codesourcery.com>
13309
13310 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13311 for non-PIC compilation.
13312 (SETUP_PIC_REG): Add .p2align directive.
13313 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13314 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13315 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13316 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13317 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13318 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13319 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13320 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13321 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13322 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13323 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13324 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13325 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13326 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13327 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13328 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13329 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13330 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13331 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13332 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13333 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13334 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13335 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13336 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13337 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13338 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13339 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13340 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13341 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13342 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13343 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13344 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13345 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13346 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13347 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13348 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13349 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13350 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13351 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13352 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13353 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13354
65dc3b75
JM
133552012-02-03 Joseph Myers <joseph@codesourcery.com>
13356
13357 * math/tst-CMPLX.c: Include <stdio.h>.
13358
d55bf177
JM
133592012-01-31 Joseph Myers <joseph@codesourcery.com>
13360
13361 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13362 float.
13363 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13364 * sysdeps/sparc/bits/mathdef.h: Likewise.
13365
69db4f8f
MP
133662012-01-31 Marek Polacek <polacek@redhat.com>
13367
13368 * libio/libio.h: Don't define _PARAMS.
13369 * locale/programs/config.h: Don't define PARAMS.
13370 * stdlib/strtol_l.c: Likewise.
13371 (__strtol_l): Remove PARAMS from the prototype.
13372
41b81892
UD
133732012-01-31 Ulrich Drepper <drepper@gmail.com>
13374
3b49edc0
UD
13375 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13376 names. Just use the correct names. Remove unnecessary wrapper
13377 functions.
13378 * malloc/arena.c: Likewise.
13379 * malloc/hooks.c: Likewise.
13380
41b81892
UD
13381 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13382 ARENA_TEST says not to. Simplify test for creation of a new arena.
13383 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13384
27a25b6e
UD
133852012-01-30 Ulrich Drepper <drepper@gmail.com>
13386
13387 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13388 into tail calls.
13389 (update_get_addr): New function.
13390 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13391 GET_ADDR_MODULE parameter.
13392
c8a89e7d
JM
133932012-01-30 Joseph Myers <joseph@codesourcery.com>
13394
13395 * crypt/cert.c: Remove __STDC__ conditionals.
13396 * crypt/crypt-entry.c: Likewise.
13397 * crypt/crypt_util.c: Likewise.
13398 * libio/filedoalloc.c: Likewise.
13399 * libio/fileops.c: Likewise.
13400 * libio/genops.c: Likewise.
13401 * libio/iofclose.c: Likewise.
13402 * libio/iofdopen.c: Likewise.
13403 * libio/iofopen.c: Likewise.
13404 * libio/iofopen64.c: Likewise.
13405 * libio/iogetdelim.c: Likewise.
13406 * libio/iopopen.c: Likewise.
13407 * libio/obprintf.c: Likewise.
13408 * libio/oldfileops.c: Likewise.
13409 * libio/oldiofclose.c: Likewise.
13410 * libio/oldiofdopen.c: Likewise.
13411 * libio/oldiofopen.c: Likewise.
13412 * libio/oldiopopen.c: Likewise.
13413 * libio/wfiledoalloc.c: Likewise.
13414 * libio/wgenops.c: Likewise.
13415 * locale/programs/xmalloc.c: Likewise.
13416 * misc/syslog.c: Likewise.
13417 * stdio-common/xbug.c: Likewise.
13418 * string/memchr.c: Likewise.
13419 * string/memcmp.c: Likewise.
13420 * string/memrchr.c: Likewise.
13421 * string/rawmemchr.c: Likewise.
13422 * sysdeps/posix/getcwd.c: Likewise.
13423 * time/strftime_l.c: Likewise.
13424
3b100462
JM
134252012-01-30 Joseph Myers <joseph@codesourcery.com>
13426
13427 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
13428 * config.make.in (config-cflags-sse2avx): Define.
13429 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13430 Fix typo.
13431
607998af
CM
134322012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13433
13434 * scripts/config.guess: Update from upstream config git repository.
13435 * scripts/config.sub: Likewise.
13436
3601428f
CM
134372012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13438
3ac8b282
CM
13439 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13440 (EM_NUM): Update.
13441 (R_TILEPRO_*, R_TILEGX_*): New macros.
13442
e034841e
CM
13443 * scripts/firstversions.awk: Fix bug in version range handling.
13444
540d7568
CM
13445 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13446
3601428f
CM
13447 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13448
463de862
CM
13449 * include/sys/epoll.h: New file.
13450 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13451 libc_hidden_def.
13452
73139a76
UD
134532012-01-28 Ulrich Drepper <drepper@gmail.com>
13454
96bc5b45
UD
13455 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13456 Avoid unnecessary __WORDSIZE == 64 test.
13457 (fmaxf): Use VEX format if possible.
13458 (fmax): Likewise.
13459 (fminf): Likewise.
13460 (fmin): Likewise.
13461
56f6f6a2
UD
13462 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13463 * math/math_private.h: Remove libc_fegetround* and
13464 libc_fesetround*.
13465 * sysdeps/i386/configure.in: Check for -msse2avx.
13466 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13467 also if SSE2AVX is defined.
13468 Remove libc_fegetround* and libc_fesetround*.
13469 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13470 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13471 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13472 of HAS_YMM_USABLE.
13473 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13474 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13475 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13476 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13477 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13478
73139a76
UD
13479 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13480
d73f93a4
AZ
134812012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13482
13483 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13484 size is not set.
13485 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13486
6ee65ed6
UD
134872012-01-27 Ulrich Drepper <drepper@gmail.com>
13488
13489 [BZ #13618]
13490 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13491 relocation.
13492 * Makeconfig (libm): Define.
13493 * elf/Makefile: Add rules to build and run tst-relsort1.
13494 * elf/tst-relsort1.c: New file.
13495 * elf/tst-relsort1mod1.c: New file.
13496 * elf/tst-relsort1mod2.c: New file.
13497
8db21882
JM
134982012-01-27 Joseph Myers <joseph@codesourcery.com>
13499
13500 * math/s_ldexp.c: Remove __STDC__ conditionals.
13501 * math/s_ldexpf.c: Likewise.
13502 * math/s_ldexpl.c: Likewise.
13503 * math/s_nextafter.c: Likewise.
13504 * math/s_nexttowardf.c: Likewise.
13505 * math/s_significand.c: Likewise.
13506 * math/s_significandf.c: Likewise.
13507 * math/s_significandl.c: Likewise.
13508 * math/w_jnl.c: Likewise.
13509 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13510 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13511 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13512 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13513 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13514 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13515 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13516 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13517 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13518 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13519 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13520 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13521 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13522 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13523 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13524 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13525 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13526 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13527 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13528 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13529 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13530 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13531 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13532 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13533 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13534 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13535 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13536 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13537 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13538 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13539 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13540 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13541 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13542 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13543 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13544 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13545 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13546 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13547 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13548 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13549 * sysdeps/ieee754/k_standard.c: Likewise.
13550 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13551 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13552 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13553 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13554 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13555 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13556 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13557 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13558 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13559 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13560 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13561 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13562 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13563 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13564 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13565 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13566 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13567 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13568 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13569 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13570 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13571 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13572 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13573 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13574 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13575 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13576 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13577 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13578 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13579 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13580 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13581 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13582 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13583 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13584 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13585 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13586 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13587 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13588 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13589 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13590 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13591 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13592 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13593 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13594 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13595 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13596 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13597 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13598 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13599 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13600 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13601 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13602 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13603 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13604 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13605 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13606 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13607 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13608 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13609 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13610 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13611 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13612 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13613 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13614 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13615 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13616 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13617 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13618 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13619 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13620 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13621 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13622 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13623 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13624 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13625 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13626 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13627 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13628 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13629 * sysdeps/ieee754/s_matherr.c: Likewise.
13630 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13631 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13632 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13633 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13634
965a54a4
JM
136352012-01-26 Joseph Myers <joseph@codesourcery.com>
13636
13637 * crypt/md5.h: Remove __STDC__ conditionals.
13638 * libio/libioP.h: Likewise.
13639 * locale/programs/config.h: Likewise.
13640 * sysdeps/generic/sysdep.h: Likewise.
13641 * sysdeps/i386/asm-syntax.h: Likewise.
13642 * sysdeps/s390/asm-syntax.h: Likewise.
13643 * sysdeps/unix/sysdep.h: Likewise.
13644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13646
7071ad79
JM
136472012-01-26 Joseph Myers <joseph@codesourcery.com>
13648
13649 * libio/libio.h: Remove __STDC__ conditionals.
13650 * malloc/obstack.h: Likewise.
13651 * math/complex.h: Likewise.
13652 * math/math.h: Likewise.
13653 * sysdeps/generic/_G_config.h: Likewise.
13654 * sysdeps/gnu/_G_config.h: Likewise.
13655 * sysdeps/mach/hurd/_G_config.h: Likewise.
13656 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13657 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13658 * sysdeps/sparc/bits/mathdef.h: Likewise.
13659
afc5ed09
UD
136602012-01-26 Ulrich Drepper <drepper@gmail.com>
13661
13662 [BZ #13583]
13663 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 13664 Clean up HAS_* macros.
afc5ed09 13665 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
13666 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13667 possible.
13668 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13669 HAS_AVX.
13670 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13671 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13672 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13673 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13674 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 13675
bdb6de1d
JM
136762012-01-25 Joseph Myers <joseph@codesourcery.com>
13677
13678 * elf/tst-unique3.cc (gets): Remove declaration.
13679 * elf/tst-unique3lib.cc (gets): Likewise.
13680 * elf/tst-unique3lib2.cc (gets): Likewise.
13681 * elf/tst-unique4.cc (gets): Likewise.
13682
b15549e6
UD
136832012-01-24 Ulrich Drepper <drepper@gmail.com>
13684
13685 * include/stdio.h: Add C++ protection. Add gets declarations and
13686 definitions.
13687 * debug/tst-chk1.c: Don't declare gets here.
13688 * stdio-common/tst-gets.c: Likewise.
13689
a037381f
JM
136902012-01-24 Joseph Myers <joseph@codesourcery.com>
13691
13692 * posix/glob: Remove directory.
13693
f1d4aa75
JM
136942012-01-24 Joseph Myers <joseph@codesourcery.com>
13695
13696 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13697
81c0c964
PT
136982012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13699
13700 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13701 of the non-standard EPFNOSUPPORT.
13702
0ea698ae
ST
137032011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13704
13705 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13706 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13707 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13708
d220b117
UD
137092012-01-21 Ulrich Drepper <drepper@gmail.com>
13710
13711 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13712
3e1aa84e
UD
137132012-01-20 Ulrich Drepper <drepper@gmail.com>
13714
13715 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13716 transient errors.
13717 * nscd/grpcache.c (cache_addgr): Likewise.
13718 * nscd/hstcache.c (cache_addhst): Likewise.
13719 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13720 * nscd/pwdcache.c (cache_addpw): Likewise.
13721 * nscd/servicescache.c (cache_addserv): Likewise.
13722
400aa020
UD
137232012-01-16 Ulrich Drepper <drepper@gmail.com>
13724
d77e7869
UD
13725 * malloc/malloc.c: Various cleanups.
13726 * malloc/hooks.c: Likewise.
13727
400aa020
UD
13728 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13729 * stdlib/bug-fmtmsg1.c: New file.
13730
13731 * stdlib/fmtmsg.c (init): Add missing unlock.
13732 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13733
e0a309cf
MP
137342012-01-12 Marek Polacek <polacek@redhat.com>
13735
13736 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13737 and _GNU_SOURCE.
13738
929d11c7
WS
137392012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13740
13741 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13742 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13743 macro to ensure uniqueness of label name.
13744 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13745 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13746
41d0e869
UD
137472012-01-11 Ulrich Drepper <drepper@gmail.com>
13748
0cc5ed3b
UD
13749 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13750
41d0e869
UD
13751 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13752 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13753 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13754 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13755
a47a831a
UD
137562012-01-10 Ulrich Drepper <drepper@gmail.com>
13757
daa891c0
UD
13758 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13759
13760 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13761 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13762 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13763
e58ef0f2
UD
13764 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13765
a47a831a 13766 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
13767 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13768 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 13769 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
13770
13771 * math/bits/math-finite.h: Add ldexp support.
13772
a0bfc9c7
MP
137732012-01-10 Marek Polacek <polacek@redhat.com>
13774
13775 * locale/programs/localedef.h (show_archive_content): Add noreturn
13776 attribute.
13777
d6e97a1d
UD
137782012-01-09 Ulrich Drepper <drepper@gmail.com>
13779
13780 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13781
d5835c26
UD
137822012-01-08 Ulrich Drepper <drepper@gmail.com>
13783
e5f484c6
UD
13784 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13785
d5835c26
UD
13786 * io/Makefile (headers): Add bits/poll2.h.
13787
d1f741e9
WS
137882011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13789
13790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13791 typo #include statement.
13792
ec09c1c4
UD
137932012-01-08 Ulrich Drepper <drepper@gmail.com>
13794
13795 * include/sys/cdefs.h: Define __attribute_alloc_size.
13796 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13797 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13798 * elf/pldd.c: Likewise.
13799 * iconv/iconv_charmap.c: Likewise.
13800 * iconv/iconvconfig.c: Likewise.
13801 * iconv/strtab.c: Likewise.
13802 * locale/programs/locale.c: Likewise.
13803 * locale/programs/localedef.h: Likewise.
13804 * locale/programs/simple-hash.c: Likewise.
13805 * nscd/nscd.h: Likewise.
13806 * nss/makedb.c: Likewise.
13807 * sysdeps/generic/ldconfig.h: Likewise.
13808 * locale/programs/localedef.c: Remove xmalloc prototype.
13809 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13810
20b38e03
PP
138112012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13812
13813 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13814 appropriate.
13815
a0da5fe1
UD
138162012-01-08 Ulrich Drepper <drepper@gmail.com>
13817
1d5a644a 13818 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13819 * math/tst-CMPLX.c: New file.
1d5a644a 13820
8784a6db
UD
13821 * math/complex.h (CMPLXL): Fix typo.
13822
d9a216c0
UD
13823 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13824 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13825 GLIBC_2.16.
13826 * debug/tst-chk1.c: Add poll and ppoll tests.
13827 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13828 * include/sys/poll.h: Add hidden proto for ppoll.
13829 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13830 * sysdeps/mach/hurd/ppoll.c: Likewise.
13831 * io/ppoll.c: Likewise.
13832 * debug/poll_chk.c: New file.
13833 * debug/ppoll_chk.c: New file.
13834 * include/bits/poll2.h: New file.
13835 * io/bits/poll2.h: New file.
13836
ac097f5c
UD
13837 [BZ #1350]
13838 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13839
2119dcfa
UD
13840 * configure.in: static is always set to yes. Remove.
13841 * config.make.in: Don't set build-static.
13842 * Makeconfig: Remove use of build-static.
13843 * dlfcn/Makefile: Likewise.
13844 * elf/Makefile: Likewise.
13845 * math/Makefile: Likewise.
13846 * misc/Makefile: Likewise.
13847 * nptl/Makefile: Likewise.
13848 * sysdeps/mach/hurd/Makefile: Likewise.
13849
121766a9
UD
13850 * configure.in: PWD_P is not used anymore.
13851 * config.make.in: Remove PWD_P entry.
13852
51a1d39c 13853 * configure.in: Remove last remnants of RANLIB.
8720d066 13854 No need to check for signed size_t anymore.
215f4bdc
UD
13855 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13856 and IA-64.
3857022a 13857 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
13858 * aclocal.m4: Likewise.
13859
d3ed7225
UD
13860 * wcsmbs/mbrtoc16.c: Implement using towc function.
13861 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13862 * wcsmbs/wcsmbsload.c: Likewise.
13863 * iconv/gconv_simple.c: Likewise.
13864 * iconv/gconv_int.h: Likewise.
13865 * iconv/gconv_builtin.h: Likewise.
13866 * iconv/iconv_prog.c: Remove CHAR16 handling.
13867
13868 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13869
13870 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13871
a0da5fe1
UD
13872 * configure.in: Remove --with-elf and --enable-bounded options.
13873 Dont set base_machine for ia64. More non-ELF conditions removed.
13874 Remove testing and setting of leading underscore information.
13875 * config.make.in (build-bounded): Set to no.
13876 * config.h.in: Remove NO_UNDERSCORES entry.
13877 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13878 them.
13879 * csu/start.c: Remove !NO_UNDERSCORE code.
13880 * locale/localeinfo.h: Likewise.
13881 * sysdeps/generic/machine-gmon.h: Likewise.
13882 * sysdeps/generic/sysdep.h: Likewise.
13883 * sysdeps/i386/sysdep.h: Likewise.
13884 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13885 * sysdeps/mach/sysdep.h: Likewise.
13886 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13887 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13888 * sysdeps/sh/sysdep.h: Likewise.
13889 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13890 * sysdeps/unix/i386/sysdep.S: Likewise.
13891 * sysdeps/unix/sparc/start.c: Likewise.
13892 * sysdeps/unix/sparc/sysdep.S: Likewise.
13893 * sysdeps/unix/sparc/sysdep.h: Likewise.
13894 * sysdeps/unix/start.c: Likewise.
13895 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13896 * sysdeps/x86_64/sysdep.h: Likewise.
13897
df78418a
UD
138982012-01-07 Ulrich Drepper <drepper@gmail.com>
13899
a784e502
UD
13900 [BZ #13553]
13901 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13902 for non-gcc.
13903 * argp/argp-fmtstream.h: Use const instead __const.
13904 * argp/argp.h: Likewise.
13905 * assert/assert.h: Likewise.
13906 * bits/fenv.h: Likewise.
13907 * bits/sched.h: Likewise.
13908 * bits/sigset.h: Likewise.
13909 * bits/sigthread.h: Likewise.
13910 * catgets/nl_types.h: Likewise.
13911 * conform/data/pthread.h-data: Likewise.
13912 * crypt/crypt-private.h: Likewise.
13913 * crypt/crypt.h: Likewise.
13914 * crypt/crypt_util.c: Likewise.
13915 * ctype/ctype.h: Likewise.
13916 * debug/execinfo.h: Likewise.
13917 * debug/mbsnrtowcs_chk.c: Likewise.
13918 * debug/mbsrtowcs_chk.c: Likewise.
13919 * debug/wcsnrtombs_chk.c: Likewise.
13920 * debug/wcsrtombs_chk.c: Likewise.
13921 * debug/wcstombs_chk.c: Likewise.
13922 * dirent/dirent.h: Likewise.
13923 * dlfcn/dlfcn.h: Likewise.
13924 * elf/neededtest4.c: Likewise.
13925 * grp/grp.h: Likewise.
13926 * gshadow/gshadow.h: Likewise.
13927 * iconv/gconv.h: Likewise.
13928 * iconv/gconv_int.h: Likewise.
13929 * iconv/gconv_simple.c: Likewise.
13930 * iconv/iconv.h: Likewise.
13931 * iconv/loop.c: Likewise.
13932 * iconv/skeleton.c: Likewise.
13933 * include/aio.h: Likewise.
13934 * include/aliases.h: Likewise.
13935 * include/argz.h: Likewise.
13936 * include/arpa/inet.h: Likewise.
13937 * include/assert.h: Likewise.
13938 * include/dirent.h: Likewise.
13939 * include/dlfcn.h: Likewise.
13940 * include/execinfo.h: Likewise.
13941 * include/fcntl.h: Likewise.
13942 * include/fenv.h: Likewise.
13943 * include/glob.h: Likewise.
13944 * include/grp.h: Likewise.
13945 * include/libintl.h: Likewise.
13946 * include/mntent.h: Likewise.
13947 * include/netdb.h: Likewise.
13948 * include/pwd.h: Likewise.
13949 * include/rpc/netdb.h: Likewise.
13950 * include/sched.h: Likewise.
13951 * include/search.h: Likewise.
13952 * include/shadow.h: Likewise.
13953 * include/signal.h: Likewise.
13954 * include/stdio.h: Likewise.
13955 * include/stdlib.h: Likewise.
13956 * include/string.h: Likewise.
13957 * include/sys/socket.h: Likewise.
13958 * include/sys/stat.h: Likewise.
13959 * include/sys/statfs.h: Likewise.
13960 * include/sys/statvfs.h: Likewise.
13961 * include/sys/syslog.h: Likewise.
13962 * include/sys/time.h: Likewise.
13963 * include/sys/uio.h: Likewise.
13964 * include/time.h: Likewise.
13965 * include/unistd.h: Likewise.
13966 * include/utmp.h: Likewise.
13967 * include/wchar.h: Likewise.
13968 * include/wctype.h: Likewise.
13969 * inet/aliases.h: Likewise.
13970 * inet/arpa/inet.h: Likewise.
13971 * inet/netinet/ether.h: Likewise.
13972 * inet/netinet/in.h: Likewise.
13973 * intl/libintl.h: Likewise.
13974 * io/bits/fcntl2.h: Likewise.
13975 * io/fcntl.h: Likewise.
13976 * io/ftw.h: Likewise.
13977 * io/sys/poll.h: Likewise.
13978 * io/sys/stat.h: Likewise.
13979 * io/sys/statfs.h: Likewise.
13980 * io/sys/statvfs.h: Likewise.
13981 * io/utime.h: Likewise.
13982 * libio/bits/stdio.h: Likewise.
13983 * libio/bits/stdio2.h: Likewise.
13984 * libio/libio.h: Likewise.
13985 * libio/libioP.h: Likewise.
13986 * libio/stdio.h: Likewise.
13987 * locale/lc-ctype.c: Likewise.
13988 * locale/locale.h: Likewise.
13989 * login/utmp.h: Likewise.
13990 * malloc/arena.c: Likewise.
13991 * malloc/malloc.c: Likewise.
13992 * malloc/malloc.h: Likewise.
13993 * malloc/mcheck.c: Likewise.
13994 * malloc/mtrace.c: Likewise.
13995 * math/bits/mathcalls.h: Likewise.
13996 * math/fenv.h: Likewise.
13997 * math/math_private.h: Likewise.
13998 * misc/bits/error.h: Likewise.
13999 * misc/bits/syslog.h: Likewise.
14000 * misc/err.h: Likewise.
14001 * misc/error.h: Likewise.
14002 * misc/fstab.h: Likewise.
14003 * misc/mntent.h: Likewise.
14004 * misc/regexp.h: Likewise.
14005 * misc/search.h: Likewise.
14006 * misc/sgtty.h: Likewise.
14007 * misc/sys/mman.h: Likewise.
14008 * misc/sys/syslog.h: Likewise.
14009 * misc/sys/uio.h: Likewise.
14010 * misc/sys/xattr.h: Likewise.
14011 * misc/ttyent.h: Likewise.
14012 * nis/rpcsvc/ypclnt.h: Likewise.
14013 * nss/nss.h: Likewise.
14014 * posix/bits/unistd.h: Likewise.
14015 * posix/fnmatch.h: Likewise.
14016 * posix/glob.h: Likewise.
14017 * posix/sched.h: Likewise.
14018 * posix/spawn.h: Likewise.
14019 * posix/sys/wait.h: Likewise.
14020 * posix/unistd.h: Likewise.
14021 * posix/wordexp.h: Likewise.
14022 * pwd/pwd.h: Likewise.
14023 * resolv/netdb.h: Likewise.
14024 * resource/sys/resource.h: Likewise.
14025 * rt/aio.h: Likewise.
14026 * rt/bits/mqueue2.h: Likewise.
14027 * rt/mqueue.h: Likewise.
14028 * shadow/shadow.h: Likewise.
14029 * signal/signal.h: Likewise.
14030 * socket/send.c: Likewise.
14031 * socket/sendto.c: Likewise.
14032 * socket/sys/socket.h: Likewise.
14033 * stdio-common/printf.h: Likewise.
14034 * stdlib/bits/stdlib.h: Likewise.
14035 * stdlib/fmtmsg.h: Likewise.
14036 * stdlib/monetary.h: Likewise.
14037 * stdlib/stdlib.h: Likewise.
14038 * stdlib/ucontext.h: Likewise.
14039 * streams/stropts.h: Likewise.
14040 * string/argz.h: Likewise.
14041 * string/bits/string2.h: Likewise.
14042 * string/string.h: Likewise.
14043 * string/strings.h: Likewise.
14044 * sunrpc/rpc/auth.h: Likewise.
14045 * sunrpc/rpc/auth_des.h: Likewise.
14046 * sunrpc/rpc/clnt.h: Likewise.
14047 * sunrpc/rpc/netdb.h: Likewise.
14048 * sunrpc/rpc/pmap_clnt.h: Likewise.
14049 * sunrpc/rpc/xdr.h: Likewise.
14050 * sysdeps/generic/inttypes.h: Likewise.
14051 * sysdeps/generic/net/if.h: Likewise.
14052 * sysdeps/generic/sys/swap.h: Likewise.
14053 * sysdeps/gnu/net/if.h: Likewise.
14054 * sysdeps/gnu/utmpx.h: Likewise.
14055 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
14056 * sysdeps/i386/i486/bits/string.h: Likewise.
14057 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
14058 * sysdeps/s390/bits/string.h: Likewise.
14059 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
14060 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
14061 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
14062 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
14063 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14064 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
14065 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
14066 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
14067 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
14068 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14069 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
14070 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14071 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
14072 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14073 * sysdeps/unix/sysv/linux/readv.c: Likewise.
14074 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
14075 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14076 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14077 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14078 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14079 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14080 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
14081 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
14082 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
14083 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
14084 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
14085 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
14086 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14087 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
14088 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
14089 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
14090 * sysvipc/sys/ipc.h: Likewise.
14091 * sysvipc/sys/msg.h: Likewise.
14092 * sysvipc/sys/sem.h: Likewise.
14093 * sysvipc/sys/shm.h: Likewise.
14094 * termios/termios.h: Likewise.
14095 * time/sys/time.h: Likewise.
14096 * time/time.h: Likewise.
14097 * wcsmbs/bits/wchar2.h: Likewise.
14098 * wcsmbs/uchar.h: Likewise.
14099 * wcsmbs/wchar.h: Likewise.
14100 * wctype/wctype.h: Likewise.
14101
0269750c
UD
14102 [BZ #13551]
14103 * Makeconfig: Remove all but ELF support including AIX support.
14104 * Makerules: Likewise.
14105 * config.h.in: Likewise.
14106 * config.make.in: Likewise.
14107 * configure: Likewise.
14108 * configure.in: Likewise.
14109 * csu/Makefile: Likewise.
14110 * csu/version.c: Likewise.
14111 * debug/Makefile: Likewise.
14112 * dlfcn/Makefile: Likewise.
14113 * elf/Makefile: Likewise.
14114 * extra-lib.mk: Likewise.
14115 * iconv/Makefile: Likewise.
14116 * include/libc-symbols.h: Likewise.
14117 * include/shlib-compat.h: Likewise.
14118 * resolv/Makefile: Likewise.
14119 * resolv/res_libc.c: Likewise.
14120 * rt/Makefile: Likewise.
14121 * sysdeps/i386/asm-syntax.h: Likewise.
14122 * sysdeps/i386/sysdep.h: Likewise.
14123 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14124 * sysdeps/mach/sysdep.h: Likewise.
14125 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
14126 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
14127 * sysdeps/s390/asm-syntax.h: Likewise.
14128 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14129 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14130 * sysdeps/sh/sysdep.h: Likewise.
14131 * sysdeps/unix/sparc/sysdep.h: Likewise.
14132 * sysdeps/wordsize-32/divdi3.c: Likewise.
14133 * sysdeps/x86_64/sysdep.h: Likewise.
14134
00bbd29b
UD
14135 * argp/Versions: Remove _argp_unlock_xxx.
14136
14137 [BZ #13559]
14138 * abilist/ld.abilist: Update. Adjust for removal of tls option.
14139 * abilist/libBrokenLocale.abilist: Likewise.
14140 * abilist/libanl.abilist: Likewise.
14141 * abilist/libc.abilist: Likewise.
14142 * abilist/libcrypt.abilist: Likewise.
14143 * abilist/libdl.abilist: Likewise.
14144 * abilist/libm.abilist: Likewise.
14145 * abilist/libnsl.abilist: Likewise.
14146 * abilist/libpthread.abilist: Likewise.
14147 * abilist/libresolv.abilist: Likewise.
14148 * abilist/librt.abilist: Likewise.
14149 * abilist/libthread_db.abilist: Likewise.
14150 * abilist/libutil.abilist: Likewise.
14151 * abilist/libnss_db.abilist: New file.
14152
14153 * scripts/abilist.awk: Add support for indirect functions.
14154
a2693a0e
UD
14155 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14156
3f05895f
UD
14157 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14158
ecb6fb48
UD
14159 * shlib-versions: Remove entries for ports architectures.
14160
664f8cb9
UD
14161 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
14162 files in ports.
14163 * elf/stackguard-macros.h: Remove support for IA-64.
14164 * elf/tst-auditmod1.c: Likewise.
14165 * sysdeps/generic/ldsodefs.h: Likewise.
14166
7ae81d88
UD
14167 * sysdeps/unix/sysv/linux/configure.in: Ports should define
14168 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14169 configure files.
14170
bdeba135
UD
14171 [BZ #13552]
14172 * configure.in: Remove --enable-omitfp support.
14173 * FAQ.in: Adjust.
14174 * config.make.in: Likewise.
14175 * Makeconfig: Likewise.
14176 * manual/install.texi: Likewise.
14177
d75a0a62
UD
14178 In case anyone cares, the IA-64 architecture could move to ports.
14179 * sysdeps/ia64/*: Removed.
14180 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 14181 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 14182
dcc9756b
UD
14183 [BZ #13555]
14184 * configure.in: Remove entries for unsupported architectures.
14185
d3761ebc 14186 [BZ #13533]
9954432e
UD
14187 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14188 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
14189 routines.
14190 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14191 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14192 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
14193 fall back to using wcrtomb.
14194 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14195 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
14196 renaming.
14197 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14198 * wcsmbs/tst-c16c32-1.c: New file.
14199
14200 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14201 local variable.
14202
c3a87236
UD
14203 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14204
28926a1b
UD
14205 * elf/tst-unique3.cc: Add explicit declaration of gets.
14206 * elf/tst-unique3lib.cc: Likewise.
14207 * elf/tst-unique3lib2.cc: Likewise.
14208 * elf/tst-unique4.cc: Likewise.
14209
df78418a
UD
14210 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14211
8ecd6b2a
JM
142122012-01-06 Joseph Myers <joseph@codesourcery.com>
14213
14214 [BZ #13566]
14215 * assert/assert.h (static_assert): Don't define for C++.
14216 * libio/stdio.h (gets): Do declare for C++ <= C++11.
14217 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14218
9f115170
UD
142192012-01-03 Ulrich Drepper <drepper@gmail.com>
14220
5e0d0300
UD
14221 * iconv/loop.c (single loop): Fix assertion in storing of
14222 remaining bytes.
14223
9f115170
UD
14224 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14225
81fb02b0
UD
142262012-01-01 Ulrich Drepper <drepper@gmail.com>
14227
14228 * posix/getconf.c: Update copyright year.
14229 * nss/getent.c: Likewise.
a316c1f6 14230 * nss/makedb.c: Likewise.
81fb02b0
UD
14231 * iconv/iconvconfig.c: Likewise.
14232 * iconv/iconv_prog.c: Likewise.
14233 * elf/ldconfig.c: Likewise.
a316c1f6
UD
14234 * elf/pldd.c: Likewise.
14235 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
14236 * catgets/gencat.c: Likewise.
14237 * csu/version.c: Likewise.
14238 * elf/ldd.bash.in: Likewise.
14239 * elf/sprof.c (print_version): Likewise.
14240 * locale/programs/locale.c: Likewise.
14241 * locale/programs/localedef.c: Likewise.
a316c1f6 14242 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
14243 * nscd/nscd.c (print_version): Likewise.
14244 * debug/xtrace.sh: Likewise.
14245 * malloc/memusage.sh: Likewise.
14246 * malloc/mtrace.pl: Likewise.
14247 * debug/catchsegv.sh: Likewise.
14248
2ba92745
JJ
142492011-12-30 Jakub Jelinek <jakub@redhat.com>
14250
14251 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14252 pure attribute.
14253
dadebdae
UD
142542011-12-24 Ulrich Drepper <drepper@gmail.com>
14255
d3761ebc 14256 [BZ #13533]
db6af3eb
UD
14257 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14258 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14259 transformations.
14260 * iconv/gconv_int.h: Likewise.
14261 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14262 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14263 from libc for GLIBC_2.16.
14264 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14265 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14266 * wcsmbs/uchar.h: Really define mbstate_t.
14267 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14268 * wcsmbs/c16rtomb.c: New file.
14269 * wcsmbs/mbrtoc16.c: New file.
14270 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14271 for C/POSIX locale.
14272 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14273 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14274
dadebdae
UD
14275 * wcsmbs/wchar.h: Add missing __restrict.
14276
67371b56
UD
142772011-12-23 Ulrich Drepper <drepper@gmail.com>
14278
74033a25
UD
14279 [BZ #13532]
14280 * time/Makefile (routines): Add timespec_get.
14281 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14282 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14283 timespec for ISO C11.
14284 * time/timespec_get.c: New file.
14285 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14286 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14287
380d7e87
UD
14288 [BZ #13531]
14289 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14290 * stdlib/stdlib.h: Declare aligned_alloc.
14291 * Versions.def: Add GLIBC_2.16 for libc.
14292 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14293
4e9e7a35
UD
14294 [BZ 13527]
14295 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14296 ISO C11.
14297
380d7e87 14298 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
14299 code.
14300
03a71829
UD
14301 [BZ #13528]
14302 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14303
839e283e
UD
14304 [BZ #13529]
14305 * assert/assert.h (static_assert): Define.
14306
ce5294e2 14307 * version.h: Update for 2.16 development version.
90fa7312 14308
8d44e150 14309 [BZ #13526]
d7809905
UD
14310 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14311 _ISOC11_SOURCE.
14312
c0da14cd
UD
14313 * version.h (RELEASE): Bump for 2.15 release.
14314 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14315
530a3249
MP
14316 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14317 Patch by Marek Polacek <mpolacek@redhat.com>.
14318
67371b56
UD
14319 * bits/byteswap.h: Protect long long constants with __extension__.
14320 * sysdeps/i386/bits/byteswap.h: Likewise.
14321 * sysdeps/ia64/bits/byteswap.h: Likewise.
14322 * sysdeps/s390/bits/byteswap.h: Likewise.
14323 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14324
15db4de1
LD
143252011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14326
14327 [BZ #13540]
bbe315ea
LD
14328 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14329 destination buffer.
15db4de1
LD
14330 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14331
2b2596b1
MP
143322011-12-23 Marek Polacek <polacek@redhat.com>
14333
14334 * elf/dl-addr.c (determine_info): Add inline keyword.
14335 * elf/tst-auditmod4b.c (check_avx): Likewise.
14336 * elf/tst-auditmod6b.c (check_avx): Likewise.
14337 * elf/tst-auditmod6c.c (check_avx): Likewise.
14338 * elf/tst-auditmod7b.c (check_avx): Likewise.
14339
70c6c246
UD
143402011-12-23 Ulrich Drepper <drepper@gmail.com>
14341
14342 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14343 !__SSE_MATH__.
14344
c044cf14
LD
143452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14346
15db4de1 14347 [BZ #13540]
c044cf14
LD
14348 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14349 processing for last bytes.
14350
6b13d9d9
BH
143512011-08-06 Bruno Haible <bruno@clisp.org>
14352
d455f537
BH
14353 [BZ #13061]
14354 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14355 U+0385, not to U+1FEE.
14356
6b13d9d9
BH
14357 [BZ #13062]
14358 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14359 entry for U+00A5 U+0301.
14360
db910efd
UD
143612011-12-22 Ulrich Drepper <drepper@gmail.com>
14362
27deeafc
UD
14363 [BZ #13166]
14364 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14365 buffer for the output is too small.
14366
aed9d171
UD
14367 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14368 optimization.
14369
db910efd
UD
14370 [BZ #13185]
14371 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14372 SSE flags if possible.
14373
2bd779ae
LD
143742011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14375
e7f9dac3 14376 [BZ #13540]
2bd779ae
LD
14377 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14378 processing for last bytes.
14379
154bfc16
JM
143802011-12-22 Joseph Myers <joseph@codesourcery.com>
14381
14382 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14383 (syscall-list-default-options, syscall-list-default-condition)
14384 (syscall-list-includes): Define.
14385 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14386 list of ABIs and options and #if conditions for each ABI. Do not
14387 handle common syscalls between ABIs specially.
14388 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14389 Remove.
14390 (syscall-list-variants, syscall-list-32bit-options)
14391 (syscall-list-32bit-condition, syscall-list-64bit-options)
14392 (syscall-list-64bit-condition): Define.
14393 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14394 (syscall-list-variants, syscall-list-32bit-options)
14395 (syscall-list-32bit-condition, syscall-list-64bit-options)
14396 (syscall-list-64bit-condition): Define.
14397 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14398 Remove.
14399 (syscall-list-variants, syscall-list-32bit-options)
14400 (syscall-list-32bit-condition, syscall-list-64bit-options)
14401 (syscall-list-64bit-condition): Define.
14402 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14403 Remove.
14404 (syscall-list-variants, syscall-list-32bit-options)
14405 (syscall-list-32bit-condition, syscall-list-64bit-options)
14406 (syscall-list-64bit-condition): Define.
14407
21eaf3a5
UD
144082011-12-22 Ulrich Drepper <drepper@gmail.com>
14409
16c6f992
UD
14410 * locale/iso-639.def: Add brx entry.
14411
41043168
UD
14412 [BZ #13328]
14413 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14414 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14415
21eaf3a5
UD
14416 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14417 __feraiseexcept_renamed.
14418
e3a851a2
UD
144192011-12-21 Ulrich Drepper <drepper@gmail.com>
14420
4920765e
UD
14421 [BZ #13538]
14422 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14423 EPOLLET with unsigned values.
14424 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14425 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14426
e3a851a2
UD
14427 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14428 to large cancellation.
14429 * math/s_cacoshf.c: Likewise.
14430 * math/s_cacoshl.c: Likewise.
14431
b27e24b8
RK
144322011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14433
14434 [BZ #13305]
aebefeee 14435 [BZ #12786]
b27e24b8
RK
14436 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14437 * math/s_cacoshf.c: Likewise.
14438 * math/s_cacoshl.c: Likewise.
14439
ee190f67
UD
144402011-12-21 Ulrich Drepper <drepper@gmail.com>
14441
14442 [BZ #13439]
14443 * iconv/gconv.h: Define __GCONV_SWAP.
14444 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14445 * iconvdata/utf-16.c: Likewise.
14446 * iconvdata/utf-32.c: Likewise.
14447
707f25df
AS
144482011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14449
14450 [BZ #13524]
14451 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14452 numerator after shifting it by one limb.
14453
d2daaa1e
RÁE
144542011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14455
14456 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14457 under [__USE_EXTERN_INLINES].
14458
a4647e72
UD
144592011-12-17 Ulrich Drepper <drepper@gmail.com>
14460
14461 [BZ #13446]
14462 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14463
f0b264f1
AZ
144642011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14465
14466 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14467 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14468 optimized code.
14469 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14470 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14471 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14472 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14473 for strncasecmp/strncasecmp_l compilation.
14474 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14475 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14476
8ef4f244
MP
144772011-12-08 Marek Polacek <mpolacek@redhat.com>
14478
14479 [BZ #13484]
14480 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14481 of __asm__.
14482
97ac2654
UD
144832011-12-17 Ulrich Drepper <drepper@gmail.com>
14484
14485 [BZ #13506]
14486 * time/tzfile.c (__tzfile_read): Check values from file header.
14487
91d2a845
WS
144882011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14489
14490 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14491 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14492 * powerpc/powerpc32/dl-start.S: Likewise.
14493 * powerpc/powerpc32/elf/start.S: Likewise.
14494 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14495 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14496 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14497 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14498 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14499 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14500 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14501 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14502 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14503 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14504 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14505 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14506 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14507 * powerpc/powerpc32/memset.S: Likewise.
14508 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14509 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14510 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14511 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14512 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14513 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14514 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14515 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14516 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14517 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14518 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14519 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14520 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14521
a1267ba1
AZ
145222011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14523
14524 * math/libm-test.inc: Added more nearbyint tests.
14525 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14526 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14527 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14528 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14529
ad8ac1bd
RL
145302011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14531
14532 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14533 FD_CLOEXEC.
14534
1d3e4b61
UD
145352011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14536
14537 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14538 Add wcscpy-ssse3 wcscpy-c.
14539 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14540 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14541 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14542 * sysdeps/x86_64/wcschr.S: New file.
14543 * sysdeps/x86_64/wcsrchr.S: New file.
14544 * string/test-strcmp.c: Remove checking of wcscmp function for
14545 wrong alignments.
14546 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14547 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14548 wcsrchr-sse2 wcsrchr-c.
14549 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14550 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14551 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14552 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14553 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14554 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14555 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14556 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14557 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14558 * wcsmbc/wcschr.c (WCSCHR): New macro.
14559
5b330a2d
UD
145602011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14561
14562 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14563 * wcsmbs/test-wcsrchr.c: New file.
14564 * string/test-strrchr.c: Add wcsrchr support.
14565 (WIDE): New macro.
14566 * wcsmbs/test-wcscpy.c: New file.
14567 * string/test-strcpy.c: Add wcscpy support.
14568 (WIDE): New macro.
26428b7c 14569
f039c043
UD
145702011-12-10 Ulrich Drepper <drepper@gmail.com>
14571
14572 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14573 the inner loop.
14574
850fb039
AS
145752011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14576
14577 [BZ #13472]
14578 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14579
4efbd5cb
UD
145802011-12-04 Ulrich Drepper <drepper@gmail.com>
14581
52ff5dd0 14582 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 14583 Minor optimizations.
52ff5dd0 14584
4efbd5cb
UD
14585 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14586 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14587 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14588
8a426e12
UD
145892011-12-03 Ulrich Drepper <drepper@gmail.com>
14590
aff2453d
UD
14591 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14592 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14593 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14594 for gcc to avoid warnings.
14595 * inet/Makefile (tests): Add tst-checks.
14596 * inet/tst-checks.c: New file.
14597
14598 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14599 warning.
14600
14601 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14602 __wmemcmp_sse2.
14603
14604 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14605 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14606
8a426e12
UD
14607 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14608
9bea3473
UD
146092011-12-02 Ulrich Drepper <drepper@gmail.com>
14610
3a965496
UD
14611 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14612 problem.
14613
9bea3473
UD
14614 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14615
f101631b
UD
146162011-11-29 Joseph Myers <joseph@codesourcery.com>
14617
14618 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14619 conditional on GCC version.
14620 (__arch_compare_and_exchange_val_8_acq)
14621 (__arch_compare_and_exchange_val_16_acq)
14622 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14623 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14624 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14625
a98275aa
UD
146262011-12-02 Joseph Myers <joseph@codesourcery.com>
14627
14628 * sysdeps/sh/backtrace.c: New file.
14629
d4cc29a2
AS
146302011-12-02 Andreas Schwab <schwab@redhat.com>
14631
14632 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14633 parenthesis.
14634
6257af2d
AS
146352011-12-01 Andreas Schwab <schwab@redhat.com>
14636
14637 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14638 falling back to utime.
14639
b5f44c1a
AS
146402011-11-30 Andreas Schwab <schwab@redhat.com>
14641
14642 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14643 expectations for float.
14644
f3a6cc0a
AS
146452011-11-29 Andreas Schwab <schwab@redhat.com>
14646
14647 * locale/weight.h (findidx): Add parameter len.
14648 * locale/weightwc.h (findidx): Likewise.
14649 * posix/fnmatch_loop.c (FCT): Adjust caller.
14650 * posix/regcomp.c (build_equiv_class): Likewise.
14651 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14652 * posix/regexec.c (check_node_accept_bytes): Likewise.
14653 * string/strcoll_l.c (STRCOLL): Likewise.
14654 * string/strxfrm_l.c (STRXFRM): Likewise.
14655
9d65ea3a
UD
146562011-11-17 Ulrich Drepper <drepper@gmail.com>
14657
14658 * Makefile.in: Remove CVSOPT handling.
14659 * configure.in: Remove use of AC_REVISION.
14660 * iconvdata/Makefile (distribute): No need to filter out CVS.
14661 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14662 handling.
14663
5583a086
AS
146642011-11-16 Andreas Schwab <schwab@redhat.com>
14665
14666 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14667 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14668 [USE_AS_STRNCASECMP_L]: Likewise.
14669 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14670 NO_TLS_DIRECT_SEG_REFS.
14671 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14672 Fix argument offsets for non-PIC.
14673 [USE_AS_STRNCASECMP_L]: Likewise.
14674 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14675 NO_TLS_DIRECT_SEG_REFS.
14676
d62a8200
UD
146772011-11-15 Ulrich Drepper <drepper@gmail.com>
14678
9d65ea3a 14679 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
14680 O_CLOEXEC.
14681 * locale/loadlocale.c (_nl_load_locale): Likewise.
14682
09f93bd3
AS
146832011-11-15 Andreas Schwab <schwab@redhat.com>
14684
446514f9
AS
14685 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14686 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14687 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14688 (SYSCALL_GETTIME): Set errno on error.
14689
09f93bd3
AS
14690 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14691 count references to noai6ai_cached.
14692
312be3f9
UD
146932011-11-15 Ulrich Drepper <drepper@gmail.com>
14694
14695 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14696
14697 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14698 FD_CLOEXEC for /proc/self/maps.
14699
14700 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14701 FD_CLOEXEC for /proc/meminfo.
14702
14703 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14704 gai.conf.
14705
14706 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14707 FD_CLOEXEC for given file.
14708
14709 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14710
14711 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14712 FD_CLOEXEC for /etc/hosts.
14713 (_gethtent): Likewise.
14714
14715 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14716
14717 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14718 cancellation and set FD_CLOEXEC for /etc/netgroup.
14719
14720 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14721 reading /etc/publickey.
14722
14723 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14724 allow cancellation when reading /etc/group.
14725
14726 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14727 cancellation.
14728 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14729
14730 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14731 when using data file.
14732
14733 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14734
14735 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14736 (write_nis_obj): Use "c" and "e" in fopen.
14737
14738 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14739
14740 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14741
14742 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14743
14744 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14745
14746 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14747 locale.alias.
14748
14749 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14750
14751 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14752
14753 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14754
14755 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14756 file parsing and set FD_CLOEXEC.
14757
82af0fa8
UD
147582011-11-14 Ulrich Drepper <drepper@gmail.com>
14759
14760 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14761
a5fb313c
AS
147622011-11-14 Andreas Schwab <schwab@redhat.com>
14763
14764 * malloc/arena.c (arena_get2): Don't call reused_arena when
14765 _int_new_arena failed.
14766
6abf3465
UD
147672011-11-14 Ulrich Drepper <drepper@gmail.com>
14768
14769 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14770 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14771 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14772 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14773 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14774 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14775 to compile strcasecmp and strncasecmp.
14776 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14777 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14778
14779 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14780
76e3966e
UD
147812011-11-13 Ulrich Drepper <drepper@gmail.com>
14782
14783 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14784 locale-defines.sym to gen-as-const-headers.
14785 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14786 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14787 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14788 to compile strcasecmp and strncasecmp.
14789 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14790 strcasecmp_l and strncasecmp_l.
14791 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14792 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14793 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14794 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14795 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14796 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14797 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14798 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14799 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14800 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14801 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14802
ab26144e
UD
148032011-11-12 Ulrich Drepper <drepper@gmail.com>
14804
7edb22ef
UD
14805 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14806 result of SYSDEP_GETTIME_CPU to retval.
14807 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14808 parameter list to macro. Remove trailing semicolon. Adjust users.
14809
9694fc44
UD
14810 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14811 variable.
14812
8ad89ef8
UD
14813 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14814 mantissa words.
14815 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14816
0c822ef9
UD
14817 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14818 from unused variable.
14819
874e0564
UD
14820 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14821 DWARF definitions.
14822 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14823 for assembling.
14824
3a2edc79
UD
14825 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14826 over namespaces.
14827
f3c2577f
UD
14828 * sunrpc/rpc_prot.c (rejected): Fix case value.
14829
294ce126
UD
14830 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14831 unsigned long long int to avoid warnings in shift.
14832
5e2b63c6
UD
14833 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14834 of use of trans.
14835 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14836 variable tmp.
14837
e7f4b08e
UD
14838 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14839 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14840 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14841
ab26144e
UD
14842 * nis/nis_table.c (nis_list): Use variable of correct type for
14843 result of __follow_path call.
14844
8a6d5255
AZ
148452011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14846
14847 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14848 of math functions ceil, trunc, floor, round, and sqrt, when
14849 avaliable on the platform.
14850 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14851 name clash.
14852 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14853 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14854 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14855
aaddc98c
MP
148562011-10-30 Marek Polacek <mpolacek@redhat.com>
14857
14858 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14859 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14860
95b7042b
RM
148612011-11-11 Roland McGrath <roland@hack.frob.com>
14862
14863 * include/unistd.h: Fix __readlink return type.
14864 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14865
57769839
UD
148662011-11-11 Ulrich Drepper <drepper@gmail.com>
14867
14868 * stdlib/ucontext.h: Undo last change for makecontext.
14869
edc5984d
AS
148702011-11-11 Andreas Schwab <schwab@redhat.com>
14871
98591e58
AS
14872 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14873
edc5984d
AS
14874 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14875 * setjmp/setjmp.h: Mark functions as non-leaf.
14876 * setjmp/bits/setjmp2.h: Likewise.
14877 * stdlib/ucontext.h: Likewise.
14878
77cdc054
AS
148792011-11-10 Andreas Schwab <schwab@redhat.com>
14880
14881 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14882 (reused_arena): Don't check arena limit.
14883 (arena_get2): Atomically check arena limit.
14884
fe72eebd
UD
148852011-11-08 Ulrich Drepper <drepper@gmail.com>
14886
5f078c32
UD
14887 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14888 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14889
fe72eebd
UD
14890 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14891 instructions.
14892
ae1bc2fa
AS
148932011-11-07 Andreas Schwab <schwab@redhat.com>
14894
7583a88d
AS
14895 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14896 handler when locking.
14897
ae1bc2fa
AS
14898 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14899 Fix size of allocated buffer.
14900
10fb0bfa
AS
149012011-11-04 Andreas Schwab <schwab@redhat.com>
14902
998832a4
AS
14903 [BZ #10103]
14904 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14905 declarations for long double functions.
14906 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14907
10fb0bfa
AS
14908 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14909
3d7ba52b
AS
149102011-11-03 Andreas Schwab <schwab@redhat.com>
14911
a9ae54a1
AS
14912 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14913 installed.
14914
3d7ba52b
AS
14915 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14916 is disabled.
14917
bc8db248
ST
149182011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14919
14920 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14921
45b96dd6
AS
149222011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14923
647776f6
AS
14924 * include/alloca.h (stackinfo_alloca_round): Define.
14925 (extend_alloca): Use it.
14926 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14927 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14928 here.
14929
d91a8b93
AS
14930 * scripts/check-local-headers.sh: Ignore libaudit.h.
14931
45b96dd6
AS
14932 * nscd/Makefile (extra-objs): Make recursively expanded.
14933
432d41ce
UD
149342011-11-01 Ulrich Drepper <drepper@gmail.com>
14935
34372fc6
UD
14936 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14937 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14938
fadb59f8
UD
14939 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14940 * posix/tst-rfc3484-2.c: Likewise.
14941 * posix/tst-rfc3484-3.c: Likewise.
14942
78239589
UD
14943 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14944 process_vm_writev.
14945 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14946 process_vm_writev.
14947 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14948 process_vm_writev from libc using GLIBC_2.15 version.
14949
432d41ce
UD
14950 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14951
02f9c6cf
PP
149522011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14953
14954 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14955 stack usage.
14956
3a2c0242
UD
149572011-10-31 Ulrich Drepper <drepper@gmail.com>
14958
f4ec4833
UD
14959 [BZ #13367]
14960 * nss/getent.c (initgroups_keys): Show error message in case no group
14961 names are given.
14962
3a2c0242
UD
14963 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14964 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14965 __bump_nl_timestamp.
14966 * nscd/connections (nscd_init): When host database is served open
14967 netlink socket and request notification about configuration changes.
14968 (main_loop_poll): Track netlink file descriptor and bump timestamp
14969 in case data becomes available.
14970 (main_loop_epoll): Likewise.
14971 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14972 (database_pers_head): Add extra_data fileds.
14973 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14974 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14975 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14976 Adjust caller.
14977 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14978 in6ai data, call __free_in6ai.
14979 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14980 Add -DHAVE_NETLINK.
14981 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14982 interface information. Reuse previous data if netlink timestamp
14983 is not changed.
14984 (__bump_nl_timestamp): New function.
14985 (__free_in6ai): New function.
14986
636064eb
UD
149872011-10-30 Ulrich Drepper <drepper@gmail.com>
14988
14989 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14990 close_not_cancel_no_status here.
14991 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14992
9beb2334
UD
149932011-10-29 Ulrich Drepper <drepper@gmail.com>
14994
6ef76f3b
UD
14995 [BZ #13276]
14996 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14997 return value.
14998
0ffc4f3e 14999 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
15000 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
15001 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
15002
cb95113e
UD
150032011-07-03 Andreas Jaeger <aj@suse.de>
15004
15005 [BZ #10709]
15006 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
15007 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
15008 * math/libm-test.inc (sin_test): Add test case.
15009
a1b560ff
UD
150102011-10-29 Ulrich Drepper <drepper@gmail.com>
15011
c9aaface
UD
15012 [BZ #13337]
15013 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
15014 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15015
d272e7f1
UD
15016 * elf/chroot_canon.c (chroot_canon): Cleanups.
15017
1bc33071
UD
15018 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
15019
1760874d
TJ
15020 [BZ #13335]
15021 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
15022 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15023
51d91b18
UD
15024 * string/test-strchr.c: Make usable for strchrnul testing.
15025 * string/test-strchrnul.c: New file.
15026 * string/Makefile (strop-tests): Add strchrnul.
15027
a1b560ff 15028 * po/it.po: Update from translation team.
b611fb81 15029 * po/es.po: Likewise.
a1b560ff 15030
a5b81e1f
UD
150312011-10-28 Ulrich Drepper <drepper@gmail.com>
15032
fd52bc6d
UD
15033 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
15034 the three constants needed as parameters. Drop the others.
15035 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
15036 __m128i_strloadu_tolower.
52e4b9eb
UD
15037 Create and initialize variable zero and use it in all the places
15038 where _mm_setzero_si128 was used.
fd52bc6d 15039
a5b81e1f
UD
15040 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
15041 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
15042 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
15043 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
15044 anymore.
15045 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
15046 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
15047 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
15048 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
15049 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
15050 __mpranred, __mptan.
15051 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
15052 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
15053 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
15054 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
15055 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
15056 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
15057 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
15058 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
15059 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
15060
b4343346
AS
150612011-10-28 Andreas Schwab <schwab@redhat.com>
15062
0c92d8a8
AS
15063 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
15064 redefine if SHARED.
15065 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
15066
b4343346
AS
15067 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
15068 wide char related routines to wcsmbs subdir.
15069
3871f58f
AS
150702011-10-27 Andreas Schwab <schwab@redhat.com>
15071
15072 [BZ #13344]
15073 * misc/sys/cdefs.h (__THROWNL): Define.
15074 * posix/unistd.h: Use __THREADNL instead of __THREAD
15075 for memory synchronization functions.
15076
94d44d9f
RM
150772011-10-26 Roland McGrath <roland@hack.frob.com>
15078
21b64b15 15079 [BZ #13349]
94d44d9f
RM
15080 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
15081 doesn't exist.
15082 * manual/stdio.texi (Obstack Streams): Node removed.
15083
f6ce9294
AS
150842011-10-26 Andreas Schwab <schwab@redhat.com>
15085
80479147
AS
15086 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
15087 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15088 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15089
f6ce9294
AS
15090 * math/math_private.h (math_force_eval): Allow non-addressable
15091 arguments.
15092 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
15093
618280a1
UD
150942011-10-25 Ulrich Drepper <drepper@gmail.com>
15095
e0016b11
UD
15096 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
15097 file is not needed.
15098
15099 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
15100 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15101 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15102 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15103 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15104 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15105 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15106 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
15107 Add AVX variants.
15108 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
15109 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
15110 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
15111 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
15112 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
15113 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
15114 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
15115 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
15116 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
15117 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
15118 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
15119 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
15120 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
15121 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
15122 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
15123 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
15124 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
15125 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
15126 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
15127
15128 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
15129 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
15130
618280a1
UD
15131 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
15132 place. Use VEX encoding when compiling for AVX.
15133
37822576
AS
151342011-10-25 Andreas Schwab <schwab@redhat.com>
15135
1f1e1947
AS
15136 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
15137 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15138
37822576
AS
15139 * string/test-strchr.c (do_test): Don't generate NUL bytes.
15140
31ea014d
UD
151412011-10-25 Ulrich Drepper <drepper@gmail.com>
15142
d7826aa1 15143 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 15144 useless if() expression.
d7826aa1
UD
15145 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15146 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15147 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15148 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15149 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15150 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15151 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15152 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15153 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15154 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15155 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15156 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15157 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15158 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15159 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15160 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15161 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15162 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15163 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15164
31ea014d
UD
15165 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15166
16437fec
AS
151672011-10-25 Andreas Schwab <schwab@redhat.com>
15168
15169 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15170 condition.
15171 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15172
31d3cc00
UD
151732011-10-25 Ulrich Drepper <drepper@gmail.com>
15174
15175 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15176 .text section. Avoid duplicate constants.
15177 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15178 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15179 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15180 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15181 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15182 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15183 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15184 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15185 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15186 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15187 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15188 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15189 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15190 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15191 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15192 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15193 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15194 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15195 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15196 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15197 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15198 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15199 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15200 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15201 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15202 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15203 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15204 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15205 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15206 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15207 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15208 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15209 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15210 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15211 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15212 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15213 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15214 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15215 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15216 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15217 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15218 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15219 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15220 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15221 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15222
58985aa9
UD
152232011-10-24 Ulrich Drepper <drepper@gmail.com>
15224
202c9deb
UD
15225 * sysdeps/x86_64/dla.h: Move to ...
15226 * sysdeps/x86_64/fpu/dla.h: ...here.
15227 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15228 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 15229
af968f62
UD
15230 * config.make.in: Add have-mfma4 entry.
15231 * configure.in: Substitute libc_cv_cc_fma4.
15232 * math/Makefile (dbl-only-routines): Add sincostab.
15233 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15234 Use __sincostab not sincos.
15235 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15236 name is a macro.
15237 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15238 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15239 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15240 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15241 using __copysign.
15242 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15243 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15244 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15245 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15246 and __inv.
15247 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15248 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15249 __copysign.
15250 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15251 define aliases when function name is a macro.
15252 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15253 sysdeps/ieee754/dbl-64/sincos.tbl.
15254 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15255 fma4-enabled routines.
15256 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15257 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15258 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15259 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15260 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15261 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15262 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15263 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15264 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15265 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15266 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15267 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15268 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15269 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15270 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15271 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15272 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15273 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15274 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15275 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15276 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15277 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15278 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15279 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15280 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15281 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15282 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15283 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15284 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15285 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15286
58985aa9
UD
15287 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15288 rename.
15289 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15290 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15291 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15292 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15293 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15294 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15295 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15296 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15297
a201fbcf
AS
152982011-10-24 Andreas Schwab <schwab@redhat.com>
15299
15300 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15301
fc2ee42a
LD
153022011-10-23 Ulrich Drepper <drepper@gmail.com>
15303
bb3129bd
UD
15304 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15305
0275fff8
UD
15306 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15307 prediction.
15308 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15309
2fa2ae85
UD
15310 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15311 Remove unused variable magic_bits.
15312 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15313
fc2ee42a
LD
15314 * string/strnlen.c: Define and use STRNLEN macro.
15315 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15316 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15317 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15318 * wcsmbs/wcslen.c: Define and use WCSLEN.
15319 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15320 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15321 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15322 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15323 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15324 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15325 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15326
ce7dd29f
LD
153272011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15328
15329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15330 strnlen-sse2-no-bsf.
15331 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15332 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15333 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15334 Add strnlen support.
15335 (USE_AS_STRNLEN): New macro.
15336 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15337 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15338 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15339 * sysdeps/x86_64/wcslen.S: New file.
15340
979c70a3
MZ
153412011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15342
15343 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15344 XMM-moves are used for copying on small sizes.
15345
2d09f82f
LD
153462011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15347
15348 * wcsmbs/Makefile (strop-tests): Add wcschr.
15349 * wcsmbs/test-wcschr.c: New file.
15350 * string/test-strchr.c: Update.
15351 Add wcschr support.
15352 (WIDE): New macro.
15353
619fccca
LD
153542011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15355
2d09f82f 15356 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
15357 * wcsmbs/test-wcslen.c: New file.
15358 * string/test-strlen.c: Update.
15359 Add wcslen support.
15360 (WIDE): New macro.
15361
09f699ea
UD
153622011-10-23 Ulrich Drepper <drepper@gmail.com>
15363
15364 * po/it.po: Update from translation team.
15365
95584d3b
LD
153662011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15367
15368 * sysdeps/x86_64/wcscmp.S: Update.
15369 Fix wrong comparison semantics.
15370 wcscmp shall use signed comparison not unsigned.
15371 Don't use substraction to avoid overflow bug.
15372 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15373 * wcsmbc/wcscmp.c: Likewise.
15374 * string/test-strcmp.c: Likewise.
15375 Add new tests to check cases with negative values.
15376
c8b3296b
UD
153772011-10-23 Ulrich Drepper <drepper@gmail.com>
15378
15379 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15380 * sysdeps/x86_64/dla.h: ...here. New file.
15381 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15382 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15383 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15384 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15385 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15386 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15387 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15388 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15389 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15390
246ad57a
AS
153912011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15392
15393 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15394 __ynl_finite aliases.
15395
a1a87169
UD
153962011-10-22 Ulrich Drepper <drepper@gmail.com>
15397
0d355eb7
UD
15398 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15399
a1a87169
UD
15400 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15401 define DLA_FMA.
15402 [DLA_FMA] (EMULV): Use DLA_FMA.
15403 [DLA_FMA] (MUL12): Use EMULV.
15404 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15405 that are not needed.
15406 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15407 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15408 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15409 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15410 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15411 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15412 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15413
ee2aafe0
AS
154142011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15415
15416 * math/s_nan.c: Undef __nan.
15417 * math/s_nanf.c: Undef __nanf.
15418 * math/s_nanl.c: Undef __nanl.
15419 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15420 "math_private.h".
15421
bc62c2fb
UD
154222011-10-22 Ulrich Drepper <drepper@gmail.com>
15423
77425c63
UD
15424 * math/s_catan.c: Add branch predictions.
15425 * math/s_catanf.c: Likewise.
15426 * math/s_catanh.c: Likewise.
15427 * math/s_catanhf.c: Likewise.
15428 * math/s_catanhl.c: Likewise.
15429 * math/s_catanl.c: Likewise.
15430 * math/s_cexp.c: Likewise.
15431 * math/s_cexpf.c: Likewise.
15432 * math/s_cexpl.c: Likewise.
15433 * math/s_clog.c: Likewise.
15434 * math/s_clog10.c: Likewise.
15435 * math/s_clog10f.c: Likewise.
15436 * math/s_clog10l.c: Likewise.
15437 * math/s_clogf.c: Likewise.
15438 * math/s_clogl.c: Likewise.
15439 * math/s_csqrt.c: Likewise.
15440 * math/s_csqrtf.c: Likewise.
15441 * math/s_csqrtl.c: Likewise.
15442 * math/s_ctanf.c: Likewise.
15443 * math/s_ctanh.c: Likewise.
15444 * math/s_ctanhf.c: Likewise.
15445 * math/s_ctanhl.c: Likewise.
15446 * math/s_ctanl.c: Likewise.
15447
bc62c2fb
UD
15448 * math/math_private.h: Define __nan, __nanf, __nanl.
15449 * math/s_cacosh.c: Include <math_private.h>.
15450 * math/s_cacoshl.c: Likewise.
15451 * math/s_casinh.c: Likewise.
15452 * math/s_casinhf.c: Likewise.
15453 * math/s_casinhl.c: Likewise.
15454 * math/s_ccos.c: Rely entire on ccosh.
15455 * math/s_ccosf.c: Rely entire on ccoshf.
15456 * math/s_ccosl.c: Rely entirely on ccoshl.
15457 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15458 Remove tests for FE_INVALID.
15459 * math/s_ccoshf.c: Likewise.
15460 * math/s_ccoshl.c: Likewise.
15461 * math/s_csin.c: Likewise.
15462 * math/s_csinf.c: Likewise.
15463 * math/s_csinh.c Likewise.
15464 * math/s_csinhf.c: Likewise.
15465 * math/s_csinhl.c: Likewise.
15466 * math/s_csinl.c: Likewise.
15467 * math/s_ctan.c: Likewise.
15468 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15469 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15470 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15471
8ec250a4
UD
154722011-10-21 Ulrich Drepper <drepper@gmail.com>
15473
c196fed8
UD
15474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15475 compilation problems.
15476
8ec250a4
UD
15477 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15478 __builtin_expect.
15479
8d4f46c6
UD
154802011-10-20 Ulrich Drepper <drepper@gmail.com>
15481
ed72b654
UD
15482 * sysdeps/i386/configure.in: Test for -mfma4 option.
15483 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15484 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15485 COMMON_CPUID_INDEX_80000001.
15486 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15487 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15488 use it if FMA3 is not supported.
15489 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15490
8d4f46c6
UD
15491 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15492 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15493
d45c60c2
AS
154942011-10-20 Andreas Schwab <schwab@redhat.com>
15495
15496 [BZ #12892]
15497 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15498 it would create a cycle with a link time dependency.
15499
d9a4d2ab
UD
155002011-10-19 Ulrich Drepper <drepper@gmail.com>
15501
855d1560
UD
15502 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15503 instruction.
15504 * string/Makefile (strop-tests): Add rawmemchr.
15505 * string/test-rawmemchr.c: New file.
15506
d9a4d2ab
UD
15507 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15508 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15509 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15510 when compiling str{,n}casecmp and when AVX is available. Hook up
15511 new optimized code in initializers.
15512
8f3b1ffe
AS
155132011-10-19 Andreas Schwab <schwab@redhat.com>
15514
15515 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15516 __feraiseexcept instead of feraiseexcept.
15517
d38f1dba
UD
155182011-10-18 Ulrich Drepper <drepper@gmail.com>
15519
d9a8d0ab
UD
15520 * math/math_private.h: Define defaults for libc_fetestexcept and
15521 libc_feupdateenv.
15522 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15523 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15524 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15525 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15526 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15527 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15528 libc_fetestexcept and libc_feupdateenv.
15529
4855e3dd
UD
15530 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15531 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15532 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15533 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15534 libc_feholdexcept_setround.
15535
581d30e3
UD
15536 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15537 Add s_nearbyint-c and s_nearbyintf-c.
15538 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15539 nearbyintf inlines.
15540 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15541 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15542 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15543 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15544
d38f1dba
UD
15545 * math/math_private.h: Define defaults for libc_fegetround,
15546 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15547 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15548 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15549 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15550 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15551 standard functions.
15552 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15553 Remove comments and hacks for old compiler versions.
15554 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15555 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15556 libc_feholdexceptl.
15557
caa6c9d8
AS
155582011-10-18 Andreas Schwab <schwab@redhat.com>
15559
15560 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
15561 (__feraiseexcept_renamed): Add __NTH.
15562 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
15563 namespace violations.
15564
97c066e6
UD
155652011-10-17 Ulrich Drepper <drepper@gmail.com>
15566
99ce7b04
UD
15567 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15568
1004d182
UD
15569 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15570
228a984d
UD
15571 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15572 recently added interfaces.
15573 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15574
c8553a6a
UD
15575 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15576 about macro parameter expansion.
15577
ed22dcf6
UD
15578 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15579 __NO_MATH_INLINES is defined. Cleanups.
15580
15581 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15582 and __floorf is target has SSE4.1.
15583 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15584 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15585 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15586 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15587
b171c137
UD
15588 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15589 name.
15590 (floorf): Likewise.
15591
97c066e6
UD
15592 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15593
629f62ef
AS
155942011-10-17 Andreas Schwab <schwab@redhat.com>
15595
49a43d80
AS
15596 * misc/sys/cdefs.h: Fix last change.
15597
629f62ef
AS
15598 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15599 database lookup.
15600
e453f6cd
UD
156012011-10-16 Ulrich Drepper <drepper@gmail.com>
15602
aa78043a
UD
15603 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15604
ad0f5cad
UD
15605 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15606 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15607 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15608 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15609 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15610 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15611 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15612 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15613 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15614 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15615 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15616 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15617 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15618 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15619 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15620 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15621 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15622 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15623 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15624 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15625 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15626 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15627
15628 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15629 ceil, ceilf, floor, floorf.
15630
15631 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15632 Perform IRELATIVE relocations last.
15633
e453f6cd
UD
15634 * elf/do-rel.h: Add another parameter nrelative, replacing the
15635 local variable with the same name. Change name of the function
15636 to end in Rel or Rela (uppercase).
15637 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15638 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15639 elf_dynamic_do_##reloc function.
15640
fd5bdc09
UD
156412011-10-15 Ulrich Drepper <drepper@gmail.com>
15642
79b195b5
UD
15643 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15644 is sufficient, at least on modern CPUs.
15645
d4a28569
UD
15646 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15647
b61099b5
UD
15648 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15649 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15650
bcf01e6d
UD
15651 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15652 __expl_finite.
15653 * math/bits/math-finite.h: Add entries for exp.
15654 * math/e_expl.c: Add __*_finite alias.
15655 * sysdeps/i386/fpu/e_exp.S: Likewise.
15656 * sysdeps/i386/fpu/e_expf.S: Likewise.
15657 * sysdeps/i386/fpu/e_expl.c: Likewise.
15658 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15659 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15660 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15661 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15662 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15663 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15664 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15665
ba1a0d59
UD
15666 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15667 is sufficient, at least on modern CPUs.
15668
fd5bdc09
UD
15669 * ctype/ctype-info.c (__ctype_init): Define.
15670 * include/ctype.h (__ctype_init): Declare.
15671 (__ctype_b_loc): The variable is always initialized.
15672 (__ctype_toupper_loc): Likewise.
15673 (__ctype_tolower_loc): Likewise.
15674 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15675 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15676
7872cfb0
AS
156772011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15678
b468825a
AS
15679 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15680
7872cfb0
AS
15681 * configure.in: Also look in $cxxmachine/include for C++ system
15682 headers.
15683
be13f7bf
LD
156842011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15685
15686 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15687 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15688 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15689 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15690 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15691 (USE_AS_WMEMCMP): New macro.
15692 Fixing indents.
15693 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15694 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15695 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15696 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15697 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15698 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15699 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15700 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15701 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15702 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15703 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15704 (USE_AS_WMEMCMP): New macro.
15705 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15706 * sysdeps/string/test-memcmp.c: Update.
15707 Fix simple_wmemcmp.
15708 Add new tests.
15709 * wcsmbs/wmemcmp.c: Update.
15710 (WMEMCMP): New macro.
15711 Fix overflow bug.
15712
556a2007
AJ
157132011-10-12 Andreas Jaeger <aj@suse.de>
15714
15715 [BZ #13268]
15716 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15717
538faaa7
UD
157182011-10-15 Ulrich Drepper <drepper@gmail.com>
15719
ab6737ff
UD
15720 * libio/iofwide.c (do_length): Avoid warning.
15721
538faaa7
UD
15722 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15723
396a21b1
UD
157242011-10-14 Ulrich Drepper <drepper@gmail.com>
15725
cdf2901f
UD
15726 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15727
38ad40ce
UD
15728 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15729 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15730 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15731 * sysdeps/i386/i686/fpu/e_log.S: New file.
15732 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15733 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15734
396a21b1
UD
15735 * ctype/ctype.h: Add support for inlined isXXX functions when
15736 compiling C++ code.
15737
6b1f68c9
AS
157382011-10-14 Andreas Schwab <schwab@redhat.com>
15739
349290c0
AS
15740 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15741
6b1f68c9
AS
15742 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15743
f2282d42
RM
157442011-10-13 Roland McGrath <roland@hack.frob.com>
15745
15746 [BZ #13291]
15747 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15748
5298ffa8
AS
157492011-10-13 Andreas Schwab <schwab@redhat.com>
15750
714fad23
AS
15751 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15752 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15753 feraiseexcept.
15754
81dcc7fb
AS
15755 * sysdeps/x86_64/memrchr.S: Check for zero size.
15756
5298ffa8
AS
15757 * string/stratcliff.c: Add memrchr tests.
15758
951fbcec
LD
157592011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15760
15761 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15762 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15763 rawmemchr-sse2 rawmemchr-sse2-bsf.
15764 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15765 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15766 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15767 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15768 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15769 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15770 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15771 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15772 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15773 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15774 * string/memrchr.c (MEMRCHR): New macro.
15775
0ac5ae23
UD
157762011-10-12 Ulrich Drepper <drepper@gmail.com>
15777
15778 Add integration with gcc's -ffinite-math-only and optimize wrapper
15779 functions in libm.
15780 * Versions.def: Define GLIBC_2.15 version for libm.
15781 * math/Makefile (headers): Add bits/math-finite.h.
15782 * math/bits/math-finite.h: New file.
15783 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15784 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15785 * math/e_acoshl.c: Add __*_finite alias.
15786 * math/e_acosl.c: Likewise.
15787 * math/e_asinl.c: Likewise.
15788 * math/e_atan2l.c: Likewise.
15789 * math/e_atanhl.c: Likewise.
15790 * math/e_coshl.c: Likewise.
15791 * math/e_exp10.c: Likewise.
15792 * math/e_exp10f.c: Likewise.
15793 * math/e_exp10l.c: Likewise.
15794 * math/e_exp2l.c: Likewise.
15795 * math/e_fmodl.c: Likewise.
15796 * math/e_gammal_r.c: Likewise.
15797 * math/e_hypotl.c: Likewise.
15798 * math/e_j0l.c: Likewise.
15799 * math/e_j1l.c: Likewise.
15800 * math/e_jnl.c: Likewise.
15801 * math/e_lgammal_r.c: Likewise.
15802 * math/e_log10l.c: Likewise.
15803 * math/e_log2l.c: Likewise.
15804 * math/e_logl.c: Likewise.
15805 * math/e_powl.c: Likewise.
15806 * math/e_sinhl.c: Likewise.
15807 * math/e_sqrtl.c: Likewise.
15808 * math/e_scalb.c: Completely rewritten and optimized.
15809 * math/e_scalbf.c: Likewise.
15810 * math/e_scalbl.c: Likewise.
15811 * math/w_acos.c: Likewise.
15812 * math/w_acosf.c: Likewise.
15813 * math/w_acosl.c: Likewise.
15814 * math/w_acosh.c: Likewise.
15815 * math/w_acoshf.c: Likewise.
15816 * math/w_acoshl.c: Likewise.
15817 * math/w_asin.c: Likewise.
15818 * math/w_asinf.c: Likewise.
15819 * math/w_asinl.c: Likewise.
15820 * math/w_atan2.c: Likewise.
15821 * math/w_atan2f.c: Likewise.
15822 * math/w_atan2l.c: Likewise.
15823 * math/w_atanh.c: Likewise.
15824 * math/w_atanhf.c: Likewise.
15825 * math/w_atanhl.c: Likewise.
15826 * math/w_exp10.c: Likewise.
15827 * math/w_exp10f.c: Likewise.
15828 * math/w_exp10l.c: Likewise.
15829 * math/w_fmod.c: Likewise.
15830 * math/w_fmodf.c: Likewise.
15831 * math/w_fmodl.c: Likewise.
15832 * math/w_j0.c: Likewise.
15833 * math/w_j0f.c: Likewise.
15834 * math/w_j0l.c: Likewise.
15835 * math/w_j1.c: Likewise.
15836 * math/w_j1f.c: Likewise.
15837 * math/w_j1l.c: Likewise.
15838 * math/w_jn.c: Likewise.
15839 * math/w_jnf.c: Likewise.
15840 * math/w_log.c: Likewise.
15841 * math/w_logf.c: Likewise.
15842 * math/w_logl.c: Likewise.
15843 * math/w_log10.c: Likewise.
15844 * math/w_log10f.c: Likewise.
15845 * math/w_log10l.c: Likewise.
15846 * math/w_log2.c: Likewise.
15847 * math/w_log2f.c: Likewise.
15848 * math/w_log2l.c: Likewise.
15849 * math/w_pow.c: Likewise.
15850 * math/w_powf.c: Likewise.
15851 * math/w_powl.c: Likewise.
15852 * math/w_remainder.c: Likewise.
15853 * math/w_remainderf.c: Likewise.
15854 * math/w_remainderl.c: Likewise.
15855 * math/w_scalb.c: Likewise.
15856 * math/w_scalbf.c: Likewise.
15857 * math/w_scalbl.c: Likewise.
15858 * math/w_sqrt.c: Likewise.
15859 * math/w_sqrtf.c: Likewise.
15860 * math/w_sqrtl.c: Likewise.
15861 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15862 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15863 used.
15864 * math/math_private.h: Declare __kernel_standard_f.
15865 * math/w_cosh.c: Remove cruft and optimize a bit.
15866 * math/w_coshf.c: Likewise.
15867 * math/w_coshl.c: Likewise.
15868 * math/w_exp2.c: Likewise.
15869 * math/w_exp2f.c: Likewise.
15870 * math/w_exp2l.c: Likewise.
15871 * math/w_hypot.c: Likewise.
15872 * math/w_hypotf.c: Likewise.
15873 * math/w_hypotl.c: Likewise.
15874 * math/w_lgamma.c: Likewise.
15875 * math/w_lgamma_r.c: Likewise.
15876 * math/w_lgammaf.c: Likewise.
15877 * math/w_lgammaf_r.c: Likewise.
15878 * math/w_lgammal.c: Likewise.
15879 * math/w_lgammal_r.c: Likewise.
15880 * math/w_sinh.c: Likewise.
15881 * math/w_sinhf.c: Likewise.
15882 * math/w_sinhl.c: Likewise.
15883 * math/w_tgamma.c: Likewise.
15884 * math/w_tgammaf.c: Likewise.
15885 * math/w_tgammal.c: Likewise.
15886 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15887 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15888 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15889 Minor optimizations. Pretty printing. Remove cruft.
15890 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15891 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15892 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15893 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15894 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15895 * sysdeps/i386/fpu/e_asin.S: Likewise.
15896 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15897 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15898 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15899 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15900 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15901 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15902 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15903 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15904 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15905 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15906 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15907 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15908 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15909 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15910 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15911 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15912 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15913 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15914 * sysdeps/i386/fpu/e_log.S: Likewise.
15915 * sysdeps/i386/fpu/e_log10.S: Likewise.
15916 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15917 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15918 * sysdeps/i386/fpu/e_log2.S: Likewise.
15919 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15920 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15921 * sysdeps/i386/fpu/e_logf.S: Likewise.
15922 * sysdeps/i386/fpu/e_logl.S: Likewise.
15923 * sysdeps/i386/fpu/e_pow.S: Likewise.
15924 * sysdeps/i386/fpu/e_powf.S: Likewise.
15925 * sysdeps/i386/fpu/e_powl.S: Likewise.
15926 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15927 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15928 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15929 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15930 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15931 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15932 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15933 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15934 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15935 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15936 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15937 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15938 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15939 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15940 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15941 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15942 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15943 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15944 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15945 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15946 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15947 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15948 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15949 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15950 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15951 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15952 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15953 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15954 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15955 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15956 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15957 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15958 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15959 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15960 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15961 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15962 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15963 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15964 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15965 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15966 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15967 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15968 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15969 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15970 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15971 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15972 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15973 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15974 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15975 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15976 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15977 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15978 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15979 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15980 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15981 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15982 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15983 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15984 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15985 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15986 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15987 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15988 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15989 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15990 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15991 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15992 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15993 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15994 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15995 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15996 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15997 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15998 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15999 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16000 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16001 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16002 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16003 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16004 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16005 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16006 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16007 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16008 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16009 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16010 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16011 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16012 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16013 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16014 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16015 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16016 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16017 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16018 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16019 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16020 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16021 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16022 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16023 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16024 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16025 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16026 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16027 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16028 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16029 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16030 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16031 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16032 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
16033 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
16034 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
16035 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
16036 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
16037 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
16038 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
16039 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16040 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16041 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16042 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16043 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
16044 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16045 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
16046 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
16047 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
16048 (__isnanf): Likewise.
16049 (__isinf_ns): Likewise.
16050 (__isinf_nsf): Likewise.
16051 (__finite): Likewise.
16052 (__finitef): Likewise.
16053 (__ieee754_sqrt): Define as macro.
16054 (__ieee754_sqrtf): Define as macro.
16055 (__ieee754_sqrtl): Define as macro.
16056 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
16057 inlined copy.
16058 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
16059 __FINITE_MATH_ONLY__ consistent.
16060 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
16061
12cc2fcd
AS
160622011-10-10 Andreas Schwab <schwab@linux-m68k.org>
16063
a843a204
AS
16064 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
16065 of rawmemchr.
16066
12cc2fcd
AS
16067 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
16068
c853acd5
UD
160692011-10-09 Ulrich Drepper <drepper@gmail.com>
16070
16071 * po/ja.po: Update from translation team.
16072
c658d255
RM
160732011-10-08 Roland McGrath <roland@hack.frob.com>
16074
110946e4
RM
16075 * locale/programs/locarchive.c (prepare_address_space): New function.
16076 (create_archive, enlarge_archive, open_archive): Use it.
16077
50604220
RM
16078 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
16079 inside [SHARED], where it is used.
16080
c658d255
RM
16081 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
16082
16083 * nss/getent.c (netgroup_keys): Remove unused variable.
16084 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16085
6a621eb7
UD
160862011-10-08 Ulrich Drepper <drepper@gmail.com>
16087
7edb55ce
UD
16088 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
16089 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
16090 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
16091 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
16092 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
16093 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
16094 * math/Makefile (libm-calls): Add s_isinf_ns.
16095 * math/divtc3.c: Use __isinf_nsl instead of isinf.
16096 * math/multc3.c: Likewise.
16097 * math/s_casin.c: Likewise.
16098 * math/s_casinf.c: Likewise.
16099 * math/s_casinl.c: Likewise.
16100 * math/s_ccos.c: Likewise.
16101 * math/s_ccosf.c: Likewise.
16102 * math/s_ccosl.c: Likewise.
16103 * math/s_ctan.c: Likewise.
16104 * math/s_ctanf.c: Likewise.
16105 * math/s_ctanh.c: Likewise.
16106 * math/s_ctanhf.c: Likewise.
16107 * math/s_ctanhl.c: Likewise.
16108 * math/s_ctanl.c: Likewise.
16109 * math/w_fmod.c: Likewise.
16110 * math/w_fmodf.c: Likewise.
16111 * math/w_fmodl.c: Likewise.
16112 * math/w_remainder.c: Likewise.
16113 * math/w_remainderf.c: Likewise.
16114 * math/w_remainderl.c: Likewise.
16115 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
16116 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
16117 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
16118 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
16119 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
16120 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
16121 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
16122 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
16123
187da0ae
UD
16124 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
16125 of the number.
16126 * stdio-common/printf_fphex.c: Likewise.
16127 * stdio-common/printf_size.c: Likewise.
16128
9277c064
UD
16129 * math/e_exp10.c: Include math_private.h using <...> not "...".
16130 * math/e_exp10f.c: Likewise.
16131 * math/e_exp10l.c: Likewise.
16132 * math/e_exp2l.c: Likewise.
16133 * math/e_j0l.c: Likewise.
16134 * math/e_j1l.c: Likewise.
16135 * math/e_jnl.c: Likewise.
16136 * math/e_lgammal_r.c: Likewise.
16137 * math/e_rem_pio2l.c: Likewise.
16138 * math/e_scalb.c: Likewise.
16139 * math/e_scalbf.c: Likewise.
16140 * math/e_scalbl.c: Likewise.
16141 * math/k_cosl.c: Likewise.
16142 * math/k_sinl.c: Likewise.
16143 * math/k_tanl.c: Likewise.
16144 * math/s_cacoshf.c: Likewise.
16145 * math/s_catan.c: Likewise.
16146 * math/s_catanf.c: Likewise.
16147 * math/s_catanh.c: Likewise.
16148 * math/s_catanhf.c: Likewise.
16149 * math/s_catanhl.c: Likewise.
16150 * math/s_catanl.c: Likewise.
16151 * math/s_ccosh.c: Likewise.
16152 * math/s_ccoshf.c: Likewise.
16153 * math/s_ccoshl.c: Likewise.
16154 * math/s_cexp.c: Likewise.
16155 * math/s_cexpf.c: Likewise.
16156 * math/s_cexpl.c: Likewise.
16157 * math/s_clog.c: Likewise.
16158 * math/s_clog10.c: Likewise.
16159 * math/s_clog10f.c: Likewise.
16160 * math/s_clog10l.c: Likewise.
16161 * math/s_clogf.c: Likewise.
16162 * math/s_clogl.c: Likewise.
16163 * math/s_csin.c: Likewise.
16164 * math/s_csinf.c: Likewise.
16165 * math/s_csinh.c: Likewise.
16166 * math/s_csinhf.c: Likewise.
16167 * math/s_csinhl.c: Likewise.
16168 * math/s_csinl.c: Likewise.
16169 * math/s_csqrt.c: Likewise.
16170 * math/s_csqrtf.c: Likewise.
16171 * math/s_csqrtl.c: Likewise.
16172 * math/s_ctan.c: Likewise.
16173 * math/s_ctanf.c: Likewise.
16174 * math/s_ctanh.c: Likewise.
16175 * math/s_ctanhf.c: Likewise.
16176 * math/s_ctanhl.c: Likewise.
16177 * math/s_ctanl.c: Likewise.
16178 * math/s_ldexp.c: Likewise.
16179 * math/s_ldexpf.c: Likewise.
16180 * math/s_ldexpl.c: Likewise.
16181 * math/s_significand.c: Likewise.
16182 * math/s_significandf.c: Likewise.
16183 * math/s_significandl.c: Likewise.
16184 * math/w_acos.c: Likewise.
16185 * math/w_acosf.c: Likewise.
16186 * math/w_acosh.c: Likewise.
16187 * math/w_acoshf.c: Likewise.
16188 * math/w_acoshl.c: Likewise.
16189 * math/w_acosl.c: Likewise.
16190 * math/w_asin.c: Likewise.
16191 * math/w_asinf.c: Likewise.
16192 * math/w_asinl.c: Likewise.
16193 * math/w_atan2.c: Likewise.
16194 * math/w_atan2f.c: Likewise.
16195 * math/w_atan2l.c: Likewise.
16196 * math/w_atanh.c: Likewise.
16197 * math/w_atanhf.c: Likewise.
16198 * math/w_atanhl.c: Likewise.
16199 * math/w_cosh.c: Likewise.
16200 * math/w_coshf.c: Likewise.
16201 * math/w_coshl.c: Likewise.
16202 * math/w_dremf.c: Likewise.
16203 * math/w_exp10.c: Likewise.
16204 * math/w_exp10f.c: Likewise.
16205 * math/w_exp10l.c: Likewise.
16206 * math/w_exp2.c: Likewise.
16207 * math/w_exp2f.c: Likewise.
16208 * math/w_fmod.c: Likewise.
16209 * math/w_fmodf.c: Likewise.
16210 * math/w_fmodl.c: Likewise.
16211 * math/w_hypot.c: Likewise.
16212 * math/w_hypotf.c: Likewise.
16213 * math/w_hypotl.c: Likewise.
16214 * math/w_j0.c: Likewise.
16215 * math/w_j0f.c: Likewise.
16216 * math/w_j0l.c: Likewise.
16217 * math/w_j1.c: Likewise.
16218 * math/w_j1f.c: Likewise.
16219 * math/w_j1l.c: Likewise.
16220 * math/w_jn.c: Likewise.
16221 * math/w_jnf.c: Likewise.
16222 * math/w_jnl.c: Likewise.
16223 * math/w_lgamma.c: Likewise.
16224 * math/w_lgamma_r.c: Likewise.
16225 * math/w_lgammaf.c: Likewise.
16226 * math/w_lgammaf_r.c: Likewise.
16227 * math/w_lgammal.c: Likewise.
16228 * math/w_lgammal_r.c: Likewise.
16229 * math/w_log.c: Likewise.
16230 * math/w_log10.c: Likewise.
16231 * math/w_log10f.c: Likewise.
16232 * math/w_log10l.c: Likewise.
16233 * math/w_log2.c: Likewise.
16234 * math/w_log2f.c: Likewise.
16235 * math/w_log2l.c: Likewise.
16236 * math/w_logf.c: Likewise.
16237 * math/w_logl.c: Likewise.
16238 * math/w_pow.c: Likewise.
16239 * math/w_powf.c: Likewise.
16240 * math/w_powl.c: Likewise.
16241 * math/w_remainder.c: Likewise.
16242 * math/w_remainderf.c: Likewise.
16243 * math/w_remainderl.c: Likewise.
16244 * math/w_scalb.c: Likewise.
16245 * math/w_scalbf.c: Likewise.
16246 * math/w_scalbl.c: Likewise.
16247 * math/w_sinh.c: Likewise.
16248 * math/w_sinhf.c: Likewise.
16249 * math/w_sinhl.c: Likewise.
16250 * math/w_sqrt.c: Likewise.
16251 * math/w_sqrtf.c: Likewise.
16252 * math/w_sqrtl.c: Likewise.
16253 * math/w_tgamma.c: Likewise.
16254 * math/w_tgammaf.c: Likewise.
16255 * math/w_tgammal.c: Likewise.
16256
6a621eb7
UD
16257 * po/ja.po: Update from translation team.
16258
bf582445
AJ
162592011-09-29 Andreas Jaeger <aj@suse.de>
16260
f9efbf3a
AJ
16261 [BZ #13179]
16262 * sunrpc/netname.c (netname2host): Fix logic.
16263
bf582445
AJ
16264 [BZ #6779]
16265 [BZ #6783]
16266 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16267 correctly.
16268 * math/w_remainder.c (__remainder): Likewise.
16269 * math/w_remainderf.c (__remainderf): Likewise.
16270 * math/libm-test.inc (remainder_test): Add test cases.
16271
48693bea
AK
162722011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16273
16274 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16275 sdiv_qrnnd.
16276
42622229
LD
162772011-10-07 Ulrich Drepper <drepper@gmail.com>
16278
16279 * string/test-memcmp.c: Avoid unncessary #defines.
16280 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16281
093ecf92
LD
162822011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16283
16284 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16285 Use new sse2 version for core i3 - i7 as it's faster
16286 than sse42 version.
16287 (bit_Prefer_PMINUB_for_stringop): New.
16288 * sysdeps/x86_64/rawmemchr.S: Update.
16289 Replace with faster SSE2 version.
16290 * sysdeps/x86_64/memrchr.S: New file.
16291 * sysdeps/x86_64/memchr.S: Update.
16292 Replace with faster SSE2 version.
16293
fde56e5c
MP
162942011-09-12 Marek Polacek <mpolacek@redhat.com>
16295
16296 * elf/dl-load.c (lose): Add cast to avoid warning.
16297
21fd49a9
UD
162982011-10-07 Ulrich Drepper <drepper@gmail.com>
16299
5a06e643
UD
16300 * po/ca.po: Update from translation team.
16301
684ae515
UD
16302 * inet/getnetgrent_r.c: Hook up nscd.
16303 * nscd/Makefile (routines): Add nscd_netgroup.
16304 (nscd-modules): Add netgroupcache.
16305 (CFLAGS-netgroupcache.c): Define.
16306 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16307 (cache_search): Add const to second parameter.
16308 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16309 INNETGR.
16310 (dbs): Add netgrdb entry.
16311 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16312 (verify_persistent_db): Handle netgrdb.
16313 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16314 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16315 GETFDNETGR.
16316 (netgroup_response_header): Define.
16317 (innetgroup_response_header): Define.
16318 (datahead): Add netgroup_response_header and innetgroup_response_header
16319 elements.
16320 * nscd/nscd.conf: Add entries for netgroup cache.
16321 * nscd/nscd.h (dbtype): Add netgrdb.
16322 (_PATH_NSCD_NETGROUP_DB): Define.
16323 (netgroup_iov_disabled): Declare.
16324 (xmalloc, xcalloc, xrealloc): Move declarations here.
16325 (cache_search): Adjust prototype.
16326 Add netgroup-related prototypes.
16327 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16328 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16329 (__nscd_innetgr): Declare.
16330 * nscd/selinux.c (perms): Use access_vector_t as element type and
16331 add netgroup-related initializers.
16332 * nscd/netgroupcache.c: New file.
16333 * nscd/nscd_netgroup.c: New file.
16334 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16335 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16336 For four parameters use innetgr.
16337 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16338 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16339 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16340 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16341
21fd49a9
UD
16342 * nscd/connections.c (register_traced_file): Don't register file
16343 for disabled databases.
16344
054c0457
UD
163452011-10-06 Ulrich Drepper <drepper@gmail.com>
16346
32b63198
UD
16347 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16348
054c0457
UD
16349 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16350 from tree and freeing node.
16351
64031225
JO
163522011-09-25 Jiri Olsa <jolsa@redhat.com>
16353
16354 * nss/nsswitch.c (__nss_database_lookup): Handle
16355 nss_parse_service_list out of memory case.
16356
0490345c
JO
163572011-09-15 Jiri Olsa <jolsa@redhat.com>
16358
16359 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16360 out of memory case.
16361
3a62d00d
AS
163622011-10-04 Andreas Schwab <schwab@redhat.com>
16363
16364 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16365 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16366 pass it down.
16367 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16368 elf_machine_rela, elf_machine_lazy_rel.
16369 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16370 (ELF_DYNAMIC_DO_REL): Likewise.
16371 (ELF_DYNAMIC_DO_RELA): Likewise.
16372 (ELF_DYNAMIC_RELOCATE): Likewise.
16373 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16374 to ELF_DYNAMIC_DO_REL.
16375 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16376 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16377 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16378 elf_machine_rela.
16379 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16380 skip_ifunc, don't call ifunc function if non-zero.
16381 (elf_machine_rela): Likewise.
16382 (elf_machine_lazy_rel): Likewise.
16383 (elf_machine_lazy_rela): Likewise.
16384 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16385 (elf_machine_lazy_rel): Likewise.
16386 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16387 Likewise.
16388 (elf_machine_lazy_rel): Likewise.
16389 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16390 Likewise.
16391 (elf_machine_lazy_rel): Likewise.
16392 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16393 (elf_machine_lazy_rel): Likewise.
16394 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16395 (elf_machine_lazy_rel): Likewise.
16396 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16397 (elf_machine_lazy_rel): Likewise.
16398 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16399 (elf_machine_lazy_rel): Likewise.
16400 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16401 (elf_machine_lazy_rel): Likewise.
16402 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16403 (elf_machine_lazy_rel): Likewise.
16404
68577918
UD
164052011-09-28 Ulrich Drepper <drepper@gmail.com>
16406
16407 * nss/nss_files/files-init.c (_nss_files_init): Use static
16408 initialization for all the *_traced_file variables.
16409
68822d74
AS
164102011-09-28 Andreas Schwab <schwab@redhat.com>
16411
16412 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16413
2056100b
RM
164142011-09-27 Roland McGrath <roland@hack.frob.com>
16415
16416 [BZ #13226]
16417 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16418
32c76b63
AS
164192011-09-27 Andreas Schwab <schwab@redhat.com>
16420
16421 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16422 Reread the line before reparsing it.
16423
bf972c9d
AS
164242011-09-26 Andreas Schwab <schwab@redhat.com>
16425
16426 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16427
e057a1b5
JM
164282011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16429 Maxim Kuvyrkov <maxim@codesourcery.com>
16430 Joseph Myers <joseph@codesourcery.com>
16431
16432 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16433 if needed for __stack_chk_guard.
16434
bc7e1c36
RM
164352011-09-19 Roland McGrath <roland@hack.frob.com>
16436
ecb1482f
RM
16437 * sysdeps/posix/spawni.c (script_execute): Always define it.
16438 It will be optimized away if unused.
16439 (maybe_script_execute): New function.
16440 (__spawni): Call it.
16441
bc7e1c36
RM
16442 * Makerules: Don't include tls.make.
16443 (config-tls): Always set to thread.
16444 * tls.make.c: File removed.
16445
1c3b002b
MF
164462011-09-19 Mike Frysinger <vapier@gentoo.org>
16447
16448 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16449 * config.make.in (CPPFLAGS-config): New substituted variable.
16450
2840865d
UD
164512011-09-15 Ulrich Drepper <drepper@gmail.com>
16452
88738eb6
UD
16453 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16454
cbf645a6 16455 [BZ #13192]
2840865d
UD
16456 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16457 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16458
b402e91a
RM
164592011-09-15 Roland McGrath <roland@hack.frob.com>
16460
16461 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16462 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16463 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16464 (CALL_FAIL): Likewise.
16465 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16466 (CALL_FAIL): Macro removed.
16467 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16468
4c1a1f71
UD
164692011-09-15 Ulrich Drepper <drepper@gmail.com>
16470
16471 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16472 for __FINITE_MATH_ONLY__ == 1.
16473
edc121be
AS
164742011-09-15 Andreas Schwab <schwab@redhat.com>
16475
16476 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16477 __ieee754_sqrt instead of sqrt.
16478 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16479 __ieee754_sqrtf instead of sqrtf.
16480 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16481 __floorf instead of floorf.
16482 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16483 __floorf, __truncf instead of floorf, truncf.
16484
cd205654
UD
164852011-09-14 Ulrich Drepper <drepper@gmail.com>
16486
ee4d0315
UD
16487 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16488
cd205654
UD
16489 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16490 __extern_always_inline.
16491 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16492 32-bit.
16493
48b67d71
AS
164942011-09-14 Andreas Schwab <schwab@redhat.com>
16495
16496 * elf/rtld.c (dl_main): Also relocate in dependency order when
16497 doing symbol dependency testing.
16498
1ae12c75
AS
164992011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16500
16501 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16502 Always define `refsym'.
16503
995a80df
AS
165042011-09-13 Andreas Schwab <schwab@redhat.com>
16505
e529793b
AS
16506 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16507 (__FD_ELT): Renamed from __FDELT.
16508 * misc/bits/select2.h (__FD_ELT): Likewise.
16509 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16510 __FD_MASK instead of __FDELT, __FDMASK.
16511 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16512 Likewise.
16513 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16514 Likewise.
16515
52d4fef8
AS
16516 * elf/Makefile (gen-ldd): Fix pattern.
16517
995a80df
AS
16518 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16519 (init_tls): Likewise.
16520
8682f8b0
UD
165212011-09-12 Ulrich Drepper <drepper@gmail.com>
16522
16523 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16524
de82006d
AS
165252011-09-12 Andreas Schwab <schwab@redhat.com>
16526
a7c8e6a1
AS
16527 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16528 `struct cmsghdr *' instead of `void *'.
16529 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16530 Likewise.
16531
0f31fe77
AS
165322011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16533
16534 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16535 if non-absolute.
16536 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16537 ldd_rewrite_script.
0f31fe77 16538
32b4c839
UD
165392011-09-11 Ulrich Drepper <drepper@gmail.com>
16540
83cd1420
UD
16541 * configure.in: Remove --with-tls option.
16542 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16543 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16544 out in case it is missing.
16545 * sysdeps/ia64/elf/configure.in: Likewise.
16546 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16547 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16548 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16549 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16550 * sysdeps/sh/elf/configure.in: Likewise.
16551 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16552 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16553 * sysdeps/x86_64/elf/configure.in: Likewise.
16554 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16555 * sysdeps/mach/hurd/tls.h: Likewise.
16556
633f745d
UD
16557 [BZ #13067]
16558 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16559
f318beb8
UD
16560 [BZ #13090]
16561 * configure.in: Fix use of AC_INIT.
16562
32b4c839
UD
16563 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16564
3ce1f295
UD
165652011-09-10 Ulrich Drepper <drepper@gmail.com>
16566
bb016596
UD
16567 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16568 __set_errno.
8e58439c
UD
16569 * malloc/hooks.c: Likewise.
16570
aebae053 16571 [BZ #11929]
02d46fc4
UD
16572 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16573 variables statically.
16574 (narenas): Initialize.
16575 (list_lock): Initialize.
bb016596
UD
16576 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16577 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
16578 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16579 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16580 Add initializers to main_arena and mp_.
16581 (malloc_state): Remove pagesize member. Change all users to use
16582 GLRO(dl_pagesize).
16583
16584 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16585 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16586 is always initialized.
16587
22a89187
UD
16588 * malloc/malloc.c: Removed unused configurations and dead code.
16589 * malloc/arena.c: Likewise.
16590 * malloc/hooks.c: Likewise.
02d46fc4 16591 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 16592
d063d164
UD
16593 * include/tls.h: Removed. USE___THREAD must always be defined.
16594 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16595 * elf/dl-libc.c: Likewise.
16596 * elf/dl-tsd.c: Likewise.
16597 * include/errno.h: Likewise.
16598 * include/netdb.h: Likewise.
16599 * include/resolv.h: Likewise.
16600 * inet/herrno-loc.c: Likewise.
16601 * inet/herrno.c: Likewise.
16602 * malloc/arena.c: Likewise.
16603 * malloc/hooks.c: Likewise.
16604 * malloc/malloc.c: Likewise.
16605 * resolv/res-state.c: Likewise.
16606 * resolv/res_libc.c: Likewise.
16607 * sysdeps/i386/dl-machine.h: Likewise.
16608 * sysdeps/ia64/dl-machine.h: Likewise.
16609 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16610 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16611 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16612 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16613 * sysdeps/sh/dl-machine.h: Likewise.
16614 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16615 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16616 * sysdeps/unix/i386/sysdep.S: Likewise.
16617 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16618 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16619 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16620 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16621 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16622 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16623 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16624 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16625 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16626 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16627 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16628 * sysdeps/x86_64/dl-machine.h: Likewise.
16629 * tls.make.c: Likewise.
16630
3ce1f295
UD
16631 * configure.in: Remove --with-__thread option. Make tests for
16632 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16633 tls_model attribute fail if no support is available. Remove
16634 USE_IN_LIBIO.
16635 * Makeconfig: Adjust for dropped configure option. All features are
16636 now mandatory.
16637 * Makerules: Likewise.
16638 * Versions.def: Likewise.
16639 * argp/argp-fmtstream.c: Likewise.
16640 * argp/argp-fmtstream.h: Likewise.
16641 * argp/argp-help.c: Likewise.
16642 * assert/assert.c: Likewise.
16643 * config.h.in: Likewise.
16644 * config.make.in: Likewise.
16645 * configure: Likewise.
16646 * configure.in: Likewise.
16647 * csu/Versions: Likewise.
16648 * csu/init.c: Likewise.
16649 * elf/tst-audit2.c: Likewise.
16650 * elf/tst-tls10.c: Likewise.
16651 * elf/tst-tls10.h: Likewise.
16652 * elf/tst-tls11.c: Likewise.
16653 * elf/tst-tls12.c: Likewise.
16654 * elf/tst-tls14.c: Likewise.
16655 * elf/tst-tlsmod11.c: Likewise.
16656 * elf/tst-tlsmod12.c: Likewise.
16657 * elf/tst-tlsmod13.c: Likewise.
16658 * elf/tst-tlsmod13a.c: Likewise.
16659 * elf/tst-tlsmod14a.c: Likewise.
16660 * elf/tst-tlsmod15b.c: Likewise.
16661 * elf/tst-tlsmod16a.c: Likewise.
16662 * elf/tst-tlsmod16b.c: Likewise.
16663 * elf/tst-tlsmod7.c: Likewise.
16664 * elf/tst-tlsmod8.c: Likewise.
16665 * elf/tst-tlsmod9.c: Likewise.
16666 * gmon/gmon.c: Likewise.
16667 * grp/fgetgrent_r.c: Likewise.
16668 * grp/putgrent.c: Likewise.
16669 * hurd/fopenport.c: Likewise.
16670 * include/libc-symbols.h: Likewise.
16671 * include/tls.h: Likewise.
16672 * intl/gettextP.h: Likewise.
16673 * intl/loadinfo.h: Likewise.
16674 * locale/global-locale.c: Likewise.
16675 * locale/localeinfo.h: Likewise.
16676 * mach/devstream.c: Likewise.
16677 * malloc/arena.c: Likewise.
16678 * malloc/set-freeres.c: Likewise.
16679 * misc/err.c: Likewise.
16680 * misc/getttyent.c: Likewise.
16681 * misc/mntent_r.c: Likewise.
16682 * posix/getopt.c: Likewise.
16683 * posix/wordexp.c: Likewise.
16684 * pwd/fgetpwent_r.c: Likewise.
16685 * resolv/Versions: Likewise.
16686 * resolv/res_hconf.c: Likewise.
16687 * shadow/fgetspent_r.c: Likewise.
16688 * shadow/putspent.c: Likewise.
16689 * stdio-common/printf_fphex.c: Likewise.
16690 * stdio-common/tmpfile.c: Likewise.
16691 * stdlib/abort.c: Likewise.
16692 * stdlib/fmtmsg.c: Likewise.
16693 * sunrpc/auth_unix.c: Likewise.
16694 * sunrpc/clnt_perr.c: Likewise.
16695 * sunrpc/clnt_tcp.c: Likewise.
16696 * sunrpc/clnt_udp.c: Likewise.
16697 * sunrpc/clnt_unix.c: Likewise.
16698 * sunrpc/openchild.c: Likewise.
16699 * sunrpc/svc_simple.c: Likewise.
16700 * sunrpc/svc_tcp.c: Likewise.
16701 * sunrpc/svc_udp.c: Likewise.
16702 * sunrpc/svc_unix.c: Likewise.
16703 * sunrpc/xdr.c: Likewise.
16704 * sunrpc/xdr_array.c: Likewise.
16705 * sunrpc/xdr_rec.c: Likewise.
16706 * sunrpc/xdr_ref.c: Likewise.
16707 * sunrpc/xdr_stdio.c: Likewise.
16708
1248c1c4
PB
167092011-09-09 Ulrich Drepper <drepper@gmail.com>
16710
16711 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16712
167132011-07-03 Andreas Jaeger <aj@suse.de>
16714
16715 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16716 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16717 regenerate with gen-libm-tests.pl.
16718
167192010-05-12 Petr Baudis <pasky@suse.cz>
16720
16721 [BZ #11589]
16722 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16723 around j0() zero points by switching to j1().
16724 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16725 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16727 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16728
f22e1074
UD
167292011-09-09 Ulrich Drepper <drepper@gmail.com>
16730
f19009c1
UD
16731 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16732 instead of 0.
16733 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16734 instead of 0. .
16735 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16736 Patch in part by Pavel Roskin <proski@gnu.org>.
16737
3f8cc204
UD
16738 [BZ #13138]
16739 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16740 realloc.
16741 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16742 Free memory block if necessary.
16743
f22e1074
UD
16744 [BZ #12847]
16745 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16746 be NULL. Don't lock in this case.
16747
0a2349f9
RM
167482011-09-09 Roland McGrath <roland@hack.frob.com>
16749
16750 * elf/elf.h (ELFOSABI_GNU): New macro.
16751 (ELFOSABI_LINUX): Define to that.
16752
f3cdd467
DZ
167532011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16754
16755 * string/strncat.c (strncat): Undef the symbol in case it has been
16756 defined in bits/string.h.
16757
74718d13
UD
167582011-09-09 Ulrich Drepper <drepper@gmail.com>
16759
633e9e0f
UD
16760 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16761
0a2349f9 16762 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
16763 link map.
16764
f9924780
AJ
167652011-08-17 Andreas Jaeger <aj@suse.de>
16766
16767 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16768
7f5517aa
PP
167692011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16770 Ian Lance Taylor <iant@google.com>
16771
16772 * math/libm-test.inc (lround_test): New testcase.
16773 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16774
762011fe
UD
167752011-09-08 Ulrich Drepper <drepper@gmail.com>
16776
92963737
UD
16777 * Makefile: Remove support for automatic cvs check-ins.
16778 * Makerules: Likewise.
16779 * config.make.in: Likewise.
16780 * configure.in: Likewise.
16781 * intl/Makefile: Likewise.
16782 * locale/Makefile: Likewise.
16783 * po/Makefile: Likewise.
16784 * posix/Makefile: Likewise.
16785 * sysdeps/gnu/Makefile: Likewise.
16786 * sysdeps/mach/hurd/Makefile: Likewise.
16787 * sysdeps/sparc/sparc32/Makefile: Likewise.
16788
b0727fd8
JS
16789 [BZ #13118]
16790 * posix/Makefile (bug-regex32-ENV): Define.
16791 Patch by John Stanley <jpsinthemix@verizon.net>.
16792
a0f33f99
UD
16793 * misc/Makefile (headers): Add bits/select2.h.
16794 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16795 * misc/bits/select2.h: New file.
16796 * include/bits/select2.h: New file.
16797 * debug/Makefile (routines): Add fdelt_chk.
16798 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16799 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16800 FD_ISSET.
16801 * debug/fdelt_chk.c: New file.
16802
762011fe
UD
16803 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16804 * wcsmbs/test-wmemcmp.c: Likewise.
16805 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16806 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16807
168082011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16809
16810 * string/Makefile (strop-tests): Add memcmp.
16811 * string/test-wmemcmp.c: New file.
16812 * string/test-memcmp.c: Add wmemcmp support.
16813
7f513ec8
RM
168142011-09-08 Roland McGrath <roland@hack.frob.com>
16815
0442afb4
RM
16816 [BZ #13153]
16817 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16818 2011-07-19 change.
16819
7f513ec8
RM
16820 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16821 garbage value in a __mach_port_mod_refs call in the cases of the
16822 task-self and thread-self ports.
16823
a12b2239
ST
168242011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16825
16826 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16827
610f9ab4
AS
168282011-09-08 Andreas Schwab <schwab@redhat.com>
16829
7f513ec8 16830 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 16831
48882a1a
LD
168322011-09-07 Ulrich Drepper <drepper@gmail.com>
16833
b49865be
UD
16834 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16835
fdc86bc9
UD
16836 * elf/dl-libc.c (dlerror_run): Pass back error code from
16837 dl_catch_error.
16838
c966526a
UD
16839 [BZ #13123]
16840 * elf/dl-load.c (lose): Free l_origin if it is valid.
16841
48882a1a
LD
16842 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16843 names.
16844 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16845 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16846 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16847 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16848 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16849 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16850
77a2a8b4
AZ
168512011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16852
16853 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16854 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16855 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16856 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16857 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16858 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16859 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16860 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16861 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16862 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16863
24f579d8
AM
168642011-08-15 Alan Modra <amodra@gmail.com>
16865
16866 [BZ #13092]
16867 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16868 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16869 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16870 ppc_mcount to static-only-routines.
16871 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16872 __mcount_internal.
16873 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16874 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16875
3d4837df
UD
168762011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16877
16878 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16879 for finite and infinity parameters.
16880
22700377
WS
168812011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16882
16883 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16884 and add nop instructions for throughput optimization.
16885 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16886
5025581e
WS
168872011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16888
16889 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16890 aligned copy for power7 with vector-scalar instructions.
16891 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16892
08a300c9
L
168932011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16894
16895 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16896 AVX check.
16897
59178ef9
AS
168982011-09-07 Andreas Schwab <schwab@redhat.com>
16899
16900 [BZ #13144]
16901 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16902 last change.
16903
e38ba7ab
UD
169042011-09-07 Ulrich Drepper <drepper@gmail.com>
16905
16906 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16907 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16908 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16909 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16910 clock_gettime.
16911
d53a73ac
UD
169122011-09-06 Ulrich Drepper <drepper@gmail.com>
16913
fc8bffcc
UD
16914 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16915 Forgot to demangle the pointer.
16916
ceaa0c5d
UD
16917 * sysdeps/i386/sysdep.h: Define atom_text_section.
16918 * sysdeps/x86_64/sysdep.h: Likewise.
16919 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16920 section with atom_text_section.
16921 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16922 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16923 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16924 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16925 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16926
a77d3c17
UD
16927 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16928 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16929 already be defined. Change to take two parameters and don't assign
16930 result to variable. Adjust all users.
16931 Define INTERNAL_GETTIME if not already defined.
16932 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16933 call.
16934 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16935 HAVE_CLOCK_GETTIME_VSYSCALL.
16936 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16937
d53a73ac
UD
16938 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16939 gettimeofday vsyscall, just use time.
16940
a8f84144
AS
169412011-09-06 Andreas Schwab <schwab@redhat.com>
16942
16943 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16944 <errno.h>.
16945
ef606249
UD
169462011-09-06 Ulrich Drepper <drepper@gmail.com>
16947
16948 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16949 syscall on x86-64.
16950 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16951 syscall.
16952 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16953 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16954 syscall if possible.
16955
6585cb60
UD
169562011-09-05 Ulrich Drepper <drepper@gmail.com>
16957
16958 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16959 e_ident. Don't pass to find_mapsXX.
16960 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16961
a5f524e4
LD
169622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16963
16964 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16965 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16966 * sysdeps/x86_64/multiarch/strchr.S: Update.
16967 Check bit_slow_BSF bit.
16968 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16969 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16970 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16971
554881ef
UD
169722011-09-05 Ulrich Drepper <drepper@gmail.com>
16973
d96de963
UD
16974 [BZ #13134]
16975 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16976 before glibc 2.15.
16977 (tryshell): Define.
16978 (__spawni): Change last parameter to be flag. Test
16979 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16980 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16981 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16982 * posix/spawni.c: Likewise.
16983 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16984 * posix/spawnp.c: Likewise. Change normal version to use
16985 SPAWN_XFLAGS_USE_PATH.
16986 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16987 SPAWN_XFLAGS_TRY_SHELL.
16988
d48e5868
UD
16989 [BZ #13150]
16990 * posix/glob.h: Remove gcc 1.x support.
16991
554881ef
UD
16992 [BZ #13068]
16993 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16994
693fb948
LD
169952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16996
16997 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16998 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16999 strrchr-sse2-bsf
17000 * sysdeps/i386/i686/multiarch/strchr.S: New file.
17001 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
17002 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
17003 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
17004 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
17005 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
17006
1b48c537
UD
170072011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17008
49d42c37
UD
17009 * sysdeps/x86_64/wcscmp.S: New file.
17010
1b48c537
UD
17011 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
17012 wcscmp-c wcscmp-sse2
17013 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
17014 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
17015 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
17016 * wcsmbs/wcscmp.c: Allow renaming.
17017
15c95c5d
DM
170182011-09-05 David S. Miller <davem@davemloft.net>
17019
17020 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
17021 stack slot, rather than the struct return pointer slot.
17022 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
17023 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
17024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
17025 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
17026
2f0ad8f3
UD
170272011-09-05 Ulrich Drepper <drepper@gmail.com>
17028
d88ae418
UD
17029 * po/ja.po: Update from translation team.
17030
2f0ad8f3
UD
17031 [BZ #13144]
17032 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
17033 kernel in 64-bit binaries.
17034
5f4318d1
DM
170352011-09-01 David S. Miller <davem@davemloft.net>
17036
17037 * elf/elf.h (HWCAP_SPARC_*): Move to..
17038 * sysdeps/sparc/sysdep.h: this new file and add new values.
17039 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
17040 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
17041 _DL_HWCAP_COUNT to 24.
17042 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17043 entries.
17044 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
17045 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
17046 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
17047 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
17048 instead of magic constants.
17049 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17050
3ba57516
DM
170512011-08-31 David S. Miller <davem@davemloft.net>
17052
17053 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
17054 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
17055 Reimplement to do errno handling inline.
17056 (SYSCALL_ERROR_HANDLER): New macro.
17057 (__SYSCALL_STRING): Do not do errno handling in asm.
17058 (__CLONE_SYSCALL_STRING): Delete.
17059 (__INTERNAL_SYSCALL_STRING): Delete.
17060 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
17061 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
17062 (PSEUDO): Reimplement to do errno handling inline.
17063 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
17064 (SYSCALL_ERROR_HANDLER): New macro.
17065 (__SYSCALL_STRING): Do not do errno handling in asm.
17066 (__CLONE_SYSCALL_STRING): Delete.
17067 (__INTERNAL_SYSCALL_STRING): Delete.
17068 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
17069 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
17070 i386.
17071 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
17072 (inline_syscall*): Add 'err' argument.
17073 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
17074 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
17075 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
17076 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
17077
17078 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
17079 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17080
2bc17433
AS
170812011-08-30 Andreas Schwab <schwab@redhat.com>
17082
17083 * elf/rtld.c (dl_main): Relocate objects in dependency order.
17084
fbeb5f4d
JO
170852011-08-29 Jiri Olsa <jolsa@redhat.com>
17086
17087 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
17088 directive.
17089
ad69cc26
DM
170902011-08-24 David S. Miller <davem@davemloft.net>
17091
17092 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
17093
39dd69df
AS
170942011-08-24 Andreas Schwab <schwab@redhat.com>
17095
17096 * elf/Makefile: Add rules to build and run unload8 test.
17097 * elf/unload8.c: New file.
17098 * elf/unload8mod1.c: New file.
17099 * elf/unload8mod1x.c: New file.
17100 * elf/unload8mod2.c: New file.
17101 * elf/unload8mod3.c: New file.
17102
17103 * elf/dl-close.c (_dl_close_worker): Reset private search list if
17104 it wasn't used.
17105
2c0b250a
DM
171062011-08-23 David S. Miller <davem@davemloft.net>
17107
17108 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
17109 subtract stack bias.
17110 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
17111 %sp not %fp in calculations.
17112 (_JMPBUF_UNWINDS_ADJ): Likewise.
17113
22044b48
DM
17114 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
17115 (aio_suspend): Call it to force an exception region around the
17116 AIO_MISC_WAIT() invocation.
17117
2cae4995
AS
171182011-08-23 Andreas Schwab <schwab@redhat.com>
17119
17120 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
17121 backslash.
17122
873a772e
AJ
171232011-07-04 Aurelien Jarno <aurelien@aurel32.net>
17124
17125 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
17126 protection macro.
17127 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
17128 and <dl-machine.h>.
17129 (Elf64_FuncDesc): Remove.
17130
25ad0df1
DM
171312011-08-22 David S. Miller <davem@davemloft.net>
17132
17133 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
17134 sigaltstack check, add missing cfi directives.
17135 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
17136 missing cfi directives, and sigaltstack handling.
17137
e888bcbe
AS
171382011-08-16 Andreas Schwab <schwab@redhat.com>
17139
17140 [BZ #11724]
17141 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
17142 object is seen twice.
17143 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17144
17145 * elf/Makefile (distribute): Add tst-initorder2.c.
17146 (tests): Add tst-initorder2.
17147 (modules-names): Add tst-initorder2a tst-initorder2b
17148 tst-initorder2c tst-initorder2d. Add rules to build them.
17149 ($(objpfx)tst-initorder2.out): New rule.
17150 * elf/tst-initorder2.c: New file.
17151 * elf/tst-initorder2.exp: New file.
17152
87162f46
AS
171532011-08-22 Andreas Schwab <schwab@redhat.com>
17154
70538b7f
AS
17155 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17156
f55ffe58
AS
17157 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17158 dependencies back to end of function.
17159
87162f46
AS
17160 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17161 $(elfobjdir)/ld.so.
17162
91b392a4
UD
171632011-08-21 Ulrich Drepper <drepper@gmail.com>
17164
17165 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17166 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17167 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17168 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17169 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17170 of __vdso_gettimeofday.
17171 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17172 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
17173 attribute_hidden.
17174 (_libc_vdso_platform_setup): Remove initialization of
17175 __vdso_gettimeofday and __vdso_time.
17176
5c43483f
UD
171772011-08-20 Ulrich Drepper <drepper@gmail.com>
17178
775a77e7
UD
17179 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17180 and fgetc_unlocked.
17181 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17182 getc_unlocked.
89f447ed 17183
49c74ba9
UD
17184 * elf/dl-open.c (add_to_global): Report additions to the global scope
17185 for LD_DEBUG=scopes.
17186 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 17187 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 17188
5c43483f
UD
17189 [BZ #13114]
17190 * stdio-common/Makefile (tests): Add bug24.
17191 * stdio-common/bug24.c: New file.
17192
a101b025
AJ
171932011-08-19 Andreas Jaeger <aj@suse.de>
17194
17195 [BZ #13114]
17196 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17197 non-existant file when using close-on-exec mode.
17198
c88f1766
UD
171992011-08-20 Ulrich Drepper <drepper@gmail.com>
17200
0276a718
UD
17201 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17202 the very first instruction.
17203
c88f1766
UD
17204 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17205 the CFI state in the end.
17206 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17207 inclusion of dl-trampoline.h.
17208 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17209
51ccffa0
AS
172102011-08-19 Andreas Schwab <schwab@redhat.com>
17211
94d7165f
AS
17212 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17213 expectations for long double.
17214
51ccffa0
AS
17215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17216 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17217
fd708658 172182011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
17219
17220 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17221 artificual limit depends upon the system page size.
17222
44f0a71e
UD
172232011-08-17 Ulrich Drepper <drepper@gmail.com>
17224
17225 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17226 * resolv/Makefile: Define CFLAGS-libresolv.
17227
8de79a24
AS
172282011-08-17 Andreas Schwab <schwab@redhat.com>
17229
17230 * nss/makedb.c (compute_tables): Make variables used in nested
17231 function static.
17232
27724598
UD
172332011-08-17 Ulrich Drepper <drepper@gmail.com>
17234
c5305d88
UD
17235 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17236 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17237 if buffer was too small.
17238
27724598
UD
17239 * elf/pldd.c (main): Attach to all threads in the process.
17240 Rewrite /proc handling to use *at functions.
17241
076fe015
UD
172422011-08-16 Ulrich Drepper <drepper@gmail.com>
17243
174baab3
UD
17244 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17245 specifies first scope to show.
17246 (dl_open_worker): Update callers. Move printing scope of new
17247 object to before the relocation.
44f0a71e 17248 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
17249 * sysdeps/generic/ldsodefs.h: Update declaration.
17250
076fe015
UD
17251 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17252 string for the scope number.
17253
a60df2c3
UD
172542011-08-14 Ulrich Drepper <drepper@gmail.com>
17255
17256 * nscd/servicescache.c (cache_addserv): Make sure written is always
17257 initialized.
17258
5e4287d1
RM
172592011-08-14 Roland McGrath <roland@hack.frob.com>
17260
85ae0589
RM
17261 * sysdeps/i386/i486/bits/atomic.h
17262 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17263 statement expression, so as to suppress "set but not used" warning.
17264 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17265
69f63097
RM
17266 * string/strncat.c (STRNCAT): Use prototype definition.
17267
675456ef
RM
17268 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17269 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17270 -Iprograms here.
17271 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17272 (localedef-modules): Add localedef.
17273 (locale-modules): Add locale.
17274
5e4287d1
RM
17275 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17276 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17277 to avoid a warning.
17278
9c96ff23
DM
172792011-08-14 David S. Miller <davem@davemloft.net>
17280
17281 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17282 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17283
f9ddf089
UD
172842011-08-13 Ulrich Drepper <drepper@gmail.com>
17285
44f0a71e 17286 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
17287 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17288 * elf/rtld.c (dl_main): Set l_name of vDSO.
17289 Call _dl_show_scope when DL_DEBUG_SCOPES.
17290 (process_dl_debug): Recognize scopes flag and also set it for all.
17291 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17292 Declare _dl_show_scope.
17293
1dc27704
UD
17294 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17295 (do_dlopen): Pass caller_dlopen to dl_open.
17296 (__libc_dlopen_mode): Initialize caller_dlopen.
17297
f9ddf089
UD
17298 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17299 of libc. Make tolower call locale-independent. Optimize a bit by
17300 using isdigit instead of isalnum.
17301 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17302
9ac533d3
UD
173032011-08-12 Ulrich Drepper <drepper@gmail.com>
17304
17305 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17306 was a dependency or dynamically loaded.
17307
89edf2e9
UD
173082011-08-11 Ulrich Drepper <drepper@gmail.com>
17309
8e999d29
UD
17310 * intl/l10nflist.c: Allow architecture-specific pop function.
17311 * sysdeps/x86_64/l10nflist.c: New file.
17312
89edf2e9
UD
17313 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17314 classification.
17315
14d96785
AS
173162011-08-10 Andreas Schwab <schwab@redhat.com>
17317
17318 * include/dirent.h: Add libc_hidden_proto for scandirat and
17319 scandirat64. Don't declare __scandirat64.
17320 * dirent/scandirat.c: Add libc_hidden_def.
17321 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17322 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17323
6761ac04
DM
173242011-08-10 David S. Miller <davem@davemloft.net>
17325
17326 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17327 enum.
17328 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17329 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17330 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17331
c55fbd1e
UD
173322011-08-09 Ulrich Drepper <drepper@gmail.com>
17333
17334 * Versions.def [libc]: Add GLIBC_2.15.
17335 * dirent/Makefile (routines): Add scandirat and scandirat64.
17336 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17337 GLIBC_2.15.
17338 * dirent/dirent.h: Declare scandirat and scandirat64.
17339 * dirent/scandirat.c: New file.
17340 * dirent/scandirat64.c: New file.
17341 * sysdeps/wordsize-64/scandirat.c: New file.
17342 * sysdeps/wordsize-64/scandirat64.c: New file.
17343 * dirent/opendir.c: Define opendirat.
17344 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17345 using scandirat.
17346 * dirent/scandir64.c: Adjust for scandir.c change.
17347 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17348 __scandirat64, and __scandir_cancel_handler.
17349 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17350 additional parameter and use openat instead of open (outside of ld.so).
17351 Add new __opendir as wrapper around __opendirat.
17352 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17353 here without requiring old scandirat implementation.
17354
879165f2
UD
173552011-08-08 Ulrich Drepper <drepper@gmail.com>
17356
17357 * dirent/scandir.c (cancel_handler): Renamed to
17358 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17359 defined. Adjust users.
17360 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17361 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17362
cb7e923b
UD
173632011-08-04 Ulrich Drepper <drepper@gmail.com>
17364
16292edd
UD
17365 * string/test-string.h (IMPL): Use __STRING to expand name and then
17366 stringify it.
17367
cb7e923b
UD
17368 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17369 of cleanups.
17370
cff82933
LD
173712011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17372
17373 * string/Makefile: Update.
17374 (strop-tests): Append strncat.
17375 * string/test-wcscmp.c: New file.
17376 New comprehensive test for wcscmp.
17377 * string/test-strcmp.c: Update.
17378 (WIDE): New define.
17379
9be9bfcc
AS
173802011-07-22 Andreas Schwab <schwab@redhat.com>
17381
17382 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17383 line.
17384
2e96f1c7
AS
173852011-07-26 Andreas Schwab <schwab@redhat.com>
17386
17387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17388 encoding to ACE if AI_IDN.
17389
85188888
JJ
173902011-08-01 Jakub Jelinek <jakub@redhat.com>
17391
17392 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17393 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17394
5fa16e9b
LD
173952011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17396
17397 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17398 Fix overflow bug in strncat.
17399 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17400
17401 * string/test-strncat.c: Update.
17402 Add new tests for checking overflow bugs.
17403
174042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17405
17406 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17407 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17408 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17409 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17410 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17411 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17412 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17413 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17414 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17415
17416 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17417 (USE_AS_STRCAT): Define.
17418 Add strcat and strncat support.
17419 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17420
8c1a459f
AS
174212011-07-25 Andreas Schwab <schwab@redhat.com>
17422
17423 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17424 __n bigger than INT_MAX+1.
17425 (__strncmp_g): Likewise.
17426
bba33c28
UD
174272011-07-23 Ulrich Drepper <drepper@gmail.com>
17428
798be72d
UD
17429 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17430 * libio/stido.h: Likewise.
17431
8accd4dc
UD
17432 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17433 (AF_NFC): Define.
17434 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17435 (AF_NFC): Define.
17436
cbff0d96
UD
17437 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17438 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17439 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17440 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17441 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17442
9191c04a
UD
17443 [BZ #13021]
17444 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17445 installed.
17446
bba33c28
UD
17447 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17448 typo.
17449 (_dl_x86_64_save_sse): Likewise.
17450
90f139dd
UD
174512011-07-22 Ulrich Drepper <drepper@gmail.com>
17452
1aae088a
UD
17453 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17454 OSXSAVE.
17455 (_dl_x86_64_save_sse): Likewise.
17456
8e2045f5
UD
17457 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17458
90f139dd
UD
17459 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17460
1d002f25
AS
174612011-07-21 Andreas Schwab <schwab@redhat.com>
17462
17463 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17464 change.
17465 (_dl_x86_64_save_sse): Use correct AVX check.
17466
21137f89
UD
174672011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17468
17469 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17470 bug in strncpy/strncat.
17471 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17472
a65c0b7a
UD
174732011-07-21 Ulrich Drepper <drepper@gmail.com>
17474
17475 * string/tester.c (test_strcat): Add tests for different alignments
17476 of source and destination.
17477 (test_strncat): Likewise.
17478
6986b98a
UD
174792011-07-20 Ulrich Drepper <drepper@gmail.com>
17480
90bb2039
UD
17481 [BZ #12852]
17482 * posix/glob.c (glob): Check passed in values before using them in
17483 expressions to avoid some overflows.
17484 (glob_in_dir): Likewise.
17485
5644ef54
UD
17486 [BZ #13007]
17487 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17488 check for AVX enablement so that we don't crash with old kernels and
17489 new hardware.
17490 * elf/tst-audit4.c: Add same checks here.
17491 * elf/tst-audit6.c: Likewise.
17492
17493 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 17494
bfc9dc9b
AS
174952011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17496
17497 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17498
702e64bb
UD
174992011-07-20 Ulrich Drepper <drepper@gmail.com>
17500
17501 * po/cs.po: Update from translation team.
17502 * po/bg.po: Likewise.
17503
295e904f
MP
175042011-07-12 Marek Polacek <mpolacek@redhat.com>
17505
17506 * misc/sys/cdefs.h: Add support for const attribute.
17507 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17508 to gnu_dev_{major,minor,makedev} functions.
17509
3ff94596
MP
175102011-07-20 Marek Polacek <mpolacek@redhat.com>
17511
17512 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17513
28b59fca
AS
175142011-07-20 Andreas Schwab <schwab@redhat.com>
17515
17516 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17517 strlen results.
17518
19df733e
AK
175192011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17520
17521 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17522 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17523 register in order to avoid conflicts with the soft frame pointer
17524 being held in r11 when necessary.
17525 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17526 (INTERNAL_VSYSCALL_NCS): Likewise.
17527
c8835729
MP
175282011-07-14 Marek Polacek <mpolacek@redhat.com>
17529
17530 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17531 * elf/dl-fini.c (_dl_fini): Adjust caller.
17532 * elf/dl-close.c (_dl_close_worker): Likewise.
17533 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17534
b902330c
MP
175352011-07-15 Marek Polacek <mpolacek@redhat.com>
17536
8991e135
MP
17537 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17538 "aux_cache->nlibs < 0".
17539
b902330c
MP
17540 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17541 in the reload-count case.
17542
99710781
LD
175432011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17544
17545 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17546 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17547 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17548 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17549 * sysdeps/x86_64/multiarch/strcat.S: New file.
17550 * sysdeps/x86_64/multiarch/strncat.S: New file.
17551 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17552 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17553 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17554 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17555 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17556 (USE_AS_STRCAT): Define.
17557 Add strcat and strncat support.
17558 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17559 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17560 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17561 * string/strncat.c: Update.
17562 (USE_AS_STRNCAT): Define.
17563 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17564 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17565 and i7.
17566 * sysdeps/x86_64/multiarch/init-arch.h
17567 (bit_Prefer_PMINUB_for_stringop): New.
17568 (index_Prefer_PMINUB_for_stringop): Likewise.
17569 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17570 bit_Prefer_PMINUB_for_stringop.
17571
7dc6bd90
UD
175722011-07-19 Ulrich Drepper <drepper@gmail.com>
17573
17574 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17575 buffer64.
17576 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17577 of casting of buffer.
17578 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17579 buffer32 and buffer64.
17580 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17581 writes instead of casting of buffer.
17582 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17583 buffer32.
17584 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17585 casting of buffer.
17586
e0e72284
AS
175872011-07-19 Andreas Schwab <schwab@redhat.com>
17588
17589 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17590
feb1eb0b
UD
175912011-07-19 Ulrich Drepper <drepper@gmail.com>
17592
17593 * nscd/nscd.c (termination_handler): Don't do anything for a database
17594 if it has not yet been initialized.
17595
298711ff
UD
175962011-07-18 Ulrich Drepper <drepper@gmail.com>
17597
17598 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17599
176002011-07-15 Marek Polacek <mpolacek@redhat.com>
17601
17602 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17603
f9d68389
UD
176042011-07-18 Ulrich Drepper <drepper@gmail.com>
17605
17606 * po/nl.po: Update from translation team.
17607 * po/sv.po: Likewise.
17608
db290cf5
RM
176092011-07-16 Roland McGrath <roland@hack.frob.com>
17610
17611 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17612 now disallowed by GCC.
5c550700 17613
fd5e21c7
RM
17614 * configure.in (use-default-link): Default to yes if a test -shared
17615 link meets our qualifications.
17616 * configure: Regenerated.
17617
5c550700
RM
17618 * config.make.in (output-format): New variable.
17619 * configure.in: Check for ld --print-output-format support.
17620 * configure: Regenerated.
17621 * Makerules ($(common-objpfx)format.lds)
17622 [$(output-format) != unknown]: Just use $(output-format),
17623 instead of the linker-script munging.
17624
9fa2c032
RM
176252011-07-14 Roland McGrath <roland@hack.frob.com>
17626
a6928d51
RM
17627 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17628 of $(common-objpfx)shlib.lds.
17629 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17630
661607b3
RM
17631 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17632 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17633
9fa2c032
RM
17634 * configure.in (-z relro check): Adjust test code to add a large
17635 writable data section after it.
17636 * configure: Regenerated.
17637
defe9061
RM
176382011-07-11 Roland McGrath <roland@hack.frob.com>
17639
17640 * configure.in (-z relro check): Fix test code to make the variable
17641 truly const.
17642 * configure: Regenerated.
17643
319b9ad4
UD
176442011-07-11 Ulrich Drepper <drepper@gmail.com>
17645
17646 * nscd/nscd.h (struct traced_file): Define.
17647 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17648 elements. Add traced_files.
17649 (inotify_fd): Declare.
17650 (register_traced_file): Declare.
17651 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17652 (inotify_fd): Export.
17653 (resolv_conf_descr): Remove.
17654 (nscd_init): Move inotify descriptor creation to main.
17655 Don't register files for notification here.
17656 (register_traced_file): New function.
17657 (invalidate_cache): Don't use reset_res to determine whether to call
17658 res_init, go through the list of registered files.
17659 (main_loop_poll): The inotify descriptors are now stored in the
17660 structures for the traced files.
17661 (main_loop_epoll): Likewise
17662 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17663 to __nss_disable_nscd.
17664 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17665 for a database anymore. Check the records for all the registered
17666 files instead.
17667 * nss/Makefile (libnss_files-routines): Add files-init.
17668 (libnss_db-routines): Add db-init.
17669 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17670 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17671 * nss/nss_db/db-init.c: New file.
17672 * nss/nss_files/files-init.c: New file.
17673 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17674 __nss_lookup_function.
17675 (__nss_lookup_function): Call nss_load_library.
17676 (nss_load_all_libraries): New function.
17677 (__nss_disable_nscd): Take parameter with callback function for files
17678 to register. Set is_nscd. Load all the DSOs for the NSS modules
17679 used for the cached services.
17680 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17681 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17682 options for features to all the files in nscd.
17683
17684 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17685
23bee3e8
RM
176862011-07-10 Roland McGrath <roland@hack.frob.com>
17687
17688 * csu/elf-init.c (__libc_csu_init): Comment typo.
17689
46a5b7f0
UD
176902011-07-09 Ulrich Drepper <drepper@gmail.com>
17691
17692 * po/pl.po: Update from translation team.
17693 * po/ja.po: Likewise.
17694 * po/ru.po: Likewise.
17695 * po/ko.po: Likewise.
17696 * po/fr.po: Likewise.
17697
d30cf5bb
RM
176982011-07-09 Roland McGrath <roland@hack.frob.com>
17699
113ddea4
RM
17700 * configure.in (.ctors/.dtors header and trailer check):
17701 Use an empirical test on a built program.
17702 * configure: Regenerated.
17703
574920b4
RM
17704 * configure.in (-z relro check): Use an empirical test on a built DSO.
17705 Detect, but do not require, on ia64.
17706 * configure: Regenerated.
17707
d30cf5bb
RM
17708 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17709 Update tests that use readelf to use $READELF instead.
17710 * configure: Regenerated.
17711
8538fdb3
UD
177122011-07-08 Ulrich Drepper <drepper@gmail.com>
17713
17714 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17715 if the result is not used.
17716
04d08991
AJ
177172011-07-05 Andreas Jaeger <aj@suse.de>
17718
17719 [BZ#9696]
17720 * stdlib/tst-strtod.c: Add testcase.
17721
de283087
AD
177222011-07-07 Ulrich Drepper <drepper@gmail.com>
17723
4e5f31c8 17724 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 17725 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
17726 The latter has a higher limit. Take additional parameter to pass to
17727 the new function.
17728 (__pathconf): Pass file to __statfs_link_max.
17729 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17730 __statfs_link_max.
17731 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17732 __statfs_link_max.
17733
de283087
AD
17734 [BZ #12868]
17735 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17736 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17737 Handle Lustre.
17738 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17739 (__statfs_filesize_max): Likewise.
17740 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17741
c75fa153
AJ
177422011-07-05 Andreas Jaeger <aj@suse.de>
17743
17744 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17745
1a544854
UD
177462011-07-06 Marek Polacek <mpolacek@redhat.com>
17747
17748 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17749 `status' variable.
17750 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17751 Likewise.
17752
6f0eec67
UD
177532011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17754
17755 * Makefile (strop-tests): Add strncat.
17756 * string/test-strncat.c: New file.
17757
aae30307
UD
177582011-06-30 Marek Polacek <mpolacek@redhat.com>
17759
17760 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17761
c0cfb5eb
UD
177622011-06-21 Andreas Jaeger <aj@suse.de>
17763
17764 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17765 Copy rule from iconvdata/Makefile.
17766
01636b21
UD
177672011-07-06 Ulrich Drepper <drepper@gmail.com>
17768
17769 [BZ #12922]
17770 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17771 but no long options are defined, just return 'W'.
17772
9895c8bc
UD
177732011-06-22 Marek Polacek <mpolacek@redhat.com>
17774
17775 [BZ #9696]
17776 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17777
5d4cf042
UD
177782011-07-06 Ulrich Drepper <drepper@gmail.com>
17779
17780 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17781 netgroups to read.
960e5535 17782 (innetgr): Likewise.
5d4cf042 17783
751eb97e
RM
177842011-07-05 Roland McGrath <roland@hack.frob.com>
17785
17786 * config.make.in (install_root): Default to $(DESTDIR).
17787
f15f1e45
UD
177882011-07-05 Ulrich Drepper <drepper@gmail.com>
17789
17790 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17791
4e34ac6a
RM
177922011-07-02 Roland McGrath <roland@hack.frob.com>
17793
5e9b6af4
RM
17794 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17795
84f9ea0f
RM
17796 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17797 containing directory rather than embedding absolute directory names.
17798
ea5ee9f7
RM
17799 * scripts/check-local-headers.sh: Rewritten using awk.
17800 Match by word, not by line. Print error messages for matches.
17801 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17802
1b74661a
RM
17803 * Makerules [shlib-lds-flags empty]:
17804 ($(common-objpfx)libc_pic.opts): New target.
17805 ($(common-objpfx)libc_pic.os.clean): New target.
17806 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17807
17808 * config.make.in (OBJCOPY): New variable.
17809 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17810 * configure: Regenerated.
17811
f781ef40
RM
17812 * config.make.in (use-default-link): New variable.
17813 * configure.in (use_default_link): Grok --with-default-link to set it.
17814 * configure: Regenerated.
17815 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17816 (shlib-lds, shlib-lds-flags): Define to empty.
17817
2d4fa81e
RM
17818 * Makerules (shlib-lds): New variable.
17819 (shlib-lds-flags): New variable.
17820 (build-shlib, build-moduile, build-module-asneeded): Use it.
17821 ($(common-objpfx)libc.so): Use $(shlib-lds).
17822 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17823 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17824
31fffa6b
RM
17825 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17826 DT_FLAGS/DT_FLAGS_1 with zero flags.
17827
4e34ac6a
RM
17828 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17829 linker script munging.
17830
fcfc776b
UD
178312011-07-02 Ulrich Drepper <drepper@gmail.com>
17832
17833 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17834 as 128-bit value.
17835 * crypt/sha512.c (sha512_process_block): Perform total addition using
17836 128-bit if possible.
17837 (__sha512_finish_ctx): Likewise.
17838 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17839 as 64-bit value.
17840 * crypt/sha256.c (SWAP64): Define.
17841 (sha256_process_block): Perform total addition using 64-bit if
17842 possible.
17843 (__sha256_finish_ctx): Likewise.
17844
99231d9a
UD
178452011-07-01 Ulrich Drepper <drepper@gmail.com>
17846
17847 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17848 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17849 * nscd/hstcache.c (cache_addhst): Likewise.
17850 * nscd/grpcache.c (cache_addgr): Likewise.
17851 * nscd/aicache.c (addhstaiX): Likewise
17852 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17853
445b4a53
TK
178542011-07-01 Thorsten Kukuk <kukuk@suse.de>
17855
17856 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17857 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17858 * nscd/hstcache.c (cache_addhst): Likewise.
17859 * nscd/grpcache.c (cache_addgr): Likewise.
17860 * nscd/aicache.c (addhstaiX): Likewise
17861
6d4d8e8e
AS
178622011-07-01 Andreas Schwab <schwab@redhat.com>
17863
17864 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17865 domain only when needed.
17866
89f654c5
AS
178672011-06-30 Andreas Schwab <schwab@redhat.com>
17868
17869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17870 is always restored.
17871
cf3b23ff
UD
178722011-06-29 Ulrich Drepper <drepper@gmail.com>
17873
17874 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17875 are re-adding the entry.
17876 * nscd/servicescache.c (cache_addserv): Likewise.
17877
751626f9
AJ
178782011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17879
17880 * sysdeps/generic/dl-irel.h: fix protection against multiple
17881 inclusions.
17882 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17883
9113ea1f
UD
178842011-06-28 Ulrich Drepper <drepper@gmail.com>
17885
5c0b8d90
UD
17886 [BZ #12935]
17887 * malloc/memusage.sh: Fix quoting in message.
17888 * debug/xtrace.sh: Likewise.
17889
9113ea1f
UD
17890 * configure.in: Remove support for --experimental-malloc option, make
17891 it the default.
17892 * config.make.in: Likewise.
17893 * malloc/Makefile: Likewise.
17894
a4172181
AS
178952011-06-27 Andreas Schwab <schwab@redhat.com>
17896
17897 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17898 two-byte characters.
17899
78a7eee7
RM
179002011-06-27 Roland McGrath <roland@hack.frob.com>
17901
62bede13
RM
17902 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17903 AC_CACHE_CHECK invocation.
17904 * configure: Regenerated.
17905
78a7eee7
RM
17906 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17907
5ce33a62
UD
179082011-06-27 Ulrich Drepper <drepper@gmail.com>
17909
034807a9
UD
17910 [BZ #12350]
17911 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17912 bit from old_res_options.
17913
4902da17
UD
17914 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17915
5ce33a62
UD
17916 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17917 value type for setfct.
17918
c2344f56
L
179192011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17920
17921 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17922 __gettimeofday instead of gettimeofday.
17923
68468076
UD
179242011-06-26 Ulrich Drepper <drepper@gmail.com>
17925
17926 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17927
acb0d739
L
179282011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17929
17930 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17931
17932 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17933 info.
17934
8912479f
L
179352011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17936
17937 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17938 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17939 strcpy-sse2-unaligned strncpy-sse2-unaligned
17940 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17941 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17942 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17943 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17944 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17945 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17946 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17947 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17948 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17949 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17950 (STRCPY): Support SSE2 and SSSE3 versions.
17951
d5495a11
UD
179522011-06-24 Ulrich Drepper <drepper@gmail.com>
17953
17954 [BZ #12874]
17955 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17956 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17957 kernels which artificially limit size of requests.
17958
0b1cbaae
L
179592011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17960
17961 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17962 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17963 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17964 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17965 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17966 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17967 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17968 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17969 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17970 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17971 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17972 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17973 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17974 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17975 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17977 Enable unaligned load optimization for Intel Core i3, i5 and i7
17978 processors.
17979 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17980 Define.
17981 (index_Fast_Unaligned_Load): Define.
17982 (HAS_FAST_UNALIGNED_LOAD): Define.
17983
07f494a0
MP
179842011-06-23 Marek Polacek <mpolacek@redhat.com>
17985
17986 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17987
fa3fc0fe
UD
179882011-06-22 Ulrich Drepper <drepper@gmail.com>
17989
17990 [BZ #12907]
17991 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17992 until it is clear that the information is realy needed.
17993 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17994
e12df166
AS
179952011-06-22 Andreas Schwab <schwab@redhat.com>
17996
17997 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17998
852eb34d
UD
179992011-06-22 Ulrich Drepper <drepper@gmail.com>
18000
84e2a551
UD
18001 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18002 /sys/devices/system/cpu/online if it is usable.
18003
852eb34d
UD
18004 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
18005 reading the information from the /proc filesystem to once a second.
18006
6e502e19
UD
180072011-06-21 Andreas Jaeger <aj@suse.de>
18008
18009 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
18010 NULL after inclusion of kernel headers.
18011
75d39ff2
UD
180122011-06-21 Ulrich Drepper <drepper@gmail.com>
18013
51f9aa6a
UD
18014 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
18015 calls to internal_setent.
18016
c0244a9d
UD
18017 [BZ #12885]
18018 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
18019 addresses using gethostbyname4_r ignore IPv4 addresses.
18020
c5e3c2ae
UD
18021 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
18022 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
18023
75d39ff2
UD
18024 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
18025
42675c6f
DM
180262011-06-20 David S. Miller <davem@davemloft.net>
18027
18028 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
18029 inclusions.
18030 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
18031
18032 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
18033 (elf_irel): Use it.
18034 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
18035 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
18036 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
18037 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
18038 * sysdeps/x86_64/dl-irel.h: Likewise.
18039
18040 * elf/dl-runtime.c: Use elf_ifunc_invoke.
18041 * elf/dl-sym.c: Likewise.
18042
57912a71
UD
180432011-06-15 Ulrich Drepper <drepper@gmail.com>
18044
18045 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
18046 need to dereference resplen2.
18047
ee22793d
AS
180482011-06-14 Andreas Schwab <schwab@redhat.com>
18049
18050 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
18051
a9e836b0
UD
180522011-06-15 Ulrich Drepper <drepper@gmail.com>
18053
77fb9117
UD
18054 * Makeconfig: Define vardbdir and inst_vardbdir.
18055 * nss/Makefile: Add rules to install db-Makefile.
18056
40c1b22c
UD
18057 * nss/nss_db/db-XXX.c: Cleanup.
18058
9f2da732
UD
18059 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
18060 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
18061 GLIBC_PRIVATE.
18062 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
18063 * nss/makedb.c: Implement -g option to specify that value strings
18064 are generated and should not be added to table iterated over for
18065 get*ent calls.
18066 * nss/nss_db/db-initgroups.c: New file.
18067
82e9a1f7
UD
18068 * nss/getent.c: Add support for initgroups lookups through getgrouplist
18069 interface.
18070
c41af17e
UD
18071 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
18072 (internal_getgrouplist): Adjust to name change.
18073 Update use_initgroups_entry if this is not the first call.
18074 * nss/databases.def: Add initgroups entry.
18075
a9e836b0
UD
18076 * nss/makedb.c (compute_tables): Check result of multiple hash table
18077 sizes to minimize maximum chain length.
18078
2666d441
UD
180792011-06-14 Ulrich Drepper <drepper@gmail.com>
18080
18081 * Versions.def: Add entry for libnss_db.
18082 * shlib-versions: Likewise.
18083 * nss/Makefile: Add rules to build libnss_db.
18084 * nss/Versions: Add libnss_db information. Organize libnss_files
18085 entries better.
18086 * nss/db-Makefile: Add gshadow support. Change rules for the new
18087 makedb progra. Some minor improvements to generate smaller files.
18088 * nss/nss_db/nss_db.h: Move NSS database header data structures to
18089 here from...
18090 * nss/makedb.c: ...here.
18091 Improve database format to be smaller and require less memory at
18092 runtime.
18093 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
18094 db anymore.
18095 * nss/nss_db/db-netgrp.c: Likewise.
18096 * nss/nss_db/db-open.c: Likewise.
18097 * nss/nss_files/flies-XXX.x: Adjust comments.
18098 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
18099 * nss/nss_files/files-grp.c: Likewise.
18100 * nss/nss_files/files-hosts.c: Likewise.
18101 * nss/nss_files/files-network.c: Likewise.
18102 * nss/nss_files/files-proto.c: Likewise.
18103 * nss/nss_files/files-pwd.c: Likewise.
18104 * nss/nss_files/files-rpc.c: Likewise.
18105 * nss/nss_files/files-service.c: Likewise.
18106 * nss/nss_files/files-sgrp.c: Likewise.
18107 * nss/nss_files/files-spwd.c: Likewise.
18108 * nss/nss_db/db-alias.c: Removed.
18109 * nss/nss_db/dummy-db.h: Removed.
18110
9ee76b5a
UD
181112011-06-02 Ulrich Drepper <drepper@gmail.com>
18112
18113 * nss/makedb.c: Rewritten to not use database library.
18114 * nss/Makefile: Update to build new makedb program.
18115
c71ca1f8
AJ
181162011-06-14 Andreas Jaeger <aj@suse.de>
18117
18118 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
18119 memset declaration.
18120
3154bfb8
UD
181212011-06-10 Andreas Schwab <schwab@redhat.com>
18122
18123 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
18124 tmpbuf.
18125
b350afab
RM
181262011-06-10 Roland McGrath <roland@hack.frob.com>
18127
decd4e50
RM
18128 * Makerules (shlib.lds): Fail if the linker script comes out empty.
18129 * elf/Makefile ($(objpfx)ld.so): Likewise.
18130
5615eaf2
RM
18131 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
18132 Don't list ld.so twice in dependencies.
18133
18134 * posix/bug-regex31.c: Include <stdlib.h>.
18135
18136 * nscd/hstcache.c (cache_addhst): Remove unused variable.
18137
18138 * nis/nss_compat/compat-spwd.c
18139 (getspent_next_nss_netgr): Remove unused variable.
18140 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
18141
18142 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
18143 nonmembers" output to use the right array.
18144
18145 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18146
18147 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18148
18149 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18150 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18151 * catgets/gencat.c (read_input_file): Likewise.
18152 * locale/programs/locarchive.c (enlarge_archive): Likewise.
18153
18154 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18155 variable definition inside #if's controlling its use.
18156
18157 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18158
18159 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18160
18161 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18162
18163 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18164 unreachable code.
18165
18166 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18167
b68e08db
RM
18168 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18169 * configure: Regenerated.
18170
b350afab
RM
18171 * Makerules: Revert last change.
18172 * elf/Makefile: Likewise.
18173
28368601
RM
181742011-06-09 Roland McGrath <roland@hack.frob.com>
18175
18176 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18177 * elf/Makefile ($(objpfx)librtld.os): Likewise.
18178 (reloc-link): Likewise.
18179
11988f8f
UD
181802011-06-09 Ulrich Drepper <drepper@gmail.com>
18181
18182 * elf/Makefile: Add rules to build pldd.
18183 * elf/pldd.c: New file.
18184 * elf/pldd-xx.c: New file.
18185
e80fab37
UD
181862011-06-07 Ulrich Drepper <drepper@gmail.com>
18187
18188 * version.h: Update for 2.15 development version.
18189
9b849836
DM
181902011-06-07 David S. Miller <davem@davemloft.net>
18191
18192 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18193 ifuncs.
18194 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18195 elf_machine_lazy_rel): Likewise.
18196 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18197 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18198 elf_machine_lazy_rel): Likewise.
18199 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18200 dl_hwcap via passed in argument.
18201 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18202 Likewise.
18203
5a31b283
AK
182042011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18205
18206 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
18207
069e52f8
RM
182082011-06-06 Roland McGrath <roland@hack.frob.com>
18209
18210 [BZ #12849]
18211 * manual/fdl-1.1.texi: New file, verbatim from:
18212 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18213 * manual/lgpl-2.1.texi: New file, verbatim from:
18214 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18215 * manual/Makefile (licenses): New variable, list those new file names.
18216 (texis): Use it.
18217 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18218
18219 * manual/fdl.texi: File removed.
18220 * manual/lesser.texi: File removed.
18221 * manual/libc.texinfo (Copying, Documentation License):
18222 Use new @include file names, put @appendix directive before @include.
18223
f16846a5
JJ
182242011-06-04 Jakub Jelinek <jakub@redhat.com>
18225
18226 [BZ #12841]
18227 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18228 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18229 (mq_open): Add __NTH.
18230
3d29045b
L
182312011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18232
18233 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18234 Assume Intel Core i3/i5/i7 processor if AVX is available.
18235
8c297311
UD
182362011-05-31 Ulrich Drepper <drepper@gmail.com>
18237
18238 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18239 typo.
18240
c8fc0c91
UD
182412011-05-31 Andreas Schwab <schwab@redhat.com>
18242
18243 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18244 memory. Use alloca_account. Fix memory leak when retrying.
18245
5b27a807
UD
182462011-05-31 Ulrich Drepper <drepper@gmail.com>
18247
356f8bc6
UD
18248 * version.h (RELEASE): Bump for 2.14 release.
18249 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18250
5b27a807
UD
18251 * config.make.in (RANLIB): Remove entry.
18252
01f16ab0
UD
182532011-05-30 Ulrich Drepper <drepper@gmail.com>
18254
41fce8bd
UD
18255 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18256 (libc.pot): Work around missing support for .ksh extension in xgettext.
18257
4769ae77
UD
18258 [BZ #12684]
18259 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18260 if both request failed.
18261 (send_dg): In case of server errors clear resplen or *resplen2.
18262
6b1e7d19
UD
18263 [BZ #12454]
18264 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18265 when there are multiple maps.
18266 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18267 (_dl_fini): Remove test here.
18268
01f16ab0
UD
18269 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18270
b1ebd700
UD
182712011-05-29 Ulrich Drepper <drepper@gmail.com>
18272
7ae22829
UD
18273 [BZ #12350]
18274 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18275 bit from old_res_options.
18276 (gaih_inet): Likewise.
18277
553149f6 18278 [BZ #11099]
18a84741 18279 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
18280 as signed.
18281
652ffab1
UD
18282 * resolv/res_init.c (res_setoptions): Make the code more compact.
18283
16985fd0
UD
18284 [BZ #11558]
18285 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18286 set RES_USEVC.
18287
0464f746
UD
18288 [BZ #11634]
18289 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18290
7d17596c
UD
18291 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18292
cf6bbbd7
UD
18293 [BZ #11781]
18294 * malloc/malloc.h: Declare malloc hook variables as volatile.
18295
13f1ab36
UD
18296 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18297 in last patch.
18298
b1ebd700
UD
18299 [BZ #11799]
18300 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 18301 raise in the comment.
80e2212d
UD
18302 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18303 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18304 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 18305
ce67228d
UD
183062011-05-28 Ulrich Drepper <drepper@gmail.com>
18307
8887a920
UD
18308 [BZ #12811]
18309 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18310 grow the buffers more if it already has to be sufficient.
18311 (build_wcs_upper_buffer): Likewise.
18312 * posix/regexec.c (check_matching): Likewise.
18313 (clean_state_log_if_needed): Likewise.
18314 (extend_buffers): Don't enlarge buffers beyond size of the input
18315 buffer.
18316 Patches mostly by Emil Wojak <emil@wojak.eu>.
18317 * posix/bug-regex32.c: New file.
18318 * posix/Makefile (tests): Add bug-regex32.
18319
4f031072
UD
18320 * locale/findlocale.c (_nl_find_locale): Return right away if
18321 _nl_explode_name failed.
18322 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18323
d0478f0c
UD
18324 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18325
de81b246
UD
18326 * debug/xtrace.sh: Unify messages.
18327 * malloc/memusage.sh: Likewise.
18328
c738465a
UD
18329 [BZ #12813]
18330 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18331 time symbol from vDSO. Substitute with vsyscall if not available.
18332 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18333 __vdso_time.
18334
f1f929d7
UD
18335 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18336 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18337 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18338 Add sendmmsg and internal_sendmmsg.
18339 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18340 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18341 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18342
ce67228d
UD
18343 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18344 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18345 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18346
e57420c6
UD
183472011-05-27 Ulrich Drepper <drepper@gmail.com>
18348
a8509ca5
UD
18349 [BZ #12813]
18350 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18351 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18352 available.
18353 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18354 __vdso_getcpu.
18355
e57420c6
UD
18356 [BZ #12814]
18357 * iconvdata/Makefile (tests): Add bug-iconv9.
18358 * iconvdata/bug-iconv9.c: New file.
18359
4d07db15
AS
183602011-05-27 Andreas Schwab <schwab@redhat.com>
18361
18362 [BZ #12814]
18363 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18364
ea486f69
JJ
183652011-05-25 Jakub Jelinek <jakub@redhat.com>
18366
18367 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18368 (struct user_regs_struct): Change intcs field back to cs.
18369
6f038433
UD
183702011-05-25 Ulrich Drepper <drepper@gmail.com>
18371
18372 * po/ja.po: Update from translation team.
18373
67f86a25
UD
183742011-05-23 Ulrich Drepper <drepper@gmail.com>
18375
18376 [BZ #12795]
18377 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18378 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18379
def7fbd6
AS
183802011-05-20 Andreas Schwab <schwab@redhat.com>
18381
18382 * stdlib/longlong.h: Update from GCC.
18383
f50ef8f1
AS
183842011-05-23 Andreas Schwab <schwab@redhat.com>
18385
18386 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18387 parameter name.
18388 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18389 Add parameter name.
18390 (__sysconf): Pass it down.
18391
de7ce8f1
UD
183922011-05-22 Ulrich Drepper <drepper@gmail.com>
18393
f2962a71
UD
18394 [BZ #12671]
18395 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18396 some situations.
18397 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18398 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18399 add in in __libc_use_alloca calls. Adjust callers.
18400 (glob): Use malloc in some situations.
18401
de7ce8f1
UD
18402 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18403 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18404 pltexit.
18405
aec84f53
UD
184062011-05-21 Ulrich Drepper <drepper@gmail.com>
18407
05bb4a68
UD
18408 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18409 and CLOCK_BOOTTIME_ALARM.
18410
7ea72f99
UD
18411 [BZ #12782]
18412 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18413 is returned.
18414
7e4afad5
UD
18415 * string/_strerror.c (__strerror_r): Print negative errors as signed
18416 numbers.
18417
8e211fec
UD
18418 [BZ #12777]
18419 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18420 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18421 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18422
f7d82dc9
UD
18423 * configure.in: Fix typo in redirection and correct removal of test
18424 files in two cases.
18425
cc9e536d
UD
18426 [BZ #12788]
18427 * locale/setlocale.c (new_composite_name): Fix test to check for
18428 identical name of all categories.
18429
aec84f53
UD
18430 [BZ #12792]
18431 * libio/filedoalloc.c (local_isatty): New function.
18432 (_IO_file_doallocate): Use local_isatty.
18433 * stdio-common/perror.c (perror): In case a new stream is used
18434 forward the stream error.
18435 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18436 error flag.
18437
78e64fdc
RT
184382011-05-20 Ulrich Drepper <drepper@gmail.com>
18439
34a9094f
UD
18440 [BZ #11869]
18441 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18442 alloca.
18443 * include/alloca.h (extend_alloca_account): Define.
18444
78e64fdc
RT
18445 [BZ #11857]
18446 * posix/regex.h: Fix comments with documentation of user-accessible
18447 fields after compilation and describe correct free'ing of pattern
18448 after re_compile_pattern.
18449 Patch by Reuben Thomas <rrt@sc3d.org>.
18450
457bddfc
RA
184512011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18452
18453 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18454 and -mno-altivec to prevent the compiler from using Altivec and/or
18455 VSX instructions when the corresponding registers are not available.
18456
a4527b51
AS
184572011-05-19 Andreas Schwab <schwab@redhat.com>
18458
18459 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18460
ed690b2f
UD
184612011-05-19 Ulrich Drepper <drepper@gmail.com>
18462
18463 * libio/freopen.c (freopen): Use __dup2, not dup2.
18464 * libio/freopen64.c (freopen64): Likewise.
18465
8db73634
L
184662011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18467
18468 [BZ #12775]
18469 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18470 * math/Makefile (tests): Add test-powl.
18471 (CFLAGS-test-powl.c): Define.
18472 * math/test-powl.c: New file.
18473
0a197a9d
L
184742011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18475
18476 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18477
ee30c380
UD
184782011-05-17 Ulrich Drepper <drepper@gmail.com>
18479
18480 [BZ #11837]
18481 * iconvdata/gb18030.c: Update to GB18020-2005.
18482
6ce75379
UD
184832011-05-16 Ulrich Drepper <drepper@gmail.com>
18484
a4b89fd8
AR
18485 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18486 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18487 Patch by Aharon Robbins <arnold@skeeve.com>.
18488
ea389b12
UD
18489 [BZ #11892]
18490 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18491 on the stack.
18492
68a3f91f
UD
18493 [BZ #11895]
18494 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18495 through underflows.
18496
15cc7dd1
UD
18497 [BZ #12766]
18498 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18499 point to strings before performing equality test for error_one_per_line
18500 mode.
18501
f3799213
UD
18502 [BZ #11697]
18503 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18504
d79a9c94
UD
18505 [BZ #11820]
18506 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18507 (struct user_fpregs_struct): Avoid __uint*_t types.
18508
56e5eb46
UD
18509 [BZ #6420]
18510 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18511 symbol info. Use it instead of calling _dl_addr locally.
18512 (lock_and_info): New function.
18513 (tr_freehook): Call lock_and_info and pass symbol info as additional
18514 parameter to tr_where.
18515 (tr_mallochook): Likewise.
18516 (tr_reallochook): Likewise.
18517 (tr_memalignhook): Likewise.
18518
6ce75379
UD
18519 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18520 used and couldn't be at all thread-safe.
18521
f8a3b5bf
UD
185222011-05-15 Ulrich Drepper <drepper@gmail.com>
18523
94b7cc37
UD
18524 * libio/freopen.c (freopen): Don't close old file descriptor
18525 before the new one is opened. Instead dup the new file descriptor
18526 to the old one after the new stream is created.
18527 * libio/freopen64.c (freopen64): Likewise.
18528 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18529 * libio/fileops.c (_IO_new_file_close_it): Handle new
18530 _IO_FLAGS2_NOCLOSE flag.
18531 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18532 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18533 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18534 _IO_FLAGS2_NOCLOSE flag.
18535 * include/unistd.h: Add hidden_proto for dup3.
18536 Define __have_dup3.
18537 * io/dup3.c: Define hidden symbol.
18538 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18539
bd25564e
UD
18540 [BZ #7101]
18541 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18542 when an incomplete long option is used.
18543 * posix/tst-getopt_long1.c: New file.
18544 * posix/Makefile (tests): Add tst-getopt_long1.
18545
c84cfef4
UD
18546 [BZ #10138]
18547 * scripts/config.guess: Update from autoconf-2.68.
18548 * scripts/config.sub: Likewise.
18549
3b85df27
UD
18550 [BZ #10157]
18551 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18552 tests into ...
18553 (has_cpuclock): ...this. New function.
18554 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18555 macro here based on has_cpuclock code.
18556
15a856b1
UD
18557 [BZ #10149]
18558 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18559 First byte (not low byte) is now always NUL.
18560 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18561
05f399e6
UD
18562 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18563 Use non-cancelable interfaces.
18564
10a52685 18565 [BZ #9809]
94ecc67d
UD
18566 * locale/iso-639.def: Add entry for Sorani.
18567
f8a3b5bf
UD
18568 [BZ #11901]
18569 * include/stdlib.h: Move include protection to the right place.
18570 Define abort_msg_s. Declare __abort_msg with it.
18571 * stdlib/abort.c (__abort_msg): Adjust type.
18572 * assert/assert.c (__assert_fail_base): New function. Majority
18573 of code from __assert_fail. Allocate memory for __abort_msg with
18574 mmap.
18575 (__assert_fail): Now call __assert_fail_base.
18576 * assert/assert-perr.c: Remove bulk of implementation. Use
18577 __assert_fail_base.
18578 * include/assert.hL Declare __assert_fail_base.
18579 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18580 mmap.
18581 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18582
1af4e298
UD
185832011-05-14 Ulrich Drepper <drepper@gmail.com>
18584
f8a3b5bf 18585 [BZ #11952]
d26dfc60
MG
18586 [BZ #12453]
18587 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18588 until all modules are registered in the DTV.
18589 * elf/Makefile: Add rules to build and run tst-tls19.
18590 * elf/tst-tls19.c: New file.
18591 * elf/tst-tls19mod1.c: New file.
18592 * elf/tst-tls19mod2.c: New file.
18593 * elf/tst-tls19mod3.c: New file.
18594 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18595
2fc54d6f
UD
18596 [BZ #12083]
18597 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18598 correctly.
18599
98d76b46
UD
18600 [BZ #12601]
18601 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18602 two-byte sequence errors.
18603 * iconvdata/Makefile (tests): Add bug-iconv8.
18604 * iconvdata/bug-iconv8.c: New file.
18605
da3c19ef
UD
18606 [BZ #12626]
18607 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18608 buf2 definition.
18609
ca408c15
UD
18610 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18611
d6f67f7d
UD
18612 [BZ #12432]
18613 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18614 (dummy_getcfa): New function.
18615 (init): Get _Unwind_GetCFA address, use dummy if not found.
18616 (backtrace_helper): In recursion check, also check whether CFA changes.
18617 (__backtrace): Completely initialize arg.
18618
1af4e298 18619 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
18620 storing incomplete byte sequence in state object. Avoid testing for
18621 guaranteed too small input if we know there is enough data available.
1af4e298 18622
da62f81b
AS
186232011-05-11 Andreas Schwab <schwab@redhat.com>
18624
18625 * Makeconfig (+link-pie): Indent.
18626 * Rules (binaries-pie): Define if $(have-fpie) and
18627 $(build-shared).
18628 (binaries-shared): Also filter out $(binaries-pie).
18629 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18630 * nscd/Makefile (others-pie): Add nscd.
18631 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18632 ($(objpfx)nscd): Remove command override.
18633 * login/Makefile (others-pie): Add pt_chown.
18634 ($(objpfx)pt_chown): Remove command override.
18635 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18636 remove command overrides.
18637
fcabc0f8
UD
186382011-05-13 Ulrich Drepper <drepper@gmail.com>
18639
20030ae6
UD
18640 * libio/tst_putwc.c: Fix error messages.
18641
fcabc0f8
UD
18642 [BZ #12724]
18643 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18644 currently writing and seek to current position when not.
18645 * libio/Makefile (tests): Add bug-fclose1.
18646 * libio/bug-fclose1.c: New file.
18647
320a5dc0
PB
186482011-05-12 Ulrich Drepper <drepper@gmail.com>
18649
18650 [BZ #12511]
18651 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18652 don't set DF_1_NODELETE here.
18653 (do_lookup_x): When entering new entry test for copy relocation
18654 and if necessary set DF_1_NODELETE flag.
18655 * elf/tst-unique4.cc: New file.
18656 * elf/tst-unique4.h: New file.
18657 * elf/tst-unique4lib.cc: New file.
18658 * elf/Makefile: Add rules to build and run tst-unique4.
18659 Patch by Piotr Bury <pbury@goahead.com>.
18660
22836f52
UD
186612011-05-11 Ulrich Drepper <drepper@gmail.com>
18662
f574184a
UD
18663 [BZ #12052]
18664 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18665
e1fb097f
UD
18666 [BZ #12625]
18667 * misc/mntent_r.c (addmntent): Flush the stream after the output
18668
22836f52
UD
18669 [BZ #12393]
18670 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18671 (is_trusted_path_normalize): Skip initial colon. Append slash
18672 to empty buffer. Duplicate is_trusted_path code but allow
18673 constructed patch to be prefix.
18674 (is_dst): Allow $ORIGIN followed by /.
18675 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18676 Correct testing of result of is_trusted_path_normalize
18677 (decompose_rpath): Fix warning.
18678
7b3b0b2a
UD
186792011-05-10 Ulrich Drepper <drepper@gmail.com>
18680
18681 [BZ #11257]
18682 * grp/initgroups.c (internal_getgrouplist): When we found the service
18683 list through the initgroups entry in nsswitch.conf do not always
18684 continue on a successful lookup. Don't always use the
eac80ce2 18685 __nss_group_database value if it is set.
7b3b0b2a
UD
18686 * nss/nsswitch.conf (initgroups): Change action for successful db
18687 lookup to continue for compatibility.
18688
2a81eaa5
UD
186892011-05-09 Ulrich Drepper <drepper@gmail.com>
18690
be97a69e
UD
18691 [BZ #11532]
18692 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18693 and CP774 modules.
18694 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18695 and CP774 modules.
18696 * iconvdata/tst-tables.sh: Likewise.
18697 * iconvdata/cp770.c: New file.
18698 * iconvdata/cp771.c: New file.
18699 * iconvdata/cp772.c: New file.
18700 * iconvdata/cp773.c: New file.
18701 * iconvdata/cp774.c: New file.
18702 * iconvdata/testdata/CP770: New file.
18703 * iconvdata/testdata/CP770..UTF8: New file.
18704 * iconvdata/testdata/CP771: New file.
18705 * iconvdata/testdata/CP771..UTF8: New file.
18706 * iconvdata/testdata/CP772: New file.
18707 * iconvdata/testdata/CP772..UTF8: New file.
18708 * iconvdata/testdata/CP773: New file.
18709 * iconvdata/testdata/CP773..UTF8: New file.
18710 * iconvdata/testdata/CP774: New file.
18711 * iconvdata/testdata/CP774..UTF8: New file.
18712
18713 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18714 END CHARMAP line.
18715 * iconvdata/gen-8bit-gap.sh: Likewise.
18716 * iconvdata/gen-8bit.sh: Likewise.
18717
c1e9e399
UD
18718 * locale/iso-639.def: Add ary entry.
18719
24c55fb3 18720 [BZ #11258]
96b4b1b0
UD
18721 * locale/C-translit.h.in: Add U20A1 transliteration.
18722
bdc2f971
KB
18723 [BZ #12178]
18724 * locale/iso-639.def: Add wae entry.
18725 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18726
2952b117
UD
18727 [BZ #12545]
18728 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18729 for n.
18730
2a81eaa5
UD
18731 [BZ #12711]
18732 * locale/C-translit.h.in: Add entry for U20B9.
18733 Patch by pravin.d.s@gmail.com.
18734
28377d1b
UD
187352011-05-08 Ulrich Drepper <drepper@gmail.com>
18736
7fb90fb8
UD
18737 [BZ #12713]
18738 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18739 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
18740 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18741 in rtld. Use *stat64.
7fb90fb8 18742 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 18743 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 18744 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
18745 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18746 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18747 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18748 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18749 __fstatat64 macros.
7fb90fb8
UD
18750 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18751 * dirent/rewinddir.c: Add libc_hidden_def.
18752 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 18753 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 18754
28377d1b
UD
18755 * include/dirent.h (__alloc_dir): Add flags parameter.
18756 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18757 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18758 __alloc_dir.
18759 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18760 from fdopendir if O_CLOEXEC is already set.
18761
66bdbaa4
AM
187622011-03-15 Alan Modra <amodra@gmail.com>
18763
18764 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18765 l_tls_firstbyte_offset non-zero. Save padding offset in
18766 l_tls_firstbyte_offset for later use.
18767 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18768 freeing static tls block.
18769
95721191
JN
187702011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18771
18772 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18773 where #ifdef was intended. The intent is to prevent ARG_MAX from
18774 being defined by the kernel headers.
18775
f87dfb1f
UD
187762011-05-07 Ulrich Drepper <drepper@gmail.com>
18777
18778 [BZ #12734]
18779 * resolv/resolv.h: Define RES_NOTLDQUERY.
18780 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18781 no-tld-query and set RES_NOTLDQUERY.
18782 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18783 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18784 modern BIND to search name as TLD unless forbidden.
18785
47c3cd7a
UD
187862011-05-07 Petr Baudis <pasky@suse.cz>
18787 Ulrich Drepper <drepper@gmail.com>
18788
18789 [BZ #12393]
18790 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18791 (is_trusted_path): ...to here.
c1e9ea35 18792 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 18793 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 18794 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 18795
8a35c912
PP
187962011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18797
18798 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18799 __BEGIN/__END_DECLS.
18800
acd41f47
UD
188012011-05-06 Ulrich Drepper <drepper@gmail.com>
18802
18803 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18804 NSS_STATUS_NOTFOUND if no record was found.
18805
597df647
AS
188062011-05-05 Andreas Schwab <schwab@redhat.com>
18807
18808 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18809 (headers-not-in-tirpc): Remove rpc/netdb.h
18810 * resolv/netdb.h: Revert last change.
18811
b9af1301
PP
188122011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18813
18814 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18815 circular dependency between libgcc.a and libc.a.
18816
4e34d5f5
AS
188172011-05-05 Andreas Schwab <schwab@redhat.com>
18818
18819 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18820 * nis/Makefile: Don't install rpcsvc/*.
18821 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18822 instead of <rpc/types.h>.
18823 (MAXHOSTNAMELEN): Define.
18824
00ee369c
AS
188252011-05-03 Andreas Schwab <schwab@redhat.com>
18826
18827 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18828
0b592a30
MB
188292011-04-28 Maciej Babinski <mbabinski@google.com>
18830
18831 [BZ #12714]
18832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18833 gethostbyname4_r when IPv6 results are possible.
18834
6e04cbbe
UD
188352011-05-02 Ulrich Drepper <drepper@gmail.com>
18836
18837 [BZ #12723]
18838 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18839 _PC_PIPE_BUF handling.
18840
e4ecafe0
BH
188412011-04-30 Bruno Haible <bruno@clisp.org>
18842
18843 [BZ #12717]
18844 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18845 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18846 to 'int'.
18847 * inet/getnameinfo.c (getnameinfo): Likewise.
18848
125ee683
UD
188492011-04-29 Ulrich Drepper <drepper@gmail.com>
18850
18851 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18852 to groups setting in database lookup.
18853 * nss/nsswitch.conf: Add initgroups entry.
18854
b722481a
EB
188552011-04-22 Ulrich Drepper <drepper@gmail.com>
18856
18857 [BZ #12685]
18858 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18859 mode string.
18860 Patch by Eric Blake <eblake@redhat.com>.
18861
4df46dbd
L
188622011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18863
18864 * sunrpc/Makefile (need-export-routines): Add svc_run.
18865 (routines): Remove svc_run.
18866 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18867 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18868 * sunrpc/svc_run.c (svc_run): Likewise.
18869 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18870
e84142d2
UD
188712011-04-21 Ulrich Drepper <drepper@gmail.com>
18872
18873 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18874 problem in reallocation in last patch.
18875
877175d8
UD
188762011-04-20 Ulrich Drepper <drepper@gmail.com>
18877
18878 * sunrpc/Makefile: Move inclusion of Rules.
18879
ab8eed78
UD
188802011-04-19 Ulrich Drepper <drepper@gmail.com>
18881
18882 * nss/nss_files/files-initgroups.c: New file.
18883 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18884 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18885 _nss_files_initgroups_dyn.
18886
e3d8f584
RS
188872011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18888
18889 * elf/elf.h (R_ARM_IRELATIVE): Define.
18890
af190f45
UD
188912011-04-19 Ulrich Drepper <drepper@gmail.com>
18892
18893 * po/ru.po: Update from translation team.
18894
53cf59ef
UD
188952011-04-17 Ulrich Drepper <drepper@gmail.com>
18896
18897 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18898 dependencies.
18899
4c559bcd
MF
189002011-02-06 Mike Frysinger <vapier@gentoo.org>
18901
18902 [BZ #12653]
18903 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18904 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18905 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18906 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18907 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18908
4420675c
AS
189092011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18910
18911 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18912 differing bytes.
18913 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18914 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18915 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18916
75ea32ab
UD
189172011-04-17 Ulrich Drepper <drepper@gmail.com>
18918
18919 [BZ #12420]
18920 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18921 storing it.
18922 * stdlib/bug-getcontext.c: New file.
18923 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18924
27390476
AK
189252011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18926
18927 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18928 instructions into .machine "z9-109".
18929 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18930 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18931
10442705
AK
189322011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18933
18934 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18935 between environment variables and auxiliary vector.
18936
7b57bfe5
UD
189372011-04-16 Ulrich Drepper <drepper@gmail.com>
18938
18939 * Makefile: Add rules to build linkobj/libc.so.
18940 * include/libc-symbols.h: Define libc_hidden_nolink.
18941 * include/rpc/auth.h: Mark functions which are to be hidden.
18942 * include/rpc/auth_des.h: Likewise.
18943 * include/rpc/auth_unix.h: Likewise.
18944 * include/rpc/clnt.h: Likewise.
18945 * include/rpc/des_crypt.h: Likewise.
18946 * include/rpc/key_prot.h: Likewise.
18947 * include/rpc/pmap_clnt.h: Likewise.
18948 * include/rpc/pmap_prot.h: Likewise.
18949 * include/rpc/pmap_rmt.h: Likewise.
18950 * include/rpc/rpc_msg.h: Likewise.
18951 * include/rpc/svc.h: Likewise.
18952 * include/rpc/svc_auth.h: Likewise.
18953 * include/rpc/xdr.h: Likewise.
18954 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18955 * nss/Makefile: Likewise.
18956 * sunrpc/Makefile: Don't install headers. Build library with normal
18957 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18958 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18959 for the compat linking library. Remove use of INTDEF/INTUSE.
18960 * sunrpc/auth_none.c: Likewise.
18961 * sunrpc/auth_unix.c: Likewise.
18962 * sunrpc/authdes_prot.c: Likewise.
18963 * sunrpc/authuxprot.c: Likewise.
18964 * sunrpc/clnt_gen.c: Likewise.
18965 * sunrpc/clnt_perr.c: Likewise.
18966 * sunrpc/clnt_raw.c: Likewise.
18967 * sunrpc/clnt_simp.c: Likewise.
18968 * sunrpc/clnt_tcp.c: Likewise.
18969 * sunrpc/clnt_udp.c: Likewise.
18970 * sunrpc/clnt_unix.c: Likewise.
18971 * sunrpc/des_crypt.c: Likewise.
18972 * sunrpc/des_soft.c: Likewise.
18973 * sunrpc/get_myaddr.c: Likewise.
18974 * sunrpc/key_call.c: Likewise.
18975 * sunrpc/key_prot.c: Likewise.
18976 * sunrpc/netname.c: Likewise.
18977 * sunrpc/pm_getmaps.c: Likewise.
18978 * sunrpc/pm_getport.c: Likewise.
18979 * sunrpc/pmap_clnt.c: Likewise.
18980 * sunrpc/pmap_prot.c: Likewise.
18981 * sunrpc/pmap_prot2.c: Likewise.
18982 * sunrpc/pmap_rmt.c: Likewise.
18983 * sunrpc/publickey.c: Likewise.
18984 * sunrpc/rpc_cmsg.c: Likewise.
18985 * sunrpc/rpc_common.c: Likewise.
18986 * sunrpc/rpc_dtable.c: Likewise.
18987 * sunrpc/rpc_prot.c: Likewise.
18988 * sunrpc/rpc_thread.c: Likewise.
18989 * sunrpc/rtime.c: Likewise.
18990 * sunrpc/svc.c: Likewise.
18991 * sunrpc/svc_auth.c: Likewise.
18992 * sunrpc/svc_authux.c: Likewise.
18993 * sunrpc/svc_raw.c: Likewise.
18994 * sunrpc/svc_run.c: Likewise.
18995 * sunrpc/svc_simple.c: Likewise.
18996 * sunrpc/svc_tcp.c: Likewise.
18997 * sunrpc/svc_udp.c: Likewise.
18998 * sunrpc/svc_unix.c: Likewise.
18999 * sunrpc/svcauth_des.c: Likewise.
19000 * sunrpc/xcrypt.c: Likewise.
19001 * sunrpc/xdr.c: Likewise.
19002 * sunrpc/xdr_array.c: Likewise.
19003 * sunrpc/xdr_float.c: Likewise.
19004 * sunrpc/xdr_intXX_t.c: Likewise.
19005 * sunrpc/xdr_mem.c: Likewise.
19006 * sunrpc/xdr_rec.c: Likewise.
19007 * sunrpc/xdr_ref.c: Likewise.
19008 * sunrpc/xdr_sizeof.c: Likewise.
19009 * sunrpc/xdr_stdio.c: Likewise.
19010
e6c61494
UD
190112011-04-10 Ulrich Drepper <drepper@gmail.com>
19012
19013 [BZ #12650]
19014 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
19015 * sysdeps/ia64/dl-tls.h: Likewise.
19016 * sysdeps/powerpc/dl-tls.h: Likewise.
19017 * sysdeps/s390/dl-tls.h: Likewise.
19018 * sysdeps/sh/dl-tls.h: Likewise.
19019 * sysdeps/sparc/dl-tls.h: Likewise.
19020 * sysdeps/x86_64/dl-tls.h: Likewise.
19021 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
19022
34fe483e
AS
190232011-03-14 Andreas Schwab <schwab@redhat.com>
19024
19025 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
19026 rpath element also skip the following colon.
19027 (expand_dynamic_string_token): Add is_path parameter and pass
19028 down to DL_DST_REQUIRED and _dl_dst_substitute.
19029 (decompose_rpath): Call expand_dynamic_string_token with
19030 non-zero is_path. Ignore empty rpaths.
19031 (_dl_map_object_from_fd): Call expand_dynamic_string_token
19032 with zero is_path.
19033
f12a32e6
AS
190342011-04-08 Andreas Schwab <schwab@linux-m68k.org>
19035
19036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19037 Make cancelable.
19038
38a7d692
UD
190392011-04-09 Ulrich Drepper <drepper@gmail.com>
19040
19041 [BZ #12655]
19042 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
19043 Patch by Filipe David Manana <fdmanana@apache.org>.
19044
e451d22b
AS
190452011-04-07 Andreas Schwab <schwab@redhat.com>
19046
19047 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
19048 Maintain aligned stack.
19049 (CHECK_RSP): Remove unused macro.
19050
dedc7c7b
UD
190512011-04-03 Ulrich Drepper <drepper@gmail.com>
19052
19053 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
19054 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
19055
94521213
UD
190562011-04-02 Ulrich Drepper <drepper@gmail.com>
19057
19058 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
19059
8cb700c0 19060 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 19061
0354e355
L
190622011-03-26 H.J. Lu <hongjiu.lu@intel.com>
19063
19064 [BZ #12518]
19065 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
19066 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
19067 * sysdeps/x86_64/memmove.c: New file.
19068 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
19069 (memcpy): Renamed to ...
19070 (__new_memcpy): This.
19071 (memcpy): Provide GLIBC_2_14 memcpy.
19072 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
19073 (memcpy): Provide GLIBC_2_2_5 memcpy.
19074
8593482f
UD
190752011-04-01 Ulrich Drepper <drepper@gmail.com>
19076
19077 [BZ #12631]
19078 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
19079
81a5726b
AS
190802011-03-30 Andreas Schwab <schwab@redhat.com>
19081
19082 * misc/syncfs.c: New file.
19083 * misc/Makefile (routines): Add syncfs.
19084 * posix/unistd.h: Declare syncfs.
19085 * sysdeps/unix/syscalls.list: Add syncfs.
19086
00e5419f
AS
190872011-04-01 Andreas Schwab <schwab@redhat.com>
19088
19089 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
19090 open_by_handle_at.
19091 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19092 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19093 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19094 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19095 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19096 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
19097 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19098
748876bf
UD
190992011-04-01 Ulrich Drepper <drepper@gmail.com>
19100
658e451d
UD
19101 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
19102 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19103 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
19104 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19105 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19106 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19107 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19108
748876bf
UD
19109 * io/Makefile: Compile fallocate.c, fallocate64.c, and
19110 sync_file_range.c with -fexceptions.
19111 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
19112 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
19113 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19114 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19115 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
19116 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19117 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
19118 sync_file_range as cancellation point
19119 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
19120 now a wrapper around __call_sync_file_range with cancellation handling.
19121 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
19122 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
19123 function name to __call_sync_file_range.
19124 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
19125 Add call_sync_file_range.
748876bf 19126
6e63d5e1
AS
191272011-04-01 Andreas Schwab <schwab@redhat.com>
19128
19129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 19130 bits/timex.h.
6e63d5e1 19131
46998f74
UD
191322011-04-01 Ulrich Drepper <drepper@gmail.com>
19133
4c1423ed
UD
19134 * iconv/iconv.h: Fix typo in comment.
19135 * io/fcntl.h: Likewise.
19136 * libio/stdio.h: Likewise.
19137 * posix/spawn.h: Likewise.
19138 * posix/unistd.h: Likewise.
19139 * stdlib/stdlib.h: Likewise.
19140 * time/time.h: Likewise.
19141 * wcsmbs/wchar.h: Likewise.
19142
158648c0
UD
19143 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
19144 open_by_handle): Add.
19145 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19146 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
19147 Augment a few comments.
19148 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19149 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19150 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19151 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19152 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19153 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19154 open_by_handle.
19155
46998f74
UD
19156 * io/fcntl.h (AT_EMPTY_PATH): Define.
19157
83fe108b
UD
191582011-03-30 Ulrich Drepper <drepper@gmail.com>
19159
19160 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19161 * sysdeps/unix/sysv/linux/bits/time.h: New file.
19162 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19163 to...
19164 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
19165 * Versions.def: Add GLIBC_2.14.
19166 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19167 Export.
83fe108b 19168
bb242059
UD
191692011-03-22 Ulrich Drepper <drepper@gmail.com>
19170
19171 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19172 round counter.
19173 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19174
c97a1282
L
191752011-03-20 H.J. Lu <hongjiu.lu@intel.com>
19176
19177 [BZ #12597]
19178 * string/test-strncmp.c (do_page_test): New function.
19179 (check2): Likewise.
19180 (test_main): Call check2.
19181 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19182
2a115601
UD
191832011-03-20 Ulrich Drepper <drepper@gmail.com>
19184
19185 [BZ #12587]
19186 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19187 Handle cache information in CPU leaf 4.
19188 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19189
8126d904
UD
191902011-03-18 Ulrich Drepper <drepper@gmail.com>
19191
042c49c6 19192 [BZ #12583]
8126d904
UD
19193 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19194 character representation.
19195 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19196
ccfe366e
RA
191972011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
19198
19199 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19200 END(__isnan) to END(__isnanf) to match function entry point/label
19201 EALIGN(__isnanf,...).
19202
c6e13027
JJ
192032011-03-10 Jakub Jelinek <jakub@redhat.com>
19204
19205 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19206
33f85a3f
UD
192072011-03-10 Ulrich Drepper <drepper@gmail.com>
19208
028478fa
UD
19209 [BZ #12510]
19210 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19211 copy from the symbol referenced in the relocation to initialize the
19212 used variable.
19213 Patch by Piotr Bury <pbury@goahead.com>.
19214 * elf/Makefile: Add rules to build and tst-unique3.
19215 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19216 * elf/tst-unique3.cc: New file.
19217 * elf/tst-unique3.h: New file.
19218 * elf/tst-unique3lib.cc: New file.
19219 * elf/tst-unique3lib2.cc: New file.
19220
33f85a3f
UD
19221 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19222
03592fc7
MF
192232011-03-10 Mike Frysinger <vapier@gentoo.org>
19224
19225 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19226 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
19227 to _start.
03592fc7 19228
6a5ee102
UD
192292011-03-06 Ulrich Drepper <drepper@gmail.com>
19230
19231 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19232 to-be-loaded object along a path to loader is ld.so.
19233
7e4ba49c
HJ
192342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19235 Ulrich Drepper <drepper@gmail.com>
19236
19237 * sysdeps/x86_64/memset.S: After aligning destination, code
19238 branches to different locations depending on the value of
19239 misalignment, when multiarch is enabled. Fix this.
19240
192412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19242
19243 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19244 Set _x86_64_preferred_memory_instruction for AMD processsors.
19245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19246 Set bit_Prefer_SSE_for_memop for AMD processors.
19247
13a804de
UD
192482011-03-04 Ulrich Drepper <drepper@gmail.com>
19249
19250 * libio/fmemopen.c (fmemopen): Optimize a bit.
19251
9d25c392
AS
192522011-03-03 Andreas Schwab <schwab@redhat.com>
19253
19254 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19255
a5543c6a
RM
192562011-03-03 Roland McGrath <roland@redhat.com>
19257
19258 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19259
012d35f7
DM
192602011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19261
7e4ba49c 19262 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
19263 __bzero_ultra1 instead of __memset_ultra1.
19264
4bff6e01
AS
192652011-02-23 Andreas Schwab <schwab@redhat.com>
19266 Ulrich Drepper <drepper@gmail.com>
19267
19268 [BZ #12509]
19269 * include/link.h (struct link_map): Add l_orig_initfini.
19270 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19271 returning unsuccessfully.
19272 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19273 close of a file loaded at startup, restore the original l_initfini
19274 list.
19275 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19276 list, store the pointer.
19277 * elf/Makefile ($(objpfx)noload-mem): New rule.
19278 (noload-ENV): Define.
19279 (tests): Add $(objpfx)noload-mem.
19280 * elf/noload.c: Include <memcheck.h>.
19281 (main): Call mtrace. Close all opened handles.
19282
f2092faf
AS
192832011-02-17 Andreas Schwab <schwab@redhat.com>
19284
19285 [BZ #12454]
19286 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19287 dependencies are missing.
19288
6c8a2e88
ST
192892011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19290
f2092faf 19291 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
19292 Hurd needs munmap.
19293 * sysdeps/mach/hurd/ifreq.h: New file.
19294
84a42118
PB
192952011-01-27 Petr Baudis <pasky@suse.cz>
19296 Ulrich Drepper <drepper@gmail.com>
19297
071f805e 19298 [BZ 12445]#
84a42118
PB
19299 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19300 to extend_alloca().
19301 * stdio-common/bug23.c: New file.
19302 * stdio-common/Makefile (tests): Add bug23.
19303
e23fe25b
AS
193042010-09-28 Andreas Schwab <schwab@redhat.com>
19305 Ulrich Drepper <drepper@gmail.com>
19306
19307 [BZ #12489]
19308 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19309 before performing relro protection. At old place add assertion
19310 to make sure nothing changed.
19311
d3f02e10
NS
193122011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19313 Glauber de Oliveira Costa <glommer@gmail.com>
19314
19315 * elf/elf.h: Add new ARM TLS relocs.
19316
d55fd7a5
RA
193172011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19318
19319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19320 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19321 cast from r3.
19322 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19323 'tests' variable.
19324 * sysdeps/wordsize-64/tst-writev.c: New file.
19325
2206397e
RA
193262011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19327
19328 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19329 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19330 insns in _dl_start to prevent a TOC reference before relocs are
19331 resolved.
19332
e9433893
UD
193332011-02-15 Ulrich Drepper <drepper@gmail.com>
19334
19335 [BZ #12469]
19336 * Makeconfig: Remove RANLIB definition.
19337 * Makerules: Don't use RANLIB.
19338 * aclocal.m4: Remove ranlib test.
19339 * configure.in: No need to check for ranlib.
19340 * elf/rtld-Rules: Don't use RANLIB.
19341
f75286c6
ST
193422011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19343
8e31c82d
ST
19344 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19345 protection macro.
19346 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19347 inclusion protection macro.
19348
f75286c6
ST
19349 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19350 SIGRTMIN and SIGRTMAX and print information in that case only when
19351 SIGRTMIN is defined.
19352
c1d0e639
JJ
193532011-02-11 Jakub Jelinek <jakub@redhat.com>
19354
19355 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19356 arginfo fn returning -1.
19357
19358 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19359 and thousands string is zero terminated.
19360
edf9294e
AS
193612011-02-03 Andreas Schwab <schwab@redhat.com>
19362
19363 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19364 sysdeps/unix/sysv/linux/bits/socket.h.
19365
2b7e92df
ST
193662011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19367
edf9294e
AS
19368 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19369 (__CPU_COUNT): Remove old macros.
19370 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19371 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19372 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
19373 (__sched_cpualloc, __sched_cpufree): Add declarations.
19374
a4c7ea7b
UD
193752011-02-05 Ulrich Drepper <drepper@gmail.com>
19376
19377 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19378 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19379 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19380 (readdhstai): Return value of addhstaiX call.
19381 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19382 (addgrbyX): Return value returned by cache_addgr.
19383 (readdgrbyname): Return value returned by addgrbyX.
19384 (readdgrbygid): Likewise.
19385 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19386 (addpwbyX): Return value returned by cache_addpw.
19387 (readdpwbyname): Return value returned by addhstbyX.
19388 (readdpwbyuid): Likewise.
19389 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19390 (addservbyX): Return value returned by cache_addserv.
19391 (readdservbyname): Return value returned by addservbyX:
19392 (readdservbyport): Likewise.
19393 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19394 (addhstbyX): Return value returned by cache_addhst.
19395 (readdhstbyname): Return value returned by addhstbyX.
19396 (readdhstbyaddr): Likewise.
19397 (readdhstbynamev6): Likewise.
19398 (readdhstbyaddrv6): Likewise.
19399 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19400 (readdinitgroups): Return value returned by addinitgroupsX.
19401 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19402 (prune_cache): Keep track of timeout value of re-added entries.
19403 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19404 * nscd/nscd.h: Adjust prototypes of readd* functions.
19405
a0bf67cc
RM
194062011-02-04 Roland McGrath <roland@redhat.com>
19407
19408 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19409 (nis_stats): Likewise.
19410 * nis/nis_modify.c (nis_modify): Likewise.
19411 * nis/nis_remove.c (nis_remove): Likewise.
19412 * nis/nis_add.c (nis_add): Likewise.
19413
19414 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19415
19416 * posix/fnmatch_loop.c: Add some consts.
19417
19418 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19419
435b95eb
L
194202011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19421
19422 [BZ #12460]
19423 * config.make.in (config-cflags-novzeroupper): Define.
19424 * configure.in: Substitute libc_cv_cc_novzeroupper.
19425 * elf/Makefile (AVX-CFLAGS): Define.
19426 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19427 (CFLAGS-tst-auditmod4a.c): Likewise.
19428 (CFLAGS-tst-auditmod4b.c): Likewise.
19429 (CFLAGS-tst-auditmod6b.c): Likewise.
19430 (CFLAGS-tst-auditmod6c.c): Likewise.
19431 (CFLAGS-tst-auditmod7b.c): Likewise.
19432 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19433
8517b15e
UD
194342011-02-02 Ulrich Drepper <drepper@gmail.com>
19435
19436 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19437 function to the callback.
19438 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19439
10a656fe
AS
194402011-02-02 Andreas Schwab <schwab@redhat.com>
19441
19442 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19443 of errno.
19444
968dad0a
UD
194452011-01-19 Ulrich Drepper <drepper@gmail.com>
19446
9f94d2ea 19447 [BZ #11724]
968dad0a
UD
19448 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19449 of constructors.
19450 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19451 of destructors.
19452 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19453
19454 [BZ #11724]
19455 * elf/Makefile: Add rules to build and run new test.
19456 * elf/tst-initorder.c: New file.
19457 * elf/tst-initorder.exp: New file.
19458 * elf/tst-initordera1.c: New file.
19459 * elf/tst-initordera2.c: New file.
19460 * elf/tst-initordera3.c: New file.
19461 * elf/tst-initordera4.c: New file.
19462 * elf/tst-initorderb1.c: New file.
19463 * elf/tst-initorderb2.c: New file.
19464 * elf/tst-order-a1.c: New file.
19465 * elf/tst-order-a2.c: New file.
19466 * elf/tst-order-a3.c: New file.
19467 * elf/tst-order-a4.c: New file.
19468 * elf/tst-order-b1.c: New file.
19469 * elf/tst-order-b2.c: New file.
19470 * elf/tst-order-main.c: New file.
19471 New test case by George Gensure <werkt0@gmail.com>.
19472
86e92359
UD
194732010-10-01 Andreas Schwab <schwab@redhat.com>
19474
19475 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19476 decoding ACE if AI_CANONIDN.
19477
5d5732b0
UD
194782011-01-18 Ulrich Drepper <drepper@gmail.com>
19479
19480 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19481
a77e8cbc
UD
194822011-01-17 Ulrich Drepper <drepper@gmail.com>
19483
6392473f
UD
19484 * version.h (RELEASE): Bump for 2.13 release.
19485 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19486
620a0529
UD
19487 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19488
18ba70a5
UD
19489 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19490 MADV_NOHUGEPAGE.
32465c3e
UD
19491 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19492 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19493 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19494 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19495 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19496 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19497
c0dafcf1
UD
19498 * posix/getconf.c: Update copyright year.
19499 * catgets/gencat.c: Likewise.
19500 * csu/version.c: Likewise.
19501 * debug/catchsegv.sh: Likewise.
19502 * debug/xtrace.sh: Likewise.
19503 * elf/ldconfig.c: Likewise.
19504 * elf/ldd.bash.in: Likewise.
19505 * elf/sprof.c (print_version): Likewise.
19506 * iconv/iconv_prog.c: Likewise.
19507 * iconv/iconvconfig.c: Likewise.
19508 * locale/programs/locale.c: Likewise.
19509 * locale/programs/localedef.c: Likewise.
19510 * malloc/memusage.sh: Likewise.
19511 * malloc/mtrace.pl: Likewise.
19512 * nscd/nscd.c (print_version): Likewise.
19513 * nss/getent.c: Likewise.
19514
a77e8cbc
UD
19515 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19516 PF_CAIF, and PF_ALG.
19517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19518
77e8bddf
AS
195192011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19520
1f20b93a
AS
19521 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19522 (modules-names): Use them.
19523 (ifunc-test-modules, ifunc-pie-tests): Define.
19524 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19525 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19526 (test-extras): Likewise.
19527 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19528 $(compile-command.c).
19529 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19530 (all-built-dso): Define.
19531 (check-textrel.out, check-execstack.out): Depend on it.
19532
77e8bddf
AS
19533 * configure.in: Don't override --enable-multi-arch.
19534
bc425b33
UD
195352011-01-15 Ulrich Drepper <drepper@gmail.com>
19536
19537 [BZ #6812]
19538 * nscd/hstcache.c (tryagain): Define.
19539 (cache_addhst): Return tryagain not notfound for temporary errors.
19540 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19541 failed.
19542
794c3ad3
UD
195432011-01-14 Ulrich Drepper <drepper@gmail.com>
19544
70181fdd
UD
19545 [BZ #10563]
19546 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19547 to make the syscall.
19548 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19549
794c3ad3
UD
19550 [BZ #12378]
19551 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19552 and fall back to matching as normal character if the string ends before
19553 the matching ']' is found. This is what POSIX requires.
19554 * posix/testfnm.c: Adjust test result.
19555 * posix/globtest.sh: Adjust test result. Add new test.
19556 * posix/tst-fnmatch.input: Likewise.
19557 * posix/tst-fnmatch2.c: Add new test.
19558
68dc9497
AS
195592010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19560
19561 * elf/Makefile (check-execstack): Revert last change. Depend on
19562 check-execstack.h.
19563 (check-execstack.h): New target.
19564 (generated): Add check-execstack.h.
19565 * elf/check-execstack.c: Include "check-execstack.h".
19566 (main): Revert last change.
19567 (handle_file): Return zero if GNU_STACK is absent and
19568 DEFAULT_STACK_PERMS doesn't include PF_X.
19569
451f001b
UD
195702011-01-13 Ulrich Drepper <drepper@gmail.com>
19571
cfa28e56
UD
19572 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19573 in child fails because the descriptor is already closed.
8cf8ce17
UD
19574 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19575 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19576 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 19577
1086d70d
UD
19578 [BZ #12397]
19579 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19580 syscall.
19581
451f001b
UD
19582 [BZ #10484]
19583 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19584 temporary buffer used to handle multi lookups locally.
a85b5cb4 19585 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 19586
08769175
UD
195872011-01-12 Ulrich Drepper <drepper@gmail.com>
19588
19589 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19590 loader is ld.so.
19591
5e49c52e
UD
195922011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19593
19594 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19595 alignment for SSE2.
19596
60522a5f
UD
195972011-01-12 Ulrich Drepper <drepper@gmail.com>
19598
19599 [BZ #12394]
19600 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19601 characters. When rounding increased number of integer digits recompute
19602 number of groups.
19603 * stdio-common/tst-grouping.c: New file.
19604 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19605
f257bbd7
UD
196062011-01-09 Ulrich Drepper <drepper@gmail.com>
19607
19608 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19609 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19610
19611 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19612 void.
19613 * bits/select.h: Likewise.
19614
fa9c15cb
UD
196152011-01-08 Ulrich Drepper <drepper@gmail.com>
19616
19617 * po/ja.po: Update from translation team.
19618
16c2895f
DM
196192011-01-04 David S. Miller <davem@sunset.davemloft.net>
19620
19621 [BZ #11155]
19622 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19623 implementation just like for lxstat, fxstatat, et al.
19624
2543fef2
JM
196252010-12-27 Jim Meyering <meyering@redhat.com>
19626
19627 [BZ #12348]
19628 * posix/regexec.c (build_trtable): Return failure indication upon
19629 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19630
98727dbe
UD
196312010-12-25 Ulrich Drepper <drepper@gmail.com>
19632
5bd6dc5c
UD
19633 [BZ #12201]
19634 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19635 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19636 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19637 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19638
97983464
UD
19639 [BZ #12207]
19640 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19641
98727dbe
UD
19642 [BZ #12204]
19643 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19644 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19645
4a531bb0
L
196462010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19647
19648 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19649 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19650 script has SORT_BY_INIT_PRIORITY.
19651 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19652 NO_CTORS_DTORS_SECTIONS is defined.
19653 * elf/soinit.c: Likewise.
19654 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19655 NO_CTORS_DTORS_SECTIONS is defined.
19656 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19657 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19658 * sysdeps/sh/init-first.c: Likewise.
19659 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19660
07eb4b71
UD
196612010-12-24 Ulrich Drepper <drepper@gmail.com>
19662
19663 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19664 always use the slow path.
19665
30950a5f
RA
196662010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19667
19668 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19669 similar rule which adds the sysdep directories to the header search in
19670 order to pick up the correct platform stackinfo.h.
19671 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19672 perform test if it is, otherwise return successfully without testing.
19673 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19674 DEFAULT_STACK_PERMS define in stackinfo.h.
19675 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19676 defined in stackinfo.h.
19677 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19678 DEFAULT_STACK_PERMS defined in stackinfo.h.
19679 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19680 * sysdeps/ia64/stackinfo.h: Likewise.
19681 * sysdeps/s390/stackinfo.h: Likewise.
19682 * sysdeps/sh/stackinfo.h: Likewise.
19683 * sysdeps/sparc/stackinfo.h: Likewise.
19684 * sysdeps/x86_64/stackinfo.h: Likewise.
19685 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19686 PF_X for powerpc64. Retain PF_X for powerpc32.
19687
db753e2c
UD
196882010-12-19 Ulrich Drepper <drepper@gmail.com>
19689
14b697f7
UD
19690 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19691 accurately.
db753e2c
UD
19692 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19693 GETDENTS_64BIT_ALIGNED.
19694
28300719
UD
196952010-12-14 Ulrich Drepper <dreper@gmail.com>
19696
14b697f7 19697 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 19698
4f197237
AS
196992010-12-10 Andreas Schwab <schwab@redhat.com>
19700
dbb0472f
AS
19701 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19702 _GNU_SOURCE.
19703
4f197237
AS
19704 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19705 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19706 Remove __restrict.
19707 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19708 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19709
fb88ac72
UD
197102010-12-09 Ulrich Drepper <drepper@gmail.com>
19711
19712 [BZ #11655]
19713 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19714 are initialized.
19715
42acbb92
JJ
197162010-12-09 Jakub Jelinek <jakub@redhat.com>
19717
19718 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19719
c038d98d
UD
197202010-12-03 Ulrich Drepper <drepper@gmail.com>
19721
19722 * po/it.po: Update from translation team.
19723
3a4a2499
L
197242010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19725
19726 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19727 unused codes.
19728
1e24cf6e
UD
197292010-11-30 Ulrich Drepper <drepper@gmail.com>
19730
19731 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19732
a7690819
AS
197332010-11-24 Andreas Schwab <schwab@redhat.com>
19734
19735 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19736 specially.
19737 (gaih_getanswer_slice): Likewise.
19738
3bf8d1b1
JJ
197392010-10-20 Jakub Jelinek <jakub@redhat.com>
19740
19741 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19742
6db52fbb
PB
197432010-05-31 Petr Baudis <pasky@suse.cz>
19744
19745 [BZ #11149]
19746 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19747 silently even in the chroot mode.
19748
eaca7569
UD
197492010-11-22 Ulrich Drepper <drepper@gmail.com>
19750
19751 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19752 last patch a bit. Pretty printing
19753
3056dcdb
UD
197542010-05-31 Petr Baudis <pasky@suse.cz>
19755
19756 [BZ #10085]
19757 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19758 initialization of skip_initgroups_dyn.
19759
cf7c9078
UD
197602010-11-19 Ulrich Drepper <drepper@gmail.com>
19761
19762 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19763 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19764
a1fb5e3e
UD
197652010-11-16 Ulrich Drepper <drepper@gmail.com>
19766
19767 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19768
3540d66b
AS
197692010-11-11 Andreas Schwab <schwab@redhat.com>
19770
19771 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19772 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19773 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19774 ($(objpfx)tst-fnmatch-mem): New rule.
19775 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19776 * posix/tst-fnmatch.c (main): Call mtrace.
19777
13b69574
L
197782010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19779
19780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19781 Support Intel processor model 6 and model 0x2c.
19782
da93d214
LM
197832010-11-10 Luis Machado <luisgpm@br.ibm.com>
19784
19785 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19786 signed comparison.
19787
8ca52c6e
L
197882010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19789
19790 [BZ #12205]
19791 * string/test-strncasecmp.c (check_result): New function.
19792 (do_one_test): Use it.
19793 (check1): New function.
19794 (test_main): Use it.
19795 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19796 Support strcasecmp and strncasecmp.
19797
69da074d
UD
197982010-11-08 Ulrich Drepper <drepper@gmail.com>
19799
19800 [BZ #12194]
19801 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19802 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19803
ff02d528
L
198042010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19805
19806 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19807 IFUNC support.
19808 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19809 memset-x86-64.
19810 * sysdeps/x86_64/multiarch/bzero.S: New file.
19811 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19812 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19813 * sysdeps/x86_64/multiarch/memset.S: New file.
19814 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19816 Set bit_Prefer_SSE_for_memop for Intel processors.
19817 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19818 Define.
19819 (index_Prefer_SSE_for_memop): Define.
19820 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19821
344d0b54
LM
198222010-11-04 Luis Machado <luisgpm@br.ibm.com>
19823
19824 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19825 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19826
c0dde15b
UD
198272010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19828
19829 [BZ #12191]
19830 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19831 (__x86_64_raw_data_cache_size_half): Likewise.
19832 (__x86_64_raw_shared_cache_size): Likewise.
19833 (__x86_64_raw_shared_cache_size_half): Likewise.
19834
19835 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19836 (__x86_64_raw_data_cache_size_half): Likewise.
19837 (__x86_64_raw_shared_cache_size): Likewise.
19838 (__x86_64_raw_shared_cache_size_half): Likewise.
19839 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19840 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19841 and __x86_64_raw_shared_cache_size_half. Round
19842 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19843 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19844 to multiple of 256 bytes.
19845
0e516e0e
MS
198462010-11-03 Ulrich Drepper <drepper@gmail.com>
19847
19848 [BZ #12167]
19849 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19850 of inacessible symlinks. Verify result of symlink before returning it.
19851 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19852 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19853
0e012e87
ER
198542010-10-28 Erich Ritz <erichritz@gmail.com>
19855
19856 * math/math.h (isinf): Fix typo in comment.
19857
de0ff7bc
UD
198582010-11-01 Ulrich Drepper <drepper@gmail.com>
19859
19860 * po/da.po: Update from translation team.
19861
fa41c84d
UD
198622010-10-26 Ulrich Drepper <drepper@gmail.com>
19863
19864 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19865 is added to the list.
19866
f0967738
AK
198672010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19868 Ulrich Drepper <drepper@gmail.com>
19869
19870 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19871 the global list here. Move code to...
19872 (_dl_add_to_namespace_list): ...here. New function.
19873 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19874 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19875 * elf/dl-load.c (lose): Don't remove the element from the list.
19876 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19877 (_dl_map_object): Likewise.
19878
198792010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
19880
19881 [BZ #12159]
19882 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19883 into all bytes of SSE register.
19884 Patch by Richard Li <richardpku@gmail.com>.
19885
f0967738 198862010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
19887
19888 [BZ #12140]
19889 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19890 perturbing.
19891
d0b9e94f
MB
198922010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19893
19894 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19895 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19896 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19897 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19899 submachine.
19900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19901
8e9f92e9
AS
199022010-10-22 Andreas Schwab <schwab@redhat.com>
19903
19904 * include/dlfcn.h (__RTLD_SECURE): Define.
19905 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19906 mode & __RTLD_SECURE instead.
19907 (open_path): Rename preloaded parameter to secure.
19908 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19909 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19910 * elf/dl-deps.c (openaux): Likewise.
19911 * elf/rtld.c (struct map_args): Remove is_preloaded.
19912 (map_doit): Don't use it.
19913 (dl_main): Likewise.
19914 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19915 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19916
bc96fbda
AS
199172010-09-09 Andreas Schwab <schwab@redhat.com>
19918
19919 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19920 (sysd-rules-targets): Remove duplicates.
19921 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19922 rtld-%.$o dependency.
19923
22cd1c9b
AS
199242010-10-18 Andreas Schwab <schwab@redhat.com>
19925
19926 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19927 _dl_map_object do it.
19928
18edac48
UD
199292010-10-19 Ulrich Drepper <drepper@gmail.com>
19930
19931 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19932 fast fma builtins, define the macros in the C99 standard.
19933 (FP_FAST_FMAF): Likewise.
19934 (FP_FAST_FMAL): Likewise.
19935 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19936
19937 * bits/mathdef.h: Update copyright year.
19938 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19939
d2050124
MM
199402010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19941
19942 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19943 builtins, define the macros in the C99 standard.
19944 (FP_FAST_FMAF): Likewise.
19945 (FP_FAST_FMAL): Likewise.
19946 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19947 multiply/add.
19948 (FP_FAST_FMAF): Likewise.
19949
475facd1
JJ
199502010-10-15 Jakub Jelinek <jakub@redhat.com>
19951
19952 [BZ #3268]
19953 * math/libm-test.inc (fma_test): Some new testcases.
19954 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19955 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19956 y and infinite z. Do multiplication by C already in long double.
19957 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19958 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19959 y and infinite z. Do bitwise or of inexact bit into u.d.
19960 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19961 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19962 * sysdeps/i386/fpu/s_fma.S: Removed.
19963 * sysdeps/i386/fpu/s_fmal.S: Removed.
19964
7c08a05c
JJ
199652010-10-16 Jakub Jelinek <jakub@redhat.com>
19966
19967 [BZ #3268]
19968 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19969 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19970 computation is not scheduled after fetestexcept. Fix value
19971 of minimum denormal long double.
19972
f3f7372d
JJ
199732010-10-14 Jakub Jelinek <jakub@redhat.com>
19974
19975 [BZ #3268]
19976 * math/libm-test.inc (fma_test): Add some more tests.
19977 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19978 correctly.
19979
14d43591
AS
199802010-10-15 Andreas Schwab <schwab@redhat.com>
19981
19982 * scripts/data/localplt-s390-linux-gnu.data: New file.
19983 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19984
5e908464
JJ
199852010-10-13 Jakub Jelinek <jakub@redhat.com>
19986
19987 [BZ #3268]
19988 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19989 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19990 instead of dbl-64.
19991 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19992 inlines.
19993 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19995 if one of x and y is very large and the other is subnormal.
19996 * sysdeps/s390/fpu/s_fmaf.c: New file.
19997 * sysdeps/s390/fpu/s_fma.c: New file.
19998 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19999 * sysdeps/powerpc/fpu/s_fma.S: New file.
20000 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
20001 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
20002 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
20003
200042010-10-12 Jakub Jelinek <jakub@redhat.com>
20005
20006 [BZ #3268]
20007 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
20008 fma tests.
20009 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
20010 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
20011 * sysdeps/i386/i686/multiarch/s_fma.c: Include
20012 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
20013 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
20014 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
20015 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
20016
b833d51f
UD
200172010-10-12 Ulrich Drepper <drepper@redhat.com>
20018
20019 [BZ #12078]
20020 * posix/regcomp.c (parse_branch): One more memory leak plugged.
20021 * posix/bug-regex31.input: Add test case.
20022
1751705d
UD
200232010-10-11 Ulrich Drepper <drepper@gmail.com>
20024
e9b9cbf5
UD
20025 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
20026 * posix/bug-regex31.input: New file.
20027
20028 [BZ #12078]
20029 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
20030 (parse_sub_exp): Fix last change, use postorder.
20031
ef06edbe
UD
20032 * posix/bug-regex31.c: New file.
20033 * posix/Makefile: Add rules to build and run bug-regex31.
20034
a129c80d
UD
20035 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
20036
20037 [BZ #12078]
20038 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
20039
b76b818e
UD
20040 [BZ #12108]
20041 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
20042 to have entries in sys_siglist.
20043
1751705d
UD
20044 [BZ #12093]
20045 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
20046 be NULL.
20047
9ff8d36f
JJ
200482010-10-07 Jakub Jelinek <jakub@redhat.com>
20049
20050 [BZ #3268]
20051 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
20052 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
20053 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20054 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
20055 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20056 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
20057 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
20058 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
20059 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
20060 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
20061 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
20062 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
20063 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20064 * math/ftestexcept.c (fetestexcept): Likewise.
20065 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
20066 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
20067 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20068 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
20069 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
20070 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
20071 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20072
af325969
UD
200732010-10-11 Ulrich Drepper <drepper@gmail.com>
20074
c579b202 20075 [BZ #12107]
af325969
UD
20076 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
20077 newline.
20078
67a67b95
UD
200792010-10-06 Ulrich Drepper <drepper@gmail.com>
20080
20081 * string/bug-strstr1.c: New file.
20082 * string/Makefile: Add rules to build and run bug-strstr1.
20083
5fb308bc
EB
200842010-10-05 Eric Blake <eblake@redhat.com>
20085
20086 [BZ #12092]
20087 * string/str-two-way.h (two_way_long_needle): Always clear memory
20088 when skipping input due to the shift table.
20089
45db99c7
UD
200902010-10-03 Ulrich Drepper <drepper@gmail.com>
20091
3b111893
UD
20092 [BZ #12005]
20093 * malloc/mcheck.c: Handle large requests.
20094
45db99c7
UD
20095 [BZ #12077]
20096 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
20097 for strncmp and strncasecmp.
20098 * string/stratcliff.c: Add tests for strcmp and strncmp.
20099 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
20100
cf7a1eb8
NI
201012010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20102
20103 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
20104 __set_fpscr.
20105
6484ba5e
AJ
201062010-09-30 Andreas Jaeger <aj@suse.de>
20107
20108 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
20109 (CGROUP_SUPER_MAGIC): Define.
20110 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20111 Handle btrfs and cgroup file systems.
20112 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20113 Likewise.
20114
91c42559
LM
201152010-09-27 Luis Machado <luisgpm@br.ibm.com>
20116
20117 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
20118 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
20119
87a97932
AK
201202010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20121
20122 [BZ #12067]
20123 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
20124 trying to locate the ELF header.
20125
c21cc9bc
AS
201262010-09-27 Andreas Schwab <schwab@redhat.com>
20127
20128 [BZ #11611]
20129 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
20130 Mask out sign-bit copies when constructing f_fsid.
20131
315970f6
PB
201322010-09-24 Petr Baudis <pasky@suse.cz>
20133
20134 * debug/stack_chk_fail_local.c: Add missing licence exception.
20135 * debug/warning-nop.c: Likewise.
20136
1ac7a2c7
JM
201372010-09-15 Joseph Myers <joseph@codesourcery.com>
20138
20139 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
20140 implementing getdents64 using getdents syscall, set d_type if
20141 __ASSUME_GETDENTS32_D_TYPE.
20142
56801c50
AS
201432010-09-16 Andreas Schwab <schwab@redhat.com>
20144
20145 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20146 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20147
dda51327
UD
201482010-09-21 Ulrich Drepper <drepper@redhat.com>
20149
20150 [BZ #12037]
20151 * posix/unistd.h: Undo change of feature selection for ftruncate from
20152 2010-01-11.
20153
8ffcee4a
UD
201542010-09-20 Ulrich Drepper <drepper@redhat.com>
20155
a545ecd9 20156 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
20157 detection.
20158
e24f0a8b
AS
201592010-09-20 Andreas Schwab <schwab@redhat.com>
20160
20161 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20162 fanotify_mark.
20163 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20164
7291c56f
AS
201652010-09-14 Andreas Schwab <schwab@redhat.com>
20166
20167 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20168 variables after CHECK_SP call.
20169 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20170
bc5fb037
AS
201712010-09-13 Andreas Schwab <schwab@redhat.com>
20172 Ulrich Drepper <drepper@redhat.com>
20173
20174 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20175 re-relocationg ld.so.
20176 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20177 _dl_init_paths call.
20178 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
20179 here anymore.
20180
e66e7419
UD
201812010-09-14 Ulrich Drepper <drepper@redhat.com>
20182
20183 * resolv/res_init.c (__res_vinit): Count the default server we added.
20184
c044aa75
CLT
201852010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
20186 Ulrich Drepper <drepper@redhat.com>
20187
20188 [BZ #11968]
20189 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20190 (____longjmp_chk): Use %ebx for saving value across system call.
20191 Add unwind info.
20192
32cf4069
AS
201932010-09-06 Andreas Schwab <schwab@redhat.com>
20194
20195 * manual/Makefile: Don't mix pattern rules with normal rules.
20196
817328ee
AS
201972010-09-05 Andreas Schwab <schwab@linux-m68k.org>
20198
20199 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20200 operation.
20201 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20202 * libio/iofopncook.c (_IO_cookie_init): Likewise.
20203 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20204 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20205 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20206 Likewise.
20207
29fddf61
UD
202082010-09-04 Ulrich Drepper <drepper@redhat.com>
20209
20210 [BZ #11979]
20211 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20212 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20213
0959ffc9
UD
202142010-09-02 Ulrich Drepper <drepper@redhat.com>
20215
20216 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20217 * sysdeps/x86_64/addmul_1.S: Likewise.
20218 * sysdeps/x86_64/lshift.S: Likewise.
20219 * sysdeps/x86_64/mul_1.S: Likewise.
20220 * sysdeps/x86_64/rshift.S: Likewise.
20221 * sysdeps/x86_64/sub_n.S: Likewise.
20222 * sysdeps/x86_64/submul_1.S: Likewise.
20223
ece29840
ST
202242010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
20225
0959ffc9
UD
20226 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20227 Define __sched_param instead of SCHED_* and sched_param when
ece29840 20228 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 20229 * bits/sched.h [__need_schedparam]
ece29840 20230 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
20231 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20232 (__defined_schedparam): Define to 1.
ece29840
ST
20233 (__sched_param): New structure, identical to sched_param.
20234 (__need_schedparam): Undefine.
20235
e53a31fe
MF
202362010-08-31 Mike Frysinger <vapier@gentoo.org>
20237
fdc0c10d
MF
20238 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20239 (epoll_create1): Declare.
20240
e53a31fe
MF
20241 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20242
a726d796
AS
202432010-08-31 Andreas Schwab <schwab@redhat.com>
20244
20245 [BZ #7066]
20246 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20247 shifting retval into place.
20248
2f3e3dc7
UD
202492010-09-01 Ulrich Drepper <drepper@redhat.com>
20250
f2933da9
UD
20251 * nis/rpcsvc/nis.h: Update copyright notice.
20252 * nis/rpcsvc/nis.x: Likewise.
20253 * nis/rpcsvc/nis_callback.h: Likewise.
20254 * nis/rpcsvc/nis_callback.x: Likewise.
20255 * nis/rpcsvc/nis_object.x: Likewise.
20256 * nis/rpcsvc/nis_tags.h: Likewise.
20257 * nis/rpcsvc/yp.h: Likewise.
20258 * nis/rpcsvc/yp.x: Likewise.
20259 * nis/rpcsvc/ypupd.h: Likewise.
20260 * nis/yp_xdr.c: Likewise.
20261 * nis/ypupdate_xdr.c: Likewise.
20262
2f3e3dc7
UD
20263 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20264 mainly the body of pmap_getport. Add parameters to specify timeouts.
20265 (pmap_getport): Use __libc_rpc_getport.
20266 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20267 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20268 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20269
f3dcc2f9
AS
202702010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20271
20272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20273 fanotify_mark.
20274
6d34eb5b
RM
202752010-08-27 Roland McGrath <roland@redhat.com>
20276
20277 * sysdeps/i386/i686/multiarch/Makefile
20278 (CFLAGS-varshift.c): New variable.
20279
9ea3de11
UD
202802010-08-27 Ulrich Drepper <drepper@redhat.com>
20281
c96d23fc
UD
20282 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20283 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20284
9ea3de11
UD
20285 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20286
20287 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20288
623aac7f
L
202892010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20290
20291 * sysdeps/x86_64/strlen.S: Unroll the loop.
20292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20293 strlen-sse2 strlen-sse2-bsf.
20294 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20295 __strlen_no_bsf if bit_Slow_BSF is set.
20296 (__strlen_sse42): Removed.
20297 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20298 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20299
8b2b7715
RM
203002010-08-25 Roland McGrath <roland@redhat.com>
20301
20302 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20303 * sysdeps/x86_64/multiarch/varshift.c: New file.
20304 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20305 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20306 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20307 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20308
e73015f2
L
203092010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20310
20311 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20312 strlen-sse2 strlen-sse2-bsf.
20313 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20314 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20315 (__strlen_sse2): Removed.
20316 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20317 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20319 bit_Slow_BSF for Atom.
20320 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20321 (index_Slow_BSF): Define.
20322 (HAS_SLOW_BSF): Define.
20323
df24a73e
UD
203242010-08-25 Ulrich Drepper <drepper@redhat.com>
20325
20326 [BZ #10851]
20327 * resolv/res_init.c (__res_vinit): When no server address at all
20328 is given default to loopback.
20329
f2ac4868
RM
203302010-08-24 Roland McGrath <roland@redhat.com>
20331
09055553
RM
20332 * configure.in: Remove config-name.h generation.
20333 * configure: Regenerated.
20334 * config-name.in: File removed.
20335 * scripts/config-uname.sh: New file.
20336 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20337 ($(objdir)config-name.h): New target.
20338
f2ac4868
RM
20339 * sunrpc/rpc_parse.h: Avoid nested comment.
20340
73f27d5e
RH
203412010-08-24 Richard Henderson <rth@redhat.com>
20342 Ulrich Drepper <drepper@redhat.com>
20343 H.J. Lu <hongjiu.lu@intel.com>
20344
20345 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20346 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20347 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20348 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20349 _mm_alignr_epi8 with _mm_loadu_si128.
20350 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20351 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20352 (__m128i_shift_right): Removed.
20353 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20354 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20355 * sysdeps/x86_64/multiarch/varshift.h: New file.
20356 * sysdeps/x86_64/multiarch/varshift.S: New file.
20357
84b9230c
MF
203582010-08-21 Mike Frysinger <vapier@gentoo.org>
20359
20360 * configure.in: Move assembler checks to before sysdep dir checking.
20361
9bbd0ddc
PB
203622010-08-20 Petr Baudis <pasky@suse.cz>
20363
20364 * LICENSES: Sync the sunrpc license.
20365
9da4bb31
UD
203662010-08-19 Ulrich Drepper <drepper@redhat.com>
20367
a7ab6ec8
UD
20368 * sunrpc/auth_des.c: Update copyright notice once again.
20369 * sunrpc/auth_none.c: Likewise.
20370 * sunrpc/auth_unix.c: Likewise.
20371 * sunrpc/authdes_prot.c: Likewise.
20372 * sunrpc/authuxprot.c: Likewise.
20373 * sunrpc/bindrsvprt.c: Likewise.
20374 * sunrpc/clnt_gen.c: Likewise.
20375 * sunrpc/clnt_perr.c: Likewise.
20376 * sunrpc/clnt_raw.c: Likewise.
20377 * sunrpc/clnt_simp.c: Likewise.
20378 * sunrpc/clnt_tcp.c: Likewise.
20379 * sunrpc/clnt_udp.c: Likewise.
20380 * sunrpc/clnt_unix.c: Likewise.
20381 * sunrpc/des_crypt.c: Likewise.
20382 * sunrpc/des_soft.c: Likewise.
20383 * sunrpc/get_myaddr.c: Likewise.
20384 * sunrpc/getrpcport.c: Likewise.
20385 * sunrpc/key_call.c: Likewise.
20386 * sunrpc/key_prot.c: Likewise.
20387 * sunrpc/openchild.c: Likewise.
20388 * sunrpc/pm_getmaps.c: Likewise.
20389 * sunrpc/pm_getport.c: Likewise.
20390 * sunrpc/pmap_clnt.c: Likewise.
20391 * sunrpc/pmap_prot.c: Likewise.
20392 * sunrpc/pmap_prot2.c: Likewise.
20393 * sunrpc/pmap_rmt.c: Likewise.
20394 * sunrpc/rpc/auth.h: Likewise.
20395 * sunrpc/rpc/auth_unix.h: Likewise.
20396 * sunrpc/rpc/clnt.h: Likewise.
20397 * sunrpc/rpc/des_crypt.h: Likewise.
20398 * sunrpc/rpc/key_prot.h: Likewise.
20399 * sunrpc/rpc/netdb.h: Likewise.
20400 * sunrpc/rpc/pmap_clnt.h: Likewise.
20401 * sunrpc/rpc/pmap_prot.h: Likewise.
20402 * sunrpc/rpc/pmap_rmt.h: Likewise.
20403 * sunrpc/rpc/rpc.h: Likewise.
20404 * sunrpc/rpc/rpc_des.h: Likewise.
20405 * sunrpc/rpc/rpc_msg.h: Likewise.
20406 * sunrpc/rpc/svc.h: Likewise.
20407 * sunrpc/rpc/svc_auth.h: Likewise.
20408 * sunrpc/rpc/types.h: Likewise.
20409 * sunrpc/rpc/xdr.h: Likewise.
20410 * sunrpc/rpc_clntout.c: Likewise.
20411 * sunrpc/rpc_cmsg.c: Likewise.
20412 * sunrpc/rpc_common.c: Likewise.
20413 * sunrpc/rpc_cout.c: Likewise.
20414 * sunrpc/rpc_dtable.c: Likewise.
20415 * sunrpc/rpc_hout.c: Likewise.
20416 * sunrpc/rpc_main.c: Likewise.
20417 * sunrpc/rpc_parse.c: Likewise.
20418 * sunrpc/rpc_parse.h: Likewise.
20419 * sunrpc/rpc_prot.c: Likewise.
20420 * sunrpc/rpc_sample.c: Likewise.
20421 * sunrpc/rpc_scan.c: Likewise.
20422 * sunrpc/rpc_scan.h: Likewise.
20423 * sunrpc/rpc_svcout.c: Likewise.
20424 * sunrpc/rpc_tblout.c: Likewise.
20425 * sunrpc/rpc_util.c: Likewise.
20426 * sunrpc/rpc_util.h: Likewise.
20427 * sunrpc/rpcinfo.c: Likewise.
20428 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20429 * sunrpc/rpcsvc/key_prot.x: Likewise.
20430 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20431 * sunrpc/rpcsvc/mount.x: Likewise.
20432 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20433 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20434 * sunrpc/rpcsvc/rex.x: Likewise.
20435 * sunrpc/rpcsvc/rstat.x: Likewise.
20436 * sunrpc/rpcsvc/rusers.x: Likewise.
20437 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20438 * sunrpc/rpcsvc/spray.x: Likewise.
20439 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20440 * sunrpc/rtime.c: Likewise.
20441 * sunrpc/svc.c: Likewise.
20442 * sunrpc/svc_auth.c: Likewise.
20443 * sunrpc/svc_authux.c: Likewise.
20444 * sunrpc/svc_raw.c: Likewise.
20445 * sunrpc/svc_run.c: Likewise.
20446 * sunrpc/svc_simple.c: Likewise.
20447 * sunrpc/svc_tcp.c: Likewise.
20448 * sunrpc/svc_udp.c: Likewise.
20449 * sunrpc/svc_unix.c: Likewise.
20450 * sunrpc/svcauth_des.c: Likewise.
20451 * sunrpc/xcrypt.c: Likewise.
20452 * sunrpc/xdr.c: Likewise.
20453 * sunrpc/xdr_array.c: Likewise.
20454 * sunrpc/xdr_float.c: Likewise.
20455 * sunrpc/xdr_mem.c: Likewise.
20456 * sunrpc/xdr_rec.c: Likewise.
20457 * sunrpc/xdr_ref.c: Likewise.
20458 * sunrpc/xdr_sizeof.c: Likewise.
20459 * sunrpc/xdr_stdio.c: Likewise.
20460
9da4bb31
UD
20461 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20462 handling.
20463
bdaa77bc
AS
204642010-08-19 Andreas Schwab <schwab@redhat.com>
20465
20466 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20467
fe2f79db
LM
204682010-08-19 Luis Machado <luisgpm@br.ibm.com>
20469
20470 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20471 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20472 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20473 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20474 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20475 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20476 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20477 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20478 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20479 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20480 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20481 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20482 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20483 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20484
b9b42ee0
AB
204852010-07-26 Anton Blanchard <anton@samba.org>
20486
20487 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20488 * malloc/arena.c (heap_trim): Likewise.
20489
1c06ba31
UD
204902010-08-16 Ulrich Drepper <drepper@redhat.com>
20491
20492 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20493 here. Not...
20494 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20495 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20496
f8392f40
L
204972010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20498
20499 * sysdeps/i386/elf/Makefile: New file.
20500
3162f12e
AS
205012010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20502
20503 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20504 from fanotify_init.
20505 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20506 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20507
28c90b2c
UD
205082010-08-15 Ulrich Drepper <drepper@redhat.com>
20509
20510 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20511 of strncasecmp_l.
1feccb6c 20512 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 20513
ca6bb004
UD
205142010-08-14 Ulrich Drepper <drepper@redhat.com>
20515
e9f82e0d
UD
20516 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20517 strncase_l-nonascii.
20518 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20519 Add strncase_l-ssse3.
20520 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20521 * sysdeps/x86_64/strcmp.S: Likewise.
20522 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20523 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20524 * sysdeps/x86_64/strncase.S: New file.
20525 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20526 * sysdeps/x86_64/strncase_l.S: New file.
20527 * string/Makefile (strop-tests): Add strncasecmp.
20528 * string/test-strncasecmp.c: New file.
20529
20530 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20531 warning.
20532
ca6bb004
UD
20533 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20534 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20535
052fa7b3
AS
205362010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20537
20538 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20539
962dba78
UD
205402010-08-12 Ulrich Drepper <drepper@redhat.com>
20541
20542 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20543 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20544 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20545
bebff237
AM
205462010-05-01 Alan Modra <amodra@gmail.com>
20547
20548 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20549 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20550 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20551 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20552 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20553 tidying. Don't tail-call __sigjmp_save for static lib.
20554 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20555 save location.
20556 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20557 (CALL_MCOUNT): Add eh info, and nop after bl.
20558 (TAIL_CALL_SYSCALL_ERROR): New macro.
20559 (PSEUDO_RET): Use it.
20560 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20561 Correct save location of integer regs and cr.
20562 (_dl_profile_resolve): Correct cr save location. Delete nops
20563 after bl when SHARED. Reduce cfi size a little by better
20564 placement of cfi directives.
20565 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20566 make a stack frame. Instead use parm save area as a temp.
20567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20568 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20570 Don't make a stack frame for parent, use parm save area.
20571 Increase child stack frame to 112 bytes. Don't save unused reg,
20572 and adjust reg usage. Set up cfi on error recovery and
20573 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20575 (__makecontext): Add dummy nop after jump to exit.
20576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20577 Use correct parm save area and cr save, reduce stack frame.
20578 Correct cfi for possible PSEUDO_RET frame setup.
20579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20580 Branch to local label emitted by PSEUDO_RET rather than
20581 __syscall_error.
20582
02637374
AS
205832010-08-12 Andreas Schwab <schwab@redhat.com>
20584
20585 [BZ #11904]
20586 * locale/programs/locale.c (print_assignment): New function.
20587 (show_locale_vars): Use it.
20588
c3e2f19b
UD
205892010-08-11 Ulrich Drepper <drepper@redhat.com>
20590
3cdaa6ad
UD
20591 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20592 field.
20593 (struct statfs64): Likewise.
20594 (_STATFS_F_FLAGS): Define.
20595 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20596 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20597 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20598 (ST_VALID): Define locally.
20599 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20600 __statvfs_getflags, use the provided value.
20601 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20602 __ASSUME_STATFS_F_FLAGS.
20603
754f7da3
UD
20604 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20605
10b3bedc
UD
20606 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20607 Add sys/fanotify.h.
20608 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20609 fanotify_mask for GLIBC_2.13.
20610 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20611 fanotify_init and fanotify_mark.
20612 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20613 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20614
c08fb0d7
UD
20615 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20616 Add prlimit.
20617 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20618 prlimit64 for GLIBC_2.13.
20619 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20620 prlimit64.
20621 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20622 syscall.
20623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20624 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20625 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20626 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20627 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20628 add prlimit alias.
20629 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20630
15bac72b
UD
20631 [BZ #11903]
20632 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20633 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20634
c3e2f19b
UD
20635 * nss/Makefile: Add rules to build and run tst-nss-test1.
20636 * shlib-versions: Add entry for libnss_test1.
20637 * nss/nss_test1.c: New file.
20638 * nss/tst-nss-test1.c: New file.
20639
20640 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20641 (__nss_configure_lookup): Set appropriate entry in
20642 __nss_configure_lookup to true.
20643 * nss/nsswitch.h: Define enum with indeces of databases in
20644 databases and __nss_database_custom arrays. Declare
20645 __nss_database_custom.
20646 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20647 to avoid using nscd when custom rules are installed.
20648 * nss/getXXbyYY_r.c: Likewise.
20649 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20650
20651 * nss/nss_files/files-parse.c: Whitespace fixes.
20652
f15ce4d8
UD
206532010-08-09 Ulrich Drepper <drepper@redhat.com>
20654
20655 [BZ #11883]
20656 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20657 * posix/fnmatch_loop.c: Likewise.
20658
d22e4cc9
AK
206592010-07-17 Andi Kleen <ak@linux.intel.com>
20660
20661 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20662 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20663 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20664 * Versions.def [GLIBC_2.13]: Add.
20665
805bc17d
UD
206662010-08-06 Ulrich Drepper <drepper@redhat.com>
20667
20668 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20669 Also fail if tpwd after pwuid call is NULL.
20670
5a42321d
ST
206712010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20672
20673 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20674 when converting to ms.
20675
fd3ebeda
ST
206762010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20677
20678 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20679 EOPNOTSUPP errors with ENOTTY.
20680 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20681 EOPNOTSUPP errors with ENOTTY.
20682
73507d3a
UD
206832010-07-31 Ulrich Drepper <drepper@redhat.com>
20684
20685 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20686 Add strcasecmp_l-ssse3.
20687 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20688 strcasecmp.
20689 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20690 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20691 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20692
fe36dd02
UD
206932010-07-30 Ulrich Drepper <drepper@redhat.com>
20694
66f6765a
UD
20695 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20696
42e08a54
UD
20697 * string/Makefile (strop-tests): Add strcasecmp.
20698 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20699 strcasecmp_l-nonascii.
20700 (gen-as-const-headers): Add locale-defines.sym.
20701 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20702 * sysdeps/x86_64/strcasecmp.S: New file.
20703 * sysdeps/x86_64/strcasecmp_l.S: New file.
20704 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20705 * sysdeps/x86_64/locale-defines.sym: New file.
20706 * string/test-strcasecmp.c: New file.
20707
fe36dd02
UD
20708 * string/test-strcasestr.c: Test both ends of the range of characters.
20709 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20710
48cbc0d6
RM
207112010-07-29 Roland McGrath <roland@redhat.com>
20712
76e6d6bc 20713 [BZ #11856]
48cbc0d6
RM
20714 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20715
880113d9
UD
207162010-07-27 Ulrich Drepper <drepper@redhat.com>
20717
20718 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20719 for ld.so.
20720
deb9cabb
AS
207212010-07-27 Andreas Schwab <schwab@redhat.com>
20722
20723 * manual/memory.texi (Malloc Tunable Parameters): Document
20724 M_PERTURB.
20725
1c7570ff
RM
207262010-07-26 Roland McGrath <roland@redhat.com>
20727
20728 [BZ #11840]
20729 * configure.in (-fgnu89-inline check): Set and substitute
20730 gnu89_inline, not libc_cv_gnu89_inline.
20731 * configure: Regenerated.
20732 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20733
24fb0f88
UD
207342010-07-26 Ulrich Drepper <drepper@redhat.com>
20735
20736 * string/test-strnlen.c: New file.
20737 * string/Makefile (strop-tests): Add strnlen.
20738 * string/tester.c (test_strnlen): Add a few more test cases.
20739 * string/tst-strlen.c: Better error reporting.
20740
20741 * sysdeps/x86_64/strnlen.S: New file.
20742
8e96b93a
UD
207432010-07-24 Ulrich Drepper <drepper@redhat.com>
20744
20745 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20746 lower-latency instructions.
20747
dbc676d4
UD
207482010-07-23 Ulrich Drepper <drepper@redhat.com>
20749
20750 * string/test-strcasestr.c: New file.
20751 * string/test-strstr.c: New file.
20752 * string/Makefile (strop-tests): Add strstr and strcasestr.
20753 * string/str-two-way.h: Don't undefine MAX.
20754 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20755
f6a31e0e
AS
207562010-07-21 Andreas Schwab <schwab@redhat.com>
20757
20758 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20759 strcasestr-nonascii.
20760 (CFLAGS-strcasestr-nonascii.c): Define.
20761 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20762 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20763 Remove unused attribute.
20764
5dbc3b6c
RM
207652010-07-20 Roland McGrath <roland@redhat.com>
20766
20767 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20768 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20769 ld.so.cache was broken. With it, there is no way to disable dsocaps
20770 like LD_HWCAP_MASK can disable hwcaps.
20771
23d101d8
EPM
207722010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20773
20774 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20775
cc9f2e47
UD
207762010-07-16 Ulrich Drepper <drepper@redhat.com>
20777
20778 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20779 call in strcasestr.
20780 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20781 __strcasestr_sse42_nonascii.
20782 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20783 strcasestr-nonascii.c.
20784 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20785
77c1b069
LM
207862010-06-15 Luis Machado <luisgpm@br.ibm.com>
20787
20788 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20789 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20790 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20791 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20792
440566c3
UD
207932010-07-09 Ulrich Drepper <drepper@redhat.com>
20794
20795 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20796 fcntl.
20797
5be9d05d
AS
207982010-07-06 Andreas Schwab <schwab@redhat.com>
20799
c30b7ee2 20800 [BZ #11577]
5be9d05d
AS
20801 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20802 dl_signal_cerror.
20803
8a492a67
UD
208042010-07-06 Ulrich Drepper <drepper@redhat.com>
20805
20806 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20807 _PC_PIPE_BUF using F_GETPIPE_SZ.
20808
713df3d5
RM
208092010-07-05 Roland McGrath <roland@redhat.com>
20810
20811 * manual/arith.texi (Rounding Functions): Fix rint description
20812 implicit in round description.
20813
702e8f14
UD
208142010-07-02 Ulrich Drepper <drepper@redhat.com>
20815
20816 * elf/Makefile: Fix linking for a few tests to make recent linker
20817 happy.
20818
52ed8be9
AS
208192010-06-30 Andreas Schwab <schwab@redhat.com>
20820
20821 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20822 $(common-objpfx)libc_nonshared.a.
20823
f47c9a11
LM
208242010-06-21 Luis Machado <luisgpm@br.ibm.com>
20825
20826 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20827 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20828 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20829 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20830 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20831 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20832 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20833 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20848 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20849 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20850 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20851 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20852 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20853 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20854 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20855 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20856 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20857 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20858 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20859 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20874
6fb8cbcb
L
208752010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20876
20877 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20878 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20879 * string/memmove.c (memmove): Renamed to ...
20880 (MEMMOVE): ...this. Default to memmove.
20881 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20882 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20883 (END_CHK): Define.
20884 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20885 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20886 mempcpy-ssse3-back memmove-ssse3-back.
20887 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20888 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20889 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20890 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20891 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20892 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20893 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20894 * sysdeps/x86_64/multiarch/memmove.c: New file.
20895 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20896 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20897 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20898 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20899 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20900 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20901 Define.
20902 (index_Fast_Copy_Backward): Define.
20903 (HAS_ARCH_FEATURE): Define.
20904 (HAS_FAST_REP_STRING): Define.
20905 (HAS_FAST_COPY_BACKWARD): Define.
20906
4e733bac 209072010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
20908
20909 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20910 Restore proper fallback handling.
20911
63c4ed22
UD
209122010-06-19 Ulrich Drepper <drepper@redhat.com>
20913
ac2b484c
UD
20914 [BZ #11701]
20915 * posix/group_member.c (__group_member): Correct checking loop.
20916
63c4ed22
UD
20917 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20918 OOM in getpwuid_r correctly. Return error number when the caller
20919 should return, otherwise -1.
20920 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20921 call returning > 0 value.
20922 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20923
765ade4b
AS
209242010-06-07 Andreas Schwab <schwab@redhat.com>
20925
20926 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20927 libc_nonshared.a from targets in modules-names.
20928
80da2e09
KS
209292010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20930
20931 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20932 requires it.
20933
158db122
LM
209342010-06-10 Luis Machado <luisgpm@br.ibm.com>
20935
20936 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20937 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20938 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20939 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20940
caa78cf8
AS
209412010-06-02 Andreas Schwab <schwab@redhat.com>
20942
20943 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20944
b2ef2c01
UD
209452010-06-14 Ulrich Drepper <drepper@redhat.com>
20946
20947 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20948 and F_GETPIPE_SZ.
20949 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20950 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20951 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20952 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20953 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20954 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20955
fbd643b6
RM
209562010-06-14 Roland McGrath <roland@redhat.com>
20957
20958 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20959
f32f2869
JJ
209602010-06-07 Jakub Jelinek <jakub@redhat.com>
20961
20962 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20963 __REDIRECT followed by __THROW.
20964 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20965 * posix/getopt.h (getopt): Likewise.
20966
2a50c078
EPM
209672010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20968
20969 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20970 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20971 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20972 in AT_FLAGS.
20973 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20974 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20975
eb5ad2eb
LM
209762010-05-28 Luis Machado <luisgpm@br.ibm.com>
20977
20978 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20979
3c88fe1e
L
209802010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20981
20982 [BZ #11640]
20983 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20984 Properly check family and model.
20985
d2f73151
TY
209862010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20987
20988 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20989
ebd2e13d
LM
209902010-05-24 Luis Machado <luisgpm@br.ibm.com>
20991
20992 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20993
b32b8b45
UD
209942010-05-21 Ulrich Drepper <drepper@redhat.com>
20995
20996 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20997 symbol reference.
20998
9acbe24d
AS
209992010-05-19 Andreas Schwab <schwab@redhat.com>
21000
21001 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
21002 symbol reference.
21003
f0ccf6ea
AS
210042010-05-21 Andreas Schwab <schwab@redhat.com>
21005
3d04ff3a
AS
21006 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
21007 and internal_recvmmsg.
21008 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
21009 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
21010 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
21011 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
21012
f0ccf6ea
AS
21013 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
21014 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21015 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21016
5b08ac57
AS
210172010-05-20 Andreas Schwab <schwab@redhat.com>
21018
21019 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
21020
4828935d
LM
210212010-05-17 Luis Machado <luisgpm@br.ibm.com>
21022
21023 POWER7 optimizations.
21024 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
21025 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
21026
373d545e
UD
210272010-05-19 Ulrich Drepper <drepper@redhat.com>
21028
21029 * version.h: Update for 2.13 development version.
21030
21a2b1ae
AS
210312010-05-12 Andrew Stubbs <ams@codesourcery.com>
21032
21033 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
21034 exceptions. Return 0.
21035
3f7dcb2b
RM
210362010-05-07 Roland McGrath <roland@redhat.com>
21037
21038 * elf/ldconfig.c (main): Add a const.
21039
5f24d53a 210402010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 21041
a160f8d8
UD
21042 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
21043 (args_options): Add no-idn option.
21044 (ahosts_keys_int): Add idn_flags to ai_flags.
21045 (parse_option): Handle 'i' option to clear idn_flags.
21046
5f24d53a
UD
21047 * malloc/malloc.c (_int_free): Possible race in the most recently
21048 added check. Only act on the data if no current modification
21049 happened.
265bb1ce
UD
21050
21051See ChangeLog.17 for earlier changes.
This page took 2.656578 seconds and 5 git commands to generate.